From dd167b43414eda5d32da75ee586a3fbd1beebd2c Mon Sep 17 00:00:00 2001 From: Rex Date: Wed, 23 Oct 2024 11:05:57 +0800 Subject: [PATCH] export plugins --- dist/rexgraphplugin.js | 7972 +++++++++++++++++++++++++++++-- dist/rexgraphplugin.min.js | 2 +- dist/rexninepatch2plugin.js | 120 +- dist/rexninepatch2plugin.min.js | 2 +- dist/rexuiplugin.js | 120 +- dist/rexuiplugin.min.js | 6 +- 6 files changed, 7782 insertions(+), 440 deletions(-) diff --git a/dist/rexgraphplugin.js b/dist/rexgraphplugin.js index ad7c29c942..7b854efa2d 100644 --- a/dist/rexgraphplugin.js +++ b/dist/rexgraphplugin.js @@ -20,6 +20,8 @@ } } + var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {}; + function getDefaultExportFromCjs (x) { return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x; } @@ -376,26 +378,7 @@ } } - var GetEdgeData = function (gameObejct, createIfNotExisted) { - if (createIfNotExisted === undefined) { - createIfNotExisted = false; - } - - // uid or game object - var uid = this.getObjUID(gameObejct); - if (createIfNotExisted && !this.edges.hasOwnProperty(uid)) { - this.edges[uid] = {}; - } - return this.edges[uid]; - }; - - var IsEdge = function (gameObejct) { - // uid or game object - var uid = this.getObjUID(gameObejct); - return this.edges.hasOwnProperty(uid); - }; - - var GetValue$1 = function (source, key, defaultValue) { + var GetValue$2 = function (source, key, defaultValue) { if (!source || typeof source === 'number') { return defaultValue; } @@ -436,9 +419,9 @@ class Bank { constructor(config) { - this.nextId = GetValue$1(config, 'start', 1); // start index - this.uidKey = GetValue$1(config, 'uidKey', '$uid'); - this.autoRemove = GetValue$1(config, 'remove', true); + this.nextId = GetValue$2(config, 'start', 1); // start index + this.uidKey = GetValue$2(config, 'uidKey', '$uid'); + this.autoRemove = GetValue$2(config, 'remove', true); this.refs = {}; this.count = 0; } @@ -665,7 +648,7 @@ } }; - const GetValue = Phaser.Utils.Objects.GetValue; + const GetValue$1 = Phaser.Utils.Objects.GetValue; class ComponentBase { constructor(parent, config) { @@ -674,7 +657,7 @@ this.isShutdown = false; // Event emitter, default is private event emitter - this.setEventEmitter(GetValue(config, 'eventEmitter', true)); + this.setEventEmitter(GetValue$1(config, 'eventEmitter', true)); // Register callback of parent destroy event, also see `shutdown` method if (this.parent) { @@ -759,7 +742,6 @@ ObjBank.add(this, uid); // uid is stored in `this.$uid` this.graph = null; - this.type = undefined; } shutdown(fromScene) { @@ -779,26 +761,21 @@ setGraph(graph) { this.graph = graph; - if (!graph) { - this.setType(undefined); - } return this; } - setType(type) { - if (typeof (type) === 'string') { - type = OBJTYPE[type]; + get isNode() { + if (this.graph) { + return this.graph.hasNode(this[uidKey$1]); } - this.type = type; - return this; - } - - get isVertex() { - return ((!!this.graph) && (this.type === 0)); + return false; } get isEdge() { - return ((!!this.graph) && (this.type === 1)); + if (this.graph) { + return this.graph.hasEdge(this[uidKey$1]); + } + return false; } } @@ -809,11 +786,6 @@ methods ); - const OBJTYPE = { - vertex: 0, - edge: 1, - }; - var IsUID = function (object) { var type = typeof (object); return (type === 'number') || (type === 'string'); @@ -826,77 +798,54 @@ return ObjBank.get(gameObject); } else { // game object - if (!gameObject.hasOwnProperty('rexGraphItem')) { - gameObject.rexGraphItem = new GraphItemData(gameObject); + if (!gameObject.hasOwnProperty('rexGraph')) { + gameObject.rexGraph = new GraphItemData(gameObject); } - return gameObject.rexGraphItem; + return gameObject.rexGraph; } }; - const DIRAtoB = 1; - const DIRBtoA = 2; - const DIRMODE = { - '->': DIRAtoB, - '<-': DIRBtoA, - '<->': (DIRAtoB | DIRBtoA), + const uidKey = ObjBank.uidKey; + var GetObjUID = function (gameObject) { + // Game object or uid + var uid; + if (IsUID(gameObject)) { + uid = gameObject; + } else { + uid = GetGraphItem(gameObject)[uidKey]; + } + return uid; }; - var AddEdge = function (edgeGO, vAGO, vBGO, dir) { - if (this.isEdge(edgeGO)) { - return this; - } + var IsNode = function (gameObejct) { + // uid or game object + var uid = GetObjUID(gameObejct); + return this.graph.hasNode(uid); + }; - if (dir === undefined) { - dir = 3; - } + var AddNodeMethods = { + addNode(gameObejct, attributes) { + if (this.isNode(gameObejct)) { + return this; + } - // Configure edge - var edgeUid = this.getObjUID(edgeGO); - var edge = this.getEdgeData(edgeUid, true); - edge.dir = dir; - edge.vA = this.getObjUID(vAGO); - edge.vB = this.getObjUID(vBGO); - GetGraphItem(edgeGO).setGraph(this); - this.edgeCount++; + GetGraphItem(gameObejct).setGraph(this); - // Configure vertice - this.addVertex(vAGO).addVertex(vBGO); - var vA = this.getVertexData(vAGO, true); - var vB = this.getVertexData(vBGO, true); - if (typeof (dir) === 'string') { - dir = DIRMODE(dir); - } - if (dir & DIRAtoB) { - vA[edgeUid] = edge.vB; - } - if (dir & DIRBtoA) { - vB[edgeUid] = edge.vA; - } - return this; - }; + var nodeUID = GetObjUID(gameObejct); + this.graph.addNode(nodeUID, attributes); - var RemoveEdge = function (gameObejct, destroy) { - if (this.isEdge(gameObejct)) { return this; - } - - if (destroy === undefined) { - destroy = false; - } + }, - var uid = this.getObjUID(gameObejct); - // Remove edge - delete this.edges[uid]; - this.edgeCount--; - // Clear reference of graph - GetGraphItem(gameObejct).setGraph(null); - if (destroy && gameObejct.destroy) { - gameObject.destroy(); + addNodes(gameObjects, attributes) { + for (var i = 0, cnt = gameObjects.length; i < cnt; i++) { + this.addNode(gameObjects[i], { ...attributes }); + } + return this; } - return this; }; - var UidToObj = function (uid) { + var UIDToObj = function (uid) { if (uid == null) { return null; } else { @@ -904,365 +853,395 @@ } }; - var GetAllEdges = function (out) { - if (out === undefined) { - out = []; - } + var RemoveNodeMethods = { + removeNode(nodeGameObject, destroy) { + if (!this.isNode(nodeGameObject)) { + return this; + } + + if (destroy === undefined) { + destroy = false; + } + + // Remove node + var nodeUID = GetObjUID(nodeGameObject); + this.graph.dropNode(nodeUID); - var edgeGO; - for (var edgeUid in this.edges) { - edgeGO = UidToObj(edgeUid); - if (edgeGO) { - out.push(edgeGO); + // Clear reference of graph + GetGraphItem(nodeGameObject).setGraph(null); + + // Destroy game object + if (destroy && nodeGameObject.destroy) { + nodeGameObject.destroy(); } + + return this; + }, + + removeAllNodes(destroy) { + for (var nodeUid in this.nodes) { + this.removeNode(nodeUid, destroy); + } + + this.graph.forEachNode(function (uid) { + var gameObject = UIDToObj(uid); + if (!gameObject) { + return; + } + + // Clear reference of graph + GetGraphItem(gameObject).setGraph(null); + // Destroy game object + if (destroy && gameObject.destroy) { + gameObject.destroy(); + } + }); + + // Clear all nodes and all edges + this.graph.clear(); + return this; } - return out; }; - var GetEdgesOfVertex = function (vertexGameObject, out) { + var UIDListToObjList = function (uidList, out) { if (out === undefined) { out = []; } - var vertex = this.getVertexData(vertexGameObject); - if (!vertex) { - return out; - } - - var edgeGO; - for (var edgeUid in vertex) { - edgeGO = UidToObj(edgeUid); - if (edgeGO) { - out.push(edgeGO); + for (var i = 0, cnt = uidList.length; i < cnt; i++) { + var graphItem = ObjBank.get(uidList[i]); + if (!graphItem || !graphItem.parent) { + continue; } + + out.push(graphItem.parent); } + return out; }; - /** - * @author Richard Davey - * @copyright 2019 Photon Storm Ltd. - * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} - */ + var GetNodeMethods = { + getAllNodes(out) { + if (out === undefined) { + out = []; + } - /** - * Calculate the distance between two sets of coordinates (points). - * - * @function Phaser.Math.Distance.Between - * @since 3.0.0 - * - * @param {number} x1 - The x coordinate of the first point. - * @param {number} y1 - The y coordinate of the first point. - * @param {number} x2 - The x coordinate of the second point. - * @param {number} y2 - The y coordinate of the second point. - * - * @return {number} The distance between each point. - */ - var DistanceBetween = function (x1, y1, x2, y2) - { - var dx = x1 - x2; - var dy = y1 - y2; + this.graph.forEachNode(function (uid) { + var nodeGameObject = UIDToObj(uid); + if (!nodeGameObject) { + return; + } - return Math.sqrt(dx * dx + dy * dy); - }; + out.puth(nodeGameObject); + }); - var GetEdgeLength = function (gameObejct) { - var edge = this.getEdgeData(gameObejct); - if (!edge) { - return 0; - } - var vAGO = UidToObj(edge.vA); - var vBGO = UidToObj(edge.vB); - if ((!vAGO) || (!vBGO)) { - return 0; - } + return out; + }, - return DistanceBetween(vAGO.x, vAGO.y, vBGO.x, vBGO.y); - }; + getNodesOfEdge(edgeGameObject, out) { + if (out === undefined) { + out = []; + } - var IsInLoop = function (vertexGO) { - if (!this.isVertex(vertexGO)) { - return false; - } + var edgeUID = GetObjUID(edgeGameObject); + if (!this.graph.hasEdge(edgeUID)) { + return out; + } + + var uidList = [ + this.graph.source(edgeUID), + this.graph.target(edgeUID) + ]; + return UIDListToObjList(uidList, out); + }, + + getOppositeNode(nodeGameObject, edgeGameObject) { + var nodeGameObjects = this.getNodesOfEdge(edgeGameObject); - var startVUid = this.getObjUID(vertexGO); - var queue = [[startVUid, null]]; - var node, curVUid, edgeUID, edges, nextVUid; - var addedEdgesUid = {}; - while (queue.length > 0) { - node = queue.pop(); - curVUid = node[0]; - edgeUID = node[1]; - if ((curVUid === startVUid) && (edgeUID !== null)) { - return true; + if (nodeGameObjects.length < 2) { + return; } - if (edgeUID !== null) { - addedEdgesUid[edgeUID] = true; + return (nodeGameObject === nodeGameObjects[0]) ? nodeGameObjects[1] : nodeGameObjects[0]; + }, + + }; + + var NeighborNodeMethods = { + areNeighborNodes(nodeGameObjectA, nodeGameObjectB) { + var nodeUIDA = GetObjUID(nodeGameObjectA), + nodeUIDB = GetObjUID(nodeGameObjectB); + if (!nodeUIDA || !nodeUIDB) { + return false; } - edges = this.getVertexData(curVUid); - for (edgeUID in edges) { - if (addedEdgesUid.hasOwnProperty(edgeUID)) { - continue; - } - nextVUid = edges[edgeUID]; - queue.push([nextVUid, edgeUID]); + return this.graph.areNeighbors(nodeUIDA, nodeUIDB); + }, + + getNeighborNodes(nodeGameObject, out) { + if (out === undefined) { + out = []; } - } - return false; + var nodeUID = GetObjUID(nodeGameObject); + if (!nodeUID) { + return out; + } + + this.graph.forEachNeighbor(nodeUID, function (neighborUID) { + var neighborGameObject = UIDToObj(neighborUID); + if (!neighborGameObject) { + return; + } + out.push(neighborGameObject); + }); + + return out; + }, }; - var GetVertexData = function (gameObejct, createIfNotExisted) { - if (createIfNotExisted === undefined) { - createIfNotExisted = false; - } + const IsPlainObject$2 = Phaser.Utils.Objects.IsPlainObject; - // uid or game object - var uid = this.getObjUID(gameObejct); - if (createIfNotExisted && !this.vertices.hasOwnProperty(uid)) { - this.vertices[uid] = {}; + var NodeAttributeMethods = { + getNodeAttribute(gameObject, key) { + var nodeUID = GetObjUID(gameObject); + + if (key === undefined) { + return this.graph.getNodeAttributes(nodeUID); + } else { + return this.graph.getNodeAttribute(nodeUID, key); + } + }, + + setNodeAttribute(gameObject, key, value) { + var nodeUID = GetObjUID(gameObject); + + if (IsPlainObject$2(key)) { + return this.graph.updateNodeAttribute(nodeUID, key); + } else { + return this.graph.setNodeAttribute(nodeUID, key, value); + } } - return this.vertices[uid]; }; - var IsVertex = function (gameObejct) { + var IsEdge = function (gameObejct) { // uid or game object - var uid = this.getObjUID(gameObejct); - return this.vertices.hasOwnProperty(uid); + var uid = GetObjUID(gameObejct); + return this.graph.hasEdge(uid); }; - var AddVertex = function (gameObejct) { - if (this.isVertex(gameObejct)) { - return this; - } + const IsPlainObject$1 = Phaser.Utils.Objects.IsPlainObject; - this.getVertexData(gameObejct, true); - GetGraphItem(gameObejct).setGraph(this); - this.vertexCount++; - return this; + const DIRAtoB = 1; + const DIRBtoA = 2; + const DIRMODE = { + '->': DIRAtoB, + '<-': DIRBtoA, + '<->': (DIRAtoB | DIRBtoA), }; - var AddVertices = function (gameObjects) { - for (var i = 0, cnt = gameObjects.length; i < cnt; i++) { - this.addVertex(gameObjects[i]); - } - return this; - }; + var AddEdgeMethods = { + addEdge(edgeGameObject, nodeAGameObject, nodeBGameObject, dir, attributes) { + if (this.isEdge(edgeGameObject)) { + return this; + } - var RemoveVertex = function (gameObejct, destroy, removeEdge) { - if (!this.isVertex(gameObejct)) { - return this; - } - - if (destroy === undefined) { - destroy = false; - } - if (removeEdge === undefined) { - removeEdge = true; - } + if (IsPlainObject$1(dir)) { + attributes = dir; + } - var uid = this.getObjUID(gameObejct); - // Remove connected edges - if (removeEdge) { - var vertex = this.getVertexData(uid); - for (var edgeUid in vertex) { - this.removeEdge(edgeUid, destroy); + if (dir === undefined) { + dir = 3; + } else if (typeof (dir) === 'string') { + dir = DIRMODE[dir]; } - } - // Remove vertex - delete this.vertices[uid]; - this.vertexCount--; - // Clear reference of graph - GetGraphItem(gameObejct).setGraph(null); - if (destroy && gameObejct.destroy) { - gameObject.destroy(); - } - return this; - }; + // Add node to graph + this.addNode(nodeAGameObject).addNode(nodeBGameObject); - var RemoveAllVertices = function (destroy) { - for (var vertexUid in this.vertices) { - this.removeVertex(vertexUid, destroy); - } - return this; - }; + // Add edge + GetGraphItem(edgeGameObject).setGraph(this); - var GetAllVertices = function (out) { - if (out === undefined) { - out = []; - } + var edgeUID = GetObjUID(edgeGameObject); + var nodeAUID = GetObjUID(nodeAGameObject); + var nodeBUID = GetObjUID(nodeBGameObject); - var vGO; - for (var vUid in this.vertices) { - vGO = UidToObj(vUid); - if (vGO) { - out.push(vGO); + if (!edgeUID || !nodeAUID || !nodeBUID) { + return this; } - } - return out; - }; - var GetVerticesOfEdge = function (edgeGameObject, out) { - if (out === undefined) { - out = []; - } + switch (dir) { + case DIRAtoB: + this.graph.addDirectedEdgeWithKey(edgeUID, nodeAUID, nodeBUID, attributes); + break; - // uid or game object - var edge = this.getEdgeData(edgeGameObject); - if (!edge) { - return out; - } + case DIRBtoA: + this.graph.addDirectedEdgeWithKey(edgeUID, nodeBUID, nodeAUID, attributes); + break; - var vGO; - vGO = UidToObj(edge.vA); - if (vGO) { - out.push(vGO); - } - vGO = UidToObj(edge.vB); - if (vGO) { - out.push(vGO); - } - return out; - }; + default: + this.graph.addUndirectedEdgeWithKey(edgeUID, nodeAUID, nodeBUID, attributes); + break; + } - var GetOppositeVertex = function (vertexGameObject, edgeGameObject) { - // uid or game object - var vertex = this.getVertexData(vertexGameObject); - if (!vertex) { - return undefined; - } - var edgeUid = this.getObjUID(edgeGameObject); - if (!edgeUid) { - return undefined; + return this; } - return UidToObj(vertex[edgeUid]); }; - var GetAllConnectedVertices = function (vertexGO, out, travelMode) { - if (out === undefined) { - out = []; - } - if (typeof (travelMode) === 'string') { - travelMode = TRAVELMODE[travelMode]; - } - if (travelMode === undefined) { - travelMode = 0; - } + var RemoveEdgeMethods = { + removeEdge(edgeGameObject, destroy) { + if (!this.isEdge(edgeGameObject)) { + return this; + } - if (!this.isVertex(vertexGO)) { - return out; - } + if (destroy === undefined) { + destroy = false; + } - var startVUid = this.getObjUID(vertexGO); - var isBFS = (travelMode === 0); - var queue = [startVUid]; - var curVUid, edges, nextVUid; - var addedVerticesUid = {}; - while (queue.length > 0) { - curVUid = (isBFS) ? queue.shift() : queue.pop(); - // Already added - if (addedVerticesUid.hasOwnProperty(curVUid)) { - continue; + // Remove node + var edgeUID = GetObjUID(edgeGameObject); + this.graph.dropEdge(edgeUID); + + // Clear reference of graph + GetGraphItem(edgeGameObject).setGraph(null); + + // Destroy game object + if (destroy && edgeGameObject.destroy) { + edgeGameObject.destroy(); } - addedVerticesUid[curVUid] = true; - if (curVUid !== startVUid) { - out.push(UidToObj(curVUid)); // Add vertex into out + return this; + }, + + }; + + var GetEdgeMethods = { + getAllEdges(out) { + if (out === undefined) { + out = []; } - // Add new neighbors into queue - edges = this.getVertexData(curVUid); - for (var edgeUid in edges) { - nextVUid = this.getOppositeVertex(curVUid, edgeUid); - if (!addedVerticesUid.hasOwnProperty(nextVUid)) { - queue.push(nextVUid); + this.graph.forEachEdge(function (uid) { + var edgeGameObject = UIDToObj(uid); + if (!edgeGameObject) { + return; } + + out.puth(edgeGameObject); + }); + + return out; + }, + + getEdgesOfNode(nodeGameObject, out) { + if (out === undefined) { + out = []; } - } - return out; + var nodeUID = GetObjUID(nodeGameObject); + this.graph.forEachEdge(nodeUID, function (edgeUID) { + var edgeGameObject = UIDToObj(edgeUID); + if (!edgeGameObject) { + return; + } + out.puth(edgeGameObject); + }); + + return out; + } }; - const TRAVELMODE = { - 'breadth-first': 0, - 'bfs': 0, - 'depth-first': 1, - 'dfs': 1, + /** + * @author samme + * @copyright 2013-2024 Phaser Studio Inc. + * @license {@link https://opensource.org/licenses/MIT|MIT License} + */ + + /** + * Calculate the distance between two points. + * + * @function Phaser.Math.Distance.BetweenPoints + * @since 3.22.0 + * + * @param {Phaser.Types.Math.Vector2Like} a - The first point. + * @param {Phaser.Types.Math.Vector2Like} b - The second point. + * + * @return {number} The distance between the points. + */ + var DistanceBetweenPoints = function (a, b) + { + var dx = a.x - b.x; + var dy = a.y - b.y; + + return Math.sqrt(dx * dx + dy * dy); }; - var GetNeighborVertices = function (vAGO, out) { - if (out === undefined) { - out = []; - } + var GetEdgeLength = function (edgeGameObject) { + var nodeGameObjects = this.getNodesOfEdge(edgeGameObject); - var vertex = this.getVertexData(vAGO), - vBGO; - if (vertex) { - for (var edgeUid in vertex) { - vBGO = UidToObj(vertex[edgeUid]); - if (vBGO) { - out.push(vBGO); - } - } + if (nodeGameObjects.length < 2) { + return 0; } - return out; + + return DistanceBetweenPoints(nodeGameObjects[0], nodeGameObjects[1]); }; - var AreNeighborVertices = function (vertexGOA, vertexGOB) { - var vUidA = this.getObjUID(vertexGOA), - vUidB = this.getObjUID(vertexGOB); - if ((vUidA != null) && (vUidB != null)) { - var vertexA = this.getVertexData(vertexGOA); - vUidB = parseInt(vUidB); - for (var edgeUid in vertexA) { - if (vertexA[edgeUid] === vUidB) { - return true; - } + const IsPlainObject = Phaser.Utils.Objects.IsPlainObject; + + var EdgeAttributeMethods = { + getEdgeAttribute(gameObject, key) { + var edgeUID = GetObjUID(gameObject); + + if (key === undefined) { + return this.graph.getEdgeAttributes(edgeUID); + } else { + return this.graph.getEdgeAttribute(edgeUID, key); } - } - return false; + }, + + setEdgeAttribute(gameObject, key, value) { + var edgeUID = GetObjUID(gameObject); + + if (IsPlainObject(key)) { + return this.graph.updateEdgeAttribute(edgeUID, key); + } else { + return this.graph.setEdgeAttribute(edgeUID, key, value); + } + }, }; var Methods = { - getEdgeData: GetEdgeData, + isNode: IsNode, + isEdge: IsEdge, - addEdge: AddEdge, - removeEdge: RemoveEdge, - getAllEdges: GetAllEdges, - getEdgesOfVertex: GetEdgesOfVertex, getEdgeLength: GetEdgeLength, - isInLoop: IsInLoop, - - getVertexData: GetVertexData, - isVertex: IsVertex, - addVertex: AddVertex, - addVertices: AddVertices, - removeVertex: RemoveVertex, - removeAllVertices: RemoveAllVertices, - getAllVertices: GetAllVertices, - getVerticesOfEdge: GetVerticesOfEdge, - getOppositeVertex: GetOppositeVertex, - getAllConnectedVertices: GetAllConnectedVertices, - - getNeighborVertices: GetNeighborVertices, - areNeighborVertices: AreNeighborVertices, }; - const uidKey = ObjBank.uidKey; - var GetObjUID = function (gameObject) { - // Game object or uid - var uid; - if (IsUID(gameObject)) { - uid = gameObject; - } else { - uid = GetGraphItem(gameObject)[uidKey]; - } - return uid; - }; + Object.assign( + Methods, + AddNodeMethods, + RemoveNodeMethods, + GetNodeMethods, + NeighborNodeMethods, + NodeAttributeMethods, + + AddEdgeMethods, + RemoveEdgeMethods, + GetEdgeMethods, + EdgeAttributeMethods, + + ); + + var graphology_umd_min = {exports: {}}; + + (function (module, exports) { + !function(t,e){module.exports=e();}(commonjsGlobal,(function(){function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,r(t,e);}function n(t){return n=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},n(t)}function r(t,e){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},r(t,e)}function i(){if("undefined"==typeof Reflect||!Reflect.construct)return !1;if(Reflect.construct.sham)return !1;if("function"==typeof Proxy)return !0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return !1}}function o(t,e,n){return o=i()?Reflect.construct.bind():function(t,e,n){var i=[null];i.push.apply(i,e);var o=new(Function.bind.apply(t,i));return n&&r(o,n.prototype),o},o.apply(null,arguments)}function a(t){var e="function"==typeof Map?new Map:void 0;return a=function(t){if(null===t||(i=t,-1===Function.toString.call(i).indexOf("[native code]")))return t;var i;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,a);}function a(){return o(t,arguments,n(this).constructor)}return a.prototype=Object.create(t.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),r(a,t)},a(t)}function c(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var u=function(){for(var t=arguments[0],e=1,n=arguments.length;e0&&a.length>i&&!a.warned){a.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=t,u.type=e,u.count=a.length,c=u,console&&console.warn&&console.warn(c);}return t}function E(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function A(t,e,n){var r={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},i=E.bind(r);return i.listener=n,r.wrapFn=i,i}function L(t,e,n){var r=t._events;if(void 0===r)return [];var i=r[e];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(t){for(var e=new Array(t.length),n=0;n0&&(o=e[0]),o instanceof Error)throw o;var a=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw a.context=o,a}var c=i[t];if(void 0===c)return !1;if("function"==typeof c)v(c,this,e);else {var u=c.length,d=D(c,u);for(n=0;n=0;o--)if(n[o]===e||n[o].listener===e){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(t,e){for(;e+1=0;r--)this.removeListener(t,e[r]);return this},m.prototype.listeners=function(t){return L(this,t,!0)},m.prototype.rawListeners=function(t){return L(this,t,!1)},m.listenerCount=function(t,e){return "function"==typeof t.listenerCount?t.listenerCount(e):S.call(t,e)},m.prototype.listenerCount=S,m.prototype.eventNames=function(){return this._eventsCount>0?g(this._events):[]},"undefined"!=typeof Symbol&&(N.prototype[Symbol.iterator]=function(){return this}),N.of=function(){var t=arguments,e=t.length,n=0;return new N((function(){return n>=e?{done:!0}:{done:!1,value:t[n++]}}))},N.empty=function(){return new N((function(){return {done:!0}}))},N.fromSequence=function(t){var e=0,n=t.length;return new N((function(){return e>=n?{done:!0}:{done:!1,value:t[e++]}}))},N.is=function(t){return t instanceof N||"object"==typeof t&&null!==t&&"function"==typeof t.next};var O=N,j={};j.ARRAY_BUFFER_SUPPORT="undefined"!=typeof ArrayBuffer,j.SYMBOL_SUPPORT="undefined"!=typeof Symbol;var C=O,M=j,z=M.ARRAY_BUFFER_SUPPORT,W=M.SYMBOL_SUPPORT;var P=function(t){var e=function(t){return "string"==typeof t||Array.isArray(t)||z&&ArrayBuffer.isView(t)?C.fromSequence(t):"object"!=typeof t||null===t?null:W&&"function"==typeof t[Symbol.iterator]?t[Symbol.iterator]():"function"==typeof t.next?t:null}(t);if(!e)throw new Error("obliterator: target is not iterable nor a valid iterator.");return e},R=P,K=function(t,e){for(var n,r=arguments.length>1?e:1/0,i=r!==1/0?new Array(r):[],o=0,a=R(t);;){if(o===r)return i;if((n=a.next()).done)return o!==e&&(i.length=o),i;i[o++]=n.value;}},T=function(t){function n(e){var n;return (n=t.call(this)||this).name="GraphError",n.message=e,n}return e(n,t),n}(a(Error)),B=function(t){function n(e){var r;return (r=t.call(this,e)||this).name="InvalidArgumentsGraphError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(c(r),n.prototype.constructor),r}return e(n,t),n}(T),F=function(t){function n(e){var r;return (r=t.call(this,e)||this).name="NotFoundGraphError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(c(r),n.prototype.constructor),r}return e(n,t),n}(T),I=function(t){function n(e){var r;return (r=t.call(this,e)||this).name="UsageGraphError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(c(r),n.prototype.constructor),r}return e(n,t),n}(T);function Y(t,e){this.key=t,this.attributes=e,this.clear();}function q(t,e){this.key=t,this.attributes=e,this.clear();}function J(t,e){this.key=t,this.attributes=e,this.clear();}function V(t,e,n,r,i){this.key=e,this.attributes=i,this.undirected=t,this.source=n,this.target=r;}Y.prototype.clear=function(){this.inDegree=0,this.outDegree=0,this.undirectedDegree=0,this.undirectedLoops=0,this.directedLoops=0,this.in={},this.out={},this.undirected={};},q.prototype.clear=function(){this.inDegree=0,this.outDegree=0,this.directedLoops=0,this.in={},this.out={};},J.prototype.clear=function(){this.undirectedDegree=0,this.undirectedLoops=0,this.undirected={};},V.prototype.attach=function(){var t="out",e="in";this.undirected&&(t=e="undirected");var n=this.source.key,r=this.target.key;this.source[t][r]=this,this.undirected&&n===r||(this.target[e][n]=this);},V.prototype.attachMulti=function(){var t="out",e="in",n=this.source.key,r=this.target.key;this.undirected&&(t=e="undirected");var i=this.source[t],o=i[r];if(void 0===o)return i[r]=this,void(this.undirected&&n===r||(this.target[e][n]=this));o.previous=this,this.next=o,i[r]=this,this.target[e][n]=this;},V.prototype.detach=function(){var t=this.source.key,e=this.target.key,n="out",r="in";this.undirected&&(n=r="undirected"),delete this.source[n][e],delete this.target[r][t];},V.prototype.detachMulti=function(){var t=this.source.key,e=this.target.key,n="out",r="in";this.undirected&&(n=r="undirected"),void 0===this.previous?void 0===this.next?(delete this.source[n][e],delete this.target[r][t]):(this.next.previous=void 0,this.source[n][e]=this.next,this.target[r][t]=this.next):(this.previous.next=this.next,void 0!==this.next&&(this.next.previous=this.previous));};function H(t,e,n,r,i,o,a){var c,u,d,s;if(r=""+r,0===n){if(!(c=t._nodes.get(r)))throw new F("Graph.".concat(e,': could not find the "').concat(r,'" node in the graph.'));d=i,s=o;}else if(3===n){if(i=""+i,!(u=t._edges.get(i)))throw new F("Graph.".concat(e,': could not find the "').concat(i,'" edge in the graph.'));var h=u.source.key,p=u.target.key;if(r===h)c=u.target;else {if(r!==p)throw new F("Graph.".concat(e,': the "').concat(r,'" node is not attached to the "').concat(i,'" edge (').concat(h,", ").concat(p,")."));c=u.source;}d=o,s=a;}else {if(!(u=t._edges.get(r)))throw new F("Graph.".concat(e,': could not find the "').concat(r,'" edge in the graph.'));c=1===n?u.source:u.target,d=i,s=o;}return [c,d,s]}var Q=[{name:function(t){return "get".concat(t,"Attribute")},attacher:function(t,e,n){t.prototype[e]=function(t,r,i){var o=H(this,e,n,t,r,i),a=o[0],c=o[1];return a.attributes[c]};}},{name:function(t){return "get".concat(t,"Attributes")},attacher:function(t,e,n){t.prototype[e]=function(t,r){return H(this,e,n,t,r)[0].attributes};}},{name:function(t){return "has".concat(t,"Attribute")},attacher:function(t,e,n){t.prototype[e]=function(t,r,i){var o=H(this,e,n,t,r,i),a=o[0],c=o[1];return a.attributes.hasOwnProperty(c)};}},{name:function(t){return "set".concat(t,"Attribute")},attacher:function(t,e,n){t.prototype[e]=function(t,r,i,o){var a=H(this,e,n,t,r,i,o),c=a[0],u=a[1],d=a[2];return c.attributes[u]=d,this.emit("nodeAttributesUpdated",{key:c.key,type:"set",attributes:c.attributes,name:u}),this};}},{name:function(t){return "update".concat(t,"Attribute")},attacher:function(t,e,n){t.prototype[e]=function(t,r,i,o){var a=H(this,e,n,t,r,i,o),c=a[0],u=a[1],d=a[2];if("function"!=typeof d)throw new B("Graph.".concat(e,": updater should be a function."));var s=c.attributes,h=d(s[u]);return s[u]=h,this.emit("nodeAttributesUpdated",{key:c.key,type:"set",attributes:c.attributes,name:u}),this};}},{name:function(t){return "remove".concat(t,"Attribute")},attacher:function(t,e,n){t.prototype[e]=function(t,r,i){var o=H(this,e,n,t,r,i),a=o[0],c=o[1];return delete a.attributes[c],this.emit("nodeAttributesUpdated",{key:a.key,type:"remove",attributes:a.attributes,name:c}),this};}},{name:function(t){return "replace".concat(t,"Attributes")},attacher:function(t,e,n){t.prototype[e]=function(t,r,i){var o=H(this,e,n,t,r,i),a=o[0],c=o[1];if(!s(c))throw new B("Graph.".concat(e,": provided attributes are not a plain object."));return a.attributes=c,this.emit("nodeAttributesUpdated",{key:a.key,type:"replace",attributes:a.attributes}),this};}},{name:function(t){return "merge".concat(t,"Attributes")},attacher:function(t,e,n){t.prototype[e]=function(t,r,i){var o=H(this,e,n,t,r,i),a=o[0],c=o[1];if(!s(c))throw new B("Graph.".concat(e,": provided attributes are not a plain object."));return u(a.attributes,c),this.emit("nodeAttributesUpdated",{key:a.key,type:"merge",attributes:a.attributes,data:c}),this};}},{name:function(t){return "update".concat(t,"Attributes")},attacher:function(t,e,n){t.prototype[e]=function(t,r,i){var o=H(this,e,n,t,r,i),a=o[0],c=o[1];if("function"!=typeof c)throw new B("Graph.".concat(e,": provided updater is not a function."));return a.attributes=c(a.attributes),this.emit("nodeAttributesUpdated",{key:a.key,type:"update",attributes:a.attributes}),this};}}];var X=[{name:function(t){return "get".concat(t,"Attribute")},attacher:function(t,e,n){t.prototype[e]=function(t,r){var i;if("mixed"!==this.type&&"mixed"!==n&&n!==this.type)throw new I("Graph.".concat(e,": cannot find this type of edges in your ").concat(this.type," graph."));if(arguments.length>2){if(this.multi)throw new I("Graph.".concat(e,": cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about."));var o=""+t,a=""+r;if(r=arguments[2],!(i=d(this,o,a,n)))throw new F("Graph.".concat(e,': could not find an edge for the given path ("').concat(o,'" - "').concat(a,'").'))}else {if("mixed"!==n)throw new I("Graph.".concat(e,": calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type."));if(t=""+t,!(i=this._edges.get(t)))throw new F("Graph.".concat(e,': could not find the "').concat(t,'" edge in the graph.'))}return i.attributes[r]};}},{name:function(t){return "get".concat(t,"Attributes")},attacher:function(t,e,n){t.prototype[e]=function(t){var r;if("mixed"!==this.type&&"mixed"!==n&&n!==this.type)throw new I("Graph.".concat(e,": cannot find this type of edges in your ").concat(this.type," graph."));if(arguments.length>1){if(this.multi)throw new I("Graph.".concat(e,": cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about."));var i=""+t,o=""+arguments[1];if(!(r=d(this,i,o,n)))throw new F("Graph.".concat(e,': could not find an edge for the given path ("').concat(i,'" - "').concat(o,'").'))}else {if("mixed"!==n)throw new I("Graph.".concat(e,": calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type."));if(t=""+t,!(r=this._edges.get(t)))throw new F("Graph.".concat(e,': could not find the "').concat(t,'" edge in the graph.'))}return r.attributes};}},{name:function(t){return "has".concat(t,"Attribute")},attacher:function(t,e,n){t.prototype[e]=function(t,r){var i;if("mixed"!==this.type&&"mixed"!==n&&n!==this.type)throw new I("Graph.".concat(e,": cannot find this type of edges in your ").concat(this.type," graph."));if(arguments.length>2){if(this.multi)throw new I("Graph.".concat(e,": cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about."));var o=""+t,a=""+r;if(r=arguments[2],!(i=d(this,o,a,n)))throw new F("Graph.".concat(e,': could not find an edge for the given path ("').concat(o,'" - "').concat(a,'").'))}else {if("mixed"!==n)throw new I("Graph.".concat(e,": calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type."));if(t=""+t,!(i=this._edges.get(t)))throw new F("Graph.".concat(e,': could not find the "').concat(t,'" edge in the graph.'))}return i.attributes.hasOwnProperty(r)};}},{name:function(t){return "set".concat(t,"Attribute")},attacher:function(t,e,n){t.prototype[e]=function(t,r,i){var o;if("mixed"!==this.type&&"mixed"!==n&&n!==this.type)throw new I("Graph.".concat(e,": cannot find this type of edges in your ").concat(this.type," graph."));if(arguments.length>3){if(this.multi)throw new I("Graph.".concat(e,": cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about."));var a=""+t,c=""+r;if(r=arguments[2],i=arguments[3],!(o=d(this,a,c,n)))throw new F("Graph.".concat(e,': could not find an edge for the given path ("').concat(a,'" - "').concat(c,'").'))}else {if("mixed"!==n)throw new I("Graph.".concat(e,": calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type."));if(t=""+t,!(o=this._edges.get(t)))throw new F("Graph.".concat(e,': could not find the "').concat(t,'" edge in the graph.'))}return o.attributes[r]=i,this.emit("edgeAttributesUpdated",{key:o.key,type:"set",attributes:o.attributes,name:r}),this};}},{name:function(t){return "update".concat(t,"Attribute")},attacher:function(t,e,n){t.prototype[e]=function(t,r,i){var o;if("mixed"!==this.type&&"mixed"!==n&&n!==this.type)throw new I("Graph.".concat(e,": cannot find this type of edges in your ").concat(this.type," graph."));if(arguments.length>3){if(this.multi)throw new I("Graph.".concat(e,": cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about."));var a=""+t,c=""+r;if(r=arguments[2],i=arguments[3],!(o=d(this,a,c,n)))throw new F("Graph.".concat(e,': could not find an edge for the given path ("').concat(a,'" - "').concat(c,'").'))}else {if("mixed"!==n)throw new I("Graph.".concat(e,": calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type."));if(t=""+t,!(o=this._edges.get(t)))throw new F("Graph.".concat(e,': could not find the "').concat(t,'" edge in the graph.'))}if("function"!=typeof i)throw new B("Graph.".concat(e,": updater should be a function."));return o.attributes[r]=i(o.attributes[r]),this.emit("edgeAttributesUpdated",{key:o.key,type:"set",attributes:o.attributes,name:r}),this};}},{name:function(t){return "remove".concat(t,"Attribute")},attacher:function(t,e,n){t.prototype[e]=function(t,r){var i;if("mixed"!==this.type&&"mixed"!==n&&n!==this.type)throw new I("Graph.".concat(e,": cannot find this type of edges in your ").concat(this.type," graph."));if(arguments.length>2){if(this.multi)throw new I("Graph.".concat(e,": cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about."));var o=""+t,a=""+r;if(r=arguments[2],!(i=d(this,o,a,n)))throw new F("Graph.".concat(e,': could not find an edge for the given path ("').concat(o,'" - "').concat(a,'").'))}else {if("mixed"!==n)throw new I("Graph.".concat(e,": calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type."));if(t=""+t,!(i=this._edges.get(t)))throw new F("Graph.".concat(e,': could not find the "').concat(t,'" edge in the graph.'))}return delete i.attributes[r],this.emit("edgeAttributesUpdated",{key:i.key,type:"remove",attributes:i.attributes,name:r}),this};}},{name:function(t){return "replace".concat(t,"Attributes")},attacher:function(t,e,n){t.prototype[e]=function(t,r){var i;if("mixed"!==this.type&&"mixed"!==n&&n!==this.type)throw new I("Graph.".concat(e,": cannot find this type of edges in your ").concat(this.type," graph."));if(arguments.length>2){if(this.multi)throw new I("Graph.".concat(e,": cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about."));var o=""+t,a=""+r;if(r=arguments[2],!(i=d(this,o,a,n)))throw new F("Graph.".concat(e,': could not find an edge for the given path ("').concat(o,'" - "').concat(a,'").'))}else {if("mixed"!==n)throw new I("Graph.".concat(e,": calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type."));if(t=""+t,!(i=this._edges.get(t)))throw new F("Graph.".concat(e,': could not find the "').concat(t,'" edge in the graph.'))}if(!s(r))throw new B("Graph.".concat(e,": provided attributes are not a plain object."));return i.attributes=r,this.emit("edgeAttributesUpdated",{key:i.key,type:"replace",attributes:i.attributes}),this};}},{name:function(t){return "merge".concat(t,"Attributes")},attacher:function(t,e,n){t.prototype[e]=function(t,r){var i;if("mixed"!==this.type&&"mixed"!==n&&n!==this.type)throw new I("Graph.".concat(e,": cannot find this type of edges in your ").concat(this.type," graph."));if(arguments.length>2){if(this.multi)throw new I("Graph.".concat(e,": cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about."));var o=""+t,a=""+r;if(r=arguments[2],!(i=d(this,o,a,n)))throw new F("Graph.".concat(e,': could not find an edge for the given path ("').concat(o,'" - "').concat(a,'").'))}else {if("mixed"!==n)throw new I("Graph.".concat(e,": calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type."));if(t=""+t,!(i=this._edges.get(t)))throw new F("Graph.".concat(e,': could not find the "').concat(t,'" edge in the graph.'))}if(!s(r))throw new B("Graph.".concat(e,": provided attributes are not a plain object."));return u(i.attributes,r),this.emit("edgeAttributesUpdated",{key:i.key,type:"merge",attributes:i.attributes,data:r}),this};}},{name:function(t){return "update".concat(t,"Attributes")},attacher:function(t,e,n){t.prototype[e]=function(t,r){var i;if("mixed"!==this.type&&"mixed"!==n&&n!==this.type)throw new I("Graph.".concat(e,": cannot find this type of edges in your ").concat(this.type," graph."));if(arguments.length>2){if(this.multi)throw new I("Graph.".concat(e,": cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about."));var o=""+t,a=""+r;if(r=arguments[2],!(i=d(this,o,a,n)))throw new F("Graph.".concat(e,': could not find an edge for the given path ("').concat(o,'" - "').concat(a,'").'))}else {if("mixed"!==n)throw new I("Graph.".concat(e,": calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type."));if(t=""+t,!(i=this._edges.get(t)))throw new F("Graph.".concat(e,': could not find the "').concat(t,'" edge in the graph.'))}if("function"!=typeof r)throw new B("Graph.".concat(e,": provided updater is not a function."));return i.attributes=r(i.attributes),this.emit("edgeAttributesUpdated",{key:i.key,type:"update",attributes:i.attributes}),this};}}];var Z=O,$=P,tt=function(){var t=arguments,e=null,n=-1;return new Z((function(){for(var r=null;;){if(null===e){if(++n>=t.length)return {done:!0};e=$(t[n]);}if(!0!==(r=e.next()).done)break;e=null;}return r}))},et=[{name:"edges",type:"mixed"},{name:"inEdges",type:"directed",direction:"in"},{name:"outEdges",type:"directed",direction:"out"},{name:"inboundEdges",type:"mixed",direction:"in"},{name:"outboundEdges",type:"mixed",direction:"out"},{name:"directedEdges",type:"directed"},{name:"undirectedEdges",type:"undirected"}];function nt(t,e,n,r){var i=!1;for(var o in e)if(o!==r){var a=e[o];if(i=n(a.key,a.attributes,a.source.key,a.target.key,a.source.attributes,a.target.attributes,a.undirected),t&&i)return a.key}}function rt(t,e,n,r){var i,o,a,c=!1;for(var u in e)if(u!==r){i=e[u];do{if(o=i.source,a=i.target,c=n(i.key,i.attributes,o.key,a.key,o.attributes,a.attributes,i.undirected),t&&c)return i.key;i=i.next;}while(void 0!==i)}}function it(t,e){var n,r=Object.keys(t),i=r.length,o=0;return new O((function(){do{if(n)n=n.next;else {if(o>=i)return {done:!0};var a=r[o++];if(a===e){n=void 0;continue}n=t[a];}}while(!n);return {done:!1,value:{edge:n.key,attributes:n.attributes,source:n.source.key,target:n.target.key,sourceAttributes:n.source.attributes,targetAttributes:n.target.attributes,undirected:n.undirected}}}))}function ot(t,e,n,r){var i=e[n];if(i){var o=i.source,a=i.target;return r(i.key,i.attributes,o.key,a.key,o.attributes,a.attributes,i.undirected)&&t?i.key:void 0}}function at(t,e,n,r){var i=e[n];if(i){var o=!1;do{if(o=r(i.key,i.attributes,i.source.key,i.target.key,i.source.attributes,i.target.attributes,i.undirected),t&&o)return i.key;i=i.next;}while(void 0!==i)}}function ct(t,e){var n=t[e];return void 0!==n.next?new O((function(){if(!n)return {done:!0};var t={edge:n.key,attributes:n.attributes,source:n.source.key,target:n.target.key,sourceAttributes:n.source.attributes,targetAttributes:n.target.attributes,undirected:n.undirected};return n=n.next,{done:!1,value:t}})):O.of({edge:n.key,attributes:n.attributes,source:n.source.key,target:n.target.key,sourceAttributes:n.source.attributes,targetAttributes:n.target.attributes,undirected:n.undirected})}function ut(t,e){if(0===t.size)return [];if("mixed"===e||e===t.type)return "function"==typeof Array.from?Array.from(t._edges.keys()):K(t._edges.keys(),t._edges.size);for(var n,r,i="undirected"===e?t.undirectedSize:t.directedSize,o=new Array(i),a="undirected"===e,c=t._edges.values(),u=0;!0!==(n=c.next()).done;)(r=n.value).undirected===a&&(o[u++]=r.key);return o}function dt(t,e,n,r){if(0!==e.size)for(var i,o,a="mixed"!==n&&n!==e.type,c="undirected"===n,u=!1,d=e._edges.values();!0!==(i=d.next()).done;)if(o=i.value,!a||o.undirected===c){var s=o,h=s.key,p=s.attributes,f=s.source,l=s.target;if(u=r(h,p,f.key,l.key,f.attributes,l.attributes,o.undirected),t&&u)return h}}function st(t,e){if(0===t.size)return O.empty();var n="mixed"!==e&&e!==t.type,r="undirected"===e,i=t._edges.values();return new O((function(){for(var t,e;;){if((t=i.next()).done)return t;if(e=t.value,!n||e.undirected===r)break}return {value:{edge:e.key,attributes:e.attributes,source:e.source.key,target:e.target.key,sourceAttributes:e.source.attributes,targetAttributes:e.target.attributes,undirected:e.undirected},done:!1}}))}function ht(t,e,n,r,i,o){var a,c=e?rt:nt;if("undirected"!==n){if("out"!==r&&(a=c(t,i.in,o),t&&a))return a;if("in"!==r&&(a=c(t,i.out,o,r?void 0:i.key),t&&a))return a}if("directed"!==n&&(a=c(t,i.undirected,o),t&&a))return a}function pt(t,e,n,r){var i=[];return ht(!1,t,e,n,r,(function(t){i.push(t);})),i}function ft(t,e,n){var r=O.empty();return "undirected"!==t&&("out"!==e&&void 0!==n.in&&(r=tt(r,it(n.in))),"in"!==e&&void 0!==n.out&&(r=tt(r,it(n.out,e?void 0:n.key)))),"directed"!==t&&void 0!==n.undirected&&(r=tt(r,it(n.undirected))),r}function lt(t,e,n,r,i,o,a){var c,u=n?at:ot;if("undirected"!==e){if(void 0!==i.in&&"out"!==r&&(c=u(t,i.in,o,a),t&&c))return c;if(void 0!==i.out&&"in"!==r&&(r||i.key!==o)&&(c=u(t,i.out,o,a),t&&c))return c}if("directed"!==e&&void 0!==i.undirected&&(c=u(t,i.undirected,o,a),t&&c))return c}function gt(t,e,n,r,i){var o=[];return lt(!1,t,e,n,r,i,(function(t){o.push(t);})),o}function yt(t,e,n,r){var i=O.empty();return "undirected"!==t&&(void 0!==n.in&&"out"!==e&&r in n.in&&(i=tt(i,ct(n.in,r))),void 0!==n.out&&"in"!==e&&r in n.out&&(e||n.key!==r)&&(i=tt(i,ct(n.out,r)))),"directed"!==t&&void 0!==n.undirected&&r in n.undirected&&(i=tt(i,ct(n.undirected,r))),i}var wt=[{name:"neighbors",type:"mixed"},{name:"inNeighbors",type:"directed",direction:"in"},{name:"outNeighbors",type:"directed",direction:"out"},{name:"inboundNeighbors",type:"mixed",direction:"in"},{name:"outboundNeighbors",type:"mixed",direction:"out"},{name:"directedNeighbors",type:"directed"},{name:"undirectedNeighbors",type:"undirected"}];function vt(){this.A=null,this.B=null;}function bt(t,e,n,r,i){for(var o in r){var a=r[o],c=a.source,u=a.target,d=c===n?u:c;if(!e||!e.has(d.key)){var s=i(d.key,d.attributes);if(t&&s)return d.key}}}function mt(t,e,n,r,i){if("mixed"!==e){if("undirected"===e)return bt(t,null,r,r.undirected,i);if("string"==typeof n)return bt(t,null,r,r[n],i)}var o,a=new vt;if("undirected"!==e){if("out"!==n){if(o=bt(t,null,r,r.in,i),t&&o)return o;a.wrap(r.in);}if("in"!==n){if(o=bt(t,a,r,r.out,i),t&&o)return o;a.wrap(r.out);}}if("directed"!==e&&(o=bt(t,a,r,r.undirected,i),t&&o))return o}function kt(t,e,n){var r=Object.keys(n),i=r.length,o=0;return new O((function(){var a=null;do{if(o>=i)return t&&t.wrap(n),{done:!0};var c=n[r[o++]],u=c.source,d=c.target;a=u===e?d:u,t&&t.has(a.key)&&(a=null);}while(null===a);return {done:!1,value:{neighbor:a.key,attributes:a.attributes}}}))}function _t(t,e){var n=e.name,r=e.type,i=e.direction;t.prototype[n]=function(t){if("mixed"!==r&&"mixed"!==this.type&&r!==this.type)return [];t=""+t;var e=this._nodes.get(t);if(void 0===e)throw new F("Graph.".concat(n,': could not find the "').concat(t,'" node in the graph.'));return function(t,e,n){if("mixed"!==t){if("undirected"===t)return Object.keys(n.undirected);if("string"==typeof e)return Object.keys(n[e])}var r=[];return mt(!1,t,e,n,(function(t){r.push(t);})),r}("mixed"===r?this.type:r,i,e)};}function Gt(t,e){var n=e.name,r=e.type,i=e.direction,o=n.slice(0,-1)+"Entries";t.prototype[o]=function(t){if("mixed"!==r&&"mixed"!==this.type&&r!==this.type)return O.empty();t=""+t;var e=this._nodes.get(t);if(void 0===e)throw new F("Graph.".concat(o,': could not find the "').concat(t,'" node in the graph.'));return function(t,e,n){if("mixed"!==t){if("undirected"===t)return kt(null,n,n.undirected);if("string"==typeof e)return kt(null,n,n[e])}var r=O.empty(),i=new vt;return "undirected"!==t&&("out"!==e&&(r=tt(r,kt(i,n,n.in))),"in"!==e&&(r=tt(r,kt(i,n,n.out)))),"directed"!==t&&(r=tt(r,kt(i,n,n.undirected))),r}("mixed"===r?this.type:r,i,e)};}function xt(t,e,n,r,i){for(var o,a,c,u,d,s,h,p=r._nodes.values(),f=r.type;!0!==(o=p.next()).done;){var l=!1;if(a=o.value,"undirected"!==f)for(c in u=a.out){d=u[c];do{if(s=d.target,l=!0,h=i(a.key,s.key,a.attributes,s.attributes,d.key,d.attributes,d.undirected),t&&h)return d;d=d.next;}while(d)}if("directed"!==f)for(c in u=a.undirected)if(!(e&&a.key>c)){d=u[c];do{if((s=d.target).key!==c&&(s=d.source),l=!0,h=i(a.key,s.key,a.attributes,s.attributes,d.key,d.attributes,d.undirected),t&&h)return d;d=d.next;}while(d)}if(n&&!l&&(h=i(a.key,null,a.attributes,null,null,null,null),t&&h))return null}}function Et(t){if(!s(t))throw new B('Graph.import: invalid serialized node. A serialized node should be a plain object with at least a "key" property.');if(!("key"in t))throw new B("Graph.import: serialized node is missing its key.");if("attributes"in t&&(!s(t.attributes)||null===t.attributes))throw new B("Graph.import: invalid attributes. Attributes should be a plain object, null or omitted.")}function At(t){if(!s(t))throw new B('Graph.import: invalid serialized edge. A serialized edge should be a plain object with at least a "source" & "target" property.');if(!("source"in t))throw new B("Graph.import: serialized edge is missing its source.");if(!("target"in t))throw new B("Graph.import: serialized edge is missing its target.");if("attributes"in t&&(!s(t.attributes)||null===t.attributes))throw new B("Graph.import: invalid attributes. Attributes should be a plain object, null or omitted.");if("undirected"in t&&"boolean"!=typeof t.undirected)throw new B("Graph.import: invalid undirectedness information. Undirected should be boolean or omitted.")}vt.prototype.wrap=function(t){null===this.A?this.A=t:null===this.B&&(this.B=t);},vt.prototype.has=function(t){return null!==this.A&&t in this.A||null!==this.B&&t in this.B};var Lt,St=(Lt=255&Math.floor(256*Math.random()),function(){return Lt++}),Dt=new Set(["directed","undirected","mixed"]),Ut=new Set(["domain","_events","_eventsCount","_maxListeners"]),Nt={allowSelfLoops:!0,multi:!1,type:"mixed"};function Ot(t,e,n){var r=new t.NodeDataClass(e,n);return t._nodes.set(e,r),t.emit("nodeAdded",{key:e,attributes:n}),r}function jt(t,e,n,r,i,o,a,c){if(!r&&"undirected"===t.type)throw new I("Graph.".concat(e,": you cannot add a directed edge to an undirected graph. Use the #.addEdge or #.addUndirectedEdge instead."));if(r&&"directed"===t.type)throw new I("Graph.".concat(e,": you cannot add an undirected edge to a directed graph. Use the #.addEdge or #.addDirectedEdge instead."));if(c&&!s(c))throw new B("Graph.".concat(e,': invalid attributes. Expecting an object but got "').concat(c,'"'));if(o=""+o,a=""+a,c=c||{},!t.allowSelfLoops&&o===a)throw new I("Graph.".concat(e,': source & target are the same ("').concat(o,"\"), thus creating a loop explicitly forbidden by this graph 'allowSelfLoops' option set to false."));var u=t._nodes.get(o),d=t._nodes.get(a);if(!u)throw new F("Graph.".concat(e,': source node "').concat(o,'" not found.'));if(!d)throw new F("Graph.".concat(e,': target node "').concat(a,'" not found.'));var h={key:null,undirected:r,source:o,target:a,attributes:c};if(n)i=t._edgeKeyGenerator();else if(i=""+i,t._edges.has(i))throw new I("Graph.".concat(e,': the "').concat(i,'" edge already exists in the graph.'));if(!t.multi&&(r?void 0!==u.undirected[a]:void 0!==u.out[a]))throw new I("Graph.".concat(e,': an edge linking "').concat(o,'" to "').concat(a,"\" already exists. If you really want to add multiple edges linking those nodes, you should create a multi graph by using the 'multi' option."));var p=new V(r,i,u,d,c);t._edges.set(i,p);var f=o===a;return r?(u.undirectedDegree++,d.undirectedDegree++,f&&(u.undirectedLoops++,t._undirectedSelfLoopCount++)):(u.outDegree++,d.inDegree++,f&&(u.directedLoops++,t._directedSelfLoopCount++)),t.multi?p.attachMulti():p.attach(),r?t._undirectedSize++:t._directedSize++,h.key=i,t.emit("edgeAdded",h),i}function Ct(t,e,n,r,i,o,a,c,d){if(!r&&"undirected"===t.type)throw new I("Graph.".concat(e,": you cannot merge/update a directed edge to an undirected graph. Use the #.mergeEdge/#.updateEdge or #.addUndirectedEdge instead."));if(r&&"directed"===t.type)throw new I("Graph.".concat(e,": you cannot merge/update an undirected edge to a directed graph. Use the #.mergeEdge/#.updateEdge or #.addDirectedEdge instead."));if(c)if(d){if("function"!=typeof c)throw new B("Graph.".concat(e,': invalid updater function. Expecting a function but got "').concat(c,'"'))}else if(!s(c))throw new B("Graph.".concat(e,': invalid attributes. Expecting an object but got "').concat(c,'"'));var h;if(o=""+o,a=""+a,d&&(h=c,c=void 0),!t.allowSelfLoops&&o===a)throw new I("Graph.".concat(e,': source & target are the same ("').concat(o,"\"), thus creating a loop explicitly forbidden by this graph 'allowSelfLoops' option set to false."));var p,f,l=t._nodes.get(o),g=t._nodes.get(a);if(!n&&(p=t._edges.get(i))){if(!(p.source.key===o&&p.target.key===a||r&&p.source.key===a&&p.target.key===o))throw new I("Graph.".concat(e,': inconsistency detected when attempting to merge the "').concat(i,'" edge with "').concat(o,'" source & "').concat(a,'" target vs. ("').concat(p.source.key,'", "').concat(p.target.key,'").'));f=p;}if(f||t.multi||!l||(f=r?l.undirected[a]:l.out[a]),f){var y=[f.key,!1,!1,!1];if(d?!h:!c)return y;if(d){var w=f.attributes;f.attributes=h(w),t.emit("edgeAttributesUpdated",{type:"replace",key:f.key,attributes:f.attributes});}else u(f.attributes,c),t.emit("edgeAttributesUpdated",{type:"merge",key:f.key,attributes:f.attributes,data:c});return y}c=c||{},d&&h&&(c=h(c));var v={key:null,undirected:r,source:o,target:a,attributes:c};if(n)i=t._edgeKeyGenerator();else if(i=""+i,t._edges.has(i))throw new I("Graph.".concat(e,': the "').concat(i,'" edge already exists in the graph.'));var b=!1,m=!1;l||(l=Ot(t,o,{}),b=!0,o===a&&(g=l,m=!0)),g||(g=Ot(t,a,{}),m=!0),p=new V(r,i,l,g,c),t._edges.set(i,p);var k=o===a;return r?(l.undirectedDegree++,g.undirectedDegree++,k&&(l.undirectedLoops++,t._undirectedSelfLoopCount++)):(l.outDegree++,g.inDegree++,k&&(l.directedLoops++,t._directedSelfLoopCount++)),t.multi?p.attachMulti():p.attach(),r?t._undirectedSize++:t._directedSize++,v.key=i,t.emit("edgeAdded",v),[i,!0,b,m]}function Mt(t,e){t._edges.delete(e.key);var n=e.source,r=e.target,i=e.attributes,o=e.undirected,a=n===r;o?(n.undirectedDegree--,r.undirectedDegree--,a&&(n.undirectedLoops--,t._undirectedSelfLoopCount--)):(n.outDegree--,r.inDegree--,a&&(n.directedLoops--,t._directedSelfLoopCount--)),t.multi?e.detachMulti():e.detach(),o?t._undirectedSize--:t._directedSize--,t.emit("edgeDropped",{key:e.key,attributes:i,source:n.key,target:r.key,undirected:o});}var zt=function(n){function r(t){var e;if(e=n.call(this)||this,"boolean"!=typeof(t=u({},Nt,t)).multi)throw new B("Graph.constructor: invalid 'multi' option. Expecting a boolean but got \"".concat(t.multi,'".'));if(!Dt.has(t.type))throw new B('Graph.constructor: invalid \'type\' option. Should be one of "mixed", "directed" or "undirected" but got "'.concat(t.type,'".'));if("boolean"!=typeof t.allowSelfLoops)throw new B("Graph.constructor: invalid 'allowSelfLoops' option. Expecting a boolean but got \"".concat(t.allowSelfLoops,'".'));var r="mixed"===t.type?Y:"directed"===t.type?q:J;p(c(e),"NodeDataClass",r);var i="geid_"+St()+"_",o=0;return p(c(e),"_attributes",{}),p(c(e),"_nodes",new Map),p(c(e),"_edges",new Map),p(c(e),"_directedSize",0),p(c(e),"_undirectedSize",0),p(c(e),"_directedSelfLoopCount",0),p(c(e),"_undirectedSelfLoopCount",0),p(c(e),"_edgeKeyGenerator",(function(){var t;do{t=i+o++;}while(e._edges.has(t));return t})),p(c(e),"_options",t),Ut.forEach((function(t){return p(c(e),t,e[t])})),f(c(e),"order",(function(){return e._nodes.size})),f(c(e),"size",(function(){return e._edges.size})),f(c(e),"directedSize",(function(){return e._directedSize})),f(c(e),"undirectedSize",(function(){return e._undirectedSize})),f(c(e),"selfLoopCount",(function(){return e._directedSelfLoopCount+e._undirectedSelfLoopCount})),f(c(e),"directedSelfLoopCount",(function(){return e._directedSelfLoopCount})),f(c(e),"undirectedSelfLoopCount",(function(){return e._undirectedSelfLoopCount})),f(c(e),"multi",e._options.multi),f(c(e),"type",e._options.type),f(c(e),"allowSelfLoops",e._options.allowSelfLoops),f(c(e),"implementation",(function(){return "graphology"})),e}e(r,n);var i=r.prototype;return i._resetInstanceCounters=function(){this._directedSize=0,this._undirectedSize=0,this._directedSelfLoopCount=0,this._undirectedSelfLoopCount=0;},i.hasNode=function(t){return this._nodes.has(""+t)},i.hasDirectedEdge=function(t,e){if("undirected"===this.type)return !1;if(1===arguments.length){var n=""+t,r=this._edges.get(n);return !!r&&!r.undirected}if(2===arguments.length){t=""+t,e=""+e;var i=this._nodes.get(t);return !!i&&i.out.hasOwnProperty(e)}throw new B("Graph.hasDirectedEdge: invalid arity (".concat(arguments.length,", instead of 1 or 2). You can either ask for an edge id or for the existence of an edge between a source & a target."))},i.hasUndirectedEdge=function(t,e){if("directed"===this.type)return !1;if(1===arguments.length){var n=""+t,r=this._edges.get(n);return !!r&&r.undirected}if(2===arguments.length){t=""+t,e=""+e;var i=this._nodes.get(t);return !!i&&i.undirected.hasOwnProperty(e)}throw new B("Graph.hasDirectedEdge: invalid arity (".concat(arguments.length,", instead of 1 or 2). You can either ask for an edge id or for the existence of an edge between a source & a target."))},i.hasEdge=function(t,e){if(1===arguments.length){var n=""+t;return this._edges.has(n)}if(2===arguments.length){t=""+t,e=""+e;var r=this._nodes.get(t);return !!r&&(void 0!==r.out&&r.out.hasOwnProperty(e)||void 0!==r.undirected&&r.undirected.hasOwnProperty(e))}throw new B("Graph.hasEdge: invalid arity (".concat(arguments.length,", instead of 1 or 2). You can either ask for an edge id or for the existence of an edge between a source & a target."))},i.directedEdge=function(t,e){if("undirected"!==this.type){if(t=""+t,e=""+e,this.multi)throw new I("Graph.directedEdge: this method is irrelevant with multigraphs since there might be multiple edges between source & target. See #.directedEdges instead.");var n=this._nodes.get(t);if(!n)throw new F('Graph.directedEdge: could not find the "'.concat(t,'" source node in the graph.'));if(!this._nodes.has(e))throw new F('Graph.directedEdge: could not find the "'.concat(e,'" target node in the graph.'));var r=n.out&&n.out[e]||void 0;return r?r.key:void 0}},i.undirectedEdge=function(t,e){if("directed"!==this.type){if(t=""+t,e=""+e,this.multi)throw new I("Graph.undirectedEdge: this method is irrelevant with multigraphs since there might be multiple edges between source & target. See #.undirectedEdges instead.");var n=this._nodes.get(t);if(!n)throw new F('Graph.undirectedEdge: could not find the "'.concat(t,'" source node in the graph.'));if(!this._nodes.has(e))throw new F('Graph.undirectedEdge: could not find the "'.concat(e,'" target node in the graph.'));var r=n.undirected&&n.undirected[e]||void 0;return r?r.key:void 0}},i.edge=function(t,e){if(this.multi)throw new I("Graph.edge: this method is irrelevant with multigraphs since there might be multiple edges between source & target. See #.edges instead.");t=""+t,e=""+e;var n=this._nodes.get(t);if(!n)throw new F('Graph.edge: could not find the "'.concat(t,'" source node in the graph.'));if(!this._nodes.has(e))throw new F('Graph.edge: could not find the "'.concat(e,'" target node in the graph.'));var r=n.out&&n.out[e]||n.undirected&&n.undirected[e]||void 0;if(r)return r.key},i.areDirectedNeighbors=function(t,e){t=""+t,e=""+e;var n=this._nodes.get(t);if(!n)throw new F('Graph.areDirectedNeighbors: could not find the "'.concat(t,'" node in the graph.'));return "undirected"!==this.type&&(e in n.in||e in n.out)},i.areOutNeighbors=function(t,e){t=""+t,e=""+e;var n=this._nodes.get(t);if(!n)throw new F('Graph.areOutNeighbors: could not find the "'.concat(t,'" node in the graph.'));return "undirected"!==this.type&&e in n.out},i.areInNeighbors=function(t,e){t=""+t,e=""+e;var n=this._nodes.get(t);if(!n)throw new F('Graph.areInNeighbors: could not find the "'.concat(t,'" node in the graph.'));return "undirected"!==this.type&&e in n.in},i.areUndirectedNeighbors=function(t,e){t=""+t,e=""+e;var n=this._nodes.get(t);if(!n)throw new F('Graph.areUndirectedNeighbors: could not find the "'.concat(t,'" node in the graph.'));return "directed"!==this.type&&e in n.undirected},i.areNeighbors=function(t,e){t=""+t,e=""+e;var n=this._nodes.get(t);if(!n)throw new F('Graph.areNeighbors: could not find the "'.concat(t,'" node in the graph.'));return "undirected"!==this.type&&(e in n.in||e in n.out)||"directed"!==this.type&&e in n.undirected},i.areInboundNeighbors=function(t,e){t=""+t,e=""+e;var n=this._nodes.get(t);if(!n)throw new F('Graph.areInboundNeighbors: could not find the "'.concat(t,'" node in the graph.'));return "undirected"!==this.type&&e in n.in||"directed"!==this.type&&e in n.undirected},i.areOutboundNeighbors=function(t,e){t=""+t,e=""+e;var n=this._nodes.get(t);if(!n)throw new F('Graph.areOutboundNeighbors: could not find the "'.concat(t,'" node in the graph.'));return "undirected"!==this.type&&e in n.out||"directed"!==this.type&&e in n.undirected},i.inDegree=function(t){t=""+t;var e=this._nodes.get(t);if(!e)throw new F('Graph.inDegree: could not find the "'.concat(t,'" node in the graph.'));return "undirected"===this.type?0:e.inDegree},i.outDegree=function(t){t=""+t;var e=this._nodes.get(t);if(!e)throw new F('Graph.outDegree: could not find the "'.concat(t,'" node in the graph.'));return "undirected"===this.type?0:e.outDegree},i.directedDegree=function(t){t=""+t;var e=this._nodes.get(t);if(!e)throw new F('Graph.directedDegree: could not find the "'.concat(t,'" node in the graph.'));return "undirected"===this.type?0:e.inDegree+e.outDegree},i.undirectedDegree=function(t){t=""+t;var e=this._nodes.get(t);if(!e)throw new F('Graph.undirectedDegree: could not find the "'.concat(t,'" node in the graph.'));return "directed"===this.type?0:e.undirectedDegree},i.inboundDegree=function(t){t=""+t;var e=this._nodes.get(t);if(!e)throw new F('Graph.inboundDegree: could not find the "'.concat(t,'" node in the graph.'));var n=0;return "directed"!==this.type&&(n+=e.undirectedDegree),"undirected"!==this.type&&(n+=e.inDegree),n},i.outboundDegree=function(t){t=""+t;var e=this._nodes.get(t);if(!e)throw new F('Graph.outboundDegree: could not find the "'.concat(t,'" node in the graph.'));var n=0;return "directed"!==this.type&&(n+=e.undirectedDegree),"undirected"!==this.type&&(n+=e.outDegree),n},i.degree=function(t){t=""+t;var e=this._nodes.get(t);if(!e)throw new F('Graph.degree: could not find the "'.concat(t,'" node in the graph.'));var n=0;return "directed"!==this.type&&(n+=e.undirectedDegree),"undirected"!==this.type&&(n+=e.inDegree+e.outDegree),n},i.inDegreeWithoutSelfLoops=function(t){t=""+t;var e=this._nodes.get(t);if(!e)throw new F('Graph.inDegreeWithoutSelfLoops: could not find the "'.concat(t,'" node in the graph.'));return "undirected"===this.type?0:e.inDegree-e.directedLoops},i.outDegreeWithoutSelfLoops=function(t){t=""+t;var e=this._nodes.get(t);if(!e)throw new F('Graph.outDegreeWithoutSelfLoops: could not find the "'.concat(t,'" node in the graph.'));return "undirected"===this.type?0:e.outDegree-e.directedLoops},i.directedDegreeWithoutSelfLoops=function(t){t=""+t;var e=this._nodes.get(t);if(!e)throw new F('Graph.directedDegreeWithoutSelfLoops: could not find the "'.concat(t,'" node in the graph.'));return "undirected"===this.type?0:e.inDegree+e.outDegree-2*e.directedLoops},i.undirectedDegreeWithoutSelfLoops=function(t){t=""+t;var e=this._nodes.get(t);if(!e)throw new F('Graph.undirectedDegreeWithoutSelfLoops: could not find the "'.concat(t,'" node in the graph.'));return "directed"===this.type?0:e.undirectedDegree-2*e.undirectedLoops},i.inboundDegreeWithoutSelfLoops=function(t){t=""+t;var e=this._nodes.get(t);if(!e)throw new F('Graph.inboundDegreeWithoutSelfLoops: could not find the "'.concat(t,'" node in the graph.'));var n=0,r=0;return "directed"!==this.type&&(n+=e.undirectedDegree,r+=2*e.undirectedLoops),"undirected"!==this.type&&(n+=e.inDegree,r+=e.directedLoops),n-r},i.outboundDegreeWithoutSelfLoops=function(t){t=""+t;var e=this._nodes.get(t);if(!e)throw new F('Graph.outboundDegreeWithoutSelfLoops: could not find the "'.concat(t,'" node in the graph.'));var n=0,r=0;return "directed"!==this.type&&(n+=e.undirectedDegree,r+=2*e.undirectedLoops),"undirected"!==this.type&&(n+=e.outDegree,r+=e.directedLoops),n-r},i.degreeWithoutSelfLoops=function(t){t=""+t;var e=this._nodes.get(t);if(!e)throw new F('Graph.degreeWithoutSelfLoops: could not find the "'.concat(t,'" node in the graph.'));var n=0,r=0;return "directed"!==this.type&&(n+=e.undirectedDegree,r+=2*e.undirectedLoops),"undirected"!==this.type&&(n+=e.inDegree+e.outDegree,r+=2*e.directedLoops),n-r},i.source=function(t){t=""+t;var e=this._edges.get(t);if(!e)throw new F('Graph.source: could not find the "'.concat(t,'" edge in the graph.'));return e.source.key},i.target=function(t){t=""+t;var e=this._edges.get(t);if(!e)throw new F('Graph.target: could not find the "'.concat(t,'" edge in the graph.'));return e.target.key},i.extremities=function(t){t=""+t;var e=this._edges.get(t);if(!e)throw new F('Graph.extremities: could not find the "'.concat(t,'" edge in the graph.'));return [e.source.key,e.target.key]},i.opposite=function(t,e){t=""+t,e=""+e;var n=this._edges.get(e);if(!n)throw new F('Graph.opposite: could not find the "'.concat(e,'" edge in the graph.'));var r=n.source.key,i=n.target.key;if(t===r)return i;if(t===i)return r;throw new F('Graph.opposite: the "'.concat(t,'" node is not attached to the "').concat(e,'" edge (').concat(r,", ").concat(i,")."))},i.hasExtremity=function(t,e){t=""+t,e=""+e;var n=this._edges.get(t);if(!n)throw new F('Graph.hasExtremity: could not find the "'.concat(t,'" edge in the graph.'));return n.source.key===e||n.target.key===e},i.isUndirected=function(t){t=""+t;var e=this._edges.get(t);if(!e)throw new F('Graph.isUndirected: could not find the "'.concat(t,'" edge in the graph.'));return e.undirected},i.isDirected=function(t){t=""+t;var e=this._edges.get(t);if(!e)throw new F('Graph.isDirected: could not find the "'.concat(t,'" edge in the graph.'));return !e.undirected},i.isSelfLoop=function(t){t=""+t;var e=this._edges.get(t);if(!e)throw new F('Graph.isSelfLoop: could not find the "'.concat(t,'" edge in the graph.'));return e.source===e.target},i.addNode=function(t,e){var n=function(t,e,n){if(n&&!s(n))throw new B('Graph.addNode: invalid attributes. Expecting an object but got "'.concat(n,'"'));if(e=""+e,n=n||{},t._nodes.has(e))throw new I('Graph.addNode: the "'.concat(e,'" node already exist in the graph.'));var r=new t.NodeDataClass(e,n);return t._nodes.set(e,r),t.emit("nodeAdded",{key:e,attributes:n}),r}(this,t,e);return n.key},i.mergeNode=function(t,e){if(e&&!s(e))throw new B('Graph.mergeNode: invalid attributes. Expecting an object but got "'.concat(e,'"'));t=""+t,e=e||{};var n=this._nodes.get(t);return n?(e&&(u(n.attributes,e),this.emit("nodeAttributesUpdated",{type:"merge",key:t,attributes:n.attributes,data:e})),[t,!1]):(n=new this.NodeDataClass(t,e),this._nodes.set(t,n),this.emit("nodeAdded",{key:t,attributes:e}),[t,!0])},i.updateNode=function(t,e){if(e&&"function"!=typeof e)throw new B('Graph.updateNode: invalid updater function. Expecting a function but got "'.concat(e,'"'));t=""+t;var n=this._nodes.get(t);if(n){if(e){var r=n.attributes;n.attributes=e(r),this.emit("nodeAttributesUpdated",{type:"replace",key:t,attributes:n.attributes});}return [t,!1]}var i=e?e({}):{};return n=new this.NodeDataClass(t,i),this._nodes.set(t,n),this.emit("nodeAdded",{key:t,attributes:i}),[t,!0]},i.dropNode=function(t){t=""+t;var e,n=this._nodes.get(t);if(!n)throw new F('Graph.dropNode: could not find the "'.concat(t,'" node in the graph.'));if("undirected"!==this.type){for(var r in n.out){e=n.out[r];do{Mt(this,e),e=e.next;}while(e)}for(var i in n.in){e=n.in[i];do{Mt(this,e),e=e.next;}while(e)}}if("directed"!==this.type)for(var o in n.undirected){e=n.undirected[o];do{Mt(this,e),e=e.next;}while(e)}this._nodes.delete(t),this.emit("nodeDropped",{key:t,attributes:n.attributes});},i.dropEdge=function(t){var e;if(arguments.length>1){var n=""+arguments[0],r=""+arguments[1];if(!(e=d(this,n,r,this.type)))throw new F('Graph.dropEdge: could not find the "'.concat(n,'" -> "').concat(r,'" edge in the graph.'))}else if(t=""+t,!(e=this._edges.get(t)))throw new F('Graph.dropEdge: could not find the "'.concat(t,'" edge in the graph.'));return Mt(this,e),this},i.dropDirectedEdge=function(t,e){if(arguments.length<2)throw new I("Graph.dropDirectedEdge: it does not make sense to try and drop a directed edge by key. What if the edge with this key is undirected? Use #.dropEdge for this purpose instead.");if(this.multi)throw new I("Graph.dropDirectedEdge: cannot use a {source,target} combo when dropping an edge in a MultiGraph since we cannot infer the one you want to delete as there could be multiple ones.");var n=d(this,t=""+t,e=""+e,"directed");if(!n)throw new F('Graph.dropDirectedEdge: could not find a "'.concat(t,'" -> "').concat(e,'" edge in the graph.'));return Mt(this,n),this},i.dropUndirectedEdge=function(t,e){if(arguments.length<2)throw new I("Graph.dropUndirectedEdge: it does not make sense to drop a directed edge by key. What if the edge with this key is undirected? Use #.dropEdge for this purpose instead.");if(this.multi)throw new I("Graph.dropUndirectedEdge: cannot use a {source,target} combo when dropping an edge in a MultiGraph since we cannot infer the one you want to delete as there could be multiple ones.");var n=d(this,t,e,"undirected");if(!n)throw new F('Graph.dropUndirectedEdge: could not find a "'.concat(t,'" -> "').concat(e,'" edge in the graph.'));return Mt(this,n),this},i.clear=function(){this._edges.clear(),this._nodes.clear(),this._resetInstanceCounters(),this.emit("cleared");},i.clearEdges=function(){for(var t,e=this._nodes.values();!0!==(t=e.next()).done;)t.value.clear();this._edges.clear(),this._resetInstanceCounters(),this.emit("edgesCleared");},i.getAttribute=function(t){return this._attributes[t]},i.getAttributes=function(){return this._attributes},i.hasAttribute=function(t){return this._attributes.hasOwnProperty(t)},i.setAttribute=function(t,e){return this._attributes[t]=e,this.emit("attributesUpdated",{type:"set",attributes:this._attributes,name:t}),this},i.updateAttribute=function(t,e){if("function"!=typeof e)throw new B("Graph.updateAttribute: updater should be a function.");var n=this._attributes[t];return this._attributes[t]=e(n),this.emit("attributesUpdated",{type:"set",attributes:this._attributes,name:t}),this},i.removeAttribute=function(t){return delete this._attributes[t],this.emit("attributesUpdated",{type:"remove",attributes:this._attributes,name:t}),this},i.replaceAttributes=function(t){if(!s(t))throw new B("Graph.replaceAttributes: provided attributes are not a plain object.");return this._attributes=t,this.emit("attributesUpdated",{type:"replace",attributes:this._attributes}),this},i.mergeAttributes=function(t){if(!s(t))throw new B("Graph.mergeAttributes: provided attributes are not a plain object.");return u(this._attributes,t),this.emit("attributesUpdated",{type:"merge",attributes:this._attributes,data:t}),this},i.updateAttributes=function(t){if("function"!=typeof t)throw new B("Graph.updateAttributes: provided updater is not a function.");return this._attributes=t(this._attributes),this.emit("attributesUpdated",{type:"update",attributes:this._attributes}),this},i.updateEachNodeAttributes=function(t,e){if("function"!=typeof t)throw new B("Graph.updateEachNodeAttributes: expecting an updater function.");if(e&&!l(e))throw new B("Graph.updateEachNodeAttributes: invalid hints. Expecting an object having the following shape: {attributes?: [string]}");for(var n,r,i=this._nodes.values();!0!==(n=i.next()).done;)(r=n.value).attributes=t(r.key,r.attributes);this.emit("eachNodeAttributesUpdated",{hints:e||null});},i.updateEachEdgeAttributes=function(t,e){if("function"!=typeof t)throw new B("Graph.updateEachEdgeAttributes: expecting an updater function.");if(e&&!l(e))throw new B("Graph.updateEachEdgeAttributes: invalid hints. Expecting an object having the following shape: {attributes?: [string]}");for(var n,r,i,o,a=this._edges.values();!0!==(n=a.next()).done;)i=(r=n.value).source,o=r.target,r.attributes=t(r.key,r.attributes,i.key,o.key,i.attributes,o.attributes,r.undirected);this.emit("eachEdgeAttributesUpdated",{hints:e||null});},i.forEachAdjacencyEntry=function(t){if("function"!=typeof t)throw new B("Graph.forEachAdjacencyEntry: expecting a callback.");xt(!1,!1,!1,this,t);},i.forEachAdjacencyEntryWithOrphans=function(t){if("function"!=typeof t)throw new B("Graph.forEachAdjacencyEntryWithOrphans: expecting a callback.");xt(!1,!1,!0,this,t);},i.forEachAssymetricAdjacencyEntry=function(t){if("function"!=typeof t)throw new B("Graph.forEachAssymetricAdjacencyEntry: expecting a callback.");xt(!1,!0,!1,this,t);},i.forEachAssymetricAdjacencyEntryWithOrphans=function(t){if("function"!=typeof t)throw new B("Graph.forEachAssymetricAdjacencyEntryWithOrphans: expecting a callback.");xt(!1,!0,!0,this,t);},i.nodes=function(){return "function"==typeof Array.from?Array.from(this._nodes.keys()):K(this._nodes.keys(),this._nodes.size)},i.forEachNode=function(t){if("function"!=typeof t)throw new B("Graph.forEachNode: expecting a callback.");for(var e,n,r=this._nodes.values();!0!==(e=r.next()).done;)t((n=e.value).key,n.attributes);},i.findNode=function(t){if("function"!=typeof t)throw new B("Graph.findNode: expecting a callback.");for(var e,n,r=this._nodes.values();!0!==(e=r.next()).done;)if(t((n=e.value).key,n.attributes))return n.key},i.mapNodes=function(t){if("function"!=typeof t)throw new B("Graph.mapNode: expecting a callback.");for(var e,n,r=this._nodes.values(),i=new Array(this.order),o=0;!0!==(e=r.next()).done;)n=e.value,i[o++]=t(n.key,n.attributes);return i},i.someNode=function(t){if("function"!=typeof t)throw new B("Graph.someNode: expecting a callback.");for(var e,n,r=this._nodes.values();!0!==(e=r.next()).done;)if(t((n=e.value).key,n.attributes))return !0;return !1},i.everyNode=function(t){if("function"!=typeof t)throw new B("Graph.everyNode: expecting a callback.");for(var e,n,r=this._nodes.values();!0!==(e=r.next()).done;)if(!t((n=e.value).key,n.attributes))return !1;return !0},i.filterNodes=function(t){if("function"!=typeof t)throw new B("Graph.filterNodes: expecting a callback.");for(var e,n,r=this._nodes.values(),i=[];!0!==(e=r.next()).done;)t((n=e.value).key,n.attributes)&&i.push(n.key);return i},i.reduceNodes=function(t,e){if("function"!=typeof t)throw new B("Graph.reduceNodes: expecting a callback.");if(arguments.length<2)throw new B("Graph.reduceNodes: missing initial value. You must provide it because the callback takes more than one argument and we cannot infer the initial value from the first iteration, as you could with a simple array.");for(var n,r,i=e,o=this._nodes.values();!0!==(n=o.next()).done;)i=t(i,(r=n.value).key,r.attributes);return i},i.nodeEntries=function(){var t=this._nodes.values();return new O((function(){var e=t.next();if(e.done)return e;var n=e.value;return {value:{node:n.key,attributes:n.attributes},done:!1}}))},i.export=function(){var t=this,e=new Array(this._nodes.size),n=0;this._nodes.forEach((function(t,r){e[n++]=function(t,e){var n={key:t};return h(e.attributes)||(n.attributes=u({},e.attributes)),n}(r,t);}));var r=new Array(this._edges.size);return n=0,this._edges.forEach((function(e,i){r[n++]=function(t,e,n){var r={key:e,source:n.source.key,target:n.target.key};return h(n.attributes)||(r.attributes=u({},n.attributes)),"mixed"===t&&n.undirected&&(r.undirected=!0),r}(t.type,i,e);})),{options:{type:this.type,multi:this.multi,allowSelfLoops:this.allowSelfLoops},attributes:this.getAttributes(),nodes:e,edges:r}},i.import=function(t){var e,n,i,o,a,c=this,u=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t instanceof r)return t.forEachNode((function(t,e){u?c.mergeNode(t,e):c.addNode(t,e);})),t.forEachEdge((function(t,e,n,r,i,o,a){u?a?c.mergeUndirectedEdgeWithKey(t,n,r,e):c.mergeDirectedEdgeWithKey(t,n,r,e):a?c.addUndirectedEdgeWithKey(t,n,r,e):c.addDirectedEdgeWithKey(t,n,r,e);})),this;if(!s(t))throw new B("Graph.import: invalid argument. Expecting a serialized graph or, alternatively, a Graph instance.");if(t.attributes){if(!s(t.attributes))throw new B("Graph.import: invalid attributes. Expecting a plain object.");u?this.mergeAttributes(t.attributes):this.replaceAttributes(t.attributes);}if(t.nodes){if(i=t.nodes,!Array.isArray(i))throw new B("Graph.import: invalid nodes. Expecting an array.");for(e=0,n=i.length;e",c="",u=t.source.key,d=t.target.key;t.undirected&&u>d&&(o=u,u=d,d=o);var s="(".concat(u,")").concat(a,"(").concat(d,")");n.startsWith("geid_")?e.multi&&(void 0===i[s]?i[s]=0:i[s]++,c+="".concat(i[s],". ")):c+="[".concat(n,"]: "),r[c+=s]=t.attributes;}));var o={};for(var a in this)this.hasOwnProperty(a)&&!Ut.has(a)&&"function"!=typeof this[a]&&"symbol"!==t(a)&&(o[a]=this[a]);return o.attributes=this._attributes,o.nodes=n,o.edges=r,p(o,"constructor",this.constructor),o},r}(y.exports.EventEmitter);"undefined"!=typeof Symbol&&(zt.prototype[Symbol.for("nodejs.util.inspect.custom")]=zt.prototype.inspect),[{name:function(t){return "".concat(t,"Edge")},generateKey:!0},{name:function(t){return "".concat(t,"DirectedEdge")},generateKey:!0,type:"directed"},{name:function(t){return "".concat(t,"UndirectedEdge")},generateKey:!0,type:"undirected"},{name:function(t){return "".concat(t,"EdgeWithKey")}},{name:function(t){return "".concat(t,"DirectedEdgeWithKey")},type:"directed"},{name:function(t){return "".concat(t,"UndirectedEdgeWithKey")},type:"undirected"}].forEach((function(t){["add","merge","update"].forEach((function(e){var n=t.name(e),r="add"===e?jt:Ct;t.generateKey?zt.prototype[n]=function(i,o,a){return r(this,n,!0,"undirected"===(t.type||this.type),null,i,o,a,"update"===e)}:zt.prototype[n]=function(i,o,a,c){return r(this,n,!1,"undirected"===(t.type||this.type),i,o,a,c,"update"===e)};}));})),function(t){Q.forEach((function(e){var n=e.name,r=e.attacher;r(t,n("Node"),0),r(t,n("Source"),1),r(t,n("Target"),2),r(t,n("Opposite"),3);}));}(zt),function(t){X.forEach((function(e){var n=e.name,r=e.attacher;r(t,n("Edge"),"mixed"),r(t,n("DirectedEdge"),"directed"),r(t,n("UndirectedEdge"),"undirected");}));}(zt),function(t){et.forEach((function(e){!function(t,e){var n=e.name,r=e.type,i=e.direction;t.prototype[n]=function(t,e){if("mixed"!==r&&"mixed"!==this.type&&r!==this.type)return [];if(!arguments.length)return ut(this,r);if(1===arguments.length){t=""+t;var o=this._nodes.get(t);if(void 0===o)throw new F("Graph.".concat(n,': could not find the "').concat(t,'" node in the graph.'));return pt(this.multi,"mixed"===r?this.type:r,i,o)}if(2===arguments.length){t=""+t,e=""+e;var a=this._nodes.get(t);if(!a)throw new F("Graph.".concat(n,': could not find the "').concat(t,'" source node in the graph.'));if(!this._nodes.has(e))throw new F("Graph.".concat(n,': could not find the "').concat(e,'" target node in the graph.'));return gt(r,this.multi,i,a,e)}throw new B("Graph.".concat(n,": too many arguments (expecting 0, 1 or 2 and got ").concat(arguments.length,")."))};}(t,e),function(t,e){var n=e.name,r=e.type,i=e.direction,o="forEach"+n[0].toUpperCase()+n.slice(1,-1);t.prototype[o]=function(t,e,n){if("mixed"===r||"mixed"===this.type||r===this.type){if(1===arguments.length)return dt(!1,this,r,n=t);if(2===arguments.length){t=""+t,n=e;var a=this._nodes.get(t);if(void 0===a)throw new F("Graph.".concat(o,': could not find the "').concat(t,'" node in the graph.'));return ht(!1,this.multi,"mixed"===r?this.type:r,i,a,n)}if(3===arguments.length){t=""+t,e=""+e;var c=this._nodes.get(t);if(!c)throw new F("Graph.".concat(o,': could not find the "').concat(t,'" source node in the graph.'));if(!this._nodes.has(e))throw new F("Graph.".concat(o,': could not find the "').concat(e,'" target node in the graph.'));return lt(!1,r,this.multi,i,c,e,n)}throw new B("Graph.".concat(o,": too many arguments (expecting 1, 2 or 3 and got ").concat(arguments.length,")."))}};var a="map"+n[0].toUpperCase()+n.slice(1);t.prototype[a]=function(){var t,e=Array.prototype.slice.call(arguments),n=e.pop();if(0===e.length){var i=0;"directed"!==r&&(i+=this.undirectedSize),"undirected"!==r&&(i+=this.directedSize),t=new Array(i);var a=0;e.push((function(e,r,i,o,c,u,d){t[a++]=n(e,r,i,o,c,u,d);}));}else t=[],e.push((function(e,r,i,o,a,c,u){t.push(n(e,r,i,o,a,c,u));}));return this[o].apply(this,e),t};var c="filter"+n[0].toUpperCase()+n.slice(1);t.prototype[c]=function(){var t=Array.prototype.slice.call(arguments),e=t.pop(),n=[];return t.push((function(t,r,i,o,a,c,u){e(t,r,i,o,a,c,u)&&n.push(t);})),this[o].apply(this,t),n};var u="reduce"+n[0].toUpperCase()+n.slice(1);t.prototype[u]=function(){var t,e,n=Array.prototype.slice.call(arguments);if(n.length<2||n.length>4)throw new B("Graph.".concat(u,": invalid number of arguments (expecting 2, 3 or 4 and got ").concat(n.length,")."));if("function"==typeof n[n.length-1]&&"function"!=typeof n[n.length-2])throw new B("Graph.".concat(u,": missing initial value. You must provide it because the callback takes more than one argument and we cannot infer the initial value from the first iteration, as you could with a simple array."));2===n.length?(t=n[0],e=n[1],n=[]):3===n.length?(t=n[1],e=n[2],n=[n[0]]):4===n.length&&(t=n[2],e=n[3],n=[n[0],n[1]]);var r=e;return n.push((function(e,n,i,o,a,c,u){r=t(r,e,n,i,o,a,c,u);})),this[o].apply(this,n),r};}(t,e),function(t,e){var n=e.name,r=e.type,i=e.direction,o="find"+n[0].toUpperCase()+n.slice(1,-1);t.prototype[o]=function(t,e,n){if("mixed"!==r&&"mixed"!==this.type&&r!==this.type)return !1;if(1===arguments.length)return dt(!0,this,r,n=t);if(2===arguments.length){t=""+t,n=e;var a=this._nodes.get(t);if(void 0===a)throw new F("Graph.".concat(o,': could not find the "').concat(t,'" node in the graph.'));return ht(!0,this.multi,"mixed"===r?this.type:r,i,a,n)}if(3===arguments.length){t=""+t,e=""+e;var c=this._nodes.get(t);if(!c)throw new F("Graph.".concat(o,': could not find the "').concat(t,'" source node in the graph.'));if(!this._nodes.has(e))throw new F("Graph.".concat(o,': could not find the "').concat(e,'" target node in the graph.'));return lt(!0,r,this.multi,i,c,e,n)}throw new B("Graph.".concat(o,": too many arguments (expecting 1, 2 or 3 and got ").concat(arguments.length,")."))};var a="some"+n[0].toUpperCase()+n.slice(1,-1);t.prototype[a]=function(){var t=Array.prototype.slice.call(arguments),e=t.pop();return t.push((function(t,n,r,i,o,a,c){return e(t,n,r,i,o,a,c)})),!!this[o].apply(this,t)};var c="every"+n[0].toUpperCase()+n.slice(1,-1);t.prototype[c]=function(){var t=Array.prototype.slice.call(arguments),e=t.pop();return t.push((function(t,n,r,i,o,a,c){return !e(t,n,r,i,o,a,c)})),!this[o].apply(this,t)};}(t,e),function(t,e){var n=e.name,r=e.type,i=e.direction,o=n.slice(0,-1)+"Entries";t.prototype[o]=function(t,e){if("mixed"!==r&&"mixed"!==this.type&&r!==this.type)return O.empty();if(!arguments.length)return st(this,r);if(1===arguments.length){t=""+t;var n=this._nodes.get(t);if(!n)throw new F("Graph.".concat(o,': could not find the "').concat(t,'" node in the graph.'));return ft(r,i,n)}if(2===arguments.length){t=""+t,e=""+e;var a=this._nodes.get(t);if(!a)throw new F("Graph.".concat(o,': could not find the "').concat(t,'" source node in the graph.'));if(!this._nodes.has(e))throw new F("Graph.".concat(o,': could not find the "').concat(e,'" target node in the graph.'));return yt(r,i,a,e)}throw new B("Graph.".concat(o,": too many arguments (expecting 0, 1 or 2 and got ").concat(arguments.length,")."))};}(t,e);}));}(zt),function(t){wt.forEach((function(e){_t(t,e),function(t,e){var n=e.name,r=e.type,i=e.direction,o="forEach"+n[0].toUpperCase()+n.slice(1,-1);t.prototype[o]=function(t,e){if("mixed"===r||"mixed"===this.type||r===this.type){t=""+t;var n=this._nodes.get(t);if(void 0===n)throw new F("Graph.".concat(o,': could not find the "').concat(t,'" node in the graph.'));mt(!1,"mixed"===r?this.type:r,i,n,e);}};var a="map"+n[0].toUpperCase()+n.slice(1);t.prototype[a]=function(t,e){var n=[];return this[o](t,(function(t,r){n.push(e(t,r));})),n};var c="filter"+n[0].toUpperCase()+n.slice(1);t.prototype[c]=function(t,e){var n=[];return this[o](t,(function(t,r){e(t,r)&&n.push(t);})),n};var u="reduce"+n[0].toUpperCase()+n.slice(1);t.prototype[u]=function(t,e,n){if(arguments.length<3)throw new B("Graph.".concat(u,": missing initial value. You must provide it because the callback takes more than one argument and we cannot infer the initial value from the first iteration, as you could with a simple array."));var r=n;return this[o](t,(function(t,n){r=e(r,t,n);})),r};}(t,e),function(t,e){var n=e.name,r=e.type,i=e.direction,o=n[0].toUpperCase()+n.slice(1,-1),a="find"+o;t.prototype[a]=function(t,e){if("mixed"===r||"mixed"===this.type||r===this.type){t=""+t;var n=this._nodes.get(t);if(void 0===n)throw new F("Graph.".concat(a,': could not find the "').concat(t,'" node in the graph.'));return mt(!0,"mixed"===r?this.type:r,i,n,e)}};var c="some"+o;t.prototype[c]=function(t,e){return !!this[a](t,e)};var u="every"+o;t.prototype[u]=function(t,e){return !this[a](t,(function(t,n){return !e(t,n)}))};}(t,e),Gt(t,e);}));}(zt);var Wt=function(t){function n(e){var n=u({type:"directed"},e);if("multi"in n&&!1!==n.multi)throw new B("DirectedGraph.from: inconsistent indication that the graph should be multi in given options!");if("directed"!==n.type)throw new B('DirectedGraph.from: inconsistent "'+n.type+'" type in given options!');return t.call(this,n)||this}return e(n,t),n}(zt),Pt=function(t){function n(e){var n=u({type:"undirected"},e);if("multi"in n&&!1!==n.multi)throw new B("UndirectedGraph.from: inconsistent indication that the graph should be multi in given options!");if("undirected"!==n.type)throw new B('UndirectedGraph.from: inconsistent "'+n.type+'" type in given options!');return t.call(this,n)||this}return e(n,t),n}(zt),Rt=function(t){function n(e){var n=u({multi:!0},e);if("multi"in n&&!0!==n.multi)throw new B("MultiGraph.from: inconsistent indication that the graph should be simple in given options!");return t.call(this,n)||this}return e(n,t),n}(zt),Kt=function(t){function n(e){var n=u({type:"directed",multi:!0},e);if("multi"in n&&!0!==n.multi)throw new B("MultiDirectedGraph.from: inconsistent indication that the graph should be simple in given options!");if("directed"!==n.type)throw new B('MultiDirectedGraph.from: inconsistent "'+n.type+'" type in given options!');return t.call(this,n)||this}return e(n,t),n}(zt),Tt=function(t){function n(e){var n=u({type:"undirected",multi:!0},e);if("multi"in n&&!0!==n.multi)throw new B("MultiUndirectedGraph.from: inconsistent indication that the graph should be simple in given options!");if("undirected"!==n.type)throw new B('MultiUndirectedGraph.from: inconsistent "'+n.type+'" type in given options!');return t.call(this,n)||this}return e(n,t),n}(zt);function Bt(t){t.from=function(e,n){var r=u({},e.options,n),i=new t(r);return i.import(e),i};}return Bt(zt),Bt(Wt),Bt(Pt),Bt(Rt),Bt(Kt),Bt(Tt),zt.Graph=zt,zt.DirectedGraph=Wt,zt.UndirectedGraph=Pt,zt.MultiGraph=Rt,zt.MultiDirectedGraph=Kt,zt.MultiUndirectedGraph=Tt,zt.InvalidArgumentsGraphError=B,zt.NotFoundGraphError=F,zt.UsageGraphError=I,zt})); + + } (graphology_umd_min)); + + var graphology_umd_minExports = graphology_umd_min.exports; + var GraphData = /*@__PURE__*/getDefaultExportFromCjs(graphology_umd_minExports); class Graph extends EventEmitter { constructor(scene) { @@ -1271,11 +1250,7 @@ this.isShutdown = false; this.scene = scene; - this.vertices = {}; // {vertex: {edge:vertexUidB, ...} } - this.edges = {}; // {edge: {vA:vertex, vB:vertex, dir:1,2,3} } - this.vertexCount = 0; - this.edgeCount = 0; - + this.graph = new GraphData(); this.boot(); } @@ -1297,11 +1272,7 @@ this.clear(); super.shutdown(); - this.scene = undefined; - this.vertices = undefined; - this.edges = undefined; - this.vertexCount = 0; - this.edgeCount = 0; + this.scene = null; this.isShutdown = true; return this; } @@ -1315,15 +1286,41 @@ this.shutdown(fromScene); } + get nodeCount() { + return this.graph.order; + } + + get edgeCount() { + return this.graph.size; + } + exists(gameObject) { - return this.isEdge(gameObject) || this.isVertex(gameObject); + return this.isEdge(gameObject) || this.isNode(gameObject); } remove(gameObject) { - if (this.isEdge(gameObject)) { + if (this.isNode(gameObject)) { + this.removeNode(gameObject); + } else if (this.isEdge(gameObject)) { this.removeEdge(gameObject); - } else if (this.isVertex(gameObject)) { - this.removeVertex(gameObject); + } + return this; + } + + setAttribute(gameObject, key, value) { + if (this.isNode(gameObject)) { + this.setNodeAttribute(gameObject, key, value); + } else if (this.isEdge(gameObject)) { + this.setEdgeAttribute(gameObject, key, value); + } + return this; + } + + getAttribute(gameObject, key) { + if (this.isNode(gameObject)) { + this.getNodeAttribute(gameObject, key); + } else if (this.isEdge(gameObject)) { + this.getEdgeAttribute(gameObject, key); } return this; } @@ -1332,13 +1329,9 @@ if (destroy === undefined) { destroy = true; } - this.removeAllVertices(destroy); + this.removeAllNodes(destroy); return this; } - - getObjUID(gameObject) { - return GetObjUID(gameObject); - } } Object.assign( @@ -1421,6 +1414,7178 @@ SetValue(window, 'RexPlugins.Graph.Graph', Graph); + function commonjsRequire(path) { + throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.'); + } + + var elk_bundled = {exports: {}}; + + (function (module, exports) { + (function(f){{module.exports=f();}})(function(){return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof commonjsRequire&&commonjsRequire;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t);}return n[i].exports}for(var u="function"==typeof commonjsRequire&&commonjsRequire,i=0;i 0 && arguments[0] !== undefined ? arguments[0] : {}, + _ref$defaultLayoutOpt = _ref.defaultLayoutOptions, + defaultLayoutOptions = _ref$defaultLayoutOpt === undefined ? {} : _ref$defaultLayoutOpt, + _ref$algorithms = _ref.algorithms, + algorithms = _ref$algorithms === undefined ? ['layered', 'stress', 'mrtree', 'radial', 'force', 'disco', 'sporeOverlap', 'sporeCompaction', 'rectpacking'] : _ref$algorithms, + workerFactory = _ref.workerFactory, + workerUrl = _ref.workerUrl; + + _classCallCheck(this, ELK); + + this.defaultLayoutOptions = defaultLayoutOptions; + this.initialized = false; + + // check valid worker construction possible + if (typeof workerUrl === 'undefined' && typeof workerFactory === 'undefined') { + throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'."); + } + var factory = workerFactory; + if (typeof workerUrl !== 'undefined' && typeof workerFactory === 'undefined') { + // use default Web Worker + factory = function factory(url) { + return new Worker(url); + }; + } + + // create the worker + var worker = factory(workerUrl); + if (typeof worker.postMessage !== 'function') { + throw new TypeError("Created worker does not provide" + " the required 'postMessage' function."); + } + + // wrap the worker to return promises + this.worker = new PromisedWorker(worker); + + // initially register algorithms + this.worker.postMessage({ + cmd: 'register', + algorithms: algorithms + }).then(function (r) { + return _this.initialized = true; + }).catch(console.err); + } + + _createClass(ELK, [{ + key: 'layout', + value: function layout(graph) { + var _ref2 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, + _ref2$layoutOptions = _ref2.layoutOptions, + layoutOptions = _ref2$layoutOptions === undefined ? this.defaultLayoutOptions : _ref2$layoutOptions, + _ref2$logging = _ref2.logging, + logging = _ref2$logging === undefined ? false : _ref2$logging, + _ref2$measureExecutio = _ref2.measureExecutionTime, + measureExecutionTime = _ref2$measureExecutio === undefined ? false : _ref2$measureExecutio; + + if (!graph) { + return Promise.reject(new Error("Missing mandatory parameter 'graph'.")); + } + return this.worker.postMessage({ + cmd: 'layout', + graph: graph, + layoutOptions: layoutOptions, + options: { + logging: logging, + measureExecutionTime: measureExecutionTime + } + }); + } + }, { + key: 'knownLayoutAlgorithms', + value: function knownLayoutAlgorithms() { + return this.worker.postMessage({ cmd: 'algorithms' }); + } + }, { + key: 'knownLayoutOptions', + value: function knownLayoutOptions() { + return this.worker.postMessage({ cmd: 'options' }); + } + }, { + key: 'knownLayoutCategories', + value: function knownLayoutCategories() { + return this.worker.postMessage({ cmd: 'categories' }); + } + }, { + key: 'terminateWorker', + value: function terminateWorker() { + if (this.worker) this.worker.terminate(); + } + }]); + + return ELK; + }(); + + exports.default = ELK; + + var PromisedWorker = function () { + function PromisedWorker(worker) { + var _this2 = this; + + _classCallCheck(this, PromisedWorker); + + if (worker === undefined) { + throw new Error("Missing mandatory parameter 'worker'."); + } + this.resolvers = {}; + this.worker = worker; + this.worker.onmessage = function (answer) { + // why is this necessary? + setTimeout(function () { + _this2.receive(_this2, answer); + }, 0); + }; + } + + _createClass(PromisedWorker, [{ + key: 'postMessage', + value: function postMessage(msg) { + var id = this.id || 0; + this.id = id + 1; + msg.id = id; + var self = this; + return new Promise(function (resolve, reject) { + // prepare the resolver + self.resolvers[id] = function (err, res) { + if (err) { + self.convertGwtStyleError(err); + reject(err); + } else { + resolve(res); + } + }; + // post the message + self.worker.postMessage(msg); + }); + } + }, { + key: 'receive', + value: function receive(self, answer) { + var json = answer.data; + var resolver = self.resolvers[json.id]; + if (resolver) { + delete self.resolvers[json.id]; + if (json.error) { + resolver(json.error); + } else { + resolver(null, json.data); + } + } + } + }, { + key: 'terminate', + value: function terminate() { + if (this.worker) { + this.worker.terminate(); + } + } + }, { + key: 'convertGwtStyleError', + value: function convertGwtStyleError(err) { + if (!err) { + return; + } + // Somewhat flatten the way GWT stores nested exception(s) + var javaException = err['__java$exception']; + if (javaException) { + // Note that the property name of the nested exception is different + // in the non-minified ('cause') and the minified (not deterministic) version. + // Hence, the version below only works for the non-minified version. + // However, as the minified stack trace is not of much use anyway, one + // should switch the used version for debugging in such a case. + if (javaException.cause && javaException.cause.backingJsObject) { + err.cause = javaException.cause.backingJsObject; + this.convertGwtStyleError(err.cause); + } + delete err['__java$exception']; + } + } + }]); + + return PromisedWorker; + }(); + },{}],2:[function(require,module,exports){ + (function (global){(function (){ + + // -------------- FAKE ELEMENTS GWT ASSUMES EXIST -------------- + var $wnd; + if (typeof window !== 'undefined') + $wnd = window; + else if (typeof global !== 'undefined') + $wnd = global; // nodejs + else if (typeof self !== 'undefined') + $wnd = self; // web worker + + // -------------- WORKAROUND STRICT MODE, SEE #127 -------------- + var o; + + // -------------- GENERATED CODE -------------- + function nb(){} + function xb(){} + function Fd(){} + function hh(){} + function lq(){} + function Nq(){} + function ir(){} + function Ws(){} + function Zw(){} + function jx(){} + function rx(){} + function sx(){} + function My(){} + function bA(){} + function mA(){} + function tA(){} + function aB(){} + function dB(){} + function jB(){} + function dC(){} + function keb(){} + function geb(){} + function oeb(){} + function iob(){} + function Job(){} + function Rob(){} + function apb(){} + function ipb(){} + function nrb(){} + function wrb(){} + function Brb(){} + function Prb(){} + function ltb(){} + function svb(){} + function xvb(){} + function zvb(){} + function $xb(){} + function Gzb(){} + function NAb(){} + function VAb(){} + function rBb(){} + function RBb(){} + function TBb(){} + function XBb(){} + function ZBb(){} + function _Bb(){} + function bCb(){} + function dCb(){} + function fCb(){} + function jCb(){} + function rCb(){} + function uCb(){} + function wCb(){} + function yCb(){} + function ACb(){} + function ECb(){} + function FEb(){} + function IEb(){} + function KEb(){} + function MEb(){} + function gFb(){} + function FFb(){} + function JFb(){} + function xGb(){} + function AGb(){} + function YGb(){} + function oHb(){} + function tHb(){} + function xHb(){} + function pIb(){} + function BJb(){} + function kLb(){} + function mLb(){} + function oLb(){} + function qLb(){} + function FLb(){} + function JLb(){} + function KMb(){} + function MMb(){} + function OMb(){} + function YMb(){} + function MNb(){} + function ONb(){} + function aOb(){} + function eOb(){} + function xOb(){} + function BOb(){} + function DOb(){} + function FOb(){} + function IOb(){} + function MOb(){} + function POb(){} + function UOb(){} + function ZOb(){} + function cPb(){} + function gPb(){} + function nPb(){} + function qPb(){} + function tPb(){} + function wPb(){} + function CPb(){} + function qQb(){} + function GQb(){} + function bRb(){} + function gRb(){} + function kRb(){} + function pRb(){} + function wRb(){} + function xSb(){} + function TSb(){} + function VSb(){} + function XSb(){} + function ZSb(){} + function _Sb(){} + function tTb(){} + function DTb(){} + function FTb(){} + function FXb(){} + function hXb(){} + function hWb(){} + function mWb(){} + function CVb(){} + function XXb(){} + function $Xb(){} + function bYb(){} + function lYb(){} + function FYb(){} + function XYb(){} + function aZb(){} + function SZb(){} + function ZZb(){} + function Z_b(){} + function j_b(){} + function j$b(){} + function b$b(){} + function f$b(){} + function n$b(){} + function K_b(){} + function V_b(){} + function b0b(){} + function l0b(){} + function X1b(){} + function _1b(){} + function x3b(){} + function r4b(){} + function w4b(){} + function A4b(){} + function E4b(){} + function I4b(){} + function M4b(){} + function o5b(){} + function q5b(){} + function w5b(){} + function A5b(){} + function E5b(){} + function h6b(){} + function j6b(){} + function l6b(){} + function q6b(){} + function v6b(){} + function y6b(){} + function G6b(){} + function K6b(){} + function N6b(){} + function P6b(){} + function R6b(){} + function b7b(){} + function f7b(){} + function j7b(){} + function n7b(){} + function C7b(){} + function H7b(){} + function J7b(){} + function L7b(){} + function N7b(){} + function P7b(){} + function a8b(){} + function c8b(){} + function e8b(){} + function g8b(){} + function i8b(){} + function m8b(){} + function Z8b(){} + function f9b(){} + function i9b(){} + function o9b(){} + function C9b(){} + function F9b(){} + function K9b(){} + function Q9b(){} + function aac(){} + function bac(){} + function eac(){} + function mac(){} + function pac(){} + function rac(){} + function tac(){} + function xac(){} + function Aac(){} + function Dac(){} + function Iac(){} + function Oac(){} + function Uac(){} + function Ucc(){} + function scc(){} + function ycc(){} + function Acc(){} + function Ccc(){} + function Ncc(){} + function Wcc(){} + function ydc(){} + function Adc(){} + function Gdc(){} + function Ldc(){} + function Zdc(){} + function fec(){} + function Dec(){} + function Gec(){} + function Kec(){} + function efc(){} + function jfc(){} + function nfc(){} + function Bfc(){} + function Ifc(){} + function Lfc(){} + function Rfc(){} + function Ufc(){} + function Zfc(){} + function cgc(){} + function egc(){} + function ggc(){} + function igc(){} + function kgc(){} + function Dgc(){} + function Hgc(){} + function Lgc(){} + function Ngc(){} + function Pgc(){} + function Vgc(){} + function Ygc(){} + function chc(){} + function ehc(){} + function ghc(){} + function ihc(){} + function mhc(){} + function rhc(){} + function uhc(){} + function whc(){} + function yhc(){} + function Ahc(){} + function Chc(){} + function Ghc(){} + function Nhc(){} + function Phc(){} + function Rhc(){} + function Thc(){} + function $hc(){} + function aic(){} + function cic(){} + function eic(){} + function jic(){} + function nic(){} + function pic(){} + function ric(){} + function vic(){} + function yic(){} + function Dic(){} + function Ric(){} + function Zic(){} + function bjc(){} + function djc(){} + function jjc(){} + function njc(){} + function rjc(){} + function tjc(){} + function zjc(){} + function Djc(){} + function Fjc(){} + function Ljc(){} + function Pjc(){} + function Rjc(){} + function fkc(){} + function Kkc(){} + function Mkc(){} + function Okc(){} + function Qkc(){} + function Skc(){} + function Ukc(){} + function Wkc(){} + function clc(){} + function elc(){} + function klc(){} + function mlc(){} + function olc(){} + function qlc(){} + function wlc(){} + function ylc(){} + function Alc(){} + function Jlc(){} + function Joc(){} + function poc(){} + function roc(){} + function toc(){} + function voc(){} + function Boc(){} + function Foc(){} + function Hoc(){} + function Loc(){} + function Noc(){} + function Poc(){} + function qnc(){} + function unc(){} + function upc(){} + function kpc(){} + function mpc(){} + function opc(){} + function qpc(){} + function ypc(){} + function Cpc(){} + function Mpc(){} + function Qpc(){} + function dqc(){} + function jqc(){} + function Aqc(){} + function Eqc(){} + function Gqc(){} + function Sqc(){} + function arc(){} + function lrc(){} + function zrc(){} + function Hrc(){} + function bsc(){} + function dsc(){} + function fsc(){} + function ksc(){} + function msc(){} + function Asc(){} + function Csc(){} + function Esc(){} + function Ksc(){} + function Nsc(){} + function Ssc(){} + function CCc(){} + function tGc(){} + function aHc(){} + function gHc(){} + function nIc(){} + function PJc(){} + function XKc(){} + function fLc(){} + function hLc(){} + function lLc(){} + function eNc(){} + function IOc(){} + function MOc(){} + function WOc(){} + function YOc(){} + function $Oc(){} + function cPc(){} + function iPc(){} + function mPc(){} + function oPc(){} + function qPc(){} + function sPc(){} + function wPc(){} + function APc(){} + function FPc(){} + function HPc(){} + function NPc(){} + function PPc(){} + function TPc(){} + function VPc(){} + function ZPc(){} + function _Pc(){} + function bQc(){} + function dQc(){} + function SQc(){} + function hRc(){} + function HRc(){} + function HSc(){} + function pSc(){} + function xSc(){} + function zSc(){} + function BSc(){} + function DSc(){} + function FSc(){} + function CTc(){} + function ITc(){} + function KTc(){} + function MTc(){} + function XTc(){} + function ZTc(){} + function jVc(){} + function lVc(){} + function zVc(){} + function IVc(){} + function KVc(){} + function KWc(){} + function uWc(){} + function xWc(){} + function AWc(){} + function QWc(){} + function UWc(){} + function qXc(){} + function KXc(){} + function OXc(){} + function SXc(){} + function $Xc(){} + function mYc(){} + function rYc(){} + function zYc(){} + function DYc(){} + function FYc(){} + function HYc(){} + function JYc(){} + function cZc(){} + function gZc(){} + function iZc(){} + function pZc(){} + function tZc(){} + function vZc(){} + function AZc(){} + function GZc(){} + function l_c(){} + function l1c(){} + function b1c(){} + function d1c(){} + function h1c(){} + function n1c(){} + function r1c(){} + function v1c(){} + function x1c(){} + function D1c(){} + function H1c(){} + function L1c(){} + function R1c(){} + function V1c(){} + function Z1c(){} + function Z0c(){} + function a0c(){} + function c0c(){} + function e0c(){} + function k0c(){} + function o0c(){} + function b2c(){} + function l2c(){} + function p2c(){} + function Y2c(){} + function _2c(){} + function A3c(){} + function F3c(){} + function I3c(){} + function K3c(){} + function M3c(){} + function Q3c(){} + function U3c(){} + function c5c(){} + function D5c(){} + function G5c(){} + function J5c(){} + function N5c(){} + function V5c(){} + function p6c(){} + function s6c(){} + function H6c(){} + function K6c(){} + function _7c(){} + function h8c(){} + function j8c(){} + function o8c(){} + function r8c(){} + function u8c(){} + function R8c(){} + function X8c(){} + function o9c(){} + function s9c(){} + function x9c(){} + function Qad(){} + function rcd(){} + function Xcd(){} + function vdd(){} + function Tdd(){} + function _dd(){} + function qed(){} + function sed(){} + function ved(){} + function Hed(){} + function Zed(){} + function bfd(){} + function ifd(){} + function Gfd(){} + function Ifd(){} + function Igd(){} + function agd(){} + function dgd(){} + function pgd(){} + function Hgd(){} + function Kgd(){} + function Mgd(){} + function Ogd(){} + function Qgd(){} + function Sgd(){} + function Ugd(){} + function Wgd(){} + function Ygd(){} + function $gd(){} + function ahd(){} + function chd(){} + function ehd(){} + function ghd(){} + function ihd(){} + function khd(){} + function mhd(){} + function ohd(){} + function qhd(){} + function shd(){} + function Shd(){} + function lkd(){} + function znd(){} + function Jpd(){} + function jrd(){} + function Mrd(){} + function Qrd(){} + function Urd(){} + function Yrd(){} + function Yud(){} + function eud(){} + function asd(){} + function Lsd(){} + function btd(){} + function dtd(){} + function jtd(){} + function otd(){} + function ztd(){} + function Xxd(){} + function $yd(){} + function rzd(){} + function Rzd(){} + function KAd(){} + function hCd(){} + function _Cd(){} + function _Sd(){} + function OSd(){} + function BDd(){} + function BId(){} + function JId(){} + function YHd(){} + function fLd(){} + function cPd(){} + function hQd(){} + function AQd(){} + function kUd(){} + function VUd(){} + function pVd(){} + function W$d(){} + function Z$d(){} + function a_d(){} + function i_d(){} + function v_d(){} + function y_d(){} + function f1d(){} + function L5d(){} + function v6d(){} + function b8d(){} + function e8d(){} + function h8d(){} + function k8d(){} + function n8d(){} + function q8d(){} + function t8d(){} + function w8d(){} + function z8d(){} + function X9d(){} + function _9d(){} + function Mae(){} + function cbe(){} + function ebe(){} + function hbe(){} + function kbe(){} + function nbe(){} + function qbe(){} + function tbe(){} + function wbe(){} + function zbe(){} + function Cbe(){} + function Fbe(){} + function Ibe(){} + function Lbe(){} + function Obe(){} + function Rbe(){} + function Ube(){} + function Xbe(){} + function $be(){} + function bce(){} + function ece(){} + function hce(){} + function kce(){} + function nce(){} + function qce(){} + function tce(){} + function wce(){} + function zce(){} + function Cce(){} + function Fce(){} + function Ice(){} + function Lce(){} + function Oce(){} + function Rce(){} + function Uce(){} + function Xce(){} + function $ce(){} + function bde(){} + function ede(){} + function hde(){} + function kde(){} + function nde(){} + function qde(){} + function tde(){} + function wde(){} + function Hie(){} + function rke(){} + function rne(){} + function Ene(){} + function Gne(){} + function Jne(){} + function Mne(){} + function Pne(){} + function Sne(){} + function Vne(){} + function Yne(){} + function _ne(){} + function yme(){} + function coe(){} + function foe(){} + function ioe(){} + function loe(){} + function ooe(){} + function roe(){} + function uoe(){} + function xoe(){} + function Aoe(){} + function Doe(){} + function Goe(){} + function Joe(){} + function Moe(){} + function Poe(){} + function Soe(){} + function Voe(){} + function Yoe(){} + function _oe(){} + function cpe(){} + function fpe(){} + function ipe(){} + function lpe(){} + function ope(){} + function rpe(){} + function upe(){} + function xpe(){} + function Ape(){} + function Dpe(){} + function Gpe(){} + function Jpe(){} + function Mpe(){} + function Ppe(){} + function Spe(){} + function Vpe(){} + function Ype(){} + function _pe(){} + function cqe(){} + function fqe(){} + function iqe(){} + function lqe(){} + function oqe(){} + function rqe(){} + function uqe(){} + function Tqe(){} + function sue(){} + function Cue(){} + function zl(){wb();} + function z7b(){s7b();} + function ZHb(){YHb();} + function fSb(){eSb();} + function vSb(){tSb();} + function PUb(){OUb();} + function AVb(){yVb();} + function RVb(){QVb();} + function fWb(){dWb();} + function N5b(){H5b();} + function $9b(){U9b();} + function Lcc(){Hcc();} + function pdc(){Zcc();} + function pec(){iec();} + function pGc(){nGc();} + function jGc(){gGc();} + function YGc(){SGc();} + function cGc(){_Fc();} + function NFc(){KFc();} + function xgc(){sgc();} + function xHc(){tHc();} + function pHc(){lHc();} + function IHc(){CHc();} + function XHc(){RHc();} + function boc(){Mnc();} + function yqc(){mqc();} + function Pzc(){Ozc();} + function ACc(){yCc();} + function aKc(){YJc();} + function FLc(){DLc();} + function DNc(){ANc();} + function TNc(){JNc();} + function iQc(){gQc();} + function WRc(){TRc();} + function C$c(){B$c();} + function J0c(){B0c();} + function x0c(){r0c();} + function j_c(){h_c();} + function N_c(){H_c();} + function V_c(){R_c();} + function E4c(){D4c();} + function a5c(){$4c();} + function v7c(){u7c();} + function Z7c(){X7c();} + function pcd(){ncd();} + function Lcd(){Kcd();} + function Vcd(){Tcd();} + function fUd(){TTd();} + function Bfd(){Afd();} + function jkd(){hkd();} + function vmd(){umd();} + function xnd(){vnd();} + function Hpd(){Fpd();} + function HYd(){lYd();} + function yAd(){qAd();} + function gke(){rue();} + function Yxb(a){uFb(a);} + function Yb(a){this.a=a;} + function cc(a){this.a=a;} + function df(a){this.a=a;} + function kf(a){this.a=a;} + function kj(a){this.a=a;} + function qj(a){this.a=a;} + function Lj(a){this.a=a;} + function jh(a){this.a=a;} + function th(a){this.a=a;} + function Bh(a){this.a=a;} + function Xh(a){this.a=a;} + function Xn(a){this.a=a;} + function Di(a){this.a=a;} + function Ki(a){this.a=a;} + function Ik(a){this.a=a;} + function Qk(a){this.a=a;} + function mp(a){this.a=a;} + function Lp(a){this.a=a;} + function iq(a){this.a=a;} + function Eq(a){this.a=a;} + function Vq(a){this.a=a;} + function Or(a){this.a=a;} + function $r(a){this.b=a;} + function Aj(a){this.c=a;} + function vu(a){this.a=a;} + function vw(a){this.a=a;} + function gw(a){this.a=a;} + function lw(a){this.a=a;} + function Iw(a){this.a=a;} + function Nw(a){this.a=a;} + function Sw(a){this.a=a;} + function ex(a){this.a=a;} + function fx(a){this.a=a;} + function lx(a){this.a=a;} + function my(a){this.a=a;} + function qy(a){this.a=a;} + function Oy(a){this.a=a;} + function NB(a){this.a=a;} + function XB(a){this.a=a;} + function hC(a){this.a=a;} + function vC(a){this.a=a;} + function MB(){this.a=[];} + function HEb(a,b){a.a=b;} + function E2b(a,b){a.a=b;} + function F2b(a,b){a.b=b;} + function PRb(a,b){a.b=b;} + function RRb(a,b){a.b=b;} + function QJb(a,b){a.j=b;} + function hQb(a,b){a.g=b;} + function iQb(a,b){a.i=b;} + function _Tb(a,b){a.c=b;} + function G2b(a,b){a.c=b;} + function H2b(a,b){a.d=b;} + function aUb(a,b){a.d=b;} + function h3b(a,b){a.k=b;} + function O3b(a,b){a.c=b;} + function Tmc(a,b){a.c=b;} + function Smc(a,b){a.a=b;} + function DJc(a,b){a.a=b;} + function EJc(a,b){a.f=b;} + function NSc(a,b){a.a=b;} + function OSc(a,b){a.b=b;} + function PSc(a,b){a.d=b;} + function QSc(a,b){a.i=b;} + function RSc(a,b){a.o=b;} + function SSc(a,b){a.r=b;} + function yUc(a,b){a.a=b;} + function zUc(a,b){a.b=b;} + function q3c(a,b){a.e=b;} + function r3c(a,b){a.f=b;} + function s3c(a,b){a.g=b;} + function Y9c(a,b){a.e=b;} + function Z9c(a,b){a.f=b;} + function kad(a,b){a.f=b;} + function Ntd(a,b){a.a=b;} + function Otd(a,b){a.b=b;} + function BWd(a,b){a.n=b;} + function $ee(a,b){a.a=b;} + function _ee(a,b){a.c=b;} + function ife(a,b){a.c=b;} + function Efe(a,b){a.c=b;} + function hfe(a,b){a.a=b;} + function Dfe(a,b){a.a=b;} + function jfe(a,b){a.d=b;} + function Ffe(a,b){a.d=b;} + function kfe(a,b){a.e=b;} + function Gfe(a,b){a.e=b;} + function lfe(a,b){a.g=b;} + function Hfe(a,b){a.f=b;} + function Ife(a,b){a.j=b;} + function wme(a,b){a.a=b;} + function Fme(a,b){a.a=b;} + function xme(a,b){a.b=b;} + function gmc(a){a.b=a.a;} + function Lg(a){a.c=a.d.d;} + function fgb(a){this.a=a;} + function zgb(a){this.a=a;} + function Xgb(a){this.a=a;} + function Xkb(a){this.a=a;} + function mkb(a){this.a=a;} + function reb(a){this.a=a;} + function Seb(a){this.a=a;} + function bfb(a){this.a=a;} + function Tfb(a){this.a=a;} + function blb(a){this.a=a;} + function glb(a){this.a=a;} + function llb(a){this.a=a;} + function Ulb(a){this.a=a;} + function _lb(a){this.a=a;} + function Plb(a){this.b=a;} + function Ppb(a){this.b=a;} + function xpb(a){this.b=a;} + function mpb(a){this.a=a;} + function Yqb(a){this.a=a;} + function uqb(a){this.c=a;} + function Anb(a){this.c=a;} + function zwb(a){this.c=a;} + function Dkb(a){this.d=a;} + function brb(a){this.a=a;} + function Frb(a){this.a=a;} + function hsb(a){this.a=a;} + function ctb(a){this.a=a;} + function cxb(a){this.a=a;} + function axb(a){this.a=a;} + function exb(a){this.a=a;} + function gxb(a){this.a=a;} + function wub(a){this.a=a;} + function zAb(a){this.a=a;} + function JAb(a){this.a=a;} + function LAb(a){this.a=a;} + function PAb(a){this.a=a;} + function VBb(a){this.a=a;} + function lCb(a){this.a=a;} + function nCb(a){this.a=a;} + function pCb(a){this.a=a;} + function CCb(a){this.a=a;} + function GCb(a){this.a=a;} + function bDb(a){this.a=a;} + function dDb(a){this.a=a;} + function fDb(a){this.a=a;} + function uDb(a){this.a=a;} + function $Db(a){this.a=a;} + function aEb(a){this.a=a;} + function eEb(a){this.a=a;} + function OEb(a){this.a=a;} + function SEb(a){this.a=a;} + function SFb(a){this.a=a;} + function HFb(a){this.a=a;} + function NFb(a){this.a=a;} + function WGb(a){this.a=a;} + function HJb(a){this.a=a;} + function PJb(a){this.a=a;} + function kNb(a){this.a=a;} + function tOb(a){this.a=a;} + function APb(a){this.a=a;} + function IQb(a){this.a=a;} + function bTb(a){this.a=a;} + function dTb(a){this.a=a;} + function wTb(a){this.a=a;} + function GWb(a){this.a=a;} + function UWb(a){this.a=a;} + function WWb(a){this.a=a;} + function fXb(a){this.a=a;} + function jXb(a){this.a=a;} + function M0b(a){this.a=a;} + function r1b(a){this.a=a;} + function D1b(a){this.e=a;} + function T3b(a){this.a=a;} + function W3b(a){this.a=a;} + function _3b(a){this.a=a;} + function c4b(a){this.a=a;} + function s5b(a){this.a=a;} + function u5b(a){this.a=a;} + function y5b(a){this.a=a;} + function C5b(a){this.a=a;} + function Q5b(a){this.a=a;} + function S5b(a){this.a=a;} + function U5b(a){this.a=a;} + function W5b(a){this.a=a;} + function l7b(a){this.a=a;} + function p7b(a){this.a=a;} + function k8b(a){this.a=a;} + function L8b(a){this.a=a;} + function Rac(a){this.a=a;} + function Xac(a){this.a=a;} + function $ac(a){this.a=a;} + function bbc(a){this.a=a;} + function Cdc(a){this.a=a;} + function Edc(a){this.a=a;} + function Ehc(a){this.a=a;} + function khc(a){this.a=a;} + function Ihc(a){this.a=a;} + function qfc(a){this.a=a;} + function tfc(a){this.a=a;} + function Wfc(a){this.a=a;} + function Fic(a){this.a=a;} + function Vic(a){this.a=a;} + function fjc(a){this.a=a;} + function pjc(a){this.a=a;} + function ckc(a){this.a=a;} + function hkc(a){this.a=a;} + function Ykc(a){this.a=a;} + function $kc(a){this.a=a;} + function alc(a){this.a=a;} + function glc(a){this.a=a;} + function ilc(a){this.a=a;} + function slc(a){this.a=a;} + function Clc(a){this.a=a;} + function xoc(a){this.a=a;} + function zoc(a){this.a=a;} + function spc(a){this.a=a;} + function Vqc(a){this.a=a;} + function Xqc(a){this.a=a;} + function Gsc(a){this.a=a;} + function Isc(a){this.a=a;} + function JGc(a){this.a=a;} + function NGc(a){this.a=a;} + function MHc(a){this.a=a;} + function JIc(a){this.a=a;} + function fJc(a){this.a=a;} + function BJc(a){this.a=a;} + function dJc(a){this.c=a;} + function Trc(a){this.b=a;} + function eKc(a){this.a=a;} + function IKc(a){this.a=a;} + function KKc(a){this.a=a;} + function MKc(a){this.a=a;} + function yLc(a){this.a=a;} + function HMc(a){this.a=a;} + function LMc(a){this.a=a;} + function PMc(a){this.a=a;} + function TMc(a){this.a=a;} + function XMc(a){this.a=a;} + function ZMc(a){this.a=a;} + function aNc(a){this.a=a;} + function jNc(a){this.a=a;} + function aPc(a){this.a=a;} + function gPc(a){this.a=a;} + function kPc(a){this.a=a;} + function yPc(a){this.a=a;} + function CPc(a){this.a=a;} + function JPc(a){this.a=a;} + function RPc(a){this.a=a;} + function XPc(a){this.a=a;} + function mRc(a){this.a=a;} + function xTc(a){this.a=a;} + function CWc(a){this.a=a;} + function EWc(a){this.a=a;} + function IWc(a){this.a=a;} + function OWc(a){this.a=a;} + function dXc(a){this.a=a;} + function gXc(a){this.a=a;} + function EXc(a){this.a=a;} + function WXc(a){this.a=a;} + function YXc(a){this.a=a;} + function aYc(a){this.a=a;} + function cYc(a){this.a=a;} + function eYc(a){this.a=a;} + function iYc(a){this.a=a;} + function i0c(a){this.a=a;} + function g0c(a){this.a=a;} + function P1c(a){this.a=a;} + function Sad(a){this.a=a;} + function Uad(a){this.a=a;} + function Wad(a){this.a=a;} + function Yad(a){this.a=a;} + function cbd(a){this.a=a;} + function ydd(a){this.a=a;} + function Kdd(a){this.a=a;} + function Mdd(a){this.a=a;} + function _ed(a){this.a=a;} + function dfd(a){this.a=a;} + function Kfd(a){this.a=a;} + function prd(a){this.a=a;} + function $rd(a){this.a=a;} + function csd(a){this.a=a;} + function Usd(a){this.a=a;} + function Vtd(a){this.a=a;} + function wud(a){this.a=a;} + function Rud(a){this.f=a;} + function LEd(a){this.a=a;} + function UEd(a){this.a=a;} + function VEd(a){this.a=a;} + function WEd(a){this.a=a;} + function XEd(a){this.a=a;} + function YEd(a){this.a=a;} + function ZEd(a){this.a=a;} + function $Ed(a){this.a=a;} + function _Ed(a){this.a=a;} + function aFd(a){this.a=a;} + function gFd(a){this.a=a;} + function iFd(a){this.a=a;} + function jFd(a){this.a=a;} + function kFd(a){this.a=a;} + function lFd(a){this.a=a;} + function nFd(a){this.a=a;} + function qFd(a){this.a=a;} + function wFd(a){this.a=a;} + function xFd(a){this.a=a;} + function zFd(a){this.a=a;} + function AFd(a){this.a=a;} + function BFd(a){this.a=a;} + function CFd(a){this.a=a;} + function DFd(a){this.a=a;} + function MFd(a){this.a=a;} + function OFd(a){this.a=a;} + function QFd(a){this.a=a;} + function SFd(a){this.a=a;} + function uGd(a){this.a=a;} + function QGd(a){this.a=a;} + function jGd(a){this.b=a;} + function YOd(a){this.a=a;} + function ePd(a){this.a=a;} + function kPd(a){this.a=a;} + function qPd(a){this.a=a;} + function IPd(a){this.a=a;} + function w$d(a){this.a=a;} + function e_d(a){this.a=a;} + function Q_d(a){this.b=a;} + function c1d(a){this.a=a;} + function c2d(a){this.a=a;} + function l5d(a){this.a=a;} + function I9d(a){this.a=a;} + function L6d(a){this.c=a;} + function t7d(a){this.e=a;} + function pae(a){this.a=a;} + function xae(a){this.a=a;} + function Zde(a){this.a=a;} + function Sde(a){this.d=a;} + function mee(a){this.a=a;} + function uje(a){this.a=a;} + function Bte(a){this.a=a;} + function Wse(a){this.e=a;} + function Xsd(){this.a=0;} + function Tsb(){akb(this);} + function bnb(){Pmb(this);} + function cHb(){bHb(this);} + function I2b(){} + function s2d(){this.c=d2d;} + function Prc(a,b){a.b+=b;} + function Uje(a,b){b.Wb(a);} + function UC(a){return a.a} + function nC(a){return a.a} + function BC(a){return a.a} + function TB(a){return a.a} + function _B(a){return a.a} + function Adb(a){return a.e} + function gC(){return null} + function MC(){return null} + function leb(){MId();OId();} + function qMb(a){a.b.Of(a.e);} + function A$b(a){a.b=new Ri;} + function A8b(a,b){a.b=b-a.b;} + function x8b(a,b){a.a=b-a.a;} + function ZEb(a,b){a.push(b);} + function bFb(a,b){a.sort(b);} + function Q5c(a,b){b.jd(a.a);} + function Voc(a,b){Q3b(b,a);} + function tp(a,b,c){a.Yd(c,b);} + function Ss(a,b){a.e=b;b.b=a;} + function im(a){_l();this.a=a;} + function xq(a){_l();this.a=a;} + function Gq(a){_l();this.a=a;} + function Xq(a){tm();this.a=a;} + function gA(a){fA();eA.le(a);} + function vA(){vA=geb;new Tsb;} + function xz(){mz.call(this);} + function Ceb(){mz.call(this);} + function ueb(){xz.call(this);} + function yeb(){xz.call(this);} + function Hfb(){xz.call(this);} + function _fb(){xz.call(this);} + function cgb(){xz.call(this);} + function Ngb(){xz.call(this);} + function jib(){xz.call(this);} + function Jrb(){xz.call(this);} + function Srb(){xz.call(this);} + function Dvb(){xz.call(this);} + function Ied(){xz.call(this);} + function R1d(){this.a=this;} + function k1d(){this.Bb|=256;} + function vWb(){this.b=new Et;} + function aFb(a,b){a.length=b;} + function dyb(a,b){Rmb(a.a,b);} + function jNb(a,b){LKb(a.c,b);} + function qRc(a,b){Ysb(a.b,b);} + function VOd(a,b){UNd(a.a,b);} + function WOd(a,b){VNd(a.a,b);} + function eZd(a,b){qvd(a.e,b);} + function Cke(a){bge(a.c,a.b);} + function uj(a,b){a.kc().Nb(b);} + function Ufb(a){this.a=Zfb(a);} + function _sb(){this.a=new Tsb;} + function $Ab(){this.a=new Tsb;} + function xAb(){this.a=new dzb;} + function gyb(){this.a=new bnb;} + function BIb(){this.a=new bnb;} + function GIb(){this.a=new bnb;} + function wIb(){this.a=new pIb;} + function gJb(){this.a=new DIb;} + function TTb(){this.a=new DTb;} + function jGb(){this.a=new fGb;} + function qGb(){this.a=new kGb;} + function q_b(){this.a=new bnb;} + function E_b(){this.a=new bnb;} + function EZb(){this.a=new bnb;} + function J$b(){this.a=new bnb;} + function YNb(){this.d=new bnb;} + function lXb(){this.a=new RWb;} + function y_b(){this.a=new _sb;} + function k5b(){this.a=new Tsb;} + function E0b(){this.b=new Tsb;} + function jHc(){this.b=new bnb;} + function ZNc(){this.e=new bnb;} + function ahc(){this.a=new boc;} + function UQc(){this.d=new bnb;} + function uRc(){tRc.call(this);} + function BRc(){tRc.call(this);} + function VOc(){bnb.call(this);} + function web(){ueb.call(this);} + function Fyb(){gyb.call(this);} + function fKb(){RJb.call(this);} + function N$b(){J$b.call(this);} + function P2b(){I2b.call(this);} + function T2b(){P2b.call(this);} + function z3b(){I2b.call(this);} + function C3b(){z3b.call(this);} + function cUc(){aUc.call(this);} + function hUc(){aUc.call(this);} + function mUc(){aUc.call(this);} + function Hdd(){Ddd.call(this);} + function ACd(){$yd.call(this);} + function PCd(){$yd.call(this);} + function Ejd(){Yub.call(this);} + function LQd(){wQd.call(this);} + function lRd(){wQd.call(this);} + function MSd(){Tsb.call(this);} + function VSd(){Tsb.call(this);} + function eTd(){Tsb.call(this);} + function mXd(){HWd.call(this);} + function i1d(){_sb.call(this);} + function A1d(){k1d.call(this);} + function q4d(){dWd.call(this);} + function O5d(){Tsb.call(this);} + function R5d(){dWd.call(this);} + function lae(){Tsb.call(this);} + function Cae(){Tsb.call(this);} + function ome(){kUd.call(this);} + function Hme(){ome.call(this);} + function Nme(){kUd.call(this);} + function Gre(){Tqe.call(this);} + function aUc(){this.a=new _sb;} + function nZc(){this.a=new Tsb;} + function DZc(){this.a=new bnb;} + function Ddd(){this.a=new Tsb;} + function Oqd(){this.a=new Yub;} + function Oed(){this.j=new bnb;} + function obd(){this.a=new nbd;} + function wQd(){this.a=new AQd;} + function R5c(){this.a=new V5c;} + function wb(){wb=geb;vb=new xb;} + function Wk(){Wk=geb;Vk=new Xk;} + function kl(){kl=geb;jl=new ll;} + function ll(){Qk.call(this,'');} + function Xk(){Qk.call(this,'');} + function Dd(a){yd.call(this,a);} + function Hd(a){yd.call(this,a);} + function xh(a){th.call(this,a);} + function $h(a){Wc.call(this,a);} + function Qi(a){Wc.call(this,a);} + function wi(a){$h.call(this,a);} + function Sp(a){$h.call(this,a);} + function Js(a){$h.call(this,a);} + function Jp(a){Xo.call(this,a);} + function Qp(a){Xo.call(this,a);} + function dq(a){ho.call(this,a);} + function Fv(a){uv.call(this,a);} + function aw(a){Tr.call(this,a);} + function cw(a){Tr.call(this,a);} + function _w(a){Tr.call(this,a);} + function Mx(a){Gn.call(this,a);} + function Nx(a){Mx.call(this,a);} + function yz(a){nz.call(this,a);} + function aC(a){yz.call(this,a);} + function uC(){vC.call(this,{});} + function cC(){cC=geb;bC=new dC;} + function zs(){zs=geb;ys=new As;} + function Az(){Az=geb;zz=new nb;} + function $z(){$z=geb;Zz=new bA;} + function $A(){$A=geb;ZA=new aB;} + function Ovb(a){Kvb();this.a=a;} + function FKc(a){jKc();this.a=a;} + function zud(a){nud();this.f=a;} + function Bud(a){nud();this.f=a;} + function Cde(a){KMd();this.a=a;} + function Lyb(a){a.b=null;a.c=0;} + function kz(a,b){a.e=b;hz(a,b);} + function NYb(a,b){a.a=b;PYb(a);} + function cLb(a,b,c){a.a[b.g]=c;} + function zsd(a,b,c){Hsd(c,a,b);} + function shc(a,b){Xmc(b.i,a.n);} + function HCc(a,b){ICc(a).Cd(b);} + function yw(a,b){a.a.ec().Mc(b);} + function ns(a,b){return a.g-b.g} + function AUb(a,b){return a*a/b} + function Heb(a){return uFb(a),a} + function Kfb(a){return uFb(a),a} + function Mfb(a){return uFb(a),a} + function JC(a){return new hC(a)} + function LC(a){return new OC(a)} + function shb(a){return uFb(a),a} + function Chb(a){return uFb(a),a} + function teb(a){yz.call(this,a);} + function veb(a){yz.call(this,a);} + function zeb(a){yz.call(this,a);} + function Aeb(a){nz.call(this,a);} + function Ifb(a){yz.call(this,a);} + function agb(a){yz.call(this,a);} + function dgb(a){yz.call(this,a);} + function Mgb(a){yz.call(this,a);} + function Ogb(a){yz.call(this,a);} + function kib(a){yz.call(this,a);} + function Jed(a){yz.call(this,a);} + function Ked(a){yz.call(this,a);} + function CDd(a){yz.call(this,a);} + function Mle(a){yz.call(this,a);} + function Lqe(a){yz.call(this,a);} + function mob(a){uFb(a);this.a=a;} + function yYb(a){sYb(a);return a} + function Nnb(a){Snb(a,a.length);} + function nmb(a){return a.b==a.c} + function Vyb(a){return !!a&&a.b} + function gLb(a){return !!a&&a.k} + function hLb(a){return !!a&&a.j} + function F_b(a,b,c){a.c.Ef(b,c);} + function Ts(a,b){a.be(b);b.ae(a);} + function Fy(a){_l();this.a=Qb(a);} + function Gb(){this.a=WD(Qb(pve));} + function jc(){throw Adb(new jib)} + function jn(){throw Adb(new jib)} + function Hh(){throw Adb(new jib)} + function Xi(){throw Adb(new jib)} + function Xj(){throw Adb(new jib)} + function Yj(){throw Adb(new jib)} + function Qz(){Qz=geb;!!(fA(),eA);} + function Qhb(){reb.call(this,'');} + function Rhb(){reb.call(this,'');} + function bib(){reb.call(this,'');} + function cib(){reb.call(this,'');} + function eib(a){veb.call(this,a);} + function xeb(a){veb.call(this,a);} + function Vgb(a){agb.call(this,a);} + function Lqb(a){xpb.call(this,a);} + function Sqb(a){Lqb.call(this,a);} + function irb(a){Upb.call(this,a);} + function pc(a){qc.call(this,a,0);} + function Ri(){Si.call(this,12,3);} + function WC(a,b){return xfb(a,b)} + function cFb(a,b){return dD(a,b)} + function Reb(a,b){return a.a-b.a} + function afb(a,b){return a.a-b.a} + function Wgb(a,b){return a.a-b.a} + function pC(b,a){return a in b.a} + function Vvb(a){return a.a?a.b:0} + function cwb(a){return a.a?a.b:0} + function Fxb(a,b,c){b.Cd(a.a[c]);} + function Kxb(a,b,c){b.Pe(a.a[c]);} + function uKb(a,b){a.b=new sjd(b);} + function QGb(a,b){a.b=b;return a} + function RGb(a,b){a.c=b;return a} + function SGb(a,b){a.f=b;return a} + function TGb(a,b){a.g=b;return a} + function yJb(a,b){a.a=b;return a} + function zJb(a,b){a.f=b;return a} + function AJb(a,b){a.k=b;return a} + function WNb(a,b){a.a=b;return a} + function XNb(a,b){a.e=b;return a} + function BYb(a,b){a.e=b;return a} + function CYb(a,b){a.f=b;return a} + function BRb(a,b){a.b=true;a.d=b;} + function WNc(a,b){return a.b-b.b} + function KSc(a,b){return a.g-b.g} + function pmc(a,b){return a?0:b-1} + function qKc(a,b){return a?0:b-1} + function pKc(a,b){return a?b-1:0} + function uVc(a,b){return a.s-b.s} + function Xed(a,b){return b.rg(a)} + function Xfd(a,b){a.b=b;return a} + function Wfd(a,b){a.a=b;return a} + function Yfd(a,b){a.c=b;return a} + function Zfd(a,b){a.d=b;return a} + function $fd(a,b){a.e=b;return a} + function _fd(a,b){a.f=b;return a} + function mgd(a,b){a.a=b;return a} + function ngd(a,b){a.b=b;return a} + function ogd(a,b){a.c=b;return a} + function Khd(a,b){a.c=b;return a} + function Jhd(a,b){a.b=b;return a} + function Lhd(a,b){a.d=b;return a} + function Mhd(a,b){a.e=b;return a} + function Nhd(a,b){a.f=b;return a} + function Ohd(a,b){a.g=b;return a} + function Phd(a,b){a.a=b;return a} + function Qhd(a,b){a.i=b;return a} + function Rhd(a,b){a.j=b;return a} + function coc(a,b){Mnc();P3b(b,a);} + function bbd(a,b,c){_ad(a.a,b,c);} + function Fjd(a){Zub.call(this,a);} + function TRb(a){SRb.call(this,a);} + function pLc(a){CIc.call(this,a);} + function ILc(a){CIc.call(this,a);} + function gLd(a){ZHd.call(this,a);} + function DPd(a){xPd.call(this,a);} + function FPd(a){xPd.call(this,a);} + function x2b(){y2b.call(this,'');} + function pjd(){this.a=0;this.b=0;} + function ATc(){this.b=0;this.a=0;} + function lXd(a,b){a.b=0;bWd(a,b);} + function Kqd(a,b){a.k=b;return a} + function Lqd(a,b){a.j=b;return a} + function vfe(a,b){a.c=b;a.b=true;} + function Etb(){Etb=geb;Dtb=Gtb();} + function bvd(){bvd=geb;avd=OAd();} + function dvd(){dvd=geb;cvd=aCd();} + function MId(){MId=geb;LId=ygd();} + function jTd(){jTd=geb;iTd=Qae();} + function Ole(){Ole=geb;Nle=vne();} + function Qle(){Qle=geb;Ple=Cne();} + function mfb(a){return a.e&&a.e()} + function FD(a){return a.l|a.m<<22} + function Oc(a,b){return a.c._b(b)} + function En(a,b){return Wv(a.b,b)} + function Vd(a){return !a?null:a.d} + function Vv(a){return !a?null:a.g} + function $v(a){return !a?null:a.i} + function nfb(a){lfb(a);return a.o} + function Khb(a,b){a.a+=b;return a} + function Lhb(a,b){a.a+=b;return a} + function Ohb(a,b){a.a+=b;return a} + function Uhb(a,b){a.a+=b;return a} + function _wb(a,b){while(a.Bd(b));} + function atb(a){this.a=new Usb(a);} + function $tb(){throw Adb(new jib)} + function qpb(){throw Adb(new jib)} + function rpb(){throw Adb(new jib)} + function spb(){throw Adb(new jib)} + function vpb(){throw Adb(new jib)} + function Opb(){throw Adb(new jib)} + function yAb(a){this.a=new ezb(a);} + function H2c(){this.a=new Wed(s0);} + function TVc(){this.b=new Wed(H$);} + function l6c(){this.a=new Wed(V0);} + function $ad(){this.b=new Wed(I1);} + function nbd(){this.b=new Wed(I1);} + function T2c(a){this.a=0;this.b=a;} + function Bib(a){tib();vib(this,a);} + function QDb(a){LCb(a);return a.a} + function dvb(a){return a.b!=a.d.c} + function AMc(a,b){return a.d[b.p]} + function ued(a,b){return ned(a,b)} + function $Eb(a,b,c){a.splice(b,c);} + function ixb(a,b){while(a.Re(b));} + function NKb(a){a.c?MKb(a):OKb(a);} + function mQd(){throw Adb(new jib)} + function nQd(){throw Adb(new jib)} + function oQd(){throw Adb(new jib)} + function pQd(){throw Adb(new jib)} + function qQd(){throw Adb(new jib)} + function rQd(){throw Adb(new jib)} + function sQd(){throw Adb(new jib)} + function tQd(){throw Adb(new jib)} + function uQd(){throw Adb(new jib)} + function vQd(){throw Adb(new jib)} + function zue(){throw Adb(new Dvb)} + function Aue(){throw Adb(new Dvb)} + function oue(a){this.a=new Dte(a);} + function Dte(a){Cte(this,a,sse());} + function cve(a){return !a||bve(a)} + function Cqe(a){return xqe[a]!=-1} + function Yz(){Nz!=0&&(Nz=0);Pz=-1;} + function beb(){_db==null&&(_db=[]);} + function eg(a,b){zf.call(this,a,b);} + function gg(a,b){eg.call(this,a,b);} + function Nj(a,b){this.a=a;this.b=b;} + function hk(a,b){this.a=a;this.b=b;} + function nk(a,b){this.a=a;this.b=b;} + function pk(a,b){this.a=a;this.b=b;} + function xk(a,b){this.a=a;this.b=b;} + function zk(a,b){this.a=a;this.b=b;} + function Kk(a,b){this.a=a;this.b=b;} + function ne(a,b){this.e=a;this.d=b;} + function Hf(a,b){this.b=a;this.c=b;} + function cp(a,b){this.b=a;this.a=b;} + function Cp(a,b){this.b=a;this.a=b;} + function qr(a,b){this.b=a;this.a=b;} + function Rr(a,b){this.b=a;this.a=b;} + function vr(a,b){this.a=a;this.b=b;} + function su(a,b){this.a=a;this.b=b;} + function Hu(a,b){this.a=a;this.f=b;} + function gp(a,b){this.g=a;this.i=b;} + function qs(a,b){this.f=a;this.g=b;} + function Gv(a,b){this.b=a;this.c=b;} + function Wc(a){Lb(a.dc());this.c=a;} + function Ex(a,b){this.a=a;this.b=b;} + function ey(a,b){this.a=a;this.b=b;} + function pv(a){this.a=RD(Qb(a),15);} + function uv(a){this.a=RD(Qb(a),15);} + function nw(a){this.a=RD(Qb(a),85);} + function rf(a){this.b=RD(Qb(a),85);} + function Tr(a){this.b=RD(Qb(a),51);} + function uB(){this.q=new $wnd.Date;} + function CC(a,b){this.a=a;this.b=b;} + function Bt(a,b){return Ujb(a.b,b)} + function tpb(a,b){return a.b.Hc(b)} + function upb(a,b){return a.b.Ic(b)} + function wpb(a,b){return a.b.Qc(b)} + function Pqb(a,b){return a.b.Hc(b)} + function pqb(a,b){return a.c.uc(b)} + function rqb(a,b){return pb(a.c,b)} + function Zsb(a,b){return a.a._b(b)} + function Xp(a,b){return a>b&&b0} + function Ldb(a,b){return Ddb(a,b)<0} + function Urb(a,b){return Bsb(a.a,b)} + function Beb(a,b){oz.call(this,a,b);} + function Qx(a){Px();ho.call(this,a);} + function Lnb(a,b){Pnb(a,a.length,b);} + function Mnb(a,b){Rnb(a,a.length,b);} + function Ktb(a,b){return a.a.get(b)} + function bub(a,b){return Ujb(a.e,b)} + function Zxb(a){return uFb(a),false} + function zw(a){this.a=RD(Qb(a),229);} + function $wb(a){Swb.call(this,a,21);} + function dAb(a,b){qs.call(this,a,b);} + function yBb(a,b){qs.call(this,a,b);} + function ssb(a,b){this.b=a;this.a=b;} + function xlb(a,b){this.d=a;this.e=b;} + function jEb(a,b){this.a=a;this.b=b;} + function pEb(a,b){this.a=a;this.b=b;} + function vEb(a,b){this.a=a;this.b=b;} + function BEb(a,b){this.a=a;this.b=b;} + function TFb(a,b){this.a=a;this.b=b;} + function QEb(a,b){this.b=a;this.a=b;} + function sHb(a,b){this.b=a;this.a=b;} + function EHb(a,b){qs.call(this,a,b);} + function MHb(a,b){qs.call(this,a,b);} + function jIb(a,b){qs.call(this,a,b);} + function $Jb(a,b){qs.call(this,a,b);} + function FKb(a,b){qs.call(this,a,b);} + function wLb(a,b){qs.call(this,a,b);} + function nOb(a,b){qs.call(this,a,b);} + function kPb(a,b){this.b=a;this.a=b;} + function JPb(a,b){qs.call(this,a,b);} + function fRb(a,b){this.b=a;this.a=b;} + function JRb(a,b){qs.call(this,a,b);} + function OTb(a,b){this.b=a;this.a=b;} + function UUb(a,b){qs.call(this,a,b);} + function BWb(a,b){qs.call(this,a,b);} + function tXb(a,b){qs.call(this,a,b);} + function XEb(a,b,c){a.splice(b,0,c);} + function pr(a,b,c){a.Mb(c)&&b.Cd(c);} + function lEb(a,b,c){b.Pe(a.a.Ye(c));} + function rEb(a,b,c){b.Dd(a.a.Ze(c));} + function xEb(a,b,c){b.Cd(a.a.Kb(c));} + function eYb(a,b){return Csb(a.c,b)} + function cGb(a,b){return Csb(a.e,b)} + function qZb(a,b){qs.call(this,a,b);} + function V$b(a,b){qs.call(this,a,b);} + function s3b(a,b){qs.call(this,a,b);} + function Q8b(a,b){qs.call(this,a,b);} + function icc(a,b){qs.call(this,a,b);} + function xec(a,b){qs.call(this,a,b);} + function gic(a,b){this.a=a;this.b=b;} + function Xic(a,b){this.a=a;this.b=b;} + function h4b(a,b){this.a=a;this.b=b;} + function vjc(a,b){this.a=a;this.b=b;} + function xjc(a,b){this.a=a;this.b=b;} + function Hjc(a,b){this.a=a;this.b=b;} + function hjc(a,b){this.b=a;this.a=b;} + function Jjc(a,b){this.b=a;this.a=b;} + function _Yb(a,b){this.b=a;this.a=b;} + function eZb(a,b){this.c=a;this.d=b;} + function Q1b(a,b){this.e=a;this.d=b;} + function Tjc(a,b){this.a=a;this.b=b;} + function ulc(a,b){this.a=a;this.b=b;} + function Elc(a,b){this.a=a;this.b=b;} + function fqc(a,b){this.b=a;this.a=b;} + function smc(a,b){this.b=b;this.c=a;} + function fnc(a,b){qs.call(this,a,b);} + function Cnc(a,b){qs.call(this,a,b);} + function koc(a,b){qs.call(this,a,b);} + function ktc(a,b){qs.call(this,a,b);} + function ctc(a,b){qs.call(this,a,b);} + function utc(a,b){qs.call(this,a,b);} + function Ftc(a,b){qs.call(this,a,b);} + function Rtc(a,b){qs.call(this,a,b);} + function _tc(a,b){qs.call(this,a,b);} + function iuc(a,b){qs.call(this,a,b);} + function vuc(a,b){qs.call(this,a,b);} + function Duc(a,b){qs.call(this,a,b);} + function Puc(a,b){qs.call(this,a,b);} + function _uc(a,b){qs.call(this,a,b);} + function pvc(a,b){qs.call(this,a,b);} + function yvc(a,b){qs.call(this,a,b);} + function Hvc(a,b){qs.call(this,a,b);} + function Pvc(a,b){qs.call(this,a,b);} + function dxc(a,b){qs.call(this,a,b);} + function bDc(a,b){qs.call(this,a,b);} + function nDc(a,b){qs.call(this,a,b);} + function yDc(a,b){qs.call(this,a,b);} + function LDc(a,b){qs.call(this,a,b);} + function bEc(a,b){qs.call(this,a,b);} + function lEc(a,b){qs.call(this,a,b);} + function tEc(a,b){qs.call(this,a,b);} + function CEc(a,b){qs.call(this,a,b);} + function LEc(a,b){qs.call(this,a,b);} + function UEc(a,b){qs.call(this,a,b);} + function mFc(a,b){qs.call(this,a,b);} + function vFc(a,b){qs.call(this,a,b);} + function EFc(a,b){qs.call(this,a,b);} + function SKc(a,b){qs.call(this,a,b);} + function cNc(a,b){this.b=a;this.a=b;} + function tNc(a,b){qs.call(this,a,b);} + function QOc(a,b){this.a=a;this.b=b;} + function ePc(a,b){this.a=a;this.b=b;} + function LPc(a,b){this.a=a;this.b=b;} + function xQc(a,b){qs.call(this,a,b);} + function FQc(a,b){qs.call(this,a,b);} + function MQc(a,b){this.a=a;this.b=b;} + function FMc(a,b){dMc();return b!=a} + function Uvb(a){sFb(a.a);return a.b} + function qYb(a){rYb(a,a.c);return a} + function Itb(){Etb();return new Dtb} + function _ec(){Rec();this.a=new e6b;} + function lSc(){dSc();this.a=new _sb;} + function aRc(){WQc();this.b=new _sb;} + function xRc(a,b){this.b=a;this.d=b;} + function nVc(a,b){this.a=a;this.b=b;} + function pVc(a,b){this.a=a;this.b=b;} + function GWc(a,b){this.a=a;this.b=b;} + function IXc(a,b){this.b=a;this.a=b;} + function gTc(a,b){qs.call(this,a,b);} + function eVc(a,b){qs.call(this,a,b);} + function $Vc(a,b){qs.call(this,a,b);} + function XYc(a,b){qs.call(this,a,b);} + function MZc(a,b){qs.call(this,a,b);} + function t_c(a,b){qs.call(this,a,b);} + function B_c(a,b){qs.call(this,a,b);} + function z2c(a,b){qs.call(this,a,b);} + function h3c(a,b){qs.call(this,a,b);} + function $3c(a,b){qs.call(this,a,b);} + function i4c(a,b){qs.call(this,a,b);} + function l5c(a,b){qs.call(this,a,b);} + function v5c(a,b){qs.call(this,a,b);} + function g6c(a,b){qs.call(this,a,b);} + function A6c(a,b){qs.call(this,a,b);} + function a7c(a,b){qs.call(this,a,b);} + function B8c(a,b){qs.call(this,a,b);} + function d9c(a,b){qs.call(this,a,b);} + function D9c(a,b){qs.call(this,a,b);} + function tad(a,b){qs.call(this,a,b);} + function hbd(a,b){qs.call(this,a,b);} + function Nbd(a,b){qs.call(this,a,b);} + function Ybd(a,b){qs.call(this,a,b);} + function ndd(a,b){qs.call(this,a,b);} + function z1c(a,b){this.b=a;this.a=b;} + function B1c(a,b){this.b=a;this.a=b;} + function d2c(a,b){this.b=a;this.a=b;} + function f2c(a,b){this.b=a;this.a=b;} + function m9c(a,b){this.a=a;this.b=b;} + function xed(a,b){this.a=a;this.b=b;} + function ffd(a,b){this.a=a;this.b=b;} + function rjd(a,b){this.a=a;this.b=b;} + function Sjd(a,b){qs.call(this,a,b);} + function Zhd(a,b){qs.call(this,a,b);} + function lid(a,b){qs.call(this,a,b);} + function vkd(a,b){qs.call(this,a,b);} + function Gmd(a,b){qs.call(this,a,b);} + function Pmd(a,b){qs.call(this,a,b);} + function Zmd(a,b){qs.call(this,a,b);} + function jnd(a,b){qs.call(this,a,b);} + function Gnd(a,b){qs.call(this,a,b);} + function Rnd(a,b){qs.call(this,a,b);} + function eod(a,b){qs.call(this,a,b);} + function qod(a,b){qs.call(this,a,b);} + function Eod(a,b){qs.call(this,a,b);} + function Qod(a,b){qs.call(this,a,b);} + function upd(a,b){qs.call(this,a,b);} + function Rpd(a,b){qs.call(this,a,b);} + function eqd(a,b){qs.call(this,a,b);} + function nqd(a,b){qs.call(this,a,b);} + function vqd(a,b){qs.call(this,a,b);} + function Hrd(a,b){qs.call(this,a,b);} + function esd(a,b){this.a=a;this.b=b;} + function gsd(a,b){this.a=a;this.b=b;} + function isd(a,b){this.a=a;this.b=b;} + function Osd(a,b){this.a=a;this.b=b;} + function Qsd(a,b){this.a=a;this.b=b;} + function Ssd(a,b){this.a=a;this.b=b;} + function Ptd(a,b){this.a=a;this.b=b;} + function JEd(a,b){this.a=a;this.b=b;} + function KEd(a,b){this.a=a;this.b=b;} + function MEd(a,b){this.a=a;this.b=b;} + function NEd(a,b){this.a=a;this.b=b;} + function QEd(a,b){this.a=a;this.b=b;} + function REd(a,b){this.a=a;this.b=b;} + function SEd(a,b){this.b=a;this.a=b;} + function TEd(a,b){this.b=a;this.a=b;} + function bFd(a,b){this.b=a;this.a=b;} + function dFd(a,b){this.b=a;this.a=b;} + function fFd(a,b){this.a=a;this.b=b;} + function hFd(a,b){this.a=a;this.b=b;} + function utd(a,b){qs.call(this,a,b);} + function sFd(a,b){this.a=a;this.b=b;} + function uFd(a,b){this.a=a;this.b=b;} + function bGd(a,b){qs.call(this,a,b);} + function uId(a,b){this.f=a;this.c=b;} + function Ofd(a,b){return Csb(a.g,b)} + function Tqc(a,b){return Csb(b.b,a)} + function HPd(a,b){return QNd(a.a,b)} + function Idd(a,b){return -a.b.af(b)} + function IId(a,b){!!a&&Zjb(CId,a,b);} + function yWd(a,b){a.i=null;zWd(a,b);} + function kEd(a,b,c){pDd(b,KDd(a,c));} + function lEd(a,b,c){pDd(b,KDd(a,c));} + function mFd(a,b){vEd(a.a,RD(b,58));} + function _Mc(a,b){GMc(a.a,RD(b,12));} + function KTd(a,b){this.a=a;this.b=b;} + function NTd(a,b){this.a=a;this.b=b;} + function B5d(a,b){this.a=a;this.b=b;} + function Z6d(a,b){this.a=a;this.b=b;} + function Ble(a,b){this.a=a;this.b=b;} + function afe(a,b){this.d=a;this.b=b;} + function wfe(a,b){this.e=a;this.a=b;} + function Eke(a,b){this.b=a;this.c=b;} + function zNd(a,b){this.i=a;this.g=b;} + function kZd(a,b){this.d=a;this.e=b;} + function ave(a,b){eve(new dMd(a),b);} + function Dke(a){return pge(a.c,a.b)} + function Wd(a){return !a?null:a.md()} + function dE(a){return a==null?null:a} + function bE(a){return typeof a===jve} + function $D(a){return typeof a===hve} + function _D(a){return typeof a===ive} + function Gdb(a,b){return Ddb(a,b)==0} + function Jdb(a,b){return Ddb(a,b)>=0} + function Pdb(a,b){return Ddb(a,b)!=0} + function ar(a,b){return zr(a.Kc(),b)} + function Qm(a,b){return a.Rd().Xb(b)} + function kg(a){ig(a);return a.d.gc()} + function fE(a){CFb(a==null);return a} + function Mhb(a,b){a.a+=''+b;return a} + function Nhb(a,b){a.a+=''+b;return a} + function Whb(a,b){a.a+=''+b;return a} + function Yhb(a,b){a.a+=''+b;return a} + function Zhb(a,b){a.a+=''+b;return a} + function Vhb(a,b){return a.a+=''+b,a} + function Pfb(a){return ''+(uFb(a),a)} + function Vsb(a){akb(this);Ld(this,a);} + function YFc(){RFc();UFc.call(this);} + function pxb(a,b){kxb.call(this,a,b);} + function txb(a,b){kxb.call(this,a,b);} + function xxb(a,b){kxb.call(this,a,b);} + function Oub(a,b){Pub(a,b,a.c.b,a.c);} + function Nub(a,b){Pub(a,b,a.a,a.a.a);} + function Iob(a){tFb(a,0);return null} + function Xvb(){this.b=0;this.a=false;} + function dwb(){this.b=0;this.a=false;} + function Et(){this.b=new Usb(Sv(12));} + function pMb(){pMb=geb;oMb=ss(nMb());} + function ncc(){ncc=geb;mcc=ss(lcc());} + function aZc(){aZc=geb;_Yc=ss($Yc());} + function WA(){WA=geb;vA();VA=new Tsb;} + function hjd(a){a.a=0;a.b=0;return a} + function qfd(a,b){a.a=b.g+1;return a} + function yNd(a,b){aMd.call(this,a,b);} + function lGd(a,b){kGd.call(this,a,b);} + function N$d(a,b){zNd.call(this,a,b);} + function Whe(a,b){Q2d.call(this,a,b);} + function She(a,b){Phe.call(this,a,b);} + function RRd(a,b){PRd();Zjb(ORd,a,b);} + function sB(a,b){a.q.setTime(Xdb(b));} + function Xz(a){$wnd.clearTimeout(a);} + function cr(a){return Qb(a),new Dl(a)} + function mb(a,b){return dE(a)===dE(b)} + function Mw(a,b){return a.a.a.a.cc(b)} + function qeb(a,b){return zhb(a.a,0,b)} + function SSb(a){return MSb(RD(a,74))} + function Nfb(a){return eE((uFb(a),a))} + function Ofb(a){return eE((uFb(a),a))} + function gD(a){return hD(a.l,a.m,a.h)} + function egb(a,b){return hgb(a.a,b.a)} + function ygb(a,b){return Agb(a.a,b.a)} + function Sfb(a,b){return Qfb(a.a,b.a)} + function qhb(a,b){return a.indexOf(b)} + function nOc(a,b){return a.j[b.p]==2} + function cz(a,b){return a==b?0:a?1:-1} + function AB(a){return a<10?'0'+a:''+a} + function Kdb(a){return typeof a===ive} + function oZb(a){return a==jZb||a==mZb} + function pZb(a){return a==jZb||a==kZb} + function ELb(a,b){return hgb(a.g,b.g)} + function Q4b(a){return Wmb(a.b.b,a,0)} + function Q2b(){J2b.call(this,0,0,0,0);} + function Iub(){ctb.call(this,new gub);} + function Znb(a,b){Wnb(a,0,a.length,b);} + function Eyb(a,b){Rmb(a.a,b);return b} + function Fkc(a,b){lkc();return b.a+=a} + function Hkc(a,b){lkc();return b.a+=a} + function Gkc(a,b){lkc();return b.c+=a} + function ied(a,b){Rmb(a.c,b);return a} + function Ped(a,b){ofd(a.a,b);return a} + function ttb(a){this.a=Itb();this.b=a;} + function Ntb(a){this.a=Itb();this.b=a;} + function sjd(a){this.a=a.a;this.b=a.b;} + function Dl(a){this.a=a;zl.call(this);} + function Gl(a){this.a=a;zl.call(this);} + function Tid(){Uid.call(this,0,0,0,0);} + function vfd(a){return ofd(new ufd,a)} + function Ksd(a){return iyd(RD(a,123))} + function Mvd(a){return a.vh()&&a.wh()} + function Dod(a){return a!=zod&&a!=Aod} + function Dmd(a){return a==ymd||a==zmd} + function Emd(a){return a==Bmd||a==xmd} + function xDc(a){return a==tDc||a==sDc} + function yrc(a,b){return hgb(a.g,b.g)} + function Yfe(a,b){return new Phe(b,a)} + function Zfe(a,b){return new Phe(b,a)} + function lr(a){return Dr(a.b.Kc(),a.a)} + function IXd(a,b){yXd(a,b);zXd(a,a.D);} + function Uxd(a,b,c){Vxd(a,b);Wxd(a,c);} + function zyd(a,b,c){Cyd(a,b);Ayd(a,c);} + function Byd(a,b,c){Dyd(a,b);Eyd(a,c);} + function Gzd(a,b,c){Hzd(a,b);Izd(a,c);} + function Nzd(a,b,c){Ozd(a,b);Pzd(a,c);} + function eh(a,b,c){bh.call(this,a,b,c);} + function zId(a){uId.call(this,a,true);} + function nAb(){dAb.call(this,'Tail',3);} + function iAb(){dAb.call(this,'Head',1);} + function ejb(a){Pib();fjb.call(this,a);} + function A3b(a){J2b.call(this,a,a,a,a);} + function Pmb(a){a.c=$C(jJ,rve,1,0,5,1);} + function yRb(a){a.b&&CRb(a);return a.a} + function zRb(a){a.b&&CRb(a);return a.c} + function mBb(a,b){if(dBb){return}a.b=b;} + function YCb(a,b){return a[a.length]=b} + function _Cb(a,b){return a[a.length]=b} + function l5b(a,b){return NGd(b,MCd(a))} + function m5b(a,b){return NGd(b,MCd(a))} + function DDd(a,b){return lp(Co(a.d),b)} + function EDd(a,b){return lp(Co(a.g),b)} + function FDd(a,b){return lp(Co(a.j),b)} + function mGd(a,b){kGd.call(this,a.b,b);} + function s0d(a,b){WGd(tYd(a.a),v0d(b));} + function B4d(a,b){WGd(o4d(a.a),E4d(b));} + function Asd(a,b,c){Byd(c,c.i+a,c.j+b);} + function eFc(a,b,c){bD(a.c[b.g],b.g,c);} + function zVd(a,b,c){RD(a.c,71).Gi(b,c);} + function LMd(a,b,c){bD(a,b,c);return c} + function DJb(a){Umb(a.Sf(),new HJb(a));} + function Gvb(a){return a!=null?tb(a):0} + function aOd(a){return a==null?0:tb(a)} + function iue(a){Vse();Wse.call(this,a);} + function Ug(a){this.a=a;Og.call(this,a);} + function Zy(){Zy=geb;$wnd.Math.log(2);} + function s7d(){s7d=geb;r7d=($Sd(),ZSd);} + function FRc(){FRc=geb;ERc=new Zrb(u3);} + function Hde(){Hde=geb;new Ide;new bnb;} + function Ide(){new Tsb;new Tsb;new Tsb;} + function yue(){throw Adb(new kib(bMe))} + function Nue(){throw Adb(new kib(bMe))} + function Bue(){throw Adb(new kib(cMe))} + function Que(){throw Adb(new kib(cMe))} + function Gp(a){this.a=a;rf.call(this,a);} + function Np(a){this.a=a;rf.call(this,a);} + function Sq(a,b){tm();this.a=a;this.b=b;} + function Jh(a,b){Qb(b);Ih(a).Jc(new jx);} + function _mb(a,b){Ynb(a.c,a.c.length,b);} + function xnb(a){return a.ab?1:0} + function Kgb(a,b){return Ddb(a,b)>0?a:b} + function hD(a,b,c){return {l:a,m:b,h:c}} + function Mvb(a,b){a.a!=null&&_Mc(b,a.a);} + function Lhc(a){Y0b(a,null);Z0b(a,null);} + function xkc(a,b,c){return Zjb(a.g,c,b)} + function bFc(a,b,c){return _Ec(b,c,a.c)} + function jOc(a,b,c){return Zjb(a.k,c,b)} + function pOc(a,b,c){qOc(a,b,c);return c} + function FOc(a,b){dOc();return b.n.b+=a} + function lUb(a){VTb.call(this);this.b=a;} + function y2b(a){v2b.call(this);this.a=a;} + function kAb(){dAb.call(this,'Range',2);} + function $Fb(a){this.b=a;this.a=new bnb;} + function WQb(a){this.b=new gRb;this.a=a;} + function Lub(a){a.a=new svb;a.c=new svb;} + function nrc(a){a.a=new Tsb;a.d=new Tsb;} + function $Sc(a){_Sc(a,null);aTc(a,null);} + function a2d(a,b){return xA(a.a,b,null)} + function Cdd(a,b){return Zjb(a.a,b.a,b)} + function ajd(a){return new rjd(a.a,a.b)} + function Pid(a){return new rjd(a.c,a.d)} + function Qid(a){return new rjd(a.c,a.d)} + function Ake(a,b){return Tfe(a.c,a.b,b)} + function ZD(a,b){return a!=null&&QD(a,b)} + function br(a,b){return Jr(a.Kc(),b)!=-1} + function Hr(a){return a.Ob()?a.Pb():null} + function _p(a){this.b=(yob(),new uqb(a));} + function zke(a){this.a=a;Tsb.call(this);} + function Uhe(){Q2d.call(this,null,null);} + function Yhe(){p3d.call(this,null,null);} + function As(){qs.call(this,'INSTANCE',0);} + function dXb(){_Wb();this.a=new Wed(UP);} + function Hhb(a){return Ihb(a,0,a.length)} + function Rv(a,b){return new ew(a.Kc(),b)} + function $sb(a,b){return a.a.Bc(b)!=null} + function hZd(a,b){sLd(a);a.Gc(RD(b,15));} + function ONd(a,b,c){a.c.bd(b,RD(c,136));} + function eOd(a,b,c){a.c.Ui(b,RD(c,136));} + function eub(a,b){if(a.c){rub(b);qub(b);}} + function oB(a,b){a.q.setHours(b);mB(a,b);} + function vTb(a,b){Zid(b,a.a.a.a,a.a.a.b);} + function tKb(a,b,c,d){bD(a.a[b.g],c.g,d);} + function oKb(a,b,c){return a.a[b.g][c.g]} + function AIc(a,b){return a.e[b.c.p][b.p]} + function TIc(a,b){return a.c[b.c.p][b.p]} + function pJc(a,b){return a.a[b.c.p][b.p]} + function mOc(a,b){return a.j[b.p]=AOc(b)} + function wAb(a,b){return a.a.Bc(b)!=null} + function wXc(a,b){return Kfb(UD(b.a))<=a} + function xXc(a,b){return Kfb(UD(b.a))>=a} + function vhd(a,b){return jhb(a.f,b.Pg())} + function cjd(a,b){return a.a*b.a+a.b*b.b} + function Wsd(a,b){return a.a0?b/(a*a):b*100} + function FUb(a,b){return a>0?b*b/a:b*b*100} + function $5b(a,b){return RD(cub(a.a,b),34)} + function doc(a,b){Mnc();return Rc(a,b.e,b)} + function NCc(a,b,c){GCc();return c.Mg(a,b)} + function L0c(a){B0c();return a.e.a+a.f.a/2} + function N0c(a,b,c){B0c();return c.e.a-a*b} + function V0c(a){B0c();return a.e.b+a.f.b/2} + function X0c(a,b,c){B0c();return c.e.b-a*b} + function _tb(a){a.d=new tub(a);a.e=new Tsb;} + function x3c(){this.a=new Tp;this.b=new Tp;} + function hmc(a){this.c=a;this.a=1;this.b=1;} + function C$b(a){z$b();A$b(this);this.Ff(a);} + function Efd(a,b,c){Afd();a.pf(b)&&c.Cd(a);} + function Red(a,b,c){return Rmb(b,Ted(a,c))} + function Zid(a,b,c){a.a+=b;a.b+=c;return a} + function jjd(a,b,c){a.a*=b;a.b*=c;return a} + function mjd(a,b){a.a=b.a;a.b=b.b;return a} + function fjd(a){a.a=-a.a;a.b=-a.b;return a} + function njd(a,b,c){a.a-=b;a.b-=c;return a} + function Gjd(a){Yub.call(this);zjd(this,a);} + function Dbd(){qs.call(this,'GROW_TREE',0);} + function WRb(){qs.call(this,'POLYOMINO',0);} + function SVd(a,b,c){DVd.call(this,a,b,c,2);} + function r0d(a,b,c){VGd(tYd(a.a),b,v0d(c));} + function e3d(a,b){N2d();Q2d.call(this,a,b);} + function D3d(a,b){j3d();p3d.call(this,a,b);} + function F3d(a,b){j3d();D3d.call(this,a,b);} + function H3d(a,b){j3d();p3d.call(this,a,b);} + function PNd(a,b){return a.c.Fc(RD(b,136))} + function A4d(a,b,c){VGd(o4d(a.a),b,E4d(c));} + function Ard(a){this.c=a;Dyd(a,0);Eyd(a,0);} + function Z8d(a,b){s7d();N8d.call(this,a,b);} + function _8d(a,b){s7d();Z8d.call(this,a,b);} + function b9d(a,b){s7d();Z8d.call(this,a,b);} + function n9d(a,b){s7d();N8d.call(this,a,b);} + function d9d(a,b){s7d();b9d.call(this,a,b);} + function p9d(a,b){s7d();n9d.call(this,a,b);} + function v9d(a,b){s7d();N8d.call(this,a,b);} + function lge(a,b,c){return b.zl(a.e,a.c,c)} + function nge(a,b,c){return b.Al(a.e,a.c,c)} + function Wee(a,b,c){return tfe(Pee(a,b),c)} + function Age(a,b){return Vvd(a.e,RD(b,54))} + function _me(a){return a==null?null:Bqe(a)} + function dne(a){return a==null?null:Iqe(a)} + function gne(a){return a==null?null:jeb(a)} + function hne(a){return a==null?null:jeb(a)} + function TD(a){CFb(a==null||$D(a));return a} + function UD(a){CFb(a==null||_D(a));return a} + function WD(a){CFb(a==null||bE(a));return a} + function lfb(a){if(a.o!=null){return}Bfb(a);} + function lFb(a){if(!a){throw Adb(new _fb)}} + function pFb(a){if(!a){throw Adb(new yeb)}} + function sFb(a){if(!a){throw Adb(new Dvb)}} + function yFb(a){if(!a){throw Adb(new cgb)}} + function zmb(a){if(!a){throw Adb(new Jrb)}} + function jQd(){jQd=geb;iQd=new LQd;new lRd;} + function u2c(){u2c=geb;t2c=new jGd('root');} + function d6d(){HWd.call(this);this.Bb|=txe;} + function Pg(a,b){this.d=a;Lg(this);this.b=b;} + function WCb(a,b){NCb.call(this,a);this.a=b;} + function oDb(a,b){NCb.call(this,a);this.a=b;} + function bh(a,b,c){lg.call(this,a,b,c,null);} + function fh(a,b,c){lg.call(this,a,b,c,null);} + function Mf(a,b){this.c=a;ne.call(this,a,b);} + function Uf(a,b){this.a=a;Mf.call(this,a,b);} + function wB(a){this.q=new $wnd.Date(Xdb(a));} + function OPb(a){if(a>8){return 0}return a+1} + function iBb(a,b){if(dBb){return}Rmb(a.a,b);} + function P5b(a,b){H5b();return n2b(b.d.i,a)} + function qdc(a,b){Zcc();return new xdc(b,a)} + function HAb(a,b,c){return a.Ne(b,c)<=0?c:b} + function IAb(a,b,c){return a.Ne(b,c)<=0?b:c} + function rgd(a,b){return RD(cub(a.b,b),143)} + function tgd(a,b){return RD(cub(a.c,b),233)} + function amc(a){return RD(Vmb(a.a,a.b),294)} + function Mid(a){return new rjd(a.c,a.d+a.a)} + function Jeb(a){return (uFb(a),a)?1231:1237} + function EPc(a){return dOc(),xDc(RD(a,203))} + function RMb(){RMb=geb;QMb=xsb((Qpd(),Ppd));} + function YQb(a,b){b.a?ZQb(a,b):wAb(a.a,b.b);} + function aJd(a,b,c){++a.j;a.tj();$Gd(a,b,c);} + function $Id(a,b,c){++a.j;a.qj(b,a.Zi(b,c));} + function B2d(a,b,c){var d;d=a.fd(b);d.Rb(c);} + function Bzd(a,b,c){c=xvd(a,b,6,c);return c} + function izd(a,b,c){c=xvd(a,b,3,c);return c} + function KCd(a,b,c){c=xvd(a,b,9,c);return c} + function SKb(a,b){Ivb(b,Pye);a.f=b;return a} + function bOd(a,b){return (b&lve)%a.d.length} + function Bke(a,b,c){return age(a.c,a.b,b,c)} + function ZLd(a,b){this.c=a;ZHd.call(this,b);} + function w0d(a,b){this.a=a;Q_d.call(this,b);} + function F4d(a,b){this.a=a;Q_d.call(this,b);} + function kGd(a,b){jGd.call(this,a);this.a=b;} + function U6d(a,b){L6d.call(this,a);this.a=b;} + function S9d(a,b){L6d.call(this,a);this.a=b;} + function jQb(a){gQb.call(this,0,0);this.f=a;} + function _hb(a,b,c){a.a+=Ihb(b,0,c);return a} + function _A(a){!a.a&&(a.a=new jB);return a.a} + function qlb(a,b){var c;c=a.e;a.e=b;return c} + function Clb(a,b){var c;c=b;return !!a.Fe(c)} + function Keb(a,b){Geb();return a==b?0:a?1:-1} + function Ikb(a,b){a.a.bd(a.b,b);++a.b;a.c=-1;} + function hg(a){a.b?hg(a.b):a.f.c.zc(a.e,a.d);} + function aub(a){akb(a.e);a.d.b=a.d;a.d.a=a.d;} + function VDb(a,b,c){xDb();HEb(a,b.Ve(a.a,c));} + function Xrb(a,b,c){return Wrb(a,RD(b,22),c)} + function WEb(a,b){return cFb(new Array(b),a)} + function Fgb(a){return Ydb(Udb(a,32))^Ydb(a)} + function XD(a){return String.fromCharCode(a)} + function Dz(a){return a==null?null:a.message} + function Rz(a,b,c){return a.apply(b,c);} + function Btb(a,b){var c;c=a[Jxe];c.call(a,b);} + function Ctb(a,b){var c;c=a[Jxe];c.call(a,b);} + function O5b(a,b){H5b();return !n2b(b.d.i,a)} + function R2b(a,b,c,d){J2b.call(this,a,b,c,d);} + function TJb(){RJb.call(this);this.a=new pjd;} + function v2b(){this.n=new pjd;this.o=new pjd;} + function kGb(){this.b=new pjd;this.c=new bnb;} + function cUb(){this.a=new bnb;this.b=new bnb;} + function kWb(){this.a=new DTb;this.b=new vWb;} + function e6b(){this.b=new gub;this.a=new gub;} + function jIc(){this.b=new _sb;this.a=new _sb;} + function vYc(){this.b=new Tsb;this.a=new Tsb;} + function fWc(){this.b=new TVc;this.a=new IVc;} + function Yhc(){this.a=new yqc;this.b=new Sqc;} + function lNc(){this.a=new bnb;this.d=new bnb;} + function RJb(){this.n=new z3b;this.i=new Tid;} + function hq(a){this.a=(dk(a,iwe),new cnb(a));} + function oq(a){this.a=(dk(a,iwe),new cnb(a));} + function tLd(a){return a<100?null:new gLd(a)} + function Lac(a,b){return a.n.a=(uFb(b),b)+10} + function Mac(a,b){return a.n.a=(uFb(b),b)+10} + function DYd(a,b){return b==a||PHd(sYd(b),a)} + function nae(a,b){return Zjb(a.a,b,'')==null} + function Hee(a,b){var c;c=b.qi(a.a);return c} + function $id(a,b){a.a+=b.a;a.b+=b.b;return a} + function ojd(a,b){a.a-=b.a;a.b-=b.b;return a} + function sfd(a){aFb(a.j.c,0);a.a=-1;return a} + function rCd(a,b,c){c=xvd(a,b,11,c);return c} + function SDd(a,b,c){c!=null&&Kzd(b,uEd(a,c));} + function TDd(a,b,c){c!=null&&Lzd(b,uEd(a,c));} + function G5d(a,b,c,d){C5d.call(this,a,b,c,d);} + function oie(a,b,c,d){C5d.call(this,a,b,c,d);} + function sie(a,b,c,d){oie.call(this,a,b,c,d);} + function Nie(a,b,c,d){Iie.call(this,a,b,c,d);} + function Pie(a,b,c,d){Iie.call(this,a,b,c,d);} + function Vie(a,b,c,d){Iie.call(this,a,b,c,d);} + function Tie(a,b,c,d){Pie.call(this,a,b,c,d);} + function $ie(a,b,c,d){Pie.call(this,a,b,c,d);} + function Yie(a,b,c,d){Vie.call(this,a,b,c,d);} + function bje(a,b,c,d){$ie.call(this,a,b,c,d);} + function Dje(a,b,c,d){wje.call(this,a,b,c,d);} + function aMd(a,b){veb.call(this,HJe+a+NIe+b);} + function Hje(a,b){return a.jk().wi().ri(a,b)} + function Ije(a,b){return a.jk().wi().ti(a,b)} + function Lfb(a,b){return uFb(a),dE(a)===dE(b)} + function lhb(a,b){return uFb(a),dE(a)===dE(b)} + function mEb(a,b){return a.b.Bd(new pEb(a,b))} + function sEb(a,b){return a.b.Bd(new vEb(a,b))} + function yEb(a,b){return a.b.Bd(new BEb(a,b))} + function Bk(a,b){return a.e=RD(a.d.Kb(b),159)} + function uhb(a,b,c){return a.lastIndexOf(b,c)} + function wWb(a,b,c){return Qfb(a[b.a],a[c.a])} + function TWb(a,b){return pQb(b,(yCc(),gAc),a)} + function Lpc(a,b){return hgb(b.a.d.p,a.a.d.p)} + function Kpc(a,b){return hgb(a.a.d.p,b.a.d.p)} + function zTc(a,b){return Qfb(a.c-a.s,b.c-b.s)} + function qWc(a,b){return Qfb(a.b.e.a,b.b.e.a)} + function sWc(a,b){return Qfb(a.c.e.a,b.c.e.a)} + function $2b(a){return !a.c?-1:Wmb(a.c.a,a,0)} + function Cod(a){return a==vod||a==xod||a==wod} + function CMd(a,b){this.c=a;nMd.call(this,a,b);} + function fq(a,b,c){this.a=a;qc.call(this,b,c);} + function YDb(a){this.c=a;xxb.call(this,Sve,0);} + function rk(a,b,c){this.c=b;this.b=c;this.a=a;} + function DMc(a){dMc();this.d=a;this.a=new wmb;} + function ho(a){_l();this.a=(yob(),new Lqb(a));} + function Xmc(a,b){Dmd(a.f)?Ymc(a,b):Zmc(a,b);} + function Lxb(a,b){Mxb.call(this,a,a.length,b);} + function nBb(a,b){if(dBb){return}!!b&&(a.d=b);} + function ZNd(a,b){return ZD(b,15)&&_Gd(a.c,b)} + function AVd(a,b,c){return RD(a.c,71).Wk(b,c)} + function BVd(a,b,c){return RD(a.c,71).Xk(b,c)} + function mge(a,b,c){return lge(a,RD(b,343),c)} + function oge(a,b,c){return nge(a,RD(b,343),c)} + function Ige(a,b,c){return Hge(a,RD(b,343),c)} + function Kge(a,b,c){return Jge(a,RD(b,343),c)} + function Fn(a,b){return b==null?null:Xv(a.b,b)} + function Qeb(a){return _D(a)?(uFb(a),a):a.ue()} + function Rfb(a){return !isNaN(a)&&!isFinite(a)} + function Zub(a){Lub(this);Xub(this);ye(this,a);} + function dnb(a){Pmb(this);YEb(this.c,0,a.Pc());} + function Fsb(a,b,c){this.a=a;this.b=b;this.c=c;} + function Vtb(a,b,c){this.a=a;this.b=b;this.c=c;} + function hvb(a,b,c){this.d=a;this.b=c;this.a=b;} + function aBb(a){this.a=a;gib();Hdb(Date.now());} + function wzb(a){Ckb(a.a);Yyb(a.c,a.b);a.b=null;} + function wvb(){wvb=geb;uvb=new xvb;vvb=new zvb;} + function KMd(){KMd=geb;JMd=$C(jJ,rve,1,0,5,1);} + function TTd(){TTd=geb;STd=$C(jJ,rve,1,0,5,1);} + function yUd(){yUd=geb;xUd=$C(jJ,rve,1,0,5,1);} + function _l(){_l=geb;new im((yob(),yob(),vob));} + function gAb(a){cAb();return ws((qAb(),pAb),a)} + function zBb(a){xBb();return ws((CBb(),BBb),a)} + function FHb(a){DHb();return ws((IHb(),HHb),a)} + function NHb(a){LHb();return ws((QHb(),PHb),a)} + function kIb(a){iIb();return ws((nIb(),mIb),a)} + function _Jb(a){ZJb();return ws((cKb(),bKb),a)} + function GKb(a){EKb();return ws((JKb(),IKb),a)} + function xLb(a){vLb();return ws((ALb(),zLb),a)} + function mMb(a){hMb();return ws((pMb(),oMb),a)} + function oOb(a){mOb();return ws((rOb(),qOb),a)} + function KPb(a){IPb();return ws((NPb(),MPb),a)} + function KRb(a){IRb();return ws((NRb(),MRb),a)} + function XRb(a){VRb();return ws(($Rb(),ZRb),a)} + function VUb(a){TUb();return ws((YUb(),XUb),a)} + function CWb(a){AWb();return ws((FWb(),EWb),a)} + function uXb(a){sXb();return ws((xXb(),wXb),a)} + function tZb(a){nZb();return ws((wZb(),vZb),a)} + function W$b(a){U$b();return ws((Z$b(),Y$b),a)} + function Mb(a,b){if(!a){throw Adb(new agb(b))}} + function Vb(a){if(!a){throw Adb(new dgb(tve))}} + function rFb(a,b){if(a!=b){throw Adb(new Jrb)}} + function KQb(a,b,c){this.a=a;this.b=b;this.c=c;} + function lRb(a,b,c){this.a=a;this.b=b;this.c=c;} + function h7b(a,b,c){this.a=a;this.b=b;this.c=c;} + function J0b(a,b,c){this.b=a;this.a=b;this.c=c;} + function dNb(a,b,c){this.b=a;this.c=b;this.a=c;} + function oac(a,b,c){this.a=a;this.b=b;this.c=c;} + function F1b(a,b,c){this.e=b;this.b=a;this.d=c;} + function Ecc(a,b,c){this.b=a;this.a=b;this.c=c;} + function UDb(a,b,c){xDb();a.a.Yd(b,c);return b} + function CJb(a){var b;b=new BJb;b.e=a;return b} + function _Nb(a){var b;b=new YNb;b.b=a;return b} + function U9b(){U9b=geb;S9b=new bac;T9b=new eac;} + function Rec(){Rec=geb;Qec=new efc;Pec=new jfc;} + function lkc(){lkc=geb;jkc=new Mkc;kkc=new Okc;} + function loc(a){joc();return ws((ooc(),noc),a)} + function kcc(a){hcc();return ws((ncc(),mcc),a)} + function yec(a){vec();return ws((Bec(),Aec),a)} + function gnc(a){enc();return ws((jnc(),inc),a)} + function Enc(a){Bnc();return ws((Hnc(),Gnc),a)} + function gpc(a){epc();return ws((jpc(),ipc),a)} + function dtc(a){btc();return ws((gtc(),ftc),a)} + function ltc(a){jtc();return ws((otc(),ntc),a)} + function xtc(a){stc();return ws((Atc(),ztc),a)} + function Gtc(a){Etc();return ws((Jtc(),Itc),a)} + function Utc(a){Ptc();return ws((Xtc(),Wtc),a)} + function auc(a){$tc();return ws((duc(),cuc),a)} + function avc(a){$uc();return ws((dvc(),cvc),a)} + function qvc(a){ovc();return ws((tvc(),svc),a)} + function zvc(a){xvc();return ws((Cvc(),Bvc),a)} + function Ivc(a){Gvc();return ws((Lvc(),Kvc),a)} + function Qvc(a){Ovc();return ws((Tvc(),Svc),a)} + function Quc(a){Ouc();return ws((Tuc(),Suc),a)} + function juc(a){huc();return ws((muc(),luc),a)} + function wuc(a){tuc();return ws((zuc(),yuc),a)} + function Euc(a){Cuc();return ws((Huc(),Guc),a)} + function exc(a){cxc();return ws((hxc(),gxc),a)} + function eDc(a){_Cc();return ws((hDc(),gDc),a)} + function oDc(a){lDc();return ws((rDc(),qDc),a)} + function ADc(a){wDc();return ws((DDc(),CDc),a)} + function ODc(a){JDc();return ws((RDc(),QDc),a)} + function cEc(a){aEc();return ws((fEc(),eEc),a)} + function mEc(a){kEc();return ws((pEc(),oEc),a)} + function uEc(a){sEc();return ws((xEc(),wEc),a)} + function DEc(a){BEc();return ws((GEc(),FEc),a)} + function MEc(a){KEc();return ws((PEc(),OEc),a)} + function VEc(a){TEc();return ws((YEc(),XEc),a)} + function nFc(a){lFc();return ws((qFc(),pFc),a)} + function wFc(a){uFc();return ws((zFc(),yFc),a)} + function FFc(a){DFc();return ws((IFc(),HFc),a)} + function TKc(a){RKc();return ws((WKc(),VKc),a)} + function uNc(a){sNc();return ws((xNc(),wNc),a)} + function yQc(a){wQc();return ws((BQc(),AQc),a)} + function GQc(a){EQc();return ws((JQc(),IQc),a)} + function hTc(a){fTc();return ws((kTc(),jTc),a)} + function fVc(a){dVc();return ws((iVc(),hVc),a)} + function bWc(a){YVc();return ws((eWc(),dWc),a)} + function ZYc(a){WYc();return ws((aZc(),_Yc),a)} + function NZc(a){LZc();return ws((QZc(),PZc),a)} + function u_c(a){s_c();return ws((x_c(),w_c),a)} + function C_c(a){A_c();return ws((F_c(),E_c),a)} + function C2c(a){x2c();return ws((F2c(),E2c),a)} + function j3c(a){g3c();return ws((m3c(),l3c),a)} + function j4c(a){g4c();return ws((m4c(),l4c),a)} + function _3c(a){Y3c();return ws((c4c(),b4c),a)} + function m5c(a){j5c();return ws((p5c(),o5c),a)} + function w5c(a){t5c();return ws((z5c(),y5c),a)} + function h6c(a){f6c();return ws((k6c(),j6c),a)} + function C6c(a){z6c();return ws((F6c(),E6c),a)} + function b7c(a){_6c();return ws((e7c(),d7c),a)} + function E8c(a){z8c();return ws((H8c(),G8c),a)} + function R8b(a){P8b();return ws((U8b(),T8b),a)} + function t3b(a){r3b();return ws((w3b(),v3b),a)} + function g9c(a){b9c();return ws((j9c(),i9c),a)} + function G9c(a){B9c();return ws((J9c(),I9c),a)} + function uad(a){sad();return ws((xad(),wad),a)} + function xbd(a){sbd();return ws((Abd(),zbd),a)} + function ibd(a){gbd();return ws((lbd(),kbd),a)} + function Gbd(a){Cbd();return ws((Jbd(),Ibd),a)} + function Obd(a){Mbd();return ws((Rbd(),Qbd),a)} + function Zbd(a){Xbd();return ws((acd(),_bd),a)} + function fdd(a){_cd();return ws((idd(),hdd),a)} + function qdd(a){ldd();return ws((tdd(),sdd),a)} + function $hd(a){Yhd();return ws((bid(),aid),a)} + function mid(a){kid();return ws((pid(),oid),a)} + function Tjd(a){Rjd();return ws((Wjd(),Vjd),a)} + function wkd(a){ukd();return ws((zkd(),ykd),a)} + function Hmd(a){Cmd();return ws((Kmd(),Jmd),a)} + function Qmd(a){Omd();return ws((Tmd(),Smd),a)} + function $md(a){Ymd();return ws((bnd(),and),a)} + function knd(a){ind();return ws((nnd(),mnd),a)} + function Hnd(a){Fnd();return ws((Knd(),Jnd),a)} + function Snd(a){Pnd();return ws((Vnd(),Und),a)} + function god(a){dod();return ws((jod(),iod),a)} + function rod(a){pod();return ws((uod(),tod),a)} + function Fod(a){Bod();return ws((Iod(),Hod),a)} + function Tod(a){Pod();return ws((Wod(),Vod),a)} + function wpd(a){qpd();return ws((zpd(),ypd),a)} + function Spd(a){Qpd();return ws((Vpd(),Upd),a)} + function fqd(a){dqd();return ws((iqd(),hqd),a)} + function oqd(a){mqd();return ws((rqd(),qqd),a)} + function zsc(a,b){return (uFb(a),a)+(uFb(b),b)} + function wqd(a){uqd();return ws((Eqd(),Dqd),a)} + function Ird(a){Grd();return ws((Lrd(),Krd),a)} + function vtd(a){ttd();return ws((ytd(),xtd),a)} + function dMc(){dMc=geb;bMc=(qpd(),ppd);cMc=Xod;} + function uqd(){uqd=geb;sqd=new zqd;tqd=new Bqd;} + function wJc(a){!a.e&&(a.e=new bnb);return a.e} + function BTc(a,b){this.c=a;this.a=b;this.b=b-a;} + function g8c(a,b,c){this.a=a;this.b=b;this.c=c;} + function gud(a,b,c){this.a=a;this.b=b;this.c=c;} + function Wdd(a,b,c){this.a=a;this.b=b;this.c=c;} + function ced(a,b,c){this.a=a;this.b=b;this.c=c;} + function pFd(a,b,c){this.a=a;this.b=b;this.c=c;} + function ZPd(a,b,c){this.a=a;this.b=b;this.c=c;} + function g7d(a,b,c){this.e=a;this.a=b;this.c=c;} + function K7d(a,b,c){s7d();C7d.call(this,a,b,c);} + function f9d(a,b,c){s7d();O8d.call(this,a,b,c);} + function r9d(a,b,c){s7d();O8d.call(this,a,b,c);} + function x9d(a,b,c){s7d();O8d.call(this,a,b,c);} + function h9d(a,b,c){s7d();f9d.call(this,a,b,c);} + function j9d(a,b,c){s7d();f9d.call(this,a,b,c);} + function l9d(a,b,c){s7d();j9d.call(this,a,b,c);} + function t9d(a,b,c){s7d();r9d.call(this,a,b,c);} + function z9d(a,b,c){s7d();x9d.call(this,a,b,c);} + function S2b(a){J2b.call(this,a.d,a.c,a.a,a.b);} + function B3b(a){J2b.call(this,a.d,a.c,a.a,a.b);} + function Og(a){this.d=a;Lg(this);this.b=ed(a.d);} + function cGd(a){aGd();return ws((fGd(),eGd),a)} + function gk(a,b){Qb(a);Qb(b);return new hk(a,b)} + function dr(a,b){Qb(a);Qb(b);return new mr(a,b)} + function hr(a,b){Qb(a);Qb(b);return new sr(a,b)} + function Dr(a,b){Qb(a);Qb(b);return new Rr(a,b)} + function Uub(a){sFb(a.b!=0);return Wub(a,a.a.a)} + function Vub(a){sFb(a.b!=0);return Wub(a,a.c.b)} + function q$d(a){!a.c&&(a.c=new X9d);return a.c} + function cv(a){var b;b=new bnb;xr(b,a);return b} + function Vx(a){var b;b=new _sb;xr(b,a);return b} + function Yx(a){var b;b=new xAb;_q(b,a);return b} + function gv(a){var b;b=new Yub;_q(b,a);return b} + function RD(a,b){CFb(a==null||QD(a,b));return a} + function Mxb(a,b,c){Axb.call(this,b,c);this.a=a;} + function kB(a,b){this.c=a;this.b=b;this.a=false;} + function hCb(){this.a=';,;';this.b='';this.c='';} + function $Cb(a,b,c){this.b=a;pxb.call(this,b,c);} + function uub(a,b,c){this.c=a;xlb.call(this,b,c);} + function fZb(a,b,c){eZb.call(this,a,b);this.b=c;} + function YEb(a,b,c){VEb(c,0,a,b,c.length,false);} + function JYb(a,b,c,d,e){a.b=b;a.c=c;a.d=d;a.a=e;} + function D2b(a,b,c,d,e){a.d=b;a.c=c;a.a=d;a.b=e;} + function XDb(a,b){if(b){a.b=b;a.a=(LCb(b),b.a);}} + function mFb(a,b){if(!a){throw Adb(new agb(b))}} + function zFb(a,b){if(!a){throw Adb(new dgb(b))}} + function qFb(a,b){if(!a){throw Adb(new zeb(b))}} + function zqc(a,b){mqc();return hgb(a.d.p,b.d.p)} + function T0c(a,b){B0c();return Qfb(a.e.b,b.e.b)} + function U0c(a,b){B0c();return Qfb(a.e.a,b.e.a)} + function Xoc(a,b){return hgb(N3b(a.d),N3b(b.d))} + function Izb(a,b){return !!b&&Jzb(a,b.d)?b:null} + function $lc(a,b){return b==(qpd(),ppd)?a.c:a.d} + function Qdb(a){return Edb(yD(Kdb(a)?Wdb(a):a))} + function Nid(a){return new rjd(a.c+a.b,a.d+a.a)} + function GSd(a){return a!=null&&!mSd(a,aSd,bSd)} + function DSd(a,b){return (JSd(a)<<4|JSd(b))&Bwe} + function Rid(a,b,c,d,e){a.c=b;a.d=c;a.b=d;a.a=e;} + function y8b(a){var b,c;b=a.b;c=a.c;a.b=c;a.c=b;} + function B8b(a){var b,c;c=a.d;b=a.a;a.d=b;a.a=c;} + function u6d(a,b){var c;c=a.c;t6d(a,b);return c} + function Nqd(a,b){b<0?(a.g=-1):(a.g=b);return a} + function kjd(a,b){gjd(a);a.a*=b;a.b*=b;return a} + function hrc(a,b,c){grc.call(this,b,c);this.d=a;} + function PZd(a,b,c){kZd.call(this,a,b);this.c=c;} + function Kfe(a,b,c){kZd.call(this,a,b);this.c=c;} + function zUd(a){yUd();kUd.call(this);this.ci(a);} + function Yee(){ree();Zee.call(this,(YSd(),XSd));} + function Yse(a){Vse();return new Hte(0,a)} + function uke(){uke=geb;tke=(yob(),new mpb(eLe));} + function ux(){ux=geb;new wx((kl(),jl),(Wk(),Vk));} + function ugb(){ugb=geb;tgb=$C(bJ,Nve,17,256,0,1);} + function zUb(){this.b=Kfb(UD(iGd((yVb(),sVb))));} + function Pq(a){this.b=a;this.a=gn(this.b.a).Od();} + function mr(a,b){this.b=a;this.a=b;zl.call(this);} + function sr(a,b){this.a=a;this.b=b;zl.call(this);} + function s_d(a,b,c){this.a=a;N$d.call(this,b,c);} + function n_d(a,b,c){this.a=a;N$d.call(this,b,c);} + function sDd(a,b,c){var d;d=new OC(c);sC(a,b,d);} + function _Eb(a,b,c){var d;d=a[b];a[b]=c;return d} + function UEb(a){var b;b=a.slice();return dD(b,a)} + function SJb(a){var b;b=a.n;return a.a.b+b.d+b.a} + function PKb(a){var b;b=a.n;return a.e.b+b.d+b.a} + function QKb(a){var b;b=a.n;return a.e.a+b.b+b.c} + function rub(a){a.a.b=a.b;a.b.a=a.a;a.a=a.b=null;} + function Mub(a,b){Pub(a,b,a.c.b,a.c);return true} + function w2b(a){if(a.a){return a.a}return R0b(a)} + function NSb(a){HSb();return JGd(a)==vCd(LGd(a))} + function OSb(a){HSb();return LGd(a)==vCd(JGd(a))} + function l_b(a,b){return k_b(a,new eZb(b.a,b.b))} + function xn(a,b){return fn(),ck(a,b),new zy(a,b)} + function fmc(a,b){return a.c=b){throw Adb(new web)}} + function JDb(a,b){return MDb(a,(uFb(b),new JAb(b)))} + function KDb(a,b){return MDb(a,(uFb(b),new LAb(b)))} + function prc(a,b,c){return qrc(a,RD(b,12),RD(c,12))} + function q4b(a){return J3b(),RD(a,12).g.c.length!=0} + function v4b(a){return J3b(),RD(a,12).e.c.length!=0} + function sdc(a,b){Zcc();return Qfb(b.a.o.a,a.a.o.a)} + function d_d(a,b){(b.Bb&QHe)!=0&&!a.a.o&&(a.a.o=b);} + function T3c(a,b){b.Ug("General 'Rotator",1);S3c(a);} + function MCc(a,b,c){b.qf(c,Kfb(UD(Wjb(a.b,c)))*a.a);} + function yid(a,b,c){tid();return xid(a,b)&&xid(a,c)} + function Rod(a){Pod();return !a.Hc(Lod)&&!a.Hc(Nod)} + function Nrc(a){if(a.e){return Src(a.e)}return null} + function Zdb(a){if(Kdb(a)){return ''+a}return GD(a)} + function XNc(a){var b;b=a;while(b.f){b=b.f;}return b} + function HBb(a,b,c){bD(b,0,tCb(b[0],c[0]));return b} + function Gpc(a,b,c,d){var e;e=a.i;e.i=b;e.a=c;e.b=d;} + function C5d(a,b,c,d){XZd.call(this,a,b,c);this.b=d;} + function N3d(a,b,c,d,e){O3d.call(this,a,b,c,d,e,-1);} + function b4d(a,b,c,d,e){c4d.call(this,a,b,c,d,e,-1);} + function Iie(a,b,c,d){PZd.call(this,a,b,c);this.b=d;} + function Xde(a){uId.call(this,a,false);this.a=false;} + function Bqd(){vqd.call(this,'LOOKAHEAD_LAYOUT',1);} + function nNd(a){this.b=a;mMd.call(this,a);mNd(this);} + function vNd(a){this.b=a;BMd.call(this,a);uNd(this);} + function J5d(a,b,c){this.a=a;G5d.call(this,b,c,5,6);} + function wje(a,b,c,d){this.b=a;XZd.call(this,b,c,d);} + function Tj(a,b){this.b=a;Aj.call(this,a.b);this.a=b;} + function NLc(a){this.a=LLc(a.a);this.b=new dnb(a.b);} + function Fx(a,b){tm();Ex.call(this,a,Pm(new mob(b)));} + function _se(a,b){Vse();return new aue(a,b,0)} + function bte(a,b){Vse();return new aue(6,a,b)} + function Ztb(a,b){uFb(b);while(a.Ob()){b.Cd(a.Pb());}} + function Ujb(a,b){return bE(b)?Yjb(a,b):!!qtb(a.f,b)} + function O_d(a,b){return b.Vh()?Vvd(a.b,RD(b,54)):b} + function whb(a,b){return lhb(a.substr(0,b.length),b)} + function Fl(a){return new is(new Il(a.a.length,a.a))} + function Oid(a){return new rjd(a.c+a.b/2,a.d+a.a/2)} + function yD(a){return hD(~a.l&dxe,~a.m&dxe,~a.h&exe)} + function cE(a){return typeof a===gve||typeof a===kve} + function akb(a){a.f=new ttb(a);a.i=new Ntb(a);++a.g;} + function Klb(a){if(!a){throw Adb(new Dvb)}return a.d} + function smb(a){var b;b=omb(a);sFb(b!=null);return b} + function tmb(a){var b;b=pmb(a);sFb(b!=null);return b} + function tv(a,b){var c;c=a.a.gc();Sb(b,c);return c-b} + function Ysb(a,b){var c;c=a.a.zc(b,a);return c==null} + function rAb(a,b){return a.a.zc(b,(Geb(),Eeb))==null} + function _nb(a){return new SDb(null,$nb(a,a.length))} + function yPb(a,b,c){return zPb(a,RD(b,42),RD(c,176))} + function Wrb(a,b,c){zsb(a.a,b);return _Eb(a.b,b.g,c)} + function fyb(a,b,c){lyb(c,a.a.c.length);$mb(a.a,c,b);} + function Knb(a,b,c,d){nFb(b,c,a.length);Onb(a,b,c,d);} + function Onb(a,b,c,d){var e;for(e=b;e0?$wnd.Math.log(a/b):-100} + function Agb(a,b){return Ddb(a,b)<0?-1:Ddb(a,b)>0?1:0} + function Dge(a,b){hZd(a,ZD(b,160)?b:RD(b,2036).Rl());} + function vFb(a,b){if(a==null){throw Adb(new Ogb(b))}} + function $nb(a,b){return jxb(b,a.length),new Gxb(a,b)} + function hsc(a,b){if(!b){return false}return ye(a,b)} + function Gs(){zs();return cD(WC(RG,1),jwe,549,0,[ys])} + function Xib(a){return a.e==0?a:new cjb(-a.e,a.d,a.a)} + function $Nb(a,b){return Qfb(a.c.c+a.c.b,b.c.c+b.c.b)} + function cvb(a,b){Pub(a.d,b,a.b.b,a.b);++a.a;a.c=null;} + function JCb(a,b){!a.c?Rmb(a.b,b):JCb(a.c,b);return a} + function KB(a,b,c){var d;d=JB(a,b);LB(a,b,c);return d} + function Rnb(a,b,c){var d;for(d=0;d=a.g} + function bD(a,b,c){pFb(c==null||VC(a,c));return a[b]=c} + function yhb(a,b){BFb(b,a.length+1);return a.substr(b)} + function yxb(a,b){uFb(b);while(a.c=a){return new rDb}return iDb(a-1)} + function Y2b(a){if(!a.a&&!!a.c){return a.c.b}return a.a} + function Zx(a){if(ZD(a,616)){return a}return new sy(a)} + function LCb(a){if(!a.c){MCb(a);a.d=true;}else {LCb(a.c);}} + function ICb(a){if(!a.c){a.d=true;KCb(a);}else {a.c.$e();}} + function bHb(a){a.b=false;a.c=false;a.d=false;a.a=false;} + function uMc(a){var b,c;b=a.c.i.c;c=a.d.i.c;return b==c} + function _vd(a,b){var c;c=a.Ih(b);c>=0?a.ki(c):Tvd(a,b);} + function mtd(a,b){a.c<0||a.b.b0){a=a<<1|(a<0?1:0);}return a} + function BGc(a,b){var c;c=new R4b(a);ZEb(b.c,c);return c} + function FMb(a,b){a.u.Hc((Pod(),Lod))&&DMb(a,b);HMb(a,b);} + function Fvb(a,b){return dE(a)===dE(b)||a!=null&&pb(a,b)} + function Vrb(a,b){return Bsb(a.a,b)?a.b[RD(b,22).g]:null} + function YRb(){VRb();return cD(WC($O,1),jwe,489,0,[URb])} + function ybd(){sbd();return cD(WC(M1,1),jwe,490,0,[rbd])} + function Hbd(){Cbd();return cD(WC(N1,1),jwe,558,0,[Bbd])} + function gdd(){_cd();return cD(WC(V1,1),jwe,539,0,[$cd])} + function iyd(a){!a.n&&(a.n=new C5d(I4,a,1,7));return a.n} + function wCd(a){!a.c&&(a.c=new C5d(K4,a,9,9));return a.c} + function mzd(a){!a.c&&(a.c=new Yie(E4,a,5,8));return a.c} + function lzd(a){!a.b&&(a.b=new Yie(E4,a,4,7));return a.b} + function Sed(a){a.j.c.length=0;Ae(a.c);sfd(a.a);return a} + function Afe(a){a.e==fLe&&Gfe(a,Aee(a.g,a.b));return a.e} + function Bfe(a){a.f==fLe&&Hfe(a,Bee(a.g,a.b));return a.f} + function xBd(a,b,c,d){wBd(a,b,c,false);j1d(a,d);return a} + function oNd(a,b){this.b=a;nMd.call(this,a,b);mNd(this);} + function wNd(a,b){this.b=a;CMd.call(this,a,b);uNd(this);} + function Kmb(a){this.d=a;this.a=this.d.b;this.b=this.d.c;} + function oy(a,b){this.b=a;this.c=b;this.a=new Osb(this.b);} + function ihb(a,b){BFb(b,a.length);return a.charCodeAt(b)} + function NDd(a,b){CGd(a,Kfb(vDd(b,'x')),Kfb(vDd(b,'y')));} + function $Dd(a,b){CGd(a,Kfb(vDd(b,'x')),Kfb(vDd(b,'y')));} + function CDb(a,b){MCb(a);return new SDb(a,new hEb(b,a.a))} + function GDb(a,b){MCb(a);return new SDb(a,new zEb(b,a.a))} + function HDb(a,b){MCb(a);return new WCb(a,new nEb(b,a.a))} + function IDb(a,b){MCb(a);return new oDb(a,new tEb(b,a.a))} + function Ty(a,b){return new Ry(RD(Qb(a),50),RD(Qb(b),50))} + function nHb(a,b){return Qfb(a.d.c+a.d.b/2,b.d.c+b.d.b/2)} + function gTb(a,b,c){c.a?Eyd(a,b.b-a.f/2):Dyd(a,b.a-a.g/2);} + function WYb(a,b){return Qfb(a.g.c+a.g.b/2,b.g.c+b.g.b/2)} + function RZb(a,b){NZb();return Qfb((uFb(a),a),(uFb(b),b))} + function wSd(a){return a!=null&&tpb(eSd,a.toLowerCase())} + function Ae(a){var b;for(b=a.Kc();b.Ob();){b.Pb();b.Qb();}} + function Ih(a){var b;b=a.b;!b&&(a.b=b=new Xh(a));return b} + function R0b(a){var b;b=Z5b(a);if(b){return b}return null} + function BSb(a,b){var c,d;c=a/b;d=eE(c);c>d&&++d;return d} + function Ck(a,b,c){var d;d=RD(a.d.Kb(c),159);!!d&&d.Nb(b);} + function Vhc(a,b,c){tqc(a.a,c);Jpc(c);Kqc(a.b,c);bqc(b,c);} + function oNc(a,b,c,d){this.a=a;this.c=b;this.b=c;this.d=d;} + function ROc(a,b,c,d){this.c=a;this.b=b;this.a=c;this.d=d;} + function uPc(a,b,c,d){this.c=a;this.b=b;this.d=c;this.a=d;} + function Uid(a,b,c,d){this.c=a;this.d=b;this.b=c;this.a=d;} + function GTc(a,b,c,d){this.a=a;this.d=b;this.c=c;this.b=d;} + function t1b(a,b,c,d){this.a=a;this.e=b;this.d=c;this.c=d;} + function $td(a,b,c,d){this.a=a;this.c=b;this.d=c;this.b=d;} + function ehb(a,b,c){this.a=ywe;this.d=a;this.b=b;this.c=c;} + function fpc(a,b,c,d){qs.call(this,a,b);this.a=c;this.b=d;} + function Uwb(a,b){this.d=(uFb(a),a);this.a=16449;this.c=b;} + function CIc(a){this.a=new bnb;this.e=$C(kE,Nve,53,a,0,2);} + function ELc(a){a.Ug('No crossing minimization',1);a.Vg();} + function Evb(){yz.call(this,'There is no more element.');} + function OEd(a,b,c,d){this.a=a;this.b=b;this.c=c;this.d=d;} + function PEd(a,b,c,d){this.a=a;this.b=b;this.c=c;this.d=d;} + function h7d(a,b,c,d){this.e=a;this.a=b;this.c=c;this.d=d;} + function x7d(a,b,c,d){this.a=a;this.c=b;this.d=c;this.b=d;} + function C8d(a,b,c,d){s7d();M7d.call(this,b,c,d);this.a=a;} + function J8d(a,b,c,d){s7d();M7d.call(this,b,c,d);this.a=a;} + function lwd(a,b,c){var d,e;d=oSd(a);e=b.ti(c,d);return e} + function lBd(a){var b,c;c=(b=new s2d,b);l2d(c,a);return c} + function mBd(a){var b,c;c=(b=new s2d,b);p2d(c,a);return c} + function HDd(a,b){var c;c=Wjb(a.f,b);wEd(b,c);return null} + function uCd(a){!a.b&&(a.b=new C5d(G4,a,12,3));return a.b} + function VD(a){CFb(a==null||cE(a)&&!(a.Tm===keb));return a} + function gz(a){if(a.n){a.e!==rwe&&a.je();a.j=null;}return a} + function Ng(a){ig(a.d);if(a.d.d!=a.c){throw Adb(new Jrb)}} + function Bkb(a){sFb(a.b0&&wPd(this);} + function Vg(a,b){this.a=a;Pg.call(this,a,RD(a.d,15).fd(b));} + function lrd(a,b){return Qfb(urd(a)*trd(a),urd(b)*trd(b))} + function mrd(a,b){return Qfb(urd(a)*trd(a),urd(b)*trd(b))} + function n5b(a){return ozd(a)&&Heb(TD(Gxd(a,(yCc(),OAc))))} + function Sfc(a,b){return Rc(a,RD(mQb(b,(yCc(),tBc)),17),b)} + function lic(a,b){RD(mQb(a,(Ywc(),qwc)),15).Fc(b);return b} + function C2b(a,b){a.b=b.b;a.c=b.c;a.d=b.d;a.a=b.a;return a} + function cEb(a,b,c,d){this.b=a;this.c=d;xxb.call(this,b,c);} + function Ulc(a,b,c){a.i=0;a.e=0;if(b==c){return}Qlc(a,b,c);} + function Vlc(a,b,c){a.i=0;a.e=0;if(b==c){return}Rlc(a,b,c);} + function akc(a,b,c){Wjc();return _Gb(RD(Wjb(a.e,b),529),c)} + function nd(a){var b;return b=a.f,!b?(a.f=new ne(a,a.c)):b} + function nTc(a,b){return VTc(a.j,b.s,b.c)+VTc(b.e,a.s,a.c)} + function Rrc(a,b){if(!!a.e&&!a.e.a){Prc(a.e,b);Rrc(a.e,b);}} + function Qrc(a,b){if(!!a.d&&!a.d.a){Prc(a.d,b);Qrc(a.d,b);}} + function krd(a,b){return -Qfb(urd(a)*trd(a),urd(b)*trd(b))} + function gtd(a){return RD(a.ld(),149).Pg()+':'+jeb(a.md())} + function EBd(){BBd(this,new yAd);this.wb=(lTd(),kTd);jTd();} + function G7b(a){this.b=new bnb;Tmb(this.b,this.b);this.a=a;} + function WWc(a,b){new Yub;this.a=new Ejd;this.b=a;this.c=b;} + function urb(){urb=geb;rrb=new wrb;srb=new wrb;trb=new Brb;} + function yob(){yob=geb;vob=new Job;wob=new apb;xob=new ipb;} + function FGb(){FGb=geb;CGb=new AGb;EGb=new fHb;DGb=new YGb;} + function HSb(){HSb=geb;GSb=new bnb;FSb=new Tsb;ESb=new bnb;} + function Rb(a,b){if(a==null){throw Adb(new Ogb(b))}return a} + function tCd(a){!a.a&&(a.a=new C5d(J4,a,10,11));return a.a} + function uYd(a){!a.q&&(a.q=new C5d(s7,a,11,10));return a.q} + function xYd(a){!a.s&&(a.s=new C5d(y7,a,21,17));return a.s} + function er(a){Qb(a);return Er(new is(Mr(a.a.Kc(),new ir)))} + function hfd(a,b){rb(a);rb(b);return ns(RD(a,22),RD(b,22))} + function qDd(a,b,c){var d,e;d=Qeb(c);e=new hC(d);sC(a,b,e);} + function d4d(a,b,c,d,e,f){c4d.call(this,a,b,c,d,e,f?-2:-1);} + function sje(a,b,c,d){kZd.call(this,b,c);this.b=a;this.a=d;} + function Ry(a,b){wi.call(this,new ezb(a));this.a=a;this.b=b;} + function Gu(a){this.b=a;this.c=a;a.e=null;a.c=null;this.a=1;} + function Dkc(a){lkc();var b;b=RD(a.g,10);b.n.a=a.d.c+b.d.b;} + function fA(){fA=geb;var a,b;b=!lA();a=new tA;eA=b?new mA:a;} + function Hob(a){yob();return ZD(a,59)?new irb(a):new Upb(a)} + function Ux(a){return ZD(a,16)?new btb(RD(a,16)):Vx(a.Kc())} + function Vi(a){return new ij(a,a.e.Rd().gc()*a.c.Rd().gc())} + function fj(a){return new sj(a,a.e.Rd().gc()*a.c.Rd().gc())} + function Iz(a){return !!a&&!!a.hashCode?a.hashCode():kFb(a)} + function Yjb(a,b){return b==null?!!qtb(a.f,null):Jtb(a.i,b)} + function hYb(a,b){var c;c=$sb(a.a,b);c&&(b.d=null);return c} + function MGb(a,b,c){if(a.f){return a.f.ef(b,c)}return false} + function cFc(a,b,c,d){bD(a.c[b.g],c.g,d);bD(a.c[c.g],b.g,d);} + function fFc(a,b,c,d){bD(a.c[b.g],b.g,c);bD(a.b[b.g],b.g,d);} + function sXc(a,b,c){return Kfb(UD(c.a))<=a&&Kfb(UD(c.b))>=b} + function yJc(a,b){this.g=a;this.d=cD(WC(jR,1),WAe,10,0,[b]);} + function lHb(a){this.c=a;this.b=new yAb(RD(Qb(new oHb),50));} + function UYb(a){this.c=a;this.b=new yAb(RD(Qb(new XYb),50));} + function $Qb(a){this.b=a;this.a=new yAb(RD(Qb(new bRb),50));} + function tRc(){this.b=new _sb;this.d=new Yub;this.e=new Fyb;} + function VTb(){this.c=new pjd;this.d=new pjd;this.e=new pjd;} + function a1b(){this.a=new Ejd;this.b=(dk(3,iwe),new cnb(3));} + function i7d(a,b){this.e=a;this.a=jJ;this.b=pje(b);this.c=b;} + function Vid(a){this.c=a.c;this.d=a.d;this.b=a.b;this.a=a.a;} + function VLd(a,b,c,d,e,f){this.a=a;NKd.call(this,b,c,d,e,f);} + function aLd(a,b,c,d,e,f){this.a=a;NKd.call(this,b,c,d,e,f);} + function fge(a,b,c,d,e,f,g){return new lle(a.e,b,c,d,e,f,g)} + function xhb(a,b,c){return c>=0&&lhb(a.substr(c,b.length),b)} + function hGd(a,b){return ZD(b,149)&&lhb(a.b,RD(b,149).Pg())} + function Tde(a,b){return a.a?b.Gh().Kc():RD(b.Gh(),71).Ii()} + function Qqb(a,b){var c;c=a.b.Qc(b);Rqb(c,a.b.gc());return c} + function Ivb(a,b){if(a==null){throw Adb(new Ogb(b))}return a} + function zYd(a){if(!a.u){yYd(a);a.u=new w0d(a,a);}return a.u} + function Kx(a){this.a=(yob(),ZD(a,59)?new irb(a):new Upb(a));} + function Uwd(a){var b;b=RD(Ywd(a,16),29);return !b?a.ii():b} + function lz(a,b){var c;c=nfb(a.Rm);return b==null?c:c+': '+b} + function zhb(a,b,c){AFb(b,c,a.length);return a.substr(b,c-b)} + function VKb(a,b){RJb.call(this);KKb(this);this.a=a;this.c=b;} + function neb(a){!a?vve:lz(a,a.ie());} + function Wz(a){Qz();$wnd.setTimeout(function(){throw a},0);} + function GHb(){DHb();return cD(WC(uN,1),jwe,436,0,[CHb,BHb])} + function OHb(){LHb();return cD(WC(vN,1),jwe,435,0,[JHb,KHb])} + function WUb(){TUb();return cD(WC(BP,1),jwe,432,0,[RUb,SUb])} + function S8b(){P8b();return cD(WC(vS,1),jwe,517,0,[O8b,N8b])} + function Rvc(){Ovc();return cD(WC(lX,1),jwe,429,0,[Mvc,Nvc])} + function buc(){$tc();return cD(WC(cX,1),jwe,428,0,[Ytc,Ztc])} + function mtc(){jtc();return cD(WC($W,1),jwe,431,0,[htc,itc])} + function vEc(){sEc();return cD(WC(xX,1),jwe,430,0,[qEc,rEc])} + function vNc(){sNc();return cD(WC(MY,1),jwe,531,0,[rNc,qNc])} + function D2c(){x2c();return cD(WC(s0,1),jwe,501,0,[v2c,w2c])} + function zQc(){wQc();return cD(WC(FZ,1),jwe,523,0,[vQc,uQc])} + function HQc(){EQc();return cD(WC(GZ,1),jwe,522,0,[CQc,DQc])} + function iTc(){fTc();return cD(WC(b$,1),jwe,528,0,[eTc,dTc])} + function Fuc(){Cuc();return cD(WC(fX,1),jwe,488,0,[Buc,Auc])} + function F8c(){z8c();return cD(WC(l1,1),jwe,491,0,[x8c,y8c])} + function H9c(){B9c();return cD(WC(t1,1),jwe,492,0,[z9c,A9c])} + function D_c(){A_c();return cD(WC(K_,1),jwe,433,0,[z_c,y_c])} + function a4c(){Y3c();return cD(WC(H0,1),jwe,434,0,[W3c,X3c])} + function gVc(){dVc();return cD(WC(w$,1),jwe,465,0,[bVc,cVc])} + function Pbd(){Mbd();return cD(WC(O1,1),jwe,438,0,[Lbd,Kbd])} + function rdd(){ldd();return cD(WC(W1,1),jwe,437,0,[kdd,jdd])} + function xqd(){uqd();return cD(WC(M3,1),jwe,347,0,[sqd,tqd])} + function Jvd(a,b,c,d){return c>=0?a.Uh(b,c,d):a.Ch(null,c,d)} + function ltd(a){if(a.b.b==0){return a.a.sf()}return Uub(a.b)} + function vKd(a){if(a.p!=5)throw Adb(new cgb);return Ydb(a.f)} + function EKd(a){if(a.p!=5)throw Adb(new cgb);return Ydb(a.k)} + function P$d(a){dE(a.a)===dE((lYd(),kYd))&&Q$d(a);return a.a} + function iad(a,b){a.b=b;a.c>0&&a.b>0&&(a.g=Aad(a.c,a.b,a.a));} + function jad(a,b){a.c=b;a.c>0&&a.b>0&&(a.g=Aad(a.c,a.b,a.a));} + function BUc(a,b){yUc(this,new rjd(a.a,a.b));zUc(this,gv(b));} + function Tp(){Sp.call(this,new Usb(Sv(12)));Lb(true);this.a=2;} + function eue(a,b,c){Vse();Wse.call(this,a);this.b=b;this.a=c;} + function C7d(a,b,c){s7d();t7d.call(this,b);this.a=a;this.b=c;} + function qub(a){var b;b=a.c.d.b;a.b=b;a.a=a.c.d;b.a=a.c.d.b=a;} + function Tub(a){return a.b==0?null:(sFb(a.b!=0),Wub(a,a.a.a))} + function Xjb(a,b){return b==null?Wd(qtb(a.f,null)):Ktb(a.i,b)} + function bzb(a,b,c,d,e){return new Kzb(a,(cAb(),aAb),b,c,d,e)} + function Fnb(a,b){oFb(b);return Hnb(a,$C(kE,Pwe,28,b,15,1),b)} + function Tx(a,b){Rb(a,'set1');Rb(b,'set2');return new ey(a,b)} + function Kz(a,b){var c=Jz[a.charCodeAt(0)];return c==null?a:c} + function Xyb(a,b){var c,d;c=b;d=new Gzb;Zyb(a,c,d);return d.d} + function EMb(a,b,c,d){var e;e=new TJb;b.a[c.g]=e;Wrb(a.b,d,e);} + function SXb(a,b){var c;c=BXb(a.f,b);return $id(fjd(c),a.f.d)} + function RFb(a){var b;EJb(a.a);DJb(a.a);b=new PJb(a.a);LJb(b);} + function _Mb(a,b){$Mb(a,true);Umb(a.e.Rf(),new dNb(a,true,b));} + function PSb(a,b){HSb();return a==vCd(JGd(b))||a==vCd(LGd(b))} + function R0c(a,b){B0c();return RD(mQb(b,(h_c(),f_c)),17).a==a} + function eE(a){return Math.max(Math.min(a,lve),-2147483648)|0} + function sy(a){this.a=RD(Qb(a),277);this.b=(yob(),new jrb(a));} + function qbd(a,b,c){this.i=new bnb;this.b=a;this.g=b;this.a=c;} + function had(a,b,c){this.a=new bnb;this.e=a;this.f=b;this.c=c;} + function _9c(a,b,c){this.c=new bnb;this.e=a;this.f=b;this.b=c;} + function TKb(a){RJb.call(this);KKb(this);this.a=a;this.c=true;} + function ieb(a){function b(){} + b.prototype=a||{};return new b} + function zfb(a){if(a.Ae()){return null}var b=a.n;return eeb[b]} + function kzd(a){if(a.Db>>16!=3)return null;return RD(a.Cb,27)} + function MCd(a){if(a.Db>>16!=9)return null;return RD(a.Cb,27)} + function Fzd(a){if(a.Db>>16!=6)return null;return RD(a.Cb,74)} + function dVc(){dVc=geb;bVc=new eVc(Nye,0);cVc=new eVc(Oye,1);} + function wQc(){wQc=geb;vQc=new xQc(Oye,0);uQc=new xQc(Nye,1);} + function EQc(){EQc=geb;CQc=new FQc(Zye,0);DQc=new FQc('UP',1);} + function Is(){Is=geb;Hs=ss((zs(),cD(WC(RG,1),jwe,549,0,[ys])));} + function Wx(a){var b;b=new atb(Sv(a.length));zob(b,a);return b} + function B2b(a,b){a.b+=b.b;a.c+=b.c;a.d+=b.d;a.a+=b.a;return a} + function qmb(a,b){if(kmb(a,b)){Jmb(a);return true}return false} + function qC(a,b){if(b==null){throw Adb(new Ngb)}return rC(a,b)} + function nB(a,b){var c;c=a.q.getHours();a.q.setDate(b);mB(a,c);} + function Xvd(a,b,c){var d;d=a.Ih(b);d>=0?a.bi(d,c):Svd(a,b,c);} + function Lvd(a,b){var c;c=a.Ih(b);return c>=0?a.Wh(c):Rvd(a,b)} + function zo(a,b){var c;Qb(b);for(c=a.a;c;c=c.c){b.Yd(c.g,c.i);}} + function pMc(a,b,c){var d;d=qMc(a,b,c);a.b=new _Lc(d.c.length);} + function HId(a,b,c){EId();!!a&&Zjb(DId,a,b);!!a&&Zjb(CId,a,c);} + function bfc(a,b){Rec();return Geb(),RD(b.a,17).a0} + function sId(a){var b;b=a.d;b=a.bj(a.f);WGd(a,b);return b.Ob()} + function bHd(a,b){var c;c=new Kub(b);Ve(c,a);return new dnb(c)} + function qKd(a){if(a.p!=0)throw Adb(new cgb);return Pdb(a.f,0)} + function zKd(a){if(a.p!=0)throw Adb(new cgb);return Pdb(a.k,0)} + function gBd(a){if(a.Db>>16!=7)return null;return RD(a.Cb,241)} + function xXd(a){if(a.Db>>16!=6)return null;return RD(a.Cb,241)} + function dCd(a){if(a.Db>>16!=7)return null;return RD(a.Cb,167)} + function vCd(a){if(a.Db>>16!=11)return null;return RD(a.Cb,27)} + function uWd(a){if(a.Db>>16!=17)return null;return RD(a.Cb,29)} + function kVd(a){if(a.Db>>16!=3)return null;return RD(a.Cb,155)} + function BDb(a){var b;MCb(a);b=new _sb;return CDb(a,new aEb(b))} + function xfb(a,b){var c=a.a=a.a||[];return c[b]||(c[b]=a.ve(b))} + function qB(a,b){var c;c=a.q.getHours();a.q.setMonth(b);mB(a,c);} + function oz(a,b){ez(this);this.f=b;this.g=a;gz(this);this.je();} + function TQb(a,b){this.a=a;this.c=ajd(this.a);this.b=new Vid(b);} + function aGb(a,b,c){this.a=b;this.c=a;this.b=(Qb(c),new dnb(c));} + function s$b(a,b,c){this.a=b;this.c=a;this.b=(Qb(c),new dnb(c));} + function _Kc(a){this.a=a;this.b=$C(qY,Nve,2043,a.e.length,0,2);} + function fGb(){this.a=new Iub;this.e=new _sb;this.g=0;this.i=0;} + function EId(){EId=geb;DId=new Tsb;CId=new Tsb;IId(zK,new JId);} + function KFc(){KFc=geb;JFc=nfd(new ufd,(sXb(),rXb),(hcc(),$bc));} + function RFc(){RFc=geb;QFc=nfd(new ufd,(sXb(),rXb),(hcc(),$bc));} + function gGc(){gGc=geb;fGc=nfd(new ufd,(sXb(),rXb),(hcc(),$bc));} + function ANc(){ANc=geb;zNc=pfd(new ufd,(sXb(),rXb),(hcc(),ybc));} + function dOc(){dOc=geb;cOc=pfd(new ufd,(sXb(),rXb),(hcc(),ybc));} + function gQc(){gQc=geb;fQc=pfd(new ufd,(sXb(),rXb),(hcc(),ybc));} + function WQc(){WQc=geb;VQc=pfd(new ufd,(sXb(),rXb),(hcc(),ybc));} + function dZd(a,b,c,d,e,f){return new P3d(a.e,b,a.Lj(),c,d,e,f)} + function $jb(a,b,c){return b==null?rtb(a.f,null,c):Ltb(a.i,b,c)} + function Y0b(a,b){!!a.c&&Ymb(a.c.g,a);a.c=b;!!a.c&&Rmb(a.c.g,a);} + function g3b(a,b){!!a.c&&Ymb(a.c.a,a);a.c=b;!!a.c&&Rmb(a.c.a,a);} + function P3b(a,b){!!a.i&&Ymb(a.i.j,a);a.i=b;!!a.i&&Rmb(a.i.j,a);} + function Z0b(a,b){!!a.d&&Ymb(a.d.e,a);a.d=b;!!a.d&&Rmb(a.d.e,a);} + function _Sc(a,b){!!a.a&&Ymb(a.a.k,a);a.a=b;!!a.a&&Rmb(a.a.k,a);} + function aTc(a,b){!!a.b&&Ymb(a.b.f,a);a.b=b;!!a.b&&Rmb(a.b.f,a);} + function Odd(a,b){Pdd(a,a.b,a.c);RD(a.b.b,68);!!b&&RD(b.b,68).b;} + function j2c(a,b){return Qfb(RD(a.c,65).c.e.b,RD(b.c,65).c.e.b)} + function k2c(a,b){return Qfb(RD(a.c,65).c.e.a,RD(b.c,65).c.e.a)} + function YXb(a){NXb();return Geb(),RD(a.a,86).d.e!=0?true:false} + function LXd(a,b){ZD(a.Cb,184)&&(RD(a.Cb,184).tb=null);PAd(a,b);} + function CWd(a,b){ZD(a.Cb,90)&&v$d(yYd(RD(a.Cb,90)),4);PAd(a,b);} + function _5d(a,b){a6d(a,b);ZD(a.Cb,90)&&v$d(yYd(RD(a.Cb,90)),2);} + function JFd(a,b){var c,d;c=b.c;d=c!=null;d&&oDd(a,new OC(b.c));} + function v0d(a){var b,c;c=(jTd(),b=new s2d,b);l2d(c,a);return c} + function E4d(a){var b,c;c=(jTd(),b=new s2d,b);l2d(c,a);return c} + function Fr(a){var b;while(true){b=a.Pb();if(!a.Ob()){return b}}} + function nq(a,b,c){Rmb(a.a,(fn(),ck(b,c),new gp(b,c)));return a} + function rge(a,b){return nke(),wWd(b)?new ole(b,a):new Eke(b,a)} + function ojb(a){Pib();return Ddb(a,0)>=0?jjb(a):Xib(jjb(Odb(a)))} + function Asb(a){var b;b=RD(UEb(a.b),9);return new Fsb(a.a,b,a.c)} + function Qw(a,b){var c;c=RD(Xv(nd(a.a),b),16);return !c?0:c.gc()} + function Zmb(a,b,c){var d;xFb(b,c,a.c.length);d=c-b;$Eb(a.c,b,d);} + function Rkb(a,b,c){xFb(b,c,a.gc());this.c=a;this.a=b;this.b=c-b;} + function fgd(a){this.c=new Yub;this.b=a.b;this.d=a.c;this.a=a.a;} + function qjd(a){this.a=$wnd.Math.cos(a);this.b=$wnd.Math.sin(a);} + function bTc(a,b,c,d){this.c=a;this.d=d;_Sc(this,b);aTc(this,c);} + function Si(a,b){Qi.call(this,new Usb(Sv(a)));dk(b,Mve);this.a=b;} + function Ryb(a,b,c){return new Kzb(a,(cAb(),_zb),null,false,b,c)} + function czb(a,b,c){return new Kzb(a,(cAb(),bAb),b,c,null,false)} + function ABb(){xBb();return cD(WC(QL,1),jwe,108,0,[uBb,vBb,wBb])} + function yLb(){vLb();return cD(WC(TN,1),jwe,472,0,[uLb,tLb,sLb])} + function HKb(){EKb();return cD(WC(MN,1),jwe,471,0,[CKb,BKb,DKb])} + function aKb(){ZJb();return cD(WC(JN,1),jwe,237,0,[WJb,XJb,YJb])} + function DWb(){AWb();return cD(WC(JP,1),jwe,391,0,[yWb,xWb,zWb])} + function moc(){joc();return cD(WC(UV,1),jwe,372,0,[ioc,hoc,goc])} + function ytc(){stc();return cD(WC(_W,1),jwe,322,0,[qtc,ptc,rtc])} + function Htc(){Etc();return cD(WC(aX,1),jwe,351,0,[Btc,Dtc,Ctc])} + function kuc(){huc();return cD(WC(dX,1),jwe,460,0,[fuc,euc,guc])} + function Avc(){xvc();return cD(WC(jX,1),jwe,299,0,[vvc,wvc,uvc])} + function Jvc(){Gvc();return cD(WC(kX,1),jwe,311,0,[Evc,Fvc,Dvc])} + function pDc(){lDc();return cD(WC(sX,1),jwe,390,0,[iDc,jDc,kDc])} + function EEc(){BEc();return cD(WC(yX,1),jwe,463,0,[AEc,yEc,zEc])} + function NEc(){KEc();return cD(WC(zX,1),jwe,387,0,[HEc,IEc,JEc])} + function WEc(){TEc();return cD(WC(AX,1),jwe,349,0,[SEc,QEc,REc])} + function oFc(){lFc();return cD(WC(CX,1),jwe,350,0,[iFc,jFc,kFc])} + function xFc(){uFc();return cD(WC(DX,1),jwe,352,0,[tFc,rFc,sFc])} + function GFc(){DFc();return cD(WC(EX,1),jwe,388,0,[BFc,CFc,AFc])} + function UKc(){RKc();return cD(WC(nY,1),jwe,464,0,[OKc,PKc,QKc])} + function K3b(a){return xjd(cD(WC(l3,1),Nve,8,0,[a.i.n,a.n,a.a]))} + function OZc(){LZc();return cD(WC(F_,1),jwe,392,0,[KZc,JZc,IZc])} + function H_c(){H_c=geb;G_c=nfd(new ufd,(YVc(),WVc),(WYc(),MYc));} + function A_c(){A_c=geb;z_c=new B_c('DFS',0);y_c=new B_c('BFS',1);} + function TQc(a,b,c){var d;d=new SQc;d.b=b;d.a=c;++b.b;Rmb(a.d,d);} + function NTb(a,b,c){var d;d=new sjd(c.d);$id(d,a);CGd(b,d.a,d.b);} + function Nwb(a,b){Mwb(a,Ydb(Cdb(Tdb(b,24),Pxe)),Ydb(Cdb(b,Pxe)));} + function wFb(a,b){if(a<0||a>b){throw Adb(new veb(cye+a+dye+b))}} + function tFb(a,b){if(a<0||a>=b){throw Adb(new veb(cye+a+dye+b))}} + function BFb(a,b){if(a<0||a>=b){throw Adb(new eib(cye+a+dye+b))}} + function Swb(a,b){this.b=(uFb(a),a);this.a=(b&qxe)==0?b|64|Ove:b;} + function ODb(a){var b;MCb(a);b=(urb(),urb(),srb);return PDb(a,b)} + function R9c(a,b,c){var d;d=S9c(a,b,false);return d.b<=b&&d.a<=c} + function h9c(){b9c();return cD(WC(o1,1),jwe,439,0,[$8c,a9c,_8c])} + function c7c(){_6c();return cD(WC(a1,1),jwe,394,0,[Z6c,$6c,Y6c])} + function i6c(){f6c();return cD(WC(V0,1),jwe,445,0,[c6c,d6c,e6c])} + function D6c(){z6c();return cD(WC(Z0,1),jwe,456,0,[w6c,y6c,x6c])} + function k4c(){g4c();return cD(WC(I0,1),jwe,393,0,[d4c,e4c,f4c])} + function x5c(){t5c();return cD(WC(N0,1),jwe,300,0,[r5c,s5c,q5c])} + function Ind(){Fnd();return cD(WC(y3,1),jwe,346,0,[Dnd,Cnd,End])} + function jbd(){gbd();return cD(WC(I1,1),jwe,444,0,[dbd,ebd,fbd])} + function Rmd(){Omd();return cD(WC(t3,1),jwe,278,0,[Lmd,Mmd,Nmd])} + function pqd(){mqd();return cD(WC(J3,1),jwe,280,0,[kqd,jqd,lqd])} + function bv(a){Qb(a);return ZD(a,16)?new dnb(RD(a,16)):cv(a.Kc())} + function Hz(a,b){return !!a&&!!a.equals?a.equals(b):dE(a)===dE(b)} + function Cdb(a,b){return Edb(tD(Kdb(a)?Wdb(a):a,Kdb(b)?Wdb(b):b))} + function Rdb(a,b){return Edb(zD(Kdb(a)?Wdb(a):a,Kdb(b)?Wdb(b):b))} + function $db(a,b){return Edb(HD(Kdb(a)?Wdb(a):a,Kdb(b)?Wdb(b):b))} + function xs(a,b){var c;c=(uFb(a),a).g;lFb(!!c);uFb(b);return c(b)} + function rv(a,b){var c,d;d=tv(a,b);c=a.a.fd(d);return new Gv(a,c)} + function CXd(a){if(a.Db>>16!=6)return null;return RD(yvd(a),241)} + function sKd(a){if(a.p!=2)throw Adb(new cgb);return Ydb(a.f)&Bwe} + function BKd(a){if(a.p!=2)throw Adb(new cgb);return Ydb(a.k)&Bwe} + function ynb(a){sFb(a.ad?1:0} + function Hmc(a,b){var c,d;c=Gmc(b);d=c;return RD(Wjb(a.c,d),17).a} + function CMc(a,b,c){var d;d=a.d[b.p];a.d[b.p]=a.d[c.p];a.d[c.p]=d;} + function Jqd(a,b,c){var d;if(a.n&&!!b&&!!c){d=new otd;Rmb(a.e,d);}} + function gYb(a,b){Ysb(a.a,b);if(b.d){throw Adb(new yz(jye))}b.d=a;} + function Had(a,b){this.a=new bnb;this.d=new bnb;this.f=a;this.c=b;} + function RWb(){this.c=new dXb;this.a=new I_b;this.b=new E0b;g0b();} + function med(){hed();this.b=new Tsb;this.a=new Tsb;this.c=new bnb;} + function KKd(a,b,c){this.d=a;this.j=b;this.e=c;this.o=-1;this.p=3;} + function LKd(a,b,c){this.d=a;this.k=b;this.f=c;this.o=-1;this.p=5;} + function S3d(a,b,c,d,e,f){R3d.call(this,a,b,c,d,e);f&&(this.o=-2);} + function U3d(a,b,c,d,e,f){T3d.call(this,a,b,c,d,e);f&&(this.o=-2);} + function W3d(a,b,c,d,e,f){V3d.call(this,a,b,c,d,e);f&&(this.o=-2);} + function Y3d(a,b,c,d,e,f){X3d.call(this,a,b,c,d,e);f&&(this.o=-2);} + function $3d(a,b,c,d,e,f){Z3d.call(this,a,b,c,d,e);f&&(this.o=-2);} + function a4d(a,b,c,d,e,f){_3d.call(this,a,b,c,d,e);f&&(this.o=-2);} + function f4d(a,b,c,d,e,f){e4d.call(this,a,b,c,d,e);f&&(this.o=-2);} + function h4d(a,b,c,d,e,f){g4d.call(this,a,b,c,d,e);f&&(this.o=-2);} + function N7d(a,b,c,d){t7d.call(this,c);this.b=a;this.c=b;this.d=d;} + function mfe(a,b){this.f=a;this.a=(ree(),pee);this.c=pee;this.b=b;} + function Jfe(a,b){this.g=a;this.d=(ree(),qee);this.a=qee;this.b=b;} + function Gme(a,b){!a.c&&(a.c=new Uge(a,0));Fge(a.c,(nme(),fme),b);} + function Oge(a,b){return Pge(a,b,ZD(b,102)&&(RD(b,19).Bb&txe)!=0)} + function lB(a,b){return Agb(Hdb(a.q.getTime()),Hdb(b.q.getTime()))} + function gj(a){return fk(a.e.Rd().gc()*a.c.Rd().gc(),16,new qj(a))} + function CYd(a){return !!a.u&&tYd(a.u.a).i!=0&&!(!!a.n&&d$d(a.n))} + function p4d(a){return !!a.a&&o4d(a.a.a).i!=0&&!(!!a.b&&o5d(a.b))} + function Cxd(a,b){if(b==0){return !!a.o&&a.o.f!=0}return Kvd(a,b)} + function Cc(a,b,c){var d;d=RD(a.Zb().xc(b),16);return !!d&&d.Hc(c)} + function Gc(a,b,c){var d;d=RD(a.Zb().xc(b),16);return !!d&&d.Mc(c)} + function _yb(a,b){var c;c=1-b;a.a[c]=azb(a.a[c],c);return azb(a,b)} + function DFb(a,b){var c,d;d=Cdb(a,yxe);c=Sdb(b,32);return Rdb(c,d)} + function bGb(a,b,c){var d;d=(Qb(a),new dnb(a));_Fb(new aGb(d,b,c));} + function t$b(a,b,c){var d;d=(Qb(a),new dnb(a));r$b(new s$b(d,b,c));} + function vBd(a,b,c,d,e,f){wBd(a,b,c,f);EYd(a,d);FYd(a,e);return a} + function Xhb(a,b,c,d){a.a+=''+zhb(b==null?vve:jeb(b),c,d);return a} + function Jkb(a,b){this.a=a;Dkb.call(this,a);wFb(b,a.gc());this.b=b;} + function xmb(a){this.a=$C(jJ,rve,1,mgb($wnd.Math.max(8,a))<<1,5,1);} + function t2b(a){return RD(anb(a,$C(jR,WAe,10,a.c.length,0,1)),199)} + function s2b(a){return RD(anb(a,$C(WQ,VAe,18,a.c.length,0,1)),483)} + function Iyb(a){return !a.a?a.c:a.e.length==0?a.a.a:a.a.a+(''+a.e)} + function Rib(a){while(a.d>0&&a.a[--a.d]==0);a.a[a.d++]==0&&(a.e=0);} + function fvb(a){sFb(a.b.b!=a.d.a);a.c=a.b=a.b.b;--a.a;return a.c.c} + function sRc(a,b,c){a.a=b;a.c=c;a.b.a.$b();Xub(a.d);aFb(a.e.a.c,0);} + function Z5c(a,b){var c;a.e=new R5c;c=Q2c(b);_mb(c,a.c);$5c(a,c,0);} + function zgd(a,b,c,d){var e;e=new Hgd;e.a=b;e.b=c;e.c=d;Mub(a.a,e);} + function Agd(a,b,c,d){var e;e=new Hgd;e.a=b;e.b=c;e.c=d;Mub(a.b,e);} + function Tb(a,b,c){if(a<0||bc){throw Adb(new veb(Kb(a,b,c)))}} + function Pb(a,b){if(a<0||a>=b){throw Adb(new veb(Ib(a,b)))}return a} + function qz(b){if(!('stack' in b)){try{throw b}catch(a){}}return b} + function Zjc(a){Wjc();if(ZD(a.g,10)){return RD(a.g,10)}return null} + function nx(a){if(Ih(a).dc()){return false}Jh(a,new rx);return true} + function Xdb(a){var b;if(Kdb(a)){b=a;return b==-0.?0:b}return ED(a)} + function lkb(a,b){if(ZD(b,44)){return Jd(a.a,RD(b,44))}return false} + function gsb(a,b){if(ZD(b,44)){return Jd(a.a,RD(b,44))}return false} + function vub(a,b){if(ZD(b,44)){return Jd(a.a,RD(b,44))}return false} + function RCb(a){var b;LCb(a);b=new Prb;ixb(a.a,new fDb(b));return b} + function Vae(){var a,b,c;b=(c=(a=new s2d,a),c);Rmb(Rae,b);return b} + function mDb(a){var b;LCb(a);b=new ltb;ixb(a.a,new uDb(b));return b} + function jDb(a,b){if(a.a<=a.b){b.Dd(a.a++);return true}return false} + function xzb(a){yzb.call(this,a,(cAb(),$zb),null,false,null,false);} + function $Rb(){$Rb=geb;ZRb=ss((VRb(),cD(WC($O,1),jwe,489,0,[URb])));} + function CHc(){CHc=geb;BHc=yx(sgb(1),sgb(4));AHc=yx(sgb(1),sgb(2));} + function yXc(a,b){return new gud(b,njd(ajd(b.e),a,a),(Geb(),true))} + function fv(a){return new cnb((dk(a,lwe),dz(Bdb(Bdb(5,a),a/10|0))))} + function Wi(a){return fk(a.e.Rd().gc()*a.c.Rd().gc(),273,new kj(a))} + function u2b(a){return RD(anb(a,$C(xR,XAe,12,a.c.length,0,1)),2042)} + function COc(a){dOc();return !W0b(a)&&!(!W0b(a)&&a.c.i.c==a.d.i.c)} + function Y_c(a,b){R_c();return RD(mQb(b,(h_c(),W$c)),17).a>=a.gc()} + function q8b(a,b){w8b(b,a);y8b(a.d);y8b(RD(mQb(a,(yCc(),cBc)),214));} + function r8b(a,b){z8b(b,a);B8b(a.d);B8b(RD(mQb(a,(yCc(),cBc)),214));} + function $0b(a,b,c){!!a.d&&Ymb(a.d.e,a);a.d=b;!!a.d&&Qmb(a.d.e,c,a);} + function jPb(a,b,c){return c.f.c.length>0?yPb(a.a,b,c):yPb(a.b,b,c)} + function Uz(a,b,c){var d;d=Sz();try{return Rz(a,b,c)}finally{Vz(d);}} + function wDd(a,b){var c,d;c=qC(a,b);d=null;!!c&&(d=c.pe());return d} + function yDd(a,b){var c,d;c=qC(a,b);d=null;!!c&&(d=c.se());return d} + function xDd(a,b){var c,d;c=JB(a,b);d=null;!!c&&(d=c.se());return d} + function zDd(a,b){var c,d;c=qC(a,b);d=null;!!c&&(d=ADd(c));return d} + function rEd(a,b,c){var d;d=uDd(c);Do(a.g,d,b);Do(a.i,b,c);return b} + function UIc(a,b,c){this.d=new fJc(this);this.e=a;this.i=b;this.f=c;} + function Mk(a,b,c,d){this.e=null;this.c=a;this.d=b;this.a=c;this.b=d;} + function urc(a,b,c,d){nrc(this);this.c=a;this.e=b;this.f=c;this.b=d;} + function MKd(a,b,c,d){this.d=a;this.n=b;this.g=c;this.o=d;this.p=-1;} + function Vc(a,b,c,d){return ZD(c,59)?new Kg(a,b,c,d):new yg(a,b,c,d)} + function gr(a){if(ZD(a,16)){return RD(a,16).dc()}return !a.Kc().Ob()} + function Wo(a){if(a.e.g!=a.b){throw Adb(new Jrb)}return !!a.c&&a.d>0} + function evb(a){sFb(a.b!=a.d.c);a.c=a.b;a.b=a.b.a;++a.a;return a.c.c} + function imb(a,b){uFb(b);bD(a.a,a.c,b);a.c=a.c+1&a.a.length-1;mmb(a);} + function hmb(a,b){uFb(b);a.b=a.b-1&a.a.length-1;bD(a.a,a.b,b);mmb(a);} + function _je(a){var b;b=a.Gh();this.a=ZD(b,71)?RD(b,71).Ii():b.Kc();} + function px(a){return new Swb(Dob(RD(a.a.md(),16).gc(),a.a.ld()),16)} + function Abd(){Abd=geb;zbd=ss((sbd(),cD(WC(M1,1),jwe,490,0,[rbd])));} + function Jbd(){Jbd=geb;Ibd=ss((Cbd(),cD(WC(N1,1),jwe,558,0,[Bbd])));} + function idd(){idd=geb;hdd=ss((_cd(),cD(WC(V1,1),jwe,539,0,[$cd])));} + function X$b(){U$b();return cD(WC(CQ,1),jwe,389,0,[T$b,R$b,Q$b,S$b])} + function hAb(){cAb();return cD(WC(AL,1),jwe,304,0,[$zb,_zb,aAb,bAb])} + function LPb(){IPb();return cD(WC(DO,1),jwe,332,0,[FPb,EPb,GPb,HPb])} + function LRb(){IRb();return cD(WC(WO,1),jwe,406,0,[FRb,ERb,GRb,HRb])} + function pOb(){mOb();return cD(WC(hO,1),jwe,417,0,[lOb,iOb,jOb,kOb])} + function uZb(){nZb();return cD(WC(lQ,1),jwe,416,0,[jZb,mZb,kZb,lZb])} + function hnc(){enc();return cD(WC(LV,1),jwe,421,0,[anc,bnc,cnc,dnc])} + function zec(){vec();return cD(WC(qT,1),jwe,371,0,[uec,sec,tec,rec])} + function BDc(){wDc();return cD(WC(tX,1),jwe,203,0,[uDc,vDc,tDc,sDc])} + function nEc(){kEc();return cD(WC(wX,1),jwe,284,0,[hEc,gEc,iEc,jEc])} + function Unc(a){var b;return a.j==(qpd(),npd)&&(b=Vnc(a),Csb(b,Xod))} + function qhc(a,b){var c;c=b.a;Y0b(c,b.c.d);Z0b(c,b.d.d);Cjd(c.a,a.n);} + function _5b(a,b){var c;c=RD(cub(a.b,b),67);!c&&(c=new Yub);return c} + function $jc(a){Wjc();if(ZD(a.g,154)){return RD(a.g,154)}return null} + function gRc(a){a.a=null;a.e=null;aFb(a.b.c,0);aFb(a.f.c,0);a.c=null;} + function Ovc(){Ovc=geb;Mvc=new Pvc(Kye,0);Nvc=new Pvc('TOP_LEFT',1);} + function sNc(){sNc=geb;rNc=new tNc('UPPER',0);qNc=new tNc('LOWER',1);} + function nWc(a,b){return cjd(new rjd(b.e.a+b.f.a/2,b.e.b+b.f.b/2),a)} + function wqc(a,b){return RD(Lvb(JDb(RD(Qc(a.k,b),15).Oc(),lqc)),113)} + function xqc(a,b){return RD(Lvb(KDb(RD(Qc(a.k,b),15).Oc(),lqc)),113)} + function cWc(){YVc();return cD(WC(H$,1),jwe,405,0,[UVc,VVc,WVc,XVc])} + function v_c(){s_c();return cD(WC(J_,1),jwe,353,0,[r_c,p_c,q_c,o_c])} + function n5c(){j5c();return cD(WC(M0,1),jwe,354,0,[i5c,g5c,h5c,f5c])} + function Tpd(){Qpd();return cD(WC(H3,1),jwe,386,0,[Opd,Ppd,Npd,Mpd])} + function Tnd(){Pnd();return cD(WC(z3,1),jwe,291,0,[Ond,Lnd,Mnd,Nnd])} + function _md(){Ymd();return cD(WC(u3,1),jwe,223,0,[Xmd,Vmd,Umd,Wmd])} + function Jrd(){Grd();return cD(WC(R3,1),jwe,320,0,[Frd,Crd,Erd,Drd])} + function wtd(){ttd();return cD(WC(n4,1),jwe,415,0,[qtd,rtd,ptd,std])} + function GId(a){EId();return Ujb(DId,a)?RD(Wjb(DId,a),341).Qg():null} + function Avd(a,b,c){return b<0?Rvd(a,c):RD(c,69).wk().Bk(a,a.hi(),b)} + function sEd(a,b,c){var d;d=uDd(c);Do(a.j,d,b);Zjb(a.k,b,c);return b} + function qEd(a,b,c){var d;d=uDd(c);Do(a.d,d,b);Zjb(a.e,b,c);return b} + function DGd(a){var b,c;b=(bvd(),c=new rzd,c);!!a&&pzd(b,a);return b} + function WHd(a){var b;b=a.aj(a.i);a.i>0&&hib(a.g,0,b,0,a.i);return b} + function Led(a,b){var c;for(c=a.j.c.length;c>24} + function AKd(a){if(a.p!=1)throw Adb(new cgb);return Ydb(a.k)<<24>>24} + function GKd(a){if(a.p!=7)throw Adb(new cgb);return Ydb(a.k)<<16>>16} + function xKd(a){if(a.p!=7)throw Adb(new cgb);return Ydb(a.f)<<16>>16} + function Wib(a,b){if(b.e==0||a.e==0){return Oib}return Ljb(),Mjb(a,b)} + function Nd(a,b){return dE(b)===dE(a)?'(this Map)':b==null?vve:jeb(b)} + function MFb(a,b,c){return Jfb(UD(Wd(qtb(a.f,b))),UD(Wd(qtb(a.f,c))))} + function wkc(a,b,c){var d;d=RD(Wjb(a.g,c),60);Rmb(a.a.c,new Ptd(b,d));} + function Slc(a,b,c){a.i=0;a.e=0;if(b==c){return}Rlc(a,b,c);Qlc(a,b,c);} + function rTc(a,b,c,d,e){var f;f=mTc(e,c,d);Rmb(b,TSc(e,f));vTc(a,e,b);} + function Jrc(a,b,c,d,e){this.i=a;this.a=b;this.e=c;this.j=d;this.f=e;} + function iUb(a,b){VTb.call(this);this.a=a;this.b=b;Rmb(this.a.b,this);} + function rTb(a){this.b=new Tsb;this.c=new Tsb;this.d=new Tsb;this.a=a;} + function Dx(a,b){var c;c=new cib;a.Gd(c);c.a+='..';b.Hd(c);return c.a} + function Fsd(a,b){var c;c=b;while(c){Zid(a,c.i,c.j);c=vCd(c);}return a} + function pEd(a,b,c){var d;d=uDd(c);Zjb(a.b,d,b);Zjb(a.c,b,c);return b} + function Kr(a){var b;b=0;while(a.Ob()){a.Pb();b=Bdb(b,1);}return dz(b)} + function oke(a,b){nke();var c;c=RD(a,69).vk();K6d(c,b);return c.xl(b)} + function tC(d,a,b){if(b){var c=b.oe();d.a[a]=c(b);}else {delete d.a[a];}} + function tB(a,b){var c;c=a.q.getHours();a.q.setFullYear(b+Owe);mB(a,c);} + function KSd(a,b){return RD(b==null?Wd(qtb(a.f,null)):Ktb(a.i,b),288)} + function hOc(a,b){return a==(r3b(),p3b)&&b==p3b?4:a==p3b||b==p3b?8:32} + function cge(a,b,c){return dge(a,b,c,ZD(b,102)&&(RD(b,19).Bb&txe)!=0)} + function jge(a,b,c){return kge(a,b,c,ZD(b,102)&&(RD(b,19).Bb&txe)!=0)} + function Qge(a,b,c){return Rge(a,b,c,ZD(b,102)&&(RD(b,19).Bb&txe)!=0)} + function jmb(a){if(a.b==a.c){return}a.a=$C(jJ,rve,1,8,5,1);a.b=0;a.c=0;} + function Nsb(a){sFb(a.a=0&&a.a[c]===b[c];c--);return c<0} + function Xx(a){var b;if(a){return new Kub(a)}b=new Iub;_q(b,a);return b} + function nmc(a,b){var c,d;d=false;do{c=qmc(a,b);d=d|c;}while(c);return d} + function Vz(a){a&&aA(($z(),Zz));--Nz;if(a){if(Pz!=-1){Xz(Pz);Pz=-1;}}} + function Pwb(a){Hwb();Mwb(this,Ydb(Cdb(Tdb(a,24),Pxe)),Ydb(Cdb(a,Pxe)));} + function IHb(){IHb=geb;HHb=ss((DHb(),cD(WC(uN,1),jwe,436,0,[CHb,BHb])));} + function QHb(){QHb=geb;PHb=ss((LHb(),cD(WC(vN,1),jwe,435,0,[JHb,KHb])));} + function YUb(){YUb=geb;XUb=ss((TUb(),cD(WC(BP,1),jwe,432,0,[RUb,SUb])));} + function U8b(){U8b=geb;T8b=ss((P8b(),cD(WC(vS,1),jwe,517,0,[O8b,N8b])));} + function Tvc(){Tvc=geb;Svc=ss((Ovc(),cD(WC(lX,1),jwe,429,0,[Mvc,Nvc])));} + function duc(){duc=geb;cuc=ss(($tc(),cD(WC(cX,1),jwe,428,0,[Ytc,Ztc])));} + function Huc(){Huc=geb;Guc=ss((Cuc(),cD(WC(fX,1),jwe,488,0,[Buc,Auc])));} + function xEc(){xEc=geb;wEc=ss((sEc(),cD(WC(xX,1),jwe,430,0,[qEc,rEc])));} + function xNc(){xNc=geb;wNc=ss((sNc(),cD(WC(MY,1),jwe,531,0,[rNc,qNc])));} + function otc(){otc=geb;ntc=ss((jtc(),cD(WC($W,1),jwe,431,0,[htc,itc])));} + function F_c(){F_c=geb;E_c=ss((A_c(),cD(WC(K_,1),jwe,433,0,[z_c,y_c])));} + function F2c(){F2c=geb;E2c=ss((x2c(),cD(WC(s0,1),jwe,501,0,[v2c,w2c])));} + function BQc(){BQc=geb;AQc=ss((wQc(),cD(WC(FZ,1),jwe,523,0,[vQc,uQc])));} + function JQc(){JQc=geb;IQc=ss((EQc(),cD(WC(GZ,1),jwe,522,0,[CQc,DQc])));} + function kTc(){kTc=geb;jTc=ss((fTc(),cD(WC(b$,1),jwe,528,0,[eTc,dTc])));} + function iVc(){iVc=geb;hVc=ss((dVc(),cD(WC(w$,1),jwe,465,0,[bVc,cVc])));} + function c4c(){c4c=geb;b4c=ss((Y3c(),cD(WC(H0,1),jwe,434,0,[W3c,X3c])));} + function H8c(){H8c=geb;G8c=ss((z8c(),cD(WC(l1,1),jwe,491,0,[x8c,y8c])));} + function J9c(){J9c=geb;I9c=ss((B9c(),cD(WC(t1,1),jwe,492,0,[z9c,A9c])));} + function Rbd(){Rbd=geb;Qbd=ss((Mbd(),cD(WC(O1,1),jwe,438,0,[Lbd,Kbd])));} + function tdd(){tdd=geb;sdd=ss((ldd(),cD(WC(W1,1),jwe,437,0,[kdd,jdd])));} + function Eqd(){Eqd=geb;Dqd=ss((uqd(),cD(WC(M3,1),jwe,347,0,[sqd,tqd])));} + function Imd(){Cmd();return cD(WC(s3,1),jwe,88,0,[Amd,zmd,ymd,xmd,Bmd])} + function xpd(){qpd();return cD(WC(E3,1),NAe,64,0,[opd,Yod,Xod,npd,ppd])} + function LSd(a,b,c){return RD(b==null?rtb(a.f,null,c):Ltb(a.i,b,c),288)} + function L6b(a){return (a.k==(r3b(),p3b)||a.k==m3b)&&nQb(a,(Ywc(),cwc))} + function bUb(a){return !!a.c&&!!a.d?kUb(a.c)+'->'+kUb(a.d):'e_'+kFb(a)} + function xgb(a,b){var c,d;uFb(b);for(d=a.Kc();d.Ob();){c=d.Pb();b.Cd(c);}} + function jEd(a,b){var c;c=new uC;qDd(c,'x',b.a);qDd(c,'y',b.b);oDd(a,c);} + function mEd(a,b){var c;c=new uC;qDd(c,'x',b.a);qDd(c,'y',b.b);oDd(a,c);} + function Gsd(a,b){var c;c=b;while(c){Zid(a,-c.i,-c.j);c=vCd(c);}return a} + function ZLc(a,b){var c,d;c=b;d=0;while(c>0){d+=a.a[c];c-=c&-c;}return d} + function $mb(a,b,c){var d;d=(tFb(b,a.c.length),a.c[b]);a.c[b]=c;return d} + function uIc(a,b,c){a.a.c.length=0;yIc(a,b,c);a.a.c.length==0||rIc(a,b);} + function wo(a){a.i=0;Mnb(a.b,null);Mnb(a.c,null);a.a=null;a.e=null;++a.g;} + function gBb(){gBb=geb;dBb=true;bBb=false;cBb=false;fBb=false;eBb=false;} + function oBb(a){gBb();if(dBb){return}this.c=a;this.e=true;this.a=new bnb;} + function kDb(a,b){this.c=0;this.b=b;txb.call(this,a,17493);this.a=this.c;} + function S_b(a){P_b();A$b(this);this.a=new Yub;Q_b(this,a);Mub(this.a,a);} + function m_b(){Pmb(this);this.b=new rjd(oxe,oxe);this.a=new rjd(pxe,pxe);} + function z8c(){z8c=geb;x8c=new B8c(CBe,0);y8c=new B8c('TARGET_WIDTH',1);} + function yDb(a,b){return (MCb(a),QDb(new SDb(a,new hEb(b,a.a)))).Bd(wDb)} + function vXb(){sXb();return cD(WC(UP,1),jwe,367,0,[nXb,oXb,pXb,qXb,rXb])} + function Fnc(){Bnc();return cD(WC(TV,1),jwe,375,0,[xnc,znc,Anc,ync,wnc])} + function Vtc(){Ptc();return cD(WC(bX,1),jwe,348,0,[Ltc,Ktc,Ntc,Otc,Mtc])} + function PDc(){JDc();return cD(WC(uX,1),jwe,323,0,[IDc,FDc,GDc,EDc,HDc])} + function fxc(){cxc();return cD(WC(mX,1),jwe,171,0,[bxc,Zwc,$wc,_wc,axc])} + function k3c(){g3c();return cD(WC(x0,1),jwe,368,0,[e3c,b3c,f3c,c3c,d3c])} + function vad(){sad();return cD(WC(x1,1),jwe,373,0,[oad,nad,qad,pad,rad])} + function $bd(){Xbd();return cD(WC(P1,1),jwe,324,0,[Sbd,Tbd,Wbd,Ubd,Vbd])} + function _hd(){Yhd();return cD(WC(d3,1),jwe,170,0,[Whd,Vhd,Thd,Xhd,Uhd])} + function sod(){pod();return cD(WC(B3,1),jwe,256,0,[mod,ood,kod,lod,nod])} + function Tz(b){Qz();return function(){return Uz(b,this,arguments);}} + function W0b(a){if(!a.c||!a.d){return false}return !!a.c.i&&a.c.i==a.d.i} + function Nfd(a,b){if(ZD(b,143)){return lhb(a.c,RD(b,143).c)}return false} + function yYd(a){if(!a.t){a.t=new w$d(a);VGd(new Cde(a),0,a.t);}return a.t} + function jNd(a){this.b=a;dMd.call(this,a);this.a=RD(Ywd(this.b.a,4),129);} + function sNd(a){this.b=a;yMd.call(this,a);this.a=RD(Ywd(this.b.a,4),129);} + function Q3d(a,b,c,d,e){OKd.call(this,b,d,e);this.c=a;this.b=c;} + function V3d(a,b,c,d,e){KKd.call(this,b,d,e);this.c=a;this.a=c;} + function Z3d(a,b,c,d,e){LKd.call(this,b,d,e);this.c=a;this.a=c;} + function g4d(a,b,c,d,e){OKd.call(this,b,d,e);this.c=a;this.a=c;} + function ugd(a,b){var c;c=RD(cub(a.d,b),23);return c?c:RD(cub(a.e,b),23)} + function Blb(a,b){var c,d;c=b.ld();d=a.Fe(c);return !!d&&Fvb(d.e,b.md())} + function me(a,b){var c;c=b.ld();return new gp(c,a.e.pc(c,RD(b.md(),16)))} + function ptb(a,b){var c;c=a.a.get(b);return c==null?$C(jJ,rve,1,0,5,1):c} + function khb(a){var b;b=a.length;return lhb(sxe.substr(sxe.length-b,b),a)} + function hs(a){if(gs(a)){a.c=a.a;return a.a.Pb()}else {throw Adb(new Dvb)}} + function $ib(a,b){if(b==0||a.e==0){return a}return b>0?tjb(a,b):qjb(a,-b)} + function Zib(a,b){if(b==0||a.e==0){return a}return b>0?qjb(a,b):tjb(a,-b)} + function Deb(a){Beb.call(this,a==null?vve:jeb(a),ZD(a,82)?RD(a,82):null);} + function Y5d(a){var b;if(!a.c){b=a.r;ZD(b,90)&&(a.c=RD(b,29));}return a.c} + function s0b(a){var b;b=new a1b;kQb(b,a);pQb(b,(yCc(),RAc),null);return b} + function lec(a){var b,c;b=a.c.i;c=a.d.i;return b.k==(r3b(),m3b)&&c.k==m3b} + function fD(a){var b,c,d;b=a&dxe;c=a>>22&dxe;d=a<0?exe:0;return hD(b,c,d)} + function Ky(a){var b,c,d,e;for(c=a,d=0,e=c.length;d=0?a.Lh(d,c,true):Qvd(a,b,c)} + function AXc(a,b,c){return Qfb(cjd(jWc(a),ajd(b.b)),cjd(jWc(a),ajd(c.b)))} + function BXc(a,b,c){return Qfb(cjd(jWc(a),ajd(b.e)),cjd(jWc(a),ajd(c.e)))} + function Kad(a,b){return $wnd.Math.min(bjd(b.a,a.d.d.c),bjd(b.b,a.d.d.c))} + function LHd(a,b){a._i(a.i+1);MHd(a,a.i,a.Zi(a.i,b));a.Mi(a.i++,b);a.Ni();} + function OHd(a){var b,c;++a.j;b=a.g;c=a.i;a.g=null;a.i=0;a.Oi(c,b);a.Ni();} + function yke(a,b,c){var d;d=new zke(a.a);Ld(d,a.a.a);rtb(d.f,b,c);a.a.a=d;} + function mKb(a,b,c,d){var e;for(e=0;eb){throw Adb(new veb(Jb(a,b,'index')))}return a} + function Xmb(a,b){var c;c=(tFb(b,a.c.length),a.c[b]);$Eb(a.c,b,1);return c} + function jhb(a,b){var c,d;c=(uFb(a),a);d=(uFb(b),b);return c==d?0:cb.p){return -1}return 0} + function hXd(a){var b;if(!a.a){b=a.r;ZD(b,156)&&(a.a=RD(b,156));}return a.a} + function iOd(a,b,c){var d;++a.e;--a.f;d=RD(a.d[b].gd(c),136);return d.md()} + function fd(a){var b,c;b=a.ld();c=RD(a.md(),16);return gk(c.Nc(),new jh(b))} + function oae(a,b){if(Ujb(a.a,b)){_jb(a.a,b);return true}else {return false}} + function Ui(a,b,c){Pb(b,a.e.Rd().gc());Pb(c,a.c.Rd().gc());return a.a[b][c]} + function _Uc(a,b,c){this.a=a;this.b=b;this.c=c;Rmb(a.t,this);Rmb(b.i,this);} + function lg(a,b,c,d){this.f=a;this.e=b;this.d=c;this.b=d;this.c=!d?null:d.d;} + function YWc(){this.b=new Yub;this.a=new Yub;this.b=new Yub;this.a=new Yub;} + function ree(){ree=geb;var a,b;pee=(jTd(),b=new k1d,b);qee=(a=new mXd,a);} + function UCb(a){var b;MCb(a);b=new $Cb(a,a.a.e,a.a.d|4);return new WCb(a,b)} + function ADb(a){var b;LCb(a);b=0;while(a.a.Bd(new MEb)){b=Bdb(b,1);}return b} + function zxb(a,b){uFb(b);if(a.c=0,'Initial capacity must not be negative');} + function rid(){rid=geb;qid=new jGd('org.eclipse.elk.labels.labelManager');} + function iec(){iec=geb;hec=new kGd('separateLayerConnections',(vec(),uec));} + function fTc(){fTc=geb;eTc=new gTc('REGULAR',0);dTc=new gTc('CRITICAL',1);} + function Mbd(){Mbd=geb;Lbd=new Nbd('FIXED',0);Kbd=new Nbd('CENTER_NODE',1);} + function jtc(){jtc=geb;htc=new ktc('QUADRATIC',0);itc=new ktc('SCANLINE',1);} + function Atc(){Atc=geb;ztc=ss((stc(),cD(WC(_W,1),jwe,322,0,[qtc,ptc,rtc])));} + function Jtc(){Jtc=geb;Itc=ss((Etc(),cD(WC(aX,1),jwe,351,0,[Btc,Dtc,Ctc])));} + function ooc(){ooc=geb;noc=ss((joc(),cD(WC(UV,1),jwe,372,0,[ioc,hoc,goc])));} + function muc(){muc=geb;luc=ss((huc(),cD(WC(dX,1),jwe,460,0,[fuc,euc,guc])));} + function Cvc(){Cvc=geb;Bvc=ss((xvc(),cD(WC(jX,1),jwe,299,0,[vvc,wvc,uvc])));} + function Lvc(){Lvc=geb;Kvc=ss((Gvc(),cD(WC(kX,1),jwe,311,0,[Evc,Fvc,Dvc])));} + function rDc(){rDc=geb;qDc=ss((lDc(),cD(WC(sX,1),jwe,390,0,[iDc,jDc,kDc])));} + function PEc(){PEc=geb;OEc=ss((KEc(),cD(WC(zX,1),jwe,387,0,[HEc,IEc,JEc])));} + function YEc(){YEc=geb;XEc=ss((TEc(),cD(WC(AX,1),jwe,349,0,[SEc,QEc,REc])));} + function GEc(){GEc=geb;FEc=ss((BEc(),cD(WC(yX,1),jwe,463,0,[AEc,yEc,zEc])));} + function qFc(){qFc=geb;pFc=ss((lFc(),cD(WC(CX,1),jwe,350,0,[iFc,jFc,kFc])));} + function zFc(){zFc=geb;yFc=ss((uFc(),cD(WC(DX,1),jwe,352,0,[tFc,rFc,sFc])));} + function IFc(){IFc=geb;HFc=ss((DFc(),cD(WC(EX,1),jwe,388,0,[BFc,CFc,AFc])));} + function QZc(){QZc=geb;PZc=ss((LZc(),cD(WC(F_,1),jwe,392,0,[KZc,JZc,IZc])));} + function m4c(){m4c=geb;l4c=ss((g4c(),cD(WC(I0,1),jwe,393,0,[d4c,e4c,f4c])));} + function z5c(){z5c=geb;y5c=ss((t5c(),cD(WC(N0,1),jwe,300,0,[r5c,s5c,q5c])));} + function k6c(){k6c=geb;j6c=ss((f6c(),cD(WC(V0,1),jwe,445,0,[c6c,d6c,e6c])));} + function F6c(){F6c=geb;E6c=ss((z6c(),cD(WC(Z0,1),jwe,456,0,[w6c,y6c,x6c])));} + function e7c(){e7c=geb;d7c=ss((_6c(),cD(WC(a1,1),jwe,394,0,[Z6c,$6c,Y6c])));} + function j9c(){j9c=geb;i9c=ss((b9c(),cD(WC(o1,1),jwe,439,0,[$8c,a9c,_8c])));} + function WKc(){WKc=geb;VKc=ss((RKc(),cD(WC(nY,1),jwe,464,0,[OKc,PKc,QKc])));} + function JKb(){JKb=geb;IKb=ss((EKb(),cD(WC(MN,1),jwe,471,0,[CKb,BKb,DKb])));} + function cKb(){cKb=geb;bKb=ss((ZJb(),cD(WC(JN,1),jwe,237,0,[WJb,XJb,YJb])));} + function ALb(){ALb=geb;zLb=ss((vLb(),cD(WC(TN,1),jwe,472,0,[uLb,tLb,sLb])));} + function CBb(){CBb=geb;BBb=ss((xBb(),cD(WC(QL,1),jwe,108,0,[uBb,vBb,wBb])));} + function FWb(){FWb=geb;EWb=ss((AWb(),cD(WC(JP,1),jwe,391,0,[yWb,xWb,zWb])));} + function Knd(){Knd=geb;Jnd=ss((Fnd(),cD(WC(y3,1),jwe,346,0,[Dnd,Cnd,End])));} + function lbd(){lbd=geb;kbd=ss((gbd(),cD(WC(I1,1),jwe,444,0,[dbd,ebd,fbd])));} + function Tmd(){Tmd=geb;Smd=ss((Omd(),cD(WC(t3,1),jwe,278,0,[Lmd,Mmd,Nmd])));} + function rqd(){rqd=geb;qqd=ss((mqd(),cD(WC(J3,1),jwe,280,0,[kqd,jqd,lqd])));} + function Hxd(a,b){return !a.o&&(a.o=new DVd((pvd(),mvd),X4,a,0)),QNd(a.o,b)} + function HMb(a,b){var c;if(a.C){c=RD(Vrb(a.b,b),127).n;c.d=a.C.d;c.a=a.C.a;}} + function F8b(a){var b,c,d,e;e=a.d;b=a.a;c=a.b;d=a.c;a.d=c;a.a=d;a.b=e;a.c=b;} + function cOd(a){!a.g&&(a.g=new hQd);!a.g.b&&(a.g.b=new ePd(a));return a.g.b} + function dOd(a){!a.g&&(a.g=new hQd);!a.g.c&&(a.g.c=new IPd(a));return a.g.c} + function lOd(a){!a.g&&(a.g=new hQd);!a.g.d&&(a.g.d=new kPd(a));return a.g.d} + function YNd(a){!a.g&&(a.g=new hQd);!a.g.a&&(a.g.a=new qPd(a));return a.g.a} + function B9d(a,b,c,d){!!c&&(d=c.Rh(b,BYd(c.Dh(),a.c.uk()),null,d));return d} + function C9d(a,b,c,d){!!c&&(d=c.Th(b,BYd(c.Dh(),a.c.uk()),null,d));return d} + function Cjb(a,b,c,d){var e;e=$C(kE,Pwe,28,b+1,15,1);Djb(e,a,b,c,d);return e} + function $C(a,b,c,d,e,f){var g;g=_C(e,d);e!=10&&cD(WC(a,f),b,c,e,g);return g} + function $fe(a,b,c){var d,e;e=new Phe(b,a);for(d=0;dc||b=0?a.Lh(c,true,true):Qvd(a,b,true)} + function gMc(a,b,c){var d;d=qMc(a,b,c);a.b=new _Lc(d.c.length);return iMc(a,d)} + function Pue(a){if(a.b<=0)throw Adb(new Dvb);--a.b;a.a-=a.c.c;return sgb(a.a)} + function PGd(a){var b;if(!a.a){throw Adb(new Evb)}b=a.a;a.a=vCd(a.a);return b} + function WDb(a){while(!a.a){if(!yEb(a.c,new $Db(a))){return false}}return true} + function Nr(a){var b;Qb(a);if(ZD(a,204)){b=RD(a,204);return b}return new Or(a)} + function Cfd(a){Afd();RD(a.of((umd(),Lld)),181).Fc((Pod(),Mod));a.qf(Kld,null);} + function Afd(){Afd=geb;xfd=new Gfd;zfd=new Ifd;yfd=yn((umd(),Kld),xfd,pld,zfd);} + function Y3c(){Y3c=geb;W3c=new $3c('LEAF_NUMBER',0);X3c=new $3c('NODE_SIZE',1);} + function YLc(a){a.a=$C(kE,Pwe,28,a.b+1,15,1);a.c=$C(kE,Pwe,28,a.b,15,1);a.d=0;} + function OZb(a,b){if(a.a.Ne(b.d,a.b)>0){Rmb(a.c,new fZb(b.c,b.d,a.d));a.b=b.d;}} + function NHd(a,b){if(a.g==null||b>=a.i)throw Adb(new yNd(b,a.i));return a.g[b]} + function P_d(a,b,c){gHd(a,c);if(c!=null&&!a.fk(c)){throw Adb(new yeb)}return c} + function dD(a,b){XC(b)!=10&&cD(rb(b),b.Sm,b.__elementTypeId$,XC(b),a);return a} + function Wnb(a,b,c,d){var e;d=(urb(),!d?rrb:d);e=a.slice(b,c);Xnb(e,a,b,c,-b,d);} + function zvd(a,b,c,d,e){return b<0?Qvd(a,c,d):RD(c,69).wk().yk(a,a.hi(),b,d,e)} + function J9b(a,b){return Qfb(Kfb(UD(mQb(a,(Ywc(),Jwc)))),Kfb(UD(mQb(b,Jwc))))} + function qAb(){qAb=geb;pAb=ss((cAb(),cD(WC(AL,1),jwe,304,0,[$zb,_zb,aAb,bAb])));} + function cAb(){cAb=geb;$zb=new dAb('All',0);_zb=new iAb;aAb=new kAb;bAb=new nAb;} + function EKb(){EKb=geb;CKb=new FKb(Nye,0);BKb=new FKb(Kye,1);DKb=new FKb(Oye,2);} + function Zme(){Zme=geb;qAd();Wme=oxe;Vme=pxe;Yme=new Tfb(oxe);Xme=new Tfb(pxe);} + function rOb(){rOb=geb;qOb=ss((mOb(),cD(WC(hO,1),jwe,417,0,[lOb,iOb,jOb,kOb])));} + function NRb(){NRb=geb;MRb=ss((IRb(),cD(WC(WO,1),jwe,406,0,[FRb,ERb,GRb,HRb])));} + function NPb(){NPb=geb;MPb=ss((IPb(),cD(WC(DO,1),jwe,332,0,[FPb,EPb,GPb,HPb])));} + function Z$b(){Z$b=geb;Y$b=ss((U$b(),cD(WC(CQ,1),jwe,389,0,[T$b,R$b,Q$b,S$b])));} + function wZb(){wZb=geb;vZb=ss((nZb(),cD(WC(lQ,1),jwe,416,0,[jZb,mZb,kZb,lZb])));} + function jnc(){jnc=geb;inc=ss((enc(),cD(WC(LV,1),jwe,421,0,[anc,bnc,cnc,dnc])));} + function Bec(){Bec=geb;Aec=ss((vec(),cD(WC(qT,1),jwe,371,0,[uec,sec,tec,rec])));} + function DDc(){DDc=geb;CDc=ss((wDc(),cD(WC(tX,1),jwe,203,0,[uDc,vDc,tDc,sDc])));} + function pEc(){pEc=geb;oEc=ss((kEc(),cD(WC(wX,1),jwe,284,0,[hEc,gEc,iEc,jEc])));} + function Cuc(){Cuc=geb;Buc=new Duc(LAe,0);Auc=new Duc('IMPROVE_STRAIGHTNESS',1);} + function _i(a,b){var c,d;d=b/a.c.Rd().gc()|0;c=b%a.c.Rd().gc();return Ui(a,d,c)} + function iZd(a){var b;if(a.nl()){for(b=a.i-1;b>=0;--b){QHd(a,b);}}return WHd(a)} + function Nyb(a){var b,c;if(!a.b){return null}c=a.b;while(b=c.a[0]){c=b;}return c} + function Oyb(a){var b,c;if(!a.b){return null}c=a.b;while(b=c.a[1]){c=b;}return c} + function Hae(a){if(ZD(a,180)){return ''+RD(a,180).a}return a==null?null:jeb(a)} + function Iae(a){if(ZD(a,180)){return ''+RD(a,180).a}return a==null?null:jeb(a)} + function eGb(a,b){if(b.a){throw Adb(new yz(jye))}Ysb(a.a,b);b.a=a;!a.j&&(a.j=b);} + function hEb(a,b){xxb.call(this,b.zd(),b.yd()&-16449);uFb(a);this.a=a;this.c=b;} + function zXc(a,b){return new gud(b,Zid(ajd(b.e),b.f.a+a,b.f.b+a),(Geb(),false))} + function EMc(a,b){dMc();return Rmb(a,new Ptd(b,sgb(b.e.c.length+b.g.c.length)))} + function GMc(a,b){dMc();return Rmb(a,new Ptd(b,sgb(b.e.c.length+b.g.c.length)))} + function p5c(){p5c=geb;o5c=ss((j5c(),cD(WC(M0,1),jwe,354,0,[i5c,g5c,h5c,f5c])));} + function x_c(){x_c=geb;w_c=ss((s_c(),cD(WC(J_,1),jwe,353,0,[r_c,p_c,q_c,o_c])));} + function eWc(){eWc=geb;dWc=ss((YVc(),cD(WC(H$,1),jwe,405,0,[UVc,VVc,WVc,XVc])));} + function bnd(){bnd=geb;and=ss((Ymd(),cD(WC(u3,1),jwe,223,0,[Xmd,Vmd,Umd,Wmd])));} + function Vnd(){Vnd=geb;Und=ss((Pnd(),cD(WC(z3,1),jwe,291,0,[Ond,Lnd,Mnd,Nnd])));} + function Vpd(){Vpd=geb;Upd=ss((Qpd(),cD(WC(H3,1),jwe,386,0,[Opd,Ppd,Npd,Mpd])));} + function Lrd(){Lrd=geb;Krd=ss((Grd(),cD(WC(R3,1),jwe,320,0,[Frd,Crd,Erd,Drd])));} + function ytd(){ytd=geb;xtd=ss((ttd(),cD(WC(n4,1),jwe,415,0,[qtd,rtd,ptd,std])));} + function b9c(){b9c=geb;$8c=new d9c(iFe,0);a9c=new d9c(mEe,1);_8c=new d9c(LAe,2);} + function sBb(a,b,c,d,e){uFb(a);uFb(b);uFb(c);uFb(d);uFb(e);return new DBb(a,b,d)} + function fub(a,b){var c;c=RD(_jb(a.e,b),400);if(c){rub(c);return c.e}return null} + function Ymb(a,b){var c;c=Wmb(a,b,0);if(c==-1){return false}Xmb(a,c);return true} + function LDb(a,b,c){var d;LCb(a);d=new IEb;d.a=b;a.a.Nb(new QEb(d,c));return d.a} + function VCb(a){var b;LCb(a);b=$C(iE,vxe,28,0,15,1);ixb(a.a,new dDb(b));return b} + function yc(a){var b;if(!xc(a)){throw Adb(new Dvb)}a.e=1;b=a.d;a.d=null;return b} + function Odb(a){var b;if(Kdb(a)){b=0-a;if(!isNaN(b)){return b}}return Edb(xD(a))} + function Wmb(a,b,c){for(;c=0?Dvd(a,c,true,true):Qvd(a,b,true)} + function Vwd(a){var b;b=SD(Ywd(a,32));if(b==null){Wwd(a);b=SD(Ywd(a,32));}return b} + function Yvd(a){var b;if(!a.Oh()){b=AYd(a.Dh())-a.ji();a.$h().Mk(b);}return a.zh()} + function zQb(a,b){yQb=new kRb;wQb=b;xQb=a;RD(xQb.b,68);BQb(xQb,yQb,null);AQb(xQb);} + function AWb(){AWb=geb;yWb=new BWb('XY',0);xWb=new BWb('X',1);zWb=new BWb('Y',2);} + function vLb(){vLb=geb;uLb=new wLb('TOP',0);tLb=new wLb(Kye,1);sLb=new wLb(Qye,2);} + function Gvc(){Gvc=geb;Evc=new Hvc(LAe,0);Fvc=new Hvc('TOP',1);Dvc=new Hvc(Qye,2);} + function sEc(){sEc=geb;qEc=new tEc('INPUT_ORDER',0);rEc=new tEc('PORT_DEGREE',1);} + function MD(){MD=geb;ID=hD(dxe,dxe,524287);JD=hD(0,0,fxe);KD=fD(1);fD(2);LD=fD(0);} + function wWd(a){var b;if(a.d!=a.r){b=WVd(a);a.e=!!b&&b.lk()==aKe;a.d=b;}return a.e} + function UHd(a,b,c){var d;d=a.g[b];MHd(a,b,a.Zi(b,c));a.Ri(b,c,d);a.Ni();return d} + function dHd(a,b){var c;c=a.dd(b);if(c>=0){a.gd(c);return true}else {return false}} + function xr(a,b){var c;Qb(a);Qb(b);c=false;while(b.Ob()){c=c|a.Fc(b.Pb());}return c} + function cub(a,b){var c;c=RD(Wjb(a.e,b),400);if(c){eub(a,c);return c.e}return null} + function iB(a){var b,c;b=a/60|0;c=a%60;if(c==0){return ''+b}return ''+b+':'+(''+c)} + function JB(d,a){var b=d.a[a];var c=(HC(),GC)[typeof b];return c?c(b):NC(typeof b)} + function EDb(a,b){var c,d;MCb(a);d=new zEb(b,a.a);c=new YDb(d);return new SDb(a,c)} + function mwb(a){var b;b=a.b.c.length==0?null:Vmb(a.b,0);b!=null&&owb(a,0);return b} + function ukc(a,b){var c,d,e;e=b.c.i;c=RD(Wjb(a.f,e),60);d=c.d.c-c.e.c;Bjd(b.a,d,0);} + function XLc(a,b){var c;++a.d;++a.c[b];c=b+1;while(c=0){++b[0];}} + function eEd(a,b){Dyd(a,b==null||Rfb((uFb(b),b))||isNaN((uFb(b),b))?0:(uFb(b),b));} + function fEd(a,b){Eyd(a,b==null||Rfb((uFb(b),b))||isNaN((uFb(b),b))?0:(uFb(b),b));} + function gEd(a,b){Cyd(a,b==null||Rfb((uFb(b),b))||isNaN((uFb(b),b))?0:(uFb(b),b));} + function hEd(a,b){Ayd(a,b==null||Rfb((uFb(b),b))||isNaN((uFb(b),b))?0:(uFb(b),b));} + function oWc(a,b,c){return cjd(new rjd(c.e.a+c.f.a/2,c.e.b+c.f.b/2),a)==(uFb(b),b)} + function qge(a,b){return ZD(b,102)&&(RD(b,19).Bb&txe)!=0?new She(b,a):new Phe(b,a)} + function sge(a,b){return ZD(b,102)&&(RD(b,19).Bb&txe)!=0?new She(b,a):new Phe(b,a)} + function XC(a){return a.__elementTypeCategory$==null?10:a.__elementTypeCategory$} + function Bhb(a,b){return b==(wvb(),wvb(),vvb)?a.toLocaleLowerCase():a.toLowerCase()} + function Mu(a){if(!a.e){throw Adb(new Dvb)}a.c=a.a=a.e;a.e=a.e.e;--a.d;return a.a.f} + function Lu(a){if(!a.c){throw Adb(new Dvb)}a.e=a.a=a.c;a.c=a.c.c;++a.d;return a.a.f} + function Lsb(a){var b;++a.a;for(b=a.c.a.length;a.aa.a[d]&&(d=c);}return d} + function Krc(a){var b;b=RD(mQb(a,(Ywc(),Wvc)),313);if(b){return b.a==a}return false} + function Lrc(a){var b;b=RD(mQb(a,(Ywc(),Wvc)),313);if(b){return b.i==a}return false} + function xXb(){xXb=geb;wXb=ss((sXb(),cD(WC(UP,1),jwe,367,0,[nXb,oXb,pXb,qXb,rXb])));} + function Hnc(){Hnc=geb;Gnc=ss((Bnc(),cD(WC(TV,1),jwe,375,0,[xnc,znc,Anc,ync,wnc])));} + function Xtc(){Xtc=geb;Wtc=ss((Ptc(),cD(WC(bX,1),jwe,348,0,[Ltc,Ktc,Ntc,Otc,Mtc])));} + function RDc(){RDc=geb;QDc=ss((JDc(),cD(WC(uX,1),jwe,323,0,[IDc,FDc,GDc,EDc,HDc])));} + function hxc(){hxc=geb;gxc=ss((cxc(),cD(WC(mX,1),jwe,171,0,[bxc,Zwc,$wc,_wc,axc])));} + function m3c(){m3c=geb;l3c=ss((g3c(),cD(WC(x0,1),jwe,368,0,[e3c,b3c,f3c,c3c,d3c])));} + function xad(){xad=geb;wad=ss((sad(),cD(WC(x1,1),jwe,373,0,[oad,nad,qad,pad,rad])));} + function acd(){acd=geb;_bd=ss((Xbd(),cD(WC(P1,1),jwe,324,0,[Sbd,Tbd,Wbd,Ubd,Vbd])));} + function Kmd(){Kmd=geb;Jmd=ss((Cmd(),cD(WC(s3,1),jwe,88,0,[Amd,zmd,ymd,xmd,Bmd])));} + function bid(){bid=geb;aid=ss((Yhd(),cD(WC(d3,1),jwe,170,0,[Whd,Vhd,Thd,Xhd,Uhd])));} + function uod(){uod=geb;tod=ss((pod(),cD(WC(B3,1),jwe,256,0,[mod,ood,kod,lod,nod])));} + function zpd(){zpd=geb;ypd=ss((qpd(),cD(WC(E3,1),NAe,64,0,[opd,Yod,Xod,npd,ppd])));} + function LHb(){LHb=geb;JHb=new MHb('BY_SIZE',0);KHb=new MHb('BY_SIZE_AND_SHAPE',1);} + function TUb(){TUb=geb;RUb=new UUb('EADES',0);SUb=new UUb('FRUCHTERMAN_REINGOLD',1);} + function $tc(){$tc=geb;Ytc=new _tc('READING_DIRECTION',0);Ztc=new _tc('ROTATION',1);} + function CZb(){CZb=geb;zZb=new ZZb;AZb=new b$b;xZb=new f$b;yZb=new j$b;BZb=new n$b;} + function dGb(a){this.b=new bnb;this.a=new bnb;this.c=new bnb;this.d=new bnb;this.e=a;} + function XZb(a){this.g=a;this.f=new bnb;this.a=$wnd.Math.min(this.g.c.c,this.g.d.c);} + function UKb(a,b,c){RJb.call(this);KKb(this);this.a=a;this.c=c;this.b=b.d;this.f=b.e;} + function d6b(a,b,c){var d,e;for(e=new Anb(c);e.a=0&&b0?b-1:b;return Kqd(Lqd(Mqd(Nqd(new Oqd,c),a.n),a.j),a.k)} + function nBd(a){var b,c;c=(b=new q4d,b);WGd((!a.q&&(a.q=new C5d(s7,a,11,10)),a.q),c);} + function ofb(a){return ((a.i&2)!=0?'interface ':(a.i&1)!=0?'':'class ')+(lfb(a),a.o)} + function dz(a){if(Ddb(a,lve)>0){return lve}if(Ddb(a,qwe)<0){return qwe}return Ydb(a)} + function Sv(a){if(a<3){dk(a,fwe);return a+1}if(a=-0.01&&a.a<=Tye&&(a.a=0);a.b>=-0.01&&a.b<=Tye&&(a.b=0);return a} + function Hid(a){tid();var b,c;c=KEe;for(b=0;bc&&(c=a[b]);}return c} + function Zvd(a,b){var c;c=wYd(a.Dh(),b);if(!c){throw Adb(new agb(KHe+b+NHe))}return c} + function NGd(a,b){var c;c=a;while(vCd(c)){c=vCd(c);if(c==b){return true}}return false} + function ix(a,b){var c,d,e;d=b.a.ld();c=RD(b.a.md(),16).gc();for(e=0;ea||a>b){throw Adb(new xeb('fromIndex: 0, toIndex: '+a+Qxe+b))}} + function ZHd(a){if(a<0){throw Adb(new agb('Illegal Capacity: '+a))}this.g=this.aj(a);} + function _y(a,b){Zy();bz(pwe);return $wnd.Math.abs(a-b)<=pwe||a==b||isNaN(a)&&isNaN(b)} + function xJc(a,b){var c,d,e,f;for(d=a.d,e=0,f=d.length;e0){a.a/=b;a.b/=b;}return a} + function BXd(a){var b;if(a.w){return a.w}else {b=CXd(a);!!b&&!b.Vh()&&(a.w=b);return b}} + function l2d(a,b){var c,d;d=a.a;c=m2d(a,b,null);d!=b&&!a.e&&(c=o2d(a,b,c));!!c&&c.oj();} + function rQc(a,b,c){var d,e;d=b;do{e=Kfb(a.p[d.p])+c;a.p[d.p]=e;d=a.a[d.p];}while(d!=b)} + function heb(a,b,c){var d=function(){return a.apply(d,arguments)};b.apply(d,c);return d} + function Gae(a){var b;if(a==null){return null}else {b=RD(a,195);return sAd(b,b.length)}} + function QHd(a,b){if(a.g==null||b>=a.i)throw Adb(new yNd(b,a.i));return a.Wi(b,a.g[b])} + function Dob(a,b){yob();var c,d;d=new bnb;for(c=0;c=14&&b<=16)));return a} + function ws(a,b){var c;uFb(b);c=a[':'+b];mFb(!!c,'Enum constant undefined: '+b);return c} + function tfb(a,b,c,d,e,f){var g;g=rfb(a,b);Ffb(c,g);g.i=e?8:0;g.f=d;g.e=e;g.g=f;return g} + function R3d(a,b,c,d,e){this.d=b;this.k=d;this.f=e;this.o=-1;this.p=1;this.c=a;this.a=c;} + function T3d(a,b,c,d,e){this.d=b;this.k=d;this.f=e;this.o=-1;this.p=2;this.c=a;this.a=c;} + function _3d(a,b,c,d,e){this.d=b;this.k=d;this.f=e;this.o=-1;this.p=6;this.c=a;this.a=c;} + function e4d(a,b,c,d,e){this.d=b;this.k=d;this.f=e;this.o=-1;this.p=7;this.c=a;this.a=c;} + function X3d(a,b,c,d,e){this.d=b;this.j=d;this.e=e;this.o=-1;this.p=4;this.c=a;this.a=c;} + function iGb(a,b){var c,d,e,f;for(d=b,e=0,f=d.length;e=0)){throw Adb(new agb('tolerance ('+a+') must be >= 0'))}return a} + function hOd(a,b){var c;if(ZD(b,44)){return a.c.Mc(b)}else {c=QNd(a,b);jOd(a,b);return c}} + function yBd(a,b,c){YVd(a,b);PAd(a,c);$Vd(a,0);bWd(a,1);aWd(a,true);_Vd(a,true);return a} + function ZGd(a,b){var c;c=a.gc();if(b<0||b>c)throw Adb(new aMd(b,c));return new CMd(a,b)} + function Cad(a,b){a.b=$wnd.Math.max(a.b,b.d);a.e+=b.r+(a.a.c.length==0?0:a.c);Rmb(a.a,b);} + function Jmb(a){yFb(a.c>=0);if(rmb(a.d,a.c)<0){a.a=a.a-1&a.d.a.length-1;a.b=a.d.c;}a.c=-1;} + function Nc(a){var b,c;for(c=a.c.Cc().Kc();c.Ob();){b=RD(c.Pb(),16);b.$b();}a.c.$b();a.d=0;} + function Zi(a){var b,c,d,e;for(c=a.a,d=0,e=c.length;d=0} + function Iqd(a,b){if(a.r>0&&a.c0&&a.g!=0&&Iqd(a.i,b/a.r*a.i.d);}} + function $Cd(a,b){var c;c=a.c;a.c=b;(a.Db&4)!=0&&(a.Db&1)==0&&qvd(a,new N3d(a,1,1,c,a.c));} + function P1d(a,b){var c;c=a.c;a.c=b;(a.Db&4)!=0&&(a.Db&1)==0&&qvd(a,new N3d(a,1,4,c,a.c));} + function jyd(a,b){var c;c=a.k;a.k=b;(a.Db&4)!=0&&(a.Db&1)==0&&qvd(a,new N3d(a,1,2,c,a.k));} + function JXd(a,b){var c;c=a.D;a.D=b;(a.Db&4)!=0&&(a.Db&1)==0&&qvd(a,new N3d(a,1,2,c,a.D));} + function Kzd(a,b){var c;c=a.f;a.f=b;(a.Db&4)!=0&&(a.Db&1)==0&&qvd(a,new N3d(a,1,8,c,a.f));} + function Lzd(a,b){var c;c=a.i;a.i=b;(a.Db&4)!=0&&(a.Db&1)==0&&qvd(a,new N3d(a,1,7,c,a.i));} + function fCd(a,b){var c;c=a.a;a.a=b;(a.Db&4)!=0&&(a.Db&1)==0&&qvd(a,new N3d(a,1,8,c,a.a));} + function ZCd(a,b){var c;c=a.b;a.b=b;(a.Db&4)!=0&&(a.Db&1)==0&&qvd(a,new N3d(a,1,0,c,a.b));} + function s6d(a,b){var c;c=a.b;a.b=b;(a.Db&4)!=0&&(a.Db&1)==0&&qvd(a,new N3d(a,1,0,c,a.b));} + function t6d(a,b){var c;c=a.c;a.c=b;(a.Db&4)!=0&&(a.Db&1)==0&&qvd(a,new N3d(a,1,1,c,a.c));} + function nVd(a,b){var c;c=a.d;a.d=b;(a.Db&4)!=0&&(a.Db&1)==0&&qvd(a,new N3d(a,1,1,c,a.d));} + function Cte(a,b,c){var d;a.b=b;a.a=c;d=(a.a&512)==512?new Gre:new Tqe;a.c=Nqe(d,a.b,a.a);} + function Gge(a,b){return qke(a.e,b)?(nke(),wWd(b)?new ole(b,a):new Eke(b,a)):new Ble(b,a)} + function iDb(a){var b,c;if(0>a){return new rDb}b=a+1;c=new kDb(b,a);return new oDb(null,c)} + function Gob(a,b){yob();var c;c=new Usb(1);bE(a)?$jb(c,a,b):rtb(c.f,a,b);return new uqb(c)} + function pQc(a,b){var c,d;c=a.c;d=b.e[a.p];if(d>0){return RD(Vmb(c.a,d-1),10)}return null} + function TOb(a,b){var c,d;c=a.o+a.p;d=b.o+b.p;if(cb){b<<=1;return b>0?b:hwe}return b} + function xc(a){Ub(a.e!=3);switch(a.e){case 2:return false;case 0:return true;}return zc(a)} + function djd(a,b){var c;if(ZD(b,8)){c=RD(b,8);return a.a==c.a&&a.b==c.b}else {return false}} + function Ydd(a,b){var c;c=new kRb;RD(b.b,68);RD(b.b,68);RD(b.b,68);Umb(b.a,new ced(a,c,b));} + function gOd(a,b){var c,d;for(d=b.vc().Kc();d.Ob();){c=RD(d.Pb(),44);fOd(a,c.ld(),c.md());}} + function Jzd(a,b){var c;c=a.d;a.d=b;(a.Db&4)!=0&&(a.Db&1)==0&&qvd(a,new N3d(a,1,11,c,a.d));} + function zWd(a,b){var c;c=a.j;a.j=b;(a.Db&4)!=0&&(a.Db&1)==0&&qvd(a,new N3d(a,1,13,c,a.j));} + function b6d(a,b){var c;c=a.b;a.b=b;(a.Db&4)!=0&&(a.Db&1)==0&&qvd(a,new N3d(a,1,21,c,a.b));} + function YAb(a,b){((gBb(),dBb)?null:b.c).length==0&&iBb(b,new rBb);$jb(a.a,dBb?null:b.c,b);} + function b9b(a,b){b.Ug('Hierarchical port constraint processing',1);c9b(a);e9b(a);b.Vg();} + function joc(){joc=geb;ioc=new koc('START',0);hoc=new koc('MIDDLE',1);goc=new koc('END',2);} + function x2c(){x2c=geb;v2c=new z2c('P1_NODE_PLACEMENT',0);w2c=new z2c('P2_EDGE_ROUTING',1);} + function JVb(){JVb=geb;HVb=new jGd(rAe);IVb=new jGd(sAe);GVb=new jGd(tAe);FVb=new jGd(uAe);} + function tkb(a){var b;rFb(a.f.g,a.d);sFb(a.b);a.c=a.a;b=RD(a.a.Pb(),44);a.b=skb(a);return b} + function P2d(a){var b;if(a.b==null){return j3d(),j3d(),i3d}b=a.ul()?a.tl():a.sl();return b} + function nwb(a,b){var c;c=b==null?-1:Wmb(a.b,b,0);if(c<0){return false}owb(a,c);return true} + function zsb(a,b){var c;uFb(b);c=b.g;if(!a.b[c]){bD(a.b,c,b);++a.c;return true}return false} + function azb(a,b){var c,d;c=1-b;d=a.a[c];a.a[c]=d.a[b];d.a[b]=a;a.b=true;d.b=false;return d} + function xRb(a,b){var c,d;for(d=b.Kc();d.Ob();){c=RD(d.Pb(),272);a.b=true;Ysb(a.e,c);c.b=a;}} + function kic(a,b){var c,d;c=RD(mQb(a,(yCc(),IBc)),8);d=RD(mQb(b,IBc),8);return Qfb(c.b,d.b)} + function SPb(a,b,c){var d,e,f;f=b>>5;e=b&31;d=Cdb(Udb(a.n[c][f],Ydb(Sdb(e,1))),3);return d} + function lmb(a,b,c){var d,e,f;f=a.a.length-1;for(e=a.b,d=0;d0?1:0}return (!a.c&&(a.c=ojb(Hdb(a.f))),a.c).e} + function GXd(a,b){if(b){if(a.B==null){a.B=a.D;a.D=null;}}else if(a.B!=null){a.D=a.B;a.B=null;}} + function rZb(a,b){nZb();return a==jZb&&b==mZb||a==mZb&&b==jZb||a==lZb&&b==kZb||a==kZb&&b==lZb} + function sZb(a,b){nZb();return a==jZb&&b==kZb||a==jZb&&b==lZb||a==mZb&&b==lZb||a==mZb&&b==kZb} + function zMb(a,b){return Zy(),bz(Tye),$wnd.Math.abs(0-b)<=Tye||0==b||isNaN(0)&&isNaN(b)?0:a/b} + function qsc(a,b){return Kfb(UD(Lvb(MDb(GDb(new SDb(null,new Swb(a.c.b,16)),new Isc(a)),b))))} + function tsc(a,b){return Kfb(UD(Lvb(MDb(GDb(new SDb(null,new Swb(a.c.b,16)),new Gsc(a)),b))))} + function rvc(){ovc();return cD(WC(iX,1),jwe,259,0,[fvc,hvc,ivc,jvc,kvc,lvc,nvc,evc,gvc,mvc])} + function dEc(){aEc();return cD(WC(vX,1),jwe,243,0,[$Dc,VDc,YDc,WDc,XDc,SDc,ZDc,_Dc,TDc,UDc])} + function z3c(a,b){var c;b.Ug('General Compactor',1);c=h4c(RD(Gxd(a,($4c(),I4c)),393));c.Cg(a);} + function T5c(a,b){var c,d;c=RD(Gxd(a,($4c(),P4c)),17);d=RD(Gxd(b,P4c),17);return hgb(c.a,d.a)} + function Bjd(a,b,c){var d,e;for(e=Sub(a,0);e.b!=e.d.c;){d=RD(evb(e),8);d.a+=b;d.b+=c;}return a} + function Go(a,b,c){var d;for(d=a.b[c&a.f];d;d=d.b){if(c==d.a&&Hb(b,d.g)){return d}}return null} + function Ho(a,b,c){var d;for(d=a.c[c&a.f];d;d=d.d){if(c==d.f&&Hb(b,d.i)){return d}}return null} + function sjb(a,b,c){var d,e,f;d=0;for(e=0;e>>31;}d!=0&&(a[c]=d);} + function yzb(a,b,c,d,e,f){var g;this.c=a;g=new bnb;Syb(a,g,b,a.b,c,d,e,f);this.a=new Jkb(g,0);} + function _5c(){this.c=new T2c(0);this.b=new T2c(FEe);this.d=new T2c(EEe);this.a=new T2c(Gze);} + function kMb(a,b,c,d,e,f,g){qs.call(this,a,b);this.d=c;this.e=d;this.c=e;this.b=f;this.a=dv(g);} + function tBd(a,b,c,d,e,f,g,h,i,j,k,l,m){ABd(a,b,c,d,e,f,g,h,i,j,k,l,m);kXd(a,false);return a} + function H0b(a){if(a.b.c.i.k==(r3b(),m3b)){return RD(mQb(a.b.c.i,(Ywc(),Awc)),12)}return a.b.c} + function I0b(a){if(a.b.d.i.k==(r3b(),m3b)){return RD(mQb(a.b.d.i,(Ywc(),Awc)),12)}return a.b.d} + function nDb(a){var b;b=mDb(a);if(Gdb(b.a,0)){return bwb(),bwb(),awb}return bwb(),new ewb(b.b)} + function SCb(a){var b;b=RCb(a);if(Gdb(b.a,0)){return Tvb(),Tvb(),Svb}return Tvb(),new Yvb(b.b)} + function TCb(a){var b;b=RCb(a);if(Gdb(b.a,0)){return Tvb(),Tvb(),Svb}return Tvb(),new Yvb(b.c)} + function o8b(a){switch(a.g){case 2:return qpd(),ppd;case 4:return qpd(),Xod;default:return a;}} + function p8b(a){switch(a.g){case 1:return qpd(),npd;case 3:return qpd(),Yod;default:return a;}} + function C9c(a){switch(a.g){case 0:return new s9c;case 1:return new x9c;default:return null;}} + function Zcc(){Zcc=geb;Ycc=new kGd('edgelabelcenterednessanalysis.includelabel',(Geb(),Eeb));} + function jKc(){jKc=geb;iKc=mfd(qfd(pfd(pfd(new ufd,(sXb(),pXb),(hcc(),Qbc)),qXb,Gbc),rXb),Pbc);} + function DLc(){DLc=geb;CLc=mfd(qfd(pfd(pfd(new ufd,(sXb(),pXb),(hcc(),Qbc)),qXb,Gbc),rXb),Pbc);} + function lYd(){lYd=geb;iYd=new i1d;kYd=cD(WC(y7,1),lKe,179,0,[]);jYd=cD(WC(s7,1),mKe,62,0,[]);} + function P8b(){P8b=geb;O8b=new Q8b('TO_INTERNAL_LTR',0);N8b=new Q8b('TO_INPUT_DIRECTION',1);} + function J3b(){J3b=geb;G3b=new r4b;E3b=new w4b;F3b=new A4b;D3b=new E4b;H3b=new I4b;I3b=new M4b;} + function Cac(a,b){b.Ug(iBe,1);LJb(KJb(new PJb((i1b(),new t1b(a,false,false,new _1b)))));b.Vg();} + function M_c(a,b,c){c.Ug('DFS Treeifying phase',1);L_c(a,b);J_c(a,b);a.a=null;a.b=null;c.Vg();} + function Leb(a,b){Geb();return bE(a)?jhb(a,WD(b)):_D(a)?Jfb(a,UD(b)):$D(a)?Ieb(a,TD(b)):a.Fd(b)} + function Ld(a,b){var c,d;uFb(b);for(d=b.vc().Kc();d.Ob();){c=RD(d.Pb(),44);a.zc(c.ld(),c.md());}} + function ege(a,b,c){var d;for(d=c.Kc();d.Ob();){if(!cge(a,b,d.Pb())){return false}}return true} + function S6d(a,b,c,d,e){var f;if(c){f=BYd(b.Dh(),a.c);e=c.Rh(b,-1-(f==-1?d:f),null,e);}return e} + function T6d(a,b,c,d,e){var f;if(c){f=BYd(b.Dh(),a.c);e=c.Th(b,-1-(f==-1?d:f),null,e);}return e} + function Uib(a){var b;if(a.b==-2){if(a.e==0){b=-1;}else {for(b=0;a.a[b]==0;b++);}a.b=b;}return a.b} + function fjb(a){uFb(a);if(a.length==0){throw Adb(new Vgb('Zero length BigInteger'))}mjb(this,a);} + function $Hd(a){this.i=a.gc();if(this.i>0){this.g=this.aj(this.i+(this.i/8|0)+1);a.Qc(this.g);}} + function dmc(a,b,c){this.g=a;this.d=b;this.e=c;this.a=new bnb;bmc(this);yob();_mb(this.a,null);} + function aad(a,b){b.q=a;a.d=$wnd.Math.max(a.d,b.r);a.b+=b.d+(a.a.c.length==0?0:a.c);Rmb(a.a,b);} + function xid(a,b){var c,d,e,f;e=a.c;c=a.c+a.b;f=a.d;d=a.d+a.a;return b.a>e&&b.af&&b.be?(c=e):BFb(b,c+1);a.a=zhb(a.a,0,b)+(''+d)+yhb(a.a,c);} + function ktb(a,b){a.a=Bdb(a.a,1);a.c=$wnd.Math.min(a.c,b);a.b=$wnd.Math.max(a.b,b);a.d=Bdb(a.d,b);} + function wdc(a,b){return b1||a.Ob()){++a.a;a.g=0;b=a.i;a.Ob();return b}else {throw Adb(new Dvb)}} + function GRc(a){switch(a.a.g){case 1:return new lSc;case 3:return new VUc;default:return new WRc;}} + function fyd(a,b){switch(b){case 1:return !!a.n&&a.n.i!=0;case 2:return a.k!=null;}return Cxd(a,b)} + function Hdb(a){if(jxe>22);e=a.h+b.h+(d>>22);return hD(c&dxe,d&dxe,e&exe)} + function DD(a,b){var c,d,e;c=a.l-b.l;d=a.m-b.m+(c>>22);e=a.h-b.h+(d>>22);return hD(c&dxe,d&dxe,e&exe)} + function Jpc(a){var b,c;Hpc(a);for(c=new Anb(a.d);c.ad)throw Adb(new aMd(b,d));a.Si()&&(c=bHd(a,c));return a.Ei(b,c)} + function eQb(a,b,c,d,e){var f,g;for(g=c;g<=e;g++){for(f=b;f<=d;f++){PPb(a,f,g)||TPb(a,f,g,true,false);}}} + function uid(a){tid();var b,c,d;c=$C(l3,Nve,8,2,0,1);d=0;for(b=0;b<2;b++){d+=0.5;c[b]=Cid(d,a);}return c} + function xD(a){var b,c,d;b=~a.l+1&dxe;c=~a.m+(b==0?1:0)&dxe;d=~a.h+(b==0&&c==0?1:0)&exe;return hD(b,c,d)} + function mgb(a){var b;if(a<0){return qwe}else if(a==0){return 0}else {for(b=hwe;(b&a)==0;b>>=1);return b}} + function zSd(a,b,c){if(a>=128)return false;return a<64?Pdb(Cdb(Sdb(1,a),c),0):Pdb(Cdb(Sdb(1,a-64),b),0)} + function oQb(a,b,c){return c==null?(!a.q&&(a.q=new Tsb),_jb(a.q,b)):(!a.q&&(a.q=new Tsb),Zjb(a.q,b,c)),a} + function pQb(a,b,c){c==null?(!a.q&&(a.q=new Tsb),_jb(a.q,b)):(!a.q&&(a.q=new Tsb),Zjb(a.q,b,c));return a} + function KTb(a){var b,c;c=new gUb;kQb(c,a);pQb(c,(JVb(),HVb),a);b=new Tsb;MTb(a,c,b);LTb(a,c,b);return c} + function cIc(a){var b,c;b=a.t-a.k[a.o.p]*a.d+a.j[a.o.p]>a.f;c=a.u+a.e[a.o.p]*a.d>a.f*a.s*a.d;return b||c} + function qmc(a,b){var c,d,e,f;c=false;d=a.a[b].length;for(f=0;f=0,'Negative initial capacity');mFb(b>=0,'Non-positive load factor');akb(this);} + function iib(a,b,c,d,e){var f,g;g=a.length;f=c.length;if(b<0||d<0||e<0||b+e>g||d+e>f){throw Adb(new ueb)}} + function zob(a,b){yob();var c,d,e,f,g;g=false;for(d=b,e=0,f=d.length;e1||b>=0&&a.b<3} + function nD(a){var b,c,d;b=~a.l+1&dxe;c=~a.m+(b==0?1:0)&dxe;d=~a.h+(b==0&&c==0?1:0)&exe;a.l=b;a.m=c;a.h=d;} + function Cob(a){yob();var b,c,d;d=1;for(c=a.Kc();c.Ob();){b=c.Pb();d=31*d+(b!=null?tb(b):0);d=d|0;}return d} + function kD(a,b,c,d,e){var f;f=BD(a,b);c&&nD(f);if(e){a=mD(a,b);d?(eD=xD(a)):(eD=hD(a.l,a.m,a.h));}return f} + function Qlc(a,b,c){a.g=Wlc(a,b,(qpd(),Xod),a.b);a.d=Wlc(a,c,Xod,a.b);if(a.g.c==0||a.d.c==0){return}Tlc(a);} + function Rlc(a,b,c){a.g=Wlc(a,b,(qpd(),ppd),a.j);a.d=Wlc(a,c,ppd,a.j);if(a.g.c==0||a.d.c==0){return}Tlc(a);} + function Xyd(a,b){switch(b){case 7:return !!a.e&&a.e.i!=0;case 8:return !!a.d&&a.d.i!=0;}return wyd(a,b)} + function STb(a,b){switch(b.g){case 0:ZD(a.b,641)||(a.b=new tUb);break;case 1:ZD(a.b,642)||(a.b=new zUb);}} + function tbd(a){switch(a.g){case 0:return new _dd;default:throw Adb(new agb(eGe+(a.f!=null?a.f:''+a.g)));}} + function bdd(a){switch(a.g){case 0:return new vdd;default:throw Adb(new agb(eGe+(a.f!=null?a.f:''+a.g)));}} + function LCc(a,b,c){return !QDb(CDb(new SDb(null,new Swb(a.c,16)),new PAb(new gsd(b,c)))).Bd((xDb(),wDb))} + function mWc(a,b){return cjd(jWc(RD(mQb(b,(h_c(),H$c)),88)),new rjd(a.c.e.a-a.b.e.a,a.c.e.b-a.b.e.b))<=0} + function dve(a,b){while(a.g==null&&!a.c?sId(a):a.g==null||a.i!=0&&RD(a.g[a.i-1],51).Ob()){mFd(b,tId(a));}} + function sYb(a){var b,c;for(c=new Anb(a.a.b);c.ad?1:0} + function ICc(a){Rmb(a.c,(hed(),fed));if(_y(a.a,Kfb(UD(iGd((QCc(),OCc)))))){return new asd}return new csd(a)} + function fs(a){while(!a.d||!a.d.Ob()){if(!!a.b&&!nmb(a.b)){a.d=RD(smb(a.b),51);}else {return null}}return a.d} + function BVc(a){switch(a.g){case 1:return EEe;default:case 2:return 0;case 3:return Gze;case 4:return FEe;}} + function fte(){Vse();var a;if(Cse)return Cse;a=Zse(hte('M',true));a=$se(hte('M',false),a);Cse=a;return Cse} + function ttd(){ttd=geb;qtd=new utd('ELK',0);rtd=new utd('JSON',1);ptd=new utd('DOT',2);std=new utd('SVG',3);} + function TEc(){TEc=geb;SEc=new UEc('STACKED',0);QEc=new UEc('REVERSE_STACKED',1);REc=new UEc('SEQUENCED',2);} + function LZc(){LZc=geb;KZc=new MZc(LAe,0);JZc=new MZc('MIDDLE_TO_MIDDLE',1);IZc=new MZc('AVOID_OVERLAP',2);} + function sgc(){sgc=geb;qgc=new Lgc;rgc=new Ngc;pgc=new Dgc;ogc=new Pgc;ngc=new Hgc;mgc=(uFb(ngc),new nrb);} + function vnd(){vnd=geb;tnd=new A3b(15);snd=new mGd((umd(),tld),tnd);und=Qld;ond=Ekd;pnd=kld;rnd=nld;qnd=mld;} + function wgd(a,b){var c,d,e,f,g;for(d=b,e=0,f=d.length;e=a.b.c.length){return}jwb(a,2*b+1);c=2*b+2;c0){b.Cd(c);c.i&&zKc(c);}}} + function Ejb(a,b,c){var d;for(d=c-1;d>=0&&a[d]===b[d];d--);return d<0?0:Ldb(Cdb(a[d],yxe),Cdb(b[d],yxe))?-1:1} + function it(a,b,c){var d,e;this.g=a;this.c=b;this.a=this;this.d=this;e=Wp(c);d=$C(UG,ewe,227,e,0,1);this.b=d;} + function fQb(a,b,c,d,e){var f,g;for(g=c;g<=e;g++){for(f=b;f<=d;f++){if(PPb(a,f,g)){return true}}}return false} + function Dc(a,b){var c,d;for(d=a.Zb().Cc().Kc();d.Ob();){c=RD(d.Pb(),16);if(c.Hc(b)){return true}}return false} + function iu(a,b,c){var d,e,f,g;uFb(c);g=false;f=a.fd(b);for(e=c.Kc();e.Ob();){d=e.Pb();f.Rb(d);g=true;}return g} + function NMd(a,b){var c,d;d=RD(Ywd(a.a,4),129);c=$C(d6,IJe,424,b,0,1);d!=null&&hib(d,0,c,0,d.length);return c} + function hSd(a,b){var c;c=new lSd((a.f&256)!=0,a.i,a.a,a.d,(a.f&16)!=0,a.j,a.g,b);a.e!=null||(c.c=a);return c} + function Tv(a,b){var c;if(a===b){return true}else if(ZD(b,85)){c=RD(b,85);return Rx(gn(a),c.vc())}return false} + function Vjb(a,b,c){var d,e;for(e=c.Kc();e.Ob();){d=RD(e.Pb(),44);if(a.Be(b,d.md())){return true}}return false} + function lmc(a,b,c){if(!a.d[b.p][c.p]){kmc(a,b,c);a.d[b.p][c.p]=true;a.d[c.p][b.p]=true;}return a.a[b.p][c.p]} + function vMc(a,b){var c;if(!a||a==b||!nQb(b,(Ywc(),pwc))){return false}c=RD(mQb(b,(Ywc(),pwc)),10);return c!=a} + function Bhe(a){switch(a.i){case 2:{return true}case 1:{return false}case -1:{++a.c;}default:{return a.$l()}}} + function Che(a){switch(a.i){case -2:{return true}case -1:{return false}case 1:{--a.c;}default:{return a._l()}}} + function bgb(a){oz.call(this,'The given string does not match the expected format for individual spacings.',a);} + function J6c(a,b){var c;b.Ug('Min Size Preprocessing',1);c=vsd(a);Ixd(a,(X6c(),U6c),c.a);Ixd(a,R6c,c.b);b.Vg();} + function Djd(a){var b,c,d;b=0;d=$C(l3,Nve,8,a.b,0,1);c=Sub(a,0);while(c.b!=c.d.c){d[b++]=RD(evb(c),8);}return d} + function Ajd(a,b,c){var d,e,f;d=new Yub;for(f=Sub(c,0);f.b!=f.d.c;){e=RD(evb(f),8);Mub(d,new sjd(e));}iu(a,b,d);} + function az(a,b){var c;c=Bdb(a,b);if(Ldb($db(a,b),0)|Jdb($db(a,c),0)){return c}return Bdb(Sve,$db(Udb(c,63),1))} + function le(a,b){var c,d;c=RD(a.d.Bc(b),16);if(!c){return null}d=a.e.hc();d.Gc(c);a.e.d-=c.gc();c.$b();return d} + function Dyb(a){var b;b=a.a.c.length;if(b>0){return lyb(b-1,a.a.c.length),Xmb(a.a,b-1)}else {throw Adb(new Srb)}} + function nFb(a,b,c){if(a>b){throw Adb(new agb(_xe+a+aye+b))}if(a<0||b>c){throw Adb(new xeb(_xe+a+bye+b+Qxe+c))}} + function yXd(a,b){if(a.D==null&&a.B!=null){a.D=a.B;a.B=null;}JXd(a,b==null?null:(uFb(b),b));!!a.C&&a.hl(null);} + function JCc(a,b){var c;c=iGd((QCc(),OCc))!=null&&b.Sg()!=null?Kfb(UD(b.Sg()))/Kfb(UD(iGd(OCc))):1;Zjb(a.b,b,c);} + function $Lc(a,b){var c,d;d=a.c[b];if(d==0){return}a.c[b]=0;a.d-=d;c=b+1;while(cDEe?a-c>DEe:c-a>DEe} + function vjd(a,b){var c;for(c=0;ce){ead(b.q,e);d=c!=b.q.d;}}return d} + function C3c(a,b){var c,d,e,f,g,h,i,j;i=b.i;j=b.j;d=a.f;e=d.i;f=d.j;g=i-e;h=j-f;c=$wnd.Math.sqrt(g*g+h*h);return c} + function pBd(a,b){var c,d;d=Hvd(a);if(!d){c=(gSd(),nSd(b));d=new Sde(c);WGd(d.El(),a);}return d} + function Sc(a,b){var c,d;c=RD(a.c.Bc(b),16);if(!c){return a.jc()}d=a.hc();d.Gc(c);a.d-=c.gc();c.$b();return a.mc(d)} + function tKc(a,b){var c,d;d=Kwb(a.d,1)!=0;c=true;while(c){c=false;c=b.c.mg(b.e,d);c=c|DKc(a,b,d,false);d=!d;}yKc(a);} + function omc(a,b,c,d){var e,f;a.a=b;f=d?0:1;a.f=(e=new mmc(a.c,a.a,c,f),new Pmc(c,a.a,e,a.e,a.b,a.c==(RKc(),PKc)));} + function Imb(a){var b;sFb(a.a!=a.b);b=a.d.a[a.a];zmb(a.b==a.d.c&&b!=null);a.c=a.a;a.a=a.a+1&a.d.a.length-1;return b} + function Vib(a){var b;if(a.c!=0){return a.c}for(b=0;b=a.c.b:a.a<=a.c.b)){throw Adb(new Dvb)}b=a.a;a.a+=a.c.c;++a.b;return sgb(b)} + function h5b(a){var b;b=new y2b(a.a);kQb(b,a);pQb(b,(Ywc(),Awc),a);b.o.a=a.g;b.o.b=a.f;b.n.a=a.i;b.n.b=a.j;return b} + function tVc(a){return (qpd(),hpd).Hc(a.j)?Kfb(UD(mQb(a,(Ywc(),Swc)))):xjd(cD(WC(l3,1),Nve,8,0,[a.i.n,a.n,a.a])).b} + function ZJc(a){var b;b=vfd(XJc);RD(mQb(a,(Ywc(),kwc)),21).Hc((ovc(),kvc))&&pfd(b,(sXb(),pXb),(hcc(),Ybc));return b} + function M2c(a){var b,c,d,e;e=new _sb;for(d=new Anb(a);d.a=0?b:-b;while(d>0){if(d%2==0){c*=c;d=d/2|0;}else {e*=c;d-=1;}}return b<0?1/e:e} + function Jid(a,b){var c,d,e;e=1;c=a;d=b>=0?b:-b;while(d>0){if(d%2==0){c*=c;d=d/2|0;}else {e*=c;d-=1;}}return b<0?1/e:e} + function Vvd(a,b){var c,d,e,f;f=(e=a?Hvd(a):null,Pje((d=b,e?e.Gl():null,d)));if(f==b){c=Hvd(a);!!c&&c.Gl();}return f} + function g2d(a,b,c){var d,e;e=a.f;a.f=b;if((a.Db&4)!=0&&(a.Db&1)==0){d=new N3d(a,1,0,e,b);!c?(c=d):c.nj(d);}return c} + function e2d(a,b,c){var d,e;e=a.b;a.b=b;if((a.Db&4)!=0&&(a.Db&1)==0){d=new N3d(a,1,3,e,b);!c?(c=d):c.nj(d);}return c} + function rAd(a,b,c){var d,e;e=a.a;a.a=b;if((a.Db&4)!=0&&(a.Db&1)==0){d=new N3d(a,1,1,e,b);!c?(c=d):c.nj(d);}return c} + function SNd(a){var b,c;if(a!=null){for(c=0;c=d||b-129&&a<128){return ugb(),b=a+128,c=tgb[b],!c&&(c=tgb[b]=new fgb(a)),c}return new fgb(a)} + function bhb(a){var b,c;if(a>-129&&a<128){return dhb(),b=a+128,c=chb[b],!c&&(c=chb[b]=new Xgb(a)),c}return new Xgb(a)} + function M$b(a,b){var c;if(a.a.c.length>0){c=RD(Vmb(a.a,a.a.c.length-1),579);if(Q_b(c,b)){return}}Rmb(a.a,new S_b(b));} + function Ekc(a){lkc();var b,c;b=a.d.c-a.e.c;c=RD(a.g,154);Umb(c.b,new Ykc(b));Umb(c.c,new $kc(b));xgb(c.i,new alc(b));} + function Mlc(a){var b;b=new bib;b.a+='VerticalSegment ';Yhb(b,a.e);b.a+=' ';Zhb(b,Eb(new Gb,new Anb(a.k)));return b.a} + function Fmc(a,b){var c,d,e;c=0;for(e=b3b(a,b).Kc();e.Ob();){d=RD(e.Pb(),12);c+=mQb(d,(Ywc(),Iwc))!=null?1:0;}return c} + function VTc(a,b,c){var d,e,f;d=0;for(f=Sub(a,0);f.b!=f.d.c;){e=Kfb(UD(evb(f)));if(e>c){break}else e>=b&&++d;}return d} + function Wv(b,c){Qb(b);try{return b._b(c)}catch(a){a=zdb(a);if(ZD(a,212)||ZD(a,169)){return false}else throw Adb(a)}} + function Nk(b,c){Qb(b);try{return b.Hc(c)}catch(a){a=zdb(a);if(ZD(a,212)||ZD(a,169)){return false}else throw Adb(a)}} + function Ok(b,c){Qb(b);try{return b.Mc(c)}catch(a){a=zdb(a);if(ZD(a,212)||ZD(a,169)){return false}else throw Adb(a)}} + function Xv(b,c){Qb(b);try{return b.xc(c)}catch(a){a=zdb(a);if(ZD(a,212)||ZD(a,169)){return null}else throw Adb(a)}} + function Yv(b,c){Qb(b);try{return b.Bc(c)}catch(a){a=zdb(a);if(ZD(a,212)||ZD(a,169)){return null}else throw Adb(a)}} + function aMc(a,b){switch(b.g){case 2:case 1:return b3b(a,b);case 3:case 4:return hv(b3b(a,b));}return yob(),yob(),vob} + function QAd(a){var b;if((a.Db&64)!=0)return awd(a);b=new Shb(awd(a));b.a+=' (name: ';Nhb(b,a.zb);b.a+=')';return b.a} + function Fgd(a){var b;b=RD(cub(a.c.c,''),233);if(!b){b=new fgd(ogd(ngd(new pgd,''),'Other'));dub(a.c.c,'',b);}return b} + function hBd(a,b,c){var d,e;e=a.sb;a.sb=b;if((a.Db&4)!=0&&(a.Db&1)==0){d=new N3d(a,1,4,e,b);!c?(c=d):c.nj(d);}return c} + function ZVd(a,b,c){var d,e;e=a.r;a.r=b;if((a.Db&4)!=0&&(a.Db&1)==0){d=new N3d(a,1,8,e,a.r);!c?(c=d):c.nj(d);}return c} + function q5d(a,b,c){var d,e;d=new P3d(a.e,4,13,(e=b.c,e?e:(JTd(),wTd)),null,fZd(a,b),false);!c?(c=d):c.nj(d);return c} + function p5d(a,b,c){var d,e;d=new P3d(a.e,3,13,null,(e=b.c,e?e:(JTd(),wTd)),fZd(a,b),false);!c?(c=d):c.nj(d);return c} + function Oee(a,b){var c,d;c=RD(b,691);d=c.el();!d&&c.fl(d=ZD(b,90)?new afe(a,RD(b,29)):new mfe(a,RD(b,156)));return d} + function KHd(a,b,c){var d;a._i(a.i+1);d=a.Zi(b,c);b!=a.i&&hib(a.g,b,a.g,b+1,a.i-b);bD(a.g,b,d);++a.i;a.Mi(b,c);a.Ni();} + function Hyb(a,b){var c;if(b.a){c=b.a.a.length;!a.a?(a.a=new dib(a.d)):Zhb(a.a,a.b);Xhb(a.a,b.a,b.d.length,c);}return a} + function wib(a,b){var c;a.c=b;a.a=pjb(b);a.a<54&&(a.f=(c=b.d>1?DFb(b.a[0],b.a[1]):DFb(b.a[0],0),Xdb(b.e>0?c:Odb(c))));} + function MDb(a,b){var c;c=new IEb;if(!a.a.Bd(c)){LCb(a);return Kvb(),Kvb(),Jvb}return Kvb(),new Ovb(uFb(LDb(a,c.a,b)))} + function t9b(a,b){var c;if(a.c.length==0){return}c=RD(anb(a,$C(jR,WAe,10,a.c.length,0,1)),199);Znb(c,new F9b);q9b(c,b);} + function z9b(a,b){var c;if(a.c.length==0){return}c=RD(anb(a,$C(jR,WAe,10,a.c.length,0,1)),199);Znb(c,new K9b);q9b(c,b);} + function pb(a,b){return bE(a)?lhb(a,b):_D(a)?Lfb(a,b):$D(a)?(uFb(a),dE(a)===dE(b)):YD(a)?a.Fb(b):aD(a)?mb(a,b):Hz(a,b)} + function Cvd(a,b,c){if(b<0){Tvd(a,c);}else {if(!c.rk()){throw Adb(new agb(KHe+c.xe()+LHe))}RD(c,69).wk().Ek(a,a.hi(),b);}} + function xFb(a,b,c){if(a<0||b>c){throw Adb(new veb(_xe+a+bye+b+', size: '+c))}if(a>b){throw Adb(new agb(_xe+a+aye+b))}} + function oVd(a){var b;if((a.Db&64)!=0)return awd(a);b=new Shb(awd(a));b.a+=' (source: ';Nhb(b,a.d);b.a+=')';return b.a} + function JSd(a){if(a>=65&&a<=70){return a-65+10}if(a>=97&&a<=102){return a-97+10}if(a>=48&&a<=57){return a-48}return 0} + function lMb(a){hMb();var b,c,d,e;for(c=nMb(),d=0,e=c.length;d=0?jjb(a):Xib(jjb(Odb(a)))));} + function G0b(a,b,c,d,e,f){this.e=new bnb;this.f=(BEc(),AEc);Rmb(this.e,a);this.d=b;this.a=c;this.b=d;this.f=e;this.c=f;} + function bQb(a,b,c){a.n=YC(lE,[Nve,rxe],[376,28],14,[c,eE($wnd.Math.ceil(b/32))],2);a.o=b;a.p=c;a.j=b-1>>1;a.k=c-1>>1;} + function ggb(a){a-=a>>1&1431655765;a=(a>>2&858993459)+(a&858993459);a=(a>>4)+a&252645135;a+=a>>8;a+=a>>16;return a&63} + function C4d(a,b){var c,d;for(d=new dMd(a);d.e!=d.i.gc();){c=RD(bMd(d),142);if(dE(b)===dE(c)){return true}}return false} + function Iee(a,b,c){var d,e,f;f=(e=N5d(a.b,b),e);if(f){d=RD(tfe(Pee(a,f),''),29);if(d){return Ree(a,d,b,c)}}return null} + function Lee(a,b,c){var d,e,f;f=(e=N5d(a.b,b),e);if(f){d=RD(tfe(Pee(a,f),''),29);if(d){return See(a,d,b,c)}}return null} + function IDd(a,b){var c;c=Ao(a.i,b);if(c==null){throw Adb(new CDd('Node did not exist in input.'))}wEd(b,c);return null} + function wvd(a,b){var c;c=wYd(a,b);if(ZD(c,331)){return RD(c,35)}throw Adb(new agb(KHe+b+"' is not a valid attribute"))} + function VGd(a,b,c){var d;d=a.gc();if(b>d)throw Adb(new aMd(b,d));if(a.Si()&&a.Hc(c)){throw Adb(new agb(LIe))}a.Gi(b,c);} + function w7b(a,b){b.Ug('Sort end labels',1);FDb(CDb(EDb(new SDb(null,new Swb(a.b,16)),new H7b),new J7b),new L7b);b.Vg();} + function Cmd(){Cmd=geb;Amd=new Gmd(Sye,0);zmd=new Gmd(Oye,1);ymd=new Gmd(Nye,2);xmd=new Gmd(Zye,3);Bmd=new Gmd('UP',4);} + function gbd(){gbd=geb;dbd=new hbd('P1_STRUCTURE',0);ebd=new hbd('P2_PROCESSING_ORDER',1);fbd=new hbd('P3_EXECUTION',2);} + function r0c(){r0c=geb;q0c=mfd(mfd(rfd(mfd(mfd(rfd(pfd(new ufd,(YVc(),VVc),(WYc(),VYc)),WVc),RYc),TYc),XVc),NYc),UYc);} + function s8b(a){switch(RD(mQb(a,(Ywc(),owc)),311).g){case 1:pQb(a,owc,(Gvc(),Dvc));break;case 2:pQb(a,owc,(Gvc(),Fvc));}} + function bUc(a){switch(a){case 0:return new mUc;case 1:return new cUc;case 2:return new hUc;default:throw Adb(new _fb);}} + function Fmd(a){switch(a.g){case 2:return zmd;case 1:return ymd;case 4:return xmd;case 3:return Bmd;default:return Amd;}} + function UNb(a,b){switch(a.b.g){case 0:case 1:return b;case 2:case 3:return new Uid(b.d,0,b.a,b.b);default:return null;}} + function rpd(a){switch(a.g){case 1:return ppd;case 2:return Yod;case 3:return Xod;case 4:return npd;default:return opd;}} + function spd(a){switch(a.g){case 1:return npd;case 2:return ppd;case 3:return Yod;case 4:return Xod;default:return opd;}} + function tpd(a){switch(a.g){case 1:return Xod;case 2:return npd;case 3:return ppd;case 4:return Yod;default:return opd;}} + function cyd(a,b,c,d){switch(b){case 1:return !a.n&&(a.n=new C5d(I4,a,1,7)),a.n;case 2:return a.k;}return Axd(a,b,c,d)} + function uLd(a,b,c){var d,e;if(a.Pj()){e=a.Qj();d=SHd(a,b,c);a.Jj(a.Ij(7,sgb(c),d,b,e));return d}else {return SHd(a,b,c)}} + function VNd(a,b){var c,d,e;if(a.d==null){++a.e;--a.f;}else {e=b.ld();c=b.Bi();d=(c&lve)%a.d.length;iOd(a,d,XNd(a,d,c,e));}} + function xWd(a,b){var c;c=(a.Bb&gwe)!=0;b?(a.Bb|=gwe):(a.Bb&=-1025);(a.Db&4)!=0&&(a.Db&1)==0&&qvd(a,new Q3d(a,1,10,c,b));} + function DWd(a,b){var c;c=(a.Bb&qxe)!=0;b?(a.Bb|=qxe):(a.Bb&=-4097);(a.Db&4)!=0&&(a.Db&1)==0&&qvd(a,new Q3d(a,1,12,c,b));} + function EWd(a,b){var c;c=(a.Bb&bKe)!=0;b?(a.Bb|=bKe):(a.Bb&=-8193);(a.Db&4)!=0&&(a.Db&1)==0&&qvd(a,new Q3d(a,1,15,c,b));} + function FWd(a,b){var c;c=(a.Bb&cKe)!=0;b?(a.Bb|=cKe):(a.Bb&=-2049);(a.Db&4)!=0&&(a.Db&1)==0&&qvd(a,new Q3d(a,1,11,c,b));} + function zKc(a){var b;if(a.g){b=a.c.kg()?a.f:a.a;BKc(b.a,a.o,true);BKc(b.a,a.o,false);pQb(a.o,(yCc(),BBc),(Bod(),vod));}} + function Orc(a){var b;if(!a.a){throw Adb(new dgb('Cannot offset an unassigned cut.'))}b=a.c-a.b;a.b+=b;Qrc(a,b);Rrc(a,b);} + function JDd(a,b){var c;c=Wjb(a.k,b);if(c==null){throw Adb(new CDd('Port did not exist in input.'))}wEd(b,c);return null} + function Jje(a){var b,c;for(c=Kje(BXd(a)).Kc();c.Ob();){b=WD(c.Pb());if(bAd(a,b)){return USd((TSd(),SSd),b)}}return null} + function qJb(a){var b,c;for(c=a.p.a.ec().Kc();c.Ob();){b=RD(c.Pb(),218);if(b.f&&a.b[b.c]<-1.0E-10){return b}}return null} + function Lr(a){var b,c;c=Thb(new bib,91);b=true;while(a.Ob()){b||(c.a+=pve,c);b=false;Yhb(c,a.Pb());}return (c.a+=']',c).a} + function o_b(a){var b,c,d;b=new bnb;for(d=new Anb(a.b);d.ab){return 1}if(a==b){return a==0?Qfb(1/a,1/b):0}return isNaN(a)?isNaN(b)?0:1:-1} + function pmb(a){var b;b=a.a[a.c-1&a.a.length-1];if(b==null){return null}a.c=a.c-1&a.a.length-1;bD(a.a,a.c,null);return b} + function Dqe(a){var b,c,d;d=0;c=a.length;for(b=0;b=1?zmd:xmd}return c} + function Xhc(a){switch(RD(mQb(a,(yCc(),yAc)),223).g){case 1:return new jqc;case 3:return new arc;default:return new dqc;}} + function MCb(a){if(a.c){MCb(a.c);}else if(a.d){throw Adb(new dgb("Stream already terminated, can't be modified or used"))}} + function Ltb(a,b,c){var d;d=a.a.get(b);a.a.set(b,c===undefined?null:c);if(d===undefined){++a.c;++a.b.g;}else {++a.d;}return d} + function HHc(a,b,c){var d,e;for(e=a.a.ec().Kc();e.Ob();){d=RD(e.Pb(),10);if(Be(c,RD(Vmb(b,d.p),16))){return d}}return null} + function u0c(a,b,c){var d;d=0;!!b&&(Emd(a.a)?(d+=b.f.a/2):(d+=b.f.b/2));!!c&&(Emd(a.a)?(d+=c.f.a/2):(d+=c.f.b/2));return d} + function LWb(a,b,c){var d;d=c;!d&&(d=Nqd(new Oqd,0));d.Ug(EAe,2);y0b(a.b,b,d.eh(1));NWb(a,b,d.eh(1));h0b(b,d.eh(1));d.Vg();} + function CGd(a,b,c){var d,e;d=(bvd(),e=new Xxd,e);Vxd(d,b);Wxd(d,c);!!a&&WGd((!a.a&&(a.a=new XZd(D4,a,5)),a.a),d);return d} + function kyd(a){var b;if((a.Db&64)!=0)return awd(a);b=new Shb(awd(a));b.a+=' (identifier: ';Nhb(b,a.k);b.a+=')';return b.a} + function kXd(a,b){var c;c=(a.Bb&QHe)!=0;b?(a.Bb|=QHe):(a.Bb&=-32769);(a.Db&4)!=0&&(a.Db&1)==0&&qvd(a,new Q3d(a,1,18,c,b));} + function a6d(a,b){var c;c=(a.Bb&QHe)!=0;b?(a.Bb|=QHe):(a.Bb&=-32769);(a.Db&4)!=0&&(a.Db&1)==0&&qvd(a,new Q3d(a,1,18,c,b));} + function AWd(a,b){var c;c=(a.Bb&Ove)!=0;b?(a.Bb|=Ove):(a.Bb&=-16385);(a.Db&4)!=0&&(a.Db&1)==0&&qvd(a,new Q3d(a,1,16,c,b));} + function c6d(a,b){var c;c=(a.Bb&txe)!=0;b?(a.Bb|=txe):(a.Bb&=-65537);(a.Db&4)!=0&&(a.Db&1)==0&&qvd(a,new Q3d(a,1,20,c,b));} + function qse(a){var b;b=$C(hE,zwe,28,2,15,1);a-=txe;b[0]=(a>>10)+uxe&Bwe;b[1]=(a&1023)+56320&Bwe;return Ihb(b,0,b.length)} + function Zfb(a){var b;b=Neb(a);if(b>3.4028234663852886E38){return oxe}else if(b<-3.4028234663852886E38){return pxe}return b} + function Bdb(a,b){var c;if(Kdb(a)&&Kdb(b)){c=a+b;if(jxe'+aXc(b.c):'e_'+tb(b),!!a.b&&!!a.c?aXc(a.b)+'->'+aXc(a.c):'e_'+tb(a))} + function rWc(a,b){return lhb(!!b.b&&!!b.c?aXc(b.b)+'->'+aXc(b.c):'e_'+tb(b),!!a.b&&!!a.c?aXc(a.b)+'->'+aXc(a.c):'e_'+tb(a))} + function $y(a,b){Zy();return bz(pwe),$wnd.Math.abs(a-b)<=pwe||a==b||isNaN(a)&&isNaN(b)?0:ab?1:cz(isNaN(a),isNaN(b))} + function Ymd(){Ymd=geb;Xmd=new Zmd(Sye,0);Vmd=new Zmd('POLYLINE',1);Umd=new Zmd('ORTHOGONAL',2);Wmd=new Zmd('SPLINES',3);} + function _6c(){_6c=geb;Z6c=new a7c('ASPECT_RATIO_DRIVEN',0);$6c=new a7c('MAX_SCALE_DRIVEN',1);Y6c=new a7c('AREA_DRIVEN',2);} + function Db(b,c,d){var e;try{Cb(b,c,d);}catch(a){a=zdb(a);if(ZD(a,606)){e=a;throw Adb(new Deb(e))}else throw Adb(a)}return c} + function Im(a){var b,c,d;for(c=0,d=a.length;cb&&d.Ne(a[f-1],a[f])>0;--f){g=a[f];bD(a,f,a[f-1]);bD(a,f-1,g);}}} + function Egd(a,b){var c,d,e,f,g;c=b.f;dub(a.c.d,c,b);if(b.g!=null){for(e=b.g,f=0,g=e.length;fb){fvb(c);break}}cvb(c,b);} + function Kic(a,b){var c,d,e;d=Zjc(b);e=Kfb(UD(hFc(d,(yCc(),TBc))));c=$wnd.Math.max(0,e/2-0.5);Iic(b,c,1);Rmb(a,new hjc(b,c));} + function L5c(a,b,c){var d;c.Ug('Straight Line Edge Routing',1);c.dh(b,eFe);d=RD(Gxd(b,(u2c(),t2c)),27);M5c(a,d);c.dh(b,gFe);} + function K9c(a,b){a.n.c.length==0&&Rmb(a.n,new _9c(a.s,a.t,a.i));Rmb(a.b,b);W9c(RD(Vmb(a.n,a.n.c.length-1),209),b);M9c(a,b);} + function Zrb(a){var b;this.a=(b=RD(a.e&&a.e(),9),new Fsb(b,RD(WEb(b,b.length),9),0));this.b=$C(jJ,rve,1,this.a.a.length,5,1);} + function jeb(a){var b;if(Array.isArray(a)&&a.Tm===keb){return nfb(rb(a))+'@'+(b=tb(a)>>>0,b.toString(16))}return a.toString()} + function jD(a,b){if(a.h==fxe&&a.m==0&&a.l==0){b&&(eD=hD(0,0,0));return gD((MD(),KD))}b&&(eD=hD(a.l,a.m,a.h));return hD(0,0,0)} + function _Gb(a,b){switch(b.g){case 2:return a.b;case 1:return a.c;case 4:return a.d;case 3:return a.a;default:return false;}} + function IYb(a,b){switch(b.g){case 2:return a.b;case 1:return a.c;case 4:return a.d;case 3:return a.a;default:return false;}} + function vyd(a,b,c,d){switch(b){case 3:return a.f;case 4:return a.g;case 5:return a.i;case 6:return a.j;}return cyd(a,b,c,d)} + function oIb(a,b){if(b==a.d){return a.e}else if(b==a.e){return a.d}else {throw Adb(new agb('Node '+b+' not part of edge '+a))}} + function Uvd(a,b){var c;c=wYd(a.Dh(),b);if(ZD(c,102)){return RD(c,19)}throw Adb(new agb(KHe+b+"' is not a valid reference"))} + function Bvd(a,b,c,d){if(b<0){Svd(a,c,d);}else {if(!c.rk()){throw Adb(new agb(KHe+c.xe()+LHe))}RD(c,69).wk().Ck(a,a.hi(),b,d);}} + function ig(a){var b;if(a.b){ig(a.b);if(a.b.d!=a.c){throw Adb(new Jrb)}}else if(a.d.dc()){b=RD(a.f.c.xc(a.e),16);!!b&&(a.d=b);}} + function VMb(a){RMb();var b,c,d,e;b=a.o.b;for(d=RD(RD(Qc(a.r,(qpd(),npd)),21),87).Kc();d.Ob();){c=RD(d.Pb(),117);e=c.e;e.b+=b;}} + function SRb(a){var b,c,d;this.a=new Iub;for(d=new Anb(a);d.a=e){return b.c+c}}return b.c+b.b.gc()} + function lQd(a,b){jQd();var c,d,e,f;d=iZd(a);e=b;Wnb(d,0,d.length,e);for(c=0;c0){d+=e;++c;}}c>1&&(d+=a.d*(c-1));return d} + function FFd(a){var b,c,d,e,f;f=HFd(a);c=cve(a.c);d=!c;if(d){e=new MB;sC(f,'knownLayouters',e);b=new QFd(e);xgb(a.c,b);}return f} + function fHd(a){var b,c,d;d=new Qhb;d.a+='[';for(b=0,c=a.gc();b0&&(BFb(b-1,a.length),a.charCodeAt(b-1)==58)&&!mSd(a,aSd,bSd)} + function Sib(a,b){var c;if(dE(a)===dE(b)){return true}if(ZD(b,92)){c=RD(b,92);return a.e==c.e&&a.d==c.d&&Tib(a,c.a)}return false} + function vpd(a){qpd();switch(a.g){case 4:return Yod;case 1:return Xod;case 3:return npd;case 2:return ppd;default:return opd;}} + function jBb(a){var b,c;if(a.b){return a.b}c=dBb?null:a.d;while(c){b=dBb?null:c.b;if(b){return b}c=dBb?null:c.d;}return SAb(),RAb} + function LJb(a){var b,c,d;d=Kfb(UD(a.a.of((umd(),cmd))));for(c=new Anb(a.a.Sf());c.a>5;b=a&31;d=$C(kE,Pwe,28,c+1,15,1);d[c]=1<3){e*=10;--f;}a=(a+(e>>1))/e|0;}d.i=a;return true} + function BYd(a,b){var c,d,e;c=(a.i==null&&rYd(a),a.i);d=b.Lj();if(d!=-1){for(e=c.length;d=0;--d){b=c[d];for(e=0;e>1;this.k=b-1>>1;} + function Dfd(a){Afd();if(RD(a.of((umd(),pld)),181).Hc((dqd(),bqd))){RD(a.of(Lld),181).Fc((Pod(),Ood));RD(a.of(pld),181).Mc(bqd);}} + function ndc(a){var b,c;b=a.d==(btc(),Ysc);c=jdc(a);b&&!c||!b&&c?pQb(a.a,(yCc(),Rzc),(Rjd(),Pjd)):pQb(a.a,(yCc(),Rzc),(Rjd(),Ojd));} + function QCc(){QCc=geb;GCc();OCc=(yCc(),bCc);PCc=dv(cD(WC(V5,1),kEe,149,0,[SBc,TBc,VBc,WBc,ZBc,$Bc,_Bc,aCc,dCc,fCc,UBc,XBc,cCc]));} + function RDb(a,b){var c;c=RD(zDb(a,tBb(new ZBb,new XBb,new wCb,cD(WC(QL,1),jwe,108,0,[(xBb(),vBb)]))),15);return c.Qc(__c(c.gc()))} + function nXc(a,b){var c,d;d=new zAb(a.a.ad(b,true));if(d.a.gc()<=1){throw Adb(new Ngb)}c=d.a.ec().Kc();c.Pb();return RD(c.Pb(),40)} + function lQc(a,b,c){var d,e;d=Kfb(a.p[b.i.p])+Kfb(a.d[b.i.p])+b.n.b+b.a.b;e=Kfb(a.p[c.i.p])+Kfb(a.d[c.i.p])+c.n.b+c.a.b;return e-d} + function XHd(a,b){var c;if(a.i>0){if(b.lengtha.i&&bD(b,a.i,null);return b} + function MXd(a){var b;if((a.Db&64)!=0)return QAd(a);b=new Shb(QAd(a));b.a+=' (instanceClassName: ';Nhb(b,a.D);b.a+=')';return b.a} + function ySd(a){var b,c,d,e;e=0;for(c=0,d=a.length;c0){a._j();d=b==null?0:tb(b);e=(d&lve)%a.d.length;c=XNd(a,e,d,b);return c!=-1}else {return false}} + function Nrb(a,b){var c,d;a.a=Bdb(a.a,1);a.c=$wnd.Math.min(a.c,b);a.b=$wnd.Math.max(a.b,b);a.d+=b;c=b-a.f;d=a.e+c;a.f=d-a.e-c;a.e=d;} + function yyd(a,b){switch(b){case 3:Ayd(a,0);return;case 4:Cyd(a,0);return;case 5:Dyd(a,0);return;case 6:Eyd(a,0);return;}hyd(a,b);} + function c3b(a,b){switch(b.g){case 1:return dr(a.j,(J3b(),E3b));case 2:return dr(a.j,(J3b(),G3b));default:return yob(),yob(),vob;}} + function zm(a){tm();var b;b=a.Pc();switch(b.length){case 0:return sm;case 1:return new Dy(Qb(b[0]));default:return new Kx(Im(b));}} + function kMd(b,c){b.Xj();try{b.d.bd(b.e++,c);b.f=b.d.j;b.g=-1;}catch(a){a=zdb(a);if(ZD(a,77)){throw Adb(new Jrb)}else throw Adb(a)}} + function a8d(){a8d=geb;$7d=new b8d;T7d=new e8d;U7d=new h8d;V7d=new k8d;W7d=new n8d;X7d=new q8d;Y7d=new t8d;Z7d=new w8d;_7d=new z8d;} + function YA(a,b){WA();var c,d;c=_A(($A(),$A(),ZA));d=null;b==c&&(d=RD(Xjb(VA,a),624));if(!d){d=new XA(a);b==c&&$jb(VA,a,d);}return d} + function zDc(a){wDc();var b;(!a.q?(yob(),yob(),wob):a.q)._b((yCc(),iBc))?(b=RD(mQb(a,iBc),203)):(b=RD(mQb(Y2b(a),jBc),203));return b} + function hFc(a,b){var c,d;d=null;if(nQb(a,(yCc(),YBc))){c=RD(mQb(a,YBc),96);c.pf(b)&&(d=c.of(b));}d==null&&(d=mQb(Y2b(a),b));return d} + function Ze(a,b){var c,d,e;if(ZD(b,44)){c=RD(b,44);d=c.ld();e=Xv(a.Rc(),d);return Hb(e,c.md())&&(e!=null||a.Rc()._b(d))}return false} + function $Nd(a,b){var c,d,e;if(a.f>0){a._j();d=b==null?0:tb(b);e=(d&lve)%a.d.length;c=WNd(a,e,d,b);if(c){return c.md()}}return null} + function qLd(a,b,c){var d,e,f;if(a.Pj()){d=a.i;f=a.Qj();KHd(a,d,b);e=a.Ij(3,null,b,d,f);!c?(c=e):c.nj(e);}else {KHd(a,a.i,b);}return c} + function f$d(a,b,c){var d,e;d=new P3d(a.e,4,10,(e=b.c,ZD(e,90)?RD(e,29):(JTd(),zTd)),null,fZd(a,b),false);!c?(c=d):c.nj(d);return c} + function e$d(a,b,c){var d,e;d=new P3d(a.e,3,10,null,(e=b.c,ZD(e,90)?RD(e,29):(JTd(),zTd)),fZd(a,b),false);!c?(c=d):c.nj(d);return c} + function SMb(a){RMb();var b;b=new sjd(RD(a.e.of((umd(),nld)),8));if(a.B.Hc((dqd(),Ypd))){b.a<=0&&(b.a=20);b.b<=0&&(b.b=20);}return b} + function jjb(a){Pib();var b,c;c=Ydb(a);b=Ydb(Udb(a,32));if(b!=0){return new bjb(c,b)}if(c>10||c<0){return new ajb(1,c)}return Lib[c]} + function Mdb(a,b){var c;if(Kdb(a)&&Kdb(b)){c=a%b;if(jxe=0){f=f.a[1];}else {e=f;f=f.a[0];}}return e} + function Qyb(a,b,c){var d,e,f;e=null;f=a.b;while(f){d=a.a.Ne(b,f.d);if(c&&d==0){return f}if(d<=0){f=f.a[0];}else {e=f;f=f.a[1];}}return e} + function rmc(a,b,c,d){var e,f,g;e=false;if(Lmc(a.f,c,d)){Omc(a.f,a.a[b][c],a.a[b][d]);f=a.a[b];g=f[d];f[d]=f[c];f[c]=g;e=true;}return e} + function Nqc(a,b,c){var d,e,f,g;e=RD(Wjb(a.b,c),183);d=0;for(g=new Anb(b.j);g.a>5;b&=31;e=a.d+c+(b==0?0:1);d=$C(kE,Pwe,28,e,15,1);rjb(d,a.a,c,b);f=new cjb(a.e,e,d);Rib(f);return f} + function zGc(a,b){var c,d,e;for(d=new is(Mr(a3b(a).a.Kc(),new ir));gs(d);){c=RD(hs(d),18);e=c.d.i;if(e.c==b){return false}}return true} + function _Ec(a,b,c){var d,e,f,g,h;g=a.k;h=b.k;d=c[g.g][h.g];e=UD(hFc(a,d));f=UD(hFc(b,d));return $wnd.Math.max((uFb(e),e),(uFb(f),f))} + function lA(){if(Error.stackTraceLimit>0){$wnd.Error.stackTraceLimit=Error.stackTraceLimit=64;return true}return 'stack' in new Error} + function sGb(a,b){return Zy(),Zy(),bz(pwe),($wnd.Math.abs(a-b)<=pwe||a==b||isNaN(a)&&isNaN(b)?0:ab?1:cz(isNaN(a),isNaN(b)))>0} + function uGb(a,b){return Zy(),Zy(),bz(pwe),($wnd.Math.abs(a-b)<=pwe||a==b||isNaN(a)&&isNaN(b)?0:ab?1:cz(isNaN(a),isNaN(b)))<0} + function tGb(a,b){return Zy(),Zy(),bz(pwe),($wnd.Math.abs(a-b)<=pwe||a==b||isNaN(a)&&isNaN(b)?0:ab?1:cz(isNaN(a),isNaN(b)))<=0} + function Efb(a,b){var c=0;while(!b[c]||b[c]==''){c++;}var d=b[c++];for(;c0&&this.b>0&&(this.g=Aad(this.c,this.b,this.a));} + function rC(f,a){var b=f.a;var c;a=String(a);b.hasOwnProperty(a)&&(c=b[a]);var d=(HC(),GC)[typeof c];var e=d?d(c):NC(typeof c);return e} + function uDd(a){var b,c,d;d=null;b=uIe in a.a;c=!b;if(c){throw Adb(new CDd('Every element must have an id.'))}d=tDd(qC(a,uIe));return d} + function Qqe(a){var b,c;c=Rqe(a);b=null;while(a.c==2){Mqe(a);if(!b){b=(Vse(),Vse(),new iue(2));hue(b,c);c=b;}c.Jm(Rqe(a));}return c} + function jOd(a,b){var c,d,e;a._j();d=b==null?0:tb(b);e=(d&lve)%a.d.length;c=WNd(a,e,d,b);if(c){hOd(a,c);return c.md()}else {return null}} + function Qib(a,b){if(a.e>b.e){return 1}if(a.eb.d){return a.e}if(a.d=48&&a<48+$wnd.Math.min(10,10)){return a-48}if(a>=97&&a<97){return a-97+10}if(a>=65&&a<65){return a-65+10}return -1} + function UHc(a,b){if(b.c==a){return b.d}else if(b.d==a){return b.c}throw Adb(new agb('Input edge is not connected to the input port.'))} + function Fae(a){if(mhb(FGe,a)){return Geb(),Feb}else if(mhb(GGe,a)){return Geb(),Eeb}else {throw Adb(new agb('Expecting true or false'))}} + function jFb(a){switch(typeof(a)){case jve:return ohb(a);case ive:return Nfb(a);case hve:return Jeb(a);default:return a==null?0:kFb(a);}} + function mfd(a,b){if(a.a<0){throw Adb(new dgb('Did not call before(...) or after(...) before calling add(...).'))}tfd(a,a.a,b);return a} + function FId(a){EId();if(ZD(a,162)){return RD(Wjb(CId,zK),295).Rg(a)}if(Ujb(CId,rb(a))){return RD(Wjb(CId,rb(a)),295).Rg(a)}return null} + function Wwd(a){var b,c;if((a.Db&32)==0){c=(b=RD(Ywd(a,16),29),AYd(!b?a.ii():b)-AYd(a.ii()));c!=0&&$wd(a,32,$C(jJ,rve,1,c,5,1));}return a} + function $wd(a,b,c){var d;if((a.Db&b)!=0){if(c==null){Zwd(a,b);}else {d=Xwd(a,b);d==-1?(a.Eb=c):bD(SD(a.Eb),d,c);}}else c!=null&&Twd(a,b,c);} + function tTc(a,b,c,d){var e,f;if(b.c.length==0){return}e=pTc(c,d);f=oTc(b);FDb(PDb(new SDb(null,new Swb(f,1)),new CTc),new GTc(a,c,e,d));} + function rmb(a,b){var c,d,e,f;d=a.a.length-1;c=b-a.b&d;f=a.c-b&d;e=a.c-a.b&d;zmb(c=f){umb(a,b);return -1}else {vmb(a,b);return 1}} + function Hvd(a){var b,c,d;d=a.Jh();if(!d){b=0;for(c=a.Ph();c;c=c.Ph()){if(++b>wxe){return c.Qh()}d=c.Jh();if(!!d||c==a){break}}}return d} + function Ue(a,b){var c;if(dE(b)===dE(a)){return true}if(!ZD(b,21)){return false}c=RD(b,21);if(c.gc()!=a.gc()){return false}return a.Ic(c)} + function kNc(a,b){if(a.eb.e){return 1}else if(a.fb.f){return 1}return tb(a)-tb(b)} + function mhb(a,b){uFb(a);if(b==null){return false}if(lhb(a,b)){return true}return a.length==b.length&&lhb(a.toLowerCase(),b.toLowerCase())} + function Hgb(a){var b,c;if(Ddb(a,-129)>0&&Ddb(a,128)<0){return Jgb(),b=Ydb(a)+128,c=Igb[b],!c&&(c=Igb[b]=new zgb(a)),c}return new zgb(a)} + function U$b(){U$b=geb;T$b=new V$b(LAe,0);R$b=new V$b('INSIDE_PORT_SIDE_GROUPS',1);Q$b=new V$b('GROUP_MODEL_ORDER',2);S$b=new V$b(MAe,3);} + function ufe(a){var b;a.b||vfe(a,(b=Hee(a.e,a.a),!b||!lhb(GGe,$Nd((!b.b&&(b.b=new SVd((JTd(),FTd),C8,b)),b.b),'qualified'))));return a.c} + function BA(a,b){var c,d;c=(BFb(b,a.length),a.charCodeAt(b));d=b+1;while(d2000){Oz=a;Pz=$wnd.setTimeout(Yz,10);}}if(Nz++==0){_z(($z(),Zz));return true}return false} + function lBb(a,b,c){var d;(bBb?(jBb(a),true):cBb?(SAb(),true):fBb?(SAb(),true):eBb&&(SAb(),false))&&(d=new aBb(b),d.b=c,hBb(a,d),undefined);} + function oNb(a,b){var c;c=!a.A.Hc((Qpd(),Ppd))||a.q==(Bod(),wod);a.u.Hc((Pod(),Lod))?c?mNb(a,b):qNb(a,b):a.u.Hc(Nod)&&(c?nNb(a,b):rNb(a,b));} + function Bed(a){var b;if(dE(Gxd(a,(umd(),Xkd)))===dE((Fnd(),Dnd))){if(!vCd(a)){Ixd(a,Xkd,End);}else {b=RD(Gxd(vCd(a),Xkd),346);Ixd(a,Xkd,b);}}} + function _fc(a){var b,c;if(nQb(a.d.i,(yCc(),tBc))){b=RD(mQb(a.c.i,tBc),17);c=RD(mQb(a.d.i,tBc),17);return hgb(b.a,c.a)>0}else {return false}} + function g_b(a,b,c){return new Uid($wnd.Math.min(a.a,b.a)-c/2,$wnd.Math.min(a.b,b.b)-c/2,$wnd.Math.abs(a.a-b.a)+c,$wnd.Math.abs(a.b-b.b)+c)} + function _mc(a){var b;this.d=new bnb;this.j=new pjd;this.g=new pjd;b=a.g.b;this.f=RD(mQb(Y2b(b),(yCc(),rAc)),88);this.e=Kfb(UD(k2b(b,ZBc)));} + function onc(a){this.d=new bnb;this.e=new gub;this.c=$C(kE,Pwe,28,(qpd(),cD(WC(E3,1),NAe,64,0,[opd,Yod,Xod,npd,ppd])).length,15,1);this.b=a;} + function $pc(a,b,c){var d;d=c[a.g][b];switch(a.g){case 1:case 3:return new rjd(0,d);case 2:case 4:return new rjd(d,0);default:return null;}} + function Ced(b,c,d){var e,f;f=RD(ltd(c.f),205);try{f.rf(b,d);mtd(c.f,f);}catch(a){a=zdb(a);if(ZD(a,103)){e=a;throw Adb(e)}else throw Adb(a)}} + function tEd(a,b,c){var d,e,f,g,h,i;d=null;h=vgd(ygd(),b);f=null;if(h){e=null;i=zhd(h,c);g=null;i!=null&&(g=a.qf(h,i));e=g;f=e;}d=f;return d} + function sSd(a,b,c,d){var e;e=a.length;if(b>=e)return e;for(b=b>0?b:0;bd&&bD(b,d,null);return b} + function lob(a,b){var c,d;d=a.a.length;b.lengthd&&bD(b,d,null);return b} + function Bde(a,b){var c,d;++a.j;if(b!=null){c=(d=a.a.Cb,ZD(d,99)?RD(d,99).th():null);if(Jnb(b,c)){$wd(a.a,4,c);return}}$wd(a.a,4,RD(b,129));} + function mne(a){var b;if(a==null)return null;b=Hqe(nue(a,true));if(b==null){throw Adb(new Mle("Invalid hexBinary value: '"+a+"'"))}return b} + function wA(a,b,c){var d;if(b.a.length>0){Rmb(a.b,new kB(b.a,c));d=b.a.length;0d&&(b.a+=Hhb($C(hE,zwe,28,-d,15,1)));}} + function yIb(a,b,c){var d,e,f;if(c[b.d]){return}c[b.d]=true;for(e=new Anb(CIb(b));e.a=a.b>>1){d=a.c;for(c=a.b;c>b;--c){d=d.b;}}else {d=a.a.a;for(c=0;c=0?a.Wh(e):Rvd(a,d)):c<0?Rvd(a,d):RD(d,69).wk().Bk(a,a.hi(),c)} + function Fxd(a){var b,c,d;d=(!a.o&&(a.o=new DVd((pvd(),mvd),X4,a,0)),a.o);for(c=d.c.Kc();c.e!=c.i.gc();){b=RD(c.Yj(),44);b.md();}return dOd(d)} + function iGd(a){var b;if(ZD(a.a,4)){b=FId(a.a);if(b==null){throw Adb(new dgb(HGe+a.b+"'. "+DGe+(lfb(b6),b6.k)+EGe))}return b}else {return a.a}} + function iSd(a,b){var c,d;if(a.j.length!=b.j.length)return false;for(c=0,d=a.j.length;c=64&&b<128&&(e=Rdb(e,Sdb(1,b-64)));}return e} + function k2b(a,b){var c,d;d=null;if(nQb(a,(umd(),amd))){c=RD(mQb(a,amd),96);c.pf(b)&&(d=c.of(b));}d==null&&!!Y2b(a)&&(d=mQb(Y2b(a),b));return d} + function i0b(a,b){var c;c=RD(mQb(a,(yCc(),RAc)),75);if(br(b,f0b)){if(!c){c=new Ejd;pQb(a,RAc,c);}else {Xub(c);}}else !!c&&pQb(a,RAc,null);return c} + function tSb(){tSb=geb;sSb=(umd(),Yld);mSb=Ukd;hSb=Dkd;nSb=tld;qSb=(YHb(),UHb);pSb=SHb;rSb=WHb;oSb=RHb;jSb=(eSb(),aSb);iSb=_Rb;kSb=cSb;lSb=dSb;} + function PZb(a){NZb();this.c=new bnb;this.d=a;switch(a.g){case 0:case 2:this.a=Fob(MZb);this.b=oxe;break;case 3:case 1:this.a=MZb;this.b=pxe;}} + function c9b(a){var b;if(!Cod(RD(mQb(a,(yCc(),BBc)),101))){return}b=a.b;d9b((tFb(0,b.c.length),RD(b.c[0],30)));d9b(RD(Vmb(b,b.c.length-1),30));} + function ohc(a,b){b.Ug('Self-Loop post-processing',1);FDb(CDb(CDb(EDb(new SDb(null,new Swb(a.b,16)),new uhc),new whc),new yhc),new Ahc);b.Vg();} + function xrd(a,b,c){var d,e;if(a.c){Dyd(a.c,a.c.i+b);Eyd(a.c,a.c.j+c);}else {for(e=new Anb(a.b);e.a=0&&(c.d=a.t);break;case 3:a.t>=0&&(c.a=a.t);}if(a.C){c.b=a.C.b;c.c=a.C.c;}} + function JDc(){JDc=geb;IDc=new LDc(mEe,0);FDc=new LDc(BBe,1);GDc=new LDc('LINEAR_SEGMENTS',2);EDc=new LDc('BRANDES_KOEPF',3);HDc=new LDc(lEe,4);} + function IRb(){IRb=geb;FRb=new JRb(_ye,0);ERb=new JRb(aze,1);GRb=new JRb(bze,2);HRb=new JRb(cze,3);FRb.a=false;ERb.a=true;GRb.a=false;HRb.a=true;} + function IPb(){IPb=geb;FPb=new JPb(_ye,0);EPb=new JPb(aze,1);GPb=new JPb(bze,2);HPb=new JPb(cze,3);FPb.a=false;EPb.a=true;GPb.a=false;HPb.a=true;} + function Ivd(a,b,c,d){var e;if(c>=0){return a.Sh(b,c,d)}else {!!a.Ph()&&(d=(e=a.Fh(),e>=0?a.Ah(d):a.Ph().Th(a,-1-e,null,d)));return a.Ch(b,c,d)}} + function Zyd(a,b){switch(b){case 7:!a.e&&(a.e=new Yie(G4,a,7,4));sLd(a.e);return;case 8:!a.d&&(a.d=new Yie(G4,a,8,5));sLd(a.d);return;}yyd(a,b);} + function Ixd(a,b,c){c==null?(!a.o&&(a.o=new DVd((pvd(),mvd),X4,a,0)),jOd(a.o,b)):(!a.o&&(a.o=new DVd((pvd(),mvd),X4,a,0)),fOd(a.o,b,c));return a} + function Aob(a,b){yob();var c,d,e,f;c=a;f=b;if(ZD(a,21)&&!ZD(b,21)){c=b;f=a;}for(e=c.Kc();e.Ob();){d=e.Pb();if(f.Hc(d)){return false}}return true} + function qTc(a,b,c,d){if(b.ac.b){return true}}}return false} + function QD(a,b){if(bE(a)){return !!PD[b]}else if(a.Sm){return !!a.Sm[b]}else if(_D(a)){return !!OD[b]}else if($D(a)){return !!ND[b]}return false} + function udc(a){var b;b=a.a;do{b=RD(hs(new is(Mr(Z2b(b).a.Kc(),new ir))),18).c.i;b.k==(r3b(),o3b)&&a.b.Fc(b);}while(b.k==(r3b(),o3b));a.b=hv(a.b);} + function UGc(a,b){var c,d,e;e=a;for(d=new is(Mr(Z2b(b).a.Kc(),new ir));gs(d);){c=RD(hs(d),18);!!c.c.i.c&&(e=$wnd.Math.max(e,c.c.i.c.p));}return e} + function INb(a,b){var c,d,e;e=0;d=RD(RD(Qc(a.r,b),21),87).Kc();while(d.Ob()){c=RD(d.Pb(),117);e+=c.d.d+c.b.Mf().b+c.d.a;d.Ob()&&(e+=a.w);}return e} + function AMb(a,b){var c,d,e;e=0;d=RD(RD(Qc(a.r,b),21),87).Kc();while(d.Ob()){c=RD(d.Pb(),117);e+=c.d.b+c.b.Mf().a+c.d.c;d.Ob()&&(e+=a.w);}return e} + function O2c(a){var b,c,d,e;d=0;e=Q2c(a);if(e.c.length==0){return 1}else {for(c=new Anb(e);c.a=0?a.Lh(g,c,true):Qvd(a,f,c)):RD(f,69).wk().yk(a,a.hi(),e,c,d)} + function aNb(a,b,c,d){var e,f;f=b.pf((umd(),ild))?RD(b.of(ild),21):a.j;e=lMb(f);if(e==(hMb(),gMb)){return}if(c&&!jMb(e)){return}LKb(cNb(a,e,d),b);} + function Y6b(a){switch(a.g){case 1:return mOb(),lOb;case 3:return mOb(),iOb;case 2:return mOb(),kOb;case 4:return mOb(),jOb;default:return null;}} + function kmc(a,b,c){if(a.e){switch(a.b){case 1:Ulc(a.c,b,c);break;case 0:Vlc(a.c,b,c);}}else {Slc(a.c,b,c);}a.a[b.p][c.p]=a.c.i;a.a[c.p][b.p]=a.c.e;} + function LLc(a){var b,c;if(a==null){return null}c=$C(jR,Nve,199,a.length,0,2);for(b=0;b=0)return e;if(a.ol()){for(d=0;d=e)throw Adb(new aMd(b,e));if(a.Si()){d=a.dd(c);if(d>=0&&d!=b){throw Adb(new agb(LIe))}}return a.Xi(b,c)} + function wx(a,b){this.a=RD(Qb(a),253);this.b=RD(Qb(b),253);if(a.Ed(b)>0||a==(Wk(),Vk)||b==(kl(),jl)){throw Adb(new agb('Invalid range: '+Dx(a,b)))}} + function p_b(a){var b,c;this.b=new bnb;this.c=a;this.a=false;for(c=new Anb(a.a);c.a0);if((b&-b)==b){return eE(b*Kwb(a,31)*4.6566128730773926E-10)}do{c=Kwb(a,31);d=c%b;}while(c-d+(b-1)<0);return eE(d)} + function d2b(a,b,c){switch(c.g){case 1:a.a=b.a/2;a.b=0;break;case 2:a.a=b.a;a.b=b.b/2;break;case 3:a.a=b.a/2;a.b=b.b;break;case 4:a.a=0;a.b=b.b/2;}} + function Onc(a,b,c,d){var e,f;for(e=b;e1&&(f=xIb(a,b));return f} + function yqd(a){var b;b=Kfb(UD(Gxd(a,(umd(),lmd))))*$wnd.Math.sqrt((!a.a&&(a.a=new C5d(J4,a,10,11)),a.a).i);return new rjd(b,b/Kfb(UD(Gxd(a,kmd))))} + function Dzd(a){var b;if(!!a.f&&a.f.Vh()){b=RD(a.f,54);a.f=RD(Vvd(a,b),84);a.f!=b&&(a.Db&4)!=0&&(a.Db&1)==0&&qvd(a,new N3d(a,9,8,b,a.f));}return a.f} + function Ezd(a){var b;if(!!a.i&&a.i.Vh()){b=RD(a.i,54);a.i=RD(Vvd(a,b),84);a.i!=b&&(a.Db&4)!=0&&(a.Db&1)==0&&qvd(a,new N3d(a,9,7,b,a.i));}return a.i} + function Z5d(a){var b;if(!!a.b&&(a.b.Db&64)!=0){b=a.b;a.b=RD(Vvd(a,b),19);a.b!=b&&(a.Db&4)!=0&&(a.Db&1)==0&&qvd(a,new N3d(a,9,21,b,a.b));}return a.b} + function UNd(a,b){var c,d,e;if(a.d==null){++a.e;++a.f;}else {d=b.Bi();_Nd(a,a.f+1);e=(d&lve)%a.d.length;c=a.d[e];!c&&(c=a.d[e]=a.dk());c.Fc(b);++a.f;}} + function Mge(a,b,c){var d;if(b.tk()){return false}else if(b.Ik()!=-2){d=b.ik();return d==null?c==null:pb(d,c)}else return b.qk()==a.e.Dh()&&c==null} + function Io(){var a;dk(16,fwe);a=Wp(16);this.b=$C(XF,ewe,303,a,0,1);this.c=$C(XF,ewe,303,a,0,1);this.a=null;this.e=null;this.i=0;this.f=a-1;this.g=0;} + function j3b(a){v2b.call(this);this.k=(r3b(),p3b);this.j=(dk(6,iwe),new cnb(6));this.b=(dk(2,iwe),new cnb(2));this.d=new T2b;this.f=new C3b;this.a=a;} + function wgc(a){var b,c;if(a.c.length<=1){return}b=tgc(a,(qpd(),npd));vgc(a,RD(b.a,17).a,RD(b.b,17).a);c=tgc(a,ppd);vgc(a,RD(c.a,17).a,RD(c.b,17).a);} + function vHc(a,b,c){var d,e;e=a.a.b;for(d=e.c.length;d102)return -1;if(a<=57)return a-48;if(a<65)return -1;if(a<=70)return a-65+10;if(a<97)return -1;return a-97+10} + function ck(a,b){if(a==null){throw Adb(new Ogb('null key in entry: null='+b))}else if(b==null){throw Adb(new Ogb('null value in entry: '+a+'=null'))}} + function Cr(a,b){var c,d;while(a.Ob()){if(!b.Ob()){return false}c=a.Pb();d=b.Pb();if(!(dE(c)===dE(d)||c!=null&&pb(c,d))){return false}}return !b.Ob()} + function aLb(a,b){var c;c=cD(WC(iE,1),vxe,28,15,[gKb(a.a[0],b),gKb(a.a[1],b),gKb(a.a[2],b)]);if(a.d){c[0]=$wnd.Math.max(c[0],c[2]);c[2]=c[0];}return c} + function bLb(a,b){var c;c=cD(WC(iE,1),vxe,28,15,[hKb(a.a[0],b),hKb(a.a[1],b),hKb(a.a[2],b)]);if(a.d){c[0]=$wnd.Math.max(c[0],c[2]);c[2]=c[0];}return c} + function vIc(a,b,c){if(!Cod(RD(mQb(b,(yCc(),BBc)),101))){uIc(a,b,e3b(b,c));uIc(a,b,e3b(b,(qpd(),npd)));uIc(a,b,e3b(b,Yod));yob();_mb(b.j,new JIc(a));}} + function sUc(a){var b,c;a.c||vUc(a);c=new Ejd;b=new Anb(a.a);ynb(b);while(b.a0&&(BFb(0,b.length),b.charCodeAt(0)==43)?(BFb(1,b.length+1),b.substr(1)):b))} + function qne(a){var b;return a==null?null:new ejb((b=nue(a,true),b.length>0&&(BFb(0,b.length),b.charCodeAt(0)==43)?(BFb(1,b.length+1),b.substr(1)):b))} + function Syb(a,b,c,d,e,f,g,h){var i,j;if(!d){return}i=d.a[0];!!i&&Syb(a,b,c,i,e,f,g,h);Tyb(a,c,d.d,e,f,g,h)&&b.Fc(d);j=d.a[1];!!j&&Syb(a,b,c,j,e,f,g,h);} + function PPb(b,c,d){try{return Gdb(SPb(b,c,d),1)}catch(a){a=zdb(a);if(ZD(a,333)){throw Adb(new veb(fze+b.o+'*'+b.p+gze+c+pve+d+hze))}else throw Adb(a)}} + function QPb(b,c,d){try{return Gdb(SPb(b,c,d),0)}catch(a){a=zdb(a);if(ZD(a,333)){throw Adb(new veb(fze+b.o+'*'+b.p+gze+c+pve+d+hze))}else throw Adb(a)}} + function RPb(b,c,d){try{return Gdb(SPb(b,c,d),2)}catch(a){a=zdb(a);if(ZD(a,333)){throw Adb(new veb(fze+b.o+'*'+b.p+gze+c+pve+d+hze))}else throw Adb(a)}} + function lMd(b,c){if(b.g==-1){throw Adb(new cgb)}b.Xj();try{b.d.hd(b.g,c);b.f=b.d.j;}catch(a){a=zdb(a);if(ZD(a,77)){throw Adb(new Jrb)}else throw Adb(a)}} + function Y7b(a){var b,c,d,e,f;for(d=new Anb(a.b);d.af&&bD(b,f,null);return b} + function av(a,b){var c,d;d=a.gc();if(b==null){for(c=0;c0&&(i+=e);j[k]=g;g+=h*(i+d);}} + function vsc(a){var b,c,d;d=a.f;a.n=$C(iE,vxe,28,d,15,1);a.d=$C(iE,vxe,28,d,15,1);for(b=0;b0?a.c:0);++e;}a.b=d;a.d=f;} + function rKb(a,b){var c;c=cD(WC(iE,1),vxe,28,15,[qKb(a,(ZJb(),WJb),b),qKb(a,XJb,b),qKb(a,YJb,b)]);if(a.f){c[0]=$wnd.Math.max(c[0],c[2]);c[2]=c[0];}return c} + function cQb(b,c,d){var e;try{TPb(b,c+b.j,d+b.k,false,true);}catch(a){a=zdb(a);if(ZD(a,77)){e=a;throw Adb(new veb(e.g+ize+c+pve+d+').'))}else throw Adb(a)}} + function dQb(b,c,d){var e;try{TPb(b,c+b.j,d+b.k,true,false);}catch(a){a=zdb(a);if(ZD(a,77)){e=a;throw Adb(new veb(e.g+ize+c+pve+d+').'))}else throw Adb(a)}} + function u8b(a){var b;if(!nQb(a,(yCc(),dBc))){return}b=RD(mQb(a,dBc),21);if(b.Hc((dod(),Xnd))){b.Mc(Xnd);b.Fc(Znd);}else if(b.Hc(Znd)){b.Mc(Znd);b.Fc(Xnd);}} + function v8b(a){var b;if(!nQb(a,(yCc(),dBc))){return}b=RD(mQb(a,dBc),21);if(b.Hc((dod(),cod))){b.Mc(cod);b.Fc(aod);}else if(b.Hc(aod)){b.Mc(aod);b.Fc(cod);}} + function oqc(a,b,c,d){var e,f,g,h;a.a==null&&rqc(a,b);g=b.b.j.c.length;f=c.d.p;h=d.d.p;e=h-1;e<0&&(e=g-1);return f<=e?a.a[e]-a.a[f]:a.a[g-1]-a.a[f]+a.a[e]} + function Cud(a){var b,c;if(!a.b){a.b=fv(RD(a.f,27).kh().i);for(c=new dMd(RD(a.f,27).kh());c.e!=c.i.gc();){b=RD(bMd(c),135);Rmb(a.b,new Bud(b));}}return a.b} + function Dud(a){var b,c;if(!a.e){a.e=fv(wCd(RD(a.f,27)).i);for(c=new dMd(wCd(RD(a.f,27)));c.e!=c.i.gc();){b=RD(bMd(c),123);Rmb(a.e,new Rud(b));}}return a.e} + function yud(a){var b,c;if(!a.a){a.a=fv(tCd(RD(a.f,27)).i);for(c=new dMd(tCd(RD(a.f,27)));c.e!=c.i.gc();){b=RD(bMd(c),27);Rmb(a.a,new Fud(a,b));}}return a.a} + function DXd(b){var c;if(!b.C&&(b.D!=null||b.B!=null)){c=EXd(b);if(c){b.hl(c);}else {try{b.hl(null);}catch(a){a=zdb(a);if(!ZD(a,63))throw Adb(a)}}}return b.C} + function xMb(a){switch(a.q.g){case 5:uMb(a,(qpd(),Yod));uMb(a,npd);break;case 4:vMb(a,(qpd(),Yod));vMb(a,npd);break;default:wMb(a,(qpd(),Yod));wMb(a,npd);}} + function GNb(a){switch(a.q.g){case 5:DNb(a,(qpd(),Xod));DNb(a,ppd);break;case 4:ENb(a,(qpd(),Xod));ENb(a,ppd);break;default:FNb(a,(qpd(),Xod));FNb(a,ppd);}} + function G$b(a,b){var c,d,e;e=new pjd;for(d=a.Kc();d.Ob();){c=RD(d.Pb(),36);w$b(c,e.a,0);e.a+=c.f.a+b;e.b=$wnd.Math.max(e.b,c.f.b);}e.b>0&&(e.b+=b);return e} + function I$b(a,b){var c,d,e;e=new pjd;for(d=a.Kc();d.Ob();){c=RD(d.Pb(),36);w$b(c,0,e.b);e.b+=c.f.b+b;e.a=$wnd.Math.max(e.a,c.f.a);}e.a>0&&(e.a+=b);return e} + function l2b(a){var b,c,d;d=lve;for(c=new Anb(a.a);c.a>16==6){return a.Cb.Th(a,5,t7,b)}return d=Z5d(RD(vYd((c=RD(Ywd(a,16),29),!c?a.ii():c),a.Db>>16),19)),a.Cb.Th(a,d.n,d.f,b)} + function kA(a){fA();var b=a.e;if(b&&b.stack){var c=b.stack;var d=b+'\n';c.substring(0,d.length)==d&&(c=c.substring(d.length));return c.split('\n')}return []} + function pgb(a){var b;b=(wgb(),vgb);return b[a>>>28]|b[a>>24&15]<<4|b[a>>20&15]<<8|b[a>>16&15]<<12|b[a>>12&15]<<16|b[a>>8&15]<<20|b[a>>4&15]<<24|b[a&15]<<28} + function mmb(a){var b,c,d;if(a.b!=a.c){return}d=a.a.length;c=mgb($wnd.Math.max(8,d))<<1;if(a.b!=0){b=WEb(a.a,c);lmb(a,b,d);a.a=b;a.b=0;}else {aFb(a.a,c);}a.c=d;} + function uNb(a,b){var c;c=a.b;return c.pf((umd(),Gld))?c.ag()==(qpd(),ppd)?-c.Mf().a-Kfb(UD(c.of(Gld))):b+Kfb(UD(c.of(Gld))):c.ag()==(qpd(),ppd)?-c.Mf().a:b} + function X2b(a){var b;if(a.b.c.length!=0&&!!RD(Vmb(a.b,0),72).a){return RD(Vmb(a.b,0),72).a}b=R0b(a);if(b!=null){return b}return ''+(!a.c?-1:Wmb(a.c.a,a,0))} + function M3b(a){var b;if(a.f.c.length!=0&&!!RD(Vmb(a.f,0),72).a){return RD(Vmb(a.f,0),72).a}b=R0b(a);if(b!=null){return b}return ''+(!a.i?-1:Wmb(a.i.j,a,0))} + function skc(a,b){var c,d;if(b<0||b>=a.gc()){return null}for(c=b;c0?a.c:0);e=$wnd.Math.max(e,b.d);++d;}a.e=f;a.b=e;} + function Qud(a){var b,c;if(!a.b){a.b=fv(RD(a.f,123).kh().i);for(c=new dMd(RD(a.f,123).kh());c.e!=c.i.gc();){b=RD(bMd(c),135);Rmb(a.b,new Bud(b));}}return a.b} + function aHd(a,b){var c,d,e;if(b.dc()){return jQd(),jQd(),iQd}else {c=new ZLd(a,b.gc());for(e=new dMd(a);e.e!=e.i.gc();){d=bMd(e);b.Hc(d)&&WGd(c,d);}return c}} + function Axd(a,b,c,d){if(b==0){return d?(!a.o&&(a.o=new DVd((pvd(),mvd),X4,a,0)),a.o):(!a.o&&(a.o=new DVd((pvd(),mvd),X4,a,0)),dOd(a.o))}return Dvd(a,b,c,d)} + function rBd(a){var b,c;if(a.rb){for(b=0,c=a.rb.i;b>22);e+=d>>22;if(e<0){return false}a.l=c&dxe;a.m=d&dxe;a.h=e&exe;return true} + function Tyb(a,b,c,d,e,f,g){var h,i;if(b.Te()&&(i=a.a.Ne(c,d),i<0||!e&&i==0)){return false}if(b.Ue()&&(h=a.a.Ne(c,f),h>0||!g&&h==0)){return false}return true} + function Agc(a,b){sgc();var c;c=a.j.g-b.j.g;if(c!=0){return 0}switch(a.j.g){case 2:return Cgc(b,rgc)-Cgc(a,rgc);case 4:return Cgc(a,qgc)-Cgc(b,qgc);}return 0} + function uuc(a){switch(a.g){case 0:return nuc;case 1:return ouc;case 2:return puc;case 3:return quc;case 4:return ruc;case 5:return suc;default:return null;}} + function cBd(a,b,c){var d,e;d=(e=new R5d,YVd(e,b),PAd(e,c),WGd((!a.c&&(a.c=new C5d(u7,a,12,10)),a.c),e),e);$Vd(d,0);bWd(d,1);aWd(d,true);_Vd(d,true);return d} + function THd(a,b){var c,d;if(b>=a.i)throw Adb(new yNd(b,a.i));++a.j;c=a.g[b];d=a.i-b-1;d>0&&hib(a.g,b+1,a.g,b,d);bD(a.g,--a.i,null);a.Qi(b,c);a.Ni();return c} + function sWd(a,b){var c,d;if(a.Db>>16==17){return a.Cb.Th(a,21,h7,b)}return d=Z5d(RD(vYd((c=RD(Ywd(a,16),29),!c?a.ii():c),a.Db>>16),19)),a.Cb.Th(a,d.n,d.f,b)} + function _Fb(a){var b,c,d,e;yob();_mb(a.c,a.a);for(e=new Anb(a.c);e.ac.a.c.length)){throw Adb(new agb('index must be >= 0 and <= layer node count'))}!!a.c&&Ymb(a.c.a,a);a.c=c;!!c&&Qmb(c.a,b,a);} + function Gac(a,b){var c,d,e;for(d=new is(Mr(W2b(a).a.Kc(),new ir));gs(d);){c=RD(hs(d),18);e=RD(b.Kb(c),10);return new cc(Qb(e.n.b+e.o.b/2))}return wb(),wb(),vb} + function RQc(a,b){this.c=new Tsb;this.a=a;this.b=b;this.d=RD(mQb(a,(Ywc(),Qwc)),312);dE(mQb(a,(yCc(),eBc)))===dE((Cuc(),Auc))?(this.e=new BRc):(this.e=new uRc);} + function ftd(a,b){var c,d;d=null;if(a.pf((umd(),amd))){c=RD(a.of(amd),96);c.pf(b)&&(d=c.of(b));}d==null&&!!a.Tf()&&(d=a.Tf().of(b));d==null&&(d=iGd(b));return d} + function ku(b,c){var d,e;d=b.fd(c);try{e=d.Pb();d.Qb();return e}catch(a){a=zdb(a);if(ZD(a,112)){throw Adb(new veb("Can't remove element "+c))}else throw Adb(a)}} + function GA(a,b){var c,d,e;d=new uB;e=new vB(d.q.getFullYear()-Owe,d.q.getMonth(),d.q.getDate());c=FA(a,b,e);if(c==0||c0?b:0);++c;}return new rjd(d,e)} + function Czd(a,b){var c,d;if(a.Db>>16==6){return a.Cb.Th(a,6,G4,b)}return d=Z5d(RD(vYd((c=RD(Ywd(a,16),29),!c?(pvd(),hvd):c),a.Db>>16),19)),a.Cb.Th(a,d.n,d.f,b)} + function cCd(a,b){var c,d;if(a.Db>>16==7){return a.Cb.Th(a,1,H4,b)}return d=Z5d(RD(vYd((c=RD(Ywd(a,16),29),!c?(pvd(),jvd):c),a.Db>>16),19)),a.Cb.Th(a,d.n,d.f,b)} + function LCd(a,b){var c,d;if(a.Db>>16==9){return a.Cb.Th(a,9,J4,b)}return d=Z5d(RD(vYd((c=RD(Ywd(a,16),29),!c?(pvd(),lvd):c),a.Db>>16),19)),a.Cb.Th(a,d.n,d.f,b)} + function M1d(a,b){var c,d;if(a.Db>>16==5){return a.Cb.Th(a,9,m7,b)}return d=Z5d(RD(vYd((c=RD(Ywd(a,16),29),!c?(JTd(),tTd):c),a.Db>>16),19)),a.Cb.Th(a,d.n,d.f,b)} + function qBd(a,b){var c,d;if(a.Db>>16==7){return a.Cb.Th(a,6,t7,b)}return d=Z5d(RD(vYd((c=RD(Ywd(a,16),29),!c?(JTd(),CTd):c),a.Db>>16),19)),a.Cb.Th(a,d.n,d.f,b)} + function iVd(a,b){var c,d;if(a.Db>>16==3){return a.Cb.Th(a,0,p7,b)}return d=Z5d(RD(vYd((c=RD(Ywd(a,16),29),!c?(JTd(),mTd):c),a.Db>>16),19)),a.Cb.Th(a,d.n,d.f,b)} + function IEd(){this.a=new BDd;this.g=new Io;this.j=new Io;this.b=new Tsb;this.d=new Io;this.i=new Io;this.k=new Tsb;this.c=new Tsb;this.e=new Tsb;this.f=new Tsb;} + function kQd(a,b,c){var d,e,f;c<0&&(c=0);f=a.i;for(e=c;ewxe){return Oje(a,d)}if(d==a){return true}}}return false} + function yNb(a){tNb();switch(a.q.g){case 5:vNb(a,(qpd(),Yod));vNb(a,npd);break;case 4:wNb(a,(qpd(),Yod));wNb(a,npd);break;default:xNb(a,(qpd(),Yod));xNb(a,npd);}} + function CNb(a){tNb();switch(a.q.g){case 5:zNb(a,(qpd(),Xod));zNb(a,ppd);break;case 4:ANb(a,(qpd(),Xod));ANb(a,ppd);break;default:BNb(a,(qpd(),Xod));BNb(a,ppd);}} + function RTb(a){var b,c;b=RD(mQb(a,(yVb(),mVb)),17);if(b){c=b.a;c==0?pQb(a,(JVb(),IVb),new Owb):pQb(a,(JVb(),IVb),new Pwb(c));}else {pQb(a,(JVb(),IVb),new Pwb(1));}} + function b2b(a,b){var c;c=a.i;switch(b.g){case 1:return -(a.n.b+a.o.b);case 2:return a.n.a-c.o.a;case 3:return a.n.b-c.o.b;case 4:return -(a.n.a+a.o.a);}return 0} + function wec(a,b){switch(a.g){case 0:return b==(cxc(),$wc)?sec:tec;case 1:return b==(cxc(),$wc)?sec:rec;case 2:return b==(cxc(),$wc)?rec:tec;default:return rec;}} + function Fad(a,b){var c,d,e;Ymb(a.a,b);a.e-=b.r+(a.a.c.length==0?0:a.c);e=fFe;for(d=new Anb(a.a);d.a>16==3){return a.Cb.Th(a,12,J4,b)}return d=Z5d(RD(vYd((c=RD(Ywd(a,16),29),!c?(pvd(),gvd):c),a.Db>>16),19)),a.Cb.Th(a,d.n,d.f,b)} + function sCd(a,b){var c,d;if(a.Db>>16==11){return a.Cb.Th(a,10,J4,b)}return d=Z5d(RD(vYd((c=RD(Ywd(a,16),29),!c?(pvd(),kvd):c),a.Db>>16),19)),a.Cb.Th(a,d.n,d.f,b)} + function n4d(a,b){var c,d;if(a.Db>>16==10){return a.Cb.Th(a,11,h7,b)}return d=Z5d(RD(vYd((c=RD(Ywd(a,16),29),!c?(JTd(),ATd):c),a.Db>>16),19)),a.Cb.Th(a,d.n,d.f,b)} + function Q5d(a,b){var c,d;if(a.Db>>16==10){return a.Cb.Th(a,12,s7,b)}return d=Z5d(RD(vYd((c=RD(Ywd(a,16),29),!c?(JTd(),DTd):c),a.Db>>16),19)),a.Cb.Th(a,d.n,d.f,b)} + function WVd(a){var b;if((a.Bb&1)==0&&!!a.r&&a.r.Vh()){b=RD(a.r,54);a.r=RD(Vvd(a,b),142);a.r!=b&&(a.Db&4)!=0&&(a.Db&1)==0&&qvd(a,new N3d(a,9,8,b,a.r));}return a.r} + function pKb(a,b,c){var d;d=cD(WC(iE,1),vxe,28,15,[sKb(a,(ZJb(),WJb),b,c),sKb(a,XJb,b,c),sKb(a,YJb,b,c)]);if(a.f){d[0]=$wnd.Math.max(d[0],d[2]);d[2]=d[0];}return d} + function ddc(a,b){var c,d,e;e=kdc(a,b);if(e.c.length==0){return}_mb(e,new Gdc);c=e.c.length;for(d=0;d>19;j=b.h>>19;if(i!=j){return j-i}e=a.h;h=b.h;if(e!=h){return e-h}d=a.m;g=b.m;if(d!=g){return d-g}c=a.l;f=b.l;return c-f} + function YHb(){YHb=geb;XHb=(iIb(),fIb);WHb=new lGd(Aye,XHb);VHb=(LHb(),KHb);UHb=new lGd(Bye,VHb);THb=(DHb(),CHb);SHb=new lGd(Cye,THb);RHb=new lGd(Dye,(Geb(),true));} + function Iic(a,b,c){var d,e;d=b*c;if(ZD(a.g,154)){e=$jc(a);if(e.f.d){e.f.a||(a.d.a+=d+Tye);}else {a.d.d-=d+Tye;a.d.a+=d+Tye;}}else if(ZD(a.g,10)){a.d.d-=d;a.d.a+=2*d;}} + function _pc(a,b,c){var d,e,f,g,h;e=a[c.g];for(h=new Anb(b.d);h.a0?a.b:0);++c;}b.b=d;b.e=e;} + function Fo(a){var b,c,d;d=a.b;if(Xp(a.i,d.length)){c=d.length*2;a.b=$C(XF,ewe,303,c,0,1);a.c=$C(XF,ewe,303,c,0,1);a.f=c-1;a.i=0;for(b=a.a;b;b=b.c){Bo(a,b,b);}++a.g;}} + function VPb(a,b,c,d){var e,f,g,h;for(e=0;eg&&(h=g/d);e>f&&(i=f/e);ijd(a,$wnd.Math.min(h,i));return a} + function OAd(){qAd();var b,c;try{c=RD(M5d((YSd(),XSd),$He),2113);if(c){return c}}catch(a){a=zdb(a);if(ZD(a,103)){b=a;UId((Hde(),b));}else throw Adb(a)}return new KAd} + function Qae(){qAd();var b,c;try{c=RD(M5d((YSd(),XSd),AKe),2040);if(c){return c}}catch(a){a=zdb(a);if(ZD(a,103)){b=a;UId((Hde(),b));}else throw Adb(a)}return new Mae} + function vne(){Zme();var b,c;try{c=RD(M5d((YSd(),XSd),dLe),2122);if(c){return c}}catch(a){a=zdb(a);if(ZD(a,103)){b=a;UId((Hde(),b));}else throw Adb(a)}return new rne} + function f2d(a,b,c){var d,e;e=a.e;a.e=b;if((a.Db&4)!=0&&(a.Db&1)==0){d=new N3d(a,1,4,e,b);!c?(c=d):c.nj(d);}e!=b&&(b?(c=o2d(a,k2d(a,b),c)):(c=o2d(a,a.a,c)));return c} + function DB(){uB.call(this);this.e=-1;this.a=false;this.p=qwe;this.k=-1;this.c=-1;this.b=-1;this.g=false;this.f=-1;this.j=-1;this.n=-1;this.i=-1;this.d=-1;this.o=qwe;} + function hHb(a,b){var c,d,e;d=a.b.d.d;a.a||(d+=a.b.d.a);e=b.b.d.d;b.a||(e+=b.b.d.a);c=Qfb(d,e);if(c==0){if(!a.a&&b.a){return -1}else if(!b.a&&a.a){return 1}}return c} + function XQb(a,b){var c,d,e;d=a.b.b.d;a.a||(d+=a.b.b.a);e=b.b.b.d;b.a||(e+=b.b.b.a);c=Qfb(d,e);if(c==0){if(!a.a&&b.a){return -1}else if(!b.a&&a.a){return 1}}return c} + function RYb(a,b){var c,d,e;d=a.b.g.d;a.a||(d+=a.b.g.a);e=b.b.g.d;b.a||(e+=b.b.g.a);c=Qfb(d,e);if(c==0){if(!a.a&&b.a){return -1}else if(!b.a&&a.a){return 1}}return c} + function _Wb(){_Wb=geb;YWb=nfd(pfd(pfd(pfd(new ufd,(sXb(),qXb),(hcc(),Dbc)),qXb,Hbc),rXb,Obc),rXb,rbc);$Wb=pfd(pfd(new ufd,qXb,hbc),qXb,sbc);ZWb=nfd(new ufd,rXb,ubc);} + function J6b(a){var b,c,d,e,f;b=RD(mQb(a,(Ywc(),cwc)),85);f=a.n;for(d=b.Cc().Kc();d.Ob();){c=RD(d.Pb(),314);e=c.i;e.c+=f.a;e.d+=f.b;c.c?MKb(c):OKb(c);}pQb(a,cwc,null);} + function Wpc(a,b,c){var d,e;e=a.b;d=e.d;switch(b.g){case 1:return -d.d-c;case 2:return e.o.a+d.c+c;case 3:return e.o.b+d.a+c;case 4:return -d.b-c;default:return -1;}} + function CNc(a,b,c){var d,e;c.Ug('Interactive node placement',1);a.a=RD(mQb(b,(Ywc(),Qwc)),312);for(e=new Anb(b.b);e.a0){g=(f&lve)%a.d.length;e=WNd(a,g,f,b);if(e){h=e.nd(c);return h}}d=a.ck(f,b,c);a.c.Fc(d);return null} + function Tee(a,b){var c,d,e,f;switch(Oee(a,b).Kl()){case 3:case 2:{c=mYd(b);for(e=0,f=c.i;e=0;d--){if(lhb(a[d].d,b)||lhb(a[d].d,c)){a.length>=d+1&&a.splice(0,d+1);break}}return a} + function Fdb(a,b){var c;if(Kdb(a)&&Kdb(b)){c=a/b;if(jxe0){a.b+=2;a.a+=d;}}else {a.b+=1;a.a+=$wnd.Math.min(d,e);}} + function CVc(a){var b;b=RD(mQb(RD(ju(a.b,0),40),(h_c(),T$c)),107);pQb(a,(q$c(),SZc),new rjd(0,0));FVc(new YWc,a,b.b+b.c-Kfb(UD(mQb(a,ZZc))),b.d+b.a-Kfb(UD(mQb(a,_Zc))));} + function pDd(a,b){var c,d;d=false;if(bE(b)){d=true;oDd(a,new OC(WD(b)));}if(!d){if(ZD(b,242)){d=true;oDd(a,(c=Qeb(RD(b,242)),new hC(c)));}}if(!d){throw Adb(new Aeb(tIe))}} + function g$d(a,b,c,d){var e,f,g;e=new P3d(a.e,1,10,(g=b.c,ZD(g,90)?RD(g,29):(JTd(),zTd)),(f=c.c,ZD(f,90)?RD(f,29):(JTd(),zTd)),fZd(a,b),false);!d?(d=e):d.nj(e);return d} + function _2b(a){var b,c;switch(RD(mQb(Y2b(a),(yCc(),QAc)),429).g){case 0:b=a.n;c=a.o;return new rjd(b.a+c.a/2,b.b+c.b/2);case 1:return new sjd(a.n);default:return null;}} + function Ouc(){Ouc=geb;Luc=new Puc(LAe,0);Kuc=new Puc('LEFTUP',1);Nuc=new Puc('RIGHTUP',2);Juc=new Puc('LEFTDOWN',3);Muc=new Puc('RIGHTDOWN',4);Iuc=new Puc('BALANCED',5);} + function dKc(a,b,c){var d,e,f;d=Qfb(a.a[b.p],a.a[c.p]);if(d==0){e=RD(mQb(b,(Ywc(),qwc)),15);f=RD(mQb(c,qwc),15);if(e.Hc(c)){return -1}else if(f.Hc(b)){return 1}}return d} + function k5c(a){switch(a.g){case 1:return new K3c;case 2:return new M3c;case 3:return new I3c;case 0:return null;default:throw Adb(new agb(mFe+(a.f!=null?a.f:''+a.g)));}} + function gyd(a,b,c){switch(b){case 1:!a.n&&(a.n=new C5d(I4,a,1,7));sLd(a.n);!a.n&&(a.n=new C5d(I4,a,1,7));YGd(a.n,RD(c,16));return;case 2:jyd(a,WD(c));return;}Dxd(a,b,c);} + function xyd(a,b,c){switch(b){case 3:Ayd(a,Kfb(UD(c)));return;case 4:Cyd(a,Kfb(UD(c)));return;case 5:Dyd(a,Kfb(UD(c)));return;case 6:Eyd(a,Kfb(UD(c)));return;}gyd(a,b,c);} + function dBd(a,b,c){var d,e,f;f=(d=new R5d,d);e=XVd(f,b,null);!!e&&e.oj();PAd(f,c);WGd((!a.c&&(a.c=new C5d(u7,a,12,10)),a.c),f);$Vd(f,0);bWd(f,1);aWd(f,true);_Vd(f,true);} + function M5d(a,b){var c,d,e;c=Ktb(a.i,b);if(ZD(c,241)){e=RD(c,241);e.zi()==null&&undefined;return e.wi()}else if(ZD(c,507)){d=RD(c,2037);e=d.b;return e}else {return null}} + function aj(a,b,c,d){var e,f;Qb(b);Qb(c);f=RD(Fn(a.d,b),17);Ob(!!f,'Row %s not in %s',b,a.e);e=RD(Fn(a.b,c),17);Ob(!!e,'Column %s not in %s',c,a.c);return cj(a,f.a,e.a,d)} + function ZC(a,b,c,d,e,f,g){var h,i,j,k,l;k=e[f];j=f==g-1;h=j?d:0;l=_C(h,k);d!=10&&cD(WC(a,g-f),b[f],c[f],h,l);if(!j){++f;for(i=0;i1||h==-1){f=RD(i,15);e.Wb(Sje(a,f));}else {e.Wb(Rje(a,RD(i,58)));}}}} + function ceb(b,c,d,e){beb();var f=_db;function g(){for(var a=0;a0){return false}}return true} + function okc(a){var b,c,d,e,f;for(d=new vkb((new mkb(a.b)).a);d.b;){c=tkb(d);b=RD(c.ld(),10);f=RD(RD(c.md(),42).a,10);e=RD(RD(c.md(),42).b,8);$id(hjd(b.n),$id(ajd(f.n),e));}} + function Roc(a){switch(RD(mQb(a.b,(yCc(),BAc)),387).g){case 1:FDb(GDb(EDb(new SDb(null,new Swb(a.d,16)),new kpc),new mpc),new opc);break;case 2:Toc(a);break;case 0:Soc(a);}} + function SVc(a,b,c){var d,e,f;d=c;!d&&(d=new Oqd);d.Ug('Layout',a.a.c.length);for(f=new Anb(a.a);f.aAEe){return c}else e>-1.0E-6&&++c;}return c} + function n2d(a,b){var c;if(b!=a.b){c=null;!!a.b&&(c=Jvd(a.b,a,-4,c));!!b&&(c=Ivd(b,a,-4,c));c=e2d(a,b,c);!!c&&c.oj();}else (a.Db&4)!=0&&(a.Db&1)==0&&qvd(a,new N3d(a,1,3,b,b));} + function q2d(a,b){var c;if(b!=a.f){c=null;!!a.f&&(c=Jvd(a.f,a,-1,c));!!b&&(c=Ivd(b,a,-1,c));c=g2d(a,b,c);!!c&&c.oj();}else (a.Db&4)!=0&&(a.Db&1)==0&&qvd(a,new N3d(a,1,0,b,b));} + function Lge(a,b,c,d){var e,f,g,h;if(Mvd(a.e)){e=b.Lk();h=b.md();f=c.md();g=fge(a,1,e,h,f,e.Jk()?kge(a,e,f,ZD(e,102)&&(RD(e,19).Bb&txe)!=0):-1,true);d?d.nj(g):(d=g);}return d} + function bne(a){var b,c,d;if(a==null)return null;c=RD(a,15);if(c.dc())return '';d=new Qhb;for(b=c.Kc();b.Ob();){Nhb(d,(nme(),WD(b.Pb())));d.a+=' ';}return qeb(d,d.a.length-1)} + function fne(a){var b,c,d;if(a==null)return null;c=RD(a,15);if(c.dc())return '';d=new Qhb;for(b=c.Kc();b.Ob();){Nhb(d,(nme(),WD(b.Pb())));d.a+=' ';}return qeb(d,d.a.length-1)} + function QIc(a,b,c){var d,e;d=a.c[b.c.p][b.p];e=a.c[c.c.p][c.p];if(d.a!=null&&e.a!=null){return Jfb(d.a,e.a)}else if(d.a!=null){return -1}else if(e.a!=null){return 1}return 0} + function RVc(a,b,c){c.Ug('Tree layout',1);Sed(a.b);Ved(a.b,(YVc(),UVc),UVc);Ved(a.b,VVc,VVc);Ved(a.b,WVc,WVc);Ved(a.b,XVc,XVc);a.a=Qed(a.b,b);SVc(a,b,c.eh(1));c.Vg();return b} + function ZDd(a,b){var c,d,e,f,g,h;if(b){f=b.a.length;c=new vue(f);for(h=(c.b-c.a)*c.c<0?(uue(),tue):new Rue(c);h.Ob();){g=RD(h.Pb(),17);e=xDd(b,g.a);d=new aFd(a);$Dd(d.a,e);}}} + function oEd(a,b){var c,d,e,f,g,h;if(b){f=b.a.length;c=new vue(f);for(h=(c.b-c.a)*c.c<0?(uue(),tue):new Rue(c);h.Ob();){g=RD(h.Pb(),17);e=xDd(b,g.a);d=new LEd(a);NDd(d.a,e);}}} + function ESd(b){var c;if(b!=null&&b.length>0&&ihb(b,b.length-1)==33){try{c=nSd(zhb(b,0,b.length-1));return c.e==null}catch(a){a=zdb(a);if(!ZD(a,33))throw Adb(a)}}return false} + function u0b(a,b,c){var d,e,f;d=Y2b(b);e=i2b(d);f=new R3b;P3b(f,b);switch(c.g){case 1:Q3b(f,spd(vpd(e)));break;case 2:Q3b(f,vpd(e));}pQb(f,(yCc(),ABc),UD(mQb(a,ABc)));return f} + function jdc(a){var b,c;b=RD(hs(new is(Mr(Z2b(a.a).a.Kc(),new ir))),18);c=RD(hs(new is(Mr(a3b(a.a).a.Kc(),new ir))),18);return Heb(TD(mQb(b,(Ywc(),Nwc))))||Heb(TD(mQb(c,Nwc)))} + function Bnc(){Bnc=geb;xnc=new Cnc('ONE_SIDE',0);znc=new Cnc('TWO_SIDES_CORNER',1);Anc=new Cnc('TWO_SIDES_OPPOSING',2);ync=new Cnc('THREE_SIDES',3);wnc=new Cnc('FOUR_SIDES',4);} + function Usc(a,b){var c,d,e,f;f=new bnb;e=0;d=b.Kc();while(d.Ob()){c=sgb(RD(d.Pb(),17).a+e);while(c.a=a.f){break}ZEb(f.c,c);}return f} + function iIc(a,b){var c,d,e,f,g;for(f=new Anb(b.a);f.a0&&Xlc(this,this.c-1,(qpd(),Xod));this.c0&&a[0].length>0&&(this.c=Heb(TD(mQb(Y2b(a[0][0]),(Ywc(),rwc)))));this.a=$C(aY,Nve,2117,a.length,0,2);this.b=$C(dY,Nve,2118,a.length,0,2);this.d=new Ks;} + function TOc(a){if(a.c.length==0){return false}if((tFb(0,a.c.length),RD(a.c[0],18)).c.i.k==(r3b(),o3b)){return true}return yDb(GDb(new SDb(null,new Swb(a,16)),new WOc),new YOc)} + function I5c(a,b){var c,d,e,f,g,h,i;h=Q2c(b);f=b.f;i=b.g;g=$wnd.Math.sqrt(f*f+i*i);e=0;for(d=new Anb(h);d.a=0){c=Fdb(a,ixe);d=Mdb(a,ixe);}else {b=Udb(a,1);c=Fdb(b,500000000);d=Mdb(b,500000000);d=Bdb(Sdb(d,1),Cdb(a,1));}return Rdb(Sdb(d,32),Cdb(c,yxe))} + function fTb(a,b,c){var d,e;d=(sFb(b.b!=0),RD(Wub(b,b.a.a),8));switch(c.g){case 0:d.b=0;break;case 2:d.b=a.f;break;case 3:d.a=0;break;default:d.a=a.g;}e=Sub(b,0);cvb(e,d);return b} + function Vpc(a,b,c,d){var e,f,g,h,i;i=a.b;f=b.d;g=f.j;h=$pc(g,i.d[g.g],c);e=$id(ajd(f.n),f.a);switch(f.j.g){case 1:case 3:h.a+=e.a;break;case 2:case 4:h.b+=e.b;}Pub(d,h,d.c.b,d.c);} + function YNc(a,b,c){var d,e,f,g;g=Wmb(a.e,b,0);f=new ZNc;f.b=c;d=new Jkb(a.e,g);while(d.b1;b>>=1){(b&1)!=0&&(d=Wib(d,c));c.d==1?(c=Wib(c,c)):(c=new djb(Tjb(c.a,c.d,$C(kE,Pwe,28,c.d<<1,15,1))));}d=Wib(d,c);return d} + function Hwb(){Hwb=geb;var a,b,c,d;Ewb=$C(iE,vxe,28,25,15,1);Fwb=$C(iE,vxe,28,33,15,1);d=1.52587890625E-5;for(b=32;b>=0;b--){Fwb[b]=d;d*=0.5;}c=1;for(a=24;a>=0;a--){Ewb[a]=c;c*=0.5;}} + function a5b(a){var b,c;if(Heb(TD(Gxd(a,(yCc(),NAc))))){for(c=new is(Mr(zGd(a).a.Kc(),new ir));gs(c);){b=RD(hs(c),74);if(ozd(b)){if(Heb(TD(Gxd(b,OAc)))){return true}}}}return false} + function Qmc(a,b){var c,d,e;if(Ysb(a.f,b)){b.b=a;d=b.c;Wmb(a.j,d,0)!=-1||Rmb(a.j,d);e=b.d;Wmb(a.j,e,0)!=-1||Rmb(a.j,e);c=b.a.b;if(c.c.length!=0){!a.i&&(a.i=new _mc(a));Wmc(a.i,c);}}} + function Xpc(a){var b,c,d,e,f;c=a.c.d;d=c.j;e=a.d.d;f=e.j;if(d==f){return c.p=0&&lhb(a.substr(b,'GMT'.length),'GMT')){c[0]=b+3;return JA(a,c,d)}if(b>=0&&lhb(a.substr(b,'UTC'.length),'UTC')){c[0]=b+3;return JA(a,c,d)}return JA(a,c,d)} + function Zmc(a,b){var c,d,e,f,g;f=a.g.a;g=a.g.b;for(d=new Anb(a.d);d.ac;f--){a[f]|=b[f-c-1]>>>g;a[f-1]=b[f-c-1]<0&&hib(a.g,b,a.g,b+d,h);g=c.Kc();a.i+=d;for(e=0;e>4&15;f=a[d]&15;g[e++]=oAd[c];g[e++]=oAd[f];}return Ihb(g,0,g.length)}} + function Fhb(a){var b,c;if(a>=txe){b=uxe+(a-txe>>10&1023)&Bwe;c=56320+(a-txe&1023)&Bwe;return String.fromCharCode(b)+(''+String.fromCharCode(c))}else {return String.fromCharCode(a&Bwe)}} + function UMb(a,b){RMb();var c,d,e,f;e=RD(RD(Qc(a.r,b),21),87);if(e.gc()>=2){d=RD(e.Kc().Pb(),117);c=a.u.Hc((Pod(),Kod));f=a.u.Hc(Ood);return !d.a&&!c&&(e.gc()==2||f)}else {return false}} + function v3c(a,b,c,d,e){var f,g,h;f=w3c(a,b,c,d,e);h=false;while(!f){n3c(a,e,true);h=true;f=w3c(a,b,c,d,e);}h&&n3c(a,e,false);g=N2c(e);if(g.c.length!=0){!!a.d&&a.d.Gg(g);v3c(a,e,c,d,g);}} + function ind(){ind=geb;gnd=new jnd(LAe,0);end=new jnd('DIRECTED',1);hnd=new jnd('UNDIRECTED',2);cnd=new jnd('ASSOCIATION',3);fnd=new jnd('GENERALIZATION',4);dnd=new jnd('DEPENDENCY',5);} + function nsd(a,b){var c;if(!MCd(a)){throw Adb(new dgb(sHe))}c=MCd(a);switch(b.g){case 1:return -(a.j+a.f);case 2:return a.i-c.g;case 3:return a.j-c.f;case 4:return -(a.i+a.g);}return 0} + function Jge(a,b,c){var d,e,f;d=b.Lk();f=b.md();e=d.Jk()?fge(a,4,d,f,null,kge(a,d,f,ZD(d,102)&&(RD(d,19).Bb&txe)!=0),true):fge(a,d.tk()?2:1,d,f,d.ik(),-1,true);c?c.nj(e):(c=e);return c} + function lwb(a,b){var c,d;uFb(b);d=a.b.c.length;Rmb(a.b,b);while(d>0){c=d;d=(d-1)/2|0;if(a.a.Ne(Vmb(a.b,d),b)<=0){$mb(a.b,c,b);return true}$mb(a.b,c,Vmb(a.b,d));}$mb(a.b,d,b);return true} + function sKb(a,b,c,d){var e,f;e=0;if(!c){for(f=0;f=h} + function A8c(a){switch(a.g){case 0:return new o8c;case 1:return new u8c;default:throw Adb(new agb('No implementation is available for the width approximator '+(a.f!=null?a.f:''+a.g)));}} + function rDd(a,b,c,d){var e;e=false;if(bE(d)){e=true;sDd(b,c,WD(d));}if(!e){if($D(d)){e=true;rDd(a,b,c,d);}}if(!e){if(ZD(d,242)){e=true;qDd(b,c,RD(d,242));}}if(!e){throw Adb(new Aeb(tIe))}} + function uee(a,b){var c,d,e;c=b.qi(a.a);if(c){e=$Nd((!c.b&&(c.b=new SVd((JTd(),FTd),C8,c)),c.b),rKe);if(e!=null){for(d=1;d<(lke(),hke).length;++d){if(lhb(hke[d],e)){return d}}}}return 0} + function vee(a,b){var c,d,e;c=b.qi(a.a);if(c){e=$Nd((!c.b&&(c.b=new SVd((JTd(),FTd),C8,c)),c.b),rKe);if(e!=null){for(d=1;d<(lke(),ike).length;++d){if(lhb(ike[d],e)){return d}}}}return 0} + function Ve(a,b){var c,d,e,f;uFb(b);f=a.a.gc();if(f0?1:0;while(f.a[e]!=c){f=f.a[e];e=a.a.Ne(c.d,f.d)>0?1:0;}f.a[e]=d;d.b=c.b;d.a[0]=c.a[0];d.a[1]=c.a[1];c.a[0]=null;c.a[1]=null;} + function zIb(a){var b,c,d,e;b=new bnb;c=$C(xdb,Hye,28,a.a.c.length,16,1);Snb(c,c.length);for(e=new Anb(a.a);e.a0&&O9b((tFb(0,c.c.length),RD(c.c[0],30)),a);c.c.length>1&&O9b(RD(Vmb(c,c.c.length-1),30),a);b.Vg();} + function Sod(a){Pod();var b,c;b=ysb(Lod,cD(WC(D3,1),jwe,279,0,[Nod]));if(dy(Tx(b,a))>1){return false}c=ysb(Kod,cD(WC(D3,1),jwe,279,0,[Jod,Ood]));if(dy(Tx(c,a))>1){return false}return true} + function FBd(a,b){var c;c=Xjb((YSd(),XSd),a);ZD(c,507)?$jb(XSd,a,new B5d(this,b)):$jb(XSd,a,this);BBd(this,b);if(b==(jTd(),iTd)){this.wb=RD(this,2038);RD(b,2040);}else {this.wb=(lTd(),kTd);}} + function Lae(b){var c,d,e;if(b==null){return null}c=null;for(d=0;d=Awe?'error':d>=900?'warn':d>=800?'info':'log');eFb(c,a.a);!!a.b&&fFb(b,c,a.b,'Exception: ',true);} + function mQb(a,b){var c,d;d=(!a.q&&(a.q=new Tsb),Wjb(a.q,b));if(d!=null){return d}c=b.Sg();ZD(c,4)&&(c==null?(!a.q&&(a.q=new Tsb),_jb(a.q,b)):(!a.q&&(a.q=new Tsb),Zjb(a.q,b,c)),a);return c} + function sXb(){sXb=geb;nXb=new tXb('P1_CYCLE_BREAKING',0);oXb=new tXb('P2_LAYERING',1);pXb=new tXb('P3_NODE_ORDERING',2);qXb=new tXb('P4_NODE_PLACEMENT',3);rXb=new tXb('P5_EDGE_ROUTING',4);} + function KZb(a,b){CZb();var c;if(a.c==b.c){if(a.b==b.b||rZb(a.b,b.b)){c=oZb(a.b)?1:-1;if(a.a&&!b.a){return c}else if(!a.a&&b.a){return -c}}return hgb(a.b.g,b.b.g)}else {return Qfb(a.c,b.c)}} + function E3c(a,b){var c,d,e;if(p3c(a,b)){return true}for(d=new Anb(b);d.a=e||b<0)throw Adb(new veb(MIe+b+NIe+e));if(c>=e||c<0)throw Adb(new veb(OIe+c+NIe+e));b!=c?(d=(f=a.Cj(c),a.qj(b,f),f)):(d=a.xj(c));return d} + function Lje(a){var b,c,d;d=a;if(a){b=0;for(c=a.Eh();c;c=c.Eh()){if(++b>wxe){return Lje(c)}d=c;if(c==a){throw Adb(new dgb('There is a cycle in the containment hierarchy of '+a))}}}return d} + function Fe(a){var b,c,d;d=new Jyb(pve,'[',']');for(c=a.Kc();c.Ob();){b=c.Pb();Gyb(d,dE(b)===dE(a)?'(this Collection)':b==null?vve:jeb(b));}return !d.a?d.c:d.e.length==0?d.a.a:d.a.a+(''+d.e)} + function p3c(a,b){var c,d;d=false;if(b.gc()<2){return false}for(c=0;c1&&(a.j.b+=a.e);}else {a.j.a+=c.a;a.j.b=$wnd.Math.max(a.j.b,c.b);a.d.c.length>1&&(a.j.a+=a.e);}} + function Mnc(){Mnc=geb;Jnc=cD(WC(E3,1),NAe,64,0,[(qpd(),Yod),Xod,npd]);Inc=cD(WC(E3,1),NAe,64,0,[Xod,npd,ppd]);Knc=cD(WC(E3,1),NAe,64,0,[npd,ppd,Yod]);Lnc=cD(WC(E3,1),NAe,64,0,[ppd,Yod,Xod]);} + function Upc(a,b,c,d){var e,f,g,h,i,j,k;g=a.c.d;h=a.d.d;if(g.j==h.j){return}k=a.b;e=g.j;i=null;while(e!=h.j){i=b==0?tpd(e):rpd(e);f=$pc(e,k.d[e.g],c);j=$pc(i,k.d[i.g],c);Mub(d,$id(f,j));e=i;}} + function OJc(a,b,c,d){var e,f,g,h,i;g=hMc(a.a,b,c);h=RD(g.a,17).a;f=RD(g.b,17).a;if(d){i=RD(mQb(b,(Ywc(),Iwc)),10);e=RD(mQb(c,Iwc),10);if(!!i&&!!e){Slc(a.b,i,e);h+=a.b.i;f+=a.b.e;}}return h>f} + function OLc(a){var b,c,d,e,f,g,h,i,j;this.a=LLc(a);this.b=new bnb;for(c=a,d=0,e=c.length;damc(a.d).c){a.i+=a.g.c;cmc(a.d);}else if(amc(a.d).c>amc(a.g).c){a.e+=a.d.c;cmc(a.g);}else {a.i+=_lc(a.g);a.e+=_lc(a.d);cmc(a.g);cmc(a.d);}}} + function vTc(a,b,c){var d,e,f,g;f=b.q;g=b.r;new bTc((fTc(),dTc),b,f,1);new bTc(dTc,f,g,1);for(e=new Anb(c);e.ah&&(i=h/d);e>f&&(j=f/e);g=$wnd.Math.min(i,j);a.a+=g*(b.a-a.a);a.b+=g*(b.b-a.b);} + function I8c(a,b,c,d,e){var f,g;g=false;f=RD(Vmb(c.b,0),27);while(V8c(a,b,f,d,e)){g=true;T9c(c,f);if(c.b.c.length==0){break}f=RD(Vmb(c.b,0),27);}c.b.c.length==0&&Fad(c.j,c);g&&gad(b.q);return g} + function Eid(a,b){tid();var c,d,e,f;if(b.b<2){return false}f=Sub(b,0);c=RD(evb(f),8);d=c;while(f.b!=f.d.c){e=RD(evb(f),8);if(Did(a,d,e)){return true}d=e;}if(Did(a,d,c)){return true}return false} + function Bxd(a,b,c,d){var e,f;if(c==0){return !a.o&&(a.o=new DVd((pvd(),mvd),X4,a,0)),BVd(a.o,b,d)}return f=RD(vYd((e=RD(Ywd(a,16),29),!e?a.ii():e),c),69),f.wk().Ak(a,Wwd(a),c-AYd(a.ii()),b,d)} + function BBd(a,b){var c;if(b!=a.sb){c=null;!!a.sb&&(c=RD(a.sb,54).Th(a,1,n7,c));!!b&&(c=RD(b,54).Rh(a,1,n7,c));c=hBd(a,b,c);!!c&&c.oj();}else (a.Db&4)!=0&&(a.Db&1)==0&&qvd(a,new N3d(a,1,4,b,b));} + function YDd(a,b){var c,d,e,f;if(b){e=vDd(b,'x');c=new ZEd(a);Hzd(c.a,(uFb(e),e));f=vDd(b,'y');d=new $Ed(a);Izd(d.a,(uFb(f),f));}else {throw Adb(new CDd('All edge sections need an end point.'))}} + function WDd(a,b){var c,d,e,f;if(b){e=vDd(b,'x');c=new WEd(a);Ozd(c.a,(uFb(e),e));f=vDd(b,'y');d=new XEd(a);Pzd(d.a,(uFb(f),f));}else {throw Adb(new CDd('All edge sections need a start point.'))}} + function hBb(a,b){var c,d,e,f,g,h,i;for(d=kBb(a),f=0,h=d.length;f>22-b;e=a.h<>22-b;}else if(b<44){c=0;d=a.l<>44-b;}else {c=0;d=0;e=a.l<a){throw Adb(new agb('k must be smaller than n'))}else return b==0||b==a?1:a==0?0:Bid(a)/(Bid(b)*Bid(a-b))} + function msd(a,b){var c,d,e,f;c=new zId(a);while(c.g==null&&!c.c?sId(c):c.g==null||c.i!=0&&RD(c.g[c.i-1],51).Ob()){f=RD(tId(c),58);if(ZD(f,167)){d=RD(f,167);for(e=0;e>4];b[c*2+1]=Fqe[f&15];}return Ihb(b,0,b.length)} + function sn(a){fn();var b,c,d;d=a.c.length;switch(d){case 0:return en;case 1:b=RD(Ir(new Anb(a)),44);return xn(b.ld(),b.md());default:c=RD(anb(a,$C(UK,Zve,44,a.c.length,0,1)),173);return new Mx(c);}} + function KWb(a){var b,c,d,e,f,g;b=new wmb;c=new wmb;hmb(b,a);hmb(c,a);while(c.b!=c.c){e=RD(smb(c),36);for(g=new Anb(e.a);g.a0&&uLc(a,c,b);return e}return rLc(a,b,c)} + function $4c(){$4c=geb;R4c=(umd(),Qld);Y4c=fmd;K4c=kld;L4c=nld;M4c=pld;J4c=ild;N4c=sld;Q4c=Lld;H4c=(D4c(),o4c);I4c=p4c;T4c=v4c;W4c=y4c;U4c=w4c;V4c=x4c;O4c=r4c;P4c=t4c;S4c=u4c;X4c=z4c;Z4c=B4c;G4c=n4c;} + function P9c(a,b){var c,d,e,f,g;if(a.e<=b){return a.g}if(R9c(a,a.g,b)){return a.g}f=a.r;d=a.g;g=a.r;e=(f-d)/2+d;while(d+11&&(a.e.b+=a.a);}else {a.e.a+=c.a;a.e.b=$wnd.Math.max(a.e.b,c.b);a.d.c.length>1&&(a.e.a+=a.a);}} + function Ipc(a){var b,c,d,e;e=a.i;b=e.b;d=e.j;c=e.g;switch(e.a.g){case 0:c.a=(a.g.b.o.a-d.a)/2;break;case 1:c.a=b.d.n.a+b.d.a.a;break;case 2:c.a=b.d.n.a+b.d.a.a-d.a;break;case 3:c.b=b.d.n.b+b.d.a.b;}} + function oOc(a,b,c){var d,e,f;for(e=new is(Mr(W2b(c).a.Kc(),new ir));gs(e);){d=RD(hs(e),18);if(!(!W0b(d)&&!(!W0b(d)&&d.c.i.c==d.d.i.c))){continue}f=gOc(a,d,c,new VOc);f.c.length>1&&(ZEb(b.c,f),true);}} + function _id(a,b,c,d,e){if(dd&&(a.a=d);a.be&&(a.b=e);return a} + function LFd(a){if(ZD(a,143)){return EFd(RD(a,143))}else if(ZD(a,233)){return FFd(RD(a,233))}else if(ZD(a,23)){return GFd(RD(a,23))}else {throw Adb(new agb(wIe+Fe(new mob(cD(WC(jJ,1),rve,1,5,[a])))))}} + function ujb(a,b,c,d,e){var f,g,h;f=true;for(g=0;g>>e|c[g+d+1]<>>e;++g;}return f} + function ZQc(a,b,c,d){var e,f,g;if(b.k==(r3b(),o3b)){for(f=new is(Mr(Z2b(b).a.Kc(),new ir));gs(f);){e=RD(hs(f),18);g=e.c.i.k;if(g==o3b&&a.c.a[e.c.i.c.p]==d&&a.c.a[b.c.p]==c){return true}}}return false} + function CD(a,b){var c,d,e,f;b&=63;c=a.h&exe;if(b<22){f=c>>>b;e=a.m>>b|c<<22-b;d=a.l>>b|a.m<<22-b;}else if(b<44){f=0;e=c>>>b-22;d=a.m>>b-22|a.h<<44-b;}else {f=0;e=0;d=c>>>b-44;}return hD(d&dxe,e&dxe,f&exe)} + function mmc(a,b,c,d){var e;this.b=d;this.e=a==(RKc(),PKc);e=b[c];this.d=YC(xdb,[Nve,Hye],[183,28],16,[e.length,e.length],2);this.a=YC(kE,[Nve,Pwe],[53,28],15,[e.length,e.length],2);this.c=new Ylc(b,c);} + function Rmc(a){var b,c,d;a.k=new Si((qpd(),cD(WC(E3,1),NAe,64,0,[opd,Yod,Xod,npd,ppd])).length,a.j.c.length);for(d=new Anb(a.j);d.a=c){_cc(a,b,d.p);return true}}return false} + function EA(a,b,c,d){var e,f,g,h,i,j;g=c.length;f=0;e=-1;j=Bhb((BFb(b,a.length+1),a.substr(b)),(wvb(),uvb));for(h=0;hf&&whb(j,Bhb(c[h],uvb))){e=h;f=i;}}e>=0&&(d[0]=b+f);return e} + function gCd(a){var b;if((a.Db&64)!=0)return Fyd(a);b=new dib(FHe);!a.a||Zhb(Zhb((b.a+=' "',b),a.a),'"');Zhb(Uhb(Zhb(Uhb(Zhb(Uhb(Zhb(Uhb((b.a+=' (',b),a.i),','),a.j),' | '),a.g),','),a.f),')');return b.a} + function xge(a,b,c){var d,e,f,g,h;h=pke(a.e.Dh(),b);e=RD(a.g,124);d=0;for(g=0;gc){return Jb(a,c,'start index')}if(b<0||b>c){return Jb(b,c,'end index')}return hc('end index (%s) must not be less than start index (%s)',cD(WC(jJ,1),rve,1,5,[sgb(b),sgb(a)]))} + function dA(b,c){var d,e,f,g;for(e=0,f=b.length;e0&&aGc(a,f,c));}}b.p=0;} + function Ahd(a){var b;this.c=new Yub;this.f=a.e;this.e=a.d;this.i=a.g;this.d=a.c;this.b=a.b;this.k=a.j;this.a=a.a;!a.i?(this.j=(b=RD(mfb(d3),9),new Fsb(b,RD(WEb(b,b.length),9),0))):(this.j=a.i);this.g=a.f;} + function Wb(a){var b,c,d,e;b=Thb(Zhb(new dib('Predicates.'),'and'),40);c=true;for(e=new Dkb(a);e.b0?h[g-1]:$C(jR,WAe,10,0,0,1);e=h[g];j=g=0?a.ki(e):Tvd(a,d);}else {throw Adb(new agb(KHe+d.xe()+LHe))}}else {Cvd(a,c,d);}} + function ADd(a){var b,c;c=null;b=false;if(ZD(a,211)){b=true;c=RD(a,211).a;}if(!b){if(ZD(a,263)){b=true;c=''+RD(a,263).a;}}if(!b){if(ZD(a,493)){b=true;c=''+RD(a,493).a;}}if(!b){throw Adb(new Aeb(tIe))}return c} + function gge(a,b,c){var d,e,f,g,h,i;i=pke(a.e.Dh(),b);d=0;h=a.i;e=RD(a.g,124);for(g=0;g=a.d.b.c.length){b=new R4b(a.d);b.p=d.p-1;Rmb(a.d.b,b);c=new R4b(a.d);c.p=d.p;Rmb(a.d.b,c);}g3b(d,RD(Vmb(a.d.b,d.p),30));}} + function DVc(a,b,c){var d,e,f;if(!a.b[b.g]){a.b[b.g]=true;d=c;!d&&(d=new YWc);Mub(d.b,b);for(f=a.a[b.g].Kc();f.Ob();){e=RD(f.Pb(),65);e.b!=b&&DVc(a,e.b,d);e.c!=b&&DVc(a,e.c,d);Mub(d.a,e);}return d}return null} + function iMb(a){switch(a.g){case 0:case 1:case 2:return qpd(),Yod;case 3:case 4:case 5:return qpd(),npd;case 6:case 7:case 8:return qpd(),ppd;case 9:case 10:case 11:return qpd(),Xod;default:return qpd(),opd;}} + function SOc(a,b){var c;if(a.c.length==0){return false}c=zDc((tFb(0,a.c.length),RD(a.c[0],18)).c.i);dOc();if(c==(wDc(),tDc)||c==sDc){return true}return yDb(GDb(new SDb(null,new Swb(a,16)),new $Oc),new aPc(b))} + function KDd(a,b){if(ZD(b,207)){return EDd(a,RD(b,27))}else if(ZD(b,193)){return FDd(a,RD(b,123))}else if(ZD(b,452)){return DDd(a,RD(b,166))}else {throw Adb(new agb(wIe+Fe(new mob(cD(WC(jJ,1),rve,1,5,[b])))))}} + function Ou(a,b,c){var d,e;this.f=a;d=RD(Wjb(a.b,b),260);e=!d?0:d.a;Sb(c,e);if(c>=(e/2|0)){this.e=!d?null:d.c;this.d=e;while(c++0){Lu(this);}}this.b=b;this.a=null;} + function iHb(a,b){var c,d;b.a?jHb(a,b):(c=RD(vAb(a.b,b.b),60),!!c&&c==a.a[b.b.f]&&!!c.a&&c.a!=b.b.a&&c.c.Fc(b.b),d=RD(uAb(a.b,b.b),60),!!d&&a.a[d.f]==b.b&&!!d.a&&d.a!=b.b.a&&b.b.c.Fc(d),wAb(a.b,b.b),undefined);} + function wMb(a,b){var c,d;c=RD(Vrb(a.b,b),127);if(RD(RD(Qc(a.r,b),21),87).dc()){c.n.b=0;c.n.c=0;return}c.n.b=a.C.b;c.n.c=a.C.c;a.A.Hc((Qpd(),Ppd))&&BMb(a,b);d=AMb(a,b);BLb(a,b)==(pod(),mod)&&(d+=2*a.w);c.a.a=d;} + function FNb(a,b){var c,d;c=RD(Vrb(a.b,b),127);if(RD(RD(Qc(a.r,b),21),87).dc()){c.n.d=0;c.n.a=0;return}c.n.d=a.C.d;c.n.a=a.C.a;a.A.Hc((Qpd(),Ppd))&&JNb(a,b);d=INb(a,b);BLb(a,b)==(pod(),mod)&&(d+=2*a.w);c.a.b=d;} + function VQb(a,b){var c,d,e,f;f=new bnb;for(d=new Anb(b);d.ad&&(BFb(b-1,a.length),a.charCodeAt(b-1)<=32)){--b;}return d>0||bc.a&&(d.Hc((ukd(),okd))?(e=(b.a-c.a)/2):d.Hc(qkd)&&(e=b.a-c.a));b.b>c.b&&(d.Hc((ukd(),skd))?(f=(b.b-c.b)/2):d.Hc(rkd)&&(f=b.b-c.b));Isd(a,e,f);} + function ABd(a,b,c,d,e,f,g,h,i,j,k,l,m){ZD(a.Cb,90)&&v$d(yYd(RD(a.Cb,90)),4);PAd(a,c);a.f=g;DWd(a,h);FWd(a,i);xWd(a,j);EWd(a,k);aWd(a,l);AWd(a,m);_Vd(a,true);$Vd(a,e);a.Zk(f);YVd(a,b);d!=null&&(a.i=null,zWd(a,d));} + function Jb(a,b,c){if(a<0){return hc(qve,cD(WC(jJ,1),rve,1,5,[c,sgb(a)]))}else if(b<0){throw Adb(new agb(sve+b))}else {return hc('%s (%s) must not be greater than size (%s)',cD(WC(jJ,1),rve,1,5,[c,sgb(a),sgb(b)]))}} + function Xnb(a,b,c,d,e,f){var g,h,i,j;g=d-c;if(g<7){Unb(b,c,d,f);return}i=c+e;h=d+e;j=i+(h-i>>1);Xnb(b,a,i,j,-e,f);Xnb(b,a,j,h,-e,f);if(f.Ne(a[j-1],a[j])<=0){while(c=0?a.bi(f,c):Svd(a,e,c);}else {throw Adb(new agb(KHe+e.xe()+LHe))}}else {Bvd(a,d,e,c);}} + function n3d(a){var b,c;if(a.f){while(a.n>0){b=RD(a.k.Xb(a.n-1),76);c=b.Lk();if(ZD(c,102)&&(RD(c,19).Bb&QHe)!=0&&(!a.e||c.pk()!=C4||c.Lj()!=0)&&b.md()!=null){return true}else {--a.n;}}return false}else {return a.n>0}} + function Pje(b){var c,d,e,f;d=RD(b,54)._h();if(d){try{e=null;c=N5d((YSd(),XSd),jSd(kSd(d)));if(c){f=c.ai();!!f&&(e=f.Fl(Chb(d.e)));}if(!!e&&e!=b){return Pje(e)}}catch(a){a=zdb(a);if(!ZD(a,63))throw Adb(a)}}return b} + function P3c(a,b,c){var d,e,f;c.Ug('Remove overlaps',1);c.dh(b,eFe);d=RD(Gxd(b,(u2c(),t2c)),27);a.f=d;a.a=u5c(RD(Gxd(b,($4c(),X4c)),300));e=UD(Gxd(b,(umd(),fmd)));s3c(a,(uFb(e),e));f=Q2c(d);O3c(a,b,f,c);c.dh(b,gFe);} + function Ded(a){var b,c,d;if(Heb(TD(Gxd(a,(umd(),$kd))))){d=new bnb;for(c=new is(Mr(zGd(a).a.Kc(),new ir));gs(c);){b=RD(hs(c),74);ozd(b)&&Heb(TD(Gxd(b,_kd)))&&(ZEb(d.c,b),true);}return d}else {return yob(),yob(),vob}} + function KC(a){if(!a){return cC(),bC}var b=a.valueOf?a.valueOf():a;if(b!==a){var c=GC[typeof b];return c?c(b):NC(typeof b)}else if(a instanceof Array||a instanceof $wnd.Array){return new NB(a)}else {return new vC(a)}} + function IMb(a,b,c){var d,e,f;f=a.o;d=RD(Vrb(a.p,c),252);e=d.i;e.b=ZKb(d);e.a=YKb(d);e.b=$wnd.Math.max(e.b,f.a);e.b>f.a&&!b&&(e.b=f.a);e.c=-(e.b-f.a)/2;switch(c.g){case 1:e.d=-e.a;break;case 3:e.d=f.b;}$Kb(d);_Kb(d);} + function JMb(a,b,c){var d,e,f;f=a.o;d=RD(Vrb(a.p,c),252);e=d.i;e.b=ZKb(d);e.a=YKb(d);e.a=$wnd.Math.max(e.a,f.b);e.a>f.b&&!b&&(e.a=f.b);e.d=-(e.a-f.b)/2;switch(c.g){case 4:e.c=-e.b;break;case 2:e.c=f.a;}$Kb(d);_Kb(d);} + function nkc(a,b){var c,d,e,f,g;if(b.dc()){return}e=RD(b.Xb(0),131);if(b.gc()==1){mkc(a,e,e,1,0,b);return}c=1;while(c0){try{f=Oeb(c,qwe,lve);}catch(a){a=zdb(a);if(ZD(a,130)){e=a;throw Adb(new RSd(e))}else throw Adb(a)}}d=(!b.a&&(b.a=new Zde(b)),b.a);return f=0?RD(QHd(d,f),58):null} + function Ib(a,b){if(a<0){return hc(qve,cD(WC(jJ,1),rve,1,5,['index',sgb(a)]))}else if(b<0){throw Adb(new agb(sve+b))}else {return hc('%s (%s) must be less than size (%s)',cD(WC(jJ,1),rve,1,5,['index',sgb(a),sgb(b)]))}} + function cob(a){var b,c,d,e,f;if(a==null){return vve}f=new Jyb(pve,'[',']');for(c=a,d=0,e=c.length;d=0?a.Lh(c,true,true):Qvd(a,e,true),160));RD(d,220).Zl(b);}else {throw Adb(new agb(KHe+b.xe()+LHe))}} + function Cib(a){var b,c;if(a>-140737488355328&&a<140737488355328){if(a==0){return 0}b=a<0;b&&(a=-a);c=eE($wnd.Math.floor($wnd.Math.log(a)/0.6931471805599453));(!b||a!=$wnd.Math.pow(2,c))&&++c;return c}return Dib(Hdb(a))} + function oTc(a){var b,c,d,e,f,g,h;f=new Iub;for(c=new Anb(a);c.a2&&h.e.b+h.j.b<=2){e=h;d=g;}f.a.zc(e,f);e.q=d;}return f} + function B5c(a,b,c){c.Ug('Eades radial',1);c.dh(b,gFe);a.d=RD(Gxd(b,(u2c(),t2c)),27);a.c=Kfb(UD(Gxd(b,($4c(),S4c))));a.e=u5c(RD(Gxd(b,X4c),300));a.a=Z3c(RD(Gxd(b,Z4c),434));a.b=k5c(RD(Gxd(b,O4c),354));C5c(a);c.dh(b,gFe);} + function t8c(a,b){b.Ug('Target Width Setter',1);if(Hxd(a,(X7c(),W7c))){Ixd(a,(X6c(),W6c),UD(Gxd(a,W7c)));}else {throw Adb(new Jed('A target width has to be set if the TargetWidthWidthApproximator should be used.'))}b.Vg();} + function _8b(a,b){var c,d,e;d=new j3b(a);kQb(d,b);pQb(d,(Ywc(),gwc),b);pQb(d,(yCc(),BBc),(Bod(),wod));pQb(d,Rzc,(Rjd(),Njd));h3b(d,(r3b(),m3b));c=new R3b;P3b(c,d);Q3b(c,(qpd(),ppd));e=new R3b;P3b(e,d);Q3b(e,Xod);return d} + function ttc(a){switch(a.g){case 0:return new FKc((RKc(),OKc));case 1:return new aKc;case 2:return new FLc;default:throw Adb(new agb('No implementation is available for the crossing minimizer '+(a.f!=null?a.f:''+a.g)));}} + function THc(a,b){var c,d,e,f,g;a.c[b.p]=true;Rmb(a.a,b);for(g=new Anb(b.j);g.a=f){g.$b();}else {e=g.Kc();for(d=0;d0?Hh():g<0&&Rw(a,b,-g);return true}else {return false}} + function YKb(a){var b,c,d,e,f,g,h;h=0;if(a.b==0){g=aLb(a,true);b=0;for(d=g,e=0,f=d.length;e0){h+=c;++b;}}b>1&&(h+=a.c*(b-1));}else {h=Vvb(SCb(HDb(CDb(_nb(a.a),new oLb),new qLb)));}return h>0?h+a.n.d+a.n.a:0} + function ZKb(a){var b,c,d,e,f,g,h;h=0;if(a.b==0){h=Vvb(SCb(HDb(CDb(_nb(a.a),new kLb),new mLb)));}else {g=bLb(a,true);b=0;for(d=g,e=0,f=d.length;e0){h+=c;++b;}}b>1&&(h+=a.c*(b-1));}return h>0?h+a.n.b+a.n.c:0} + function UOc(a){var b,c;if(a.c.length!=2){throw Adb(new dgb('Order only allowed for two paths.'))}b=(tFb(0,a.c.length),RD(a.c[0],18));c=(tFb(1,a.c.length),RD(a.c[1],18));if(b.d.i!=c.c.i){a.c.length=0;ZEb(a.c,c);ZEb(a.c,b);}} + function O8c(a,b,c){var d;zyd(c,b.g,b.f);Byd(c,b.i,b.j);for(d=0;d<(!b.a&&(b.a=new C5d(J4,b,10,11)),b.a).i;d++){O8c(a,RD(QHd((!b.a&&(b.a=new C5d(J4,b,10,11)),b.a),d),27),RD(QHd((!c.a&&(c.a=new C5d(J4,c,10,11)),c.a),d),27));}} + function DMb(a,b){var c,d,e,f;f=RD(Vrb(a.b,b),127);c=f.a;for(e=RD(RD(Qc(a.r,b),21),87).Kc();e.Ob();){d=RD(e.Pb(),117);!!d.c&&(c.a=$wnd.Math.max(c.a,QKb(d.c)));}if(c.a>0){switch(b.g){case 2:f.n.c=a.s;break;case 4:f.n.b=a.s;}}} + function ETb(a,b){var c,d,e;c=RD(mQb(b,(yVb(),lVb)),17).a-RD(mQb(a,lVb),17).a;if(c==0){d=ojd(ajd(RD(mQb(a,(JVb(),FVb)),8)),RD(mQb(a,GVb),8));e=ojd(ajd(RD(mQb(b,FVb),8)),RD(mQb(b,GVb),8));return Qfb(d.a*d.b,e.a*e.b)}return c} + function JVc(a,b){var c,d,e;c=RD(mQb(b,(h_c(),X$c)),17).a-RD(mQb(a,X$c),17).a;if(c==0){d=ojd(ajd(RD(mQb(a,(q$c(),RZc)),8)),RD(mQb(a,SZc),8));e=ojd(ajd(RD(mQb(b,RZc),8)),RD(mQb(b,SZc),8));return Qfb(d.a*d.b,e.a*e.b)}return c} + function _0b(a){var b,c;c=new bib;c.a+='e_';b=S0b(a);b!=null&&(c.a+=''+b,c);if(!!a.c&&!!a.d){Zhb((c.a+=' ',c),M3b(a.c));Zhb(Yhb((c.a+='[',c),a.c.i),']');Zhb((c.a+=SAe,c),M3b(a.d));Zhb(Yhb((c.a+='[',c),a.d.i),']');}return c.a} + function ZVc(a){switch(a.g){case 0:return new N_c;case 1:return new V_c;case 2:return new x0c;case 3:return new J0c;default:throw Adb(new agb('No implementation is available for the layout phase '+(a.f!=null?a.f:''+a.g)));}} + function qsd(a,b,c,d,e){var f;f=0;switch(e.g){case 1:f=$wnd.Math.max(0,b.b+a.b-(c.b+d));break;case 3:f=$wnd.Math.max(0,-a.b-d);break;case 2:f=$wnd.Math.max(0,-a.a-d);break;case 4:f=$wnd.Math.max(0,b.a+a.a-(c.a+d));}return f} + function MDd(a,b,c){var d,e,f,g,h;if(c){e=c.a.length;d=new vue(e);for(h=(d.b-d.a)*d.c<0?(uue(),tue):new Rue(d);h.Ob();){g=RD(h.Pb(),17);f=xDd(c,g.a);kIe in f.a||lIe in f.a?yEd(a,f,b):EEd(a,f,b);OGd(RD(Wjb(a.b,uDd(f)),74));}}} + function jXd(a){var b,c;switch(a.b){case -1:{return true}case 0:{c=a.t;if(c>1||c==-1){a.b=-1;return true}else {b=WVd(a);if(!!b&&(nke(),b.lk()==aKe)){a.b=-1;return true}else {a.b=1;return false}}}default:case 1:{return false}}} + function Sqe(a,b){var c,d,e,f;Mqe(a);if(a.c!=0||a.a!=123)throw Adb(new Lqe(TId((Hde(),eJe))));f=b==112;d=a.d;c=phb(a.i,125,d);if(c<0)throw Adb(new Lqe(TId((Hde(),fJe))));e=zhb(a.i,d,c);a.d=c+1;return ite(e,f,(a.e&512)==512)} + function YTb(a){var b,c,d,e,f,g,h;d=a.a.c.length;if(d>0){g=a.c.d;h=a.d.d;e=ijd(ojd(new rjd(h.a,h.b),g),1/(d+1));f=new rjd(g.a,g.b);for(c=new Anb(a.a);c.a=0&&f=0?a.Lh(c,true,true):Qvd(a,e,true),160));return RD(d,220).Wl(b)}else {throw Adb(new agb(KHe+b.xe()+NHe))}} + function _ae(){Tae();var a;if(Sae)return RD(N5d((YSd(),XSd),AKe),2038);RRd(UK,new hde);abe();a=RD(ZD(Xjb((YSd(),XSd),AKe),560)?Xjb(XSd,AKe):new $ae,560);Sae=true;Yae(a);Zae(a);Zjb((hTd(),gTd),a,new cbe);$jb(XSd,AKe,a);return a} + function Vfe(a,b){var c,d,e,f;a.j=-1;if(Mvd(a.e)){c=a.i;f=a.i!=0;LHd(a,b);d=new P3d(a.e,3,a.c,null,b,c,f);e=b.zl(a.e,a.c,null);e=Hge(a,b,e);if(!e){qvd(a.e,d);}else {e.nj(d);e.oj();}}else {LHd(a,b);e=b.zl(a.e,a.c,null);!!e&&e.oj();}} + function HA(a,b){var c,d,e;e=0;d=b[0];if(d>=a.length){return -1}c=(BFb(d,a.length),a.charCodeAt(d));while(c>=48&&c<=57){e=e*10+(c-48);++d;if(d>=a.length){break}c=(BFb(d,a.length),a.charCodeAt(d));}d>b[0]?(b[0]=d):(e=-1);return e} + function mPb(a){var b,c,d,e,f;e=RD(a.a,17).a;f=RD(a.b,17).a;c=e;d=f;b=$wnd.Math.max($wnd.Math.abs(e),$wnd.Math.abs(f));if(e<=0&&e==f){c=0;d=f-1;}else {if(e==-b&&f!=b){c=f;d=e;f>=0&&++c;}else {c=-f;d=e;}}return new Ptd(sgb(c),sgb(d))} + function YPb(a,b,c,d){var e,f,g,h,i,j;for(e=0;e=0&&j>=0&&i=a.i)throw Adb(new veb(MIe+b+NIe+a.i));if(c>=a.i)throw Adb(new veb(OIe+c+NIe+a.i));d=a.g[c];if(b!=c){b>16);b=d>>16&16;c=16-b;a=a>>b;d=a-256;b=d>>16&8;c+=b;a<<=b;d=a-qxe;b=d>>16&4;c+=b;a<<=b;d=a-Ove;b=d>>16&2;c+=b;a<<=b;d=a>>14;b=d&~(d>>1);return c+2-b}} + function RSb(a){HSb();var b,c,d,e;GSb=new bnb;FSb=new Tsb;ESb=new bnb;b=(!a.a&&(a.a=new C5d(J4,a,10,11)),a.a);JSb(b);for(e=new dMd(b);e.e!=e.i.gc();){d=RD(bMd(e),27);if(Wmb(GSb,d,0)==-1){c=new bnb;Rmb(ESb,c);KSb(d,c);}}return ESb} + function sTb(a,b,c){var d,e,f,g;a.a=c.b.d;if(ZD(b,326)){e=IGd(RD(b,74),false,false);f=ssd(e);d=new wTb(a);xgb(f,d);lsd(f,e);b.of((umd(),cld))!=null&&xgb(RD(b.of(cld),75),d);}else {g=RD(b,422);g.rh(g.nh()+a.a.a);g.sh(g.oh()+a.a.b);}} + function hWc(a,b){var c,d,e;e=new bnb;for(d=Sub(b.a,0);d.b!=d.d.c;){c=RD(evb(d),65);c.c.g==a.g&&dE(mQb(c.b,(h_c(),f_c)))!==dE(mQb(c.c,f_c))&&!yDb(new SDb(null,new Swb(e,16)),new IWc(c))&&(ZEb(e.c,c),true);}_mb(e,new KWc);return e} + function fUb(a,b,c){var d,e,f,g;if(ZD(b,153)&&ZD(c,153)){f=RD(b,153);g=RD(c,153);return a.a[f.a][g.a]+a.a[g.a][f.a]}else if(ZD(b,250)&&ZD(c,250)){d=RD(b,250);e=RD(c,250);if(d.a==e.a){return RD(mQb(e.a,(yVb(),lVb)),17).a}}return 0} + function q9b(a,b){var c,d,e,f,g,h,i,j;j=Kfb(UD(mQb(b,(yCc(),fCc))));i=a[0].n.a+a[0].o.a+a[0].d.c+j;for(h=1;h=0){return c}h=ejd(ojd(new rjd(g.c+g.b/2,g.d+g.a/2),new rjd(f.c+f.b/2,f.d+f.a/2)));return -(oRb(f,g)-1)*h} + function ysd(a,b,c){var d;FDb(new SDb(null,(!c.a&&(c.a=new C5d(F4,c,6,6)),new Swb(c.a,16))),new Qsd(a,b));FDb(new SDb(null,(!c.n&&(c.n=new C5d(I4,c,1,7)),new Swb(c.n,16))),new Ssd(a,b));d=RD(Gxd(c,(umd(),cld)),75);!!d&&Bjd(d,a,b);} + function Qvd(a,b,c){var d,e,f;f=Eee((lke(),jke),a.Dh(),b);if(f){nke();RD(f,69).xk()||(f=zfe(Qee(jke,f)));e=(d=a.Ih(f),RD(d>=0?a.Lh(d,true,true):Qvd(a,f,true),160));return RD(e,220).Sl(b,c)}else {throw Adb(new agb(KHe+b.xe()+NHe))}} + function WNd(a,b,c,d){var e,f,g,h,i;e=a.d[b];if(e){f=e.g;i=e.i;if(d!=null){for(h=0;h=c){d=b;j=(i.c+i.a)/2;g=j-c;if(i.c<=j-c){e=new BTc(i.c,g);Qmb(a,d++,e);}h=j+c;if(h<=i.a){f=new BTc(h,i.a);wFb(d,a.c.length);XEb(a.c,d,f);}}} + function mZc(a,b,c){var d,e,f,g,h,i;if(!b.dc()){e=new Yub;for(i=b.Kc();i.Ob();){h=RD(i.Pb(),40);Zjb(a.a,sgb(h.g),sgb(c));for(g=(d=Sub((new dXc(h)).a.d,0),new gXc(d));dvb(g.a);){f=RD(evb(g.a),65).c;Pub(e,f,e.c.b,e.c);}}mZc(a,e,c+1);}} + function Ude(a){var b;if(!a.c&&a.g==null){a.d=a.bj(a.f);WGd(a,a.d);b=a.d;}else {if(a.g==null){return true}else if(a.i==0){return false}else {b=RD(a.g[a.i-1],51);}}if(b==a.b&&null.Vm>=null.Um()){tId(a);return Ude(a)}else {return b.Ob()}} + function t_b(a){this.a=a;if(a.c.i.k==(r3b(),m3b)){this.c=a.c;this.d=RD(mQb(a.c.i,(Ywc(),hwc)),64);}else if(a.d.i.k==m3b){this.c=a.d;this.d=RD(mQb(a.d.i,(Ywc(),hwc)),64);}else {throw Adb(new agb('Edge '+a+' is not an external edge.'))}} + function O1d(a,b){var c,d,e;e=a.b;a.b=b;(a.Db&4)!=0&&(a.Db&1)==0&&qvd(a,new N3d(a,1,3,e,a.b));if(!b){PAd(a,null);Q1d(a,0);P1d(a,null);}else if(b!=a){PAd(a,b.zb);Q1d(a,b.d);c=(d=b.c,d==null?b.zb:d);P1d(a,c==null||lhb(c,b.zb)?null:c);}} + function hj(a,b){var c;this.e=(tm(),Qb(a),tm(),zm(a));this.c=(Qb(b),zm(b));Lb(this.e.Rd().dc()==this.c.Rd().dc());this.d=Uv(this.e);this.b=Uv(this.c);c=YC(jJ,[Nve,rve],[5,1],5,[this.e.Rd().gc(),this.c.Rd().gc()],2);this.a=c;Zi(this);} + function Lz(b){(!Jz&&(Jz=Mz()),Jz);var d=b.replace(/[\x00-\x1f\xad\u0600-\u0603\u06dd\u070f\u17b4\u17b5\u200b-\u200f\u2028-\u202e\u2060-\u2064\u206a-\u206f\ufeff\ufff9-\ufffb"\\]/g,function(a){return Kz(a)});return '"'+d+'"'} + function VEb(a,b,c,d,e,f){var g,h,i,j,k;if(e==0){return}if(dE(a)===dE(c)){a=a.slice(b,b+e);b=0;}i=c;for(h=b,j=b+e;h=g)throw Adb(new aMd(b,g));e=c[b];if(g==1){d=null;}else {d=$C(d6,IJe,424,g-1,0,1);hib(c,0,d,0,b);f=g-b-1;f>0&&hib(c,b+1,d,b,f);}Bde(a,d);Ade(a,b,e);return e} + function l3d(a){var b,c;if(a.f){while(a.n0?(f=vpd(c)):(f=spd(vpd(c)));}Ixd(b,GBc,f);} + function agc(a,b){var c;b.Ug('Partition preprocessing',1);c=RD(zDb(CDb(EDb(CDb(new SDb(null,new Swb(a.a,16)),new egc),new ggc),new igc),tBb(new ZBb,new XBb,new wCb,cD(WC(QL,1),jwe,108,0,[(xBb(),vBb)]))),15);FDb(c.Oc(),new kgc);b.Vg();} + function Uoc(a,b){var c,d,e,f,g;g=a.j;b.a!=b.b&&_mb(g,new ypc);e=g.c.length/2|0;for(d=0;d0&&uLc(a,c,b);return f}else if(d.a!=null){uLc(a,b,c);return -1}else if(e.a!=null){uLc(a,c,b);return 1}return 0} + function EVc(a,b){var c,d,e,f,g;e=b.b.b;a.a=$C(QK,Ize,15,e,0,1);a.b=$C(xdb,Hye,28,e,16,1);for(g=Sub(b.b,0);g.b!=g.d.c;){f=RD(evb(g),40);a.a[f.g]=new Yub;}for(d=Sub(b.a,0);d.b!=d.d.c;){c=RD(evb(d),65);a.a[c.b.g].Fc(c);a.a[c.c.g].Fc(c);}} + function SJd(a,b){var c,d,e,f;if(a.Pj()){c=a.Ej();f=a.Qj();++a.j;a.qj(c,a.Zi(c,b));d=a.Ij(3,null,b,c,f);if(a.Mj()){e=a.Nj(b,null);if(!e){a.Jj(d);}else {e.nj(d);e.oj();}}else {a.Jj(d);}}else {_Id(a,b);if(a.Mj()){e=a.Nj(b,null);!!e&&e.oj();}}} + function oLd(a,b,c){var d,e,f;if(a.Pj()){f=a.Qj();KHd(a,b,c);d=a.Ij(3,null,c,b,f);if(a.Mj()){e=a.Nj(c,null);a.Tj()&&(e=a.Uj(c,e));if(!e){a.Jj(d);}else {e.nj(d);e.oj();}}else {a.Jj(d);}}else {KHd(a,b,c);if(a.Mj()){e=a.Nj(c,null);!!e&&e.oj();}}} + function bge(a,b){var c,d,e,f,g;g=pke(a.e.Dh(),b);e=new YHd;c=RD(a.g,124);for(f=a.i;--f>=0;){d=c[f];g.am(d.Lk())&&WGd(e,d);}!wLd(a,e)&&Mvd(a.e)&&eZd(a,b.Jk()?fge(a,6,b,(yob(),vob),null,-1,false):fge(a,b.tk()?2:1,b,null,null,-1,false));} + function _7b(a,b){var c,d,e,f,g;if(a.a==($uc(),Yuc)){return true}f=b.a.c;c=b.a.c+b.a.b;if(b.j){d=b.A;g=d.c.c.a-d.o.a/2;e=f-(d.n.a+d.o.a);if(e>g){return false}}if(b.q){d=b.C;g=d.c.c.a-d.o.a/2;e=d.n.a-c;if(e>g){return false}}return true} + function bRc(a){WQc();var b,c,d,e,f,g,h;c=new gub;for(e=new Anb(a.e.b);e.a1?(a.e*=Kfb(a.a)):(a.f/=Kfb(a.a));uRb(a);vRb(a);rRb(a);pQb(a.b,(tSb(),lSb),a.g);} + function n9b(a,b,c){var d,e,f,g,h,i;d=0;i=c;if(!b){d=c*(a.c.length-1);i*=-1;}for(f=new Anb(a);f.a=0?a.Ah(null):a.Ph().Th(a,-1-b,null,null));a.Bh(RD(e,54),c);!!d&&d.oj();a.vh()&&a.wh()&&c>-1&&qvd(a,new N3d(a,9,c,f,e));return e}}}return f} + function stb(a,b){var c,d,e,f,g;f=a.b.Ce(b);d=(c=a.a.get(f),c==null?$C(jJ,rve,1,0,5,1):c);for(g=0;g>5;if(e>=a.d){return a.e<0}c=a.a[e];b=1<<(b&31);if(a.e<0){d=Uib(a);if(e>16)),15).dd(f);if(h0){!(Dmd(a.a.c)&&b.n.d)&&!(Emd(a.a.c)&&b.n.b)&&(b.g.d+=$wnd.Math.max(0,d/2-0.5));!(Dmd(a.a.c)&&b.n.a)&&!(Emd(a.a.c)&&b.n.c)&&(b.g.a-=d-1);}}} + function c7b(a){var b,c,d,e,f;e=new bnb;f=d7b(a,e);b=RD(mQb(a,(Ywc(),Iwc)),10);if(b){for(d=new Anb(b.j);d.a>b;f=a.m>>b|c<<22-b;e=a.l>>b|a.m<<22-b;}else if(b<44){g=d?exe:0;f=c>>b-22;e=a.m>>b-22|c<<44-b;}else {g=d?exe:0;f=d?dxe:0;e=c>>b-44;}return hD(e&dxe,f&dxe,g&exe)} + function ORb(a){var b,c,d,e,f,g;this.c=new bnb;this.d=a;d=oxe;e=oxe;b=pxe;c=pxe;for(g=Sub(a,0);g.b!=g.d.c;){f=RD(evb(g),8);d=$wnd.Math.min(d,f.a);e=$wnd.Math.min(e,f.b);b=$wnd.Math.max(b,f.a);c=$wnd.Math.max(c,f.b);}this.a=new Uid(d,e,b-d,c-e);} + function Udc(a,b){var c,d,e,f,g,h;for(f=new Anb(a.b);f.a0&&ZD(b,44)){a.a._j();j=RD(b,44);i=j.ld();f=i==null?0:tb(i);g=bOd(a.a,f);c=a.a.d[g];if(c){d=RD(c.g,379);k=c.i;for(h=0;h=2){c=e.Kc();b=UD(c.Pb());while(c.Ob()){f=b;b=UD(c.Pb());d=$wnd.Math.min(d,(uFb(b),b)-(uFb(f),f));}}return d} + function iWc(a,b){var c,d,e;e=new bnb;for(d=Sub(b.a,0);d.b!=d.d.c;){c=RD(evb(d),65);c.b.g==a.g&&!lhb(c.b.c,IEe)&&dE(mQb(c.b,(h_c(),f_c)))!==dE(mQb(c.c,f_c))&&!yDb(new SDb(null,new Swb(e,16)),new OWc(c))&&(ZEb(e.c,c),true);}_mb(e,new QWc);return e} + function $u(a,b){var c,d,e;if(dE(b)===dE(Qb(a))){return true}if(!ZD(b,15)){return false}d=RD(b,15);e=a.gc();if(e!=d.gc()){return false}if(ZD(d,59)){for(c=0;c0&&(e=c);for(g=new Anb(a.f.e);g.a0){b-=1;c-=1;}else {if(d>=0&&e<0){b+=1;c+=1;}else {if(d>0&&e>=0){b-=1;c+=1;}else {b+=1;c-=1;}}}}}return new Ptd(sgb(b),sgb(c))} + function nNc(a,b){if(a.cb.c){return 1}else if(a.bb.b){return 1}else if(a.a!=b.a){return tb(a.a)-tb(b.a)}else if(a.d==(sNc(),rNc)&&b.d==qNc){return -1}else if(a.d==qNc&&b.d==rNc){return 1}return 0} + function ARc(a,b){var c,d,e,f,g;f=b.a;f.c.i==b.b?(g=f.d):(g=f.c);f.c.i==b.b?(d=f.c):(d=f.d);e=lQc(a.a,g,d);if(e>0&&e0}else if(e<0&&-e0}return false} + function X9c(a,b,c,d){var e,f,g,h,i,j,k,l;e=(b-a.d)/a.c.c.length;f=0;a.a+=c;a.d=b;for(l=new Anb(a.c);l.a>24;}return g} + function Bfb(a){if(a.ze()){var b=a.c;b.Ae()?(a.o='['+b.n):!b.ze()?(a.o='[L'+b.xe()+';'):(a.o='['+b.xe());a.b=b.we()+'[]';a.k=b.ye()+'[]';return}var c=a.j;var d=a.d;d=d.split('/');a.o=Efb('.',[c,Efb('$',d)]);a.b=Efb('.',[c,Efb('.',d)]);a.k=d[d.length-1];} + function hJb(a,b){var c,d,e,f,g;g=null;for(f=new Anb(a.e.a);f.a=0;b-=2){for(c=0;c<=b;c+=2){if(a.b[c]>a.b[c+2]||a.b[c]===a.b[c+2]&&a.b[c+1]>a.b[c+3]){d=a.b[c+2];a.b[c+2]=a.b[c];a.b[c]=d;d=a.b[c+3];a.b[c+3]=a.b[c+1];a.b[c+1]=d;}}}a.c=true;} + function nKc(a,b){var c,d,e,f,g,h,i,j,k;j=-1;k=0;for(g=a,h=0,i=g.length;h0&&++k;}}++j;}return k} + function awd(a){var b,c;c=new dib(nfb(a.Rm));c.a+='@';Zhb(c,(b=tb(a)>>>0,b.toString(16)));if(a.Vh()){c.a+=' (eProxyURI: ';Yhb(c,a._h());if(a.Kh()){c.a+=' eClass: ';Yhb(c,a.Kh());}c.a+=')';}else if(a.Kh()){c.a+=' (eClass: ';Yhb(c,a.Kh());c.a+=')';}return c.a} + function KGb(a){var b,c,d,e;if(a.e){throw Adb(new dgb((lfb(lN),lye+lN.k+mye)))}a.d==(Cmd(),Amd)&&JGb(a,ymd);for(c=new Anb(a.a.a);c.a>24;}return c} + function cNb(a,b,c){var d,e,f;e=RD(Vrb(a.i,b),314);if(!e){e=new UKb(a.d,b,c);Wrb(a.i,b,e);if(jMb(b)){tKb(a.a,b.c,b.b,e);}else {f=iMb(b);d=RD(Vrb(a.p,f),252);switch(f.g){case 1:case 3:e.j=true;cLb(d,b.b,e);break;case 4:case 2:e.k=true;cLb(d,b.c,e);}}}return e} + function Ndc(a,b){var c,d,e,f,g,h,i,j,k;i=ev(a.c-a.b&a.a.length-1);j=null;k=null;for(f=new Kmb(a);f.a!=f.b;){e=RD(Imb(f),10);c=(h=RD(mQb(e,(Ywc(),vwc)),12),!h?null:h.i);d=(g=RD(mQb(e,wwc),12),!g?null:g.i);if(j!=c||k!=d){Rdc(i,b);j=c;k=d;}ZEb(i.c,e);}Rdc(i,b);} + function Rge(a,b,c,d){var e,f,g,h,i,j;h=new YHd;i=pke(a.e.Dh(),b);e=RD(a.g,124);nke();if(RD(b,69).xk()){for(g=0;g=0){return e}else {f=1;for(h=new Anb(b.j);h.a=0){return e}else {f=1;for(h=new Anb(b.j);h.a0&&b.Ne((tFb(e-1,a.c.length),RD(a.c[e-1],10)),f)>0){$mb(a,e,(tFb(e-1,a.c.length),RD(a.c[e-1],10)));--e;}tFb(e,a.c.length);a.c[e]=f;}c.a=new Tsb;c.b=new Tsb;} + function yhd(a,b,c){var d,e,f,g,h,i,j,k;k=(d=RD(b.e&&b.e(),9),new Fsb(d,RD(WEb(d,d.length),9),0));i=vhb(c,'[\\[\\]\\s,]+');for(f=i,g=0,h=f.length;g=0){if(!b){b=new Rhb;d>0&&Nhb(b,(AFb(0,d,a.length),a.substr(0,d)));}b.a+='\\';Jhb(b,c&Bwe);}else !!b&&Jhb(b,c&Bwe);}return b?b.a:a} + function MYb(a){var b,c,d;for(c=new Anb(a.a.a.b);c.a0){!(Dmd(a.a.c)&&b.n.d)&&!(Emd(a.a.c)&&b.n.b)&&(b.g.d-=$wnd.Math.max(0,d/2-0.5));!(Dmd(a.a.c)&&b.n.a)&&!(Emd(a.a.c)&&b.n.c)&&(b.g.a+=$wnd.Math.max(0,d-1));}}} + function Ydc(a,b,c){var d,e;if((a.c-a.b&a.a.length-1)==2){if(b==(qpd(),Yod)||b==Xod){Odc(RD(omb(a),15),(Pnd(),Lnd));Odc(RD(omb(a),15),Mnd);}else {Odc(RD(omb(a),15),(Pnd(),Mnd));Odc(RD(omb(a),15),Lnd);}}else {for(e=new Kmb(a);e.a!=e.b;){d=RD(Imb(e),15);Odc(d,c);}}} + function HGd(a,b){var c,d,e,f,g,h,i;e=cv(new QGd(a));h=new Jkb(e,e.c.length);f=cv(new QGd(b));i=new Jkb(f,f.c.length);g=null;while(h.b>0&&i.b>0){c=(sFb(h.b>0),RD(h.a.Xb(h.c=--h.b),27));d=(sFb(i.b>0),RD(i.a.Xb(i.c=--i.b),27));if(c==d){g=c;}else {break}}return g} + function Dmc(a,b,c){var d,e,f,g;if(Hmc(a,b)>Hmc(a,c)){d=b3b(c,(qpd(),Xod));a.d=d.dc()?0:L3b(RD(d.Xb(0),12));g=b3b(b,ppd);a.b=g.dc()?0:L3b(RD(g.Xb(0),12));}else {e=b3b(c,(qpd(),ppd));a.d=e.dc()?0:L3b(RD(e.Xb(0),12));f=b3b(b,Xod);a.b=f.dc()?0:L3b(RD(f.Xb(0),12));}} + function wNb(a,b){var c,d,e,f;c=a.o.a;for(f=RD(RD(Qc(a.r,b),21),87).Kc();f.Ob();){e=RD(f.Pb(),117);e.e.a=c*Kfb(UD(e.b.of(sNb)));e.e.b=(d=e.b,d.pf((umd(),Gld))?d.ag()==(qpd(),Yod)?-d.Mf().b-Kfb(UD(d.of(Gld))):Kfb(UD(d.of(Gld))):d.ag()==(qpd(),Yod)?-d.Mf().b:0);}} + function Mhc(a,b){var c,d,e,f;b.Ug('Self-Loop pre-processing',1);for(d=new Anb(a.a);d.aa.c){break}else if(e.a>=a.s){f<0&&(f=g);h=g;}}i=(a.s+a.c)/2;if(f>=0){d=lTc(a,b,f,h);i=yTc((tFb(d,b.c.length),RD(b.c[d],339)));wTc(b,d,c);}return i} + function _Ad(a,b,c){var d,e,f,g,h,i,j;g=(f=new pVd,f);nVd(g,(uFb(b),b));j=(!g.b&&(g.b=new SVd((JTd(),FTd),C8,g)),g.b);for(i=1;i0&&ASb(this,e);}} + function zTb(a,b,c,d,e,f){var g,h,i;if(!e[b.a]){e[b.a]=true;g=d;!g&&(g=new gUb);Rmb(g.e,b);for(i=f[b.a].Kc();i.Ob();){h=RD(i.Pb(),290);if(h.d==c||h.c==c){continue}h.c!=b&&zTb(a,h.c,b,g,e,f);h.d!=b&&zTb(a,h.d,b,g,e,f);Rmb(g.c,h);Tmb(g.d,h.b);}return g}return null} + function v7b(a){var b,c,d,e,f,g,h;b=0;for(e=new Anb(a.e);e.a=2} + function _qc(a,b,c,d,e){var f,g,h,i,j,k;f=a.c.d.j;g=RD(ju(c,0),8);for(k=1;k1){return false}b=ysb(Xnd,cD(WC(A3,1),jwe,95,0,[Wnd,Znd]));if(dy(Tx(b,a))>1){return false}d=ysb(cod,cD(WC(A3,1),jwe,95,0,[bod,aod]));if(dy(Tx(d,a))>1){return false}return true} + function $Uc(a,b,c){var d,e,f;for(f=new Anb(a.t);f.a0){d.b.n-=d.c;d.b.n<=0&&d.b.u>0&&Mub(b,d.b);}}for(e=new Anb(a.i);e.a0){d.a.u-=d.c;d.a.u<=0&&d.a.n>0&&Mub(c,d.a);}}} + function tId(a){var b,c,d,e,f;if(a.g==null){a.d=a.bj(a.f);WGd(a,a.d);if(a.c){f=a.f;return f}}b=RD(a.g[a.i-1],51);e=b.Pb();a.e=b;c=a.bj(e);if(c.Ob()){a.d=c;WGd(a,c);}else {a.d=null;while(!b.Ob()){bD(a.g,--a.i,null);if(a.i==0){break}d=RD(a.g[a.i-1],51);b=d;}}return e} + function Rfe(a,b){var c,d,e,f,g,h;d=b;e=d.Lk();if(qke(a.e,e)){if(e.Si()&&cge(a,e,d.md())){return false}}else {h=pke(a.e.Dh(),e);c=RD(a.g,124);for(f=0;f1||c>1){return 2}}if(b+c==1){return 2}return 0} + function Kwb(a,b){var c,d,e,f,g,h;f=a.a*Mxe+a.b*1502;h=a.b*Mxe+11;c=$wnd.Math.floor(h*Nxe);f+=c;h-=c*Oxe;f%=Oxe;a.a=f;a.b=h;if(b<=24){return $wnd.Math.floor(a.a*Ewb[b])}else {e=a.a*(1<=2147483648&&(d-=4294967296);return d}} + function uSc(a,b,c){var d,e,f,g,h,i,j;f=new bnb;j=new Yub;g=new Yub;vSc(a,j,g,b);tSc(a,j,g,b,c);for(i=new Anb(a);i.ad.b.g&&(ZEb(f.c,d),true);}}return f} + function jed(a,b,c){var d,e,f,g,h,i;h=a.c;for(g=(!c.q?(yob(),yob(),wob):c.q).vc().Kc();g.Ob();){f=RD(g.Pb(),44);d=!QDb(CDb(new SDb(null,new Swb(h,16)),new PAb(new xed(b,f)))).Bd((xDb(),wDb));if(d){i=f.md();if(ZD(i,4)){e=FId(i);e!=null&&(i=e);}b.qf(RD(f.ld(),149),i);}}} + function mbd(a,b,c){var d,e;Sed(a.b);Ved(a.b,(gbd(),dbd),(_cd(),$cd));Ved(a.b,ebd,b.g);Ved(a.b,fbd,b.a);a.a=Qed(a.b,b);c.Ug('Compaction by shrinking a tree',a.a.c.length);if(b.i.c.length>1){for(e=new Anb(a.a);e.a=0?a.Lh(d,true,true):Qvd(a,f,true),160));RD(e,220).Xl(b,c);}else {throw Adb(new agb(KHe+b.xe()+LHe))}} + function k2d(a,b){var c,d,e,f,g;if(!b){return null}else {f=ZD(a.Cb,90)||ZD(a.Cb,102);g=!f&&ZD(a.Cb,331);for(d=new dMd((!b.a&&(b.a=new iae(b,o7,b)),b.a));d.e!=d.i.gc();){c=RD(bMd(d),89);e=i2d(c);if(f?ZD(e,90):g?ZD(e,156):!!e){return e}}return f?(JTd(),zTd):(JTd(),wTd)}} + function W8b(a,b){var c,d,e,f;b.Ug('Resize child graph to fit parent.',1);for(d=new Anb(a.b);d.a=2*b&&Rmb(c,new BTc(g[d-1]+b,g[d]-b));}return c} + function dEd(a,b,c){var d,e,f,g,h,j,k,l;if(c){f=c.a.length;d=new vue(f);for(h=(d.b-d.a)*d.c<0?(uue(),tue):new Rue(d);h.Ob();){g=RD(h.Pb(),17);e=xDd(c,g.a);!!e&&(j=sEd(a,(k=(bvd(),l=new PCd,l),!!b&&NCd(k,b),k),e),jyd(j,zDd(e,uIe)),GEd(e,j),HEd(e,j),CEd(a,e,j));}}} + function sYd(a){var b,c,d,e,f,g;if(!a.j){g=new f1d;b=iYd;f=b.a.zc(a,b);if(f==null){for(d=new dMd(zYd(a));d.e!=d.i.gc();){c=RD(bMd(d),29);e=sYd(c);YGd(g,e);WGd(g,c);}b.a.Bc(a)!=null;}VHd(g);a.j=new N$d((RD(QHd(xYd((lTd(),kTd).o),11),19),g.i),g.g);yYd(a).b&=-33;}return a.j} + function lne(a){var b,c,d,e;if(a==null){return null}else {d=nue(a,true);e=mLe.length;if(lhb(d.substr(d.length-e,e),mLe)){c=d.length;if(c==4){b=(BFb(0,d.length),d.charCodeAt(0));if(b==43){return Yme}else if(b==45){return Xme}}else if(c==3){return Yme}}return new Ufb(d)}} + function pD(a){var b,c,d;c=a.l;if((c&c-1)!=0){return -1}d=a.m;if((d&d-1)!=0){return -1}b=a.h;if((b&b-1)!=0){return -1}if(b==0&&d==0&&c==0){return -1}if(b==0&&d==0&&c!=0){return ogb(c)}if(b==0&&d!=0&&c==0){return ogb(d)+22}if(b!=0&&d==0&&c==0){return ogb(b)+44}return -1} + function yo(a,b){var c,d,e,f,g;e=b.a&a.f;f=null;for(d=a.b[e];true;d=d.b){if(d==b){!f?(a.b[e]=b.b):(f.b=b.b);break}f=d;}g=b.f&a.f;f=null;for(c=a.c[g];true;c=c.d){if(c==b){!f?(a.c[g]=b.d):(f.d=b.d);break}f=c;}!b.e?(a.a=b.c):(b.e.c=b.c);!b.c?(a.e=b.e):(b.c.e=b.e);--a.i;++a.g;} + function Dt(a,b){var c;b.d?(b.d.b=b.b):(a.a=b.b);b.b?(b.b.d=b.d):(a.e=b.d);if(!b.e&&!b.c){c=RD(Hvb(RD(_jb(a.b,b.a),260)),260);c.a=0;++a.c;}else {c=RD(Hvb(RD(Wjb(a.b,b.a),260)),260);--c.a;!b.e?(c.b=RD(Hvb(b.c),511)):(b.e.c=b.c);!b.c?(c.c=RD(Hvb(b.e),511)):(b.c.e=b.e);}--a.d;} + function XPb(a){var b,c,d,e,f,g,h,i,j,k;c=a.o;b=a.p;g=lve;e=qwe;h=lve;f=qwe;for(j=0;j0);f.a.Xb(f.c=--f.b);Ikb(f,e);sFb(f.b3&&UA(a,0,b-3);}} + function eXb(a){var b,c,d,e;if(dE(mQb(a,(yCc(),IAc)))===dE((Fnd(),Cnd))){return !a.e&&dE(mQb(a,gAc))!==dE((xvc(),uvc))}d=RD(mQb(a,hAc),299);e=Heb(TD(mQb(a,nAc)))||dE(mQb(a,oAc))===dE((stc(),ptc));b=RD(mQb(a,fAc),17).a;c=a.a.c.length;return !e&&d!=(xvc(),uvc)&&(b==0||b>c)} + function Rnc(a){var b,c;c=0;for(;c0){break}}if(c>0&&c0){break}}if(b>0&&c>16!=6&&!!b){if(Oje(a,b))throw Adb(new agb(UHe+Qzd(a)));d=null;!!a.Cb&&(d=(c=a.Db>>16,c>=0?Czd(a,d):a.Cb.Th(a,-1-c,null,d)));!!b&&(d=Ivd(b,a,6,d));d=Bzd(a,b,d);!!d&&d.oj();}else (a.Db&4)!=0&&(a.Db&1)==0&&qvd(a,new N3d(a,1,6,b,b));} + function pzd(a,b){var c,d;if(b!=a.Cb||a.Db>>16!=3&&!!b){if(Oje(a,b))throw Adb(new agb(UHe+qzd(a)));d=null;!!a.Cb&&(d=(c=a.Db>>16,c>=0?jzd(a,d):a.Cb.Th(a,-1-c,null,d)));!!b&&(d=Ivd(b,a,12,d));d=izd(a,b,d);!!d&&d.oj();}else (a.Db&4)!=0&&(a.Db&1)==0&&qvd(a,new N3d(a,1,3,b,b));} + function NCd(a,b){var c,d;if(b!=a.Cb||a.Db>>16!=9&&!!b){if(Oje(a,b))throw Adb(new agb(UHe+OCd(a)));d=null;!!a.Cb&&(d=(c=a.Db>>16,c>=0?LCd(a,d):a.Cb.Th(a,-1-c,null,d)));!!b&&(d=Ivd(b,a,9,d));d=KCd(a,b,d);!!d&&d.oj();}else (a.Db&4)!=0&&(a.Db&1)==0&&qvd(a,new N3d(a,1,9,b,b));} + function tWd(b){var c,d,e,f,g;e=WVd(b);g=b.j;if(g==null&&!!e){return b.Jk()?null:e.ik()}else if(ZD(e,156)){d=e.jk();if(d){f=d.wi();if(f!=b.i){c=RD(e,156);if(c.nk()){try{b.g=f.ti(c,g);}catch(a){a=zdb(a);if(ZD(a,82)){b.g=null;}else throw Adb(a)}}b.i=f;}}return b.g}return null} + function nRb(a){var b;b=new bnb;Rmb(b,new TFb(new rjd(a.c,a.d),new rjd(a.c+a.b,a.d)));Rmb(b,new TFb(new rjd(a.c,a.d),new rjd(a.c,a.d+a.a)));Rmb(b,new TFb(new rjd(a.c+a.b,a.d+a.a),new rjd(a.c+a.b,a.d)));Rmb(b,new TFb(new rjd(a.c+a.b,a.d+a.a),new rjd(a.c,a.d+a.a)));return b} + function ic(b){var c,d,e;if(b==null){return vve}try{return jeb(b)}catch(a){a=zdb(a);if(ZD(a,103)){c=a;e=nfb(rb(b))+'@'+(d=(gib(),jFb(b))>>>0,d.toString(16));lBb(pBb(),(SAb(),'Exception during lenientFormat for '+e),c);return '<'+e+' threw '+nfb(c.Rm)+'>'}else throw Adb(a)}} + function mTb(a,b,c){var d,e,f;for(f=b.a.ec().Kc();f.Ob();){e=RD(f.Pb(),74);d=RD(Wjb(a.b,e),272);!d&&(vCd(JGd(e))==vCd(LGd(e))?lTb(a,e,c):JGd(e)==vCd(LGd(e))?Wjb(a.c,e)==null&&Wjb(a.b,LGd(e))!=null&&oTb(a,e,c,false):Wjb(a.d,e)==null&&Wjb(a.b,JGd(e))!=null&&oTb(a,e,c,true));}} + function Pfc(a,b){var c,d,e,f,g,h,i;for(e=a.Kc();e.Ob();){d=RD(e.Pb(),10);h=new R3b;P3b(h,d);Q3b(h,(qpd(),Xod));pQb(h,(Ywc(),Hwc),(Geb(),true));for(g=b.Kc();g.Ob();){f=RD(g.Pb(),10);i=new R3b;P3b(i,f);Q3b(i,ppd);pQb(i,Hwc,true);c=new a1b;pQb(c,Hwc,true);Y0b(c,h);Z0b(c,i);}}} + function Pqc(a,b,c,d){var e,f,g,h;e=Nqc(a,b,c);f=Nqc(a,c,b);g=RD(Wjb(a.c,b),118);h=RD(Wjb(a.c,c),118);if(e1){b=eJb((c=new gJb,++a.b,c),a.d);for(h=Sub(f,0);h.b!=h.d.c;){g=RD(evb(h),125);rIb(uIb(tIb(vIb(sIb(new wIb,1),0),b),g));}}} + function isc(a,b,c){var d,e,f,g,h;c.Ug('Breaking Point Removing',1);a.a=RD(mQb(b,(yCc(),yAc)),223);for(f=new Anb(b.b);f.a>16!=11&&!!b){if(Oje(a,b))throw Adb(new agb(UHe+zCd(a)));d=null;!!a.Cb&&(d=(c=a.Db>>16,c>=0?sCd(a,d):a.Cb.Th(a,-1-c,null,d)));!!b&&(d=Ivd(b,a,10,d));d=rCd(a,b,d);!!d&&d.oj();}else (a.Db&4)!=0&&(a.Db&1)==0&&qvd(a,new N3d(a,1,11,b,b));} + function C0b(a){var b,c,d,e;for(d=new vkb((new mkb(a.b)).a);d.b;){c=tkb(d);e=RD(c.ld(),12);b=RD(c.md(),10);pQb(b,(Ywc(),Awc),e);pQb(e,Iwc,b);pQb(e,nwc,(Geb(),true));Q3b(e,RD(mQb(b,hwc),64));mQb(b,hwc);pQb(e.i,(yCc(),BBc),(Bod(),yod));RD(mQb(Y2b(e.i),kwc),21).Fc((ovc(),kvc));}} + function X7b(a,b,c){var d,e,f,g,h,i;f=0;g=0;if(a.c){for(i=new Anb(a.d.i.j);i.af.a){return -1}else if(e.ai){k=a.d;a.d=$C(D6,KJe,66,2*i+4,0,1);for(f=0;f=9223372036854775807){return MD(),ID}e=false;if(a<0){e=true;a=-a;}d=0;if(a>=hxe){d=eE(a/hxe);a-=d*hxe;}c=0;if(a>=gxe){c=eE(a/gxe);a-=c*gxe;}b=eE(a);f=hD(b,c,d);e&&nD(f);return f} + function KCb(a){var b,c,d,e,f;f=new bnb;Umb(a.b,new SEb(f));a.b.c.length=0;if(f.c.length!=0){b=(tFb(0,f.c.length),RD(f.c[0],82));for(c=1,d=f.c.length;c=-b&&d==b){return new Ptd(sgb(c-1),sgb(d))}return new Ptd(sgb(c),sgb(d-1))} + function lcc(){hcc();return cD(WC(YS,1),jwe,81,0,[nbc,kbc,obc,Ebc,Xbc,Ibc,bcc,Nbc,Vbc,zbc,Rbc,Mbc,Wbc,vbc,dcc,ebc,Qbc,Zbc,Fbc,Ybc,fcc,Tbc,fbc,Ubc,gcc,_bc,ecc,Gbc,sbc,Hbc,Dbc,ccc,ibc,qbc,Kbc,hbc,Lbc,Bbc,wbc,Obc,ybc,lbc,jbc,Cbc,xbc,Pbc,acc,gbc,Sbc,Abc,Jbc,tbc,rbc,$bc,pbc,ubc,mbc])} + function Cmc(a,b,c){a.d=0;a.b=0;b.k==(r3b(),q3b)&&c.k==q3b&&RD(mQb(b,(Ywc(),Awc)),10)==RD(mQb(c,Awc),10)&&(Gmc(b).j==(qpd(),Yod)?Dmc(a,b,c):Dmc(a,c,b));b.k==q3b&&c.k==o3b?Gmc(b).j==(qpd(),Yod)?(a.d=1):(a.b=1):c.k==q3b&&b.k==o3b&&(Gmc(c).j==(qpd(),Yod)?(a.b=1):(a.d=1));Imc(a,b,c);} + function EFd(a){var b,c,d,e,f,g,h,i,j,k,l;l=HFd(a);b=a.a;i=b!=null;i&&sDd(l,'category',a.a);e=cve(new Xkb(a.d));g=!e;if(g){j=new MB;sC(l,'knownOptions',j);c=new MFd(j);xgb(new Xkb(a.d),c);}f=cve(a.g);h=!f;if(h){k=new MB;sC(l,'supportedFeatures',k);d=new OFd(k);xgb(a.g,d);}return l} + function Ly(a){var b,c,d,e,f,g,h,i,j;d=false;b=336;c=0;f=new hq(a.length);for(h=a,i=0,j=h.length;i>16!=7&&!!b){if(Oje(a,b))throw Adb(new agb(UHe+gCd(a)));d=null;!!a.Cb&&(d=(c=a.Db>>16,c>=0?cCd(a,d):a.Cb.Th(a,-1-c,null,d)));!!b&&(d=RD(b,54).Rh(a,1,H4,d));d=bCd(a,b,d);!!d&&d.oj();}else (a.Db&4)!=0&&(a.Db&1)==0&&qvd(a,new N3d(a,1,7,b,b));} + function lVd(a,b){var c,d;if(b!=a.Cb||a.Db>>16!=3&&!!b){if(Oje(a,b))throw Adb(new agb(UHe+oVd(a)));d=null;!!a.Cb&&(d=(c=a.Db>>16,c>=0?iVd(a,d):a.Cb.Th(a,-1-c,null,d)));!!b&&(d=RD(b,54).Rh(a,0,p7,d));d=hVd(a,b,d);!!d&&d.oj();}else (a.Db&4)!=0&&(a.Db&1)==0&&qvd(a,new N3d(a,1,3,b,b));} + function Mjb(a,b){Ljb();var c,d,e,f,g,h,i,j,k;if(b.d>a.d){h=a;a=b;b=h;}if(b.d<63){return Qjb(a,b)}g=(a.d&-2)<<4;j=$ib(a,g);k=$ib(b,g);d=Gjb(a,Zib(j,g));e=Gjb(b,Zib(k,g));i=Mjb(j,k);c=Mjb(d,e);f=Mjb(Gjb(j,d),Gjb(e,k));f=Bjb(Bjb(f,i),c);f=Zib(f,g);i=Zib(i,g<<1);return Bjb(Bjb(i,f),c)} + function _Cc(){_Cc=geb;ZCc=new bDc(lEe,0);WCc=new bDc('LONGEST_PATH',1);XCc=new bDc('LONGEST_PATH_SOURCE',2);TCc=new bDc('COFFMAN_GRAHAM',3);VCc=new bDc(BBe,4);$Cc=new bDc('STRETCH_WIDTH',5);YCc=new bDc('MIN_WIDTH',6);SCc=new bDc('BF_MODEL_ORDER',7);UCc=new bDc('DF_MODEL_ORDER',8);} + function AKc(a,b,c){var d,e,f,g,h;g=aMc(a,c);h=$C(jR,WAe,10,b.length,0,1);d=0;for(f=g.Kc();f.Ob();){e=RD(f.Pb(),12);Heb(TD(mQb(e,(Ywc(),nwc))))&&(h[d++]=RD(mQb(e,Iwc),10));}if(d=0;f+=c?1:-1){g=g|b.c.lg(i,f,c,d&&!Heb(TD(mQb(b.j,(Ywc(),jwc))))&&!Heb(TD(mQb(b.j,(Ywc(),Owc)))));g=g|b.q.ug(i,f,c);g=g|CKc(a,i[f],c,d);}Ysb(a.c,b);return g} + function F6b(a,b,c){var d,e,f,g,h,i,j,k,l,m;for(k=u2b(a.j),l=0,m=k.length;l1&&(a.a=true);QQb(RD(c.b,68),$id(ajd(RD(b.b,68).c),ijd(ojd(ajd(RD(c.b,68).a),RD(b.b,68).a),e)));Odd(a,b);Qdd(a,c);}} + function tYb(a){var b,c,d,e,f,g,h;for(f=new Anb(a.a.a);f.a0&&f>0?(g.p=b++):d>0?(g.p=c++):f>0?(g.p=e++):(g.p=c++);}}yob();_mb(a.j,new Lfc);} + function zic(a){var b,c;c=null;b=RD(Vmb(a.g,0),18);do{c=b.d.i;if(nQb(c,(Ywc(),wwc))){return RD(mQb(c,wwc),12).i}if(c.k!=(r3b(),p3b)&&gs(new is(Mr(a3b(c).a.Kc(),new ir)))){b=RD(hs(new is(Mr(a3b(c).a.Kc(),new ir))),18);}else if(c.k!=p3b){return null}}while(!!c&&c.k!=(r3b(),p3b));return c} + function sqc(a,b){var c,d,e,f,g,h,i,j,k;h=b.j;g=b.g;i=RD(Vmb(h,h.c.length-1),113);k=(tFb(0,h.c.length),RD(h.c[0],113));j=oqc(a,g,i,k);for(f=1;fj){i=c;k=e;j=d;}}b.a=k;b.c=i;} + function fMc(a,b,c){var d,e,f,g,h,i,j;j=new yAb(new TMc(a));for(g=cD(WC(xR,1),XAe,12,0,[b,c]),h=0,i=g.length;hi-a.b&&hi-a.a&&h0){if(f.a){h=f.b.Mf().a;if(c>h){e=(c-h)/2;f.d.b=e;f.d.c=e;}}else {f.d.c=a.s+c;}}else if(Rod(a.u)){d=wsd(f.b);d.c<0&&(f.d.b=-d.c);d.c+d.b>f.b.Mf().a&&(f.d.c=d.c+d.b-f.b.Mf().a);}}} + function RUc(a,b){var c,d,e,f,g;g=new bnb;c=b;do{f=RD(Wjb(a.b,c),131);f.B=c.c;f.D=c.d;ZEb(g.c,f);c=RD(Wjb(a.k,c),18);}while(c);d=(tFb(0,g.c.length),RD(g.c[0],131));d.j=true;d.A=RD(d.d.a.ec().Kc().Pb(),18).c.i;e=RD(Vmb(g,g.c.length-1),131);e.q=true;e.C=RD(e.d.a.ec().Kc().Pb(),18).d.i;return g} + function pPb(a){var b,c;b=RD(a.a,17).a;c=RD(a.b,17).a;if(b>=0){if(b==c){return new Ptd(sgb(-b-1),sgb(-b-1))}if(b==-c){return new Ptd(sgb(-b),sgb(c+1))}}if($wnd.Math.abs(b)>$wnd.Math.abs(c)){if(b<0){return new Ptd(sgb(-b),sgb(c))}return new Ptd(sgb(-b),sgb(c+1))}return new Ptd(sgb(b+1),sgb(c))} + function H8b(a){var b,c;c=RD(mQb(a,(yCc(),UAc)),171);b=RD(mQb(a,(Ywc(),owc)),311);if(c==(cxc(),$wc)){pQb(a,UAc,bxc);pQb(a,owc,(Gvc(),Fvc));}else if(c==axc){pQb(a,UAc,bxc);pQb(a,owc,(Gvc(),Dvc));}else if(b==(Gvc(),Fvc)){pQb(a,UAc,$wc);pQb(a,owc,Evc);}else if(b==Dvc){pQb(a,UAc,axc);pQb(a,owc,Evc);}} + function dSc(){dSc=geb;bSc=new pSc;ZRc=pfd(new ufd,(sXb(),pXb),(hcc(),Fbc));aSc=nfd(pfd(new ufd,pXb,Tbc),rXb,Sbc);cSc=mfd(mfd(rfd(nfd(pfd(new ufd,nXb,bcc),rXb,acc),qXb),_bc),ccc);$Rc=nfd(pfd(pfd(pfd(new ufd,oXb,Ibc),qXb,Kbc),qXb,Lbc),rXb,Jbc);_Rc=nfd(pfd(pfd(new ufd,qXb,Lbc),qXb,qbc),rXb,pbc);} + function HUc(){HUc=geb;CUc=pfd(nfd(new ufd,(sXb(),rXb),(hcc(),tbc)),pXb,Fbc);GUc=mfd(mfd(rfd(nfd(pfd(new ufd,nXb,bcc),rXb,acc),qXb),_bc),ccc);DUc=nfd(pfd(pfd(pfd(new ufd,oXb,Ibc),qXb,Kbc),qXb,Lbc),rXb,Jbc);FUc=pfd(pfd(new ufd,pXb,Tbc),rXb,Sbc);EUc=nfd(pfd(pfd(new ufd,qXb,Lbc),qXb,qbc),rXb,pbc);} + function eSc(a,b,c,d,e){var f,g;if((!W0b(b)&&b.c.i.c==b.d.i.c||!djd(xjd(cD(WC(l3,1),Nve,8,0,[e.i.n,e.n,e.a])),c))&&!W0b(b)){b.c==e?hu(b.a,0,new sjd(c)):Mub(b.a,new sjd(c));if(d&&!Zsb(a.a,c)){g=RD(mQb(b,(yCc(),RAc)),75);if(!g){g=new Ejd;pQb(b,RAc,g);}f=new sjd(c);Pub(g,f,g.c.b,g.c);Ysb(a.a,f);}}} + function ht(a,b){var c,d,e,f;f=Ydb(Ndb(cwe,qgb(Ydb(Ndb(b==null?0:tb(b),dwe)),15)));c=f&a.b.length-1;e=null;for(d=a.b[c];d;e=d,d=d.a){if(d.d==f&&Hb(d.i,b)){!e?(a.b[c]=d.a):(e.a=d.a);Ts(RD(Hvb(d.c),604),RD(Hvb(d.f),604));Ss(RD(Hvb(d.b),227),RD(Hvb(d.e),227));--a.f;++a.e;return true}}return false} + function dec(a){var b,c;for(c=new is(Mr(Z2b(a).a.Kc(),new ir));gs(c);){b=RD(hs(c),18);if(b.c.i.k!=(r3b(),n3b)){throw Adb(new Jed(nBe+X2b(a)+"' has its layer constraint set to FIRST, but has at least one incoming edge that "+' does not come from a FIRST_SEPARATE node. That must not happen.'))}}} + function Twd(a,b,c){var d,e,f,g,h,i,j;e=ggb(a.Db&254);if(e==0){a.Eb=c;}else {if(e==1){h=$C(jJ,rve,1,2,5,1);f=Xwd(a,b);if(f==0){h[0]=c;h[1]=a.Eb;}else {h[0]=a.Eb;h[1]=c;}}else {h=$C(jJ,rve,1,e+1,5,1);g=SD(a.Eb);for(d=2,i=0,j=0;d<=128;d<<=1){d==b?(h[j++]=c):(a.Db&d)!=0&&(h[j++]=g[i++]);}}a.Eb=h;}a.Db|=b;} + function vQb(a,b,c){var d,e,f,g;this.b=new bnb;e=0;d=0;for(g=new Anb(a);g.a0){f=RD(Vmb(this.b,0),176);e+=f.o;d+=f.p;}e*=2;d*=2;b>1?(e=eE($wnd.Math.ceil(e*b))):(d=eE($wnd.Math.ceil(d/b)));this.a=new gQb(e,d);} + function mkc(a,b,c,d,e,f){var g,h,i,j,k,l,m,n,o,p,q,r;k=d;if(b.j&&b.o){n=RD(Wjb(a.f,b.A),60);p=n.d.c+n.d.b;--k;}else {p=b.a.c+b.a.b;}l=e;if(c.q&&c.o){n=RD(Wjb(a.f,c.C),60);j=n.d.c;++l;}else {j=c.a.c;}q=j-p;i=$wnd.Math.max(2,l-k);h=q/i;o=p+h;for(m=k;m=0;g+=e?1:-1){h=b[g];i=d==(qpd(),Xod)?e?b3b(h,d):hv(b3b(h,d)):e?hv(b3b(h,d)):b3b(h,d);f&&(a.c[h.p]=i.gc());for(l=i.Kc();l.Ob();){k=RD(l.Pb(),12);a.d[k.p]=j++;}Tmb(c,i);}} + function AUc(a,b,c){var d,e,f,g,h,i,j,k;f=Kfb(UD(a.b.Kc().Pb()));j=Kfb(UD(fr(b.b)));d=ijd(ajd(a.a),j-c);e=ijd(ajd(b.a),c-f);k=$id(d,e);ijd(k,1/(j-f));this.a=k;this.b=new bnb;h=true;g=a.b.Kc();g.Pb();while(g.Ob()){i=Kfb(UD(g.Pb()));if(h&&i-c>AEe){this.b.Fc(c);h=false;}this.b.Fc(i);}h&&this.b.Fc(c);} + function mJb(a){var b,c,d,e;pJb(a,a.n);if(a.d.c.length>0){Nnb(a.c);while(xJb(a,RD(ynb(new Anb(a.e.a)),125))>5;b&=31;if(d>=a.d){return a.e<0?(Pib(),Jib):(Pib(),Oib)}f=a.d-d;e=$C(kE,Pwe,28,f+1,15,1);ujb(e,f,a.a,d,b);if(a.e<0){for(c=0;c0&&a.a[c]<<32-b!=0){for(c=0;c=0){return false}else {c=Eee((lke(),jke),e,b);if(!c){return true}else {d=c.Ik();return (d>1||d==-1)&&yfe(Qee(jke,c))!=3}}}}else {return false}} + function _4b(a,b,c,d){var e,f,g,h,i;h=AGd(RD(QHd((!b.b&&(b.b=new Yie(E4,b,4,7)),b.b),0),84));i=AGd(RD(QHd((!b.c&&(b.c=new Yie(E4,b,5,8)),b.c),0),84));if(vCd(h)==vCd(i)){return null}if(NGd(i,h)){return null}g=kzd(b);if(g==c){return d}else {f=RD(Wjb(a.a,g),10);if(f){e=f.e;if(e){return e}}}return null} + function uHc(a,b,c){var d,e,f,g,h;c.Ug('Longest path to source layering',1);a.a=b;h=a.a.a;a.b=$C(kE,Pwe,28,h.c.length,15,1);d=0;for(g=new Anb(h);g.a0){c[0]+=a.d;g-=c[0];}if(c[2]>0){c[2]+=a.d;g-=c[2];}f=$wnd.Math.max(0,g);c[1]=$wnd.Math.max(c[1],g);mKb(a,XJb,e.c+d.b+c[0]-(c[1]-g)/2,c);if(b==XJb){a.c.b=f;a.c.c=e.c+d.b+(f-g)/2;}} + function D_b(){this.c=$C(iE,vxe,28,(qpd(),cD(WC(E3,1),NAe,64,0,[opd,Yod,Xod,npd,ppd])).length,15,1);this.b=$C(iE,vxe,28,cD(WC(E3,1),NAe,64,0,[opd,Yod,Xod,npd,ppd]).length,15,1);this.a=$C(iE,vxe,28,cD(WC(E3,1),NAe,64,0,[opd,Yod,Xod,npd,ppd]).length,15,1);Lnb(this.c,oxe);Lnb(this.b,pxe);Lnb(this.a,pxe);} + function rte(a,b,c){var d,e,f,g;if(b<=c){e=b;f=c;}else {e=c;f=b;}d=0;if(a.b==null){a.b=$C(kE,Pwe,28,2,15,1);a.b[0]=e;a.b[1]=f;a.c=true;}else {d=a.b.length;if(a.b[d-1]+1==e){a.b[d-1]=f;return}g=$C(kE,Pwe,28,d+2,15,1);hib(a.b,0,g,0,d);a.b=g;a.b[d-1]>=e&&(a.c=false,a.a=false);a.b[d++]=e;a.b[d]=f;a.c||vte(a);}} + function Oqc(a,b,c){var d,e,f,g,h,i,j;j=b.d;a.a=new cnb(j.c.length);a.c=new Tsb;for(h=new Anb(j);h.a=0?a.Lh(j,false,true):Qvd(a,c,false),61));n:for(f=l.Kc();f.Ob();){e=RD(f.Pb(),58);for(k=0;k1){vLd(e,e.i-1);}}return d}} + function Vdc(a,b){var c,d,e,f,g,h,i;c=new wmb;for(f=new Anb(a.b);f.aa.d[g.p]){c+=ZLc(a.b,f);hmb(a.a,sgb(f));}}while(!nmb(a.a)){XLc(a.b,RD(smb(a.a),17).a);}}return c} + function Uec(a){var b,c,d,e,f,g,h,i,j;a.a=new e6b;j=0;e=0;for(d=new Anb(a.i.b);d.ah.d&&(k=h.d+h.a+j);}}c.c.d=k;b.a.zc(c,b);i=$wnd.Math.max(i,c.c.d+c.c.a);}return i} + function ovc(){ovc=geb;fvc=new pvc('COMMENTS',0);hvc=new pvc('EXTERNAL_PORTS',1);ivc=new pvc('HYPEREDGES',2);jvc=new pvc('HYPERNODES',3);kvc=new pvc('NON_FREE_PORTS',4);lvc=new pvc('NORTH_SOUTH_PORTS',5);nvc=new pvc(FBe,6);evc=new pvc('CENTER_LABELS',7);gvc=new pvc('END_LABELS',8);mvc=new pvc('PARTITIONS',9);} + function PA(a,b,c,d,e){if(d<0){d=EA(a,e,cD(WC(qJ,1),Nve,2,6,[Cwe,Dwe,Ewe,Fwe,Gwe,Hwe,Iwe,Jwe,Kwe,Lwe,Mwe,Nwe]),b);d<0&&(d=EA(a,e,cD(WC(qJ,1),Nve,2,6,['Jan','Feb','Mar','Apr',Gwe,'Jun','Jul','Aug','Sep','Oct','Nov','Dec']),b));if(d<0){return false}c.k=d;return true}else if(d>0){c.k=d-1;return true}return false} + function RA(a,b,c,d,e){if(d<0){d=EA(a,e,cD(WC(qJ,1),Nve,2,6,[Cwe,Dwe,Ewe,Fwe,Gwe,Hwe,Iwe,Jwe,Kwe,Lwe,Mwe,Nwe]),b);d<0&&(d=EA(a,e,cD(WC(qJ,1),Nve,2,6,['Jan','Feb','Mar','Apr',Gwe,'Jun','Jul','Aug','Sep','Oct','Nov','Dec']),b));if(d<0){return false}c.k=d;return true}else if(d>0){c.k=d-1;return true}return false} + function TA(a,b,c,d,e,f){var g,h,i,j;h=32;if(d<0){if(b[0]>=a.length){return false}h=ihb(a,b[0]);if(h!=43&&h!=45){return false}++b[0];d=HA(a,b);if(d<0){return false}h==45&&(d=-d);}if(h==32&&b[0]-c==2&&e.b==2){i=new uB;j=i.q.getFullYear()-Owe+Owe-80;g=j%100;f.a=d==g;d+=(j/100|0)*100+(d=0?jjb(a):Xib(jjb(Odb(a))));Kjb[b]=Jdb(Sdb(a,b),0)?jjb(Sdb(a,b)):Xib(jjb(Odb(Sdb(a,b))));a=Ndb(a,5);}for(;b=j&&(i=d);}!!i&&(k=$wnd.Math.max(k,i.a.o.a));if(k>m){l=j;m=k;}}return l} + function SNb(a){var b,c,d,e,f,g,h;f=new yAb(RD(Qb(new eOb),50));h=pxe;for(c=new Anb(a.d);c.aFFe?_mb(i,a.b):d<=FFe&&d>GFe?_mb(i,a.d):d<=GFe&&d>HFe?_mb(i,a.c):d<=HFe&&_mb(i,a.a);f=$5c(a,i,f);}return e} + function sTc(a,b,c,d){var e,f,g,h,i,j;e=(d.c+d.a)/2;Xub(b.j);Mub(b.j,e);Xub(c.e);Mub(c.e,e);j=new ATc;for(h=new Anb(a.f);h.a1;if(h){d=new rjd(e,c.b);Mub(b.a,d);}zjd(b.a,cD(WC(l3,1),Nve,8,0,[m,l]));} + function TGc(a,b,c){var d,e;if(b=48;c--){Eqe[c]=c-48<<24>>24;}for(d=70;d>=65;d--){Eqe[d]=d-65+10<<24>>24;}for(e=102;e>=97;e--){Eqe[e]=e-97+10<<24>>24;}for(f=0;f<10;f++)Fqe[f]=48+f&Bwe;for(a=10;a<=15;a++)Fqe[a]=65+a-10&Bwe;} + function yYc(a,b){b.Ug('Process graph bounds',1);pQb(a,(q$c(),ZZc),Uvb(TCb(HDb(new SDb(null,new Swb(a.b,16)),new DYc))));pQb(a,_Zc,Uvb(TCb(HDb(new SDb(null,new Swb(a.b,16)),new FYc))));pQb(a,YZc,Uvb(SCb(HDb(new SDb(null,new Swb(a.b,16)),new HYc))));pQb(a,$Zc,Uvb(SCb(HDb(new SDb(null,new Swb(a.b,16)),new JYc))));b.Vg();} + function PWb(a){var b,c,d,e,f;e=RD(mQb(a,(yCc(),lBc)),21);f=RD(mQb(a,oBc),21);c=new rjd(a.f.a+a.d.b+a.d.c,a.f.b+a.d.d+a.d.a);b=new sjd(c);if(e.Hc((Qpd(),Mpd))){d=RD(mQb(a,nBc),8);if(f.Hc((dqd(),Ypd))){d.a<=0&&(d.a=20);d.b<=0&&(d.b=20);}b.a=$wnd.Math.max(c.a,d.a);b.b=$wnd.Math.max(c.b,d.b);}Heb(TD(mQb(a,mBc)))||QWb(a,c,b);} + function lOc(a,b){var c,d,e,f;for(f=b3b(b,(qpd(),npd)).Kc();f.Ob();){d=RD(f.Pb(),12);c=RD(mQb(d,(Ywc(),Iwc)),10);!!c&&rIb(uIb(tIb(vIb(sIb(new wIb,0),0.1),a.i[b.p].d),a.i[c.p].a));}for(e=b3b(b,Yod).Kc();e.Ob();){d=RD(e.Pb(),12);c=RD(mQb(d,(Ywc(),Iwc)),10);!!c&&rIb(uIb(tIb(vIb(sIb(new wIb,0),0.1),a.i[c.p].d),a.i[b.p].a));}} + function oYd(a){var b,c,d,e,f,g;if(!a.c){g=new W$d;b=iYd;f=b.a.zc(a,b);if(f==null){for(d=new dMd(tYd(a));d.e!=d.i.gc();){c=RD(bMd(d),89);e=i2d(c);ZD(e,90)&&YGd(g,oYd(RD(e,29)));WGd(g,c);}b.a.Bc(a)!=null;b.a.gc()==0&&undefined;}T$d(g);VHd(g);a.c=new N$d((RD(QHd(xYd((lTd(),kTd).o),15),19),g.i),g.g);yYd(a).b&=-33;}return a.c} + function Dre(a){var b;if(a.c!=10)throw Adb(new Lqe(TId((Hde(),VIe))));b=a.a;switch(b){case 110:b=10;break;case 114:b=13;break;case 116:b=9;break;case 92:case 124:case 46:case 94:case 45:case 63:case 42:case 43:case 123:case 125:case 40:case 41:case 91:case 93:break;default:throw Adb(new Lqe(TId((Hde(),xJe))));}return b} + function GD(a){var b,c,d,e,f;if(a.l==0&&a.m==0&&a.h==0){return '0'}if(a.h==fxe&&a.m==0&&a.l==0){return '-9223372036854775808'}if(a.h>>19!=0){return '-'+GD(xD(a))}c=a;d='';while(!(c.l==0&&c.m==0&&c.h==0)){e=fD(ixe);c=iD(c,e,true);b=''+FD(eD);if(!(c.l==0&&c.m==0&&c.h==0)){f=9-b.length;for(;f>0;f--){b='0'+b;}}d=b+d;}return d} + function tkc(a){var b,c,d,e,f,g,h;b=false;c=0;for(e=new Anb(a.d.b);e.a=a.a){return -1}if(!W9b(b,c)){return -1}if(gr(RD(d.Kb(b),20))){return 1}e=0;for(g=RD(d.Kb(b),20).Kc();g.Ob();){f=RD(g.Pb(),18);i=f.c.i==b?f.d.i:f.c.i;h=X9b(a,i,c,d);if(h==-1){return -1}e=$wnd.Math.max(e,h);if(e>a.c-1){return -1}}return e+1} + function _Gd(a,b){var c,d,e,f,g,h;if(dE(b)===dE(a)){return true}if(!ZD(b,15)){return false}d=RD(b,15);h=a.gc();if(d.gc()!=h){return false}g=d.Kc();if(a.Yi()){for(c=0;c0){a._j();if(b!=null){for(f=0;f>24}case 97:case 98:case 99:case 100:case 101:case 102:{return a-97+10<<24>>24}case 65:case 66:case 67:case 68:case 69:case 70:{return a-65+10<<24>>24}default:{throw Adb(new Vgb('Invalid hexadecimal'))}}} + function iIb(){iIb=geb;hIb=new jIb('SPIRAL',0);cIb=new jIb('LINE_BY_LINE',1);dIb=new jIb('MANHATTAN',2);bIb=new jIb('JITTER',3);fIb=new jIb('QUADRANTS_LINE_BY_LINE',4);gIb=new jIb('QUADRANTS_MANHATTAN',5);eIb=new jIb('QUADRANTS_JITTER',6);aIb=new jIb('COMBINE_LINE_BY_LINE_MANHATTAN',7);_Hb=new jIb('COMBINE_JITTER_MANHATTAN',8);} + function Urc(a,b,c,d){var e,f,g,h,i,j;i=Zrc(a,c);j=Zrc(b,c);e=false;while(!!i&&!!j){if(d||Xrc(i,j,c)){g=Zrc(i,c);h=Zrc(j,c);asc(b);asc(a);f=i.c;Hec(i,false);Hec(j,false);if(c){f3b(b,j.p,f);b.p=j.p;f3b(a,i.p+1,f);a.p=i.p;}else {f3b(a,i.p,f);a.p=i.p;f3b(b,j.p+1,f);b.p=j.p;}g3b(i,null);g3b(j,null);i=g;j=h;e=true;}else {break}}return e} + function aDc(a){switch(a.g){case 0:return new XHc;case 1:return new pHc;case 3:return new GGc;case 4:return new gHc;case 5:return new jIc;case 6:return new IHc;case 2:return new xHc;case 7:return new pGc;case 8:return new YGc;default:throw Adb(new agb('No implementation is available for the layerer '+(a.f!=null?a.f:''+a.g)));}} + function tIc(a,b,c,d){var e,f,g,h,i;e=false;f=false;for(h=new Anb(d.j);h.a=b.length){throw Adb(new veb('Greedy SwitchDecider: Free layer not in graph.'))}this.c=b[a];this.e=new DMc(d);rMc(this.e,this.c,(qpd(),ppd));this.i=new DMc(d);rMc(this.i,this.c,Xod);this.f=new Kmc(this.c);this.a=!f&&e.i&&!e.s&&this.c[0].k==(r3b(),m3b);this.a&&Nmc(this,a,b.length);} + function $Mb(a,b){var c,d,e,f,g,h;f=!a.B.Hc((dqd(),Wpd));g=a.B.Hc(Zpd);a.a=new wKb(g,f,a.c);!!a.n&&C2b(a.a.n,a.n);cLb(a.g,(ZJb(),XJb),a.a);if(!b){d=new dLb(1,f,a.c);d.n.a=a.k;Wrb(a.p,(qpd(),Yod),d);e=new dLb(1,f,a.c);e.n.d=a.k;Wrb(a.p,npd,e);h=new dLb(0,f,a.c);h.n.c=a.k;Wrb(a.p,ppd,h);c=new dLb(0,f,a.c);c.n.b=a.k;Wrb(a.p,Xod,c);}} + function zkc(a){var b,c,d;b=RD(mQb(a.d,(yCc(),yAc)),223);switch(b.g){case 2:c=rkc(a);break;case 3:c=(d=new bnb,FDb(CDb(GDb(EDb(EDb(new SDb(null,new Swb(a.d.b,16)),new wlc),new ylc),new Alc),new Kkc),new Clc(d)),d);break;default:throw Adb(new dgb('Compaction not supported for '+b+' edges.'));}ykc(a,c);xgb(new Xkb(a.g),new ilc(a));} + function qYc(a,b){var c,d,e,f,g,h,i;b.Ug('Process directions',1);c=RD(mQb(a,(h_c(),H$c)),88);if(c!=(Cmd(),xmd)){for(e=Sub(a.b,0);e.b!=e.d.c;){d=RD(evb(e),40);h=RD(mQb(d,(q$c(),o$c)),17).a;i=RD(mQb(d,p$c),17).a;switch(c.g){case 4:i*=-1;break;case 1:f=h;h=i;i=f;break;case 2:g=h;h=-i;i=g;}pQb(d,o$c,sgb(h));pQb(d,p$c,sgb(i));}}b.Vg();} + function led(a,b){var c;c=new qQb;!!b&&kQb(c,RD(Wjb(a.a,H4),96));ZD(b,422)&&kQb(c,RD(Wjb(a.a,L4),96));if(ZD(b,366)){kQb(c,RD(Wjb(a.a,I4),96));return c}ZD(b,84)&&kQb(c,RD(Wjb(a.a,E4),96));if(ZD(b,207)){kQb(c,RD(Wjb(a.a,J4),96));return c}if(ZD(b,193)){kQb(c,RD(Wjb(a.a,K4),96));return c}ZD(b,326)&&kQb(c,RD(Wjb(a.a,G4),96));return c} + function a_b(a){var b,c,d,e,f,g,h,i;i=new m_b;for(h=new Anb(a.a);h.a0&&b=0){return false}else {b.p=c.b;Rmb(c.e,b);}if(e==(r3b(),o3b)||e==q3b){for(g=new Anb(b.j);g.aa.d[h.p]){c+=ZLc(a.b,f);hmb(a.a,sgb(f));}}else {++g;}}c+=a.b.d*g;while(!nmb(a.a)){XLc(a.b,RD(smb(a.a),17).a);}}return c} + function pje(a){var b,c,d,e,f,g;f=0;b=WVd(a);!!b.kk()&&(f|=4);(a.Bb&bKe)!=0&&(f|=2);if(ZD(a,102)){c=RD(a,19);e=Z5d(c);(c.Bb&QHe)!=0&&(f|=32);if(e){AYd(uWd(e));f|=8;g=e.t;(g>1||g==-1)&&(f|=16);(e.Bb&QHe)!=0&&(f|=64);}(c.Bb&txe)!=0&&(f|=cKe);f|=gwe;}else {if(ZD(b,469)){f|=512;}else {d=b.kk();!!d&&(d.i&1)!=0&&(f|=256);}}(a.Bb&512)!=0&&(f|=128);return f} + function vke(a,b){var c;if(a.f==tke){c=yfe(Qee((lke(),jke),b));return a.e?c==4&&b!=(Lle(),Jle)&&b!=(Lle(),Gle)&&b!=(Lle(),Hle)&&b!=(Lle(),Ile):c==2}if(!!a.d&&(a.d.Hc(b)||a.d.Hc(zfe(Qee((lke(),jke),b)))||a.d.Hc(Eee((lke(),jke),a.b,b)))){return true}if(a.f){if(Xee((lke(),a.f),Bfe(Qee(jke,b)))){c=yfe(Qee(jke,b));return a.e?c==4:c==2}}return false} + function oKc(a){var b,c,d,e,f,g,h,i,j,k,l,m,n;m=-1;n=0;for(j=a,k=0,l=j.length;k0&&++n;}}}++m;}return n} + function S2c(a,b,c,d){var e,f,g,h,i,j,k,l;g=RD(Gxd(c,(umd(),Qld)),8);i=g.a;k=g.b+a;e=$wnd.Math.atan2(k,i);e<0&&(e+=dFe);e+=b;e>dFe&&(e-=dFe);h=RD(Gxd(d,Qld),8);j=h.a;l=h.b+a;f=$wnd.Math.atan2(l,j);f<0&&(f+=dFe);f+=b;f>dFe&&(f-=dFe);return Zy(),bz(1.0E-10),$wnd.Math.abs(e-f)<=1.0E-10||e==f||isNaN(e)&&isNaN(f)?0:ef?1:cz(isNaN(e),isNaN(f))} + function PGb(a){var b,c,d,e,f,g,h;h=new Tsb;for(d=new Anb(a.a.b);d.a=b.o){throw Adb(new web)}i=c>>5;h=c&31;g=Sdb(1,Ydb(Sdb(h,1)));f?(b.n[d][i]=Rdb(b.n[d][i],g)):(b.n[d][i]=Cdb(b.n[d][i],Qdb(g)));g=Sdb(g,1);e?(b.n[d][i]=Rdb(b.n[d][i],g)):(b.n[d][i]=Cdb(b.n[d][i],Qdb(g)));}catch(a){a=zdb(a);if(ZD(a,333)){throw Adb(new veb(fze+b.o+'*'+b.p+gze+c+pve+d+hze))}else throw Adb(a)}} + function eMc(a,b,c,d){var e,f,g,h,i,j,k,l,m;m=new yAb(new PMc(a));for(h=cD(WC(jR,1),WAe,10,0,[b,c]),i=0,j=h.length;i0){d=(!a.n&&(a.n=new C5d(I4,a,1,7)),RD(QHd(a.n,0),135)).a;!d||Zhb(Zhb((b.a+=' "',b),d),'"');}}else {Zhb(Zhb((b.a+=' "',b),c),'"');}Zhb(Uhb(Zhb(Uhb(Zhb(Uhb(Zhb(Uhb((b.a+=' (',b),a.i),','),a.j),' | '),a.g),','),a.f),')');return b.a} + function OCd(a){var b,c,d;if((a.Db&64)!=0)return Fyd(a);b=new dib(HHe);c=a.k;if(!c){!a.n&&(a.n=new C5d(I4,a,1,7));if(a.n.i>0){d=(!a.n&&(a.n=new C5d(I4,a,1,7)),RD(QHd(a.n,0),135)).a;!d||Zhb(Zhb((b.a+=' "',b),d),'"');}}else {Zhb(Zhb((b.a+=' "',b),c),'"');}Zhb(Uhb(Zhb(Uhb(Zhb(Uhb(Zhb(Uhb((b.a+=' (',b),a.i),','),a.j),' | '),a.g),','),a.f),')');return b.a} + function Xnc(a,b){var c,d,e,f,g;b==(TEc(),QEc)&&Eob(RD(Qc(a.a,(Bnc(),xnc)),15));for(e=RD(Qc(a.a,(Bnc(),xnc)),15).Kc();e.Ob();){d=RD(e.Pb(),105);c=RD(Vmb(d.j,0),113).d.j;f=new dnb(d.j);_mb(f,new Boc);switch(b.g){case 2:Pnc(a,f,c,(joc(),hoc),1);break;case 1:case 0:g=Rnc(f);Pnc(a,new Rkb(f,0,g),c,(joc(),hoc),0);Pnc(a,new Rkb(f,g,f.c.length),c,hoc,1);}}} + function sgd(a,b){var c,d,e,f,g,h,i;if(b==null||b.length==0){return null}e=RD(Xjb(a.a,b),143);if(!e){for(d=(h=(new glb(a.b)).a.vc().Kc(),new llb(h));d.a.Ob();){c=(f=RD(d.a.Pb(),44),RD(f.md(),143));g=c.c;i=b.length;if(lhb(g.substr(g.length-i,i),b)&&(b.length==g.length||ihb(g,g.length-b.length-1)==46)){if(e){return null}e=c;}}!!e&&$jb(a.a,b,e);}return e} + function HOb(a,b){var c,d,e,f;c=new MOb;d=RD(zDb(GDb(new SDb(null,new Swb(a.f,16)),c),sBb(new _Bb,new bCb,new yCb,new ACb,cD(WC(QL,1),jwe,108,0,[(xBb(),wBb),vBb]))),21);e=d.gc();d=RD(zDb(GDb(new SDb(null,new Swb(b.f,16)),c),sBb(new _Bb,new bCb,new yCb,new ACb,cD(WC(QL,1),jwe,108,0,[wBb,vBb]))),21);f=d.gc();if(ee.p){Q3b(f,npd);if(f.d){h=f.o.b;b=f.a.b;f.a.b=h-b;}}else if(f.j==npd&&e.p>a.p){Q3b(f,Yod);if(f.d){h=f.o.b;b=f.a.b;f.a.b=-(h-b);}}break}}return e} + function nTb(a,b,c,d,e){var f,g,h,i,j,k,l;if(!(ZD(b,207)||ZD(b,366)||ZD(b,193))){throw Adb(new agb('Method only works for ElkNode-, ElkLabel and ElkPort-objects.'))}g=a.a/2;i=b.i+d-g;k=b.j+e-g;j=i+b.g+a.a;l=k+b.f+a.a;f=new Ejd;Mub(f,new rjd(i,k));Mub(f,new rjd(i,l));Mub(f,new rjd(j,l));Mub(f,new rjd(j,k));h=new ORb(f);kQb(h,b);c&&Zjb(a.b,b,h);return h} + function w$b(a,b,c){var d,e,f,g,h,i,j,k,l,m;f=new rjd(b,c);for(k=new Anb(a.a);k.a1;if(h){d=new rjd(e,c.b);Mub(b.a,d);}zjd(b.a,cD(WC(l3,1),Nve,8,0,[m,l]));} + function aEc(){aEc=geb;$Dc=new bEc(LAe,0);VDc=new bEc('NIKOLOV',1);YDc=new bEc('NIKOLOV_PIXEL',2);WDc=new bEc('NIKOLOV_IMPROVED',3);XDc=new bEc('NIKOLOV_IMPROVED_PIXEL',4);SDc=new bEc('DUMMYNODE_PERCENTAGE',5);ZDc=new bEc('NODECOUNT_PERCENTAGE',6);_Dc=new bEc('NO_BOUNDARY',7);TDc=new bEc('MODEL_ORDER_LEFT_TO_RIGHT',8);UDc=new bEc('MODEL_ORDER_RIGHT_TO_LEFT',9);} + function use(a){var b,c,d,e,f;d=a.length;b=new Rhb;f=0;while(f=40;g&&wJb(a);nJb(a);mJb(a);c=qJb(a);d=0;while(!!c&&d0&&Mub(a.f,f);}else {a.c[g]-=j+1;a.c[g]<=0&&a.a[g]>0&&Mub(a.e,f);}}}}} + function FVc(a,b,c,d){var e,f,g,h,i,j,k;i=new rjd(c,d);ojd(i,RD(mQb(b,(q$c(),SZc)),8));for(k=Sub(b.b,0);k.b!=k.d.c;){j=RD(evb(k),40);$id(j.e,i);Mub(a.b,j);}for(h=RD(zDb(BDb(new SDb(null,new Swb(b.a,16))),tBb(new ZBb,new XBb,new wCb,cD(WC(QL,1),jwe,108,0,[(xBb(),vBb)]))),15).Kc();h.Ob();){g=RD(h.Pb(),65);for(f=Sub(g.a,0);f.b!=f.d.c;){e=RD(evb(f),8);e.a+=i.a;e.b+=i.b;}Mub(a.a,g);}} + function kWc(a,b){var c,d,e,f;if(0<(ZD(a,16)?RD(a,16).gc():Kr(a.Kc()))){e=b;if(1=0&&if*2){k=new zrd(l);j=urd(g)/trd(g);i=ird(k,b,new z3b,c,d,e,j);$id(hjd(k.e),i);l.c.length=0;f=0;ZEb(l.c,k);ZEb(l.c,g);f=urd(k)*trd(k)+urd(g)*trd(g);}else {ZEb(l.c,g);f+=urd(g)*trd(g);}}return l} + function O9b(a,b){var c,d,e,f,g,h;h=RD(mQb(b,(yCc(),BBc)),101);if(!(h==(Bod(),xod)||h==wod)){return}e=(new rjd(b.f.a+b.d.b+b.d.c,b.f.b+b.d.d+b.d.a)).b;for(g=new Anb(a.a);g.ac?b:c;j<=l;++j){if(j==c){h=d++;}else {f=e[j];k=o.am(f.Lk());j==b&&(i=j==l&&!k?d-1:d);k&&++d;}}m=RD(uLd(a,b,c),76);h!=i&&eZd(a,new c4d(a.e,7,g,sgb(h),n.md(),i));return m}}}else {return RD(SHd(a,b,c),76)}return RD(uLd(a,b,c),76)} + function ugc(a,b){var c,d,e,f,g,h,i;b.Ug('Port order processing',1);i=RD(mQb(a,(yCc(),HBc)),430);for(d=new Anb(a.b);d.a=0){h=rD(a,g);if(h){j<22?(i.l|=1<>>1;g.m=k>>>1|(l&1)<<21;g.l=m>>>1|(k&1)<<21;--j;}c&&nD(i);if(f){if(d){eD=xD(a);e&&(eD=DD(eD,(MD(),KD)));}else {eD=hD(a.l,a.m,a.h);}}return i} + function rIc(a,b){var c,d,e,f,g,h,i,j,k,l;j=a.e[b.c.p][b.p]+1;i=b.c.a.c.length+1;for(h=new Anb(a.a);h.a0&&(BFb(0,a.length),a.charCodeAt(0)==45||(BFb(0,a.length),a.charCodeAt(0)==43))?1:0;for(d=g;dc){throw Adb(new Vgb(nxe+a+'"'))}return h} + function Jqc(a){var b,c,d,e,f,g,h;g=new Yub;for(f=new Anb(a.a);f.a1)&&b==1&&RD(a.a[a.b],10).k==(r3b(),n3b)){Qdc(RD(a.a[a.b],10),(Pnd(),Lnd));}else if(d&&(!c||(a.c-a.b&a.a.length-1)>1)&&b==1&&RD(a.a[a.c-1&a.a.length-1],10).k==(r3b(),n3b)){Qdc(RD(a.a[a.c-1&a.a.length-1],10),(Pnd(),Mnd));}else if((a.c-a.b&a.a.length-1)==2){Qdc(RD(omb(a),10),(Pnd(),Lnd));Qdc(RD(omb(a),10),Mnd);}else {Ndc(a,e);}jmb(a);} + function QVc(a,b,c){var d,e,f,g,h;f=0;for(e=new dMd((!a.a&&(a.a=new C5d(J4,a,10,11)),a.a));e.e!=e.i.gc();){d=RD(bMd(e),27);g='';(!d.n&&(d.n=new C5d(I4,d,1,7)),d.n).i==0||(g=RD(QHd((!d.n&&(d.n=new C5d(I4,d,1,7)),d.n),0),135).a);h=new bXc(f++,b,g);kQb(h,d);pQb(h,(q$c(),h$c),d);h.e.b=d.j+d.f/2;h.f.a=$wnd.Math.max(d.g,1);h.e.a=d.i+d.g/2;h.f.b=$wnd.Math.max(d.f,1);Mub(b.b,h);rtb(c.f,d,h);}} + function L5b(a){var b,c,d,e,f;d=RD(mQb(a,(Ywc(),Awc)),27);f=RD(Gxd(d,(yCc(),lBc)),181).Hc((Qpd(),Ppd));if(!a.e){e=RD(mQb(a,kwc),21);b=new rjd(a.f.a+a.d.b+a.d.c,a.f.b+a.d.d+a.d.a);if(e.Hc((ovc(),hvc))){Ixd(d,BBc,(Bod(),wod));Esd(d,b.a,b.b,false,true);}else {Heb(TD(Gxd(d,mBc)))||Esd(d,b.a,b.b,true,true);}}f?Ixd(d,lBc,xsb(Ppd)):Ixd(d,lBc,(c=RD(mfb(H3),9),new Fsb(c,RD(WEb(c,c.length),9),0)));} + function JA(a,b,c){var d,e,f,g;if(b[0]>=a.length){c.o=0;return true}switch(ihb(a,b[0])){case 43:e=1;break;case 45:e=-1;break;default:c.o=0;return true;}++b[0];f=b[0];g=HA(a,b);if(g==0&&b[0]==f){return false}if(b[0]h){h=e;k.c.length=0;}e==h&&Rmb(k,new Ptd(c.c.i,c));}yob();_mb(k,a.c);Qmb(a.b,i.p,k);}}} + function kRc(a,b){var c,d,e,f,g,h,i,j,k;for(g=new Anb(b.b);g.ah){h=e;k.c.length=0;}e==h&&Rmb(k,new Ptd(c.d.i,c));}yob();_mb(k,a.c);Qmb(a.f,i.p,k);}}} + function HVc(a,b){var c,d,e,f,g,h,i,j;j=TD(mQb(b,(h_c(),Z$c)));if(j==null||(uFb(j),j)){EVc(a,b);e=new bnb;for(i=Sub(b.b,0);i.b!=i.d.c;){g=RD(evb(i),40);c=DVc(a,g,null);if(c){kQb(c,b);ZEb(e.c,c);}}a.a=null;a.b=null;if(e.c.length>1){for(d=new Anb(e);d.a=0&&h!=c){f=new N3d(a,1,h,g,null);!d?(d=f):d.nj(f);}if(c>=0){f=new N3d(a,1,c,h==c?g:null,b);!d?(d=f):d.nj(f);}}return d} + function jSd(a){var b,c,d;if(a.b==null){d=new Qhb;if(a.i!=null){Nhb(d,a.i);d.a+=':';}if((a.f&256)!=0){if((a.f&256)!=0&&a.a!=null){wSd(a.i)||(d.a+='//',d);Nhb(d,a.a);}if(a.d!=null){d.a+='/';Nhb(d,a.d);}(a.f&16)!=0&&(d.a+='/',d);for(b=0,c=a.j.length;bm){return false}l=(i=S9c(d,m,false),i.a);if(k+h+l<=b.b){Q9c(c,f-c.s);c.c=true;Q9c(d,f-c.s);U9c(d,c.s,c.t+c.d+h);d.k=true;aad(c.q,d);n=true;if(e){Cad(b,d);d.j=b;if(a.c.length>g){Fad((tFb(g,a.c.length),RD(a.c[g],186)),d);(tFb(g,a.c.length),RD(a.c[g],186)).a.c.length==0&&Xmb(a,g);}}}return n} + function Qfc(a,b){var c,d,e,f,g,h;b.Ug('Partition midprocessing',1);e=new Tp;FDb(CDb(new SDb(null,new Swb(a.a,16)),new Ufc),new Wfc(e));if(e.d==0){return}h=RD(zDb(ODb((f=e.i,new SDb(null,(!f?(e.i=new zf(e,e.c)):f).Nc()))),tBb(new ZBb,new XBb,new wCb,cD(WC(QL,1),jwe,108,0,[(xBb(),vBb)]))),15);d=h.Kc();c=RD(d.Pb(),17);while(d.Ob()){g=RD(d.Pb(),17);Pfc(RD(Qc(e,c),21),RD(Qc(e,g),21));c=g;}b.Vg();} + function G_b(a,b,c){var d,e,f,g,h,i,j,k;if(b.p==0){b.p=1;g=c;if(!g){e=new bnb;f=(d=RD(mfb(E3),9),new Fsb(d,RD(WEb(d,d.length),9),0));g=new Ptd(e,f);}RD(g.a,15).Fc(b);b.k==(r3b(),m3b)&&RD(g.b,21).Fc(RD(mQb(b,(Ywc(),hwc)),64));for(i=new Anb(b.j);i.a0){e=RD(a.Ab.g,2033);if(b==null){for(f=0;fc.s&&hg){return qpd(),Xod}break;case 4:case 3:if(k<0){return qpd(),Yod}else if(k+c>f){return qpd(),npd}}i=(j+h/2)/g;d=(k+c/2)/f;return i+d<=1&&i-d<=0?(qpd(),ppd):i+d>=1&&i-d>=0?(qpd(),Xod):d<0.5?(qpd(),Yod):(qpd(),npd)} + function PNc(a,b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p;c=false;k=Kfb(UD(mQb(b,(yCc(),bCc))));o=pwe*k;for(e=new Anb(b.b);e.ai+o){p=l.g+m.g;m.a=(m.g*m.a+l.g*l.a)/p;m.g=p;l.f=m;c=true;}}f=h;l=m;}}return c} + function MJb(a,b,c,d,e,f,g){var h,i,j,k,l,m;m=new Tid;for(j=b.Kc();j.Ob();){h=RD(j.Pb(),853);for(l=new Anb(h.Rf());l.a0){if(h.a){j=h.b.Mf().b;if(e>j){if(a.v||h.c.d.c.length==1){g=(e-j)/2;h.d.d=g;h.d.a=g;}else {c=RD(Vmb(h.c.d,0),187).Mf().b;d=(c-j)/2;h.d.d=$wnd.Math.max(0,d);h.d.a=e-d-j;}}}else {h.d.a=a.t+e;}}else if(Rod(a.u)){f=wsd(h.b);f.d<0&&(h.d.d=-f.d);f.d+f.a>h.b.Mf().b&&(h.d.a=f.d+f.a-h.b.Mf().b);}}} + function yVb(){yVb=geb;lVb=new mGd((umd(),Rld),sgb(1));rVb=new mGd(fmd,80);qVb=new mGd($ld,5);ZUb=new mGd(Dkd,Yze);mVb=new mGd(Sld,sgb(1));pVb=new mGd(Vld,(Geb(),true));iVb=new A3b(50);hVb=new mGd(tld,iVb);_Ub=ald;jVb=Hld;$Ub=new mGd(Pkd,false);gVb=sld;eVb=mld;fVb=pld;dVb=kld;cVb=ild;kVb=Lld;bVb=(OUb(),HUb);sVb=MUb;aVb=GUb;nVb=JUb;oVb=LUb;vVb=mmd;xVb=qmd;uVb=lmd;tVb=kmd;wVb=(mqd(),jqd);new mGd(nmd,wVb);} + function VC(a,b){var c;switch(XC(a)){case 6:return bE(b);case 7:return _D(b);case 8:return $D(b);case 3:return Array.isArray(b)&&(c=XC(b),!(c>=14&&c<=16));case 11:return b!=null&&typeof b===kve;case 12:return b!=null&&(typeof b===gve||typeof b==kve);case 0:return QD(b,a.__elementTypeId$);case 2:return cE(b)&&!(b.Tm===keb);case 1:return cE(b)&&!(b.Tm===keb)||QD(b,a.__elementTypeId$);default:return true;}} + function gNb(a){var b,c,d,e;d=a.o;RMb();if(a.A.dc()||pb(a.A,QMb)){e=d.a;}else {a.D?(e=$wnd.Math.max(d.a,ZKb(a.f))):(e=ZKb(a.f));if(a.A.Hc((Qpd(),Npd))&&!a.B.Hc((dqd(),_pd))){e=$wnd.Math.max(e,ZKb(RD(Vrb(a.p,(qpd(),Yod)),252)));e=$wnd.Math.max(e,ZKb(RD(Vrb(a.p,npd),252)));}b=TMb(a);!!b&&(e=$wnd.Math.max(e,b.a));}Heb(TD(a.e.Tf().of((umd(),mld))))?(d.a=$wnd.Math.max(d.a,e)):(d.a=e);c=a.f.i;c.c=0;c.b=e;$Kb(a.f);} + function oRb(a,b){var c,d,e,f;d=$wnd.Math.min($wnd.Math.abs(a.c-(b.c+b.b)),$wnd.Math.abs(a.c+a.b-b.c));f=$wnd.Math.min($wnd.Math.abs(a.d-(b.d+b.a)),$wnd.Math.abs(a.d+a.a-b.d));c=$wnd.Math.abs(a.c+a.b/2-(b.c+b.b/2));if(c>a.b/2+b.b/2){return 1}e=$wnd.Math.abs(a.d+a.a/2-(b.d+b.a/2));if(e>a.a/2+b.a/2){return 1}if(c==0&&e==0){return 0}if(c==0){return f/e+1}if(e==0){return d/c+1}return $wnd.Math.min(d/c,f/e)+1} + function oWb(a,b){var c,d,e,f,g,h,i;f=0;h=0;i=0;for(e=new Anb(a.f.e);e.a0&&a.d!=(AWb(),zWb)&&(h+=g*(d.d.a+a.a[b.a][d.a]*(b.d.a-d.d.a)/c));c>0&&a.d!=(AWb(),xWb)&&(i+=g*(d.d.b+a.a[b.a][d.a]*(b.d.b-d.d.b)/c));}switch(a.d.g){case 1:return new rjd(h/f,b.d.b);case 2:return new rjd(b.d.a,i/f);default:return new rjd(h/f,i/f);}} + function xsd(a){var b,c,d,e,f,g;c=(!a.a&&(a.a=new XZd(D4,a,5)),a.a).i+2;g=new cnb(c);Rmb(g,new rjd(a.j,a.k));FDb(new SDb(null,(!a.a&&(a.a=new XZd(D4,a,5)),new Swb(a.a,16))),new Usd(g));Rmb(g,new rjd(a.b,a.c));b=1;while(b0){aHb(i,false,(Cmd(),ymd));aHb(i,true,zmd);}Umb(b.g,new Elc(a,c));Zjb(a.g,b,c);} + function Ugb(){Ugb=geb;var a;Qgb=cD(WC(kE,1),Pwe,28,15,[-1,-1,30,19,15,13,11,11,10,9,9,8,8,8,8,7,7,7,7,7,7,7,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5]);Rgb=$C(kE,Pwe,28,37,15,1);Sgb=cD(WC(kE,1),Pwe,28,15,[-1,-1,63,40,32,28,25,23,21,20,19,19,18,18,17,17,16,16,16,15,15,15,15,14,14,14,14,14,14,13,13,13,13,13,13,13,13]);Tgb=$C(lE,rxe,28,37,14,1);for(a=2;a<=36;a++){Rgb[a]=eE($wnd.Math.pow(a,Qgb[a]));Tgb[a]=Fdb(Sve,Rgb[a]);}} + function tsd(a){var b;if((!a.a&&(a.a=new C5d(F4,a,6,6)),a.a).i!=1){throw Adb(new agb(tHe+(!a.a&&(a.a=new C5d(F4,a,6,6)),a.a).i))}b=new Ejd;!!BGd(RD(QHd((!a.b&&(a.b=new Yie(E4,a,4,7)),a.b),0),84))&&ye(b,usd(a,BGd(RD(QHd((!a.b&&(a.b=new Yie(E4,a,4,7)),a.b),0),84)),false));!!BGd(RD(QHd((!a.c&&(a.c=new Yie(E4,a,5,8)),a.c),0),84))&&ye(b,usd(a,BGd(RD(QHd((!a.c&&(a.c=new Yie(E4,a,5,8)),a.c),0),84)),true));return b} + function zRc(a,b){var c,d,e,f,g;b.d?(e=a.a.c==(wQc(),vQc)?Z2b(b.b):a3b(b.b)):(e=a.a.c==(wQc(),uQc)?Z2b(b.b):a3b(b.b));f=false;for(d=new is(Mr(e.a.Kc(),new ir));gs(d);){c=RD(hs(d),18);g=Heb(a.a.f[a.a.g[b.b.p].p]);if(!g&&!W0b(c)&&c.c.i.c==c.d.i.c){continue}if(Heb(a.a.n[a.a.g[b.b.p].p])||Heb(a.a.n[a.a.g[b.b.p].p])){continue}f=true;if(Zsb(a.b,a.a.g[rRc(c,b.b).p])){b.c=true;b.a=c;return b}}b.c=f;b.a=null;return b} + function QJd(a,b,c){var d,e,f,g,h,i,j;d=c.gc();if(d==0){return false}else {if(a.Pj()){i=a.Qj();ZId(a,b,c);g=d==1?a.Ij(3,null,c.Kc().Pb(),b,i):a.Ij(5,null,c,b,i);if(a.Mj()){h=d<100?null:new gLd(d);f=b+d;for(e=b;e0){for(g=0;g>16==-15&&a.Cb.Yh()&&pKd(new O3d(a.Cb,9,13,c,a.c,fZd(o4d(RD(a.Cb,62)),a)));}else if(ZD(a.Cb,90)){if(a.Db>>16==-23&&a.Cb.Yh()){b=a.c;ZD(b,90)||(b=(JTd(),zTd));ZD(c,90)||(c=(JTd(),zTd));pKd(new O3d(a.Cb,9,10,c,b,fZd(tYd(RD(a.Cb,29)),a)));}}}}return a.c} + function lac(a,b,c){var d,e,f,g,h,i,j,k,l;c.Ug('Hyperedge merging',1);jac(a,b);i=new Jkb(b.b,0);while(i.b0;h=oIb(b,f);c?FIb(h.b,b):FIb(h.g,b);CIb(h).c.length==1&&(Pub(d,h,d.c.b,d.c),true);e=new Ptd(f,b);hmb(a.o,e);Ymb(a.e.a,f);}} + function SQb(a,b){var c,d,e,f,g,h,i;d=$wnd.Math.abs(Oid(a.b).a-Oid(b.b).a);h=$wnd.Math.abs(Oid(a.b).b-Oid(b.b).b);e=0;i=0;c=1;g=1;if(d>a.b.b/2+b.b.b/2){e=$wnd.Math.min($wnd.Math.abs(a.b.c-(b.b.c+b.b.b)),$wnd.Math.abs(a.b.c+a.b.b-b.b.c));c=1-e/d;}if(h>a.b.a/2+b.b.a/2){i=$wnd.Math.min($wnd.Math.abs(a.b.d-(b.b.d+b.b.a)),$wnd.Math.abs(a.b.d+a.b.a-b.b.d));g=1-i/h;}f=$wnd.Math.min(c,g);return (1-f)*$wnd.Math.sqrt(d*d+h*h)} + function LUc(a){var b,c,d,e;NUc(a,a.e,a.f,(dVc(),bVc),true,a.c,a.i);NUc(a,a.e,a.f,bVc,false,a.c,a.i);NUc(a,a.e,a.f,cVc,true,a.c,a.i);NUc(a,a.e,a.f,cVc,false,a.c,a.i);MUc(a,a.c,a.e,a.f,a.i);d=new Jkb(a.i,0);while(d.b=65;c--){xqe[c]=c-65<<24>>24;}for(d=122;d>=97;d--){xqe[d]=d-97+26<<24>>24;}for(e=57;e>=48;e--){xqe[e]=e-48+52<<24>>24;}xqe[43]=62;xqe[47]=63;for(f=0;f<=25;f++)yqe[f]=65+f&Bwe;for(g=26,i=0;g<=51;++g,i++)yqe[g]=97+i&Bwe;for(a=52,h=0;a<=61;++a,h++)yqe[a]=48+h&Bwe;yqe[62]=43;yqe[63]=47;} + function uib(a,b){var c,d,e,f,g,h;e=xib(a);h=xib(b);if(e==h){if(a.e==b.e&&a.a<54&&b.a<54){return a.fb.f?1:0}d=a.e-b.e;c=(a.d>0?a.d:$wnd.Math.floor((a.a-1)*xxe)+1)-(b.d>0?b.d:$wnd.Math.floor((b.a-1)*xxe)+1);if(c>d+1){return e}else if(c0&&(g=Wib(g,Sjb(d)));return Qib(f,g)}}else return ej){m=0;n+=i+b;i=0;}w$b(g,m,n);c=$wnd.Math.max(c,m+k.a);i=$wnd.Math.max(i,k.b);m+=k.a+b;}return new rjd(c+b,n+i+b)} + function osd(a,b){var c,d,e,f,g,h,i;if(!MCd(a)){throw Adb(new dgb(sHe))}d=MCd(a);f=d.g;e=d.f;if(f<=0&&e<=0){return qpd(),opd}h=a.i;i=a.j;switch(b.g){case 2:case 1:if(h<0){return qpd(),ppd}else if(h+a.g>f){return qpd(),Xod}break;case 4:case 3:if(i<0){return qpd(),Yod}else if(i+a.f>e){return qpd(),npd}}g=(h+a.g/2)/f;c=(i+a.f/2)/e;return g+c<=1&&g-c<=0?(qpd(),ppd):g+c>=1&&g-c>=0?(qpd(),Xod):c<0.5?(qpd(),Yod):(qpd(),npd)} + function Djb(a,b,c,d,e){var f,g;f=Bdb(Cdb(b[0],yxe),Cdb(d[0],yxe));a[0]=Ydb(f);f=Tdb(f,32);if(c>=e){for(g=1;g0){e.b[g++]=0;e.b[g++]=f.b[0]-1;}for(b=1;b0){PSc(i,i.d-e.d);e.c==(fTc(),dTc)&&NSc(i,i.a-e.d);i.d<=0&&i.i>0&&(Pub(b,i,b.c.b,b.c),true);}}}for(f=new Anb(a.f);f.a0){QSc(h,h.i-e.d);e.c==(fTc(),dTc)&&OSc(h,h.b-e.d);h.i<=0&&h.d>0&&(Pub(c,h,c.c.b,c.c),true);}}}} + function drd(a,b,c,d,e){var f,g,h,i,j,k,l,m,n;yob();_mb(a,new Mrd);g=gv(a);n=new bnb;m=new bnb;h=null;i=0;while(g.b!=0){f=RD(g.b==0?null:(sFb(g.b!=0),Wub(g,g.a.a)),163);if(!h||urd(h)*trd(h)/21&&(i>urd(h)*trd(h)/2||g.b==0)){l=new zrd(m);k=urd(h)/trd(h);j=ird(l,b,new z3b,c,d,e,k);$id(hjd(l.e),j);h=l;ZEb(n.c,l);i=0;m.c.length=0;}}}Tmb(n,m);return n} + function hib(a,b,c,d,e){gib();var f,g,h,i,j,k,l;vFb(a,'src');vFb(c,'dest');l=rb(a);i=rb(c);qFb((l.i&4)!=0,'srcType is not an array');qFb((i.i&4)!=0,'destType is not an array');k=l.c;g=i.c;qFb((k.i&1)!=0?k==g:(g.i&1)==0,"Array types don't match");iib(a,b,c,d,e);if((k.i&1)==0&&l!=i){j=SD(a);f=SD(c);if(dE(a)===dE(c)&&bd;){bD(f,h,j[--b]);}}else {for(h=d+e;d0);d.a.Xb(d.c=--d.b);l>m+i&&Ckb(d);}for(g=new Anb(n);g.a0);d.a.Xb(d.c=--d.b);}}}} + function gte(){Vse();var a,b,c,d,e,f;if(Fse)return Fse;a=(new xte(4));ute(a,hte(WLe,true));wte(a,hte('M',true));wte(a,hte('C',true));f=(new xte(4));for(d=0;d<11;d++){rte(f,d,d);}b=(new xte(4));ute(b,hte('M',true));rte(b,4448,4607);rte(b,65438,65439);e=(new iue(2));hue(e,a);hue(e,Ese);c=(new iue(2));c.Jm($se(f,hte('L',true)));c.Jm(b);c=(new Kte(3,c));c=(new Qte(e,c));Fse=c;return Fse} + function vhb(a,b){var c,d,e,f,g,h,i,j;c=new RegExp(b,'g');i=$C(qJ,Nve,2,0,6,1);d=0;j=a;f=null;while(true){h=c.exec(j);if(h==null||j==''){i[d]=j;break}else {g=h.index;i[d]=(AFb(0,g,j.length),j.substr(0,g));j=zhb(j,g+h[0].length,j.length);c.lastIndex=0;if(f==j){i[d]=(AFb(0,1,j.length),j.substr(0,1));j=(BFb(1,j.length+1),j.substr(1));}f=j;++d;}}if(a.length>0){e=i.length;while(e>0&&i[e-1]==''){--e;}e0){l-=d[0]+a.c;d[0]+=a.c;}d[2]>0&&(l-=d[2]+a.c);d[1]=$wnd.Math.max(d[1],l);dKb(a.a[1],c.c+b.b+d[0]-(d[1]-l)/2,d[1]);}for(f=a.a,h=0,j=f.length;h0?(a.n.c.length-1)*a.i:0;for(d=new Anb(a.n);d.a1){for(d=Sub(e,0);d.b!=d.d.c;){c=RD(evb(d),235);f=0;for(i=new Anb(c.e);i.a0){b[0]+=a.c;l-=b[0];}b[2]>0&&(l-=b[2]+a.c);b[1]=$wnd.Math.max(b[1],l);eKb(a.a[1],d.d+c.d+b[0]-(b[1]-l)/2,b[1]);}else {o=d.d+c.d;n=d.a-c.d-c.a;for(g=a.a,i=0,k=g.length;i0||$y(e.b.d,a.b.d+a.b.a)==0&&d.b<0||$y(e.b.d+e.b.a,a.b.d)==0&&d.b>0){h=0;break}}else {h=$wnd.Math.min(h,PQb(a,e,d));}h=$wnd.Math.min(h,FQb(a,f,h,d));}return h} + function lsd(a,b){var c,d,e,f,g,h,i;if(a.b<2){throw Adb(new agb('The vector chain must contain at least a source and a target point.'))}e=(sFb(a.b!=0),RD(a.a.a.c,8));Nzd(b,e.a,e.b);i=new mMd((!b.a&&(b.a=new XZd(D4,b,5)),b.a));g=Sub(a,1);while(g.a=0&&f!=c){throw Adb(new agb(LIe))}}e=0;for(i=0;iKfb(pJc(g.g,g.d[0]).a)){sFb(i.b>0);i.a.Xb(i.c=--i.b);Ikb(i,g);e=true;}else if(!!h.e&&h.e.gc()>0){f=(!h.e&&(h.e=new bnb),h.e).Mc(b);j=(!h.e&&(h.e=new bnb),h.e).Mc(c);if(f||j){(!h.e&&(h.e=new bnb),h.e).Fc(g);++g.c;}}}e||(ZEb(d.c,g),true);} + function H3c(a,b,c){var d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;l=a.a.i+a.a.g/2;m=a.a.i+a.a.g/2;o=b.i+b.g/2;q=b.j+b.f/2;h=new rjd(o,q);j=RD(Gxd(b,(umd(),Qld)),8);j.a=j.a+l;j.b=j.b+m;f=(h.b-j.b)/(h.a-j.a);d=h.b-f*h.a;p=c.i+c.g/2;r=c.j+c.f/2;i=new rjd(p,r);k=RD(Gxd(c,Qld),8);k.a=k.a+l;k.b=k.b+m;g=(i.b-k.b)/(i.a-k.a);e=i.b-g*i.a;n=(d-e)/(g-f);if(j.a>>0,'0'+b.toString(16));d='\\x'+zhb(c,c.length-2,c.length);}else if(a>=txe){c=(b=a>>>0,'0'+b.toString(16));d='\\v'+zhb(c,c.length-6,c.length);}else d=''+String.fromCharCode(a&Bwe);}return d} + function Ugc(a){var b,c,d;if(Dod(RD(mQb(a,(yCc(),BBc)),101))){for(c=new Anb(a.j);c.a=b.o&&c.f<=b.f||b.a*0.5<=c.f&&b.a*1.5>=c.f){g=RD(Vmb(b.n,b.n.c.length-1),209);if(g.e+g.d+c.g+e<=d&&(f=RD(Vmb(b.n,b.n.c.length-1),209),f.f-a.f+c.f<=a.b||a.a.c.length==1)){K9c(b,c);return true}else if(b.s+c.g<=d&&(b.t+b.d+c.f+e<=a.b||a.a.c.length==1)){Rmb(b.b,c);h=RD(Vmb(b.n,b.n.c.length-1),209);Rmb(b.n,new _9c(b.s,h.f+h.a+b.i,b.i));W9c(RD(Vmb(b.n,b.n.c.length-1),209),c);M9c(b,c);return true}}return false} + function xLd(a,b,c){var d,e,f,g;if(a.Pj()){e=null;f=a.Qj();d=a.Ij(1,g=UHd(a,b,c),c,b,f);if(a.Mj()&&!(a.Yi()&&g!=null?pb(g,c):dE(g)===dE(c))){g!=null&&(e=a.Oj(g,e));e=a.Nj(c,e);a.Tj()&&(e=a.Wj(g,c,e));if(!e){a.Jj(d);}else {e.nj(d);e.oj();}}else {a.Tj()&&(e=a.Wj(g,c,e));if(!e){a.Jj(d);}else {e.nj(d);e.oj();}}return g}else {g=UHd(a,b,c);if(a.Mj()&&!(a.Yi()&&g!=null?pb(g,c):dE(g)===dE(c))){e=null;g!=null&&(e=a.Oj(g,null));e=a.Nj(c,e);!!e&&e.oj();}return g}} + function Rsc(a,b){var c,d,e,f,g;b.Ug('Path-Like Graph Wrapping',1);if(a.b.c.length==0){b.Vg();return}e=new ysc(a);g=(e.i==null&&(e.i=tsc(e,new Asc)),Kfb(e.i)*e.f);c=g/(e.i==null&&(e.i=tsc(e,new Asc)),Kfb(e.i));if(e.b>c){b.Vg();return}switch(RD(mQb(a,(yCc(),rCc)),351).g){case 2:f=new Ksc;break;case 0:f=new zrc;break;default:f=new Nsc;}d=f.og(a,e);if(!f.pg()){switch(RD(mQb(a,xCc),352).g){case 2:d=Wsc(e,d);break;case 1:d=Usc(e,d);}}Qsc(a,e,d);b.Vg();} + function mB(a,b){var c,d,e,f,g,h,i,j;b%=24;if(a.q.getHours()!=b){d=new $wnd.Date(a.q.getTime());d.setDate(d.getDate()+1);h=a.q.getTimezoneOffset()-d.getTimezoneOffset();if(h>0){i=h/60|0;j=h%60;e=a.q.getDate();c=a.q.getHours();c+i>=24&&++e;f=new $wnd.Date(a.q.getFullYear(),a.q.getMonth(),e,b+i,a.q.getMinutes()+j,a.q.getSeconds(),a.q.getMilliseconds());a.q.setTime(f.getTime());}}g=a.q.getTime();a.q.setTime(g+3600000);a.q.getHours()!=b&&a.q.setTime(g);} + function kKc(a,b){var c,d,e,f;Nwb(a.d,a.e);a.c.a.$b();if(Kfb(UD(mQb(b.j,(yCc(),Zzc))))!=0||Kfb(UD(mQb(b.j,Zzc)))!=0){c=Hze;dE(mQb(b.j,cAc))!==dE((kEc(),hEc))&&pQb(b.j,(Ywc(),jwc),(Geb(),true));f=RD(mQb(b.j,gCc),17).a;for(e=0;ee&&++j;Rmb(g,(tFb(h+j,b.c.length),RD(b.c[h+j],17)));i+=(tFb(h+j,b.c.length),RD(b.c[h+j],17)).a-d;++c;while(c=q&&a.e[i.p]>o*a.b||t>=c*q){ZEb(m.c,h);h=new bnb;ye(g,f);f.a.$b();j-=k;n=$wnd.Math.max(n,j*a.b+p);j+=t;s=t;t=0;k=0;p=0;}}return new Ptd(n,m)} + function pYd(a){var b,c,d,e,f,g,h;if(!a.d){h=new v_d;b=iYd;f=b.a.zc(a,b);if(f==null){for(d=new dMd(zYd(a));d.e!=d.i.gc();){c=RD(bMd(d),29);YGd(h,pYd(c));}b.a.Bc(a)!=null;b.a.gc()==0&&undefined;}g=h.i;for(e=(!a.q&&(a.q=new C5d(s7,a,11,10)),new dMd(a.q));e.e!=e.i.gc();++g){RD(bMd(e),411);}YGd(h,(!a.q&&(a.q=new C5d(s7,a,11,10)),a.q));VHd(h);a.d=new N$d((RD(QHd(xYd((lTd(),kTd).o),9),19),h.i),h.g);a.e=RD(h.g,688);a.e==null&&(a.e=jYd);yYd(a).b&=-17;}return a.d} + function kge(a,b,c,d){var e,f,g,h,i,j;j=pke(a.e.Dh(),b);i=0;e=RD(a.g,124);nke();if(RD(b,69).xk()){for(g=0;g1||o==-1){l=RD(p,71);m=RD(k,71);if(l.dc()){m.$b();}else {g=!!Z5d(b);f=0;for(h=a.a?l.Kc():l.Ii();h.Ob();){j=RD(h.Pb(),58);e=RD(cub(a,j),58);if(!e){if(a.b&&!g){m.Gi(f,j);++f;}}else {if(g){i=m.dd(e);i==-1?m.Gi(f,e):f!=i&&m.Ui(f,e);}else {m.Gi(f,e);}++f;}}}}else {if(p==null){k.Wb(null);}else {e=cub(a,p);e==null?a.b&&!Z5d(b)&&k.Wb(p):k.Wb(e);}}}}} + function V9b(a,b){var c,d,e,f,g,h,i,j;c=new aac;for(e=new is(Mr(Z2b(b).a.Kc(),new ir));gs(e);){d=RD(hs(e),18);if(W0b(d)){continue}h=d.c.i;if(W9b(h,T9b)){j=X9b(a,h,T9b,S9b);if(j==-1){continue}c.b=$wnd.Math.max(c.b,j);!c.a&&(c.a=new bnb);Rmb(c.a,h);}}for(g=new is(Mr(a3b(b).a.Kc(),new ir));gs(g);){f=RD(hs(g),18);if(W0b(f)){continue}i=f.d.i;if(W9b(i,S9b)){j=X9b(a,i,S9b,T9b);if(j==-1){continue}c.d=$wnd.Math.max(c.d,j);!c.c&&(c.c=new bnb);Rmb(c.c,i);}}return c} + function pcc(a,b,c,d){var e,f,g,h,i,j,k;if(c.d.i==b.i){return}e=new j3b(a);h3b(e,(r3b(),o3b));pQb(e,(Ywc(),Awc),c);pQb(e,(yCc(),BBc),(Bod(),wod));ZEb(d.c,e);g=new R3b;P3b(g,e);Q3b(g,(qpd(),ppd));h=new R3b;P3b(h,e);Q3b(h,Xod);k=c.d;Z0b(c,g);f=new a1b;kQb(f,c);pQb(f,RAc,null);Y0b(f,h);Z0b(f,k);j=new Jkb(c.b,0);while(j.b1000000){throw Adb(new teb('power of ten too big'))}if(a<=lve){return Zib(Yib(Jjb[1],b),b)}d=Yib(Jjb[1],lve);e=d;c=Hdb(a-lve);b=eE(a%lve);while(Ddb(c,lve)>0){e=Wib(e,d);c=Vdb(c,lve);}e=Wib(e,Yib(Jjb[1],b));e=Zib(e,lve);c=Hdb(a-lve);while(Ddb(c,lve)>0){e=Zib(e,lve);c=Vdb(c,lve);}e=Zib(e,b);return e} + function s9b(a){var b,c,d,e,f,g,h,i,j,k;for(i=new Anb(a.a);i.aj&&d>j){k=h;j=Kfb(b.p[h.p])+Kfb(b.d[h.p])+h.o.b+h.d.a;}else {e=false;c._g()&&c.bh('bk node placement breaks on '+h+' which should have been after '+k);break}}if(!e){break}}c._g()&&c.bh(b+' is feasible: '+e);return e} + function Dfc(a,b,c,d){var e,f,g,h,i,j,k,l,m;f=new j3b(a);h3b(f,(r3b(),q3b));pQb(f,(yCc(),BBc),(Bod(),wod));e=0;if(b){g=new R3b;pQb(g,(Ywc(),Awc),b);pQb(f,Awc,b.i);Q3b(g,(qpd(),ppd));P3b(g,f);m=s2b(b.e);for(j=m,k=0,l=j.length;k0){if(e<0&&k.a){e=i;f=j[0];d=0;}if(e>=0){h=k.b;if(i==e){h-=d++;if(h==0){return 0}}if(!MA(b,j,k,h,g)){i=e-1;j[0]=f;continue}}else {e=-1;if(!MA(b,j,k,0,g)){return 0}}}else {e=-1;if(ihb(k.c,0)==32){l=j[0];KA(b,j);if(j[0]>l){continue}}else if(xhb(b,k.c,j[0])){j[0]+=k.c.length;continue}return 0}}if(!CB(g,c)){return 0}return j[0]} + function qWb(a,b,c){var d,e,f,g,h,i,j,k,l,m;k=new pwb(new GWb(c));h=$C(xdb,Hye,28,a.f.e.c.length,16,1);Snb(h,h.length);c[b.a]=0;for(j=new Anb(a.f.e);j.a=0&&!PPb(a,k,l)){--l;}e[k]=l;}for(n=0;n=0&&!PPb(a,h,o)){--h;}f[o]=h;}for(i=0;ib[m]&&md[i]&&TPb(a,i,m,false,true);}}} + function hUb(a){var b,c,d,e,f,g,h,i;c=Heb(TD(mQb(a,(yVb(),$Ub))));f=a.a.c.d;h=a.a.d.d;if(c){g=ijd(ojd(new rjd(h.a,h.b),f),0.5);i=ijd(ajd(a.e),0.5);b=ojd($id(new rjd(f.a,f.b),g),i);mjd(a.d,b);}else {e=Kfb(UD(mQb(a.a,qVb)));d=a.d;if(f.a>=h.a){if(f.b>=h.b){d.a=h.a+(f.a-h.a)/2+e;d.b=h.b+(f.b-h.b)/2-e-a.e.b;}else {d.a=h.a+(f.a-h.a)/2+e;d.b=f.b+(h.b-f.b)/2+e;}}else {if(f.b>=h.b){d.a=f.a+(h.a-f.a)/2+e;d.b=h.b+(f.b-h.b)/2+e;}else {d.a=f.a+(h.a-f.a)/2+e;d.b=f.b+(h.b-f.b)/2-e-a.e.b;}}}} + function qYd(a){var b,c,d,e,f,g,h,i;if(!a.f){i=new a_d;h=new a_d;b=iYd;g=b.a.zc(a,b);if(g==null){for(f=new dMd(zYd(a));f.e!=f.i.gc();){e=RD(bMd(f),29);YGd(i,qYd(e));}b.a.Bc(a)!=null;b.a.gc()==0&&undefined;}for(d=(!a.s&&(a.s=new C5d(y7,a,21,17)),new dMd(a.s));d.e!=d.i.gc();){c=RD(bMd(d),179);ZD(c,102)&&WGd(h,RD(c,19));}VHd(h);a.r=new s_d(a,(RD(QHd(xYd((lTd(),kTd).o),6),19),h.i),h.g);YGd(i,a.r);VHd(i);a.f=new N$d((RD(QHd(xYd(kTd.o),5),19),i.i),i.g);yYd(a).b&=-3;}return a.f} + function uSb(a){Cgd(a,new Pfd($fd(Xfd(Zfd(Yfd(new agd,Aze),'ELK DisCo'),'Layouter for arranging unconnected subgraphs. The subgraphs themselves are, by default, not laid out.'),new xSb)));Agd(a,Aze,Bze,iGd(sSb));Agd(a,Aze,Cze,iGd(mSb));Agd(a,Aze,Dze,iGd(hSb));Agd(a,Aze,Eze,iGd(nSb));Agd(a,Aze,Bye,iGd(qSb));Agd(a,Aze,Cye,iGd(pSb));Agd(a,Aze,Aye,iGd(rSb));Agd(a,Aze,Dye,iGd(oSb));Agd(a,Aze,vze,iGd(jSb));Agd(a,Aze,wze,iGd(iSb));Agd(a,Aze,xze,iGd(kSb));Agd(a,Aze,yze,iGd(lSb));} + function qAd(){qAd=geb;oAd=cD(WC(hE,1),zwe,28,15,[48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70]);pAd=new RegExp('[ \t\n\r\f]+');try{nAd=cD(WC(h8,1),rve,2114,0,[new c2d((WA(),YA("yyyy-MM-dd'T'HH:mm:ss'.'SSSZ",_A(($A(),$A(),ZA))))),new c2d(YA("yyyy-MM-dd'T'HH:mm:ss'.'SSS",_A((null,ZA)))),new c2d(YA("yyyy-MM-dd'T'HH:mm:ss",_A((null,ZA)))),new c2d(YA("yyyy-MM-dd'T'HH:mm",_A((null,ZA)))),new c2d(YA('yyyy-MM-dd',_A((null,ZA))))]);}catch(a){a=zdb(a);if(!ZD(a,82))throw Adb(a)}} + function uKc(a,b){var c,d,e,f;e=Kwb(a.d,1)!=0;d=mKc(a,b);if(d==0&&Heb(TD(mQb(b.j,(Ywc(),jwc))))){return 0}!Heb(TD(mQb(b.j,(Ywc(),jwc))))&&!Heb(TD(mQb(b.j,Owc)))||dE(mQb(b.j,(yCc(),cAc)))===dE((kEc(),hEc))?b.c.mg(b.e,e):(e=Heb(TD(mQb(b.j,jwc))));DKc(a,b,e,true);Heb(TD(mQb(b.j,Owc)))&&pQb(b.j,Owc,(Geb(),false));if(Heb(TD(mQb(b.j,jwc)))){pQb(b.j,jwc,(Geb(),false));pQb(b.j,Owc,true);}c=mKc(a,b);do{yKc(a);if(c==0){return 0}e=!e;f=c;DKc(a,b,e,false);c=mKc(a,b);}while(f>c);return f} + function vKc(a,b){var c,d,e,f;e=Kwb(a.d,1)!=0;d=lKc(a,b);if(d==0&&Heb(TD(mQb(b.j,(Ywc(),jwc))))){return 0}!Heb(TD(mQb(b.j,(Ywc(),jwc))))&&!Heb(TD(mQb(b.j,Owc)))||dE(mQb(b.j,(yCc(),cAc)))===dE((kEc(),hEc))?b.c.mg(b.e,e):(e=Heb(TD(mQb(b.j,jwc))));DKc(a,b,e,true);Heb(TD(mQb(b.j,Owc)))&&pQb(b.j,Owc,(Geb(),false));if(Heb(TD(mQb(b.j,jwc)))){pQb(b.j,jwc,(Geb(),false));pQb(b.j,Owc,true);}c=lKc(a,b);do{yKc(a);if(c==0){return 0}e=!e;f=c;DKc(a,b,e,false);c=lKc(a,b);}while(f>c);return f} + function Gid(a,b,c,d){var e,f,g,h,i,j,k,l,m;i=ojd(new rjd(c.a,c.b),a);j=i.a*b.b-i.b*b.a;k=b.a*d.b-b.b*d.a;l=(i.a*d.b-i.b*d.a)/k;m=j/k;if(k==0){if(j==0){e=$id(new rjd(c.a,c.b),ijd(new rjd(d.a,d.b),0.5));f=bjd(a,e);g=bjd($id(new rjd(a.a,a.b),b),e);h=$wnd.Math.sqrt(d.a*d.a+d.b*d.b)*0.5;if(f=0&&l<=1&&m>=0&&m<=1?$id(new rjd(a.a,a.b),ijd(new rjd(b.a,b.b),l)):null}} + function QWb(a,b,c){var d,e,f,g,h;d=RD(mQb(a,(yCc(),dAc)),21);c.a>b.a&&(d.Hc((ukd(),okd))?(a.c.a+=(c.a-b.a)/2):d.Hc(qkd)&&(a.c.a+=c.a-b.a));c.b>b.b&&(d.Hc((ukd(),skd))?(a.c.b+=(c.b-b.b)/2):d.Hc(rkd)&&(a.c.b+=c.b-b.b));if(RD(mQb(a,(Ywc(),kwc)),21).Hc((ovc(),hvc))&&(c.a>b.a||c.b>b.b)){for(h=new Anb(a.a);h.ab.a&&(d.Hc((ukd(),okd))?(a.c.a+=(c.a-b.a)/2):d.Hc(qkd)&&(a.c.a+=c.a-b.a));c.b>b.b&&(d.Hc((ukd(),skd))?(a.c.b+=(c.b-b.b)/2):d.Hc(rkd)&&(a.c.b+=c.b-b.b));if(RD(mQb(a,(Ywc(),kwc)),21).Hc((ovc(),hvc))&&(c.a>b.a||c.b>b.b)){for(g=new Anb(a.a);g.a0?a.i:0)>b&&i>0){f=0;g+=i+a.i;e=$wnd.Math.max(e,m);d+=i+a.i;i=0;m=0;if(c){++l;Rmb(a.n,new _9c(a.s,g,a.i));}h=0;}m+=j.g+(h>0?a.i:0);i=$wnd.Math.max(i,j.f);c&&W9c(RD(Vmb(a.n,l),209),j);f+=j.g+(h>0?a.i:0);++h;}e=$wnd.Math.max(e,m);d+=i;if(c){a.r=e;a.d=d;Ead(a.j);}return new Uid(a.s,a.t,e,d)} + function CRb(a){var b,c,d,e,f,g,h,i,j,k,l,m;a.b=false;l=oxe;i=pxe;m=oxe;j=pxe;for(d=a.e.a.ec().Kc();d.Ob();){c=RD(d.Pb(),272);e=c.a;l=$wnd.Math.min(l,e.c);i=$wnd.Math.max(i,e.c+e.b);m=$wnd.Math.min(m,e.d);j=$wnd.Math.max(j,e.d+e.a);for(g=new Anb(c.c);g.aa.o.a){k=(i-a.o.a)/2;h.b=$wnd.Math.max(h.b,k);h.c=$wnd.Math.max(h.c,k);}} + function RId(a){var b,c,d,e,f,g,h,i;f=new med;ied(f,(hed(),eed));for(d=(e=oC(a,$C(qJ,Nve,2,0,6,1)),new Dkb(new mob((new CC(a,e)).b)));d.bh?1:-1:Ejb(a.a,b.a,f);if(e==-1){l=-i;k=g==i?Hjb(b.a,h,a.a,f):Cjb(b.a,h,a.a,f);}else {l=g;if(g==i){if(e==0){return Pib(),Oib}k=Hjb(a.a,f,b.a,h);}else {k=Cjb(a.a,f,b.a,h);}}j=new cjb(l,k.length,k);Rib(j);return j} + function c5b(a,b){var c,d,e,f;f=Z4b(b);!b.c&&(b.c=new C5d(K4,b,9,9));FDb(new SDb(null,(!b.c&&(b.c=new C5d(K4,b,9,9)),new Swb(b.c,16))),new s5b(f));e=RD(mQb(f,(Ywc(),kwc)),21);Y4b(b,e);if(e.Hc((ovc(),hvc))){for(d=new dMd((!b.c&&(b.c=new C5d(K4,b,9,9)),b.c));d.e!=d.i.gc();){c=RD(bMd(d),123);g5b(a,b,f,c);}}RD(Gxd(b,(yCc(),lBc)),181).gc()!=0&&V4b(b,f);Heb(TD(mQb(f,sBc)))&&e.Fc(mvc);nQb(f,PBc)&&HCc(new RCc(Kfb(UD(mQb(f,PBc)))),f);dE(Gxd(b,IAc))===dE((Fnd(),Cnd))?d5b(a,b,f):b5b(a,b,f);return f} + function Vrc(a){var b,c,d,e,f,g,h,i;for(e=new Anb(a.b);e.a0?zhb(c.a,0,f-1):''}}else {return !c?a:c.a}} + function xic(a,b){var c,d,e,f,g,h,i;b.Ug('Sort By Input Model '+mQb(a,(yCc(),cAc)),1);e=0;for(d=new Anb(a.b);d.a=a.b.length){f[e++]=g.b[d++];f[e++]=g.b[d++];}else if(d>=g.b.length){f[e++]=a.b[c++];f[e++]=a.b[c++];}else if(g.b[d]0?a.i:0);}++b;}Ce(a.n,i);a.d=c;a.r=d;a.g=0;a.f=0;a.e=0;a.o=oxe;a.p=oxe;for(f=new Anb(a.b);f.a0){e=(!a.n&&(a.n=new C5d(I4,a,1,7)),RD(QHd(a.n,0),135)).a;!e||Zhb(Zhb((b.a+=' "',b),e),'"');}}else {Zhb(Zhb((b.a+=' "',b),d),'"');}c=(!a.b&&(a.b=new Yie(E4,a,4,7)),!(a.b.i<=1&&(!a.c&&(a.c=new Yie(E4,a,5,8)),a.c.i<=1)));c?(b.a+=' [',b):(b.a+=' ',b);Zhb(b,Eb(new Gb,new dMd(a.b)));c&&(b.a+=']',b);b.a+=SAe;c&&(b.a+='[',b);Zhb(b,Eb(new Gb,new dMd(a.c)));c&&(b.a+=']',b);return b.a} + function odc(a,b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,A,B,C,D;v=a.c;w=b.c;c=Wmb(v.a,a,0);d=Wmb(w.a,b,0);t=RD(c3b(a,(BEc(),yEc)).Kc().Pb(),12);C=RD(c3b(a,zEc).Kc().Pb(),12);u=RD(c3b(b,yEc).Kc().Pb(),12);D=RD(c3b(b,zEc).Kc().Pb(),12);r=s2b(t.e);A=s2b(C.g);s=s2b(u.e);B=s2b(D.g);f3b(a,d,w);for(g=s,k=0,o=g.length;kk){new bTc((fTc(),eTc),c,b,j-k);}else if(j>0&&k>0){new bTc((fTc(),eTc),b,c,0);new bTc(eTc,c,b,0);}}return g} + function pXc(a,b,c){var d,e,f;a.a=new bnb;for(f=Sub(b.b,0);f.b!=f.d.c;){e=RD(evb(f),40);while(RD(mQb(e,(h_c(),f_c)),17).a>a.a.c.length-1){Rmb(a.a,new Ptd(Hze,KEe));}d=RD(mQb(e,f_c),17).a;if(c==(Cmd(),ymd)||c==zmd){e.e.aKfb(UD(RD(Vmb(a.a,d),42).b))&&Otd(RD(Vmb(a.a,d),42),e.e.a+e.f.a);}else {e.e.bKfb(UD(RD(Vmb(a.a,d),42).b))&&Otd(RD(Vmb(a.a,d),42),e.e.b+e.f.b);}}} + function g2b(a,b,c,d){var e,f,g,h,i,j,k;f=i2b(d);h=Heb(TD(mQb(d,(yCc(),aBc))));if((h||Heb(TD(mQb(a,MAc))))&&!Dod(RD(mQb(a,BBc),101))){e=vpd(f);i=q2b(a,c,c==(BEc(),zEc)?e:spd(e));}else {i=new R3b;P3b(i,a);if(b){k=i.n;k.a=b.a-a.n.a;k.b=b.b-a.n.b;_id(k,0,0,a.o.a,a.o.b);Q3b(i,c2b(i,f));}else {e=vpd(f);Q3b(i,c==(BEc(),zEc)?e:spd(e));}g=RD(mQb(d,(Ywc(),kwc)),21);j=i.j;switch(f.g){case 2:case 1:(j==(qpd(),Yod)||j==npd)&&g.Fc((ovc(),lvc));break;case 4:case 3:(j==(qpd(),Xod)||j==ppd)&&g.Fc((ovc(),lvc));}}return i} + function VXb(a,b){var c,d,e,f,g,h;for(g=new vkb((new mkb(a.f.b)).a);g.b;){f=tkb(g);e=RD(f.ld(),602);if(b==1){if(e.Af()!=(Cmd(),Bmd)&&e.Af()!=xmd){continue}}else {if(e.Af()!=(Cmd(),ymd)&&e.Af()!=zmd){continue}}d=RD(RD(f.md(),42).b,86);h=RD(RD(f.md(),42).a,194);c=h.c;switch(e.Af().g){case 2:d.g.c=a.e.a;d.g.b=$wnd.Math.max(1,d.g.b+c);break;case 1:d.g.c=d.g.c+c;d.g.b=$wnd.Math.max(1,d.g.b-c);break;case 4:d.g.d=a.e.b;d.g.a=$wnd.Math.max(1,d.g.a+c);break;case 3:d.g.d=d.g.d+c;d.g.a=$wnd.Math.max(1,d.g.a-c);}}} + function NNc(a,b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p;h=$C(kE,Pwe,28,b.b.c.length,15,1);j=$C(hR,jwe,273,b.b.c.length,0,1);i=$C(jR,WAe,10,b.b.c.length,0,1);for(l=a.a,m=0,n=l.length;m0&&!!i[d]&&(o=bFc(a.b,i[d],e));p=$wnd.Math.max(p,e.c.c.b+o);}for(f=new Anb(k.e);f.a1){throw Adb(new agb(gLe))}if(!i){f=oke(b,d.Kc().Pb());g.Fc(f);}}return XGd(a,gge(a,b,c),g)} + function Fge(a,b,c){var d,e,f,g,h,i,j,k;if(qke(a.e,b)){i=(nke(),RD(b,69).xk()?new ole(b,a):new Eke(b,a));bge(i.c,i.b);Ake(i,RD(c,16));}else {k=pke(a.e.Dh(),b);d=RD(a.g,124);for(g=0;g';}i!=null&&(b.a+=''+i,b);}else if(a.e){h=a.e.zb;h!=null&&(b.a+=''+h,b);}else {b.a+='?';if(a.b){b.a+=' super ';r2d(a.b,b);}else {if(a.f){b.a+=' extends ';r2d(a.f,b);}}}} + function Uae(a){a.b=null;a.a=null;a.o=null;a.q=null;a.v=null;a.w=null;a.B=null;a.p=null;a.Q=null;a.R=null;a.S=null;a.T=null;a.U=null;a.V=null;a.W=null;a.bb=null;a.eb=null;a.ab=null;a.H=null;a.db=null;a.c=null;a.d=null;a.f=null;a.n=null;a.r=null;a.s=null;a.u=null;a.G=null;a.J=null;a.e=null;a.j=null;a.i=null;a.g=null;a.k=null;a.t=null;a.F=null;a.I=null;a.L=null;a.M=null;a.O=null;a.P=null;a.$=null;a.N=null;a.Z=null;a.cb=null;a.K=null;a.D=null;a.A=null;a.C=null;a._=null;a.fb=null;a.X=null;a.Y=null;a.gb=false;a.hb=false;} + function yib(a){var b,c,d,e;d=Ajb((!a.c&&(a.c=ojb(Hdb(a.f))),a.c),0);if(a.e==0||a.a==0&&a.f!=-1&&a.e<0){return d}b=xib(a)<0?1:0;c=a.e;e=(d.length+1+$wnd.Math.abs(eE(a.e)),new cib);b==1&&(e.a+='-',e);if(a.e>0){c-=d.length-b;if(c>=0){e.a+='0.';for(;c>mib.length;c-=mib.length){$hb(e,mib);}_hb(e,mib,eE(c));Zhb(e,(BFb(b,d.length+1),d.substr(b)));}else {c=b-c;Zhb(e,zhb(d,b,eE(c)));e.a+='.';Zhb(e,yhb(d,eE(c)));}}else {Zhb(e,(BFb(b,d.length+1),d.substr(b)));for(;c<-mib.length;c+=mib.length){$hb(e,mib);}_hb(e,mib,eE(-c));}return e.a} + function BOc(a){var b,c,d,e,f,g,h,i,j;if(a.k!=(r3b(),p3b)){return false}if(a.j.c.length<=1){return false}f=RD(mQb(a,(yCc(),BBc)),101);if(f==(Bod(),wod)){return false}e=(wDc(),(!a.q?(yob(),yob(),wob):a.q)._b(iBc)?(d=RD(mQb(a,iBc),203)):(d=RD(mQb(Y2b(a),jBc),203)),d);if(e==uDc){return false}if(!(e==tDc||e==sDc)){g=Kfb(UD(hFc(a,fCc)));b=RD(mQb(a,eCc),140);!b&&(b=new R2b(g,g,g,g));j=b3b(a,(qpd(),ppd));i=b.d+b.a+(j.gc()-1)*g;if(i>a.o.b){return false}c=b3b(a,Xod);h=b.d+b.a+(c.gc()-1)*g;if(h>a.o.b){return false}}return true} + function VRc(a,b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q;b.Ug('Orthogonal edge routing',1);j=Kfb(UD(mQb(a,(yCc(),cCc))));c=Kfb(UD(mQb(a,UBc)));d=Kfb(UD(mQb(a,XBc)));m=new TTc(0,c);q=0;g=new Jkb(a.b,0);h=null;k=null;i=null;l=null;do{k=g.b0){n=(o-1)*c;!!h&&(n+=d);!!k&&(n+=d);nb||Heb(TD(Gxd(i,(X7c(),D7c))))){e=0;f+=k.b+c;ZEb(l.c,k);k=new Had(f,c);d=new V9c(0,k.f,k,c);Cad(k,d);e=0;}if(d.b.c.length==0||!Heb(TD(Gxd(vCd(i),(X7c(),L7c))))&&(i.f>=d.o&&i.f<=d.f||d.a*0.5<=i.f&&d.a*1.5>=i.f)){K9c(d,i);}else {g=new V9c(d.s+d.r+c,k.f,k,c);Cad(k,g);K9c(g,i);}e=i.i+i.g;}ZEb(l.c,k);return l} + function ste(a){var b,c,d,e;if(a.b==null||a.b.length<=2)return;if(a.a)return;b=0;e=0;while(e=a.b[e+1]){e+=2;}else if(c0){d=new dnb(RD(Qc(a.a,f),21));yob();_mb(d,new M0b(b));e=new Jkb(f.b,0);while(e.b0&&d>=-6){if(d>=0){aib(f,c-eE(a.e),String.fromCharCode(46));}else {peb(f,b-1,b-1,'0.');aib(f,b+1,Ihb(mib,0,-eE(d)-1));}}else {if(c-b>=1){aib(f,b,String.fromCharCode(46));++c;}aib(f,c,String.fromCharCode(69));d>0&&aib(f,++c,String.fromCharCode(43));aib(f,++c,''+Zdb(Hdb(d)));}a.g=f.a;return a.g} + function KNc(a,b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,A;d=Kfb(UD(mQb(b,(yCc(),hBc))));v=RD(mQb(b,gCc),17).a;m=4;e=3;w=20/v;n=false;i=0;g=lve;do{f=i!=1;l=i!=0;A=0;for(q=a.a,s=0,u=q.length;sv)){i=2;g=lve;}else if(i==0){i=1;g=A;}else {i=0;g=A;}}else {n=A>=g||g-A0?1:cz(isNaN(d),isNaN(0)))>=0^(bz(vEe),($wnd.Math.abs(h)<=vEe||h==0||isNaN(h)&&isNaN(0)?0:h<0?-1:h>0?1:cz(isNaN(h),isNaN(0)))>=0)){return $wnd.Math.max(h,d)}bz(vEe);if(($wnd.Math.abs(d)<=vEe||d==0||isNaN(d)&&isNaN(0)?0:d<0?-1:d>0?1:cz(isNaN(d),isNaN(0)))>0){return $wnd.Math.sqrt(h*h+d*d)}return -$wnd.Math.sqrt(h*h+d*d)} + function hue(a,b){var c,d,e,f,g,h;if(!b)return;!a.a&&(a.a=new gyb);if(a.e==2){dyb(a.a,b);return}if(b.e==1){for(e=0;e=txe?Nhb(c,qse(d)):Jhb(c,d&Bwe);g=(new eue(10,null,0));fyb(a.a,g,h-1);}else {c=(g.Mm().length+f,new Rhb);Nhb(c,g.Mm());}if(b.e==0){d=b.Km();d>=txe?Nhb(c,qse(d)):Jhb(c,d&Bwe);}else {Nhb(c,b.Mm());}RD(g,530).b=c.a;} + function Qsc(a,b,c){var d,e,f,g,h,i,j,k,l,m,n,o,p,q;if(c.dc()){return}h=0;m=0;d=c.Kc();o=RD(d.Pb(),17).a;while(h1&&(i=j.Hg(i,a.a,h));}if(i.c.length==1){return RD(Vmb(i,i.c.length-1),238)}if(i.c.length==2){return e8c((tFb(0,i.c.length),RD(i.c[0],238)),(tFb(1,i.c.length),RD(i.c[1],238)),g,f)}return null} + function CZc(a,b,c){var d,e,f,g,h,i,j;c.Ug('Find roots',1);a.a.c.length=0;for(e=Sub(b.b,0);e.b!=e.d.c;){d=RD(evb(e),40);if(d.b.b==0){pQb(d,(q$c(),n$c),(Geb(),true));Rmb(a.a,d);}}switch(a.a.c.length){case 0:f=new bXc(0,b,'DUMMY_ROOT');pQb(f,(q$c(),n$c),(Geb(),true));pQb(f,WZc,true);Mub(b.b,f);break;case 1:break;default:g=new bXc(0,b,IEe);for(i=new Anb(a.a);i.a=$wnd.Math.abs(d.b)){d.b=0;f.d+f.a>g.d&&f.dg.c&&f.c0){b=new zNd(a.i,a.g);c=a.i;f=c<100?null:new gLd(c);if(a.Tj()){for(d=0;d0){h=a.g;j=a.i;OHd(a);f=j<100?null:new gLd(j);for(d=0;d>13|(a.m&15)<<9;e=a.m>>4&8191;f=a.m>>17|(a.h&255)<<5;g=(a.h&1048320)>>8;h=b.l&8191;i=b.l>>13|(b.m&15)<<9;j=b.m>>4&8191;k=b.m>>17|(b.h&255)<<5;l=(b.h&1048320)>>8;B=c*h;C=d*h;D=e*h;F=f*h;G=g*h;if(i!=0){C+=c*i;D+=d*i;F+=e*i;G+=f*i;}if(j!=0){D+=c*j;F+=d*j;G+=e*j;}if(k!=0){F+=c*k;G+=d*k;}l!=0&&(G+=c*l);n=B&dxe;o=(C&511)<<13;m=n+o;q=B>>22;r=C>>9;s=(D&262143)<<4;t=(F&31)<<17;p=q+r+s+t;v=D>>18;w=F>>5;A=(G&4095)<<8;u=v+w+A;p+=m>>22;m&=dxe;u+=p>>22;p&=dxe;u&=exe;return hD(m,p,u)} + function Fac(a){var b,c,d,e,f,g,h;h=RD(Vmb(a.j,0),12);if(h.g.c.length!=0&&h.e.c.length!=0){throw Adb(new dgb('Interactive layout does not support NORTH/SOUTH ports with incoming _and_ outgoing edges.'))}if(h.g.c.length!=0){f=oxe;for(c=new Anb(h.g);c.a4){if(a.fk(b)){if(a.al()){e=RD(b,54);d=e.Eh();i=d==a.e&&(a.ml()?e.yh(e.Fh(),a.il())==a.jl():-1-e.Fh()==a.Lj());if(a.nl()&&!i&&!d&&!!e.Jh()){for(f=0;f0&&aGc(a,h,l);}for(e=new Anb(l);e.aa.d[g.p]){c+=ZLc(a.b,f)*RD(i.b,17).a;hmb(a.a,sgb(f));}}while(!nmb(a.a)){XLc(a.b,RD(smb(a.a),17).a);}}return c} + function x9b(a,b){var c,d,e,f,g,h,i,j,k,l;k=RD(mQb(a,(Ywc(),hwc)),64);d=RD(Vmb(a.j,0),12);k==(qpd(),Yod)?Q3b(d,npd):k==npd&&Q3b(d,Yod);if(RD(mQb(b,(yCc(),lBc)),181).Hc((Qpd(),Ppd))){i=Kfb(UD(mQb(a,_Bc)));j=Kfb(UD(mQb(a,aCc)));g=Kfb(UD(mQb(a,ZBc)));h=RD(mQb(b,EBc),21);if(h.Hc((Pod(),Lod))){c=j;l=a.o.a/2-d.n.a;for(f=new Anb(d.f);f.a0&&(j=a.n.a/f);break;case 2:case 4:e=a.i.o.b;e>0&&(j=a.n.b/e);}pQb(a,(Ywc(),Jwc),j);}i=a.o;g=a.a;if(d){g.a=d.a;g.b=d.b;a.d=true;}else if(b!=zod&&b!=Aod&&h!=opd){switch(h.g){case 1:g.a=i.a/2;break;case 2:g.a=i.a;g.b=i.b/2;break;case 3:g.a=i.a/2;g.b=i.b;break;case 4:g.b=i.b/2;}}else {g.a=i.a/2;g.b=i.b/2;}} + function VJd(a){var b,c,d,e,f,g,h,i,j,k;if(a.Pj()){k=a.Ej();i=a.Qj();if(k>0){b=new $Hd(a.pj());c=k;f=c<100?null:new gLd(c);aJd(a,c,b.g);e=c==1?a.Ij(4,QHd(b,0),null,0,i):a.Ij(6,b,null,-1,i);if(a.Mj()){for(d=new dMd(b);d.e!=d.i.gc();){f=a.Oj(bMd(d),f);}if(!f){a.Jj(e);}else {f.nj(e);f.oj();}}else {if(!f){a.Jj(e);}else {f.nj(e);f.oj();}}}else {aJd(a,a.Ej(),a.Fj());a.Jj(a.Ij(6,(yob(),vob),null,-1,i));}}else if(a.Mj()){k=a.Ej();if(k>0){h=a.Fj();j=k;aJd(a,k,h);f=j<100?null:new gLd(j);for(d=0;d1&&urd(g)*trd(g)/2>h[0]){f=0;while(fh[f]){++f;}o=new Rkb(p,0,f+1);l=new zrd(o);k=urd(g)/trd(g);i=ird(l,b,new z3b,c,d,e,k);$id(hjd(l.e),i);zFb(lwb(m,l),Bxe);n=new Rkb(p,f+1,p.c.length);iwb(m,n);p.c.length=0;j=0;Pnb(h,h.length,0);}else {q=m.b.c.length==0?null:Vmb(m.b,0);q!=null&&owb(m,0);j>0&&(h[j]=h[j-1]);h[j]+=urd(g)*trd(g);++j;ZEb(p.c,g);}}return p} + function _nc(a,b){var c,d,e,f;c=b.b;f=new dnb(c.j);e=0;d=c.j;d.c.length=0;Nnc(RD($i(a.b,(qpd(),Yod),(joc(),ioc)),15),c);e=Onc(f,e,new Hoc,d);Nnc(RD($i(a.b,Yod,hoc),15),c);e=Onc(f,e,new Joc,d);Nnc(RD($i(a.b,Yod,goc),15),c);Nnc(RD($i(a.b,Xod,ioc),15),c);Nnc(RD($i(a.b,Xod,hoc),15),c);e=Onc(f,e,new Loc,d);Nnc(RD($i(a.b,Xod,goc),15),c);Nnc(RD($i(a.b,npd,ioc),15),c);e=Onc(f,e,new Noc,d);Nnc(RD($i(a.b,npd,hoc),15),c);e=Onc(f,e,new Poc,d);Nnc(RD($i(a.b,npd,goc),15),c);Nnc(RD($i(a.b,ppd,ioc),15),c);e=Onc(f,e,new toc,d);Nnc(RD($i(a.b,ppd,hoc),15),c);Nnc(RD($i(a.b,ppd,goc),15),c);} + function jJc(a,b,c){var d,e,f,g,h,i,j,k,l,m,n;for(h=new Anb(b);h.a0.5?(r-=g*2*(o-0.5)):o<0.5&&(r+=f*2*(0.5-o));e=h.d.b;rq.a-p-k&&(r=q.a-p-k);h.n.a=b+r;}} + function jec(a){var b,c,d,e,f;d=RD(mQb(a,(yCc(),UAc)),171);if(d==(cxc(),$wc)){for(c=new is(Mr(Z2b(a).a.Kc(),new ir));gs(c);){b=RD(hs(c),18);if(!lec(b)){throw Adb(new Jed(nBe+X2b(a)+"' has its layer constraint set to FIRST_SEPARATE, but has at least one incoming edge. "+'FIRST_SEPARATE nodes must not have incoming edges.'))}}}else if(d==axc){for(f=new is(Mr(a3b(a).a.Kc(),new ir));gs(f);){e=RD(hs(f),18);if(!lec(e)){throw Adb(new Jed(nBe+X2b(a)+"' has its layer constraint set to LAST_SEPARATE, but has at least one outgoing edge. "+'LAST_SEPARATE nodes must not have outgoing edges.'))}}}} + function Qed(a,b){var c,d,e,f,g,h,i,j,k,l,m,n,o;if(a.e&&a.c.c>19!=0){b=xD(b);i=!i;}g=pD(b);f=false;e=false;d=false;if(a.h==fxe&&a.m==0&&a.l==0){e=true;f=true;if(g==-1){a=gD((MD(),ID));d=true;i=!i;}else {h=BD(a,g);i&&nD(h);c&&(eD=hD(0,0,0));return h}}else if(a.h>>19!=0){f=true;a=xD(a);d=true;i=!i;}if(g!=-1){return kD(a,g,i,f,c)}if(uD(a,b)<0){c&&(f?(eD=xD(a)):(eD=hD(a.l,a.m,a.h)));return hD(0,0,0)}return lD(d?a:hD(a.l,a.m,a.h),b,i,f,e,c)} + function Bjb(a,b){var c,d,e,f,g,h,i,j,k,l,m,n,o;g=a.e;i=b.e;if(g==0){return b}if(i==0){return a}f=a.d;h=b.d;if(f+h==2){c=Cdb(a.a[0],yxe);d=Cdb(b.a[0],yxe);if(g==i){k=Bdb(c,d);o=Ydb(k);n=Ydb(Udb(k,32));return n==0?new ajb(g,o):new cjb(g,2,cD(WC(kE,1),Pwe,28,15,[o,n]))}return Pib(),Jdb(g<0?Vdb(d,c):Vdb(c,d),0)?jjb(g<0?Vdb(d,c):Vdb(c,d)):Xib(jjb(Odb(g<0?Vdb(d,c):Vdb(c,d))))}else if(g==i){m=g;l=f>=h?Cjb(a.a,f,b.a,h):Cjb(b.a,h,a.a,f);}else {e=f!=h?f>h?1:-1:Ejb(a.a,b.a,f);if(e==0){return Pib(),Oib}if(e==1){m=g;l=Hjb(a.a,f,b.a,h);}else {m=i;l=Hjb(b.a,h,a.a,f);}}j=new cjb(m,l.length,l);Rib(j);return j} + function KUc(a,b){var c,d,e,f,g,h,i;if(a.g>b.f||b.g>a.f){return}c=0;d=0;for(g=a.w.a.ec().Kc();g.Ob();){e=RD(g.Pb(),12);AVc(xjd(cD(WC(l3,1),Nve,8,0,[e.i.n,e.n,e.a])).b,b.g,b.f)&&++c;}for(h=a.r.a.ec().Kc();h.Ob();){e=RD(h.Pb(),12);AVc(xjd(cD(WC(l3,1),Nve,8,0,[e.i.n,e.n,e.a])).b,b.g,b.f)&&--c;}for(i=b.w.a.ec().Kc();i.Ob();){e=RD(i.Pb(),12);AVc(xjd(cD(WC(l3,1),Nve,8,0,[e.i.n,e.n,e.a])).b,a.g,a.f)&&++d;}for(f=b.r.a.ec().Kc();f.Ob();){e=RD(f.Pb(),12);AVc(xjd(cD(WC(l3,1),Nve,8,0,[e.i.n,e.n,e.a])).b,a.g,a.f)&&--d;}if(c=0){return c}switch(yfe(Qee(a,c))){case 2:{if(lhb('',Oee(a,c.qk()).xe())){i=Bfe(Qee(a,c));h=Afe(Qee(a,c));k=Ree(a,b,i,h);if(k){return k}e=Fee(a,b);for(g=0,l=e.gc();g1){throw Adb(new agb(gLe))}k=pke(a.e.Dh(),b);d=RD(a.g,124);for(g=0;g1;for(j=new l4b(m.b);xnb(j.a)||xnb(j.b);){i=RD(xnb(j.a)?ynb(j.a):ynb(j.b),18);l=i.c==m?i.d:i.c;$wnd.Math.abs(xjd(cD(WC(l3,1),Nve,8,0,[l.i.n,l.n,l.a])).b-g.b)>1&&eSc(a,i,g,f,m);}}} + function vUc(a){var b,c,d,e,f,g;e=new Jkb(a.e,0);d=new Jkb(a.a,0);if(a.d){for(c=0;cAEe){f=b;g=0;while($wnd.Math.abs(b-f)0);e.a.Xb(e.c=--e.b);uUc(a,a.b-g,f,d,e);sFb(e.b0);d.a.Xb(d.c=--d.b);}if(!a.d){for(c=0;c0){a.f[k.p]=n/(k.e.c.length+k.g.c.length);a.c=$wnd.Math.min(a.c,a.f[k.p]);a.b=$wnd.Math.max(a.b,a.f[k.p]);}else h&&(a.f[k.p]=n);}} + function xne(a){a.b=null;a.bb=null;a.fb=null;a.qb=null;a.a=null;a.c=null;a.d=null;a.e=null;a.f=null;a.n=null;a.M=null;a.L=null;a.Q=null;a.R=null;a.K=null;a.db=null;a.eb=null;a.g=null;a.i=null;a.j=null;a.k=null;a.gb=null;a.o=null;a.p=null;a.q=null;a.r=null;a.$=null;a.ib=null;a.S=null;a.T=null;a.t=null;a.s=null;a.u=null;a.v=null;a.w=null;a.B=null;a.A=null;a.C=null;a.D=null;a.F=null;a.G=null;a.H=null;a.I=null;a.J=null;a.P=null;a.Z=null;a.U=null;a.V=null;a.W=null;a.X=null;a.Y=null;a._=null;a.ab=null;a.cb=null;a.hb=null;a.nb=null;a.lb=null;a.mb=null;a.ob=null;a.pb=null;a.jb=null;a.kb=null;a.N=false;a.O=false;} + function C8b(a,b,c){var d,e,f,g;c.Ug('Graph transformation ('+a.a+')',1);g=bv(b.a);for(f=new Anb(b.b);f.a=h.b.c)&&(h.b=b);if(!h.c||b.c<=h.c.c){h.d=h.c;h.c=b;}(!h.e||b.d>=h.e.d)&&(h.e=b);(!h.f||b.d<=h.f.d)&&(h.f=b);}d=new PZb((nZb(),jZb));t$b(a,AZb,new mob(cD(WC(wQ,1),rve,382,0,[d])));g=new PZb(mZb);t$b(a,zZb,new mob(cD(WC(wQ,1),rve,382,0,[g])));e=new PZb(kZb);t$b(a,yZb,new mob(cD(WC(wQ,1),rve,382,0,[e])));f=new PZb(lZb);t$b(a,xZb,new mob(cD(WC(wQ,1),rve,382,0,[f])));FZb(d.c,jZb);FZb(e.c,kZb);FZb(f.c,lZb);FZb(g.c,mZb);h.a.c.length=0;Tmb(h.a,d.c);Tmb(h.a,hv(e.c));Tmb(h.a,f.c);Tmb(h.a,hv(g.c));return h} + function n9c(a,b){var c,d,e,f,g,h,i,j,k,l,m,n,o;b.Ug(bGe,1);n=Kfb(UD(Gxd(a,(X6c(),W6c))));g=Kfb(UD(Gxd(a,(X7c(),Q7c))));h=RD(Gxd(a,N7c),107);Bad((!a.a&&(a.a=new C5d(J4,a,10,11)),a.a));k=U8c((!a.a&&(a.a=new C5d(J4,a,10,11)),a.a),n,g);!a.a&&(a.a=new C5d(J4,a,10,11));for(j=new Anb(k);j.a0){a.a=i+(n-1)*f;b.c.b+=a.a;b.f.b+=a.a;}}if(o.a.gc()!=0){m=new TTc(1,f);n=STc(m,b,o,p,b.f.b+i-b.c.b);n>0&&(b.f.b+=i+(n-1)*f);}} + function osc(a,b,c){var d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;k=Kfb(UD(mQb(a,(yCc(),WBc))));d=Kfb(UD(mQb(a,nCc)));m=new dtd;pQb(m,WBc,k+d);j=b;r=j.d;p=j.c.i;s=j.d.i;q=Q4b(p.c);t=Q4b(s.c);e=new bnb;for(l=q;l<=t;l++){h=new j3b(a);h3b(h,(r3b(),o3b));pQb(h,(Ywc(),Awc),j);pQb(h,BBc,(Bod(),wod));pQb(h,YBc,m);n=RD(Vmb(a.b,l),30);l==q?f3b(h,n.a.c.length-c,n):g3b(h,n);u=Kfb(UD(mQb(j,FAc)));if(u<0){u=0;pQb(j,FAc,u);}h.o.b=u;o=$wnd.Math.floor(u/2);g=new R3b;Q3b(g,(qpd(),ppd));P3b(g,h);g.n.b=o;i=new R3b;Q3b(i,Xod);P3b(i,h);i.n.b=o;Z0b(j,g);f=new a1b;kQb(f,j);pQb(f,RAc,null);Y0b(f,i);Z0b(f,r);psc(h,j,f);ZEb(e.c,f);j=f;}return e} + function Hec(a,b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t;i=RD(e3b(a,(qpd(),ppd)).Kc().Pb(),12).e;n=RD(e3b(a,Xod).Kc().Pb(),12).g;h=i.c.length;t=K3b(RD(Vmb(a.j,0),12));while(h-->0){p=(tFb(0,i.c.length),RD(i.c[0],18));e=(tFb(0,n.c.length),RD(n.c[0],18));s=e.d.e;f=Wmb(s,e,0);$0b(p,e.d,f);Y0b(e,null);Z0b(e,null);o=p.a;b&&Mub(o,new sjd(t));for(d=Sub(e.a,0);d.b!=d.d.c;){c=RD(evb(d),8);Mub(o,new sjd(c));}r=p.b;for(m=new Anb(e.b);m.ag)&&Ysb(a.b,RD(q.b,18));}}++h;}f=g;}}}} + function zhd(b,c){var d;if(c==null||lhb(c,vve)){return null}if(c.length==0&&b.k!=(kid(),fid)){return null}switch(b.k.g){case 1:return mhb(c,FGe)?(Geb(),Feb):mhb(c,GGe)?(Geb(),Eeb):null;case 2:try{return sgb(Oeb(c,qwe,lve))}catch(a){a=zdb(a);if(ZD(a,130)){return null}else throw Adb(a)}case 4:try{return Neb(c)}catch(a){a=zdb(a);if(ZD(a,130)){return null}else throw Adb(a)}case 3:return c;case 5:uhd(b);return xhd(b,c);case 6:uhd(b);return yhd(b,b.a,c);case 7:try{d=whd(b);d.cg(c);return d}catch(a){a=zdb(a);if(ZD(a,33)){return null}else throw Adb(a)}default:throw Adb(new dgb('Invalid type set for this layout option.'));}} + function JKd(a){var b;switch(a.d){case 1:{if(a.Sj()){return a.o!=-2}break}case 2:{if(a.Sj()){return a.o==-2}break}case 3:case 5:case 4:case 6:case 7:{return a.o>-2}default:{return false}}b=a.Rj();switch(a.p){case 0:return b!=null&&Heb(TD(b))!=Pdb(a.k,0);case 1:return b!=null&&RD(b,222).a!=Ydb(a.k)<<24>>24;case 2:return b!=null&&RD(b,180).a!=(Ydb(a.k)&Bwe);case 6:return b!=null&&Pdb(RD(b,168).a,a.k);case 5:return b!=null&&RD(b,17).a!=Ydb(a.k);case 7:return b!=null&&RD(b,191).a!=Ydb(a.k)<<16>>16;case 3:return b!=null&&Kfb(UD(b))!=a.j;case 4:return b!=null&&RD(b,161).a!=a.j;default:return b==null?a.n!=null:!pb(b,a.n);}} + function N_d(a,b,c){var d,e,f,g;if(a.ol()&&a.nl()){g=O_d(a,RD(c,58));if(dE(g)!==dE(c)){a.xj(b);a.Dj(b,P_d(a,b,g));if(a.al()){f=(e=RD(c,54),a.ml()?a.kl()?e.Th(a.b,Z5d(RD(vYd(Uwd(a.b),a.Lj()),19)).n,RD(vYd(Uwd(a.b),a.Lj()).Hk(),29).kk(),null):e.Th(a.b,BYd(e.Dh(),Z5d(RD(vYd(Uwd(a.b),a.Lj()),19))),null,null):e.Th(a.b,-1-a.Lj(),null,null));!RD(g,54).Ph()&&(f=(d=RD(g,54),a.ml()?a.kl()?d.Rh(a.b,Z5d(RD(vYd(Uwd(a.b),a.Lj()),19)).n,RD(vYd(Uwd(a.b),a.Lj()).Hk(),29).kk(),f):d.Rh(a.b,BYd(d.Dh(),Z5d(RD(vYd(Uwd(a.b),a.Lj()),19))),null,f):d.Rh(a.b,-1-a.Lj(),null,f)));!!f&&f.oj();}Mvd(a.b)&&a.Jj(a.Ij(9,c,g,b,false));return g}}return c} + function iJb(a){var b,c,d,e,f,g,h,i,j,k;d=new bnb;for(g=new Anb(a.e.a);g.a0&&(g=$wnd.Math.max(g,zMb(a.C.b+d.d.b,e)));}else {n=m+k.d.c+a.w+d.d.b;g=$wnd.Math.max(g,(Zy(),bz(Tye),$wnd.Math.abs(l-e)<=Tye||l==e||isNaN(l)&&isNaN(e)?0:n/(e-l)));}k=d;l=e;m=f;}if(!!a.C&&a.C.c>0){n=m+a.C.c;j&&(n+=k.d.c);g=$wnd.Math.max(g,(Zy(),bz(Tye),$wnd.Math.abs(l-1)<=Tye||l==1||isNaN(l)&&isNaN(1)?0:n/(1-l)));}c.n.b=0;c.a.a=g;} + function ENb(a,b){var c,d,e,f,g,h,i,j,k,l,m,n;c=RD(Vrb(a.b,b),127);i=RD(RD(Qc(a.r,b),21),87);if(i.dc()){c.n.d=0;c.n.a=0;return}j=a.u.Hc((Pod(),Lod));g=0;a.A.Hc((Qpd(),Ppd))&&JNb(a,b);h=i.Kc();k=null;m=0;l=0;while(h.Ob()){d=RD(h.Pb(),117);f=Kfb(UD(d.b.of((tNb(),sNb))));e=d.b.Mf().b;if(!k){!!a.C&&a.C.d>0&&(g=$wnd.Math.max(g,zMb(a.C.d+d.d.d,f)));}else {n=l+k.d.a+a.w+d.d.d;g=$wnd.Math.max(g,(Zy(),bz(Tye),$wnd.Math.abs(m-f)<=Tye||m==f||isNaN(m)&&isNaN(f)?0:n/(f-m)));}k=d;m=f;l=e;}if(!!a.C&&a.C.a>0){n=l+a.C.a;j&&(n+=k.d.a);g=$wnd.Math.max(g,(Zy(),bz(Tye),$wnd.Math.abs(m-1)<=Tye||m==1||isNaN(m)&&isNaN(1)?0:n/(1-m)));}c.n.d=0;c.a.b=g;} + function L8c(a,b,c,d,e,f,g,h){var i,j,k,l,m,n,o,p,q,r;o=false;j=dad(c.q,b.f+b.b-c.q.f);n=d.f>b.b&&h;r=e-(c.q.e+j-g);l=(i=S9c(d,r,false),i.a);if(n&&l>d.f){return false}if(n){m=0;for(q=new Anb(b.d);q.a=(tFb(f,a.c.length),RD(a.c[f],186)).e;if(!n&&l>b.b&&!k){return false}if(k||n||l<=b.b){if(k&&l>b.b){c.d=l;Q9c(c,P9c(c,l));}else {ead(c.q,j);c.c=true;}Q9c(d,e-(c.s+c.r));U9c(d,c.q.e+c.q.d,b.f);Cad(b,d);if(a.c.length>f){Fad((tFb(f,a.c.length),RD(a.c[f],186)),d);(tFb(f,a.c.length),RD(a.c[f],186)).a.c.length==0&&Xmb(a,f);}o=true;}return o} + function zJc(a,b,c){var d,e,f,g,h,i;this.g=a;h=b.d.length;i=c.d.length;this.d=$C(jR,WAe,10,h+i,0,1);for(g=0;g0?xJc(this,this.f/this.a):pJc(b.g,b.d[0]).a!=null&&pJc(c.g,c.d[0]).a!=null?xJc(this,(Kfb(pJc(b.g,b.d[0]).a)+Kfb(pJc(c.g,c.d[0]).a))/2):pJc(b.g,b.d[0]).a!=null?xJc(this,pJc(b.g,b.d[0]).a):pJc(c.g,c.d[0]).a!=null&&xJc(this,pJc(c.g,c.d[0]).a);} + function DXb(a,b){var c,d,e,f,g,h,i,j,k,l;a.a=new fYb(wsb(s3));for(d=new Anb(b.a);d.a=1){if(q-g>0&&l>=0){i.n.a+=p;i.n.b+=f*g;}else if(q-g<0&&k>=0){i.n.a+=p*q;i.n.b+=f;}}}a.o.a=b.a;a.o.b=b.b;pQb(a,(yCc(),lBc),(Qpd(),d=RD(mfb(H3),9),new Fsb(d,RD(WEb(d,d.length),9),0)));} + function ISd(a,b,c,d,e,f){var g;if(!(b==null||!mSd(b,ZRd,$Rd))){throw Adb(new agb('invalid scheme: '+b))}if(!a&&!(c!=null&&qhb(c,Fhb(35))==-1&&c.length>0&&(BFb(0,c.length),c.charCodeAt(0)!=47))){throw Adb(new agb('invalid opaquePart: '+c))}if(a&&!(b!=null&&tpb(eSd,b.toLowerCase()))&&!(c==null||!mSd(c,aSd,bSd))){throw Adb(new agb(NJe+c))}if(a&&b!=null&&tpb(eSd,b.toLowerCase())&&!ESd(c)){throw Adb(new agb(NJe+c))}if(!FSd(d)){throw Adb(new agb('invalid device: '+d))}if(!HSd(e)){g=e==null?'invalid segments: null':'invalid segment: '+tSd(e);throw Adb(new agb(g))}if(!(f==null||qhb(f,Fhb(35))==-1)){throw Adb(new agb('invalid query: '+f))}} + function WHc(a,b,c){var d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;c.Ug('Network simplex layering',1);a.b=b;r=RD(mQb(b,(yCc(),gCc)),17).a*4;q=a.b.a;if(q.c.length<1){c.Vg();return}f=SHc(a,q);p=null;for(e=Sub(f,0);e.b!=e.d.c;){d=RD(evb(e),15);h=r*eE($wnd.Math.sqrt(d.gc()));g=VHc(d);lJb(yJb(AJb(zJb(CJb(g),h),p),true),c.eh(1));m=a.b.b;for(o=new Anb(g.a);o.a1){p=$C(kE,Pwe,28,a.b.b.c.length,15,1);l=0;for(j=new Anb(a.b.b);j.a0){wA(a,c,0);c.a+=String.fromCharCode(d);e=BA(b,f);wA(a,c,e);f+=e-1;continue}if(d==39){if(f+10&&o.a<=0){i.c.length=0;ZEb(i.c,o);break}n=o.i-o.d;if(n>=h){if(n>h){i.c.length=0;h=n;}ZEb(i.c,o);}}if(i.c.length!=0){g=RD(Vmb(i,Jwb(e,i.c.length)),118);t.a.Bc(g)!=null;g.g=k++;wSc(g,b,c,d);i.c.length=0;}}q=a.c.length+1;for(m=new Anb(a);m.apxe||b.o==CQc&&k=h&&e<=i){if(h<=e&&f<=i){c[k++]=e;c[k++]=f;d+=2;}else if(h<=e){c[k++]=e;c[k++]=i;a.b[d]=i+1;g+=2;}else if(f<=i){c[k++]=h;c[k++]=f;d+=2;}else {c[k++]=h;c[k++]=i;a.b[d]=i+1;}}else if(ipwe)&&h<10);BYb(a.c,new bYb);QXb(a);xYb(a.c);AXb(a.f);} + function B9b(a,b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p;c=RD(mQb(a,(yCc(),BBc)),101);g=a.f;f=a.d;h=g.a+f.b+f.c;i=0-f.d-a.c.b;k=g.b+f.d+f.a-a.c.b;j=new bnb;l=new bnb;for(e=new Anb(b);e.a=2){i=Sub(c,0);g=RD(evb(i),8);h=RD(evb(i),8);while(h.a0&&aHb(j,true,(Cmd(),zmd));h.k==(r3b(),m3b)&&bHb(j);Zjb(a.f,h,b);}}} + function OVc(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;e=RD(mQb(a,(q$c(),h$c)),27);j=lve;k=lve;h=qwe;i=qwe;for(t=Sub(a.b,0);t.b!=t.d.c;){r=RD(evb(t),40);n=r.e;o=r.f;j=$wnd.Math.min(j,n.a-o.a/2);k=$wnd.Math.min(k,n.b-o.b/2);h=$wnd.Math.max(h,n.a+o.a/2);i=$wnd.Math.max(i,n.b+o.b/2);}m=RD(Gxd(e,(h_c(),T$c)),107);for(s=Sub(a.b,0);s.b!=s.d.c;){r=RD(evb(s),40);l=mQb(r,h$c);if(ZD(l,207)){f=RD(l,27);Byd(f,r.e.a,r.e.b);zxd(f,r);}}for(q=Sub(a.a,0);q.b!=q.d.c;){p=RD(evb(q),65);d=RD(mQb(p,h$c),74);if(d){b=p.a;c=IGd(d,true,true);lsd(b,c);}}u=h-j+(m.b+m.c);g=i-k+(m.d+m.a);Heb(TD(Gxd(e,(umd(),mld))))||Esd(e,u,g,false,false);Ixd(e,Ikd,u-(m.b+m.c));Ixd(e,Hkd,g-(m.d+m.a));} + function Wec(a,b){var c,d,e,f,g,h,i,j,k,l;i=true;e=0;j=a.g[b.p];k=b.o.b+a.o;c=a.d[b.p][2];$mb(a.b,j,sgb(RD(Vmb(a.b,j),17).a-1+c));$mb(a.c,j,Kfb(UD(Vmb(a.c,j)))-k+c*a.f);++j;if(j>=a.j){++a.j;Rmb(a.b,sgb(1));Rmb(a.c,k);}else {d=a.d[b.p][1];$mb(a.b,j,sgb(RD(Vmb(a.b,j),17).a+1-d));$mb(a.c,j,Kfb(UD(Vmb(a.c,j)))+k-d*a.f);}(a.r==(aEc(),VDc)&&(RD(Vmb(a.b,j),17).a>a.k||RD(Vmb(a.b,j-1),17).a>a.k)||a.r==YDc&&(Kfb(UD(Vmb(a.c,j)))>a.n||Kfb(UD(Vmb(a.c,j-1)))>a.n))&&(i=false);for(g=new is(Mr(Z2b(b).a.Kc(),new ir));gs(g);){f=RD(hs(g),18);h=f.c.i;if(a.g[h.p]==j){l=Wec(a,h);e=e+RD(l.a,17).a;i=i&&Heb(TD(l.b));}}a.g[b.p]=j;e=e+a.d[b.p][0];return new Ptd(sgb(e),(Geb(),i?true:false))} + function cXb(a,b){var c,d,e,f,g;c=Kfb(UD(mQb(b,(yCc(),TBc))));c<2&&pQb(b,TBc,2);d=RD(mQb(b,rAc),88);d==(Cmd(),Amd)&&pQb(b,rAc,i2b(b));e=RD(mQb(b,NBc),17);e.a==0?pQb(b,(Ywc(),Lwc),new Owb):pQb(b,(Ywc(),Lwc),new Pwb(e.a));f=TD(mQb(b,gBc));f==null&&pQb(b,gBc,(Geb(),dE(mQb(b,yAc))===dE((Ymd(),Umd))?true:false));FDb(new SDb(null,new Swb(b.a,16)),new fXb(a));FDb(EDb(new SDb(null,new Swb(b.b,16)),new hXb),new jXb(a));g=new gFc(b);pQb(b,(Ywc(),Qwc),g);Sed(a.a);Ved(a.a,(sXb(),nXb),RD(mQb(b,pAc),188));Ved(a.a,oXb,RD(mQb(b,$Ac),188));Ved(a.a,pXb,RD(mQb(b,oAc),188));Ved(a.a,qXb,RD(mQb(b,kBc),188));Ved(a.a,rXb,KRc(RD(mQb(b,yAc),223)));Ped(a.a,bXb(b));pQb(b,Kwc,Qed(a.a,b));} + function STc(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q,r;l=new Tsb;g=new bnb;QTc(a,c,a.d.Ag(),g,l);QTc(a,d,a.d.Bg(),g,l);a.b=0.2*(p=RTc(EDb(new SDb(null,new Swb(g,16)),new XTc)),q=RTc(EDb(new SDb(null,new Swb(g,16)),new ZTc)),$wnd.Math.min(p,q));f=0;for(h=0;h=2&&(r=uSc(g,true,m),!a.e&&(a.e=new xTc(a)),tTc(a.e,r,g,a.b),undefined);UTc(g,m);WTc(g);n=-1;for(k=new Anb(g);k.ah} + function Iad(a,b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s;j=oxe;k=oxe;h=pxe;i=pxe;for(m=new Anb(b.i);m.a-1){for(e=Sub(h,0);e.b!=e.d.c;){d=RD(evb(e),131);d.v=g;}while(h.b!=0){d=RD(ku(h,0),131);for(c=new Anb(d.i);c.a-1){for(f=new Anb(h);f.a0){continue}RSc(i,$wnd.Math.min(i.o,e.o-1));QSc(i,i.i-1);i.i==0&&(ZEb(h.c,i),true);}}}} + function Lid(a,b,c,d,e){var f,g,h,i;i=oxe;g=false;h=Gid(a,ojd(new rjd(b.a,b.b),a),$id(new rjd(c.a,c.b),e),ojd(new rjd(d.a,d.b),c));f=!!h&&!($wnd.Math.abs(h.a-a.a)<=IGe&&$wnd.Math.abs(h.b-a.b)<=IGe||$wnd.Math.abs(h.a-b.a)<=IGe&&$wnd.Math.abs(h.b-b.b)<=IGe);h=Gid(a,ojd(new rjd(b.a,b.b),a),c,e);!!h&&(($wnd.Math.abs(h.a-a.a)<=IGe&&$wnd.Math.abs(h.b-a.b)<=IGe)==($wnd.Math.abs(h.a-b.a)<=IGe&&$wnd.Math.abs(h.b-b.b)<=IGe)||f?(i=$wnd.Math.min(i,ejd(ojd(h,c)))):(g=true));h=Gid(a,ojd(new rjd(b.a,b.b),a),d,e);!!h&&(g||($wnd.Math.abs(h.a-a.a)<=IGe&&$wnd.Math.abs(h.b-a.b)<=IGe)==($wnd.Math.abs(h.a-b.a)<=IGe&&$wnd.Math.abs(h.b-b.b)<=IGe)||f)&&(i=$wnd.Math.min(i,ejd(ojd(h,d))));return i} + function eWb(a){Cgd(a,new Pfd(Wfd($fd(Xfd(Zfd(Yfd(new agd,AAe),BAe),"Minimizes the stress within a layout using stress majorization. Stress exists if the euclidean distance between a pair of nodes doesn't match their graph theoretic distance, that is, the shortest path between the two nodes. The method allows to specify individual edge lengths."),new hWb),Zze)));Agd(a,AAe,dAe,iGd(XVb));Agd(a,AAe,fAe,(Geb(),true));Agd(a,AAe,jAe,iGd($Vb));Agd(a,AAe,CAe,iGd(_Vb));Agd(a,AAe,iAe,iGd(aWb));Agd(a,AAe,kAe,iGd(ZVb));Agd(a,AAe,gAe,iGd(bWb));Agd(a,AAe,lAe,iGd(cWb));Agd(a,AAe,vAe,iGd(WVb));Agd(a,AAe,xAe,iGd(UVb));Agd(a,AAe,yAe,iGd(VVb));Agd(a,AAe,zAe,iGd(YVb));Agd(a,AAe,wAe,iGd(TVb));} + function kJc(a){var b,c,d,e,f,g,h,i;b=null;for(d=new Anb(a);d.a0&&c.c==0){!b&&(b=new bnb);ZEb(b.c,c);}}if(b){while(b.c.length!=0){c=RD(Xmb(b,0),239);if(!!c.b&&c.b.c.length>0){for(f=(!c.b&&(c.b=new bnb),new Anb(c.b));f.aWmb(a,c,0)){return new Ptd(e,c)}}else if(Kfb(pJc(e.g,e.d[0]).a)>Kfb(pJc(c.g,c.d[0]).a)){return new Ptd(e,c)}}}for(h=(!c.e&&(c.e=new bnb),c.e).Kc();h.Ob();){g=RD(h.Pb(),239);i=(!g.b&&(g.b=new bnb),g.b);wFb(0,i.c.length);XEb(i.c,0,c);g.c==i.c.length&&(ZEb(b.c,g),true);}}}return null} + function _Jc(a,b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;b.Ug('Interactive crossing minimization',1);g=0;for(f=new Anb(a.b);f.a0){c+=i.n.a+i.o.a/2;++l;}for(o=new Anb(i.j);o.a0&&(c/=l);r=$C(iE,vxe,28,d.a.c.length,15,1);h=0;for(j=new Anb(d.a);j.a=h&&e<=i){if(h<=e&&f<=i){d+=2;}else if(h<=e){a.b[d]=i+1;g+=2;}else if(f<=i){c[k++]=e;c[k++]=h-1;d+=2;}else {c[k++]=e;c[k++]=h-1;a.b[d]=i+1;g+=2;}}else if(i2){k=new bnb;Tmb(k,new Rkb(r,1,r.b));f=jTb(k,t+a.a);s=new ORb(f);kQb(s,b);ZEb(c.c,s);}else {d?(s=RD(Wjb(a.b,JGd(b)),272)):(s=RD(Wjb(a.b,LGd(b)),272));}i=JGd(b);d&&(i=LGd(b));g=qTb(q,i);j=t+a.a;if(g.a){j+=$wnd.Math.abs(q.b-l.b);p=new rjd(l.a,(l.b+q.b)/2);}else {j+=$wnd.Math.abs(q.a-l.a);p=new rjd((l.a+q.a)/2,l.b);}d?Zjb(a.d,b,new QRb(s,g,p,j)):Zjb(a.c,b,new QRb(s,g,p,j));Zjb(a.b,b,s);o=(!b.n&&(b.n=new C5d(I4,b,1,7)),b.n);for(n=new dMd(o);n.e!=n.i.gc();){m=RD(bMd(n),135);e=nTb(a,m,true,0,0);ZEb(c.c,e);}} + function sMb(a){var b,c,d,e,f,g,h;if(a.A.dc()){return}if(a.A.Hc((Qpd(),Opd))){RD(Vrb(a.b,(qpd(),Yod)),127).k=true;RD(Vrb(a.b,npd),127).k=true;b=a.q!=(Bod(),xod)&&a.q!=wod;QJb(RD(Vrb(a.b,Xod),127),b);QJb(RD(Vrb(a.b,ppd),127),b);QJb(a.g,b);if(a.A.Hc(Ppd)){RD(Vrb(a.b,Yod),127).j=true;RD(Vrb(a.b,npd),127).j=true;RD(Vrb(a.b,Xod),127).k=true;RD(Vrb(a.b,ppd),127).k=true;a.g.k=true;}}if(a.A.Hc(Npd)){a.a.j=true;a.a.k=true;a.g.j=true;a.g.k=true;h=a.B.Hc((dqd(),_pd));for(e=nMb(),f=0,g=e.length;f0),RD(k.a.Xb(k.c=--k.b),18));while(f!=d&&k.b>0){a.a[f.p]=true;a.a[d.p]=true;f=(sFb(k.b>0),RD(k.a.Xb(k.c=--k.b),18));}k.b>0&&Ckb(k);}}}}} + function Zyb(a,b,c){var d,e,f,g,h,i,j,k,l,m,n;if(!a.b){return false}g=null;m=null;i=new Fzb(null,null);e=1;i.a[1]=a.b;l=i;while(l.a[e]){j=e;h=m;m=l;l=l.a[e];d=a.a.Ne(b,l.d);e=d<0?0:1;d==0&&(!c.c||Fvb(l.e,c.d))&&(g=l);if(!(!!l&&l.b)&&!Vyb(l.a[e])){if(Vyb(l.a[1-e])){m=m.a[j]=azb(l,e);}else if(!Vyb(l.a[1-e])){n=m.a[1-j];if(n){if(!Vyb(n.a[1-j])&&!Vyb(n.a[j])){m.b=false;n.b=true;l.b=true;}else {f=h.a[1]==m?1:0;Vyb(n.a[j])?(h.a[f]=_yb(m,j)):Vyb(n.a[1-j])&&(h.a[f]=azb(m,j));l.b=h.a[f].b=true;h.a[f].a[0].b=false;h.a[f].a[1].b=false;}}}}}if(g){c.b=true;c.d=g.e;if(l!=g){k=new Fzb(l.d,l.e);$yb(a,i,g,k);m==g&&(m=k);}m.a[m.a[1]==l?1:0]=l.a[!l.a[0]?1:0];--a.c;}a.b=i.a[1];!!a.b&&(a.b.b=false);return c.b} + function Ilc(a){var b,c,d,e,f,g,h,i,j,k,l,m;for(e=new Anb(a.a.a.b);e.a0?(e-=86400000):(e+=86400000);i=new wB(Bdb(Hdb(b.q.getTime()),e));}k=new cib;j=a.a.length;for(f=0;f=97&&d<=122||d>=65&&d<=90){for(g=f+1;g=j){throw Adb(new agb("Missing trailing '"))}g+1=14&&k<=16))){if(b.a._b(d)){!c.a?(c.a=new dib(c.d)):Zhb(c.a,c.b);Whb(c.a,'[...]');}else {h=SD(d);j=new btb(b);Gyb(c,Inb(h,j));}}else ZD(d,183)?Gyb(c,hob(RD(d,183))):ZD(d,195)?Gyb(c,aob(RD(d,195))):ZD(d,201)?Gyb(c,bob(RD(d,201))):ZD(d,2111)?Gyb(c,gob(RD(d,2111))):ZD(d,53)?Gyb(c,eob(RD(d,53))):ZD(d,376)?Gyb(c,fob(RD(d,376))):ZD(d,846)?Gyb(c,dob(RD(d,846))):ZD(d,109)&&Gyb(c,cob(RD(d,109)));}else {Gyb(c,d==null?vve:jeb(d));}}return !c.a?c.c:c.e.length==0?c.a.a:c.a.a+(''+c.e)} + function KXd(a,b){var c,d,e,f;f=a.F;if(b==null){a.F=null;yXd(a,null);}else {a.F=(uFb(b),b);d=qhb(b,Fhb(60));if(d!=-1){e=(AFb(0,d,b.length),b.substr(0,d));qhb(b,Fhb(46))==-1&&!lhb(e,hve)&&!lhb(e,dKe)&&!lhb(e,eKe)&&!lhb(e,fKe)&&!lhb(e,gKe)&&!lhb(e,hKe)&&!lhb(e,iKe)&&!lhb(e,jKe)&&(e=kKe);c=thb(b,Fhb(62));c!=-1&&(e+=''+(BFb(c+1,b.length+1),b.substr(c+1)));yXd(a,e);}else {e=b;if(qhb(b,Fhb(46))==-1){d=qhb(b,Fhb(91));d!=-1&&(e=(AFb(0,d,b.length),b.substr(0,d)));if(!lhb(e,hve)&&!lhb(e,dKe)&&!lhb(e,eKe)&&!lhb(e,fKe)&&!lhb(e,gKe)&&!lhb(e,hKe)&&!lhb(e,iKe)&&!lhb(e,jKe)){e=kKe;d!=-1&&(e+=''+(BFb(d,b.length+1),b.substr(d)));}else {e=b;}}yXd(a,e);e==b&&(a.F=a.D);}}(a.Db&4)!=0&&(a.Db&1)==0&&qvd(a,new N3d(a,1,5,f,b));} + function Pvd(b,c){var d,e,f,g,h,i,j,k,l,m;j=c.length-1;i=(BFb(j,c.length),c.charCodeAt(j));if(i==93){h=qhb(c,Fhb(91));if(h>=0){f=Uvd(b,(AFb(1,h,c.length),c.substr(1,h-1)));l=(AFb(h+1,j,c.length),c.substr(h+1,j-(h+1)));return Nvd(b,l,f)}}else {d=-1;_eb==null&&(_eb=new RegExp('\\d'));if(_eb.test(String.fromCharCode(i))){d=uhb(c,Fhb(46),j-1);if(d>=0){e=RD(Fvd(b,Zvd(b,(AFb(1,d,c.length),c.substr(1,d-1))),false),61);k=0;try{k=Oeb((BFb(d+1,c.length+1),c.substr(d+1)),qwe,lve);}catch(a){a=zdb(a);if(ZD(a,130)){g=a;throw Adb(new RSd(g))}else throw Adb(a)}if(k>16==-10){c=RD(a.Cb,292).Yk(b,c);}else if(a.Db>>16==-15){!b&&(b=(JTd(),wTd));!j&&(j=(JTd(),wTd));if(a.Cb.Yh()){i=new P3d(a.Cb,1,13,j,b,fZd(o4d(RD(a.Cb,62)),a),false);!c?(c=i):c.nj(i);}}}else if(ZD(a.Cb,90)){if(a.Db>>16==-23){ZD(b,90)||(b=(JTd(),zTd));ZD(j,90)||(j=(JTd(),zTd));if(a.Cb.Yh()){i=new P3d(a.Cb,1,10,j,b,fZd(tYd(RD(a.Cb,29)),a),false);!c?(c=i):c.nj(i);}}}else if(ZD(a.Cb,457)){h=RD(a.Cb,850);g=(!h.b&&(h.b=new pae(new lae)),h.b);for(f=(d=new vkb((new mkb(g.a)).a),new xae(d));f.a.b;){e=RD(tkb(f.a).ld(),89);c=o2d(e,k2d(e,h),c);}}}return c} + function Y4b(a,b){var c,d,e,f,g,h,i,j,k,l,m;g=Heb(TD(Gxd(a,(yCc(),NAc))));m=RD(Gxd(a,EBc),21);i=false;j=false;l=new dMd((!a.c&&(a.c=new C5d(K4,a,9,9)),a.c));while(l.e!=l.i.gc()&&(!i||!j)){f=RD(bMd(l),123);h=0;for(e=Fl(Al(cD(WC(cJ,1),rve,20,0,[(!f.d&&(f.d=new Yie(G4,f,8,5)),f.d),(!f.e&&(f.e=new Yie(G4,f,7,4)),f.e)])));gs(e);){d=RD(hs(e),74);k=g&&ozd(d)&&Heb(TD(Gxd(d,OAc)));c=cZd((!d.b&&(d.b=new Yie(E4,d,4,7)),d.b),f)?a==vCd(AGd(RD(QHd((!d.c&&(d.c=new Yie(E4,d,5,8)),d.c),0),84))):a==vCd(AGd(RD(QHd((!d.b&&(d.b=new Yie(E4,d,4,7)),d.b),0),84)));if(k||c){++h;if(h>1){break}}}h>0?(i=true):m.Hc((Pod(),Lod))&&(!f.n&&(f.n=new C5d(I4,f,1,7)),f.n).i>0&&(i=true);h>1&&(j=true);}i&&b.Fc((ovc(),hvc));j&&b.Fc((ovc(),ivc));} + function Dsd(a){var b,c,d,e,f,g,h,i,j,k,l,m;m=RD(Gxd(a,(umd(),kld)),21);if(m.dc()){return null}h=0;g=0;if(m.Hc((Qpd(),Opd))){k=RD(Gxd(a,Hld),101);d=2;c=2;e=2;f=2;b=!vCd(a)?RD(Gxd(a,Nkd),88):RD(Gxd(vCd(a),Nkd),88);for(j=new dMd((!a.c&&(a.c=new C5d(K4,a,9,9)),a.c));j.e!=j.i.gc();){i=RD(bMd(j),123);l=RD(Gxd(i,Old),64);if(l==(qpd(),opd)){l=osd(i,b);Ixd(i,Old,l);}if(k==(Bod(),wod)){switch(l.g){case 1:d=$wnd.Math.max(d,i.i+i.g);break;case 2:c=$wnd.Math.max(c,i.j+i.f);break;case 3:e=$wnd.Math.max(e,i.i+i.g);break;case 4:f=$wnd.Math.max(f,i.j+i.f);}}else {switch(l.g){case 1:d+=i.g+2;break;case 2:c+=i.f+2;break;case 3:e+=i.g+2;break;case 4:f+=i.f+2;}}}h=$wnd.Math.max(d,e);g=$wnd.Math.max(c,f);}return Esd(a,h,g,true,true)} + function Rqc(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;s=RD(zDb(PDb(CDb(new SDb(null,new Swb(b.d,16)),new Vqc(c)),new Xqc(c)),tBb(new ZBb,new XBb,new wCb,cD(WC(QL,1),jwe,108,0,[(xBb(),vBb)]))),15);l=lve;k=qwe;for(i=new Anb(b.b.j);i.a0;if(j){if(j){m=r.p;g?++m:--m;l=RD(Vmb(r.c.a,m),10);d=Z7b(l);n=!(Did(d,w,c[0])||yid(d,w,c[0]));}}else {n=true;}}o=false;v=b.D.i;if(!!v&&!!v.c&&h.e){k=g&&v.p>0||!g&&v.p=0){i=null;h=new Jkb(k.a,j+1);while(h.bg?1:cz(isNaN(0),isNaN(g)))<0&&(bz(vEe),($wnd.Math.abs(g-1)<=vEe||g==1||isNaN(g)&&isNaN(1)?0:g<1?-1:g>1?1:cz(isNaN(g),isNaN(1)))<0)&&(bz(vEe),($wnd.Math.abs(0-h)<=vEe||0==h||isNaN(0)&&isNaN(h)?0:0h?1:cz(isNaN(0),isNaN(h)))<0)&&(bz(vEe),($wnd.Math.abs(h-1)<=vEe||h==1||isNaN(h)&&isNaN(1)?0:h<1?-1:h>1?1:cz(isNaN(h),isNaN(1)))<0));return f} + function EXd(b){var c,d,e,f;d=b.D!=null?b.D:b.B;c=qhb(d,Fhb(91));if(c!=-1){e=(AFb(0,c,d.length),d.substr(0,c));f=new Qhb;do f.a+='[';while((c=phb(d,91,++c))!=-1);if(lhb(e,hve))f.a+='Z';else if(lhb(e,dKe))f.a+='B';else if(lhb(e,eKe))f.a+='C';else if(lhb(e,fKe))f.a+='D';else if(lhb(e,gKe))f.a+='F';else if(lhb(e,hKe))f.a+='I';else if(lhb(e,iKe))f.a+='J';else if(lhb(e,jKe))f.a+='S';else {f.a+='L';f.a+=''+e;f.a+=';';}try{return null}catch(a){a=zdb(a);if(!ZD(a,63))throw Adb(a)}}else if(qhb(d,Fhb(46))==-1){if(lhb(d,hve))return xdb;else if(lhb(d,dKe))return gE;else if(lhb(d,eKe))return hE;else if(lhb(d,fKe))return iE;else if(lhb(d,gKe))return jE;else if(lhb(d,hKe))return kE;else if(lhb(d,iKe))return lE;else if(lhb(d,jKe))return wdb}return null} + function pTb(a,b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,A;a.e=b;h=RSb(b);w=new bnb;for(d=new Anb(h);d.a=0&&p=j.c.c.length?(k=hOc((r3b(),p3b),o3b)):(k=hOc((r3b(),o3b),o3b));k*=2;f=c.a.g;c.a.g=$wnd.Math.max(f,f+(k-f));g=c.b.g;c.b.g=$wnd.Math.max(g,g+(k-g));e=b;}}} + function qkc(a){var b,c,d,e;FDb(CDb(new SDb(null,new Swb(a.a.b,16)),new Qkc),new Skc);okc(a);FDb(CDb(new SDb(null,new Swb(a.a.b,16)),new Ukc),new Wkc);if(a.c==(Ymd(),Wmd)){FDb(CDb(EDb(new SDb(null,new Swb(new Xkb(a.f),1)),new clc),new elc),new glc(a));FDb(CDb(GDb(EDb(EDb(new SDb(null,new Swb(a.d.b,16)),new klc),new mlc),new olc),new qlc),new slc(a));}e=new rjd(oxe,oxe);b=new rjd(pxe,pxe);for(d=new Anb(a.a.b);d.a0&&(b.a+=pve,b);Csd(RD(bMd(h),167),b);}b.a+=SAe;i=new mMd((!d.c&&(d.c=new Yie(E4,d,5,8)),d.c));while(i.e!=i.i.gc()){i.e>0&&(b.a+=pve,b);Csd(RD(bMd(i),167),b);}b.a+=')';}}} + function LTb(a,b,c){var d,e,f,g,h,i,j,k;for(i=new dMd((!a.a&&(a.a=new C5d(J4,a,10,11)),a.a));i.e!=i.i.gc();){h=RD(bMd(i),27);for(e=new is(Mr(zGd(h).a.Kc(),new ir));gs(e);){d=RD(hs(e),74);!d.b&&(d.b=new Yie(E4,d,4,7));if(!(d.b.i<=1&&(!d.c&&(d.c=new Yie(E4,d,5,8)),d.c.i<=1))){throw Adb(new Ked('Graph must not contain hyperedges.'))}if(!nzd(d)&&h!=AGd(RD(QHd((!d.c&&(d.c=new Yie(E4,d,5,8)),d.c),0),84))){j=new cUb;kQb(j,d);pQb(j,(JVb(),HVb),d);_Tb(j,RD(Wd(qtb(c.f,h)),153));aUb(j,RD(Wjb(c,AGd(RD(QHd((!d.c&&(d.c=new Yie(E4,d,5,8)),d.c),0),84))),153));Rmb(b.c,j);for(g=new dMd((!d.n&&(d.n=new C5d(I4,d,1,7)),d.n));g.e!=g.i.gc();){f=RD(bMd(g),135);k=new iUb(j,f.a);kQb(k,f);pQb(k,HVb,f);k.e.a=$wnd.Math.max(f.g,1);k.e.b=$wnd.Math.max(f.f,1);hUb(k);Rmb(b.d,k);}}}}} + function Vec(a,b,c){var d,e,f,g,h,i,j,k,l,m;c.Ug('Node promotion heuristic',1);a.i=b;a.r=RD(mQb(b,(yCc(),ZAc)),243);a.r!=(aEc(),TDc)&&a.r!=UDc?Tec(a):Uec(a);k=RD(mQb(a.i,YAc),17).a;f=new nfc;switch(a.r.g){case 2:case 1:Yec(a,f);break;case 3:a.r=_Dc;Yec(a,f);i=0;for(h=new Anb(a.b);h.aa.k){a.r=VDc;Yec(a,f);}break;case 4:a.r=_Dc;Yec(a,f);j=0;for(e=new Anb(a.c);e.aa.n){a.r=YDc;Yec(a,f);}break;case 6:m=eE($wnd.Math.ceil(a.g.length*k/100));Yec(a,new qfc(m));break;case 5:l=eE($wnd.Math.ceil(a.e*k/100));Yec(a,new tfc(l));break;case 8:Sec(a,true);break;case 9:Sec(a,false);break;default:Yec(a,f);}a.r!=TDc&&a.r!=UDc?Zec(a,b):$ec(a,b);c.Vg();} + function $rc(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t;l=a.b;k=new Jkb(l,0);Ikb(k,new R4b(a));s=false;g=1;while(k.b0){m.d+=k.n.d;m.d+=k.d;}if(m.a>0){m.a+=k.n.a;m.a+=k.d;}if(m.b>0){m.b+=k.n.b;m.b+=k.d;}if(m.c>0){m.c+=k.n.c;m.c+=k.d;}return m} + function u9b(a,b,c){var d,e,f,g,h,i,j,k,l,m,n,o;m=c.d;l=c.c;f=new rjd(c.f.a+c.d.b+c.d.c,c.f.b+c.d.d+c.d.a);g=f.b;for(j=new Anb(a.a);j.a0){a.c[b.c.p][b.p].d+=Kwb(a.i,24)*Nxe*0.07000000029802322-0.03500000014901161;a.c[b.c.p][b.p].a=a.c[b.c.p][b.p].d/a.c[b.c.p][b.p].b;}} + function D8b(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q;for(o=new Anb(a);o.ad.d;d.d=$wnd.Math.max(d.d,b);if(h&&c){d.d=$wnd.Math.max(d.d,d.a);d.a=d.d+e;}break;case 3:c=b>d.a;d.a=$wnd.Math.max(d.a,b);if(h&&c){d.a=$wnd.Math.max(d.a,d.d);d.d=d.a+e;}break;case 2:c=b>d.c;d.c=$wnd.Math.max(d.c,b);if(h&&c){d.c=$wnd.Math.max(d.b,d.c);d.b=d.c+e;}break;case 4:c=b>d.b;d.b=$wnd.Math.max(d.b,b);if(h&&c){d.b=$wnd.Math.max(d.b,d.c);d.c=d.b+e;}}}}} + function pA(a,b){var c,d,e,f,g,h,i,j,k;j='';if(b.length==0){return a.ne(ywe,wwe,-1,-1)}k=Dhb(b);lhb(k.substr(0,3),'at ')&&(k=(BFb(3,k.length+1),k.substr(3)));k=k.replace(/\[.*?\]/g,'');g=k.indexOf('(');if(g==-1){g=k.indexOf('@');if(g==-1){j=k;k='';}else {j=Dhb((BFb(g+1,k.length+1),k.substr(g+1)));k=Dhb((AFb(0,g,k.length),k.substr(0,g)));}}else {c=k.indexOf(')',g);j=(AFb(g+1,c,k.length),k.substr(g+1,c-(g+1)));k=Dhb((AFb(0,g,k.length),k.substr(0,g)));}g=qhb(k,Fhb(46));g!=-1&&(k=(BFb(g+1,k.length+1),k.substr(g+1)));(k.length==0||lhb(k,'Anonymous function'))&&(k=wwe);h=thb(j,Fhb(58));e=uhb(j,Fhb(58),h-1);i=-1;d=-1;f=ywe;if(h!=-1&&e!=-1){f=(AFb(0,e,j.length),j.substr(0,e));i=jA((AFb(e+1,h,j.length),j.substr(e+1,h-(e+1))));d=jA((BFb(h+1,j.length+1),j.substr(h+1)));}return a.ne(f,k,i,d)} + function C6b(a){var b,c,d,e,f,g,h,i,j,k,l;for(j=new Anb(a);j.a0||k.j==ppd&&k.e.c.length-k.g.c.length<0)){b=false;break}for(e=new Anb(k.g);e.a=j&&v>=q){m+=o.n.b+p.n.b+p.a.b-u;++h;}}}}if(c){for(g=new Anb(s.e);g.a=j&&v>=q){m+=o.n.b+p.n.b+p.a.b-u;++h;}}}}}if(h>0){w+=m/h;++n;}}if(n>0){b.a=e*w/n;b.g=n;}else {b.a=0;b.g=0;}} + function hTb(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,A;f=a.f.b;m=f.a;k=f.b;o=a.e.g;n=a.e.f;zyd(a.e,f.a,f.b);w=m/o;A=k/n;for(j=new dMd(iyd(a.e));j.e!=j.i.gc();){i=RD(bMd(j),135);Dyd(i,i.i*w);Eyd(i,i.j*A);}for(s=new dMd(wCd(a.e));s.e!=s.i.gc();){r=RD(bMd(s),123);u=r.i;v=r.j;u>0&&Dyd(r,u*w);v>0&&Eyd(r,v*A);}Bvb(a.b,new tTb);b=new bnb;for(h=new vkb((new mkb(a.c)).a);h.b;){g=tkb(h);d=RD(g.ld(),74);c=RD(g.md(),407).a;e=IGd(d,false,false);l=fTb(JGd(d),ssd(e),c);lsd(l,e);t=KGd(d);if(!!t&&Wmb(b,t,0)==-1){ZEb(b.c,t);gTb(t,(sFb(l.b!=0),RD(l.a.a.c,8)),c);}}for(q=new vkb((new mkb(a.d)).a);q.b;){p=tkb(q);d=RD(p.ld(),74);c=RD(p.md(),407).a;e=IGd(d,false,false);l=fTb(LGd(d),Ijd(ssd(e)),c);l=Ijd(l);lsd(l,e);t=MGd(d);if(!!t&&Wmb(b,t,0)==-1){ZEb(b.c,t);gTb(t,(sFb(l.b!=0),RD(l.c.b.c,8)),c);}}} + function GJb(a,b,c,d){var e,f,g,h,i;h=new CLb(b);iNb(h,d);e=true;if(!!a&&a.pf((umd(),Nkd))){f=RD(a.of((umd(),Nkd)),88);e=f==(Cmd(),Amd)||f==ymd||f==zmd;}$Mb(h,false);Umb(h.e.Rf(),new dNb(h,false,e));EMb(h,h.f,(ZJb(),WJb),(qpd(),Yod));EMb(h,h.f,YJb,npd);EMb(h,h.g,WJb,ppd);EMb(h,h.g,YJb,Xod);GMb(h,Yod);GMb(h,npd);FMb(h,Xod);FMb(h,ppd);RMb();g=h.A.Hc((Qpd(),Mpd))&&h.B.Hc((dqd(),$pd))?SMb(h):null;!!g&&uKb(h.a,g);XMb(h);xMb(h);GNb(h);sMb(h);gNb(h);yNb(h);oNb(h,Yod);oNb(h,npd);tMb(h);fNb(h);if(!c){return h.o}VMb(h);CNb(h);oNb(h,Xod);oNb(h,ppd);i=h.B.Hc((dqd(),_pd));IMb(h,i,Yod);IMb(h,i,npd);JMb(h,i,Xod);JMb(h,i,ppd);FDb(new SDb(null,new Swb(new glb(h.i),0)),new KMb);FDb(CDb(new SDb(null,ki(h.r).a.oc()),new MMb),new OMb);WMb(h);h.e.Pf(h.o);FDb(new SDb(null,ki(h.r).a.oc()),new YMb);return h.o} + function LYb(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p;j=oxe;for(d=new Anb(a.a.b);d.a1){n=new xVc(o,t,d);xgb(t,new nVc(a,n));ZEb(g.c,n);for(l=t.a.ec().Kc();l.Ob();){k=RD(l.Pb(),42);Ymb(f,k.b);}}if(h.a.gc()>1){n=new xVc(o,h,d);xgb(h,new pVc(a,n));ZEb(g.c,n);for(l=h.a.ec().Kc();l.Ob();){k=RD(l.Pb(),42);Ymb(f,k.b);}}}} + function p6b(a,b,c){var d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;p=a.n;q=a.o;m=a.d;l=Kfb(UD(hFc(a,(yCc(),QBc))));if(b){k=l*(b.gc()-1);n=0;for(i=b.Kc();i.Ob();){g=RD(i.Pb(),10);k+=g.o.a;n=$wnd.Math.max(n,g.o.b);}r=p.a-(k-q.a)/2;f=p.b-m.d+n;d=q.a/(b.gc()+1);e=d;for(h=b.Kc();h.Ob();){g=RD(h.Pb(),10);g.n.a=r;g.n.b=f-g.o.b;r+=g.o.a+l;j=n6b(g);j.n.a=g.o.a/2-j.a.a;j.n.b=g.o.b;o=RD(mQb(g,(Ywc(),Xvc)),12);if(o.e.c.length+o.g.c.length==1){o.n.a=e-o.a.a;o.n.b=0;P3b(o,a);}e+=d;}}if(c){k=l*(c.gc()-1);n=0;for(i=c.Kc();i.Ob();){g=RD(i.Pb(),10);k+=g.o.a;n=$wnd.Math.max(n,g.o.b);}r=p.a-(k-q.a)/2;f=p.b+q.b+m.a-n;d=q.a/(c.gc()+1);e=d;for(h=c.Kc();h.Ob();){g=RD(h.Pb(),10);g.n.a=r;g.n.b=f;r+=g.o.a+l;j=n6b(g);j.n.a=g.o.a/2-j.a.a;j.n.b=0;o=RD(mQb(g,(Ywc(),Xvc)),12);if(o.e.c.length+o.g.c.length==1){o.n.a=e-o.a.a;o.n.b=q.b;P3b(o,a);}e+=d;}}} + function Hac(a,b){var c,d,e,f,g,h;if(!RD(mQb(b,(Ywc(),kwc)),21).Hc((ovc(),hvc))){return}for(h=new Anb(b.a);h.a=0&&g0&&(RD(Vrb(a.b,b),127).a.b=c);} + function wcc(a,b,c,d){var e,f,g,h,i,j,k,l,m,n,o,p;m=Kfb(UD(mQb(a,(yCc(),_Bc))));n=Kfb(UD(mQb(a,aCc)));l=Kfb(UD(mQb(a,ZBc)));h=a.o;f=RD(Vmb(a.j,0),12);g=f.n;p=ucc(f,l);if(!p){return}if(b.Hc((Pod(),Lod))){switch(RD(mQb(a,(Ywc(),hwc)),64).g){case 1:p.c=(h.a-p.b)/2-g.a;p.d=n;break;case 3:p.c=(h.a-p.b)/2-g.a;p.d=-n-p.a;break;case 2:if(c&&f.e.c.length==0&&f.g.c.length==0){k=d?p.a:RD(Vmb(f.f,0),72).o.b;p.d=(h.b-k)/2-g.b;}else {p.d=h.b+n-g.b;}p.c=-m-p.b;break;case 4:if(c&&f.e.c.length==0&&f.g.c.length==0){k=d?p.a:RD(Vmb(f.f,0),72).o.b;p.d=(h.b-k)/2-g.b;}else {p.d=h.b+n-g.b;}p.c=m;}}else if(b.Hc(Nod)){switch(RD(mQb(a,(Ywc(),hwc)),64).g){case 1:case 3:p.c=g.a+m;break;case 2:case 4:if(c&&!f.c){k=d?p.a:RD(Vmb(f.f,0),72).o.b;p.d=(h.b-k)/2-g.b;}else {p.d=g.b+n;}}}e=p.d;for(j=new Anb(f.f);j.a=b.length)return {done:true};var a=b[d++];return {value:[a,c.get(a)],done:false}}}};if(!Ftb()){e.prototype.createObject=function(){return {}};e.prototype.get=function(a){return this.obj[':'+a]};e.prototype.set=function(a,b){this.obj[':'+a]=b;};e.prototype[Jxe]=function(a){delete this.obj[':'+a];};e.prototype.keys=function(){var a=[];for(var b in this.obj){b.charCodeAt(0)==58&&a.push(b.substring(1));}return a};}return e} + function q$c(){q$c=geb;h$c=new jGd(rAe);new kGd('DEPTH',sgb(0));XZc=new kGd('FAN',sgb(0));VZc=new kGd(QEe,sgb(0));n$c=new kGd('ROOT',(Geb(),false));b$c=new kGd('LEFTNEIGHBOR',null);l$c=new kGd('RIGHTNEIGHBOR',null);c$c=new kGd('LEFTSIBLING',null);m$c=new kGd('RIGHTSIBLING',null);WZc=new kGd('DUMMY',false);new kGd('LEVEL',sgb(0));k$c=new kGd('REMOVABLE_EDGES',new Yub);o$c=new kGd('XCOOR',sgb(0));p$c=new kGd('YCOOR',sgb(0));d$c=new kGd('LEVELHEIGHT',0);f$c=new kGd('LEVELMIN',0);e$c=new kGd('LEVELMAX',0);ZZc=new kGd('GRAPH_XMIN',0);_Zc=new kGd('GRAPH_YMIN',0);YZc=new kGd('GRAPH_XMAX',0);$Zc=new kGd('GRAPH_YMAX',0);UZc=new kGd('COMPACT_LEVEL_ASCENSION',false);TZc=new kGd('COMPACT_CONSTRAINTS',new bnb);a$c=new kGd('ID','');i$c=new kGd('POSITION',sgb(0));j$c=new kGd('PRELIM',0);g$c=new kGd('MODIFIER',0);SZc=new jGd(tAe);RZc=new jGd(uAe);} + function Bqe(a){zqe();var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q;if(a==null)return null;l=a.length*8;if(l==0){return ''}h=l%24;n=l/24|0;m=h!=0?n+1:n;f=null;f=$C(hE,zwe,28,m*4,15,1);j=0;k=0;b=0;c=0;d=0;g=0;e=0;for(i=0;i>24;j=(b&3)<<24>>24;o=(b&-128)==0?b>>2<<24>>24:(b>>2^192)<<24>>24;p=(c&-128)==0?c>>4<<24>>24:(c>>4^240)<<24>>24;q=(d&-128)==0?d>>6<<24>>24:(d>>6^252)<<24>>24;f[g++]=yqe[o];f[g++]=yqe[p|j<<4];f[g++]=yqe[k<<2|q];f[g++]=yqe[d&63];}if(h==8){b=a[e];j=(b&3)<<24>>24;o=(b&-128)==0?b>>2<<24>>24:(b>>2^192)<<24>>24;f[g++]=yqe[o];f[g++]=yqe[j<<4];f[g++]=61;f[g++]=61;}else if(h==16){b=a[e];c=a[e+1];k=(c&15)<<24>>24;j=(b&3)<<24>>24;o=(b&-128)==0?b>>2<<24>>24:(b>>2^192)<<24>>24;p=(c&-128)==0?c>>4<<24>>24:(c>>4^240)<<24>>24;f[g++]=yqe[o];f[g++]=yqe[p|j<<4];f[g++]=yqe[k<<2];f[g++]=61;}return Ihb(f,0,f.length)} + function CB(a,b){var c,d,e,f,g,h,i;a.e==0&&a.p>0&&(a.p=-(a.p-1));a.p>qwe&&tB(b,a.p-Owe);g=b.q.getDate();nB(b,1);a.k>=0&&qB(b,a.k);if(a.c>=0){nB(b,a.c);}else if(a.k>=0){i=new vB(b.q.getFullYear()-Owe,b.q.getMonth(),35);d=35-i.q.getDate();nB(b,$wnd.Math.min(d,g));}else {nB(b,g);}a.f<0&&(a.f=b.q.getHours());a.b>0&&a.f<12&&(a.f+=12);oB(b,a.f==24&&a.g?0:a.f);a.j>=0&&pB(b,a.j);a.n>=0&&rB(b,a.n);a.i>=0&&sB(b,Bdb(Ndb(Fdb(Hdb(b.q.getTime()),Awe),Awe),a.i));if(a.a){e=new uB;tB(e,e.q.getFullYear()-Owe-80);Ldb(Hdb(b.q.getTime()),Hdb(e.q.getTime()))&&tB(b,e.q.getFullYear()-Owe+100);}if(a.d>=0){if(a.c==-1){c=(7+a.d-b.q.getDay())%7;c>3&&(c-=7);h=b.q.getMonth();nB(b,b.q.getDate()+c);b.q.getMonth()!=h&&nB(b,b.q.getDate()+(c>0?-7:7));}else {if(b.q.getDay()!=a.d){return false}}}if(a.o>qwe){f=b.q.getTimezoneOffset();sB(b,Bdb(Hdb(b.q.getTime()),(a.o-f)*60*Awe));}return true} + function J5b(a,b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;e=mQb(b,(Ywc(),Awc));if(!ZD(e,207)){return}o=RD(e,27);p=b.e;m=new sjd(b.c);f=b.d;m.a+=f.b;m.b+=f.d;u=RD(Gxd(o,(yCc(),oBc)),181);if(Csb(u,(dqd(),Xpd))){n=RD(Gxd(o,qBc),107);E2b(n,f.a);H2b(n,f.d);F2b(n,f.b);G2b(n,f.c);}c=new bnb;for(k=new Anb(b.a);k.ad.c.length-1){Rmb(d,new Ptd(Hze,KEe));}c=RD(mQb(e,f_c),17).a;if(Dmd(RD(mQb(a,H$c),88))){e.e.aKfb(UD((tFb(c,d.c.length),RD(d.c[c],42)).b))&&Otd((tFb(c,d.c.length),RD(d.c[c],42)),e.e.a+e.f.a);}else {e.e.bKfb(UD((tFb(c,d.c.length),RD(d.c[c],42)).b))&&Otd((tFb(c,d.c.length),RD(d.c[c],42)),e.e.b+e.f.b);}}for(f=Sub(a.b,0);f.b!=f.d.c;){e=RD(evb(f),40);c=RD(mQb(e,(h_c(),f_c)),17).a;pQb(e,(q$c(),f$c),UD((tFb(c,d.c.length),RD(d.c[c],42)).a));pQb(e,e$c,UD((tFb(c,d.c.length),RD(d.c[c],42)).b));}b.Vg();} + function Tec(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p;a.o=Kfb(UD(mQb(a.i,(yCc(),bCc))));a.f=Kfb(UD(mQb(a.i,XBc)));a.j=a.i.b.c.length;h=a.j-1;m=0;a.k=0;a.n=0;a.b=dv($C(bJ,Nve,17,a.j,0,1));a.c=dv($C(VI,Nve,345,a.j,7,1));for(g=new Anb(a.i.b);g.a0&&Rmb(a.q,k);Rmb(a.p,k);}b-=d;n=i+b;j+=b*a.f;$mb(a.b,h,sgb(n));$mb(a.c,h,j);a.k=$wnd.Math.max(a.k,n);a.n=$wnd.Math.max(a.n,j);a.e+=b;b+=p;}} + function qpd(){qpd=geb;var a;opd=new upd(Sye,0);Yod=new upd(_ye,1);Xod=new upd(aze,2);npd=new upd(bze,3);ppd=new upd(cze,4);bpd=(yob(),new Lqb((a=RD(mfb(E3),9),new Fsb(a,RD(WEb(a,a.length),9),0))));cpd=eq(ysb(Yod,cD(WC(E3,1),NAe,64,0,[])));Zod=eq(ysb(Xod,cD(WC(E3,1),NAe,64,0,[])));kpd=eq(ysb(npd,cD(WC(E3,1),NAe,64,0,[])));mpd=eq(ysb(ppd,cD(WC(E3,1),NAe,64,0,[])));hpd=eq(ysb(Yod,cD(WC(E3,1),NAe,64,0,[npd])));apd=eq(ysb(Xod,cD(WC(E3,1),NAe,64,0,[ppd])));jpd=eq(ysb(Yod,cD(WC(E3,1),NAe,64,0,[ppd])));dpd=eq(ysb(Yod,cD(WC(E3,1),NAe,64,0,[Xod])));lpd=eq(ysb(npd,cD(WC(E3,1),NAe,64,0,[ppd])));$od=eq(ysb(Xod,cD(WC(E3,1),NAe,64,0,[npd])));gpd=eq(ysb(Yod,cD(WC(E3,1),NAe,64,0,[Xod,ppd])));_od=eq(ysb(Xod,cD(WC(E3,1),NAe,64,0,[npd,ppd])));ipd=eq(ysb(Yod,cD(WC(E3,1),NAe,64,0,[npd,ppd])));epd=eq(ysb(Yod,cD(WC(E3,1),NAe,64,0,[Xod,npd])));fpd=eq(ysb(Yod,cD(WC(E3,1),NAe,64,0,[Xod,npd,ppd])));} + function Gfc(a,b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,A;b.Ug(qBe,1);p=new bnb;w=new bnb;for(j=new Anb(a.b);j.a0&&(t-=n);p2b(g,t);k=0;for(m=new Anb(g.a);m.a0);h.a.Xb(h.c=--h.b);}i=0.4*d*k;!f&&h.b0){j=(BFb(0,c.length),c.charCodeAt(0));if(j!=64){if(j==37){m=c.lastIndexOf('%');k=false;if(m!=0&&(m==n-1||(k=(BFb(m+1,c.length),c.charCodeAt(m+1)==46)))){h=(AFb(1,m,c.length),c.substr(1,m-1));u=lhb('%',h)?null:oSd(h);e=0;if(k){try{e=Oeb((BFb(m+2,c.length+1),c.substr(m+2)),qwe,lve);}catch(a){a=zdb(a);if(ZD(a,130)){i=a;throw Adb(new RSd(i))}else throw Adb(a)}}for(r=P2d(b.Gh());r.Ob();){p=k3d(r);if(ZD(p,519)){f=RD(p,598);t=f.d;if((u==null?t==null:lhb(u,t))&&e--==0){return f}}}return null}}l=c.lastIndexOf('.');o=l==-1?c:(AFb(0,l,c.length),c.substr(0,l));d=0;if(l!=-1){try{d=Oeb((BFb(l+1,c.length+1),c.substr(l+1)),qwe,lve);}catch(a){a=zdb(a);if(ZD(a,130)){o=c;}else throw Adb(a)}}o=lhb('%',o)?null:oSd(o);for(q=P2d(b.Gh());q.Ob();){p=k3d(q);if(ZD(p,197)){g=RD(p,197);s=g.xe();if((o==null?s==null:lhb(o,s))&&d--==0){return g}}}return null}}return Pvd(b,c)} + function Hlc(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s;k=new Tsb;i=new Tp;for(d=new Anb(a.a.a.b);d.ab.d.c){n=a.c[b.a.d];q=a.c[l.a.d];if(n==q){continue}rIb(uIb(tIb(vIb(sIb(new wIb,1),100),n),q));}}}}}}} + function mNb(a,b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w;m=RD(RD(Qc(a.r,b),21),87);if(b==(qpd(),Xod)||b==ppd){qNb(a,b);return}f=b==Yod?(mOb(),iOb):(mOb(),lOb);u=b==Yod?(vLb(),uLb):(vLb(),sLb);c=RD(Vrb(a.b,b),127);d=c.i;e=d.c+Hid(cD(WC(iE,1),vxe,28,15,[c.n.b,a.C.b,a.k]));r=d.c+d.b-Hid(cD(WC(iE,1),vxe,28,15,[c.n.c,a.C.c,a.k]));g=WNb(_Nb(f),a.t);s=b==Yod?pxe:oxe;for(l=m.Kc();l.Ob();){j=RD(l.Pb(),117);if(!j.c||j.c.d.c.length<=0){continue}q=j.b.Mf();p=j.e;n=j.c;o=n.i;o.b=(i=n.n,n.e.a+i.b+i.c);o.a=(h=n.n,n.e.b+h.d+h.a);Ivb(u,Pye);n.f=u;RKb(n,(EKb(),DKb));o.c=p.a-(o.b-q.a)/2;v=$wnd.Math.min(e,p.a);w=$wnd.Math.max(r,p.a+q.a);o.cw&&(o.c=w-o.b);Rmb(g.d,new sOb(o,UNb(g,o)));s=b==Yod?$wnd.Math.max(s,p.b+j.b.Mf().b):$wnd.Math.min(s,p.b);}s+=b==Yod?a.t:-a.t;t=VNb((g.e=s,g));t>0&&(RD(Vrb(a.b,b),127).a.b=t);for(k=m.Kc();k.Ob();){j=RD(k.Pb(),117);if(!j.c||j.c.d.c.length<=0){continue}o=j.c.i;o.c-=j.e.a;o.d-=j.e.b;}} + function JSb(a){var b,c,d,e,f,g,h,i,j,k,l,m,n;b=new Tsb;for(i=new dMd(a);i.e!=i.i.gc();){h=RD(bMd(i),27);c=new _sb;Zjb(FSb,h,c);n=new TSb;e=RD(zDb(new SDb(null,new Twb(new is(Mr(yGd(h).a.Kc(),new ir)))),OBb(n,tBb(new ZBb,new XBb,new wCb,cD(WC(QL,1),jwe,108,0,[(xBb(),vBb)])))),85);ISb(c,RD(e.xc((Geb(),true)),16),new VSb);d=RD(zDb(CDb(RD(e.xc(false),15).Lc(),new XSb),tBb(new ZBb,new XBb,new wCb,cD(WC(QL,1),jwe,108,0,[vBb]))),15);for(g=d.Kc();g.Ob();){f=RD(g.Pb(),74);m=KGd(f);if(m){j=RD(Wd(qtb(b.f,m)),21);if(!j){j=LSb(m);rtb(b.f,m,j);}ye(c,j);}}e=RD(zDb(new SDb(null,new Twb(new is(Mr(zGd(h).a.Kc(),new ir)))),OBb(n,tBb(new ZBb,new XBb,new wCb,cD(WC(QL,1),jwe,108,0,[vBb])))),85);ISb(c,RD(e.xc(true),16),new ZSb);d=RD(zDb(CDb(RD(e.xc(false),15).Lc(),new _Sb),tBb(new ZBb,new XBb,new wCb,cD(WC(QL,1),jwe,108,0,[vBb]))),15);for(l=d.Kc();l.Ob();){k=RD(l.Pb(),74);m=MGd(k);if(m){j=RD(Wd(qtb(b.f,m)),21);if(!j){j=LSb(m);rtb(b.f,m,j);}ye(c,j);}}}} + function zjb(a,b){xjb();var c,d,e,f,g,h,i,j,k,l,m,n,o,p;i=Ddb(a,0)<0;i&&(a=Odb(a));if(Ddb(a,0)==0){switch(b){case 0:return '0';case 1:return zxe;case 2:return '0.00';case 3:return '0.000';case 4:return '0.0000';case 5:return '0.00000';case 6:return '0.000000';default:n=new bib;b<0?(n.a+='0E+',n):(n.a+='0E',n);n.a+=b==qwe?'2147483648':''+-b;return n.a;}}k=18;l=$C(hE,zwe,28,k+1,15,1);c=k;p=a;do{j=p;p=Fdb(p,10);l[--c]=Ydb(Bdb(48,Vdb(j,Ndb(p,10))))&Bwe;}while(Ddb(p,0)!=0);e=Vdb(Vdb(Vdb(k,c),b),1);if(b==0){i&&(l[--c]=45);return Ihb(l,c,k-c)}if(b>0&&Ddb(e,-6)>=0){if(Ddb(e,0)>=0){f=c+Ydb(e);for(h=k-1;h>=f;h--){l[h+1]=l[h];}l[++f]=46;i&&(l[--c]=45);return Ihb(l,c,k-c+1)}for(g=2;Ldb(g,Bdb(Odb(e),1));g++){l[--c]=48;}l[--c]=46;l[--c]=48;i&&(l[--c]=45);return Ihb(l,c,k-c)}o=c+1;d=k;m=new cib;i&&(m.a+='-',m);if(d-o>=1){Thb(m,l[c]);m.a+='.';m.a+=Ihb(l,c+1,k-c-1);}else {m.a+=Ihb(l,c,k-c);}m.a+='E';Ddb(e,0)>0&&(m.a+='+',m);m.a+=''+Zdb(e);return m.a} + function Esd(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w;q=new rjd(a.g,a.f);p=vsd(a);p.a=$wnd.Math.max(p.a,b);p.b=$wnd.Math.max(p.b,c);w=p.a/q.a;k=p.b/q.b;u=p.a-q.a;i=p.b-q.b;if(d){g=!vCd(a)?RD(Gxd(a,(umd(),Nkd)),88):RD(Gxd(vCd(a),(umd(),Nkd)),88);h=dE(Gxd(a,(umd(),Hld)))===dE((Bod(),wod));for(s=new dMd((!a.c&&(a.c=new C5d(K4,a,9,9)),a.c));s.e!=s.i.gc();){r=RD(bMd(s),123);t=RD(Gxd(r,Old),64);if(t==(qpd(),opd)){t=osd(r,g);Ixd(r,Old,t);}switch(t.g){case 1:h||Dyd(r,r.i*w);break;case 2:Dyd(r,r.i+u);h||Eyd(r,r.j*k);break;case 3:h||Dyd(r,r.i*w);Eyd(r,r.j+i);break;case 4:h||Eyd(r,r.j*k);}}}zyd(a,p.a,p.b);if(e){for(m=new dMd((!a.n&&(a.n=new C5d(I4,a,1,7)),a.n));m.e!=m.i.gc();){l=RD(bMd(m),135);n=l.i+l.g/2;o=l.j+l.f/2;v=n/q.a;j=o/q.b;if(v+j>=1){if(v-j>0&&o>=0){Dyd(l,l.i+u);Eyd(l,l.j+i*j);}else if(v-j<0&&n>=0){Dyd(l,l.i+u*v);Eyd(l,l.j+i);}}}}Ixd(a,(umd(),kld),(Qpd(),f=RD(mfb(H3),9),new Fsb(f,RD(WEb(f,f.length),9),0)));return new rjd(w,k)} + function _4c(a){Cgd(a,new Pfd(Wfd($fd(Xfd(Zfd(Yfd(new agd,CFe),'ELK Radial'),'A radial layout provider which is based on the algorithm of Peter Eades published in "Drawing free trees.", published by International Institute for Advanced Study of Social Information Science, Fujitsu Limited in 1991. The radial layouter takes a tree and places the nodes in radial order around the root. The nodes of the same tree level are placed on the same radius.'),new c5c),CFe)));Agd(a,CFe,fEe,iGd(R4c));Agd(a,CFe,_ze,iGd(Y4c));Agd(a,CFe,jAe,iGd(K4c));Agd(a,CFe,CAe,iGd(L4c));Agd(a,CFe,iAe,iGd(M4c));Agd(a,CFe,kAe,iGd(J4c));Agd(a,CFe,gAe,iGd(N4c));Agd(a,CFe,lAe,iGd(Q4c));Agd(a,CFe,tFe,iGd(H4c));Agd(a,CFe,sFe,iGd(I4c));Agd(a,CFe,rFe,iGd(T4c));Agd(a,CFe,xFe,iGd(W4c));Agd(a,CFe,yFe,iGd(U4c));Agd(a,CFe,zFe,iGd(V4c));Agd(a,CFe,wFe,iGd(O4c));Agd(a,CFe,pFe,iGd(P4c));Agd(a,CFe,qFe,iGd(S4c));Agd(a,CFe,uFe,iGd(X4c));Agd(a,CFe,vFe,iGd(Z4c));Agd(a,CFe,oFe,iGd(G4c));} + function Peb(a){var b,c,d,e,f,g,h,i,j,k,l;if(a==null){throw Adb(new Vgb(vve))}j=a;f=a.length;i=false;if(f>0){b=(BFb(0,a.length),a.charCodeAt(0));if(b==45||b==43){a=(BFb(1,a.length+1),a.substr(1));--f;i=b==45;}}if(f==0){throw Adb(new Vgb(nxe+j+'"'))}while(a.length>0&&(BFb(0,a.length),a.charCodeAt(0)==48)){a=(BFb(1,a.length+1),a.substr(1));--f;}if(f>(Ugb(),Sgb)[10]){throw Adb(new Vgb(nxe+j+'"'))}for(e=0;e0){l=-parseInt((AFb(0,d,a.length),a.substr(0,d)),10);a=(BFb(d,a.length+1),a.substr(d));f-=d;c=false;}while(f>=g){d=parseInt((AFb(0,g,a.length),a.substr(0,g)),10);a=(BFb(g,a.length+1),a.substr(g));f-=g;if(c){c=false;}else {if(Ddb(l,h)<0){throw Adb(new Vgb(nxe+j+'"'))}l=Ndb(l,k);}l=Vdb(l,d);}if(Ddb(l,0)>0){throw Adb(new Vgb(nxe+j+'"'))}if(!i){l=Odb(l);if(Ddb(l,0)<0){throw Adb(new Vgb(nxe+j+'"'))}}return l} + function oSd(a){gSd();var b,c,d,e,f,g,h,i;if(a==null)return null;e=qhb(a,Fhb(37));if(e<0){return a}else {i=new dib((AFb(0,e,a.length),a.substr(0,e)));b=$C(gE,YHe,28,4,15,1);h=0;d=0;for(g=a.length;ee+2&&zSd((BFb(e+1,a.length),a.charCodeAt(e+1)),XRd,YRd)&&zSd((BFb(e+2,a.length),a.charCodeAt(e+2)),XRd,YRd)){c=DSd((BFb(e+1,a.length),a.charCodeAt(e+1)),(BFb(e+2,a.length),a.charCodeAt(e+2)));e+=2;if(d>0){(c&192)==128?(b[h++]=c<<24>>24):(d=0);}else if(c>=128){if((c&224)==192){b[h++]=c<<24>>24;d=2;}else if((c&240)==224){b[h++]=c<<24>>24;d=3;}else if((c&248)==240){b[h++]=c<<24>>24;d=4;}}if(d>0){if(h==d){switch(h){case 2:{Thb(i,((b[0]&31)<<6|b[1]&63)&Bwe);break}case 3:{Thb(i,((b[0]&15)<<12|(b[1]&63)<<6|b[2]&63)&Bwe);break}}h=0;d=0;}}else {for(f=0;f=2){if((!a.a&&(a.a=new C5d(F4,a,6,6)),a.a).i==0){c=(bvd(),e=new Rzd,e);WGd((!a.a&&(a.a=new C5d(F4,a,6,6)),a.a),c);}else if((!a.a&&(a.a=new C5d(F4,a,6,6)),a.a).i>1){m=new mMd((!a.a&&(a.a=new C5d(F4,a,6,6)),a.a));while(m.e!=m.i.gc()){cMd(m);}}lsd(b,RD(QHd((!a.a&&(a.a=new C5d(F4,a,6,6)),a.a),0),166));}if(l){for(d=new dMd((!a.a&&(a.a=new C5d(F4,a,6,6)),a.a));d.e!=d.i.gc();){c=RD(bMd(d),166);for(j=new dMd((!c.a&&(c.a=new XZd(D4,c,5)),c.a));j.e!=j.i.gc();){i=RD(bMd(j),377);h.a=$wnd.Math.max(h.a,i.a);h.b=$wnd.Math.max(h.b,i.b);}}}for(g=new dMd((!a.n&&(a.n=new C5d(I4,a,1,7)),a.n));g.e!=g.i.gc();){f=RD(bMd(g),135);k=RD(Gxd(f,und),8);!!k&&Byd(f,k.a,k.b);if(l){h.a=$wnd.Math.max(h.a,f.i+f.g);h.b=$wnd.Math.max(h.b,f.j+f.f);}}return h} + function MA(a,b,c,d,e){var f,g,h;KA(a,b);g=b[0];f=ihb(c.c,0);h=-1;if(DA(c)){if(d>0){if(g+d>a.length){return false}h=HA((AFb(0,g+d,a.length),a.substr(0,g+d)),b);}else {h=HA(a,b);}}switch(f){case 71:h=EA(a,g,cD(WC(qJ,1),Nve,2,6,[Qwe,Rwe]),b);e.e=h;return true;case 77:return PA(a,b,e,h,g);case 76:return RA(a,b,e,h,g);case 69:return NA(a,b,g,e);case 99:return QA(a,b,g,e);case 97:h=EA(a,g,cD(WC(qJ,1),Nve,2,6,['AM','PM']),b);e.b=h;return true;case 121:return TA(a,b,g,h,c,e);case 100:if(h<=0){return false}e.c=h;return true;case 83:if(h<0){return false}return OA(h,g,b[0],e);case 104:h==12&&(h=0);case 75:case 72:if(h<0){return false}e.f=h;e.g=false;return true;case 107:if(h<0){return false}e.f=h;e.g=true;return true;case 109:if(h<0){return false}e.j=h;return true;case 115:if(h<0){return false}e.n=h;return true;case 90:if(gB[i]&&(q=i);for(l=new Anb(a.a.b);l.a1){e=N8c(b);l=f.g;o=RD(Gxd(b,N7c),107);p=Kfb(UD(Gxd(b,x7c)));(!b.a&&(b.a=new C5d(J4,b,10,11)),b.a).i>1&&Kfb(UD(Gxd(b,(X6c(),T6c))))!=oxe&&(f.c+(o.b+o.c))/(f.b+(o.d+o.a))1&&Kfb(UD(Gxd(b,(X6c(),S6c))))!=oxe&&(f.c+(o.b+o.c))/(f.b+(o.d+o.a))>p&&Ixd(e,(X6c(),W6c),$wnd.Math.max(Kfb(UD(Gxd(b,U6c))),Kfb(UD(Gxd(e,W6c)))-Kfb(UD(Gxd(b,S6c)))));n=new m9c(d,k);i=l9c(n,e,m);j=i.g;if(j>=l&&j==j){for(g=0;g<(!e.a&&(e.a=new C5d(J4,e,10,11)),e.a).i;g++){O8c(a,RD(QHd((!e.a&&(e.a=new C5d(J4,e,10,11)),e.a),g),27),RD(QHd((!b.a&&(b.a=new C5d(J4,b,10,11)),b.a),g),27));}P8c(b,n);jad(f,i.c);iad(f,i.b);}--h;}Ixd(b,(X6c(),N6c),f.b);Ixd(b,O6c,f.c);c.Vg();} + function fHc(a,b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s;b.Ug('Interactive node layering',1);c=new bnb;for(m=new Anb(a.a);m.a=h){sFb(s.b>0);s.a.Xb(s.c=--s.b);break}else if(q.a>i){if(!d){Rmb(q.b,k);q.c=$wnd.Math.min(q.c,i);q.a=$wnd.Math.max(q.a,h);d=q;}else {Tmb(d.b,q.b);d.a=$wnd.Math.max(d.a,q.a);Ckb(s);}}}if(!d){d=new jHc;d.c=i;d.a=h;Ikb(s,d);Rmb(d.b,k);}}g=a.b;j=0;for(r=new Anb(c);r.an){if(f){Oub(w,m);Oub(B,sgb(j.b-1));}H=c.b;I+=m+b;m=0;k=$wnd.Math.max(k,c.b+c.c+G);}Dyd(h,H);Eyd(h,I);k=$wnd.Math.max(k,H+G+c.c);m=$wnd.Math.max(m,l);H+=G+b;}k=$wnd.Math.max(k,d);F=I+m+c.a;if(FVze;C=$wnd.Math.abs(m.b-o.b)>Vze;(!c&&B&&C||c&&(B||C))&&Mub(q.a,u);}ye(q.a,d);d.b==0?(m=u):(m=(sFb(d.b!=0),RD(d.c.b.c,8)));j0b(n,l,p);if(I0b(e)==A){if(Y2b(A.i)!=e.a){p=new pjd;e2b(p,Y2b(A.i),s);}pQb(q,Wwc,p);}k0b(n,q,s);k.a.zc(n,k);}Y0b(q,v);Z0b(q,A);}for(j=k.a.ec().Kc();j.Ob();){i=RD(j.Pb(),18);Y0b(i,null);Z0b(i,null);}b.Vg();} + function lXc(a,b){var c,d,e,f,g,h,i,j,k,l,m;e=RD(mQb(a,(h_c(),H$c)),88);k=e==(Cmd(),ymd)||e==zmd?xmd:zmd;c=RD(zDb(CDb(new SDb(null,new Swb(a.b,16)),new $Xc),tBb(new ZBb,new XBb,new wCb,cD(WC(QL,1),jwe,108,0,[(xBb(),vBb)]))),15);i=RD(zDb(GDb(c.Oc(),new aYc(b)),tBb(new ZBb,new XBb,new wCb,cD(WC(QL,1),jwe,108,0,[vBb]))),15);i.Gc(RD(zDb(GDb(c.Oc(),new cYc(b)),tBb(new ZBb,new XBb,new wCb,cD(WC(QL,1),jwe,108,0,[vBb]))),16));i.jd(new eYc(k));m=new yAb(new iYc(e));d=new Tsb;for(h=i.Kc();h.Ob();){g=RD(h.Pb(),240);j=RD(g.a,40);if(Heb(TD(g.c))){m.a.zc(j,(Geb(),Eeb))==null;(new zAb(m.a.Zc(j,false))).a.gc()>0&&Zjb(d,j,RD((new zAb(m.a.Zc(j,false))).a.Vc(),40));(new zAb(m.a.ad(j,true))).a.gc()>1&&Zjb(d,nXc(m,j),j);}else {if((new zAb(m.a.Zc(j,false))).a.gc()>0){f=RD((new zAb(m.a.Zc(j,false))).a.Vc(),40);dE(f)===dE(Wd(qtb(d.f,j)))&&RD(mQb(j,(q$c(),TZc)),15).Fc(f);}if((new zAb(m.a.ad(j,true))).a.gc()>1){l=nXc(m,j);dE(Wd(qtb(d.f,l)))===dE(j)&&RD(mQb(l,(q$c(),TZc)),15).Fc(j);}m.a.Bc(j)!=null;}}} + function BTb(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;if(a.gc()==1){return RD(a.Xb(0),235)}else if(a.gc()<=0){return new gUb}for(e=a.Kc();e.Ob();){c=RD(e.Pb(),235);o=0;k=lve;l=lve;i=qwe;j=qwe;for(n=new Anb(c.e);n.ah){t=0;u+=g+r;g=0;}ATb(p,c,t,u);b=$wnd.Math.max(b,t+q.a);g=$wnd.Math.max(g,q.b);t+=q.a+r;}return p} + function Aqe(a){zqe();var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q;if(a==null)return null;f=Ahb(a);o=Dqe(f);if(o%4!=0){return null}p=o/4|0;if(p==0)return $C(gE,YHe,28,0,15,1);l=null;b=0;c=0;d=0;e=0;g=0;h=0;i=0;j=0;n=0;m=0;k=0;l=$C(gE,YHe,28,p*3,15,1);for(;n>4)<<24>>24;l[m++]=((c&15)<<4|d>>2&15)<<24>>24;l[m++]=(d<<6|e)<<24>>24;}if(!Cqe(g=f[k++])||!Cqe(h=f[k++])){return null}b=xqe[g];c=xqe[h];i=f[k++];j=f[k++];if(xqe[i]==-1||xqe[j]==-1){if(i==61&&j==61){if((c&15)!=0)return null;q=$C(gE,YHe,28,n*3+1,15,1);hib(l,0,q,0,n*3);q[m]=(b<<2|c>>4)<<24>>24;return q}else if(i!=61&&j==61){d=xqe[i];if((d&3)!=0)return null;q=$C(gE,YHe,28,n*3+2,15,1);hib(l,0,q,0,n*3);q[m++]=(b<<2|c>>4)<<24>>24;q[m]=((c&15)<<4|d>>2&15)<<24>>24;return q}else {return null}}else {d=xqe[i];e=xqe[j];l[m++]=(b<<2|c>>4)<<24>>24;l[m++]=((c&15)<<4|d>>2&15)<<24>>24;l[m++]=(d<<6|e)<<24>>24;}return l} + function wfc(a,b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v;b.Ug(qBe,1);o=RD(mQb(a,(yCc(),yAc)),223);for(e=new Anb(a.b);e.a=2){p=true;m=new Anb(f.j);c=RD(ynb(m),12);n=null;while(m.a0){d=l.gc();j=eE($wnd.Math.floor((d+1)/2))-1;e=eE($wnd.Math.ceil((d+1)/2))-1;if(b.o==DQc){for(k=e;k>=j;k--){if(b.a[u.p]==u){p=RD(l.Xb(k),42);o=RD(p.a,10);if(!Zsb(c,p.b)&&n>a.b.e[o.p]){b.a[o.p]=u;b.g[u.p]=b.g[o.p];b.a[u.p]=b.g[u.p];b.f[b.g[u.p].p]=(Geb(),Heb(b.f[b.g[u.p].p])&u.k==(r3b(),o3b)?true:false);n=a.b.e[o.p];}}}}else {for(k=j;k<=e;k++){if(b.a[u.p]==u){r=RD(l.Xb(k),42);q=RD(r.a,10);if(!Zsb(c,r.b)&&n0){e=RD(Vmb(q.c.a,w-1),10);g=a.i[e.p];B=$wnd.Math.ceil(bFc(a.n,e,q));f=v.a.e-q.d.d-(g.a.e+e.o.b+e.d.a)-B;}j=oxe;if(w0&&A.a.e.e-A.a.a-(A.b.e.e-A.b.a)<0;o=t.a.e.e-t.a.a-(t.b.e.e-t.b.a)<0&&A.a.e.e-A.a.a-(A.b.e.e-A.b.a)>0;n=t.a.e.e+t.b.aA.b.e.e+A.a.a;u=0;!p&&!o&&(m?f+l>0?(u=l):j-d>0&&(u=d):n&&(f+h>0?(u=h):j-s>0&&(u=s)));v.a.e+=u;v.b&&(v.d.e+=u);return false} + function OJb(a,b,c){var d,e,f,g,h,i,j,k,l,m;d=new Uid(b.Lf().a,b.Lf().b,b.Mf().a,b.Mf().b);e=new Tid;if(a.c){for(g=new Anb(b.Rf());g.aj&&(d.a+=Hhb($C(hE,zwe,28,-j,15,1)));d.a+='Is';if(qhb(i,Fhb(32))>=0){for(e=0;e=d.o.b/2;}else {s=!l;}if(s){r=RD(mQb(d,(Ywc(),Xwc)),15);if(!r){f=new bnb;pQb(d,Xwc,f);}else if(m){f=r;}else {e=RD(mQb(d,Vvc),15);if(!e){f=new bnb;pQb(d,Vvc,f);}else {r.gc()<=e.gc()?(f=r):(f=e);}}}else {e=RD(mQb(d,(Ywc(),Vvc)),15);if(!e){f=new bnb;pQb(d,Vvc,f);}else if(l){f=e;}else {r=RD(mQb(d,Xwc),15);if(!r){f=new bnb;pQb(d,Xwc,f);}else {e.gc()<=r.gc()?(f=e):(f=r);}}}f.Fc(a);pQb(a,(Ywc(),Xvc),c);if(b.d==c){Z0b(b,null);c.e.c.length+c.g.c.length==0&&P3b(c,null);u6b(c);}else {Y0b(b,null);c.e.c.length+c.g.c.length==0&&P3b(c,null);}Xub(b.a);} + function GHc(a,b,c){var d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,A,B,C,D,F,G,H,I;c.Ug('MinWidth layering',1);n=b.b;A=b.a;I=RD(mQb(b,(yCc(),WAc)),17).a;h=RD(mQb(b,XAc),17).a;a.b=Kfb(UD(mQb(b,TBc)));a.d=oxe;for(u=new Anb(A);u.a0){j=0;!!q&&(j+=h);j+=(C-1)*g;!!t&&(j+=h);B&&!!t&&(j=$wnd.Math.max(j,JUc(t,g,s,A)));if(j=a.a){d=V9b(a,s);k=$wnd.Math.max(k,d.b);u=$wnd.Math.max(u,d.d);Rmb(h,new Ptd(s,d));}}B=new bnb;for(j=0;j0),q.a.Xb(q.c=--q.b),C=new R4b(a.b),Ikb(q,C),sFb(q.b0){m=k<100?null:new gLd(k);j=new $Hd(b);o=j.g;r=$C(kE,Pwe,28,k,15,1);d=0;u=new ZHd(k);for(e=0;e=0;){if(n!=null?pb(n,o[i]):dE(n)===dE(o[i])){if(r.length<=d){q=r;r=$C(kE,Pwe,28,2*r.length,15,1);hib(q,0,r,0,d);}r[d++]=e;WGd(u,o[i]);break v}}n=n;if(dE(n)===dE(h)){break}}}j=u;o=u.g;k=d;if(d>r.length){q=r;r=$C(kE,Pwe,28,d,15,1);hib(q,0,r,0,d);}if(d>0){t=true;for(f=0;f=0;){THd(a,r[g]);}if(d!=k){for(e=k;--e>=d;){THd(j,e);}q=r;r=$C(kE,Pwe,28,d,15,1);hib(q,0,r,0,d);}b=j;}}}else {b=aHd(a,b);for(e=a.i;--e>=0;){if(b.Hc(a.g[e])){THd(a,e);t=true;}}}if(t){if(r!=null){c=b.gc();l=c==1?dZd(a,4,b.Kc().Pb(),null,r[0],p):dZd(a,6,b,r,r[0],p);m=c<100?null:new gLd(c);for(e=b.Kc();e.Ob();){n=e.Pb();m=oge(a,RD(n,76),m);}if(!m){qvd(a.e,l);}else {m.nj(l);m.oj();}}else {m=tLd(b.gc());for(e=b.Kc();e.Ob();){n=e.Pb();m=oge(a,RD(n,76),m);}!!m&&m.oj();}return true}else {return false}} + function i_b(a,b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t;c=new p_b(b);c.a||b_b(b);j=a_b(b);i=new Tp;q=new D_b;for(p=new Anb(b.a);p.a0||c.o==DQc&&e=c} + function zEd(a,b,c){var d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,A,B,C,D,F,G;t=b;s=new Tp;u=new Tp;k=wDd(t,mIe);d=new OEd(a,c,s,u);QDd(d.a,d.b,d.c,d.d,k);i=(A=s.i,!A?(s.i=new zf(s,s.c)):A);for(C=i.Kc();C.Ob();){B=RD(C.Pb(),166);e=RD(Qc(s,B),21);for(p=e.Kc();p.Ob();){o=p.Pb();v=RD(Ao(a.d,o),166);if(v){h=(!B.e&&(B.e=new Yie(F4,B,10,9)),B.e);WGd(h,v);}else {g=zDd(t,uIe);m=AIe+o+BIe+g;n=m+zIe;throw Adb(new CDd(n))}}}j=(w=u.i,!w?(u.i=new zf(u,u.c)):w);for(F=j.Kc();F.Ob();){D=RD(F.Pb(),166);f=RD(Qc(u,D),21);for(r=f.Kc();r.Ob();){q=r.Pb();v=RD(Ao(a.d,q),166);if(v){l=(!D.g&&(D.g=new Yie(F4,D,9,10)),D.g);WGd(l,v);}else {g=zDd(t,uIe);m=AIe+q+BIe+g;n=m+zIe;throw Adb(new CDd(n))}}}!c.b&&(c.b=new Yie(E4,c,4,7));if(c.b.i!=0&&(!c.c&&(c.c=new Yie(E4,c,5,8)),c.c.i!=0)&&(!c.b&&(c.b=new Yie(E4,c,4,7)),c.b.i<=1&&(!c.c&&(c.c=new Yie(E4,c,5,8)),c.c.i<=1))&&(!c.a&&(c.a=new C5d(F4,c,6,6)),c.a).i==1){G=RD(QHd((!c.a&&(c.a=new C5d(F4,c,6,6)),c.a),0),166);if(!Dzd(G)&&!Ezd(G)){Kzd(G,RD(QHd((!c.b&&(c.b=new Yie(E4,c,4,7)),c.b),0),84));Lzd(G,RD(QHd((!c.c&&(c.c=new Yie(E4,c,5,8)),c.c),0),84));}}} + function QNc(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,A,B,C,D;for(t=a.a,u=0,v=t.length;u0){l=RD(Vmb(m.c.a,g-1),10);B=bFc(a.b,m,l);q=m.n.b-m.d.d-(l.n.b+l.o.b+l.d.a+B);}else {q=m.n.b-m.d.d;}j=$wnd.Math.min(q,j);if(g1&&(g=$wnd.Math.min(g,$wnd.Math.abs(RD(ju(h.a,1),8).b-k.b)));}}}}}else {for(p=new Anb(b.j);p.ae){f=m.a-e;g=lve;d.c.length=0;e=m.a;}if(m.a>=e){ZEb(d.c,h);h.a.b>1&&(g=$wnd.Math.min(g,$wnd.Math.abs(RD(ju(h.a,h.a.b-2),8).b-m.b)));}}}}}if(d.c.length!=0&&f>b.o.a/2&&g>b.o.b/2){n=new R3b;P3b(n,b);Q3b(n,(qpd(),Yod));n.n.a=b.o.a/2;r=new R3b;P3b(r,b);Q3b(r,npd);r.n.a=b.o.a/2;r.n.b=b.o.b;for(i=new Anb(d);i.a=j.b?Y0b(h,r):Y0b(h,n);}else {j=RD(Vub(h.a),8);q=h.a.b==0?K3b(h.c):RD(Rub(h.a),8);q.b>=j.b?Z0b(h,r):Z0b(h,n);}l=RD(mQb(h,(yCc(),RAc)),75);!!l&&ze(l,j,true);}b.n.a=e-b.o.a/2;}} + function E0c(a,b,c){var d,e,f,g,h,i,j,k,l,m;for(h=Sub(a.b,0);h.b!=h.d.c;){g=RD(evb(h),40);if(lhb(g.c,IEe)){continue}j=iWc(g,a);b==(Cmd(),ymd)||b==zmd?_mb(j,new D1c):_mb(j,new H1c);i=j.c.length;for(d=0;d=0?(n=vpd(h)):(n=spd(vpd(h)));a.qf(GBc,n);}j=new pjd;m=false;if(a.pf(zBc)){mjd(j,RD(a.of(zBc),8));m=true;}else {ljd(j,g.a/2,g.b/2);}switch(n.g){case 4:pQb(k,UAc,(cxc(),$wc));pQb(k,bwc,(huc(),guc));k.o.b=g.b;p<0&&(k.o.a=-p);Q3b(l,(qpd(),Xod));m||(j.a=g.a);j.a-=g.a;break;case 2:pQb(k,UAc,(cxc(),axc));pQb(k,bwc,(huc(),euc));k.o.b=g.b;p<0&&(k.o.a=-p);Q3b(l,(qpd(),ppd));m||(j.a=0);break;case 1:pQb(k,owc,(Gvc(),Fvc));k.o.a=g.a;p<0&&(k.o.b=-p);Q3b(l,(qpd(),npd));m||(j.b=g.b);j.b-=g.b;break;case 3:pQb(k,owc,(Gvc(),Dvc));k.o.a=g.a;p<0&&(k.o.b=-p);Q3b(l,(qpd(),Yod));m||(j.b=0);}mjd(l.n,j);pQb(k,zBc,j);if(b==vod||b==xod||b==wod){o=0;if(b==vod&&a.pf(CBc)){switch(n.g){case 1:case 2:o=RD(a.of(CBc),17).a;break;case 3:case 4:o=-RD(a.of(CBc),17).a;}}else {switch(n.g){case 4:case 2:o=f.b;b==xod&&(o/=e.b);break;case 1:case 3:o=f.a;b==xod&&(o/=e.a);}}pQb(k,Jwc,o);}pQb(k,hwc,n);return k} + function OId(){MId();function h(f){var g=this;this.dispatch=function(a){var b=a.data;switch(b.cmd){case 'algorithms':var c=PId((yob(),new xpb(new glb(LId.b))));f.postMessage({id:b.id,data:c});break;case 'categories':var d=PId((yob(),new xpb(new glb(LId.c))));f.postMessage({id:b.id,data:d});break;case 'options':var e=PId((yob(),new xpb(new glb(LId.d))));f.postMessage({id:b.id,data:e});break;case 'register':SId(b.algorithms);f.postMessage({id:b.id});break;case 'layout':QId(b.graph,b.layoutOptions||{},b.options||{});f.postMessage({id:b.id,data:b.graph});break;}};this.saveDispatch=function(b){try{g.dispatch(b);}catch(a){f.postMessage({id:b.data.id,error:a});}};} + function j(b){var c=this;this.dispatcher=new h({postMessage:function(a){c.onmessage({data:a});}});this.postMessage=function(a){setTimeout(function(){c.dispatcher.saveDispatch({data:a});},0);};} + if(typeof document===Yxe&&typeof self!==Yxe){var i=new h(self);self.onmessage=i.saveDispatch;}else if(typeof module!==Yxe&&module.exports){Object.defineProperty(exports,'__esModule',{value:true});module.exports={'default':j,Worker:j};}} + function i5b(a,b,c){var d,e,f,g,h,i,j,k,l,m;k=new j3b(c);kQb(k,b);pQb(k,(Ywc(),Awc),b);k.o.a=b.g;k.o.b=b.f;k.n.a=b.i;k.n.b=b.j;Rmb(c.a,k);Zjb(a.a,b,k);((!b.a&&(b.a=new C5d(J4,b,10,11)),b.a).i!=0||Heb(TD(Gxd(b,(yCc(),NAc)))))&&pQb(k,Yvc,(Geb(),true));j=RD(mQb(c,kwc),21);l=RD(mQb(k,(yCc(),BBc)),101);l==(Bod(),Aod)?pQb(k,BBc,zod):l!=zod&&j.Fc((ovc(),kvc));m=0;d=RD(mQb(c,rAc),88);for(i=new dMd((!b.c&&(b.c=new C5d(K4,b,9,9)),b.c));i.e!=i.i.gc();){h=RD(bMd(i),123);e=vCd(b);(dE(Gxd(e,cAc))!==dE((kEc(),hEc))||dE(Gxd(e,pAc))===dE((Ptc(),Otc))||dE(Gxd(e,pAc))===dE((Ptc(),Mtc))||Heb(TD(Gxd(e,eAc)))||dE(Gxd(e,Yzc))!==dE((U$b(),T$b))||dE(Gxd(e,ZAc))===dE((aEc(),TDc))||dE(Gxd(e,ZAc))===dE((aEc(),UDc))||dE(Gxd(e,$Ac))===dE((_Cc(),SCc))||dE(Gxd(e,$Ac))===dE((_Cc(),UCc)))&&!Heb(TD(Gxd(b,aAc)))&&Ixd(h,zwc,sgb(m++));Heb(TD(Gxd(h,pBc)))||j5b(a,h,k,j,d,l);}for(g=new dMd((!b.n&&(b.n=new C5d(I4,b,1,7)),b.n));g.e!=g.i.gc();){f=RD(bMd(g),135);!Heb(TD(Gxd(f,pBc)))&&!!f.a&&Rmb(k.b,h5b(f));}Heb(TD(mQb(k,Uzc)))&&j.Fc((ovc(),fvc));if(Heb(TD(mQb(k,MAc)))){j.Fc((ovc(),jvc));j.Fc(ivc);pQb(k,BBc,zod);}return k} + function ird(a,b,c,d,e,f,g){var h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,A,B,C,D,F,G,H,I;p=0;D=0;for(j=new Anb(a.b);j.ap){if(f){Oub(w,n);Oub(B,sgb(k.b-1));Rmb(a.d,o);h.c.length=0;}H=c.b;I+=n+b;n=0;l=$wnd.Math.max(l,c.b+c.c+G);}ZEb(h.c,i);xrd(i,H,I);l=$wnd.Math.max(l,H+G+c.c);n=$wnd.Math.max(n,m);H+=G+b;o=i;}Tmb(a.a,h);Rmb(a.d,RD(Vmb(h,h.c.length-1),163));l=$wnd.Math.max(l,d);F=I+n+c.a;if(Fe.d.d+e.d.a){k.f.d=true;}else {k.f.d=true;k.f.a=true;}}}d.b!=d.d.c&&(b=c);}if(k){f=RD(Wjb(a.f,g.d.i),60);if(b.bf.d.d+f.d.a){k.f.d=true;}else {k.f.d=true;k.f.a=true;}}}}for(h=new is(Mr(Z2b(n).a.Kc(),new ir));gs(h);){g=RD(hs(h),18);if(g.a.b!=0){b=RD(Rub(g.a),8);if(g.d.j==(qpd(),Yod)){q=new Nlc(b,new rjd(b.a,e.d.d),e,g);q.f.a=true;q.a=g.d;ZEb(p.c,q);}if(g.d.j==npd){q=new Nlc(b,new rjd(b.a,e.d.d+e.d.a),e,g);q.f.d=true;q.a=g.d;ZEb(p.c,q);}}}}}return p} + function Nvd(a,b,c){var d,e,f,g,h,i,j,k,l,m;i=new bnb;l=b.length;g=$5d(c);for(j=0;j=o){if(s>o){n.c.length=0;o=s;}ZEb(n.c,g);}}if(n.c.length!=0){m=RD(Vmb(n,Jwb(b,n.c.length)),131);F.a.Bc(m)!=null;m.s=p++;$Uc(m,C,w);n.c.length=0;}}u=a.c.length+1;for(h=new Anb(a);h.aD.s){Ckb(c);Ymb(D.i,d);if(d.c>0){d.a=D;Rmb(D.t,d);d.b=A;Rmb(A.i,d);}}}}} + function Efc(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,A,B,C,D,F;p=new cnb(b.b);u=new cnb(b.b);m=new cnb(b.b);B=new cnb(b.b);q=new cnb(b.b);for(A=Sub(b,0);A.b!=A.d.c;){v=RD(evb(A),12);for(h=new Anb(v.g);h.a0;r=v.g.c.length>0;j&&r?(ZEb(m.c,v),true):j?(ZEb(p.c,v),true):r&&(ZEb(u.c,v),true);}for(o=new Anb(p);o.as.nh()-j.b&&(m=s.nh()-j.b);n>s.oh()-j.d&&(n=s.oh()-j.d);k0){for(t=Sub(a.f,0);t.b!=t.d.c;){s=RD(evb(t),10);s.p+=m-a.e;}WGc(a);Xub(a.f);TGc(a,d,n);}else {Mub(a.f,n);n.p=d;a.e=$wnd.Math.max(a.e,d);for(f=new is(Mr(Z2b(n).a.Kc(),new ir));gs(f);){e=RD(hs(f),18);if(!e.c.i.c&&e.c.i.k==(r3b(),n3b)){Mub(a.f,e.c.i);e.c.i.p=d-1;}}a.c=d;}}}else {WGc(a);Xub(a.f);d=0;if(gs(new is(Mr(Z2b(n).a.Kc(),new ir)))){m=0;m=UGc(m,n);d=m+2;TGc(a,d,n);}else {Mub(a.f,n);n.p=0;a.e=$wnd.Math.max(a.e,0);a.b=RD(Vmb(a.d.b,0),30);a.c=0;}}}}a.f.b==0||WGc(a);a.d.a.c.length=0;r=new bnb;for(j=new Anb(a.d.b);j.a=48&&b<=57){d=b-48;while(e=48&&b<=57){d=d*10+b-48;if(d<0)throw Adb(new Lqe(TId((Hde(),CJe))))}}else {throw Adb(new Lqe(TId((Hde(),yJe))))}c=d;if(b==44){if(e>=a.j){throw Adb(new Lqe(TId((Hde(),AJe))))}else if((b=ihb(a.i,e++))>=48&&b<=57){c=b-48;while(e=48&&b<=57){c=c*10+b-48;if(c<0)throw Adb(new Lqe(TId((Hde(),CJe))))}if(d>c)throw Adb(new Lqe(TId((Hde(),BJe))))}else {c=-1;}}if(b!=125)throw Adb(new Lqe(TId((Hde(),zJe))));if(a.bm(e)){f=(Vse(),Vse(),new Kte(9,f));a.d=e+1;}else {f=(Vse(),Vse(),new Kte(3,f));a.d=e;}f.Om(d);f.Nm(c);Mqe(a);}}return f} + function bXb(a){var b,c,d,e,f;c=RD(mQb(a,(Ywc(),kwc)),21);b=vfd(YWb);e=RD(mQb(a,(yCc(),IAc)),346);e==(Fnd(),Cnd)&&ofd(b,ZWb);Heb(TD(mQb(a,GAc)))?pfd(b,(sXb(),nXb),(hcc(),Zbc)):pfd(b,(sXb(),pXb),(hcc(),Zbc));mQb(a,(rid(),qid))!=null&&ofd(b,$Wb);(Heb(TD(mQb(a,PAc)))||Heb(TD(mQb(a,HAc))))&&nfd(b,(sXb(),rXb),(hcc(),lbc));switch(RD(mQb(a,rAc),88).g){case 2:case 3:case 4:nfd(pfd(b,(sXb(),nXb),(hcc(),nbc)),rXb,mbc);}c.Hc((ovc(),fvc))&&nfd(pfd(pfd(b,(sXb(),nXb),(hcc(),kbc)),qXb,ibc),rXb,jbc);dE(mQb(a,ZAc))!==dE((aEc(),$Dc))&&pfd(b,(sXb(),pXb),(hcc(),Rbc));if(c.Hc(mvc)){pfd(b,(sXb(),nXb),(hcc(),Xbc));pfd(b,oXb,Vbc);pfd(b,pXb,Wbc);}dE(mQb(a,Xzc))!==dE(($uc(),Yuc))&&dE(mQb(a,yAc))!==dE((Ymd(),Vmd))&&nfd(b,(sXb(),rXb),(hcc(),Abc));Heb(TD(mQb(a,KAc)))&&pfd(b,(sXb(),pXb),(hcc(),zbc));Heb(TD(mQb(a,nAc)))&&pfd(b,(sXb(),pXb),(hcc(),dcc));if(eXb(a)){dE(mQb(a,IAc))===dE(Cnd)?(d=RD(mQb(a,gAc),299)):(d=RD(mQb(a,hAc),299));f=d==(xvc(),vvc)?(hcc(),Ubc):(hcc(),gcc);pfd(b,(sXb(),qXb),f);}switch(RD(mQb(a,vCc),388).g){case 1:pfd(b,(sXb(),qXb),(hcc(),ecc));break;case 2:nfd(pfd(pfd(b,(sXb(),pXb),(hcc(),ebc)),qXb,fbc),rXb,gbc);}dE(mQb(a,cAc))!==dE((kEc(),hEc))&&pfd(b,(sXb(),pXb),(hcc(),fcc));return b} + function crc(a,b,c){var d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t;if(Ujb(a.a,b)){if(Zsb(RD(Wjb(a.a,b),49),c)){return 1}}else {Zjb(a.a,b,new _sb);}if(Ujb(a.a,c)){if(Zsb(RD(Wjb(a.a,c),49),b)){return -1}}else {Zjb(a.a,c,new _sb);}if(Ujb(a.e,b)){if(Zsb(RD(Wjb(a.e,b),49),c)){return -1}}else {Zjb(a.e,b,new _sb);}if(Ujb(a.e,c)){if(Zsb(RD(Wjb(a.a,c),49),b)){return 1}}else {Zjb(a.e,c,new _sb);}if(a.c==(kEc(),iEc)||!nQb(b,(Ywc(),zwc))||!nQb(c,(Ywc(),zwc))){l=null;for(j=new Anb(b.j);j.ag?erc(a,b,c):erc(a,c,b);return eg?1:0}}d=RD(mQb(b,(Ywc(),zwc)),17).a;f=RD(mQb(c,zwc),17).a;d>f?erc(a,b,c):erc(a,c,b);return df?1:0} + function uAd(b,c,d){var e,f,g,h,i,j,k,l,m,n,o,p,q,r;if(d==null){return null}if(b.a!=c.jk()){throw Adb(new agb(VHe+c.xe()+WHe))}if(ZD(c,469)){r=z1d(RD(c,685),d);if(!r){throw Adb(new agb(XHe+d+"' is not a valid enumerator of '"+c.xe()+"'"))}return r}switch(Oee((lke(),jke),c).Nl()){case 2:{d=nue(d,false);break}case 3:{d=nue(d,true);break}}e=Oee(jke,c).Jl();if(e){return e.jk().wi().ti(e,d)}n=Oee(jke,c).Ll();if(n){r=new bnb;for(k=xAd(d),l=0,m=k.length;l1){o=new mMd((!a.a&&(a.a=new C5d(F4,a,6,6)),a.a));while(o.e!=o.i.gc()){cMd(o);}}g=RD(QHd((!a.a&&(a.a=new C5d(F4,a,6,6)),a.a),0),166);q=H;H>v+u?(q=v+u):Hw+p?(r=w+p):Iv-u&&qw-p&&rH+G?(B=H+G):vI+A?(C=I+A):wH-G&&BI-A&&Cc&&(m=c-1);n=N+Kwb(b,24)*Nxe*l-l/2;n<0?(n=1):n>d&&(n=d-1);e=(bvd(),i=new Xxd,i);Vxd(e,m);Wxd(e,n);WGd((!g.a&&(g.a=new XZd(D4,g,5)),g.a),e);}} + function Y7c(a){Cgd(a,new Pfd($fd(Xfd(Zfd(Yfd(new agd,$Fe),'ELK Rectangle Packing'),'Algorithm for packing of unconnected boxes, i.e. graphs without edges. The given order of the boxes is always preserved and the main reading direction of the boxes is left to right. The algorithm is divided into two phases. One phase approximates the width in which the rectangles can be placed. The next phase places the rectangles in rows using the previously calculated width as bounding width and bundles rectangles with a similar height in blocks. A compaction step reduces the size of the drawing. Finally, the rectangles are expanded to fill their bounding box and eliminate empty unused spaces.'),new _7c)));Agd(a,$Fe,Dze,1.3);Agd(a,$Fe,hAe,(Geb(),false));Agd(a,$Fe,Eze,O7c);Agd(a,$Fe,_ze,15);Agd(a,$Fe,YDe,iGd(y7c));Agd(a,$Fe,jAe,iGd(F7c));Agd(a,$Fe,CAe,iGd(H7c));Agd(a,$Fe,iAe,iGd(I7c));Agd(a,$Fe,kAe,iGd(E7c));Agd(a,$Fe,gAe,iGd(J7c));Agd(a,$Fe,lAe,iGd(P7c));Agd(a,$Fe,RFe,iGd(U7c));Agd(a,$Fe,SFe,iGd(T7c));Agd(a,$Fe,QFe,iGd(W7c));Agd(a,$Fe,PFe,iGd(V7c));Agd(a,$Fe,TFe,iGd(M7c));Agd(a,$Fe,UFe,iGd(L7c));Agd(a,$Fe,VFe,iGd(K7c));Agd(a,$Fe,WFe,iGd(S7c));Agd(a,$Fe,dAe,iGd(B7c));Agd(a,$Fe,iEe,iGd(C7c));Agd(a,$Fe,NFe,iGd(A7c));Agd(a,$Fe,MFe,iGd(z7c));Agd(a,$Fe,OFe,iGd(D7c));Agd(a,$Fe,LFe,iGd(R7c));} + function Ajb(a,b){xjb();var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,A,B,C,D,F,G,H;B=a.e;o=a.d;e=a.a;if(B==0){switch(b){case 0:return '0';case 1:return zxe;case 2:return '0.00';case 3:return '0.000';case 4:return '0.0000';case 5:return '0.00000';case 6:return '0.000000';default:w=new bib;b<0?(w.a+='0E+',w):(w.a+='0E',w);w.a+=-b;return w.a;}}t=o*10+1+7;u=$C(hE,zwe,28,t+1,15,1);c=t;if(o==1){h=e[0];if(h<0){H=Cdb(h,yxe);do{p=H;H=Fdb(H,10);u[--c]=48+Ydb(Vdb(p,Ndb(H,10)))&Bwe;}while(Ddb(H,0)!=0)}else {H=h;do{p=H;H=H/10|0;u[--c]=48+(p-H*10)&Bwe;}while(H!=0)}}else {D=$C(kE,Pwe,28,o,15,1);G=o;hib(e,0,D,0,G);I:while(true){A=0;for(j=G-1;j>=0;j--){F=Bdb(Sdb(A,32),Cdb(D[j],yxe));r=yjb(F);D[j]=Ydb(r);A=Ydb(Tdb(r,32));}s=Ydb(A);q=c;do{u[--c]=48+s%10&Bwe;}while((s=s/10|0)!=0&&c!=0);d=9-q+c;for(i=0;i0;i++){u[--c]=48;}l=G-1;for(;D[l]==0;l--){if(l==0){break I}}G=l+1;}while(u[c]==48){++c;}}n=B<0;g=t-c-b-1;if(b==0){n&&(u[--c]=45);return Ihb(u,c,t-c)}if(b>0&&g>=-6){if(g>=0){k=c+g;for(m=t-1;m>=k;m--){u[m+1]=u[m];}u[++k]=46;n&&(u[--c]=45);return Ihb(u,c,t-c+1)}for(l=2;l<-g+1;l++){u[--c]=48;}u[--c]=46;u[--c]=48;n&&(u[--c]=45);return Ihb(u,c,t-c)}C=c+1;f=t;v=new cib;n&&(v.a+='-',v);if(f-C>=1){Thb(v,u[c]);v.a+='.';v.a+=Ihb(u,c+1,t-c-1);}else {v.a+=Ihb(u,c,t-c);}v.a+='E';g>0&&(v.a+='+',v);v.a+=''+g;return v.a} + function Jad(a,b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w;a.c=b;a.g=new Tsb;c=(lud(),new zud(a.c));d=new PJb(c);LJb(d);t=WD(Gxd(a.c,(ncd(),gcd)));i=RD(Gxd(a.c,icd),324);v=RD(Gxd(a.c,jcd),437);g=RD(Gxd(a.c,bcd),490);u=RD(Gxd(a.c,hcd),438);a.j=Kfb(UD(Gxd(a.c,kcd)));h=a.a;switch(i.g){case 0:h=a.a;break;case 1:h=a.b;break;case 2:h=a.i;break;case 3:h=a.e;break;case 4:h=a.f;break;default:throw Adb(new agb(eGe+(i.f!=null?i.f:''+i.g)));}a.d=new qbd(h,v,g);pQb(a.d,(OQb(),MQb),TD(Gxd(a.c,dcd)));a.d.c=Heb(TD(Gxd(a.c,ccd)));if(tCd(a.c).i==0){return a.d}for(l=new dMd(tCd(a.c));l.e!=l.i.gc();){k=RD(bMd(l),27);n=k.g/2;m=k.f/2;w=new rjd(k.i+n,k.j+m);while(Ujb(a.g,w)){Zid(w,($wnd.Math.random()-0.5)*Vze,($wnd.Math.random()-0.5)*Vze);}p=RD(Gxd(k,(umd(),eld)),140);q=new TQb(w,new Uid(w.a-n-a.j/2-p.b,w.b-m-a.j/2-p.d,k.g+a.j+(p.b+p.c),k.f+a.j+(p.d+p.a)));Rmb(a.d.i,q);Zjb(a.g,w,new Ptd(q,k));}switch(u.g){case 0:if(t==null){a.d.d=RD(Vmb(a.d.i,0),68);}else {for(s=new Anb(a.d.i);s.a0?G+1:1;}for(g=new Anb(w.g);g.a0?G+1:1;}}a.c[j]==0?Mub(a.e,p):a.a[j]==0&&Mub(a.f,p);++j;}o=-1;n=1;l=new bnb;a.d=RD(mQb(b,(Ywc(),Lwc)),234);while(L>0){while(a.e.b!=0){I=RD(Uub(a.e),10);a.b[I.p]=o--;TFc(a,I);--L;}while(a.f.b!=0){J=RD(Uub(a.f),10);a.b[J.p]=n++;TFc(a,J);--L;}if(L>0){m=qwe;for(s=new Anb(t);s.a=m){if(u>m){l.c.length=0;m=u;}ZEb(l.c,p);}}}k=a.sg(l);a.b[k.p]=n++;TFc(a,k);--L;}}H=t.c.length+1;for(j=0;ja.b[K]){X0b(d,true);pQb(b,awc,(Geb(),true));}}}}a.a=null;a.c=null;a.b=null;Xub(a.f);Xub(a.e);c.Vg();} + function usd(a,b,c){var d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w;v=RD(QHd((!a.a&&(a.a=new C5d(F4,a,6,6)),a.a),0),166);k=new Ejd;u=new Tsb;w=xsd(v);rtb(u.f,v,w);m=new Tsb;d=new Yub;for(o=Fl(Al(cD(WC(cJ,1),rve,20,0,[(!b.d&&(b.d=new Yie(G4,b,8,5)),b.d),(!b.e&&(b.e=new Yie(G4,b,7,4)),b.e)])));gs(o);){n=RD(hs(o),74);if((!a.a&&(a.a=new C5d(F4,a,6,6)),a.a).i!=1){throw Adb(new agb(tHe+(!a.a&&(a.a=new C5d(F4,a,6,6)),a.a).i))}if(n!=a){q=RD(QHd((!n.a&&(n.a=new C5d(F4,n,6,6)),n.a),0),166);Pub(d,q,d.c.b,d.c);p=RD(Wd(qtb(u.f,q)),13);if(!p){p=xsd(q);rtb(u.f,q,p);}l=c?ojd(new sjd(RD(Vmb(w,w.c.length-1),8)),RD(Vmb(p,p.c.length-1),8)):ojd(new sjd((tFb(0,w.c.length),RD(w.c[0],8))),(tFb(0,p.c.length),RD(p.c[0],8)));rtb(m.f,q,l);}}if(d.b!=0){r=RD(Vmb(w,c?w.c.length-1:0),8);for(j=1;j1&&(Pub(k,r,k.c.b,k.c),true);gvb(e);}}}r=s;}}return k} + function S_c(a,b,c){var d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,A,B,C,D;c.Ug(_Ee,1);D=RD(zDb(CDb(new SDb(null,new Swb(b,16)),new e0c),tBb(new ZBb,new XBb,new wCb,cD(WC(QL,1),jwe,108,0,[(xBb(),vBb)]))),15);k=RD(zDb(CDb(new SDb(null,new Swb(b,16)),new g0c(b)),tBb(new ZBb,new XBb,new wCb,cD(WC(QL,1),jwe,108,0,[vBb]))),15);o=RD(zDb(CDb(new SDb(null,new Swb(b,16)),new i0c(b)),tBb(new ZBb,new XBb,new wCb,cD(WC(QL,1),jwe,108,0,[vBb]))),15);p=$C(Z$,NEe,40,b.gc(),0,1);for(g=0;g=0&&C=0&&!p[n]){p[n]=e;k.gd(h);--h;break}n=C-m;if(n=0&&!p[n]){p[n]=e;k.gd(h);--h;break}}}o.jd(new k0c);for(i=p.length-1;i>=0;i--){if(!p[i]&&!o.dc()){p[i]=RD(o.Xb(0),40);o.gd(0);}}for(j=0;j=0;i--){Mub(c,(tFb(i,g.c.length),RD(g.c[i],8)));}return c} + function l9c(a,b,c){var d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;t=Kfb(UD(Gxd(b,(X6c(),W6c))));n=Kfb(UD(Gxd(b,U6c)));m=Kfb(UD(Gxd(b,R6c)));Bad((!b.a&&(b.a=new C5d(J4,b,10,11)),b.a));r=U8c((!b.a&&(b.a=new C5d(J4,b,10,11)),b.a),t,a.b);for(q=0;qm&&Fad((tFb(m,b.c.length),RD(b.c[m],186)),k);k=null;while(b.c.length>m&&(tFb(m,b.c.length),RD(b.c[m],186)).a.c.length==0){Ymb(b,(tFb(m,b.c.length),b.c[m]));}}if(!k){--g;continue}if(!Heb(TD(RD(Vmb(k.b,0),27).of((X7c(),D7c))))&&K8c(b,o,f,k,q,c,m,d)){p=true;continue}if(q){n=o.b;l=k.f;if(!Heb(TD(RD(Vmb(k.b,0),27).of(D7c)))&&L8c(b,o,f,k,c,m,d,e)){p=true;if(n=a.j){a.a=-1;a.c=1;return}b=ihb(a.i,a.d++);a.a=b;if(a.b==1){switch(b){case 92:d=10;if(a.d>=a.j)throw Adb(new Lqe(TId((Hde(),VIe))));a.a=ihb(a.i,a.d++);break;case 45:if((a.e&512)==512&&a.d=a.j)break;if(ihb(a.i,a.d)!=63)break;if(++a.d>=a.j)throw Adb(new Lqe(TId((Hde(),WIe))));b=ihb(a.i,a.d++);switch(b){case 58:d=13;break;case 61:d=14;break;case 33:d=15;break;case 91:d=19;break;case 62:d=18;break;case 60:if(a.d>=a.j)throw Adb(new Lqe(TId((Hde(),WIe))));b=ihb(a.i,a.d++);if(b==61){d=16;}else if(b==33){d=17;}else throw Adb(new Lqe(TId((Hde(),XIe))));break;case 35:while(a.d=a.j)throw Adb(new Lqe(TId((Hde(),VIe))));a.a=ihb(a.i,a.d++);break;default:d=0;}a.c=d;} + function oXc(a,b,c){var d,e,f,g,h,i,j,k,l,m,n,o,p,q;c.Ug('Process compaction',1);if(!Heb(TD(mQb(b,(h_c(),F$c))))){return}e=RD(mQb(b,H$c),88);n=Kfb(UD(mQb(b,_$c)));pXc(a,b,e);lXc(b,n/2/2);o=b.b;tvb(o,new EXc(e));for(j=Sub(o,0);j.b!=j.d.c;){i=RD(evb(j),40);if(!Heb(TD(mQb(i,(q$c(),n$c))))){d=mXc(i,e);p=lWc(i,b);l=0;m=0;if(d){q=d.e;switch(e.g){case 2:l=q.a-n-i.f.a;p.e.a-n-i.f.al&&(l=p.e.a+p.f.a+n);m=l+i.f.a;break;case 4:l=q.b-n-i.f.b;p.e.b-n-i.f.bl&&(l=p.e.b+p.f.b+n);m=l+i.f.b;}}else if(p){switch(e.g){case 2:l=p.e.a-n-i.f.a;m=l+i.f.a;break;case 1:l=p.e.a+p.f.a+n;m=l+i.f.a;break;case 4:l=p.e.b-n-i.f.b;m=l+i.f.b;break;case 3:l=p.e.b+p.f.b+n;m=l+i.f.b;}}if(dE(mQb(b,K$c))===dE((LZc(),IZc))){f=l;g=m;h=DDb(CDb(new SDb(null,new Swb(a.a,16)),new IXc(f,g)));if(h.a!=null){e==(Cmd(),ymd)||e==zmd?(i.e.a=l):(i.e.b=l);}else {e==(Cmd(),ymd)||e==Bmd?(h=DDb(CDb(NDb(new SDb(null,new Swb(a.a,16))),new WXc(f)))):(h=DDb(CDb(NDb(new SDb(null,new Swb(a.a,16))),new YXc(f))));h.a!=null&&(e==ymd||e==zmd?(i.e.a=Kfb(UD((sFb(h.a!=null),RD(h.a,42)).a))):(i.e.b=Kfb(UD((sFb(h.a!=null),RD(h.a,42)).a))));}if(h.a!=null){k=Wmb(a.a,(sFb(h.a!=null),h.a),0);if(k>0&&k!=RD(mQb(i,f_c),17).a){pQb(i,UZc,(Geb(),true));pQb(i,f_c,sgb(k));}}}else {e==(Cmd(),ymd)||e==zmd?(i.e.a=l):(i.e.b=l);}}}c.Vg();} + function Fre(a){var b,c,d,e,f,g,h,i,j;a.b=1;Mqe(a);b=null;if(a.c==0&&a.a==94){Mqe(a);b=(Vse(),Vse(),new xte(4));rte(b,0,MLe);h=(new xte(4));}else {h=(Vse(),Vse(),new xte(4));}e=true;while((j=a.c)!=1){if(j==0&&a.a==93&&!e){if(b){wte(b,h);h=b;}break}c=a.a;d=false;if(j==10){switch(c){case 100:case 68:case 119:case 87:case 115:case 83:ute(h,Ere(c));d=true;break;case 105:case 73:case 99:case 67:c=(ute(h,Ere(c)),-1);c<0&&(d=true);break;case 112:case 80:i=Sqe(a,c);if(!i)throw Adb(new Lqe(TId((Hde(),hJe))));ute(h,i);d=true;break;default:c=Dre(a);}}else if(j==24&&!e){if(b){wte(b,h);h=b;}f=Fre(a);wte(h,f);if(a.c!=0||a.a!=93)throw Adb(new Lqe(TId((Hde(),lJe))));break}Mqe(a);if(!d){if(j==0){if(c==91)throw Adb(new Lqe(TId((Hde(),mJe))));if(c==93)throw Adb(new Lqe(TId((Hde(),nJe))));if(c==45&&!e&&a.a!=93)throw Adb(new Lqe(TId((Hde(),oJe))))}if(a.c!=0||a.a!=45||c==45&&e){rte(h,c,c);}else {Mqe(a);if((j=a.c)==1)throw Adb(new Lqe(TId((Hde(),jJe))));if(j==0&&a.a==93){rte(h,c,c);rte(h,45,45);}else if(j==0&&a.a==93||j==24){throw Adb(new Lqe(TId((Hde(),oJe))))}else {g=a.a;if(j==0){if(g==91)throw Adb(new Lqe(TId((Hde(),mJe))));if(g==93)throw Adb(new Lqe(TId((Hde(),nJe))));if(g==45)throw Adb(new Lqe(TId((Hde(),oJe))))}else j==10&&(g=Dre(a));Mqe(a);if(c>g)throw Adb(new Lqe(TId((Hde(),rJe))));rte(h,c,g);}}}e=false;}if(a.c==1)throw Adb(new Lqe(TId((Hde(),jJe))));vte(h);ste(h);a.b=0;Mqe(a);return h} + function EGc(a,b,c){var d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v;c.Ug('Coffman-Graham Layering',1);if(b.a.c.length==0){c.Vg();return}v=RD(mQb(b,(yCc(),SAc)),17).a;i=0;g=0;for(m=new Anb(b.a);m.a=v||!zGc(r,d))&&(d=BGc(b,k));g3b(r,d);for(f=new is(Mr(Z2b(r).a.Kc(),new ir));gs(f);){e=RD(hs(f),18);if(a.a[e.p]){continue}p=e.c.i;--a.e[p.p];a.e[p.p]==0&&(zFb(lwb(n,p),Bxe),true);}}for(j=k.c.length-1;j>=0;--j){Rmb(b.b,(tFb(j,k.c.length),RD(k.c[j],30)));}b.a.c.length=0;c.Vg();} + function Sec(a,b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;u=false;do{u=false;for(f=b?(new Xkb(a.a.b)).a.gc()-2:1;b?f>=0:f<(new Xkb(a.a.b)).a.gc();f+=b?-1:1){e=_5b(a.a,sgb(f));for(n=0;nRD(mQb(q,zwc),17).a)&&(t=false);}if(!t){continue}i=b?f+1:f-1;h=_5b(a.a,sgb(i));g=false;s=true;d=false;for(k=Sub(h,0);k.b!=k.d.c;){j=RD(evb(k),10);if(nQb(j,zwc)){if(j.p!=l.p){g=g|(b?RD(mQb(j,zwc),17).aRD(mQb(l,zwc),17).a);s=false;}}else if(!g&&s){if(j.k==(r3b(),n3b)){d=true;b?(m=RD(hs(new is(Mr(Z2b(j).a.Kc(),new ir))),18).c.i):(m=RD(hs(new is(Mr(a3b(j).a.Kc(),new ir))),18).d.i);if(m==l){b?(c=RD(hs(new is(Mr(a3b(j).a.Kc(),new ir))),18).d.i):(c=RD(hs(new is(Mr(Z2b(j).a.Kc(),new ir))),18).c.i);(b?RD($5b(a.a,c),17).a-RD($5b(a.a,m),17).a:RD($5b(a.a,m),17).a-RD($5b(a.a,c),17).a)<=2&&(s=false);}}}}if(d&&s){b?(c=RD(hs(new is(Mr(a3b(l).a.Kc(),new ir))),18).d.i):(c=RD(hs(new is(Mr(Z2b(l).a.Kc(),new ir))),18).c.i);(b?RD($5b(a.a,c),17).a-RD($5b(a.a,l),17).a:RD($5b(a.a,l),17).a-RD($5b(a.a,c),17).a)<=2&&c.k==(r3b(),p3b)&&(s=false);}if(g||s){p=Xec(a,l,b);while(p.a.gc()!=0){o=RD(p.a.ec().Kc().Pb(),10);p.a.Bc(o)!=null;ye(p,Xec(a,o,b));}--n;u=true;}}}}while(u)} + function Xae(a){_Ad(a.c,qKe,cD(WC(qJ,1),Nve,2,6,[DKe,'http://www.w3.org/2001/XMLSchema#decimal']));_Ad(a.d,qKe,cD(WC(qJ,1),Nve,2,6,[DKe,'http://www.w3.org/2001/XMLSchema#integer']));_Ad(a.e,qKe,cD(WC(qJ,1),Nve,2,6,[DKe,'http://www.w3.org/2001/XMLSchema#boolean']));_Ad(a.f,qKe,cD(WC(qJ,1),Nve,2,6,[DKe,'EBoolean',GIe,'EBoolean:Object']));_Ad(a.i,qKe,cD(WC(qJ,1),Nve,2,6,[DKe,'http://www.w3.org/2001/XMLSchema#byte']));_Ad(a.g,qKe,cD(WC(qJ,1),Nve,2,6,[DKe,'http://www.w3.org/2001/XMLSchema#hexBinary']));_Ad(a.j,qKe,cD(WC(qJ,1),Nve,2,6,[DKe,'EByte',GIe,'EByte:Object']));_Ad(a.n,qKe,cD(WC(qJ,1),Nve,2,6,[DKe,'EChar',GIe,'EChar:Object']));_Ad(a.t,qKe,cD(WC(qJ,1),Nve,2,6,[DKe,'http://www.w3.org/2001/XMLSchema#double']));_Ad(a.u,qKe,cD(WC(qJ,1),Nve,2,6,[DKe,'EDouble',GIe,'EDouble:Object']));_Ad(a.F,qKe,cD(WC(qJ,1),Nve,2,6,[DKe,'http://www.w3.org/2001/XMLSchema#float']));_Ad(a.G,qKe,cD(WC(qJ,1),Nve,2,6,[DKe,'EFloat',GIe,'EFloat:Object']));_Ad(a.I,qKe,cD(WC(qJ,1),Nve,2,6,[DKe,'http://www.w3.org/2001/XMLSchema#int']));_Ad(a.J,qKe,cD(WC(qJ,1),Nve,2,6,[DKe,'EInt',GIe,'EInt:Object']));_Ad(a.N,qKe,cD(WC(qJ,1),Nve,2,6,[DKe,'http://www.w3.org/2001/XMLSchema#long']));_Ad(a.O,qKe,cD(WC(qJ,1),Nve,2,6,[DKe,'ELong',GIe,'ELong:Object']));_Ad(a.Z,qKe,cD(WC(qJ,1),Nve,2,6,[DKe,'http://www.w3.org/2001/XMLSchema#short']));_Ad(a.$,qKe,cD(WC(qJ,1),Nve,2,6,[DKe,'EShort',GIe,'EShort:Object']));_Ad(a._,qKe,cD(WC(qJ,1),Nve,2,6,[DKe,'http://www.w3.org/2001/XMLSchema#string']));} + function C0c(a,b,c,d,e,f,g){var h,i,j,k,l,m,n,o;m=RD(d.a,17).a;n=RD(d.b,17).a;l=a.b;o=a.c;h=0;k=0;if(b==(Cmd(),ymd)||b==zmd){k=Uvb(QCb(HDb(GDb(new SDb(null,new Swb(c.b,16)),new b2c),new b1c)));if(l.e.b+l.f.b/2>k){j=++n;h=Kfb(UD(Lvb(JDb(GDb(new SDb(null,new Swb(c.b,16)),new d2c(e,j)),new d1c))));}else {i=++m;h=Kfb(UD(Lvb(KDb(GDb(new SDb(null,new Swb(c.b,16)),new f2c(e,i)),new h1c))));}}else {k=Uvb(QCb(HDb(GDb(new SDb(null,new Swb(c.b,16)),new x1c),new l1c)));if(l.e.a+l.f.a/2>k){j=++n;h=Kfb(UD(Lvb(JDb(GDb(new SDb(null,new Swb(c.b,16)),new z1c(e,j)),new n1c))));}else {i=++m;h=Kfb(UD(Lvb(KDb(GDb(new SDb(null,new Swb(c.b,16)),new B1c(e,i)),new r1c))));}}if(b==ymd){Oub(a.a,new rjd(Kfb(UD(mQb(l,(q$c(),f$c))))-e,h));Oub(a.a,new rjd(o.e.a+o.f.a+e+f,h));Oub(a.a,new rjd(o.e.a+o.f.a+e+f,o.e.b+o.f.b/2));Oub(a.a,new rjd(o.e.a+o.f.a,o.e.b+o.f.b/2));}else if(b==zmd){Oub(a.a,new rjd(Kfb(UD(mQb(l,(q$c(),e$c))))+e,l.e.b+l.f.b/2));Oub(a.a,new rjd(l.e.a+l.f.a+e,h));Oub(a.a,new rjd(o.e.a-e-f,h));Oub(a.a,new rjd(o.e.a-e-f,o.e.b+o.f.b/2));Oub(a.a,new rjd(o.e.a,o.e.b+o.f.b/2));}else if(b==Bmd){Oub(a.a,new rjd(h,Kfb(UD(mQb(l,(q$c(),f$c))))-e));Oub(a.a,new rjd(h,o.e.b+o.f.b+e+f));Oub(a.a,new rjd(o.e.a+o.f.a/2,o.e.b+o.f.b+e+f));Oub(a.a,new rjd(o.e.a+o.f.a/2,o.e.b+o.f.b+e));}else {a.a.b==0||(RD(Rub(a.a),8).b=Kfb(UD(mQb(l,(q$c(),e$c))))+e*RD(g.b,17).a);Oub(a.a,new rjd(h,Kfb(UD(mQb(l,(q$c(),e$c))))+e*RD(g.b,17).a));Oub(a.a,new rjd(h,o.e.b-e*RD(g.a,17).a-f));}return new Ptd(sgb(m),sgb(n))} + function ASd(a){var b,c,d,e,f,g,h,i,j,k,l,m,n;g=true;l=null;d=null;e=null;b=false;n=_Rd;j=null;f=null;h=0;i=sSd(a,h,ZRd,$Rd);if(i=0&&lhb(a.substr(h,'//'.length),'//')){h+=2;i=sSd(a,h,aSd,bSd);d=(AFb(h,i,a.length),a.substr(h,i-h));h=i;}else if(l!=null&&(h==a.length||(BFb(h,a.length),a.charCodeAt(h)!=47))){g=false;i=rhb(a,Fhb(35),h);i==-1&&(i=a.length);d=(AFb(h,i,a.length),a.substr(h,i-h));h=i;}if(!c&&h0&&ihb(k,k.length-1)==58){e=k;h=i;}}if(hqQc(f))&&(l=f);}}!l&&(l=(tFb(0,q.c.length),RD(q.c[0],185)));for(p=new Anb(b.b);p.al){F=0;G+=k+A;k=0;}FVc(v,g,F,G);b=$wnd.Math.max(b,F+w.a);k=$wnd.Math.max(k,w.b);F+=w.a+A;}u=new Tsb;c=new Tsb;for(C=new Anb(a);C.a=-1900?1:0;c>=4?Zhb(a,cD(WC(qJ,1),Nve,2,6,[Qwe,Rwe])[h]):Zhb(a,cD(WC(qJ,1),Nve,2,6,['BC','AD'])[h]);break;case 121:AA(a,c,d);break;case 77:zA(a,c,d);break;case 107:i=e.q.getHours();i==0?UA(a,24,c):UA(a,i,c);break;case 83:yA(a,c,e);break;case 69:k=d.q.getDay();c==5?Zhb(a,cD(WC(qJ,1),Nve,2,6,['S','M','T','W','T','F','S'])[k]):c==4?Zhb(a,cD(WC(qJ,1),Nve,2,6,[Swe,Twe,Uwe,Vwe,Wwe,Xwe,Ywe])[k]):Zhb(a,cD(WC(qJ,1),Nve,2,6,['Sun','Mon','Tue','Wed','Thu','Fri','Sat'])[k]);break;case 97:e.q.getHours()>=12&&e.q.getHours()<24?Zhb(a,cD(WC(qJ,1),Nve,2,6,['AM','PM'])[1]):Zhb(a,cD(WC(qJ,1),Nve,2,6,['AM','PM'])[0]);break;case 104:l=e.q.getHours()%12;l==0?UA(a,12,c):UA(a,l,c);break;case 75:m=e.q.getHours()%12;UA(a,m,c);break;case 72:n=e.q.getHours();UA(a,n,c);break;case 99:o=d.q.getDay();c==5?Zhb(a,cD(WC(qJ,1),Nve,2,6,['S','M','T','W','T','F','S'])[o]):c==4?Zhb(a,cD(WC(qJ,1),Nve,2,6,[Swe,Twe,Uwe,Vwe,Wwe,Xwe,Ywe])[o]):c==3?Zhb(a,cD(WC(qJ,1),Nve,2,6,['Sun','Mon','Tue','Wed','Thu','Fri','Sat'])[o]):UA(a,o,1);break;case 76:p=d.q.getMonth();c==5?Zhb(a,cD(WC(qJ,1),Nve,2,6,['J','F','M','A','M','J','J','A','S','O','N','D'])[p]):c==4?Zhb(a,cD(WC(qJ,1),Nve,2,6,[Cwe,Dwe,Ewe,Fwe,Gwe,Hwe,Iwe,Jwe,Kwe,Lwe,Mwe,Nwe])[p]):c==3?Zhb(a,cD(WC(qJ,1),Nve,2,6,['Jan','Feb','Mar','Apr',Gwe,'Jun','Jul','Aug','Sep','Oct','Nov','Dec'])[p]):UA(a,p+1,c);break;case 81:q=d.q.getMonth()/3|0;c<4?Zhb(a,cD(WC(qJ,1),Nve,2,6,['Q1','Q2','Q3','Q4'])[q]):Zhb(a,cD(WC(qJ,1),Nve,2,6,['1st quarter','2nd quarter','3rd quarter','4th quarter'])[q]);break;case 100:r=d.q.getDate();UA(a,r,c);break;case 109:j=e.q.getMinutes();UA(a,j,c);break;case 115:g=e.q.getSeconds();UA(a,g,c);break;case 122:c<4?Zhb(a,f.c[0]):Zhb(a,f.c[1]);break;case 118:Zhb(a,f.b);break;case 90:c<3?Zhb(a,cB(f)):c==3?Zhb(a,bB(f)):Zhb(a,eB(f.a));break;default:return false;}return true} + function f5b(a,b,c,d){var e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,A,B,C,D,F,G,H;X4b(b);i=RD(QHd((!b.b&&(b.b=new Yie(E4,b,4,7)),b.b),0),84);k=RD(QHd((!b.c&&(b.c=new Yie(E4,b,5,8)),b.c),0),84);h=AGd(i);j=AGd(k);g=(!b.a&&(b.a=new C5d(F4,b,6,6)),b.a).i==0?null:RD(QHd((!b.a&&(b.a=new C5d(F4,b,6,6)),b.a),0),166);A=RD(Wjb(a.a,h),10);F=RD(Wjb(a.a,j),10);B=null;G=null;if(ZD(i,193)){w=RD(Wjb(a.a,i),305);if(ZD(w,12)){B=RD(w,12);}else if(ZD(w,10)){A=RD(w,10);B=RD(Vmb(A.j,0),12);}}if(ZD(k,193)){D=RD(Wjb(a.a,k),305);if(ZD(D,12)){G=RD(D,12);}else if(ZD(D,10)){F=RD(D,10);G=RD(Vmb(F.j,0),12);}}if(!A||!F){throw Adb(new Ked('The source or the target of edge '+b+' could not be found. '+'This usually happens when an edge connects a node laid out by ELK Layered to a node in '+'another level of hierarchy laid out by either another instance of ELK Layered or another '+'layout algorithm alltogether. The former can be solved by setting the hierarchyHandling '+'option to INCLUDE_CHILDREN.'))}p=new a1b;kQb(p,b);pQb(p,(Ywc(),Awc),b);pQb(p,(yCc(),RAc),null);n=RD(mQb(d,kwc),21);A==F&&n.Fc((ovc(),nvc));if(!B){v=(BEc(),zEc);C=null;if(!!g&&Dod(RD(mQb(A,BBc),101))){C=new rjd(g.j,g.k);Fsd(C,kzd(b));Gsd(C,c);if(NGd(j,h)){v=yEc;$id(C,A.n);}}B=g2b(A,C,v,d);}if(!G){v=(BEc(),yEc);H=null;if(!!g&&Dod(RD(mQb(F,BBc),101))){H=new rjd(g.b,g.c);Fsd(H,kzd(b));Gsd(H,c);}G=g2b(F,H,v,Y2b(F));}Y0b(p,B);Z0b(p,G);(B.e.c.length>1||B.g.c.length>1||G.e.c.length>1||G.g.c.length>1)&&n.Fc((ovc(),ivc));for(m=new dMd((!b.n&&(b.n=new C5d(I4,b,1,7)),b.n));m.e!=m.i.gc();){l=RD(bMd(m),135);if(!Heb(TD(Gxd(l,pBc)))&&!!l.a){q=h5b(l);Rmb(p.b,q);switch(RD(mQb(q,wAc),278).g){case 1:case 2:n.Fc((ovc(),gvc));break;case 0:n.Fc((ovc(),evc));pQb(q,wAc,(Omd(),Lmd));}}}f=RD(mQb(d,oAc),322);r=RD(mQb(d,kBc),323);e=f==(stc(),ptc)||r==(JDc(),FDc);if(!!g&&(!g.a&&(g.a=new XZd(D4,g,5)),g.a).i!=0&&e){s=ssd(g);o=new Ejd;for(u=Sub(s,0);u.b!=u.d.c;){t=RD(evb(u),8);Mub(o,new sjd(t));}pQb(p,Bwc,o);}return p} + function F0c(a,b,c,d){var e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,A,B,C,D,F,G,H,I;C=0;D=0;A=new Tsb;v=RD(Lvb(JDb(GDb(new SDb(null,new Swb(a.b,16)),new v1c),new Z0c)),17).a+1;B=$C(kE,Pwe,28,v,15,1);q=$C(kE,Pwe,28,v,15,1);for(p=0;p1){for(h=G+1;hj.b.e.b*(1-r)+j.c.e.b*r){break}}if(w.gc()>0){H=j.a.b==0?ajd(j.b.e):RD(Rub(j.a),8);t=$id(ajd(RD(w.Xb(w.gc()-1),40).e),RD(w.Xb(w.gc()-1),40).f);m=$id(ajd(RD(w.Xb(0),40).e),RD(w.Xb(0),40).f);if(o>=w.gc()-1&&H.b>t.b&&j.c.e.b>t.b){continue}if(o<=0&&H.bj.b.e.a*(1-r)+j.c.e.a*r){break}}if(w.gc()>0){H=j.a.b==0?ajd(j.b.e):RD(Rub(j.a),8);t=$id(ajd(RD(w.Xb(w.gc()-1),40).e),RD(w.Xb(w.gc()-1),40).f);m=$id(ajd(RD(w.Xb(0),40).e),RD(w.Xb(0),40).f);if(o>=w.gc()-1&&H.a>t.a&&j.c.e.a>t.a){continue}if(o<=0&&H.a=Kfb(UD(mQb(a,(q$c(),$Zc))))&&++D;}else {n.f&&n.d.e.a<=Kfb(UD(mQb(a,(q$c(),ZZc))))&&++C;n.g&&n.c.e.a+n.c.f.a>=Kfb(UD(mQb(a,(q$c(),YZc))))&&++D;}}}else if(u==0){H0c(j);}else if(u<0){++B[G];++q[I];F=C0c(j,b,a,new Ptd(sgb(C),sgb(D)),c,d,new Ptd(sgb(q[I]),sgb(B[G])));C=RD(F.a,17).a;D=RD(F.b,17).a;}}} + function qrc(a,b,c){var d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s;d=b;i=c;if(a.b&&d.j==(qpd(),ppd)&&i.j==(qpd(),ppd)){s=d;d=i;i=s;}if(Ujb(a.a,d)){if(Zsb(RD(Wjb(a.a,d),49),i)){return 1}}else {Zjb(a.a,d,new _sb);}if(Ujb(a.a,i)){if(Zsb(RD(Wjb(a.a,i),49),d)){return -1}}else {Zjb(a.a,i,new _sb);}if(Ujb(a.d,d)){if(Zsb(RD(Wjb(a.d,d),49),i)){return -1}}else {Zjb(a.d,d,new _sb);}if(Ujb(a.d,i)){if(Zsb(RD(Wjb(a.a,i),49),d)){return 1}}else {Zjb(a.d,i,new _sb);}if(d.j!=i.j){r=yrc(d.j,i.j);r==-1?rrc(a,i,d):rrc(a,d,i);return r}if(d.e.c.length!=0&&i.e.c.length!=0){if(a.b){r=orc(d,i);if(r!=0){r==-1?rrc(a,i,d):r==1&&rrc(a,d,i);return r}}f=RD(Vmb(d.e,0),18).c.i;k=RD(Vmb(i.e,0),18).c.i;if(f==k){e=RD(mQb(RD(Vmb(d.e,0),18),(Ywc(),zwc)),17).a;j=RD(mQb(RD(Vmb(i.e,0),18),zwc),17).a;e>j?rrc(a,d,i):rrc(a,i,d);return ej?1:0}for(o=a.c,p=0,q=o.length;pj?rrc(a,d,i):rrc(a,i,d);return ej?1:0}if(a.b){r=orc(d,i);if(r!=0){r==-1?rrc(a,i,d):r==1&&rrc(a,d,i);return r}}g=0;l=0;nQb(RD(Vmb(d.g,0),18),zwc)&&(g=RD(mQb(RD(Vmb(d.g,0),18),zwc),17).a);nQb(RD(Vmb(i.g,0),18),zwc)&&(l=RD(mQb(RD(Vmb(d.g,0),18),zwc),17).a);if(!!h&&h==m){if(Heb(TD(mQb(RD(Vmb(d.g,0),18),Nwc)))&&!Heb(TD(mQb(RD(Vmb(i.g,0),18),Nwc)))){rrc(a,d,i);return 1}else if(!Heb(TD(mQb(RD(Vmb(d.g,0),18),Nwc)))&&Heb(TD(mQb(RD(Vmb(i.g,0),18),Nwc)))){rrc(a,i,d);return -1}g>l?rrc(a,d,i):rrc(a,i,d);return gl?1:0}if(a.f){a.f._b(h)&&(g=RD(a.f.xc(h),17).a);a.f._b(m)&&(l=RD(a.f.xc(m),17).a);}g>l?rrc(a,d,i):rrc(a,i,d);return gl?1:0}if(d.e.c.length!=0&&i.g.c.length!=0){rrc(a,d,i);return 1}else if(d.g.c.length!=0&&i.e.c.length!=0){rrc(a,i,d);return -1}else if(nQb(d,(Ywc(),zwc))&&nQb(i,zwc)){e=RD(mQb(d,zwc),17).a;j=RD(mQb(i,zwc),17).a;e>j?rrc(a,d,i):rrc(a,i,d);return ej?1:0}else {rrc(a,i,d);return -1}} + function Yae(a){if(a.gb)return;a.gb=true;a.b=jBd(a,0);iBd(a.b,18);oBd(a.b,19);a.a=jBd(a,1);iBd(a.a,1);oBd(a.a,2);oBd(a.a,3);oBd(a.a,4);oBd(a.a,5);a.o=jBd(a,2);iBd(a.o,8);iBd(a.o,9);oBd(a.o,10);oBd(a.o,11);oBd(a.o,12);oBd(a.o,13);oBd(a.o,14);oBd(a.o,15);oBd(a.o,16);oBd(a.o,17);oBd(a.o,18);oBd(a.o,19);oBd(a.o,20);oBd(a.o,21);oBd(a.o,22);oBd(a.o,23);nBd(a.o);nBd(a.o);nBd(a.o);nBd(a.o);nBd(a.o);nBd(a.o);nBd(a.o);nBd(a.o);nBd(a.o);nBd(a.o);a.p=jBd(a,3);iBd(a.p,2);iBd(a.p,3);iBd(a.p,4);iBd(a.p,5);oBd(a.p,6);oBd(a.p,7);nBd(a.p);nBd(a.p);a.q=jBd(a,4);iBd(a.q,8);a.v=jBd(a,5);oBd(a.v,9);nBd(a.v);nBd(a.v);nBd(a.v);a.w=jBd(a,6);iBd(a.w,2);iBd(a.w,3);iBd(a.w,4);oBd(a.w,5);a.B=jBd(a,7);oBd(a.B,1);nBd(a.B);nBd(a.B);nBd(a.B);a.Q=jBd(a,8);oBd(a.Q,0);nBd(a.Q);a.R=jBd(a,9);iBd(a.R,1);a.S=jBd(a,10);nBd(a.S);nBd(a.S);nBd(a.S);nBd(a.S);nBd(a.S);nBd(a.S);nBd(a.S);nBd(a.S);nBd(a.S);nBd(a.S);nBd(a.S);nBd(a.S);nBd(a.S);nBd(a.S);nBd(a.S);a.T=jBd(a,11);oBd(a.T,10);oBd(a.T,11);oBd(a.T,12);oBd(a.T,13);oBd(a.T,14);nBd(a.T);nBd(a.T);a.U=jBd(a,12);iBd(a.U,2);iBd(a.U,3);oBd(a.U,4);oBd(a.U,5);oBd(a.U,6);oBd(a.U,7);nBd(a.U);a.V=jBd(a,13);oBd(a.V,10);a.W=jBd(a,14);iBd(a.W,18);iBd(a.W,19);iBd(a.W,20);oBd(a.W,21);oBd(a.W,22);oBd(a.W,23);a.bb=jBd(a,15);iBd(a.bb,10);iBd(a.bb,11);iBd(a.bb,12);iBd(a.bb,13);iBd(a.bb,14);iBd(a.bb,15);iBd(a.bb,16);oBd(a.bb,17);nBd(a.bb);nBd(a.bb);a.eb=jBd(a,16);iBd(a.eb,2);iBd(a.eb,3);iBd(a.eb,4);iBd(a.eb,5);iBd(a.eb,6);iBd(a.eb,7);oBd(a.eb,8);oBd(a.eb,9);a.ab=jBd(a,17);iBd(a.ab,0);iBd(a.ab,1);a.H=jBd(a,18);oBd(a.H,0);oBd(a.H,1);oBd(a.H,2);oBd(a.H,3);oBd(a.H,4);oBd(a.H,5);nBd(a.H);a.db=jBd(a,19);oBd(a.db,2);a.c=kBd(a,20);a.d=kBd(a,21);a.e=kBd(a,22);a.f=kBd(a,23);a.i=kBd(a,24);a.g=kBd(a,25);a.j=kBd(a,26);a.k=kBd(a,27);a.n=kBd(a,28);a.r=kBd(a,29);a.s=kBd(a,30);a.t=kBd(a,31);a.u=kBd(a,32);a.fb=kBd(a,33);a.A=kBd(a,34);a.C=kBd(a,35);a.D=kBd(a,36);a.F=kBd(a,37);a.G=kBd(a,38);a.I=kBd(a,39);a.J=kBd(a,40);a.L=kBd(a,41);a.M=kBd(a,42);a.N=kBd(a,43);a.O=kBd(a,44);a.P=kBd(a,45);a.X=kBd(a,46);a.Y=kBd(a,47);a.Z=kBd(a,48);a.$=kBd(a,49);a._=kBd(a,50);a.cb=kBd(a,51);a.K=kBd(a,52);} + function d5b(a,b,c){var d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,A,B,C,D,F,G;g=new Yub;w=RD(mQb(c,(yCc(),rAc)),88);p=0;ye(g,(!b.a&&(b.a=new C5d(J4,b,10,11)),b.a));while(g.b!=0){k=RD(g.b==0?null:(sFb(g.b!=0),Wub(g,g.a.a)),27);j=vCd(k);(dE(Gxd(j,cAc))!==dE((kEc(),hEc))||dE(Gxd(j,pAc))===dE((Ptc(),Otc))||dE(Gxd(j,pAc))===dE((Ptc(),Mtc))||Heb(TD(Gxd(j,eAc)))||dE(Gxd(j,Yzc))!==dE((U$b(),T$b))||dE(Gxd(j,ZAc))===dE((aEc(),TDc))||dE(Gxd(j,ZAc))===dE((aEc(),UDc))||dE(Gxd(j,$Ac))===dE((_Cc(),SCc))||dE(Gxd(j,$Ac))===dE((_Cc(),UCc)))&&!Heb(TD(Gxd(k,aAc)))&&Ixd(k,(Ywc(),zwc),sgb(p++));r=!Heb(TD(Gxd(k,pBc)));if(r){m=(!k.a&&(k.a=new C5d(J4,k,10,11)),k.a).i!=0;o=a5b(k);n=dE(Gxd(k,IAc))===dE((Fnd(),Cnd));G=!Hxd(k,(umd(),Akd))||khb(WD(Gxd(k,Akd)));u=null;if(G&&n&&(m||o)){u=Z4b(k);pQb(u,rAc,w);nQb(u,PBc)&&HCc(new RCc(Kfb(UD(mQb(u,PBc)))),u);if(RD(Gxd(k,lBc),181).gc()!=0){l=u;FDb(new SDb(null,(!k.c&&(k.c=new C5d(K4,k,9,9)),new Swb(k.c,16))),new u5b(l));V4b(k,u);}}A=c;B=RD(Wjb(a.a,vCd(k)),10);!!B&&(A=B.e);t=i5b(a,k,A);if(u){t.e=u;u.e=t;ye(g,(!k.a&&(k.a=new C5d(J4,k,10,11)),k.a));}}}p=0;Pub(g,b,g.c.b,g.c);while(g.b!=0){f=RD(g.b==0?null:(sFb(g.b!=0),Wub(g,g.a.a)),27);for(i=new dMd((!f.b&&(f.b=new C5d(G4,f,12,3)),f.b));i.e!=i.i.gc();){h=RD(bMd(i),74);X4b(h);(dE(Gxd(b,cAc))!==dE((kEc(),hEc))||dE(Gxd(b,pAc))===dE((Ptc(),Otc))||dE(Gxd(b,pAc))===dE((Ptc(),Mtc))||Heb(TD(Gxd(b,eAc)))||dE(Gxd(b,Yzc))!==dE((U$b(),T$b))||dE(Gxd(b,ZAc))===dE((aEc(),TDc))||dE(Gxd(b,ZAc))===dE((aEc(),UDc))||dE(Gxd(b,$Ac))===dE((_Cc(),SCc))||dE(Gxd(b,$Ac))===dE((_Cc(),UCc)))&&Ixd(h,(Ywc(),zwc),sgb(p++));D=AGd(RD(QHd((!h.b&&(h.b=new Yie(E4,h,4,7)),h.b),0),84));F=AGd(RD(QHd((!h.c&&(h.c=new Yie(E4,h,5,8)),h.c),0),84));if(Heb(TD(Gxd(h,pBc)))||Heb(TD(Gxd(D,pBc)))||Heb(TD(Gxd(F,pBc)))){continue}q=ozd(h)&&Heb(TD(Gxd(D,NAc)))&&Heb(TD(Gxd(h,OAc)));v=f;q||NGd(F,D)?(v=D):NGd(D,F)&&(v=F);A=c;B=RD(Wjb(a.a,v),10);!!B&&(A=B.e);s=f5b(a,h,v,A);pQb(s,(Ywc(),Zvc),_4b(a,h,b,c));}n=dE(Gxd(f,IAc))===dE((Fnd(),Cnd));if(n){for(e=new dMd((!f.a&&(f.a=new C5d(J4,f,10,11)),f.a));e.e!=e.i.gc();){d=RD(bMd(e),27);G=!Hxd(d,(umd(),Akd))||khb(WD(Gxd(d,Akd)));C=dE(Gxd(d,IAc))===dE(Cnd);G&&C&&(Pub(g,d,g.c.b,g.c),true);}}}} + function Ywc(){Ywc=geb;var a,b;Awc=new jGd(rAe);Zvc=new jGd('coordinateOrigin');Kwc=new jGd('processors');Yvc=new kGd('compoundNode',(Geb(),false));nwc=new kGd('insideConnections',false);Bwc=new jGd('originalBendpoints');Cwc=new jGd('originalDummyNodePosition');Dwc=new jGd('originalLabelEdge');Mwc=new jGd('representedLabels');cwc=new jGd('endLabels');dwc=new jGd('endLabel.origin');swc=new kGd('labelSide',(Pnd(),Ond));ywc=new kGd('maxEdgeThickness',0);Nwc=new kGd('reversed',false);Lwc=new jGd(sAe);vwc=new kGd('longEdgeSource',null);wwc=new kGd('longEdgeTarget',null);uwc=new kGd('longEdgeHasLabelDummies',false);twc=new kGd('longEdgeBeforeLabelDummy',false);bwc=new kGd('edgeConstraint',(huc(),fuc));pwc=new jGd('inLayerLayoutUnit');owc=new kGd('inLayerConstraint',(Gvc(),Evc));qwc=new kGd('inLayerSuccessorConstraint',new bnb);rwc=new kGd('inLayerSuccessorConstraintBetweenNonDummies',false);Iwc=new jGd('portDummy');$vc=new kGd('crossingHint',sgb(0));kwc=new kGd('graphProperties',(b=RD(mfb(iX),9),new Fsb(b,RD(WEb(b,b.length),9),0)));hwc=new kGd('externalPortSide',(qpd(),opd));iwc=new kGd('externalPortSize',new pjd);fwc=new jGd('externalPortReplacedDummies');gwc=new jGd('externalPortReplacedDummy');ewc=new kGd('externalPortConnections',(a=RD(mfb(E3),9),new Fsb(a,RD(WEb(a,a.length),9),0)));Jwc=new kGd(Xye,0);Uvc=new jGd('barycenterAssociates');Xwc=new jGd('TopSideComments');Vvc=new jGd('BottomSideComments');Xvc=new jGd('CommentConnectionPort');mwc=new kGd('inputCollect',false);Gwc=new kGd('outputCollect',false);awc=new kGd('cyclic',false);_vc=new jGd('crossHierarchyMap');Wwc=new jGd('targetOffset');new kGd('splineLabelSize',new pjd);Qwc=new jGd('spacings');Hwc=new kGd('partitionConstraint',false);Wvc=new jGd('breakingPoint.info');Uwc=new jGd('splines.survivingEdge');Twc=new jGd('splines.route.start');Rwc=new jGd('splines.edgeChain');Fwc=new jGd('originalPortConstraints');Pwc=new jGd('selfLoopHolder');Swc=new jGd('splines.nsPortY');zwc=new jGd('modelOrder');xwc=new jGd('longEdgeTargetNode');jwc=new kGd(GBe,false);Owc=new kGd(GBe,false);lwc=new jGd('layerConstraints.hiddenNodes');Ewc=new jGd('layerConstraints.opposidePort');Vwc=new jGd('targetNode.modelOrder');} + function D0c(a,b,c,d){var e,f,g,h,i,j,k,l,m,n,o;for(l=Sub(a.b,0);l.b!=l.d.c;){k=RD(evb(l),40);if(lhb(k.c,IEe)){continue}f=RD(zDb(new SDb(null,new Swb(hWc(k,a),16)),tBb(new ZBb,new XBb,new wCb,cD(WC(QL,1),jwe,108,0,[(xBb(),vBb)]))),15);b==(Cmd(),ymd)||b==zmd?f.jd(new L1c):f.jd(new R1c);o=f.gc();for(e=0;e0){h=RD(Rub(RD(f.Xb(e),65).a),8).a;m=k.e.a+k.f.a/2;i=RD(Rub(RD(f.Xb(e),65).a),8).b;n=k.e.b+k.f.b/2;d>0&&$wnd.Math.abs(i-n)/($wnd.Math.abs(h-m)/40)>50&&(n>i?Oub(RD(f.Xb(e),65).a,new rjd(k.e.a+k.f.a+d/5.3,k.e.b+k.f.b*g-d/2)):Oub(RD(f.Xb(e),65).a,new rjd(k.e.a+k.f.a+d/5.3,k.e.b+k.f.b*g+d/2)));}Oub(RD(f.Xb(e),65).a,new rjd(k.e.a+k.f.a,k.e.b+k.f.b*g));}else if(b==zmd){j=Kfb(UD(mQb(k,(q$c(),f$c))));if(k.e.a-d>j){Oub(RD(f.Xb(e),65).a,new rjd(j-c,k.e.b+k.f.b*g));}else if(RD(f.Xb(e),65).a.b>0){h=RD(Rub(RD(f.Xb(e),65).a),8).a;m=k.e.a+k.f.a/2;i=RD(Rub(RD(f.Xb(e),65).a),8).b;n=k.e.b+k.f.b/2;d>0&&$wnd.Math.abs(i-n)/($wnd.Math.abs(h-m)/40)>50&&(n>i?Oub(RD(f.Xb(e),65).a,new rjd(k.e.a-d/5.3,k.e.b+k.f.b*g-d/2)):Oub(RD(f.Xb(e),65).a,new rjd(k.e.a-d/5.3,k.e.b+k.f.b*g+d/2)));}Oub(RD(f.Xb(e),65).a,new rjd(k.e.a,k.e.b+k.f.b*g));}else if(b==Bmd){j=Kfb(UD(mQb(k,(q$c(),e$c))));if(k.e.b+k.f.b+d0){h=RD(Rub(RD(f.Xb(e),65).a),8).a;m=k.e.a+k.f.a/2;i=RD(Rub(RD(f.Xb(e),65).a),8).b;n=k.e.b+k.f.b/2;d>0&&$wnd.Math.abs(h-m)/($wnd.Math.abs(i-n)/40)>50&&(m>h?Oub(RD(f.Xb(e),65).a,new rjd(k.e.a+k.f.a*g-d/2,k.e.b+d/5.3+k.f.b)):Oub(RD(f.Xb(e),65).a,new rjd(k.e.a+k.f.a*g+d/2,k.e.b+d/5.3+k.f.b)));}Oub(RD(f.Xb(e),65).a,new rjd(k.e.a+k.f.a*g,k.e.b+k.f.b));}else {j=Kfb(UD(mQb(k,(q$c(),f$c))));if(mWc(RD(f.Xb(e),65),a)){Oub(RD(f.Xb(e),65).a,new rjd(k.e.a+k.f.a*g,RD(Rub(RD(f.Xb(e),65).a),8).b));}else if(k.e.b-d>j){Oub(RD(f.Xb(e),65).a,new rjd(k.e.a+k.f.a*g,j-c));}else if(RD(f.Xb(e),65).a.b>0){h=RD(Rub(RD(f.Xb(e),65).a),8).a;m=k.e.a+k.f.a/2;i=RD(Rub(RD(f.Xb(e),65).a),8).b;n=k.e.b+k.f.b/2;d>0&&$wnd.Math.abs(h-m)/($wnd.Math.abs(i-n)/40)>50&&(m>h?Oub(RD(f.Xb(e),65).a,new rjd(k.e.a+k.f.a*g-d/2,k.e.b-d/5.3)):Oub(RD(f.Xb(e),65).a,new rjd(k.e.a+k.f.a*g+d/2,k.e.b-d/5.3)));}Oub(RD(f.Xb(e),65).a,new rjd(k.e.a+k.f.a*g,k.e.b));}}}} + function umd(){umd=geb;var a,b;Akd=new jGd(OGe);Tld=new jGd(PGe);Ckd=(Rjd(),Ljd);Bkd=new lGd(MDe,Ckd);Dkd=new lGd(Dze,null);Ekd=new jGd(QGe);Lkd=(ukd(),ysb(tkd,cD(WC(q3,1),jwe,298,0,[pkd])));Kkd=new lGd(YDe,Lkd);Mkd=new lGd(LDe,(Geb(),false));Okd=(Cmd(),Amd);Nkd=new lGd(PDe,Okd);Tkd=(Ymd(),Xmd);Skd=new lGd(kDe,Tkd);Wkd=new lGd(MGe,false);Ykd=(Fnd(),Dnd);Xkd=new lGd(fDe,Ykd);uld=new A3b(12);tld=new lGd(Eze,uld);ald=new lGd(dAe,false);bld=new lGd(iEe,false);sld=new lGd(gAe,false);Ild=(Bod(),Aod);Hld=new lGd(eAe,Ild);Qld=new jGd(fEe);Rld=new jGd($ze);Sld=new jGd(bAe);Vld=new jGd(cAe);dld=new Ejd;cld=new lGd(ZDe,dld);Jkd=new lGd(aEe,false);Zkd=new lGd(bEe,false);fld=new P2b;eld=new lGd(gEe,fld);rld=new lGd(JDe,false);Uld=new lGd(SGe,1);Ikd=new jGd(TGe);Hkd=new jGd(UGe);mmd=new lGd(mAe,false);new lGd(VGe,true);sgb(0);new lGd(WGe,sgb(100));new lGd(XGe,false);sgb(0);new lGd(YGe,sgb(4000));sgb(0);new lGd(ZGe,sgb(400));new lGd($Ge,false);new lGd(_Ge,false);new lGd(aHe,true);new lGd(bHe,false);Gkd=(Grd(),Frd);Fkd=new lGd(NGe,Gkd);Wld=new lGd(xDe,10);Xld=new lGd(yDe,10);Yld=new lGd(Bze,20);Zld=new lGd(zDe,10);$ld=new lGd(aAe,2);_ld=new lGd(ADe,10);bmd=new lGd(BDe,0);cmd=new lGd(EDe,5);dmd=new lGd(CDe,1);emd=new lGd(DDe,1);fmd=new lGd(_ze,20);gmd=new lGd(FDe,10);jmd=new lGd(GDe,10);amd=new jGd(HDe);imd=new Q2b;hmd=new lGd(hEe,imd);xld=new jGd(eEe);wld=false;vld=new lGd(dEe,wld);hld=new A3b(5);gld=new lGd(QDe,hld);jld=(dod(),b=RD(mfb(A3),9),new Fsb(b,RD(WEb(b,b.length),9),0));ild=new lGd(kAe,jld);Ald=(pod(),mod);zld=new lGd(TDe,Ald);Cld=new jGd(UDe);Dld=new jGd(VDe);Eld=new jGd(WDe);Bld=new jGd(XDe);lld=(a=RD(mfb(H3),9),new Fsb(a,RD(WEb(a,a.length),9),0));kld=new lGd(jAe,lld);qld=xsb((dqd(),Ypd));pld=new lGd(iAe,qld);old=new rjd(0,0);nld=new lGd(CAe,old);mld=new lGd(hAe,false);Rkd=(Omd(),Lmd);Qkd=new lGd($De,Rkd);Pkd=new lGd(fAe,false);sgb(1);new lGd(dHe,null);Fld=new jGd(cEe);Jld=new jGd(_De);Pld=(qpd(),opd);Old=new lGd(KDe,Pld);Gld=new jGd(IDe);Mld=(Pod(),xsb(Nod));Lld=new lGd(lAe,Mld);Kld=new lGd(RDe,false);Nld=new lGd(SDe,true);qmd=new lGd(nAe,1);smd=new lGd(eHe,null);lmd=new lGd(oAe,150);kmd=new lGd(pAe,1.414);nmd=new lGd(qAe,null);omd=new lGd(fHe,1);$kd=new lGd(NDe,false);_kd=new lGd(ODe,false);Ukd=new lGd(Cze,1);Vkd=(ind(),gnd);new lGd(gHe,Vkd);yld=true;rmd=(mqd(),jqd);tmd=jqd;pmd=jqd;} + function hcc(){hcc=geb;nbc=new icc('DIRECTION_PREPROCESSOR',0);kbc=new icc('COMMENT_PREPROCESSOR',1);obc=new icc('EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER',2);Ebc=new icc('INTERACTIVE_EXTERNAL_PORT_POSITIONER',3);Xbc=new icc('PARTITION_PREPROCESSOR',4);Ibc=new icc('LABEL_DUMMY_INSERTER',5);bcc=new icc('SELF_LOOP_PREPROCESSOR',6);Nbc=new icc('LAYER_CONSTRAINT_PREPROCESSOR',7);Vbc=new icc('PARTITION_MIDPROCESSOR',8);zbc=new icc('HIGH_DEGREE_NODE_LAYER_PROCESSOR',9);Rbc=new icc('NODE_PROMOTION',10);Mbc=new icc('LAYER_CONSTRAINT_POSTPROCESSOR',11);Wbc=new icc('PARTITION_POSTPROCESSOR',12);vbc=new icc('HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR',13);dcc=new icc('SEMI_INTERACTIVE_CROSSMIN_PROCESSOR',14);ebc=new icc('BREAKING_POINT_INSERTER',15);Qbc=new icc('LONG_EDGE_SPLITTER',16);Zbc=new icc('PORT_SIDE_PROCESSOR',17);Fbc=new icc('INVERTED_PORT_PROCESSOR',18);Ybc=new icc('PORT_LIST_SORTER',19);fcc=new icc('SORT_BY_INPUT_ORDER_OF_MODEL',20);Tbc=new icc('NORTH_SOUTH_PORT_PREPROCESSOR',21);fbc=new icc('BREAKING_POINT_PROCESSOR',22);Ubc=new icc(jBe,23);gcc=new icc(kBe,24);_bc=new icc('SELF_LOOP_PORT_RESTORER',25);ecc=new icc('SINGLE_EDGE_GRAPH_WRAPPER',26);Gbc=new icc('IN_LAYER_CONSTRAINT_PROCESSOR',27);sbc=new icc('END_NODE_PORT_LABEL_MANAGEMENT_PROCESSOR',28);Hbc=new icc('LABEL_AND_NODE_SIZE_PROCESSOR',29);Dbc=new icc('INNERMOST_NODE_MARGIN_CALCULATOR',30);ccc=new icc('SELF_LOOP_ROUTER',31);ibc=new icc('COMMENT_NODE_MARGIN_CALCULATOR',32);qbc=new icc('END_LABEL_PREPROCESSOR',33);Kbc=new icc('LABEL_DUMMY_SWITCHER',34);hbc=new icc('CENTER_LABEL_MANAGEMENT_PROCESSOR',35);Lbc=new icc('LABEL_SIDE_SELECTOR',36);Bbc=new icc('HYPEREDGE_DUMMY_MERGER',37);wbc=new icc('HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR',38);Obc=new icc('LAYER_SIZE_AND_GRAPH_HEIGHT_CALCULATOR',39);ybc=new icc('HIERARCHICAL_PORT_POSITION_PROCESSOR',40);lbc=new icc('CONSTRAINTS_POSTPROCESSOR',41);jbc=new icc('COMMENT_POSTPROCESSOR',42);Cbc=new icc('HYPERNODE_PROCESSOR',43);xbc=new icc('HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER',44);Pbc=new icc('LONG_EDGE_JOINER',45);acc=new icc('SELF_LOOP_POSTPROCESSOR',46);gbc=new icc('BREAKING_POINT_REMOVER',47);Sbc=new icc('NORTH_SOUTH_PORT_POSTPROCESSOR',48);Abc=new icc('HORIZONTAL_COMPACTOR',49);Jbc=new icc('LABEL_DUMMY_REMOVER',50);tbc=new icc('FINAL_SPLINE_BENDPOINTS_CALCULATOR',51);rbc=new icc('END_LABEL_SORTER',52);$bc=new icc('REVERSED_EDGE_RESTORER',53);pbc=new icc('END_LABEL_POSTPROCESSOR',54);ubc=new icc('HIERARCHICAL_NODE_RESIZER',55);mbc=new icc('DIRECTION_POSTPROCESSOR',56);} + function Ozc(){Ozc=geb;Uxc=($tc(),Ytc);Txc=new lGd(HBe,Uxc);jyc=new lGd(IBe,(Geb(),false));pyc=(Ovc(),Mvc);oyc=new lGd(JBe,pyc);Hyc=new lGd(KBe,false);Iyc=new lGd(LBe,true);ixc=new lGd(MBe,false);azc=(sEc(),qEc);_yc=new lGd(NBe,azc);sgb(1);izc=new lGd(OBe,sgb(7));jzc=new lGd(PBe,false);kyc=new lGd(QBe,false);Sxc=(Ptc(),Ltc);Rxc=new lGd(RBe,Sxc);Gyc=(_Cc(),ZCc);Fyc=new lGd(SBe,Gyc);wyc=(cxc(),bxc);vyc=new lGd(TBe,wyc);sgb(-1);uyc=new lGd(UBe,null);sgb(-1);xyc=new lGd(VBe,sgb(-1));sgb(-1);yyc=new lGd(WBe,sgb(4));sgb(-1);Ayc=new lGd(XBe,sgb(2));Eyc=(aEc(),$Dc);Dyc=new lGd(YBe,Eyc);sgb(0);Cyc=new lGd(ZBe,sgb(0));syc=new lGd($Be,sgb(lve));Qxc=(stc(),qtc);Pxc=new lGd(_Be,Qxc);yxc=new lGd(aCe,false);Hxc=new lGd(bCe,0.1);Nxc=new lGd(cCe,false);Jxc=new lGd(dCe,null);Kxc=new lGd(eCe,null);sgb(-1);Lxc=new lGd(fCe,null);sgb(-1);Mxc=new lGd(gCe,sgb(-1));sgb(0);zxc=new lGd(hCe,sgb(40));Fxc=(xvc(),wvc);Exc=new lGd(iCe,Fxc);Bxc=uvc;Axc=new lGd(jCe,Bxc);$yc=(JDc(),EDc);Zyc=new lGd(kCe,$yc);Pyc=new jGd(lCe);Kyc=(Cuc(),Auc);Jyc=new lGd(mCe,Kyc);Nyc=(Ouc(),Luc);Myc=new lGd(nCe,Nyc);Syc=new lGd(oCe,0.3);Uyc=new jGd(pCe);Wyc=(wDc(),uDc);Vyc=new lGd(qCe,Wyc);ayc=(KEc(),IEc);_xc=new lGd(rCe,ayc);cyc=(TEc(),SEc);byc=new lGd(sCe,cyc);eyc=(lFc(),kFc);dyc=new lGd(tCe,eyc);gyc=new lGd(uCe,0.2);Zxc=new lGd(vCe,2);ezc=new lGd(wCe,null);gzc=new lGd(xCe,10);fzc=new lGd(yCe,10);hzc=new lGd(zCe,20);sgb(0);bzc=new lGd(ACe,sgb(0));sgb(0);czc=new lGd(BCe,sgb(0));sgb(0);dzc=new lGd(CCe,sgb(0));jxc=new lGd(DCe,false);nxc=($uc(),Yuc);mxc=new lGd(ECe,nxc);lxc=(jtc(),itc);kxc=new lGd(FCe,lxc);myc=new lGd(GCe,false);sgb(0);lyc=new lGd(HCe,sgb(16));sgb(0);nyc=new lGd(ICe,sgb(5));Gzc=(DFc(),BFc);Fzc=new lGd(JCe,Gzc);kzc=new lGd(KCe,10);nzc=new lGd(LCe,1);wzc=(Etc(),Dtc);vzc=new lGd(MCe,wzc);qzc=new jGd(NCe);tzc=sgb(1);sgb(0);szc=new lGd(OCe,tzc);Lzc=(uFc(),rFc);Kzc=new lGd(PCe,Lzc);Hzc=new jGd(QCe);Bzc=new lGd(RCe,true);zzc=new lGd(SCe,2);Dzc=new lGd(TCe,true);Yxc=(tuc(),ruc);Xxc=new lGd(UCe,Yxc);Wxc=(btc(),Zsc);Vxc=new lGd(VCe,Wxc);xxc=(kEc(),hEc);wxc=new lGd(WCe,xxc);vxc=new lGd(XCe,false);uxc=new lGd(YCe,false);pxc=(U$b(),T$b);oxc=new lGd(ZCe,pxc);txc=(lDc(),iDc);sxc=new lGd($Ce,txc);qxc=new lGd(_Ce,0);rxc=new lGd(aDe,0);ryc=Ntc;qyc=ptc;zyc=YCc;Byc=YCc;tyc=TCc;Ixc=(Fnd(),Cnd);Oxc=qtc;Gxc=qtc;Cxc=qtc;Dxc=Cnd;Qyc=HDc;Ryc=EDc;Lyc=EDc;Oyc=EDc;Tyc=GDc;Yyc=HDc;Xyc=HDc;fyc=(Ymd(),Wmd);hyc=Wmd;iyc=kFc;$xc=Vmd;lzc=CFc;mzc=AFc;ozc=CFc;pzc=AFc;xzc=CFc;yzc=AFc;rzc=Ctc;uzc=Dtc;Mzc=CFc;Nzc=AFc;Izc=CFc;Jzc=AFc;Czc=AFc;Azc=AFc;Ezc=AFc;} + function iNc(a,b,c){var d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,A,B,C,D,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,$,ab,bb,cb,db,eb,fb,gb,hb,ib,jb,kb,lb;cb=0;for(H=b,K=0,N=H.length;K0&&(a.a[U.p]=cb++);}}hb=0;for(I=c,L=0,O=I.length;L0){U=(sFb(Y.b>0),RD(Y.a.Xb(Y.c=--Y.b),12));X=0;for(h=new Anb(U.e);h.a0){if(U.j==(qpd(),Yod)){a.a[U.p]=hb;++hb;}else {a.a[U.p]=hb+P+R;++R;}}}hb+=R;}W=new Tsb;o=new Iub;for(G=b,J=0,M=G.length;Jj.b&&(j.b=Z);}else if(U.i.c==bb){Zj.c&&(j.c=Z);}}}Wnb(p,0,p.length,null);gb=$C(kE,Pwe,28,p.length,15,1);d=$C(kE,Pwe,28,hb+1,15,1);for(r=0;r0){A%2>0&&(e+=kb[A+1]);A=(A-1)/2|0;++kb[A];}}C=$C(NY,rve,374,p.length*2,0,1);for(u=0;u0&&(ltd(J.f),false)){if(RD(Gxd(r,nmd),280)==jqd){throw Adb(new Jed('Topdown Layout Providers should only be used on parallel nodes.'))}fE(ltd(J.f));null.Um();zyd(r,$wnd.Math.max(r.g,null.Vm),$wnd.Math.max(r.f,null.Vm));}else if(Gxd(r,smd)!=null){h=RD(Gxd(r,smd),347);W=h.Tg(r);zyd(r,$wnd.Math.max(r.g,W.a),$wnd.Math.max(r.f,W.b));}}}O=RD(Gxd(b,tld),107);n=b.g-(O.b+O.c);m=b.f-(O.d+O.a);Z.bh('Available Child Area: ('+n+'|'+m+')');Ixd(b,Dkd,n/m);Ced(b,e,d.eh(M));if(RD(Gxd(b,nmd),280)==lqd){psd(b);zyd(b,O.b+Kfb(UD(Gxd(b,Ikd)))+O.c,O.d+Kfb(UD(Gxd(b,Hkd)))+O.a);}Z.bh('Executed layout algorithm: '+WD(Gxd(b,Akd))+' on node '+b.k);if(RD(Gxd(b,nmd),280)==jqd){if(n<0||m<0){throw Adb(new Jed('The size defined by the parent parallel node is too small for the space provided by the paddings of the child hierarchical node. '+b.k))}Hxd(b,Ikd)||Hxd(b,Hkd)||psd(b);p=Kfb(UD(Gxd(b,Ikd)));o=Kfb(UD(Gxd(b,Hkd)));Z.bh('Desired Child Area: ('+p+'|'+o+')');Q=n/p;R=m/o;P=$wnd.Math.min(Q,$wnd.Math.min(R,Kfb(UD(Gxd(b,omd)))));Ixd(b,qmd,P);Z.bh(b.k+' -- Local Scale Factor (X|Y): ('+Q+'|'+R+')');u=RD(Gxd(b,Kkd),21);f=0;g=0;P'?":lhb(XIe,a)?"'(?<' or '(? toIndex: ',bye=', toIndex: ',cye='Index: ',dye=', Size: ',eye='org.eclipse.elk.alg.common',fye={50:1},gye='org.eclipse.elk.alg.common.compaction',hye='Scanline/EventHandler',iye='org.eclipse.elk.alg.common.compaction.oned',jye='CNode belongs to another CGroup.',kye='ISpacingsHandler/1',lye='The ',mye=' instance has been finished already.',nye='The direction ',oye=' is not supported by the CGraph instance.',pye='OneDimensionalCompactor',qye='OneDimensionalCompactor/lambda$0$Type',rye='Quadruplet',sye='ScanlineConstraintCalculator',tye='ScanlineConstraintCalculator/ConstraintsScanlineHandler',uye='ScanlineConstraintCalculator/ConstraintsScanlineHandler/lambda$0$Type',vye='ScanlineConstraintCalculator/Timestamp',wye='ScanlineConstraintCalculator/lambda$0$Type',xye={178:1,46:1},yye='org.eclipse.elk.alg.common.compaction.options',zye='org.eclipse.elk.core.data',Aye='org.eclipse.elk.polyomino.traversalStrategy',Bye='org.eclipse.elk.polyomino.lowLevelSort',Cye='org.eclipse.elk.polyomino.highLevelSort',Dye='org.eclipse.elk.polyomino.fill',Eye={134:1},Fye='polyomino',Gye='org.eclipse.elk.alg.common.networksimplex',Hye={183:1,3:1,4:1},Iye='org.eclipse.elk.alg.common.nodespacing',Jye='org.eclipse.elk.alg.common.nodespacing.cellsystem',Kye='CENTER',Lye={217:1,336:1},Mye={3:1,4:1,5:1,603:1},Nye='LEFT',Oye='RIGHT',Pye='Vertical alignment cannot be null',Qye='BOTTOM',Rye='org.eclipse.elk.alg.common.nodespacing.internal',Sye='UNDEFINED',Tye=0.01,Uye='org.eclipse.elk.alg.common.nodespacing.internal.algorithm',Vye='LabelPlacer/lambda$0$Type',Wye='LabelPlacer/lambda$1$Type',Xye='portRatioOrPosition',Yye='org.eclipse.elk.alg.common.overlaps',Zye='DOWN',$ye='org.eclipse.elk.alg.common.polyomino',_ye='NORTH',aze='EAST',bze='SOUTH',cze='WEST',dze='org.eclipse.elk.alg.common.polyomino.structures',eze='Direction',fze='Grid is only of size ',gze='. Requested point (',hze=') is out of bounds.',ize=' Given center based coordinates were (',jze='org.eclipse.elk.graph.properties',kze='IPropertyHolder',lze={3:1,96:1,137:1},mze='org.eclipse.elk.alg.common.spore',nze='org.eclipse.elk.alg.common.utils',oze={205:1},pze='org.eclipse.elk.core',qze='Connected Components Compaction',rze='org.eclipse.elk.alg.disco',sze='org.eclipse.elk.alg.disco.graph',tze='org.eclipse.elk.alg.disco.options',uze='CompactionStrategy',vze='org.eclipse.elk.disco.componentCompaction.strategy',wze='org.eclipse.elk.disco.componentCompaction.componentLayoutAlgorithm',xze='org.eclipse.elk.disco.debug.discoGraph',yze='org.eclipse.elk.disco.debug.discoPolys',zze='componentCompaction',Aze='org.eclipse.elk.disco',Bze='org.eclipse.elk.spacing.componentComponent',Cze='org.eclipse.elk.edge.thickness',Dze='org.eclipse.elk.aspectRatio',Eze='org.eclipse.elk.padding',Fze='org.eclipse.elk.alg.disco.transform',Gze=1.5707963267948966,Hze=1.7976931348623157E308,Ize={3:1,4:1,5:1,198:1},Jze={3:1,6:1,4:1,5:1,100:1,115:1},Kze='org.eclipse.elk.alg.force',Lze='ComponentsProcessor',Mze='ComponentsProcessor/1',Nze='ElkGraphImporter/lambda$0$Type',Oze='org.eclipse.elk.alg.force.graph',Pze='Component Layout',Qze='org.eclipse.elk.alg.force.model',Rze='org.eclipse.elk.force.model',Sze='org.eclipse.elk.force.iterations',Tze='org.eclipse.elk.force.repulsivePower',Uze='org.eclipse.elk.force.temperature',Vze=0.001,Wze='org.eclipse.elk.force.repulsion',Xze='org.eclipse.elk.alg.force.options',Yze=1.600000023841858,Zze='org.eclipse.elk.force',$ze='org.eclipse.elk.priority',_ze='org.eclipse.elk.spacing.nodeNode',aAe='org.eclipse.elk.spacing.edgeLabel',bAe='org.eclipse.elk.randomSeed',cAe='org.eclipse.elk.separateConnectedComponents',dAe='org.eclipse.elk.interactive',eAe='org.eclipse.elk.portConstraints',fAe='org.eclipse.elk.edgeLabels.inline',gAe='org.eclipse.elk.omitNodeMicroLayout',hAe='org.eclipse.elk.nodeSize.fixedGraphSize',iAe='org.eclipse.elk.nodeSize.options',jAe='org.eclipse.elk.nodeSize.constraints',kAe='org.eclipse.elk.nodeLabels.placement',lAe='org.eclipse.elk.portLabels.placement',mAe='org.eclipse.elk.topdownLayout',nAe='org.eclipse.elk.topdown.scaleFactor',oAe='org.eclipse.elk.topdown.hierarchicalNodeWidth',pAe='org.eclipse.elk.topdown.hierarchicalNodeAspectRatio',qAe='org.eclipse.elk.topdown.nodeType',rAe='origin',sAe='random',tAe='boundingBox.upLeft',uAe='boundingBox.lowRight',vAe='org.eclipse.elk.stress.fixed',wAe='org.eclipse.elk.stress.desiredEdgeLength',xAe='org.eclipse.elk.stress.dimension',yAe='org.eclipse.elk.stress.epsilon',zAe='org.eclipse.elk.stress.iterationLimit',AAe='org.eclipse.elk.stress',BAe='ELK Stress',CAe='org.eclipse.elk.nodeSize.minimum',DAe='org.eclipse.elk.alg.force.stress',EAe='Layered layout',FAe='org.eclipse.elk.alg.layered',GAe='org.eclipse.elk.alg.layered.compaction.components',HAe='org.eclipse.elk.alg.layered.compaction.oned',IAe='org.eclipse.elk.alg.layered.compaction.oned.algs',JAe='org.eclipse.elk.alg.layered.compaction.recthull',KAe='org.eclipse.elk.alg.layered.components',LAe='NONE',MAe='MODEL_ORDER',NAe={3:1,6:1,4:1,9:1,5:1,126:1},OAe={3:1,6:1,4:1,5:1,150:1,100:1,115:1},PAe='org.eclipse.elk.alg.layered.compound',QAe={47:1},RAe='org.eclipse.elk.alg.layered.graph',SAe=' -> ',TAe='Not supported by LGraph',UAe='Port side is undefined',VAe={3:1,6:1,4:1,5:1,483:1,150:1,100:1,115:1},WAe={3:1,6:1,4:1,5:1,150:1,199:1,210:1,100:1,115:1},XAe={3:1,6:1,4:1,5:1,150:1,2042:1,210:1,100:1,115:1},YAe='([{"\' \t\r\n',ZAe=')]}"\' \t\r\n',$Ae='The given string contains parts that cannot be parsed as numbers.',_Ae='org.eclipse.elk.core.math',aBe={3:1,4:1,140:1,214:1,423:1},bBe={3:1,4:1,107:1,214:1,423:1},cBe='org.eclipse.elk.alg.layered.graph.transform',dBe='ElkGraphImporter',eBe='ElkGraphImporter/lambda$1$Type',fBe='ElkGraphImporter/lambda$2$Type',gBe='ElkGraphImporter/lambda$4$Type',hBe='org.eclipse.elk.alg.layered.intermediate',iBe='Node margin calculation',jBe='ONE_SIDED_GREEDY_SWITCH',kBe='TWO_SIDED_GREEDY_SWITCH',lBe='No implementation is available for the layout processor ',mBe='IntermediateProcessorStrategy',nBe="Node '",oBe='FIRST_SEPARATE',pBe='LAST_SEPARATE',qBe='Odd port side processing',rBe='org.eclipse.elk.alg.layered.intermediate.compaction',sBe='org.eclipse.elk.alg.layered.intermediate.greedyswitch',tBe='org.eclipse.elk.alg.layered.p3order.counting',uBe={230:1},vBe='org.eclipse.elk.alg.layered.intermediate.loops',wBe='org.eclipse.elk.alg.layered.intermediate.loops.ordering',xBe='org.eclipse.elk.alg.layered.intermediate.loops.routing',yBe='org.eclipse.elk.alg.layered.intermediate.preserveorder',zBe='org.eclipse.elk.alg.layered.intermediate.wrapping',ABe='org.eclipse.elk.alg.layered.options',BBe='INTERACTIVE',CBe='GREEDY',DBe='DEPTH_FIRST',EBe='EDGE_LENGTH',FBe='SELF_LOOPS',GBe='firstTryWithInitialOrder',HBe='org.eclipse.elk.layered.directionCongruency',IBe='org.eclipse.elk.layered.feedbackEdges',JBe='org.eclipse.elk.layered.interactiveReferencePoint',KBe='org.eclipse.elk.layered.mergeEdges',LBe='org.eclipse.elk.layered.mergeHierarchyEdges',MBe='org.eclipse.elk.layered.allowNonFlowPortsToSwitchSides',NBe='org.eclipse.elk.layered.portSortingStrategy',OBe='org.eclipse.elk.layered.thoroughness',PBe='org.eclipse.elk.layered.unnecessaryBendpoints',QBe='org.eclipse.elk.layered.generatePositionAndLayerIds',RBe='org.eclipse.elk.layered.cycleBreaking.strategy',SBe='org.eclipse.elk.layered.layering.strategy',TBe='org.eclipse.elk.layered.layering.layerConstraint',UBe='org.eclipse.elk.layered.layering.layerChoiceConstraint',VBe='org.eclipse.elk.layered.layering.layerId',WBe='org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth',XBe='org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor',YBe='org.eclipse.elk.layered.layering.nodePromotion.strategy',ZBe='org.eclipse.elk.layered.layering.nodePromotion.maxIterations',$Be='org.eclipse.elk.layered.layering.coffmanGraham.layerBound',_Be='org.eclipse.elk.layered.crossingMinimization.strategy',aCe='org.eclipse.elk.layered.crossingMinimization.forceNodeModelOrder',bCe='org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness',cCe='org.eclipse.elk.layered.crossingMinimization.semiInteractive',dCe='org.eclipse.elk.layered.crossingMinimization.inLayerPredOf',eCe='org.eclipse.elk.layered.crossingMinimization.inLayerSuccOf',fCe='org.eclipse.elk.layered.crossingMinimization.positionChoiceConstraint',gCe='org.eclipse.elk.layered.crossingMinimization.positionId',hCe='org.eclipse.elk.layered.crossingMinimization.greedySwitch.activationThreshold',iCe='org.eclipse.elk.layered.crossingMinimization.greedySwitch.type',jCe='org.eclipse.elk.layered.crossingMinimization.greedySwitchHierarchical.type',kCe='org.eclipse.elk.layered.nodePlacement.strategy',lCe='org.eclipse.elk.layered.nodePlacement.favorStraightEdges',mCe='org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening',nCe='org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment',oCe='org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening',pCe='org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility',qCe='org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.default',rCe='org.eclipse.elk.layered.edgeRouting.selfLoopDistribution',sCe='org.eclipse.elk.layered.edgeRouting.selfLoopOrdering',tCe='org.eclipse.elk.layered.edgeRouting.splines.mode',uCe='org.eclipse.elk.layered.edgeRouting.splines.sloppy.layerSpacingFactor',vCe='org.eclipse.elk.layered.edgeRouting.polyline.slopedEdgeZoneWidth',wCe='org.eclipse.elk.layered.spacing.baseValue',xCe='org.eclipse.elk.layered.spacing.edgeNodeBetweenLayers',yCe='org.eclipse.elk.layered.spacing.edgeEdgeBetweenLayers',zCe='org.eclipse.elk.layered.spacing.nodeNodeBetweenLayers',ACe='org.eclipse.elk.layered.priority.direction',BCe='org.eclipse.elk.layered.priority.shortness',CCe='org.eclipse.elk.layered.priority.straightness',DCe='org.eclipse.elk.layered.compaction.connectedComponents',ECe='org.eclipse.elk.layered.compaction.postCompaction.strategy',FCe='org.eclipse.elk.layered.compaction.postCompaction.constraints',GCe='org.eclipse.elk.layered.highDegreeNodes.treatment',HCe='org.eclipse.elk.layered.highDegreeNodes.threshold',ICe='org.eclipse.elk.layered.highDegreeNodes.treeHeight',JCe='org.eclipse.elk.layered.wrapping.strategy',KCe='org.eclipse.elk.layered.wrapping.additionalEdgeSpacing',LCe='org.eclipse.elk.layered.wrapping.correctionFactor',MCe='org.eclipse.elk.layered.wrapping.cutting.strategy',NCe='org.eclipse.elk.layered.wrapping.cutting.cuts',OCe='org.eclipse.elk.layered.wrapping.cutting.msd.freedom',PCe='org.eclipse.elk.layered.wrapping.validify.strategy',QCe='org.eclipse.elk.layered.wrapping.validify.forbiddenIndices',RCe='org.eclipse.elk.layered.wrapping.multiEdge.improveCuts',SCe='org.eclipse.elk.layered.wrapping.multiEdge.distancePenalty',TCe='org.eclipse.elk.layered.wrapping.multiEdge.improveWrappedEdges',UCe='org.eclipse.elk.layered.edgeLabels.sideSelection',VCe='org.eclipse.elk.layered.edgeLabels.centerLabelPlacementStrategy',WCe='org.eclipse.elk.layered.considerModelOrder.strategy',XCe='org.eclipse.elk.layered.considerModelOrder.portModelOrder',YCe='org.eclipse.elk.layered.considerModelOrder.noModelOrder',ZCe='org.eclipse.elk.layered.considerModelOrder.components',$Ce='org.eclipse.elk.layered.considerModelOrder.longEdgeStrategy',_Ce='org.eclipse.elk.layered.considerModelOrder.crossingCounterNodeInfluence',aDe='org.eclipse.elk.layered.considerModelOrder.crossingCounterPortInfluence',bDe='layering',cDe='layering.minWidth',dDe='layering.nodePromotion',eDe='crossingMinimization',fDe='org.eclipse.elk.hierarchyHandling',gDe='crossingMinimization.greedySwitch',hDe='nodePlacement',iDe='nodePlacement.bk',jDe='edgeRouting',kDe='org.eclipse.elk.edgeRouting',lDe='spacing',mDe='priority',nDe='compaction',oDe='compaction.postCompaction',pDe='Specifies whether and how post-process compaction is applied.',qDe='highDegreeNodes',rDe='wrapping',sDe='wrapping.cutting',tDe='wrapping.validify',uDe='wrapping.multiEdge',vDe='edgeLabels',wDe='considerModelOrder',xDe='org.eclipse.elk.spacing.commentComment',yDe='org.eclipse.elk.spacing.commentNode',zDe='org.eclipse.elk.spacing.edgeEdge',ADe='org.eclipse.elk.spacing.edgeNode',BDe='org.eclipse.elk.spacing.labelLabel',CDe='org.eclipse.elk.spacing.labelPortHorizontal',DDe='org.eclipse.elk.spacing.labelPortVertical',EDe='org.eclipse.elk.spacing.labelNode',FDe='org.eclipse.elk.spacing.nodeSelfLoop',GDe='org.eclipse.elk.spacing.portPort',HDe='org.eclipse.elk.spacing.individual',IDe='org.eclipse.elk.port.borderOffset',JDe='org.eclipse.elk.noLayout',KDe='org.eclipse.elk.port.side',LDe='org.eclipse.elk.debugMode',MDe='org.eclipse.elk.alignment',NDe='org.eclipse.elk.insideSelfLoops.activate',ODe='org.eclipse.elk.insideSelfLoops.yo',PDe='org.eclipse.elk.direction',QDe='org.eclipse.elk.nodeLabels.padding',RDe='org.eclipse.elk.portLabels.nextToPortIfPossible',SDe='org.eclipse.elk.portLabels.treatAsGroup',TDe='org.eclipse.elk.portAlignment.default',UDe='org.eclipse.elk.portAlignment.north',VDe='org.eclipse.elk.portAlignment.south',WDe='org.eclipse.elk.portAlignment.west',XDe='org.eclipse.elk.portAlignment.east',YDe='org.eclipse.elk.contentAlignment',ZDe='org.eclipse.elk.junctionPoints',$De='org.eclipse.elk.edgeLabels.placement',_De='org.eclipse.elk.port.index',aEe='org.eclipse.elk.commentBox',bEe='org.eclipse.elk.hypernode',cEe='org.eclipse.elk.port.anchor',dEe='org.eclipse.elk.partitioning.activate',eEe='org.eclipse.elk.partitioning.partition',fEe='org.eclipse.elk.position',gEe='org.eclipse.elk.margins',hEe='org.eclipse.elk.spacing.portsSurrounding',iEe='org.eclipse.elk.interactiveLayout',jEe='org.eclipse.elk.core.util',kEe={3:1,4:1,5:1,601:1},lEe='NETWORK_SIMPLEX',mEe='SIMPLE',nEe={106:1,47:1},oEe='org.eclipse.elk.alg.layered.p1cycles',pEe='org.eclipse.elk.alg.layered.p2layers',qEe={413:1,230:1},rEe={846:1,3:1,4:1},sEe='org.eclipse.elk.alg.layered.p3order',tEe='org.eclipse.elk.alg.layered.p4nodes',uEe={3:1,4:1,5:1,854:1},vEe=1.0E-5,wEe='org.eclipse.elk.alg.layered.p4nodes.bk',xEe='org.eclipse.elk.alg.layered.p5edges',yEe='org.eclipse.elk.alg.layered.p5edges.orthogonal',zEe='org.eclipse.elk.alg.layered.p5edges.orthogonal.direction',AEe=1.0E-6,BEe='org.eclipse.elk.alg.layered.p5edges.splines',CEe=0.09999999999999998,DEe=1.0E-8,EEe=4.71238898038469,FEe=3.141592653589793,GEe='org.eclipse.elk.alg.mrtree',HEe=0.10000000149011612,IEe='SUPER_ROOT',JEe='org.eclipse.elk.alg.mrtree.graph',KEe=-1.7976931348623157E308,LEe='org.eclipse.elk.alg.mrtree.intermediate',MEe='Processor compute fanout',NEe={3:1,6:1,4:1,5:1,534:1,100:1,115:1},OEe='Set neighbors in level',PEe='org.eclipse.elk.alg.mrtree.options',QEe='DESCENDANTS',REe='org.eclipse.elk.mrtree.compaction',SEe='org.eclipse.elk.mrtree.edgeEndTextureLength',TEe='org.eclipse.elk.mrtree.treeLevel',UEe='org.eclipse.elk.mrtree.positionConstraint',VEe='org.eclipse.elk.mrtree.weighting',WEe='org.eclipse.elk.mrtree.edgeRoutingMode',XEe='org.eclipse.elk.mrtree.searchOrder',YEe='Position Constraint',ZEe='org.eclipse.elk.mrtree',$Ee='org.eclipse.elk.tree',_Ee='Processor arrange level',aFe='org.eclipse.elk.alg.mrtree.p2order',bFe='org.eclipse.elk.alg.mrtree.p4route',cFe='org.eclipse.elk.alg.radial',dFe=6.283185307179586,eFe='Before',fFe=4.9E-324,gFe='After',hFe='org.eclipse.elk.alg.radial.intermediate',iFe='COMPACTION',jFe='org.eclipse.elk.alg.radial.intermediate.compaction',kFe={3:1,4:1,5:1,100:1},lFe='org.eclipse.elk.alg.radial.intermediate.optimization',mFe='No implementation is available for the layout option ',nFe='org.eclipse.elk.alg.radial.options',oFe='org.eclipse.elk.radial.centerOnRoot',pFe='org.eclipse.elk.radial.orderId',qFe='org.eclipse.elk.radial.radius',rFe='org.eclipse.elk.radial.rotate',sFe='org.eclipse.elk.radial.compactor',tFe='org.eclipse.elk.radial.compactionStepSize',uFe='org.eclipse.elk.radial.sorter',vFe='org.eclipse.elk.radial.wedgeCriteria',wFe='org.eclipse.elk.radial.optimizationCriteria',xFe='org.eclipse.elk.radial.rotation.targetAngle',yFe='org.eclipse.elk.radial.rotation.computeAdditionalWedgeSpace',zFe='org.eclipse.elk.radial.rotation.outgoingEdgeAngles',AFe='Compaction',BFe='rotation',CFe='org.eclipse.elk.radial',DFe='org.eclipse.elk.alg.radial.p1position.wedge',EFe='org.eclipse.elk.alg.radial.sorting',FFe=5.497787143782138,GFe=3.9269908169872414,HFe=2.356194490192345,IFe='org.eclipse.elk.alg.rectpacking',JFe='org.eclipse.elk.alg.rectpacking.intermediate',KFe='org.eclipse.elk.alg.rectpacking.options',LFe='org.eclipse.elk.rectpacking.trybox',MFe='org.eclipse.elk.rectpacking.currentPosition',NFe='org.eclipse.elk.rectpacking.desiredPosition',OFe='org.eclipse.elk.rectpacking.inNewRow',PFe='org.eclipse.elk.rectpacking.widthApproximation.strategy',QFe='org.eclipse.elk.rectpacking.widthApproximation.targetWidth',RFe='org.eclipse.elk.rectpacking.widthApproximation.optimizationGoal',SFe='org.eclipse.elk.rectpacking.widthApproximation.lastPlaceShift',TFe='org.eclipse.elk.rectpacking.packing.strategy',UFe='org.eclipse.elk.rectpacking.packing.compaction.rowHeightReevaluation',VFe='org.eclipse.elk.rectpacking.packing.compaction.iterations',WFe='org.eclipse.elk.rectpacking.whiteSpaceElimination.strategy',XFe='widthApproximation',YFe='Compaction Strategy',ZFe='packing.compaction',$Fe='org.eclipse.elk.rectpacking',_Fe='org.eclipse.elk.alg.rectpacking.p1widthapproximation',aGe='org.eclipse.elk.alg.rectpacking.p2packing',bGe='No Compaction',cGe='org.eclipse.elk.alg.rectpacking.p3whitespaceelimination',dGe='org.eclipse.elk.alg.rectpacking.util',eGe='No implementation available for ',fGe='org.eclipse.elk.alg.spore',gGe='org.eclipse.elk.alg.spore.options',hGe='org.eclipse.elk.sporeCompaction',iGe='org.eclipse.elk.underlyingLayoutAlgorithm',jGe='org.eclipse.elk.processingOrder.treeConstruction',kGe='org.eclipse.elk.processingOrder.spanningTreeCostFunction',lGe='org.eclipse.elk.processingOrder.preferredRoot',mGe='org.eclipse.elk.processingOrder.rootSelection',nGe='org.eclipse.elk.structure.structureExtractionStrategy',oGe='org.eclipse.elk.compaction.compactionStrategy',pGe='org.eclipse.elk.compaction.orthogonal',qGe='org.eclipse.elk.overlapRemoval.maxIterations',rGe='org.eclipse.elk.overlapRemoval.runScanline',sGe='processingOrder',tGe='overlapRemoval',uGe='org.eclipse.elk.sporeOverlap',vGe='org.eclipse.elk.alg.spore.p1structure',wGe='org.eclipse.elk.alg.spore.p2processingorder',xGe='org.eclipse.elk.alg.spore.p3execution',yGe='Topdown Layout',zGe='Invalid index: ',AGe='org.eclipse.elk.core.alg',BGe={341:1},CGe={295:1},DGe='Make sure its type is registered with the ',EGe=' utility class.',FGe='true',GGe='false',HGe="Couldn't clone property '",IGe=0.05,JGe='org.eclipse.elk.core.options',KGe=1.2999999523162842,LGe='org.eclipse.elk.box',MGe='org.eclipse.elk.expandNodes',NGe='org.eclipse.elk.box.packingMode',OGe='org.eclipse.elk.algorithm',PGe='org.eclipse.elk.resolvedAlgorithm',QGe='org.eclipse.elk.bendPoints',RGe='org.eclipse.elk.labelManager',SGe='org.eclipse.elk.scaleFactor',TGe='org.eclipse.elk.childAreaWidth',UGe='org.eclipse.elk.childAreaHeight',VGe='org.eclipse.elk.animate',WGe='org.eclipse.elk.animTimeFactor',XGe='org.eclipse.elk.layoutAncestors',YGe='org.eclipse.elk.maxAnimTime',ZGe='org.eclipse.elk.minAnimTime',$Ge='org.eclipse.elk.progressBar',_Ge='org.eclipse.elk.validateGraph',aHe='org.eclipse.elk.validateOptions',bHe='org.eclipse.elk.zoomToFit',cHe='org.eclipse.elk.font.name',dHe='org.eclipse.elk.font.size',eHe='org.eclipse.elk.topdown.sizeApproximator',fHe='org.eclipse.elk.topdown.scaleCap',gHe='org.eclipse.elk.edge.type',hHe='partitioning',iHe='nodeLabels',jHe='portAlignment',kHe='nodeSize',lHe='port',mHe='portLabels',nHe='topdown',oHe='insideSelfLoops',pHe='org.eclipse.elk.fixed',qHe='org.eclipse.elk.random',rHe={3:1,34:1,22:1,347:1},sHe='port must have a parent node to calculate the port side',tHe='The edge needs to have exactly one edge section. Found: ',uHe='org.eclipse.elk.core.util.adapters',vHe='org.eclipse.emf.ecore',wHe='org.eclipse.elk.graph',xHe='EMapPropertyHolder',yHe='ElkBendPoint',zHe='ElkGraphElement',AHe='ElkConnectableShape',BHe='ElkEdge',CHe='ElkEdgeSection',DHe='EModelElement',EHe='ENamedElement',FHe='ElkLabel',GHe='ElkNode',HHe='ElkPort',IHe={94:1,93:1},JHe='org.eclipse.emf.common.notify.impl',KHe="The feature '",LHe="' is not a valid changeable feature",MHe='Expecting null',NHe="' is not a valid feature",OHe='The feature ID',PHe=' is not a valid feature ID',QHe=32768,RHe={110:1,94:1,93:1,58:1,54:1,99:1},SHe='org.eclipse.emf.ecore.impl',THe='org.eclipse.elk.graph.impl',UHe='Recursive containment not allowed for ',VHe="The datatype '",WHe="' is not a valid classifier",XHe="The value '",YHe={195:1,3:1,4:1},ZHe="The class '",$He='http://www.eclipse.org/elk/ElkGraph',_He='property',aIe='value',bIe='source',cIe='properties',dIe='identifier',eIe='height',fIe='width',gIe='parent',hIe='text',iIe='children',jIe='hierarchical',kIe='sources',lIe='targets',mIe='sections',nIe='bendPoints',oIe='outgoingShape',pIe='incomingShape',qIe='outgoingSections',rIe='incomingSections',sIe='org.eclipse.emf.common.util',tIe='Severe implementation error in the Json to ElkGraph importer.',uIe='id',vIe='org.eclipse.elk.graph.json',wIe='Unhandled parameter types: ',xIe='startPoint',yIe="An edge must have at least one source and one target (edge id: '",zIe="').",AIe='Referenced edge section does not exist: ',BIe=" (edge id: '",CIe='target',DIe='sourcePoint',EIe='targetPoint',FIe='group',GIe='name',HIe='connectableShape cannot be null',IIe='edge cannot be null',JIe="Passed edge is not 'simple'.",KIe='org.eclipse.elk.graph.util',LIe="The 'no duplicates' constraint is violated",MIe='targetIndex=',NIe=', size=',OIe='sourceIndex=',PIe={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1},QIe={3:1,4:1,20:1,31:1,56:1,16:1,51:1,15:1,59:1,70:1,66:1,61:1,596:1},RIe='logging',SIe='measureExecutionTime',TIe='parser.parse.1',UIe='parser.parse.2',VIe='parser.next.1',WIe='parser.next.2',XIe='parser.next.3',YIe='parser.next.4',ZIe='parser.factor.1',$Ie='parser.factor.2',_Ie='parser.factor.3',aJe='parser.factor.4',bJe='parser.factor.5',cJe='parser.factor.6',dJe='parser.atom.1',eJe='parser.atom.2',fJe='parser.atom.3',gJe='parser.atom.4',hJe='parser.atom.5',iJe='parser.cc.1',jJe='parser.cc.2',kJe='parser.cc.3',lJe='parser.cc.5',mJe='parser.cc.6',nJe='parser.cc.7',oJe='parser.cc.8',pJe='parser.ope.1',qJe='parser.ope.2',rJe='parser.ope.3',sJe='parser.descape.1',tJe='parser.descape.2',uJe='parser.descape.3',vJe='parser.descape.4',wJe='parser.descape.5',xJe='parser.process.1',yJe='parser.quantifier.1',zJe='parser.quantifier.2',AJe='parser.quantifier.3',BJe='parser.quantifier.4',CJe='parser.quantifier.5',DJe='org.eclipse.emf.common.notify',EJe={424:1,686:1},FJe={3:1,4:1,20:1,31:1,56:1,16:1,15:1,70:1,61:1},GJe={378:1,152:1},HJe='index=',IJe={3:1,4:1,5:1,129:1},JJe={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,61:1},KJe={3:1,6:1,4:1,5:1,198:1},LJe={3:1,4:1,5:1,173:1,379:1},MJe=';/?:@&=+$,',NJe='invalid authority: ',OJe='EAnnotation',PJe='ETypedElement',QJe='EStructuralFeature',RJe='EAttribute',SJe='EClassifier',TJe='EEnumLiteral',UJe='EGenericType',VJe='EOperation',WJe='EParameter',XJe='EReference',YJe='ETypeParameter',ZJe='org.eclipse.emf.ecore.util',$Je={79:1},_Je={3:1,20:1,16:1,15:1,61:1,597:1,79:1,71:1,97:1},aKe='org.eclipse.emf.ecore.util.FeatureMap$Entry',bKe=8192,cKe=2048,dKe='byte',eKe='char',fKe='double',gKe='float',hKe='int',iKe='long',jKe='short',kKe='java.lang.Object',lKe={3:1,4:1,5:1,254:1},mKe={3:1,4:1,5:1,688:1},nKe={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1,71:1},oKe={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1,79:1,71:1,97:1},pKe='mixed',qKe='http:///org/eclipse/emf/ecore/util/ExtendedMetaData',rKe='kind',sKe={3:1,4:1,5:1,689:1},tKe={3:1,4:1,20:1,31:1,56:1,16:1,15:1,70:1,61:1,79:1,71:1,97:1},uKe={20:1,31:1,56:1,16:1,15:1,61:1,71:1},vKe={51:1,128:1,287:1},wKe={76:1,343:1},xKe="The value of type '",yKe="' must be of type '",zKe=1352,AKe='http://www.eclipse.org/emf/2002/Ecore',BKe=-32768,CKe='constraints',DKe='baseType',EKe='getEStructuralFeature',FKe='getFeatureID',GKe='feature',HKe='getOperationID',IKe='operation',JKe='defaultValue',KKe='eTypeParameters',LKe='isInstance',MKe='getEEnumLiteral',NKe='eContainingClass',OKe={57:1},PKe={3:1,4:1,5:1,124:1},QKe='org.eclipse.emf.ecore.resource',RKe={94:1,93:1,599:1,2034:1},SKe='org.eclipse.emf.ecore.resource.impl',TKe='unspecified',UKe='simple',VKe='attribute',WKe='attributeWildcard',XKe='element',YKe='elementWildcard',ZKe='collapse',$Ke='itemType',_Ke='namespace',aLe='##targetNamespace',bLe='whiteSpace',cLe='wildcards',dLe='http://www.eclipse.org/emf/2003/XMLType',eLe='##any',fLe='uninitialized',gLe='The multiplicity constraint is violated',hLe='org.eclipse.emf.ecore.xml.type',iLe='ProcessingInstruction',jLe='SimpleAnyType',kLe='XMLTypeDocumentRoot',lLe='org.eclipse.emf.ecore.xml.type.impl',mLe='INF',nLe='processing',oLe='ENTITIES_._base',pLe='minLength',qLe='ENTITY',rLe='NCName',sLe='IDREFS_._base',tLe='integer',uLe='token',vLe='pattern',wLe='[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*',xLe='\\i\\c*',yLe='[\\i-[:]][\\c-[:]]*',zLe='nonPositiveInteger',ALe='maxInclusive',BLe='NMTOKEN',CLe='NMTOKENS_._base',DLe='nonNegativeInteger',ELe='minInclusive',FLe='normalizedString',GLe='unsignedByte',HLe='unsignedInt',ILe='18446744073709551615',JLe='unsignedShort',KLe='processingInstruction',LLe='org.eclipse.emf.ecore.xml.type.internal',MLe=1114111,NLe='Internal Error: shorthands: \\u',OLe='xml:isDigit',PLe='xml:isWord',QLe='xml:isSpace',RLe='xml:isNameChar',SLe='xml:isInitialNameChar',TLe='09\u0660\u0669\u06F0\u06F9\u0966\u096F\u09E6\u09EF\u0A66\u0A6F\u0AE6\u0AEF\u0B66\u0B6F\u0BE7\u0BEF\u0C66\u0C6F\u0CE6\u0CEF\u0D66\u0D6F\u0E50\u0E59\u0ED0\u0ED9\u0F20\u0F29',ULe='AZaz\xC0\xD6\xD8\xF6\xF8\u0131\u0134\u013E\u0141\u0148\u014A\u017E\u0180\u01C3\u01CD\u01F0\u01F4\u01F5\u01FA\u0217\u0250\u02A8\u02BB\u02C1\u0386\u0386\u0388\u038A\u038C\u038C\u038E\u03A1\u03A3\u03CE\u03D0\u03D6\u03DA\u03DA\u03DC\u03DC\u03DE\u03DE\u03E0\u03E0\u03E2\u03F3\u0401\u040C\u040E\u044F\u0451\u045C\u045E\u0481\u0490\u04C4\u04C7\u04C8\u04CB\u04CC\u04D0\u04EB\u04EE\u04F5\u04F8\u04F9\u0531\u0556\u0559\u0559\u0561\u0586\u05D0\u05EA\u05F0\u05F2\u0621\u063A\u0641\u064A\u0671\u06B7\u06BA\u06BE\u06C0\u06CE\u06D0\u06D3\u06D5\u06D5\u06E5\u06E6\u0905\u0939\u093D\u093D\u0958\u0961\u0985\u098C\u098F\u0990\u0993\u09A8\u09AA\u09B0\u09B2\u09B2\u09B6\u09B9\u09DC\u09DD\u09DF\u09E1\u09F0\u09F1\u0A05\u0A0A\u0A0F\u0A10\u0A13\u0A28\u0A2A\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59\u0A5C\u0A5E\u0A5E\u0A72\u0A74\u0A85\u0A8B\u0A8D\u0A8D\u0A8F\u0A91\u0A93\u0AA8\u0AAA\u0AB0\u0AB2\u0AB3\u0AB5\u0AB9\u0ABD\u0ABD\u0AE0\u0AE0\u0B05\u0B0C\u0B0F\u0B10\u0B13\u0B28\u0B2A\u0B30\u0B32\u0B33\u0B36\u0B39\u0B3D\u0B3D\u0B5C\u0B5D\u0B5F\u0B61\u0B85\u0B8A\u0B8E\u0B90\u0B92\u0B95\u0B99\u0B9A\u0B9C\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8\u0BAA\u0BAE\u0BB5\u0BB7\u0BB9\u0C05\u0C0C\u0C0E\u0C10\u0C12\u0C28\u0C2A\u0C33\u0C35\u0C39\u0C60\u0C61\u0C85\u0C8C\u0C8E\u0C90\u0C92\u0CA8\u0CAA\u0CB3\u0CB5\u0CB9\u0CDE\u0CDE\u0CE0\u0CE1\u0D05\u0D0C\u0D0E\u0D10\u0D12\u0D28\u0D2A\u0D39\u0D60\u0D61\u0E01\u0E2E\u0E30\u0E30\u0E32\u0E33\u0E40\u0E45\u0E81\u0E82\u0E84\u0E84\u0E87\u0E88\u0E8A\u0E8A\u0E8D\u0E8D\u0E94\u0E97\u0E99\u0E9F\u0EA1\u0EA3\u0EA5\u0EA5\u0EA7\u0EA7\u0EAA\u0EAB\u0EAD\u0EAE\u0EB0\u0EB0\u0EB2\u0EB3\u0EBD\u0EBD\u0EC0\u0EC4\u0F40\u0F47\u0F49\u0F69\u10A0\u10C5\u10D0\u10F6\u1100\u1100\u1102\u1103\u1105\u1107\u1109\u1109\u110B\u110C\u110E\u1112\u113C\u113C\u113E\u113E\u1140\u1140\u114C\u114C\u114E\u114E\u1150\u1150\u1154\u1155\u1159\u1159\u115F\u1161\u1163\u1163\u1165\u1165\u1167\u1167\u1169\u1169\u116D\u116E\u1172\u1173\u1175\u1175\u119E\u119E\u11A8\u11A8\u11AB\u11AB\u11AE\u11AF\u11B7\u11B8\u11BA\u11BA\u11BC\u11C2\u11EB\u11EB\u11F0\u11F0\u11F9\u11F9\u1E00\u1E9B\u1EA0\u1EF9\u1F00\u1F15\u1F18\u1F1D\u1F20\u1F45\u1F48\u1F4D\u1F50\u1F57\u1F59\u1F59\u1F5B\u1F5B\u1F5D\u1F5D\u1F5F\u1F7D\u1F80\u1FB4\u1FB6\u1FBC\u1FBE\u1FBE\u1FC2\u1FC4\u1FC6\u1FCC\u1FD0\u1FD3\u1FD6\u1FDB\u1FE0\u1FEC\u1FF2\u1FF4\u1FF6\u1FFC\u2126\u2126\u212A\u212B\u212E\u212E\u2180\u2182\u3007\u3007\u3021\u3029\u3041\u3094\u30A1\u30FA\u3105\u312C\u4E00\u9FA5\uAC00\uD7A3',VLe='Private Use',WLe='ASSIGNED',XLe='\x00\x7F\x80\xFF\u0100\u017F\u0180\u024F\u0250\u02AF\u02B0\u02FF\u0300\u036F\u0370\u03FF\u0400\u04FF\u0530\u058F\u0590\u05FF\u0600\u06FF\u0700\u074F\u0780\u07BF\u0900\u097F\u0980\u09FF\u0A00\u0A7F\u0A80\u0AFF\u0B00\u0B7F\u0B80\u0BFF\u0C00\u0C7F\u0C80\u0CFF\u0D00\u0D7F\u0D80\u0DFF\u0E00\u0E7F\u0E80\u0EFF\u0F00\u0FFF\u1000\u109F\u10A0\u10FF\u1100\u11FF\u1200\u137F\u13A0\u13FF\u1400\u167F\u1680\u169F\u16A0\u16FF\u1780\u17FF\u1800\u18AF\u1E00\u1EFF\u1F00\u1FFF\u2000\u206F\u2070\u209F\u20A0\u20CF\u20D0\u20FF\u2100\u214F\u2150\u218F\u2190\u21FF\u2200\u22FF\u2300\u23FF\u2400\u243F\u2440\u245F\u2460\u24FF\u2500\u257F\u2580\u259F\u25A0\u25FF\u2600\u26FF\u2700\u27BF\u2800\u28FF\u2E80\u2EFF\u2F00\u2FDF\u2FF0\u2FFF\u3000\u303F\u3040\u309F\u30A0\u30FF\u3100\u312F\u3130\u318F\u3190\u319F\u31A0\u31BF\u3200\u32FF\u3300\u33FF\u3400\u4DB5\u4E00\u9FFF\uA000\uA48F\uA490\uA4CF\uAC00\uD7A3\uE000\uF8FF\uF900\uFAFF\uFB00\uFB4F\uFB50\uFDFF\uFE20\uFE2F\uFE30\uFE4F\uFE50\uFE6F\uFE70\uFEFE\uFEFF\uFEFF\uFF00\uFFEF',YLe='UNASSIGNED',ZLe={3:1,122:1},$Le='org.eclipse.emf.ecore.xml.type.util',_Le={3:1,4:1,5:1,381:1},aMe='org.eclipse.xtext.xbase.lib',bMe='Cannot add elements to a Range',cMe='Cannot set elements in a Range',dMe='Cannot remove elements from a Range',eMe='user.agent';var _,eeb,_db;$wnd.goog=$wnd.goog||{};$wnd.goog.global=$wnd.goog.global||$wnd;eeb={};feb(1,null,{},nb);_.Fb=function ob(a){return mb(this,a)};_.Gb=function qb(){return this.Rm};_.Hb=function sb(){return kFb(this)};_.Ib=function ub(){var a;return nfb(rb(this))+'@'+(a=tb(this)>>>0,a.toString(16))};_.equals=function(a){return this.Fb(a)};_.hashCode=function(){return this.Hb()};_.toString=function(){return this.Ib()};var ND,OD,PD;feb(297,1,{297:1,2124:1},pfb);_.ve=function qfb(a){var b;b=new pfb;b.i=4;a>1?(b.c=xfb(this,a-1)):(b.c=this);return b};_.we=function wfb(){lfb(this);return this.b};_.xe=function yfb(){return nfb(this)};_.ye=function Afb(){return lfb(this),this.k};_.ze=function Cfb(){return (this.i&4)!=0};_.Ae=function Dfb(){return (this.i&1)!=0};_.Ib=function Gfb(){return ofb(this)};_.i=0;var jJ=sfb(mve,'Object',1);var UI=sfb(mve,'Class',297);feb(2096,1,nve);sfb(ove,'Optional',2096);feb(1191,2096,nve,xb);_.Fb=function yb(a){return a===this};_.Hb=function zb(){return 2040732332};_.Ib=function Ab(){return 'Optional.absent()'};_.Jb=function Bb(a){Qb(a);return wb(),vb};var vb;sfb(ove,'Absent',1191);feb(636,1,{},Gb);sfb(ove,'Joiner',636);var pE=ufb(ove,'Predicate');feb(589,1,{178:1,589:1,3:1,46:1},Yb);_.Mb=function ac(a){return Xb(this,a)};_.Lb=function Zb(a){return Xb(this,a)};_.Fb=function $b(a){var b;if(ZD(a,589)){b=RD(a,589);return Rt(this.a,b.a)}return false};_.Hb=function _b(){return Cob(this.a)+306654252};_.Ib=function bc(){return Wb(this.a)};sfb(ove,'Predicates/AndPredicate',589);feb(419,2096,{419:1,3:1},cc);_.Fb=function dc(a){var b;if(ZD(a,419)){b=RD(a,419);return pb(this.a,b.a)}return false};_.Hb=function ec(){return 1502476572+tb(this.a)};_.Ib=function fc(){return uve+this.a+')'};_.Jb=function gc(a){return new cc(Rb(a.Kb(this.a),'the Function passed to Optional.transform() must not return null.'))};sfb(ove,'Present',419);feb(204,1,wve);_.Nb=function kc(a){Ztb(this,a);};_.Qb=function lc(){jc();};sfb(xve,'UnmodifiableIterator',204);feb(2076,204,yve);_.Qb=function nc(){jc();};_.Rb=function mc(a){throw Adb(new jib)};_.Wb=function oc(a){throw Adb(new jib)};sfb(xve,'UnmodifiableListIterator',2076);feb(399,2076,yve);_.Ob=function rc(){return this.c0};_.Pb=function tc(){if(this.c>=this.d){throw Adb(new Dvb)}return this.Xb(this.c++)};_.Tb=function uc(){return this.c};_.Ub=function vc(){if(this.c<=0){throw Adb(new Dvb)}return this.Xb(--this.c)};_.Vb=function wc(){return this.c-1};_.c=0;_.d=0;sfb(xve,'AbstractIndexedListIterator',399);feb(713,204,wve);_.Ob=function Ac(){return xc(this)};_.Pb=function Bc(){return yc(this)};_.e=1;sfb(xve,'AbstractIterator',713);feb(2084,1,{229:1});_.Zb=function Hc(){var a;return a=this.f,!a?(this.f=this.ac()):a};_.Fb=function Ic(a){return xw(this,a)};_.Hb=function Jc(){return tb(this.Zb())};_.dc=function Kc(){return this.gc()==0};_.ec=function Lc(){return Ec(this)};_.Ib=function Mc(){return jeb(this.Zb())};sfb(xve,'AbstractMultimap',2084);feb(742,2084,zve);_.$b=function Xc(){Nc(this);};_._b=function Yc(a){return Oc(this,a)};_.ac=function Zc(){return new ne(this,this.c)};_.ic=function $c(a){return this.hc()};_.bc=function _c(){return new zf(this,this.c)};_.jc=function ad(){return this.mc(this.hc())};_.kc=function bd(){return new Hd(this)};_.lc=function cd(){return ek(this.c.vc().Nc(),new hh,64,this.d)};_.cc=function dd(a){return Qc(this,a)};_.fc=function gd(a){return Sc(this,a)};_.gc=function hd(){return this.d};_.mc=function jd(a){return yob(),new xpb(a)};_.nc=function kd(){return new Dd(this)};_.oc=function ld(){return ek(this.c.Cc().Nc(),new Fd,64,this.d)};_.pc=function md(a,b){return new lg(this,a,b,null)};_.d=0;sfb(xve,'AbstractMapBasedMultimap',742);feb(1696,742,zve);_.hc=function pd(){return new cnb(this.a)};_.jc=function qd(){return yob(),yob(),vob};_.cc=function sd(a){return RD(Qc(this,a),15)};_.fc=function ud(a){return RD(Sc(this,a),15)};_.Zb=function od(){return nd(this)};_.Fb=function rd(a){return xw(this,a)};_.qc=function td(a){return RD(Qc(this,a),15)};_.rc=function vd(a){return RD(Sc(this,a),15)};_.mc=function wd(a){return Hob(RD(a,15))};_.pc=function xd(a,b){return Vc(this,a,RD(b,15),null)};sfb(xve,'AbstractListMultimap',1696);feb(748,1,Ave);_.Nb=function zd(a){Ztb(this,a);};_.Ob=function Ad(){return this.c.Ob()||this.e.Ob()};_.Pb=function Bd(){var a;if(!this.e.Ob()){a=RD(this.c.Pb(),44);this.b=a.ld();this.a=RD(a.md(),16);this.e=this.a.Kc();}return this.sc(this.b,this.e.Pb())};_.Qb=function Cd(){this.e.Qb();RD(Hvb(this.a),16).dc()&&this.c.Qb();--this.d.d;};sfb(xve,'AbstractMapBasedMultimap/Itr',748);feb(1129,748,Ave,Dd);_.sc=function Ed(a,b){return b};sfb(xve,'AbstractMapBasedMultimap/1',1129);feb(1130,1,{},Fd);_.Kb=function Gd(a){return RD(a,16).Nc()};sfb(xve,'AbstractMapBasedMultimap/1methodref$spliterator$Type',1130);feb(1131,748,Ave,Hd);_.sc=function Id(a,b){return new gp(a,b)};sfb(xve,'AbstractMapBasedMultimap/2',1131);var VK=ufb(Bve,'Map');feb(2065,1,Cve);_.wc=function Td(a){Bvb(this,a);};_.yc=function $d(a,b,c){return Cvb(this,a,b,c)};_.$b=function Od(){this.vc().$b();};_.tc=function Pd(a){return Jd(this,a)};_._b=function Qd(a){return !!Kd(this,a,false)};_.uc=function Rd(a){var b,c,d;for(c=this.vc().Kc();c.Ob();){b=RD(c.Pb(),44);d=b.md();if(dE(a)===dE(d)||a!=null&&pb(a,d)){return true}}return false};_.Fb=function Sd(a){var b,c,d;if(a===this){return true}if(!ZD(a,85)){return false}d=RD(a,85);if(this.gc()!=d.gc()){return false}for(c=d.vc().Kc();c.Ob();){b=RD(c.Pb(),44);if(!this.tc(b)){return false}}return true};_.xc=function Ud(a){return Wd(Kd(this,a,false))};_.Hb=function Xd(){return Bob(this.vc())};_.dc=function Yd(){return this.gc()==0};_.ec=function Zd(){return new Xkb(this)};_.zc=function _d(a,b){throw Adb(new kib('Put not supported on this map'))};_.Ac=function ae(a){Ld(this,a);};_.Bc=function be(a){return Wd(Kd(this,a,true))};_.gc=function ce(){return this.vc().gc()};_.Ib=function de(){return Md(this)};_.Cc=function ee(){return new glb(this)};sfb(Bve,'AbstractMap',2065);feb(2085,2065,Cve);_.bc=function ge(){return new rf(this)};_.vc=function he(){return fe(this)};_.ec=function ie(){var a;a=this.g;return !a?(this.g=this.bc()):a};_.Cc=function je(){var a;a=this.i;return !a?(this.i=new nw(this)):a};sfb(xve,'Maps/ViewCachingAbstractMap',2085);feb(402,2085,Cve,ne);_.xc=function se(a){return ke(this,a)};_.Bc=function ve(a){return le(this,a)};_.$b=function oe(){this.d==this.e.c?this.e.$b():Ar(new mf(this));};_._b=function pe(a){return Wv(this.d,a)};_.Ec=function qe(){return new df(this)};_.Dc=function(){return this.Ec()};_.Fb=function re(a){return this===a||pb(this.d,a)};_.Hb=function te(){return tb(this.d)};_.ec=function ue(){return this.e.ec()};_.gc=function we(){return this.d.gc()};_.Ib=function xe(){return jeb(this.d)};sfb(xve,'AbstractMapBasedMultimap/AsMap',402);var cJ=ufb(mve,'Iterable');feb(31,1,Dve);_.Jc=function Le(a){xgb(this,a);};_.Lc=function Ne(){return this.Oc()};_.Nc=function Pe(){return new Swb(this,0)};_.Oc=function Qe(){return new SDb(null,this.Nc())};_.Fc=function Ge(a){throw Adb(new kib('Add not supported on this collection'))};_.Gc=function He(a){return ye(this,a)};_.$b=function Ie(){Ae(this);};_.Hc=function Je(a){return ze(this,a,false)};_.Ic=function Ke(a){return Be(this,a)};_.dc=function Me(){return this.gc()==0};_.Mc=function Oe(a){return ze(this,a,true)};_.Pc=function Re(){return De(this)};_.Qc=function Se(a){return Ee(this,a)};_.Ib=function Te(){return Fe(this)};sfb(Bve,'AbstractCollection',31);var bL=ufb(Bve,'Set');feb(Eve,31,Fve);_.Nc=function Ye(){return new Swb(this,1)};_.Fb=function We(a){return Ue(this,a)};_.Hb=function Xe(){return Bob(this)};sfb(Bve,'AbstractSet',Eve);feb(2068,Eve,Fve);sfb(xve,'Sets/ImprovedAbstractSet',2068);feb(2069,2068,Fve);_.$b=function $e(){this.Rc().$b();};_.Hc=function _e(a){return Ze(this,a)};_.dc=function af(){return this.Rc().dc()};_.Mc=function bf(a){var b;if(this.Hc(a)&&ZD(a,44)){b=RD(a,44);return this.Rc().ec().Mc(b.ld())}return false};_.gc=function cf(){return this.Rc().gc()};sfb(xve,'Maps/EntrySet',2069);feb(1127,2069,Fve,df);_.Hc=function ef(a){return Nk(this.a.d.vc(),a)};_.Kc=function ff(){return new mf(this.a)};_.Rc=function gf(){return this.a};_.Mc=function hf(a){var b;if(!Nk(this.a.d.vc(),a)){return false}b=RD(Hvb(RD(a,44)),44);Tc(this.a.e,b.ld());return true};_.Nc=function jf(){return gk(this.a.d.vc().Nc(),new kf(this.a))};sfb(xve,'AbstractMapBasedMultimap/AsMap/AsMapEntries',1127);feb(1128,1,{},kf);_.Kb=function lf(a){return me(this.a,RD(a,44))};sfb(xve,'AbstractMapBasedMultimap/AsMap/AsMapEntries/0methodref$wrapEntry$Type',1128);feb(746,1,Ave,mf);_.Nb=function nf(a){Ztb(this,a);};_.Pb=function pf(){var a;return a=RD(this.b.Pb(),44),this.a=RD(a.md(),16),me(this.c,a)};_.Ob=function of(){return this.b.Ob()};_.Qb=function qf(){Vb(!!this.a);this.b.Qb();this.c.e.d-=this.a.gc();this.a.$b();this.a=null;};sfb(xve,'AbstractMapBasedMultimap/AsMap/AsMapIterator',746);feb(542,2068,Fve,rf);_.$b=function sf(){this.b.$b();};_.Hc=function tf(a){return this.b._b(a)};_.Jc=function uf(a){Qb(a);this.b.wc(new lw(a));};_.dc=function vf(){return this.b.dc()};_.Kc=function wf(){return new aw(this.b.vc().Kc())};_.Mc=function xf(a){if(this.b._b(a)){this.b.Bc(a);return true}return false};_.gc=function yf(){return this.b.gc()};sfb(xve,'Maps/KeySet',542);feb(327,542,Fve,zf);_.$b=function Af(){var a;Ar((a=this.b.vc().Kc(),new Hf(this,a)));};_.Ic=function Bf(a){return this.b.ec().Ic(a)};_.Fb=function Cf(a){return this===a||pb(this.b.ec(),a)};_.Hb=function Df(){return tb(this.b.ec())};_.Kc=function Ef(){var a;return a=this.b.vc().Kc(),new Hf(this,a)};_.Mc=function Ff(a){var b,c;c=0;b=RD(this.b.Bc(a),16);if(b){c=b.gc();b.$b();this.a.d-=c;}return c>0};_.Nc=function Gf(){return this.b.ec().Nc()};sfb(xve,'AbstractMapBasedMultimap/KeySet',327);feb(747,1,Ave,Hf);_.Nb=function If(a){Ztb(this,a);};_.Ob=function Jf(){return this.c.Ob()};_.Pb=function Kf(){this.a=RD(this.c.Pb(),44);return this.a.ld()};_.Qb=function Lf(){var a;Vb(!!this.a);a=RD(this.a.md(),16);this.c.Qb();this.b.a.d-=a.gc();a.$b();this.a=null;};sfb(xve,'AbstractMapBasedMultimap/KeySet/1',747);feb(503,402,{85:1,133:1},Mf);_.bc=function Nf(){return this.Sc()};_.ec=function Qf(){return this.Uc()};_.Sc=function Of(){return new eg(this.c,this.Wc())};_.Tc=function Pf(){return this.Wc().Tc()};_.Uc=function Rf(){var a;return a=this.b,!a?(this.b=this.Sc()):a};_.Vc=function Sf(){return this.Wc().Vc()};_.Wc=function Tf(){return RD(this.d,133)};sfb(xve,'AbstractMapBasedMultimap/SortedAsMap',503);feb(446,503,Gve,Uf);_.bc=function Wf(){return new gg(this.a,RD(RD(this.d,133),139))};_.Sc=function Xf(){return new gg(this.a,RD(RD(this.d,133),139))};_.ec=function _f(){var a;return a=this.b,RD(!a?(this.b=new gg(this.a,RD(RD(this.d,133),139))):a,277)};_.Uc=function ag(){var a;return a=this.b,RD(!a?(this.b=new gg(this.a,RD(RD(this.d,133),139))):a,277)};_.Wc=function cg(){return RD(RD(this.d,133),139)};_.Xc=function Vf(a){return RD(RD(this.d,133),139).Xc(a)};_.Yc=function Yf(a){return RD(RD(this.d,133),139).Yc(a)};_.Zc=function Zf(a,b){return new Uf(this.a,RD(RD(this.d,133),139).Zc(a,b))};_.$c=function $f(a){return RD(RD(this.d,133),139).$c(a)};_._c=function bg(a){return RD(RD(this.d,133),139)._c(a)};_.ad=function dg(a,b){return new Uf(this.a,RD(RD(this.d,133),139).ad(a,b))};sfb(xve,'AbstractMapBasedMultimap/NavigableAsMap',446);feb(502,327,Hve,eg);_.Nc=function fg(){return this.b.ec().Nc()};sfb(xve,'AbstractMapBasedMultimap/SortedKeySet',502);feb(401,502,Ive,gg);sfb(xve,'AbstractMapBasedMultimap/NavigableKeySet',401);feb(551,31,Dve,lg);_.Fc=function mg(a){var b,c;ig(this);c=this.d.dc();b=this.d.Fc(a);if(b){++this.f.d;c&&hg(this);}return b};_.Gc=function ng(a){var b,c,d;if(a.dc()){return false}d=(ig(this),this.d.gc());b=this.d.Gc(a);if(b){c=this.d.gc();this.f.d+=c-d;d==0&&hg(this);}return b};_.$b=function og(){var a;a=(ig(this),this.d.gc());if(a==0){return}this.d.$b();this.f.d-=a;jg(this);};_.Hc=function pg(a){ig(this);return this.d.Hc(a)};_.Ic=function qg(a){ig(this);return this.d.Ic(a)};_.Fb=function rg(a){if(a===this){return true}ig(this);return pb(this.d,a)};_.Hb=function sg(){ig(this);return tb(this.d)};_.Kc=function tg(){ig(this);return new Og(this)};_.Mc=function ug(a){var b;ig(this);b=this.d.Mc(a);if(b){--this.f.d;jg(this);}return b};_.gc=function vg(){return kg(this)};_.Nc=function wg(){return ig(this),this.d.Nc()};_.Ib=function xg(){ig(this);return jeb(this.d)};sfb(xve,'AbstractMapBasedMultimap/WrappedCollection',551);var QK=ufb(Bve,'List');feb(744,551,{20:1,31:1,16:1,15:1},yg);_.jd=function Hg(a){tvb(this,a);};_.Nc=function Ig(){return ig(this),this.d.Nc()};_.bd=function zg(a,b){var c;ig(this);c=this.d.dc();RD(this.d,15).bd(a,b);++this.a.d;c&&hg(this);};_.cd=function Ag(a,b){var c,d,e;if(b.dc()){return false}e=(ig(this),this.d.gc());c=RD(this.d,15).cd(a,b);if(c){d=this.d.gc();this.a.d+=d-e;e==0&&hg(this);}return c};_.Xb=function Bg(a){ig(this);return RD(this.d,15).Xb(a)};_.dd=function Cg(a){ig(this);return RD(this.d,15).dd(a)};_.ed=function Dg(){ig(this);return new Ug(this)};_.fd=function Eg(a){ig(this);return new Vg(this,a)};_.gd=function Fg(a){var b;ig(this);b=RD(this.d,15).gd(a);--this.a.d;jg(this);return b};_.hd=function Gg(a,b){ig(this);return RD(this.d,15).hd(a,b)};_.kd=function Jg(a,b){ig(this);return Vc(this.a,this.e,RD(this.d,15).kd(a,b),!this.b?this:this.b)};sfb(xve,'AbstractMapBasedMultimap/WrappedList',744);feb(1126,744,{20:1,31:1,16:1,15:1,59:1},Kg);sfb(xve,'AbstractMapBasedMultimap/RandomAccessWrappedList',1126);feb(628,1,Ave,Og);_.Nb=function Qg(a){Ztb(this,a);};_.Ob=function Rg(){Ng(this);return this.b.Ob()};_.Pb=function Sg(){Ng(this);return this.b.Pb()};_.Qb=function Tg(){Mg(this);};sfb(xve,'AbstractMapBasedMultimap/WrappedCollection/WrappedIterator',628);feb(745,628,Jve,Ug,Vg);_.Qb=function _g(){Mg(this);};_.Rb=function Wg(a){var b;b=kg(this.a)==0;(Ng(this),RD(this.b,128)).Rb(a);++this.a.a.d;b&&hg(this.a);};_.Sb=function Xg(){return (Ng(this),RD(this.b,128)).Sb()};_.Tb=function Yg(){return (Ng(this),RD(this.b,128)).Tb()};_.Ub=function Zg(){return (Ng(this),RD(this.b,128)).Ub()};_.Vb=function $g(){return (Ng(this),RD(this.b,128)).Vb()};_.Wb=function ah(a){(Ng(this),RD(this.b,128)).Wb(a);};sfb(xve,'AbstractMapBasedMultimap/WrappedList/WrappedListIterator',745);feb(743,551,Hve,bh);_.Nc=function dh(){return ig(this),this.d.Nc()};sfb(xve,'AbstractMapBasedMultimap/WrappedSortedSet',743);feb(1125,743,Ive,eh);sfb(xve,'AbstractMapBasedMultimap/WrappedNavigableSet',1125);feb(1124,551,Fve,fh);_.Nc=function gh(){return ig(this),this.d.Nc()};sfb(xve,'AbstractMapBasedMultimap/WrappedSet',1124);feb(1133,1,{},hh);_.Kb=function ih(a){return fd(RD(a,44))};sfb(xve,'AbstractMapBasedMultimap/lambda$1$Type',1133);feb(1132,1,{},jh);_.Kb=function kh(a){return new gp(this.a,a)};sfb(xve,'AbstractMapBasedMultimap/lambda$2$Type',1132);var UK=ufb(Bve,'Map/Entry');feb(358,1,Kve);_.Fb=function lh(a){var b;if(ZD(a,44)){b=RD(a,44);return Hb(this.ld(),b.ld())&&Hb(this.md(),b.md())}return false};_.Hb=function mh(){var a,b;a=this.ld();b=this.md();return (a==null?0:tb(a))^(b==null?0:tb(b))};_.nd=function nh(a){throw Adb(new jib)};_.Ib=function oh(){return this.ld()+'='+this.md()};sfb(xve,Lve,358);feb(2086,31,Dve);_.$b=function ph(){this.od().$b();};_.Hc=function qh(a){var b;if(ZD(a,44)){b=RD(a,44);return Cc(this.od(),b.ld(),b.md())}return false};_.Mc=function rh(a){var b;if(ZD(a,44)){b=RD(a,44);return Gc(this.od(),b.ld(),b.md())}return false};_.gc=function sh(){return this.od().d};sfb(xve,'Multimaps/Entries',2086);feb(749,2086,Dve,th);_.Kc=function uh(){return this.a.kc()};_.od=function vh(){return this.a};_.Nc=function wh(){return this.a.lc()};sfb(xve,'AbstractMultimap/Entries',749);feb(750,749,Fve,xh);_.Nc=function Ah(){return this.a.lc()};_.Fb=function yh(a){return Rx(this,a)};_.Hb=function zh(){return Sx(this)};sfb(xve,'AbstractMultimap/EntrySet',750);feb(751,31,Dve,Bh);_.$b=function Ch(){this.a.$b();};_.Hc=function Dh(a){return Dc(this.a,a)};_.Kc=function Eh(){return this.a.nc()};_.gc=function Fh(){return this.a.d};_.Nc=function Gh(){return this.a.oc()};sfb(xve,'AbstractMultimap/Values',751);feb(2087,31,{849:1,20:1,31:1,16:1});_.Jc=function Oh(a){Qb(a);Ih(this).Jc(new lx(a));};_.Nc=function Sh(){var a;return a=Ih(this).Nc(),ek(a,new sx,64|a.yd()&1296,this.a.d)};_.Fc=function Kh(a){Hh();return true};_.Gc=function Lh(a){return Qb(this),Qb(a),ZD(a,552)?nx(RD(a,849)):!a.dc()&&xr(this,a.Kc())};_.Hc=function Mh(a){var b;return b=RD(Xv(nd(this.a),a),16),(!b?0:b.gc())>0};_.Fb=function Nh(a){return ox(this,a)};_.Hb=function Ph(){return tb(Ih(this))};_.dc=function Qh(){return Ih(this).dc()};_.Mc=function Rh(a){return Rw(this,a,1)>0};_.Ib=function Th(){return jeb(Ih(this))};sfb(xve,'AbstractMultiset',2087);feb(2089,2068,Fve);_.$b=function Uh(){Nc(this.a.a);};_.Hc=function Vh(a){var b,c;if(ZD(a,504)){c=RD(a,425);if(RD(c.a.md(),16).gc()<=0){return false}b=Qw(this.a,c.a.ld());return b==RD(c.a.md(),16).gc()}return false};_.Mc=function Wh(a){var b,c,d,e;if(ZD(a,504)){c=RD(a,425);b=c.a.ld();d=RD(c.a.md(),16).gc();if(d!=0){e=this.a;return qx(e,b,d)}}return false};sfb(xve,'Multisets/EntrySet',2089);feb(1139,2089,Fve,Xh);_.Kc=function Yh(){return new _w(fe(nd(this.a.a)).Kc())};_.gc=function Zh(){return nd(this.a.a).gc()};sfb(xve,'AbstractMultiset/EntrySet',1139);feb(627,742,zve);_.hc=function ai(){return this.pd()};_.jc=function bi(){return this.qd()};_.cc=function ei(a){return this.rd(a)};_.fc=function gi(a){return this.sd(a)};_.Zb=function _h(){var a;return a=this.f,!a?(this.f=this.ac()):a};_.qd=function ci(){return yob(),yob(),xob};_.Fb=function di(a){return xw(this,a)};_.rd=function fi(a){return RD(Qc(this,a),21)};_.sd=function hi(a){return RD(Sc(this,a),21)};_.mc=function ii(a){return yob(),new Lqb(RD(a,21))};_.pc=function ji(a,b){return new fh(this,a,RD(b,21))};sfb(xve,'AbstractSetMultimap',627);feb(1723,627,zve);_.hc=function mi(){return new yAb(this.b)};_.pd=function ni(){return new yAb(this.b)};_.jc=function oi(){return Zx(new yAb(this.b))};_.qd=function pi(){return Zx(new yAb(this.b))};_.cc=function qi(a){return RD(RD(Qc(this,a),21),87)};_.rd=function ri(a){return RD(RD(Qc(this,a),21),87)};_.fc=function si(a){return RD(RD(Sc(this,a),21),87)};_.sd=function ti(a){return RD(RD(Sc(this,a),21),87)};_.mc=function ui(a){return ZD(a,277)?Zx(RD(a,277)):(yob(),new jrb(RD(a,87)))};_.Zb=function li(){var a;return a=this.f,!a?(this.f=ZD(this.c,139)?new Uf(this,RD(this.c,139)):ZD(this.c,133)?new Mf(this,RD(this.c,133)):new ne(this,this.c)):a};_.pc=function vi(a,b){return ZD(b,277)?new eh(this,a,RD(b,277)):new bh(this,a,RD(b,87))};sfb(xve,'AbstractSortedSetMultimap',1723);feb(1724,1723,zve);_.Zb=function xi(){var a;return a=this.f,RD(RD(!a?(this.f=ZD(this.c,139)?new Uf(this,RD(this.c,139)):ZD(this.c,133)?new Mf(this,RD(this.c,133)):new ne(this,this.c)):a,133),139)};_.ec=function zi(){var a;return a=this.i,RD(RD(!a?(this.i=ZD(this.c,139)?new gg(this,RD(this.c,139)):ZD(this.c,133)?new eg(this,RD(this.c,133)):new zf(this,this.c)):a,87),277)};_.bc=function yi(){return ZD(this.c,139)?new gg(this,RD(this.c,139)):ZD(this.c,133)?new eg(this,RD(this.c,133)):new zf(this,this.c)};sfb(xve,'AbstractSortedKeySortedSetMultimap',1724);feb(2109,1,{2046:1});_.Fb=function Ai(a){return Qy(this,a)};_.Hb=function Bi(){var a;return Bob((a=this.g,!a?(this.g=new Di(this)):a))};_.Ib=function Ci(){var a;return Md((a=this.f,!a?(this.f=new Zj(this)):a))};sfb(xve,'AbstractTable',2109);feb(679,Eve,Fve,Di);_.$b=function Ei(){Xi();};_.Hc=function Fi(a){var b,c;if(ZD(a,479)){b=RD(a,697);c=RD(Xv(bj(this.a),Qm(b.c.e,b.b)),85);return !!c&&Nk(c.vc(),new gp(Qm(b.c.c,b.a),Ui(b.c,b.b,b.a)))}return false};_.Kc=function Gi(){return Vi(this.a)};_.Mc=function Hi(a){var b,c;if(ZD(a,479)){b=RD(a,697);c=RD(Xv(bj(this.a),Qm(b.c.e,b.b)),85);return !!c&&Ok(c.vc(),new gp(Qm(b.c.c,b.a),Ui(b.c,b.b,b.a)))}return false};_.gc=function Ii(){return dj(this.a)};_.Nc=function Ji(){return Wi(this.a)};sfb(xve,'AbstractTable/CellSet',679);feb(2025,31,Dve,Ki);_.$b=function Li(){Xi();};_.Hc=function Mi(a){return Yi(this.a,a)};_.Kc=function Ni(){return fj(this.a)};_.gc=function Oi(){return dj(this.a)};_.Nc=function Pi(){return gj(this.a)};sfb(xve,'AbstractTable/Values',2025);feb(1697,1696,zve);sfb(xve,'ArrayListMultimapGwtSerializationDependencies',1697);feb(520,1697,zve,Ri,Si);_.hc=function Ti(){return new cnb(this.a)};_.a=0;sfb(xve,'ArrayListMultimap',520);feb(678,2109,{678:1,2046:1,3:1},hj);sfb(xve,'ArrayTable',678);feb(2021,399,yve,ij);_.Xb=function jj(a){return new pj(this.a,a)};sfb(xve,'ArrayTable/1',2021);feb(2022,1,{},kj);_.td=function lj(a){return new pj(this.a,a)};sfb(xve,'ArrayTable/1methodref$getCell$Type',2022);feb(2110,1,{697:1});_.Fb=function mj(a){var b;if(a===this){return true}if(ZD(a,479)){b=RD(a,697);return Hb(Qm(this.c.e,this.b),Qm(b.c.e,b.b))&&Hb(Qm(this.c.c,this.a),Qm(b.c.c,b.a))&&Hb(Ui(this.c,this.b,this.a),Ui(b.c,b.b,b.a))}return false};_.Hb=function nj(){return Tnb(cD(WC(jJ,1),rve,1,5,[Qm(this.c.e,this.b),Qm(this.c.c,this.a),Ui(this.c,this.b,this.a)]))};_.Ib=function oj(){return '('+Qm(this.c.e,this.b)+','+Qm(this.c.c,this.a)+')='+Ui(this.c,this.b,this.a)};sfb(xve,'Tables/AbstractCell',2110);feb(479,2110,{479:1,697:1},pj);_.a=0;_.b=0;_.d=0;sfb(xve,'ArrayTable/2',479);feb(2024,1,{},qj);_.td=function rj(a){return _i(this.a,a)};sfb(xve,'ArrayTable/2methodref$getValue$Type',2024);feb(2023,399,yve,sj);_.Xb=function tj(a){return _i(this.a,a)};sfb(xve,'ArrayTable/3',2023);feb(2077,2065,Cve);_.$b=function vj(){Ar(this.kc());};_.vc=function wj(){return new gw(this)};_.lc=function xj(){return new Uwb(this.kc(),this.gc())};sfb(xve,'Maps/IteratorBasedAbstractMap',2077);feb(842,2077,Cve);_.$b=function Bj(){throw Adb(new jib)};_._b=function Cj(a){return En(this.c,a)};_.kc=function Dj(){return new Rj(this,this.c.b.c.gc())};_.lc=function Ej(){return fk(this.c.b.c.gc(),16,new Lj(this))};_.xc=function Fj(a){var b;b=RD(Fn(this.c,a),17);return !b?null:this.vd(b.a)};_.dc=function Gj(){return this.c.b.c.dc()};_.ec=function Hj(){return hn(this.c)};_.zc=function Ij(a,b){var c;c=RD(Fn(this.c,a),17);if(!c){throw Adb(new agb(this.ud()+' '+a+' not in '+hn(this.c)))}return this.wd(c.a,b)};_.Bc=function Jj(a){throw Adb(new jib)};_.gc=function Kj(){return this.c.b.c.gc()};sfb(xve,'ArrayTable/ArrayMap',842);feb(2020,1,{},Lj);_.td=function Mj(a){return yj(this.a,a)};sfb(xve,'ArrayTable/ArrayMap/0methodref$getEntry$Type',2020);feb(2018,358,Kve,Nj);_.ld=function Oj(){return zj(this.a,this.b)};_.md=function Pj(){return this.a.vd(this.b)};_.nd=function Qj(a){return this.a.wd(this.b,a)};_.b=0;sfb(xve,'ArrayTable/ArrayMap/1',2018);feb(2019,399,yve,Rj);_.Xb=function Sj(a){return yj(this.a,a)};sfb(xve,'ArrayTable/ArrayMap/2',2019);feb(2017,842,Cve,Tj);_.ud=function Uj(){return 'Column'};_.vd=function Vj(a){return Ui(this.b,this.a,a)};_.wd=function Wj(a,b){return cj(this.b,this.a,a,b)};_.a=0;sfb(xve,'ArrayTable/Row',2017);feb(843,842,Cve,Zj);_.vd=function _j(a){return new Tj(this.a,a)};_.zc=function ak(a,b){return RD(b,85),Xj()};_.wd=function bk(a,b){return RD(b,85),Yj()};_.ud=function $j(){return 'Row'};sfb(xve,'ArrayTable/RowMap',843);feb(1157,1,Pve,hk);_.Ad=function lk(a){return (this.a.yd()&-262&a)!=0};_.yd=function ik(){return this.a.yd()&-262};_.zd=function jk(){return this.a.zd()};_.Nb=function kk(a){this.a.Nb(new pk(a,this.b));};_.Bd=function mk(a){return this.a.Bd(new nk(a,this.b))};sfb(xve,'CollectSpliterators/1',1157);feb(1158,1,Qve,nk);_.Cd=function ok(a){this.a.Cd(this.b.Kb(a));};sfb(xve,'CollectSpliterators/1/lambda$0$Type',1158);feb(1159,1,Qve,pk);_.Cd=function qk(a){this.a.Cd(this.b.Kb(a));};sfb(xve,'CollectSpliterators/1/lambda$1$Type',1159);feb(1154,1,Pve,rk);_.Ad=function vk(a){return ((16464|this.b)&a)!=0};_.yd=function sk(){return 16464|this.b};_.zd=function tk(){return this.a.zd()};_.Nb=function uk(a){this.a.Qe(new zk(a,this.c));};_.Bd=function wk(a){return this.a.Re(new xk(a,this.c))};_.b=0;sfb(xve,'CollectSpliterators/1WithCharacteristics',1154);feb(1155,1,Rve,xk);_.Dd=function yk(a){this.a.Cd(this.b.td(a));};sfb(xve,'CollectSpliterators/1WithCharacteristics/lambda$0$Type',1155);feb(1156,1,Rve,zk);_.Dd=function Ak(a){this.a.Cd(this.b.td(a));};sfb(xve,'CollectSpliterators/1WithCharacteristics/lambda$1$Type',1156);feb(1150,1,Pve);_.Ad=function Gk(a){return (this.a&a)!=0};_.yd=function Dk(){return this.a};_.zd=function Ek(){!!this.e&&(this.b=Kgb(this.b,this.e.zd()));return Kgb(this.b,0)};_.Nb=function Fk(a){if(this.e){this.e.Nb(a);this.e=null;}this.c.Nb(new Kk(this,a));this.b=0;};_.Bd=function Hk(a){while(true){if(!!this.e&&this.e.Bd(a)){Pdb(this.b,Sve)&&(this.b=Vdb(this.b,1));return true}else {this.e=null;}if(!this.c.Bd(new Ik(this))){return false}}};_.a=0;_.b=0;sfb(xve,'CollectSpliterators/FlatMapSpliterator',1150);feb(1152,1,Qve,Ik);_.Cd=function Jk(a){Bk(this.a,a);};sfb(xve,'CollectSpliterators/FlatMapSpliterator/lambda$0$Type',1152);feb(1153,1,Qve,Kk);_.Cd=function Lk(a){Ck(this.a,this.b,a);};sfb(xve,'CollectSpliterators/FlatMapSpliterator/lambda$1$Type',1153);feb(1151,1150,Pve,Mk);sfb(xve,'CollectSpliterators/FlatMapSpliteratorOfObject',1151);feb(253,1,Tve);_.Fd=function Sk(a){return this.Ed(RD(a,253))};_.Ed=function Rk(a){var b;if(a==(kl(),jl)){return 1}if(a==(Wk(),Vk)){return -1}b=(ux(),Leb(this.a,a.a));if(b!=0){return b}return ZD(this,526)==ZD(a,526)?0:ZD(this,526)?1:-1};_.Id=function Tk(){return this.a};_.Fb=function Uk(a){return Pk(this,a)};sfb(xve,'Cut',253);feb(1823,253,Tve,Xk);_.Ed=function Yk(a){return a==this?0:1};_.Gd=function Zk(a){throw Adb(new Ceb)};_.Hd=function $k(a){a.a+='+\u221E)';};_.Id=function _k(){throw Adb(new dgb(Uve))};_.Hb=function al(){return gib(),jFb(this)};_.Jd=function bl(a){return false};_.Ib=function cl(){return '+\u221E'};var Vk;sfb(xve,'Cut/AboveAll',1823);feb(526,253,{253:1,526:1,3:1,34:1},dl);_.Gd=function el(a){Yhb((a.a+='(',a),this.a);};_.Hd=function fl(a){Thb(Yhb(a,this.a),93);};_.Hb=function gl(){return ~tb(this.a)};_.Jd=function hl(a){return ux(),Leb(this.a,a)<0};_.Ib=function il(){return '/'+this.a+'\\'};sfb(xve,'Cut/AboveValue',526);feb(1822,253,Tve,ll);_.Ed=function ml(a){return a==this?0:-1};_.Gd=function nl(a){a.a+='(-\u221E';};_.Hd=function ol(a){throw Adb(new Ceb)};_.Id=function pl(){throw Adb(new dgb(Uve))};_.Hb=function ql(){return gib(),jFb(this)};_.Jd=function rl(a){return true};_.Ib=function sl(){return '-\u221E'};var jl;sfb(xve,'Cut/BelowAll',1822);feb(1824,253,Tve,tl);_.Gd=function ul(a){Yhb((a.a+='[',a),this.a);};_.Hd=function vl(a){Thb(Yhb(a,this.a),41);};_.Hb=function wl(){return tb(this.a)};_.Jd=function xl(a){return ux(),Leb(this.a,a)<=0};_.Ib=function yl(){return '\\'+this.a+'/'};sfb(xve,'Cut/BelowValue',1824);feb(547,1,Vve);_.Jc=function Bl(a){xgb(this,a);};_.Ib=function Cl(){return Lr(RD(Rb(this,'use Optional.orNull() instead of Optional.or(null)'),20).Kc())};sfb(xve,'FluentIterable',547);feb(442,547,Vve,Dl);_.Kc=function El(){return new is(Mr(this.a.Kc(),new ir))};sfb(xve,'FluentIterable/2',442);feb(1059,547,Vve,Gl);_.Kc=function Hl(){return Fl(this)};sfb(xve,'FluentIterable/3',1059);feb(724,399,yve,Il);_.Xb=function Jl(a){return this.a[a].Kc()};sfb(xve,'FluentIterable/3/1',724);feb(2070,1,{});_.Ib=function Kl(){return jeb(this.Kd().b)};sfb(xve,'ForwardingObject',2070);feb(2071,2070,Wve);_.Kd=function Ql(){return this.Ld()};_.Jc=function Rl(a){xgb(this,a);};_.Lc=function Ul(){return this.Oc()};_.Nc=function Xl(){return new Swb(this,0)};_.Oc=function Yl(){return new SDb(null,this.Nc())};_.Fc=function Ll(a){return this.Ld(),qpb()};_.Gc=function Ml(a){return this.Ld(),rpb()};_.$b=function Nl(){this.Ld(),spb();};_.Hc=function Ol(a){return this.Ld().Hc(a)};_.Ic=function Pl(a){return this.Ld().Ic(a)};_.dc=function Sl(){return this.Ld().b.dc()};_.Kc=function Tl(){return this.Ld().Kc()};_.Mc=function Vl(a){return this.Ld(),vpb()};_.gc=function Wl(){return this.Ld().b.gc()};_.Pc=function Zl(){return this.Ld().Pc()};_.Qc=function $l(a){return this.Ld().Qc(a)};sfb(xve,'ForwardingCollection',2071);feb(2078,31,Xve);_.Kc=function gm(){return this.Od()};_.Fc=function am(a){throw Adb(new jib)};_.Gc=function bm(a){throw Adb(new jib)};_.Md=function cm(){var a;a=this.c;return !a?(this.c=this.Nd()):a};_.$b=function dm(){throw Adb(new jib)};_.Hc=function em(a){return a!=null&&ze(this,a,false)};_.Nd=function fm(){switch(this.gc()){case 0:return tm(),tm(),sm;case 1:return tm(),new Dy(Qb(this.Od().Pb()));default:return new Fx(this,this.Pc());}};_.Mc=function hm(a){throw Adb(new jib)};sfb(xve,'ImmutableCollection',2078);feb(727,2078,Xve,im);_.Kc=function nm(){return Nr(this.a.Kc())};_.Hc=function jm(a){return a!=null&&this.a.Hc(a)};_.Ic=function km(a){return this.a.Ic(a)};_.dc=function lm(){return this.a.dc()};_.Od=function mm(){return Nr(this.a.Kc())};_.gc=function om(){return this.a.gc()};_.Pc=function pm(){return this.a.Pc()};_.Qc=function qm(a){return this.a.Qc(a)};_.Ib=function rm(){return jeb(this.a)};sfb(xve,'ForwardingImmutableCollection',727);feb(307,2078,Yve);_.Kc=function Em(){return this.Od()};_.ed=function Fm(){return this.Pd(0)};_.fd=function Hm(a){return this.Pd(a)};_.jd=function Lm(a){tvb(this,a);};_.Nc=function Mm(){return new Swb(this,16)};_.kd=function Om(a,b){return this.Qd(a,b)};_.bd=function wm(a,b){throw Adb(new jib)};_.cd=function xm(a,b){throw Adb(new jib)};_.Md=function ym(){return this};_.Fb=function Am(a){return $u(this,a)};_.Hb=function Bm(){return _u(this)};_.dd=function Cm(a){return a==null?-1:av(this,a)};_.Od=function Dm(){return this.Pd(0)};_.Pd=function Gm(a){return um(this,a)};_.gd=function Jm(a){throw Adb(new jib)};_.hd=function Km(a,b){throw Adb(new jib)};_.Qd=function Nm(a,b){var c;return Pm((c=new pv(this),new Rkb(c,a,b)))};var sm;sfb(xve,'ImmutableList',307);feb(2105,307,Yve);_.Kc=function Zm(){return Nr(this.Rd().Kc())};_.kd=function an(a,b){return Pm(this.Rd().kd(a,b))};_.Hc=function Rm(a){return a!=null&&this.Rd().Hc(a)};_.Ic=function Sm(a){return this.Rd().Ic(a)};_.Fb=function Tm(a){return pb(this.Rd(),a)};_.Xb=function Um(a){return Qm(this,a)};_.Hb=function Vm(){return tb(this.Rd())};_.dd=function Wm(a){return this.Rd().dd(a)};_.dc=function Xm(){return this.Rd().dc()};_.Od=function Ym(){return Nr(this.Rd().Kc())};_.gc=function $m(){return this.Rd().gc()};_.Qd=function _m(a,b){return Pm(this.Rd().kd(a,b))};_.Pc=function bn(){return this.Rd().Qc($C(jJ,rve,1,this.Rd().gc(),5,1))};_.Qc=function cn(a){return this.Rd().Qc(a)};_.Ib=function dn(){return jeb(this.Rd())};sfb(xve,'ForwardingImmutableList',2105);feb(729,1,$ve);_.vc=function pn(){return gn(this)};_.wc=function rn(a){Bvb(this,a);};_.ec=function vn(){return hn(this)};_.yc=function wn(a,b,c){return Cvb(this,a,b,c)};_.Cc=function Dn(){return this.Vd()};_.$b=function kn(){throw Adb(new jib)};_._b=function ln(a){return this.xc(a)!=null};_.uc=function mn(a){return this.Vd().Hc(a)};_.Td=function nn(){return new xq(this)};_.Ud=function on(){return new Gq(this)};_.Fb=function qn(a){return Tv(this,a)};_.Hb=function tn(){return gn(this).Hb()};_.dc=function un(){return this.gc()==0};_.zc=function zn(a,b){return jn()};_.Bc=function An(a){throw Adb(new jib)};_.Ib=function Bn(){return Zv(this)};_.Vd=function Cn(){if(this.e){return this.e}return this.e=this.Ud()};_.c=null;_.d=null;_.e=null;var en;sfb(xve,'ImmutableMap',729);feb(730,729,$ve);_._b=function Hn(a){return En(this,a)};_.uc=function In(a){return pqb(this.b,a)};_.Sd=function Jn(){return go(new Xn(this))};_.Td=function Kn(){return go(sqb(this.b))};_.Ud=function Ln(){return _l(),new im(tqb(this.b))};_.Fb=function Mn(a){return rqb(this.b,a)};_.xc=function Nn(a){return Fn(this,a)};_.Hb=function On(){return tb(this.b.c)};_.dc=function Pn(){return this.b.c.dc()};_.gc=function Qn(){return this.b.c.gc()};_.Ib=function Rn(){return jeb(this.b.c)};sfb(xve,'ForwardingImmutableMap',730);feb(2072,2071,_ve);_.Kd=function Sn(){return this.Wd()};_.Ld=function Tn(){return this.Wd()};_.Nc=function Wn(){return new Swb(this,1)};_.Fb=function Un(a){return a===this||this.Wd().Fb(a)};_.Hb=function Vn(){return this.Wd().Hb()};sfb(xve,'ForwardingSet',2072);feb(1085,2072,_ve,Xn);_.Kd=function Zn(){return qqb(this.a.b)};_.Ld=function $n(){return qqb(this.a.b)};_.Hc=function Yn(b){if(ZD(b,44)&&RD(b,44).ld()==null){return false}try{return Pqb(qqb(this.a.b),b)}catch(a){a=zdb(a);if(ZD(a,212)){return false}else throw Adb(a)}};_.Wd=function _n(){return qqb(this.a.b)};_.Qc=function ao(a){var b;b=Qqb(qqb(this.a.b),a);qqb(this.a.b).b.gc()=0?'+':'')+(c/60|0);b=AB($wnd.Math.abs(c)%60);return (Mrb(),Krb)[this.q.getDay()]+' '+Lrb[this.q.getMonth()]+' '+AB(this.q.getDate())+' '+AB(this.q.getHours())+':'+AB(this.q.getMinutes())+':'+AB(this.q.getSeconds())+' GMT'+a+b+' '+this.q.getFullYear()};var qK=sfb(Bve,'Date',206);feb(2015,206,bxe,DB);_.a=false;_.b=0;_.c=0;_.d=0;_.e=0;_.f=0;_.g=false;_.i=0;_.j=0;_.k=0;_.n=0;_.o=0;_.p=0;sfb('com.google.gwt.i18n.shared.impl','DateRecord',2015);feb(2064,1,{});_.pe=function EB(){return null};_.qe=function FB(){return null};_.re=function GB(){return null};_.se=function HB(){return null};_.te=function IB(){return null};sfb(cxe,'JSONValue',2064);feb(221,2064,{221:1},MB,NB);_.Fb=function OB(a){if(!ZD(a,221)){return false}return Hz(this.a,RD(a,221).a)};_.oe=function PB(){return TB};_.Hb=function QB(){return Iz(this.a)};_.pe=function RB(){return this};_.Ib=function SB(){var a,b,c;c=new dib('[');for(b=0,a=this.a.length;b0&&(c.a+=',',c);Yhb(c,JB(this,b));}c.a+=']';return c.a};sfb(cxe,'JSONArray',221);feb(493,2064,{493:1},XB);_.oe=function YB(){return _B};_.qe=function ZB(){return this};_.Ib=function $B(){return Geb(),''+this.a};_.a=false;var UB,VB;sfb(cxe,'JSONBoolean',493);feb(997,63,swe,aC);sfb(cxe,'JSONException',997);feb(1036,2064,{},dC);_.oe=function eC(){return gC};_.Ib=function fC(){return vve};var bC;sfb(cxe,'JSONNull',1036);feb(263,2064,{263:1},hC);_.Fb=function iC(a){if(!ZD(a,263)){return false}return this.a==RD(a,263).a};_.oe=function jC(){return nC};_.Hb=function kC(){return Nfb(this.a)};_.re=function lC(){return this};_.Ib=function mC(){return this.a+''};_.a=0;sfb(cxe,'JSONNumber',263);feb(190,2064,{190:1},uC,vC);_.Fb=function wC(a){if(!ZD(a,190)){return false}return Hz(this.a,RD(a,190).a)};_.oe=function xC(){return BC};_.Hb=function yC(){return Iz(this.a)};_.se=function zC(){return this};_.Ib=function AC(){var a,b,c,d,e,f,g;g=new dib('{');a=true;f=oC(this,$C(qJ,Nve,2,0,6,1));for(c=f,d=0,e=c.length;d=0?':'+this.c:'')+')'};_.c=0;var mJ=sfb(mve,'StackTraceElement',319);PD={3:1,484:1,34:1,2:1};var qJ=sfb(mve,uwe,2);feb(111,427,{484:1},Qhb,Rhb,Shb);sfb(mve,'StringBuffer',111);feb(104,427,{484:1},bib,cib,dib);sfb(mve,'StringBuilder',104);feb(702,77,lxe,eib);sfb(mve,'StringIndexOutOfBoundsException',702);feb(2145,1,{});var fib;feb(48,63,{3:1,103:1,63:1,82:1,48:1},jib,kib);sfb(mve,'UnsupportedOperationException',48);feb(247,242,{3:1,34:1,242:1,247:1},Aib,Bib);_.Fd=function Eib(a){return uib(this,RD(a,247))};_.ue=function Fib(){return Neb(zib(this))};_.Fb=function Gib(a){var b;if(this===a){return true}if(ZD(a,247)){b=RD(a,247);return this.e==b.e&&uib(this,b)==0}return false};_.Hb=function Hib(){var a;if(this.b!=0){return this.b}if(this.a<54){a=Hdb(this.f);this.b=Ydb(Cdb(a,-1));this.b=33*this.b+Ydb(Cdb(Tdb(a,32),-1));this.b=17*this.b+eE(this.e);return this.b}this.b=17*Vib(this.c)+eE(this.e);return this.b};_.Ib=function Iib(){return zib(this)};_.a=0;_.b=0;_.d=0;_.e=0;_.f=0;var lib,mib,nib,oib,pib,qib,rib,sib;var tJ=sfb('java.math','BigDecimal',247);feb(92,242,{3:1,34:1,242:1,92:1},ajb,bjb,cjb,djb,ejb);_.Fd=function gjb(a){return Qib(this,RD(a,92))};_.ue=function hjb(){return Neb(Ajb(this,0))};_.Fb=function ijb(a){return Sib(this,a)};_.Hb=function ljb(){return Vib(this)};_.Ib=function njb(){return Ajb(this,0)};_.b=-2;_.c=0;_.d=0;_.e=0;var Jib,Kib,Lib,Mib,Nib,Oib;var uJ=sfb('java.math','BigInteger',92);var vjb,wjb;var Jjb,Kjb;feb(498,2065,Cve);_.$b=function dkb(){akb(this);};_._b=function ekb(a){return Ujb(this,a)};_.uc=function fkb(a){return Vjb(this,a,this.i)||Vjb(this,a,this.f)};_.vc=function gkb(){return new mkb(this)};_.xc=function hkb(a){return Wjb(this,a)};_.zc=function ikb(a,b){return Zjb(this,a,b)};_.Bc=function jkb(a){return _jb(this,a)};_.gc=function kkb(){return bkb(this)};_.g=0;sfb(Bve,'AbstractHashMap',498);feb(267,Eve,Fve,mkb);_.$b=function nkb(){this.a.$b();};_.Hc=function okb(a){return lkb(this,a)};_.Kc=function pkb(){return new vkb(this.a)};_.Mc=function qkb(a){var b;if(lkb(this,a)){b=RD(a,44).ld();this.a.Bc(b);return true}return false};_.gc=function rkb(){return this.a.gc()};sfb(Bve,'AbstractHashMap/EntrySet',267);feb(268,1,Ave,vkb);_.Nb=function wkb(a){Ztb(this,a);};_.Pb=function ykb(){return tkb(this)};_.Ob=function xkb(){return this.b};_.Qb=function zkb(){ukb(this);};_.b=false;_.d=0;sfb(Bve,'AbstractHashMap/EntrySetIterator',268);feb(426,1,Ave,Dkb);_.Nb=function Ekb(a){Ztb(this,a);};_.Ob=function Fkb(){return Akb(this)};_.Pb=function Gkb(){return Bkb(this)};_.Qb=function Hkb(){Ckb(this);};_.b=0;_.c=-1;sfb(Bve,'AbstractList/IteratorImpl',426);feb(98,426,Jve,Jkb);_.Qb=function Pkb(){Ckb(this);};_.Rb=function Kkb(a){Ikb(this,a);};_.Sb=function Lkb(){return this.b>0};_.Tb=function Mkb(){return this.b};_.Ub=function Nkb(){return sFb(this.b>0),this.a.Xb(this.c=--this.b)};_.Vb=function Okb(){return this.b-1};_.Wb=function Qkb(a){yFb(this.c!=-1);this.a.hd(this.c,a);};sfb(Bve,'AbstractList/ListIteratorImpl',98);feb(244,56,kwe,Rkb);_.bd=function Skb(a,b){wFb(a,this.b);this.c.bd(this.a+a,b);++this.b;};_.Xb=function Tkb(a){tFb(a,this.b);return this.c.Xb(this.a+a)};_.gd=function Ukb(a){var b;tFb(a,this.b);b=this.c.gd(this.a+a);--this.b;return b};_.hd=function Vkb(a,b){tFb(a,this.b);return this.c.hd(this.a+a,b)};_.gc=function Wkb(){return this.b};_.a=0;_.b=0;sfb(Bve,'AbstractList/SubList',244);feb(266,Eve,Fve,Xkb);_.$b=function Ykb(){this.a.$b();};_.Hc=function Zkb(a){return this.a._b(a)};_.Kc=function $kb(){var a;return a=this.a.vc().Kc(),new blb(a)};_.Mc=function _kb(a){if(this.a._b(a)){this.a.Bc(a);return true}return false};_.gc=function alb(){return this.a.gc()};sfb(Bve,'AbstractMap/1',266);feb(541,1,Ave,blb);_.Nb=function clb(a){Ztb(this,a);};_.Ob=function dlb(){return this.a.Ob()};_.Pb=function elb(){var a;return a=RD(this.a.Pb(),44),a.ld()};_.Qb=function flb(){this.a.Qb();};sfb(Bve,'AbstractMap/1/1',541);feb(231,31,Dve,glb);_.$b=function hlb(){this.a.$b();};_.Hc=function ilb(a){return this.a.uc(a)};_.Kc=function jlb(){var a;return a=this.a.vc().Kc(),new llb(a)};_.gc=function klb(){return this.a.gc()};sfb(Bve,'AbstractMap/2',231);feb(301,1,Ave,llb);_.Nb=function mlb(a){Ztb(this,a);};_.Ob=function nlb(){return this.a.Ob()};_.Pb=function olb(){var a;return a=RD(this.a.Pb(),44),a.md()};_.Qb=function plb(){this.a.Qb();};sfb(Bve,'AbstractMap/2/1',301);feb(494,1,{494:1,44:1});_.Fb=function rlb(a){var b;if(!ZD(a,44)){return false}b=RD(a,44);return Fvb(this.d,b.ld())&&Fvb(this.e,b.md())};_.ld=function slb(){return this.d};_.md=function tlb(){return this.e};_.Hb=function ulb(){return Gvb(this.d)^Gvb(this.e)};_.nd=function vlb(a){return qlb(this,a)};_.Ib=function wlb(){return this.d+'='+this.e};sfb(Bve,'AbstractMap/AbstractEntry',494);feb(397,494,{494:1,397:1,44:1},xlb);sfb(Bve,'AbstractMap/SimpleEntry',397);feb(2082,1,Axe);_.Fb=function ylb(a){var b;if(!ZD(a,44)){return false}b=RD(a,44);return Fvb(this.ld(),b.ld())&&Fvb(this.md(),b.md())};_.Hb=function zlb(){return Gvb(this.ld())^Gvb(this.md())};_.Ib=function Alb(){return this.ld()+'='+this.md()};sfb(Bve,Lve,2082);feb(2090,2065,Gve);_.Xc=function Dlb(a){return Vd(this.Ee(a))};_.tc=function Elb(a){return Blb(this,a)};_._b=function Flb(a){return Clb(this,a)};_.vc=function Glb(){return new Plb(this)};_.Tc=function Hlb(){return Klb(this.Ge())};_.Yc=function Ilb(a){return Vd(this.He(a))};_.xc=function Jlb(a){var b;b=a;return Wd(this.Fe(b))};_.$c=function Llb(a){return Vd(this.Ie(a))};_.ec=function Mlb(){return new Ulb(this)};_.Vc=function Nlb(){return Klb(this.Je())};_._c=function Olb(a){return Vd(this.Ke(a))};sfb(Bve,'AbstractNavigableMap',2090);feb(629,Eve,Fve,Plb);_.Hc=function Qlb(a){return ZD(a,44)&&Blb(this.b,RD(a,44))};_.Kc=function Rlb(){return this.b.De()};_.Mc=function Slb(a){var b;if(ZD(a,44)){b=RD(a,44);return this.b.Le(b)}return false};_.gc=function Tlb(){return this.b.gc()};sfb(Bve,'AbstractNavigableMap/EntrySet',629);feb(1146,Eve,Ive,Ulb);_.Nc=function $lb(){return new $wb(this)};_.$b=function Vlb(){this.a.$b();};_.Hc=function Wlb(a){return Clb(this.a,a)};_.Kc=function Xlb(){var a;a=this.a.vc().b.De();return new _lb(a)};_.Mc=function Ylb(a){if(Clb(this.a,a)){this.a.Bc(a);return true}return false};_.gc=function Zlb(){return this.a.gc()};sfb(Bve,'AbstractNavigableMap/NavigableKeySet',1146);feb(1147,1,Ave,_lb);_.Nb=function amb(a){Ztb(this,a);};_.Ob=function bmb(){return Akb(this.a.a)};_.Pb=function cmb(){var a;a=vzb(this.a);return a.ld()};_.Qb=function dmb(){wzb(this.a);};sfb(Bve,'AbstractNavigableMap/NavigableKeySet/1',1147);feb(2103,31,Dve);_.Fc=function emb(a){return zFb(lwb(this,a),Bxe),true};_.Gc=function fmb(a){uFb(a);mFb(a!=this,"Can't add a queue to itself");return ye(this,a)};_.$b=function gmb(){while(mwb(this)!=null);};sfb(Bve,'AbstractQueue',2103);feb(310,31,{4:1,20:1,31:1,16:1},wmb,xmb);_.Fc=function ymb(a){return imb(this,a),true};_.$b=function Amb(){jmb(this);};_.Hc=function Bmb(a){return kmb(new Kmb(this),a)};_.dc=function Cmb(){return nmb(this)};_.Kc=function Dmb(){return new Kmb(this)};_.Mc=function Emb(a){return qmb(new Kmb(this),a)};_.gc=function Fmb(){return this.c-this.b&this.a.length-1};_.Nc=function Gmb(){return new Swb(this,272)};_.Qc=function Hmb(a){var b;b=this.c-this.b&this.a.length-1;a.lengthb&&bD(a,b,null);return a};_.b=0;_.c=0;sfb(Bve,'ArrayDeque',310);feb(459,1,Ave,Kmb);_.Nb=function Lmb(a){Ztb(this,a);};_.Ob=function Mmb(){return this.a!=this.b};_.Pb=function Nmb(){return Imb(this)};_.Qb=function Omb(){Jmb(this);};_.a=0;_.b=0;_.c=-1;sfb(Bve,'ArrayDeque/IteratorImpl',459);feb(13,56,Cxe,bnb,cnb,dnb);_.bd=function enb(a,b){Qmb(this,a,b);};_.Fc=function fnb(a){return Rmb(this,a)};_.cd=function gnb(a,b){return Smb(this,a,b)};_.Gc=function hnb(a){return Tmb(this,a)};_.$b=function inb(){aFb(this.c,0);};_.Hc=function jnb(a){return Wmb(this,a,0)!=-1};_.Jc=function knb(a){Umb(this,a);};_.Xb=function lnb(a){return Vmb(this,a)};_.dd=function mnb(a){return Wmb(this,a,0)};_.dc=function nnb(){return this.c.length==0};_.Kc=function onb(){return new Anb(this)};_.gd=function pnb(a){return Xmb(this,a)};_.Mc=function qnb(a){return Ymb(this,a)};_.ce=function rnb(a,b){Zmb(this,a,b);};_.hd=function snb(a,b){return $mb(this,a,b)};_.gc=function tnb(){return this.c.length};_.jd=function unb(a){_mb(this,a);};_.Pc=function vnb(){return UEb(this.c)};_.Qc=function wnb(a){return anb(this,a)};var VJ=sfb(Bve,'ArrayList',13);feb(7,1,Ave,Anb);_.Nb=function Bnb(a){Ztb(this,a);};_.Ob=function Cnb(){return xnb(this)};_.Pb=function Dnb(){return ynb(this)};_.Qb=function Enb(){znb(this);};_.a=0;_.b=-1;sfb(Bve,'ArrayList/1',7);feb(2112,$wnd.Function,{},iob);_.Me=function job(a,b){return Qfb(a,b)};feb(151,56,Dxe,mob);_.Hc=function nob(a){return St(this,a)!=-1};_.Jc=function oob(a){var b,c,d,e;uFb(a);for(c=this.a,d=0,e=c.length;d0){throw Adb(new agb(Sxe+a+' greater than '+this.e))}return this.f.Te()?bzb(this.c,this.b,this.a,a,b):Ryb(this.c,a,b)};_.zc=function Vzb(a,b){if(!Tyb(this.c,this.f,a,this.b,this.a,this.e,this.d)){throw Adb(new agb(a+' outside the range '+this.b+' to '+this.e))}return Wyb(this.c,a,b)};_.Bc=function Wzb(a){var b;b=a;if(!Tyb(this.c,this.f,b,this.b,this.a,this.e,this.d)){return null}return Xyb(this.c,b)};_.Le=function Xzb(a){return Jzb(this,a.ld())&&Yyb(this.c,a)};_.gc=function Yzb(){var a,b,c;this.f.Te()?this.a?(b=Pyb(this.c,this.b,true)):(b=Pyb(this.c,this.b,false)):(b=Nyb(this.c));if(!(!!b&&Jzb(this,b.d)?b:null)){return 0}a=0;for(c=new yzb(this.c,this.f,this.b,this.a,this.e,this.d);Akb(c.a);c.b=RD(Bkb(c.a),44)){++a;}return a};_.ad=function Zzb(a,b){if(this.f.Te()&&this.c.a.Ne(a,this.b)<0){throw Adb(new agb(Sxe+a+Txe+this.b))}return this.f.Ue()?bzb(this.c,a,b,this.e,this.d):czb(this.c,a,b)};_.a=false;_.d=false;sfb(Bve,'TreeMap/SubMap',631);feb(304,22,Uxe,dAb);_.Te=function eAb(){return false};_.Ue=function fAb(){return false};var $zb,_zb,aAb,bAb;var AL=tfb(Bve,'TreeMap/SubMapType',304,WI,hAb,gAb);feb(1143,304,Uxe,iAb);_.Ue=function jAb(){return true};tfb(Bve,'TreeMap/SubMapType/1',1143,AL,null,null);feb(1144,304,Uxe,kAb);_.Te=function lAb(){return true};_.Ue=function mAb(){return true};tfb(Bve,'TreeMap/SubMapType/2',1144,AL,null,null);feb(1145,304,Uxe,nAb);_.Te=function oAb(){return true};tfb(Bve,'TreeMap/SubMapType/3',1145,AL,null,null);var pAb;feb(157,Eve,{3:1,20:1,31:1,16:1,277:1,21:1,87:1,157:1},xAb,yAb,zAb);_.Nc=function GAb(){return new $wb(this)};_.Fc=function AAb(a){return rAb(this,a)};_.$b=function BAb(){this.a.$b();};_.Hc=function CAb(a){return this.a._b(a)};_.Kc=function DAb(){return this.a.ec().Kc()};_.Mc=function EAb(a){return wAb(this,a)};_.gc=function FAb(){return this.a.gc()};var DL=sfb(Bve,'TreeSet',157);feb(1082,1,{},JAb);_.Ve=function KAb(a,b){return HAb(this.a,a,b)};sfb(Vxe,'BinaryOperator/lambda$0$Type',1082);feb(1083,1,{},LAb);_.Ve=function MAb(a,b){return IAb(this.a,a,b)};sfb(Vxe,'BinaryOperator/lambda$1$Type',1083);feb(952,1,{},NAb);_.Kb=function OAb(a){return a};sfb(Vxe,'Function/lambda$0$Type',952);feb(395,1,nwe,PAb);_.Mb=function QAb(a){return !this.a.Mb(a)};sfb(Vxe,'Predicate/lambda$2$Type',395);feb(581,1,{581:1});var JL=sfb(Wxe,'Handler',581);feb(2107,1,nve);_.xe=function TAb(){return 'DUMMY'};_.Ib=function UAb(){return this.xe()};var RAb;sfb(Wxe,'Level',2107);feb(1706,2107,nve,VAb);_.xe=function WAb(){return 'INFO'};sfb(Wxe,'Level/LevelInfo',1706);feb(1843,1,{},$Ab);var XAb;sfb(Wxe,'LogManager',1843);feb(1896,1,nve,aBb);_.b=null;sfb(Wxe,'LogRecord',1896);feb(525,1,{525:1},oBb);_.e=false;var bBb=false,cBb=false,dBb=false,eBb=false,fBb=false;sfb(Wxe,'Logger',525);feb(835,581,{581:1},rBb);sfb(Wxe,'SimpleConsoleLogHandler',835);feb(108,22,{3:1,34:1,22:1,108:1},yBb);var uBb,vBb,wBb;var QL=tfb(Zxe,'Collector/Characteristics',108,WI,ABb,zBb);var BBb;feb(758,1,{},DBb);sfb(Zxe,'CollectorImpl',758);feb(1074,1,{},RBb);_.Ve=function SBb(a,b){return Hyb(RD(a,213),RD(b,213))};sfb(Zxe,'Collectors/10methodref$merge$Type',1074);feb(1075,1,{},TBb);_.Kb=function UBb(a){return Iyb(RD(a,213))};sfb(Zxe,'Collectors/11methodref$toString$Type',1075);feb(1076,1,{},VBb);_.Kb=function WBb(a){return Geb(),SSb(a)?true:false};sfb(Zxe,'Collectors/12methodref$test$Type',1076);feb(144,1,{},XBb);_.Yd=function YBb(a,b){RD(a,16).Fc(b);};sfb(Zxe,'Collectors/20methodref$add$Type',144);feb(146,1,{},ZBb);_.Xe=function $Bb(){return new bnb};sfb(Zxe,'Collectors/21methodref$ctor$Type',146);feb(359,1,{},_Bb);_.Xe=function aCb(){return new _sb};sfb(Zxe,'Collectors/23methodref$ctor$Type',359);feb(360,1,{},bCb);_.Yd=function cCb(a,b){Ysb(RD(a,49),b);};sfb(Zxe,'Collectors/24methodref$add$Type',360);feb(1069,1,{},dCb);_.Ve=function eCb(a,b){return EBb(RD(a,15),RD(b,16))};sfb(Zxe,'Collectors/4methodref$addAll$Type',1069);feb(1073,1,{},fCb);_.Yd=function gCb(a,b){Gyb(RD(a,213),RD(b,484));};sfb(Zxe,'Collectors/9methodref$add$Type',1073);feb(1072,1,{},hCb);_.Xe=function iCb(){return new Jyb(this.a,this.b,this.c)};sfb(Zxe,'Collectors/lambda$15$Type',1072);feb(1077,1,{},jCb);_.Xe=function kCb(){var a;return a=new gub,dub(a,(Geb(),false),new bnb),dub(a,true,new bnb),a};sfb(Zxe,'Collectors/lambda$22$Type',1077);feb(1078,1,{},lCb);_.Xe=function mCb(){return cD(WC(jJ,1),rve,1,5,[this.a])};sfb(Zxe,'Collectors/lambda$25$Type',1078);feb(1079,1,{},nCb);_.Yd=function oCb(a,b){GBb(this.a,SD(a));};sfb(Zxe,'Collectors/lambda$26$Type',1079);feb(1080,1,{},pCb);_.Ve=function qCb(a,b){return HBb(this.a,SD(a),SD(b))};sfb(Zxe,'Collectors/lambda$27$Type',1080);feb(1081,1,{},rCb);_.Kb=function sCb(a){return SD(a)[0]};sfb(Zxe,'Collectors/lambda$28$Type',1081);feb(728,1,{},uCb);_.Ve=function vCb(a,b){return tCb(a,b)};sfb(Zxe,'Collectors/lambda$4$Type',728);feb(145,1,{},wCb);_.Ve=function xCb(a,b){return JBb(RD(a,16),RD(b,16))};sfb(Zxe,'Collectors/lambda$42$Type',145);feb(361,1,{},yCb);_.Ve=function zCb(a,b){return KBb(RD(a,49),RD(b,49))};sfb(Zxe,'Collectors/lambda$50$Type',361);feb(362,1,{},ACb);_.Kb=function BCb(a){return RD(a,49)};sfb(Zxe,'Collectors/lambda$51$Type',362);feb(1068,1,{},CCb);_.Yd=function DCb(a,b){LBb(this.a,RD(a,85),b);};sfb(Zxe,'Collectors/lambda$7$Type',1068);feb(1070,1,{},ECb);_.Ve=function FCb(a,b){return NBb(RD(a,85),RD(b,85),new dCb)};sfb(Zxe,'Collectors/lambda$8$Type',1070);feb(1071,1,{},GCb);_.Kb=function HCb(a){return MBb(this.a,RD(a,85))};sfb(Zxe,'Collectors/lambda$9$Type',1071);feb(550,1,{});_.$e=function OCb(){ICb(this);};_.d=false;sfb(Zxe,'TerminatableStream',550);feb(827,550,$xe,WCb);_.$e=function XCb(){ICb(this);};sfb(Zxe,'DoubleStreamImpl',827);feb(1847,736,Pve,$Cb);_.Re=function aDb(a){return ZCb(this,RD(a,189))};_.a=null;sfb(Zxe,'DoubleStreamImpl/2',1847);feb(1848,1,Gxe,bDb);_.Pe=function cDb(a){_Cb(this.a,a);};sfb(Zxe,'DoubleStreamImpl/2/lambda$0$Type',1848);feb(1845,1,Gxe,dDb);_.Pe=function eDb(a){YCb(this.a,a);};sfb(Zxe,'DoubleStreamImpl/lambda$0$Type',1845);feb(1846,1,Gxe,fDb);_.Pe=function gDb(a){Nrb(this.a,a);};sfb(Zxe,'DoubleStreamImpl/lambda$2$Type',1846);feb(1397,735,Pve,kDb);_.Re=function lDb(a){return jDb(this,RD(a,202))};_.a=0;_.b=0;_.c=0;sfb(Zxe,'IntStream/5',1397);feb(806,550,$xe,oDb);_.$e=function pDb(){ICb(this);};_._e=function qDb(){return LCb(this),this.a};sfb(Zxe,'IntStreamImpl',806);feb(807,550,$xe,rDb);_.$e=function sDb(){ICb(this);};_._e=function tDb(){return LCb(this),Txb(),Sxb};sfb(Zxe,'IntStreamImpl/Empty',807);feb(1687,1,Rve,uDb);_.Dd=function vDb(a){ktb(this.a,a);};sfb(Zxe,'IntStreamImpl/lambda$4$Type',1687);var RM=ufb(Zxe,'Stream');feb(26,550,{533:1,687:1,848:1},SDb);_.$e=function TDb(){ICb(this);};var wDb;sfb(Zxe,'StreamImpl',26);feb(1102,500,Pve,YDb);_.Bd=function ZDb(a){while(WDb(this)){if(this.a.Bd(a)){return true}else {ICb(this.b);this.b=null;this.a=null;}}return false};sfb(Zxe,'StreamImpl/1',1102);feb(1103,1,Qve,$Db);_.Cd=function _Db(a){XDb(this.a,RD(a,848));};sfb(Zxe,'StreamImpl/1/lambda$0$Type',1103);feb(1104,1,nwe,aEb);_.Mb=function bEb(a){return Ysb(this.a,a)};sfb(Zxe,'StreamImpl/1methodref$add$Type',1104);feb(1105,500,Pve,cEb);_.Bd=function dEb(a){var b;if(!this.a){b=new bnb;this.b.a.Nb(new eEb(b));yob();_mb(b,this.c);this.a=new Swb(b,16);}return Rwb(this.a,a)};_.a=null;sfb(Zxe,'StreamImpl/5',1105);feb(1106,1,Qve,eEb);_.Cd=function fEb(a){Rmb(this.a,a);};sfb(Zxe,'StreamImpl/5/2methodref$add$Type',1106);feb(737,500,Pve,hEb);_.Bd=function iEb(a){this.b=false;while(!this.b&&this.c.Bd(new jEb(this,a)));return this.b};_.b=false;sfb(Zxe,'StreamImpl/FilterSpliterator',737);feb(1096,1,Qve,jEb);_.Cd=function kEb(a){gEb(this.a,this.b,a);};sfb(Zxe,'StreamImpl/FilterSpliterator/lambda$0$Type',1096);feb(1091,736,Pve,nEb);_.Re=function oEb(a){return mEb(this,RD(a,189))};sfb(Zxe,'StreamImpl/MapToDoubleSpliterator',1091);feb(1095,1,Qve,pEb);_.Cd=function qEb(a){lEb(this.a,this.b,a);};sfb(Zxe,'StreamImpl/MapToDoubleSpliterator/lambda$0$Type',1095);feb(1090,735,Pve,tEb);_.Re=function uEb(a){return sEb(this,RD(a,202))};sfb(Zxe,'StreamImpl/MapToIntSpliterator',1090);feb(1094,1,Qve,vEb);_.Cd=function wEb(a){rEb(this.a,this.b,a);};sfb(Zxe,'StreamImpl/MapToIntSpliterator/lambda$0$Type',1094);feb(734,500,Pve,zEb);_.Bd=function AEb(a){return yEb(this,a)};sfb(Zxe,'StreamImpl/MapToObjSpliterator',734);feb(1093,1,Qve,BEb);_.Cd=function CEb(a){xEb(this.a,this.b,a);};sfb(Zxe,'StreamImpl/MapToObjSpliterator/lambda$0$Type',1093);feb(1092,500,Pve,DEb);_.Bd=function EEb(a){while(Idb(this.b,0)){if(!this.a.Bd(new FEb)){return false}this.b=Vdb(this.b,1);}return this.a.Bd(a)};_.b=0;sfb(Zxe,'StreamImpl/SkipSpliterator',1092);feb(1097,1,Qve,FEb);_.Cd=function GEb(a){};sfb(Zxe,'StreamImpl/SkipSpliterator/lambda$0$Type',1097);feb(626,1,Qve,IEb);_.Cd=function JEb(a){HEb(this,a);};sfb(Zxe,'StreamImpl/ValueConsumer',626);feb(1098,1,Qve,KEb);_.Cd=function LEb(a){xDb();};sfb(Zxe,'StreamImpl/lambda$0$Type',1098);feb(1099,1,Qve,MEb);_.Cd=function NEb(a){xDb();};sfb(Zxe,'StreamImpl/lambda$1$Type',1099);feb(1100,1,{},OEb);_.Ve=function PEb(a,b){return UDb(this.a,a,b)};sfb(Zxe,'StreamImpl/lambda$4$Type',1100);feb(1101,1,Qve,QEb);_.Cd=function REb(a){VDb(this.b,this.a,a);};sfb(Zxe,'StreamImpl/lambda$5$Type',1101);feb(1107,1,Qve,SEb);_.Cd=function TEb(a){PCb(this.a,RD(a,380));};sfb(Zxe,'TerminatableStream/lambda$0$Type',1107);feb(2142,1,{});feb(2014,1,{},gFb);sfb('javaemul.internal','ConsoleLogger',2014);var iFb=0;feb(2134,1,{});feb(1830,1,Qve,FFb);_.Cd=function GFb(a){RD(a,317);};sfb(eye,'BowyerWatsonTriangulation/lambda$0$Type',1830);feb(1831,1,Qve,HFb);_.Cd=function IFb(a){ye(this.a,RD(a,317).e);};sfb(eye,'BowyerWatsonTriangulation/lambda$1$Type',1831);feb(1832,1,Qve,JFb);_.Cd=function KFb(a){RD(a,177);};sfb(eye,'BowyerWatsonTriangulation/lambda$2$Type',1832);feb(1827,1,fye,NFb);_.Ne=function OFb(a,b){return MFb(this.a,RD(a,177),RD(b,177))};_.Fb=function PFb(a){return this===a};_.Oe=function QFb(){return new Frb(this)};sfb(eye,'NaiveMinST/lambda$0$Type',1827);feb(449,1,{},SFb);sfb(eye,'NodeMicroLayout',449);feb(177,1,{177:1},TFb);_.Fb=function UFb(a){var b;if(ZD(a,177)){b=RD(a,177);return Fvb(this.a,b.a)&&Fvb(this.b,b.b)||Fvb(this.a,b.b)&&Fvb(this.b,b.a)}else {return false}};_.Hb=function VFb(){return Gvb(this.a)+Gvb(this.b)};var $M=sfb(eye,'TEdge',177);feb(317,1,{317:1},XFb);_.Fb=function YFb(a){var b;if(ZD(a,317)){b=RD(a,317);return WFb(this,b.a)&&WFb(this,b.b)&&WFb(this,b.c)}else {return false}};_.Hb=function ZFb(){return Gvb(this.a)+Gvb(this.b)+Gvb(this.c)};sfb(eye,'TTriangle',317);feb(225,1,{225:1},$Fb);sfb(eye,'Tree',225);feb(1218,1,{},aGb);sfb(gye,'Scanline',1218);var bN=ufb(gye,hye);feb(1758,1,{},dGb);sfb(iye,'CGraph',1758);feb(316,1,{316:1},fGb);_.b=0;_.c=0;_.d=0;_.g=0;_.i=0;_.k=pxe;sfb(iye,'CGroup',316);feb(830,1,{},jGb);sfb(iye,'CGroup/CGroupBuilder',830);feb(60,1,{60:1},kGb);_.Ib=function lGb(){var a;if(this.j){return WD(this.j.Kb(this))}return lfb(hN),hN.o+'@'+(a=kFb(this)>>>0,a.toString(16))};_.f=0;_.i=pxe;var hN=sfb(iye,'CNode',60);feb(829,1,{},qGb);sfb(iye,'CNode/CNodeBuilder',829);var vGb;feb(1590,1,{},xGb);_.ff=function yGb(a,b){return 0};_.gf=function zGb(a,b){return 0};sfb(iye,kye,1590);feb(1853,1,{},AGb);_.cf=function BGb(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p;j=oxe;for(d=new Anb(a.a.b);d.ad.d.c||d.d.c==f.d.c&&d.d.b0?a+this.n.d+this.n.a:0};_.kf=function yKb(){var a,b,c,d,e;e=0;if(this.e){this.b?(e=this.b.a):!!this.a[1][1]&&(e=this.a[1][1].kf());}else if(this.g){e=vKb(this,pKb(this,null,true));}else {for(b=(ZJb(),cD(WC(JN,1),jwe,237,0,[WJb,XJb,YJb])),c=0,d=b.length;c0?e+this.n.b+this.n.c:0};_.lf=function zKb(){var a,b,c,d,e;if(this.g){a=pKb(this,null,false);for(c=(ZJb(),cD(WC(JN,1),jwe,237,0,[WJb,XJb,YJb])),d=0,e=c.length;d0){d[0]+=this.d;c-=d[0];}if(d[2]>0){d[2]+=this.d;c-=d[2];}this.c.a=$wnd.Math.max(0,c);this.c.d=b.d+a.d+(this.c.a-c)/2;d[1]=$wnd.Math.max(d[1],c);lKb(this,XJb,b.d+a.d+d[0]-(d[1]-c)/2,d);};_.b=null;_.d=0;_.e=false;_.f=false;_.g=false;var iKb=0,jKb=0;sfb(Jye,'GridContainerCell',1538);feb(471,22,{3:1,34:1,22:1,471:1},FKb);var BKb,CKb,DKb;var MN=tfb(Jye,'HorizontalLabelAlignment',471,WI,HKb,GKb);var IKb;feb(314,217,{217:1,314:1},TKb,UKb,VKb);_.jf=function WKb(){return PKb(this)};_.kf=function XKb(){return QKb(this)};_.a=0;_.c=false;var NN=sfb(Jye,'LabelCell',314);feb(252,336,{217:1,336:1,252:1},dLb);_.jf=function eLb(){return YKb(this)};_.kf=function fLb(){return ZKb(this)};_.lf=function iLb(){$Kb(this);};_.mf=function jLb(){_Kb(this);};_.b=0;_.c=0;_.d=false;sfb(Jye,'StripContainerCell',252);feb(1691,1,nwe,kLb);_.Mb=function lLb(a){return gLb(RD(a,217))};sfb(Jye,'StripContainerCell/lambda$0$Type',1691);feb(1692,1,{},mLb);_.Ye=function nLb(a){return RD(a,217).kf()};sfb(Jye,'StripContainerCell/lambda$1$Type',1692);feb(1693,1,nwe,oLb);_.Mb=function pLb(a){return hLb(RD(a,217))};sfb(Jye,'StripContainerCell/lambda$2$Type',1693);feb(1694,1,{},qLb);_.Ye=function rLb(a){return RD(a,217).jf()};sfb(Jye,'StripContainerCell/lambda$3$Type',1694);feb(472,22,{3:1,34:1,22:1,472:1},wLb);var sLb,tLb,uLb;var TN=tfb(Jye,'VerticalLabelAlignment',472,WI,yLb,xLb);var zLb;feb(800,1,{},CLb);_.c=0;_.d=0;_.k=0;_.s=0;_.t=0;_.v=false;_.w=0;_.D=false;_.F=false;sfb(Rye,'NodeContext',800);feb(1536,1,fye,FLb);_.Ne=function GLb(a,b){return ELb(RD(a,64),RD(b,64))};_.Fb=function HLb(a){return this===a};_.Oe=function ILb(){return new Frb(this)};sfb(Rye,'NodeContext/0methodref$comparePortSides$Type',1536);feb(1537,1,fye,JLb);_.Ne=function KLb(a,b){return DLb(RD(a,117),RD(b,117))};_.Fb=function LLb(a){return this===a};_.Oe=function MLb(){return new Frb(this)};sfb(Rye,'NodeContext/1methodref$comparePortContexts$Type',1537);feb(164,22,{3:1,34:1,22:1,164:1},kMb);var NLb,OLb,PLb,QLb,RLb,SLb,TLb,ULb,VLb,WLb,XLb,YLb,ZLb,$Lb,_Lb,aMb,bMb,cMb,dMb,eMb,fMb,gMb;var XN=tfb(Rye,'NodeLabelLocation',164,WI,nMb,mMb);var oMb;feb(117,1,{117:1},rMb);_.a=false;sfb(Rye,'PortContext',117);feb(1541,1,Qve,KMb);_.Cd=function LMb(a){NKb(RD(a,314));};sfb(Uye,Vye,1541);feb(1542,1,nwe,MMb);_.Mb=function NMb(a){return !!RD(a,117).c};sfb(Uye,Wye,1542);feb(1543,1,Qve,OMb);_.Cd=function PMb(a){NKb(RD(a,117).c);};sfb(Uye,'LabelPlacer/lambda$2$Type',1543);var QMb;feb(1540,1,Qve,YMb);_.Cd=function ZMb(a){RMb();qMb(RD(a,117));};sfb(Uye,'NodeLabelAndSizeUtilities/lambda$0$Type',1540);feb(801,1,Qve,dNb);_.Cd=function eNb(a){bNb(this.b,this.c,this.a,RD(a,187));};_.a=false;_.c=false;sfb(Uye,'NodeLabelCellCreator/lambda$0$Type',801);feb(1539,1,Qve,kNb);_.Cd=function lNb(a){jNb(this.a,RD(a,187));};sfb(Uye,'PortContextCreator/lambda$0$Type',1539);var sNb;feb(1902,1,{},MNb);sfb(Yye,'GreedyRectangleStripOverlapRemover',1902);feb(1903,1,fye,ONb);_.Ne=function PNb(a,b){return NNb(RD(a,226),RD(b,226))};_.Fb=function QNb(a){return this===a};_.Oe=function RNb(){return new Frb(this)};sfb(Yye,'GreedyRectangleStripOverlapRemover/0methodref$compareByYCoordinate$Type',1903);feb(1849,1,{},YNb);_.a=5;_.e=0;sfb(Yye,'RectangleStripOverlapRemover',1849);feb(1850,1,fye,aOb);_.Ne=function bOb(a,b){return ZNb(RD(a,226),RD(b,226))};_.Fb=function cOb(a){return this===a};_.Oe=function dOb(){return new Frb(this)};sfb(Yye,'RectangleStripOverlapRemover/0methodref$compareLeftRectangleBorders$Type',1850);feb(1852,1,fye,eOb);_.Ne=function fOb(a,b){return $Nb(RD(a,226),RD(b,226))};_.Fb=function gOb(a){return this===a};_.Oe=function hOb(){return new Frb(this)};sfb(Yye,'RectangleStripOverlapRemover/1methodref$compareRightRectangleBorders$Type',1852);feb(417,22,{3:1,34:1,22:1,417:1},nOb);var iOb,jOb,kOb,lOb;var hO=tfb(Yye,'RectangleStripOverlapRemover/OverlapRemovalDirection',417,WI,pOb,oOb);var qOb;feb(226,1,{226:1},sOb);sfb(Yye,'RectangleStripOverlapRemover/RectangleNode',226);feb(1851,1,Qve,tOb);_.Cd=function uOb(a){TNb(this.a,RD(a,226));};sfb(Yye,'RectangleStripOverlapRemover/lambda$1$Type',1851);feb(1323,1,fye,xOb);_.Ne=function yOb(a,b){return wOb(RD(a,176),RD(b,176))};_.Fb=function zOb(a){return this===a};_.Oe=function AOb(){return new Frb(this)};sfb($ye,'PolyominoCompactor/CornerCasesGreaterThanRestComparator',1323);feb(1326,1,{},BOb);_.Kb=function COb(a){return RD(a,334).a};sfb($ye,'PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$0$Type',1326);feb(1327,1,nwe,DOb);_.Mb=function EOb(a){return RD(a,332).a};sfb($ye,'PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$1$Type',1327);feb(1328,1,nwe,FOb);_.Mb=function GOb(a){return RD(a,332).a};sfb($ye,'PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$2$Type',1328);feb(1321,1,fye,IOb);_.Ne=function JOb(a,b){return HOb(RD(a,176),RD(b,176))};_.Fb=function KOb(a){return this===a};_.Oe=function LOb(){return new Frb(this)};sfb($ye,'PolyominoCompactor/MinNumOfExtensionDirectionsComparator',1321);feb(1324,1,{},MOb);_.Kb=function NOb(a){return RD(a,334).a};sfb($ye,'PolyominoCompactor/MinNumOfExtensionDirectionsComparator/lambda$0$Type',1324);feb(781,1,fye,POb);_.Ne=function QOb(a,b){return OOb(RD(a,176),RD(b,176))};_.Fb=function ROb(a){return this===a};_.Oe=function SOb(){return new Frb(this)};sfb($ye,'PolyominoCompactor/MinNumOfExtensionsComparator',781);feb(1319,1,fye,UOb);_.Ne=function VOb(a,b){return TOb(RD(a,330),RD(b,330))};_.Fb=function WOb(a){return this===a};_.Oe=function XOb(){return new Frb(this)};sfb($ye,'PolyominoCompactor/MinPerimeterComparator',1319);feb(1320,1,fye,ZOb);_.Ne=function $Ob(a,b){return YOb(RD(a,330),RD(b,330))};_.Fb=function _Ob(a){return this===a};_.Oe=function aPb(){return new Frb(this)};sfb($ye,'PolyominoCompactor/MinPerimeterComparatorWithShape',1320);feb(1322,1,fye,cPb);_.Ne=function dPb(a,b){return bPb(RD(a,176),RD(b,176))};_.Fb=function ePb(a){return this===a};_.Oe=function fPb(){return new Frb(this)};sfb($ye,'PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator',1322);feb(1325,1,{},gPb);_.Kb=function hPb(a){return RD(a,334).a};sfb($ye,'PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator/lambda$0$Type',1325);feb(782,1,{},kPb);_.Ve=function lPb(a,b){return jPb(this,RD(a,42),RD(b,176))};sfb($ye,'SuccessorCombination',782);feb(649,1,{},nPb);_.Ve=function oPb(a,b){var c;return mPb((c=RD(a,42),RD(b,176),c))};sfb($ye,'SuccessorJitter',649);feb(648,1,{},qPb);_.Ve=function rPb(a,b){var c;return pPb((c=RD(a,42),RD(b,176),c))};sfb($ye,'SuccessorLineByLine',648);feb(573,1,{},tPb);_.Ve=function uPb(a,b){var c;return sPb((c=RD(a,42),RD(b,176),c))};sfb($ye,'SuccessorManhattan',573);feb(1344,1,{},wPb);_.Ve=function xPb(a,b){var c;return vPb((c=RD(a,42),RD(b,176),c))};sfb($ye,'SuccessorMaxNormWindingInMathPosSense',1344);feb(409,1,{},APb);_.Ve=function BPb(a,b){return yPb(this,a,b)};_.c=false;_.d=false;_.e=false;_.f=false;sfb($ye,'SuccessorQuadrantsGeneric',409);feb(1345,1,{},CPb);_.Kb=function DPb(a){return RD(a,334).a};sfb($ye,'SuccessorQuadrantsGeneric/lambda$0$Type',1345);feb(332,22,{3:1,34:1,22:1,332:1},JPb);_.a=false;var EPb,FPb,GPb,HPb;var DO=tfb(dze,eze,332,WI,LPb,KPb);var MPb;feb(1317,1,{});_.Ib=function UPb(){var a,b,c,d,e,f;c=' ';a=sgb(0);for(e=0;e=0?'b'+a+'['+bUb(this.a)+']':'b['+bUb(this.a)+']'}return 'b_'+kFb(this)};sfb(Oze,'FBendpoint',250);feb(290,137,{3:1,290:1,96:1,137:1},cUb);_.Ib=function dUb(){return bUb(this)};sfb(Oze,'FEdge',290);feb(235,137,{3:1,235:1,96:1,137:1},gUb);var tP=sfb(Oze,'FGraph',235);feb(454,309,{3:1,454:1,309:1,96:1,137:1},iUb);_.Ib=function jUb(){return this.b==null||this.b.length==0?'l['+bUb(this.a)+']':'l_'+this.b};sfb(Oze,'FLabel',454);feb(153,309,{3:1,153:1,309:1,96:1,137:1},lUb);_.Ib=function mUb(){return kUb(this)};_.a=0;sfb(Oze,'FNode',153);feb(2100,1,{});_.vf=function rUb(a){nUb(this,a);};_.wf=function sUb(){oUb(this);};_.d=0;sfb(Qze,'AbstractForceModel',2100);feb(641,2100,{641:1},tUb);_.uf=function vUb(a,b){var c,d,e,f,g;qUb(this.f,a,b);e=ojd(ajd(b.d),a.d);g=$wnd.Math.sqrt(e.a*e.a+e.b*e.b);d=$wnd.Math.max(0,g-ejd(a.e)/2-ejd(b.e)/2);c=fUb(this.e,a,b);c>0?(f=-uUb(d,this.c)*c):(f=yUb(d,this.b)*RD(mQb(a,(yVb(),lVb)),17).a);ijd(e,f/g);return e};_.vf=function wUb(a){nUb(this,a);this.a=RD(mQb(a,(yVb(),aVb)),17).a;this.c=Kfb(UD(mQb(a,rVb)));this.b=Kfb(UD(mQb(a,nVb)));};_.xf=function xUb(a){return a0&&(f-=AUb(d,this.a)*c);ijd(e,f*this.b/g);return e};_.vf=function CUb(a){var b,c,d,e,f,g,h;nUb(this,a);this.b=Kfb(UD(mQb(a,(yVb(),sVb))));this.c=this.b/RD(mQb(a,aVb),17).a;d=a.e.c.length;f=0;e=0;for(h=new Anb(a.e);h.a0};_.a=0;_.b=0;_.c=0;sfb(Qze,'FruchtermanReingoldModel',642);feb(860,1,Eye,PUb);_.hf=function QUb(a){Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,Rze),''),'Force Model'),'Determines the model for force calculation.'),IUb),(kid(),eid)),BP),xsb((Yhd(),Whd)))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,Sze),''),'Iterations'),'The number of iterations on the force model.'),sgb(300)),gid),bJ),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,Tze),''),'Repulsive Power'),'Determines how many bend points are added to the edge; such bend points are regarded as repelling particles in the force model'),sgb(0)),gid),bJ),xsb(Thd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,Uze),''),'FR Temperature'),'The temperature is used as a scaling factor for particle displacements.'),Vze),did),VI),xsb(Whd))));zgd(a,Uze,Rze,NUb);Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,Wze),''),'Eades Repulsion'),"Factor for repulsive forces in Eades' model."),5),did),VI),xsb(Whd))));zgd(a,Wze,Rze,KUb);zVb((new AVb,a));};var GUb,HUb,IUb,JUb,KUb,LUb,MUb,NUb;sfb(Xze,'ForceMetaDataProvider',860);feb(432,22,{3:1,34:1,22:1,432:1},UUb);var RUb,SUb;var BP=tfb(Xze,'ForceModelStrategy',432,WI,WUb,VUb);var XUb;feb(Awe,1,Eye,AVb);_.hf=function BVb(a){zVb(a);};var ZUb,$Ub,_Ub,aVb,bVb,cVb,dVb,eVb,fVb,gVb,hVb,iVb,jVb,kVb,lVb,mVb,nVb,oVb,pVb,qVb,rVb,sVb,tVb,uVb,vVb,wVb,xVb;sfb(Xze,'ForceOptions',Awe);feb(1001,1,{},CVb);_.sf=function DVb(){var a;return a=new TTb,a};_.tf=function EVb(a){};sfb(Xze,'ForceOptions/ForceFactory',1001);var FVb,GVb,HVb,IVb;feb(861,1,Eye,RVb);_.hf=function SVb(a){Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,vAe),''),'Fixed Position'),'Prevent that the node is moved by the layout algorithm.'),(Geb(),false)),(kid(),cid)),QI),xsb((Yhd(),Vhd)))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,wAe),''),'Desired Edge Length'),'Either specified for parent nodes or for individual edges, where the latter takes higher precedence.'),100),did),VI),ysb(Whd,cD(WC(d3,1),jwe,170,0,[Thd])))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,xAe),''),'Layout Dimension'),'Dimensions that are permitted to be altered during layout.'),MVb),eid),JP),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,yAe),''),'Stress Epsilon'),'Termination criterion for the iterative process.'),Vze),did),VI),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,zAe),''),'Iteration Limit'),"Maximum number of performed iterations. Takes higher precedence than 'epsilon'."),sgb(lve)),gid),bJ),xsb(Whd))));eWb((new fWb,a));};var KVb,LVb,MVb,NVb,OVb,PVb;sfb(Xze,'StressMetaDataProvider',861);feb(1004,1,Eye,fWb);_.hf=function gWb(a){eWb(a);};var TVb,UVb,VVb,WVb,XVb,YVb,ZVb,$Vb,_Vb,aWb,bWb,cWb;sfb(Xze,'StressOptions',1004);feb(1005,1,{},hWb);_.sf=function iWb(){var a;return a=new kWb,a};_.tf=function jWb(a){};sfb(Xze,'StressOptions/StressFactory',1005);feb(1110,205,oze,kWb);_.rf=function lWb(a,b){var c,d,e,f,g;b.Ug(BAe,1);Heb(TD(Gxd(a,(dWb(),XVb))))?Heb(TD(Gxd(a,bWb)))||RFb((c=new SFb((lud(),new zud(a))),c)):QTb(new TTb,a,b.eh(1));e=KTb(a);d=CTb(this.a,e);for(g=d.Kc();g.Ob();){f=RD(g.Pb(),235);if(f.e.c.length<=1){continue}uWb(this.b,f);sWb(this.b);Umb(f.d,new mWb);}e=BTb(d);JTb(e);b.Vg();};sfb(DAe,'StressLayoutProvider',1110);feb(1111,1,Qve,mWb);_.Cd=function nWb(a){hUb(RD(a,454));};sfb(DAe,'StressLayoutProvider/lambda$0$Type',1111);feb(1002,1,{},vWb);_.c=0;_.e=0;_.g=0;sfb(DAe,'StressMajorization',1002);feb(391,22,{3:1,34:1,22:1,391:1},BWb);var xWb,yWb,zWb;var JP=tfb(DAe,'StressMajorization/Dimension',391,WI,DWb,CWb);var EWb;feb(1003,1,fye,GWb);_.Ne=function HWb(a,b){return wWb(this.a,RD(a,153),RD(b,153))};_.Fb=function IWb(a){return this===a};_.Oe=function JWb(){return new Frb(this)};sfb(DAe,'StressMajorization/lambda$0$Type',1003);feb(1192,1,{},RWb);sfb(FAe,'ElkLayered',1192);feb(1193,1,Qve,UWb);_.Cd=function VWb(a){SWb(this.a,RD(a,36));};sfb(FAe,'ElkLayered/lambda$0$Type',1193);feb(1194,1,Qve,WWb);_.Cd=function XWb(a){TWb(this.a,RD(a,36));};sfb(FAe,'ElkLayered/lambda$1$Type',1194);feb(1281,1,{},dXb);var YWb,ZWb,$Wb;sfb(FAe,'GraphConfigurator',1281);feb(770,1,Qve,fXb);_.Cd=function gXb(a){aXb(this.a,RD(a,10));};sfb(FAe,'GraphConfigurator/lambda$0$Type',770);feb(771,1,{},hXb);_.Kb=function iXb(a){return _Wb(),new SDb(null,new Swb(RD(a,30).a,16))};sfb(FAe,'GraphConfigurator/lambda$1$Type',771);feb(772,1,Qve,jXb);_.Cd=function kXb(a){aXb(this.a,RD(a,10));};sfb(FAe,'GraphConfigurator/lambda$2$Type',772);feb(1109,205,oze,lXb);_.rf=function mXb(a,b){var c;c=c5b(new k5b,a);dE(Gxd(a,(yCc(),IAc)))===dE((Fnd(),Cnd))?LWb(this.a,c,b):MWb(this.a,c,b);b.$g()||J5b(new N5b,c);};sfb(FAe,'LayeredLayoutProvider',1109);feb(367,22,{3:1,34:1,22:1,367:1},tXb);var nXb,oXb,pXb,qXb,rXb;var UP=tfb(FAe,'LayeredPhases',367,WI,vXb,uXb);var wXb;feb(1717,1,{},EXb);_.i=0;var yXb;sfb(GAe,'ComponentsToCGraphTransformer',1717);var jYb;feb(1718,1,{},FXb);_.yf=function GXb(a,b){return $wnd.Math.min(a.a!=null?Kfb(a.a):a.c.i,b.a!=null?Kfb(b.a):b.c.i)};_.zf=function HXb(a,b){return $wnd.Math.min(a.a!=null?Kfb(a.a):a.c.i,b.a!=null?Kfb(b.a):b.c.i)};sfb(GAe,'ComponentsToCGraphTransformer/1',1718);feb(86,1,{86:1});_.i=0;_.k=true;_.o=pxe;var bQ=sfb(HAe,'CNode',86);feb(470,86,{470:1,86:1},IXb,JXb);_.Ib=function KXb(){return ''};sfb(GAe,'ComponentsToCGraphTransformer/CRectNode',470);feb(1688,1,{},XXb);var LXb,MXb;sfb(GAe,'OneDimensionalComponentsCompaction',1688);feb(1689,1,{},$Xb);_.Kb=function _Xb(a){return YXb(RD(a,42))};_.Fb=function aYb(a){return this===a};sfb(GAe,'OneDimensionalComponentsCompaction/lambda$0$Type',1689);feb(1690,1,{},bYb);_.Kb=function cYb(a){return ZXb(RD(a,42))};_.Fb=function dYb(a){return this===a};sfb(GAe,'OneDimensionalComponentsCompaction/lambda$1$Type',1690);feb(1720,1,{},fYb);sfb(HAe,'CGraph',1720);feb(194,1,{194:1},iYb);_.b=0;_.c=0;_.e=0;_.g=true;_.i=pxe;sfb(HAe,'CGroup',194);feb(1719,1,{},lYb);_.yf=function mYb(a,b){return $wnd.Math.max(a.a!=null?Kfb(a.a):a.c.i,b.a!=null?Kfb(b.a):b.c.i)};_.zf=function nYb(a,b){return $wnd.Math.max(a.a!=null?Kfb(a.a):a.c.i,b.a!=null?Kfb(b.a):b.c.i)};sfb(HAe,kye,1719);feb(1721,1,{},EYb);_.d=false;var oYb;var eQ=sfb(HAe,pye,1721);feb(1722,1,{},FYb);_.Kb=function GYb(a){return pYb(),Geb(),RD(RD(a,42).a,86).d.e!=0?true:false};_.Fb=function HYb(a){return this===a};sfb(HAe,qye,1722);feb(833,1,{},KYb);_.a=false;_.b=false;_.c=false;_.d=false;sfb(HAe,rye,833);feb(1898,1,{},QYb);sfb(IAe,sye,1898);var wQ=ufb(JAe,hye);feb(1899,1,{382:1},UYb);_.bf=function VYb(a){SYb(this,RD(a,476));};sfb(IAe,tye,1899);feb(Owe,1,fye,XYb);_.Ne=function YYb(a,b){return WYb(RD(a,86),RD(b,86))};_.Fb=function ZYb(a){return this===a};_.Oe=function $Yb(){return new Frb(this)};sfb(IAe,uye,Owe);feb(476,1,{476:1},_Yb);_.a=false;sfb(IAe,vye,476);feb(1901,1,fye,aZb);_.Ne=function bZb(a,b){return RYb(RD(a,476),RD(b,476))};_.Fb=function cZb(a){return this===a};_.Oe=function dZb(){return new Frb(this)};sfb(IAe,wye,1901);feb(148,1,{148:1},eZb,fZb);_.Fb=function gZb(a){var b;if(a==null){return false}if(mQ!=rb(a)){return false}b=RD(a,148);return Fvb(this.c,b.c)&&Fvb(this.d,b.d)};_.Hb=function hZb(){return Tnb(cD(WC(jJ,1),rve,1,5,[this.c,this.d]))};_.Ib=function iZb(){return '('+this.c+pve+this.d+(this.a?'cx':'')+this.b+')'};_.a=true;_.c=0;_.d=0;var mQ=sfb(JAe,'Point',148);feb(416,22,{3:1,34:1,22:1,416:1},qZb);var jZb,kZb,lZb,mZb;var lQ=tfb(JAe,'Point/Quadrant',416,WI,uZb,tZb);var vZb;feb(1708,1,{},EZb);_.b=null;_.c=null;_.d=null;_.e=null;_.f=null;var xZb,yZb,zZb,AZb,BZb;sfb(JAe,'RectilinearConvexHull',1708);feb(583,1,{382:1},PZb);_.bf=function QZb(a){OZb(this,RD(a,148));};_.b=0;var MZb;sfb(JAe,'RectilinearConvexHull/MaximalElementsEventHandler',583);feb(1710,1,fye,SZb);_.Ne=function TZb(a,b){return RZb(UD(a),UD(b))};_.Fb=function UZb(a){return this===a};_.Oe=function VZb(){return new Frb(this)};sfb(JAe,'RectilinearConvexHull/MaximalElementsEventHandler/lambda$0$Type',1710);feb(1709,1,{382:1},XZb);_.bf=function YZb(a){WZb(this,RD(a,148));};_.a=0;_.b=null;_.c=null;_.d=null;_.e=null;sfb(JAe,'RectilinearConvexHull/RectangleEventHandler',1709);feb(1711,1,fye,ZZb);_.Ne=function $Zb(a,b){return GZb(RD(a,148),RD(b,148))};_.Fb=function _Zb(a){return this===a};_.Oe=function a$b(){return new Frb(this)};sfb(JAe,'RectilinearConvexHull/lambda$0$Type',1711);feb(1712,1,fye,b$b);_.Ne=function c$b(a,b){return HZb(RD(a,148),RD(b,148))};_.Fb=function d$b(a){return this===a};_.Oe=function e$b(){return new Frb(this)};sfb(JAe,'RectilinearConvexHull/lambda$1$Type',1712);feb(1713,1,fye,f$b);_.Ne=function g$b(a,b){return IZb(RD(a,148),RD(b,148))};_.Fb=function h$b(a){return this===a};_.Oe=function i$b(){return new Frb(this)};sfb(JAe,'RectilinearConvexHull/lambda$2$Type',1713);feb(1714,1,fye,j$b);_.Ne=function k$b(a,b){return JZb(RD(a,148),RD(b,148))};_.Fb=function l$b(a){return this===a};_.Oe=function m$b(){return new Frb(this)};sfb(JAe,'RectilinearConvexHull/lambda$3$Type',1714);feb(1715,1,fye,n$b);_.Ne=function o$b(a,b){return KZb(RD(a,148),RD(b,148))};_.Fb=function p$b(a){return this===a};_.Oe=function q$b(){return new Frb(this)};sfb(JAe,'RectilinearConvexHull/lambda$4$Type',1715);feb(1716,1,{},s$b);sfb(JAe,'Scanline',1716);feb(2104,1,{});sfb(KAe,'AbstractGraphPlacer',2104);feb(335,1,{335:1},C$b);_.Ff=function D$b(a){if(this.Gf(a)){Rc(this.b,RD(mQb(a,(Ywc(),ewc)),21),a);return true}else {return false}};_.Gf=function E$b(a){var b,c,d,e;b=RD(mQb(a,(Ywc(),ewc)),21);e=RD(Qc(y$b,b),21);for(d=e.Kc();d.Ob();){c=RD(d.Pb(),21);if(!RD(Qc(this.b,c),15).dc()){return false}}return true};var y$b;sfb(KAe,'ComponentGroup',335);feb(779,2104,{},J$b);_.Hf=function K$b(a){var b,c;for(c=new Anb(this.a);c.ac){k=0;l+=h+d;h=0;}i=f.c;w$b(f,k+i.a,l+i.b);hjd(i);e=$wnd.Math.max(e,k+j.a);h=$wnd.Math.max(h,j.b);k+=j.a+d;}b.f.a=e;b.f.b=l+h;};_.Jf=function Y_b(a,b){var c,d,e,f,g;if(dE(mQb(b,(yCc(),Yzc)))===dE((U$b(),T$b))){for(d=a.Kc();d.Ob();){c=RD(d.Pb(),36);g=0;for(f=new Anb(c.a);f.ac&&!RD(mQb(f,(Ywc(),ewc)),21).Hc((qpd(),Yod))||!!i&&RD(mQb(i,(Ywc(),ewc)),21).Hc((qpd(),Xod))||RD(mQb(f,(Ywc(),ewc)),21).Hc((qpd(),ppd))){m=l;n+=h+d;h=0;}j=f.c;RD(mQb(f,(Ywc(),ewc)),21).Hc((qpd(),Yod))&&(m=e+d);w$b(f,m+j.a,n+j.b);e=$wnd.Math.max(e,m+k.a);RD(mQb(f,ewc),21).Hc(npd)&&(l=$wnd.Math.max(l,m+k.a+d));hjd(j);h=$wnd.Math.max(h,k.b);m+=k.a+d;i=f;}b.f.a=e;b.f.b=n+h;};_.Jf=function __b(a,b){};sfb(KAe,'ModelOrderRowGraphPlacer',1313);feb(1311,1,fye,b0b);_.Ne=function c0b(a,b){return a0b(RD(a,36),RD(b,36))};_.Fb=function d0b(a){return this===a};_.Oe=function e0b(){return new Frb(this)};sfb(KAe,'SimpleRowGraphPlacer/1',1311);var f0b;feb(1280,1,xye,l0b);_.Lb=function m0b(a){var b;return b=RD(mQb(RD(a,249).b,(yCc(),RAc)),75),!!b&&b.b!=0};_.Fb=function n0b(a){return this===a};_.Mb=function o0b(a){var b;return b=RD(mQb(RD(a,249).b,(yCc(),RAc)),75),!!b&&b.b!=0};sfb(PAe,'CompoundGraphPostprocessor/1',1280);feb(1279,1,QAe,E0b);_.Kf=function F0b(a,b){y0b(this,RD(a,36),b);};sfb(PAe,'CompoundGraphPreprocessor',1279);feb(453,1,{453:1},G0b);_.c=false;sfb(PAe,'CompoundGraphPreprocessor/ExternalPort',453);feb(249,1,{249:1},J0b);_.Ib=function K0b(){return ps(this.c)+':'+_0b(this.b)};sfb(PAe,'CrossHierarchyEdge',249);feb(777,1,fye,M0b);_.Ne=function N0b(a,b){return L0b(this,RD(a,249),RD(b,249))};_.Fb=function O0b(a){return this===a};_.Oe=function Q0b(){return new Frb(this)};sfb(PAe,'CrossHierarchyEdgeComparator',777);feb(305,137,{3:1,305:1,96:1,137:1});_.p=0;sfb(RAe,'LGraphElement',305);feb(18,305,{3:1,18:1,305:1,96:1,137:1},a1b);_.Ib=function b1b(){return _0b(this)};var WQ=sfb(RAe,'LEdge',18);feb(36,305,{3:1,20:1,36:1,305:1,96:1,137:1},d1b);_.Jc=function e1b(a){xgb(this,a);};_.Kc=function f1b(){return new Anb(this.b)};_.Ib=function g1b(){if(this.b.c.length==0){return 'G-unlayered'+Fe(this.a)}else if(this.a.c.length==0){return 'G-layered'+Fe(this.b)}return 'G[layerless'+Fe(this.a)+', layers'+Fe(this.b)+']'};var eR=sfb(RAe,'LGraph',36);var h1b;feb(666,1,{});_.Lf=function j1b(){return this.e.n};_.of=function k1b(a){return mQb(this.e,a)};_.Mf=function l1b(){return this.e.o};_.Nf=function m1b(){return this.e.p};_.pf=function n1b(a){return nQb(this.e,a)};_.Of=function o1b(a){this.e.n.a=a.a;this.e.n.b=a.b;};_.Pf=function p1b(a){this.e.o.a=a.a;this.e.o.b=a.b;};_.Qf=function q1b(a){this.e.p=a;};sfb(RAe,'LGraphAdapters/AbstractLShapeAdapter',666);feb(474,1,{853:1},r1b);_.Rf=function s1b(){var a,b;if(!this.b){this.b=ev(this.a.b.c.length);for(b=new Anb(this.a.b);b.a0&&M2b((BFb(c-1,b.length),b.charCodeAt(c-1)),ZAe)){--c;}if(g> ',a),M3b(c));Zhb(Yhb((a.a+='[',a),c.i),']');}return a.a};_.c=true;_.d=false;var D3b,E3b,F3b,G3b,H3b,I3b;var xR=sfb(RAe,'LPort',12);feb(408,1,Vve,T3b);_.Jc=function U3b(a){xgb(this,a);};_.Kc=function V3b(){var a;a=new Anb(this.a.e);return new W3b(a)};sfb(RAe,'LPort/1',408);feb(1309,1,Ave,W3b);_.Nb=function X3b(a){Ztb(this,a);};_.Pb=function Z3b(){return RD(ynb(this.a),18).c};_.Ob=function Y3b(){return xnb(this.a)};_.Qb=function $3b(){znb(this.a);};sfb(RAe,'LPort/1/1',1309);feb(369,1,Vve,_3b);_.Jc=function a4b(a){xgb(this,a);};_.Kc=function b4b(){var a;return a=new Anb(this.a.g),new c4b(a)};sfb(RAe,'LPort/2',369);feb(776,1,Ave,c4b);_.Nb=function d4b(a){Ztb(this,a);};_.Pb=function f4b(){return RD(ynb(this.a),18).d};_.Ob=function e4b(){return xnb(this.a)};_.Qb=function g4b(){znb(this.a);};sfb(RAe,'LPort/2/1',776);feb(1302,1,Vve,h4b);_.Jc=function i4b(a){xgb(this,a);};_.Kc=function j4b(){return new l4b(this)};sfb(RAe,'LPort/CombineIter',1302);feb(208,1,Ave,l4b);_.Nb=function m4b(a){Ztb(this,a);};_.Qb=function p4b(){$tb();};_.Ob=function n4b(){return k4b(this)};_.Pb=function o4b(){return xnb(this.a)?ynb(this.a):ynb(this.b)};sfb(RAe,'LPort/CombineIter/1',208);feb(1303,1,xye,r4b);_.Lb=function s4b(a){return q4b(a)};_.Fb=function t4b(a){return this===a};_.Mb=function u4b(a){return J3b(),RD(a,12).g.c.length!=0};sfb(RAe,'LPort/lambda$0$Type',1303);feb(1304,1,xye,w4b);_.Lb=function x4b(a){return v4b(a)};_.Fb=function y4b(a){return this===a};_.Mb=function z4b(a){return J3b(),RD(a,12).e.c.length!=0};sfb(RAe,'LPort/lambda$1$Type',1304);feb(1305,1,xye,A4b);_.Lb=function B4b(a){return J3b(),RD(a,12).j==(qpd(),Yod)};_.Fb=function C4b(a){return this===a};_.Mb=function D4b(a){return J3b(),RD(a,12).j==(qpd(),Yod)};sfb(RAe,'LPort/lambda$2$Type',1305);feb(1306,1,xye,E4b);_.Lb=function F4b(a){return J3b(),RD(a,12).j==(qpd(),Xod)};_.Fb=function G4b(a){return this===a};_.Mb=function H4b(a){return J3b(),RD(a,12).j==(qpd(),Xod)};sfb(RAe,'LPort/lambda$3$Type',1306);feb(1307,1,xye,I4b);_.Lb=function J4b(a){return J3b(),RD(a,12).j==(qpd(),npd)};_.Fb=function K4b(a){return this===a};_.Mb=function L4b(a){return J3b(),RD(a,12).j==(qpd(),npd)};sfb(RAe,'LPort/lambda$4$Type',1307);feb(1308,1,xye,M4b);_.Lb=function N4b(a){return J3b(),RD(a,12).j==(qpd(),ppd)};_.Fb=function O4b(a){return this===a};_.Mb=function P4b(a){return J3b(),RD(a,12).j==(qpd(),ppd)};sfb(RAe,'LPort/lambda$5$Type',1308);feb(30,305,{3:1,20:1,305:1,30:1,96:1,137:1},R4b);_.Jc=function S4b(a){xgb(this,a);};_.Kc=function T4b(){return new Anb(this.a)};_.Ib=function U4b(){return 'L_'+Wmb(this.b.b,this,0)+Fe(this.a)};sfb(RAe,'Layer',30);feb(1330,1,{},k5b);sfb(cBe,dBe,1330);feb(1334,1,{},o5b);_.Kb=function p5b(a){return AGd(RD(a,84))};sfb(cBe,'ElkGraphImporter/0methodref$connectableShapeToNode$Type',1334);feb(1337,1,{},q5b);_.Kb=function r5b(a){return AGd(RD(a,84))};sfb(cBe,'ElkGraphImporter/1methodref$connectableShapeToNode$Type',1337);feb(1331,1,Qve,s5b);_.Cd=function t5b(a){$4b(this.a,RD(a,123));};sfb(cBe,Nze,1331);feb(1332,1,Qve,u5b);_.Cd=function v5b(a){$4b(this.a,RD(a,123));};sfb(cBe,eBe,1332);feb(1333,1,{},w5b);_.Kb=function x5b(a){return new SDb(null,new Swb(mzd(RD(a,74)),16))};sfb(cBe,fBe,1333);feb(1335,1,nwe,y5b);_.Mb=function z5b(a){return l5b(this.a,RD(a,27))};sfb(cBe,gBe,1335);feb(1336,1,{},A5b);_.Kb=function B5b(a){return new SDb(null,new Swb(lzd(RD(a,74)),16))};sfb(cBe,'ElkGraphImporter/lambda$5$Type',1336);feb(1338,1,nwe,C5b);_.Mb=function D5b(a){return m5b(this.a,RD(a,27))};sfb(cBe,'ElkGraphImporter/lambda$7$Type',1338);feb(1339,1,nwe,E5b);_.Mb=function F5b(a){return n5b(RD(a,74))};sfb(cBe,'ElkGraphImporter/lambda$8$Type',1339);feb(1297,1,{},N5b);var G5b;sfb(cBe,'ElkGraphLayoutTransferrer',1297);feb(1298,1,nwe,Q5b);_.Mb=function R5b(a){return O5b(this.a,RD(a,18))};sfb(cBe,'ElkGraphLayoutTransferrer/lambda$0$Type',1298);feb(1299,1,Qve,S5b);_.Cd=function T5b(a){H5b();Rmb(this.a,RD(a,18));};sfb(cBe,'ElkGraphLayoutTransferrer/lambda$1$Type',1299);feb(1300,1,nwe,U5b);_.Mb=function V5b(a){return P5b(this.a,RD(a,18))};sfb(cBe,'ElkGraphLayoutTransferrer/lambda$2$Type',1300);feb(1301,1,Qve,W5b);_.Cd=function X5b(a){H5b();Rmb(this.a,RD(a,18));};sfb(cBe,'ElkGraphLayoutTransferrer/lambda$3$Type',1301);feb(819,1,{},e6b);sfb(hBe,'BiLinkedHashMultiMap',819);feb(1550,1,QAe,h6b);_.Kf=function i6b(a,b){f6b(RD(a,36),b);};sfb(hBe,'CommentNodeMarginCalculator',1550);feb(1551,1,{},j6b);_.Kb=function k6b(a){return new SDb(null,new Swb(RD(a,30).a,16))};sfb(hBe,'CommentNodeMarginCalculator/lambda$0$Type',1551);feb(1552,1,Qve,l6b);_.Cd=function m6b(a){g6b(RD(a,10));};sfb(hBe,'CommentNodeMarginCalculator/lambda$1$Type',1552);feb(1553,1,QAe,q6b);_.Kf=function r6b(a,b){o6b(RD(a,36),b);};sfb(hBe,'CommentPostprocessor',1553);feb(1554,1,QAe,v6b);_.Kf=function w6b(a,b){s6b(RD(a,36),b);};sfb(hBe,'CommentPreprocessor',1554);feb(1555,1,QAe,y6b);_.Kf=function z6b(a,b){x6b(RD(a,36),b);};sfb(hBe,'ConstraintsPostprocessor',1555);feb(1556,1,QAe,G6b);_.Kf=function H6b(a,b){E6b(RD(a,36),b);};sfb(hBe,'EdgeAndLayerConstraintEdgeReverser',1556);feb(1557,1,QAe,K6b);_.Kf=function M6b(a,b){I6b(RD(a,36),b);};sfb(hBe,'EndLabelPostprocessor',1557);feb(1558,1,{},N6b);_.Kb=function O6b(a){return new SDb(null,new Swb(RD(a,30).a,16))};sfb(hBe,'EndLabelPostprocessor/lambda$0$Type',1558);feb(1559,1,nwe,P6b);_.Mb=function Q6b(a){return L6b(RD(a,10))};sfb(hBe,'EndLabelPostprocessor/lambda$1$Type',1559);feb(1560,1,Qve,R6b);_.Cd=function S6b(a){J6b(RD(a,10));};sfb(hBe,'EndLabelPostprocessor/lambda$2$Type',1560);feb(1561,1,QAe,b7b);_.Kf=function e7b(a,b){Z6b(RD(a,36),b);};sfb(hBe,'EndLabelPreprocessor',1561);feb(1562,1,{},f7b);_.Kb=function g7b(a){return new SDb(null,new Swb(RD(a,30).a,16))};sfb(hBe,'EndLabelPreprocessor/lambda$0$Type',1562);feb(1563,1,Qve,h7b);_.Cd=function i7b(a){V6b(this.a,this.b,this.c,RD(a,10));};_.a=0;_.b=0;_.c=false;sfb(hBe,'EndLabelPreprocessor/lambda$1$Type',1563);feb(1564,1,nwe,j7b);_.Mb=function k7b(a){return dE(mQb(RD(a,72),(yCc(),wAc)))===dE((Omd(),Nmd))};sfb(hBe,'EndLabelPreprocessor/lambda$2$Type',1564);feb(1565,1,Qve,l7b);_.Cd=function m7b(a){Mub(this.a,RD(a,72));};sfb(hBe,'EndLabelPreprocessor/lambda$3$Type',1565);feb(1566,1,nwe,n7b);_.Mb=function o7b(a){return dE(mQb(RD(a,72),(yCc(),wAc)))===dE((Omd(),Mmd))};sfb(hBe,'EndLabelPreprocessor/lambda$4$Type',1566);feb(1567,1,Qve,p7b);_.Cd=function q7b(a){Mub(this.a,RD(a,72));};sfb(hBe,'EndLabelPreprocessor/lambda$5$Type',1567);feb(1615,1,QAe,z7b);_.Kf=function A7b(a,b){w7b(RD(a,36),b);};var r7b;sfb(hBe,'EndLabelSorter',1615);feb(1616,1,fye,C7b);_.Ne=function D7b(a,b){return B7b(RD(a,466),RD(b,466))};_.Fb=function E7b(a){return this===a};_.Oe=function F7b(){return new Frb(this)};sfb(hBe,'EndLabelSorter/1',1616);feb(466,1,{466:1},G7b);sfb(hBe,'EndLabelSorter/LabelGroup',466);feb(1617,1,{},H7b);_.Kb=function I7b(a){return s7b(),new SDb(null,new Swb(RD(a,30).a,16))};sfb(hBe,'EndLabelSorter/lambda$0$Type',1617);feb(1618,1,nwe,J7b);_.Mb=function K7b(a){return s7b(),RD(a,10).k==(r3b(),p3b)};sfb(hBe,'EndLabelSorter/lambda$1$Type',1618);feb(1619,1,Qve,L7b);_.Cd=function M7b(a){x7b(RD(a,10));};sfb(hBe,'EndLabelSorter/lambda$2$Type',1619);feb(1620,1,nwe,N7b);_.Mb=function O7b(a){return s7b(),dE(mQb(RD(a,72),(yCc(),wAc)))===dE((Omd(),Mmd))};sfb(hBe,'EndLabelSorter/lambda$3$Type',1620);feb(1621,1,nwe,P7b);_.Mb=function Q7b(a){return s7b(),dE(mQb(RD(a,72),(yCc(),wAc)))===dE((Omd(),Nmd))};sfb(hBe,'EndLabelSorter/lambda$4$Type',1621);feb(1568,1,QAe,a8b);_.Kf=function b8b(a,b){$7b(this,RD(a,36));};_.b=0;_.c=0;sfb(hBe,'FinalSplineBendpointsCalculator',1568);feb(1569,1,{},c8b);_.Kb=function d8b(a){return new SDb(null,new Swb(RD(a,30).a,16))};sfb(hBe,'FinalSplineBendpointsCalculator/lambda$0$Type',1569);feb(1570,1,{},e8b);_.Kb=function f8b(a){return new SDb(null,new Twb(new is(Mr(a3b(RD(a,10)).a.Kc(),new ir))))};sfb(hBe,'FinalSplineBendpointsCalculator/lambda$1$Type',1570);feb(1571,1,nwe,g8b);_.Mb=function h8b(a){return !W0b(RD(a,18))};sfb(hBe,'FinalSplineBendpointsCalculator/lambda$2$Type',1571);feb(1572,1,nwe,i8b);_.Mb=function j8b(a){return nQb(RD(a,18),(Ywc(),Twc))};sfb(hBe,'FinalSplineBendpointsCalculator/lambda$3$Type',1572);feb(1573,1,Qve,k8b);_.Cd=function l8b(a){T7b(this.a,RD(a,131));};sfb(hBe,'FinalSplineBendpointsCalculator/lambda$4$Type',1573);feb(1574,1,Qve,m8b);_.Cd=function n8b(a){Eob(RD(a,18).a);};sfb(hBe,'FinalSplineBendpointsCalculator/lambda$5$Type',1574);feb(803,1,QAe,L8b);_.Kf=function M8b(a,b){C8b(this,RD(a,36),b);};sfb(hBe,'GraphTransformer',803);feb(517,22,{3:1,34:1,22:1,517:1},Q8b);var N8b,O8b;var vS=tfb(hBe,'GraphTransformer/Mode',517,WI,S8b,R8b);var T8b;feb(1575,1,QAe,Z8b);_.Kf=function $8b(a,b){W8b(RD(a,36),b);};sfb(hBe,'HierarchicalNodeResizingProcessor',1575);feb(1576,1,QAe,f9b);_.Kf=function g9b(a,b){b9b(RD(a,36),b);};sfb(hBe,'HierarchicalPortConstraintProcessor',1576);feb(1577,1,fye,i9b);_.Ne=function j9b(a,b){return h9b(RD(a,10),RD(b,10))};_.Fb=function k9b(a){return this===a};_.Oe=function l9b(){return new Frb(this)};sfb(hBe,'HierarchicalPortConstraintProcessor/NodeComparator',1577);feb(1578,1,QAe,o9b);_.Kf=function p9b(a,b){m9b(RD(a,36),b);};sfb(hBe,'HierarchicalPortDummySizeProcessor',1578);feb(1579,1,QAe,C9b);_.Kf=function D9b(a,b){v9b(this,RD(a,36),b);};_.a=0;sfb(hBe,'HierarchicalPortOrthogonalEdgeRouter',1579);feb(1580,1,fye,F9b);_.Ne=function G9b(a,b){return E9b(RD(a,10),RD(b,10))};_.Fb=function H9b(a){return this===a};_.Oe=function I9b(){return new Frb(this)};sfb(hBe,'HierarchicalPortOrthogonalEdgeRouter/1',1580);feb(1581,1,fye,K9b);_.Ne=function L9b(a,b){return J9b(RD(a,10),RD(b,10))};_.Fb=function M9b(a){return this===a};_.Oe=function N9b(){return new Frb(this)};sfb(hBe,'HierarchicalPortOrthogonalEdgeRouter/2',1581);feb(1582,1,QAe,Q9b);_.Kf=function R9b(a,b){P9b(RD(a,36),b);};sfb(hBe,'HierarchicalPortPositionProcessor',1582);feb(1583,1,QAe,$9b);_.Kf=function _9b(a,b){Z9b(this,RD(a,36));};_.a=0;_.c=0;var S9b,T9b;sfb(hBe,'HighDegreeNodeLayeringProcessor',1583);feb(580,1,{580:1},aac);_.b=-1;_.d=-1;sfb(hBe,'HighDegreeNodeLayeringProcessor/HighDegreeNodeInformation',580);feb(1584,1,{},bac);_.Kb=function cac(a){return U9b(),Z2b(RD(a,10))};_.Fb=function dac(a){return this===a};sfb(hBe,'HighDegreeNodeLayeringProcessor/lambda$0$Type',1584);feb(1585,1,{},eac);_.Kb=function fac(a){return U9b(),a3b(RD(a,10))};_.Fb=function gac(a){return this===a};sfb(hBe,'HighDegreeNodeLayeringProcessor/lambda$1$Type',1585);feb(1591,1,QAe,mac);_.Kf=function nac(a,b){lac(this,RD(a,36),b);};sfb(hBe,'HyperedgeDummyMerger',1591);feb(804,1,{},oac);_.a=false;_.b=false;_.c=false;sfb(hBe,'HyperedgeDummyMerger/MergeState',804);feb(1592,1,{},pac);_.Kb=function qac(a){return new SDb(null,new Swb(RD(a,30).a,16))};sfb(hBe,'HyperedgeDummyMerger/lambda$0$Type',1592);feb(1593,1,{},rac);_.Kb=function sac(a){return new SDb(null,new Swb(RD(a,10).j,16))};sfb(hBe,'HyperedgeDummyMerger/lambda$1$Type',1593);feb(1594,1,Qve,tac);_.Cd=function uac(a){RD(a,12).p=-1;};sfb(hBe,'HyperedgeDummyMerger/lambda$2$Type',1594);feb(1595,1,QAe,xac);_.Kf=function yac(a,b){wac(RD(a,36),b);};sfb(hBe,'HypernodesProcessor',1595);feb(1596,1,QAe,Aac);_.Kf=function Bac(a,b){zac(RD(a,36),b);};sfb(hBe,'InLayerConstraintProcessor',1596);feb(1597,1,QAe,Dac);_.Kf=function Eac(a,b){Cac(RD(a,36),b);};sfb(hBe,'InnermostNodeMarginCalculator',1597);feb(1598,1,QAe,Iac);_.Kf=function Nac(a,b){Hac(this,RD(a,36));};_.a=pxe;_.b=pxe;_.c=oxe;_.d=oxe;var XS=sfb(hBe,'InteractiveExternalPortPositioner',1598);feb(1599,1,{},Oac);_.Kb=function Pac(a){return RD(a,18).d.i};_.Fb=function Qac(a){return this===a};sfb(hBe,'InteractiveExternalPortPositioner/lambda$0$Type',1599);feb(1600,1,{},Rac);_.Kb=function Sac(a){return Jac(this.a,UD(a))};_.Fb=function Tac(a){return this===a};sfb(hBe,'InteractiveExternalPortPositioner/lambda$1$Type',1600);feb(1601,1,{},Uac);_.Kb=function Vac(a){return RD(a,18).c.i};_.Fb=function Wac(a){return this===a};sfb(hBe,'InteractiveExternalPortPositioner/lambda$2$Type',1601);feb(1602,1,{},Xac);_.Kb=function Yac(a){return Kac(this.a,UD(a))};_.Fb=function Zac(a){return this===a};sfb(hBe,'InteractiveExternalPortPositioner/lambda$3$Type',1602);feb(1603,1,{},$ac);_.Kb=function _ac(a){return Lac(this.a,UD(a))};_.Fb=function abc(a){return this===a};sfb(hBe,'InteractiveExternalPortPositioner/lambda$4$Type',1603);feb(1604,1,{},bbc);_.Kb=function cbc(a){return Mac(this.a,UD(a))};_.Fb=function dbc(a){return this===a};sfb(hBe,'InteractiveExternalPortPositioner/lambda$5$Type',1604);feb(81,22,{3:1,34:1,22:1,81:1,196:1},icc);_.dg=function jcc(){switch(this.g){case 15:return new Hrc;case 22:return new bsc;case 47:return new ksc;case 28:case 35:return new Ldc;case 32:return new h6b;case 42:return new q6b;case 1:return new v6b;case 41:return new y6b;case 56:return new L8b((P8b(),O8b));case 0:return new L8b((P8b(),N8b));case 2:return new G6b;case 54:return new K6b;case 33:return new b7b;case 51:return new a8b;case 55:return new Z8b;case 13:return new f9b;case 38:return new o9b;case 44:return new C9b;case 40:return new Q9b;case 9:return new $9b;case 49:return new Yjc;case 37:return new mac;case 43:return new xac;case 27:return new Aac;case 30:return new Dac;case 3:return new Iac;case 18:return new scc;case 29:return new ycc;case 5:return new Lcc;case 50:return new Ucc;case 34:return new pdc;case 36:return new Zdc;case 52:return new z7b;case 11:return new fec;case 7:return new pec;case 39:return new Dec;case 45:return new Gec;case 16:return new Kec;case 10:return new _ec;case 48:return new Bfc;case 21:return new Ifc;case 23:return new FKc((RKc(),PKc));case 8:return new Rfc;case 12:return new Zfc;case 4:return new cgc;case 19:return new xgc;case 17:return new Vgc;case 53:return new Ygc;case 6:return new Nhc;case 25:return new ahc;case 46:return new rhc;case 31:return new Yhc;case 14:return new jic;case 26:return new Ssc;case 20:return new yic;case 24:return new FKc((RKc(),QKc));default:throw Adb(new agb(lBe+(this.f!=null?this.f:''+this.g)));}};var ebc,fbc,gbc,hbc,ibc,jbc,kbc,lbc,mbc,nbc,obc,pbc,qbc,rbc,sbc,tbc,ubc,vbc,wbc,xbc,ybc,zbc,Abc,Bbc,Cbc,Dbc,Ebc,Fbc,Gbc,Hbc,Ibc,Jbc,Kbc,Lbc,Mbc,Nbc,Obc,Pbc,Qbc,Rbc,Sbc,Tbc,Ubc,Vbc,Wbc,Xbc,Ybc,Zbc,$bc,_bc,acc,bcc,ccc,dcc,ecc,fcc,gcc;var YS=tfb(hBe,mBe,81,WI,lcc,kcc);var mcc;feb(1605,1,QAe,scc);_.Kf=function tcc(a,b){qcc(RD(a,36),b);};sfb(hBe,'InvertedPortProcessor',1605);feb(1606,1,QAe,ycc);_.Kf=function zcc(a,b){xcc(RD(a,36),b);};sfb(hBe,'LabelAndNodeSizeProcessor',1606);feb(1607,1,nwe,Acc);_.Mb=function Bcc(a){return RD(a,10).k==(r3b(),p3b)};sfb(hBe,'LabelAndNodeSizeProcessor/lambda$0$Type',1607);feb(1608,1,nwe,Ccc);_.Mb=function Dcc(a){return RD(a,10).k==(r3b(),m3b)};sfb(hBe,'LabelAndNodeSizeProcessor/lambda$1$Type',1608);feb(1609,1,Qve,Ecc);_.Cd=function Fcc(a){vcc(this.b,this.a,this.c,RD(a,10));};_.a=false;_.c=false;sfb(hBe,'LabelAndNodeSizeProcessor/lambda$2$Type',1609);feb(1610,1,QAe,Lcc);_.Kf=function Mcc(a,b){Jcc(RD(a,36),b);};var Gcc;sfb(hBe,'LabelDummyInserter',1610);feb(1611,1,xye,Ncc);_.Lb=function Occ(a){return dE(mQb(RD(a,72),(yCc(),wAc)))===dE((Omd(),Lmd))};_.Fb=function Pcc(a){return this===a};_.Mb=function Qcc(a){return dE(mQb(RD(a,72),(yCc(),wAc)))===dE((Omd(),Lmd))};sfb(hBe,'LabelDummyInserter/1',1611);feb(1612,1,QAe,Ucc);_.Kf=function Vcc(a,b){Tcc(RD(a,36),b);};sfb(hBe,'LabelDummyRemover',1612);feb(1613,1,nwe,Wcc);_.Mb=function Xcc(a){return Heb(TD(mQb(RD(a,72),(yCc(),vAc))))};sfb(hBe,'LabelDummyRemover/lambda$0$Type',1613);feb(1378,1,QAe,pdc);_.Kf=function tdc(a,b){ldc(this,RD(a,36),b);};_.a=null;var Ycc;sfb(hBe,'LabelDummySwitcher',1378);feb(293,1,{293:1},xdc);_.c=0;_.d=null;_.f=0;sfb(hBe,'LabelDummySwitcher/LabelDummyInfo',293);feb(1379,1,{},ydc);_.Kb=function zdc(a){return Zcc(),new SDb(null,new Swb(RD(a,30).a,16))};sfb(hBe,'LabelDummySwitcher/lambda$0$Type',1379);feb(1380,1,nwe,Adc);_.Mb=function Bdc(a){return Zcc(),RD(a,10).k==(r3b(),n3b)};sfb(hBe,'LabelDummySwitcher/lambda$1$Type',1380);feb(1381,1,{},Cdc);_.Kb=function Ddc(a){return qdc(this.a,RD(a,10))};sfb(hBe,'LabelDummySwitcher/lambda$2$Type',1381);feb(1382,1,Qve,Edc);_.Cd=function Fdc(a){rdc(this.a,RD(a,293));};sfb(hBe,'LabelDummySwitcher/lambda$3$Type',1382);feb(1383,1,fye,Gdc);_.Ne=function Hdc(a,b){return sdc(RD(a,293),RD(b,293))};_.Fb=function Idc(a){return this===a};_.Oe=function Jdc(){return new Frb(this)};sfb(hBe,'LabelDummySwitcher/lambda$4$Type',1383);feb(802,1,QAe,Ldc);_.Kf=function Mdc(a,b){Kdc(RD(a,36),b);};sfb(hBe,'LabelManagementProcessor',802);feb(1614,1,QAe,Zdc);_.Kf=function $dc(a,b){Tdc(RD(a,36),b);};sfb(hBe,'LabelSideSelector',1614);feb(1622,1,QAe,fec);_.Kf=function gec(a,b){bec(RD(a,36),b);};sfb(hBe,'LayerConstraintPostprocessor',1622);feb(1623,1,QAe,pec);_.Kf=function qec(a,b){nec(RD(a,36),b);};var hec;sfb(hBe,'LayerConstraintPreprocessor',1623);feb(371,22,{3:1,34:1,22:1,371:1},xec);var rec,sec,tec,uec;var qT=tfb(hBe,'LayerConstraintPreprocessor/HiddenNodeConnections',371,WI,zec,yec);var Aec;feb(1624,1,QAe,Dec);_.Kf=function Eec(a,b){Cec(RD(a,36),b);};sfb(hBe,'LayerSizeAndGraphHeightCalculator',1624);feb(1625,1,QAe,Gec);_.Kf=function Iec(a,b){Fec(RD(a,36),b);};sfb(hBe,'LongEdgeJoiner',1625);feb(1626,1,QAe,Kec);_.Kf=function Mec(a,b){Jec(RD(a,36),b);};sfb(hBe,'LongEdgeSplitter',1626);feb(1627,1,QAe,_ec);_.Kf=function cfc(a,b){Vec(this,RD(a,36),b);};_.e=0;_.f=0;_.j=0;_.k=0;_.n=0;_.o=0;var Pec,Qec;sfb(hBe,'NodePromotion',1627);feb(1628,1,fye,efc);_.Ne=function ffc(a,b){return dfc(RD(a,10),RD(b,10))};_.Fb=function gfc(a){return this===a};_.Oe=function hfc(){return new Frb(this)};sfb(hBe,'NodePromotion/1',1628);feb(1629,1,fye,jfc);_.Ne=function kfc(a,b){return ifc(RD(a,10),RD(b,10))};_.Fb=function lfc(a){return this===a};_.Oe=function mfc(){return new Frb(this)};sfb(hBe,'NodePromotion/2',1629);feb(1630,1,{},nfc);_.Kb=function ofc(a){return RD(a,42),Rec(),Geb(),true};_.Fb=function pfc(a){return this===a};sfb(hBe,'NodePromotion/lambda$0$Type',1630);feb(1631,1,{},qfc);_.Kb=function rfc(a){return afc(this.a,RD(a,42))};_.Fb=function sfc(a){return this===a};_.a=0;sfb(hBe,'NodePromotion/lambda$1$Type',1631);feb(1632,1,{},tfc);_.Kb=function ufc(a){return bfc(this.a,RD(a,42))};_.Fb=function vfc(a){return this===a};_.a=0;sfb(hBe,'NodePromotion/lambda$2$Type',1632);feb(1633,1,QAe,Bfc);_.Kf=function Cfc(a,b){wfc(RD(a,36),b);};sfb(hBe,'NorthSouthPortPostprocessor',1633);feb(1634,1,QAe,Ifc);_.Kf=function Kfc(a,b){Gfc(RD(a,36),b);};sfb(hBe,'NorthSouthPortPreprocessor',1634);feb(1635,1,fye,Lfc);_.Ne=function Mfc(a,b){return Jfc(RD(a,12),RD(b,12))};_.Fb=function Nfc(a){return this===a};_.Oe=function Ofc(){return new Frb(this)};sfb(hBe,'NorthSouthPortPreprocessor/lambda$0$Type',1635);feb(1636,1,QAe,Rfc);_.Kf=function Tfc(a,b){Qfc(RD(a,36),b);};sfb(hBe,'PartitionMidprocessor',1636);feb(1637,1,nwe,Ufc);_.Mb=function Vfc(a){return nQb(RD(a,10),(yCc(),tBc))};sfb(hBe,'PartitionMidprocessor/lambda$0$Type',1637);feb(1638,1,Qve,Wfc);_.Cd=function Xfc(a){Sfc(this.a,RD(a,10));};sfb(hBe,'PartitionMidprocessor/lambda$1$Type',1638);feb(1639,1,QAe,Zfc);_.Kf=function $fc(a,b){Yfc(RD(a,36),b);};sfb(hBe,'PartitionPostprocessor',1639);feb(1640,1,QAe,cgc);_.Kf=function dgc(a,b){agc(RD(a,36),b);};sfb(hBe,'PartitionPreprocessor',1640);feb(1641,1,nwe,egc);_.Mb=function fgc(a){return nQb(RD(a,10),(yCc(),tBc))};sfb(hBe,'PartitionPreprocessor/lambda$0$Type',1641);feb(1642,1,{},ggc);_.Kb=function hgc(a){return new SDb(null,new Twb(new is(Mr(a3b(RD(a,10)).a.Kc(),new ir))))};sfb(hBe,'PartitionPreprocessor/lambda$1$Type',1642);feb(1643,1,nwe,igc);_.Mb=function jgc(a){return _fc(RD(a,18))};sfb(hBe,'PartitionPreprocessor/lambda$2$Type',1643);feb(1644,1,Qve,kgc);_.Cd=function lgc(a){bgc(RD(a,18));};sfb(hBe,'PartitionPreprocessor/lambda$3$Type',1644);feb(1645,1,QAe,xgc);_.Kf=function Bgc(a,b){ugc(RD(a,36),b);};var mgc,ngc,ogc,pgc,qgc,rgc;sfb(hBe,'PortListSorter',1645);feb(1648,1,fye,Dgc);_.Ne=function Egc(a,b){return ygc(RD(a,12),RD(b,12))};_.Fb=function Fgc(a){return this===a};_.Oe=function Ggc(){return new Frb(this)};sfb(hBe,'PortListSorter/lambda$0$Type',1648);feb(1650,1,fye,Hgc);_.Ne=function Igc(a,b){return zgc(RD(a,12),RD(b,12))};_.Fb=function Jgc(a){return this===a};_.Oe=function Kgc(){return new Frb(this)};sfb(hBe,'PortListSorter/lambda$1$Type',1650);feb(1646,1,{},Lgc);_.Kb=function Mgc(a){return sgc(),RD(a,12).e};sfb(hBe,'PortListSorter/lambda$2$Type',1646);feb(1647,1,{},Ngc);_.Kb=function Ogc(a){return sgc(),RD(a,12).g};sfb(hBe,'PortListSorter/lambda$3$Type',1647);feb(1649,1,fye,Pgc);_.Ne=function Qgc(a,b){return Agc(RD(a,12),RD(b,12))};_.Fb=function Rgc(a){return this===a};_.Oe=function Sgc(){return new Frb(this)};sfb(hBe,'PortListSorter/lambda$4$Type',1649);feb(1651,1,QAe,Vgc);_.Kf=function Wgc(a,b){Tgc(RD(a,36),b);};sfb(hBe,'PortSideProcessor',1651);feb(1652,1,QAe,Ygc);_.Kf=function Zgc(a,b){Xgc(RD(a,36),b);};sfb(hBe,'ReversedEdgeRestorer',1652);feb(1657,1,QAe,ahc);_.Kf=function bhc(a,b){$gc(this,RD(a,36),b);};sfb(hBe,'SelfLoopPortRestorer',1657);feb(1658,1,{},chc);_.Kb=function dhc(a){return new SDb(null,new Swb(RD(a,30).a,16))};sfb(hBe,'SelfLoopPortRestorer/lambda$0$Type',1658);feb(1659,1,nwe,ehc);_.Mb=function fhc(a){return RD(a,10).k==(r3b(),p3b)};sfb(hBe,'SelfLoopPortRestorer/lambda$1$Type',1659);feb(1660,1,nwe,ghc);_.Mb=function hhc(a){return nQb(RD(a,10),(Ywc(),Pwc))};sfb(hBe,'SelfLoopPortRestorer/lambda$2$Type',1660);feb(1661,1,{},ihc);_.Kb=function jhc(a){return RD(mQb(RD(a,10),(Ywc(),Pwc)),337)};sfb(hBe,'SelfLoopPortRestorer/lambda$3$Type',1661);feb(1662,1,Qve,khc);_.Cd=function lhc(a){_gc(this.a,RD(a,337));};sfb(hBe,'SelfLoopPortRestorer/lambda$4$Type',1662);feb(805,1,Qve,mhc);_.Cd=function nhc(a){Rmc(RD(a,105));};sfb(hBe,'SelfLoopPortRestorer/lambda$5$Type',805);feb(1663,1,QAe,rhc);_.Kf=function thc(a,b){ohc(RD(a,36),b);};sfb(hBe,'SelfLoopPostProcessor',1663);feb(1664,1,{},uhc);_.Kb=function vhc(a){return new SDb(null,new Swb(RD(a,30).a,16))};sfb(hBe,'SelfLoopPostProcessor/lambda$0$Type',1664);feb(1665,1,nwe,whc);_.Mb=function xhc(a){return RD(a,10).k==(r3b(),p3b)};sfb(hBe,'SelfLoopPostProcessor/lambda$1$Type',1665);feb(1666,1,nwe,yhc);_.Mb=function zhc(a){return nQb(RD(a,10),(Ywc(),Pwc))};sfb(hBe,'SelfLoopPostProcessor/lambda$2$Type',1666);feb(1667,1,Qve,Ahc);_.Cd=function Bhc(a){phc(RD(a,10));};sfb(hBe,'SelfLoopPostProcessor/lambda$3$Type',1667);feb(1668,1,{},Chc);_.Kb=function Dhc(a){return new SDb(null,new Swb(RD(a,105).f,1))};sfb(hBe,'SelfLoopPostProcessor/lambda$4$Type',1668);feb(1669,1,Qve,Ehc);_.Cd=function Fhc(a){qhc(this.a,RD(a,340));};sfb(hBe,'SelfLoopPostProcessor/lambda$5$Type',1669);feb(1670,1,nwe,Ghc);_.Mb=function Hhc(a){return !!RD(a,105).i};sfb(hBe,'SelfLoopPostProcessor/lambda$6$Type',1670);feb(1671,1,Qve,Ihc);_.Cd=function Jhc(a){shc(this.a,RD(a,105));};sfb(hBe,'SelfLoopPostProcessor/lambda$7$Type',1671);feb(1653,1,QAe,Nhc);_.Kf=function Ohc(a,b){Mhc(RD(a,36),b);};sfb(hBe,'SelfLoopPreProcessor',1653);feb(1654,1,{},Phc);_.Kb=function Qhc(a){return new SDb(null,new Swb(RD(a,105).f,1))};sfb(hBe,'SelfLoopPreProcessor/lambda$0$Type',1654);feb(1655,1,{},Rhc);_.Kb=function Shc(a){return RD(a,340).a};sfb(hBe,'SelfLoopPreProcessor/lambda$1$Type',1655);feb(1656,1,Qve,Thc);_.Cd=function Uhc(a){Lhc(RD(a,18));};sfb(hBe,'SelfLoopPreProcessor/lambda$2$Type',1656);feb(1672,1,QAe,Yhc);_.Kf=function Zhc(a,b){Whc(this,RD(a,36),b);};sfb(hBe,'SelfLoopRouter',1672);feb(1673,1,{},$hc);_.Kb=function _hc(a){return new SDb(null,new Swb(RD(a,30).a,16))};sfb(hBe,'SelfLoopRouter/lambda$0$Type',1673);feb(1674,1,nwe,aic);_.Mb=function bic(a){return RD(a,10).k==(r3b(),p3b)};sfb(hBe,'SelfLoopRouter/lambda$1$Type',1674);feb(1675,1,nwe,cic);_.Mb=function dic(a){return nQb(RD(a,10),(Ywc(),Pwc))};sfb(hBe,'SelfLoopRouter/lambda$2$Type',1675);feb(1676,1,{},eic);_.Kb=function fic(a){return RD(mQb(RD(a,10),(Ywc(),Pwc)),337)};sfb(hBe,'SelfLoopRouter/lambda$3$Type',1676);feb(1677,1,Qve,gic);_.Cd=function hic(a){Vhc(this.a,this.b,RD(a,337));};sfb(hBe,'SelfLoopRouter/lambda$4$Type',1677);feb(1678,1,QAe,jic);_.Kf=function mic(a,b){iic(RD(a,36),b);};sfb(hBe,'SemiInteractiveCrossMinProcessor',1678);feb(1679,1,nwe,nic);_.Mb=function oic(a){return RD(a,10).k==(r3b(),p3b)};sfb(hBe,'SemiInteractiveCrossMinProcessor/lambda$0$Type',1679);feb(1680,1,nwe,pic);_.Mb=function qic(a){return lQb(RD(a,10))._b((yCc(),IBc))};sfb(hBe,'SemiInteractiveCrossMinProcessor/lambda$1$Type',1680);feb(1681,1,fye,ric);_.Ne=function sic(a,b){return kic(RD(a,10),RD(b,10))};_.Fb=function tic(a){return this===a};_.Oe=function uic(){return new Frb(this)};sfb(hBe,'SemiInteractiveCrossMinProcessor/lambda$2$Type',1681);feb(1682,1,{},vic);_.Ve=function wic(a,b){return lic(RD(a,10),RD(b,10))};sfb(hBe,'SemiInteractiveCrossMinProcessor/lambda$3$Type',1682);feb(1684,1,QAe,yic);_.Kf=function Cic(a,b){xic(RD(a,36),b);};sfb(hBe,'SortByInputModelProcessor',1684);feb(1685,1,nwe,Dic);_.Mb=function Eic(a){return RD(a,12).g.c.length!=0};sfb(hBe,'SortByInputModelProcessor/lambda$0$Type',1685);feb(1686,1,Qve,Fic);_.Cd=function Gic(a){Aic(this.a,RD(a,12));};sfb(hBe,'SortByInputModelProcessor/lambda$1$Type',1686);feb(1759,817,{},Pic);_.df=function Qic(a){var b,c,d,e;this.c=a;switch(this.a.g){case 2:b=new bnb;FDb(CDb(new SDb(null,new Swb(this.c.a.b,16)),new Rjc),new Tjc(this,b));eHb(this,new Zic);Umb(b,new bjc);b.c.length=0;FDb(CDb(new SDb(null,new Swb(this.c.a.b,16)),new djc),new fjc(b));eHb(this,new jjc);Umb(b,new njc);b.c.length=0;c=Wvb(TCb(HDb(new SDb(null,new Swb(this.c.a.b,16)),new pjc(this))),new rjc);FDb(new SDb(null,new Swb(this.c.a.a,16)),new vjc(c,b));eHb(this,new zjc);Umb(b,new Djc);b.c.length=0;break;case 3:d=new bnb;eHb(this,new Ric);e=Wvb(TCb(HDb(new SDb(null,new Swb(this.c.a.b,16)),new Vic(this))),new tjc);FDb(CDb(new SDb(null,new Swb(this.c.a.b,16)),new Fjc),new Hjc(e,d));eHb(this,new Ljc);Umb(d,new Pjc);d.c.length=0;break;default:throw Adb(new Ied);}};_.b=0;sfb(rBe,'EdgeAwareScanlineConstraintCalculation',1759);feb(1760,1,xye,Ric);_.Lb=function Sic(a){return ZD(RD(a,60).g,154)};_.Fb=function Tic(a){return this===a};_.Mb=function Uic(a){return ZD(RD(a,60).g,154)};sfb(rBe,'EdgeAwareScanlineConstraintCalculation/lambda$0$Type',1760);feb(1761,1,{},Vic);_.Ye=function Wic(a){return Jic(this.a,RD(a,60))};sfb(rBe,'EdgeAwareScanlineConstraintCalculation/lambda$1$Type',1761);feb(1769,1,owe,Xic);_.de=function Yic(){Iic(this.a,this.b,-1);};_.b=0;sfb(rBe,'EdgeAwareScanlineConstraintCalculation/lambda$10$Type',1769);feb(1771,1,xye,Zic);_.Lb=function $ic(a){return ZD(RD(a,60).g,154)};_.Fb=function _ic(a){return this===a};_.Mb=function ajc(a){return ZD(RD(a,60).g,154)};sfb(rBe,'EdgeAwareScanlineConstraintCalculation/lambda$11$Type',1771);feb(1772,1,Qve,bjc);_.Cd=function cjc(a){RD(a,380).de();};sfb(rBe,'EdgeAwareScanlineConstraintCalculation/lambda$12$Type',1772);feb(1773,1,nwe,djc);_.Mb=function ejc(a){return ZD(RD(a,60).g,10)};sfb(rBe,'EdgeAwareScanlineConstraintCalculation/lambda$13$Type',1773);feb(1775,1,Qve,fjc);_.Cd=function gjc(a){Kic(this.a,RD(a,60));};sfb(rBe,'EdgeAwareScanlineConstraintCalculation/lambda$14$Type',1775);feb(1774,1,owe,hjc);_.de=function ijc(){Iic(this.b,this.a,-1);};_.a=0;sfb(rBe,'EdgeAwareScanlineConstraintCalculation/lambda$15$Type',1774);feb(1776,1,xye,jjc);_.Lb=function kjc(a){return ZD(RD(a,60).g,10)};_.Fb=function ljc(a){return this===a};_.Mb=function mjc(a){return ZD(RD(a,60).g,10)};sfb(rBe,'EdgeAwareScanlineConstraintCalculation/lambda$16$Type',1776);feb(1777,1,Qve,njc);_.Cd=function ojc(a){RD(a,380).de();};sfb(rBe,'EdgeAwareScanlineConstraintCalculation/lambda$17$Type',1777);feb(1778,1,{},pjc);_.Ye=function qjc(a){return Lic(this.a,RD(a,60))};sfb(rBe,'EdgeAwareScanlineConstraintCalculation/lambda$18$Type',1778);feb(1779,1,{},rjc);_.We=function sjc(){return 0};sfb(rBe,'EdgeAwareScanlineConstraintCalculation/lambda$19$Type',1779);feb(1762,1,{},tjc);_.We=function ujc(){return 0};sfb(rBe,'EdgeAwareScanlineConstraintCalculation/lambda$2$Type',1762);feb(1781,1,Qve,vjc);_.Cd=function wjc(a){Mic(this.a,this.b,RD(a,316));};_.a=0;sfb(rBe,'EdgeAwareScanlineConstraintCalculation/lambda$20$Type',1781);feb(1780,1,owe,xjc);_.de=function yjc(){Hic(this.a,this.b,-1);};_.b=0;sfb(rBe,'EdgeAwareScanlineConstraintCalculation/lambda$21$Type',1780);feb(1782,1,xye,zjc);_.Lb=function Ajc(a){return RD(a,60),true};_.Fb=function Bjc(a){return this===a};_.Mb=function Cjc(a){return RD(a,60),true};sfb(rBe,'EdgeAwareScanlineConstraintCalculation/lambda$22$Type',1782);feb(1783,1,Qve,Djc);_.Cd=function Ejc(a){RD(a,380).de();};sfb(rBe,'EdgeAwareScanlineConstraintCalculation/lambda$23$Type',1783);feb(1763,1,nwe,Fjc);_.Mb=function Gjc(a){return ZD(RD(a,60).g,10)};sfb(rBe,'EdgeAwareScanlineConstraintCalculation/lambda$3$Type',1763);feb(1765,1,Qve,Hjc);_.Cd=function Ijc(a){Nic(this.a,this.b,RD(a,60));};_.a=0;sfb(rBe,'EdgeAwareScanlineConstraintCalculation/lambda$4$Type',1765);feb(1764,1,owe,Jjc);_.de=function Kjc(){Iic(this.b,this.a,-1);};_.a=0;sfb(rBe,'EdgeAwareScanlineConstraintCalculation/lambda$5$Type',1764);feb(1766,1,xye,Ljc);_.Lb=function Mjc(a){return RD(a,60),true};_.Fb=function Njc(a){return this===a};_.Mb=function Ojc(a){return RD(a,60),true};sfb(rBe,'EdgeAwareScanlineConstraintCalculation/lambda$6$Type',1766);feb(1767,1,Qve,Pjc);_.Cd=function Qjc(a){RD(a,380).de();};sfb(rBe,'EdgeAwareScanlineConstraintCalculation/lambda$7$Type',1767);feb(1768,1,nwe,Rjc);_.Mb=function Sjc(a){return ZD(RD(a,60).g,154)};sfb(rBe,'EdgeAwareScanlineConstraintCalculation/lambda$8$Type',1768);feb(1770,1,Qve,Tjc);_.Cd=function Ujc(a){Oic(this.a,this.b,RD(a,60));};sfb(rBe,'EdgeAwareScanlineConstraintCalculation/lambda$9$Type',1770);feb(1586,1,QAe,Yjc);_.Kf=function bkc(a,b){Xjc(this,RD(a,36),b);};var Vjc;sfb(rBe,'HorizontalGraphCompactor',1586);feb(1587,1,{},ckc);_.ff=function dkc(a,b){var c,d,e;if(_jc(a,b)){return 0}c=Zjc(a);d=Zjc(b);if(!!c&&c.k==(r3b(),m3b)||!!d&&d.k==(r3b(),m3b)){return 0}e=RD(mQb(this.a.a,(Ywc(),Qwc)),312);return ZEc(e,c?c.k:(r3b(),o3b),d?d.k:(r3b(),o3b))};_.gf=function ekc(a,b){var c,d,e;if(_jc(a,b)){return 1}c=Zjc(a);d=Zjc(b);e=RD(mQb(this.a.a,(Ywc(),Qwc)),312);return aFc(e,c?c.k:(r3b(),o3b),d?d.k:(r3b(),o3b))};sfb(rBe,'HorizontalGraphCompactor/1',1587);feb(1588,1,{},fkc);_.ef=function gkc(a,b){return Wjc(),a.a.i==0};sfb(rBe,'HorizontalGraphCompactor/lambda$0$Type',1588);feb(1589,1,{},hkc);_.ef=function ikc(a,b){return akc(this.a,a,b)};sfb(rBe,'HorizontalGraphCompactor/lambda$1$Type',1589);feb(1730,1,{},Ckc);var jkc,kkc;sfb(rBe,'LGraphToCGraphTransformer',1730);feb(1738,1,nwe,Kkc);_.Mb=function Lkc(a){return a!=null};sfb(rBe,'LGraphToCGraphTransformer/0methodref$nonNull$Type',1738);feb(1731,1,{},Mkc);_.Kb=function Nkc(a){return lkc(),jeb(mQb(RD(RD(a,60).g,10),(Ywc(),Awc)))};sfb(rBe,'LGraphToCGraphTransformer/lambda$0$Type',1731);feb(1732,1,{},Okc);_.Kb=function Pkc(a){return lkc(),Mlc(RD(RD(a,60).g,154))};sfb(rBe,'LGraphToCGraphTransformer/lambda$1$Type',1732);feb(1741,1,nwe,Qkc);_.Mb=function Rkc(a){return lkc(),ZD(RD(a,60).g,10)};sfb(rBe,'LGraphToCGraphTransformer/lambda$10$Type',1741);feb(1742,1,Qve,Skc);_.Cd=function Tkc(a){Dkc(RD(a,60));};sfb(rBe,'LGraphToCGraphTransformer/lambda$11$Type',1742);feb(1743,1,nwe,Ukc);_.Mb=function Vkc(a){return lkc(),ZD(RD(a,60).g,154)};sfb(rBe,'LGraphToCGraphTransformer/lambda$12$Type',1743);feb(1747,1,Qve,Wkc);_.Cd=function Xkc(a){Ekc(RD(a,60));};sfb(rBe,'LGraphToCGraphTransformer/lambda$13$Type',1747);feb(1744,1,Qve,Ykc);_.Cd=function Zkc(a){Fkc(this.a,RD(a,8));};_.a=0;sfb(rBe,'LGraphToCGraphTransformer/lambda$14$Type',1744);feb(1745,1,Qve,$kc);_.Cd=function _kc(a){Gkc(this.a,RD(a,116));};_.a=0;sfb(rBe,'LGraphToCGraphTransformer/lambda$15$Type',1745);feb(1746,1,Qve,alc);_.Cd=function blc(a){Hkc(this.a,RD(a,8));};_.a=0;sfb(rBe,'LGraphToCGraphTransformer/lambda$16$Type',1746);feb(1748,1,{},clc);_.Kb=function dlc(a){return lkc(),new SDb(null,new Twb(new is(Mr(a3b(RD(a,10)).a.Kc(),new ir))))};sfb(rBe,'LGraphToCGraphTransformer/lambda$17$Type',1748);feb(1749,1,nwe,elc);_.Mb=function flc(a){return lkc(),W0b(RD(a,18))};sfb(rBe,'LGraphToCGraphTransformer/lambda$18$Type',1749);feb(1750,1,Qve,glc);_.Cd=function hlc(a){ukc(this.a,RD(a,18));};sfb(rBe,'LGraphToCGraphTransformer/lambda$19$Type',1750);feb(1734,1,Qve,ilc);_.Cd=function jlc(a){vkc(this.a,RD(a,154));};sfb(rBe,'LGraphToCGraphTransformer/lambda$2$Type',1734);feb(1751,1,{},klc);_.Kb=function llc(a){return lkc(),new SDb(null,new Swb(RD(a,30).a,16))};sfb(rBe,'LGraphToCGraphTransformer/lambda$20$Type',1751);feb(1752,1,{},mlc);_.Kb=function nlc(a){return lkc(),new SDb(null,new Twb(new is(Mr(a3b(RD(a,10)).a.Kc(),new ir))))};sfb(rBe,'LGraphToCGraphTransformer/lambda$21$Type',1752);feb(1753,1,{},olc);_.Kb=function plc(a){return lkc(),RD(mQb(RD(a,18),(Ywc(),Twc)),15)};sfb(rBe,'LGraphToCGraphTransformer/lambda$22$Type',1753);feb(1754,1,nwe,qlc);_.Mb=function rlc(a){return Ikc(RD(a,15))};sfb(rBe,'LGraphToCGraphTransformer/lambda$23$Type',1754);feb(1755,1,Qve,slc);_.Cd=function tlc(a){nkc(this.a,RD(a,15));};sfb(rBe,'LGraphToCGraphTransformer/lambda$24$Type',1755);feb(1733,1,Qve,ulc);_.Cd=function vlc(a){wkc(this.a,this.b,RD(a,154));};sfb(rBe,'LGraphToCGraphTransformer/lambda$3$Type',1733);feb(1735,1,{},wlc);_.Kb=function xlc(a){return lkc(),new SDb(null,new Swb(RD(a,30).a,16))};sfb(rBe,'LGraphToCGraphTransformer/lambda$4$Type',1735);feb(1736,1,{},ylc);_.Kb=function zlc(a){return lkc(),new SDb(null,new Twb(new is(Mr(a3b(RD(a,10)).a.Kc(),new ir))))};sfb(rBe,'LGraphToCGraphTransformer/lambda$5$Type',1736);feb(1737,1,{},Alc);_.Kb=function Blc(a){return lkc(),RD(mQb(RD(a,18),(Ywc(),Twc)),15)};sfb(rBe,'LGraphToCGraphTransformer/lambda$6$Type',1737);feb(1739,1,Qve,Clc);_.Cd=function Dlc(a){Jkc(this.a,RD(a,15));};sfb(rBe,'LGraphToCGraphTransformer/lambda$8$Type',1739);feb(1740,1,Qve,Elc);_.Cd=function Flc(a){xkc(this.a,this.b,RD(a,154));};sfb(rBe,'LGraphToCGraphTransformer/lambda$9$Type',1740);feb(1729,1,{},Jlc);_.cf=function Klc(a){var b,c,d,e,f;this.a=a;this.d=new BIb;this.c=$C(DN,rve,125,this.a.a.a.c.length,0,1);this.b=0;for(c=new Anb(this.a.a.a);c.a=p){Rmb(f,sgb(k));s=$wnd.Math.max(s,t[k-1]-l);h+=o;q+=t[k-1]-q;l=t[k-1];o=i[k];}o=$wnd.Math.max(o,i[k]);++k;}h+=o;}n=$wnd.Math.min(1/s,1/b.b/h);if(n>d){d=n;c=f;}}return c};_.pg=function Psc(){return false};sfb(zBe,'MSDCutIndexHeuristic',816);feb(1683,1,QAe,Ssc);_.Kf=function Tsc(a,b){Rsc(RD(a,36),b);};sfb(zBe,'SingleEdgeGraphWrapper',1683);feb(232,22,{3:1,34:1,22:1,232:1},ctc);var Xsc,Ysc,Zsc,$sc,_sc,atc;var ZW=tfb(ABe,'CenterEdgeLabelPlacementStrategy',232,WI,etc,dtc);var ftc;feb(431,22,{3:1,34:1,22:1,431:1},ktc);var htc,itc;var $W=tfb(ABe,'ConstraintCalculationStrategy',431,WI,mtc,ltc);var ntc;feb(322,22,{3:1,34:1,22:1,322:1,188:1,196:1},utc);_.dg=function wtc(){return ttc(this)};_.qg=function vtc(){return ttc(this)};var ptc,qtc,rtc;var _W=tfb(ABe,'CrossingMinimizationStrategy',322,WI,ytc,xtc);var ztc;feb(351,22,{3:1,34:1,22:1,351:1},Ftc);var Btc,Ctc,Dtc;var aX=tfb(ABe,'CuttingStrategy',351,WI,Htc,Gtc);var Itc;feb(348,22,{3:1,34:1,22:1,348:1,188:1,196:1},Rtc);_.dg=function Ttc(){return Qtc(this)};_.qg=function Stc(){return Qtc(this)};var Ktc,Ltc,Mtc,Ntc,Otc;var bX=tfb(ABe,'CycleBreakingStrategy',348,WI,Vtc,Utc);var Wtc;feb(428,22,{3:1,34:1,22:1,428:1},_tc);var Ytc,Ztc;var cX=tfb(ABe,'DirectionCongruency',428,WI,buc,auc);var cuc;feb(460,22,{3:1,34:1,22:1,460:1},iuc);var euc,fuc,guc;var dX=tfb(ABe,'EdgeConstraint',460,WI,kuc,juc);var luc;feb(283,22,{3:1,34:1,22:1,283:1},vuc);var nuc,ouc,puc,quc,ruc,suc;var eX=tfb(ABe,'EdgeLabelSideSelection',283,WI,xuc,wuc);var yuc;feb(488,22,{3:1,34:1,22:1,488:1},Duc);var Auc,Buc;var fX=tfb(ABe,'EdgeStraighteningStrategy',488,WI,Fuc,Euc);var Guc;feb(281,22,{3:1,34:1,22:1,281:1},Puc);var Iuc,Juc,Kuc,Luc,Muc,Nuc;var gX=tfb(ABe,'FixedAlignment',281,WI,Ruc,Quc);var Suc;feb(282,22,{3:1,34:1,22:1,282:1},_uc);var Uuc,Vuc,Wuc,Xuc,Yuc,Zuc;var hX=tfb(ABe,'GraphCompactionStrategy',282,WI,bvc,avc);var cvc;feb(259,22,{3:1,34:1,22:1,259:1},pvc);var evc,fvc,gvc,hvc,ivc,jvc,kvc,lvc,mvc,nvc;var iX=tfb(ABe,'GraphProperties',259,WI,rvc,qvc);var svc;feb(299,22,{3:1,34:1,22:1,299:1},yvc);var uvc,vvc,wvc;var jX=tfb(ABe,'GreedySwitchType',299,WI,Avc,zvc);var Bvc;feb(311,22,{3:1,34:1,22:1,311:1},Hvc);var Dvc,Evc,Fvc;var kX=tfb(ABe,'InLayerConstraint',311,WI,Jvc,Ivc);var Kvc;feb(429,22,{3:1,34:1,22:1,429:1},Pvc);var Mvc,Nvc;var lX=tfb(ABe,'InteractiveReferencePoint',429,WI,Rvc,Qvc);var Svc;var Uvc,Vvc,Wvc,Xvc,Yvc,Zvc,$vc,_vc,awc,bwc,cwc,dwc,ewc,fwc,gwc,hwc,iwc,jwc,kwc,lwc,mwc,nwc,owc,pwc,qwc,rwc,swc,twc,uwc,vwc,wwc,xwc,ywc,zwc,Awc,Bwc,Cwc,Dwc,Ewc,Fwc,Gwc,Hwc,Iwc,Jwc,Kwc,Lwc,Mwc,Nwc,Owc,Pwc,Qwc,Rwc,Swc,Twc,Uwc,Vwc,Wwc,Xwc;feb(171,22,{3:1,34:1,22:1,171:1},dxc);var Zwc,$wc,_wc,axc,bxc;var mX=tfb(ABe,'LayerConstraint',171,WI,fxc,exc);var gxc;feb(859,1,Eye,Pzc);_.hf=function Qzc(a){Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,HBe),''),'Direction Congruency'),'Specifies how drawings of the same graph with different layout directions compare to each other: either a natural reading direction is preserved or the drawings are rotated versions of each other.'),Uxc),(kid(),eid)),cX),xsb((Yhd(),Whd)))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,IBe),''),'Feedback Edges'),'Whether feedback edges should be highlighted by routing around the nodes.'),(Geb(),false)),cid),QI),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,JBe),''),'Interactive Reference Point'),'Determines which point of a node is considered by interactive layout phases.'),pyc),eid),lX),xsb(Whd))));zgd(a,JBe,RBe,ryc);zgd(a,JBe,_Be,qyc);Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,KBe),''),'Merge Edges'),'Edges that have no ports are merged so they touch the connected nodes at the same points. When this option is disabled, one port is created for each edge directly connected to a node. When it is enabled, all such incoming edges share an input port, and all outgoing edges share an output port.'),false),cid),QI),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,LBe),''),'Merge Hierarchy-Crossing Edges'),'If hierarchical layout is active, hierarchy-crossing edges use as few hierarchical ports as possible. They are broken by the algorithm, with hierarchical ports inserted as required. Usually, one such port is created for each edge at each hierarchy crossing point. With this option set to true, we try to create as few hierarchical ports as possible in the process. In particular, all edges that form a hyperedge can share a port.'),true),cid),QI),xsb(Whd))));Egd(a,new Ahd(Nhd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,MBe),''),'Allow Non-Flow Ports To Switch Sides'),"Specifies whether non-flow ports may switch sides if their node's port constraints are either FIXED_SIDE or FIXED_ORDER. A non-flow port is a port on a side that is not part of the currently configured layout flow. For instance, given a left-to-right layout direction, north and south ports would be considered non-flow ports. Further note that the underlying criterium whether to switch sides or not solely relies on the minimization of edge crossings. Hence, edge length and other aesthetics criteria are not addressed."),false),cid),QI),xsb(Xhd)),cD(WC(qJ,1),Nve,2,6,['org.eclipse.elk.layered.northOrSouthPort']))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,NBe),''),'Port Sorting Strategy'),"Only relevant for nodes with FIXED_SIDE port constraints. Determines the way a node's ports are distributed on the sides of a node if their order is not prescribed. The option is set on parent nodes."),azc),eid),xX),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,OBe),''),'Thoroughness'),'How much effort should be spent to produce a nice layout.'),sgb(7)),gid),bJ),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,PBe),''),'Add Unnecessary Bendpoints'),'Adds bend points even if an edge does not change direction. If true, each long edge dummy will contribute a bend point to its edges and hierarchy-crossing edges will always get a bend point where they cross hierarchy boundaries. By default, bend points are only added where an edge changes direction.'),false),cid),QI),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,QBe),''),'Generate Position and Layer IDs'),'If enabled position id and layer id are generated, which are usually only used internally when setting the interactiveLayout option. This option should be specified on the root node.'),false),cid),QI),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,RBe),'cycleBreaking'),'Cycle Breaking Strategy'),'Strategy for cycle breaking. Cycle breaking looks for cycles in the graph and determines which edges to reverse to break the cycles. Reversed edges will end up pointing to the opposite direction of regular edges (that is, reversed edges will point left if edges usually point right).'),Sxc),eid),bX),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,SBe),bDe),'Node Layering Strategy'),'Strategy for node layering.'),Gyc),eid),rX),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,TBe),bDe),'Layer Constraint'),'Determines a constraint on the placement of the node regarding the layering.'),wyc),eid),mX),xsb(Vhd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,UBe),bDe),'Layer Choice Constraint'),"Allows to set a constraint regarding the layer placement of a node. Let i be the value of teh constraint. Assumed the drawing has n layers and i < n. If set to i, it expresses that the node should be placed in i-th layer. Should i>=n be true then the node is placed in the last layer of the drawing. Note that this option is not part of any of ELK Layered's default configurations but is only evaluated as part of the `InteractiveLayeredGraphVisitor`, which must be applied manually or used via the `DiagramLayoutEngine."),null),gid),bJ),xsb(Vhd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,VBe),bDe),'Layer ID'),'Layer identifier that was calculated by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set.'),sgb(-1)),gid),bJ),xsb(Vhd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,WBe),cDe),'Upper Bound On Width [MinWidth Layerer]'),"Defines a loose upper bound on the width of the MinWidth layerer. If set to '-1' multiple values are tested and the best result is selected."),sgb(4)),gid),bJ),xsb(Whd))));zgd(a,WBe,SBe,zyc);Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,XBe),cDe),'Upper Layer Estimation Scaling Factor [MinWidth Layerer]'),"Multiplied with Upper Bound On Width for defining an upper bound on the width of layers which haven't been determined yet, but whose maximum width had been (roughly) estimated by the MinWidth algorithm. Compensates for too high estimations. If set to '-1' multiple values are tested and the best result is selected."),sgb(2)),gid),bJ),xsb(Whd))));zgd(a,XBe,SBe,Byc);Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,YBe),dDe),'Node Promotion Strategy'),'Reduces number of dummy nodes after layering phase (if possible).'),Eyc),eid),vX),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,ZBe),dDe),'Max Node Promotion Iterations'),'Limits the number of iterations for node promotion.'),sgb(0)),gid),bJ),xsb(Whd))));zgd(a,ZBe,YBe,null);Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,$Be),'layering.coffmanGraham'),'Layer Bound'),'The maximum number of nodes allowed per layer.'),sgb(lve)),gid),bJ),xsb(Whd))));zgd(a,$Be,SBe,tyc);Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,_Be),eDe),'Crossing Minimization Strategy'),'Strategy for crossing minimization.'),Qxc),eid),_W),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,aCe),eDe),'Force Node Model Order'),'The node order given by the model does not change to produce a better layout. E.g. if node A is before node B in the model this is not changed during crossing minimization. This assumes that the node model order is already respected before crossing minimization. This can be achieved by setting considerModelOrder.strategy to NODES_AND_EDGES.'),false),cid),QI),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,bCe),eDe),'Hierarchical Sweepiness'),'How likely it is to use cross-hierarchy (1) vs bottom-up (-1).'),0.1),did),VI),xsb(Whd))));zgd(a,bCe,fDe,Ixc);Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,cCe),eDe),'Semi-Interactive Crossing Minimization'),"Preserves the order of nodes within a layer but still minimizes crossings between edges connecting long edge dummies. Derives the desired order from positions specified by the 'org.eclipse.elk.position' layout option. Requires a crossing minimization strategy that is able to process 'in-layer' constraints."),false),cid),QI),xsb(Whd))));zgd(a,cCe,_Be,Oxc);Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,dCe),eDe),'In Layer Predecessor of'),"Allows to set a constraint which specifies of which node the current node is the predecessor. If set to 's' then the node is the predecessor of 's' and is in the same layer"),null),iid),qJ),xsb(Vhd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,eCe),eDe),'In Layer Successor of'),"Allows to set a constraint which specifies of which node the current node is the successor. If set to 's' then the node is the successor of 's' and is in the same layer"),null),iid),qJ),xsb(Vhd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,fCe),eDe),'Position Choice Constraint'),"Allows to set a constraint regarding the position placement of a node in a layer. Assumed the layer in which the node placed includes n other nodes and i < n. If set to i, it expresses that the node should be placed at the i-th position. Should i>=n be true then the node is placed at the last position in the layer. Note that this option is not part of any of ELK Layered's default configurations but is only evaluated as part of the `InteractiveLayeredGraphVisitor`, which must be applied manually or used via the `DiagramLayoutEngine."),null),gid),bJ),xsb(Vhd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,gCe),eDe),'Position ID'),'Position within a layer that was determined by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set.'),sgb(-1)),gid),bJ),xsb(Vhd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,hCe),gDe),'Greedy Switch Activation Threshold'),"By default it is decided automatically if the greedy switch is activated or not. The decision is based on whether the size of the input graph (without dummy nodes) is smaller than the value of this option. A '0' enforces the activation."),sgb(40)),gid),bJ),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,iCe),gDe),'Greedy Switch Crossing Minimization'),"Greedy Switch strategy for crossing minimization. The greedy switch heuristic is executed after the regular crossing minimization as a post-processor. Note that if 'hierarchyHandling' is set to 'INCLUDE_CHILDREN', the 'greedySwitchHierarchical.type' option must be used."),Fxc),eid),jX),xsb(Whd))));zgd(a,iCe,_Be,Gxc);Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,jCe),'crossingMinimization.greedySwitchHierarchical'),'Greedy Switch Crossing Minimization (hierarchical)'),"Activates the greedy switch heuristic in case hierarchical layout is used. The differences to the non-hierarchical case (see 'greedySwitch.type') are: 1) greedy switch is inactive by default, 3) only the option value set on the node at which hierarchical layout starts is relevant, and 2) if it's activated by the user, it properly addresses hierarchy-crossing edges."),Bxc),eid),jX),xsb(Whd))));zgd(a,jCe,_Be,Cxc);zgd(a,jCe,fDe,Dxc);Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,kCe),hDe),'Node Placement Strategy'),'Strategy for node placement.'),$yc),eid),uX),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Khd(Ohd(Lhd(Mhd(new Shd,lCe),hDe),'Favor Straight Edges Over Balancing'),"Favor straight edges over a balanced node placement. The default behavior is determined automatically based on the used 'edgeRouting'. For an orthogonal style it is set to true, for all other styles to false."),cid),QI),xsb(Whd))));zgd(a,lCe,kCe,Qyc);zgd(a,lCe,kCe,Ryc);Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,mCe),iDe),'BK Edge Straightening'),"Specifies whether the Brandes Koepf node placer tries to increase the number of straight edges at the expense of diagram size. There is a subtle difference to the 'favorStraightEdges' option, which decides whether a balanced placement of the nodes is desired, or not. In bk terms this means combining the four alignments into a single balanced one, or not. This option on the other hand tries to straighten additional edges during the creation of each of the four alignments."),Kyc),eid),fX),xsb(Whd))));zgd(a,mCe,kCe,Lyc);Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,nCe),iDe),'BK Fixed Alignment'),'Tells the BK node placer to use a certain alignment (out of its four) instead of the one producing the smallest height, or the combination of all four.'),Nyc),eid),gX),xsb(Whd))));zgd(a,nCe,kCe,Oyc);Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,oCe),'nodePlacement.linearSegments'),'Linear Segments Deflection Dampening'),'Dampens the movement of nodes to keep the diagram from getting too large.'),0.3),did),VI),xsb(Whd))));zgd(a,oCe,kCe,Tyc);Egd(a,new Ahd(Qhd(Phd(Rhd(Khd(Ohd(Lhd(Mhd(new Shd,pCe),'nodePlacement.networkSimplex'),'Node Flexibility'),"Aims at shorter and straighter edges. Two configurations are possible: (a) allow ports to move freely on the side they are assigned to (the order is always defined beforehand), (b) additionally allow to enlarge a node wherever it helps. If this option is not configured for a node, the 'nodeFlexibility.default' value is used, which is specified for the node's parent."),eid),tX),xsb(Vhd))));zgd(a,pCe,kCe,Yyc);Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,qCe),'nodePlacement.networkSimplex.nodeFlexibility'),'Node Flexibility Default'),"Default value of the 'nodeFlexibility' option for the children of a hierarchical node."),Wyc),eid),tX),xsb(Whd))));zgd(a,qCe,kCe,Xyc);Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,rCe),jDe),'Self-Loop Distribution'),'Alter the distribution of the loops around the node. It only takes effect for PortConstraints.FREE.'),ayc),eid),zX),xsb(Vhd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,sCe),jDe),'Self-Loop Ordering'),'Alter the ordering of the loops they can either be stacked or sequenced. It only takes effect for PortConstraints.FREE.'),cyc),eid),AX),xsb(Vhd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,tCe),'edgeRouting.splines'),'Spline Routing Mode'),'Specifies the way control points are assembled for each individual edge. CONSERVATIVE ensures that edges are properly routed around the nodes but feels rather orthogonal at times. SLOPPY uses fewer control points to obtain curvier edge routes but may result in edges overlapping nodes.'),eyc),eid),CX),xsb(Whd))));zgd(a,tCe,kDe,fyc);Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,uCe),'edgeRouting.splines.sloppy'),'Sloppy Spline Layer Spacing Factor'),'Spacing factor for routing area between layers when using sloppy spline routing.'),0.2),did),VI),xsb(Whd))));zgd(a,uCe,kDe,hyc);zgd(a,uCe,tCe,iyc);Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,vCe),'edgeRouting.polyline'),'Sloped Edge Zone Width'),'Width of the strip to the left and to the right of each layer where the polyline edge router is allowed to refrain from ensuring that edges are routed horizontally. This prevents awkward bend points for nodes that extent almost to the edge of their layer.'),2),did),VI),xsb(Whd))));zgd(a,vCe,kDe,$xc);Egd(a,new Ahd(Qhd(Phd(Rhd(Khd(Ohd(Lhd(Mhd(new Shd,wCe),lDe),'Spacing Base Value'),"An optional base value for all other layout options of the 'spacing' group. It can be used to conveniently alter the overall 'spaciousness' of the drawing. Whenever an explicit value is set for the other layout options, this base value will have no effect. The base value is not inherited, i.e. it must be set for each hierarchical node."),did),VI),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,xCe),lDe),'Edge Node Between Layers Spacing'),"The spacing to be preserved between nodes and edges that are routed next to the node's layer. For the spacing between nodes and edges that cross the node's layer 'spacing.edgeNode' is used."),10),did),VI),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,yCe),lDe),'Edge Edge Between Layer Spacing'),"Spacing to be preserved between pairs of edges that are routed between the same pair of layers. Note that 'spacing.edgeEdge' is used for the spacing between pairs of edges crossing the same layer."),10),did),VI),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,zCe),lDe),'Node Node Between Layers Spacing'),"The spacing to be preserved between any pair of nodes of two adjacent layers. Note that 'spacing.nodeNode' is used for the spacing between nodes within the layer itself."),20),did),VI),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,ACe),mDe),'Direction Priority'),'Defines how important it is to have a certain edge point into the direction of the overall layout. This option is evaluated during the cycle breaking phase.'),sgb(0)),gid),bJ),xsb(Thd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,BCe),mDe),'Shortness Priority'),'Defines how important it is to keep an edge as short as possible. This option is evaluated during the layering phase.'),sgb(0)),gid),bJ),xsb(Thd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,CCe),mDe),'Straightness Priority'),'Defines how important it is to keep an edge straight, i.e. aligned with one of the two axes. This option is evaluated during node placement.'),sgb(0)),gid),bJ),xsb(Thd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,DCe),nDe),qze),'Tries to further compact components (disconnected sub-graphs).'),false),cid),QI),xsb(Whd))));zgd(a,DCe,cAe,true);Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,ECe),oDe),'Post Compaction Strategy'),pDe),nxc),eid),hX),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,FCe),oDe),'Post Compaction Constraint Calculation'),pDe),lxc),eid),$W),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,GCe),qDe),'High Degree Node Treatment'),'Makes room around high degree nodes to place leafs and trees.'),false),cid),QI),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,HCe),qDe),'High Degree Node Threshold'),'Whether a node is considered to have a high degree.'),sgb(16)),gid),bJ),xsb(Whd))));zgd(a,HCe,GCe,true);Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,ICe),qDe),'High Degree Node Maximum Tree Height'),'Maximum height of a subtree connected to a high degree node to be moved to separate layers.'),sgb(5)),gid),bJ),xsb(Whd))));zgd(a,ICe,GCe,true);Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,JCe),rDe),'Graph Wrapping Strategy'),"For certain graphs and certain prescribed drawing areas it may be desirable to split the laid out graph into chunks that are placed side by side. The edges that connect different chunks are 'wrapped' around from the end of one chunk to the start of the other chunk. The points between the chunks are referred to as 'cuts'."),Gzc),eid),EX),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,KCe),rDe),'Additional Wrapped Edges Spacing'),'To visually separate edges that are wrapped from regularly routed edges an additional spacing value can be specified in form of this layout option. The spacing is added to the regular edgeNode spacing.'),10),did),VI),xsb(Whd))));zgd(a,KCe,JCe,lzc);zgd(a,KCe,JCe,mzc);Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,LCe),rDe),'Correction Factor for Wrapping'),"At times and for certain types of graphs the executed wrapping may produce results that are consistently biased in the same fashion: either wrapping to often or to rarely. This factor can be used to correct the bias. Internally, it is simply multiplied with the 'aspect ratio' layout option."),1),did),VI),xsb(Whd))));zgd(a,LCe,JCe,ozc);zgd(a,LCe,JCe,pzc);Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,MCe),sDe),'Cutting Strategy'),'The strategy by which the layer indexes are determined at which the layering crumbles into chunks.'),wzc),eid),aX),xsb(Whd))));zgd(a,MCe,JCe,xzc);zgd(a,MCe,JCe,yzc);Egd(a,new Ahd(Qhd(Phd(Rhd(Khd(Ohd(Lhd(Mhd(new Shd,NCe),sDe),'Manually Specified Cuts'),'Allows the user to specify her own cuts for a certain graph.'),hid),QK),xsb(Whd))));zgd(a,NCe,MCe,rzc);Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,OCe),'wrapping.cutting.msd'),'MSD Freedom'),'The MSD cutting strategy starts with an initial guess on the number of chunks the graph should be split into. The freedom specifies how much the strategy may deviate from this guess. E.g. if an initial number of 3 is computed, a freedom of 1 allows 2, 3, and 4 cuts.'),tzc),gid),bJ),xsb(Whd))));zgd(a,OCe,MCe,uzc);Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,PCe),tDe),'Validification Strategy'),'When wrapping graphs, one can specify indices that are not allowed as split points. The validification strategy makes sure every computed split point is allowed.'),Lzc),eid),DX),xsb(Whd))));zgd(a,PCe,JCe,Mzc);zgd(a,PCe,JCe,Nzc);Egd(a,new Ahd(Qhd(Phd(Rhd(Khd(Ohd(Lhd(Mhd(new Shd,QCe),tDe),'Valid Indices for Wrapping'),null),hid),QK),xsb(Whd))));zgd(a,QCe,JCe,Izc);zgd(a,QCe,JCe,Jzc);Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,RCe),uDe),'Improve Cuts'),'For general graphs it is important that not too many edges wrap backwards. Thus a compromise between evenly-distributed cuts and the total number of cut edges is sought.'),true),cid),QI),xsb(Whd))));zgd(a,RCe,JCe,Czc);Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,SCe),uDe),'Distance Penalty When Improving Cuts'),null),2),did),VI),xsb(Whd))));zgd(a,SCe,JCe,Azc);zgd(a,SCe,RCe,true);Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,TCe),uDe),'Improve Wrapped Edges'),'The initial wrapping is performed in a very simple way. As a consequence, edges that wrap from one chunk to another may be unnecessarily long. Activating this option tries to shorten such edges.'),true),cid),QI),xsb(Whd))));zgd(a,TCe,JCe,Ezc);Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,UCe),vDe),'Edge Label Side Selection'),'Method to decide on edge label sides.'),Yxc),eid),eX),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,VCe),vDe),'Edge Center Label Placement Strategy'),'Determines in which layer center labels of long edges should be placed.'),Wxc),eid),ZW),ysb(Whd,cD(WC(d3,1),jwe,170,0,[Uhd])))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,WCe),wDe),'Consider Model Order'),'Preserves the order of nodes and edges in the model file if this does not lead to additional edge crossings. Depending on the strategy this is not always possible since the node and edge order might be conflicting.'),xxc),eid),wX),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,XCe),wDe),'Consider Port Order'),'If disabled the port order of output ports is derived from the edge order and input ports are ordered by their incoming connections. If enabled all ports are ordered by the port model order.'),false),cid),QI),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,YCe),wDe),'No Model Order'),'Set on a node to not set a model order for this node even though it is a real node.'),false),cid),QI),xsb(Vhd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,ZCe),wDe),'Consider Model Order for Components'),'If set to NONE the usual ordering strategy (by cumulative node priority and size of nodes) is used. INSIDE_PORT_SIDES orders the components with external ports only inside the groups with the same port side. FORCE_MODEL_ORDER enforces the mode order on components. This option might produce bad alignments and sub optimal drawings in terms of used area since the ordering should be respected.'),pxc),eid),CQ),xsb(Whd))));zgd(a,ZCe,cAe,null);Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,$Ce),wDe),'Long Edge Ordering Strategy'),'Indicates whether long edges are sorted under, over, or equal to nodes that have no connection to a previous layer in a left-to-right or right-to-left layout. Under and over changes to right and left in a vertical layout.'),txc),eid),sX),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,_Ce),wDe),'Crossing Counter Node Order Influence'),'Indicates with what percentage (1 for 100%) violations of the node model order are weighted against the crossings e.g. a value of 0.5 means two model order violations are as important as on edge crossing. This allows some edge crossings in favor of preserving the model order. It is advised to set this value to a very small positive value (e.g. 0.001) to have minimal crossing and a optimal node order. Defaults to no influence (0).'),0),did),VI),xsb(Whd))));zgd(a,_Ce,WCe,null);Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,aDe),wDe),'Crossing Counter Port Order Influence'),'Indicates with what percentage (1 for 100%) violations of the port model order are weighted against the crossings e.g. a value of 0.5 means two model order violations are as important as on edge crossing. This allows some edge crossings in favor of preserving the model order. It is advised to set this value to a very small positive value (e.g. 0.001) to have minimal crossing and a optimal port order. Defaults to no influence (0).'),0),did),VI),xsb(Whd))));zgd(a,aDe,WCe,null);zCc((new ACc,a));};var ixc,jxc,kxc,lxc,mxc,nxc,oxc,pxc,qxc,rxc,sxc,txc,uxc,vxc,wxc,xxc,yxc,zxc,Axc,Bxc,Cxc,Dxc,Exc,Fxc,Gxc,Hxc,Ixc,Jxc,Kxc,Lxc,Mxc,Nxc,Oxc,Pxc,Qxc,Rxc,Sxc,Txc,Uxc,Vxc,Wxc,Xxc,Yxc,Zxc,$xc,_xc,ayc,byc,cyc,dyc,eyc,fyc,gyc,hyc,iyc,jyc,kyc,lyc,myc,nyc,oyc,pyc,qyc,ryc,syc,tyc,uyc,vyc,wyc,xyc,yyc,zyc,Ayc,Byc,Cyc,Dyc,Eyc,Fyc,Gyc,Hyc,Iyc,Jyc,Kyc,Lyc,Myc,Nyc,Oyc,Pyc,Qyc,Ryc,Syc,Tyc,Uyc,Vyc,Wyc,Xyc,Yyc,Zyc,$yc,_yc,azc,bzc,czc,dzc,ezc,fzc,gzc,hzc,izc,jzc,kzc,lzc,mzc,nzc,ozc,pzc,qzc,rzc,szc,tzc,uzc,vzc,wzc,xzc,yzc,zzc,Azc,Bzc,Czc,Dzc,Ezc,Fzc,Gzc,Hzc,Izc,Jzc,Kzc,Lzc,Mzc,Nzc;sfb(ABe,'LayeredMetaDataProvider',859);feb(998,1,Eye,ACc);_.hf=function BCc(a){zCc(a);};var Rzc,Szc,Tzc,Uzc,Vzc,Wzc,Xzc,Yzc,Zzc,$zc,_zc,aAc,bAc,cAc,dAc,eAc,fAc,gAc,hAc,iAc,jAc,kAc,lAc,mAc,nAc,oAc,pAc,qAc,rAc,sAc,tAc,uAc,vAc,wAc,xAc,yAc,zAc,AAc,BAc,CAc,DAc,EAc,FAc,GAc,HAc,IAc,JAc,KAc,LAc,MAc,NAc,OAc,PAc,QAc,RAc,SAc,TAc,UAc,VAc,WAc,XAc,YAc,ZAc,$Ac,_Ac,aBc,bBc,cBc,dBc,eBc,fBc,gBc,hBc,iBc,jBc,kBc,lBc,mBc,nBc,oBc,pBc,qBc,rBc,sBc,tBc,uBc,vBc,wBc,xBc,yBc,zBc,ABc,BBc,CBc,DBc,EBc,FBc,GBc,HBc,IBc,JBc,KBc,LBc,MBc,NBc,OBc,PBc,QBc,RBc,SBc,TBc,UBc,VBc,WBc,XBc,YBc,ZBc,$Bc,_Bc,aCc,bCc,cCc,dCc,eCc,fCc,gCc,hCc,iCc,jCc,kCc,lCc,mCc,nCc,oCc,pCc,qCc,rCc,sCc,tCc,uCc,vCc,wCc,xCc;sfb(ABe,'LayeredOptions',998);feb(999,1,{},CCc);_.sf=function DCc(){var a;return a=new lXb,a};_.tf=function ECc(a){};sfb(ABe,'LayeredOptions/LayeredFactory',999);feb(1391,1,{});_.a=0;var FCc;sfb(jEe,'ElkSpacings/AbstractSpacingsBuilder',1391);feb(792,1391,{},RCc);var OCc,PCc;sfb(ABe,'LayeredSpacings/LayeredSpacingsBuilder',792);feb(265,22,{3:1,34:1,22:1,265:1,188:1,196:1},bDc);_.dg=function dDc(){return aDc(this)};_.qg=function cDc(){return aDc(this)};var SCc,TCc,UCc,VCc,WCc,XCc,YCc,ZCc,$Cc;var rX=tfb(ABe,'LayeringStrategy',265,WI,fDc,eDc);var gDc;feb(390,22,{3:1,34:1,22:1,390:1},nDc);var iDc,jDc,kDc;var sX=tfb(ABe,'LongEdgeOrderingStrategy',390,WI,pDc,oDc);var qDc;feb(203,22,{3:1,34:1,22:1,203:1},yDc);var sDc,tDc,uDc,vDc;var tX=tfb(ABe,'NodeFlexibility',203,WI,BDc,ADc);var CDc;feb(323,22,{3:1,34:1,22:1,323:1,188:1,196:1},LDc);_.dg=function NDc(){return KDc(this)};_.qg=function MDc(){return KDc(this)};var EDc,FDc,GDc,HDc,IDc;var uX=tfb(ABe,'NodePlacementStrategy',323,WI,PDc,ODc);var QDc;feb(243,22,{3:1,34:1,22:1,243:1},bEc);var SDc,TDc,UDc,VDc,WDc,XDc,YDc,ZDc,$Dc,_Dc;var vX=tfb(ABe,'NodePromotionStrategy',243,WI,dEc,cEc);var eEc;feb(284,22,{3:1,34:1,22:1,284:1},lEc);var gEc,hEc,iEc,jEc;var wX=tfb(ABe,'OrderingStrategy',284,WI,nEc,mEc);var oEc;feb(430,22,{3:1,34:1,22:1,430:1},tEc);var qEc,rEc;var xX=tfb(ABe,'PortSortingStrategy',430,WI,vEc,uEc);var wEc;feb(463,22,{3:1,34:1,22:1,463:1},CEc);var yEc,zEc,AEc;var yX=tfb(ABe,'PortType',463,WI,EEc,DEc);var FEc;feb(387,22,{3:1,34:1,22:1,387:1},LEc);var HEc,IEc,JEc;var zX=tfb(ABe,'SelfLoopDistributionStrategy',387,WI,NEc,MEc);var OEc;feb(349,22,{3:1,34:1,22:1,349:1},UEc);var QEc,REc,SEc;var AX=tfb(ABe,'SelfLoopOrderingStrategy',349,WI,WEc,VEc);var XEc;feb(312,1,{312:1},gFc);sfb(ABe,'Spacings',312);feb(350,22,{3:1,34:1,22:1,350:1},mFc);var iFc,jFc,kFc;var CX=tfb(ABe,'SplineRoutingMode',350,WI,oFc,nFc);var pFc;feb(352,22,{3:1,34:1,22:1,352:1},vFc);var rFc,sFc,tFc;var DX=tfb(ABe,'ValidifyStrategy',352,WI,xFc,wFc);var yFc;feb(388,22,{3:1,34:1,22:1,388:1},EFc);var AFc,BFc,CFc;var EX=tfb(ABe,'WrappingStrategy',388,WI,GFc,FFc);var HFc;feb(1398,1,nEe,NFc);_.rg=function OFc(a){return RD(a,36),JFc};_.Kf=function PFc(a,b){MFc(this,RD(a,36),b);};var JFc;sfb(oEe,'DepthFirstCycleBreaker',1398);feb(793,1,nEe,UFc);_.rg=function WFc(a){return RD(a,36),QFc};_.Kf=function XFc(a,b){SFc(this,RD(a,36),b);};_.sg=function VFc(a){return RD(Vmb(a,Jwb(this.d,a.c.length)),10)};var QFc;sfb(oEe,'GreedyCycleBreaker',793);feb(1401,793,nEe,YFc);_.sg=function ZFc(a){var b,c,d,e;e=null;b=lve;for(d=new Anb(a);d.a1){Heb(TD(mQb(Y2b((tFb(0,a.c.length),RD(a.c[0],10))),(yCc(),eAc))))?wLc(a,this.d,RD(this,669)):(yob(),_mb(a,this.d));nJc(this.e,a);}};_.lg=function bJc(a,b,c,d){var e,f,g,h,i,j,k;if(b!=SIc(c,a.length)){f=a[b-(c?1:-1)];sIc(this.f,f,c?(BEc(),zEc):(BEc(),yEc));}e=a[b][0];k=!d||e.k==(r3b(),m3b);j=dv(a[b]);this.vg(j,k,false,c);g=0;for(i=new Anb(j);i.a');a0?(pMc(this.a,a[b-1],a[b]),undefined):!c&&b1){Heb(TD(mQb(Y2b((tFb(0,a.c.length),RD(a.c[0],10))),(yCc(),eAc))))?wLc(a,this.d,this):(yob(),_mb(a,this.d));Heb(TD(mQb(Y2b((tFb(0,a.c.length),RD(a.c[0],10))),eAc)))||nJc(this.e,a);}};sfb(sEe,'ModelOrderBarycenterHeuristic',669);feb(1866,1,fye,yLc);_.Ne=function zLc(a,b){return tLc(this.a,RD(a,10),RD(b,10))};_.Fb=function ALc(a){return this===a};_.Oe=function BLc(){return new Frb(this)};sfb(sEe,'ModelOrderBarycenterHeuristic/lambda$0$Type',1866);feb(1423,1,nEe,FLc);_.rg=function GLc(a){var b;return RD(a,36),b=vfd(CLc),pfd(b,(sXb(),pXb),(hcc(),Ybc)),b};_.Kf=function HLc(a,b){ELc((RD(a,36),b));};var CLc;sfb(sEe,'NoCrossingMinimizer',1423);feb(809,413,qEe,ILc);_.tg=function JLc(a,b,c){var d,e,f,g,h,i,j,k,l,m,n;l=this.g;switch(c.g){case 1:{e=0;f=0;for(k=new Anb(a.j);k.a1&&(e.j==(qpd(),Xod)?(this.b[a]=true):e.j==ppd&&a>0&&(this.b[a-1]=true));};_.f=0;sfb(tBe,'AllCrossingsCounter',1861);feb(595,1,{},_Lc);_.b=0;_.d=0;sfb(tBe,'BinaryIndexedTree',595);feb(532,1,{},DMc);var bMc,cMc;sfb(tBe,'CrossingsCounter',532);feb(1950,1,fye,HMc);_.Ne=function IMc(a,b){return wMc(this.a,RD(a,12),RD(b,12))};_.Fb=function JMc(a){return this===a};_.Oe=function KMc(){return new Frb(this)};sfb(tBe,'CrossingsCounter/lambda$0$Type',1950);feb(1951,1,fye,LMc);_.Ne=function MMc(a,b){return xMc(this.a,RD(a,12),RD(b,12))};_.Fb=function NMc(a){return this===a};_.Oe=function OMc(){return new Frb(this)};sfb(tBe,'CrossingsCounter/lambda$1$Type',1951);feb(1952,1,fye,PMc);_.Ne=function QMc(a,b){return yMc(this.a,RD(a,12),RD(b,12))};_.Fb=function RMc(a){return this===a};_.Oe=function SMc(){return new Frb(this)};sfb(tBe,'CrossingsCounter/lambda$2$Type',1952);feb(1953,1,fye,TMc);_.Ne=function UMc(a,b){return zMc(this.a,RD(a,12),RD(b,12))};_.Fb=function VMc(a){return this===a};_.Oe=function WMc(){return new Frb(this)};sfb(tBe,'CrossingsCounter/lambda$3$Type',1953);feb(1954,1,Qve,XMc);_.Cd=function YMc(a){EMc(this.a,RD(a,12));};sfb(tBe,'CrossingsCounter/lambda$4$Type',1954);feb(1955,1,nwe,ZMc);_.Mb=function $Mc(a){return FMc(this.a,RD(a,12))};sfb(tBe,'CrossingsCounter/lambda$5$Type',1955);feb(1956,1,Qve,aNc);_.Cd=function bNc(a){_Mc(this,a);};sfb(tBe,'CrossingsCounter/lambda$6$Type',1956);feb(1957,1,Qve,cNc);_.Cd=function dNc(a){var b;dMc();hmb(this.b,(b=this.a,RD(a,12),b));};sfb(tBe,'CrossingsCounter/lambda$7$Type',1957);feb(839,1,xye,eNc);_.Lb=function fNc(a){return dMc(),nQb(RD(a,12),(Ywc(),Iwc))};_.Fb=function gNc(a){return this===a};_.Mb=function hNc(a){return dMc(),nQb(RD(a,12),(Ywc(),Iwc))};sfb(tBe,'CrossingsCounter/lambda$8$Type',839);feb(1949,1,{},jNc);sfb(tBe,'HyperedgeCrossingsCounter',1949);feb(478,1,{34:1,478:1},lNc);_.Fd=function mNc(a){return kNc(this,RD(a,478))};_.b=0;_.c=0;_.e=0;_.f=0;var OY=sfb(tBe,'HyperedgeCrossingsCounter/Hyperedge',478);feb(374,1,{34:1,374:1},oNc);_.Fd=function pNc(a){return nNc(this,RD(a,374))};_.b=0;_.c=0;var NY=sfb(tBe,'HyperedgeCrossingsCounter/HyperedgeCorner',374);feb(531,22,{3:1,34:1,22:1,531:1},tNc);var qNc,rNc;var MY=tfb(tBe,'HyperedgeCrossingsCounter/HyperedgeCorner/Type',531,WI,vNc,uNc);var wNc;feb(1425,1,nEe,DNc);_.rg=function ENc(a){return RD(mQb(RD(a,36),(Ywc(),kwc)),21).Hc((ovc(),hvc))?zNc:null};_.Kf=function FNc(a,b){CNc(this,RD(a,36),b);};var zNc;sfb(tEe,'InteractiveNodePlacer',1425);feb(1426,1,nEe,TNc);_.rg=function UNc(a){return RD(mQb(RD(a,36),(Ywc(),kwc)),21).Hc((ovc(),hvc))?GNc:null};_.Kf=function VNc(a,b){RNc(this,RD(a,36),b);};var GNc,HNc,INc;sfb(tEe,'LinearSegmentsNodePlacer',1426);feb(261,1,{34:1,261:1},ZNc);_.Fd=function $Nc(a){return WNc(this,RD(a,261))};_.Fb=function _Nc(a){var b;if(ZD(a,261)){b=RD(a,261);return this.b==b.b}return false};_.Hb=function aOc(){return this.b};_.Ib=function bOc(){return 'ls'+Fe(this.e)};_.a=0;_.b=0;_.c=-1;_.d=-1;_.g=0;var SY=sfb(tEe,'LinearSegmentsNodePlacer/LinearSegment',261);feb(1428,1,nEe,yOc);_.rg=function zOc(a){return RD(mQb(RD(a,36),(Ywc(),kwc)),21).Hc((ovc(),hvc))?cOc:null};_.Kf=function HOc(a,b){uOc(this,RD(a,36),b);};_.b=0;_.g=0;var cOc;sfb(tEe,'NetworkSimplexPlacer',1428);feb(1447,1,fye,IOc);_.Ne=function JOc(a,b){return hgb(RD(a,17).a,RD(b,17).a)};_.Fb=function KOc(a){return this===a};_.Oe=function LOc(){return new Frb(this)};sfb(tEe,'NetworkSimplexPlacer/0methodref$compare$Type',1447);feb(1449,1,fye,MOc);_.Ne=function NOc(a,b){return hgb(RD(a,17).a,RD(b,17).a)};_.Fb=function OOc(a){return this===a};_.Oe=function POc(){return new Frb(this)};sfb(tEe,'NetworkSimplexPlacer/1methodref$compare$Type',1449);feb(655,1,{655:1},QOc);var WY=sfb(tEe,'NetworkSimplexPlacer/EdgeRep',655);feb(412,1,{412:1},ROc);_.b=false;var XY=sfb(tEe,'NetworkSimplexPlacer/NodeRep',412);feb(515,13,{3:1,4:1,20:1,31:1,56:1,13:1,16:1,15:1,59:1,515:1},VOc);sfb(tEe,'NetworkSimplexPlacer/Path',515);feb(1429,1,{},WOc);_.Kb=function XOc(a){return RD(a,18).d.i.k};sfb(tEe,'NetworkSimplexPlacer/Path/lambda$0$Type',1429);feb(1430,1,nwe,YOc);_.Mb=function ZOc(a){return RD(a,273)==(r3b(),o3b)};sfb(tEe,'NetworkSimplexPlacer/Path/lambda$1$Type',1430);feb(1431,1,{},$Oc);_.Kb=function _Oc(a){return RD(a,18).d.i};sfb(tEe,'NetworkSimplexPlacer/Path/lambda$2$Type',1431);feb(1432,1,nwe,aPc);_.Mb=function bPc(a){return EPc(zDc(RD(a,10)))};sfb(tEe,'NetworkSimplexPlacer/Path/lambda$3$Type',1432);feb(1433,1,nwe,cPc);_.Mb=function dPc(a){return DOc(RD(a,12))};sfb(tEe,'NetworkSimplexPlacer/lambda$0$Type',1433);feb(1434,1,Qve,ePc);_.Cd=function fPc(a){jOc(this.a,this.b,RD(a,12));};sfb(tEe,'NetworkSimplexPlacer/lambda$1$Type',1434);feb(1443,1,Qve,gPc);_.Cd=function hPc(a){kOc(this.a,RD(a,18));};sfb(tEe,'NetworkSimplexPlacer/lambda$10$Type',1443);feb(1444,1,{},iPc);_.Kb=function jPc(a){return dOc(),new SDb(null,new Swb(RD(a,30).a,16))};sfb(tEe,'NetworkSimplexPlacer/lambda$11$Type',1444);feb(1445,1,Qve,kPc);_.Cd=function lPc(a){lOc(this.a,RD(a,10));};sfb(tEe,'NetworkSimplexPlacer/lambda$12$Type',1445);feb(1446,1,{},mPc);_.Kb=function nPc(a){return dOc(),sgb(RD(a,125).e)};sfb(tEe,'NetworkSimplexPlacer/lambda$13$Type',1446);feb(1448,1,{},oPc);_.Kb=function pPc(a){return dOc(),sgb(RD(a,125).e)};sfb(tEe,'NetworkSimplexPlacer/lambda$15$Type',1448);feb(1450,1,nwe,qPc);_.Mb=function rPc(a){return dOc(),RD(a,412).c.k==(r3b(),p3b)};sfb(tEe,'NetworkSimplexPlacer/lambda$17$Type',1450);feb(1451,1,nwe,sPc);_.Mb=function tPc(a){return dOc(),RD(a,412).c.j.c.length>1};sfb(tEe,'NetworkSimplexPlacer/lambda$18$Type',1451);feb(1452,1,Qve,uPc);_.Cd=function vPc(a){EOc(this.c,this.b,this.d,this.a,RD(a,412));};_.c=0;_.d=0;sfb(tEe,'NetworkSimplexPlacer/lambda$19$Type',1452);feb(1435,1,{},wPc);_.Kb=function xPc(a){return dOc(),new SDb(null,new Swb(RD(a,30).a,16))};sfb(tEe,'NetworkSimplexPlacer/lambda$2$Type',1435);feb(1453,1,Qve,yPc);_.Cd=function zPc(a){FOc(this.a,RD(a,12));};_.a=0;sfb(tEe,'NetworkSimplexPlacer/lambda$20$Type',1453);feb(1454,1,{},APc);_.Kb=function BPc(a){return dOc(),new SDb(null,new Swb(RD(a,30).a,16))};sfb(tEe,'NetworkSimplexPlacer/lambda$21$Type',1454);feb(1455,1,Qve,CPc);_.Cd=function DPc(a){mOc(this.a,RD(a,10));};sfb(tEe,'NetworkSimplexPlacer/lambda$22$Type',1455);feb(1456,1,nwe,FPc);_.Mb=function GPc(a){return EPc(a)};sfb(tEe,'NetworkSimplexPlacer/lambda$23$Type',1456);feb(1457,1,{},HPc);_.Kb=function IPc(a){return dOc(),new SDb(null,new Swb(RD(a,30).a,16))};sfb(tEe,'NetworkSimplexPlacer/lambda$24$Type',1457);feb(1458,1,nwe,JPc);_.Mb=function KPc(a){return nOc(this.a,RD(a,10))};sfb(tEe,'NetworkSimplexPlacer/lambda$25$Type',1458);feb(1459,1,Qve,LPc);_.Cd=function MPc(a){oOc(this.a,this.b,RD(a,10));};sfb(tEe,'NetworkSimplexPlacer/lambda$26$Type',1459);feb(1460,1,nwe,NPc);_.Mb=function OPc(a){return dOc(),!W0b(RD(a,18))};sfb(tEe,'NetworkSimplexPlacer/lambda$27$Type',1460);feb(1461,1,nwe,PPc);_.Mb=function QPc(a){return dOc(),!W0b(RD(a,18))};sfb(tEe,'NetworkSimplexPlacer/lambda$28$Type',1461);feb(1462,1,{},RPc);_.Ve=function SPc(a,b){return pOc(this.a,RD(a,30),RD(b,30))};sfb(tEe,'NetworkSimplexPlacer/lambda$29$Type',1462);feb(1436,1,{},TPc);_.Kb=function UPc(a){return dOc(),new SDb(null,new Twb(new is(Mr(a3b(RD(a,10)).a.Kc(),new ir))))};sfb(tEe,'NetworkSimplexPlacer/lambda$3$Type',1436);feb(1437,1,nwe,VPc);_.Mb=function WPc(a){return dOc(),COc(RD(a,18))};sfb(tEe,'NetworkSimplexPlacer/lambda$4$Type',1437);feb(1438,1,Qve,XPc);_.Cd=function YPc(a){vOc(this.a,RD(a,18));};sfb(tEe,'NetworkSimplexPlacer/lambda$5$Type',1438);feb(1439,1,{},ZPc);_.Kb=function $Pc(a){return dOc(),new SDb(null,new Swb(RD(a,30).a,16))};sfb(tEe,'NetworkSimplexPlacer/lambda$6$Type',1439);feb(1440,1,nwe,_Pc);_.Mb=function aQc(a){return dOc(),RD(a,10).k==(r3b(),p3b)};sfb(tEe,'NetworkSimplexPlacer/lambda$7$Type',1440);feb(1441,1,{},bQc);_.Kb=function cQc(a){return dOc(),new SDb(null,new Twb(new is(Mr(W2b(RD(a,10)).a.Kc(),new ir))))};sfb(tEe,'NetworkSimplexPlacer/lambda$8$Type',1441);feb(1442,1,nwe,dQc);_.Mb=function eQc(a){return dOc(),V0b(RD(a,18))};sfb(tEe,'NetworkSimplexPlacer/lambda$9$Type',1442);feb(1424,1,nEe,iQc);_.rg=function jQc(a){return RD(mQb(RD(a,36),(Ywc(),kwc)),21).Hc((ovc(),hvc))?fQc:null};_.Kf=function kQc(a,b){hQc(RD(a,36),b);};var fQc;sfb(tEe,'SimpleNodePlacer',1424);feb(185,1,{185:1},sQc);_.Ib=function tQc(){var a;a='';this.c==(wQc(),vQc)?(a+=Oye):this.c==uQc&&(a+=Nye);this.o==(EQc(),CQc)?(a+=Zye):this.o==DQc?(a+='UP'):(a+='BALANCED');return a};sfb(wEe,'BKAlignedLayout',185);feb(523,22,{3:1,34:1,22:1,523:1},xQc);var uQc,vQc;var FZ=tfb(wEe,'BKAlignedLayout/HDirection',523,WI,zQc,yQc);var AQc;feb(522,22,{3:1,34:1,22:1,522:1},FQc);var CQc,DQc;var GZ=tfb(wEe,'BKAlignedLayout/VDirection',522,WI,HQc,GQc);var IQc;feb(1699,1,{},MQc);sfb(wEe,'BKAligner',1699);feb(1702,1,{},RQc);sfb(wEe,'BKCompactor',1702);feb(663,1,{663:1},SQc);_.a=0;sfb(wEe,'BKCompactor/ClassEdge',663);feb(467,1,{467:1},UQc);_.a=null;_.b=0;sfb(wEe,'BKCompactor/ClassNode',467);feb(1427,1,nEe,aRc);_.rg=function eRc(a){return RD(mQb(RD(a,36),(Ywc(),kwc)),21).Hc((ovc(),hvc))?VQc:null};_.Kf=function fRc(a,b){_Qc(this,RD(a,36),b);};_.d=false;var VQc;sfb(wEe,'BKNodePlacer',1427);feb(1700,1,{},hRc);_.d=0;sfb(wEe,'NeighborhoodInformation',1700);feb(1701,1,fye,mRc);_.Ne=function nRc(a,b){return lRc(this,RD(a,42),RD(b,42))};_.Fb=function oRc(a){return this===a};_.Oe=function pRc(){return new Frb(this)};sfb(wEe,'NeighborhoodInformation/NeighborComparator',1701);feb(823,1,{});sfb(wEe,'ThresholdStrategy',823);feb(1825,823,{},uRc);_.wg=function vRc(a,b,c){return this.a.o==(EQc(),DQc)?oxe:pxe};_.xg=function wRc(){};sfb(wEe,'ThresholdStrategy/NullThresholdStrategy',1825);feb(587,1,{587:1},xRc);_.c=false;_.d=false;sfb(wEe,'ThresholdStrategy/Postprocessable',587);feb(1826,823,{},BRc);_.wg=function CRc(a,b,c){var d,e,f;e=b==c;d=this.a.a[c.p]==b;if(!(e||d)){return a}f=a;if(this.a.c==(wQc(),vQc)){e&&(f=yRc(this,b,true));!isNaN(f)&&!isFinite(f)&&d&&(f=yRc(this,c,false));}else {e&&(f=yRc(this,b,true));!isNaN(f)&&!isFinite(f)&&d&&(f=yRc(this,c,false));}return f};_.xg=function DRc(){var a,b,c,d,e;while(this.d.b!=0){e=RD(Tub(this.d),587);d=zRc(this,e);if(!d.a){continue}a=d.a;c=Heb(this.a.f[this.a.g[e.b.p].p]);if(!c&&!W0b(a)&&a.c.i.c==a.d.i.c){continue}b=ARc(this,e);b||Eyb(this.e,e);}while(this.e.a.c.length!=0){ARc(this,RD(Dyb(this.e),587));}};sfb(wEe,'ThresholdStrategy/SimpleThresholdStrategy',1826);feb(645,1,{645:1,188:1,196:1},HRc);_.dg=function JRc(){return GRc(this)};_.qg=function IRc(){return GRc(this)};var ERc;sfb(xEe,'EdgeRouterFactory',645);feb(1485,1,nEe,WRc);_.rg=function XRc(a){return URc(RD(a,36))};_.Kf=function YRc(a,b){VRc(RD(a,36),b);};var LRc,MRc,NRc,ORc,PRc,QRc,RRc,SRc;sfb(xEe,'OrthogonalEdgeRouter',1485);feb(1478,1,nEe,lSc);_.rg=function mSc(a){return gSc(RD(a,36))};_.Kf=function nSc(a,b){iSc(this,RD(a,36),b);};var ZRc,$Rc,_Rc,aSc,bSc,cSc;sfb(xEe,'PolylineEdgeRouter',1478);feb(1479,1,xye,pSc);_.Lb=function qSc(a){return oSc(RD(a,10))};_.Fb=function rSc(a){return this===a};_.Mb=function sSc(a){return oSc(RD(a,10))};sfb(xEe,'PolylineEdgeRouter/1',1479);feb(1872,1,nwe,xSc);_.Mb=function ySc(a){return RD(a,132).c==(fTc(),dTc)};sfb(yEe,'HyperEdgeCycleDetector/lambda$0$Type',1872);feb(1873,1,{},zSc);_.Ze=function ASc(a){return RD(a,132).d};sfb(yEe,'HyperEdgeCycleDetector/lambda$1$Type',1873);feb(1874,1,nwe,BSc);_.Mb=function CSc(a){return RD(a,132).c==(fTc(),dTc)};sfb(yEe,'HyperEdgeCycleDetector/lambda$2$Type',1874);feb(1875,1,{},DSc);_.Ze=function ESc(a){return RD(a,132).d};sfb(yEe,'HyperEdgeCycleDetector/lambda$3$Type',1875);feb(1876,1,{},FSc);_.Ze=function GSc(a){return RD(a,132).d};sfb(yEe,'HyperEdgeCycleDetector/lambda$4$Type',1876);feb(1877,1,{},HSc);_.Ze=function ISc(a){return RD(a,132).d};sfb(yEe,'HyperEdgeCycleDetector/lambda$5$Type',1877);feb(118,1,{34:1,118:1},USc);_.Fd=function VSc(a){return KSc(this,RD(a,118))};_.Fb=function WSc(a){var b;if(ZD(a,118)){b=RD(a,118);return this.g==b.g}return false};_.Hb=function XSc(){return this.g};_.Ib=function ZSc(){var a,b,c,d;a=new dib('{');d=new Anb(this.n);while(d.a'+this.b+' ('+os(this.c)+')'};_.d=0;sfb(yEe,'HyperEdgeSegmentDependency',132);feb(528,22,{3:1,34:1,22:1,528:1},gTc);var dTc,eTc;var b$=tfb(yEe,'HyperEdgeSegmentDependency/DependencyType',528,WI,iTc,hTc);var jTc;feb(1878,1,{},xTc);sfb(yEe,'HyperEdgeSegmentSplitter',1878);feb(1879,1,{},ATc);_.a=0;_.b=0;sfb(yEe,'HyperEdgeSegmentSplitter/AreaRating',1879);feb(339,1,{339:1},BTc);_.a=0;_.b=0;_.c=0;sfb(yEe,'HyperEdgeSegmentSplitter/FreeArea',339);feb(1880,1,fye,CTc);_.Ne=function DTc(a,b){return zTc(RD(a,118),RD(b,118))};_.Fb=function ETc(a){return this===a};_.Oe=function FTc(){return new Frb(this)};sfb(yEe,'HyperEdgeSegmentSplitter/lambda$0$Type',1880);feb(1881,1,Qve,GTc);_.Cd=function HTc(a){rTc(this.a,this.d,this.c,this.b,RD(a,118));};_.b=0;sfb(yEe,'HyperEdgeSegmentSplitter/lambda$1$Type',1881);feb(1882,1,{},ITc);_.Kb=function JTc(a){return new SDb(null,new Swb(RD(a,118).e,16))};sfb(yEe,'HyperEdgeSegmentSplitter/lambda$2$Type',1882);feb(1883,1,{},KTc);_.Kb=function LTc(a){return new SDb(null,new Swb(RD(a,118).j,16))};sfb(yEe,'HyperEdgeSegmentSplitter/lambda$3$Type',1883);feb(1884,1,{},MTc);_.Ye=function NTc(a){return Kfb(UD(a))};sfb(yEe,'HyperEdgeSegmentSplitter/lambda$4$Type',1884);feb(664,1,{},TTc);_.a=0;_.b=0;_.c=0;sfb(yEe,'OrthogonalRoutingGenerator',664);feb(1703,1,{},XTc);_.Kb=function YTc(a){return new SDb(null,new Swb(RD(a,118).e,16))};sfb(yEe,'OrthogonalRoutingGenerator/lambda$0$Type',1703);feb(1704,1,{},ZTc);_.Kb=function $Tc(a){return new SDb(null,new Swb(RD(a,118).j,16))};sfb(yEe,'OrthogonalRoutingGenerator/lambda$1$Type',1704);feb(670,1,{});sfb(zEe,'BaseRoutingDirectionStrategy',670);feb(1870,670,{},cUc);_.yg=function dUc(a,b,c){var d,e,f,g,h,i,j,k,l,m,n,o,p;if(!!a.r&&!a.q){return}k=b+a.o*c;for(j=new Anb(a.n);j.aVze){f=k;e=a;d=new rjd(l,f);Mub(g.a,d);_Tc(this,g,e,d,false);m=a.r;if(m){n=Kfb(UD(ju(m.e,0)));d=new rjd(n,f);Mub(g.a,d);_Tc(this,g,e,d,false);f=b+m.o*c;e=m;d=new rjd(n,f);Mub(g.a,d);_Tc(this,g,e,d,false);}d=new rjd(p,f);Mub(g.a,d);_Tc(this,g,e,d,false);}}}}};_.zg=function eUc(a){return a.i.n.a+a.n.a+a.a.a};_.Ag=function fUc(){return qpd(),npd};_.Bg=function gUc(){return qpd(),Yod};sfb(zEe,'NorthToSouthRoutingStrategy',1870);feb(1871,670,{},hUc);_.yg=function iUc(a,b,c){var d,e,f,g,h,i,j,k,l,m,n,o,p;if(!!a.r&&!a.q){return}k=b-a.o*c;for(j=new Anb(a.n);j.aVze){f=k;e=a;d=new rjd(l,f);Mub(g.a,d);_Tc(this,g,e,d,false);m=a.r;if(m){n=Kfb(UD(ju(m.e,0)));d=new rjd(n,f);Mub(g.a,d);_Tc(this,g,e,d,false);f=b-m.o*c;e=m;d=new rjd(n,f);Mub(g.a,d);_Tc(this,g,e,d,false);}d=new rjd(p,f);Mub(g.a,d);_Tc(this,g,e,d,false);}}}}};_.zg=function jUc(a){return a.i.n.a+a.n.a+a.a.a};_.Ag=function kUc(){return qpd(),Yod};_.Bg=function lUc(){return qpd(),npd};sfb(zEe,'SouthToNorthRoutingStrategy',1871);feb(1869,670,{},mUc);_.yg=function nUc(a,b,c){var d,e,f,g,h,i,j,k,l,m,n,o,p;if(!!a.r&&!a.q){return}k=b+a.o*c;for(j=new Anb(a.n);j.aVze){f=k;e=a;d=new rjd(f,l);Mub(g.a,d);_Tc(this,g,e,d,true);m=a.r;if(m){n=Kfb(UD(ju(m.e,0)));d=new rjd(f,n);Mub(g.a,d);_Tc(this,g,e,d,true);f=b+m.o*c;e=m;d=new rjd(f,n);Mub(g.a,d);_Tc(this,g,e,d,true);}d=new rjd(f,p);Mub(g.a,d);_Tc(this,g,e,d,true);}}}}};_.zg=function oUc(a){return a.i.n.b+a.n.b+a.a.b};_.Ag=function pUc(){return qpd(),Xod};_.Bg=function qUc(){return qpd(),ppd};sfb(zEe,'WestToEastRoutingStrategy',1869);feb(828,1,{},wUc);_.Ib=function xUc(){return Fe(this.a)};_.b=0;_.c=false;_.d=false;_.f=0;sfb(BEe,'NubSpline',828);feb(418,1,{418:1},AUc,BUc);sfb(BEe,'NubSpline/PolarCP',418);feb(1480,1,nEe,VUc);_.rg=function XUc(a){return QUc(RD(a,36))};_.Kf=function YUc(a,b){UUc(this,RD(a,36),b);};var CUc,DUc,EUc,FUc,GUc;sfb(BEe,'SplineEdgeRouter',1480);feb(274,1,{274:1},_Uc);_.Ib=function aVc(){return this.a+' ->('+this.c+') '+this.b};_.c=0;sfb(BEe,'SplineEdgeRouter/Dependency',274);feb(465,22,{3:1,34:1,22:1,465:1},eVc);var bVc,cVc;var w$=tfb(BEe,'SplineEdgeRouter/SideToProcess',465,WI,gVc,fVc);var hVc;feb(1481,1,nwe,jVc);_.Mb=function kVc(a){return HUc(),!RD(a,131).o};sfb(BEe,'SplineEdgeRouter/lambda$0$Type',1481);feb(1482,1,{},lVc);_.Ze=function mVc(a){return HUc(),RD(a,131).v+1};sfb(BEe,'SplineEdgeRouter/lambda$1$Type',1482);feb(1483,1,Qve,nVc);_.Cd=function oVc(a){SUc(this.a,this.b,RD(a,42));};sfb(BEe,'SplineEdgeRouter/lambda$2$Type',1483);feb(1484,1,Qve,pVc);_.Cd=function qVc(a){TUc(this.a,this.b,RD(a,42));};sfb(BEe,'SplineEdgeRouter/lambda$3$Type',1484);feb(131,1,{34:1,131:1},wVc,xVc);_.Fd=function yVc(a){return uVc(this,RD(a,131))};_.b=0;_.e=false;_.f=0;_.g=0;_.j=false;_.k=false;_.n=0;_.o=false;_.p=false;_.q=false;_.s=0;_.u=0;_.v=0;_.F=0;sfb(BEe,'SplineSegment',131);feb(468,1,{468:1},zVc);_.a=0;_.b=false;_.c=false;_.d=false;_.e=false;_.f=0;sfb(BEe,'SplineSegment/EdgeInformation',468);feb(1198,1,{},IVc);sfb(GEe,Lze,1198);feb(1199,1,fye,KVc);_.Ne=function LVc(a,b){return JVc(RD(a,121),RD(b,121))};_.Fb=function MVc(a){return this===a};_.Oe=function NVc(){return new Frb(this)};sfb(GEe,Mze,1199);feb(1197,1,{},TVc);sfb(GEe,'MrTree',1197);feb(405,22,{3:1,34:1,22:1,405:1,188:1,196:1},$Vc);_.dg=function aWc(){return ZVc(this)};_.qg=function _Vc(){return ZVc(this)};var UVc,VVc,WVc,XVc;var H$=tfb(GEe,'TreeLayoutPhases',405,WI,cWc,bWc);var dWc;feb(1112,205,oze,fWc);_.rf=function gWc(a,b){var c,d,e,f,g,h,i,j;Heb(TD(Gxd(a,(h_c(),S$c))))||RFb((c=new SFb((lud(),new zud(a))),c));g=b.eh(HEe);g.Ug('build tGraph',1);h=(i=new YWc,kQb(i,a),pQb(i,(q$c(),h$c),a),j=new Tsb,QVc(a,i,j),PVc(a,i,j),i);g.Vg();g=b.eh(HEe);g.Ug('Split graph',1);f=HVc(this.a,h);g.Vg();for(e=new Anb(f);e.a'+aXc(this.c):'e_'+tb(this)};sfb(JEe,'TEdge',65);feb(121,137,{3:1,121:1,96:1,137:1},YWc);_.Ib=function ZWc(){var a,b,c,d,e;e=null;for(d=Sub(this.b,0);d.b!=d.d.c;){c=RD(evb(d),40);e+=(c.c==null||c.c.length==0?'n_'+c.g:'n_'+c.c)+'\n';}for(b=Sub(this.a,0);b.b!=b.d.c;){a=RD(evb(b),65);e+=(!!a.b&&!!a.c?aXc(a.b)+'->'+aXc(a.c):'e_'+tb(a))+'\n';}return e};var W$=sfb(JEe,'TGraph',121);feb(643,508,{3:1,508:1,643:1,96:1,137:1});sfb(JEe,'TShape',643);feb(40,643,{3:1,508:1,40:1,643:1,96:1,137:1},bXc);_.Ib=function cXc(){return aXc(this)};var Z$=sfb(JEe,'TNode',40);feb(236,1,Vve,dXc);_.Jc=function eXc(a){xgb(this,a);};_.Kc=function fXc(){var a;return a=Sub(this.a.d,0),new gXc(a)};sfb(JEe,'TNode/2',236);feb(329,1,Ave,gXc);_.Nb=function hXc(a){Ztb(this,a);};_.Pb=function jXc(){return RD(evb(this.a),65).c};_.Ob=function iXc(){return dvb(this.a)};_.Qb=function kXc(){gvb(this.a);};sfb(JEe,'TNode/2/1',329);feb(1923,1,QAe,qXc);_.Kf=function DXc(a,b){oXc(this,RD(a,121),b);};sfb(LEe,'CompactionProcessor',1923);feb(1924,1,fye,EXc);_.Ne=function FXc(a,b){return rXc(this.a,RD(a,40),RD(b,40))};_.Fb=function GXc(a){return this===a};_.Oe=function HXc(){return new Frb(this)};sfb(LEe,'CompactionProcessor/lambda$0$Type',1924);feb(1925,1,nwe,IXc);_.Mb=function JXc(a){return sXc(this.b,this.a,RD(a,42))};_.a=0;_.b=0;sfb(LEe,'CompactionProcessor/lambda$1$Type',1925);feb(1934,1,fye,KXc);_.Ne=function LXc(a,b){return tXc(RD(a,40),RD(b,40))};_.Fb=function MXc(a){return this===a};_.Oe=function NXc(){return new Frb(this)};sfb(LEe,'CompactionProcessor/lambda$10$Type',1934);feb(1935,1,fye,OXc);_.Ne=function PXc(a,b){return uXc(RD(a,40),RD(b,40))};_.Fb=function QXc(a){return this===a};_.Oe=function RXc(){return new Frb(this)};sfb(LEe,'CompactionProcessor/lambda$11$Type',1935);feb(1936,1,fye,SXc);_.Ne=function TXc(a,b){return vXc(RD(a,40),RD(b,40))};_.Fb=function UXc(a){return this===a};_.Oe=function VXc(){return new Frb(this)};sfb(LEe,'CompactionProcessor/lambda$12$Type',1936);feb(1926,1,nwe,WXc);_.Mb=function XXc(a){return wXc(this.a,RD(a,42))};_.a=0;sfb(LEe,'CompactionProcessor/lambda$2$Type',1926);feb(1927,1,nwe,YXc);_.Mb=function ZXc(a){return xXc(this.a,RD(a,42))};_.a=0;sfb(LEe,'CompactionProcessor/lambda$3$Type',1927);feb(1928,1,nwe,$Xc);_.Mb=function _Xc(a){return RD(a,40).c.indexOf(IEe)==-1};sfb(LEe,'CompactionProcessor/lambda$4$Type',1928);feb(1929,1,{},aYc);_.Kb=function bYc(a){return yXc(this.a,RD(a,40))};_.a=0;sfb(LEe,'CompactionProcessor/lambda$5$Type',1929);feb(1930,1,{},cYc);_.Kb=function dYc(a){return zXc(this.a,RD(a,40))};_.a=0;sfb(LEe,'CompactionProcessor/lambda$6$Type',1930);feb(1931,1,fye,eYc);_.Ne=function fYc(a,b){return AXc(this.a,RD(a,240),RD(b,240))};_.Fb=function gYc(a){return this===a};_.Oe=function hYc(){return new Frb(this)};sfb(LEe,'CompactionProcessor/lambda$7$Type',1931);feb(1932,1,fye,iYc);_.Ne=function jYc(a,b){return BXc(this.a,RD(a,40),RD(b,40))};_.Fb=function kYc(a){return this===a};_.Oe=function lYc(){return new Frb(this)};sfb(LEe,'CompactionProcessor/lambda$8$Type',1932);feb(1933,1,fye,mYc);_.Ne=function nYc(a,b){return CXc(RD(a,40),RD(b,40))};_.Fb=function oYc(a){return this===a};_.Oe=function pYc(){return new Frb(this)};sfb(LEe,'CompactionProcessor/lambda$9$Type',1933);feb(1921,1,QAe,rYc);_.Kf=function sYc(a,b){qYc(RD(a,121),b);};sfb(LEe,'DirectionProcessor',1921);feb(1913,1,QAe,vYc);_.Kf=function xYc(a,b){uYc(this,RD(a,121),b);};sfb(LEe,'FanProcessor',1913);feb(1937,1,QAe,zYc);_.Kf=function CYc(a,b){yYc(RD(a,121),b);};sfb(LEe,'GraphBoundsProcessor',1937);feb(1938,1,{},DYc);_.Ye=function EYc(a){return RD(a,40).e.a};sfb(LEe,'GraphBoundsProcessor/lambda$0$Type',1938);feb(1939,1,{},FYc);_.Ye=function GYc(a){return RD(a,40).e.b};sfb(LEe,'GraphBoundsProcessor/lambda$1$Type',1939);feb(1940,1,{},HYc);_.Ye=function IYc(a){return AYc(RD(a,40))};sfb(LEe,'GraphBoundsProcessor/lambda$2$Type',1940);feb(1941,1,{},JYc);_.Ye=function KYc(a){return BYc(RD(a,40))};sfb(LEe,'GraphBoundsProcessor/lambda$3$Type',1941);feb(262,22,{3:1,34:1,22:1,262:1,196:1},XYc);_.dg=function YYc(){switch(this.g){case 0:return new DZc;case 1:return new vYc;case 2:return new nZc;case 3:return new tZc;case 4:return new gZc;case 8:return new cZc;case 5:return new rYc;case 6:return new AZc;case 7:return new qXc;case 9:return new zYc;case 10:return new GZc;default:throw Adb(new agb(lBe+(this.f!=null?this.f:''+this.g)));}};var LYc,MYc,NYc,OYc,PYc,QYc,RYc,SYc,TYc,UYc,VYc;var u_=tfb(LEe,mBe,262,WI,$Yc,ZYc);var _Yc;feb(1920,1,QAe,cZc);_.Kf=function dZc(a,b){bZc(RD(a,121),b);};sfb(LEe,'LevelCoordinatesProcessor',1920);feb(1918,1,QAe,gZc);_.Kf=function hZc(a,b){eZc(this,RD(a,121),b);};_.a=0;sfb(LEe,'LevelHeightProcessor',1918);feb(1919,1,Vve,iZc);_.Jc=function jZc(a){xgb(this,a);};_.Kc=function kZc(){return yob(),Qob(),Pob};sfb(LEe,'LevelHeightProcessor/1',1919);feb(1914,1,QAe,nZc);_.Kf=function oZc(a,b){lZc(this,RD(a,121),b);};sfb(LEe,'LevelProcessor',1914);feb(1915,1,nwe,pZc);_.Mb=function qZc(a){return Heb(TD(mQb(RD(a,40),(q$c(),n$c))))};sfb(LEe,'LevelProcessor/lambda$0$Type',1915);feb(1916,1,QAe,tZc);_.Kf=function uZc(a,b){rZc(this,RD(a,121),b);};_.a=0;sfb(LEe,'NeighborsProcessor',1916);feb(1917,1,Vve,vZc);_.Jc=function wZc(a){xgb(this,a);};_.Kc=function xZc(){return yob(),Qob(),Pob};sfb(LEe,'NeighborsProcessor/1',1917);feb(1922,1,QAe,AZc);_.Kf=function BZc(a,b){yZc(this,RD(a,121),b);};_.a=0;sfb(LEe,'NodePositionProcessor',1922);feb(1912,1,QAe,DZc);_.Kf=function EZc(a,b){CZc(this,RD(a,121),b);};sfb(LEe,'RootProcessor',1912);feb(1942,1,QAe,GZc);_.Kf=function HZc(a,b){FZc(RD(a,121),b);};sfb(LEe,'Untreeifyer',1942);feb(392,22,{3:1,34:1,22:1,392:1},MZc);var IZc,JZc,KZc;var F_=tfb(PEe,'EdgeRoutingMode',392,WI,OZc,NZc);var PZc;var RZc,SZc,TZc,UZc,VZc,WZc,XZc,YZc,ZZc,$Zc,_Zc,a$c,b$c,c$c,d$c,e$c,f$c,g$c,h$c,i$c,j$c,k$c,l$c,m$c,n$c,o$c,p$c;feb(862,1,Eye,C$c);_.hf=function D$c(a){Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,REe),''),YEe),'Turns on Tree compaction which decreases the size of the whole tree by placing nodes of multiple levels in one large level'),(Geb(),false)),(kid(),cid)),QI),xsb((Yhd(),Whd)))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,SEe),''),'Edge End Texture Length'),'Should be set to the length of the texture at the end of an edge. This value can be used to improve the Edge Routing.'),7),did),VI),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,TEe),''),'Tree Level'),'The index for the tree level the node is in'),sgb(0)),gid),bJ),xsb(Vhd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,UEe),''),YEe),'When set to a positive number this option will force the algorithm to place the node to the specified position within the trees layer if weighting is set to constraint'),sgb(-1)),gid),bJ),xsb(Vhd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,VEe),''),'Weighting of Nodes'),'Which weighting to use when computing a node order.'),A$c),eid),J_),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,WEe),''),'Edge Routing Mode'),'Chooses an Edge Routing algorithm.'),u$c),eid),F_),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,XEe),''),'Search Order'),'Which search order to use when computing a spanning tree.'),x$c),eid),K_),xsb(Whd))));i_c((new j_c,a));};var r$c,s$c,t$c,u$c,v$c,w$c,x$c,y$c,z$c,A$c;sfb(PEe,'MrTreeMetaDataProvider',862);feb(1006,1,Eye,j_c);_.hf=function k_c(a){i_c(a);};var E$c,F$c,G$c,H$c,I$c,J$c,K$c,L$c,M$c,N$c,O$c,P$c,Q$c,R$c,S$c,T$c,U$c,V$c,W$c,X$c,Y$c,Z$c,$$c,_$c,a_c,b_c,c_c,d_c,e_c,f_c,g_c;sfb(PEe,'MrTreeOptions',1006);feb(1007,1,{},l_c);_.sf=function m_c(){var a;return a=new fWc,a};_.tf=function n_c(a){};sfb(PEe,'MrTreeOptions/MrtreeFactory',1007);feb(353,22,{3:1,34:1,22:1,353:1},t_c);var o_c,p_c,q_c,r_c;var J_=tfb(PEe,'OrderWeighting',353,WI,v_c,u_c);var w_c;feb(433,22,{3:1,34:1,22:1,433:1},B_c);var y_c,z_c;var K_=tfb(PEe,'TreeifyingOrder',433,WI,D_c,C_c);var E_c;feb(1486,1,nEe,N_c);_.rg=function O_c(a){return RD(a,121),G_c};_.Kf=function P_c(a,b){M_c(this,RD(a,121),b);};var G_c;sfb('org.eclipse.elk.alg.mrtree.p1treeify','DFSTreeifyer',1486);feb(1487,1,nEe,V_c);_.rg=function W_c(a){return RD(a,121),Q_c};_.Kf=function $_c(a,b){U_c(this,RD(a,121),b);};var Q_c;sfb(aFe,'NodeOrderer',1487);feb(1494,1,{},a0c);_.td=function b0c(a){return __c(a)};sfb(aFe,'NodeOrderer/0methodref$lambda$6$Type',1494);feb(1488,1,nwe,c0c);_.Mb=function d0c(a){return R_c(),Heb(TD(mQb(RD(a,40),(q$c(),n$c))))};sfb(aFe,'NodeOrderer/lambda$0$Type',1488);feb(1489,1,nwe,e0c);_.Mb=function f0c(a){return R_c(),RD(mQb(RD(a,40),(h_c(),W$c)),17).a<0};sfb(aFe,'NodeOrderer/lambda$1$Type',1489);feb(1490,1,nwe,g0c);_.Mb=function h0c(a){return X_c(this.a,RD(a,40))};sfb(aFe,'NodeOrderer/lambda$2$Type',1490);feb(1491,1,nwe,i0c);_.Mb=function j0c(a){return Y_c(this.a,RD(a,40))};sfb(aFe,'NodeOrderer/lambda$3$Type',1491);feb(1492,1,fye,k0c);_.Ne=function l0c(a,b){return Z_c(RD(a,40),RD(b,40))};_.Fb=function m0c(a){return this===a};_.Oe=function n0c(){return new Frb(this)};sfb(aFe,'NodeOrderer/lambda$4$Type',1492);feb(1493,1,nwe,o0c);_.Mb=function p0c(a){return R_c(),RD(mQb(RD(a,40),(q$c(),XZc)),17).a!=0};sfb(aFe,'NodeOrderer/lambda$5$Type',1493);feb(1495,1,nEe,x0c);_.rg=function y0c(a){return RD(a,121),q0c};_.Kf=function z0c(a,b){v0c(this,RD(a,121),b);};_.b=0;var q0c;sfb('org.eclipse.elk.alg.mrtree.p3place','NodePlacer',1495);feb(1496,1,nEe,J0c);_.rg=function K0c(a){return RD(a,121),A0c};_.Kf=function Y0c(a,b){I0c(RD(a,121),b);};var A0c;var o0=sfb(bFe,'EdgeRouter',1496);feb(1498,1,fye,Z0c);_.Ne=function $0c(a,b){return hgb(RD(a,17).a,RD(b,17).a)};_.Fb=function _0c(a){return this===a};_.Oe=function a1c(){return new Frb(this)};sfb(bFe,'EdgeRouter/0methodref$compare$Type',1498);feb(1503,1,{},b1c);_.Ye=function c1c(a){return Kfb(UD(a))};sfb(bFe,'EdgeRouter/1methodref$doubleValue$Type',1503);feb(1505,1,fye,d1c);_.Ne=function e1c(a,b){return Qfb(Kfb(UD(a)),Kfb(UD(b)))};_.Fb=function f1c(a){return this===a};_.Oe=function g1c(){return new Frb(this)};sfb(bFe,'EdgeRouter/2methodref$compare$Type',1505);feb(1507,1,fye,h1c);_.Ne=function i1c(a,b){return Qfb(Kfb(UD(a)),Kfb(UD(b)))};_.Fb=function j1c(a){return this===a};_.Oe=function k1c(){return new Frb(this)};sfb(bFe,'EdgeRouter/3methodref$compare$Type',1507);feb(1509,1,{},l1c);_.Ye=function m1c(a){return Kfb(UD(a))};sfb(bFe,'EdgeRouter/4methodref$doubleValue$Type',1509);feb(1511,1,fye,n1c);_.Ne=function o1c(a,b){return Qfb(Kfb(UD(a)),Kfb(UD(b)))};_.Fb=function p1c(a){return this===a};_.Oe=function q1c(){return new Frb(this)};sfb(bFe,'EdgeRouter/5methodref$compare$Type',1511);feb(1513,1,fye,r1c);_.Ne=function s1c(a,b){return Qfb(Kfb(UD(a)),Kfb(UD(b)))};_.Fb=function t1c(a){return this===a};_.Oe=function u1c(){return new Frb(this)};sfb(bFe,'EdgeRouter/6methodref$compare$Type',1513);feb(1497,1,{},v1c);_.Kb=function w1c(a){return B0c(),RD(mQb(RD(a,40),(h_c(),f_c)),17)};sfb(bFe,'EdgeRouter/lambda$0$Type',1497);feb(1508,1,{},x1c);_.Kb=function y1c(a){return L0c(RD(a,40))};sfb(bFe,'EdgeRouter/lambda$11$Type',1508);feb(1510,1,{},z1c);_.Kb=function A1c(a){return M0c(this.b,this.a,RD(a,40))};_.a=0;_.b=0;sfb(bFe,'EdgeRouter/lambda$13$Type',1510);feb(1512,1,{},B1c);_.Kb=function C1c(a){return N0c(this.b,this.a,RD(a,40))};_.a=0;_.b=0;sfb(bFe,'EdgeRouter/lambda$15$Type',1512);feb(1514,1,fye,D1c);_.Ne=function E1c(a,b){return O0c(RD(a,65),RD(b,65))};_.Fb=function F1c(a){return this===a};_.Oe=function G1c(){return new Frb(this)};sfb(bFe,'EdgeRouter/lambda$17$Type',1514);feb(1515,1,fye,H1c);_.Ne=function I1c(a,b){return P0c(RD(a,65),RD(b,65))};_.Fb=function J1c(a){return this===a};_.Oe=function K1c(){return new Frb(this)};sfb(bFe,'EdgeRouter/lambda$18$Type',1515);feb(1516,1,fye,L1c);_.Ne=function M1c(a,b){return Q0c(RD(a,65),RD(b,65))};_.Fb=function N1c(a){return this===a};_.Oe=function O1c(){return new Frb(this)};sfb(bFe,'EdgeRouter/lambda$19$Type',1516);feb(1499,1,nwe,P1c);_.Mb=function Q1c(a){return R0c(this.a,RD(a,40))};_.a=0;sfb(bFe,'EdgeRouter/lambda$2$Type',1499);feb(1517,1,fye,R1c);_.Ne=function S1c(a,b){return S0c(RD(a,65),RD(b,65))};_.Fb=function T1c(a){return this===a};_.Oe=function U1c(){return new Frb(this)};sfb(bFe,'EdgeRouter/lambda$20$Type',1517);feb(1500,1,fye,V1c);_.Ne=function W1c(a,b){return T0c(RD(a,40),RD(b,40))};_.Fb=function X1c(a){return this===a};_.Oe=function Y1c(){return new Frb(this)};sfb(bFe,'EdgeRouter/lambda$3$Type',1500);feb(1501,1,fye,Z1c);_.Ne=function $1c(a,b){return U0c(RD(a,40),RD(b,40))};_.Fb=function _1c(a){return this===a};_.Oe=function a2c(){return new Frb(this)};sfb(bFe,'EdgeRouter/lambda$4$Type',1501);feb(1502,1,{},b2c);_.Kb=function c2c(a){return V0c(RD(a,40))};sfb(bFe,'EdgeRouter/lambda$5$Type',1502);feb(1504,1,{},d2c);_.Kb=function e2c(a){return W0c(this.b,this.a,RD(a,40))};_.a=0;_.b=0;sfb(bFe,'EdgeRouter/lambda$7$Type',1504);feb(1506,1,{},f2c);_.Kb=function g2c(a){return X0c(this.b,this.a,RD(a,40))};_.a=0;_.b=0;sfb(bFe,'EdgeRouter/lambda$9$Type',1506);feb(675,1,{675:1},i2c);_.e=0;_.f=false;_.g=false;sfb(bFe,'MultiLevelEdgeNodeNodeGap',675);feb(1943,1,fye,l2c);_.Ne=function m2c(a,b){return j2c(RD(a,240),RD(b,240))};_.Fb=function n2c(a){return this===a};_.Oe=function o2c(){return new Frb(this)};sfb(bFe,'MultiLevelEdgeNodeNodeGap/lambda$0$Type',1943);feb(1944,1,fye,p2c);_.Ne=function q2c(a,b){return k2c(RD(a,240),RD(b,240))};_.Fb=function r2c(a){return this===a};_.Oe=function s2c(){return new Frb(this)};sfb(bFe,'MultiLevelEdgeNodeNodeGap/lambda$1$Type',1944);var t2c;feb(501,22,{3:1,34:1,22:1,501:1,188:1,196:1},z2c);_.dg=function B2c(){return y2c(this)};_.qg=function A2c(){return y2c(this)};var v2c,w2c;var s0=tfb(cFe,'RadialLayoutPhases',501,WI,D2c,C2c);var E2c;feb(1113,205,oze,H2c);_.rf=function I2c(a,b){var c,d,e,f,g,h;c=G2c(this,a);b.Ug('Radial layout',c.c.length);Heb(TD(Gxd(a,($4c(),N4c))))||RFb((d=new SFb((lud(),new zud(a))),d));h=K2c(a);Ixd(a,(u2c(),t2c),h);if(!h){throw Adb(new agb('The given graph is not a tree!'))}e=Kfb(UD(Gxd(a,S4c)));e==0&&(e=J2c(a));Ixd(a,S4c,e);for(g=new Anb(G2c(this,a));g.a=3){v=RD(QHd(t,0),27);w=RD(QHd(t,1),27);f=0;while(f+2=v.f+w.f+k||w.f>=u.f+v.f+k){B=true;break}else {++f;}}}else {B=true;}if(!B){m=t.i;for(h=new dMd(t);h.e!=h.i.gc();){g=RD(bMd(h),27);Ixd(g,(umd(),Rld),sgb(m));--m;}crd(a,new Oqd);b.Vg();return}c=(Sed(this.a),Ved(this.a,(f6c(),c6c),RD(Gxd(a,V7c),188)),Ved(this.a,d6c,RD(Gxd(a,M7c),188)),Ved(this.a,e6c,RD(Gxd(a,S7c),188)),Ped(this.a,(D=new ufd,pfd(D,c6c,(z6c(),y6c)),pfd(D,d6c,x6c),Heb(TD(Gxd(a,B7c)))&&pfd(D,c6c,w6c),D)),Qed(this.a,a));j=1/c.c.length;for(o=new Anb(c);o.a0&&vjd((BFb(c-1,b.length),b.charCodeAt(c-1)),ZAe)){--c;}if(e>=c){throw Adb(new agb('The given string does not contain any numbers.'))}f=vhb((AFb(e,c,b.length),b.substr(e,c-e)),',|;|\r|\n');if(f.length!=2){throw Adb(new agb('Exactly two numbers are expected, '+f.length+' were found.'))}try{this.a=Neb(Dhb(f[0]));this.b=Neb(Dhb(f[1]));}catch(a){a=zdb(a);if(ZD(a,130)){d=a;throw Adb(new agb($Ae+d))}else throw Adb(a)}};_.Ib=function yjd(){return '('+this.a+','+this.b+')'};_.a=0;_.b=0;var l3=sfb(_Ae,'KVector',8);feb(75,67,{3:1,4:1,20:1,31:1,56:1,16:1,67:1,15:1,75:1,423:1},Ejd,Fjd,Gjd);_.Pc=function Jjd(){return Djd(this)};_.cg=function Hjd(b){var c,d,e,f,g,h;e=vhb(b,',|;|\\(|\\)|\\[|\\]|\\{|\\}| |\t|\n');Xub(this);try{d=0;g=0;f=0;h=0;while(d0){g%2==0?(f=Neb(e[d])):(h=Neb(e[d]));g>0&&g%2!=0&&Mub(this,new rjd(f,h));++g;}++d;}}catch(a){a=zdb(a);if(ZD(a,130)){c=a;throw Adb(new agb('The given string does not match the expected format for vectors.'+c))}else throw Adb(a)}};_.Ib=function Kjd(){var a,b,c;a=new dib('(');b=Sub(this,0);while(b.b!=b.d.c){c=RD(evb(b),8);Zhb(a,c.a+','+c.b);b.b!=b.d.c&&(a.a+='; ',a);}return (a.a+=')',a).a};var k3=sfb(_Ae,'KVectorChain',75);feb(255,22,{3:1,34:1,22:1,255:1},Sjd);var Ljd,Mjd,Njd,Ojd,Pjd,Qjd;var n3=tfb(JGe,'Alignment',255,WI,Ujd,Tjd);var Vjd;feb(991,1,Eye,jkd);_.hf=function kkd(a){ikd(a);};var Xjd,Yjd,Zjd,$jd,_jd,akd,bkd,ckd,dkd,ekd,fkd,gkd;sfb(JGe,'BoxLayouterOptions',991);feb(992,1,{},lkd);_.sf=function mkd(){var a;return a=new jrd,a};_.tf=function nkd(a){};sfb(JGe,'BoxLayouterOptions/BoxFactory',992);feb(298,22,{3:1,34:1,22:1,298:1},vkd);var okd,pkd,qkd,rkd,skd,tkd;var q3=tfb(JGe,'ContentAlignment',298,WI,xkd,wkd);var ykd;feb(699,1,Eye,vmd);_.hf=function wmd(a){Egd(a,new Ahd(Qhd(Phd(Rhd(Khd(Ohd(Lhd(Mhd(new Shd,OGe),''),'Layout Algorithm'),'Select a specific layout algorithm.'),(kid(),iid)),qJ),xsb((Yhd(),Whd)))));Egd(a,new Ahd(Qhd(Phd(Rhd(Khd(Ohd(Lhd(Mhd(new Shd,PGe),''),'Resolved Layout Algorithm'),'Meta data associated with the selected algorithm.'),hid),D2),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,MDe),''),'Alignment'),'Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm.'),Ckd),eid),n3),xsb(Vhd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Khd(Ohd(Lhd(Mhd(new Shd,Dze),''),'Aspect Ratio'),'The desired aspect ratio of the drawing, that is the quotient of width by height.'),did),VI),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Khd(Ohd(Lhd(Mhd(new Shd,QGe),''),'Bend Points'),"A fixed list of bend points for the edge. This is used by the 'Fixed Layout' algorithm to specify a pre-defined routing for an edge. The vector chain must include the source point, any bend points, and the target point, so it must have at least two points."),hid),k3),xsb(Thd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,YDe),''),'Content Alignment'),'Specifies how the content of a node are aligned. Each node can individually control the alignment of its contents. I.e. if a node should be aligned top left in its parent node, the parent node should specify that option.'),Lkd),fid),q3),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,LDe),''),'Debug Mode'),'Whether additional debug information shall be generated.'),(Geb(),false)),cid),QI),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,PDe),''),eze),'Overall direction of edges: horizontal (right / left) or vertical (down / up).'),Okd),eid),s3),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,kDe),''),'Edge Routing'),'What kind of edge routing style should be applied for the content of a parent node. Algorithms may also set this option to single edges in order to mark them as splines. The bend point list of edges with this option set to SPLINES must be interpreted as control points for a piecewise cubic spline.'),Tkd),eid),u3),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,MGe),''),'Expand Nodes'),'If active, nodes are expanded to fill the area of their parent.'),false),cid),QI),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,fDe),''),'Hierarchy Handling'),"Determines whether separate layout runs are triggered for different compound nodes in a hierarchical graph. Setting a node's hierarchy handling to `INCLUDE_CHILDREN` will lay out that node and all of its descendants in a single layout run, until a descendant is encountered which has its hierarchy handling set to `SEPARATE_CHILDREN`. In general, `SEPARATE_CHILDREN` will ensure that a new layout run is triggered for a node with that setting. Including multiple levels of hierarchy in a single layout run may allow cross-hierarchical edges to be laid out properly. If the root node is set to `INHERIT` (or not set at all), the default behavior is `SEPARATE_CHILDREN`."),Ykd),eid),y3),ysb(Whd,cD(WC(d3,1),jwe,170,0,[Vhd])))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,Eze),''),'Padding'),"The padding to be left to a parent element's border when placing child elements. This can also serve as an output option of a layout algorithm if node size calculation is setup appropriately."),uld),hid),i3),ysb(Whd,cD(WC(d3,1),jwe,170,0,[Vhd])))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,dAe),''),'Interactive'),'Whether the algorithm should be run in interactive mode for the content of a parent node. What this means exactly depends on how the specific algorithm interprets this option. Usually in the interactive mode algorithms try to modify the current layout as little as possible.'),false),cid),QI),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,iEe),''),'interactive Layout'),'Whether the graph should be changeable interactively and by setting constraints'),false),cid),QI),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,gAe),''),'Omit Node Micro Layout'),"Node micro layout comprises the computation of node dimensions (if requested), the placement of ports and their labels, and the placement of node labels. The functionality is implemented independent of any specific layout algorithm and shouldn't have any negative impact on the layout algorithm's performance itself. Yet, if any unforeseen behavior occurs, this option allows to deactivate the micro layout."),false),cid),QI),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,eAe),''),'Port Constraints'),'Defines constraints of the position of the ports of a node.'),Ild),eid),C3),xsb(Vhd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Khd(Ohd(Lhd(Mhd(new Shd,fEe),''),'Position'),"The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position."),hid),l3),ysb(Vhd,cD(WC(d3,1),jwe,170,0,[Xhd,Uhd])))));Egd(a,new Ahd(Qhd(Phd(Rhd(Khd(Ohd(Lhd(Mhd(new Shd,$ze),''),'Priority'),'Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used.'),gid),bJ),ysb(Vhd,cD(WC(d3,1),jwe,170,0,[Thd])))));Egd(a,new Ahd(Qhd(Phd(Rhd(Khd(Ohd(Lhd(Mhd(new Shd,bAe),''),'Randomization Seed'),'Seed used for pseudo-random number generators to control the layout algorithm. If the value is 0, the seed shall be determined pseudo-randomly (e.g. from the system time).'),gid),bJ),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Khd(Ohd(Lhd(Mhd(new Shd,cAe),''),'Separate Connected Components'),'Whether each connected component should be processed separately.'),cid),QI),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,ZDe),''),'Junction Points'),'This option is not used as option, but as output of the layout algorithms. It is attached to edges and determines the points where junction symbols should be drawn in order to represent hyperedges with orthogonal routing. Whether such points are computed depends on the chosen layout algorithm and edge routing style. The points are put into the vector chain with no specific order.'),dld),hid),k3),xsb(Thd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,aEe),''),'Comment Box'),'Whether the node should be regarded as a comment box instead of a regular node. In that case its placement should be similar to how labels are handled. Any edges incident to a comment box specify to which graph elements the comment is related.'),false),cid),QI),xsb(Vhd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,bEe),''),'Hypernode'),'Whether the node should be handled as a hypernode.'),false),cid),QI),xsb(Vhd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Khd(Ohd(Lhd(Mhd(new Shd,RGe),''),'Label Manager'),"Label managers can shorten labels upon a layout algorithm's request."),hid),g3),ysb(Whd,cD(WC(d3,1),jwe,170,0,[Uhd])))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,gEe),''),'Margins'),"Margins define additional space around the actual bounds of a graph element. For instance, ports or labels being placed on the outside of a node's border might introduce such a margin. The margin is used to guarantee non-overlap of other graph elements with those ports or labels."),fld),hid),h3),xsb(Vhd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,JDe),''),'No Layout'),"No layout is done for the associated element. This is used to mark parts of a diagram to avoid their inclusion in the layout graph, or to mark parts of the layout graph to prevent layout engines from processing them. If you wish to exclude the contents of a compound node from automatic layout, while the node itself is still considered on its own layer, use the 'Fixed Layout' algorithm for that node."),false),cid),QI),ysb(Vhd,cD(WC(d3,1),jwe,170,0,[Thd,Xhd,Uhd])))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,SGe),''),'Scale Factor'),"The scaling factor to be applied to the corresponding node in recursive layout. It causes the corresponding node's size to be adjusted, and its ports and labels to be sized and placed accordingly after the layout of that node has been determined (and before the node itself and its siblings are arranged). The scaling is not reverted afterwards, so the resulting layout graph contains the adjusted size and position data. This option is currently not supported if 'Layout Hierarchy' is set."),1),did),VI),xsb(Vhd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Khd(Ohd(Lhd(Mhd(new Shd,TGe),''),'Child Area Width'),'The width of the area occupied by the laid out children of a node.'),did),VI),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Khd(Ohd(Lhd(Mhd(new Shd,UGe),''),'Child Area Height'),'The height of the area occupied by the laid out children of a node.'),did),VI),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,mAe),''),yGe),"Turns topdown layout on and off. If this option is enabled, hierarchical layout will be computed first for the root node and then for its children recursively. Layouts are then scaled down to fit the area provided by their parents. Graphs must follow a certain structure for topdown layout to work properly. {@link TopdownNodeTypes.PARALLEL_NODE} nodes must have children of type {@link TopdownNodeTypes.HIERARCHICAL_NODE} and must define {@link topdown.hierarchicalNodeWidth} and {@link topdown.hierarchicalNodeAspectRatio} for their children. Furthermore they need to be laid out using an algorithm that is a {@link TopdownLayoutProvider}. Hierarchical nodes can also be parents of other hierarchical nodes and can optionally use a {@link TopdownSizeApproximator} to dynamically set sizes during topdown layout. In this case {@link topdown.hierarchicalNodeWidth} and {@link topdown.hierarchicalNodeAspectRatio} should be set on the node itself rather than the parent. The values are then used by the size approximator as base values. Hierarchical nodes require the layout option {@link nodeSize.fixedGraphSize} to be true to prevent the algorithm used there from resizing the hierarchical node. This option is not supported if 'Hierarchy Handling' is set to 'INCLUDE_CHILDREN'"),false),cid),QI),xsb(Whd))));zgd(a,mAe,qAe,null);Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,VGe),''),'Animate'),'Whether the shift from the old layout to the new computed layout shall be animated.'),true),cid),QI),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,WGe),''),'Animation Time Factor'),"Factor for computation of animation time. The higher the value, the longer the animation time. If the value is 0, the resulting time is always equal to the minimum defined by 'Minimal Animation Time'."),sgb(100)),gid),bJ),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,XGe),''),'Layout Ancestors'),'Whether the hierarchy levels on the path from the selected element to the root of the diagram shall be included in the layout process.'),false),cid),QI),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,YGe),''),'Maximal Animation Time'),'The maximal time for animations, in milliseconds.'),sgb(4000)),gid),bJ),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,ZGe),''),'Minimal Animation Time'),'The minimal time for animations, in milliseconds.'),sgb(400)),gid),bJ),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,$Ge),''),'Progress Bar'),'Whether a progress bar shall be displayed during layout computations.'),false),cid),QI),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,_Ge),''),'Validate Graph'),'Whether the graph shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user.'),false),cid),QI),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,aHe),''),'Validate Options'),'Whether layout options shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user.'),true),cid),QI),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,bHe),''),'Zoom to Fit'),'Whether the zoom level shall be set to view the whole diagram after layout.'),false),cid),QI),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,NGe),'box'),'Box Layout Mode'),'Configures the packing mode used by the {@link BoxLayoutProvider}. If SIMPLE is not required (neither priorities are used nor the interactive mode), GROUP_DEC can improve the packing and decrease the area. GROUP_MIXED and GROUP_INC may, in very specific scenarios, work better.'),Gkd),eid),R3),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,xDe),lDe),'Comment Comment Spacing'),'Spacing to be preserved between a comment box and other comment boxes connected to the same node. The space left between comment boxes of different nodes is controlled by the node-node spacing.'),10),did),VI),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,yDe),lDe),'Comment Node Spacing'),'Spacing to be preserved between a node and its connected comment boxes. The space left between a node and the comments of another node is controlled by the node-node spacing.'),10),did),VI),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,Bze),lDe),'Components Spacing'),"Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated."),20),did),VI),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,zDe),lDe),'Edge Spacing'),'Spacing to be preserved between any two edges. Note that while this can somewhat easily be satisfied for the segments of orthogonally drawn edges, it is harder for general polylines or splines.'),10),did),VI),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,aAe),lDe),'Edge Label Spacing'),"The minimal distance to be preserved between a label and the edge it is associated with. Note that the placement of a label is influenced by the 'edgelabels.placement' option."),2),did),VI),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,ADe),lDe),'Edge Node Spacing'),'Spacing to be preserved between nodes and edges.'),10),did),VI),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,BDe),lDe),'Label Spacing'),'Determines the amount of space to be left between two labels of the same graph element.'),0),did),VI),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,EDe),lDe),'Label Node Spacing'),"Spacing to be preserved between labels and the border of node they are associated with. Note that the placement of a label is influenced by the 'nodelabels.placement' option."),5),did),VI),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,CDe),lDe),'Horizontal spacing between Label and Port'),"Horizontal spacing to be preserved between labels and the ports they are associated with. Note that the placement of a label is influenced by the 'portlabels.placement' option."),1),did),VI),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,DDe),lDe),'Vertical spacing between Label and Port'),"Vertical spacing to be preserved between labels and the ports they are associated with. Note that the placement of a label is influenced by the 'portlabels.placement' option."),1),did),VI),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,_ze),lDe),'Node Spacing'),'The minimal distance to be preserved between each two nodes.'),20),did),VI),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,FDe),lDe),'Node Self Loop Spacing'),'Spacing to be preserved between a node and its self loops.'),10),did),VI),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,GDe),lDe),'Port Spacing'),'Spacing between pairs of ports of the same node.'),10),did),VI),ysb(Whd,cD(WC(d3,1),jwe,170,0,[Vhd])))));Egd(a,new Ahd(Qhd(Phd(Rhd(Khd(Ohd(Lhd(Mhd(new Shd,HDe),lDe),'Individual Spacing'),"Allows to specify individual spacing values for graph elements that shall be different from the value specified for the element's parent."),hid),l4),ysb(Vhd,cD(WC(d3,1),jwe,170,0,[Thd,Xhd,Uhd])))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,hEe),lDe),'Additional Port Space'),'Additional space around the sets of ports on each node side. For each side of a node, this option can reserve additional space before and after the ports on each side. For example, a top spacing of 20 makes sure that the first port on the western and eastern side is 20 units away from the northern border.'),imd),hid),h3),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Khd(Ohd(Lhd(Mhd(new Shd,eEe),hHe),'Layout Partition'),'Partition to which the node belongs. This requires Layout Partitioning to be active. Nodes with lower partition IDs will appear to the left of nodes with higher partition IDs (assuming a left-to-right layout direction).'),gid),bJ),ysb(Whd,cD(WC(d3,1),jwe,170,0,[Vhd])))));zgd(a,eEe,dEe,yld);Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,dEe),hHe),'Layout Partitioning'),'Whether to activate partitioned layout. This will allow to group nodes through the Layout Partition option. a pair of nodes with different partition indices is then placed such that the node with lower index is placed to the left of the other node (with left-to-right layout direction). Depending on the layout algorithm, this may only be guaranteed to work if all nodes have a layout partition configured, or at least if edges that cross partitions are not part of a partition-crossing cycle.'),wld),cid),QI),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,QDe),iHe),'Node Label Padding'),'Define padding for node labels that are placed inside of a node.'),hld),hid),i3),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,kAe),iHe),'Node Label Placement'),"Hints for where node labels are to be placed; if empty, the node label's position is not modified."),jld),fid),A3),ysb(Vhd,cD(WC(d3,1),jwe,170,0,[Uhd])))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,TDe),jHe),'Port Alignment'),'Defines the default port distribution for a node. May be overridden for each side individually.'),Ald),eid),B3),xsb(Vhd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Khd(Ohd(Lhd(Mhd(new Shd,UDe),jHe),'Port Alignment (North)'),"Defines how ports on the northern side are placed, overriding the node's general port alignment."),eid),B3),xsb(Vhd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Khd(Ohd(Lhd(Mhd(new Shd,VDe),jHe),'Port Alignment (South)'),"Defines how ports on the southern side are placed, overriding the node's general port alignment."),eid),B3),xsb(Vhd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Khd(Ohd(Lhd(Mhd(new Shd,WDe),jHe),'Port Alignment (West)'),"Defines how ports on the western side are placed, overriding the node's general port alignment."),eid),B3),xsb(Vhd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Khd(Ohd(Lhd(Mhd(new Shd,XDe),jHe),'Port Alignment (East)'),"Defines how ports on the eastern side are placed, overriding the node's general port alignment."),eid),B3),xsb(Vhd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,jAe),kHe),'Node Size Constraints'),"What should be taken into account when calculating a node's size. Empty size constraints specify that a node's size is already fixed and should not be changed."),lld),fid),H3),xsb(Vhd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,iAe),kHe),'Node Size Options'),'Options modifying the behavior of the size constraints set on a node. Each member of the set specifies something that should be taken into account when calculating node sizes. The empty set corresponds to no further modifications.'),qld),fid),I3),xsb(Vhd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,CAe),kHe),'Node Size Minimum'),'The minimal size to which a node can be reduced.'),old),hid),l3),xsb(Vhd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,hAe),kHe),'Fixed Graph Size'),"By default, the fixed layout provider will enlarge a graph until it is large enough to contain its children. If this option is set, it won't do so."),false),cid),QI),xsb(Whd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,$De),vDe),'Edge Label Placement'),'Gives a hint on where to put edge labels.'),Rkd),eid),t3),xsb(Uhd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,fAe),vDe),'Inline Edge Labels'),"If true, an edge label is placed directly on its edge. May only apply to center edge labels. This kind of label placement is only advisable if the label's rendering is such that it is not crossed by its edge and thus stays legible."),false),cid),QI),xsb(Uhd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Khd(Ohd(Lhd(Mhd(new Shd,cHe),'font'),'Font Name'),'Font name used for a label.'),iid),qJ),xsb(Uhd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Khd(Ohd(Lhd(Mhd(new Shd,dHe),'font'),'Font Size'),'Font size used for a label.'),gid),bJ),xsb(Uhd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Khd(Ohd(Lhd(Mhd(new Shd,cEe),lHe),'Port Anchor Offset'),'The offset to the port position where connections shall be attached.'),hid),l3),xsb(Xhd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Khd(Ohd(Lhd(Mhd(new Shd,_De),lHe),'Port Index'),"The index of a port in the fixed order around a node. The order is assumed as clockwise, starting with the leftmost port on the top side. This option must be set if 'Port Constraints' is set to FIXED_ORDER and no specific positions are given for the ports. Additionally, the option 'Port Side' must be defined in this case."),gid),bJ),xsb(Xhd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,KDe),lHe),'Port Side'),"The side of a node on which a port is situated. This option must be set if 'Port Constraints' is set to FIXED_SIDE or FIXED_ORDER and no specific positions are given for the ports."),Pld),eid),E3),xsb(Xhd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Khd(Ohd(Lhd(Mhd(new Shd,IDe),lHe),'Port Border Offset'),"The offset of ports on the node border. With a positive offset the port is moved outside of the node, while with a negative offset the port is moved towards the inside. An offset of 0 means that the port is placed directly on the node border, i.e. if the port side is north, the port's south border touches the nodes's north border; if the port side is east, the port's west border touches the nodes's east border; if the port side is south, the port's north border touches the node's south border; if the port side is west, the port's east border touches the node's west border."),did),VI),xsb(Xhd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,lAe),mHe),'Port Label Placement'),"Decides on a placement method for port labels; if empty, the node label's position is not modified."),Mld),fid),D3),xsb(Vhd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,RDe),mHe),'Port Labels Next to Port'),"Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE."),false),cid),QI),xsb(Vhd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,SDe),mHe),'Treat Port Labels as Group'),'If this option is true (default), the labels of a port will be treated as a group when it comes to centering them next to their port. If this option is false, only the first label will be centered next to the port, with the others being placed below. This only applies to labels of eastern and western ports and will have no effect if labels are not placed next to their port.'),true),cid),QI),xsb(Vhd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,nAe),nHe),'Topdown Scale Factor'),"The scaling factor to be applied to the nodes laid out within the node in recursive topdown layout. The difference to 'Scale Factor' is that the node itself is not scaled. This value has to be set on hierarchical nodes."),1),did),VI),xsb(Whd))));zgd(a,nAe,qAe,rmd);Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,eHe),nHe),'Topdown Size Approximator'),'The size approximator to be used to set sizes of hierarchical nodes during topdown layout. The default value is null, which results in nodes keeping whatever size is defined for them e.g. through parent parallel node or by manually setting the size.'),null),eid),M3),xsb(Vhd))));zgd(a,eHe,qAe,tmd);Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,oAe),nHe),'Topdown Hierarchical Node Width'),'The fixed size of a hierarchical node when using topdown layout. If this value is set on a parallel node it applies to its children, when set on a hierarchical node it applies to the node itself.'),150),did),VI),ysb(Whd,cD(WC(d3,1),jwe,170,0,[Vhd])))));zgd(a,oAe,qAe,null);Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,pAe),nHe),'Topdown Hierarchical Node Aspect Ratio'),'The fixed aspect ratio of a hierarchical node when using topdown layout. Default is 1/sqrt(2). If this value is set on a parallel node it applies to its children, when set on a hierarchical node it applies to the node itself.'),1.414),did),VI),ysb(Whd,cD(WC(d3,1),jwe,170,0,[Vhd])))));zgd(a,pAe,qAe,null);Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,qAe),nHe),'Topdown Node Type'),'The different node types used for topdown layout. If the node type is set to {@link TopdownNodeTypes.PARALLEL_NODE} the algorithm must be set to a {@link TopdownLayoutProvider} such as {@link TopdownPacking}. The {@link nodeSize.fixedGraphSize} option is technically only required for hierarchical nodes.'),null),eid),J3),xsb(Vhd))));zgd(a,qAe,hAe,null);Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,fHe),nHe),'Topdown Scale Cap'),'Determines the upper limit for the topdown scale factor. The default value is 1.0 which ensures that nested children never end up appearing larger than their parents in terms of unit sizes such as the font size. If the limit is larger, nodes will fully utilize the available space, but it is counteriniuitive for inner nodes to have a larger scale than outer nodes.'),1),did),VI),xsb(Whd))));zgd(a,fHe,qAe,pmd);Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,NDe),oHe),'Activate Inside Self Loops'),"Whether this node allows to route self loops inside of it instead of around it. If set to true, this will make the node a compound node if it isn't already, and will require the layout algorithm to support compound nodes with hierarchical ports."),false),cid),QI),xsb(Vhd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,ODe),oHe),'Inside Self Loop'),'Whether a self loop should be routed inside a node instead of around that node.'),false),cid),QI),xsb(Thd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,Cze),'edge'),'Edge Thickness'),'The thickness of an edge. This is a hint on the line width used to draw an edge, possibly requiring more space to be reserved for it.'),1),did),VI),xsb(Thd))));Egd(a,new Ahd(Qhd(Phd(Rhd(Jhd(Khd(Ohd(Lhd(Mhd(new Shd,gHe),'edge'),'Edge Type'),'The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations.'),Vkd),eid),v3),xsb(Thd))));Dgd(a,new fgd(mgd(ogd(ngd(new pgd,sxe),'Layered'),'The layer-based method was introduced by Sugiyama, Tagawa and Toda in 1981. It emphasizes the direction of edges by pointing as many edges as possible into the same direction. The nodes are arranged in layers, which are sometimes called "hierarchies", and then reordered such that the number of edge crossings is minimized. Afterwards, concrete coordinates are computed for the nodes and edge bend points.')));Dgd(a,new fgd(mgd(ogd(ngd(new pgd,'org.eclipse.elk.orthogonal'),'Orthogonal'),'Orthogonal methods that follow the "topology-shape-metrics" approach by Batini, Nardelli and Tamassia \'86. The first phase determines the topology of the drawing by applying a planarization technique, which results in a planar representation of the graph. The orthogonal shape is computed in the second phase, which aims at minimizing the number of edge bends, and is called orthogonalization. The third phase leads to concrete coordinates for nodes and edge bend points by applying a compaction method, thus defining the metrics.')));Dgd(a,new fgd(mgd(ogd(ngd(new pgd,Zze),'Force'),'Layout algorithms that follow physical analogies by simulating a system of attractive and repulsive forces. The first successful method of this kind was proposed by Eades in 1984.')));Dgd(a,new fgd(mgd(ogd(ngd(new pgd,'org.eclipse.elk.circle'),'Circle'),'Circular layout algorithms emphasize cycles or biconnected components of a graph by arranging them in circles. This is useful if a drawing is desired where such components are clearly grouped, or where cycles are shown as prominent OPTIONS of the graph.')));Dgd(a,new fgd(mgd(ogd(ngd(new pgd,$Ee),'Tree'),'Specialized layout methods for trees, i.e. acyclic graphs. The regular structure of graphs that have no undirected cycles can be emphasized using an algorithm of this type.')));Dgd(a,new fgd(mgd(ogd(ngd(new pgd,'org.eclipse.elk.planar'),'Planar'),'Algorithms that require a planar or upward planar graph. Most of these algorithms are theoretically interesting, but not practically usable.')));Dgd(a,new fgd(mgd(ogd(ngd(new pgd,CFe),'Radial'),'Radial layout algorithms usually position the nodes of the graph on concentric circles.')));wnd((new xnd,a));ikd((new jkd,a));Gpd((new Hpd,a));};var Akd,Bkd,Ckd,Dkd,Ekd,Fkd,Gkd,Hkd,Ikd,Jkd,Kkd,Lkd,Mkd,Nkd,Okd,Pkd,Qkd,Rkd,Skd,Tkd,Ukd,Vkd,Wkd,Xkd,Ykd,Zkd,$kd,_kd,ald,bld,cld,dld,eld,fld,gld,hld,ild,jld,kld,lld,mld,nld,old,pld,qld,rld,sld,tld,uld,vld,wld,xld,yld,zld,Ald,Bld,Cld,Dld,Eld,Fld,Gld,Hld,Ild,Jld,Kld,Lld,Mld,Nld,Old,Pld,Qld,Rld,Sld,Tld,Uld,Vld,Wld,Xld,Yld,Zld,$ld,_ld,amd,bmd,cmd,dmd,emd,fmd,gmd,hmd,imd,jmd,kmd,lmd,mmd,nmd,omd,pmd,qmd,rmd,smd,tmd;sfb(JGe,'CoreOptions',699);feb(88,22,{3:1,34:1,22:1,88:1},Gmd);var xmd,ymd,zmd,Amd,Bmd;var s3=tfb(JGe,eze,88,WI,Imd,Hmd);var Jmd;feb(278,22,{3:1,34:1,22:1,278:1},Pmd);var Lmd,Mmd,Nmd;var t3=tfb(JGe,'EdgeLabelPlacement',278,WI,Rmd,Qmd);var Smd;feb(223,22,{3:1,34:1,22:1,223:1},Zmd);var Umd,Vmd,Wmd,Xmd;var u3=tfb(JGe,'EdgeRouting',223,WI,_md,$md);var and;feb(321,22,{3:1,34:1,22:1,321:1},jnd);var cnd,dnd,end,fnd,gnd,hnd;var v3=tfb(JGe,'EdgeType',321,WI,lnd,knd);var mnd;feb(989,1,Eye,xnd);_.hf=function ynd(a){wnd(a);};var ond,pnd,qnd,rnd,snd,tnd,und;sfb(JGe,'FixedLayouterOptions',989);feb(990,1,{},znd);_.sf=function And(){var a;return a=new btd,a};_.tf=function Bnd(a){};sfb(JGe,'FixedLayouterOptions/FixedFactory',990);feb(346,22,{3:1,34:1,22:1,346:1},Gnd);var Cnd,Dnd,End;var y3=tfb(JGe,'HierarchyHandling',346,WI,Ind,Hnd);var Jnd;feb(291,22,{3:1,34:1,22:1,291:1},Rnd);var Lnd,Mnd,Nnd,Ond;var z3=tfb(JGe,'LabelSide',291,WI,Tnd,Snd);var Und;feb(95,22,{3:1,34:1,22:1,95:1},eod);var Wnd,Xnd,Ynd,Znd,$nd,_nd,aod,bod,cod;var A3=tfb(JGe,'NodeLabelPlacement',95,WI,hod,god);var iod;feb(256,22,{3:1,34:1,22:1,256:1},qod);var kod,lod,mod,nod,ood;var B3=tfb(JGe,'PortAlignment',256,WI,sod,rod);var tod;feb(101,22,{3:1,34:1,22:1,101:1},Eod);var vod,wod,xod,yod,zod,Aod;var C3=tfb(JGe,'PortConstraints',101,WI,God,Fod);var Hod;feb(279,22,{3:1,34:1,22:1,279:1},Qod);var Jod,Kod,Lod,Mod,Nod,Ood;var D3=tfb(JGe,'PortLabelPlacement',279,WI,Uod,Tod);var Vod;feb(64,22,{3:1,34:1,22:1,64:1},upd);var Xod,Yod,Zod,$od,_od,apd,bpd,cpd,dpd,epd,fpd,gpd,hpd,ipd,jpd,kpd,lpd,mpd,npd,opd,ppd;var E3=tfb(JGe,'PortSide',64,WI,xpd,wpd);var ypd;feb(993,1,Eye,Hpd);_.hf=function Ipd(a){Gpd(a);};var Apd,Bpd,Cpd,Dpd,Epd;sfb(JGe,'RandomLayouterOptions',993);feb(994,1,{},Jpd);_.sf=function Kpd(){var a;return a=new eud,a};_.tf=function Lpd(a){};sfb(JGe,'RandomLayouterOptions/RandomFactory',994);feb(386,22,{3:1,34:1,22:1,386:1},Rpd);var Mpd,Npd,Opd,Ppd;var H3=tfb(JGe,'SizeConstraint',386,WI,Tpd,Spd);var Upd;feb(264,22,{3:1,34:1,22:1,264:1},eqd);var Wpd,Xpd,Ypd,Zpd,$pd,_pd,aqd,bqd,cqd;var I3=tfb(JGe,'SizeOptions',264,WI,gqd,fqd);var hqd;feb(280,22,{3:1,34:1,22:1,280:1},nqd);var jqd,kqd,lqd;var J3=tfb(JGe,'TopdownNodeTypes',280,WI,pqd,oqd);var qqd;feb(347,22,rHe);var sqd,tqd;var M3=tfb(JGe,'TopdownSizeApproximator',347,WI,xqd,wqd);feb(987,347,rHe,zqd);_.Tg=function Aqd(a){return yqd(a)};tfb(JGe,'TopdownSizeApproximator/1',987,M3,null,null);feb(988,347,rHe,Bqd);_.Tg=function Cqd(b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,A,B,C,D;c=RD(Gxd(b,(umd(),Tld)),143);A=(bvd(),o=new ACd,o);zxd(A,b);B=new Tsb;for(g=new dMd((!b.a&&(b.a=new C5d(J4,b,10,11)),b.a));g.e!=g.i.gc();){e=RD(bMd(g),27);t=(n=new ACd,n);yCd(t,A);zxd(t,e);D=yqd(e);zyd(t,$wnd.Math.max(e.g,D.a),$wnd.Math.max(e.f,D.b));rtb(B.f,e,t);}for(f=new dMd((!b.a&&(b.a=new C5d(J4,b,10,11)),b.a));f.e!=f.i.gc();){e=RD(bMd(f),27);for(l=new dMd((!e.e&&(e.e=new Yie(G4,e,7,4)),e.e));l.e!=l.i.gc();){k=RD(bMd(l),74);v=RD(Wd(qtb(B.f,e)),27);w=RD(Wjb(B,QHd((!k.c&&(k.c=new Yie(E4,k,5,8)),k.c),0)),27);u=(m=new rzd,m);WGd((!u.b&&(u.b=new Yie(E4,u,4,7)),u.b),v);WGd((!u.c&&(u.c=new Yie(E4,u,5,8)),u.c),w);pzd(u,vCd(v));zxd(u,k);}}q=RD(ltd(c.f),205);try{q.rf(A,new ztd);mtd(c.f,q);}catch(a){a=zdb(a);if(ZD(a,103)){p=a;throw Adb(p)}else throw Adb(a)}Hxd(A,Ikd)||Hxd(A,Hkd)||psd(A);j=Kfb(UD(Gxd(A,Ikd)));i=Kfb(UD(Gxd(A,Hkd)));h=j/i;d=Kfb(UD(Gxd(A,lmd)))*$wnd.Math.sqrt((!A.a&&(A.a=new C5d(J4,A,10,11)),A.a).i);C=RD(Gxd(A,tld),107);s=C.b+C.c+1;r=C.d+C.a+1;return new rjd($wnd.Math.max(s,d),$wnd.Math.max(r,d/h))};tfb(JGe,'TopdownSizeApproximator/2',988,M3,null,null);var Dqd;feb(344,1,{871:1},Oqd);_.Ug=function Pqd(a,b){return Fqd(this,a,b)};_.Vg=function Qqd(){Hqd(this);};_.Wg=function Rqd(){return this.q};_.Xg=function Sqd(){return !this.f?null:Hob(this.f)};_.Yg=function Tqd(){return Hob(this.a)};_.Zg=function Uqd(){return this.p};_.$g=function Vqd(){return false};_._g=function Wqd(){return this.n};_.ah=function Xqd(){return this.p!=null&&!this.b};_.bh=function Yqd(a){var b;if(this.n){b=a;Rmb(this.f,b);}};_.dh=function Zqd(a,b){var c,d;this.n&&!!a&&Jqd(this,(c=new Zje,d=Rje(c,a),Yje(c),d),(ttd(),qtd));};_.eh=function $qd(a){var b;if(this.b){return null}else {b=Gqd(this,this.g);Mub(this.a,b);b.i=this;this.d=a;return b}};_.fh=function _qd(a){a>0&&!this.b&&Iqd(this,a);};_.b=false;_.c=0;_.d=-1;_.e=null;_.f=null;_.g=-1;_.j=false;_.k=false;_.n=false;_.o=0;_.q=0;_.r=0;sfb(jEe,'BasicProgressMonitor',344);feb(717,205,oze,jrd);_.rf=function nrd(a,b){crd(a,b);};sfb(jEe,'BoxLayoutProvider',717);feb(983,1,fye,prd);_.Ne=function qrd(a,b){return ord(this,RD(a,27),RD(b,27))};_.Fb=function rrd(a){return this===a};_.Oe=function srd(){return new Frb(this)};_.a=false;sfb(jEe,'BoxLayoutProvider/1',983);feb(163,1,{163:1},zrd,Ard);_.Ib=function Brd(){return this.c?zCd(this.c):Fe(this.b)};sfb(jEe,'BoxLayoutProvider/Group',163);feb(320,22,{3:1,34:1,22:1,320:1},Hrd);var Crd,Drd,Erd,Frd;var R3=tfb(jEe,'BoxLayoutProvider/PackingMode',320,WI,Jrd,Ird);var Krd;feb(984,1,fye,Mrd);_.Ne=function Nrd(a,b){return krd(RD(a,163),RD(b,163))};_.Fb=function Ord(a){return this===a};_.Oe=function Prd(){return new Frb(this)};sfb(jEe,'BoxLayoutProvider/lambda$0$Type',984);feb(985,1,fye,Qrd);_.Ne=function Rrd(a,b){return lrd(RD(a,163),RD(b,163))};_.Fb=function Srd(a){return this===a};_.Oe=function Trd(){return new Frb(this)};sfb(jEe,'BoxLayoutProvider/lambda$1$Type',985);feb(986,1,fye,Urd);_.Ne=function Vrd(a,b){return mrd(RD(a,163),RD(b,163))};_.Fb=function Wrd(a){return this===a};_.Oe=function Xrd(){return new Frb(this)};sfb(jEe,'BoxLayoutProvider/lambda$2$Type',986);feb(1384,1,{845:1},Yrd);_.Mg=function Zrd(a,b){return GCc(),!ZD(b,167)||ued((hed(),RD(a,167)),b)};sfb(jEe,'ElkSpacings/AbstractSpacingsBuilder/lambda$0$Type',1384);feb(1385,1,Qve,$rd);_.Cd=function _rd(a){JCc(this.a,RD(a,149));};sfb(jEe,'ElkSpacings/AbstractSpacingsBuilder/lambda$1$Type',1385);feb(1386,1,Qve,asd);_.Cd=function bsd(a){RD(a,96);GCc();};sfb(jEe,'ElkSpacings/AbstractSpacingsBuilder/lambda$2$Type',1386);feb(1390,1,Qve,csd);_.Cd=function dsd(a){KCc(this.a,RD(a,96));};sfb(jEe,'ElkSpacings/AbstractSpacingsBuilder/lambda$3$Type',1390);feb(1388,1,nwe,esd);_.Mb=function fsd(a){return LCc(this.a,this.b,RD(a,149))};sfb(jEe,'ElkSpacings/AbstractSpacingsBuilder/lambda$4$Type',1388);feb(1387,1,nwe,gsd);_.Mb=function hsd(a){return NCc(this.a,this.b,RD(a,845))};sfb(jEe,'ElkSpacings/AbstractSpacingsBuilder/lambda$5$Type',1387);feb(1389,1,Qve,isd);_.Cd=function jsd(a){MCc(this.a,this.b,RD(a,149));};sfb(jEe,'ElkSpacings/AbstractSpacingsBuilder/lambda$6$Type',1389);feb(947,1,{},Lsd);_.Kb=function Msd(a){return Ksd(a)};_.Fb=function Nsd(a){return this===a};sfb(jEe,'ElkUtil/lambda$0$Type',947);feb(948,1,Qve,Osd);_.Cd=function Psd(a){ysd(this.a,this.b,RD(a,74));};_.a=0;_.b=0;sfb(jEe,'ElkUtil/lambda$1$Type',948);feb(949,1,Qve,Qsd);_.Cd=function Rsd(a){zsd(this.a,this.b,RD(a,166));};_.a=0;_.b=0;sfb(jEe,'ElkUtil/lambda$2$Type',949);feb(950,1,Qve,Ssd);_.Cd=function Tsd(a){Asd(this.a,this.b,RD(a,135));};_.a=0;_.b=0;sfb(jEe,'ElkUtil/lambda$3$Type',950);feb(951,1,Qve,Usd);_.Cd=function Vsd(a){Bsd(this.a,RD(a,377));};sfb(jEe,'ElkUtil/lambda$4$Type',951);feb(325,1,{34:1,325:1},Xsd);_.Fd=function Ysd(a){return Wsd(this,RD(a,242))};_.Fb=function Zsd(a){var b;if(ZD(a,325)){b=RD(a,325);return this.a==b.a}return false};_.Hb=function $sd(){return eE(this.a)};_.Ib=function _sd(){return this.a+' (exclusive)'};_.a=0;sfb(jEe,'ExclusiveBounds/ExclusiveLowerBound',325);feb(1119,205,oze,btd);_.rf=function ctd(a,b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,A,B;b.Ug('Fixed Layout',1);f=RD(Gxd(a,(umd(),Skd)),223);l=0;m=0;for(s=new dMd((!a.a&&(a.a=new C5d(J4,a,10,11)),a.a));s.e!=s.i.gc();){q=RD(bMd(s),27);B=RD(Gxd(q,(vnd(),und)),8);if(B){Byd(q,B.a,B.b);if(RD(Gxd(q,pnd),181).Hc((Qpd(),Mpd))){n=RD(Gxd(q,rnd),8);n.a>0&&n.b>0&&Esd(q,n.a,n.b,true,true);}}l=$wnd.Math.max(l,q.i+q.g);m=$wnd.Math.max(m,q.j+q.f);for(j=new dMd((!q.n&&(q.n=new C5d(I4,q,1,7)),q.n));j.e!=j.i.gc();){h=RD(bMd(j),135);B=RD(Gxd(h,und),8);!!B&&Byd(h,B.a,B.b);l=$wnd.Math.max(l,q.i+h.i+h.g);m=$wnd.Math.max(m,q.j+h.j+h.f);}for(v=new dMd((!q.c&&(q.c=new C5d(K4,q,9,9)),q.c));v.e!=v.i.gc();){u=RD(bMd(v),123);B=RD(Gxd(u,und),8);!!B&&Byd(u,B.a,B.b);w=q.i+u.i;A=q.j+u.j;l=$wnd.Math.max(l,w+u.g);m=$wnd.Math.max(m,A+u.f);for(i=new dMd((!u.n&&(u.n=new C5d(I4,u,1,7)),u.n));i.e!=i.i.gc();){h=RD(bMd(i),135);B=RD(Gxd(h,und),8);!!B&&Byd(h,B.a,B.b);l=$wnd.Math.max(l,w+h.i+h.g);m=$wnd.Math.max(m,A+h.j+h.f);}}for(e=new is(Mr(zGd(q).a.Kc(),new ir));gs(e);){c=RD(hs(e),74);k=atd(c);l=$wnd.Math.max(l,k.a);m=$wnd.Math.max(m,k.b);}for(d=new is(Mr(yGd(q).a.Kc(),new ir));gs(d);){c=RD(hs(d),74);if(vCd(JGd(c))!=a){k=atd(c);l=$wnd.Math.max(l,k.a);m=$wnd.Math.max(m,k.b);}}}if(f==(Ymd(),Umd)){for(r=new dMd((!a.a&&(a.a=new C5d(J4,a,10,11)),a.a));r.e!=r.i.gc();){q=RD(bMd(r),27);for(d=new is(Mr(zGd(q).a.Kc(),new ir));gs(d);){c=RD(hs(d),74);g=tsd(c);g.b==0?Ixd(c,cld,null):Ixd(c,cld,g);}}}if(!Heb(TD(Gxd(a,(vnd(),qnd))))){t=RD(Gxd(a,snd),107);p=l+t.b+t.c;o=m+t.d+t.a;Esd(a,p,o,true,true);}b.Vg();};sfb(jEe,'FixedLayoutProvider',1119);feb(385,137,{3:1,423:1,385:1,96:1,137:1},dtd,etd);_.cg=function htd(b){var c,d,e,f,g,h,i,j,k;if(!b){return}try{j=vhb(b,';,;');for(g=j,h=0,i=g.length;h>16&Bwe|b^d<<16};_.Kc=function Ttd(){return new Vtd(this)};_.Ib=function Utd(){return this.a==null&&this.b==null?'pair(null,null)':this.a==null?'pair(null,'+jeb(this.b)+')':this.b==null?'pair('+jeb(this.a)+',null)':'pair('+jeb(this.a)+','+jeb(this.b)+')'};sfb(jEe,'Pair',42);feb(995,1,Ave,Vtd);_.Nb=function Wtd(a){Ztb(this,a);};_.Ob=function Xtd(){return !this.c&&(!this.b&&this.a.a!=null||this.a.b!=null)};_.Pb=function Ytd(){if(!this.c&&!this.b&&this.a.a!=null){this.b=true;return this.a.a}else if(!this.c&&this.a.b!=null){this.c=true;return this.a.b}throw Adb(new Dvb)};_.Qb=function Ztd(){this.c&&this.a.b!=null?(this.a.b=null):this.b&&this.a.a!=null&&(this.a.a=null);throw Adb(new cgb)};_.b=false;_.c=false;sfb(jEe,'Pair/1',995);feb(455,1,{455:1},$td);_.Fb=function _td(a){return Fvb(this.a,RD(a,455).a)&&Fvb(this.c,RD(a,455).c)&&Fvb(this.d,RD(a,455).d)&&Fvb(this.b,RD(a,455).b)};_.Hb=function aud(){return Tnb(cD(WC(jJ,1),rve,1,5,[this.a,this.c,this.d,this.b]))};_.Ib=function bud(){return '('+this.a+pve+this.c+pve+this.d+pve+this.b+')'};sfb(jEe,'Quadruple',455);feb(1108,205,oze,eud);_.rf=function fud(a,b){var c,d,e,f,g;b.Ug('Random Layout',1);if((!a.a&&(a.a=new C5d(J4,a,10,11)),a.a).i==0){b.Vg();return}f=RD(Gxd(a,(Fpd(),Dpd)),17);!!f&&f.a!=0?(e=new Pwb(f.a)):(e=new Owb);c=Mfb(UD(Gxd(a,Apd)));g=Mfb(UD(Gxd(a,Epd)));d=RD(Gxd(a,Bpd),107);dud(a,e,c,g,d);b.Vg();};sfb(jEe,'RandomLayoutProvider',1108);feb(240,1,{240:1},gud);_.Fb=function hud(a){return Fvb(this.a,RD(a,240).a)&&Fvb(this.b,RD(a,240).b)&&Fvb(this.c,RD(a,240).c)};_.Hb=function iud(){return Tnb(cD(WC(jJ,1),rve,1,5,[this.a,this.b,this.c]))};_.Ib=function jud(){return '('+this.a+pve+this.b+pve+this.c+')'};sfb(jEe,'Triple',240);var kud;feb(562,1,{});_.Lf=function oud(){return new rjd(this.f.i,this.f.j)};_.of=function pud(a){if(hGd(a,(umd(),Gld))){return Gxd(this.f,mud)}return Gxd(this.f,a)};_.Mf=function qud(){return new rjd(this.f.g,this.f.f)};_.Nf=function rud(){return this.g};_.pf=function sud(a){return Hxd(this.f,a)};_.Of=function tud(a){Dyd(this.f,a.a);Eyd(this.f,a.b);};_.Pf=function uud(a){Cyd(this.f,a.a);Ayd(this.f,a.b);};_.Qf=function vud(a){this.g=a;};_.g=0;var mud;sfb(uHe,'ElkGraphAdapters/AbstractElkGraphElementAdapter',562);feb(563,1,{853:1},wud);_.Rf=function xud(){var a,b;if(!this.b){this.b=fv(iyd(this.a).i);for(b=new dMd(iyd(this.a));b.e!=b.i.gc();){a=RD(bMd(b),135);Rmb(this.b,new Bud(a));}}return this.b};_.b=null;sfb(uHe,'ElkGraphAdapters/ElkEdgeAdapter',563);feb(289,562,{},zud);_.Sf=function Aud(){return yud(this)};_.a=null;sfb(uHe,'ElkGraphAdapters/ElkGraphAdapter',289);feb(640,562,{187:1},Bud);sfb(uHe,'ElkGraphAdapters/ElkLabelAdapter',640);feb(639,562,{695:1},Fud);_.Rf=function Iud(){return Cud(this)};_.Vf=function Jud(){var a;return a=RD(Gxd(this.f,(umd(),eld)),140),!a&&(a=new P2b),a};_.Xf=function Lud(){return Dud(this)};_.Zf=function Nud(a){var b;b=new S2b(a);Ixd(this.f,(umd(),eld),b);};_.$f=function Oud(a){Ixd(this.f,(umd(),tld),new B3b(a));};_.Tf=function Gud(){return this.d};_.Uf=function Hud(){var a,b;if(!this.a){this.a=new bnb;for(b=new is(Mr(yGd(RD(this.f,27)).a.Kc(),new ir));gs(b);){a=RD(hs(b),74);Rmb(this.a,new wud(a));}}return this.a};_.Wf=function Kud(){var a,b;if(!this.c){this.c=new bnb;for(b=new is(Mr(zGd(RD(this.f,27)).a.Kc(),new ir));gs(b);){a=RD(hs(b),74);Rmb(this.c,new wud(a));}}return this.c};_.Yf=function Mud(){return tCd(RD(this.f,27)).i!=0||Heb(TD(RD(this.f,27).of((umd(),$kd))))};_._f=function Pud(){Eud(this,(lud(),kud));};_.a=null;_.b=null;_.c=null;_.d=null;_.e=null;sfb(uHe,'ElkGraphAdapters/ElkNodeAdapter',639);feb(1284,562,{852:1},Rud);_.Rf=function Tud(){return Qud(this)};_.Uf=function Sud(){var a,b;if(!this.a){this.a=ev(RD(this.f,123).hh().i);for(b=new dMd(RD(this.f,123).hh());b.e!=b.i.gc();){a=RD(bMd(b),74);Rmb(this.a,new wud(a));}}return this.a};_.Wf=function Uud(){var a,b;if(!this.c){this.c=ev(RD(this.f,123).ih().i);for(b=new dMd(RD(this.f,123).ih());b.e!=b.i.gc();){a=RD(bMd(b),74);Rmb(this.c,new wud(a));}}return this.c};_.ag=function Vud(){return RD(RD(this.f,123).of((umd(),Old)),64)};_.bg=function Wud(){var a,b,c,d,e,f,g,h;d=MCd(RD(this.f,123));for(c=new dMd(RD(this.f,123).ih());c.e!=c.i.gc();){a=RD(bMd(c),74);for(h=new dMd((!a.c&&(a.c=new Yie(E4,a,5,8)),a.c));h.e!=h.i.gc();){g=RD(bMd(h),84);if(NGd(AGd(g),d)){return true}else if(AGd(g)==d&&Heb(TD(Gxd(a,(umd(),_kd))))){return true}}}for(b=new dMd(RD(this.f,123).hh());b.e!=b.i.gc();){a=RD(bMd(b),74);for(f=new dMd((!a.b&&(a.b=new Yie(E4,a,4,7)),a.b));f.e!=f.i.gc();){e=RD(bMd(f),84);if(NGd(AGd(e),d)){return true}}}return false};_.a=null;_.b=null;_.c=null;sfb(uHe,'ElkGraphAdapters/ElkPortAdapter',1284);feb(1285,1,fye,Yud);_.Ne=function Zud(a,b){return Xud(RD(a,123),RD(b,123))};_.Fb=function $ud(a){return this===a};_.Oe=function _ud(){return new Frb(this)};sfb(uHe,'ElkGraphAdapters/PortComparator',1285);var r7=ufb(vHe,'EObject');var C4=ufb(wHe,xHe);var D4=ufb(wHe,yHe);var H4=ufb(wHe,zHe);var L4=ufb(wHe,'ElkShape');var E4=ufb(wHe,AHe);var G4=ufb(wHe,BHe);var F4=ufb(wHe,CHe);var p7=ufb(vHe,DHe);var n7=ufb(vHe,'EFactory');var avd;var q7=ufb(vHe,EHe);var t7=ufb(vHe,'EPackage');var cvd;var evd,fvd,gvd,hvd,ivd,jvd,kvd,lvd,mvd,nvd,ovd;var I4=ufb(wHe,FHe);var J4=ufb(wHe,GHe);var K4=ufb(wHe,HHe);feb(93,1,IHe);_.th=function rvd(){this.uh();return null};_.uh=function svd(){return null};_.vh=function tvd(){return this.uh(),false};_.wh=function uvd(){return false};_.xh=function vvd(a){qvd(this,a);};sfb(JHe,'BasicNotifierImpl',93);feb(99,93,RHe);_.Yh=function Dwd(){return Mvd(this)};_.yh=function bwd(a,b){return a};_.zh=function cwd(){throw Adb(new jib)};_.Ah=function dwd(a){var b;return b=Z5d(RD(vYd(this.Dh(),this.Fh()),19)),this.Ph().Th(this,b.n,b.f,a)};_.Bh=function ewd(a,b){throw Adb(new jib)};_.Ch=function fwd(a,b,c){return xvd(this,a,b,c)};_.Dh=function gwd(){var a;if(this.zh()){a=this.zh().Nk();if(a){return a}}return this.ii()};_.Eh=function hwd(){return yvd(this)};_.Fh=function iwd(){throw Adb(new jib)};_.Gh=function kwd(){var a,b;b=this.$h().Ok();!b&&this.zh().Tk(b=(N2d(),a=P$d(rYd(this.Dh())),a==null?M2d:new Q2d(this,a)));return b};_.Hh=function mwd(a,b){return a};_.Ih=function nwd(a){var b;b=a.pk();return !b?BYd(this.Dh(),a):a.Lj()};_.Jh=function owd(){var a;a=this.zh();return !a?null:a.Qk()};_.Kh=function pwd(){return !this.zh()?null:this.zh().Nk()};_.Lh=function qwd(a,b,c){return Dvd(this,a,b,c)};_.Mh=function rwd(a){return Evd(this,a)};_.Nh=function swd(a,b){return Fvd(this,a,b)};_.Oh=function twd(){var a;a=this.zh();return !!a&&a.Rk()};_.Ph=function uwd(){throw Adb(new jib)};_.Qh=function vwd(){return Hvd(this)};_.Rh=function wwd(a,b,c,d){return Ivd(this,a,b,d)};_.Sh=function xwd(a,b,c){var d;return d=RD(vYd(this.Dh(),b),69),d.wk().zk(this,this.hi(),b-this.ji(),a,c)};_.Th=function ywd(a,b,c,d){return Jvd(this,a,b,d)};_.Uh=function zwd(a,b,c){var d;return d=RD(vYd(this.Dh(),b),69),d.wk().Ak(this,this.hi(),b-this.ji(),a,c)};_.Vh=function Awd(){return !!this.zh()&&!!this.zh().Pk()};_.Wh=function Bwd(a){return Kvd(this,a)};_.Xh=function Cwd(a){return Lvd(this,a)};_.Zh=function Ewd(a){return Pvd(this,a)};_.$h=function Fwd(){throw Adb(new jib)};_._h=function Gwd(){return !this.zh()?null:this.zh().Pk()};_.ai=function Hwd(){return Hvd(this)};_.bi=function Iwd(a,b){Wvd(this,a,b);};_.ci=function Jwd(a){this.$h().Sk(a);};_.di=function Kwd(a){this.$h().Vk(a);};_.ei=function Lwd(a){this.$h().Uk(a);};_.fi=function Mwd(a,b){var c,d,e,f;f=this.Jh();if(!!f&&!!a){b=rLd(f.El(),this,b);f.Il(this);}d=this.Ph();if(d){if((jwd(this,this.Ph(),this.Fh()).Bb&txe)!=0){e=d.Qh();!!e&&(!a?e.Hl(this):!f&&e.Il(this));}else {b=(c=this.Fh(),c>=0?this.Ah(b):this.Ph().Th(this,-1-c,null,b));b=this.Ch(null,-1,b);}}this.di(a);return b};_.gi=function Nwd(a){var b,c,d,e,f,g,h,i;c=this.Dh();f=BYd(c,a);b=this.ji();if(f>=b){return RD(a,69).wk().Dk(this,this.hi(),f-b)}else if(f<=-1){g=Eee((lke(),jke),c,a);if(g){nke();RD(g,69).xk()||(g=zfe(Qee(jke,g)));e=(d=this.Ih(g),RD(d>=0?this.Lh(d,true,true):Qvd(this,g,true),160));i=g.Ik();if(i>1||i==-1){return RD(RD(e,220).Sl(a,false),79)}}else {throw Adb(new agb(KHe+a.xe()+NHe))}}else if(a.Jk()){return d=this.Ih(a),RD(d>=0?this.Lh(d,false,true):Qvd(this,a,false),79)}h=new NTd(this,a);return h};_.hi=function Owd(){return Yvd(this)};_.ii=function Pwd(){return (lTd(),kTd).S};_.ji=function Qwd(){return AYd(this.ii())};_.ki=function Rwd(a){$vd(this,a);};_.Ib=function Swd(){return awd(this)};sfb(SHe,'BasicEObjectImpl',99);var ZSd;feb(119,99,{110:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1});_.li=function _wd(a){var b;b=Vwd(this);return b[a]};_.mi=function axd(a,b){var c;c=Vwd(this);bD(c,a,b);};_.ni=function bxd(a){var b;b=Vwd(this);bD(b,a,null);};_.th=function cxd(){return RD(Ywd(this,4),129)};_.uh=function dxd(){throw Adb(new jib)};_.vh=function exd(){return (this.Db&4)!=0};_.zh=function fxd(){throw Adb(new jib)};_.oi=function gxd(a){$wd(this,2,a);};_.Bh=function hxd(a,b){this.Db=b<<16|this.Db&255;this.oi(a);};_.Dh=function ixd(){return Uwd(this)};_.Fh=function jxd(){return this.Db>>16};_.Gh=function kxd(){var a,b;return N2d(),b=P$d(rYd((a=RD(Ywd(this,16),29),!a?this.ii():a))),b==null?(M2d):new Q2d(this,b)};_.wh=function lxd(){return (this.Db&1)==0};_.Jh=function mxd(){return RD(Ywd(this,128),2034)};_.Kh=function nxd(){return RD(Ywd(this,16),29)};_.Oh=function oxd(){return (this.Db&32)!=0};_.Ph=function pxd(){return RD(Ywd(this,2),54)};_.Vh=function qxd(){return (this.Db&64)!=0};_.$h=function rxd(){throw Adb(new jib)};_._h=function sxd(){return RD(Ywd(this,64),288)};_.ci=function txd(a){$wd(this,16,a);};_.di=function uxd(a){$wd(this,128,a);};_.ei=function vxd(a){$wd(this,64,a);};_.hi=function wxd(){return Wwd(this)};_.Db=0;sfb(SHe,'MinimalEObjectImpl',119);feb(120,119,{110:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1});_.oi=function xxd(a){this.Cb=a;};_.Ph=function yxd(){return this.Cb};sfb(SHe,'MinimalEObjectImpl/Container',120);feb(2083,120,{110:1,342:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1});_.Lh=function Jxd(a,b,c){return Axd(this,a,b,c)};_.Uh=function Kxd(a,b,c){return Bxd(this,a,b,c)};_.Wh=function Lxd(a){return Cxd(this,a)};_.bi=function Mxd(a,b){Dxd(this,a,b);};_.ii=function Nxd(){return pvd(),ovd};_.ki=function Oxd(a){Exd(this,a);};_.nf=function Pxd(){return Fxd(this)};_.gh=function Qxd(){return !this.o&&(this.o=new DVd((pvd(),mvd),X4,this,0)),this.o};_.of=function Rxd(a){return Gxd(this,a)};_.pf=function Sxd(a){return Hxd(this,a)};_.qf=function Txd(a,b){return Ixd(this,a,b)};sfb(THe,'EMapPropertyHolderImpl',2083);feb(572,120,{110:1,377:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},Xxd);_.Lh=function Yxd(a,b,c){switch(a){case 0:return this.a;case 1:return this.b;}return Dvd(this,a,b,c)};_.Wh=function Zxd(a){switch(a){case 0:return this.a!=0;case 1:return this.b!=0;}return Kvd(this,a)};_.bi=function $xd(a,b){switch(a){case 0:Vxd(this,Kfb(UD(b)));return;case 1:Wxd(this,Kfb(UD(b)));return;}Wvd(this,a,b);};_.ii=function _xd(){return pvd(),evd};_.ki=function ayd(a){switch(a){case 0:Vxd(this,0);return;case 1:Wxd(this,0);return;}$vd(this,a);};_.Ib=function byd(){var a;if((this.Db&64)!=0)return awd(this);a=new Shb(awd(this));a.a+=' (x: ';Khb(a,this.a);a.a+=', y: ';Khb(a,this.b);a.a+=')';return a.a};_.a=0;_.b=0;sfb(THe,'ElkBendPointImpl',572);feb(739,2083,{110:1,342:1,167:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1});_.Lh=function lyd(a,b,c){return cyd(this,a,b,c)};_.Sh=function myd(a,b,c){return dyd(this,a,b,c)};_.Uh=function nyd(a,b,c){return eyd(this,a,b,c)};_.Wh=function oyd(a){return fyd(this,a)};_.bi=function pyd(a,b){gyd(this,a,b);};_.ii=function qyd(){return pvd(),ivd};_.ki=function ryd(a){hyd(this,a);};_.jh=function syd(){return this.k};_.kh=function tyd(){return iyd(this)};_.Ib=function uyd(){return kyd(this)};_.k=null;sfb(THe,'ElkGraphElementImpl',739);feb(740,739,{110:1,342:1,167:1,422:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1});_.Lh=function Gyd(a,b,c){return vyd(this,a,b,c)};_.Wh=function Hyd(a){return wyd(this,a)};_.bi=function Iyd(a,b){xyd(this,a,b);};_.ii=function Jyd(){return pvd(),nvd};_.ki=function Kyd(a){yyd(this,a);};_.lh=function Lyd(){return this.f};_.mh=function Myd(){return this.g};_.nh=function Nyd(){return this.i};_.oh=function Oyd(){return this.j};_.ph=function Pyd(a,b){zyd(this,a,b);};_.qh=function Qyd(a,b){Byd(this,a,b);};_.rh=function Ryd(a){Dyd(this,a);};_.sh=function Syd(a){Eyd(this,a);};_.Ib=function Tyd(){return Fyd(this)};_.f=0;_.g=0;_.i=0;_.j=0;sfb(THe,'ElkShapeImpl',740);feb(741,740,{110:1,342:1,84:1,167:1,422:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1});_.Lh=function _yd(a,b,c){return Uyd(this,a,b,c)};_.Sh=function azd(a,b,c){return Vyd(this,a,b,c)};_.Uh=function bzd(a,b,c){return Wyd(this,a,b,c)};_.Wh=function czd(a){return Xyd(this,a)};_.bi=function dzd(a,b){Yyd(this,a,b);};_.ii=function ezd(){return pvd(),fvd};_.ki=function fzd(a){Zyd(this,a);};_.hh=function gzd(){return !this.d&&(this.d=new Yie(G4,this,8,5)),this.d};_.ih=function hzd(){return !this.e&&(this.e=new Yie(G4,this,7,4)),this.e};sfb(THe,'ElkConnectableShapeImpl',741);feb(326,739,{110:1,342:1,74:1,167:1,326:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},rzd);_.Ah=function szd(a){return jzd(this,a)};_.Lh=function tzd(a,b,c){switch(a){case 3:return kzd(this);case 4:return !this.b&&(this.b=new Yie(E4,this,4,7)),this.b;case 5:return !this.c&&(this.c=new Yie(E4,this,5,8)),this.c;case 6:return !this.a&&(this.a=new C5d(F4,this,6,6)),this.a;case 7:return Geb(),!this.b&&(this.b=new Yie(E4,this,4,7)),this.b.i<=1&&(!this.c&&(this.c=new Yie(E4,this,5,8)),this.c.i<=1)?false:true;case 8:return Geb(),nzd(this)?true:false;case 9:return Geb(),ozd(this)?true:false;case 10:return Geb(),!this.b&&(this.b=new Yie(E4,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new Yie(E4,this,5,8)),this.c.i!=0)?true:false;}return cyd(this,a,b,c)};_.Sh=function uzd(a,b,c){var d;switch(b){case 3:!!this.Cb&&(c=(d=this.Db>>16,d>=0?jzd(this,c):this.Cb.Th(this,-1-d,null,c)));return izd(this,RD(a,27),c);case 4:return !this.b&&(this.b=new Yie(E4,this,4,7)),qLd(this.b,a,c);case 5:return !this.c&&(this.c=new Yie(E4,this,5,8)),qLd(this.c,a,c);case 6:return !this.a&&(this.a=new C5d(F4,this,6,6)),qLd(this.a,a,c);}return dyd(this,a,b,c)};_.Uh=function vzd(a,b,c){switch(b){case 3:return izd(this,null,c);case 4:return !this.b&&(this.b=new Yie(E4,this,4,7)),rLd(this.b,a,c);case 5:return !this.c&&(this.c=new Yie(E4,this,5,8)),rLd(this.c,a,c);case 6:return !this.a&&(this.a=new C5d(F4,this,6,6)),rLd(this.a,a,c);}return eyd(this,a,b,c)};_.Wh=function wzd(a){switch(a){case 3:return !!kzd(this);case 4:return !!this.b&&this.b.i!=0;case 5:return !!this.c&&this.c.i!=0;case 6:return !!this.a&&this.a.i!=0;case 7:return !this.b&&(this.b=new Yie(E4,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new Yie(E4,this,5,8)),this.c.i<=1));case 8:return nzd(this);case 9:return ozd(this);case 10:return !this.b&&(this.b=new Yie(E4,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new Yie(E4,this,5,8)),this.c.i!=0);}return fyd(this,a)};_.bi=function xzd(a,b){switch(a){case 3:pzd(this,RD(b,27));return;case 4:!this.b&&(this.b=new Yie(E4,this,4,7));sLd(this.b);!this.b&&(this.b=new Yie(E4,this,4,7));YGd(this.b,RD(b,16));return;case 5:!this.c&&(this.c=new Yie(E4,this,5,8));sLd(this.c);!this.c&&(this.c=new Yie(E4,this,5,8));YGd(this.c,RD(b,16));return;case 6:!this.a&&(this.a=new C5d(F4,this,6,6));sLd(this.a);!this.a&&(this.a=new C5d(F4,this,6,6));YGd(this.a,RD(b,16));return;}gyd(this,a,b);};_.ii=function yzd(){return pvd(),gvd};_.ki=function zzd(a){switch(a){case 3:pzd(this,null);return;case 4:!this.b&&(this.b=new Yie(E4,this,4,7));sLd(this.b);return;case 5:!this.c&&(this.c=new Yie(E4,this,5,8));sLd(this.c);return;case 6:!this.a&&(this.a=new C5d(F4,this,6,6));sLd(this.a);return;}hyd(this,a);};_.Ib=function Azd(){return qzd(this)};sfb(THe,'ElkEdgeImpl',326);feb(452,2083,{110:1,342:1,166:1,452:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},Rzd);_.Ah=function Szd(a){return Czd(this,a)};_.Lh=function Tzd(a,b,c){switch(a){case 1:return this.j;case 2:return this.k;case 3:return this.b;case 4:return this.c;case 5:return !this.a&&(this.a=new XZd(D4,this,5)),this.a;case 6:return Fzd(this);case 7:if(b)return Ezd(this);return this.i;case 8:if(b)return Dzd(this);return this.f;case 9:return !this.g&&(this.g=new Yie(F4,this,9,10)),this.g;case 10:return !this.e&&(this.e=new Yie(F4,this,10,9)),this.e;case 11:return this.d;}return Axd(this,a,b,c)};_.Sh=function Uzd(a,b,c){var d,e,f;switch(b){case 6:!!this.Cb&&(c=(e=this.Db>>16,e>=0?Czd(this,c):this.Cb.Th(this,-1-e,null,c)));return Bzd(this,RD(a,74),c);case 9:return !this.g&&(this.g=new Yie(F4,this,9,10)),qLd(this.g,a,c);case 10:return !this.e&&(this.e=new Yie(F4,this,10,9)),qLd(this.e,a,c);}return f=RD(vYd((d=RD(Ywd(this,16),29),!d?(pvd(),hvd):d),b),69),f.wk().zk(this,Wwd(this),b-AYd((pvd(),hvd)),a,c)};_.Uh=function Vzd(a,b,c){switch(b){case 5:return !this.a&&(this.a=new XZd(D4,this,5)),rLd(this.a,a,c);case 6:return Bzd(this,null,c);case 9:return !this.g&&(this.g=new Yie(F4,this,9,10)),rLd(this.g,a,c);case 10:return !this.e&&(this.e=new Yie(F4,this,10,9)),rLd(this.e,a,c);}return Bxd(this,a,b,c)};_.Wh=function Wzd(a){switch(a){case 1:return this.j!=0;case 2:return this.k!=0;case 3:return this.b!=0;case 4:return this.c!=0;case 5:return !!this.a&&this.a.i!=0;case 6:return !!Fzd(this);case 7:return !!this.i;case 8:return !!this.f;case 9:return !!this.g&&this.g.i!=0;case 10:return !!this.e&&this.e.i!=0;case 11:return this.d!=null;}return Cxd(this,a)};_.bi=function Xzd(a,b){switch(a){case 1:Ozd(this,Kfb(UD(b)));return;case 2:Pzd(this,Kfb(UD(b)));return;case 3:Hzd(this,Kfb(UD(b)));return;case 4:Izd(this,Kfb(UD(b)));return;case 5:!this.a&&(this.a=new XZd(D4,this,5));sLd(this.a);!this.a&&(this.a=new XZd(D4,this,5));YGd(this.a,RD(b,16));return;case 6:Mzd(this,RD(b,74));return;case 7:Lzd(this,RD(b,84));return;case 8:Kzd(this,RD(b,84));return;case 9:!this.g&&(this.g=new Yie(F4,this,9,10));sLd(this.g);!this.g&&(this.g=new Yie(F4,this,9,10));YGd(this.g,RD(b,16));return;case 10:!this.e&&(this.e=new Yie(F4,this,10,9));sLd(this.e);!this.e&&(this.e=new Yie(F4,this,10,9));YGd(this.e,RD(b,16));return;case 11:Jzd(this,WD(b));return;}Dxd(this,a,b);};_.ii=function Yzd(){return pvd(),hvd};_.ki=function Zzd(a){switch(a){case 1:Ozd(this,0);return;case 2:Pzd(this,0);return;case 3:Hzd(this,0);return;case 4:Izd(this,0);return;case 5:!this.a&&(this.a=new XZd(D4,this,5));sLd(this.a);return;case 6:Mzd(this,null);return;case 7:Lzd(this,null);return;case 8:Kzd(this,null);return;case 9:!this.g&&(this.g=new Yie(F4,this,9,10));sLd(this.g);return;case 10:!this.e&&(this.e=new Yie(F4,this,10,9));sLd(this.e);return;case 11:Jzd(this,null);return;}Exd(this,a);};_.Ib=function $zd(){return Qzd(this)};_.b=0;_.c=0;_.d=null;_.j=0;_.k=0;sfb(THe,'ElkEdgeSectionImpl',452);feb(158,120,{110:1,94:1,93:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1});_.Lh=function cAd(a,b,c){var d;if(a==0){return !this.Ab&&(this.Ab=new C5d(f7,this,0,3)),this.Ab}return zvd(this,a-AYd(this.ii()),vYd((d=RD(Ywd(this,16),29),!d?this.ii():d),a),b,c)};_.Sh=function dAd(a,b,c){var d,e;if(b==0){return !this.Ab&&(this.Ab=new C5d(f7,this,0,3)),qLd(this.Ab,a,c)}return e=RD(vYd((d=RD(Ywd(this,16),29),!d?this.ii():d),b),69),e.wk().zk(this,Wwd(this),b-AYd(this.ii()),a,c)};_.Uh=function eAd(a,b,c){var d,e;if(b==0){return !this.Ab&&(this.Ab=new C5d(f7,this,0,3)),rLd(this.Ab,a,c)}return e=RD(vYd((d=RD(Ywd(this,16),29),!d?this.ii():d),b),69),e.wk().Ak(this,Wwd(this),b-AYd(this.ii()),a,c)};_.Wh=function fAd(a){var b;if(a==0){return !!this.Ab&&this.Ab.i!=0}return Avd(this,a-AYd(this.ii()),vYd((b=RD(Ywd(this,16),29),!b?this.ii():b),a))};_.Zh=function gAd(a){return _zd(this,a)};_.bi=function hAd(a,b){var c;switch(a){case 0:!this.Ab&&(this.Ab=new C5d(f7,this,0,3));sLd(this.Ab);!this.Ab&&(this.Ab=new C5d(f7,this,0,3));YGd(this.Ab,RD(b,16));return;}Bvd(this,a-AYd(this.ii()),vYd((c=RD(Ywd(this,16),29),!c?this.ii():c),a),b);};_.di=function iAd(a){$wd(this,128,a);};_.ii=function jAd(){return JTd(),xTd};_.ki=function kAd(a){var b;switch(a){case 0:!this.Ab&&(this.Ab=new C5d(f7,this,0,3));sLd(this.Ab);return;}Cvd(this,a-AYd(this.ii()),vYd((b=RD(Ywd(this,16),29),!b?this.ii():b),a));};_.pi=function lAd(){this.Bb|=1;};_.qi=function mAd(a){return bAd(this,a)};_.Bb=0;sfb(SHe,'EModelElementImpl',158);feb(720,158,{110:1,94:1,93:1,480:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1},yAd);_.ri=function zAd(a,b){return tAd(this,a,b)};_.si=function AAd(a){var b,c,d,e,f;if(this.a!=BXd(a)||(a.Bb&256)!=0){throw Adb(new agb(ZHe+a.zb+WHe))}for(d=zYd(a);tYd(d.a).i!=0;){c=RD(N_d(d,0,(b=RD(QHd(tYd(d.a),0),89),f=b.c,ZD(f,90)?RD(f,29):(JTd(),zTd))),29);if(DXd(c)){e=BXd(c).wi().si(c);RD(e,54).ci(a);return e}d=zYd(c);}return (a.D!=null?a.D:a.B)=='java.util.Map$Entry'?new LUd(a):new zUd(a)};_.ti=function BAd(a,b){return uAd(this,a,b)};_.Lh=function CAd(a,b,c){var d;switch(a){case 0:return !this.Ab&&(this.Ab=new C5d(f7,this,0,3)),this.Ab;case 1:return this.a;}return zvd(this,a-AYd((JTd(),uTd)),vYd((d=RD(Ywd(this,16),29),!d?uTd:d),a),b,c)};_.Sh=function DAd(a,b,c){var d,e;switch(b){case 0:return !this.Ab&&(this.Ab=new C5d(f7,this,0,3)),qLd(this.Ab,a,c);case 1:!!this.a&&(c=RD(this.a,54).Th(this,4,t7,c));return rAd(this,RD(a,241),c);}return e=RD(vYd((d=RD(Ywd(this,16),29),!d?(JTd(),uTd):d),b),69),e.wk().zk(this,Wwd(this),b-AYd((JTd(),uTd)),a,c)};_.Uh=function EAd(a,b,c){var d,e;switch(b){case 0:return !this.Ab&&(this.Ab=new C5d(f7,this,0,3)),rLd(this.Ab,a,c);case 1:return rAd(this,null,c);}return e=RD(vYd((d=RD(Ywd(this,16),29),!d?(JTd(),uTd):d),b),69),e.wk().Ak(this,Wwd(this),b-AYd((JTd(),uTd)),a,c)};_.Wh=function FAd(a){var b;switch(a){case 0:return !!this.Ab&&this.Ab.i!=0;case 1:return !!this.a;}return Avd(this,a-AYd((JTd(),uTd)),vYd((b=RD(Ywd(this,16),29),!b?uTd:b),a))};_.bi=function GAd(a,b){var c;switch(a){case 0:!this.Ab&&(this.Ab=new C5d(f7,this,0,3));sLd(this.Ab);!this.Ab&&(this.Ab=new C5d(f7,this,0,3));YGd(this.Ab,RD(b,16));return;case 1:wAd(this,RD(b,241));return;}Bvd(this,a-AYd((JTd(),uTd)),vYd((c=RD(Ywd(this,16),29),!c?uTd:c),a),b);};_.ii=function HAd(){return JTd(),uTd};_.ki=function IAd(a){var b;switch(a){case 0:!this.Ab&&(this.Ab=new C5d(f7,this,0,3));sLd(this.Ab);return;case 1:wAd(this,null);return;}Cvd(this,a-AYd((JTd(),uTd)),vYd((b=RD(Ywd(this,16),29),!b?uTd:b),a));};var nAd,oAd,pAd;sfb(SHe,'EFactoryImpl',720);feb(1037,720,{110:1,2113:1,94:1,93:1,480:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1},KAd);_.ri=function LAd(a,b){switch(a.hk()){case 12:return RD(b,149).Pg();case 13:return jeb(b);default:throw Adb(new agb(VHe+a.xe()+WHe));}};_.si=function MAd(a){var b,c,d,e,f,g,h,i;switch(a.G==-1&&(a.G=(b=BXd(a),b?fZd(b.vi(),a):-1)),a.G){case 4:return f=new hCd,f;case 6:return g=new ACd,g;case 7:return h=new PCd,h;case 8:return d=new rzd,d;case 9:return c=new Xxd,c;case 10:return e=new Rzd,e;case 11:return i=new _Cd,i;default:throw Adb(new agb(ZHe+a.zb+WHe));}};_.ti=function NAd(a,b){switch(a.hk()){case 13:case 12:return null;default:throw Adb(new agb(VHe+a.xe()+WHe));}};sfb(THe,'ElkGraphFactoryImpl',1037);feb(448,158,{110:1,94:1,93:1,155:1,197:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1});_.Gh=function RAd(){var a,b;b=(a=RD(Ywd(this,16),29),P$d(rYd(!a?this.ii():a)));return b==null?(N2d(),N2d(),M2d):new e3d(this,b)};_.Lh=function SAd(a,b,c){var d;switch(a){case 0:return !this.Ab&&(this.Ab=new C5d(f7,this,0,3)),this.Ab;case 1:return this.xe();}return zvd(this,a-AYd(this.ii()),vYd((d=RD(Ywd(this,16),29),!d?this.ii():d),a),b,c)};_.Wh=function TAd(a){var b;switch(a){case 0:return !!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;}return Avd(this,a-AYd(this.ii()),vYd((b=RD(Ywd(this,16),29),!b?this.ii():b),a))};_.bi=function UAd(a,b){var c;switch(a){case 0:!this.Ab&&(this.Ab=new C5d(f7,this,0,3));sLd(this.Ab);!this.Ab&&(this.Ab=new C5d(f7,this,0,3));YGd(this.Ab,RD(b,16));return;case 1:this.ui(WD(b));return;}Bvd(this,a-AYd(this.ii()),vYd((c=RD(Ywd(this,16),29),!c?this.ii():c),a),b);};_.ii=function VAd(){return JTd(),yTd};_.ki=function WAd(a){var b;switch(a){case 0:!this.Ab&&(this.Ab=new C5d(f7,this,0,3));sLd(this.Ab);return;case 1:this.ui(null);return;}Cvd(this,a-AYd(this.ii()),vYd((b=RD(Ywd(this,16),29),!b?this.ii():b),a));};_.xe=function XAd(){return this.zb};_.ui=function YAd(a){PAd(this,a);};_.Ib=function ZAd(){return QAd(this)};_.zb=null;sfb(SHe,'ENamedElementImpl',448);feb(184,448,{110:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,54:1,99:1,158:1,184:1,119:1,120:1,690:1},EBd);_.Ah=function GBd(a){return qBd(this,a)};_.Lh=function HBd(a,b,c){var d;switch(a){case 0:return !this.Ab&&(this.Ab=new C5d(f7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.yb;case 3:return this.xb;case 4:return this.sb;case 5:return !this.rb&&(this.rb=new J5d(this,i7,this)),this.rb;case 6:return !this.vb&&(this.vb=new G5d(t7,this,6,7)),this.vb;case 7:if(b)return this.Db>>16==7?RD(this.Cb,241):null;return gBd(this);}return zvd(this,a-AYd((JTd(),CTd)),vYd((d=RD(Ywd(this,16),29),!d?CTd:d),a),b,c)};_.Sh=function IBd(a,b,c){var d,e,f;switch(b){case 0:return !this.Ab&&(this.Ab=new C5d(f7,this,0,3)),qLd(this.Ab,a,c);case 4:!!this.sb&&(c=RD(this.sb,54).Th(this,1,n7,c));return hBd(this,RD(a,480),c);case 5:return !this.rb&&(this.rb=new J5d(this,i7,this)),qLd(this.rb,a,c);case 6:return !this.vb&&(this.vb=new G5d(t7,this,6,7)),qLd(this.vb,a,c);case 7:!!this.Cb&&(c=(e=this.Db>>16,e>=0?qBd(this,c):this.Cb.Th(this,-1-e,null,c)));return xvd(this,a,7,c);}return f=RD(vYd((d=RD(Ywd(this,16),29),!d?(JTd(),CTd):d),b),69),f.wk().zk(this,Wwd(this),b-AYd((JTd(),CTd)),a,c)};_.Uh=function JBd(a,b,c){var d,e;switch(b){case 0:return !this.Ab&&(this.Ab=new C5d(f7,this,0,3)),rLd(this.Ab,a,c);case 4:return hBd(this,null,c);case 5:return !this.rb&&(this.rb=new J5d(this,i7,this)),rLd(this.rb,a,c);case 6:return !this.vb&&(this.vb=new G5d(t7,this,6,7)),rLd(this.vb,a,c);case 7:return xvd(this,null,7,c);}return e=RD(vYd((d=RD(Ywd(this,16),29),!d?(JTd(),CTd):d),b),69),e.wk().Ak(this,Wwd(this),b-AYd((JTd(),CTd)),a,c)};_.Wh=function KBd(a){var b;switch(a){case 0:return !!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.yb!=null;case 3:return this.xb!=null;case 4:return !!this.sb;case 5:return !!this.rb&&this.rb.i!=0;case 6:return !!this.vb&&this.vb.i!=0;case 7:return !!gBd(this);}return Avd(this,a-AYd((JTd(),CTd)),vYd((b=RD(Ywd(this,16),29),!b?CTd:b),a))};_.Zh=function LBd(a){var b;b=sBd(this,a);return b?b:_zd(this,a)};_.bi=function MBd(a,b){var c;switch(a){case 0:!this.Ab&&(this.Ab=new C5d(f7,this,0,3));sLd(this.Ab);!this.Ab&&(this.Ab=new C5d(f7,this,0,3));YGd(this.Ab,RD(b,16));return;case 1:PAd(this,WD(b));return;case 2:DBd(this,WD(b));return;case 3:CBd(this,WD(b));return;case 4:BBd(this,RD(b,480));return;case 5:!this.rb&&(this.rb=new J5d(this,i7,this));sLd(this.rb);!this.rb&&(this.rb=new J5d(this,i7,this));YGd(this.rb,RD(b,16));return;case 6:!this.vb&&(this.vb=new G5d(t7,this,6,7));sLd(this.vb);!this.vb&&(this.vb=new G5d(t7,this,6,7));YGd(this.vb,RD(b,16));return;}Bvd(this,a-AYd((JTd(),CTd)),vYd((c=RD(Ywd(this,16),29),!c?CTd:c),a),b);};_.ei=function NBd(a){var b,c;if(!!a&&!!this.rb){for(c=new dMd(this.rb);c.e!=c.i.gc();){b=bMd(c);ZD(b,364)&&(RD(b,364).w=null);}}$wd(this,64,a);};_.ii=function OBd(){return JTd(),CTd};_.ki=function PBd(a){var b;switch(a){case 0:!this.Ab&&(this.Ab=new C5d(f7,this,0,3));sLd(this.Ab);return;case 1:PAd(this,null);return;case 2:DBd(this,null);return;case 3:CBd(this,null);return;case 4:BBd(this,null);return;case 5:!this.rb&&(this.rb=new J5d(this,i7,this));sLd(this.rb);return;case 6:!this.vb&&(this.vb=new G5d(t7,this,6,7));sLd(this.vb);return;}Cvd(this,a-AYd((JTd(),CTd)),vYd((b=RD(Ywd(this,16),29),!b?CTd:b),a));};_.pi=function QBd(){rBd(this);};_.vi=function RBd(){return !this.rb&&(this.rb=new J5d(this,i7,this)),this.rb};_.wi=function SBd(){return this.sb};_.xi=function TBd(){return this.ub};_.yi=function UBd(){return this.xb};_.zi=function VBd(){return this.yb};_.Ai=function WBd(a){this.ub=a;};_.Ib=function XBd(){var a;if((this.Db&64)!=0)return QAd(this);a=new Shb(QAd(this));a.a+=' (nsURI: ';Nhb(a,this.yb);a.a+=', nsPrefix: ';Nhb(a,this.xb);a.a+=')';return a.a};_.xb=null;_.yb=null;sfb(SHe,'EPackageImpl',184);feb(569,184,{110:1,2115:1,569:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,54:1,99:1,158:1,184:1,119:1,120:1,690:1},_Bd);_.q=false;_.r=false;var YBd=false;sfb(THe,'ElkGraphPackageImpl',569);feb(366,740,{110:1,342:1,167:1,135:1,422:1,366:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},hCd);_.Ah=function iCd(a){return cCd(this,a)};_.Lh=function jCd(a,b,c){switch(a){case 7:return dCd(this);case 8:return this.a;}return vyd(this,a,b,c)};_.Sh=function kCd(a,b,c){var d;switch(b){case 7:!!this.Cb&&(c=(d=this.Db>>16,d>=0?cCd(this,c):this.Cb.Th(this,-1-d,null,c)));return bCd(this,RD(a,167),c);}return dyd(this,a,b,c)};_.Uh=function lCd(a,b,c){if(b==7){return bCd(this,null,c)}return eyd(this,a,b,c)};_.Wh=function mCd(a){switch(a){case 7:return !!dCd(this);case 8:return !lhb('',this.a);}return wyd(this,a)};_.bi=function nCd(a,b){switch(a){case 7:eCd(this,RD(b,167));return;case 8:fCd(this,WD(b));return;}xyd(this,a,b);};_.ii=function oCd(){return pvd(),jvd};_.ki=function pCd(a){switch(a){case 7:eCd(this,null);return;case 8:fCd(this,'');return;}yyd(this,a);};_.Ib=function qCd(){return gCd(this)};_.a='';sfb(THe,'ElkLabelImpl',366);feb(207,741,{110:1,342:1,84:1,167:1,27:1,422:1,207:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},ACd);_.Ah=function BCd(a){return sCd(this,a)};_.Lh=function CCd(a,b,c){switch(a){case 9:return !this.c&&(this.c=new C5d(K4,this,9,9)),this.c;case 10:return !this.a&&(this.a=new C5d(J4,this,10,11)),this.a;case 11:return vCd(this);case 12:return !this.b&&(this.b=new C5d(G4,this,12,3)),this.b;case 13:return Geb(),!this.a&&(this.a=new C5d(J4,this,10,11)),this.a.i>0?true:false;}return Uyd(this,a,b,c)};_.Sh=function DCd(a,b,c){var d;switch(b){case 9:return !this.c&&(this.c=new C5d(K4,this,9,9)),qLd(this.c,a,c);case 10:return !this.a&&(this.a=new C5d(J4,this,10,11)),qLd(this.a,a,c);case 11:!!this.Cb&&(c=(d=this.Db>>16,d>=0?sCd(this,c):this.Cb.Th(this,-1-d,null,c)));return rCd(this,RD(a,27),c);case 12:return !this.b&&(this.b=new C5d(G4,this,12,3)),qLd(this.b,a,c);}return Vyd(this,a,b,c)};_.Uh=function ECd(a,b,c){switch(b){case 9:return !this.c&&(this.c=new C5d(K4,this,9,9)),rLd(this.c,a,c);case 10:return !this.a&&(this.a=new C5d(J4,this,10,11)),rLd(this.a,a,c);case 11:return rCd(this,null,c);case 12:return !this.b&&(this.b=new C5d(G4,this,12,3)),rLd(this.b,a,c);}return Wyd(this,a,b,c)};_.Wh=function FCd(a){switch(a){case 9:return !!this.c&&this.c.i!=0;case 10:return !!this.a&&this.a.i!=0;case 11:return !!vCd(this);case 12:return !!this.b&&this.b.i!=0;case 13:return !this.a&&(this.a=new C5d(J4,this,10,11)),this.a.i>0;}return Xyd(this,a)};_.bi=function GCd(a,b){switch(a){case 9:!this.c&&(this.c=new C5d(K4,this,9,9));sLd(this.c);!this.c&&(this.c=new C5d(K4,this,9,9));YGd(this.c,RD(b,16));return;case 10:!this.a&&(this.a=new C5d(J4,this,10,11));sLd(this.a);!this.a&&(this.a=new C5d(J4,this,10,11));YGd(this.a,RD(b,16));return;case 11:yCd(this,RD(b,27));return;case 12:!this.b&&(this.b=new C5d(G4,this,12,3));sLd(this.b);!this.b&&(this.b=new C5d(G4,this,12,3));YGd(this.b,RD(b,16));return;}Yyd(this,a,b);};_.ii=function HCd(){return pvd(),kvd};_.ki=function ICd(a){switch(a){case 9:!this.c&&(this.c=new C5d(K4,this,9,9));sLd(this.c);return;case 10:!this.a&&(this.a=new C5d(J4,this,10,11));sLd(this.a);return;case 11:yCd(this,null);return;case 12:!this.b&&(this.b=new C5d(G4,this,12,3));sLd(this.b);return;}Zyd(this,a);};_.Ib=function JCd(){return zCd(this)};sfb(THe,'ElkNodeImpl',207);feb(193,741,{110:1,342:1,84:1,167:1,123:1,422:1,193:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},PCd);_.Ah=function QCd(a){return LCd(this,a)};_.Lh=function RCd(a,b,c){if(a==9){return MCd(this)}return Uyd(this,a,b,c)};_.Sh=function SCd(a,b,c){var d;switch(b){case 9:!!this.Cb&&(c=(d=this.Db>>16,d>=0?LCd(this,c):this.Cb.Th(this,-1-d,null,c)));return KCd(this,RD(a,27),c);}return Vyd(this,a,b,c)};_.Uh=function TCd(a,b,c){if(b==9){return KCd(this,null,c)}return Wyd(this,a,b,c)};_.Wh=function UCd(a){if(a==9){return !!MCd(this)}return Xyd(this,a)};_.bi=function VCd(a,b){switch(a){case 9:NCd(this,RD(b,27));return;}Yyd(this,a,b);};_.ii=function WCd(){return pvd(),lvd};_.ki=function XCd(a){switch(a){case 9:NCd(this,null);return;}Zyd(this,a);};_.Ib=function YCd(){return OCd(this)};sfb(THe,'ElkPortImpl',193);var O6=ufb(sIe,'BasicEMap/Entry');feb(1122,120,{110:1,44:1,94:1,93:1,136:1,58:1,114:1,54:1,99:1,119:1,120:1},_Cd);_.Fb=function fDd(a){return this===a};_.ld=function hDd(){return this.b};_.Hb=function jDd(){return kFb(this)};_.Di=function lDd(a){ZCd(this,RD(a,149));};_.Lh=function aDd(a,b,c){switch(a){case 0:return this.b;case 1:return this.c;}return Dvd(this,a,b,c)};_.Wh=function bDd(a){switch(a){case 0:return !!this.b;case 1:return this.c!=null;}return Kvd(this,a)};_.bi=function cDd(a,b){switch(a){case 0:ZCd(this,RD(b,149));return;case 1:$Cd(this,b);return;}Wvd(this,a,b);};_.ii=function dDd(){return pvd(),mvd};_.ki=function eDd(a){switch(a){case 0:ZCd(this,null);return;case 1:$Cd(this,null);return;}$vd(this,a);};_.Bi=function gDd(){var a;if(this.a==-1){a=this.b;this.a=!a?0:tb(a);}return this.a};_.md=function iDd(){return this.c};_.Ci=function kDd(a){this.a=a;};_.nd=function mDd(a){var b;b=this.c;$Cd(this,a);return b};_.Ib=function nDd(){var a;if((this.Db&64)!=0)return awd(this);a=new bib;Zhb(Zhb(Zhb(a,this.b?this.b.Pg():vve),SAe),Ghb(this.c));return a.a};_.a=-1;_.c=null;var X4=sfb(THe,'ElkPropertyToValueMapEntryImpl',1122);feb(996,1,{},BDd);sfb(vIe,'JsonAdapter',996);feb(216,63,swe,CDd);sfb(vIe,'JsonImportException',216);feb(868,1,{},IEd);sfb(vIe,'JsonImporter',868);feb(903,1,{},JEd);sfb(vIe,'JsonImporter/lambda$0$Type',903);feb(904,1,{},KEd);sfb(vIe,'JsonImporter/lambda$1$Type',904);feb(912,1,{},LEd);sfb(vIe,'JsonImporter/lambda$10$Type',912);feb(914,1,{},MEd);sfb(vIe,'JsonImporter/lambda$11$Type',914);feb(915,1,{},NEd);sfb(vIe,'JsonImporter/lambda$12$Type',915);feb(921,1,{},OEd);sfb(vIe,'JsonImporter/lambda$13$Type',921);feb(920,1,{},PEd);sfb(vIe,'JsonImporter/lambda$14$Type',920);feb(916,1,{},QEd);sfb(vIe,'JsonImporter/lambda$15$Type',916);feb(917,1,{},REd);sfb(vIe,'JsonImporter/lambda$16$Type',917);feb(918,1,{},SEd);sfb(vIe,'JsonImporter/lambda$17$Type',918);feb(919,1,{},TEd);sfb(vIe,'JsonImporter/lambda$18$Type',919);feb(924,1,{},UEd);sfb(vIe,'JsonImporter/lambda$19$Type',924);feb(905,1,{},VEd);sfb(vIe,'JsonImporter/lambda$2$Type',905);feb(922,1,{},WEd);sfb(vIe,'JsonImporter/lambda$20$Type',922);feb(923,1,{},XEd);sfb(vIe,'JsonImporter/lambda$21$Type',923);feb(927,1,{},YEd);sfb(vIe,'JsonImporter/lambda$22$Type',927);feb(925,1,{},ZEd);sfb(vIe,'JsonImporter/lambda$23$Type',925);feb(926,1,{},$Ed);sfb(vIe,'JsonImporter/lambda$24$Type',926);feb(929,1,{},_Ed);sfb(vIe,'JsonImporter/lambda$25$Type',929);feb(928,1,{},aFd);sfb(vIe,'JsonImporter/lambda$26$Type',928);feb(930,1,Qve,bFd);_.Cd=function cFd(a){_Dd(this.b,this.a,WD(a));};sfb(vIe,'JsonImporter/lambda$27$Type',930);feb(931,1,Qve,dFd);_.Cd=function eFd(a){aEd(this.b,this.a,WD(a));};sfb(vIe,'JsonImporter/lambda$28$Type',931);feb(932,1,{},fFd);sfb(vIe,'JsonImporter/lambda$29$Type',932);feb(908,1,{},gFd);sfb(vIe,'JsonImporter/lambda$3$Type',908);feb(933,1,{},hFd);sfb(vIe,'JsonImporter/lambda$30$Type',933);feb(934,1,{},iFd);sfb(vIe,'JsonImporter/lambda$31$Type',934);feb(935,1,{},jFd);sfb(vIe,'JsonImporter/lambda$32$Type',935);feb(936,1,{},kFd);sfb(vIe,'JsonImporter/lambda$33$Type',936);feb(937,1,{},lFd);sfb(vIe,'JsonImporter/lambda$34$Type',937);feb(870,1,{},nFd);sfb(vIe,'JsonImporter/lambda$35$Type',870);feb(941,1,{},pFd);sfb(vIe,'JsonImporter/lambda$36$Type',941);feb(938,1,Qve,qFd);_.Cd=function rFd(a){jEd(this.a,RD(a,377));};sfb(vIe,'JsonImporter/lambda$37$Type',938);feb(939,1,Qve,sFd);_.Cd=function tFd(a){kEd(this.a,this.b,RD(a,166));};sfb(vIe,'JsonImporter/lambda$38$Type',939);feb(940,1,Qve,uFd);_.Cd=function vFd(a){lEd(this.a,this.b,RD(a,166));};sfb(vIe,'JsonImporter/lambda$39$Type',940);feb(906,1,{},wFd);sfb(vIe,'JsonImporter/lambda$4$Type',906);feb(942,1,Qve,xFd);_.Cd=function yFd(a){mEd(this.a,RD(a,8));};sfb(vIe,'JsonImporter/lambda$40$Type',942);feb(907,1,{},zFd);sfb(vIe,'JsonImporter/lambda$5$Type',907);feb(911,1,{},AFd);sfb(vIe,'JsonImporter/lambda$6$Type',911);feb(909,1,{},BFd);sfb(vIe,'JsonImporter/lambda$7$Type',909);feb(910,1,{},CFd);sfb(vIe,'JsonImporter/lambda$8$Type',910);feb(913,1,{},DFd);sfb(vIe,'JsonImporter/lambda$9$Type',913);feb(961,1,Qve,MFd);_.Cd=function NFd(a){oDd(this.a,new OC(WD(a)));};sfb(vIe,'JsonMetaDataConverter/lambda$0$Type',961);feb(962,1,Qve,OFd);_.Cd=function PFd(a){IFd(this.a,RD(a,245));};sfb(vIe,'JsonMetaDataConverter/lambda$1$Type',962);feb(963,1,Qve,QFd);_.Cd=function RFd(a){JFd(this.a,RD(a,143));};sfb(vIe,'JsonMetaDataConverter/lambda$2$Type',963);feb(964,1,Qve,SFd);_.Cd=function TFd(a){KFd(this.a,RD(a,170));};sfb(vIe,'JsonMetaDataConverter/lambda$3$Type',964);feb(245,22,{3:1,34:1,22:1,245:1},bGd);var UFd,VFd,WFd,XFd,YFd,ZFd,$Fd,_Fd;var T5=tfb(jze,'GraphFeature',245,WI,dGd,cGd);var eGd;feb(11,1,{34:1,149:1},jGd,kGd,lGd,mGd);_.Fd=function nGd(a){return gGd(this,RD(a,149))};_.Fb=function oGd(a){return hGd(this,a)};_.Sg=function pGd(){return iGd(this)};_.Pg=function qGd(){return this.b};_.Hb=function rGd(){return ohb(this.b)};_.Ib=function sGd(){return this.b};sfb(jze,'Property',11);feb(671,1,fye,uGd);_.Ne=function vGd(a,b){return tGd(this,RD(a,96),RD(b,96))};_.Fb=function wGd(a){return this===a};_.Oe=function xGd(){return new Frb(this)};sfb(jze,'PropertyHolderComparator',671);feb(709,1,Ave,QGd);_.Nb=function RGd(a){Ztb(this,a);};_.Pb=function TGd(){return PGd(this)};_.Qb=function UGd(){$tb();};_.Ob=function SGd(){return !!this.a};sfb(KIe,'ElkGraphUtil/AncestorIterator',709);var Y6=ufb(sIe,'EList');feb(70,56,{20:1,31:1,56:1,16:1,15:1,70:1,61:1});_.bd=function hHd(a,b){VGd(this,a,b);};_.Fc=function iHd(a){return WGd(this,a)};_.cd=function jHd(a,b){return XGd(this,a,b)};_.Gc=function kHd(a){return YGd(this,a)};_.Ii=function lHd(){return new yMd(this)};_.Ji=function mHd(){return new BMd(this)};_.Ki=function nHd(a){return ZGd(this,a)};_.Li=function oHd(){return true};_.Mi=function pHd(a,b){};_.Ni=function qHd(){};_.Oi=function rHd(a,b){$Gd(this,a,b);};_.Pi=function sHd(a,b,c){};_.Qi=function tHd(a,b){};_.Ri=function uHd(a,b,c){};_.Fb=function vHd(a){return _Gd(this,a)};_.Hb=function wHd(){return cHd(this)};_.Si=function xHd(){return false};_.Kc=function yHd(){return new dMd(this)};_.ed=function zHd(){return new mMd(this)};_.fd=function AHd(a){var b;b=this.gc();if(a<0||a>b)throw Adb(new aMd(a,b));return new nMd(this,a)};_.Ui=function BHd(a,b){this.Ti(a,this.dd(b));};_.Mc=function CHd(a){return dHd(this,a)};_.Wi=function DHd(a,b){return b};_.hd=function EHd(a,b){return eHd(this,a,b)};_.Ib=function FHd(){return fHd(this)};_.Yi=function GHd(){return true};_.Zi=function HHd(a,b){return gHd(this,b)};sfb(sIe,'AbstractEList',70);feb(66,70,PIe,YHd,ZHd,$Hd);_.Ei=function _Hd(a,b){return IHd(this,a,b)};_.Fi=function aId(a){return JHd(this,a)};_.Gi=function bId(a,b){KHd(this,a,b);};_.Hi=function cId(a){LHd(this,a);};_.$i=function dId(a){return NHd(this,a)};_.$b=function eId(){OHd(this);};_.Hc=function fId(a){return PHd(this,a)};_.Xb=function gId(a){return QHd(this,a)};_._i=function hId(a){var b,c,d;++this.j;c=this.g==null?0:this.g.length;if(a>c){d=this.g;b=c+(c/2|0)+4;b=0){this.gd(b);return true}else {return false}};_.Xi=function LJd(a,b){return this.Dj(a,this.Zi(a,b))};_.gc=function MJd(){return this.Ej()};_.Pc=function NJd(){return this.Fj()};_.Qc=function OJd(a){return this.Gj(a)};_.Ib=function PJd(){return this.Hj()};sfb(sIe,'DelegatingEList',2093);feb(2094,2093,FJe);_.Ei=function XJd(a,b){return QJd(this,a,b)};_.Fi=function YJd(a){return this.Ei(this.Ej(),a)};_.Gi=function ZJd(a,b){RJd(this,a,b);};_.Hi=function $Jd(a){SJd(this,a);};_.Li=function _Jd(){return !this.Mj()};_.$b=function aKd(){VJd(this);};_.Ij=function bKd(a,b,c,d,e){return new aLd(this,a,b,c,d,e)};_.Jj=function cKd(a){qvd(this.jj(),a);};_.Kj=function dKd(){return null};_.Lj=function eKd(){return -1};_.jj=function fKd(){return null};_.Mj=function gKd(){return false};_.Nj=function hKd(a,b){return b};_.Oj=function iKd(a,b){return b};_.Pj=function jKd(){return false};_.Qj=function kKd(){return !this.Aj()};_.Ti=function lKd(a,b){var c,d;if(this.Pj()){d=this.Qj();c=bJd(this,a,b);this.Jj(this.Ij(7,sgb(b),c,a,d));return c}else {return bJd(this,a,b)}};_.gd=function mKd(a){var b,c,d,e;if(this.Pj()){c=null;d=this.Qj();b=this.Ij(4,e=cJd(this,a),null,a,d);if(this.Mj()&&!!e){c=this.Oj(e,c);if(!c){this.Jj(b);}else {c.nj(b);c.oj();}}else {if(!c){this.Jj(b);}else {c.nj(b);c.oj();}}return e}else {e=cJd(this,a);if(this.Mj()&&!!e){c=this.Oj(e,null);!!c&&c.oj();}return e}};_.Xi=function nKd(a,b){return WJd(this,a,b)};sfb(JHe,'DelegatingNotifyingListImpl',2094);feb(152,1,GJe);_.nj=function PKd(a){return oKd(this,a)};_.oj=function QKd(){pKd(this);};_.gj=function RKd(){return this.d};_.Kj=function SKd(){return null};_.Rj=function TKd(){return null};_.hj=function UKd(a){return -1};_.ij=function VKd(){return yKd(this)};_.jj=function WKd(){return null};_.kj=function XKd(){return HKd(this)};_.lj=function YKd(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o};_.Sj=function ZKd(){return false};_.mj=function $Kd(a){var b,c,d,e,f,g,h,i,j,k,l;switch(this.d){case 1:case 2:{e=a.gj();switch(e){case 1:case 2:{f=a.jj();if(dE(f)===dE(this.jj())&&this.hj(null)==a.hj(null)){this.g=a.ij();a.gj()==1&&(this.d=1);return true}}}}case 4:{e=a.gj();switch(e){case 4:{f=a.jj();if(dE(f)===dE(this.jj())&&this.hj(null)==a.hj(null)){j=JKd(this);i=this.o<0?this.o<-2?-2-this.o-1:-1:this.o;g=a.lj();this.d=6;l=new ZHd(2);if(i<=g){WGd(l,this.n);WGd(l,a.kj());this.g=cD(WC(kE,1),Pwe,28,15,[this.o=i,g+1]);}else {WGd(l,a.kj());WGd(l,this.n);this.g=cD(WC(kE,1),Pwe,28,15,[this.o=g,i]);}this.n=l;j||(this.o=-2-this.o-1);return true}break}}break}case 6:{e=a.gj();switch(e){case 4:{f=a.jj();if(dE(f)===dE(this.jj())&&this.hj(null)==a.hj(null)){j=JKd(this);g=a.lj();k=RD(this.g,53);d=$C(kE,Pwe,28,k.length+1,15,1);b=0;while(b>>0,b.toString(16)));d.a+=' (eventType: ';switch(this.d){case 1:{d.a+='SET';break}case 2:{d.a+='UNSET';break}case 3:{d.a+='ADD';break}case 5:{d.a+='ADD_MANY';break}case 4:{d.a+='REMOVE';break}case 6:{d.a+='REMOVE_MANY';break}case 7:{d.a+='MOVE';break}case 8:{d.a+='REMOVING_ADAPTER';break}case 9:{d.a+='RESOLVE';break}default:{Lhb(d,this.d);break}}IKd(this)&&(d.a+=', touch: true',d);d.a+=', position: ';Lhb(d,this.o<0?this.o<-2?-2-this.o-1:-1:this.o);d.a+=', notifier: ';Mhb(d,this.jj());d.a+=', feature: ';Mhb(d,this.Kj());d.a+=', oldValue: ';Mhb(d,HKd(this));d.a+=', newValue: ';if(this.d==6&&ZD(this.g,53)){c=RD(this.g,53);d.a+='[';for(a=0;a10){if(!this.b||this.c.j!=this.a){this.b=new btb(this);this.a=this.j;}return Zsb(this.b,a)}else {return PHd(this,a)}};_.Yi=function _Ld(){return true};_.a=0;sfb(sIe,'AbstractEList/1',966);feb(302,77,lxe,aMd);sfb(sIe,'AbstractEList/BasicIndexOutOfBoundsException',302);feb(37,1,Ave,dMd);_.Nb=function gMd(a){Ztb(this,a);};_.Xj=function eMd(){if(this.i.j!=this.f){throw Adb(new Jrb)}};_.Yj=function fMd(){return bMd(this)};_.Ob=function hMd(){return this.e!=this.i.gc()};_.Pb=function iMd(){return this.Yj()};_.Qb=function jMd(){cMd(this);};_.e=0;_.f=0;_.g=-1;sfb(sIe,'AbstractEList/EIterator',37);feb(286,37,Jve,mMd,nMd);_.Qb=function vMd(){cMd(this);};_.Rb=function oMd(a){kMd(this,a);};_.Zj=function pMd(){var b;try{b=this.d.Xb(--this.e);this.Xj();this.g=this.e;return b}catch(a){a=zdb(a);if(ZD(a,77)){this.Xj();throw Adb(new Dvb)}else throw Adb(a)}};_.$j=function qMd(a){lMd(this,a);};_.Sb=function rMd(){return this.e!=0};_.Tb=function sMd(){return this.e};_.Ub=function tMd(){return this.Zj()};_.Vb=function uMd(){return this.e-1};_.Wb=function wMd(a){this.$j(a);};sfb(sIe,'AbstractEList/EListIterator',286);feb(355,37,Ave,yMd);_.Yj=function zMd(){return xMd(this)};_.Qb=function AMd(){throw Adb(new jib)};sfb(sIe,'AbstractEList/NonResolvingEIterator',355);feb(398,286,Jve,BMd,CMd);_.Rb=function DMd(a){throw Adb(new jib)};_.Yj=function EMd(){var b;try{b=this.c.Vi(this.e);this.Xj();this.g=this.e++;return b}catch(a){a=zdb(a);if(ZD(a,77)){this.Xj();throw Adb(new Dvb)}else throw Adb(a)}};_.Zj=function FMd(){var b;try{b=this.c.Vi(--this.e);this.Xj();this.g=this.e;return b}catch(a){a=zdb(a);if(ZD(a,77)){this.Xj();throw Adb(new Dvb)}else throw Adb(a)}};_.Qb=function GMd(){throw Adb(new jib)};_.Wb=function HMd(a){throw Adb(new jib)};sfb(sIe,'AbstractEList/NonResolvingEListIterator',398);feb(2080,70,JJe);_.Ei=function PMd(a,b){var c,d,e,f,g,h,i,j,k,l,m;e=b.gc();if(e!=0){j=RD(Ywd(this.a,4),129);k=j==null?0:j.length;m=k+e;d=NMd(this,m);l=k-a;l>0&&hib(j,a,d,a+e,l);i=b.Kc();for(g=0;gc)throw Adb(new aMd(a,c));return new wNd(this,a)};_.$b=function WMd(){var a,b;++this.j;a=RD(Ywd(this.a,4),129);b=a==null?0:a.length;Bde(this,null);$Gd(this,b,a);};_.Hc=function XMd(a){var b,c,d,e,f;b=RD(Ywd(this.a,4),129);if(b!=null){if(a!=null){for(d=b,e=0,f=d.length;e=c)throw Adb(new aMd(a,c));return b[a]};_.dd=function ZMd(a){var b,c,d;b=RD(Ywd(this.a,4),129);if(b!=null){if(a!=null){for(c=0,d=b.length;cc)throw Adb(new aMd(a,c));return new oNd(this,a)};_.Ti=function cNd(a,b){var c,d,e;c=MMd(this);e=c==null?0:c.length;if(a>=e)throw Adb(new veb(MIe+a+NIe+e));if(b>=e)throw Adb(new veb(OIe+b+NIe+e));d=c[b];if(a!=b){a0&&hib(a,0,b,0,c);return b};_.Qc=function iNd(a){var b,c,d;b=RD(Ywd(this.a,4),129);d=b==null?0:b.length;if(d>0){if(a.lengthd&&bD(a,d,null);return a};var JMd;sfb(sIe,'ArrayDelegatingEList',2080);feb(1051,37,Ave,jNd);_.Xj=function kNd(){if(this.b.j!=this.f||dE(RD(Ywd(this.b.a,4),129))!==dE(this.a)){throw Adb(new Jrb)}};_.Qb=function lNd(){cMd(this);this.a=RD(Ywd(this.b.a,4),129);};sfb(sIe,'ArrayDelegatingEList/EIterator',1051);feb(722,286,Jve,nNd,oNd);_.Xj=function pNd(){if(this.b.j!=this.f||dE(RD(Ywd(this.b.a,4),129))!==dE(this.a)){throw Adb(new Jrb)}};_.$j=function qNd(a){lMd(this,a);this.a=RD(Ywd(this.b.a,4),129);};_.Qb=function rNd(){cMd(this);this.a=RD(Ywd(this.b.a,4),129);};sfb(sIe,'ArrayDelegatingEList/EListIterator',722);feb(1052,355,Ave,sNd);_.Xj=function tNd(){if(this.b.j!=this.f||dE(RD(Ywd(this.b.a,4),129))!==dE(this.a)){throw Adb(new Jrb)}};sfb(sIe,'ArrayDelegatingEList/NonResolvingEIterator',1052);feb(723,398,Jve,vNd,wNd);_.Xj=function xNd(){if(this.b.j!=this.f||dE(RD(Ywd(this.b.a,4),129))!==dE(this.a)){throw Adb(new Jrb)}};sfb(sIe,'ArrayDelegatingEList/NonResolvingEListIterator',723);feb(615,302,lxe,yNd);sfb(sIe,'BasicEList/BasicIndexOutOfBoundsException',615);feb(710,66,PIe,zNd);_.bd=function ANd(a,b){throw Adb(new jib)};_.Fc=function BNd(a){throw Adb(new jib)};_.cd=function CNd(a,b){throw Adb(new jib)};_.Gc=function DNd(a){throw Adb(new jib)};_.$b=function ENd(){throw Adb(new jib)};_._i=function FNd(a){throw Adb(new jib)};_.Kc=function GNd(){return this.Ii()};_.ed=function HNd(){return this.Ji()};_.fd=function INd(a){return this.Ki(a)};_.Ti=function JNd(a,b){throw Adb(new jib)};_.Ui=function KNd(a,b){throw Adb(new jib)};_.gd=function LNd(a){throw Adb(new jib)};_.Mc=function MNd(a){throw Adb(new jib)};_.hd=function NNd(a,b){throw Adb(new jib)};sfb(sIe,'BasicEList/UnmodifiableEList',710);feb(721,1,{3:1,20:1,16:1,15:1,61:1,597:1});_.bd=function mOd(a,b){ONd(this,a,RD(b,44));};_.Fc=function nOd(a){return PNd(this,RD(a,44))};_.Jc=function vOd(a){xgb(this,a);};_.Xb=function wOd(a){return RD(QHd(this.c,a),136)};_.Ti=function FOd(a,b){return RD(this.c.Ti(a,b),44)};_.Ui=function GOd(a,b){eOd(this,a,RD(b,44));};_.Lc=function JOd(){return new SDb(null,new Swb(this,16))};_.gd=function KOd(a){return RD(this.c.gd(a),44)};_.hd=function MOd(a,b){return kOd(this,a,RD(b,44))};_.jd=function OOd(a){tvb(this,a);};_.Nc=function POd(){return new Swb(this,16)};_.Oc=function QOd(){return new SDb(null,new Swb(this,16))};_.cd=function oOd(a,b){return this.c.cd(a,b)};_.Gc=function pOd(a){return this.c.Gc(a)};_.$b=function qOd(){this.c.$b();};_.Hc=function rOd(a){return this.c.Hc(a)};_.Ic=function sOd(a){return Be(this.c,a)};_._j=function tOd(){var a,b,c;if(this.d==null){this.d=$C(D6,KJe,66,2*this.f+1,0,1);c=this.e;this.f=0;for(b=this.c.Kc();b.e!=b.i.gc();){a=RD(b.Yj(),136);UNd(this,a);}this.e=c;}};_.Fb=function uOd(a){return ZNd(this,a)};_.Hb=function xOd(){return cHd(this.c)};_.dd=function yOd(a){return this.c.dd(a)};_.ak=function zOd(){this.c=new YOd(this);};_.dc=function AOd(){return this.f==0};_.Kc=function BOd(){return this.c.Kc()};_.ed=function COd(){return this.c.ed()};_.fd=function DOd(a){return this.c.fd(a)};_.bk=function EOd(){return dOd(this)};_.ck=function HOd(a,b,c){return new ZPd(a,b,c)};_.dk=function IOd(){return new cPd};_.Mc=function LOd(a){return hOd(this,a)};_.gc=function NOd(){return this.f};_.kd=function ROd(a,b){return new Rkb(this.c,a,b)};_.Pc=function SOd(){return this.c.Pc()};_.Qc=function TOd(a){return this.c.Qc(a)};_.Ib=function UOd(){return fHd(this.c)};_.e=0;_.f=0;sfb(sIe,'BasicEMap',721);feb(1046,66,PIe,YOd);_.Mi=function ZOd(a,b){VOd(this,RD(b,136));};_.Pi=function _Od(a,b,c){var d;++(d=this,RD(b,136),d).a.e;};_.Qi=function aPd(a,b){WOd(this,RD(b,136));};_.Ri=function bPd(a,b,c){XOd(this,RD(b,136),RD(c,136));};_.Oi=function $Od(a,b){TNd(this.a);};sfb(sIe,'BasicEMap/1',1046);feb(1047,66,PIe,cPd);_.aj=function dPd(a){return $C(N6,LJe,621,a,0,1)};sfb(sIe,'BasicEMap/2',1047);feb(1048,Eve,Fve,ePd);_.$b=function fPd(){this.a.c.$b();};_.Hc=function gPd(a){return QNd(this.a,a)};_.Kc=function hPd(){return this.a.f==0?(jQd(),iQd.a):new DPd(this.a)};_.Mc=function iPd(a){var b;b=this.a.f;jOd(this.a,a);return this.a.f!=b};_.gc=function jPd(){return this.a.f};sfb(sIe,'BasicEMap/3',1048);feb(1049,31,Dve,kPd);_.$b=function lPd(){this.a.c.$b();};_.Hc=function mPd(a){return RNd(this.a,a)};_.Kc=function nPd(){return this.a.f==0?(jQd(),iQd.a):new FPd(this.a)};_.gc=function oPd(){return this.a.f};sfb(sIe,'BasicEMap/4',1049);feb(1050,Eve,Fve,qPd);_.$b=function rPd(){this.a.c.$b();};_.Hc=function sPd(a){var b,c,d,e,f,g,h,i,j;if(this.a.f>0&&ZD(a,44)){this.a._j();i=RD(a,44);h=i.ld();e=h==null?0:tb(h);f=bOd(this.a,e);b=this.a.d[f];if(b){c=RD(b.g,379);j=b.i;for(g=0;g'+this.c};_.a=0;var N6=sfb(sIe,'BasicEMap/EntryImpl',621);feb(546,1,{},hQd);sfb(sIe,'BasicEMap/View',546);var iQd;feb(783,1,{});_.Fb=function xQd(a){return Rt((yob(),vob),a)};_.Hb=function yQd(){return Cob((yob(),vob))};_.Ib=function zQd(){return Fe((yob(),vob))};sfb(sIe,'ECollections/BasicEmptyUnmodifiableEList',783);feb(1348,1,Jve,AQd);_.Nb=function CQd(a){Ztb(this,a);};_.Rb=function BQd(a){throw Adb(new jib)};_.Ob=function DQd(){return false};_.Sb=function EQd(){return false};_.Pb=function FQd(){throw Adb(new Dvb)};_.Tb=function GQd(){return 0};_.Ub=function HQd(){throw Adb(new Dvb)};_.Vb=function IQd(){return -1};_.Qb=function JQd(){throw Adb(new jib)};_.Wb=function KQd(a){throw Adb(new jib)};sfb(sIe,'ECollections/BasicEmptyUnmodifiableEList/1',1348);feb(1346,783,{20:1,16:1,15:1,61:1},LQd);_.bd=function MQd(a,b){mQd();};_.Fc=function NQd(a){return nQd()};_.cd=function OQd(a,b){return oQd()};_.Gc=function PQd(a){return pQd()};_.$b=function QQd(){qQd();};_.Hc=function RQd(a){return false};_.Ic=function SQd(a){return false};_.Jc=function TQd(a){xgb(this,a);};_.Xb=function UQd(a){return Iob((yob(),a)),null};_.dd=function VQd(a){return -1};_.dc=function WQd(){return true};_.Kc=function XQd(){return this.a};_.ed=function YQd(){return this.a};_.fd=function ZQd(a){return this.a};_.Ti=function $Qd(a,b){return rQd()};_.Ui=function _Qd(a,b){sQd();};_.Lc=function aRd(){return new SDb(null,new Swb(this,16))};_.gd=function bRd(a){return tQd()};_.Mc=function cRd(a){return uQd()};_.hd=function dRd(a,b){return vQd()};_.gc=function eRd(){return 0};_.jd=function fRd(a){tvb(this,a);};_.Nc=function gRd(){return new Swb(this,16)};_.Oc=function hRd(){return new SDb(null,new Swb(this,16))};_.kd=function iRd(a,b){return yob(),new Rkb(vob,a,b)};_.Pc=function jRd(){return De((yob(),vob))};_.Qc=function kRd(a){return yob(),Ee(vob,a)};sfb(sIe,'ECollections/EmptyUnmodifiableEList',1346);feb(1347,783,{20:1,16:1,15:1,61:1,597:1},lRd);_.bd=function mRd(a,b){mQd();};_.Fc=function nRd(a){return nQd()};_.cd=function oRd(a,b){return oQd()};_.Gc=function pRd(a){return pQd()};_.$b=function qRd(){qQd();};_.Hc=function rRd(a){return false};_.Ic=function sRd(a){return false};_.Jc=function tRd(a){xgb(this,a);};_.Xb=function uRd(a){return Iob((yob(),a)),null};_.dd=function vRd(a){return -1};_.dc=function wRd(){return true};_.Kc=function xRd(){return this.a};_.ed=function yRd(){return this.a};_.fd=function zRd(a){return this.a};_.Ti=function BRd(a,b){return rQd()};_.Ui=function CRd(a,b){sQd();};_.Lc=function DRd(){return new SDb(null,new Swb(this,16))};_.gd=function ERd(a){return tQd()};_.Mc=function FRd(a){return uQd()};_.hd=function GRd(a,b){return vQd()};_.gc=function HRd(){return 0};_.jd=function IRd(a){tvb(this,a);};_.Nc=function JRd(){return new Swb(this,16)};_.Oc=function KRd(){return new SDb(null,new Swb(this,16))};_.kd=function LRd(a,b){return yob(),new Rkb(vob,a,b)};_.Pc=function MRd(){return De((yob(),vob))};_.Qc=function NRd(a){return yob(),Ee(vob,a)};_.bk=function ARd(){return yob(),yob(),wob};sfb(sIe,'ECollections/EmptyUnmodifiableEMap',1347);var Z6=ufb(sIe,'Enumerator');var ORd;feb(288,1,{288:1},lSd);_.Fb=function pSd(a){var b;if(this===a)return true;if(!ZD(a,288))return false;b=RD(a,288);return this.f==b.f&&rSd(this.i,b.i)&&qSd(this.a,(this.f&256)!=0?(b.f&256)!=0?b.a:null:(b.f&256)!=0?null:b.a)&&qSd(this.d,b.d)&&qSd(this.g,b.g)&&qSd(this.e,b.e)&&iSd(this,b)};_.Hb=function uSd(){return this.f};_.Ib=function CSd(){return jSd(this)};_.f=0;var SRd=0,TRd=0,URd=0,VRd=0,WRd=0,XRd=0,YRd=0,ZRd=0,$Rd=0,_Rd,aSd=0,bSd=0,cSd=0,dSd=0,eSd,fSd;sfb(sIe,'URI',288);feb(1121,45,Hxe,MSd);_.zc=function NSd(a,b){return RD($jb(this,WD(a),RD(b,288)),288)};sfb(sIe,'URI/URICache',1121);feb(506,66,PIe,OSd,PSd);_.Si=function QSd(){return true};sfb(sIe,'UniqueEList',506);feb(590,63,swe,RSd);sfb(sIe,'WrappedException',590);var f7=ufb(vHe,OJe);var A7=ufb(vHe,PJe);var y7=ufb(vHe,QJe);var g7=ufb(vHe,RJe);var i7=ufb(vHe,SJe);var h7=ufb(vHe,'EClass');var k7=ufb(vHe,'EDataType');var SSd;feb(1233,45,Hxe,VSd);_.xc=function WSd(a){return bE(a)?Xjb(this,a):Wd(qtb(this.f,a))};sfb(vHe,'EDataType/Internal/ConversionDelegate/Factory/Registry/Impl',1233);var m7=ufb(vHe,'EEnum');var l7=ufb(vHe,TJe);var o7=ufb(vHe,UJe);var s7=ufb(vHe,VJe);var XSd;var u7=ufb(vHe,WJe);var v7=ufb(vHe,XJe);feb(1042,1,{},_Sd);_.Ib=function aTd(){return 'NIL'};sfb(vHe,'EStructuralFeature/Internal/DynamicValueHolder/1',1042);var bTd;feb(1041,45,Hxe,eTd);_.xc=function fTd(a){return bE(a)?Xjb(this,a):Wd(qtb(this.f,a))};sfb(vHe,'EStructuralFeature/Internal/SettingDelegate/Factory/Registry/Impl',1041);var z7=ufb(vHe,YJe);var B7=ufb(vHe,'EValidator/PatternMatcher');var gTd;var iTd;var kTd;var mTd,nTd,oTd,pTd,qTd,rTd,sTd,tTd,uTd,vTd,wTd,xTd,yTd,zTd,ATd,BTd,CTd,DTd,ETd,FTd,GTd,HTd,ITd;var Jbb=ufb(ZJe,'FeatureMap/Entry');feb(545,1,{76:1},KTd);_.Lk=function LTd(){return this.a};_.md=function MTd(){return this.b};sfb(SHe,'BasicEObjectImpl/1',545);feb(1040,1,$Je,NTd);_.Fk=function OTd(a){return Fvd(this.a,this.b,a)};_.Qj=function PTd(){return Lvd(this.a,this.b)};_.Wb=function QTd(a){Xvd(this.a,this.b,a);};_.Gk=function RTd(){_vd(this.a,this.b);};sfb(SHe,'BasicEObjectImpl/4',1040);feb(2081,1,{114:1});_.Mk=function UTd(a){this.e=a==0?STd:$C(jJ,rve,1,a,5,1);};_.li=function VTd(a){return this.e[a]};_.mi=function WTd(a,b){this.e[a]=b;};_.ni=function XTd(a){this.e[a]=null;};_.Nk=function YTd(){return this.c};_.Ok=function ZTd(){throw Adb(new jib)};_.Pk=function $Td(){throw Adb(new jib)};_.Qk=function _Td(){return this.d};_.Rk=function aUd(){return this.e!=null};_.Sk=function bUd(a){this.c=a;};_.Tk=function cUd(a){throw Adb(new jib)};_.Uk=function dUd(a){throw Adb(new jib)};_.Vk=function eUd(a){this.d=a;};var STd;sfb(SHe,'BasicEObjectImpl/EPropertiesHolderBaseImpl',2081);feb(192,2081,{114:1},fUd);_.Ok=function gUd(){return this.a};_.Pk=function hUd(){return this.b};_.Tk=function iUd(a){this.a=a;};_.Uk=function jUd(a){this.b=a;};sfb(SHe,'BasicEObjectImpl/EPropertiesHolderImpl',192);feb(516,99,RHe,kUd);_.uh=function lUd(){return this.f};_.zh=function mUd(){return this.k};_.Bh=function nUd(a,b){this.g=a;this.i=b;};_.Dh=function oUd(){return (this.j&2)==0?this.ii():this.$h().Nk()};_.Fh=function pUd(){return this.i};_.wh=function qUd(){return (this.j&1)!=0};_.Ph=function rUd(){return this.g};_.Vh=function sUd(){return (this.j&4)!=0};_.$h=function tUd(){return !this.k&&(this.k=new fUd),this.k};_.ci=function uUd(a){this.$h().Sk(a);a?(this.j|=2):(this.j&=-3);};_.ei=function vUd(a){this.$h().Uk(a);a?(this.j|=4):(this.j&=-5);};_.ii=function wUd(){return (lTd(),kTd).S};_.i=0;_.j=1;sfb(SHe,'EObjectImpl',516);feb(798,516,{110:1,94:1,93:1,58:1,114:1,54:1,99:1},zUd);_.li=function AUd(a){return this.e[a]};_.mi=function BUd(a,b){this.e[a]=b;};_.ni=function CUd(a){this.e[a]=null;};_.Dh=function DUd(){return this.d};_.Ih=function EUd(a){return BYd(this.d,a)};_.Kh=function FUd(){return this.d};_.Oh=function GUd(){return this.e!=null};_.$h=function HUd(){!this.k&&(this.k=new VUd);return this.k};_.ci=function IUd(a){this.d=a;};_.hi=function JUd(){var a;if(this.e==null){a=AYd(this.d);this.e=a==0?xUd:$C(jJ,rve,1,a,5,1);}return this};_.ji=function KUd(){return 0};var xUd;sfb(SHe,'DynamicEObjectImpl',798);feb(1522,798,{110:1,44:1,94:1,93:1,136:1,58:1,114:1,54:1,99:1},LUd);_.Fb=function NUd(a){return this===a};_.Hb=function RUd(){return kFb(this)};_.ci=function MUd(a){this.d=a;this.b=wYd(a,'key');this.c=wYd(a,aIe);};_.Bi=function OUd(){var a;if(this.a==-1){a=Gvd(this,this.b);this.a=a==null?0:tb(a);}return this.a};_.ld=function PUd(){return Gvd(this,this.b)};_.md=function QUd(){return Gvd(this,this.c)};_.Ci=function SUd(a){this.a=a;};_.Di=function TUd(a){Xvd(this,this.b,a);};_.nd=function UUd(a){var b;b=Gvd(this,this.c);Xvd(this,this.c,a);return b};_.a=0;sfb(SHe,'DynamicEObjectImpl/BasicEMapEntry',1522);feb(1523,1,{114:1},VUd);_.Mk=function WUd(a){throw Adb(new jib)};_.li=function XUd(a){throw Adb(new jib)};_.mi=function YUd(a,b){throw Adb(new jib)};_.ni=function ZUd(a){throw Adb(new jib)};_.Nk=function $Ud(){throw Adb(new jib)};_.Ok=function _Ud(){return this.a};_.Pk=function aVd(){return this.b};_.Qk=function bVd(){return this.c};_.Rk=function cVd(){throw Adb(new jib)};_.Sk=function dVd(a){throw Adb(new jib)};_.Tk=function eVd(a){this.a=a;};_.Uk=function fVd(a){this.b=a;};_.Vk=function gVd(a){this.c=a;};sfb(SHe,'DynamicEObjectImpl/DynamicEPropertiesHolderImpl',1523);feb(519,158,{110:1,94:1,93:1,598:1,155:1,58:1,114:1,54:1,99:1,519:1,158:1,119:1,120:1},pVd);_.Ah=function qVd(a){return iVd(this,a)};_.Lh=function rVd(a,b,c){var d;switch(a){case 0:return !this.Ab&&(this.Ab=new C5d(f7,this,0,3)),this.Ab;case 1:return this.d;case 2:return c?(!this.b&&(this.b=new SVd((JTd(),FTd),C8,this)),this.b):(!this.b&&(this.b=new SVd((JTd(),FTd),C8,this)),dOd(this.b));case 3:return kVd(this);case 4:return !this.a&&(this.a=new XZd(r7,this,4)),this.a;case 5:return !this.c&&(this.c=new zie(r7,this,5)),this.c;}return zvd(this,a-AYd((JTd(),mTd)),vYd((d=RD(Ywd(this,16),29),!d?mTd:d),a),b,c)};_.Sh=function sVd(a,b,c){var d,e,f;switch(b){case 0:return !this.Ab&&(this.Ab=new C5d(f7,this,0,3)),qLd(this.Ab,a,c);case 3:!!this.Cb&&(c=(e=this.Db>>16,e>=0?iVd(this,c):this.Cb.Th(this,-1-e,null,c)));return hVd(this,RD(a,155),c);}return f=RD(vYd((d=RD(Ywd(this,16),29),!d?(JTd(),mTd):d),b),69),f.wk().zk(this,Wwd(this),b-AYd((JTd(),mTd)),a,c)};_.Uh=function tVd(a,b,c){var d,e;switch(b){case 0:return !this.Ab&&(this.Ab=new C5d(f7,this,0,3)),rLd(this.Ab,a,c);case 2:return !this.b&&(this.b=new SVd((JTd(),FTd),C8,this)),BVd(this.b,a,c);case 3:return hVd(this,null,c);case 4:return !this.a&&(this.a=new XZd(r7,this,4)),rLd(this.a,a,c);}return e=RD(vYd((d=RD(Ywd(this,16),29),!d?(JTd(),mTd):d),b),69),e.wk().Ak(this,Wwd(this),b-AYd((JTd(),mTd)),a,c)};_.Wh=function uVd(a){var b;switch(a){case 0:return !!this.Ab&&this.Ab.i!=0;case 1:return this.d!=null;case 2:return !!this.b&&this.b.f!=0;case 3:return !!kVd(this);case 4:return !!this.a&&this.a.i!=0;case 5:return !!this.c&&this.c.i!=0;}return Avd(this,a-AYd((JTd(),mTd)),vYd((b=RD(Ywd(this,16),29),!b?mTd:b),a))};_.bi=function vVd(a,b){var c;switch(a){case 0:!this.Ab&&(this.Ab=new C5d(f7,this,0,3));sLd(this.Ab);!this.Ab&&(this.Ab=new C5d(f7,this,0,3));YGd(this.Ab,RD(b,16));return;case 1:mVd(this,WD(b));return;case 2:!this.b&&(this.b=new SVd((JTd(),FTd),C8,this));CVd(this.b,b);return;case 3:lVd(this,RD(b,155));return;case 4:!this.a&&(this.a=new XZd(r7,this,4));sLd(this.a);!this.a&&(this.a=new XZd(r7,this,4));YGd(this.a,RD(b,16));return;case 5:!this.c&&(this.c=new zie(r7,this,5));sLd(this.c);!this.c&&(this.c=new zie(r7,this,5));YGd(this.c,RD(b,16));return;}Bvd(this,a-AYd((JTd(),mTd)),vYd((c=RD(Ywd(this,16),29),!c?mTd:c),a),b);};_.ii=function wVd(){return JTd(),mTd};_.ki=function xVd(a){var b;switch(a){case 0:!this.Ab&&(this.Ab=new C5d(f7,this,0,3));sLd(this.Ab);return;case 1:nVd(this,null);return;case 2:!this.b&&(this.b=new SVd((JTd(),FTd),C8,this));this.b.c.$b();return;case 3:lVd(this,null);return;case 4:!this.a&&(this.a=new XZd(r7,this,4));sLd(this.a);return;case 5:!this.c&&(this.c=new zie(r7,this,5));sLd(this.c);return;}Cvd(this,a-AYd((JTd(),mTd)),vYd((b=RD(Ywd(this,16),29),!b?mTd:b),a));};_.Ib=function yVd(){return oVd(this)};_.d=null;sfb(SHe,'EAnnotationImpl',519);feb(141,721,_Je,DVd);_.Gi=function EVd(a,b){zVd(this,a,RD(b,44));};_.Wk=function FVd(a,b){return AVd(this,RD(a,44),b)};_.$i=function GVd(a){return RD(RD(this.c,71).$i(a),136)};_.Ii=function HVd(){return RD(this.c,71).Ii()};_.Ji=function IVd(){return RD(this.c,71).Ji()};_.Ki=function JVd(a){return RD(this.c,71).Ki(a)};_.Xk=function KVd(a,b){return BVd(this,a,b)};_.Fk=function LVd(a){return RD(this.c,79).Fk(a)};_.ak=function MVd(){};_.Qj=function NVd(){return RD(this.c,79).Qj()};_.ck=function OVd(a,b,c){var d;d=RD(BXd(this.b).wi().si(this.b),136);d.Ci(a);d.Di(b);d.nd(c);return d};_.dk=function PVd(){return new uje(this)};_.Wb=function QVd(a){CVd(this,a);};_.Gk=function RVd(){RD(this.c,79).Gk();};sfb(ZJe,'EcoreEMap',141);feb(165,141,_Je,SVd);_._j=function TVd(){var a,b,c,d,e,f;if(this.d==null){f=$C(D6,KJe,66,2*this.f+1,0,1);for(c=this.c.Kc();c.e!=c.i.gc();){b=RD(c.Yj(),136);d=b.Bi();e=(d&lve)%f.length;a=f[e];!a&&(a=f[e]=new uje(this));a.Fc(b);}this.d=f;}};sfb(SHe,'EAnnotationImpl/1',165);feb(292,448,{110:1,94:1,93:1,155:1,197:1,58:1,114:1,481:1,54:1,99:1,158:1,292:1,119:1,120:1});_.Lh=function eWd(a,b,c){var d,e;switch(a){case 0:return !this.Ab&&(this.Ab=new C5d(f7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Geb(),(this.Bb&256)!=0?true:false;case 3:return Geb(),(this.Bb&512)!=0?true:false;case 4:return sgb(this.s);case 5:return sgb(this.t);case 6:return Geb(),this.Jk()?true:false;case 7:return Geb(),e=this.s,e>=1?true:false;case 8:if(b)return WVd(this);return this.r;case 9:return this.q;}return zvd(this,a-AYd(this.ii()),vYd((d=RD(Ywd(this,16),29),!d?this.ii():d),a),b,c)};_.Uh=function fWd(a,b,c){var d,e;switch(b){case 0:return !this.Ab&&(this.Ab=new C5d(f7,this,0,3)),rLd(this.Ab,a,c);case 9:return VVd(this,c);}return e=RD(vYd((d=RD(Ywd(this,16),29),!d?this.ii():d),b),69),e.wk().Ak(this,Wwd(this),b-AYd(this.ii()),a,c)};_.Wh=function gWd(a){var b,c;switch(a){case 0:return !!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return (this.Bb&256)==0;case 3:return (this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return this.Jk();case 7:return c=this.s,c>=1;case 8:return !!this.r&&!this.q.e&&j2d(this.q).i==0;case 9:return !!this.q&&!(!!this.r&&!this.q.e&&j2d(this.q).i==0);}return Avd(this,a-AYd(this.ii()),vYd((b=RD(Ywd(this,16),29),!b?this.ii():b),a))};_.bi=function hWd(a,b){var c,d;switch(a){case 0:!this.Ab&&(this.Ab=new C5d(f7,this,0,3));sLd(this.Ab);!this.Ab&&(this.Ab=new C5d(f7,this,0,3));YGd(this.Ab,RD(b,16));return;case 1:this.ui(WD(b));return;case 2:_Vd(this,Heb(TD(b)));return;case 3:aWd(this,Heb(TD(b)));return;case 4:$Vd(this,RD(b,17).a);return;case 5:this.Zk(RD(b,17).a);return;case 8:YVd(this,RD(b,142));return;case 9:d=XVd(this,RD(b,89),null);!!d&&d.oj();return;}Bvd(this,a-AYd(this.ii()),vYd((c=RD(Ywd(this,16),29),!c?this.ii():c),a),b);};_.ii=function iWd(){return JTd(),HTd};_.ki=function jWd(a){var b,c;switch(a){case 0:!this.Ab&&(this.Ab=new C5d(f7,this,0,3));sLd(this.Ab);return;case 1:this.ui(null);return;case 2:_Vd(this,true);return;case 3:aWd(this,true);return;case 4:$Vd(this,0);return;case 5:this.Zk(1);return;case 8:YVd(this,null);return;case 9:c=XVd(this,null,null);!!c&&c.oj();return;}Cvd(this,a-AYd(this.ii()),vYd((b=RD(Ywd(this,16),29),!b?this.ii():b),a));};_.pi=function kWd(){WVd(this);this.Bb|=1;};_.Hk=function lWd(){return WVd(this)};_.Ik=function mWd(){return this.t};_.Jk=function nWd(){var a;return a=this.t,a>1||a==-1};_.Si=function oWd(){return (this.Bb&512)!=0};_.Yk=function pWd(a,b){return ZVd(this,a,b)};_.Zk=function qWd(a){bWd(this,a);};_.Ib=function rWd(){return cWd(this)};_.s=0;_.t=1;sfb(SHe,'ETypedElementImpl',292);feb(462,292,{110:1,94:1,93:1,155:1,197:1,58:1,179:1,69:1,114:1,481:1,54:1,99:1,158:1,462:1,292:1,119:1,120:1,692:1});_.Ah=function IWd(a){return sWd(this,a)};_.Lh=function JWd(a,b,c){var d,e;switch(a){case 0:return !this.Ab&&(this.Ab=new C5d(f7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Geb(),(this.Bb&256)!=0?true:false;case 3:return Geb(),(this.Bb&512)!=0?true:false;case 4:return sgb(this.s);case 5:return sgb(this.t);case 6:return Geb(),this.Jk()?true:false;case 7:return Geb(),e=this.s,e>=1?true:false;case 8:if(b)return WVd(this);return this.r;case 9:return this.q;case 10:return Geb(),(this.Bb&gwe)!=0?true:false;case 11:return Geb(),(this.Bb&cKe)!=0?true:false;case 12:return Geb(),(this.Bb&qxe)!=0?true:false;case 13:return this.j;case 14:return tWd(this);case 15:return Geb(),(this.Bb&bKe)!=0?true:false;case 16:return Geb(),(this.Bb&Ove)!=0?true:false;case 17:return uWd(this);}return zvd(this,a-AYd(this.ii()),vYd((d=RD(Ywd(this,16),29),!d?this.ii():d),a),b,c)};_.Sh=function KWd(a,b,c){var d,e,f;switch(b){case 0:return !this.Ab&&(this.Ab=new C5d(f7,this,0,3)),qLd(this.Ab,a,c);case 17:!!this.Cb&&(c=(e=this.Db>>16,e>=0?sWd(this,c):this.Cb.Th(this,-1-e,null,c)));return xvd(this,a,17,c);}return f=RD(vYd((d=RD(Ywd(this,16),29),!d?this.ii():d),b),69),f.wk().zk(this,Wwd(this),b-AYd(this.ii()),a,c)};_.Uh=function LWd(a,b,c){var d,e;switch(b){case 0:return !this.Ab&&(this.Ab=new C5d(f7,this,0,3)),rLd(this.Ab,a,c);case 9:return VVd(this,c);case 17:return xvd(this,null,17,c);}return e=RD(vYd((d=RD(Ywd(this,16),29),!d?this.ii():d),b),69),e.wk().Ak(this,Wwd(this),b-AYd(this.ii()),a,c)};_.Wh=function MWd(a){var b,c;switch(a){case 0:return !!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return (this.Bb&256)==0;case 3:return (this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return this.Jk();case 7:return c=this.s,c>=1;case 8:return !!this.r&&!this.q.e&&j2d(this.q).i==0;case 9:return !!this.q&&!(!!this.r&&!this.q.e&&j2d(this.q).i==0);case 10:return (this.Bb&gwe)==0;case 11:return (this.Bb&cKe)!=0;case 12:return (this.Bb&qxe)!=0;case 13:return this.j!=null;case 14:return tWd(this)!=null;case 15:return (this.Bb&bKe)!=0;case 16:return (this.Bb&Ove)!=0;case 17:return !!uWd(this);}return Avd(this,a-AYd(this.ii()),vYd((b=RD(Ywd(this,16),29),!b?this.ii():b),a))};_.bi=function NWd(a,b){var c,d;switch(a){case 0:!this.Ab&&(this.Ab=new C5d(f7,this,0,3));sLd(this.Ab);!this.Ab&&(this.Ab=new C5d(f7,this,0,3));YGd(this.Ab,RD(b,16));return;case 1:CWd(this,WD(b));return;case 2:_Vd(this,Heb(TD(b)));return;case 3:aWd(this,Heb(TD(b)));return;case 4:$Vd(this,RD(b,17).a);return;case 5:this.Zk(RD(b,17).a);return;case 8:YVd(this,RD(b,142));return;case 9:d=XVd(this,RD(b,89),null);!!d&&d.oj();return;case 10:xWd(this,Heb(TD(b)));return;case 11:FWd(this,Heb(TD(b)));return;case 12:DWd(this,Heb(TD(b)));return;case 13:yWd(this,WD(b));return;case 15:EWd(this,Heb(TD(b)));return;case 16:AWd(this,Heb(TD(b)));return;}Bvd(this,a-AYd(this.ii()),vYd((c=RD(Ywd(this,16),29),!c?this.ii():c),a),b);};_.ii=function OWd(){return JTd(),GTd};_.ki=function PWd(a){var b,c;switch(a){case 0:!this.Ab&&(this.Ab=new C5d(f7,this,0,3));sLd(this.Ab);return;case 1:ZD(this.Cb,90)&&v$d(yYd(RD(this.Cb,90)),4);PAd(this,null);return;case 2:_Vd(this,true);return;case 3:aWd(this,true);return;case 4:$Vd(this,0);return;case 5:this.Zk(1);return;case 8:YVd(this,null);return;case 9:c=XVd(this,null,null);!!c&&c.oj();return;case 10:xWd(this,true);return;case 11:FWd(this,false);return;case 12:DWd(this,false);return;case 13:this.i=null;zWd(this,null);return;case 15:EWd(this,false);return;case 16:AWd(this,false);return;}Cvd(this,a-AYd(this.ii()),vYd((b=RD(Ywd(this,16),29),!b?this.ii():b),a));};_.pi=function QWd(){Afe(Qee((lke(),jke),this));WVd(this);this.Bb|=1;};_.pk=function RWd(){return this.f};_.ik=function SWd(){return tWd(this)};_.qk=function TWd(){return uWd(this)};_.uk=function UWd(){return null};_.$k=function VWd(){return this.k};_.Lj=function WWd(){return this.n};_.vk=function XWd(){return vWd(this)};_.wk=function YWd(){var a,b,c,d,e,f,g,h,i;if(!this.p){c=uWd(this);(c.i==null&&rYd(c),c.i).length;d=this.uk();!!d&&AYd(uWd(d));e=WVd(this);g=e.kk();a=!g?null:(g.i&1)!=0?g==xdb?QI:g==kE?bJ:g==jE?ZI:g==iE?VI:g==lE?eJ:g==wdb?lJ:g==gE?RI:SI:g;b=tWd(this);h=e.ik();Mje(this);(this.Bb&Ove)!=0&&(!!(f=Tee((lke(),jke),c))&&f!=this||!!(f=zfe(Qee(jke,this))))?(this.p=new Z6d(this,f)):this.Jk()?this.al()?!d?(this.Bb&bKe)!=0?!a?this.bl()?(this.p=new i7d(42,this)):(this.p=new i7d(0,this)):a==UK?(this.p=new g7d(50,O6,this)):this.bl()?(this.p=new g7d(43,a,this)):(this.p=new g7d(1,a,this)):!a?this.bl()?(this.p=new i7d(44,this)):(this.p=new i7d(2,this)):a==UK?(this.p=new g7d(41,O6,this)):this.bl()?(this.p=new g7d(45,a,this)):(this.p=new g7d(3,a,this)):(this.Bb&bKe)!=0?!a?this.bl()?(this.p=new j7d(46,this,d)):(this.p=new j7d(4,this,d)):this.bl()?(this.p=new h7d(47,a,this,d)):(this.p=new h7d(5,a,this,d)):!a?this.bl()?(this.p=new j7d(48,this,d)):(this.p=new j7d(6,this,d)):this.bl()?(this.p=new h7d(49,a,this,d)):(this.p=new h7d(7,a,this,d)):ZD(e,156)?a==Jbb?(this.p=new i7d(40,this)):(this.Bb&512)!=0?(this.Bb&bKe)!=0?!a?(this.p=new i7d(8,this)):(this.p=new g7d(9,a,this)):!a?(this.p=new i7d(10,this)):(this.p=new g7d(11,a,this)):(this.Bb&bKe)!=0?!a?(this.p=new i7d(12,this)):(this.p=new g7d(13,a,this)):!a?(this.p=new i7d(14,this)):(this.p=new g7d(15,a,this)):!d?this.bl()?(this.Bb&bKe)!=0?!a?(this.p=new i7d(16,this)):(this.p=new g7d(17,a,this)):!a?(this.p=new i7d(18,this)):(this.p=new g7d(19,a,this)):(this.Bb&bKe)!=0?!a?(this.p=new i7d(20,this)):(this.p=new g7d(21,a,this)):!a?(this.p=new i7d(22,this)):(this.p=new g7d(23,a,this)):(i=d.t,i>1||i==-1?this.bl()?(this.Bb&bKe)!=0?!a?(this.p=new j7d(24,this,d)):(this.p=new h7d(25,a,this,d)):!a?(this.p=new j7d(26,this,d)):(this.p=new h7d(27,a,this,d)):(this.Bb&bKe)!=0?!a?(this.p=new j7d(28,this,d)):(this.p=new h7d(29,a,this,d)):!a?(this.p=new j7d(30,this,d)):(this.p=new h7d(31,a,this,d)):this.bl()?(this.Bb&bKe)!=0?!a?(this.p=new j7d(32,this,d)):(this.p=new h7d(33,a,this,d)):!a?(this.p=new j7d(34,this,d)):(this.p=new h7d(35,a,this,d)):(this.Bb&bKe)!=0?!a?(this.p=new j7d(36,this,d)):(this.p=new h7d(37,a,this,d)):!a?(this.p=new j7d(38,this,d)):(this.p=new h7d(39,a,this,d))):this._k()?this.bl()?(this.p=new K7d(RD(e,29),this,d)):(this.p=new C7d(RD(e,29),this,d)):ZD(e,156)?a==Jbb?(this.p=new i7d(40,this)):(this.Bb&bKe)!=0?!a?(this.p=new J8d(RD(e,156),b,h,this)):(this.p=new L8d(b,h,this,(a8d(),g==kE?Y7d:g==xdb?T7d:g==lE?Z7d:g==jE?X7d:g==iE?W7d:g==wdb?_7d:g==gE?U7d:g==hE?V7d:$7d))):!a?(this.p=new C8d(RD(e,156),b,h,this)):(this.p=new E8d(b,h,this,(a8d(),g==kE?Y7d:g==xdb?T7d:g==lE?Z7d:g==jE?X7d:g==iE?W7d:g==wdb?_7d:g==gE?U7d:g==hE?V7d:$7d))):this.al()?!d?(this.Bb&bKe)!=0?this.bl()?(this.p=new d9d(RD(e,29),this)):(this.p=new b9d(RD(e,29),this)):this.bl()?(this.p=new _8d(RD(e,29),this)):(this.p=new Z8d(RD(e,29),this)):(this.Bb&bKe)!=0?this.bl()?(this.p=new l9d(RD(e,29),this,d)):(this.p=new j9d(RD(e,29),this,d)):this.bl()?(this.p=new h9d(RD(e,29),this,d)):(this.p=new f9d(RD(e,29),this,d)):this.bl()?!d?(this.Bb&bKe)!=0?(this.p=new p9d(RD(e,29),this)):(this.p=new n9d(RD(e,29),this)):(this.Bb&bKe)!=0?(this.p=new t9d(RD(e,29),this,d)):(this.p=new r9d(RD(e,29),this,d)):!d?(this.Bb&bKe)!=0?(this.p=new v9d(RD(e,29),this)):(this.p=new N8d(RD(e,29),this)):(this.Bb&bKe)!=0?(this.p=new z9d(RD(e,29),this,d)):(this.p=new x9d(RD(e,29),this,d));}return this.p};_.rk=function ZWd(){return (this.Bb&gwe)!=0};_._k=function $Wd(){return false};_.al=function _Wd(){return false};_.sk=function aXd(){return (this.Bb&Ove)!=0};_.xk=function bXd(){return wWd(this)};_.bl=function cXd(){return false};_.tk=function dXd(){return (this.Bb&bKe)!=0};_.cl=function eXd(a){this.k=a;};_.ui=function fXd(a){CWd(this,a);};_.Ib=function gXd(){return GWd(this)};_.e=false;_.n=0;sfb(SHe,'EStructuralFeatureImpl',462);feb(331,462,{110:1,94:1,93:1,35:1,155:1,197:1,58:1,179:1,69:1,114:1,481:1,54:1,99:1,331:1,158:1,462:1,292:1,119:1,120:1,692:1},mXd);_.Lh=function nXd(a,b,c){var d,e;switch(a){case 0:return !this.Ab&&(this.Ab=new C5d(f7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Geb(),(this.Bb&256)!=0?true:false;case 3:return Geb(),(this.Bb&512)!=0?true:false;case 4:return sgb(this.s);case 5:return sgb(this.t);case 6:return Geb(),jXd(this)?true:false;case 7:return Geb(),e=this.s,e>=1?true:false;case 8:if(b)return WVd(this);return this.r;case 9:return this.q;case 10:return Geb(),(this.Bb&gwe)!=0?true:false;case 11:return Geb(),(this.Bb&cKe)!=0?true:false;case 12:return Geb(),(this.Bb&qxe)!=0?true:false;case 13:return this.j;case 14:return tWd(this);case 15:return Geb(),(this.Bb&bKe)!=0?true:false;case 16:return Geb(),(this.Bb&Ove)!=0?true:false;case 17:return uWd(this);case 18:return Geb(),(this.Bb&QHe)!=0?true:false;case 19:if(b)return iXd(this);return hXd(this);}return zvd(this,a-AYd((JTd(),nTd)),vYd((d=RD(Ywd(this,16),29),!d?nTd:d),a),b,c)};_.Wh=function oXd(a){var b,c;switch(a){case 0:return !!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return (this.Bb&256)==0;case 3:return (this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return jXd(this);case 7:return c=this.s,c>=1;case 8:return !!this.r&&!this.q.e&&j2d(this.q).i==0;case 9:return !!this.q&&!(!!this.r&&!this.q.e&&j2d(this.q).i==0);case 10:return (this.Bb&gwe)==0;case 11:return (this.Bb&cKe)!=0;case 12:return (this.Bb&qxe)!=0;case 13:return this.j!=null;case 14:return tWd(this)!=null;case 15:return (this.Bb&bKe)!=0;case 16:return (this.Bb&Ove)!=0;case 17:return !!uWd(this);case 18:return (this.Bb&QHe)!=0;case 19:return !!hXd(this);}return Avd(this,a-AYd((JTd(),nTd)),vYd((b=RD(Ywd(this,16),29),!b?nTd:b),a))};_.bi=function pXd(a,b){var c,d;switch(a){case 0:!this.Ab&&(this.Ab=new C5d(f7,this,0,3));sLd(this.Ab);!this.Ab&&(this.Ab=new C5d(f7,this,0,3));YGd(this.Ab,RD(b,16));return;case 1:CWd(this,WD(b));return;case 2:_Vd(this,Heb(TD(b)));return;case 3:aWd(this,Heb(TD(b)));return;case 4:$Vd(this,RD(b,17).a);return;case 5:lXd(this,RD(b,17).a);return;case 8:YVd(this,RD(b,142));return;case 9:d=XVd(this,RD(b,89),null);!!d&&d.oj();return;case 10:xWd(this,Heb(TD(b)));return;case 11:FWd(this,Heb(TD(b)));return;case 12:DWd(this,Heb(TD(b)));return;case 13:yWd(this,WD(b));return;case 15:EWd(this,Heb(TD(b)));return;case 16:AWd(this,Heb(TD(b)));return;case 18:kXd(this,Heb(TD(b)));return;}Bvd(this,a-AYd((JTd(),nTd)),vYd((c=RD(Ywd(this,16),29),!c?nTd:c),a),b);};_.ii=function qXd(){return JTd(),nTd};_.ki=function rXd(a){var b,c;switch(a){case 0:!this.Ab&&(this.Ab=new C5d(f7,this,0,3));sLd(this.Ab);return;case 1:ZD(this.Cb,90)&&v$d(yYd(RD(this.Cb,90)),4);PAd(this,null);return;case 2:_Vd(this,true);return;case 3:aWd(this,true);return;case 4:$Vd(this,0);return;case 5:this.b=0;bWd(this,1);return;case 8:YVd(this,null);return;case 9:c=XVd(this,null,null);!!c&&c.oj();return;case 10:xWd(this,true);return;case 11:FWd(this,false);return;case 12:DWd(this,false);return;case 13:this.i=null;zWd(this,null);return;case 15:EWd(this,false);return;case 16:AWd(this,false);return;case 18:kXd(this,false);return;}Cvd(this,a-AYd((JTd(),nTd)),vYd((b=RD(Ywd(this,16),29),!b?nTd:b),a));};_.pi=function sXd(){iXd(this);Afe(Qee((lke(),jke),this));WVd(this);this.Bb|=1;};_.Jk=function tXd(){return jXd(this)};_.Yk=function uXd(a,b){this.b=0;this.a=null;return ZVd(this,a,b)};_.Zk=function vXd(a){lXd(this,a);};_.Ib=function wXd(){var a;if((this.Db&64)!=0)return GWd(this);a=new Shb(GWd(this));a.a+=' (iD: ';Ohb(a,(this.Bb&QHe)!=0);a.a+=')';return a.a};_.b=0;sfb(SHe,'EAttributeImpl',331);feb(364,448,{110:1,94:1,93:1,142:1,155:1,197:1,58:1,114:1,54:1,99:1,364:1,158:1,119:1,120:1,691:1});_.dl=function NXd(a){return a.Dh()==this};_.Ah=function OXd(a){return AXd(this,a)};_.Bh=function PXd(a,b){this.w=null;this.Db=b<<16|this.Db&255;this.Cb=a;};_.Lh=function QXd(a,b,c){var d;switch(a){case 0:return !this.Ab&&(this.Ab=new C5d(f7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return DXd(this);case 4:return this.ik();case 5:return this.F;case 6:if(b)return BXd(this);return xXd(this);case 7:return !this.A&&(this.A=new iie(z7,this,7)),this.A;}return zvd(this,a-AYd(this.ii()),vYd((d=RD(Ywd(this,16),29),!d?this.ii():d),a),b,c)};_.Sh=function RXd(a,b,c){var d,e,f;switch(b){case 0:return !this.Ab&&(this.Ab=new C5d(f7,this,0,3)),qLd(this.Ab,a,c);case 6:!!this.Cb&&(c=(e=this.Db>>16,e>=0?AXd(this,c):this.Cb.Th(this,-1-e,null,c)));return xvd(this,a,6,c);}return f=RD(vYd((d=RD(Ywd(this,16),29),!d?this.ii():d),b),69),f.wk().zk(this,Wwd(this),b-AYd(this.ii()),a,c)};_.Uh=function SXd(a,b,c){var d,e;switch(b){case 0:return !this.Ab&&(this.Ab=new C5d(f7,this,0,3)),rLd(this.Ab,a,c);case 6:return xvd(this,null,6,c);case 7:return !this.A&&(this.A=new iie(z7,this,7)),rLd(this.A,a,c);}return e=RD(vYd((d=RD(Ywd(this,16),29),!d?this.ii():d),b),69),e.wk().Ak(this,Wwd(this),b-AYd(this.ii()),a,c)};_.Wh=function TXd(a){var b;switch(a){case 0:return !!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return !!DXd(this);case 4:return this.ik()!=null;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return !!xXd(this);case 7:return !!this.A&&this.A.i!=0;}return Avd(this,a-AYd(this.ii()),vYd((b=RD(Ywd(this,16),29),!b?this.ii():b),a))};_.bi=function UXd(a,b){var c;switch(a){case 0:!this.Ab&&(this.Ab=new C5d(f7,this,0,3));sLd(this.Ab);!this.Ab&&(this.Ab=new C5d(f7,this,0,3));YGd(this.Ab,RD(b,16));return;case 1:LXd(this,WD(b));return;case 2:IXd(this,WD(b));return;case 5:KXd(this,WD(b));return;case 7:!this.A&&(this.A=new iie(z7,this,7));sLd(this.A);!this.A&&(this.A=new iie(z7,this,7));YGd(this.A,RD(b,16));return;}Bvd(this,a-AYd(this.ii()),vYd((c=RD(Ywd(this,16),29),!c?this.ii():c),a),b);};_.ii=function VXd(){return JTd(),pTd};_.ki=function WXd(a){var b;switch(a){case 0:!this.Ab&&(this.Ab=new C5d(f7,this,0,3));sLd(this.Ab);return;case 1:ZD(this.Cb,184)&&(RD(this.Cb,184).tb=null);PAd(this,null);return;case 2:yXd(this,null);zXd(this,this.D);return;case 5:KXd(this,null);return;case 7:!this.A&&(this.A=new iie(z7,this,7));sLd(this.A);return;}Cvd(this,a-AYd(this.ii()),vYd((b=RD(Ywd(this,16),29),!b?this.ii():b),a));};_.hk=function XXd(){var a;return this.G==-1&&(this.G=(a=BXd(this),a?fZd(a.vi(),this):-1)),this.G};_.ik=function YXd(){return null};_.jk=function ZXd(){return BXd(this)};_.el=function $Xd(){return this.v};_.kk=function _Xd(){return DXd(this)};_.lk=function aYd(){return this.D!=null?this.D:this.B};_.mk=function bYd(){return this.F};_.fk=function cYd(a){return FXd(this,a)};_.fl=function dYd(a){this.v=a;};_.gl=function eYd(a){GXd(this,a);};_.hl=function fYd(a){this.C=a;};_.ui=function gYd(a){LXd(this,a);};_.Ib=function hYd(){return MXd(this)};_.C=null;_.D=null;_.G=-1;sfb(SHe,'EClassifierImpl',364);feb(90,364,{110:1,94:1,93:1,29:1,142:1,155:1,197:1,58:1,114:1,54:1,99:1,90:1,364:1,158:1,482:1,119:1,120:1,691:1},HYd);_.dl=function IYd(a){return DYd(this,a.Dh())};_.Lh=function JYd(a,b,c){var d;switch(a){case 0:return !this.Ab&&(this.Ab=new C5d(f7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return DXd(this);case 4:return null;case 5:return this.F;case 6:if(b)return BXd(this);return xXd(this);case 7:return !this.A&&(this.A=new iie(z7,this,7)),this.A;case 8:return Geb(),(this.Bb&256)!=0?true:false;case 9:return Geb(),(this.Bb&512)!=0?true:false;case 10:return zYd(this);case 11:return !this.q&&(this.q=new C5d(s7,this,11,10)),this.q;case 12:return mYd(this);case 13:return qYd(this);case 14:return qYd(this),this.r;case 15:return mYd(this),this.k;case 16:return nYd(this);case 17:return pYd(this);case 18:return rYd(this);case 19:return sYd(this);case 20:return mYd(this),this.o;case 21:return !this.s&&(this.s=new C5d(y7,this,21,17)),this.s;case 22:return tYd(this);case 23:return oYd(this);}return zvd(this,a-AYd((JTd(),oTd)),vYd((d=RD(Ywd(this,16),29),!d?oTd:d),a),b,c)};_.Sh=function KYd(a,b,c){var d,e,f;switch(b){case 0:return !this.Ab&&(this.Ab=new C5d(f7,this,0,3)),qLd(this.Ab,a,c);case 6:!!this.Cb&&(c=(e=this.Db>>16,e>=0?AXd(this,c):this.Cb.Th(this,-1-e,null,c)));return xvd(this,a,6,c);case 11:return !this.q&&(this.q=new C5d(s7,this,11,10)),qLd(this.q,a,c);case 21:return !this.s&&(this.s=new C5d(y7,this,21,17)),qLd(this.s,a,c);}return f=RD(vYd((d=RD(Ywd(this,16),29),!d?(JTd(),oTd):d),b),69),f.wk().zk(this,Wwd(this),b-AYd((JTd(),oTd)),a,c)};_.Uh=function LYd(a,b,c){var d,e;switch(b){case 0:return !this.Ab&&(this.Ab=new C5d(f7,this,0,3)),rLd(this.Ab,a,c);case 6:return xvd(this,null,6,c);case 7:return !this.A&&(this.A=new iie(z7,this,7)),rLd(this.A,a,c);case 11:return !this.q&&(this.q=new C5d(s7,this,11,10)),rLd(this.q,a,c);case 21:return !this.s&&(this.s=new C5d(y7,this,21,17)),rLd(this.s,a,c);case 22:return rLd(tYd(this),a,c);}return e=RD(vYd((d=RD(Ywd(this,16),29),!d?(JTd(),oTd):d),b),69),e.wk().Ak(this,Wwd(this),b-AYd((JTd(),oTd)),a,c)};_.Wh=function MYd(a){var b;switch(a){case 0:return !!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return !!DXd(this);case 4:return false;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return !!xXd(this);case 7:return !!this.A&&this.A.i!=0;case 8:return (this.Bb&256)!=0;case 9:return (this.Bb&512)!=0;case 10:return !!this.u&&tYd(this.u.a).i!=0&&!(!!this.n&&d$d(this.n));case 11:return !!this.q&&this.q.i!=0;case 12:return mYd(this).i!=0;case 13:return qYd(this).i!=0;case 14:return qYd(this),this.r.i!=0;case 15:return mYd(this),this.k.i!=0;case 16:return nYd(this).i!=0;case 17:return pYd(this).i!=0;case 18:return rYd(this).i!=0;case 19:return sYd(this).i!=0;case 20:return mYd(this),!!this.o;case 21:return !!this.s&&this.s.i!=0;case 22:return !!this.n&&d$d(this.n);case 23:return oYd(this).i!=0;}return Avd(this,a-AYd((JTd(),oTd)),vYd((b=RD(Ywd(this,16),29),!b?oTd:b),a))};_.Zh=function NYd(a){var b;b=this.i==null||!!this.q&&this.q.i!=0?null:wYd(this,a);return b?b:_zd(this,a)};_.bi=function OYd(a,b){var c;switch(a){case 0:!this.Ab&&(this.Ab=new C5d(f7,this,0,3));sLd(this.Ab);!this.Ab&&(this.Ab=new C5d(f7,this,0,3));YGd(this.Ab,RD(b,16));return;case 1:LXd(this,WD(b));return;case 2:IXd(this,WD(b));return;case 5:KXd(this,WD(b));return;case 7:!this.A&&(this.A=new iie(z7,this,7));sLd(this.A);!this.A&&(this.A=new iie(z7,this,7));YGd(this.A,RD(b,16));return;case 8:EYd(this,Heb(TD(b)));return;case 9:FYd(this,Heb(TD(b)));return;case 10:VJd(zYd(this));YGd(zYd(this),RD(b,16));return;case 11:!this.q&&(this.q=new C5d(s7,this,11,10));sLd(this.q);!this.q&&(this.q=new C5d(s7,this,11,10));YGd(this.q,RD(b,16));return;case 21:!this.s&&(this.s=new C5d(y7,this,21,17));sLd(this.s);!this.s&&(this.s=new C5d(y7,this,21,17));YGd(this.s,RD(b,16));return;case 22:sLd(tYd(this));YGd(tYd(this),RD(b,16));return;}Bvd(this,a-AYd((JTd(),oTd)),vYd((c=RD(Ywd(this,16),29),!c?oTd:c),a),b);};_.ii=function PYd(){return JTd(),oTd};_.ki=function QYd(a){var b;switch(a){case 0:!this.Ab&&(this.Ab=new C5d(f7,this,0,3));sLd(this.Ab);return;case 1:ZD(this.Cb,184)&&(RD(this.Cb,184).tb=null);PAd(this,null);return;case 2:yXd(this,null);zXd(this,this.D);return;case 5:KXd(this,null);return;case 7:!this.A&&(this.A=new iie(z7,this,7));sLd(this.A);return;case 8:EYd(this,false);return;case 9:FYd(this,false);return;case 10:!!this.u&&VJd(this.u);return;case 11:!this.q&&(this.q=new C5d(s7,this,11,10));sLd(this.q);return;case 21:!this.s&&(this.s=new C5d(y7,this,21,17));sLd(this.s);return;case 22:!!this.n&&sLd(this.n);return;}Cvd(this,a-AYd((JTd(),oTd)),vYd((b=RD(Ywd(this,16),29),!b?oTd:b),a));};_.pi=function RYd(){var a,b;mYd(this);qYd(this);nYd(this);pYd(this);rYd(this);sYd(this);oYd(this);OHd(q$d(yYd(this)));if(this.s){for(a=0,b=this.s.i;a=0;--b){QHd(this,b);}}return XHd(this,a)};_.Gk=function NZd(){sLd(this);};_.Zi=function OZd(a,b){return jZd(this,a,b)};sfb(ZJe,'EcoreEList',632);feb(505,632,oKe,PZd);_.Li=function QZd(){return false};_.Lj=function RZd(){return this.c};_.Mj=function SZd(){return false};_.ol=function TZd(){return true};_.Si=function UZd(){return true};_.Wi=function VZd(a,b){return b};_.Yi=function WZd(){return false};_.c=0;sfb(ZJe,'EObjectEList',505);feb(83,505,oKe,XZd);_.Mj=function YZd(){return true};_.ml=function ZZd(){return false};_.al=function $Zd(){return true};sfb(ZJe,'EObjectContainmentEList',83);feb(555,83,oKe,_Zd);_.Ni=function a$d(){this.b=true;};_.Qj=function b$d(){return this.b};_.Gk=function c$d(){var a;sLd(this);if(Mvd(this.e)){a=this.b;this.b=false;qvd(this.e,new Q3d(this.e,2,this.c,a,false));}else {this.b=false;}};_.b=false;sfb(ZJe,'EObjectContainmentEList/Unsettable',555);feb(1161,555,oKe,h$d);_.Ti=function l$d(a,b){var c,d;return c=RD(uLd(this,a,b),89),Mvd(this.e)&&eZd(this,new c4d(this.a,7,(JTd(),qTd),sgb(b),(d=c.c,ZD(d,90)?RD(d,29):zTd),a)),c};_.Uj=function m$d(a,b){return e$d(this,RD(a,89),b)};_.Vj=function n$d(a,b){return f$d(this,RD(a,89),b)};_.Wj=function o$d(a,b,c){return g$d(this,RD(a,89),RD(b,89),c)};_.Ij=function i$d(a,b,c,d,e){switch(a){case 3:{return dZd(this,a,b,c,d,this.i>1)}case 5:{return dZd(this,a,b,c,d,this.i-RD(c,15).gc()>0)}default:{return new P3d(this.e,a,this.c,b,c,d,true)}}};_.Tj=function j$d(){return true};_.Qj=function k$d(){return d$d(this)};_.Gk=function p$d(){sLd(this);};sfb(SHe,'EClassImpl/1',1161);feb(1175,1174,EJe);_.dj=function t$d(a){var b,c,d,e,f,g,h;c=a.gj();if(c!=8){d=s$d(a);if(d==0){switch(c){case 1:case 9:{h=a.kj();if(h!=null){b=yYd(RD(h,482));!b.c&&(b.c=new X9d);dHd(b.c,a.jj());}g=a.ij();if(g!=null){e=RD(g,482);if((e.Bb&1)==0){b=yYd(e);!b.c&&(b.c=new X9d);WGd(b.c,RD(a.jj(),29));}}break}case 3:{g=a.ij();if(g!=null){e=RD(g,482);if((e.Bb&1)==0){b=yYd(e);!b.c&&(b.c=new X9d);WGd(b.c,RD(a.jj(),29));}}break}case 5:{g=a.ij();if(g!=null){for(f=RD(g,16).Kc();f.Ob();){e=RD(f.Pb(),482);if((e.Bb&1)==0){b=yYd(e);!b.c&&(b.c=new X9d);WGd(b.c,RD(a.jj(),29));}}}break}case 4:{h=a.kj();if(h!=null){e=RD(h,482);if((e.Bb&1)==0){b=yYd(e);!b.c&&(b.c=new X9d);dHd(b.c,a.jj());}}break}case 6:{h=a.kj();if(h!=null){for(f=RD(h,16).Kc();f.Ob();){e=RD(f.Pb(),482);if((e.Bb&1)==0){b=yYd(e);!b.c&&(b.c=new X9d);dHd(b.c,a.jj());}}}break}}}this.ql(d);}};_.ql=function u$d(a){r$d(this,a);};_.b=63;sfb(SHe,'ESuperAdapter',1175);feb(1176,1175,EJe,w$d);_.ql=function x$d(a){v$d(this,a);};sfb(SHe,'EClassImpl/10',1176);feb(1165,710,oKe);_.Ei=function y$d(a,b){return IHd(this,a,b)};_.Fi=function z$d(a){return JHd(this,a)};_.Gi=function A$d(a,b){KHd(this,a,b);};_.Hi=function B$d(a){LHd(this,a);};_.$i=function D$d(a){return NHd(this,a)};_.Xi=function L$d(a,b){return UHd(this,a,b)};_.Wk=function C$d(a,b){throw Adb(new jib)};_.Ii=function E$d(){return new yMd(this)};_.Ji=function F$d(){return new BMd(this)};_.Ki=function G$d(a){return ZGd(this,a)};_.Xk=function H$d(a,b){throw Adb(new jib)};_.Fk=function I$d(a){return this};_.Qj=function J$d(){return this.i!=0};_.Wb=function K$d(a){throw Adb(new jib)};_.Gk=function M$d(){throw Adb(new jib)};sfb(ZJe,'EcoreEList/UnmodifiableEList',1165);feb(328,1165,oKe,N$d);_.Yi=function O$d(){return false};sfb(ZJe,'EcoreEList/UnmodifiableEList/FastCompare',328);feb(1168,328,oKe,R$d);_.dd=function S$d(a){var b,c,d;if(ZD(a,179)){b=RD(a,179);c=b.Lj();if(c!=-1){for(d=this.i;c4){if(this.fk(a)){if(this.al()){d=RD(a,54);c=d.Eh();h=c==this.b&&(this.ml()?d.yh(d.Fh(),RD(vYd(Uwd(this.b),this.Lj()).Hk(),29).kk())==Z5d(RD(vYd(Uwd(this.b),this.Lj()),19)).n:-1-d.Fh()==this.Lj());if(this.nl()&&!h&&!c&&!!d.Jh()){for(e=0;e1||d==-1)}else {return false}};_.ml=function a0d(){var a,b,c;b=vYd(Uwd(this.b),this.Lj());if(ZD(b,102)){a=RD(b,19);c=Z5d(a);return !!c}else {return false}};_.nl=function b0d(){var a,b;b=vYd(Uwd(this.b),this.Lj());if(ZD(b,102)){a=RD(b,19);return (a.Bb&txe)!=0}else {return false}};_.dd=function c0d(a){var b,c,d,e;d=this.zj(a);if(d>=0)return d;if(this.ol()){for(c=0,e=this.Ej();c=0;--a){N_d(this,a,this.xj(a));}}return this.Fj()};_.Qc=function o0d(a){var b;if(this.nl()){for(b=this.Ej()-1;b>=0;--b){N_d(this,b,this.xj(b));}}return this.Gj(a)};_.Gk=function p0d(){VJd(this);};_.Zi=function q0d(a,b){return P_d(this,a,b)};sfb(ZJe,'DelegatingEcoreEList',756);feb(1171,756,tKe,w0d);_.qj=function z0d(a,b){r0d(this,a,RD(b,29));};_.rj=function A0d(a){s0d(this,RD(a,29));};_.xj=function G0d(a){var b,c;return b=RD(QHd(tYd(this.a),a),89),c=b.c,ZD(c,90)?RD(c,29):(JTd(),zTd)};_.Cj=function L0d(a){var b,c;return b=RD(vLd(tYd(this.a),a),89),c=b.c,ZD(c,90)?RD(c,29):(JTd(),zTd)};_.Dj=function M0d(a,b){return u0d(this,a,RD(b,29))};_.Li=function x0d(){return false};_.Ij=function y0d(a,b,c,d,e){return null};_.sj=function B0d(){return new c1d(this)};_.tj=function C0d(){sLd(tYd(this.a));};_.uj=function D0d(a){return t0d(this,a)};_.vj=function E0d(a){var b,c;for(c=a.Kc();c.Ob();){b=c.Pb();if(!t0d(this,b)){return false}}return true};_.wj=function F0d(a){var b,c,d;if(ZD(a,15)){d=RD(a,15);if(d.gc()==tYd(this.a).i){for(b=d.Kc(),c=new dMd(this);b.Ob();){if(dE(b.Pb())!==dE(bMd(c))){return false}}return true}}return false};_.yj=function H0d(){var a,b,c,d,e;c=1;for(b=new dMd(tYd(this.a));b.e!=b.i.gc();){a=RD(bMd(b),89);d=(e=a.c,ZD(e,90)?RD(e,29):(JTd(),zTd));c=31*c+(!d?0:kFb(d));}return c};_.zj=function I0d(a){var b,c,d,e;d=0;for(c=new dMd(tYd(this.a));c.e!=c.i.gc();){b=RD(bMd(c),89);if(dE(a)===dE((e=b.c,ZD(e,90)?RD(e,29):(JTd(),zTd)))){return d}++d;}return -1};_.Aj=function J0d(){return tYd(this.a).i==0};_.Bj=function K0d(){return null};_.Ej=function N0d(){return tYd(this.a).i};_.Fj=function O0d(){var a,b,c,d,e,f;f=tYd(this.a).i;e=$C(jJ,rve,1,f,5,1);c=0;for(b=new dMd(tYd(this.a));b.e!=b.i.gc();){a=RD(bMd(b),89);e[c++]=(d=a.c,ZD(d,90)?RD(d,29):(JTd(),zTd));}return e};_.Gj=function P0d(a){var b,c,d,e,f,g,h;h=tYd(this.a).i;if(a.lengthh&&bD(a,h,null);d=0;for(c=new dMd(tYd(this.a));c.e!=c.i.gc();){b=RD(bMd(c),89);f=(g=b.c,ZD(g,90)?RD(g,29):(JTd(),zTd));bD(a,d++,f);}return a};_.Hj=function Q0d(){var a,b,c,d,e;e=new Qhb;e.a+='[';a=tYd(this.a);for(b=0,d=tYd(this.a).i;b>16,e>=0?AXd(this,c):this.Cb.Th(this,-1-e,null,c)));return xvd(this,a,6,c);case 9:return !this.a&&(this.a=new C5d(l7,this,9,5)),qLd(this.a,a,c);}return f=RD(vYd((d=RD(Ywd(this,16),29),!d?(JTd(),sTd):d),b),69),f.wk().zk(this,Wwd(this),b-AYd((JTd(),sTd)),a,c)};_.Uh=function D1d(a,b,c){var d,e;switch(b){case 0:return !this.Ab&&(this.Ab=new C5d(f7,this,0,3)),rLd(this.Ab,a,c);case 6:return xvd(this,null,6,c);case 7:return !this.A&&(this.A=new iie(z7,this,7)),rLd(this.A,a,c);case 9:return !this.a&&(this.a=new C5d(l7,this,9,5)),rLd(this.a,a,c);}return e=RD(vYd((d=RD(Ywd(this,16),29),!d?(JTd(),sTd):d),b),69),e.wk().Ak(this,Wwd(this),b-AYd((JTd(),sTd)),a,c)};_.Wh=function E1d(a){var b;switch(a){case 0:return !!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return !!DXd(this);case 4:return !!y1d(this);case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return !!xXd(this);case 7:return !!this.A&&this.A.i!=0;case 8:return (this.Bb&256)==0;case 9:return !!this.a&&this.a.i!=0;}return Avd(this,a-AYd((JTd(),sTd)),vYd((b=RD(Ywd(this,16),29),!b?sTd:b),a))};_.bi=function F1d(a,b){var c;switch(a){case 0:!this.Ab&&(this.Ab=new C5d(f7,this,0,3));sLd(this.Ab);!this.Ab&&(this.Ab=new C5d(f7,this,0,3));YGd(this.Ab,RD(b,16));return;case 1:LXd(this,WD(b));return;case 2:IXd(this,WD(b));return;case 5:KXd(this,WD(b));return;case 7:!this.A&&(this.A=new iie(z7,this,7));sLd(this.A);!this.A&&(this.A=new iie(z7,this,7));YGd(this.A,RD(b,16));return;case 8:j1d(this,Heb(TD(b)));return;case 9:!this.a&&(this.a=new C5d(l7,this,9,5));sLd(this.a);!this.a&&(this.a=new C5d(l7,this,9,5));YGd(this.a,RD(b,16));return;}Bvd(this,a-AYd((JTd(),sTd)),vYd((c=RD(Ywd(this,16),29),!c?sTd:c),a),b);};_.ii=function G1d(){return JTd(),sTd};_.ki=function H1d(a){var b;switch(a){case 0:!this.Ab&&(this.Ab=new C5d(f7,this,0,3));sLd(this.Ab);return;case 1:ZD(this.Cb,184)&&(RD(this.Cb,184).tb=null);PAd(this,null);return;case 2:yXd(this,null);zXd(this,this.D);return;case 5:KXd(this,null);return;case 7:!this.A&&(this.A=new iie(z7,this,7));sLd(this.A);return;case 8:j1d(this,true);return;case 9:!this.a&&(this.a=new C5d(l7,this,9,5));sLd(this.a);return;}Cvd(this,a-AYd((JTd(),sTd)),vYd((b=RD(Ywd(this,16),29),!b?sTd:b),a));};_.pi=function I1d(){var a,b;if(this.a){for(a=0,b=this.a.i;a>16==5?RD(this.Cb,685):null;}return zvd(this,a-AYd((JTd(),tTd)),vYd((d=RD(Ywd(this,16),29),!d?tTd:d),a),b,c)};_.Sh=function U1d(a,b,c){var d,e,f;switch(b){case 0:return !this.Ab&&(this.Ab=new C5d(f7,this,0,3)),qLd(this.Ab,a,c);case 5:!!this.Cb&&(c=(e=this.Db>>16,e>=0?M1d(this,c):this.Cb.Th(this,-1-e,null,c)));return xvd(this,a,5,c);}return f=RD(vYd((d=RD(Ywd(this,16),29),!d?(JTd(),tTd):d),b),69),f.wk().zk(this,Wwd(this),b-AYd((JTd(),tTd)),a,c)};_.Uh=function V1d(a,b,c){var d,e;switch(b){case 0:return !this.Ab&&(this.Ab=new C5d(f7,this,0,3)),rLd(this.Ab,a,c);case 5:return xvd(this,null,5,c);}return e=RD(vYd((d=RD(Ywd(this,16),29),!d?(JTd(),tTd):d),b),69),e.wk().Ak(this,Wwd(this),b-AYd((JTd(),tTd)),a,c)};_.Wh=function W1d(a){var b;switch(a){case 0:return !!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.d!=0;case 3:return !!this.b;case 4:return this.c!=null;case 5:return !!(this.Db>>16==5?RD(this.Cb,685):null);}return Avd(this,a-AYd((JTd(),tTd)),vYd((b=RD(Ywd(this,16),29),!b?tTd:b),a))};_.bi=function X1d(a,b){var c;switch(a){case 0:!this.Ab&&(this.Ab=new C5d(f7,this,0,3));sLd(this.Ab);!this.Ab&&(this.Ab=new C5d(f7,this,0,3));YGd(this.Ab,RD(b,16));return;case 1:PAd(this,WD(b));return;case 2:Q1d(this,RD(b,17).a);return;case 3:O1d(this,RD(b,2039));return;case 4:P1d(this,WD(b));return;}Bvd(this,a-AYd((JTd(),tTd)),vYd((c=RD(Ywd(this,16),29),!c?tTd:c),a),b);};_.ii=function Y1d(){return JTd(),tTd};_.ki=function Z1d(a){var b;switch(a){case 0:!this.Ab&&(this.Ab=new C5d(f7,this,0,3));sLd(this.Ab);return;case 1:PAd(this,null);return;case 2:Q1d(this,0);return;case 3:O1d(this,null);return;case 4:P1d(this,null);return;}Cvd(this,a-AYd((JTd(),tTd)),vYd((b=RD(Ywd(this,16),29),!b?tTd:b),a));};_.Ib=function _1d(){var a;return a=this.c,a==null?this.zb:a};_.b=null;_.c=null;_.d=0;sfb(SHe,'EEnumLiteralImpl',582);var h8=ufb(SHe,'EFactoryImpl/InternalEDateTimeFormat');feb(499,1,{2114:1},c2d);sfb(SHe,'EFactoryImpl/1ClientInternalEDateTimeFormat',499);feb(248,120,{110:1,94:1,93:1,89:1,58:1,114:1,54:1,99:1,248:1,119:1,120:1},s2d);_.Ch=function t2d(a,b,c){var d;c=xvd(this,a,b,c);if(!!this.e&&ZD(a,179)){d=k2d(this,this.e);d!=this.c&&(c=o2d(this,d,c));}return c};_.Lh=function u2d(a,b,c){var d;switch(a){case 0:return this.f;case 1:return !this.d&&(this.d=new XZd(o7,this,1)),this.d;case 2:if(b)return i2d(this);return this.c;case 3:return this.b;case 4:return this.e;case 5:if(b)return h2d(this);return this.a;}return zvd(this,a-AYd((JTd(),vTd)),vYd((d=RD(Ywd(this,16),29),!d?vTd:d),a),b,c)};_.Uh=function v2d(a,b,c){var d,e;switch(b){case 0:return g2d(this,null,c);case 1:return !this.d&&(this.d=new XZd(o7,this,1)),rLd(this.d,a,c);case 3:return e2d(this,null,c);}return e=RD(vYd((d=RD(Ywd(this,16),29),!d?(JTd(),vTd):d),b),69),e.wk().Ak(this,Wwd(this),b-AYd((JTd(),vTd)),a,c)};_.Wh=function w2d(a){var b;switch(a){case 0:return !!this.f;case 1:return !!this.d&&this.d.i!=0;case 2:return !!this.c;case 3:return !!this.b;case 4:return !!this.e;case 5:return !!this.a;}return Avd(this,a-AYd((JTd(),vTd)),vYd((b=RD(Ywd(this,16),29),!b?vTd:b),a))};_.bi=function x2d(a,b){var c;switch(a){case 0:q2d(this,RD(b,89));return;case 1:!this.d&&(this.d=new XZd(o7,this,1));sLd(this.d);!this.d&&(this.d=new XZd(o7,this,1));YGd(this.d,RD(b,16));return;case 3:n2d(this,RD(b,89));return;case 4:p2d(this,RD(b,850));return;case 5:l2d(this,RD(b,142));return;}Bvd(this,a-AYd((JTd(),vTd)),vYd((c=RD(Ywd(this,16),29),!c?vTd:c),a),b);};_.ii=function y2d(){return JTd(),vTd};_.ki=function z2d(a){var b;switch(a){case 0:q2d(this,null);return;case 1:!this.d&&(this.d=new XZd(o7,this,1));sLd(this.d);return;case 3:n2d(this,null);return;case 4:p2d(this,null);return;case 5:l2d(this,null);return;}Cvd(this,a-AYd((JTd(),vTd)),vYd((b=RD(Ywd(this,16),29),!b?vTd:b),a));};_.Ib=function A2d(){var a;a=new dib(awd(this));a.a+=' (expression: ';r2d(this,a);a.a+=')';return a.a};var d2d;sfb(SHe,'EGenericTypeImpl',248);feb(2067,2062,uKe);_.Gi=function C2d(a,b){B2d(this,a,b);};_.Wk=function D2d(a,b){B2d(this,this.gc(),a);return b};_.$i=function E2d(a){return ju(this.pj(),a)};_.Ii=function F2d(){return this.Ji()};_.pj=function G2d(){return new mee(this)};_.Ji=function H2d(){return this.Ki(0)};_.Ki=function I2d(a){return this.pj().fd(a)};_.Xk=function J2d(a,b){ze(this,a,true);return b};_.Ti=function K2d(a,b){var c,d;d=ku(this,b);c=this.fd(a);c.Rb(d);return d};_.Ui=function L2d(a,b){var c;ze(this,b,true);c=this.fd(a);c.Rb(b);};sfb(ZJe,'AbstractSequentialInternalEList',2067);feb(496,2067,uKe,Q2d);_.$i=function R2d(a){return ju(this.pj(),a)};_.Ii=function S2d(){if(this.b==null){return j3d(),j3d(),i3d}return this.sl()};_.pj=function T2d(){return new Whe(this.a,this.b)};_.Ji=function U2d(){if(this.b==null){return j3d(),j3d(),i3d}return this.sl()};_.Ki=function V2d(a){var b,c;if(this.b==null){if(a<0||a>1){throw Adb(new veb(HJe+a+', size=0'))}return j3d(),j3d(),i3d}c=this.sl();for(b=0;b0){b=this.c[--this.d];if((!this.e||b.pk()!=C4||b.Lj()!=0)&&(!this.vl()||this.b.Xh(b))){f=this.b.Nh(b,this.ul());this.f=(nke(),RD(b,69).xk());if(this.f||b.Jk()){if(this.ul()){d=RD(f,15);this.k=d;}else {d=RD(f,71);this.k=this.j=d;}if(ZD(this.k,59)){this.o=this.k.gc();this.n=this.o;}else {this.p=!this.j?this.k.fd(this.k.gc()):this.j.Ki(this.k.gc());}if(!this.p?n3d(this):o3d(this,this.p)){e=!this.p?!this.j?this.k.Xb(--this.n):this.j.$i(--this.n):this.p.Ub();if(this.f){a=RD(e,76);a.Lk();c=a.md();this.i=c;}else {c=e;this.i=c;}this.g=-3;return true}}else if(f!=null){this.k=null;this.p=null;c=f;this.i=c;this.g=-2;return true}}}this.k=null;this.p=null;this.g=-1;return false}else {e=!this.p?!this.j?this.k.Xb(--this.n):this.j.$i(--this.n):this.p.Ub();if(this.f){a=RD(e,76);a.Lk();c=a.md();this.i=c;}else {c=e;this.i=c;}this.g=-3;return true}}}};_.Pb=function v3d(){return k3d(this)};_.Tb=function w3d(){return this.a};_.Ub=function x3d(){var a;if(this.g<-1||this.Sb()){--this.a;this.g=0;a=this.i;this.Sb();return a}else {throw Adb(new Dvb)}};_.Vb=function y3d(){return this.a-1};_.Qb=function z3d(){throw Adb(new jib)};_.ul=function A3d(){return false};_.Wb=function B3d(a){throw Adb(new jib)};_.vl=function C3d(){return true};_.a=0;_.d=0;_.f=false;_.g=0;_.n=0;_.o=0;var i3d;sfb(ZJe,'EContentsEList/FeatureIteratorImpl',287);feb(711,287,vKe,D3d);_.ul=function E3d(){return true};sfb(ZJe,'EContentsEList/ResolvingFeatureIteratorImpl',711);feb(1178,711,vKe,F3d);_.vl=function G3d(){return false};sfb(SHe,'ENamedElementImpl/1/1',1178);feb(1179,287,vKe,H3d);_.vl=function I3d(){return false};sfb(SHe,'ENamedElementImpl/1/2',1179);feb(39,152,GJe,L3d,M3d,N3d,O3d,P3d,Q3d,R3d,S3d,T3d,U3d,V3d,W3d,X3d,Y3d,Z3d,$3d,_3d,a4d,b4d,c4d,d4d,e4d,f4d,g4d,h4d);_.Kj=function i4d(){return K3d(this)};_.Rj=function j4d(){var a;a=K3d(this);if(a){return a.ik()}return null};_.hj=function k4d(a){this.b==-1&&!!this.a&&(this.b=this.c.Hh(this.a.Lj(),this.a.pk()));return this.c.yh(this.b,a)};_.jj=function l4d(){return this.c};_.Sj=function m4d(){var a;a=K3d(this);if(a){return a.tk()}return false};_.b=-1;sfb(SHe,'ENotificationImpl',39);feb(411,292,{110:1,94:1,93:1,155:1,197:1,58:1,62:1,114:1,481:1,54:1,99:1,158:1,411:1,292:1,119:1,120:1},q4d);_.Ah=function r4d(a){return n4d(this,a)};_.Lh=function s4d(a,b,c){var d,e,f;switch(a){case 0:return !this.Ab&&(this.Ab=new C5d(f7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Geb(),(this.Bb&256)!=0?true:false;case 3:return Geb(),(this.Bb&512)!=0?true:false;case 4:return sgb(this.s);case 5:return sgb(this.t);case 6:return Geb(),f=this.t,f>1||f==-1?true:false;case 7:return Geb(),e=this.s,e>=1?true:false;case 8:if(b)return WVd(this);return this.r;case 9:return this.q;case 10:return this.Db>>16==10?RD(this.Cb,29):null;case 11:return !this.d&&(this.d=new iie(z7,this,11)),this.d;case 12:return !this.c&&(this.c=new C5d(u7,this,12,10)),this.c;case 13:return !this.a&&(this.a=new F4d(this,this)),this.a;case 14:return o4d(this);}return zvd(this,a-AYd((JTd(),ATd)),vYd((d=RD(Ywd(this,16),29),!d?ATd:d),a),b,c)};_.Sh=function t4d(a,b,c){var d,e,f;switch(b){case 0:return !this.Ab&&(this.Ab=new C5d(f7,this,0,3)),qLd(this.Ab,a,c);case 10:!!this.Cb&&(c=(e=this.Db>>16,e>=0?n4d(this,c):this.Cb.Th(this,-1-e,null,c)));return xvd(this,a,10,c);case 12:return !this.c&&(this.c=new C5d(u7,this,12,10)),qLd(this.c,a,c);}return f=RD(vYd((d=RD(Ywd(this,16),29),!d?(JTd(),ATd):d),b),69),f.wk().zk(this,Wwd(this),b-AYd((JTd(),ATd)),a,c)};_.Uh=function u4d(a,b,c){var d,e;switch(b){case 0:return !this.Ab&&(this.Ab=new C5d(f7,this,0,3)),rLd(this.Ab,a,c);case 9:return VVd(this,c);case 10:return xvd(this,null,10,c);case 11:return !this.d&&(this.d=new iie(z7,this,11)),rLd(this.d,a,c);case 12:return !this.c&&(this.c=new C5d(u7,this,12,10)),rLd(this.c,a,c);case 14:return rLd(o4d(this),a,c);}return e=RD(vYd((d=RD(Ywd(this,16),29),!d?(JTd(),ATd):d),b),69),e.wk().Ak(this,Wwd(this),b-AYd((JTd(),ATd)),a,c)};_.Wh=function v4d(a){var b,c,d;switch(a){case 0:return !!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return (this.Bb&256)==0;case 3:return (this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return d=this.t,d>1||d==-1;case 7:return c=this.s,c>=1;case 8:return !!this.r&&!this.q.e&&j2d(this.q).i==0;case 9:return !!this.q&&!(!!this.r&&!this.q.e&&j2d(this.q).i==0);case 10:return !!(this.Db>>16==10?RD(this.Cb,29):null);case 11:return !!this.d&&this.d.i!=0;case 12:return !!this.c&&this.c.i!=0;case 13:return !!this.a&&o4d(this.a.a).i!=0&&!(!!this.b&&o5d(this.b));case 14:return !!this.b&&o5d(this.b);}return Avd(this,a-AYd((JTd(),ATd)),vYd((b=RD(Ywd(this,16),29),!b?ATd:b),a))};_.bi=function w4d(a,b){var c,d;switch(a){case 0:!this.Ab&&(this.Ab=new C5d(f7,this,0,3));sLd(this.Ab);!this.Ab&&(this.Ab=new C5d(f7,this,0,3));YGd(this.Ab,RD(b,16));return;case 1:PAd(this,WD(b));return;case 2:_Vd(this,Heb(TD(b)));return;case 3:aWd(this,Heb(TD(b)));return;case 4:$Vd(this,RD(b,17).a);return;case 5:bWd(this,RD(b,17).a);return;case 8:YVd(this,RD(b,142));return;case 9:d=XVd(this,RD(b,89),null);!!d&&d.oj();return;case 11:!this.d&&(this.d=new iie(z7,this,11));sLd(this.d);!this.d&&(this.d=new iie(z7,this,11));YGd(this.d,RD(b,16));return;case 12:!this.c&&(this.c=new C5d(u7,this,12,10));sLd(this.c);!this.c&&(this.c=new C5d(u7,this,12,10));YGd(this.c,RD(b,16));return;case 13:!this.a&&(this.a=new F4d(this,this));VJd(this.a);!this.a&&(this.a=new F4d(this,this));YGd(this.a,RD(b,16));return;case 14:sLd(o4d(this));YGd(o4d(this),RD(b,16));return;}Bvd(this,a-AYd((JTd(),ATd)),vYd((c=RD(Ywd(this,16),29),!c?ATd:c),a),b);};_.ii=function x4d(){return JTd(),ATd};_.ki=function y4d(a){var b,c;switch(a){case 0:!this.Ab&&(this.Ab=new C5d(f7,this,0,3));sLd(this.Ab);return;case 1:PAd(this,null);return;case 2:_Vd(this,true);return;case 3:aWd(this,true);return;case 4:$Vd(this,0);return;case 5:bWd(this,1);return;case 8:YVd(this,null);return;case 9:c=XVd(this,null,null);!!c&&c.oj();return;case 11:!this.d&&(this.d=new iie(z7,this,11));sLd(this.d);return;case 12:!this.c&&(this.c=new C5d(u7,this,12,10));sLd(this.c);return;case 13:!!this.a&&VJd(this.a);return;case 14:!!this.b&&sLd(this.b);return;}Cvd(this,a-AYd((JTd(),ATd)),vYd((b=RD(Ywd(this,16),29),!b?ATd:b),a));};_.pi=function z4d(){var a,b;if(this.c){for(a=0,b=this.c.i;ah&&bD(a,h,null);d=0;for(c=new dMd(o4d(this.a));c.e!=c.i.gc();){b=RD(bMd(c),89);f=(g=b.c,g?g:(JTd(),wTd));bD(a,d++,f);}return a};_.Hj=function Z4d(){var a,b,c,d,e;e=new Qhb;e.a+='[';a=o4d(this.a);for(b=0,d=o4d(this.a).i;b1)}case 5:{return dZd(this,a,b,c,d,this.i-RD(c,15).gc()>0)}default:{return new P3d(this.e,a,this.c,b,c,d,true)}}};_.Tj=function u5d(){return true};_.Qj=function v5d(){return o5d(this)};_.Gk=function A5d(){sLd(this);};sfb(SHe,'EOperationImpl/2',1377);feb(507,1,{2037:1,507:1},B5d);sfb(SHe,'EPackageImpl/1',507);feb(14,83,oKe,C5d);_.il=function D5d(){return this.d};_.jl=function E5d(){return this.b};_.ml=function F5d(){return true};_.b=0;sfb(ZJe,'EObjectContainmentWithInverseEList',14);feb(365,14,oKe,G5d);_.nl=function H5d(){return true};_.Wi=function I5d(a,b){return gZd(this,a,RD(b,58))};sfb(ZJe,'EObjectContainmentWithInverseEList/Resolving',365);feb(308,365,oKe,J5d);_.Ni=function K5d(){this.a.tb=null;};sfb(SHe,'EPackageImpl/2',308);feb(1278,1,{},L5d);sfb(SHe,'EPackageImpl/3',1278);feb(733,45,Hxe,O5d);_._b=function P5d(a){return bE(a)?Yjb(this,a):!!qtb(this.f,a)};sfb(SHe,'EPackageRegistryImpl',733);feb(518,292,{110:1,94:1,93:1,155:1,197:1,58:1,2116:1,114:1,481:1,54:1,99:1,158:1,518:1,292:1,119:1,120:1},R5d);_.Ah=function S5d(a){return Q5d(this,a)};_.Lh=function T5d(a,b,c){var d,e,f;switch(a){case 0:return !this.Ab&&(this.Ab=new C5d(f7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Geb(),(this.Bb&256)!=0?true:false;case 3:return Geb(),(this.Bb&512)!=0?true:false;case 4:return sgb(this.s);case 5:return sgb(this.t);case 6:return Geb(),f=this.t,f>1||f==-1?true:false;case 7:return Geb(),e=this.s,e>=1?true:false;case 8:if(b)return WVd(this);return this.r;case 9:return this.q;case 10:return this.Db>>16==10?RD(this.Cb,62):null;}return zvd(this,a-AYd((JTd(),DTd)),vYd((d=RD(Ywd(this,16),29),!d?DTd:d),a),b,c)};_.Sh=function U5d(a,b,c){var d,e,f;switch(b){case 0:return !this.Ab&&(this.Ab=new C5d(f7,this,0,3)),qLd(this.Ab,a,c);case 10:!!this.Cb&&(c=(e=this.Db>>16,e>=0?Q5d(this,c):this.Cb.Th(this,-1-e,null,c)));return xvd(this,a,10,c);}return f=RD(vYd((d=RD(Ywd(this,16),29),!d?(JTd(),DTd):d),b),69),f.wk().zk(this,Wwd(this),b-AYd((JTd(),DTd)),a,c)};_.Uh=function V5d(a,b,c){var d,e;switch(b){case 0:return !this.Ab&&(this.Ab=new C5d(f7,this,0,3)),rLd(this.Ab,a,c);case 9:return VVd(this,c);case 10:return xvd(this,null,10,c);}return e=RD(vYd((d=RD(Ywd(this,16),29),!d?(JTd(),DTd):d),b),69),e.wk().Ak(this,Wwd(this),b-AYd((JTd(),DTd)),a,c)};_.Wh=function W5d(a){var b,c,d;switch(a){case 0:return !!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return (this.Bb&256)==0;case 3:return (this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return d=this.t,d>1||d==-1;case 7:return c=this.s,c>=1;case 8:return !!this.r&&!this.q.e&&j2d(this.q).i==0;case 9:return !!this.q&&!(!!this.r&&!this.q.e&&j2d(this.q).i==0);case 10:return !!(this.Db>>16==10?RD(this.Cb,62):null);}return Avd(this,a-AYd((JTd(),DTd)),vYd((b=RD(Ywd(this,16),29),!b?DTd:b),a))};_.ii=function X5d(){return JTd(),DTd};sfb(SHe,'EParameterImpl',518);feb(102,462,{110:1,94:1,93:1,155:1,197:1,58:1,19:1,179:1,69:1,114:1,481:1,54:1,99:1,158:1,102:1,462:1,292:1,119:1,120:1,692:1},d6d);_.Lh=function e6d(a,b,c){var d,e,f,g;switch(a){case 0:return !this.Ab&&(this.Ab=new C5d(f7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Geb(),(this.Bb&256)!=0?true:false;case 3:return Geb(),(this.Bb&512)!=0?true:false;case 4:return sgb(this.s);case 5:return sgb(this.t);case 6:return Geb(),g=this.t,g>1||g==-1?true:false;case 7:return Geb(),e=this.s,e>=1?true:false;case 8:if(b)return WVd(this);return this.r;case 9:return this.q;case 10:return Geb(),(this.Bb&gwe)!=0?true:false;case 11:return Geb(),(this.Bb&cKe)!=0?true:false;case 12:return Geb(),(this.Bb&qxe)!=0?true:false;case 13:return this.j;case 14:return tWd(this);case 15:return Geb(),(this.Bb&bKe)!=0?true:false;case 16:return Geb(),(this.Bb&Ove)!=0?true:false;case 17:return uWd(this);case 18:return Geb(),(this.Bb&QHe)!=0?true:false;case 19:return Geb(),f=Z5d(this),!!f&&(f.Bb&QHe)!=0?true:false;case 20:return Geb(),(this.Bb&txe)!=0?true:false;case 21:if(b)return Z5d(this);return this.b;case 22:if(b)return $5d(this);return Y5d(this);case 23:return !this.a&&(this.a=new zie(g7,this,23)),this.a;}return zvd(this,a-AYd((JTd(),ETd)),vYd((d=RD(Ywd(this,16),29),!d?ETd:d),a),b,c)};_.Wh=function f6d(a){var b,c,d,e;switch(a){case 0:return !!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return (this.Bb&256)==0;case 3:return (this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return e=this.t,e>1||e==-1;case 7:return c=this.s,c>=1;case 8:return !!this.r&&!this.q.e&&j2d(this.q).i==0;case 9:return !!this.q&&!(!!this.r&&!this.q.e&&j2d(this.q).i==0);case 10:return (this.Bb&gwe)==0;case 11:return (this.Bb&cKe)!=0;case 12:return (this.Bb&qxe)!=0;case 13:return this.j!=null;case 14:return tWd(this)!=null;case 15:return (this.Bb&bKe)!=0;case 16:return (this.Bb&Ove)!=0;case 17:return !!uWd(this);case 18:return (this.Bb&QHe)!=0;case 19:return d=Z5d(this),!!d&&(d.Bb&QHe)!=0;case 20:return (this.Bb&txe)==0;case 21:return !!this.b;case 22:return !!Y5d(this);case 23:return !!this.a&&this.a.i!=0;}return Avd(this,a-AYd((JTd(),ETd)),vYd((b=RD(Ywd(this,16),29),!b?ETd:b),a))};_.bi=function g6d(a,b){var c,d;switch(a){case 0:!this.Ab&&(this.Ab=new C5d(f7,this,0,3));sLd(this.Ab);!this.Ab&&(this.Ab=new C5d(f7,this,0,3));YGd(this.Ab,RD(b,16));return;case 1:CWd(this,WD(b));return;case 2:_Vd(this,Heb(TD(b)));return;case 3:aWd(this,Heb(TD(b)));return;case 4:$Vd(this,RD(b,17).a);return;case 5:bWd(this,RD(b,17).a);return;case 8:YVd(this,RD(b,142));return;case 9:d=XVd(this,RD(b,89),null);!!d&&d.oj();return;case 10:xWd(this,Heb(TD(b)));return;case 11:FWd(this,Heb(TD(b)));return;case 12:DWd(this,Heb(TD(b)));return;case 13:yWd(this,WD(b));return;case 15:EWd(this,Heb(TD(b)));return;case 16:AWd(this,Heb(TD(b)));return;case 18:_5d(this,Heb(TD(b)));return;case 20:c6d(this,Heb(TD(b)));return;case 21:b6d(this,RD(b,19));return;case 23:!this.a&&(this.a=new zie(g7,this,23));sLd(this.a);!this.a&&(this.a=new zie(g7,this,23));YGd(this.a,RD(b,16));return;}Bvd(this,a-AYd((JTd(),ETd)),vYd((c=RD(Ywd(this,16),29),!c?ETd:c),a),b);};_.ii=function h6d(){return JTd(),ETd};_.ki=function i6d(a){var b,c;switch(a){case 0:!this.Ab&&(this.Ab=new C5d(f7,this,0,3));sLd(this.Ab);return;case 1:ZD(this.Cb,90)&&v$d(yYd(RD(this.Cb,90)),4);PAd(this,null);return;case 2:_Vd(this,true);return;case 3:aWd(this,true);return;case 4:$Vd(this,0);return;case 5:bWd(this,1);return;case 8:YVd(this,null);return;case 9:c=XVd(this,null,null);!!c&&c.oj();return;case 10:xWd(this,true);return;case 11:FWd(this,false);return;case 12:DWd(this,false);return;case 13:this.i=null;zWd(this,null);return;case 15:EWd(this,false);return;case 16:AWd(this,false);return;case 18:a6d(this,false);ZD(this.Cb,90)&&v$d(yYd(RD(this.Cb,90)),2);return;case 20:c6d(this,true);return;case 21:b6d(this,null);return;case 23:!this.a&&(this.a=new zie(g7,this,23));sLd(this.a);return;}Cvd(this,a-AYd((JTd(),ETd)),vYd((b=RD(Ywd(this,16),29),!b?ETd:b),a));};_.pi=function j6d(){$5d(this);Afe(Qee((lke(),jke),this));WVd(this);this.Bb|=1;};_.uk=function k6d(){return Z5d(this)};_._k=function l6d(){var a;return a=Z5d(this),!!a&&(a.Bb&QHe)!=0};_.al=function m6d(){return (this.Bb&QHe)!=0};_.bl=function n6d(){return (this.Bb&txe)!=0};_.Yk=function o6d(a,b){this.c=null;return ZVd(this,a,b)};_.Ib=function p6d(){var a;if((this.Db&64)!=0)return GWd(this);a=new Shb(GWd(this));a.a+=' (containment: ';Ohb(a,(this.Bb&QHe)!=0);a.a+=', resolveProxies: ';Ohb(a,(this.Bb&txe)!=0);a.a+=')';return a.a};sfb(SHe,'EReferenceImpl',102);feb(561,120,{110:1,44:1,94:1,93:1,136:1,58:1,114:1,54:1,99:1,561:1,119:1,120:1},v6d);_.Fb=function B6d(a){return this===a};_.ld=function D6d(){return this.b};_.md=function E6d(){return this.c};_.Hb=function F6d(){return kFb(this)};_.Di=function H6d(a){q6d(this,WD(a));};_.nd=function I6d(a){return u6d(this,WD(a))};_.Lh=function w6d(a,b,c){var d;switch(a){case 0:return this.b;case 1:return this.c;}return zvd(this,a-AYd((JTd(),FTd)),vYd((d=RD(Ywd(this,16),29),!d?FTd:d),a),b,c)};_.Wh=function x6d(a){var b;switch(a){case 0:return this.b!=null;case 1:return this.c!=null;}return Avd(this,a-AYd((JTd(),FTd)),vYd((b=RD(Ywd(this,16),29),!b?FTd:b),a))};_.bi=function y6d(a,b){var c;switch(a){case 0:r6d(this,WD(b));return;case 1:t6d(this,WD(b));return;}Bvd(this,a-AYd((JTd(),FTd)),vYd((c=RD(Ywd(this,16),29),!c?FTd:c),a),b);};_.ii=function z6d(){return JTd(),FTd};_.ki=function A6d(a){var b;switch(a){case 0:s6d(this,null);return;case 1:t6d(this,null);return;}Cvd(this,a-AYd((JTd(),FTd)),vYd((b=RD(Ywd(this,16),29),!b?FTd:b),a));};_.Bi=function C6d(){var a;if(this.a==-1){a=this.b;this.a=a==null?0:ohb(a);}return this.a};_.Ci=function G6d(a){this.a=a;};_.Ib=function J6d(){var a;if((this.Db&64)!=0)return awd(this);a=new Shb(awd(this));a.a+=' (key: ';Nhb(a,this.b);a.a+=', value: ';Nhb(a,this.c);a.a+=')';return a.a};_.a=-1;_.b=null;_.c=null;var C8=sfb(SHe,'EStringToStringMapEntryImpl',561);var Ibb=ufb(ZJe,'FeatureMap/Entry/Internal');feb(576,1,wKe);_.xl=function M6d(a){return this.yl(RD(a,54))};_.yl=function N6d(a){return this.xl(a)};_.Fb=function O6d(a){var b,c;if(this===a){return true}else if(ZD(a,76)){b=RD(a,76);if(b.Lk()==this.c){c=this.md();return c==null?b.md()==null:pb(c,b.md())}else {return false}}else {return false}};_.Lk=function P6d(){return this.c};_.Hb=function Q6d(){var a;a=this.md();return tb(this.c)^(a==null?0:tb(a))};_.Ib=function R6d(){var a,b;a=this.c;b=BXd(a.qk()).yi();a.xe();return (b!=null&&b.length!=0?b+':'+a.xe():a.xe())+'='+this.md()};sfb(SHe,'EStructuralFeatureImpl/BasicFeatureMapEntry',576);feb(791,576,wKe,U6d);_.yl=function V6d(a){return new U6d(this.c,a)};_.md=function W6d(){return this.a};_.zl=function X6d(a,b,c){return S6d(this,a,this.a,b,c)};_.Al=function Y6d(a,b,c){return T6d(this,a,this.a,b,c)};sfb(SHe,'EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry',791);feb(1350,1,{},Z6d);_.yk=function $6d(a,b,c,d,e){var f;f=RD(Evd(a,this.b),220);return f.Yl(this.a).Fk(d)};_.zk=function _6d(a,b,c,d,e){var f;f=RD(Evd(a,this.b),220);return f.Pl(this.a,d,e)};_.Ak=function a7d(a,b,c,d,e){var f;f=RD(Evd(a,this.b),220);return f.Ql(this.a,d,e)};_.Bk=function b7d(a,b,c){var d;d=RD(Evd(a,this.b),220);return d.Yl(this.a).Qj()};_.Ck=function c7d(a,b,c,d){var e;e=RD(Evd(a,this.b),220);e.Yl(this.a).Wb(d);};_.Dk=function d7d(a,b,c){return RD(Evd(a,this.b),220).Yl(this.a)};_.Ek=function e7d(a,b,c){var d;d=RD(Evd(a,this.b),220);d.Yl(this.a).Gk();};sfb(SHe,'EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator',1350);feb(91,1,{},g7d,h7d,i7d,j7d);_.yk=function k7d(a,b,c,d,e){var f;f=b.li(c);f==null&&b.mi(c,f=f7d(this,a));if(!e){switch(this.e){case 50:case 41:return RD(f,597).bk();case 40:return RD(f,220).Vl();}}return f};_.zk=function l7d(a,b,c,d,e){var f,g;g=b.li(c);g==null&&b.mi(c,g=f7d(this,a));f=RD(g,71).Wk(d,e);return f};_.Ak=function m7d(a,b,c,d,e){var f;f=b.li(c);f!=null&&(e=RD(f,71).Xk(d,e));return e};_.Bk=function n7d(a,b,c){var d;d=b.li(c);return d!=null&&RD(d,79).Qj()};_.Ck=function o7d(a,b,c,d){var e;e=RD(b.li(c),79);!e&&b.mi(c,e=f7d(this,a));e.Wb(d);};_.Dk=function p7d(a,b,c){var d,e;e=b.li(c);e==null&&b.mi(c,e=f7d(this,a));if(ZD(e,79)){return RD(e,79)}else {d=RD(b.li(c),15);return new I9d(d)}};_.Ek=function q7d(a,b,c){var d;d=RD(b.li(c),79);!d&&b.mi(c,d=f7d(this,a));d.Gk();};_.b=0;_.e=0;sfb(SHe,'EStructuralFeatureImpl/InternalSettingDelegateMany',91);feb(512,1,{});_.zk=function u7d(a,b,c,d,e){throw Adb(new jib)};_.Ak=function v7d(a,b,c,d,e){throw Adb(new jib)};_.Dk=function w7d(a,b,c){return new x7d(this,a,b,c)};var r7d;sfb(SHe,'EStructuralFeatureImpl/InternalSettingDelegateSingle',512);feb(1367,1,$Je,x7d);_.Fk=function y7d(a){return this.a.yk(this.c,this.d,this.b,a,true)};_.Qj=function z7d(){return this.a.Bk(this.c,this.d,this.b)};_.Wb=function A7d(a){this.a.Ck(this.c,this.d,this.b,a);};_.Gk=function B7d(){this.a.Ek(this.c,this.d,this.b);};_.b=0;sfb(SHe,'EStructuralFeatureImpl/InternalSettingDelegateSingle/1',1367);feb(784,512,{},C7d);_.yk=function D7d(a,b,c,d,e){return jwd(a,a.Ph(),a.Fh())==this.b?this.bl()&&d?yvd(a):a.Ph():null};_.zk=function E7d(a,b,c,d,e){var f,g;!!a.Ph()&&(e=(f=a.Fh(),f>=0?a.Ah(e):a.Ph().Th(a,-1-f,null,e)));g=BYd(a.Dh(),this.e);return a.Ch(d,g,e)};_.Ak=function F7d(a,b,c,d,e){var f;f=BYd(a.Dh(),this.e);return a.Ch(null,f,e)};_.Bk=function G7d(a,b,c){var d;d=BYd(a.Dh(),this.e);return !!a.Ph()&&a.Fh()==d};_.Ck=function H7d(a,b,c,d){var e,f,g,h,i;if(d!=null&&!FXd(this.a,d)){throw Adb(new Ifb(xKe+(ZD(d,58)?GYd(RD(d,58).Dh()):ofb(rb(d)))+yKe+this.a+"'"))}e=a.Ph();g=BYd(a.Dh(),this.e);if(dE(d)!==dE(e)||a.Fh()!=g&&d!=null){if(Oje(a,RD(d,58)))throw Adb(new agb(UHe+a.Ib()));i=null;!!e&&(i=(f=a.Fh(),f>=0?a.Ah(i):a.Ph().Th(a,-1-f,null,i)));h=RD(d,54);!!h&&(i=h.Rh(a,BYd(h.Dh(),this.b),null,i));i=a.Ch(h,g,i);!!i&&i.oj();}else {a.vh()&&a.wh()&&qvd(a,new N3d(a,1,g,d,d));}};_.Ek=function I7d(a,b,c){var d,e,f,g;d=a.Ph();if(d){g=(e=a.Fh(),e>=0?a.Ah(null):a.Ph().Th(a,-1-e,null,null));f=BYd(a.Dh(),this.e);g=a.Ch(null,f,g);!!g&&g.oj();}else {a.vh()&&a.wh()&&qvd(a,new b4d(a,1,this.e,null,null));}};_.bl=function J7d(){return false};sfb(SHe,'EStructuralFeatureImpl/InternalSettingDelegateSingleContainer',784);feb(1351,784,{},K7d);_.bl=function L7d(){return true};sfb(SHe,'EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving',1351);feb(574,512,{});_.yk=function O7d(a,b,c,d,e){var f;return f=b.li(c),f==null?this.b:dE(f)===dE(r7d)?null:f};_.Bk=function P7d(a,b,c){var d;d=b.li(c);return d!=null&&(dE(d)===dE(r7d)||!pb(d,this.b))};_.Ck=function Q7d(a,b,c,d){var e,f;if(a.vh()&&a.wh()){e=(f=b.li(c),f==null?this.b:dE(f)===dE(r7d)?null:f);if(d==null){if(this.c!=null){b.mi(c,null);d=this.b;}else this.b!=null?b.mi(c,r7d):b.mi(c,null);}else {this.Bl(d);b.mi(c,d);}qvd(a,this.d.Cl(a,1,this.e,e,d));}else {if(d==null){this.c!=null?b.mi(c,null):this.b!=null?b.mi(c,r7d):b.mi(c,null);}else {this.Bl(d);b.mi(c,d);}}};_.Ek=function R7d(a,b,c){var d,e;if(a.vh()&&a.wh()){d=(e=b.li(c),e==null?this.b:dE(e)===dE(r7d)?null:e);b.ni(c);qvd(a,this.d.Cl(a,1,this.e,d,this.b));}else {b.ni(c);}};_.Bl=function S7d(a){throw Adb(new Hfb)};sfb(SHe,'EStructuralFeatureImpl/InternalSettingDelegateSingleData',574);feb(zKe,1,{},b8d);_.Cl=function c8d(a,b,c,d,e){return new b4d(a,b,c,d,e)};_.Dl=function d8d(a,b,c,d,e,f){return new d4d(a,b,c,d,e,f)};var T7d,U7d,V7d,W7d,X7d,Y7d,Z7d,$7d,_7d;sfb(SHe,'EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator',zKe);feb(1368,zKe,{},e8d);_.Cl=function f8d(a,b,c,d,e){return new g4d(a,b,c,Heb(TD(d)),Heb(TD(e)))};_.Dl=function g8d(a,b,c,d,e,f){return new h4d(a,b,c,Heb(TD(d)),Heb(TD(e)),f)};sfb(SHe,'EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1',1368);feb(1369,zKe,{},h8d);_.Cl=function i8d(a,b,c,d,e){return new R3d(a,b,c,RD(d,222).a,RD(e,222).a)};_.Dl=function j8d(a,b,c,d,e,f){return new S3d(a,b,c,RD(d,222).a,RD(e,222).a,f)};sfb(SHe,'EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2',1369);feb(1370,zKe,{},k8d);_.Cl=function l8d(a,b,c,d,e){return new T3d(a,b,c,RD(d,180).a,RD(e,180).a)};_.Dl=function m8d(a,b,c,d,e,f){return new U3d(a,b,c,RD(d,180).a,RD(e,180).a,f)};sfb(SHe,'EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3',1370);feb(1371,zKe,{},n8d);_.Cl=function o8d(a,b,c,d,e){return new V3d(a,b,c,Kfb(UD(d)),Kfb(UD(e)))};_.Dl=function p8d(a,b,c,d,e,f){return new W3d(a,b,c,Kfb(UD(d)),Kfb(UD(e)),f)};sfb(SHe,'EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4',1371);feb(1372,zKe,{},q8d);_.Cl=function r8d(a,b,c,d,e){return new X3d(a,b,c,RD(d,161).a,RD(e,161).a)};_.Dl=function s8d(a,b,c,d,e,f){return new Y3d(a,b,c,RD(d,161).a,RD(e,161).a,f)};sfb(SHe,'EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5',1372);feb(1373,zKe,{},t8d);_.Cl=function u8d(a,b,c,d,e){return new Z3d(a,b,c,RD(d,17).a,RD(e,17).a)};_.Dl=function v8d(a,b,c,d,e,f){return new $3d(a,b,c,RD(d,17).a,RD(e,17).a,f)};sfb(SHe,'EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6',1373);feb(1374,zKe,{},w8d);_.Cl=function x8d(a,b,c,d,e){return new _3d(a,b,c,RD(d,168).a,RD(e,168).a)};_.Dl=function y8d(a,b,c,d,e,f){return new a4d(a,b,c,RD(d,168).a,RD(e,168).a,f)};sfb(SHe,'EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7',1374);feb(1375,zKe,{},z8d);_.Cl=function A8d(a,b,c,d,e){return new e4d(a,b,c,RD(d,191).a,RD(e,191).a)};_.Dl=function B8d(a,b,c,d,e,f){return new f4d(a,b,c,RD(d,191).a,RD(e,191).a,f)};sfb(SHe,'EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8',1375);feb(1353,574,{},C8d);_.Bl=function D8d(a){if(!this.a.fk(a)){throw Adb(new Ifb(xKe+rb(a)+yKe+this.a+"'"))}};sfb(SHe,'EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic',1353);feb(1354,574,{},E8d);_.Bl=function F8d(a){};sfb(SHe,'EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic',1354);feb(785,574,{});_.Bk=function G8d(a,b,c){var d;d=b.li(c);return d!=null};_.Ck=function H8d(a,b,c,d){var e,f;if(a.vh()&&a.wh()){e=true;f=b.li(c);if(f==null){e=false;f=this.b;}else dE(f)===dE(r7d)&&(f=null);if(d==null){if(this.c!=null){b.mi(c,null);d=this.b;}else {b.mi(c,r7d);}}else {this.Bl(d);b.mi(c,d);}qvd(a,this.d.Dl(a,1,this.e,f,d,!e));}else {if(d==null){this.c!=null?b.mi(c,null):b.mi(c,r7d);}else {this.Bl(d);b.mi(c,d);}}};_.Ek=function I8d(a,b,c){var d,e;if(a.vh()&&a.wh()){d=true;e=b.li(c);if(e==null){d=false;e=this.b;}else dE(e)===dE(r7d)&&(e=null);b.ni(c);qvd(a,this.d.Dl(a,2,this.e,e,this.b,d));}else {b.ni(c);}};sfb(SHe,'EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable',785);feb(1355,785,{},J8d);_.Bl=function K8d(a){if(!this.a.fk(a)){throw Adb(new Ifb(xKe+rb(a)+yKe+this.a+"'"))}};sfb(SHe,'EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic',1355);feb(1356,785,{},L8d);_.Bl=function M8d(a){};sfb(SHe,'EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic',1356);feb(410,512,{},N8d);_.yk=function P8d(a,b,c,d,e){var f,g,h,i,j;j=b.li(c);if(this.tk()&&dE(j)===dE(r7d)){return null}else if(this.bl()&&d&&j!=null){h=RD(j,54);if(h.Vh()){i=Vvd(a,h);if(h!=i){if(!FXd(this.a,i)){throw Adb(new Ifb(xKe+rb(i)+yKe+this.a+"'"))}b.mi(c,j=i);if(this.al()){f=RD(i,54);g=h.Th(a,!this.b?-1-BYd(a.Dh(),this.e):BYd(h.Dh(),this.b),null,null);!f.Ph()&&(g=f.Rh(a,!this.b?-1-BYd(a.Dh(),this.e):BYd(f.Dh(),this.b),null,g));!!g&&g.oj();}a.vh()&&a.wh()&&qvd(a,new b4d(a,9,this.e,h,i));}}return j}else {return j}};_.zk=function Q8d(a,b,c,d,e){var f,g;g=b.li(c);dE(g)===dE(r7d)&&(g=null);b.mi(c,d);if(this.Mj()){if(dE(g)!==dE(d)&&g!=null){f=RD(g,54);e=f.Th(a,BYd(f.Dh(),this.b),null,e);}}else this.al()&&g!=null&&(e=RD(g,54).Th(a,-1-BYd(a.Dh(),this.e),null,e));if(a.vh()&&a.wh()){!e&&(e=new gLd(4));e.nj(new b4d(a,1,this.e,g,d));}return e};_.Ak=function R8d(a,b,c,d,e){var f;f=b.li(c);dE(f)===dE(r7d)&&(f=null);b.ni(c);if(a.vh()&&a.wh()){!e&&(e=new gLd(4));this.tk()?e.nj(new b4d(a,2,this.e,f,null)):e.nj(new b4d(a,1,this.e,f,null));}return e};_.Bk=function S8d(a,b,c){var d;d=b.li(c);return d!=null};_.Ck=function T8d(a,b,c,d){var e,f,g,h,i;if(d!=null&&!FXd(this.a,d)){throw Adb(new Ifb(xKe+(ZD(d,58)?GYd(RD(d,58).Dh()):ofb(rb(d)))+yKe+this.a+"'"))}i=b.li(c);h=i!=null;this.tk()&&dE(i)===dE(r7d)&&(i=null);g=null;if(this.Mj()){if(dE(i)!==dE(d)){if(i!=null){e=RD(i,54);g=e.Th(a,BYd(e.Dh(),this.b),null,g);}if(d!=null){e=RD(d,54);g=e.Rh(a,BYd(e.Dh(),this.b),null,g);}}}else if(this.al()){if(dE(i)!==dE(d)){i!=null&&(g=RD(i,54).Th(a,-1-BYd(a.Dh(),this.e),null,g));d!=null&&(g=RD(d,54).Rh(a,-1-BYd(a.Dh(),this.e),null,g));}}d==null&&this.tk()?b.mi(c,r7d):b.mi(c,d);if(a.vh()&&a.wh()){f=new d4d(a,1,this.e,i,d,this.tk()&&!h);if(!g){qvd(a,f);}else {g.nj(f);g.oj();}}else !!g&&g.oj();};_.Ek=function U8d(a,b,c){var d,e,f,g,h;h=b.li(c);g=h!=null;this.tk()&&dE(h)===dE(r7d)&&(h=null);f=null;if(h!=null){if(this.Mj()){d=RD(h,54);f=d.Th(a,BYd(d.Dh(),this.b),null,f);}else this.al()&&(f=RD(h,54).Th(a,-1-BYd(a.Dh(),this.e),null,f));}b.ni(c);if(a.vh()&&a.wh()){e=new d4d(a,this.tk()?2:1,this.e,h,null,g);if(!f){qvd(a,e);}else {f.nj(e);f.oj();}}else !!f&&f.oj();};_.Mj=function V8d(){return false};_.al=function W8d(){return false};_.bl=function X8d(){return false};_.tk=function Y8d(){return false};sfb(SHe,'EStructuralFeatureImpl/InternalSettingDelegateSingleEObject',410);feb(575,410,{},Z8d);_.al=function $8d(){return true};sfb(SHe,'EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment',575);feb(1359,575,{},_8d);_.bl=function a9d(){return true};sfb(SHe,'EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving',1359);feb(787,575,{},b9d);_.tk=function c9d(){return true};sfb(SHe,'EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable',787);feb(1361,787,{},d9d);_.bl=function e9d(){return true};sfb(SHe,'EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving',1361);feb(650,575,{},f9d);_.Mj=function g9d(){return true};sfb(SHe,'EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse',650);feb(1360,650,{},h9d);_.bl=function i9d(){return true};sfb(SHe,'EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving',1360);feb(788,650,{},j9d);_.tk=function k9d(){return true};sfb(SHe,'EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable',788);feb(1362,788,{},l9d);_.bl=function m9d(){return true};sfb(SHe,'EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving',1362);feb(651,410,{},n9d);_.bl=function o9d(){return true};sfb(SHe,'EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving',651);feb(1363,651,{},p9d);_.tk=function q9d(){return true};sfb(SHe,'EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable',1363);feb(789,651,{},r9d);_.Mj=function s9d(){return true};sfb(SHe,'EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse',789);feb(1364,789,{},t9d);_.tk=function u9d(){return true};sfb(SHe,'EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable',1364);feb(1357,410,{},v9d);_.tk=function w9d(){return true};sfb(SHe,'EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable',1357);feb(786,410,{},x9d);_.Mj=function y9d(){return true};sfb(SHe,'EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse',786);feb(1358,786,{},z9d);_.tk=function A9d(){return true};sfb(SHe,'EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable',1358);feb(790,576,wKe,D9d);_.yl=function E9d(a){return new D9d(this.a,this.c,a)};_.md=function F9d(){return this.b};_.zl=function G9d(a,b,c){return B9d(this,a,this.b,c)};_.Al=function H9d(a,b,c){return C9d(this,a,this.b,c)};sfb(SHe,'EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry',790);feb(1365,1,$Je,I9d);_.Fk=function J9d(a){return this.a};_.Qj=function K9d(){return ZD(this.a,97)?RD(this.a,97).Qj():!this.a.dc()};_.Wb=function L9d(a){this.a.$b();this.a.Gc(RD(a,15));};_.Gk=function M9d(){ZD(this.a,97)?RD(this.a,97).Gk():this.a.$b();};sfb(SHe,'EStructuralFeatureImpl/SettingMany',1365);feb(1366,576,wKe,N9d);_.xl=function O9d(a){return new S9d((nme(),mme),this.b.ri(this.a,a))};_.md=function P9d(){return null};_.zl=function Q9d(a,b,c){return c};_.Al=function R9d(a,b,c){return c};sfb(SHe,'EStructuralFeatureImpl/SimpleContentFeatureMapEntry',1366);feb(652,576,wKe,S9d);_.xl=function T9d(a){return new S9d(this.c,a)};_.md=function U9d(){return this.a};_.zl=function V9d(a,b,c){return c};_.Al=function W9d(a,b,c){return c};sfb(SHe,'EStructuralFeatureImpl/SimpleFeatureMapEntry',652);feb(403,506,PIe,X9d);_.aj=function Y9d(a){return $C(h7,rve,29,a,0,1)};_.Yi=function Z9d(){return false};sfb(SHe,'ESuperAdapter/1',403);feb(457,448,{110:1,94:1,93:1,155:1,197:1,58:1,114:1,850:1,54:1,99:1,158:1,457:1,119:1,120:1},_9d);_.Lh=function aae(a,b,c){var d;switch(a){case 0:return !this.Ab&&(this.Ab=new C5d(f7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return !this.a&&(this.a=new iae(this,o7,this)),this.a;}return zvd(this,a-AYd((JTd(),ITd)),vYd((d=RD(Ywd(this,16),29),!d?ITd:d),a),b,c)};_.Uh=function bae(a,b,c){var d,e;switch(b){case 0:return !this.Ab&&(this.Ab=new C5d(f7,this,0,3)),rLd(this.Ab,a,c);case 2:return !this.a&&(this.a=new iae(this,o7,this)),rLd(this.a,a,c);}return e=RD(vYd((d=RD(Ywd(this,16),29),!d?(JTd(),ITd):d),b),69),e.wk().Ak(this,Wwd(this),b-AYd((JTd(),ITd)),a,c)};_.Wh=function cae(a){var b;switch(a){case 0:return !!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return !!this.a&&this.a.i!=0;}return Avd(this,a-AYd((JTd(),ITd)),vYd((b=RD(Ywd(this,16),29),!b?ITd:b),a))};_.bi=function dae(a,b){var c;switch(a){case 0:!this.Ab&&(this.Ab=new C5d(f7,this,0,3));sLd(this.Ab);!this.Ab&&(this.Ab=new C5d(f7,this,0,3));YGd(this.Ab,RD(b,16));return;case 1:PAd(this,WD(b));return;case 2:!this.a&&(this.a=new iae(this,o7,this));sLd(this.a);!this.a&&(this.a=new iae(this,o7,this));YGd(this.a,RD(b,16));return;}Bvd(this,a-AYd((JTd(),ITd)),vYd((c=RD(Ywd(this,16),29),!c?ITd:c),a),b);};_.ii=function eae(){return JTd(),ITd};_.ki=function fae(a){var b;switch(a){case 0:!this.Ab&&(this.Ab=new C5d(f7,this,0,3));sLd(this.Ab);return;case 1:PAd(this,null);return;case 2:!this.a&&(this.a=new iae(this,o7,this));sLd(this.a);return;}Cvd(this,a-AYd((JTd(),ITd)),vYd((b=RD(Ywd(this,16),29),!b?ITd:b),a));};sfb(SHe,'ETypeParameterImpl',457);feb(458,83,oKe,iae);_.Nj=function jae(a,b){return gae(this,RD(a,89),b)};_.Oj=function kae(a,b){return hae(this,RD(a,89),b)};sfb(SHe,'ETypeParameterImpl/1',458);feb(647,45,Hxe,lae);_.ec=function mae(){return new pae(this)};sfb(SHe,'ETypeParameterImpl/2',647);feb(570,Eve,Fve,pae);_.Fc=function qae(a){return nae(this,RD(a,89))};_.Gc=function rae(a){var b,c,d;d=false;for(c=a.Kc();c.Ob();){b=RD(c.Pb(),89);Zjb(this.a,b,'')==null&&(d=true);}return d};_.$b=function sae(){akb(this.a);};_.Hc=function tae(a){return Ujb(this.a,a)};_.Kc=function uae(){var a;return a=new vkb((new mkb(this.a)).a),new xae(a)};_.Mc=function vae(a){return oae(this,a)};_.gc=function wae(){return bkb(this.a)};sfb(SHe,'ETypeParameterImpl/2/1',570);feb(571,1,Ave,xae);_.Nb=function yae(a){Ztb(this,a);};_.Pb=function Aae(){return RD(tkb(this.a).ld(),89)};_.Ob=function zae(){return this.a.b};_.Qb=function Bae(){ukb(this.a);};sfb(SHe,'ETypeParameterImpl/2/1/1',571);feb(1329,45,Hxe,Cae);_._b=function Dae(a){return bE(a)?Yjb(this,a):!!qtb(this.f,a)};_.xc=function Eae(a){var b,c;b=bE(a)?Xjb(this,a):Wd(qtb(this.f,a));if(ZD(b,851)){c=RD(b,851);b=c.Kk();Zjb(this,RD(a,241),b);return b}else return b!=null?b:a==null?(Gie(),Fie):null};sfb(SHe,'EValidatorRegistryImpl',1329);feb(1349,720,{110:1,94:1,93:1,480:1,155:1,58:1,114:1,2040:1,54:1,99:1,158:1,119:1,120:1},Mae);_.ri=function Nae(a,b){switch(a.hk()){case 21:case 22:case 23:case 24:case 26:case 31:case 32:case 37:case 38:case 39:case 40:case 43:case 44:case 48:case 49:case 20:return b==null?null:jeb(b);case 25:return Gae(b);case 27:return Hae(b);case 28:return Iae(b);case 29:return b==null?null:a2d(nAd[0],RD(b,206));case 41:return b==null?'':nfb(RD(b,297));case 42:return jeb(b);case 50:return WD(b);default:throw Adb(new agb(VHe+a.xe()+WHe));}};_.si=function Oae(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q;switch(a.G==-1&&(a.G=(m=BXd(a),m?fZd(m.vi(),a):-1)),a.G){case 0:return c=new mXd,c;case 1:return b=new pVd,b;case 2:return d=new HYd,d;case 4:return e=new k1d,e;case 5:return f=new A1d,f;case 6:return g=new R1d,g;case 7:return h=new yAd,h;case 10:return j=new kUd,j;case 11:return k=new q4d,k;case 12:return l=new EBd,l;case 13:return n=new R5d,n;case 14:return o=new d6d,o;case 17:return p=new v6d,p;case 18:return i=new s2d,i;case 19:return q=new _9d,q;default:throw Adb(new agb(ZHe+a.zb+WHe));}};_.ti=function Pae(a,b){switch(a.hk()){case 20:return b==null?null:new Bib(b);case 21:return b==null?null:new ejb(b);case 23:case 22:return b==null?null:Fae(b);case 26:case 24:return b==null?null:$eb(Oeb(b,-128,127)<<24>>24);case 25:return vAd(b);case 27:return Jae(b);case 28:return Kae(b);case 29:return Lae(b);case 32:case 31:return b==null?null:Neb(b);case 38:case 37:return b==null?null:new Ufb(b);case 40:case 39:return b==null?null:sgb(Oeb(b,qwe,lve));case 41:return null;case 42:return b==null?null:null;case 44:case 43:return b==null?null:Hgb(Peb(b));case 49:case 48:return b==null?null:bhb(Oeb(b,BKe,32767)<<16>>16);case 50:return b;default:throw Adb(new agb(VHe+a.xe()+WHe));}};sfb(SHe,'EcoreFactoryImpl',1349);feb(560,184,{110:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,2038:1,54:1,99:1,158:1,184:1,560:1,119:1,120:1,690:1},$ae);_.gb=false;_.hb=false;var Rae,Sae=false;sfb(SHe,'EcorePackageImpl',560);feb(1234,1,{851:1},cbe);_.Kk=function dbe(){return fke(),eke};sfb(SHe,'EcorePackageImpl/1',1234);feb(1243,1,OKe,ebe);_.fk=function fbe(a){return ZD(a,155)};_.gk=function gbe(a){return $C(p7,rve,155,a,0,1)};sfb(SHe,'EcorePackageImpl/10',1243);feb(1244,1,OKe,hbe);_.fk=function ibe(a){return ZD(a,197)};_.gk=function jbe(a){return $C(q7,rve,197,a,0,1)};sfb(SHe,'EcorePackageImpl/11',1244);feb(1245,1,OKe,kbe);_.fk=function lbe(a){return ZD(a,58)};_.gk=function mbe(a){return $C(r7,rve,58,a,0,1)};sfb(SHe,'EcorePackageImpl/12',1245);feb(1246,1,OKe,nbe);_.fk=function obe(a){return ZD(a,411)};_.gk=function pbe(a){return $C(s7,mKe,62,a,0,1)};sfb(SHe,'EcorePackageImpl/13',1246);feb(1247,1,OKe,qbe);_.fk=function rbe(a){return ZD(a,241)};_.gk=function sbe(a){return $C(t7,rve,241,a,0,1)};sfb(SHe,'EcorePackageImpl/14',1247);feb(1248,1,OKe,tbe);_.fk=function ube(a){return ZD(a,518)};_.gk=function vbe(a){return $C(u7,rve,2116,a,0,1)};sfb(SHe,'EcorePackageImpl/15',1248);feb(1249,1,OKe,wbe);_.fk=function xbe(a){return ZD(a,102)};_.gk=function ybe(a){return $C(v7,lKe,19,a,0,1)};sfb(SHe,'EcorePackageImpl/16',1249);feb(1250,1,OKe,zbe);_.fk=function Abe(a){return ZD(a,179)};_.gk=function Bbe(a){return $C(y7,lKe,179,a,0,1)};sfb(SHe,'EcorePackageImpl/17',1250);feb(1251,1,OKe,Cbe);_.fk=function Dbe(a){return ZD(a,481)};_.gk=function Ebe(a){return $C(A7,rve,481,a,0,1)};sfb(SHe,'EcorePackageImpl/18',1251);feb(1252,1,OKe,Fbe);_.fk=function Gbe(a){return ZD(a,561)};_.gk=function Hbe(a){return $C(C8,LJe,561,a,0,1)};sfb(SHe,'EcorePackageImpl/19',1252);feb(1235,1,OKe,Ibe);_.fk=function Jbe(a){return ZD(a,331)};_.gk=function Kbe(a){return $C(g7,lKe,35,a,0,1)};sfb(SHe,'EcorePackageImpl/2',1235);feb(1253,1,OKe,Lbe);_.fk=function Mbe(a){return ZD(a,248)};_.gk=function Nbe(a){return $C(o7,sKe,89,a,0,1)};sfb(SHe,'EcorePackageImpl/20',1253);feb(1254,1,OKe,Obe);_.fk=function Pbe(a){return ZD(a,457)};_.gk=function Qbe(a){return $C(z7,rve,850,a,0,1)};sfb(SHe,'EcorePackageImpl/21',1254);feb(1255,1,OKe,Rbe);_.fk=function Sbe(a){return $D(a)};_.gk=function Tbe(a){return $C(QI,Nve,485,a,8,1)};sfb(SHe,'EcorePackageImpl/22',1255);feb(1256,1,OKe,Ube);_.fk=function Vbe(a){return ZD(a,195)};_.gk=function Wbe(a){return $C(gE,Nve,195,a,0,2)};sfb(SHe,'EcorePackageImpl/23',1256);feb(1257,1,OKe,Xbe);_.fk=function Ybe(a){return ZD(a,222)};_.gk=function Zbe(a){return $C(RI,Nve,222,a,0,1)};sfb(SHe,'EcorePackageImpl/24',1257);feb(1258,1,OKe,$be);_.fk=function _be(a){return ZD(a,180)};_.gk=function ace(a){return $C(SI,Nve,180,a,0,1)};sfb(SHe,'EcorePackageImpl/25',1258);feb(1259,1,OKe,bce);_.fk=function cce(a){return ZD(a,206)};_.gk=function dce(a){return $C(qK,Nve,206,a,0,1)};sfb(SHe,'EcorePackageImpl/26',1259);feb(1260,1,OKe,ece);_.fk=function fce(a){return false};_.gk=function gce(a){return $C(T6,rve,2215,a,0,1)};sfb(SHe,'EcorePackageImpl/27',1260);feb(1261,1,OKe,hce);_.fk=function ice(a){return _D(a)};_.gk=function jce(a){return $C(VI,Nve,345,a,7,1)};sfb(SHe,'EcorePackageImpl/28',1261);feb(1262,1,OKe,kce);_.fk=function lce(a){return ZD(a,61)};_.gk=function mce(a){return $C(Y6,Ize,61,a,0,1)};sfb(SHe,'EcorePackageImpl/29',1262);feb(1236,1,OKe,nce);_.fk=function oce(a){return ZD(a,519)};_.gk=function pce(a){return $C(f7,{3:1,4:1,5:1,2033:1},598,a,0,1)};sfb(SHe,'EcorePackageImpl/3',1236);feb(1263,1,OKe,qce);_.fk=function rce(a){return ZD(a,582)};_.gk=function sce(a){return $C(Z6,rve,2039,a,0,1)};sfb(SHe,'EcorePackageImpl/30',1263);feb(1264,1,OKe,tce);_.fk=function uce(a){return ZD(a,160)};_.gk=function vce(a){return $C(Tbb,Ize,160,a,0,1)};sfb(SHe,'EcorePackageImpl/31',1264);feb(1265,1,OKe,wce);_.fk=function xce(a){return ZD(a,76)};_.gk=function yce(a){return $C(Jbb,PKe,76,a,0,1)};sfb(SHe,'EcorePackageImpl/32',1265);feb(1266,1,OKe,zce);_.fk=function Ace(a){return ZD(a,161)};_.gk=function Bce(a){return $C(ZI,Nve,161,a,0,1)};sfb(SHe,'EcorePackageImpl/33',1266);feb(1267,1,OKe,Cce);_.fk=function Dce(a){return ZD(a,17)};_.gk=function Ece(a){return $C(bJ,Nve,17,a,0,1)};sfb(SHe,'EcorePackageImpl/34',1267);feb(1268,1,OKe,Fce);_.fk=function Gce(a){return ZD(a,297)};_.gk=function Hce(a){return $C(UI,rve,297,a,0,1)};sfb(SHe,'EcorePackageImpl/35',1268);feb(1269,1,OKe,Ice);_.fk=function Jce(a){return ZD(a,168)};_.gk=function Kce(a){return $C(eJ,Nve,168,a,0,1)};sfb(SHe,'EcorePackageImpl/36',1269);feb(1270,1,OKe,Lce);_.fk=function Mce(a){return ZD(a,85)};_.gk=function Nce(a){return $C(VK,rve,85,a,0,1)};sfb(SHe,'EcorePackageImpl/37',1270);feb(1271,1,OKe,Oce);_.fk=function Pce(a){return ZD(a,599)};_.gk=function Qce(a){return $C(Aab,rve,599,a,0,1)};sfb(SHe,'EcorePackageImpl/38',1271);feb(1272,1,OKe,Rce);_.fk=function Sce(a){return false};_.gk=function Tce(a){return $C(zab,rve,2216,a,0,1)};sfb(SHe,'EcorePackageImpl/39',1272);feb(1237,1,OKe,Uce);_.fk=function Vce(a){return ZD(a,90)};_.gk=function Wce(a){return $C(h7,rve,29,a,0,1)};sfb(SHe,'EcorePackageImpl/4',1237);feb(1273,1,OKe,Xce);_.fk=function Yce(a){return ZD(a,191)};_.gk=function Zce(a){return $C(lJ,Nve,191,a,0,1)};sfb(SHe,'EcorePackageImpl/40',1273);feb(1274,1,OKe,$ce);_.fk=function _ce(a){return bE(a)};_.gk=function ade(a){return $C(qJ,Nve,2,a,6,1)};sfb(SHe,'EcorePackageImpl/41',1274);feb(1275,1,OKe,bde);_.fk=function cde(a){return ZD(a,596)};_.gk=function dde(a){return $C(a7,rve,596,a,0,1)};sfb(SHe,'EcorePackageImpl/42',1275);feb(1276,1,OKe,ede);_.fk=function fde(a){return false};_.gk=function gde(a){return $C($6,Nve,2217,a,0,1)};sfb(SHe,'EcorePackageImpl/43',1276);feb(1277,1,OKe,hde);_.fk=function ide(a){return ZD(a,44)};_.gk=function jde(a){return $C(UK,Zve,44,a,0,1)};sfb(SHe,'EcorePackageImpl/44',1277);feb(1238,1,OKe,kde);_.fk=function lde(a){return ZD(a,142)};_.gk=function mde(a){return $C(i7,rve,142,a,0,1)};sfb(SHe,'EcorePackageImpl/5',1238);feb(1239,1,OKe,nde);_.fk=function ode(a){return ZD(a,156)};_.gk=function pde(a){return $C(k7,rve,156,a,0,1)};sfb(SHe,'EcorePackageImpl/6',1239);feb(1240,1,OKe,qde);_.fk=function rde(a){return ZD(a,469)};_.gk=function sde(a){return $C(m7,rve,685,a,0,1)};sfb(SHe,'EcorePackageImpl/7',1240);feb(1241,1,OKe,tde);_.fk=function ude(a){return ZD(a,582)};_.gk=function vde(a){return $C(l7,rve,694,a,0,1)};sfb(SHe,'EcorePackageImpl/8',1241);feb(1242,1,OKe,wde);_.fk=function xde(a){return ZD(a,480)};_.gk=function yde(a){return $C(n7,rve,480,a,0,1)};sfb(SHe,'EcorePackageImpl/9',1242);feb(1038,2080,JJe,Cde);_.Mi=function Dde(a,b){zde(this,RD(b,424));};_.Qi=function Ede(a,b){Ade(this,a,RD(b,424));};sfb(SHe,'MinimalEObjectImpl/1ArrayDelegatingAdapterList',1038);feb(1039,152,GJe,Fde);_.jj=function Gde(){return this.a.a};sfb(SHe,'MinimalEObjectImpl/1ArrayDelegatingAdapterList/1',1039);feb(1067,1066,{},Ide);sfb('org.eclipse.emf.ecore.plugin','EcorePlugin',1067);var Aab=ufb(QKe,'Resource');feb(799,1524,RKe);_.Hl=function Mde(a){};_.Il=function Nde(a){};_.El=function Ode(){return !this.a&&(this.a=new Zde(this)),this.a};_.Fl=function Pde(a){var b,c,d,e,f;d=a.length;if(d>0){BFb(0,a.length);if(a.charCodeAt(0)==47){f=new cnb(4);e=1;for(b=1;b0&&(a=(AFb(0,c,a.length),a.substr(0,c)));}}}return Kde(this,a)};_.Gl=function Qde(){return this.c};_.Ib=function Rde(){var a;return nfb(this.Rm)+'@'+(a=tb(this)>>>0,a.toString(16))+" uri='"+this.d+"'"};_.b=false;sfb(SKe,'ResourceImpl',799);feb(1525,799,RKe,Sde);sfb(SKe,'BinaryResourceImpl',1525);feb(1190,708,QIe);_.bj=function Vde(a){return ZD(a,58)?Tde(this,RD(a,58)):ZD(a,599)?new dMd(RD(a,599).El()):dE(a)===dE(this.f)?RD(a,16).Kc():(jQd(),iQd.a)};_.Ob=function Wde(){return Ude(this)};_.a=false;sfb(ZJe,'EcoreUtil/ContentTreeIterator',1190);feb(1526,1190,QIe,Xde);_.bj=function Yde(a){return dE(a)===dE(this.f)?RD(a,15).Kc():new _je(RD(a,58))};sfb(SKe,'ResourceImpl/5',1526);feb(658,2092,nKe,Zde);_.Hc=function $de(a){return this.i<=4?PHd(this,a):ZD(a,54)&&RD(a,54).Jh()==this.a};_.Mi=function _de(a,b){a==this.i-1&&(this.a.b||(this.a.b=true,null));};_.Oi=function aee(a,b){a==0?this.a.b||(this.a.b=true,null):$Gd(this,a,b);};_.Qi=function bee(a,b){};_.Ri=function cee(a,b,c){};_.Lj=function dee(){return 2};_.jj=function eee(){return this.a};_.Mj=function fee(){return true};_.Nj=function gee(a,b){var c;c=RD(a,54);b=c.fi(this.a,b);return b};_.Oj=function hee(a,b){var c;c=RD(a,54);return c.fi(null,b)};_.Pj=function iee(){return false};_.Si=function jee(){return true};_.aj=function kee(a){return $C(r7,rve,58,a,0,1)};_.Yi=function lee(){return false};sfb(SKe,'ResourceImpl/ContentsEList',658);feb(970,2062,kwe,mee);_.fd=function nee(a){return this.a.Ki(a)};_.gc=function oee(){return this.a.gc()};sfb(ZJe,'AbstractSequentialInternalEList/1',970);var hke,ike,jke,kke;feb(634,1,{},Yee);var pee,qee;sfb(ZJe,'BasicExtendedMetaData',634);feb(1181,1,{},afe);_.Jl=function bfe(){return null};_.Kl=function cfe(){this.a==-2&&$ee(this,uee(this.d,this.b));return this.a};_.Ll=function dfe(){return null};_.Ml=function efe(){return yob(),yob(),vob};_.xe=function ffe(){this.c==fLe&&_ee(this,zee(this.d,this.b));return this.c};_.Nl=function gfe(){return 0};_.a=-2;_.c=fLe;sfb(ZJe,'BasicExtendedMetaData/EClassExtendedMetaDataImpl',1181);feb(1182,1,{},mfe);_.Jl=function nfe(){this.a==(ree(),pee)&&hfe(this,tee(this.f,this.b));return this.a};_.Kl=function ofe(){return 0};_.Ll=function pfe(){this.c==(ree(),pee)&&ife(this,xee(this.f,this.b));return this.c};_.Ml=function qfe(){!this.d&&jfe(this,yee(this.f,this.b));return this.d};_.xe=function rfe(){this.e==fLe&&kfe(this,zee(this.f,this.b));return this.e};_.Nl=function sfe(){this.g==-2&&lfe(this,Cee(this.f,this.b));return this.g};_.e=fLe;_.g=-2;sfb(ZJe,'BasicExtendedMetaData/EDataTypeExtendedMetaDataImpl',1182);feb(1180,1,{},wfe);_.b=false;_.c=false;sfb(ZJe,'BasicExtendedMetaData/EPackageExtendedMetaDataImpl',1180);feb(1183,1,{},Jfe);_.c=-2;_.e=fLe;_.f=fLe;sfb(ZJe,'BasicExtendedMetaData/EStructuralFeatureExtendedMetaDataImpl',1183);feb(593,632,oKe,Kfe);_.Lj=function Lfe(){return this.c};_.ol=function Mfe(){return false};_.Wi=function Nfe(a,b){return b};_.c=0;sfb(ZJe,'EDataTypeEList',593);var Tbb=ufb(ZJe,'FeatureMap');feb(78,593,{3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1,79:1,160:1,220:1,2036:1,71:1,97:1},Uge);_.bd=function Vge(a,b){Ofe(this,a,RD(b,76));};_.Fc=function Wge(a){return Rfe(this,RD(a,76))};_.Hi=function _ge(a){Wfe(this,RD(a,76));};_.Nj=function khe(a,b){return mge(this,RD(a,76),b)};_.Oj=function lhe(a,b){return oge(this,RD(a,76),b)};_.Ti=function nhe(a,b){return uge(this,a,b)};_.Wi=function phe(a,b){return zge(this,a,RD(b,76))};_.hd=function rhe(a,b){return Cge(this,a,RD(b,76))};_.Uj=function vhe(a,b){return Ige(this,RD(a,76),b)};_.Vj=function whe(a,b){return Kge(this,RD(a,76),b)};_.Wj=function xhe(a,b,c){return Lge(this,RD(a,76),RD(b,76),c)};_.Zi=function zhe(a,b){return Tge(this,a,RD(b,76))};_.Ol=function Xge(a,b){return Qfe(this,a,b)};_.cd=function Yge(a,b){var c,d,e,f,g,h,i,j,k;j=new ZHd(b.gc());for(e=b.Kc();e.Ob();){d=RD(e.Pb(),76);f=d.Lk();if(qke(this.e,f)){(!f.Si()||!cge(this,f,d.md())&&!PHd(j,d))&&WGd(j,d);}else {k=pke(this.e.Dh(),f);c=RD(this.g,124);g=true;for(h=0;h=0){b=a[this.c];if(this.k.am(b.Lk())){this.j=this.f?b:b.md();this.i=-2;return true}}this.i=-1;this.g=-1;return false};sfb(ZJe,'BasicFeatureMap/FeatureEIterator',420);feb(676,420,Jve,She);_.ul=function The(){return true};sfb(ZJe,'BasicFeatureMap/ResolvingFeatureEIterator',676);feb(968,496,uKe,Uhe);_.pj=function Vhe(){return this};sfb(ZJe,'EContentsEList/1',968);feb(969,496,uKe,Whe);_.ul=function Xhe(){return false};sfb(ZJe,'EContentsEList/2',969);feb(967,287,vKe,Yhe);_.wl=function Zhe(a){};_.Ob=function $he(){return false};_.Sb=function _he(){return false};sfb(ZJe,'EContentsEList/FeatureIteratorImpl/1',967);feb(840,593,oKe,aie);_.Ni=function bie(){this.a=true;};_.Qj=function cie(){return this.a};_.Gk=function die(){var a;sLd(this);if(Mvd(this.e)){a=this.a;this.a=false;qvd(this.e,new Q3d(this.e,2,this.c,a,false));}else {this.a=false;}};_.a=false;sfb(ZJe,'EDataTypeEList/Unsettable',840);feb(1958,593,oKe,eie);_.Si=function fie(){return true};sfb(ZJe,'EDataTypeUniqueEList',1958);feb(1959,840,oKe,gie);_.Si=function hie(){return true};sfb(ZJe,'EDataTypeUniqueEList/Unsettable',1959);feb(147,83,oKe,iie);_.nl=function jie(){return true};_.Wi=function kie(a,b){return gZd(this,a,RD(b,58))};sfb(ZJe,'EObjectContainmentEList/Resolving',147);feb(1184,555,oKe,lie);_.nl=function mie(){return true};_.Wi=function nie(a,b){return gZd(this,a,RD(b,58))};sfb(ZJe,'EObjectContainmentEList/Unsettable/Resolving',1184);feb(766,14,oKe,oie);_.Ni=function pie(){this.a=true;};_.Qj=function qie(){return this.a};_.Gk=function rie(){var a;sLd(this);if(Mvd(this.e)){a=this.a;this.a=false;qvd(this.e,new Q3d(this.e,2,this.c,a,false));}else {this.a=false;}};_.a=false;sfb(ZJe,'EObjectContainmentWithInverseEList/Unsettable',766);feb(1222,766,oKe,sie);_.nl=function tie(){return true};_.Wi=function uie(a,b){return gZd(this,a,RD(b,58))};sfb(ZJe,'EObjectContainmentWithInverseEList/Unsettable/Resolving',1222);feb(757,505,oKe,vie);_.Ni=function wie(){this.a=true;};_.Qj=function xie(){return this.a};_.Gk=function yie(){var a;sLd(this);if(Mvd(this.e)){a=this.a;this.a=false;qvd(this.e,new Q3d(this.e,2,this.c,a,false));}else {this.a=false;}};_.a=false;sfb(ZJe,'EObjectEList/Unsettable',757);feb(338,505,oKe,zie);_.nl=function Aie(){return true};_.Wi=function Bie(a,b){return gZd(this,a,RD(b,58))};sfb(ZJe,'EObjectResolvingEList',338);feb(1844,757,oKe,Cie);_.nl=function Die(){return true};_.Wi=function Eie(a,b){return gZd(this,a,RD(b,58))};sfb(ZJe,'EObjectResolvingEList/Unsettable',1844);feb(1527,1,{},Hie);var Fie;sfb(ZJe,'EObjectValidator',1527);feb(559,505,oKe,Iie);_.il=function Jie(){return this.d};_.jl=function Kie(){return this.b};_.Mj=function Lie(){return true};_.ml=function Mie(){return true};_.b=0;sfb(ZJe,'EObjectWithInverseEList',559);feb(1225,559,oKe,Nie);_.ll=function Oie(){return true};sfb(ZJe,'EObjectWithInverseEList/ManyInverse',1225);feb(635,559,oKe,Pie);_.Ni=function Qie(){this.a=true;};_.Qj=function Rie(){return this.a};_.Gk=function Sie(){var a;sLd(this);if(Mvd(this.e)){a=this.a;this.a=false;qvd(this.e,new Q3d(this.e,2,this.c,a,false));}else {this.a=false;}};_.a=false;sfb(ZJe,'EObjectWithInverseEList/Unsettable',635);feb(1224,635,oKe,Tie);_.ll=function Uie(){return true};sfb(ZJe,'EObjectWithInverseEList/Unsettable/ManyInverse',1224);feb(767,559,oKe,Vie);_.nl=function Wie(){return true};_.Wi=function Xie(a,b){return gZd(this,a,RD(b,58))};sfb(ZJe,'EObjectWithInverseResolvingEList',767);feb(32,767,oKe,Yie);_.ll=function Zie(){return true};sfb(ZJe,'EObjectWithInverseResolvingEList/ManyInverse',32);feb(768,635,oKe,$ie);_.nl=function _ie(){return true};_.Wi=function aje(a,b){return gZd(this,a,RD(b,58))};sfb(ZJe,'EObjectWithInverseResolvingEList/Unsettable',768);feb(1223,768,oKe,bje);_.ll=function cje(){return true};sfb(ZJe,'EObjectWithInverseResolvingEList/Unsettable/ManyInverse',1223);feb(1185,632,oKe);_.Li=function dje(){return (this.b&1792)==0};_.Ni=function eje(){this.b|=1;};_.kl=function fje(){return (this.b&4)!=0};_.Mj=function gje(){return (this.b&40)!=0};_.ll=function hje(){return (this.b&16)!=0};_.ml=function ije(){return (this.b&8)!=0};_.nl=function jje(){return (this.b&cKe)!=0};_.al=function kje(){return (this.b&32)!=0};_.ol=function lje(){return (this.b&gwe)!=0};_.fk=function mje(a){return !this.d?this.Lk().Hk().fk(a):QRd(this.d,a)};_.Qj=function nje(){return (this.b&2)!=0?(this.b&1)!=0:this.i!=0};_.Si=function oje(){return (this.b&128)!=0};_.Gk=function qje(){var a;sLd(this);if((this.b&2)!=0){if(Mvd(this.e)){a=(this.b&1)!=0;this.b&=-2;eZd(this,new Q3d(this.e,2,BYd(this.e.Dh(),this.Lk()),a,false));}else {this.b&=-2;}}};_.Yi=function rje(){return (this.b&1536)==0};_.b=0;sfb(ZJe,'EcoreEList/Generic',1185);feb(1186,1185,oKe,sje);_.Lk=function tje(){return this.a};sfb(ZJe,'EcoreEList/Dynamic',1186);feb(765,66,PIe,uje);_.aj=function vje(a){return IMd(this.a.a,a)};sfb(ZJe,'EcoreEMap/1',765);feb(764,83,oKe,wje);_.Mi=function xje(a,b){UNd(this.b,RD(b,136));};_.Oi=function yje(a,b){TNd(this.b);};_.Pi=function zje(a,b,c){var d;++(d=this.b,RD(b,136),d).e;};_.Qi=function Aje(a,b){VNd(this.b,RD(b,136));};_.Ri=function Bje(a,b,c){VNd(this.b,RD(c,136));dE(c)===dE(b)&&RD(c,136).Ci(aOd(RD(b,136).ld()));UNd(this.b,RD(b,136));};sfb(ZJe,'EcoreEMap/DelegateEObjectContainmentEList',764);feb(1220,141,_Je,Cje);sfb(ZJe,'EcoreEMap/Unsettable',1220);feb(1221,764,oKe,Dje);_.Ni=function Eje(){this.a=true;};_.Qj=function Fje(){return this.a};_.Gk=function Gje(){var a;sLd(this);if(Mvd(this.e)){a=this.a;this.a=false;qvd(this.e,new Q3d(this.e,2,this.c,a,false));}else {this.a=false;}};_.a=false;sfb(ZJe,'EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList',1221);feb(1189,215,Hxe,Zje);_.a=false;_.b=false;sfb(ZJe,'EcoreUtil/Copier',1189);feb(759,1,Ave,_je);_.Nb=function ake(a){Ztb(this,a);};_.Ob=function bke(){return $je(this)};_.Pb=function cke(){var a;$je(this);a=this.b;this.b=null;return a};_.Qb=function dke(){this.a.Qb();};sfb(ZJe,'EcoreUtil/ProperContentIterator',759);feb(1528,1527,{},gke);var eke;sfb(ZJe,'EcoreValidator',1528);var mke;ufb(ZJe,'FeatureMapUtil/Validator');feb(1295,1,{2041:1},rke);_.am=function ske(a){return true};sfb(ZJe,'FeatureMapUtil/1',1295);feb(773,1,{2041:1},wke);_.am=function xke(a){var b;if(this.c==a)return true;b=TD(Wjb(this.a,a));if(b==null){if(vke(this,a)){yke(this.a,a,(Geb(),Feb));return true}else {yke(this.a,a,(Geb(),Eeb));return false}}else {return b==(Geb(),Feb)}};_.e=false;var tke;sfb(ZJe,'FeatureMapUtil/BasicValidator',773);feb(774,45,Hxe,zke);sfb(ZJe,'FeatureMapUtil/BasicValidator/Cache',774);feb(509,56,{20:1,31:1,56:1,16:1,15:1,61:1,79:1,71:1,97:1},Eke);_.bd=function Fke(a,b){Pfe(this.c,this.b,a,b);};_.Fc=function Gke(a){return Qfe(this.c,this.b,a)};_.cd=function Hke(a,b){return Sfe(this.c,this.b,a,b)};_.Gc=function Ike(a){return Ake(this,a)};_.Gi=function Jke(a,b){Ufe(this.c,this.b,a,b);};_.Wk=function Kke(a,b){return Xfe(this.c,this.b,a,b)};_.$i=function Lke(a){return hge(this.c,this.b,a,false)};_.Ii=function Mke(){return Yfe(this.c,this.b)};_.Ji=function Nke(){return Zfe(this.c,this.b)};_.Ki=function Oke(a){return $fe(this.c,this.b,a)};_.Xk=function Pke(a,b){return Bke(this,a,b)};_.$b=function Qke(){Cke(this);};_.Hc=function Rke(a){return cge(this.c,this.b,a)};_.Ic=function Ske(a){return ege(this.c,this.b,a)};_.Xb=function Tke(a){return hge(this.c,this.b,a,true)};_.Fk=function Uke(a){return this};_.dd=function Vke(a){return jge(this.c,this.b,a)};_.dc=function Wke(){return Dke(this)};_.Qj=function Xke(){return !pge(this.c,this.b)};_.Kc=function Yke(){return qge(this.c,this.b)};_.ed=function Zke(){return sge(this.c,this.b)};_.fd=function $ke(a){return tge(this.c,this.b,a)};_.Ti=function _ke(a,b){return vge(this.c,this.b,a,b)};_.Ui=function ale(a,b){wge(this.c,this.b,a,b);};_.gd=function ble(a){return xge(this.c,this.b,a)};_.Mc=function cle(a){return yge(this.c,this.b,a)};_.hd=function dle(a,b){return Ege(this.c,this.b,a,b)};_.Wb=function ele(a){bge(this.c,this.b);Ake(this,RD(a,15));};_.gc=function fle(){return Nge(this.c,this.b)};_.Pc=function gle(){return Oge(this.c,this.b)};_.Qc=function hle(a){return Qge(this.c,this.b,a)};_.Ib=function ile(){var a,b;b=new Qhb;b.a+='[';for(a=Yfe(this.c,this.b);Bhe(a);){Nhb(b,Ghb(Dhe(a)));Bhe(a)&&(b.a+=pve,b);}b.a+=']';return b.a};_.Gk=function jle(){bge(this.c,this.b);};sfb(ZJe,'FeatureMapUtil/FeatureEList',509);feb(644,39,GJe,lle);_.hj=function mle(a){return kle(this,a)};_.mj=function nle(a){var b,c,d,e,f,g,h;switch(this.d){case 1:case 2:{f=a.jj();if(dE(f)===dE(this.c)&&kle(this,null)==a.hj(null)){this.g=a.ij();a.gj()==1&&(this.d=1);return true}break}case 3:{e=a.gj();switch(e){case 3:{f=a.jj();if(dE(f)===dE(this.c)&&kle(this,null)==a.hj(null)){this.d=5;b=new ZHd(2);WGd(b,this.g);WGd(b,a.ij());this.g=b;return true}break}}break}case 5:{e=a.gj();switch(e){case 3:{f=a.jj();if(dE(f)===dE(this.c)&&kle(this,null)==a.hj(null)){c=RD(this.g,16);c.Fc(a.ij());return true}break}}break}case 4:{e=a.gj();switch(e){case 3:{f=a.jj();if(dE(f)===dE(this.c)&&kle(this,null)==a.hj(null)){this.d=1;this.g=a.ij();return true}break}case 4:{f=a.jj();if(dE(f)===dE(this.c)&&kle(this,null)==a.hj(null)){this.d=6;h=new ZHd(2);WGd(h,this.n);WGd(h,a.kj());this.n=h;g=cD(WC(kE,1),Pwe,28,15,[this.o,a.lj()]);this.g=g;return true}break}}break}case 6:{e=a.gj();switch(e){case 4:{f=a.jj();if(dE(f)===dE(this.c)&&kle(this,null)==a.hj(null)){c=RD(this.n,16);c.Fc(a.kj());g=RD(this.g,53);d=$C(kE,Pwe,28,g.length+1,15,1);hib(g,0,d,0,g.length);d[g.length]=a.lj();this.g=d;return true}break}}break}}return false};sfb(ZJe,'FeatureMapUtil/FeatureENotificationImpl',644);feb(564,509,{20:1,31:1,56:1,16:1,15:1,61:1,79:1,160:1,220:1,2036:1,71:1,97:1},ole);_.Ol=function ple(a,b){return Qfe(this.c,a,b)};_.Pl=function qle(a,b,c){return Xfe(this.c,a,b,c)};_.Ql=function rle(a,b,c){return age(this.c,a,b,c)};_.Rl=function sle(){return this};_.Sl=function tle(a,b){return ige(this.c,a,b)};_.Tl=function ule(a){return RD(hge(this.c,this.b,a,false),76).Lk()};_.Ul=function vle(a){return RD(hge(this.c,this.b,a,false),76).md()};_.Vl=function wle(){return this.a};_.Wl=function xle(a){return !pge(this.c,a)};_.Xl=function yle(a,b){Fge(this.c,a,b);};_.Yl=function zle(a){return Gge(this.c,a)};_.Zl=function Ale(a){Sge(this.c,a);};sfb(ZJe,'FeatureMapUtil/FeatureFeatureMap',564);feb(1294,1,$Je,Ble);_.Fk=function Cle(a){return hge(this.b,this.a,-1,a)};_.Qj=function Dle(){return !pge(this.b,this.a)};_.Wb=function Ele(a){Fge(this.b,this.a,a);};_.Gk=function Fle(){bge(this.b,this.a);};sfb(ZJe,'FeatureMapUtil/FeatureValue',1294);var Gle,Hle,Ile,Jle,Kle;var Vbb=ufb(hLe,'AnyType');feb(680,63,swe,Mle);sfb(hLe,'InvalidDatatypeValueException',680);var Xbb=ufb(hLe,iLe);var Ybb=ufb(hLe,jLe);var Zbb=ufb(hLe,kLe);var Nle;var Ple;var Rle,Sle,Tle,Ule,Vle,Wle,Xle,Yle,Zle,$le,_le,ame,bme,cme,dme,eme,fme,gme,hme,ime,jme,kme,lme,mme;feb(844,516,{110:1,94:1,93:1,58:1,54:1,99:1,857:1},ome);_.Lh=function pme(a,b,c){switch(a){case 0:if(c)return !this.c&&(this.c=new Uge(this,0)),this.c;return !this.c&&(this.c=new Uge(this,0)),this.c.b;case 1:if(c)return !this.c&&(this.c=new Uge(this,0)),RD(rge(this.c,(nme(),Sle)),160);return (!this.c&&(this.c=new Uge(this,0)),RD(RD(rge(this.c,(nme(),Sle)),160),220)).Vl();case 2:if(c)return !this.b&&(this.b=new Uge(this,2)),this.b;return !this.b&&(this.b=new Uge(this,2)),this.b.b;}return zvd(this,a-AYd(this.ii()),vYd((this.j&2)==0?this.ii():(!this.k&&(this.k=new fUd),this.k).Nk(),a),b,c)};_.Uh=function qme(a,b,c){var d;switch(b){case 0:return !this.c&&(this.c=new Uge(this,0)),_fe(this.c,a,c);case 1:return (!this.c&&(this.c=new Uge(this,0)),RD(RD(rge(this.c,(nme(),Sle)),160),71)).Xk(a,c);case 2:return !this.b&&(this.b=new Uge(this,2)),_fe(this.b,a,c);}return d=RD(vYd((this.j&2)==0?this.ii():(!this.k&&(this.k=new fUd),this.k).Nk(),b),69),d.wk().Ak(this,Yvd(this),b-AYd(this.ii()),a,c)};_.Wh=function rme(a){switch(a){case 0:return !!this.c&&this.c.i!=0;case 1:return !(!this.c&&(this.c=new Uge(this,0)),RD(rge(this.c,(nme(),Sle)),160)).dc();case 2:return !!this.b&&this.b.i!=0;}return Avd(this,a-AYd(this.ii()),vYd((this.j&2)==0?this.ii():(!this.k&&(this.k=new fUd),this.k).Nk(),a))};_.bi=function sme(a,b){switch(a){case 0:!this.c&&(this.c=new Uge(this,0));Dge(this.c,b);return;case 1:(!this.c&&(this.c=new Uge(this,0)),RD(RD(rge(this.c,(nme(),Sle)),160),220)).Wb(b);return;case 2:!this.b&&(this.b=new Uge(this,2));Dge(this.b,b);return;}Bvd(this,a-AYd(this.ii()),vYd((this.j&2)==0?this.ii():(!this.k&&(this.k=new fUd),this.k).Nk(),a),b);};_.ii=function tme(){return nme(),Rle};_.ki=function ume(a){switch(a){case 0:!this.c&&(this.c=new Uge(this,0));sLd(this.c);return;case 1:(!this.c&&(this.c=new Uge(this,0)),RD(rge(this.c,(nme(),Sle)),160)).$b();return;case 2:!this.b&&(this.b=new Uge(this,2));sLd(this.b);return;}Cvd(this,a-AYd(this.ii()),vYd((this.j&2)==0?this.ii():(!this.k&&(this.k=new fUd),this.k).Nk(),a));};_.Ib=function vme(){var a;if((this.j&4)!=0)return awd(this);a=new Shb(awd(this));a.a+=' (mixed: ';Mhb(a,this.c);a.a+=', anyAttribute: ';Mhb(a,this.b);a.a+=')';return a.a};sfb(lLe,'AnyTypeImpl',844);feb(681,516,{110:1,94:1,93:1,58:1,54:1,99:1,2119:1,681:1},yme);_.Lh=function zme(a,b,c){switch(a){case 0:return this.a;case 1:return this.b;}return zvd(this,a-AYd((nme(),cme)),vYd((this.j&2)==0?cme:(!this.k&&(this.k=new fUd),this.k).Nk(),a),b,c)};_.Wh=function Ame(a){switch(a){case 0:return this.a!=null;case 1:return this.b!=null;}return Avd(this,a-AYd((nme(),cme)),vYd((this.j&2)==0?cme:(!this.k&&(this.k=new fUd),this.k).Nk(),a))};_.bi=function Bme(a,b){switch(a){case 0:wme(this,WD(b));return;case 1:xme(this,WD(b));return;}Bvd(this,a-AYd((nme(),cme)),vYd((this.j&2)==0?cme:(!this.k&&(this.k=new fUd),this.k).Nk(),a),b);};_.ii=function Cme(){return nme(),cme};_.ki=function Dme(a){switch(a){case 0:this.a=null;return;case 1:this.b=null;return;}Cvd(this,a-AYd((nme(),cme)),vYd((this.j&2)==0?cme:(!this.k&&(this.k=new fUd),this.k).Nk(),a));};_.Ib=function Eme(){var a;if((this.j&4)!=0)return awd(this);a=new Shb(awd(this));a.a+=' (data: ';Nhb(a,this.a);a.a+=', target: ';Nhb(a,this.b);a.a+=')';return a.a};_.a=null;_.b=null;sfb(lLe,'ProcessingInstructionImpl',681);feb(682,844,{110:1,94:1,93:1,58:1,54:1,99:1,857:1,2120:1,682:1},Hme);_.Lh=function Ime(a,b,c){switch(a){case 0:if(c)return !this.c&&(this.c=new Uge(this,0)),this.c;return !this.c&&(this.c=new Uge(this,0)),this.c.b;case 1:if(c)return !this.c&&(this.c=new Uge(this,0)),RD(rge(this.c,(nme(),Sle)),160);return (!this.c&&(this.c=new Uge(this,0)),RD(RD(rge(this.c,(nme(),Sle)),160),220)).Vl();case 2:if(c)return !this.b&&(this.b=new Uge(this,2)),this.b;return !this.b&&(this.b=new Uge(this,2)),this.b.b;case 3:return !this.c&&(this.c=new Uge(this,0)),WD(ige(this.c,(nme(),fme),true));case 4:return Ije(this.a,(!this.c&&(this.c=new Uge(this,0)),WD(ige(this.c,(nme(),fme),true))));case 5:return this.a;}return zvd(this,a-AYd((nme(),eme)),vYd((this.j&2)==0?eme:(!this.k&&(this.k=new fUd),this.k).Nk(),a),b,c)};_.Wh=function Jme(a){switch(a){case 0:return !!this.c&&this.c.i!=0;case 1:return !(!this.c&&(this.c=new Uge(this,0)),RD(rge(this.c,(nme(),Sle)),160)).dc();case 2:return !!this.b&&this.b.i!=0;case 3:return !this.c&&(this.c=new Uge(this,0)),WD(ige(this.c,(nme(),fme),true))!=null;case 4:return Ije(this.a,(!this.c&&(this.c=new Uge(this,0)),WD(ige(this.c,(nme(),fme),true))))!=null;case 5:return !!this.a;}return Avd(this,a-AYd((nme(),eme)),vYd((this.j&2)==0?eme:(!this.k&&(this.k=new fUd),this.k).Nk(),a))};_.bi=function Kme(a,b){switch(a){case 0:!this.c&&(this.c=new Uge(this,0));Dge(this.c,b);return;case 1:(!this.c&&(this.c=new Uge(this,0)),RD(RD(rge(this.c,(nme(),Sle)),160),220)).Wb(b);return;case 2:!this.b&&(this.b=new Uge(this,2));Dge(this.b,b);return;case 3:Gme(this,WD(b));return;case 4:Gme(this,Hje(this.a,b));return;case 5:Fme(this,RD(b,156));return;}Bvd(this,a-AYd((nme(),eme)),vYd((this.j&2)==0?eme:(!this.k&&(this.k=new fUd),this.k).Nk(),a),b);};_.ii=function Lme(){return nme(),eme};_.ki=function Mme(a){switch(a){case 0:!this.c&&(this.c=new Uge(this,0));sLd(this.c);return;case 1:(!this.c&&(this.c=new Uge(this,0)),RD(rge(this.c,(nme(),Sle)),160)).$b();return;case 2:!this.b&&(this.b=new Uge(this,2));sLd(this.b);return;case 3:!this.c&&(this.c=new Uge(this,0));Fge(this.c,(nme(),fme),null);return;case 4:Gme(this,Hje(this.a,null));return;case 5:this.a=null;return;}Cvd(this,a-AYd((nme(),eme)),vYd((this.j&2)==0?eme:(!this.k&&(this.k=new fUd),this.k).Nk(),a));};sfb(lLe,'SimpleAnyTypeImpl',682);feb(683,516,{110:1,94:1,93:1,58:1,54:1,99:1,2121:1,683:1},Nme);_.Lh=function Ome(a,b,c){switch(a){case 0:if(c)return !this.a&&(this.a=new Uge(this,0)),this.a;return !this.a&&(this.a=new Uge(this,0)),this.a.b;case 1:return c?(!this.b&&(this.b=new DVd((JTd(),FTd),C8,this,1)),this.b):(!this.b&&(this.b=new DVd((JTd(),FTd),C8,this,1)),dOd(this.b));case 2:return c?(!this.c&&(this.c=new DVd((JTd(),FTd),C8,this,2)),this.c):(!this.c&&(this.c=new DVd((JTd(),FTd),C8,this,2)),dOd(this.c));case 3:return !this.a&&(this.a=new Uge(this,0)),rge(this.a,(nme(),ime));case 4:return !this.a&&(this.a=new Uge(this,0)),rge(this.a,(nme(),jme));case 5:return !this.a&&(this.a=new Uge(this,0)),rge(this.a,(nme(),lme));case 6:return !this.a&&(this.a=new Uge(this,0)),rge(this.a,(nme(),mme));}return zvd(this,a-AYd((nme(),hme)),vYd((this.j&2)==0?hme:(!this.k&&(this.k=new fUd),this.k).Nk(),a),b,c)};_.Uh=function Pme(a,b,c){var d;switch(b){case 0:return !this.a&&(this.a=new Uge(this,0)),_fe(this.a,a,c);case 1:return !this.b&&(this.b=new DVd((JTd(),FTd),C8,this,1)),BVd(this.b,a,c);case 2:return !this.c&&(this.c=new DVd((JTd(),FTd),C8,this,2)),BVd(this.c,a,c);case 5:return !this.a&&(this.a=new Uge(this,0)),Bke(rge(this.a,(nme(),lme)),a,c);}return d=RD(vYd((this.j&2)==0?(nme(),hme):(!this.k&&(this.k=new fUd),this.k).Nk(),b),69),d.wk().Ak(this,Yvd(this),b-AYd((nme(),hme)),a,c)};_.Wh=function Qme(a){switch(a){case 0:return !!this.a&&this.a.i!=0;case 1:return !!this.b&&this.b.f!=0;case 2:return !!this.c&&this.c.f!=0;case 3:return !this.a&&(this.a=new Uge(this,0)),!Dke(rge(this.a,(nme(),ime)));case 4:return !this.a&&(this.a=new Uge(this,0)),!Dke(rge(this.a,(nme(),jme)));case 5:return !this.a&&(this.a=new Uge(this,0)),!Dke(rge(this.a,(nme(),lme)));case 6:return !this.a&&(this.a=new Uge(this,0)),!Dke(rge(this.a,(nme(),mme)));}return Avd(this,a-AYd((nme(),hme)),vYd((this.j&2)==0?hme:(!this.k&&(this.k=new fUd),this.k).Nk(),a))};_.bi=function Rme(a,b){switch(a){case 0:!this.a&&(this.a=new Uge(this,0));Dge(this.a,b);return;case 1:!this.b&&(this.b=new DVd((JTd(),FTd),C8,this,1));CVd(this.b,b);return;case 2:!this.c&&(this.c=new DVd((JTd(),FTd),C8,this,2));CVd(this.c,b);return;case 3:!this.a&&(this.a=new Uge(this,0));Cke(rge(this.a,(nme(),ime)));!this.a&&(this.a=new Uge(this,0));Ake(rge(this.a,ime),RD(b,16));return;case 4:!this.a&&(this.a=new Uge(this,0));Cke(rge(this.a,(nme(),jme)));!this.a&&(this.a=new Uge(this,0));Ake(rge(this.a,jme),RD(b,16));return;case 5:!this.a&&(this.a=new Uge(this,0));Cke(rge(this.a,(nme(),lme)));!this.a&&(this.a=new Uge(this,0));Ake(rge(this.a,lme),RD(b,16));return;case 6:!this.a&&(this.a=new Uge(this,0));Cke(rge(this.a,(nme(),mme)));!this.a&&(this.a=new Uge(this,0));Ake(rge(this.a,mme),RD(b,16));return;}Bvd(this,a-AYd((nme(),hme)),vYd((this.j&2)==0?hme:(!this.k&&(this.k=new fUd),this.k).Nk(),a),b);};_.ii=function Sme(){return nme(),hme};_.ki=function Tme(a){switch(a){case 0:!this.a&&(this.a=new Uge(this,0));sLd(this.a);return;case 1:!this.b&&(this.b=new DVd((JTd(),FTd),C8,this,1));this.b.c.$b();return;case 2:!this.c&&(this.c=new DVd((JTd(),FTd),C8,this,2));this.c.c.$b();return;case 3:!this.a&&(this.a=new Uge(this,0));Cke(rge(this.a,(nme(),ime)));return;case 4:!this.a&&(this.a=new Uge(this,0));Cke(rge(this.a,(nme(),jme)));return;case 5:!this.a&&(this.a=new Uge(this,0));Cke(rge(this.a,(nme(),lme)));return;case 6:!this.a&&(this.a=new Uge(this,0));Cke(rge(this.a,(nme(),mme)));return;}Cvd(this,a-AYd((nme(),hme)),vYd((this.j&2)==0?hme:(!this.k&&(this.k=new fUd),this.k).Nk(),a));};_.Ib=function Ume(){var a;if((this.j&4)!=0)return awd(this);a=new Shb(awd(this));a.a+=' (mixed: ';Mhb(a,this.a);a.a+=')';return a.a};sfb(lLe,'XMLTypeDocumentRootImpl',683);feb(2028,720,{110:1,94:1,93:1,480:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1,2122:1},rne);_.ri=function sne(a,b){switch(a.hk()){case 7:case 8:case 9:case 10:case 16:case 22:case 23:case 24:case 25:case 26:case 32:case 33:case 34:case 36:case 37:case 44:case 45:case 50:case 51:case 53:case 55:case 56:case 57:case 58:case 60:case 61:case 4:return b==null?null:jeb(b);case 19:case 28:case 29:case 35:case 38:case 39:case 41:case 46:case 52:case 54:case 5:return WD(b);case 6:return _me(RD(b,195));case 12:case 47:case 49:case 11:return tAd(this,a,b);case 13:return b==null?null:yib(RD(b,247));case 15:case 14:return b==null?null:ane(Kfb(UD(b)));case 17:return bne((nme(),b));case 18:return bne(b);case 21:case 20:return b==null?null:cne(RD(b,161).a);case 27:return dne(RD(b,195));case 30:return ene((nme(),RD(b,15)));case 31:return ene(RD(b,15));case 40:return hne((nme(),b));case 42:return fne((nme(),b));case 43:return fne(b);case 59:case 48:return gne((nme(),b));default:throw Adb(new agb(VHe+a.xe()+WHe));}};_.si=function tne(a){var b,c,d,e,f;switch(a.G==-1&&(a.G=(c=BXd(a),c?fZd(c.vi(),a):-1)),a.G){case 0:return b=new ome,b;case 1:return d=new yme,d;case 2:return e=new Hme,e;case 3:return f=new Nme,f;default:throw Adb(new agb(ZHe+a.zb+WHe));}};_.ti=function une(a,b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;switch(a.hk()){case 5:case 52:case 4:return b;case 6:return ine(b);case 8:case 7:return b==null?null:$me(b);case 9:return b==null?null:$eb(Oeb((d=nue(b,true),d.length>0&&(BFb(0,d.length),d.charCodeAt(0)==43)?(BFb(1,d.length+1),d.substr(1)):d),-128,127)<<24>>24);case 10:return b==null?null:$eb(Oeb((e=nue(b,true),e.length>0&&(BFb(0,e.length),e.charCodeAt(0)==43)?(BFb(1,e.length+1),e.substr(1)):e),-128,127)<<24>>24);case 11:return WD(uAd(this,(nme(),Vle),b));case 12:return WD(uAd(this,(nme(),Wle),b));case 13:return b==null?null:new Bib(nue(b,true));case 15:case 14:return jne(b);case 16:return WD(uAd(this,(nme(),Xle),b));case 17:return kne((nme(),b));case 18:return kne(b);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return nue(b,true);case 21:case 20:return lne(b);case 22:return WD(uAd(this,(nme(),Yle),b));case 23:return WD(uAd(this,(nme(),Zle),b));case 24:return WD(uAd(this,(nme(),$le),b));case 25:return WD(uAd(this,(nme(),_le),b));case 26:return WD(uAd(this,(nme(),ame),b));case 27:return mne(b);case 30:return nne((nme(),b));case 31:return nne(b);case 32:return b==null?null:sgb(Oeb((k=nue(b,true),k.length>0&&(BFb(0,k.length),k.charCodeAt(0)==43)?(BFb(1,k.length+1),k.substr(1)):k),qwe,lve));case 33:return b==null?null:new ejb((l=nue(b,true),l.length>0&&(BFb(0,l.length),l.charCodeAt(0)==43)?(BFb(1,l.length+1),l.substr(1)):l));case 34:return b==null?null:sgb(Oeb((m=nue(b,true),m.length>0&&(BFb(0,m.length),m.charCodeAt(0)==43)?(BFb(1,m.length+1),m.substr(1)):m),qwe,lve));case 36:return b==null?null:Hgb(Peb((n=nue(b,true),n.length>0&&(BFb(0,n.length),n.charCodeAt(0)==43)?(BFb(1,n.length+1),n.substr(1)):n)));case 37:return b==null?null:Hgb(Peb((o=nue(b,true),o.length>0&&(BFb(0,o.length),o.charCodeAt(0)==43)?(BFb(1,o.length+1),o.substr(1)):o)));case 40:return qne((nme(),b));case 42:return one((nme(),b));case 43:return one(b);case 44:return b==null?null:new ejb((p=nue(b,true),p.length>0&&(BFb(0,p.length),p.charCodeAt(0)==43)?(BFb(1,p.length+1),p.substr(1)):p));case 45:return b==null?null:new ejb((q=nue(b,true),q.length>0&&(BFb(0,q.length),q.charCodeAt(0)==43)?(BFb(1,q.length+1),q.substr(1)):q));case 46:return nue(b,false);case 47:return WD(uAd(this,(nme(),bme),b));case 59:case 48:return pne((nme(),b));case 49:return WD(uAd(this,(nme(),dme),b));case 50:return b==null?null:bhb(Oeb((r=nue(b,true),r.length>0&&(BFb(0,r.length),r.charCodeAt(0)==43)?(BFb(1,r.length+1),r.substr(1)):r),BKe,32767)<<16>>16);case 51:return b==null?null:bhb(Oeb((f=nue(b,true),f.length>0&&(BFb(0,f.length),f.charCodeAt(0)==43)?(BFb(1,f.length+1),f.substr(1)):f),BKe,32767)<<16>>16);case 53:return WD(uAd(this,(nme(),gme),b));case 55:return b==null?null:bhb(Oeb((g=nue(b,true),g.length>0&&(BFb(0,g.length),g.charCodeAt(0)==43)?(BFb(1,g.length+1),g.substr(1)):g),BKe,32767)<<16>>16);case 56:return b==null?null:bhb(Oeb((h=nue(b,true),h.length>0&&(BFb(0,h.length),h.charCodeAt(0)==43)?(BFb(1,h.length+1),h.substr(1)):h),BKe,32767)<<16>>16);case 57:return b==null?null:Hgb(Peb((i=nue(b,true),i.length>0&&(BFb(0,i.length),i.charCodeAt(0)==43)?(BFb(1,i.length+1),i.substr(1)):i)));case 58:return b==null?null:Hgb(Peb((j=nue(b,true),j.length>0&&(BFb(0,j.length),j.charCodeAt(0)==43)?(BFb(1,j.length+1),j.substr(1)):j)));case 60:return b==null?null:sgb(Oeb((c=nue(b,true),c.length>0&&(BFb(0,c.length),c.charCodeAt(0)==43)?(BFb(1,c.length+1),c.substr(1)):c),qwe,lve));case 61:return b==null?null:sgb(Oeb(nue(b,true),qwe,lve));default:throw Adb(new agb(VHe+a.xe()+WHe));}};var Vme,Wme,Xme,Yme;sfb(lLe,'XMLTypeFactoryImpl',2028);feb(594,184,{110:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,54:1,99:1,158:1,184:1,119:1,120:1,690:1,2044:1,594:1},Bne);_.N=false;_.O=false;var wne=false;sfb(lLe,'XMLTypePackageImpl',594);feb(1961,1,{851:1},Ene);_.Kk=function Fne(){return rue(),que};sfb(lLe,'XMLTypePackageImpl/1',1961);feb(1970,1,OKe,Gne);_.fk=function Hne(a){return bE(a)};_.gk=function Ine(a){return $C(qJ,Nve,2,a,6,1)};sfb(lLe,'XMLTypePackageImpl/10',1970);feb(1971,1,OKe,Jne);_.fk=function Kne(a){return bE(a)};_.gk=function Lne(a){return $C(qJ,Nve,2,a,6,1)};sfb(lLe,'XMLTypePackageImpl/11',1971);feb(1972,1,OKe,Mne);_.fk=function Nne(a){return bE(a)};_.gk=function One(a){return $C(qJ,Nve,2,a,6,1)};sfb(lLe,'XMLTypePackageImpl/12',1972);feb(1973,1,OKe,Pne);_.fk=function Qne(a){return _D(a)};_.gk=function Rne(a){return $C(VI,Nve,345,a,7,1)};sfb(lLe,'XMLTypePackageImpl/13',1973);feb(1974,1,OKe,Sne);_.fk=function Tne(a){return bE(a)};_.gk=function Une(a){return $C(qJ,Nve,2,a,6,1)};sfb(lLe,'XMLTypePackageImpl/14',1974);feb(1975,1,OKe,Vne);_.fk=function Wne(a){return ZD(a,15)};_.gk=function Xne(a){return $C(QK,Ize,15,a,0,1)};sfb(lLe,'XMLTypePackageImpl/15',1975);feb(1976,1,OKe,Yne);_.fk=function Zne(a){return ZD(a,15)};_.gk=function $ne(a){return $C(QK,Ize,15,a,0,1)};sfb(lLe,'XMLTypePackageImpl/16',1976);feb(1977,1,OKe,_ne);_.fk=function aoe(a){return bE(a)};_.gk=function boe(a){return $C(qJ,Nve,2,a,6,1)};sfb(lLe,'XMLTypePackageImpl/17',1977);feb(1978,1,OKe,coe);_.fk=function doe(a){return ZD(a,161)};_.gk=function eoe(a){return $C(ZI,Nve,161,a,0,1)};sfb(lLe,'XMLTypePackageImpl/18',1978);feb(1979,1,OKe,foe);_.fk=function goe(a){return bE(a)};_.gk=function hoe(a){return $C(qJ,Nve,2,a,6,1)};sfb(lLe,'XMLTypePackageImpl/19',1979);feb(1962,1,OKe,ioe);_.fk=function joe(a){return ZD(a,857)};_.gk=function koe(a){return $C(Vbb,rve,857,a,0,1)};sfb(lLe,'XMLTypePackageImpl/2',1962);feb(1980,1,OKe,loe);_.fk=function moe(a){return bE(a)};_.gk=function noe(a){return $C(qJ,Nve,2,a,6,1)};sfb(lLe,'XMLTypePackageImpl/20',1980);feb(1981,1,OKe,ooe);_.fk=function poe(a){return bE(a)};_.gk=function qoe(a){return $C(qJ,Nve,2,a,6,1)};sfb(lLe,'XMLTypePackageImpl/21',1981);feb(1982,1,OKe,roe);_.fk=function soe(a){return bE(a)};_.gk=function toe(a){return $C(qJ,Nve,2,a,6,1)};sfb(lLe,'XMLTypePackageImpl/22',1982);feb(1983,1,OKe,uoe);_.fk=function voe(a){return bE(a)};_.gk=function woe(a){return $C(qJ,Nve,2,a,6,1)};sfb(lLe,'XMLTypePackageImpl/23',1983);feb(1984,1,OKe,xoe);_.fk=function yoe(a){return ZD(a,195)};_.gk=function zoe(a){return $C(gE,Nve,195,a,0,2)};sfb(lLe,'XMLTypePackageImpl/24',1984);feb(1985,1,OKe,Aoe);_.fk=function Boe(a){return bE(a)};_.gk=function Coe(a){return $C(qJ,Nve,2,a,6,1)};sfb(lLe,'XMLTypePackageImpl/25',1985);feb(1986,1,OKe,Doe);_.fk=function Eoe(a){return bE(a)};_.gk=function Foe(a){return $C(qJ,Nve,2,a,6,1)};sfb(lLe,'XMLTypePackageImpl/26',1986);feb(1987,1,OKe,Goe);_.fk=function Hoe(a){return ZD(a,15)};_.gk=function Ioe(a){return $C(QK,Ize,15,a,0,1)};sfb(lLe,'XMLTypePackageImpl/27',1987);feb(1988,1,OKe,Joe);_.fk=function Koe(a){return ZD(a,15)};_.gk=function Loe(a){return $C(QK,Ize,15,a,0,1)};sfb(lLe,'XMLTypePackageImpl/28',1988);feb(1989,1,OKe,Moe);_.fk=function Noe(a){return bE(a)};_.gk=function Ooe(a){return $C(qJ,Nve,2,a,6,1)};sfb(lLe,'XMLTypePackageImpl/29',1989);feb(1963,1,OKe,Poe);_.fk=function Qoe(a){return ZD(a,681)};_.gk=function Roe(a){return $C(Xbb,rve,2119,a,0,1)};sfb(lLe,'XMLTypePackageImpl/3',1963);feb(1990,1,OKe,Soe);_.fk=function Toe(a){return ZD(a,17)};_.gk=function Uoe(a){return $C(bJ,Nve,17,a,0,1)};sfb(lLe,'XMLTypePackageImpl/30',1990);feb(1991,1,OKe,Voe);_.fk=function Woe(a){return bE(a)};_.gk=function Xoe(a){return $C(qJ,Nve,2,a,6,1)};sfb(lLe,'XMLTypePackageImpl/31',1991);feb(1992,1,OKe,Yoe);_.fk=function Zoe(a){return ZD(a,168)};_.gk=function $oe(a){return $C(eJ,Nve,168,a,0,1)};sfb(lLe,'XMLTypePackageImpl/32',1992);feb(1993,1,OKe,_oe);_.fk=function ape(a){return bE(a)};_.gk=function bpe(a){return $C(qJ,Nve,2,a,6,1)};sfb(lLe,'XMLTypePackageImpl/33',1993);feb(1994,1,OKe,cpe);_.fk=function dpe(a){return bE(a)};_.gk=function epe(a){return $C(qJ,Nve,2,a,6,1)};sfb(lLe,'XMLTypePackageImpl/34',1994);feb(1995,1,OKe,fpe);_.fk=function gpe(a){return bE(a)};_.gk=function hpe(a){return $C(qJ,Nve,2,a,6,1)};sfb(lLe,'XMLTypePackageImpl/35',1995);feb(1996,1,OKe,ipe);_.fk=function jpe(a){return bE(a)};_.gk=function kpe(a){return $C(qJ,Nve,2,a,6,1)};sfb(lLe,'XMLTypePackageImpl/36',1996);feb(1997,1,OKe,lpe);_.fk=function mpe(a){return ZD(a,15)};_.gk=function npe(a){return $C(QK,Ize,15,a,0,1)};sfb(lLe,'XMLTypePackageImpl/37',1997);feb(1998,1,OKe,ope);_.fk=function ppe(a){return ZD(a,15)};_.gk=function qpe(a){return $C(QK,Ize,15,a,0,1)};sfb(lLe,'XMLTypePackageImpl/38',1998);feb(1999,1,OKe,rpe);_.fk=function spe(a){return bE(a)};_.gk=function tpe(a){return $C(qJ,Nve,2,a,6,1)};sfb(lLe,'XMLTypePackageImpl/39',1999);feb(1964,1,OKe,upe);_.fk=function vpe(a){return ZD(a,682)};_.gk=function wpe(a){return $C(Ybb,rve,2120,a,0,1)};sfb(lLe,'XMLTypePackageImpl/4',1964);feb(2000,1,OKe,xpe);_.fk=function ype(a){return bE(a)};_.gk=function zpe(a){return $C(qJ,Nve,2,a,6,1)};sfb(lLe,'XMLTypePackageImpl/40',2000);feb(2001,1,OKe,Ape);_.fk=function Bpe(a){return bE(a)};_.gk=function Cpe(a){return $C(qJ,Nve,2,a,6,1)};sfb(lLe,'XMLTypePackageImpl/41',2001);feb(2002,1,OKe,Dpe);_.fk=function Epe(a){return bE(a)};_.gk=function Fpe(a){return $C(qJ,Nve,2,a,6,1)};sfb(lLe,'XMLTypePackageImpl/42',2002);feb(2003,1,OKe,Gpe);_.fk=function Hpe(a){return bE(a)};_.gk=function Ipe(a){return $C(qJ,Nve,2,a,6,1)};sfb(lLe,'XMLTypePackageImpl/43',2003);feb(2004,1,OKe,Jpe);_.fk=function Kpe(a){return bE(a)};_.gk=function Lpe(a){return $C(qJ,Nve,2,a,6,1)};sfb(lLe,'XMLTypePackageImpl/44',2004);feb(2005,1,OKe,Mpe);_.fk=function Npe(a){return ZD(a,191)};_.gk=function Ope(a){return $C(lJ,Nve,191,a,0,1)};sfb(lLe,'XMLTypePackageImpl/45',2005);feb(2006,1,OKe,Ppe);_.fk=function Qpe(a){return bE(a)};_.gk=function Rpe(a){return $C(qJ,Nve,2,a,6,1)};sfb(lLe,'XMLTypePackageImpl/46',2006);feb(2007,1,OKe,Spe);_.fk=function Tpe(a){return bE(a)};_.gk=function Upe(a){return $C(qJ,Nve,2,a,6,1)};sfb(lLe,'XMLTypePackageImpl/47',2007);feb(2008,1,OKe,Vpe);_.fk=function Wpe(a){return bE(a)};_.gk=function Xpe(a){return $C(qJ,Nve,2,a,6,1)};sfb(lLe,'XMLTypePackageImpl/48',2008);feb(2009,1,OKe,Ype);_.fk=function Zpe(a){return ZD(a,191)};_.gk=function $pe(a){return $C(lJ,Nve,191,a,0,1)};sfb(lLe,'XMLTypePackageImpl/49',2009);feb(1965,1,OKe,_pe);_.fk=function aqe(a){return ZD(a,683)};_.gk=function bqe(a){return $C(Zbb,rve,2121,a,0,1)};sfb(lLe,'XMLTypePackageImpl/5',1965);feb(2010,1,OKe,cqe);_.fk=function dqe(a){return ZD(a,168)};_.gk=function eqe(a){return $C(eJ,Nve,168,a,0,1)};sfb(lLe,'XMLTypePackageImpl/50',2010);feb(2011,1,OKe,fqe);_.fk=function gqe(a){return bE(a)};_.gk=function hqe(a){return $C(qJ,Nve,2,a,6,1)};sfb(lLe,'XMLTypePackageImpl/51',2011);feb(2012,1,OKe,iqe);_.fk=function jqe(a){return ZD(a,17)};_.gk=function kqe(a){return $C(bJ,Nve,17,a,0,1)};sfb(lLe,'XMLTypePackageImpl/52',2012);feb(1966,1,OKe,lqe);_.fk=function mqe(a){return bE(a)};_.gk=function nqe(a){return $C(qJ,Nve,2,a,6,1)};sfb(lLe,'XMLTypePackageImpl/6',1966);feb(1967,1,OKe,oqe);_.fk=function pqe(a){return ZD(a,195)};_.gk=function qqe(a){return $C(gE,Nve,195,a,0,2)};sfb(lLe,'XMLTypePackageImpl/7',1967);feb(1968,1,OKe,rqe);_.fk=function sqe(a){return $D(a)};_.gk=function tqe(a){return $C(QI,Nve,485,a,8,1)};sfb(lLe,'XMLTypePackageImpl/8',1968);feb(1969,1,OKe,uqe);_.fk=function vqe(a){return ZD(a,222)};_.gk=function wqe(a){return $C(RI,Nve,222,a,0,1)};sfb(lLe,'XMLTypePackageImpl/9',1969);var xqe,yqe;var Eqe,Fqe;var Jqe;feb(55,63,swe,Lqe);sfb(LLe,'RegEx/ParseException',55);feb(836,1,{},Tqe);_.bm=function Uqe(a){return ac*16)throw Adb(new Lqe(TId((Hde(),tJe))));c=c*16+e;}while(true);if(this.a!=125)throw Adb(new Lqe(TId((Hde(),uJe))));if(c>MLe)throw Adb(new Lqe(TId((Hde(),vJe))));a=c;}else {e=0;if(this.c!=0||(e=Xqe(this.a))<0)throw Adb(new Lqe(TId((Hde(),sJe))));c=e;Mqe(this);if(this.c!=0||(e=Xqe(this.a))<0)throw Adb(new Lqe(TId((Hde(),sJe))));c=c*16+e;a=c;}break;case 117:d=0;Mqe(this);if(this.c!=0||(d=Xqe(this.a))<0)throw Adb(new Lqe(TId((Hde(),sJe))));b=d;Mqe(this);if(this.c!=0||(d=Xqe(this.a))<0)throw Adb(new Lqe(TId((Hde(),sJe))));b=b*16+d;Mqe(this);if(this.c!=0||(d=Xqe(this.a))<0)throw Adb(new Lqe(TId((Hde(),sJe))));b=b*16+d;Mqe(this);if(this.c!=0||(d=Xqe(this.a))<0)throw Adb(new Lqe(TId((Hde(),sJe))));b=b*16+d;a=b;break;case 118:Mqe(this);if(this.c!=0||(d=Xqe(this.a))<0)throw Adb(new Lqe(TId((Hde(),sJe))));b=d;Mqe(this);if(this.c!=0||(d=Xqe(this.a))<0)throw Adb(new Lqe(TId((Hde(),sJe))));b=b*16+d;Mqe(this);if(this.c!=0||(d=Xqe(this.a))<0)throw Adb(new Lqe(TId((Hde(),sJe))));b=b*16+d;Mqe(this);if(this.c!=0||(d=Xqe(this.a))<0)throw Adb(new Lqe(TId((Hde(),sJe))));b=b*16+d;Mqe(this);if(this.c!=0||(d=Xqe(this.a))<0)throw Adb(new Lqe(TId((Hde(),sJe))));b=b*16+d;Mqe(this);if(this.c!=0||(d=Xqe(this.a))<0)throw Adb(new Lqe(TId((Hde(),sJe))));b=b*16+d;if(b>MLe)throw Adb(new Lqe(TId((Hde(),'parser.descappe.4'))));a=b;break;case 65:case 90:case 122:throw Adb(new Lqe(TId((Hde(),wJe))));}return a};_.dm=function Wqe(a){var b,c;switch(a){case 100:c=(this.e&32)==32?hte('Nd',true):(Vse(),Bse);break;case 68:c=(this.e&32)==32?hte('Nd',false):(Vse(),Ise);break;case 119:c=(this.e&32)==32?hte('IsWord',true):(Vse(),Rse);break;case 87:c=(this.e&32)==32?hte('IsWord',false):(Vse(),Kse);break;case 115:c=(this.e&32)==32?hte('IsSpace',true):(Vse(),Mse);break;case 83:c=(this.e&32)==32?hte('IsSpace',false):(Vse(),Jse);break;default:throw Adb(new yz((b=a,NLe+b.toString(16))));}return c};_.em=function Yqe(a){var b,c,d,e,f,g,h,i,j,k,l,m;this.b=1;Mqe(this);b=null;if(this.c==0&&this.a==94){Mqe(this);if(a){k=(Vse(),Vse(),new xte(5));}else {b=(Vse(),Vse(),new xte(4));rte(b,0,MLe);k=(new xte(4));}}else {k=(Vse(),Vse(),new xte(4));}e=true;while((m=this.c)!=1){if(m==0&&this.a==93&&!e)break;e=false;c=this.a;d=false;if(m==10){switch(c){case 100:case 68:case 119:case 87:case 115:case 83:ute(k,this.dm(c));d=true;break;case 105:case 73:case 99:case 67:c=this.um(k,c);c<0&&(d=true);break;case 112:case 80:l=Sqe(this,c);if(!l)throw Adb(new Lqe(TId((Hde(),hJe))));ute(k,l);d=true;break;default:c=this.cm();}}else if(m==20){g=phb(this.i,58,this.d);if(g<0)throw Adb(new Lqe(TId((Hde(),iJe))));h=true;if(ihb(this.i,this.d)==94){++this.d;h=false;}f=zhb(this.i,this.d,g);i=ite(f,h,(this.e&512)==512);if(!i)throw Adb(new Lqe(TId((Hde(),kJe))));ute(k,i);d=true;if(g+1>=this.j||ihb(this.i,g+1)!=93)throw Adb(new Lqe(TId((Hde(),iJe))));this.d=g+2;}Mqe(this);if(!d){if(this.c!=0||this.a!=45){rte(k,c,c);}else {Mqe(this);if((m=this.c)==1)throw Adb(new Lqe(TId((Hde(),jJe))));if(m==0&&this.a==93){rte(k,c,c);rte(k,45,45);}else {j=this.a;m==10&&(j=this.cm());Mqe(this);rte(k,c,j);}}}(this.e&gwe)==gwe&&this.c==0&&this.a==44&&Mqe(this);}if(this.c==1)throw Adb(new Lqe(TId((Hde(),jJe))));if(b){wte(b,k);k=b;}vte(k);ste(k);this.b=0;Mqe(this);return k};_.fm=function Zqe(){var a,b,c,d;c=this.em(false);while((d=this.c)!=7){a=this.a;if(d==0&&(a==45||a==38)||d==4){Mqe(this);if(this.c!=9)throw Adb(new Lqe(TId((Hde(),pJe))));b=this.em(false);if(d==4)ute(c,b);else if(a==45)wte(c,b);else if(a==38)tte(c,b);else throw Adb(new yz('ASSERT'))}else {throw Adb(new Lqe(TId((Hde(),qJe))))}}Mqe(this);return c};_.gm=function $qe(){var a,b;a=this.a-48;b=(Vse(),Vse(),new eue(12,null,a));!this.g&&(this.g=new gyb);dyb(this.g,new Bte(a));Mqe(this);return b};_.hm=function _qe(){Mqe(this);return Vse(),Nse};_.im=function are(){Mqe(this);return Vse(),Lse};_.jm=function bre(){throw Adb(new Lqe(TId((Hde(),xJe))))};_.km=function cre(){throw Adb(new Lqe(TId((Hde(),xJe))))};_.lm=function dre(){Mqe(this);return fte()};_.mm=function ere(){Mqe(this);return Vse(),Pse};_.nm=function fre(){Mqe(this);return Vse(),Sse};_.om=function gre(){var a;if(this.d>=this.j||((a=ihb(this.i,this.d++))&65504)!=64)throw Adb(new Lqe(TId((Hde(),dJe))));Mqe(this);return Vse(),Vse(),new Hte(0,a-64)};_.pm=function hre(){Mqe(this);return gte()};_.qm=function ire(){Mqe(this);return Vse(),Tse};_.rm=function jre(){var a;a=(Vse(),Vse(),new Hte(0,105));Mqe(this);return a};_.sm=function kre(){Mqe(this);return Vse(),Qse};_.tm=function lre(){Mqe(this);return Vse(),Ose};_.um=function mre(a,b){return this.cm()};_.vm=function nre(){Mqe(this);return Vse(),Gse};_.wm=function ore(){var a,b,c,d,e;if(this.d+1>=this.j)throw Adb(new Lqe(TId((Hde(),aJe))));d=-1;b=null;a=ihb(this.i,this.d);if(49<=a&&a<=57){d=a-48;!this.g&&(this.g=new gyb);dyb(this.g,new Bte(d));++this.d;if(ihb(this.i,this.d)!=41)throw Adb(new Lqe(TId((Hde(),ZIe))));++this.d;}else {a==63&&--this.d;Mqe(this);b=Pqe(this);switch(b.e){case 20:case 21:case 22:case 23:break;case 8:if(this.c!=7)throw Adb(new Lqe(TId((Hde(),ZIe))));break;default:throw Adb(new Lqe(TId((Hde(),bJe))));}}Mqe(this);e=Qqe(this);c=null;if(e.e==2){if(e.Pm()!=2)throw Adb(new Lqe(TId((Hde(),cJe))));c=e.Lm(1);e=e.Lm(0);}if(this.c!=7)throw Adb(new Lqe(TId((Hde(),ZIe))));Mqe(this);return Vse(),Vse(),new Ute(d,b,e,c)};_.xm=function pre(){Mqe(this);return Vse(),Hse};_.ym=function qre(){var a;Mqe(this);a=_se(24,Qqe(this));if(this.c!=7)throw Adb(new Lqe(TId((Hde(),ZIe))));Mqe(this);return a};_.zm=function rre(){var a;Mqe(this);a=_se(20,Qqe(this));if(this.c!=7)throw Adb(new Lqe(TId((Hde(),ZIe))));Mqe(this);return a};_.Am=function sre(){var a;Mqe(this);a=_se(22,Qqe(this));if(this.c!=7)throw Adb(new Lqe(TId((Hde(),ZIe))));Mqe(this);return a};_.Bm=function tre(){var a,b,c,d,e;a=0;c=0;b=-1;while(this.d=this.j)throw Adb(new Lqe(TId((Hde(),$Ie))));if(b==45){++this.d;while(this.d=this.j)throw Adb(new Lqe(TId((Hde(),$Ie))))}if(b==58){++this.d;Mqe(this);d=ate(Qqe(this),a,c);if(this.c!=7)throw Adb(new Lqe(TId((Hde(),ZIe))));Mqe(this);}else if(b==41){++this.d;Mqe(this);d=ate(Qqe(this),a,c);}else throw Adb(new Lqe(TId((Hde(),_Ie))));return d};_.Cm=function ure(){var a;Mqe(this);a=_se(21,Qqe(this));if(this.c!=7)throw Adb(new Lqe(TId((Hde(),ZIe))));Mqe(this);return a};_.Dm=function vre(){var a;Mqe(this);a=_se(23,Qqe(this));if(this.c!=7)throw Adb(new Lqe(TId((Hde(),ZIe))));Mqe(this);return a};_.Em=function wre(){var a,b;Mqe(this);a=this.f++;b=bte(Qqe(this),a);if(this.c!=7)throw Adb(new Lqe(TId((Hde(),ZIe))));Mqe(this);return b};_.Fm=function xre(){var a;Mqe(this);a=bte(Qqe(this),0);if(this.c!=7)throw Adb(new Lqe(TId((Hde(),ZIe))));Mqe(this);return a};_.Gm=function yre(a){Mqe(this);if(this.c==5){Mqe(this);return $se(a,(Vse(),Vse(),new Kte(9,a)))}else return $se(a,(Vse(),Vse(),new Kte(3,a)))};_.Hm=function zre(a){var b;Mqe(this);b=(Vse(),Vse(),new iue(2));if(this.c==5){Mqe(this);hue(b,(Ese));hue(b,a);}else {hue(b,a);hue(b,(Ese));}return b};_.Im=function Are(a){Mqe(this);if(this.c==5){Mqe(this);return Vse(),Vse(),new Kte(9,a)}else return Vse(),Vse(),new Kte(3,a)};_.a=0;_.b=0;_.c=0;_.d=0;_.e=0;_.f=1;_.g=null;_.j=0;sfb(LLe,'RegEx/RegexParser',836);feb(1947,836,{},Gre);_.bm=function Hre(a){return false};_.cm=function Ire(){return Dre(this)};_.dm=function Kre(a){return Ere(a)};_.em=function Lre(a){return Fre(this)};_.fm=function Mre(){throw Adb(new Lqe(TId((Hde(),xJe))))};_.gm=function Nre(){throw Adb(new Lqe(TId((Hde(),xJe))))};_.hm=function Ore(){throw Adb(new Lqe(TId((Hde(),xJe))))};_.im=function Pre(){throw Adb(new Lqe(TId((Hde(),xJe))))};_.jm=function Qre(){Mqe(this);return Ere(67)};_.km=function Rre(){Mqe(this);return Ere(73)};_.lm=function Sre(){throw Adb(new Lqe(TId((Hde(),xJe))))};_.mm=function Tre(){throw Adb(new Lqe(TId((Hde(),xJe))))};_.nm=function Ure(){throw Adb(new Lqe(TId((Hde(),xJe))))};_.om=function Vre(){Mqe(this);return Ere(99)};_.pm=function Wre(){throw Adb(new Lqe(TId((Hde(),xJe))))};_.qm=function Xre(){throw Adb(new Lqe(TId((Hde(),xJe))))};_.rm=function Yre(){Mqe(this);return Ere(105)};_.sm=function Zre(){throw Adb(new Lqe(TId((Hde(),xJe))))};_.tm=function $re(){throw Adb(new Lqe(TId((Hde(),xJe))))};_.um=function _re(a,b){return ute(a,Ere(b)),-1};_.vm=function ase(){Mqe(this);return Vse(),Vse(),new Hte(0,94)};_.wm=function bse(){throw Adb(new Lqe(TId((Hde(),xJe))))};_.xm=function cse(){Mqe(this);return Vse(),Vse(),new Hte(0,36)};_.ym=function dse(){throw Adb(new Lqe(TId((Hde(),xJe))))};_.zm=function ese(){throw Adb(new Lqe(TId((Hde(),xJe))))};_.Am=function fse(){throw Adb(new Lqe(TId((Hde(),xJe))))};_.Bm=function gse(){throw Adb(new Lqe(TId((Hde(),xJe))))};_.Cm=function hse(){throw Adb(new Lqe(TId((Hde(),xJe))))};_.Dm=function ise(){throw Adb(new Lqe(TId((Hde(),xJe))))};_.Em=function jse(){var a;Mqe(this);a=bte(Qqe(this),0);if(this.c!=7)throw Adb(new Lqe(TId((Hde(),ZIe))));Mqe(this);return a};_.Fm=function kse(){throw Adb(new Lqe(TId((Hde(),xJe))))};_.Gm=function lse(a){Mqe(this);return $se(a,(Vse(),Vse(),new Kte(3,a)))};_.Hm=function mse(a){var b;Mqe(this);b=(Vse(),Vse(),new iue(2));hue(b,a);hue(b,(Ese));return b};_.Im=function nse(a){Mqe(this);return Vse(),Vse(),new Kte(3,a)};var Bre=null,Cre=null;sfb(LLe,'RegEx/ParserForXMLSchema',1947);feb(122,1,ZLe,Wse);_.Jm=function Xse(a){throw Adb(new yz('Not supported.'))};_.Km=function dte(){return -1};_.Lm=function ete(a){return null};_.Mm=function jte(){return null};_.Nm=function mte(a){};_.Om=function nte(a){};_.Pm=function ote(){return 0};_.Ib=function pte(){return this.Qm(0)};_.Qm=function qte(a){return this.e==11?'.':''};_.e=0;var vse,wse,xse,yse,zse,Ase=null,Bse,Cse=null,Dse,Ese,Fse=null,Gse,Hse,Ise,Jse,Kse,Lse,Mse,Nse,Ose,Pse,Qse,Rse,Sse,Tse;var qdb=sfb(LLe,'RegEx/Token',122);feb(138,122,{3:1,138:1,122:1},xte);_.Qm=function Ate(a){var b,c,d;if(this.e==4){if(this==Dse)c='.';else if(this==Bse)c='\\d';else if(this==Rse)c='\\w';else if(this==Mse)c='\\s';else {d=new Qhb;d.a+='[';for(b=0;b0&&(d.a+=',',d);if(this.b[b]===this.b[b+1]){Nhb(d,zte(this.b[b]));}else {Nhb(d,zte(this.b[b]));d.a+='-';Nhb(d,zte(this.b[b+1]));}}d.a+=']';c=d.a;}}else {if(this==Ise)c='\\D';else if(this==Kse)c='\\W';else if(this==Jse)c='\\S';else {d=new Qhb;d.a+='[^';for(b=0;b0&&(d.a+=',',d);if(this.b[b]===this.b[b+1]){Nhb(d,zte(this.b[b]));}else {Nhb(d,zte(this.b[b]));d.a+='-';Nhb(d,zte(this.b[b+1]));}}d.a+=']';c=d.a;}}return c};_.a=false;_.c=false;sfb(LLe,'RegEx/RangeToken',138);feb(592,1,{592:1},Bte);_.a=0;sfb(LLe,'RegEx/RegexParser/ReferencePosition',592);feb(591,1,{3:1,591:1},Dte);_.Fb=function Ete(a){var b;if(a==null)return false;if(!ZD(a,591))return false;b=RD(a,591);return lhb(this.b,b.b)&&this.a==b.a};_.Hb=function Fte(){return ohb(this.b+'/'+pse(this.a))};_.Ib=function Gte(){return this.c.Qm(this.a)};_.a=0;sfb(LLe,'RegEx/RegularExpression',591);feb(228,122,ZLe,Hte);_.Km=function Ite(){return this.a};_.Qm=function Jte(a){var b,c,d;switch(this.e){case 0:switch(this.a){case 124:case 42:case 43:case 63:case 40:case 41:case 46:case 91:case 123:case 92:d='\\'+XD(this.a&Bwe);break;case 12:d='\\f';break;case 10:d='\\n';break;case 13:d='\\r';break;case 9:d='\\t';break;case 27:d='\\e';break;default:if(this.a>=txe){c=(b=this.a>>>0,'0'+b.toString(16));d='\\v'+zhb(c,c.length-6,c.length);}else d=''+XD(this.a&Bwe);}break;case 8:this==Gse||this==Hse?(d=''+XD(this.a&Bwe)):(d='\\'+XD(this.a&Bwe));break;default:d=null;}return d};_.a=0;sfb(LLe,'RegEx/Token/CharToken',228);feb(318,122,ZLe,Kte);_.Lm=function Lte(a){return this.a};_.Nm=function Mte(a){this.b=a;};_.Om=function Nte(a){this.c=a;};_.Pm=function Ote(){return 1};_.Qm=function Pte(a){var b;if(this.e==3){if(this.c<0&&this.b<0){b=this.a.Qm(a)+'*';}else if(this.c==this.b){b=this.a.Qm(a)+'{'+this.c+'}';}else if(this.c>=0&&this.b>=0){b=this.a.Qm(a)+'{'+this.c+','+this.b+'}';}else if(this.c>=0&&this.b<0){b=this.a.Qm(a)+'{'+this.c+',}';}else throw Adb(new yz('Token#toString(): CLOSURE '+this.c+pve+this.b))}else {if(this.c<0&&this.b<0){b=this.a.Qm(a)+'*?';}else if(this.c==this.b){b=this.a.Qm(a)+'{'+this.c+'}?';}else if(this.c>=0&&this.b>=0){b=this.a.Qm(a)+'{'+this.c+','+this.b+'}?';}else if(this.c>=0&&this.b<0){b=this.a.Qm(a)+'{'+this.c+',}?';}else throw Adb(new yz('Token#toString(): NONGREEDYCLOSURE '+this.c+pve+this.b))}return b};_.b=0;_.c=0;sfb(LLe,'RegEx/Token/ClosureToken',318);feb(837,122,ZLe,Qte);_.Lm=function Rte(a){return a==0?this.a:this.b};_.Pm=function Ste(){return 2};_.Qm=function Tte(a){var b;this.b.e==3&&this.b.Lm(0)==this.a?(b=this.a.Qm(a)+'+'):this.b.e==9&&this.b.Lm(0)==this.a?(b=this.a.Qm(a)+'+?'):(b=this.a.Qm(a)+(''+this.b.Qm(a)));return b};sfb(LLe,'RegEx/Token/ConcatToken',837);feb(1945,122,ZLe,Ute);_.Lm=function Vte(a){if(a==0)return this.d;if(a==1)return this.b;throw Adb(new yz('Internal Error: '+a))};_.Pm=function Wte(){return !this.b?1:2};_.Qm=function Xte(a){var b;this.c>0?(b='(?('+this.c+')'):this.a.e==8?(b='(?('+this.a+')'):(b='(?'+this.a);!this.b?(b+=this.d+')'):(b+=this.d+'|'+this.b+')');return b};_.c=0;sfb(LLe,'RegEx/Token/ConditionToken',1945);feb(1946,122,ZLe,Yte);_.Lm=function Zte(a){return this.b};_.Pm=function $te(){return 1};_.Qm=function _te(a){return '(?'+(this.a==0?'':pse(this.a))+(this.c==0?'':pse(this.c))+':'+this.b.Qm(a)+')'};_.a=0;_.c=0;sfb(LLe,'RegEx/Token/ModifierToken',1946);feb(838,122,ZLe,aue);_.Lm=function bue(a){return this.a};_.Pm=function cue(){return 1};_.Qm=function due(a){var b;b=null;switch(this.e){case 6:this.b==0?(b='(?:'+this.a.Qm(a)+')'):(b='('+this.a.Qm(a)+')');break;case 20:b='(?='+this.a.Qm(a)+')';break;case 21:b='(?!'+this.a.Qm(a)+')';break;case 22:b='(?<='+this.a.Qm(a)+')';break;case 23:b='(?'+this.a.Qm(a)+')';}return b};_.b=0;sfb(LLe,'RegEx/Token/ParenToken',838);feb(530,122,{3:1,122:1,530:1},eue);_.Mm=function fue(){return this.b};_.Qm=function gue(a){return this.e==12?'\\'+this.a:tse(this.b)};_.a=0;sfb(LLe,'RegEx/Token/StringToken',530);feb(477,122,ZLe,iue);_.Jm=function jue(a){hue(this,a);};_.Lm=function kue(a){return RD(eyb(this.a,a),122)};_.Pm=function lue(){return !this.a?0:this.a.a.c.length};_.Qm=function mue(a){var b,c,d,e,f;if(this.e==1){if(this.a.a.c.length==2){b=RD(eyb(this.a,0),122);c=RD(eyb(this.a,1),122);c.e==3&&c.Lm(0)==b?(e=b.Qm(a)+'+'):c.e==9&&c.Lm(0)==b?(e=b.Qm(a)+'+?'):(e=b.Qm(a)+(''+c.Qm(a)));}else {f=new Qhb;for(d=0;d=this.c.b:this.a<=this.c.b};_.Sb=function Vue(){return this.b>0};_.Tb=function Xue(){return this.b};_.Vb=function Zue(){return this.b-1};_.Qb=function $ue(){throw Adb(new kib(dMe))};_.a=0;_.b=0;sfb(aMe,'ExclusiveRange/RangeIterator',258);var hE=vfb(eKe,'C');var kE=vfb(hKe,'I');var xdb=vfb(hve,'Z');var lE=vfb(iKe,'J');var gE=vfb(dKe,'B');var iE=vfb(fKe,'D');var jE=vfb(gKe,'F');var wdb=vfb(jKe,'S');var g3=ufb('org.eclipse.elk.core.labels','ILabelManager');var T6=ufb(sIe,'DiagnosticChain');var zab=ufb(QKe,'ResourceSet');var $6=sfb(sIe,'InvocationTargetException',null);var fve=(Qz(),Tz);var gwtOnLoad=gwtOnLoad=ceb;aeb(leb);deb('permProps',[[['locale','default'],[eMe,'gecko1_8']],[['locale','default'],[eMe,'safari']]]); + // -------------- RUN GWT INITIALIZATION CODE -------------- + gwtOnLoad(null, 'elk', null); + + }).call(this);}).call(this,typeof commonjsGlobal !== "undefined" ? commonjsGlobal : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}); + },{}],3:[function(require,module,exports){ + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + /******************************************************************************* + * Copyright (c) 2021 Kiel University and others. + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0. + * + * SPDX-License-Identifier: EPL-2.0 + *******************************************************************************/ + var ELK = require('./elk-api.js').default; + + var ELKNode = function (_ELK) { + _inherits(ELKNode, _ELK); + + function ELKNode() { + var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + + _classCallCheck(this, ELKNode); + + var optionsClone = Object.assign({}, options); + + var workerThreadsExist = false; + try { + require.resolve('web-worker'); + workerThreadsExist = true; + } catch (e) {} + + // user requested a worker + if (options.workerUrl) { + if (workerThreadsExist) { + var Worker = require('web-worker'); + optionsClone.workerFactory = function (url) { + return new Worker(url); + }; + } else { + console.warn('Web worker requested but \'web-worker\' package not installed. \nConsider installing the package or pass your own \'workerFactory\' to ELK\'s constructor.\n... Falling back to non-web worker version.'); + } + } + + // unless no other workerFactory is registered, use the fake worker + if (!optionsClone.workerFactory) { + var _require = require('./elk-worker.min.js'), + _Worker = _require.Worker; + + optionsClone.workerFactory = function (url) { + return new _Worker(url); + }; + } + + return _possibleConstructorReturn(this, (ELKNode.__proto__ || Object.getPrototypeOf(ELKNode)).call(this, optionsClone)); + } + + return ELKNode; + }(ELK); + + Object.defineProperty(module.exports, "__esModule", { + value: true + }); + module.exports = ELKNode; + ELKNode.default = ELKNode; + },{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(require,module,exports){ + /** + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + module.exports = Worker; + },{}]},{},[3])(3) + }); + } (elk_bundled)); + + var elk_bundledExports = elk_bundled.exports; + var ELK = /*@__PURE__*/getDefaultExportFromCjs(elk_bundledExports); + + const GetValue = Phaser.Utils.Objects.GetValue; + + var GetBoundsConfig = function (config, out) { + if (config === undefined) { + config = 0; + } + if (out === undefined) { + out = {}; + } + + if (typeof (config) === 'number') { + out.left = config; + out.right = config; + out.top = config; + out.bottom = config; + } else { + out.left = GetValue(config, 'left', 0); + out.right = GetValue(config, 'right', 0); + out.top = GetValue(config, 'top', 0); + out.bottom = GetValue(config, 'bottom', 0); + } + return out; + }; + + var BuildGraphData = function (graph, config) { + var nodes = []; + var nodeGameObjectMap = {}; + graph.graph.forEachNode(function (uid, attributes) { + var nodeGameObject = UIDToObj(uid); + if (!nodeGameObject) { + return; + } + + var padding = GetBoundsConfig(attributes.padding); + var width = nodeGameObject.displayWidth + padding.left + padding.right; + var height = nodeGameObject.displayHeight + padding.top + padding.bottom; + var nodeData = { + gameObject: nodeGameObject, padding: padding, + id: uid, width: width, height: height + }; + nodes.push(nodeData); + + nodeGameObjectMap[uid] = nodeGameObject; + }); + + var edges = []; + graph.graph.forEachEdge(function (uid, attributes, sourceUID, targetUID) { + var sourceGameObject = nodeGameObjectMap[sourceUID]; + var targetGameObject = nodeGameObjectMap[targetUID]; + + if (!sourceGameObject || !targetGameObject) { + return; + } + var edgeGameObject = UIDToObj(uid); + if (!edgeGameObject) { + return; + } + var edgeData = { + gameObject: edgeGameObject, + sourceGameObject: sourceGameObject, + targetGameObject: targetGameObject, + id: uid, source: sourceUID, target: targetUID, + }; + edges.push(edgeData); + }); + + return { + id: 'root', + children: nodes, + edges: edges + } + }; + + var NOOP = function () { + // NOOP + }; + + var globZone = new Phaser.GameObjects.Zone({ + sys: { + queueDepthSort: NOOP, + events: { + once: NOOP + } + } + }, 0, 0, 1, 1); + globZone.setOrigin(0); + + var ALIGN_CONST = { + + /** + * A constant representing a top-left alignment or position. + * @constant + * @name Phaser.Display.Align.TOP_LEFT + * @since 3.0.0 + * @type {integer} + */ + TOP_LEFT: 0, + + /** + * A constant representing a top-center alignment or position. + * @constant + * @name Phaser.Display.Align.TOP_CENTER + * @since 3.0.0 + * @type {integer} + */ + TOP_CENTER: 1, + + /** + * A constant representing a top-right alignment or position. + * @constant + * @name Phaser.Display.Align.TOP_RIGHT + * @since 3.0.0 + * @type {integer} + */ + TOP_RIGHT: 2, + + /** + * A constant representing a left-top alignment or position. + * @constant + * @name Phaser.Display.Align.LEFT_TOP + * @since 3.0.0 + * @type {integer} + */ + LEFT_TOP: 3, + + /** + * A constant representing a left-center alignment or position. + * @constant + * @name Phaser.Display.Align.LEFT_CENTER + * @since 3.0.0 + * @type {integer} + */ + LEFT_CENTER: 4, + + /** + * A constant representing a left-bottom alignment or position. + * @constant + * @name Phaser.Display.Align.LEFT_BOTTOM + * @since 3.0.0 + * @type {integer} + */ + LEFT_BOTTOM: 5, + + /** + * A constant representing a center alignment or position. + * @constant + * @name Phaser.Display.Align.CENTER + * @since 3.0.0 + * @type {integer} + */ + CENTER: 6, + + /** + * A constant representing a right-top alignment or position. + * @constant + * @name Phaser.Display.Align.RIGHT_TOP + * @since 3.0.0 + * @type {integer} + */ + RIGHT_TOP: 7, + + /** + * A constant representing a right-center alignment or position. + * @constant + * @name Phaser.Display.Align.RIGHT_CENTER + * @since 3.0.0 + * @type {integer} + */ + RIGHT_CENTER: 8, + + /** + * A constant representing a right-bottom alignment or position. + * @constant + * @name Phaser.Display.Align.RIGHT_BOTTOM + * @since 3.0.0 + * @type {integer} + */ + RIGHT_BOTTOM: 9, + + /** + * A constant representing a bottom-left alignment or position. + * @constant + * @name Phaser.Display.Align.BOTTOM_LEFT + * @since 3.0.0 + * @type {integer} + */ + BOTTOM_LEFT: 10, + + /** + * A constant representing a bottom-center alignment or position. + * @constant + * @name Phaser.Display.Align.BOTTOM_CENTER + * @since 3.0.0 + * @type {integer} + */ + BOTTOM_CENTER: 11, + + /** + * A constant representing a bottom-right alignment or position. + * @constant + * @name Phaser.Display.Align.BOTTOM_RIGHT + * @since 3.0.0 + * @type {integer} + */ + BOTTOM_RIGHT: 12 + + }; + + var GetDisplayWidth = function (gameObject) { + if (gameObject.displayWidth !== undefined) { + return gameObject.displayWidth; + } else { + return gameObject.width; + } + }; + + var GetDisplayHeight = function (gameObject) { + if (gameObject.displayHeight !== undefined) { + return gameObject.displayHeight; + } else { + return gameObject.height; + } + }; + + var GetBottom = function (gameObject) { + var height = GetDisplayHeight(gameObject); + return (gameObject.y + height) - (height * gameObject.originY); + }; + + var GetCenterX = function (gameObject) { + var width = GetDisplayWidth(gameObject); + return gameObject.x - (width * gameObject.originX) + (width * 0.5); + }; + + var SetBottom = function (gameObject, value) { + var height = GetDisplayHeight(gameObject); + gameObject.y = (value - height) + (height * gameObject.originY); + return gameObject; + }; + + var SetCenterX = function (gameObject, x) { + var width = GetDisplayWidth(gameObject); + var offsetX = width * gameObject.originX; + gameObject.x = (x + offsetX) - (width * 0.5); + + return gameObject; + }; + + var BottomCenter = function (gameObject, alignIn, offsetX, offsetY) { + if (offsetX === undefined) { offsetX = 0; } + if (offsetY === undefined) { offsetY = 0; } + + SetCenterX(gameObject, GetCenterX(alignIn) + offsetX); + SetBottom(gameObject, GetBottom(alignIn) + offsetY); + + return gameObject; + }; + + var GetLeft = function (gameObject) { + var width = GetDisplayWidth(gameObject); + return gameObject.x - (width * gameObject.originX); + }; + + var SetLeft = function (gameObject, value) { + var width = GetDisplayWidth(gameObject); + gameObject.x = value + (width * gameObject.originX); + return gameObject; + }; + + var BottomLeft = function (gameObject, alignIn, offsetX, offsetY) { + if (offsetX === undefined) { offsetX = 0; } + if (offsetY === undefined) { offsetY = 0; } + + SetLeft(gameObject, GetLeft(alignIn) - offsetX); + SetBottom(gameObject, GetBottom(alignIn) + offsetY); + + return gameObject; + }; + + var GetRight = function (gameObject) { + var width = GetDisplayWidth(gameObject); + return (gameObject.x + width) - (width * gameObject.originX); + }; + + var SetRight = function (gameObject, value) { + var width = GetDisplayWidth(gameObject); + gameObject.x = (value - width) + (width * gameObject.originX); + + return gameObject; + }; + + var BottomRight = function (gameObject, alignIn, offsetX, offsetY) { + if (offsetX === undefined) { offsetX = 0; } + if (offsetY === undefined) { offsetY = 0; } + + SetRight(gameObject, GetRight(alignIn) + offsetX); + SetBottom(gameObject, GetBottom(alignIn) + offsetY); + + return gameObject; + }; + + var SetCenterY = function (gameObject, y) { + var height = GetDisplayHeight(gameObject); + var offsetY = height * gameObject.originY; + gameObject.y = (y + offsetY) - (height * 0.5); + + return gameObject; + }; + + var CenterOn = function (gameObject, x, y) { + SetCenterX(gameObject, x); + return SetCenterY(gameObject, y); + }; + + var GetCenterY = function (gameObject) { + var height = GetDisplayHeight(gameObject); + return gameObject.y - (height * gameObject.originY) + (height * 0.5); + }; + + var Center = function (gameObject, alignIn, offsetX, offsetY) { + if (offsetX === undefined) { offsetX = 0; } + if (offsetY === undefined) { offsetY = 0; } + + CenterOn(gameObject, GetCenterX(alignIn) + offsetX, GetCenterY(alignIn) + offsetY); + + return gameObject; + }; + + var LeftCenter = function (gameObject, alignIn, offsetX, offsetY) { + if (offsetX === undefined) { offsetX = 0; } + if (offsetY === undefined) { offsetY = 0; } + + SetLeft(gameObject, GetLeft(alignIn) - offsetX); + SetCenterY(gameObject, GetCenterY(alignIn) + offsetY); + + return gameObject; + }; + + var RightCenter = function (gameObject, alignIn, offsetX, offsetY) { + if (offsetX === undefined) { offsetX = 0; } + if (offsetY === undefined) { offsetY = 0; } + + SetRight(gameObject, GetRight(alignIn) + offsetX); + SetCenterY(gameObject, GetCenterY(alignIn) + offsetY); + + return gameObject; + }; + + var GetTop = function (gameObject) { + var height = GetDisplayHeight(gameObject); + return gameObject.y - (height * gameObject.originY); + }; + + var SetTop = function (gameObject, value) { + var height = GetDisplayHeight(gameObject); + gameObject.y = value + (height * gameObject.originY); + return gameObject; + }; + + var TopCenter = function (gameObject, alignIn, offsetX, offsetY) { + if (offsetX === undefined) { offsetX = 0; } + if (offsetY === undefined) { offsetY = 0; } + + SetCenterX(gameObject, GetCenterX(alignIn) + offsetX); + SetTop(gameObject, GetTop(alignIn) - offsetY); + + return gameObject; + }; + + var TopLeft = function (gameObject, alignIn, offsetX, offsetY) { + if (offsetX === undefined) { offsetX = 0; } + if (offsetY === undefined) { offsetY = 0; } + + SetLeft(gameObject, GetLeft(alignIn) - offsetX); + SetTop(gameObject, GetTop(alignIn) - offsetY); + + return gameObject; + }; + + var TopRight = function (gameObject, alignIn, offsetX, offsetY) { + if (offsetX === undefined) { offsetX = 0; } + if (offsetY === undefined) { offsetY = 0; } + + SetRight(gameObject, GetRight(alignIn) + offsetX); + SetTop(gameObject, GetTop(alignIn) - offsetY); + + return gameObject; + }; + + var AlignInMap = []; + + AlignInMap[ALIGN_CONST.BOTTOM_CENTER] = BottomCenter; + AlignInMap[ALIGN_CONST.BOTTOM_LEFT] = BottomLeft; + AlignInMap[ALIGN_CONST.BOTTOM_RIGHT] = BottomRight; + AlignInMap[ALIGN_CONST.CENTER] = Center; + AlignInMap[ALIGN_CONST.LEFT_CENTER] = LeftCenter; + AlignInMap[ALIGN_CONST.RIGHT_CENTER] = RightCenter; + AlignInMap[ALIGN_CONST.TOP_CENTER] = TopCenter; + AlignInMap[ALIGN_CONST.TOP_LEFT] = TopLeft; + AlignInMap[ALIGN_CONST.TOP_RIGHT] = TopRight; + + var QuickSet = function (child, alignIn, position, offsetX, offsetY) { + return AlignInMap[position](child, alignIn, offsetX, offsetY); + }; + + var AlignIn = function (child, x, y, width, height, align) { + globZone.setPosition(x, y).setSize(width, height); + QuickSet(child, globZone, align); + }; + + var GetPath = function (edgeData) { + var result = []; + + var pathData = edgeData.sections[0]; + + result.push(pathData.startPoint); + + if (pathData.bendPoints) { + pathData.bendPoints.forEach(function (point) { + result.push(point); + }); + } + + result.push(pathData.endPoint); + + return result; + }; + + const ALIGN_CENTER = Phaser.Display.Align.CENTER; + + var PlaceGameObjects = function (graph, graphData, config) { + graphData.children.forEach(function (nodeData) { + var gameObject = nodeData.gameObject; + var padding = nodeData.padding; + var x = nodeData.x + padding.left; + var y = nodeData.y + padding.top; + var width = nodeData.width - padding.left - padding.right; + var height = nodeData.height - padding.top - padding.bottom; + AlignIn(gameObject, x, y, width, height, ALIGN_CENTER); + graph.emit('layout.node', nodeData.gameObject); + }); + + graphData.edges.forEach(function (edgeData) { + var path = GetPath(edgeData); + graph.emit('layout.edge', edgeData.gameObject, path, edgeData.sourceGameObject, edgeData.targetGameObject); + }); + }; + + var Layout = async function (graph, config) { + if (config === undefined) { + config = {}; + } + + graph.emit('layout.start', graph); + + var graphData = BuildGraphData(graph); + + graph.emit('layout.prelayout', graph); + + var elk = new ELK(); + graphData = await elk.layout(graphData, { + layoutOptions: config.layoutOptions, + + }); + + graph.emit('layout.postlayout', graph); + + PlaceGameObjects(graph, graphData); + + graph.emit('layout.complete', graph); + }; + class GraphPlugin extends Phaser.Plugins.ScenePlugin { constructor(scene, pluginManager) { super(scene, pluginManager); @@ -1437,6 +8602,15 @@ this.add.destroy(); super.destroy(); } + + async ELKLayoutPromise(graph, config) { + return Layout(graph, config); + } + + ELKLayout(graph, config) { + Layout(graph, config); + return graph + } } return GraphPlugin; diff --git a/dist/rexgraphplugin.min.js b/dist/rexgraphplugin.min.js index 28331864af..4d954d501a 100644 --- a/dist/rexgraphplugin.min.js +++ b/dist/rexgraphplugin.min.js @@ -1 +1 @@ -var t,e;t=void 0,e=function(){class t{constructor(t){this.scene=t,t.sys.events.once("destroy",this.destroy,this)}destroy(){this.scene=null}static register(e,r){t.prototype[e]=r}}function e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var r={exports:{}};!function(t){var e=Object.prototype.hasOwnProperty,r="~";function s(){}function n(t,e,r){this.fn=t,this.context=e,this.once=r||!1}function i(t,e,s,i,o){if("function"!=typeof s)throw new TypeError("The listener must be a function");var h=new n(s,i||t,o),a=r?r+e:e;return t._events[a]?t._events[a].fn?t._events[a]=[t._events[a],h]:t._events[a].push(h):(t._events[a]=h,t._eventsCount++),t}function o(t,e){0==--t._eventsCount?t._events=new s:delete t._events[e]}function h(){this._events=new s,this._eventsCount=0}Object.create&&(s.prototype=Object.create(null),(new s).__proto__||(r=!1)),h.prototype.eventNames=function(){var t,s,n=[];if(0===this._eventsCount)return n;for(s in t=this._events)e.call(t,s)&&n.push(r?s.slice(1):s);return Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(t)):n},h.prototype.listeners=function(t){var e=r?r+t:t,s=this._events[e];if(!s)return[];if(s.fn)return[s.fn];for(var n=0,i=s.length,o=new Array(i);n":1,"<-":2,"<->":3};var x=function(t){return null==t?null:o.get(t).parent};const _={"breadth-first":0,bfs:0,"depth-first":1,dfs:1};var w={getEdgeData:function(t,e){void 0===e&&(e=!1);var r=this.getObjUID(t);return e&&!this.edges.hasOwnProperty(r)&&(this.edges[r]={}),this.edges[r]},isEdge:function(t){var e=this.getObjUID(t);return this.edges.hasOwnProperty(e)},addEdge:function(t,e,r,s){if(this.isEdge(t))return this;void 0===s&&(s=3);var n=this.getObjUID(t),i=this.getEdgeData(n,!0);i.dir=s,i.vA=this.getObjUID(e),i.vB=this.getObjUID(r),m(t).setGraph(this),this.edgeCount++,this.addVertex(e).addVertex(r);var o=this.getVertexData(e,!0),h=this.getVertexData(r,!0);return"string"==typeof s&&(s=E(s)),1&s&&(o[n]=i.vB),2&s&&(h[n]=i.vA),this},removeEdge:function(t,e){if(this.isEdge(t))return this;void 0===e&&(e=!1);var r=this.getObjUID(t);return delete this.edges[r],this.edgeCount--,m(t).setGraph(null),e&&t.destroy&&gameObject.destroy(),this},getAllEdges:function(t){var e;for(var r in void 0===t&&(t=[]),this.edges)(e=x(r))&&t.push(e);return t},getEdgesOfVertex:function(t,e){void 0===e&&(e=[]);var r,s=this.getVertexData(t);if(!s)return e;for(var n in s)(r=x(n))&&e.push(r);return e},getEdgeLength:function(t){var e=this.getEdgeData(t);if(!e)return 0;var r,s,n,i,o,h,a=x(e.vA),u=x(e.vB);return a&&u?(r=a.x,s=a.y,n=u.x,i=u.y,o=r-n,h=s-i,Math.sqrt(o*o+h*h)):0},isInLoop:function(t){if(!this.isVertex(t))return!1;for(var e,r,s,n,i,o=this.getObjUID(t),h=[[o,null]],a={};h.length>0;){if(r=(e=h.pop())[0],s=e[1],r===o&&null!==s)return!0;for(s in null!==s&&(a[s]=!0),n=this.getVertexData(r))a.hasOwnProperty(s)||(i=n[s],h.push([i,s]))}return!1},getVertexData:function(t,e){void 0===e&&(e=!1);var r=this.getObjUID(t);return e&&!this.vertices.hasOwnProperty(r)&&(this.vertices[r]={}),this.vertices[r]},isVertex:function(t){var e=this.getObjUID(t);return this.vertices.hasOwnProperty(e)},addVertex:function(t){return this.isVertex(t)||(this.getVertexData(t,!0),m(t).setGraph(this),this.vertexCount++),this},addVertices:function(t){for(var e=0,r=t.length;e0;)if(s=o?h.shift():h.pop(),!a.hasOwnProperty(s))for(var u in a[s]=!0,s!==i&&e.push(x(s)),this.getVertexData(s))n=this.getOppositeVertex(s,u),a.hasOwnProperty(n)||h.push(n);return e},getNeighborVertices:function(t,e){void 0===e&&(e=[]);var r,s=this.getVertexData(t);if(s)for(var n in s)(r=x(s[n]))&&e.push(r);return e},areNeighborVertices:function(t,e){var r=this.getObjUID(t),s=this.getObjUID(e);if(null!=r&&null!=s){var n=this.getVertexData(t);for(var i in s=parseInt(s),n)if(n[i]===s)return!0}return!1}};const b=o.uidKey;class O extends n{constructor(t){super(),this.isShutdown=!1,this.scene=t,this.vertices={},this.edges={},this.vertexCount=0,this.edgeCount=0,this.boot()}boot(){this.scene&&this.scene.sys.events.once("shutdown",this.destroy,this)}shutdown(t){if(!this.isShutdown)return this.scene&&this.scene.sys.events.off("shutdown",this.destroy,this),this.clear(),super.shutdown(),this.scene=void 0,this.vertices=void 0,this.edges=void 0,this.vertexCount=0,this.edgeCount=0,this.isShutdown=!0,this}destroy(t){this.isShutdown||(this.emit("destroy"),this.shutdown(t))}exists(t){return this.isEdge(t)||this.isVertex(t)}remove(t){return this.isEdge(t)?this.removeEdge(t):this.isVertex(t)&&this.removeVertex(t),this}clear(t){return void 0===t&&(t=!0),this.removeAllVertices(t),this}getObjUID(t){return function(t){return y(t)?t:m(t)[b]}(t)}}Object.assign(O.prototype,w);var D=function(t){return null==t||""===t||0===t.length};t.register("graph",(function(t){return new O(this.scene,t)})),function(t,e,r,s){if(void 0===s&&(s="."),"object"==typeof t)if(D(e)){if(null==r)return;"object"==typeof r&&(t=r)}else{"string"==typeof e&&(e=e.split(s));var n=e.pop(),i=function(t,e,r){var s=t;if(D(e));else{var n;"string"==typeof e&&(e=e.split("."));for(var i=0,o=e.length;i":1,"<-":2,"<->":3};var I={addEdge(n,t,e,i,r){if(this.isEdge(n))return this;C(i)&&(r=i),void 0===i?i=3:"string"==typeof i&&(i=O[i]),this.addNode(t).addNode(e),m(n).setGraph(this);var c=y(n),a=y(t),o=y(e);if(!c||!a||!o)return this;switch(i){case 1:this.graph.addDirectedEdgeWithKey(c,a,o,r);break;case 2:this.graph.addDirectedEdgeWithKey(c,o,a,r);break;default:this.graph.addUndirectedEdgeWithKey(c,a,o,r)}return this}},A={removeEdge(n,t){if(!this.isEdge(n))return this;void 0===t&&(t=!1);var e=y(n);return this.graph.dropEdge(e),m(n).setGraph(null),t&&n.destroy&&n.destroy(),this}},L={getAllEdges(n){return void 0===n&&(n=[]),this.graph.forEachEdge((function(t){var e=E(t);e&&n.puth(e)})),n},getEdgesOfNode(n,t){void 0===t&&(t=[]);var e=y(n);return this.graph.forEachEdge(e,(function(n){var e=E(n);e&&t.puth(e)})),t}};const N=Phaser.Utils.Objects.IsPlainObject;var D={getEdgeAttribute(n,t){var e=y(n);return void 0===t?this.graph.getEdgeAttributes(e):this.graph.getEdgeAttribute(e,t)},setEdgeAttribute(n,t,e){var i=y(n);return N(t)?this.graph.updateEdgeAttribute(i,t):this.graph.setEdgeAttribute(i,t,e)}},x={isNode:function(n){var t=y(n);return this.graph.hasNode(t)},isEdge:function(n){var t=y(n);return this.graph.hasEdge(t)},getEdgeLength:function(n){var t,e,i,r,c=this.getNodesOfEdge(n);return c.length<2?0:(t=c[0],e=c[1],i=t.x-e.x,r=t.y-e.y,Math.sqrt(i*i+r*r))}};Object.assign(x,k,M,j,T,P,I,A,L,D);var $={exports:{}};!function(n){n.exports=function(){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(t)}function t(n,t){n.prototype=Object.create(t.prototype),n.prototype.constructor=n,i(n,t)}function e(n){return e=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},e(n)}function i(n,t){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,t){return n.__proto__=t,n},i(n,t)}function r(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(n){return!1}}function c(n,t,e){return c=r()?Reflect.construct.bind():function(n,t,e){var r=[null];r.push.apply(r,t);var c=new(Function.bind.apply(n,r));return e&&i(c,e.prototype),c},c.apply(null,arguments)}function a(n){var t="function"==typeof Map?new Map:void 0;return a=function(n){if(null===n||(r=n,-1===Function.toString.call(r).indexOf("[native code]")))return n;var r;if("function"!=typeof n)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(n))return t.get(n);t.set(n,a)}function a(){return c(n,arguments,e(this).constructor)}return a.prototype=Object.create(n.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),i(a,n)},a(n)}function o(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}var u=function(){for(var n=arguments[0],t=1,e=arguments.length;t0&&a.length>r&&!a.warned){a.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=n,u.type=t,u.count=a.length,o=u,console&&console.warn&&console.warn(o)}return n}function T(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function S(n,t,e){var i={fired:!1,wrapFn:void 0,target:n,type:t,listener:e},r=T.bind(i);return r.listener=e,i.wrapFn=r,r}function P(n,t,e){var i=n._events;if(void 0===i)return[];var r=i[t];return void 0===r?[]:"function"==typeof r?e?[r.listener||r]:[r]:e?function(n){for(var t=new Array(n.length),e=0;e0&&(c=t[0]),c instanceof Error)throw c;var a=new Error("Unhandled error."+(c?" ("+c.message+")":""));throw a.context=c,a}var o=r[n];if(void 0===o)return!1;if("function"==typeof o)m(o,this,t);else{var u=o.length,s=O(o,u);for(e=0;e=0;c--)if(e[c]===t||e[c].listener===t){a=e[c].listener,r=c;break}if(r<0)return this;0===r?e.shift():function(n,t){for(;t+1=0;i--)this.removeListener(n,t[i]);return this},y.prototype.listeners=function(n){return P(this,n,!0)},y.prototype.rawListeners=function(n){return P(this,n,!1)},y.listenerCount=function(n,t){return"function"==typeof n.listenerCount?n.listenerCount(t):C.call(n,t)},y.prototype.listenerCount=C,y.prototype.eventNames=function(){return this._eventsCount>0?w(this._events):[]},"undefined"!=typeof Symbol&&(A.prototype[Symbol.iterator]=function(){return this}),A.of=function(){var n=arguments,t=n.length,e=0;return new A((function(){return e>=t?{done:!0}:{done:!1,value:n[e++]}}))},A.empty=function(){return new A((function(){return{done:!0}}))},A.fromSequence=function(n){var t=0,e=n.length;return new A((function(){return t>=e?{done:!0}:{done:!1,value:n[t++]}}))},A.is=function(n){return n instanceof A||"object"==typeof n&&null!==n&&"function"==typeof n.next};var L=A,N={};N.ARRAY_BUFFER_SUPPORT="undefined"!=typeof ArrayBuffer,N.SYMBOL_SUPPORT="undefined"!=typeof Symbol;var D=L,x=N,$=x.ARRAY_BUFFER_SUPPORT,R=x.SYMBOL_SUPPORT,_=function(n){var t=function(n){return"string"==typeof n||Array.isArray(n)||$&&ArrayBuffer.isView(n)?D.fromSequence(n):"object"!=typeof n||null===n?null:R&&"function"==typeof n[Symbol.iterator]?n[Symbol.iterator]():"function"==typeof n.next?n:null}(n);if(!t)throw new Error("obliterator: target is not iterable nor a valid iterator.");return t},K=_,F=function(n,t){for(var e,i=arguments.length>1?t:1/0,r=i!==1/0?new Array(i):[],c=0,a=K(n);;){if(c===i)return r;if((e=a.next()).done)return c!==t&&(r.length=c),r;r[c++]=e.value}},B=function(n){function e(t){var e;return(e=n.call(this)||this).name="GraphError",e.message=t,e}return t(e,n),e}(a(Error)),G=function(n){function e(t){var i;return(i=n.call(this,t)||this).name="InvalidArgumentsGraphError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(o(i),e.prototype.constructor),i}return t(e,n),e}(B),H=function(n){function e(t){var i;return(i=n.call(this,t)||this).name="NotFoundGraphError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(o(i),e.prototype.constructor),i}return t(e,n),e}(B),U=function(n){function e(t){var i;return(i=n.call(this,t)||this).name="UsageGraphError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(o(i),e.prototype.constructor),i}return t(e,n),e}(B);function q(n,t){this.key=n,this.attributes=t,this.clear()}function z(n,t){this.key=n,this.attributes=t,this.clear()}function W(n,t){this.key=n,this.attributes=t,this.clear()}function X(n,t,e,i,r){this.key=t,this.attributes=r,this.undirected=n,this.source=e,this.target=i}function V(n,t,e,i,r,c,a){var o,u,s,h;if(i=""+i,0===e){if(!(o=n._nodes.get(i)))throw new H("Graph.".concat(t,': could not find the "').concat(i,'" node in the graph.'));s=r,h=c}else if(3===e){if(r=""+r,!(u=n._edges.get(r)))throw new H("Graph.".concat(t,': could not find the "').concat(r,'" edge in the graph.'));var f=u.source.key,l=u.target.key;if(i===f)o=u.target;else{if(i!==l)throw new H("Graph.".concat(t,': the "').concat(i,'" node is not attached to the "').concat(r,'" edge (').concat(f,", ").concat(l,")."));o=u.source}s=c,h=a}else{if(!(u=n._edges.get(i)))throw new H("Graph.".concat(t,': could not find the "').concat(i,'" edge in the graph.'));o=1===e?u.source:u.target,s=r,h=c}return[o,s,h]}q.prototype.clear=function(){this.inDegree=0,this.outDegree=0,this.undirectedDegree=0,this.undirectedLoops=0,this.directedLoops=0,this.in={},this.out={},this.undirected={}},z.prototype.clear=function(){this.inDegree=0,this.outDegree=0,this.directedLoops=0,this.in={},this.out={}},W.prototype.clear=function(){this.undirectedDegree=0,this.undirectedLoops=0,this.undirected={}},X.prototype.attach=function(){var n="out",t="in";this.undirected&&(n=t="undirected");var e=this.source.key,i=this.target.key;this.source[n][i]=this,this.undirected&&e===i||(this.target[t][e]=this)},X.prototype.attachMulti=function(){var n="out",t="in",e=this.source.key,i=this.target.key;this.undirected&&(n=t="undirected");var r=this.source[n],c=r[i];if(void 0===c)return r[i]=this,void(this.undirected&&e===i||(this.target[t][e]=this));c.previous=this,this.next=c,r[i]=this,this.target[t][e]=this},X.prototype.detach=function(){var n=this.source.key,t=this.target.key,e="out",i="in";this.undirected&&(e=i="undirected"),delete this.source[e][t],delete this.target[i][n]},X.prototype.detachMulti=function(){var n=this.source.key,t=this.target.key,e="out",i="in";this.undirected&&(e=i="undirected"),void 0===this.previous?void 0===this.next?(delete this.source[e][t],delete this.target[i][n]):(this.next.previous=void 0,this.source[e][t]=this.next,this.target[i][n]=this.next):(this.previous.next=this.next,void 0!==this.next&&(this.next.previous=this.previous))};var Q=[{name:function(n){return"get".concat(n,"Attribute")},attacher:function(n,t,e){n.prototype[t]=function(n,i,r){var c=V(this,t,e,n,i,r),a=c[0],o=c[1];return a.attributes[o]}}},{name:function(n){return"get".concat(n,"Attributes")},attacher:function(n,t,e){n.prototype[t]=function(n,i){return V(this,t,e,n,i)[0].attributes}}},{name:function(n){return"has".concat(n,"Attribute")},attacher:function(n,t,e){n.prototype[t]=function(n,i,r){var c=V(this,t,e,n,i,r),a=c[0],o=c[1];return a.attributes.hasOwnProperty(o)}}},{name:function(n){return"set".concat(n,"Attribute")},attacher:function(n,t,e){n.prototype[t]=function(n,i,r,c){var a=V(this,t,e,n,i,r,c),o=a[0],u=a[1],s=a[2];return o.attributes[u]=s,this.emit("nodeAttributesUpdated",{key:o.key,type:"set",attributes:o.attributes,name:u}),this}}},{name:function(n){return"update".concat(n,"Attribute")},attacher:function(n,t,e){n.prototype[t]=function(n,i,r,c){var a=V(this,t,e,n,i,r,c),o=a[0],u=a[1],s=a[2];if("function"!=typeof s)throw new G("Graph.".concat(t,": updater should be a function."));var h=o.attributes,f=s(h[u]);return h[u]=f,this.emit("nodeAttributesUpdated",{key:o.key,type:"set",attributes:o.attributes,name:u}),this}}},{name:function(n){return"remove".concat(n,"Attribute")},attacher:function(n,t,e){n.prototype[t]=function(n,i,r){var c=V(this,t,e,n,i,r),a=c[0],o=c[1];return delete a.attributes[o],this.emit("nodeAttributesUpdated",{key:a.key,type:"remove",attributes:a.attributes,name:o}),this}}},{name:function(n){return"replace".concat(n,"Attributes")},attacher:function(n,t,e){n.prototype[t]=function(n,i,r){var c=V(this,t,e,n,i,r),a=c[0],o=c[1];if(!h(o))throw new G("Graph.".concat(t,": provided attributes are not a plain object."));return a.attributes=o,this.emit("nodeAttributesUpdated",{key:a.key,type:"replace",attributes:a.attributes}),this}}},{name:function(n){return"merge".concat(n,"Attributes")},attacher:function(n,t,e){n.prototype[t]=function(n,i,r){var c=V(this,t,e,n,i,r),a=c[0],o=c[1];if(!h(o))throw new G("Graph.".concat(t,": provided attributes are not a plain object."));return u(a.attributes,o),this.emit("nodeAttributesUpdated",{key:a.key,type:"merge",attributes:a.attributes,data:o}),this}}},{name:function(n){return"update".concat(n,"Attributes")},attacher:function(n,t,e){n.prototype[t]=function(n,i,r){var c=V(this,t,e,n,i,r),a=c[0],o=c[1];if("function"!=typeof o)throw new G("Graph.".concat(t,": provided updater is not a function."));return a.attributes=o(a.attributes),this.emit("nodeAttributesUpdated",{key:a.key,type:"update",attributes:a.attributes}),this}}}],J=[{name:function(n){return"get".concat(n,"Attribute")},attacher:function(n,t,e){n.prototype[t]=function(n,i){var r;if("mixed"!==this.type&&"mixed"!==e&&e!==this.type)throw new U("Graph.".concat(t,": cannot find this type of edges in your ").concat(this.type," graph."));if(arguments.length>2){if(this.multi)throw new U("Graph.".concat(t,": cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about."));var c=""+n,a=""+i;if(i=arguments[2],!(r=s(this,c,a,e)))throw new H("Graph.".concat(t,': could not find an edge for the given path ("').concat(c,'" - "').concat(a,'").'))}else{if("mixed"!==e)throw new U("Graph.".concat(t,": calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type."));if(n=""+n,!(r=this._edges.get(n)))throw new H("Graph.".concat(t,': could not find the "').concat(n,'" edge in the graph.'))}return r.attributes[i]}}},{name:function(n){return"get".concat(n,"Attributes")},attacher:function(n,t,e){n.prototype[t]=function(n){var i;if("mixed"!==this.type&&"mixed"!==e&&e!==this.type)throw new U("Graph.".concat(t,": cannot find this type of edges in your ").concat(this.type," graph."));if(arguments.length>1){if(this.multi)throw new U("Graph.".concat(t,": cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about."));var r=""+n,c=""+arguments[1];if(!(i=s(this,r,c,e)))throw new H("Graph.".concat(t,': could not find an edge for the given path ("').concat(r,'" - "').concat(c,'").'))}else{if("mixed"!==e)throw new U("Graph.".concat(t,": calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type."));if(n=""+n,!(i=this._edges.get(n)))throw new H("Graph.".concat(t,': could not find the "').concat(n,'" edge in the graph.'))}return i.attributes}}},{name:function(n){return"has".concat(n,"Attribute")},attacher:function(n,t,e){n.prototype[t]=function(n,i){var r;if("mixed"!==this.type&&"mixed"!==e&&e!==this.type)throw new U("Graph.".concat(t,": cannot find this type of edges in your ").concat(this.type," graph."));if(arguments.length>2){if(this.multi)throw new U("Graph.".concat(t,": cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about."));var c=""+n,a=""+i;if(i=arguments[2],!(r=s(this,c,a,e)))throw new H("Graph.".concat(t,': could not find an edge for the given path ("').concat(c,'" - "').concat(a,'").'))}else{if("mixed"!==e)throw new U("Graph.".concat(t,": calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type."));if(n=""+n,!(r=this._edges.get(n)))throw new H("Graph.".concat(t,': could not find the "').concat(n,'" edge in the graph.'))}return r.attributes.hasOwnProperty(i)}}},{name:function(n){return"set".concat(n,"Attribute")},attacher:function(n,t,e){n.prototype[t]=function(n,i,r){var c;if("mixed"!==this.type&&"mixed"!==e&&e!==this.type)throw new U("Graph.".concat(t,": cannot find this type of edges in your ").concat(this.type," graph."));if(arguments.length>3){if(this.multi)throw new U("Graph.".concat(t,": cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about."));var a=""+n,o=""+i;if(i=arguments[2],r=arguments[3],!(c=s(this,a,o,e)))throw new H("Graph.".concat(t,': could not find an edge for the given path ("').concat(a,'" - "').concat(o,'").'))}else{if("mixed"!==e)throw new U("Graph.".concat(t,": calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type."));if(n=""+n,!(c=this._edges.get(n)))throw new H("Graph.".concat(t,': could not find the "').concat(n,'" edge in the graph.'))}return c.attributes[i]=r,this.emit("edgeAttributesUpdated",{key:c.key,type:"set",attributes:c.attributes,name:i}),this}}},{name:function(n){return"update".concat(n,"Attribute")},attacher:function(n,t,e){n.prototype[t]=function(n,i,r){var c;if("mixed"!==this.type&&"mixed"!==e&&e!==this.type)throw new U("Graph.".concat(t,": cannot find this type of edges in your ").concat(this.type," graph."));if(arguments.length>3){if(this.multi)throw new U("Graph.".concat(t,": cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about."));var a=""+n,o=""+i;if(i=arguments[2],r=arguments[3],!(c=s(this,a,o,e)))throw new H("Graph.".concat(t,': could not find an edge for the given path ("').concat(a,'" - "').concat(o,'").'))}else{if("mixed"!==e)throw new U("Graph.".concat(t,": calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type."));if(n=""+n,!(c=this._edges.get(n)))throw new H("Graph.".concat(t,': could not find the "').concat(n,'" edge in the graph.'))}if("function"!=typeof r)throw new G("Graph.".concat(t,": updater should be a function."));return c.attributes[i]=r(c.attributes[i]),this.emit("edgeAttributesUpdated",{key:c.key,type:"set",attributes:c.attributes,name:i}),this}}},{name:function(n){return"remove".concat(n,"Attribute")},attacher:function(n,t,e){n.prototype[t]=function(n,i){var r;if("mixed"!==this.type&&"mixed"!==e&&e!==this.type)throw new U("Graph.".concat(t,": cannot find this type of edges in your ").concat(this.type," graph."));if(arguments.length>2){if(this.multi)throw new U("Graph.".concat(t,": cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about."));var c=""+n,a=""+i;if(i=arguments[2],!(r=s(this,c,a,e)))throw new H("Graph.".concat(t,': could not find an edge for the given path ("').concat(c,'" - "').concat(a,'").'))}else{if("mixed"!==e)throw new U("Graph.".concat(t,": calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type."));if(n=""+n,!(r=this._edges.get(n)))throw new H("Graph.".concat(t,': could not find the "').concat(n,'" edge in the graph.'))}return delete r.attributes[i],this.emit("edgeAttributesUpdated",{key:r.key,type:"remove",attributes:r.attributes,name:i}),this}}},{name:function(n){return"replace".concat(n,"Attributes")},attacher:function(n,t,e){n.prototype[t]=function(n,i){var r;if("mixed"!==this.type&&"mixed"!==e&&e!==this.type)throw new U("Graph.".concat(t,": cannot find this type of edges in your ").concat(this.type," graph."));if(arguments.length>2){if(this.multi)throw new U("Graph.".concat(t,": cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about."));var c=""+n,a=""+i;if(i=arguments[2],!(r=s(this,c,a,e)))throw new H("Graph.".concat(t,': could not find an edge for the given path ("').concat(c,'" - "').concat(a,'").'))}else{if("mixed"!==e)throw new U("Graph.".concat(t,": calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type."));if(n=""+n,!(r=this._edges.get(n)))throw new H("Graph.".concat(t,': could not find the "').concat(n,'" edge in the graph.'))}if(!h(i))throw new G("Graph.".concat(t,": provided attributes are not a plain object."));return r.attributes=i,this.emit("edgeAttributesUpdated",{key:r.key,type:"replace",attributes:r.attributes}),this}}},{name:function(n){return"merge".concat(n,"Attributes")},attacher:function(n,t,e){n.prototype[t]=function(n,i){var r;if("mixed"!==this.type&&"mixed"!==e&&e!==this.type)throw new U("Graph.".concat(t,": cannot find this type of edges in your ").concat(this.type," graph."));if(arguments.length>2){if(this.multi)throw new U("Graph.".concat(t,": cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about."));var c=""+n,a=""+i;if(i=arguments[2],!(r=s(this,c,a,e)))throw new H("Graph.".concat(t,': could not find an edge for the given path ("').concat(c,'" - "').concat(a,'").'))}else{if("mixed"!==e)throw new U("Graph.".concat(t,": calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type."));if(n=""+n,!(r=this._edges.get(n)))throw new H("Graph.".concat(t,': could not find the "').concat(n,'" edge in the graph.'))}if(!h(i))throw new G("Graph.".concat(t,": provided attributes are not a plain object."));return u(r.attributes,i),this.emit("edgeAttributesUpdated",{key:r.key,type:"merge",attributes:r.attributes,data:i}),this}}},{name:function(n){return"update".concat(n,"Attributes")},attacher:function(n,t,e){n.prototype[t]=function(n,i){var r;if("mixed"!==this.type&&"mixed"!==e&&e!==this.type)throw new U("Graph.".concat(t,": cannot find this type of edges in your ").concat(this.type," graph."));if(arguments.length>2){if(this.multi)throw new U("Graph.".concat(t,": cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about."));var c=""+n,a=""+i;if(i=arguments[2],!(r=s(this,c,a,e)))throw new H("Graph.".concat(t,': could not find an edge for the given path ("').concat(c,'" - "').concat(a,'").'))}else{if("mixed"!==e)throw new U("Graph.".concat(t,": calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type."));if(n=""+n,!(r=this._edges.get(n)))throw new H("Graph.".concat(t,': could not find the "').concat(n,'" edge in the graph.'))}if("function"!=typeof i)throw new G("Graph.".concat(t,": provided updater is not a function."));return r.attributes=i(r.attributes),this.emit("edgeAttributesUpdated",{key:r.key,type:"update",attributes:r.attributes}),this}}}],Y=L,Z=_,nn=function(){var n=arguments,t=null,e=-1;return new Y((function(){for(var i=null;;){if(null===t){if(++e>=n.length)return{done:!0};t=Z(n[e])}if(!0!==(i=t.next()).done)break;t=null}return i}))},tn=[{name:"edges",type:"mixed"},{name:"inEdges",type:"directed",direction:"in"},{name:"outEdges",type:"directed",direction:"out"},{name:"inboundEdges",type:"mixed",direction:"in"},{name:"outboundEdges",type:"mixed",direction:"out"},{name:"directedEdges",type:"directed"},{name:"undirectedEdges",type:"undirected"}];function en(n,t,e,i){var r=!1;for(var c in t)if(c!==i){var a=t[c];if(r=e(a.key,a.attributes,a.source.key,a.target.key,a.source.attributes,a.target.attributes,a.undirected),n&&r)return a.key}}function rn(n,t,e,i){var r,c,a,o=!1;for(var u in t)if(u!==i){r=t[u];do{if(c=r.source,a=r.target,o=e(r.key,r.attributes,c.key,a.key,c.attributes,a.attributes,r.undirected),n&&o)return r.key;r=r.next}while(void 0!==r)}}function cn(n,t){var e,i=Object.keys(n),r=i.length,c=0;return new L((function(){do{if(e)e=e.next;else{if(c>=r)return{done:!0};var a=i[c++];if(a===t){e=void 0;continue}e=n[a]}}while(!e);return{done:!1,value:{edge:e.key,attributes:e.attributes,source:e.source.key,target:e.target.key,sourceAttributes:e.source.attributes,targetAttributes:e.target.attributes,undirected:e.undirected}}}))}function an(n,t,e,i){var r=t[e];if(r){var c=r.source,a=r.target;return i(r.key,r.attributes,c.key,a.key,c.attributes,a.attributes,r.undirected)&&n?r.key:void 0}}function on(n,t,e,i){var r=t[e];if(r){var c=!1;do{if(c=i(r.key,r.attributes,r.source.key,r.target.key,r.source.attributes,r.target.attributes,r.undirected),n&&c)return r.key;r=r.next}while(void 0!==r)}}function un(n,t){var e=n[t];return void 0!==e.next?new L((function(){if(!e)return{done:!0};var n={edge:e.key,attributes:e.attributes,source:e.source.key,target:e.target.key,sourceAttributes:e.source.attributes,targetAttributes:e.target.attributes,undirected:e.undirected};return e=e.next,{done:!1,value:n}})):L.of({edge:e.key,attributes:e.attributes,source:e.source.key,target:e.target.key,sourceAttributes:e.source.attributes,targetAttributes:e.target.attributes,undirected:e.undirected})}function sn(n,t){if(0===n.size)return[];if("mixed"===t||t===n.type)return"function"==typeof Array.from?Array.from(n._edges.keys()):F(n._edges.keys(),n._edges.size);for(var e,i,r="undirected"===t?n.undirectedSize:n.directedSize,c=new Array(r),a="undirected"===t,o=n._edges.values(),u=0;!0!==(e=o.next()).done;)(i=e.value).undirected===a&&(c[u++]=i.key);return c}function hn(n,t,e,i){if(0!==t.size)for(var r,c,a="mixed"!==e&&e!==t.type,o="undirected"===e,u=!1,s=t._edges.values();!0!==(r=s.next()).done;)if(c=r.value,!a||c.undirected===o){var h=c,f=h.key,l=h.attributes,b=h.source,d=h.target;if(u=i(f,l,b.key,d.key,b.attributes,d.attributes,c.undirected),n&&u)return f}}function fn(n,t){if(0===n.size)return L.empty();var e="mixed"!==t&&t!==n.type,i="undirected"===t,r=n._edges.values();return new L((function(){for(var n,t;;){if((n=r.next()).done)return n;if(t=n.value,!e||t.undirected===i)break}return{value:{edge:t.key,attributes:t.attributes,source:t.source.key,target:t.target.key,sourceAttributes:t.source.attributes,targetAttributes:t.target.attributes,undirected:t.undirected},done:!1}}))}function ln(n,t,e,i,r,c){var a,o=t?rn:en;if("undirected"!==e){if("out"!==i&&(a=o(n,r.in,c),n&&a))return a;if("in"!==i&&(a=o(n,r.out,c,i?void 0:r.key),n&&a))return a}if("directed"!==e&&(a=o(n,r.undirected,c),n&&a))return a}function bn(n,t,e,i){var r=[];return ln(!1,n,t,e,i,(function(n){r.push(n)})),r}function dn(n,t,e){var i=L.empty();return"undirected"!==n&&("out"!==t&&void 0!==e.in&&(i=nn(i,cn(e.in))),"in"!==t&&void 0!==e.out&&(i=nn(i,cn(e.out,t?void 0:e.key)))),"directed"!==n&&void 0!==e.undirected&&(i=nn(i,cn(e.undirected))),i}function wn(n,t,e,i,r,c,a){var o,u=e?on:an;if("undirected"!==t){if(void 0!==r.in&&"out"!==i&&(o=u(n,r.in,c,a),n&&o))return o;if(void 0!==r.out&&"in"!==i&&(i||r.key!==c)&&(o=u(n,r.out,c,a),n&&o))return o}if("directed"!==t&&void 0!==r.undirected&&(o=u(n,r.undirected,c,a),n&&o))return o}function gn(n,t,e,i,r){var c=[];return wn(!1,n,t,e,i,r,(function(n){c.push(n)})),c}function pn(n,t,e,i){var r=L.empty();return"undirected"!==n&&(void 0!==e.in&&"out"!==t&&i in e.in&&(r=nn(r,un(e.in,i))),void 0!==e.out&&"in"!==t&&i in e.out&&(t||e.key!==i)&&(r=nn(r,un(e.out,i)))),"directed"!==n&&void 0!==e.undirected&&i in e.undirected&&(r=nn(r,un(e.undirected,i))),r}var mn=[{name:"neighbors",type:"mixed"},{name:"inNeighbors",type:"directed",direction:"in"},{name:"outNeighbors",type:"directed",direction:"out"},{name:"inboundNeighbors",type:"mixed",direction:"in"},{name:"outboundNeighbors",type:"mixed",direction:"out"},{name:"directedNeighbors",type:"directed"},{name:"undirectedNeighbors",type:"undirected"}];function vn(){this.A=null,this.B=null}function yn(n,t,e,i,r){for(var c in i){var a=i[c],o=a.source,u=a.target,s=o===e?u:o;if(!t||!t.has(s.key)){var h=r(s.key,s.attributes);if(n&&h)return s.key}}}function kn(n,t,e,i,r){if("mixed"!==t){if("undirected"===t)return yn(n,null,i,i.undirected,r);if("string"==typeof e)return yn(n,null,i,i[e],r)}var c,a=new vn;if("undirected"!==t){if("out"!==e){if(c=yn(n,null,i,i.in,r),n&&c)return c;a.wrap(i.in)}if("in"!==e){if(c=yn(n,a,i,i.out,r),n&&c)return c;a.wrap(i.out)}}if("directed"!==t&&(c=yn(n,a,i,i.undirected,r),n&&c))return c}function En(n,t,e){var i=Object.keys(e),r=i.length,c=0;return new L((function(){var a=null;do{if(c>=r)return n&&n.wrap(e),{done:!0};var o=e[i[c++]],u=o.source,s=o.target;a=u===t?s:u,n&&n.has(a.key)&&(a=null)}while(null===a);return{done:!1,value:{neighbor:a.key,attributes:a.attributes}}}))}function Mn(n,t){var e=t.name,i=t.type,r=t.direction;n.prototype[e]=function(n){if("mixed"!==i&&"mixed"!==this.type&&i!==this.type)return[];n=""+n;var t=this._nodes.get(n);if(void 0===t)throw new H("Graph.".concat(e,': could not find the "').concat(n,'" node in the graph.'));return function(n,t,e){if("mixed"!==n){if("undirected"===n)return Object.keys(e.undirected);if("string"==typeof t)return Object.keys(e[t])}var i=[];return kn(!1,n,t,e,(function(n){i.push(n)})),i}("mixed"===i?this.type:i,r,t)}}function jn(n,t){var e=t.name,i=t.type,r=t.direction,c=e.slice(0,-1)+"Entries";n.prototype[c]=function(n){if("mixed"!==i&&"mixed"!==this.type&&i!==this.type)return L.empty();n=""+n;var t=this._nodes.get(n);if(void 0===t)throw new H("Graph.".concat(c,': could not find the "').concat(n,'" node in the graph.'));return function(n,t,e){if("mixed"!==n){if("undirected"===n)return En(null,e,e.undirected);if("string"==typeof t)return En(null,e,e[t])}var i=L.empty(),r=new vn;return"undirected"!==n&&("out"!==t&&(i=nn(i,En(r,e,e.in))),"in"!==t&&(i=nn(i,En(r,e,e.out)))),"directed"!==n&&(i=nn(i,En(r,e,e.undirected))),i}("mixed"===i?this.type:i,r,t)}}function Tn(n,t,e,i,r){for(var c,a,o,u,s,h,f,l=i._nodes.values(),b=i.type;!0!==(c=l.next()).done;){var d=!1;if(a=c.value,"undirected"!==b)for(o in u=a.out){s=u[o];do{if(h=s.target,d=!0,f=r(a.key,h.key,a.attributes,h.attributes,s.key,s.attributes,s.undirected),n&&f)return s;s=s.next}while(s)}if("directed"!==b)for(o in u=a.undirected)if(!(t&&a.key>o)){s=u[o];do{if((h=s.target).key!==o&&(h=s.source),d=!0,f=r(a.key,h.key,a.attributes,h.attributes,s.key,s.attributes,s.undirected),n&&f)return s;s=s.next}while(s)}if(e&&!d&&(f=r(a.key,null,a.attributes,null,null,null,null),n&&f))return null}}function Sn(n){if(!h(n))throw new G('Graph.import: invalid serialized node. A serialized node should be a plain object with at least a "key" property.');if(!("key"in n))throw new G("Graph.import: serialized node is missing its key.");if("attributes"in n&&(!h(n.attributes)||null===n.attributes))throw new G("Graph.import: invalid attributes. Attributes should be a plain object, null or omitted.")}function Pn(n){if(!h(n))throw new G('Graph.import: invalid serialized edge. A serialized edge should be a plain object with at least a "source" & "target" property.');if(!("source"in n))throw new G("Graph.import: serialized edge is missing its source.");if(!("target"in n))throw new G("Graph.import: serialized edge is missing its target.");if("attributes"in n&&(!h(n.attributes)||null===n.attributes))throw new G("Graph.import: invalid attributes. Attributes should be a plain object, null or omitted.");if("undirected"in n&&"boolean"!=typeof n.undirected)throw new G("Graph.import: invalid undirectedness information. Undirected should be boolean or omitted.")}vn.prototype.wrap=function(n){null===this.A?this.A=n:null===this.B&&(this.B=n)},vn.prototype.has=function(n){return null!==this.A&&n in this.A||null!==this.B&&n in this.B};var Cn,On=(Cn=255&Math.floor(256*Math.random()),function(){return Cn++}),In=new Set(["directed","undirected","mixed"]),An=new Set(["domain","_events","_eventsCount","_maxListeners"]),Ln={allowSelfLoops:!0,multi:!1,type:"mixed"};function Nn(n,t,e){var i=new n.NodeDataClass(t,e);return n._nodes.set(t,i),n.emit("nodeAdded",{key:t,attributes:e}),i}function Dn(n,t,e,i,r,c,a,o){if(!i&&"undirected"===n.type)throw new U("Graph.".concat(t,": you cannot add a directed edge to an undirected graph. Use the #.addEdge or #.addUndirectedEdge instead."));if(i&&"directed"===n.type)throw new U("Graph.".concat(t,": you cannot add an undirected edge to a directed graph. Use the #.addEdge or #.addDirectedEdge instead."));if(o&&!h(o))throw new G("Graph.".concat(t,': invalid attributes. Expecting an object but got "').concat(o,'"'));if(c=""+c,a=""+a,o=o||{},!n.allowSelfLoops&&c===a)throw new U("Graph.".concat(t,': source & target are the same ("').concat(c,"\"), thus creating a loop explicitly forbidden by this graph 'allowSelfLoops' option set to false."));var u=n._nodes.get(c),s=n._nodes.get(a);if(!u)throw new H("Graph.".concat(t,': source node "').concat(c,'" not found.'));if(!s)throw new H("Graph.".concat(t,': target node "').concat(a,'" not found.'));var f={key:null,undirected:i,source:c,target:a,attributes:o};if(e)r=n._edgeKeyGenerator();else if(r=""+r,n._edges.has(r))throw new U("Graph.".concat(t,': the "').concat(r,'" edge already exists in the graph.'));if(!n.multi&&(i?void 0!==u.undirected[a]:void 0!==u.out[a]))throw new U("Graph.".concat(t,': an edge linking "').concat(c,'" to "').concat(a,"\" already exists. If you really want to add multiple edges linking those nodes, you should create a multi graph by using the 'multi' option."));var l=new X(i,r,u,s,o);n._edges.set(r,l);var b=c===a;return i?(u.undirectedDegree++,s.undirectedDegree++,b&&(u.undirectedLoops++,n._undirectedSelfLoopCount++)):(u.outDegree++,s.inDegree++,b&&(u.directedLoops++,n._directedSelfLoopCount++)),n.multi?l.attachMulti():l.attach(),i?n._undirectedSize++:n._directedSize++,f.key=r,n.emit("edgeAdded",f),r}function xn(n,t,e,i,r,c,a,o,s){if(!i&&"undirected"===n.type)throw new U("Graph.".concat(t,": you cannot merge/update a directed edge to an undirected graph. Use the #.mergeEdge/#.updateEdge or #.addUndirectedEdge instead."));if(i&&"directed"===n.type)throw new U("Graph.".concat(t,": you cannot merge/update an undirected edge to a directed graph. Use the #.mergeEdge/#.updateEdge or #.addDirectedEdge instead."));if(o)if(s){if("function"!=typeof o)throw new G("Graph.".concat(t,': invalid updater function. Expecting a function but got "').concat(o,'"'))}else if(!h(o))throw new G("Graph.".concat(t,': invalid attributes. Expecting an object but got "').concat(o,'"'));var f;if(c=""+c,a=""+a,s&&(f=o,o=void 0),!n.allowSelfLoops&&c===a)throw new U("Graph.".concat(t,': source & target are the same ("').concat(c,"\"), thus creating a loop explicitly forbidden by this graph 'allowSelfLoops' option set to false."));var l,b,d=n._nodes.get(c),w=n._nodes.get(a);if(!e&&(l=n._edges.get(r))){if(!(l.source.key===c&&l.target.key===a||i&&l.source.key===a&&l.target.key===c))throw new U("Graph.".concat(t,': inconsistency detected when attempting to merge the "').concat(r,'" edge with "').concat(c,'" source & "').concat(a,'" target vs. ("').concat(l.source.key,'", "').concat(l.target.key,'").'));b=l}if(b||n.multi||!d||(b=i?d.undirected[a]:d.out[a]),b){var g=[b.key,!1,!1,!1];if(s?!f:!o)return g;if(s){var p=b.attributes;b.attributes=f(p),n.emit("edgeAttributesUpdated",{type:"replace",key:b.key,attributes:b.attributes})}else u(b.attributes,o),n.emit("edgeAttributesUpdated",{type:"merge",key:b.key,attributes:b.attributes,data:o});return g}o=o||{},s&&f&&(o=f(o));var m={key:null,undirected:i,source:c,target:a,attributes:o};if(e)r=n._edgeKeyGenerator();else if(r=""+r,n._edges.has(r))throw new U("Graph.".concat(t,': the "').concat(r,'" edge already exists in the graph.'));var v=!1,y=!1;d||(d=Nn(n,c,{}),v=!0,c===a&&(w=d,y=!0)),w||(w=Nn(n,a,{}),y=!0),l=new X(i,r,d,w,o),n._edges.set(r,l);var k=c===a;return i?(d.undirectedDegree++,w.undirectedDegree++,k&&(d.undirectedLoops++,n._undirectedSelfLoopCount++)):(d.outDegree++,w.inDegree++,k&&(d.directedLoops++,n._directedSelfLoopCount++)),n.multi?l.attachMulti():l.attach(),i?n._undirectedSize++:n._directedSize++,m.key=r,n.emit("edgeAdded",m),[r,!0,v,y]}function $n(n,t){n._edges.delete(t.key);var e=t.source,i=t.target,r=t.attributes,c=t.undirected,a=e===i;c?(e.undirectedDegree--,i.undirectedDegree--,a&&(e.undirectedLoops--,n._undirectedSelfLoopCount--)):(e.outDegree--,i.inDegree--,a&&(e.directedLoops--,n._directedSelfLoopCount--)),n.multi?t.detachMulti():t.detach(),c?n._undirectedSize--:n._directedSize--,n.emit("edgeDropped",{key:t.key,attributes:r,source:e.key,target:i.key,undirected:c})}var Rn=function(e){function i(n){var t;if(t=e.call(this)||this,"boolean"!=typeof(n=u({},Ln,n)).multi)throw new G("Graph.constructor: invalid 'multi' option. Expecting a boolean but got \"".concat(n.multi,'".'));if(!In.has(n.type))throw new G('Graph.constructor: invalid \'type\' option. Should be one of "mixed", "directed" or "undirected" but got "'.concat(n.type,'".'));if("boolean"!=typeof n.allowSelfLoops)throw new G("Graph.constructor: invalid 'allowSelfLoops' option. Expecting a boolean but got \"".concat(n.allowSelfLoops,'".'));var i="mixed"===n.type?q:"directed"===n.type?z:W;l(o(t),"NodeDataClass",i);var r="geid_"+On()+"_",c=0;return l(o(t),"_attributes",{}),l(o(t),"_nodes",new Map),l(o(t),"_edges",new Map),l(o(t),"_directedSize",0),l(o(t),"_undirectedSize",0),l(o(t),"_directedSelfLoopCount",0),l(o(t),"_undirectedSelfLoopCount",0),l(o(t),"_edgeKeyGenerator",(function(){var n;do{n=r+c++}while(t._edges.has(n));return n})),l(o(t),"_options",n),An.forEach((function(n){return l(o(t),n,t[n])})),b(o(t),"order",(function(){return t._nodes.size})),b(o(t),"size",(function(){return t._edges.size})),b(o(t),"directedSize",(function(){return t._directedSize})),b(o(t),"undirectedSize",(function(){return t._undirectedSize})),b(o(t),"selfLoopCount",(function(){return t._directedSelfLoopCount+t._undirectedSelfLoopCount})),b(o(t),"directedSelfLoopCount",(function(){return t._directedSelfLoopCount})),b(o(t),"undirectedSelfLoopCount",(function(){return t._undirectedSelfLoopCount})),b(o(t),"multi",t._options.multi),b(o(t),"type",t._options.type),b(o(t),"allowSelfLoops",t._options.allowSelfLoops),b(o(t),"implementation",(function(){return"graphology"})),t}t(i,e);var r=i.prototype;return r._resetInstanceCounters=function(){this._directedSize=0,this._undirectedSize=0,this._directedSelfLoopCount=0,this._undirectedSelfLoopCount=0},r.hasNode=function(n){return this._nodes.has(""+n)},r.hasDirectedEdge=function(n,t){if("undirected"===this.type)return!1;if(1===arguments.length){var e=""+n,i=this._edges.get(e);return!!i&&!i.undirected}if(2===arguments.length){n=""+n,t=""+t;var r=this._nodes.get(n);return!!r&&r.out.hasOwnProperty(t)}throw new G("Graph.hasDirectedEdge: invalid arity (".concat(arguments.length,", instead of 1 or 2). You can either ask for an edge id or for the existence of an edge between a source & a target."))},r.hasUndirectedEdge=function(n,t){if("directed"===this.type)return!1;if(1===arguments.length){var e=""+n,i=this._edges.get(e);return!!i&&i.undirected}if(2===arguments.length){n=""+n,t=""+t;var r=this._nodes.get(n);return!!r&&r.undirected.hasOwnProperty(t)}throw new G("Graph.hasDirectedEdge: invalid arity (".concat(arguments.length,", instead of 1 or 2). You can either ask for an edge id or for the existence of an edge between a source & a target."))},r.hasEdge=function(n,t){if(1===arguments.length){var e=""+n;return this._edges.has(e)}if(2===arguments.length){n=""+n,t=""+t;var i=this._nodes.get(n);return!!i&&(void 0!==i.out&&i.out.hasOwnProperty(t)||void 0!==i.undirected&&i.undirected.hasOwnProperty(t))}throw new G("Graph.hasEdge: invalid arity (".concat(arguments.length,", instead of 1 or 2). You can either ask for an edge id or for the existence of an edge between a source & a target."))},r.directedEdge=function(n,t){if("undirected"!==this.type){if(n=""+n,t=""+t,this.multi)throw new U("Graph.directedEdge: this method is irrelevant with multigraphs since there might be multiple edges between source & target. See #.directedEdges instead.");var e=this._nodes.get(n);if(!e)throw new H('Graph.directedEdge: could not find the "'.concat(n,'" source node in the graph.'));if(!this._nodes.has(t))throw new H('Graph.directedEdge: could not find the "'.concat(t,'" target node in the graph.'));var i=e.out&&e.out[t]||void 0;return i?i.key:void 0}},r.undirectedEdge=function(n,t){if("directed"!==this.type){if(n=""+n,t=""+t,this.multi)throw new U("Graph.undirectedEdge: this method is irrelevant with multigraphs since there might be multiple edges between source & target. See #.undirectedEdges instead.");var e=this._nodes.get(n);if(!e)throw new H('Graph.undirectedEdge: could not find the "'.concat(n,'" source node in the graph.'));if(!this._nodes.has(t))throw new H('Graph.undirectedEdge: could not find the "'.concat(t,'" target node in the graph.'));var i=e.undirected&&e.undirected[t]||void 0;return i?i.key:void 0}},r.edge=function(n,t){if(this.multi)throw new U("Graph.edge: this method is irrelevant with multigraphs since there might be multiple edges between source & target. See #.edges instead.");n=""+n,t=""+t;var e=this._nodes.get(n);if(!e)throw new H('Graph.edge: could not find the "'.concat(n,'" source node in the graph.'));if(!this._nodes.has(t))throw new H('Graph.edge: could not find the "'.concat(t,'" target node in the graph.'));var i=e.out&&e.out[t]||e.undirected&&e.undirected[t]||void 0;if(i)return i.key},r.areDirectedNeighbors=function(n,t){n=""+n,t=""+t;var e=this._nodes.get(n);if(!e)throw new H('Graph.areDirectedNeighbors: could not find the "'.concat(n,'" node in the graph.'));return"undirected"!==this.type&&(t in e.in||t in e.out)},r.areOutNeighbors=function(n,t){n=""+n,t=""+t;var e=this._nodes.get(n);if(!e)throw new H('Graph.areOutNeighbors: could not find the "'.concat(n,'" node in the graph.'));return"undirected"!==this.type&&t in e.out},r.areInNeighbors=function(n,t){n=""+n,t=""+t;var e=this._nodes.get(n);if(!e)throw new H('Graph.areInNeighbors: could not find the "'.concat(n,'" node in the graph.'));return"undirected"!==this.type&&t in e.in},r.areUndirectedNeighbors=function(n,t){n=""+n,t=""+t;var e=this._nodes.get(n);if(!e)throw new H('Graph.areUndirectedNeighbors: could not find the "'.concat(n,'" node in the graph.'));return"directed"!==this.type&&t in e.undirected},r.areNeighbors=function(n,t){n=""+n,t=""+t;var e=this._nodes.get(n);if(!e)throw new H('Graph.areNeighbors: could not find the "'.concat(n,'" node in the graph.'));return"undirected"!==this.type&&(t in e.in||t in e.out)||"directed"!==this.type&&t in e.undirected},r.areInboundNeighbors=function(n,t){n=""+n,t=""+t;var e=this._nodes.get(n);if(!e)throw new H('Graph.areInboundNeighbors: could not find the "'.concat(n,'" node in the graph.'));return"undirected"!==this.type&&t in e.in||"directed"!==this.type&&t in e.undirected},r.areOutboundNeighbors=function(n,t){n=""+n,t=""+t;var e=this._nodes.get(n);if(!e)throw new H('Graph.areOutboundNeighbors: could not find the "'.concat(n,'" node in the graph.'));return"undirected"!==this.type&&t in e.out||"directed"!==this.type&&t in e.undirected},r.inDegree=function(n){n=""+n;var t=this._nodes.get(n);if(!t)throw new H('Graph.inDegree: could not find the "'.concat(n,'" node in the graph.'));return"undirected"===this.type?0:t.inDegree},r.outDegree=function(n){n=""+n;var t=this._nodes.get(n);if(!t)throw new H('Graph.outDegree: could not find the "'.concat(n,'" node in the graph.'));return"undirected"===this.type?0:t.outDegree},r.directedDegree=function(n){n=""+n;var t=this._nodes.get(n);if(!t)throw new H('Graph.directedDegree: could not find the "'.concat(n,'" node in the graph.'));return"undirected"===this.type?0:t.inDegree+t.outDegree},r.undirectedDegree=function(n){n=""+n;var t=this._nodes.get(n);if(!t)throw new H('Graph.undirectedDegree: could not find the "'.concat(n,'" node in the graph.'));return"directed"===this.type?0:t.undirectedDegree},r.inboundDegree=function(n){n=""+n;var t=this._nodes.get(n);if(!t)throw new H('Graph.inboundDegree: could not find the "'.concat(n,'" node in the graph.'));var e=0;return"directed"!==this.type&&(e+=t.undirectedDegree),"undirected"!==this.type&&(e+=t.inDegree),e},r.outboundDegree=function(n){n=""+n;var t=this._nodes.get(n);if(!t)throw new H('Graph.outboundDegree: could not find the "'.concat(n,'" node in the graph.'));var e=0;return"directed"!==this.type&&(e+=t.undirectedDegree),"undirected"!==this.type&&(e+=t.outDegree),e},r.degree=function(n){n=""+n;var t=this._nodes.get(n);if(!t)throw new H('Graph.degree: could not find the "'.concat(n,'" node in the graph.'));var e=0;return"directed"!==this.type&&(e+=t.undirectedDegree),"undirected"!==this.type&&(e+=t.inDegree+t.outDegree),e},r.inDegreeWithoutSelfLoops=function(n){n=""+n;var t=this._nodes.get(n);if(!t)throw new H('Graph.inDegreeWithoutSelfLoops: could not find the "'.concat(n,'" node in the graph.'));return"undirected"===this.type?0:t.inDegree-t.directedLoops},r.outDegreeWithoutSelfLoops=function(n){n=""+n;var t=this._nodes.get(n);if(!t)throw new H('Graph.outDegreeWithoutSelfLoops: could not find the "'.concat(n,'" node in the graph.'));return"undirected"===this.type?0:t.outDegree-t.directedLoops},r.directedDegreeWithoutSelfLoops=function(n){n=""+n;var t=this._nodes.get(n);if(!t)throw new H('Graph.directedDegreeWithoutSelfLoops: could not find the "'.concat(n,'" node in the graph.'));return"undirected"===this.type?0:t.inDegree+t.outDegree-2*t.directedLoops},r.undirectedDegreeWithoutSelfLoops=function(n){n=""+n;var t=this._nodes.get(n);if(!t)throw new H('Graph.undirectedDegreeWithoutSelfLoops: could not find the "'.concat(n,'" node in the graph.'));return"directed"===this.type?0:t.undirectedDegree-2*t.undirectedLoops},r.inboundDegreeWithoutSelfLoops=function(n){n=""+n;var t=this._nodes.get(n);if(!t)throw new H('Graph.inboundDegreeWithoutSelfLoops: could not find the "'.concat(n,'" node in the graph.'));var e=0,i=0;return"directed"!==this.type&&(e+=t.undirectedDegree,i+=2*t.undirectedLoops),"undirected"!==this.type&&(e+=t.inDegree,i+=t.directedLoops),e-i},r.outboundDegreeWithoutSelfLoops=function(n){n=""+n;var t=this._nodes.get(n);if(!t)throw new H('Graph.outboundDegreeWithoutSelfLoops: could not find the "'.concat(n,'" node in the graph.'));var e=0,i=0;return"directed"!==this.type&&(e+=t.undirectedDegree,i+=2*t.undirectedLoops),"undirected"!==this.type&&(e+=t.outDegree,i+=t.directedLoops),e-i},r.degreeWithoutSelfLoops=function(n){n=""+n;var t=this._nodes.get(n);if(!t)throw new H('Graph.degreeWithoutSelfLoops: could not find the "'.concat(n,'" node in the graph.'));var e=0,i=0;return"directed"!==this.type&&(e+=t.undirectedDegree,i+=2*t.undirectedLoops),"undirected"!==this.type&&(e+=t.inDegree+t.outDegree,i+=2*t.directedLoops),e-i},r.source=function(n){n=""+n;var t=this._edges.get(n);if(!t)throw new H('Graph.source: could not find the "'.concat(n,'" edge in the graph.'));return t.source.key},r.target=function(n){n=""+n;var t=this._edges.get(n);if(!t)throw new H('Graph.target: could not find the "'.concat(n,'" edge in the graph.'));return t.target.key},r.extremities=function(n){n=""+n;var t=this._edges.get(n);if(!t)throw new H('Graph.extremities: could not find the "'.concat(n,'" edge in the graph.'));return[t.source.key,t.target.key]},r.opposite=function(n,t){n=""+n,t=""+t;var e=this._edges.get(t);if(!e)throw new H('Graph.opposite: could not find the "'.concat(t,'" edge in the graph.'));var i=e.source.key,r=e.target.key;if(n===i)return r;if(n===r)return i;throw new H('Graph.opposite: the "'.concat(n,'" node is not attached to the "').concat(t,'" edge (').concat(i,", ").concat(r,")."))},r.hasExtremity=function(n,t){n=""+n,t=""+t;var e=this._edges.get(n);if(!e)throw new H('Graph.hasExtremity: could not find the "'.concat(n,'" edge in the graph.'));return e.source.key===t||e.target.key===t},r.isUndirected=function(n){n=""+n;var t=this._edges.get(n);if(!t)throw new H('Graph.isUndirected: could not find the "'.concat(n,'" edge in the graph.'));return t.undirected},r.isDirected=function(n){n=""+n;var t=this._edges.get(n);if(!t)throw new H('Graph.isDirected: could not find the "'.concat(n,'" edge in the graph.'));return!t.undirected},r.isSelfLoop=function(n){n=""+n;var t=this._edges.get(n);if(!t)throw new H('Graph.isSelfLoop: could not find the "'.concat(n,'" edge in the graph.'));return t.source===t.target},r.addNode=function(n,t){var e=function(n,t,e){if(e&&!h(e))throw new G('Graph.addNode: invalid attributes. Expecting an object but got "'.concat(e,'"'));if(t=""+t,e=e||{},n._nodes.has(t))throw new U('Graph.addNode: the "'.concat(t,'" node already exist in the graph.'));var i=new n.NodeDataClass(t,e);return n._nodes.set(t,i),n.emit("nodeAdded",{key:t,attributes:e}),i}(this,n,t);return e.key},r.mergeNode=function(n,t){if(t&&!h(t))throw new G('Graph.mergeNode: invalid attributes. Expecting an object but got "'.concat(t,'"'));n=""+n,t=t||{};var e=this._nodes.get(n);return e?(t&&(u(e.attributes,t),this.emit("nodeAttributesUpdated",{type:"merge",key:n,attributes:e.attributes,data:t})),[n,!1]):(e=new this.NodeDataClass(n,t),this._nodes.set(n,e),this.emit("nodeAdded",{key:n,attributes:t}),[n,!0])},r.updateNode=function(n,t){if(t&&"function"!=typeof t)throw new G('Graph.updateNode: invalid updater function. Expecting a function but got "'.concat(t,'"'));n=""+n;var e=this._nodes.get(n);if(e){if(t){var i=e.attributes;e.attributes=t(i),this.emit("nodeAttributesUpdated",{type:"replace",key:n,attributes:e.attributes})}return[n,!1]}var r=t?t({}):{};return e=new this.NodeDataClass(n,r),this._nodes.set(n,e),this.emit("nodeAdded",{key:n,attributes:r}),[n,!0]},r.dropNode=function(n){n=""+n;var t,e=this._nodes.get(n);if(!e)throw new H('Graph.dropNode: could not find the "'.concat(n,'" node in the graph.'));if("undirected"!==this.type){for(var i in e.out){t=e.out[i];do{$n(this,t),t=t.next}while(t)}for(var r in e.in){t=e.in[r];do{$n(this,t),t=t.next}while(t)}}if("directed"!==this.type)for(var c in e.undirected){t=e.undirected[c];do{$n(this,t),t=t.next}while(t)}this._nodes.delete(n),this.emit("nodeDropped",{key:n,attributes:e.attributes})},r.dropEdge=function(n){var t;if(arguments.length>1){var e=""+arguments[0],i=""+arguments[1];if(!(t=s(this,e,i,this.type)))throw new H('Graph.dropEdge: could not find the "'.concat(e,'" -> "').concat(i,'" edge in the graph.'))}else if(n=""+n,!(t=this._edges.get(n)))throw new H('Graph.dropEdge: could not find the "'.concat(n,'" edge in the graph.'));return $n(this,t),this},r.dropDirectedEdge=function(n,t){if(arguments.length<2)throw new U("Graph.dropDirectedEdge: it does not make sense to try and drop a directed edge by key. What if the edge with this key is undirected? Use #.dropEdge for this purpose instead.");if(this.multi)throw new U("Graph.dropDirectedEdge: cannot use a {source,target} combo when dropping an edge in a MultiGraph since we cannot infer the one you want to delete as there could be multiple ones.");var e=s(this,n=""+n,t=""+t,"directed");if(!e)throw new H('Graph.dropDirectedEdge: could not find a "'.concat(n,'" -> "').concat(t,'" edge in the graph.'));return $n(this,e),this},r.dropUndirectedEdge=function(n,t){if(arguments.length<2)throw new U("Graph.dropUndirectedEdge: it does not make sense to drop a directed edge by key. What if the edge with this key is undirected? Use #.dropEdge for this purpose instead.");if(this.multi)throw new U("Graph.dropUndirectedEdge: cannot use a {source,target} combo when dropping an edge in a MultiGraph since we cannot infer the one you want to delete as there could be multiple ones.");var e=s(this,n,t,"undirected");if(!e)throw new H('Graph.dropUndirectedEdge: could not find a "'.concat(n,'" -> "').concat(t,'" edge in the graph.'));return $n(this,e),this},r.clear=function(){this._edges.clear(),this._nodes.clear(),this._resetInstanceCounters(),this.emit("cleared")},r.clearEdges=function(){for(var n,t=this._nodes.values();!0!==(n=t.next()).done;)n.value.clear();this._edges.clear(),this._resetInstanceCounters(),this.emit("edgesCleared")},r.getAttribute=function(n){return this._attributes[n]},r.getAttributes=function(){return this._attributes},r.hasAttribute=function(n){return this._attributes.hasOwnProperty(n)},r.setAttribute=function(n,t){return this._attributes[n]=t,this.emit("attributesUpdated",{type:"set",attributes:this._attributes,name:n}),this},r.updateAttribute=function(n,t){if("function"!=typeof t)throw new G("Graph.updateAttribute: updater should be a function.");var e=this._attributes[n];return this._attributes[n]=t(e),this.emit("attributesUpdated",{type:"set",attributes:this._attributes,name:n}),this},r.removeAttribute=function(n){return delete this._attributes[n],this.emit("attributesUpdated",{type:"remove",attributes:this._attributes,name:n}),this},r.replaceAttributes=function(n){if(!h(n))throw new G("Graph.replaceAttributes: provided attributes are not a plain object.");return this._attributes=n,this.emit("attributesUpdated",{type:"replace",attributes:this._attributes}),this},r.mergeAttributes=function(n){if(!h(n))throw new G("Graph.mergeAttributes: provided attributes are not a plain object.");return u(this._attributes,n),this.emit("attributesUpdated",{type:"merge",attributes:this._attributes,data:n}),this},r.updateAttributes=function(n){if("function"!=typeof n)throw new G("Graph.updateAttributes: provided updater is not a function.");return this._attributes=n(this._attributes),this.emit("attributesUpdated",{type:"update",attributes:this._attributes}),this},r.updateEachNodeAttributes=function(n,t){if("function"!=typeof n)throw new G("Graph.updateEachNodeAttributes: expecting an updater function.");if(t&&!d(t))throw new G("Graph.updateEachNodeAttributes: invalid hints. Expecting an object having the following shape: {attributes?: [string]}");for(var e,i,r=this._nodes.values();!0!==(e=r.next()).done;)(i=e.value).attributes=n(i.key,i.attributes);this.emit("eachNodeAttributesUpdated",{hints:t||null})},r.updateEachEdgeAttributes=function(n,t){if("function"!=typeof n)throw new G("Graph.updateEachEdgeAttributes: expecting an updater function.");if(t&&!d(t))throw new G("Graph.updateEachEdgeAttributes: invalid hints. Expecting an object having the following shape: {attributes?: [string]}");for(var e,i,r,c,a=this._edges.values();!0!==(e=a.next()).done;)r=(i=e.value).source,c=i.target,i.attributes=n(i.key,i.attributes,r.key,c.key,r.attributes,c.attributes,i.undirected);this.emit("eachEdgeAttributesUpdated",{hints:t||null})},r.forEachAdjacencyEntry=function(n){if("function"!=typeof n)throw new G("Graph.forEachAdjacencyEntry: expecting a callback.");Tn(!1,!1,!1,this,n)},r.forEachAdjacencyEntryWithOrphans=function(n){if("function"!=typeof n)throw new G("Graph.forEachAdjacencyEntryWithOrphans: expecting a callback.");Tn(!1,!1,!0,this,n)},r.forEachAssymetricAdjacencyEntry=function(n){if("function"!=typeof n)throw new G("Graph.forEachAssymetricAdjacencyEntry: expecting a callback.");Tn(!1,!0,!1,this,n)},r.forEachAssymetricAdjacencyEntryWithOrphans=function(n){if("function"!=typeof n)throw new G("Graph.forEachAssymetricAdjacencyEntryWithOrphans: expecting a callback.");Tn(!1,!0,!0,this,n)},r.nodes=function(){return"function"==typeof Array.from?Array.from(this._nodes.keys()):F(this._nodes.keys(),this._nodes.size)},r.forEachNode=function(n){if("function"!=typeof n)throw new G("Graph.forEachNode: expecting a callback.");for(var t,e,i=this._nodes.values();!0!==(t=i.next()).done;)n((e=t.value).key,e.attributes)},r.findNode=function(n){if("function"!=typeof n)throw new G("Graph.findNode: expecting a callback.");for(var t,e,i=this._nodes.values();!0!==(t=i.next()).done;)if(n((e=t.value).key,e.attributes))return e.key},r.mapNodes=function(n){if("function"!=typeof n)throw new G("Graph.mapNode: expecting a callback.");for(var t,e,i=this._nodes.values(),r=new Array(this.order),c=0;!0!==(t=i.next()).done;)e=t.value,r[c++]=n(e.key,e.attributes);return r},r.someNode=function(n){if("function"!=typeof n)throw new G("Graph.someNode: expecting a callback.");for(var t,e,i=this._nodes.values();!0!==(t=i.next()).done;)if(n((e=t.value).key,e.attributes))return!0;return!1},r.everyNode=function(n){if("function"!=typeof n)throw new G("Graph.everyNode: expecting a callback.");for(var t,e,i=this._nodes.values();!0!==(t=i.next()).done;)if(!n((e=t.value).key,e.attributes))return!1;return!0},r.filterNodes=function(n){if("function"!=typeof n)throw new G("Graph.filterNodes: expecting a callback.");for(var t,e,i=this._nodes.values(),r=[];!0!==(t=i.next()).done;)n((e=t.value).key,e.attributes)&&r.push(e.key);return r},r.reduceNodes=function(n,t){if("function"!=typeof n)throw new G("Graph.reduceNodes: expecting a callback.");if(arguments.length<2)throw new G("Graph.reduceNodes: missing initial value. You must provide it because the callback takes more than one argument and we cannot infer the initial value from the first iteration, as you could with a simple array.");for(var e,i,r=t,c=this._nodes.values();!0!==(e=c.next()).done;)r=n(r,(i=e.value).key,i.attributes);return r},r.nodeEntries=function(){var n=this._nodes.values();return new L((function(){var t=n.next();if(t.done)return t;var e=t.value;return{value:{node:e.key,attributes:e.attributes},done:!1}}))},r.export=function(){var n=this,t=new Array(this._nodes.size),e=0;this._nodes.forEach((function(n,i){t[e++]=function(n,t){var e={key:n};return f(t.attributes)||(e.attributes=u({},t.attributes)),e}(i,n)}));var i=new Array(this._edges.size);return e=0,this._edges.forEach((function(t,r){i[e++]=function(n,t,e){var i={key:t,source:e.source.key,target:e.target.key};return f(e.attributes)||(i.attributes=u({},e.attributes)),"mixed"===n&&e.undirected&&(i.undirected=!0),i}(n.type,r,t)})),{options:{type:this.type,multi:this.multi,allowSelfLoops:this.allowSelfLoops},attributes:this.getAttributes(),nodes:t,edges:i}},r.import=function(n){var t,e,r,c,a,o=this,u=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(n instanceof i)return n.forEachNode((function(n,t){u?o.mergeNode(n,t):o.addNode(n,t)})),n.forEachEdge((function(n,t,e,i,r,c,a){u?a?o.mergeUndirectedEdgeWithKey(n,e,i,t):o.mergeDirectedEdgeWithKey(n,e,i,t):a?o.addUndirectedEdgeWithKey(n,e,i,t):o.addDirectedEdgeWithKey(n,e,i,t)})),this;if(!h(n))throw new G("Graph.import: invalid argument. Expecting a serialized graph or, alternatively, a Graph instance.");if(n.attributes){if(!h(n.attributes))throw new G("Graph.import: invalid attributes. Expecting a plain object.");u?this.mergeAttributes(n.attributes):this.replaceAttributes(n.attributes)}if(n.nodes){if(r=n.nodes,!Array.isArray(r))throw new G("Graph.import: invalid nodes. Expecting an array.");for(t=0,e=r.length;t",o="",u=n.source.key,s=n.target.key;n.undirected&&u>s&&(c=u,u=s,s=c);var h="(".concat(u,")").concat(a,"(").concat(s,")");e.startsWith("geid_")?t.multi&&(void 0===r[h]?r[h]=0:r[h]++,o+="".concat(r[h],". ")):o+="[".concat(e,"]: "),i[o+=h]=n.attributes}));var c={};for(var a in this)this.hasOwnProperty(a)&&!An.has(a)&&"function"!=typeof this[a]&&"symbol"!==n(a)&&(c[a]=this[a]);return c.attributes=this._attributes,c.nodes=e,c.edges=i,l(c,"constructor",this.constructor),c},i}(g.exports.EventEmitter);"undefined"!=typeof Symbol&&(Rn.prototype[Symbol.for("nodejs.util.inspect.custom")]=Rn.prototype.inspect),[{name:function(n){return"".concat(n,"Edge")},generateKey:!0},{name:function(n){return"".concat(n,"DirectedEdge")},generateKey:!0,type:"directed"},{name:function(n){return"".concat(n,"UndirectedEdge")},generateKey:!0,type:"undirected"},{name:function(n){return"".concat(n,"EdgeWithKey")}},{name:function(n){return"".concat(n,"DirectedEdgeWithKey")},type:"directed"},{name:function(n){return"".concat(n,"UndirectedEdgeWithKey")},type:"undirected"}].forEach((function(n){["add","merge","update"].forEach((function(t){var e=n.name(t),i="add"===t?Dn:xn;n.generateKey?Rn.prototype[e]=function(r,c,a){return i(this,e,!0,"undirected"===(n.type||this.type),null,r,c,a,"update"===t)}:Rn.prototype[e]=function(r,c,a,o){return i(this,e,!1,"undirected"===(n.type||this.type),r,c,a,o,"update"===t)}}))})),function(n){Q.forEach((function(t){var e=t.name,i=t.attacher;i(n,e("Node"),0),i(n,e("Source"),1),i(n,e("Target"),2),i(n,e("Opposite"),3)}))}(Rn),function(n){J.forEach((function(t){var e=t.name,i=t.attacher;i(n,e("Edge"),"mixed"),i(n,e("DirectedEdge"),"directed"),i(n,e("UndirectedEdge"),"undirected")}))}(Rn),function(n){tn.forEach((function(t){!function(n,t){var e=t.name,i=t.type,r=t.direction;n.prototype[e]=function(n,t){if("mixed"!==i&&"mixed"!==this.type&&i!==this.type)return[];if(!arguments.length)return sn(this,i);if(1===arguments.length){n=""+n;var c=this._nodes.get(n);if(void 0===c)throw new H("Graph.".concat(e,': could not find the "').concat(n,'" node in the graph.'));return bn(this.multi,"mixed"===i?this.type:i,r,c)}if(2===arguments.length){n=""+n,t=""+t;var a=this._nodes.get(n);if(!a)throw new H("Graph.".concat(e,': could not find the "').concat(n,'" source node in the graph.'));if(!this._nodes.has(t))throw new H("Graph.".concat(e,': could not find the "').concat(t,'" target node in the graph.'));return gn(i,this.multi,r,a,t)}throw new G("Graph.".concat(e,": too many arguments (expecting 0, 1 or 2 and got ").concat(arguments.length,")."))}}(n,t),function(n,t){var e=t.name,i=t.type,r=t.direction,c="forEach"+e[0].toUpperCase()+e.slice(1,-1);n.prototype[c]=function(n,t,e){if("mixed"===i||"mixed"===this.type||i===this.type){if(1===arguments.length)return hn(!1,this,i,e=n);if(2===arguments.length){n=""+n,e=t;var a=this._nodes.get(n);if(void 0===a)throw new H("Graph.".concat(c,': could not find the "').concat(n,'" node in the graph.'));return ln(!1,this.multi,"mixed"===i?this.type:i,r,a,e)}if(3===arguments.length){n=""+n,t=""+t;var o=this._nodes.get(n);if(!o)throw new H("Graph.".concat(c,': could not find the "').concat(n,'" source node in the graph.'));if(!this._nodes.has(t))throw new H("Graph.".concat(c,': could not find the "').concat(t,'" target node in the graph.'));return wn(!1,i,this.multi,r,o,t,e)}throw new G("Graph.".concat(c,": too many arguments (expecting 1, 2 or 3 and got ").concat(arguments.length,")."))}};var a="map"+e[0].toUpperCase()+e.slice(1);n.prototype[a]=function(){var n,t=Array.prototype.slice.call(arguments),e=t.pop();if(0===t.length){var r=0;"directed"!==i&&(r+=this.undirectedSize),"undirected"!==i&&(r+=this.directedSize),n=new Array(r);var a=0;t.push((function(t,i,r,c,o,u,s){n[a++]=e(t,i,r,c,o,u,s)}))}else n=[],t.push((function(t,i,r,c,a,o,u){n.push(e(t,i,r,c,a,o,u))}));return this[c].apply(this,t),n};var o="filter"+e[0].toUpperCase()+e.slice(1);n.prototype[o]=function(){var n=Array.prototype.slice.call(arguments),t=n.pop(),e=[];return n.push((function(n,i,r,c,a,o,u){t(n,i,r,c,a,o,u)&&e.push(n)})),this[c].apply(this,n),e};var u="reduce"+e[0].toUpperCase()+e.slice(1);n.prototype[u]=function(){var n,t,e=Array.prototype.slice.call(arguments);if(e.length<2||e.length>4)throw new G("Graph.".concat(u,": invalid number of arguments (expecting 2, 3 or 4 and got ").concat(e.length,")."));if("function"==typeof e[e.length-1]&&"function"!=typeof e[e.length-2])throw new G("Graph.".concat(u,": missing initial value. You must provide it because the callback takes more than one argument and we cannot infer the initial value from the first iteration, as you could with a simple array."));2===e.length?(n=e[0],t=e[1],e=[]):3===e.length?(n=e[1],t=e[2],e=[e[0]]):4===e.length&&(n=e[2],t=e[3],e=[e[0],e[1]]);var i=t;return e.push((function(t,e,r,c,a,o,u){i=n(i,t,e,r,c,a,o,u)})),this[c].apply(this,e),i}}(n,t),function(n,t){var e=t.name,i=t.type,r=t.direction,c="find"+e[0].toUpperCase()+e.slice(1,-1);n.prototype[c]=function(n,t,e){if("mixed"!==i&&"mixed"!==this.type&&i!==this.type)return!1;if(1===arguments.length)return hn(!0,this,i,e=n);if(2===arguments.length){n=""+n,e=t;var a=this._nodes.get(n);if(void 0===a)throw new H("Graph.".concat(c,': could not find the "').concat(n,'" node in the graph.'));return ln(!0,this.multi,"mixed"===i?this.type:i,r,a,e)}if(3===arguments.length){n=""+n,t=""+t;var o=this._nodes.get(n);if(!o)throw new H("Graph.".concat(c,': could not find the "').concat(n,'" source node in the graph.'));if(!this._nodes.has(t))throw new H("Graph.".concat(c,': could not find the "').concat(t,'" target node in the graph.'));return wn(!0,i,this.multi,r,o,t,e)}throw new G("Graph.".concat(c,": too many arguments (expecting 1, 2 or 3 and got ").concat(arguments.length,")."))};var a="some"+e[0].toUpperCase()+e.slice(1,-1);n.prototype[a]=function(){var n=Array.prototype.slice.call(arguments),t=n.pop();return n.push((function(n,e,i,r,c,a,o){return t(n,e,i,r,c,a,o)})),!!this[c].apply(this,n)};var o="every"+e[0].toUpperCase()+e.slice(1,-1);n.prototype[o]=function(){var n=Array.prototype.slice.call(arguments),t=n.pop();return n.push((function(n,e,i,r,c,a,o){return!t(n,e,i,r,c,a,o)})),!this[c].apply(this,n)}}(n,t),function(n,t){var e=t.name,i=t.type,r=t.direction,c=e.slice(0,-1)+"Entries";n.prototype[c]=function(n,t){if("mixed"!==i&&"mixed"!==this.type&&i!==this.type)return L.empty();if(!arguments.length)return fn(this,i);if(1===arguments.length){n=""+n;var e=this._nodes.get(n);if(!e)throw new H("Graph.".concat(c,': could not find the "').concat(n,'" node in the graph.'));return dn(i,r,e)}if(2===arguments.length){n=""+n,t=""+t;var a=this._nodes.get(n);if(!a)throw new H("Graph.".concat(c,': could not find the "').concat(n,'" source node in the graph.'));if(!this._nodes.has(t))throw new H("Graph.".concat(c,': could not find the "').concat(t,'" target node in the graph.'));return pn(i,r,a,t)}throw new G("Graph.".concat(c,": too many arguments (expecting 0, 1 or 2 and got ").concat(arguments.length,")."))}}(n,t)}))}(Rn),function(n){mn.forEach((function(t){Mn(n,t),function(n,t){var e=t.name,i=t.type,r=t.direction,c="forEach"+e[0].toUpperCase()+e.slice(1,-1);n.prototype[c]=function(n,t){if("mixed"===i||"mixed"===this.type||i===this.type){n=""+n;var e=this._nodes.get(n);if(void 0===e)throw new H("Graph.".concat(c,': could not find the "').concat(n,'" node in the graph.'));kn(!1,"mixed"===i?this.type:i,r,e,t)}};var a="map"+e[0].toUpperCase()+e.slice(1);n.prototype[a]=function(n,t){var e=[];return this[c](n,(function(n,i){e.push(t(n,i))})),e};var o="filter"+e[0].toUpperCase()+e.slice(1);n.prototype[o]=function(n,t){var e=[];return this[c](n,(function(n,i){t(n,i)&&e.push(n)})),e};var u="reduce"+e[0].toUpperCase()+e.slice(1);n.prototype[u]=function(n,t,e){if(arguments.length<3)throw new G("Graph.".concat(u,": missing initial value. You must provide it because the callback takes more than one argument and we cannot infer the initial value from the first iteration, as you could with a simple array."));var i=e;return this[c](n,(function(n,e){i=t(i,n,e)})),i}}(n,t),function(n,t){var e=t.name,i=t.type,r=t.direction,c=e[0].toUpperCase()+e.slice(1,-1),a="find"+c;n.prototype[a]=function(n,t){if("mixed"===i||"mixed"===this.type||i===this.type){n=""+n;var e=this._nodes.get(n);if(void 0===e)throw new H("Graph.".concat(a,': could not find the "').concat(n,'" node in the graph.'));return kn(!0,"mixed"===i?this.type:i,r,e,t)}};var o="some"+c;n.prototype[o]=function(n,t){return!!this[a](n,t)};var u="every"+c;n.prototype[u]=function(n,t){return!this[a](n,(function(n,e){return!t(n,e)}))}}(n,t),jn(n,t)}))}(Rn);var _n=function(n){function e(t){var e=u({type:"directed"},t);if("multi"in e&&!1!==e.multi)throw new G("DirectedGraph.from: inconsistent indication that the graph should be multi in given options!");if("directed"!==e.type)throw new G('DirectedGraph.from: inconsistent "'+e.type+'" type in given options!');return n.call(this,e)||this}return t(e,n),e}(Rn),Kn=function(n){function e(t){var e=u({type:"undirected"},t);if("multi"in e&&!1!==e.multi)throw new G("UndirectedGraph.from: inconsistent indication that the graph should be multi in given options!");if("undirected"!==e.type)throw new G('UndirectedGraph.from: inconsistent "'+e.type+'" type in given options!');return n.call(this,e)||this}return t(e,n),e}(Rn),Fn=function(n){function e(t){var e=u({multi:!0},t);if("multi"in e&&!0!==e.multi)throw new G("MultiGraph.from: inconsistent indication that the graph should be simple in given options!");return n.call(this,e)||this}return t(e,n),e}(Rn),Bn=function(n){function e(t){var e=u({type:"directed",multi:!0},t);if("multi"in e&&!0!==e.multi)throw new G("MultiDirectedGraph.from: inconsistent indication that the graph should be simple in given options!");if("directed"!==e.type)throw new G('MultiDirectedGraph.from: inconsistent "'+e.type+'" type in given options!');return n.call(this,e)||this}return t(e,n),e}(Rn),Gn=function(n){function e(t){var e=u({type:"undirected",multi:!0},t);if("multi"in e&&!0!==e.multi)throw new G("MultiUndirectedGraph.from: inconsistent indication that the graph should be simple in given options!");if("undirected"!==e.type)throw new G('MultiUndirectedGraph.from: inconsistent "'+e.type+'" type in given options!');return n.call(this,e)||this}return t(e,n),e}(Rn);function Hn(n){n.from=function(t,e){var i=u({},t.options,e),r=new n(i);return r.import(t),r}}return Hn(Rn),Hn(_n),Hn(Kn),Hn(Fn),Hn(Bn),Hn(Gn),Rn.Graph=Rn,Rn.DirectedGraph=_n,Rn.UndirectedGraph=Kn,Rn.MultiGraph=Fn,Rn.MultiDirectedGraph=Bn,Rn.MultiUndirectedGraph=Gn,Rn.InvalidArgumentsGraphError=G,Rn.NotFoundGraphError=H,Rn.UsageGraphError=U,Rn}()}($);var R=e($.exports);class _ extends c{constructor(n){super(),this.isShutdown=!1,this.scene=n,this.graph=new R,this.boot()}boot(){this.scene&&this.scene.sys.events.once("shutdown",this.destroy,this)}shutdown(n){if(!this.isShutdown)return this.scene&&this.scene.sys.events.off("shutdown",this.destroy,this),this.clear(),super.shutdown(),this.scene=null,this.isShutdown=!0,this}destroy(n){this.isShutdown||(this.emit("destroy"),this.shutdown(n))}get nodeCount(){return this.graph.order}get edgeCount(){return this.graph.size}exists(n){return this.isEdge(n)||this.isNode(n)}remove(n){return this.isNode(n)?this.removeNode(n):this.isEdge(n)&&this.removeEdge(n),this}setAttribute(n,t,e){return this.isNode(n)?this.setNodeAttribute(n,t,e):this.isEdge(n)&&this.setEdgeAttribute(n,t,e),this}getAttribute(n,t){return this.isNode(n)?this.getNodeAttribute(n,t):this.isEdge(n)&&this.getEdgeAttribute(n,t),this}clear(n){return void 0===n&&(n=!0),this.removeAllNodes(n),this}}Object.assign(_.prototype,x);var K=function(n){return null==n||""===n||0===n.length};function F(n){throw new Error('Could not dynamically require "'+n+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}n.register("graph",(function(n){return new _(this.scene,n)})),function(n,t,e,i){if(void 0===i&&(i="."),"object"==typeof n){if(K(t)){if(null==e)return;"object"==typeof e&&(n=e)}else{"string"==typeof t&&(t=t.split(i));var r=t.pop(),c=function(n,t,e){var i=n;if(K(t));else{var r;"string"==typeof t&&(t=t.split("."));for(var c=0,a=t.length;c0&&void 0!==arguments[0]?arguments[0]:{},i=e.defaultLayoutOptions,c=void 0===i?{}:i,o=e.algorithms,u=void 0===o?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:o,s=e.workerFactory,h=e.workerUrl;if(r(this,n),this.defaultLayoutOptions=c,this.initialized=!1,void 0===h&&void 0===s)throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var f=s;void 0!==h&&void 0===s&&(f=function(n){return new Worker(n)});var l=f(h);if("function"!=typeof l.postMessage)throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new a(l),this.worker.postMessage({cmd:"register",algorithms:u}).then((function(n){return t.initialized=!0})).catch(console.err)}return i(n,[{key:"layout",value:function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=t.layoutOptions,i=void 0===e?this.defaultLayoutOptions:e,r=t.logging,c=void 0!==r&&r,a=t.measureExecutionTime,o=void 0!==a&&a;return n?this.worker.postMessage({cmd:"layout",graph:n,layoutOptions:i,options:{logging:c,measureExecutionTime:o}}):Promise.reject(new Error("Missing mandatory parameter 'graph'."))}},{key:"knownLayoutAlgorithms",value:function(){return this.worker.postMessage({cmd:"algorithms"})}},{key:"knownLayoutOptions",value:function(){return this.worker.postMessage({cmd:"options"})}},{key:"knownLayoutCategories",value:function(){return this.worker.postMessage({cmd:"categories"})}},{key:"terminateWorker",value:function(){this.worker&&this.worker.terminate()}}]),n}();e.default=c;var a=function(){function n(t){var e=this;if(r(this,n),void 0===t)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=t,this.worker.onmessage=function(n){setTimeout((function(){e.receive(e,n)}),0)}}return i(n,[{key:"postMessage",value:function(n){var t=this.id||0;this.id=t+1,n.id=t;var e=this;return new Promise((function(i,r){e.resolvers[t]=function(n,t){n?(e.convertGwtStyleError(n),r(n)):i(t)},e.worker.postMessage(n)}))}},{key:"receive",value:function(n,t){var e=t.data,i=n.resolvers[e.id];i&&(delete n.resolvers[e.id],e.error?i(e.error):i(null,e.data))}},{key:"terminate",value:function(){this.worker&&this.worker.terminate()}},{key:"convertGwtStyleError",value:function(n){if(n){var t=n.__java$exception;t&&(t.cause&&t.cause.backingJsObject&&(n.cause=t.cause.backingJsObject,this.convertGwtStyleError(n.cause)),delete n.__java$exception)}}}]),n}()},{}],2:[function(n,e,i){(function(n){(function(){var t;function r(){}function c(){}function a(){}function o(){}function u(){}function s(){}function h(){}function f(){}function l(){}function b(){}function d(){}function w(){}function g(){}function p(){}function m(){}function v(){}function y(){}function k(){}function E(){}function M(){}function j(){}function T(){}function S(){}function P(){}function C(){}function O(){}function I(){}function A(){}function L(){}function N(){}function D(){}function x(){}function $(){}function R(){}function _(){}function K(){}function F(){}function B(){}function G(){}function H(){}function U(){}function q(){}function z(){}function W(){}function X(){}function V(){}function Q(){}function J(){}function Y(){}function Z(){}function nn(){}function tn(){}function en(){}function rn(){}function cn(){}function an(){}function on(){}function un(){}function sn(){}function hn(){}function fn(){}function ln(){}function bn(){}function dn(){}function wn(){}function gn(){}function pn(){}function mn(){}function vn(){}function yn(){}function kn(){}function En(){}function Mn(){}function jn(){}function Tn(){}function Sn(){}function Pn(){}function Cn(){}function On(){}function In(){}function An(){}function Ln(){}function Nn(){}function Dn(){}function xn(){}function $n(){}function Rn(){}function _n(){}function Kn(){}function Fn(){}function Bn(){}function Gn(){}function Hn(){}function Un(){}function qn(){}function zn(){}function Wn(){}function Xn(){}function Vn(){}function Qn(){}function Jn(){}function Yn(){}function Zn(){}function nt(){}function tt(){}function et(){}function it(){}function rt(){}function ct(){}function at(){}function ot(){}function ut(){}function st(){}function ht(){}function ft(){}function lt(){}function bt(){}function dt(){}function wt(){}function gt(){}function pt(){}function mt(){}function vt(){}function yt(){}function kt(){}function Et(){}function Mt(){}function jt(){}function Tt(){}function St(){}function Pt(){}function Ct(){}function Ot(){}function It(){}function At(){}function Lt(){}function Nt(){}function Dt(){}function xt(){}function $t(){}function Rt(){}function _t(){}function Kt(){}function Ft(){}function Bt(){}function Gt(){}function Ht(){}function Ut(){}function qt(){}function zt(){}function Wt(){}function Xt(){}function Vt(){}function Qt(){}function Jt(){}function Yt(){}function Zt(){}function ne(){}function te(){}function ee(){}function ie(){}function re(){}function ce(){}function ae(){}function oe(){}function ue(){}function se(){}function he(){}function fe(){}function le(){}function be(){}function de(){}function we(){}function ge(){}function pe(){}function me(){}function ve(){}function ye(){}function ke(){}function Ee(){}function Me(){}function je(){}function Te(){}function Se(){}function Pe(){}function Ce(){}function Oe(){}function Ie(){}function Ae(){}function Le(){}function Ne(){}function De(){}function xe(){}function $e(){}function Re(){}function _e(){}function Ke(){}function Fe(){}function Be(){}function Ge(){}function He(){}function Ue(){}function qe(){}function ze(){}function We(){}function Xe(){}function Ve(){}function Qe(){}function Je(){}function Ye(){}function Ze(){}function ni(){}function ti(){}function ei(){}function ii(){}function ri(){}function ci(){}function ai(){}function oi(){}function ui(){}function si(){}function hi(){}function fi(){}function li(){}function bi(){}function di(){}function wi(){}function gi(){}function pi(){}function mi(){}function vi(){}function yi(){}function ki(){}function Ei(){}function Mi(){}function ji(){}function Ti(){}function Si(){}function Pi(){}function Ci(){}function Oi(){}function Ii(){}function Ai(){}function Li(){}function Ni(){}function Di(){}function xi(){}function $i(){}function Ri(){}function _i(){}function Ki(){}function Fi(){}function Bi(){}function Gi(){}function Hi(){}function Ui(){}function qi(){}function zi(){}function Wi(){}function Xi(){}function Vi(){}function Qi(){}function Ji(){}function Yi(){}function Zi(){}function nr(){}function tr(){}function er(){}function ir(){}function rr(){}function cr(){}function ar(){}function or(){}function ur(){}function sr(){}function hr(){}function fr(){}function lr(){}function br(){}function dr(){}function wr(){}function gr(){}function pr(){}function mr(){}function vr(){}function yr(){}function kr(){}function Er(){}function Mr(){}function jr(){}function Tr(){}function Sr(){}function Pr(){}function Cr(){}function Or(){}function Ir(){}function Ar(){}function Lr(){}function Nr(){}function Dr(){}function xr(){}function $r(){}function Rr(){}function _r(){}function Kr(){}function Fr(){}function Br(){}function Gr(){}function Hr(){}function Ur(){}function qr(){}function zr(){}function Wr(){}function Xr(){}function Vr(){}function Qr(){}function Jr(){}function Yr(){}function Zr(){}function nc(){}function tc(){}function ec(){}function ic(){}function rc(){}function cc(){}function ac(){}function oc(){}function uc(){}function sc(){}function hc(){}function fc(){}function lc(){}function bc(){}function dc(){}function wc(){}function gc(){}function pc(){}function mc(){}function vc(){}function yc(){}function kc(){}function Ec(){}function Mc(){}function jc(){}function Tc(){}function Sc(){}function Pc(){}function Cc(){}function Oc(){}function Ic(){}function Ac(){}function Lc(){}function Nc(){}function Dc(){}function xc(){}function $c(){}function Rc(){}function _c(){}function Kc(){}function Fc(){}function Bc(){}function Gc(){}function Hc(){}function Uc(){}function qc(){}function zc(){}function Wc(){}function Xc(){}function Vc(){}function Qc(){}function Jc(){}function Yc(){}function Zc(){}function na(){}function ta(){}function ea(){}function ia(){}function ra(){}function ca(){}function aa(){}function oa(){}function ua(){}function sa(){}function ha(){}function fa(){}function la(){}function ba(){}function da(){}function wa(){}function ga(){}function pa(){}function ma(){}function va(){}function ya(){}function ka(){}function Ea(){}function Ma(){}function ja(){}function Ta(){}function Sa(){}function Pa(){}function Ca(){}function Oa(){}function Ia(){}function Aa(){}function La(){}function Na(){}function Da(){}function xa(){}function $a(){}function Ra(){}function _a(){}function Ka(){}function Fa(){}function Ba(){}function Ga(){}function Ha(){}function Ua(){}function qa(){}function za(){}function Wa(){}function Xa(){}function Va(){}function Qa(){}function Ja(){}function Ya(){}function Za(){}function no(){}function to(){}function eo(){}function io(){}function ro(){}function co(){}function ao(){}function oo(){}function uo(){}function so(){}function ho(){}function fo(){}function lo(){}function bo(){}function wo(){}function go(){}function po(){}function mo(){}function vo(){}function yo(){}function ko(){}function Eo(){}function Mo(){}function jo(){}function To(){}function So(){}function Po(){}function Co(){}function Oo(){}function Io(){}function Ao(){}function Lo(){}function No(){}function Do(){}function xo(){}function $o(){}function Ro(){}function _o(){}function Ko(){}function Fo(){}function Bo(){}function Go(){}function Ho(){}function Uo(){}function qo(){}function zo(){}function Wo(){}function Xo(){}function Vo(){}function Qo(){}function Jo(){}function Yo(){}function Zo(){}function nu(){}function tu(){}function eu(){}function iu(){}function ru(){}function cu(){}function au(){}function ou(){}function uu(){}function su(){}function hu(){}function fu(){}function lu(){}function bu(){}function du(){}function wu(){}function gu(){}function pu(){}function mu(){}function vu(){}function yu(){}function ku(){}function Eu(){}function Mu(){}function ju(){}function Tu(){}function Su(){}function Pu(){}function Cu(){}function Ou(){}function Iu(){}function Au(){}function Lu(){}function Nu(){}function Du(){}function xu(){}function $u(){}function Ru(){}function _u(){}function Ku(){}function Fu(){}function Bu(){}function Gu(){}function Hu(){}function Uu(){}function qu(){}function zu(){}function Wu(){}function Xu(){}function Vu(){}function Qu(){}function Ju(){}function Yu(){}function Zu(){}function ns(){}function ts(){}function es(){}function is(){}function rs(){}function cs(){}function as(){}function os(){}function us(){}function ss(){}function hs(){}function fs(){}function ls(){}function bs(){}function ds(){}function ws(){}function gs(){}function ps(){}function ms(){}function vs(){}function ys(){}function ks(){}function Es(){}function Ms(){}function js(){}function Ts(){}function Ss(){}function Ps(){}function Cs(){}function Os(){}function Is(){}function As(){}function Ls(){}function Ns(){}function Ds(){}function xs(){}function $s(){}function Rs(){}function _s(){}function Ks(){}function Fs(){}function Bs(){}function Gs(){}function Hs(){}function Us(){}function qs(){}function zs(){}function Ws(){}function Xs(){}function Vs(){}function Qs(){}function Js(){}function Ys(){}function Zs(){}function nh(){}function th(){}function eh(){}function ih(){}function rh(){}function ch(){}function ah(){}function oh(){}function uh(){}function sh(){}function hh(){}function fh(){}function lh(){}function bh(){}function dh(){}function wh(){}function gh(){}function ph(){}function mh(){}function vh(){}function yh(){}function kh(){}function Eh(){}function Mh(){}function jh(){}function Th(){}function Sh(){}function Ph(){}function Ch(){}function Oh(){}function Ih(){}function Ah(){}function Lh(){}function Nh(){}function Dh(){}function xh(){}function $h(){}function Rh(){}function _h(){}function Kh(){}function Fh(){}function Bh(){}function Gh(){}function Hh(){}function Uh(){}function qh(){}function zh(){}function Wh(){}function Xh(){}function Vh(){}function Qh(){}function Jh(){}function Yh(){}function Zh(){}function nf(){}function tf(){}function ef(){}function rf(){}function cf(){}function af(){}function of(){}function uf(){}function sf(){}function hf(){}function ff(){}function lf(){}function bf(){}function df(){}function wf(){}function gf(){}function pf(){}function mf(){}function vf(){}function yf(){}function kf(){}function Ef(){}function Mf(){}function jf(){}function Tf(){}function Sf(){}function Pf(){}function Cf(){}function Of(){}function If(){}function Af(){}function Lf(){}function Nf(){}function Df(){}function xf(){}function $f(){}function Rf(){dk()}function _f(){zS()}function Kf(){yTn()}function Ff(){wbn()}function Bf(){ekn()}function Gf(){cIn()}function Hf(){eUn()}function Uf(){vjn()}function qf(){Kjn()}function zf(){WS()}function Wf(){FB()}function Xf(){XS()}function Vf(){Tun()}function Qf(){R7()}function Jf(){Man()}function Yf(){Q0()}function Zf(){Tan()}function nl(){Bnn()}function tl(){X0()}function el(){Sln()}function il(){Pan()}function rl(){San()}function cl(){i6()}function al(){Can()}function ol(){EOn()}function ul(){QS()}function sl(){zYn()}function hl(){EYn()}function fl(){Oan()}function ll(){Pun()}function bl(){J0()}function dl(){Tjn()}function wl(){Z0()}function gl(){bHn()}function pl(){nxn()}function ml(){Zrn()}function vl(){$wn()}function yl(){XUn()}function kl(){n3()}function El(){Yrn()}function Ml(){MGn()}function jl(){EIn()}function Tl(){PGn()}function Sl(){jFn()}function Pl(){sOn()}function Cl(){aBn()}function Ol(){EEn()}function Il(){cB()}function Al(){jtn()}function Ll(){hOn()}function Nl(){UYn()}function Dl(){Pln()}function xl(){Wmn()}function $l(){Cun()}function Rl(){Zqn()}function _l(){pUn()}function Kl(n){ZQ(n)}function Fl(n){this.a=n}function Bl(n){this.a=n}function Gl(n){this.a=n}function Hl(n){this.a=n}function Ul(n){this.a=n}function ql(n){this.a=n}function zl(n){this.a=n}function Wl(n){this.a=n}function Xl(n){this.a=n}function Vl(n){this.a=n}function Ql(n){this.a=n}function Jl(n){this.a=n}function Yl(n){this.a=n}function Zl(n){this.a=n}function nb(n){this.a=n}function tb(n){this.a=n}function eb(n){this.a=n}function ib(n){this.a=n}function rb(n){this.a=n}function cb(n){this.a=n}function ab(n){this.a=n}function ob(n){this.a=n}function ub(n){this.b=n}function sb(n){this.c=n}function hb(n){this.a=n}function fb(n){this.a=n}function lb(n){this.a=n}function bb(n){this.a=n}function db(n){this.a=n}function wb(n){this.a=n}function gb(n){this.a=n}function pb(n){this.a=n}function mb(n){this.a=n}function vb(n){this.a=n}function yb(n){this.a=n}function kb(n){this.a=n}function Eb(n){this.a=n}function Mb(n){this.a=n}function jb(n){this.a=n}function Tb(n){this.a=n}function Sb(n){this.a=n}function Pb(){this.a=[]}function Cb(n,t){n.a=t}function Ob(n,t){n.a=t}function Ib(n,t){n.b=t}function Ab(n,t){n.b=t}function Lb(n,t){n.b=t}function Nb(n,t){n.j=t}function Db(n,t){n.g=t}function xb(n,t){n.i=t}function $b(n,t){n.c=t}function Rb(n,t){n.c=t}function _b(n,t){n.d=t}function Kb(n,t){n.d=t}function Fb(n,t){n.k=t}function Bb(n,t){n.c=t}function Gb(n,t){n.c=t}function Hb(n,t){n.a=t}function Ub(n,t){n.a=t}function qb(n,t){n.f=t}function zb(n,t){n.a=t}function Wb(n,t){n.b=t}function Xb(n,t){n.d=t}function Vb(n,t){n.i=t}function Qb(n,t){n.o=t}function Jb(n,t){n.r=t}function Yb(n,t){n.a=t}function Zb(n,t){n.b=t}function nd(n,t){n.e=t}function td(n,t){n.f=t}function ed(n,t){n.g=t}function id(n,t){n.e=t}function rd(n,t){n.f=t}function cd(n,t){n.f=t}function ad(n,t){n.a=t}function od(n,t){n.b=t}function ud(n,t){n.n=t}function sd(n,t){n.a=t}function hd(n,t){n.c=t}function fd(n,t){n.c=t}function ld(n,t){n.c=t}function bd(n,t){n.a=t}function dd(n,t){n.a=t}function wd(n,t){n.d=t}function gd(n,t){n.d=t}function pd(n,t){n.e=t}function md(n,t){n.e=t}function vd(n,t){n.g=t}function yd(n,t){n.f=t}function kd(n,t){n.j=t}function Ed(n,t){n.a=t}function Md(n,t){n.a=t}function jd(n,t){n.b=t}function Td(n){n.b=n.a}function Sd(n){n.c=n.d.d}function Pd(n){this.a=n}function Cd(n){this.a=n}function Od(n){this.a=n}function Id(n){this.a=n}function Ad(n){this.a=n}function Ld(n){this.a=n}function Nd(n){this.a=n}function Dd(n){this.a=n}function xd(n){this.a=n}function $d(n){this.a=n}function Rd(n){this.a=n}function _d(n){this.a=n}function Kd(n){this.a=n}function Fd(n){this.a=n}function Bd(n){this.b=n}function Gd(n){this.b=n}function Hd(n){this.b=n}function Ud(n){this.a=n}function qd(n){this.a=n}function zd(n){this.c=n}function Wd(n){this.c=n}function Xd(n){this.c=n}function Vd(n){this.d=n}function Qd(n){this.a=n}function Jd(n){this.a=n}function Yd(n){this.a=n}function Zd(n){this.a=n}function nw(n){this.a=n}function tw(n){this.a=n}function ew(n){this.a=n}function iw(n){this.a=n}function rw(n){this.a=n}function cw(n){this.a=n}function aw(n){this.a=n}function ow(n){this.a=n}function uw(n){this.a=n}function sw(n){this.a=n}function hw(n){this.a=n}function fw(n){this.a=n}function lw(n){this.a=n}function bw(n){this.a=n}function dw(n){this.a=n}function ww(n){this.a=n}function gw(n){this.a=n}function pw(n){this.a=n}function mw(n){this.a=n}function vw(n){this.a=n}function yw(n){this.a=n}function kw(n){this.a=n}function Ew(n){this.a=n}function Mw(n){this.a=n}function jw(n){this.a=n}function Tw(n){this.a=n}function Sw(n){this.a=n}function Pw(n){this.a=n}function Cw(n){this.a=n}function Ow(n){this.a=n}function Iw(n){this.a=n}function Aw(n){this.a=n}function Lw(n){this.a=n}function Nw(n){this.a=n}function Dw(n){this.a=n}function xw(n){this.a=n}function $w(n){this.a=n}function Rw(n){this.a=n}function _w(n){this.a=n}function Kw(n){this.a=n}function Fw(n){this.a=n}function Bw(n){this.a=n}function Gw(n){this.a=n}function Hw(n){this.a=n}function Uw(n){this.e=n}function qw(n){this.a=n}function zw(n){this.a=n}function Ww(n){this.a=n}function Xw(n){this.a=n}function Vw(n){this.a=n}function Qw(n){this.a=n}function Jw(n){this.a=n}function Yw(n){this.a=n}function Zw(n){this.a=n}function ng(n){this.a=n}function tg(n){this.a=n}function eg(n){this.a=n}function ig(n){this.a=n}function rg(n){this.a=n}function cg(n){this.a=n}function ag(n){this.a=n}function og(n){this.a=n}function ug(n){this.a=n}function sg(n){this.a=n}function hg(n){this.a=n}function fg(n){this.a=n}function lg(n){this.a=n}function bg(n){this.a=n}function dg(n){this.a=n}function wg(n){this.a=n}function gg(n){this.a=n}function pg(n){this.a=n}function mg(n){this.a=n}function vg(n){this.a=n}function yg(n){this.a=n}function kg(n){this.a=n}function Eg(n){this.a=n}function Mg(n){this.a=n}function jg(n){this.a=n}function Tg(n){this.a=n}function Sg(n){this.a=n}function Pg(n){this.a=n}function Cg(n){this.a=n}function Og(n){this.a=n}function Ig(n){this.a=n}function Ag(n){this.a=n}function Lg(n){this.a=n}function Ng(n){this.a=n}function Dg(n){this.a=n}function xg(n){this.a=n}function $g(n){this.a=n}function Rg(n){this.a=n}function _g(n){this.a=n}function Kg(n){this.a=n}function Fg(n){this.a=n}function Bg(n){this.a=n}function Gg(n){this.a=n}function Hg(n){this.a=n}function Ug(n){this.a=n}function qg(n){this.c=n}function zg(n){this.b=n}function Wg(n){this.a=n}function Xg(n){this.a=n}function Vg(n){this.a=n}function Qg(n){this.a=n}function Jg(n){this.a=n}function Yg(n){this.a=n}function Zg(n){this.a=n}function np(n){this.a=n}function tp(n){this.a=n}function ep(n){this.a=n}function ip(n){this.a=n}function rp(n){this.a=n}function cp(n){this.a=n}function ap(n){this.a=n}function op(n){this.a=n}function up(n){this.a=n}function sp(n){this.a=n}function hp(n){this.a=n}function fp(n){this.a=n}function lp(n){this.a=n}function bp(n){this.a=n}function dp(n){this.a=n}function wp(n){this.a=n}function gp(n){this.a=n}function pp(n){this.a=n}function mp(n){this.a=n}function vp(n){this.a=n}function yp(n){this.a=n}function kp(n){this.a=n}function Ep(n){this.a=n}function Mp(n){this.a=n}function jp(n){this.a=n}function Tp(n){this.a=n}function Sp(n){this.a=n}function Pp(n){this.a=n}function Cp(n){this.a=n}function Op(n){this.a=n}function Ip(n){this.a=n}function Ap(n){this.a=n}function Lp(n){this.a=n}function Np(n){this.a=n}function Dp(n){this.a=n}function xp(n){this.a=n}function $p(n){this.a=n}function Rp(n){this.a=n}function _p(n){this.a=n}function Kp(n){this.a=n}function Fp(n){this.a=n}function Bp(n){this.a=n}function Gp(n){this.a=n}function Hp(n){this.a=n}function Up(n){this.a=n}function qp(n){this.a=n}function zp(n){this.a=n}function Wp(n){this.a=n}function Xp(n){this.a=n}function Vp(n){this.f=n}function Qp(n){this.a=n}function Jp(n){this.a=n}function Yp(n){this.a=n}function Zp(n){this.a=n}function nm(n){this.a=n}function tm(n){this.a=n}function em(n){this.a=n}function im(n){this.a=n}function rm(n){this.a=n}function cm(n){this.a=n}function am(n){this.a=n}function om(n){this.a=n}function um(n){this.a=n}function sm(n){this.a=n}function hm(n){this.a=n}function fm(n){this.a=n}function lm(n){this.a=n}function bm(n){this.a=n}function dm(n){this.a=n}function wm(n){this.a=n}function gm(n){this.a=n}function pm(n){this.a=n}function mm(n){this.a=n}function vm(n){this.a=n}function ym(n){this.a=n}function km(n){this.a=n}function Em(n){this.a=n}function Mm(n){this.a=n}function jm(n){this.a=n}function Tm(n){this.a=n}function Sm(n){this.b=n}function Pm(n){this.a=n}function Cm(n){this.a=n}function Om(n){this.a=n}function Im(n){this.a=n}function Am(n){this.a=n}function Lm(n){this.a=n}function Nm(n){this.a=n}function Dm(n){this.b=n}function xm(n){this.a=n}function $m(n){this.a=n}function Rm(n){this.a=n}function _m(n){this.a=n}function Km(n){this.c=n}function Fm(n){this.e=n}function Bm(n){this.a=n}function Gm(n){this.a=n}function Hm(n){this.a=n}function Um(n){this.d=n}function qm(n){this.a=n}function zm(n){this.a=n}function Wm(n){this.a=n}function Xm(n){this.e=n}function Vm(){this.a=0}function Qm(){LX(this)}function Jm(){PN(this)}function Ym(){UQ(this)}function Zm(){}function nv(){this.c=JFt}function tv(n,t){n.b+=t}function ev(n,t){t.Wb(n)}function iv(n){return n.a}function rv(n){return n.a}function cv(n){return n.a}function av(n){return n.a}function ov(n){return n.a}function uv(n){return n.e}function sv(){return null}function hv(){return null}function fv(){gj(),DJn()}function lv(n){n.b.Of(n.e)}function bv(n){n.b=new eM}function dv(n,t){n.b=t-n.b}function wv(n,t){n.a=t-n.a}function gv(n,t){n.push(t)}function pv(n,t){n.sort(t)}function mv(n,t){t.jd(n.a)}function vv(n,t){ALn(t,n)}function yv(n,t,e){n.Yd(e,t)}function kv(n,t){n.e=t,t.b=n}function Ev(n){oB(),this.a=n}function Mv(n){oB(),this.a=n}function jv(n){oB(),this.a=n}function Tv(n){JV(),this.a=n}function Sv(n){MZ(),_at.le(n)}function Pv(){Pv=T,new Qm}function Cv(){p$.call(this)}function Ov(){p$.call(this)}function Iv(){Cv.call(this)}function Av(){Cv.call(this)}function Lv(){Cv.call(this)}function Nv(){Cv.call(this)}function Dv(){Cv.call(this)}function xv(){Cv.call(this)}function $v(){Cv.call(this)}function Rv(){Cv.call(this)}function _v(){Cv.call(this)}function Kv(){Cv.call(this)}function Fv(){Cv.call(this)}function Bv(){this.a=this}function Gv(){this.Bb|=256}function Hv(){this.b=new uL}function Uv(n,t){n.length=t}function qv(n,t){mx(n.a,t)}function zv(n,t){IIn(n.c,t)}function Wv(n,t){RX(n.b,t)}function Xv(n,t){fEn(n.a,t)}function Vv(n,t){zwn(n.a,t)}function Qv(n,t){ysn(n.e,t)}function Jv(n){SDn(n.c,n.b)}function Yv(n,t){n.kc().Nb(t)}function Zv(n){this.a=Ogn(n)}function ny(){this.a=new Qm}function ty(){this.a=new Qm}function ey(){this.a=new uS}function iy(){this.a=new Jm}function ry(){this.a=new Jm}function cy(){this.a=new Jm}function ay(){this.a=new yn}function oy(){this.a=new d7}function uy(){this.a=new lt}function sy(){this.a=new z0}function hy(){this.a=new AK}function fy(){this.a=new Jm}function ly(){this.a=new Jm}function by(){this.a=new Jm}function dy(){this.a=new Jm}function wy(){this.d=new Jm}function gy(){this.a=new t4}function py(){this.a=new ny}function my(){this.a=new Qm}function vy(){this.b=new Qm}function yy(){this.b=new Jm}function ky(){this.e=new Jm}function Ey(){this.a=new ol}function My(){this.d=new Jm}function jy(){KZ.call(this)}function Ty(){KZ.call(this)}function Sy(){Jm.call(this)}function Py(){Iv.call(this)}function Cy(){iy.call(this)}function Oy(){FK.call(this)}function Iy(){dy.call(this)}function Ay(){Zm.call(this)}function Ly(){Ay.call(this)}function Ny(){Zm.call(this)}function Dy(){Ny.call(this)}function xy(){ck.call(this)}function $y(){ck.call(this)}function Ry(){ck.call(this)}function _y(){uk.call(this)}function Ky(){ts.call(this)}function Fy(){ts.call(this)}function By(){hS.call(this)}function Gy(){lk.call(this)}function Hy(){lk.call(this)}function Uy(){Qm.call(this)}function qy(){Qm.call(this)}function zy(){Qm.call(this)}function Wy(){$an.call(this)}function Xy(){ny.call(this)}function Vy(){Gv.call(this)}function Qy(){Lx.call(this)}function Jy(){Qm.call(this)}function Yy(){Lx.call(this)}function Zy(){Qm.call(this)}function nk(){Qm.call(this)}function tk(){ps.call(this)}function ek(){tk.call(this)}function ik(){ps.call(this)}function rk(){Df.call(this)}function ck(){this.a=new ny}function ak(){this.a=new Qm}function ok(){this.a=new Jm}function uk(){this.a=new Qm}function sk(){this.a=new hS}function hk(){this.j=new Jm}function fk(){this.a=new qj}function lk(){this.a=new gs}function bk(){this.a=new xo}function dk(){dk=T,lat=new c}function wk(){wk=T,yat=new mk}function gk(){gk=T,kat=new pk}function pk(){tb.call(this,"")}function mk(){tb.call(this,"")}function vk(n){Orn.call(this,n)}function yk(n){Orn.call(this,n)}function kk(n){Xl.call(this,n)}function Ek(n){FT.call(this,n)}function Mk(n){FT.call(this,n)}function jk(n){Ek.call(this,n)}function Tk(n){Ek.call(this,n)}function Sk(n){Ek.call(this,n)}function Pk(n){i8.call(this,n)}function Ck(n){i8.call(this,n)}function Ok(n){$F.call(this,n)}function Ik(n){UT.call(this,n)}function Ak(n){WT.call(this,n)}function Lk(n){WT.call(this,n)}function Nk(n){WT.call(this,n)}function Dk(n){iIn.call(this,n)}function xk(n){Dk.call(this,n)}function $k(n){BW.call(this,n)}function Rk(n){$k.call(this,n)}function _k(){Sb.call(this,{})}function Kk(){Kk=T,zat=new M}function Fk(){Fk=T,Pat=new UD}function Bk(){Bk=T,Nat=new r}function Gk(){Gk=T,Rat=new p}function Hk(){Hk=T,Fat=new y}function Uk(n){Bx(),this.a=n}function qk(n){Sun(),this.a=n}function zk(n){eW(),this.f=n}function Wk(n){eW(),this.f=n}function Xk(n){rB(),this.a=n}function Vk(n){n.b=null,n.c=0}function Qk(n,t){n.e=t,vKn(n,t)}function Jk(n,t){n.a=t,WAn(n)}function Yk(n,t,e){n.a[t.g]=e}function Zk(n,t,e){YTn(e,n,t)}function nE(n,t){RF(t.i,n.n)}function tE(n,t){vln(n).Cd(t)}function eE(n,t){n.a.ec().Mc(t)}function iE(n,t){return n.g-t.g}function rE(n,t){return n*n/t}function cE(n){return ZQ(n),n}function aE(n){return ZQ(n),n}function oE(n){return ZQ(n),n}function uE(n){return new Tb(n)}function sE(n){return new XV(n)}function hE(n){return ZQ(n),n}function fE(n){return ZQ(n),n}function lE(n){$k.call(this,n)}function bE(n){$k.call(this,n)}function dE(n){$k.call(this,n)}function wE(n){BW.call(this,n)}function gE(n){$k.call(this,n)}function pE(n){$k.call(this,n)}function mE(n){$k.call(this,n)}function vE(n){$k.call(this,n)}function yE(n){$k.call(this,n)}function kE(n){$k.call(this,n)}function EE(n){$k.call(this,n)}function ME(n){$k.call(this,n)}function jE(n){$k.call(this,n)}function TE(n){$k.call(this,n)}function SE(n){$k.call(this,n)}function PE(n){ZQ(n),this.a=n}function CE(n){return uln(n),n}function OE(n){qX(n,n.length)}function IE(n){return n.b==n.c}function AE(n){return!!n&&n.b}function LE(n){return!!n&&n.k}function NE(n){return!!n&&n.j}function DE(n,t,e){n.c.Ef(t,e)}function xE(n,t){n.be(t),t.ae(n)}function $E(n){oB(),this.a=WV(n)}function RE(){this.a=g_(WV(kZn))}function _E(){throw uv(new $v)}function KE(){throw uv(new $v)}function FE(){throw uv(new $v)}function BE(){throw uv(new $v)}function GE(){throw uv(new $v)}function HE(){throw uv(new $v)}function UE(){UE=T,MZ()}function qE(){Ld.call(this,"")}function zE(){Ld.call(this,"")}function WE(){Ld.call(this,"")}function XE(){Ld.call(this,"")}function VE(n){bE.call(this,n)}function QE(n){bE.call(this,n)}function JE(n){pE.call(this,n)}function YE(n){Hd.call(this,n)}function ZE(n){YE.call(this,n)}function nM(n){d$.call(this,n)}function tM(n){X$.call(this,n,0)}function eM(){I2.call(this,12,3)}function iM(n,t){return K0(n,t)}function rM(n,t){return Itn(n,t)}function cM(n,t){return n.a-t.a}function aM(n,t){return n.a-t.a}function oM(n,t){return n.a-t.a}function uM(n,t){return t in n.a}function sM(n){return n.a?n.b:0}function hM(n){return n.a?n.b:0}function fM(n,t,e){t.Cd(n.a[e])}function lM(n,t,e){t.Pe(n.a[e])}function bM(n,t){n.b=new nN(t)}function dM(n,t){return n.b=t,n}function wM(n,t){return n.c=t,n}function gM(n,t){return n.f=t,n}function pM(n,t){return n.g=t,n}function mM(n,t){return n.a=t,n}function vM(n,t){return n.f=t,n}function yM(n,t){return n.k=t,n}function kM(n,t){return n.a=t,n}function EM(n,t){return n.e=t,n}function MM(n,t){return n.e=t,n}function jM(n,t){return n.f=t,n}function TM(n,t){n.b=!0,n.d=t}function SM(n,t){return n.b-t.b}function PM(n,t){return n.g-t.g}function CM(n,t){return n?0:t-1}function OM(n,t){return n?0:t-1}function IM(n,t){return n?t-1:0}function AM(n,t){return n.s-t.s}function LM(n,t){return t.rg(n)}function NM(n,t){return n.b=t,n}function DM(n,t){return n.a=t,n}function xM(n,t){return n.c=t,n}function $M(n,t){return n.d=t,n}function RM(n,t){return n.e=t,n}function _M(n,t){return n.f=t,n}function KM(n,t){return n.a=t,n}function FM(n,t){return n.b=t,n}function BM(n,t){return n.c=t,n}function GM(n,t){return n.c=t,n}function HM(n,t){return n.b=t,n}function UM(n,t){return n.d=t,n}function qM(n,t){return n.e=t,n}function zM(n,t){return n.f=t,n}function WM(n,t){return n.g=t,n}function XM(n,t){return n.a=t,n}function VM(n,t){return n.i=t,n}function QM(n,t){return n.j=t,n}function JM(n,t){EOn(),c2(t,n)}function YM(n,t,e){rW(n.a,t,e)}function ZM(n){QF.call(this,n)}function nj(n){bpn.call(this,n)}function tj(n){kY.call(this,n)}function ej(n){kY.call(this,n)}function ij(n){Nrn.call(this,n)}function rj(n){FY.call(this,n)}function cj(n){FY.call(this,n)}function aj(){jD.call(this,"")}function oj(){this.a=0,this.b=0}function uj(){this.b=0,this.a=0}function sj(n,t){n.b=0,Scn(n,t)}function hj(n,t){return n.k=t,n}function fj(n,t){return n.j=t,n}function lj(n,t){n.c=t,n.b=!0}function bj(){bj=T,eut=nPn()}function dj(){dj=T,D_t=OTn()}function wj(){wj=T,x_t=zPn()}function gj(){gj=T,IKt=ran()}function pj(){pj=T,mFt=ITn()}function mj(){mj=T,NBt=ATn()}function vj(){vj=T,DBt=HAn()}function yj(n){return n.e&&n.e()}function kj(n){return n.l|n.m<<22}function Ej(n,t){return n.c._b(t)}function Mj(n,t){return Bdn(n.b,t)}function jj(n){return n?n.d:null}function Tj(n){return n?n.g:null}function Sj(n){return n?n.i:null}function Pj(n){return p_(n),n.o}function Cj(n,t){return n.a+=t,n}function Oj(n,t){return n.a+=t,n}function Ij(n,t){return n.a+=t,n}function Aj(n,t){return n.a+=t,n}function Lj(n,t){for(;n.Bd(t););}function Nj(n){this.a=new oS(n)}function Dj(){throw uv(new $v)}function xj(){throw uv(new $v)}function $j(){throw uv(new $v)}function Rj(){throw uv(new $v)}function _j(){throw uv(new $v)}function Kj(){throw uv(new $v)}function Fj(n){this.a=new FW(n)}function Bj(){this.a=new g_n(tOt)}function Gj(){this.b=new g_n(JSt)}function Hj(){this.a=new g_n(bIt)}function Uj(){this.b=new g_n(zAt)}function qj(){this.b=new g_n(zAt)}function zj(n){this.a=0,this.b=n}function Wj(n){SQn(),aYn(this,n)}function Xj(n){return GQ(n),n.a}function Vj(n){return n.b!=n.d.c}function Qj(n,t){return n.d[t.p]}function Jj(n,t){return pKn(n,t)}function Yj(n,t,e){n.splice(t,e)}function Zj(n,t){for(;n.Re(t););}function nT(n){n.c?TFn(n):SFn(n)}function tT(){throw uv(new $v)}function eT(){throw uv(new $v)}function iT(){throw uv(new $v)}function rT(){throw uv(new $v)}function cT(){throw uv(new $v)}function aT(){throw uv(new $v)}function oT(){throw uv(new $v)}function uT(){throw uv(new $v)}function sT(){throw uv(new $v)}function hT(){throw uv(new $v)}function fT(){throw uv(new Kv)}function lT(){throw uv(new Kv)}function bT(n){this.a=new dT(n)}function dT(n){Jan(this,n,sIn())}function wT(n){return!n||RQ(n)}function gT(n){return-1!=lGt[n]}function pT(){0!=Bat&&(Bat=0),Hat=-1}function mT(){null==uZn&&(uZn=[])}function vT(n,t){xx.call(this,n,t)}function yT(n,t){vT.call(this,n,t)}function kT(n,t){this.a=n,this.b=t}function ET(n,t){this.a=n,this.b=t}function MT(n,t){this.a=n,this.b=t}function jT(n,t){this.a=n,this.b=t}function TT(n,t){this.a=n,this.b=t}function ST(n,t){this.a=n,this.b=t}function PT(n,t){this.a=n,this.b=t}function CT(n,t){this.e=n,this.d=t}function OT(n,t){this.b=n,this.c=t}function IT(n,t){this.b=n,this.a=t}function AT(n,t){this.b=n,this.a=t}function LT(n,t){this.b=n,this.a=t}function NT(n,t){this.b=n,this.a=t}function DT(n,t){this.a=n,this.b=t}function xT(n,t){this.a=n,this.b=t}function $T(n,t){this.a=n,this.f=t}function RT(n,t){this.g=n,this.i=t}function _T(n,t){this.f=n,this.g=t}function KT(n,t){this.b=n,this.c=t}function FT(n){Rx(n.dc()),this.c=n}function BT(n,t){this.a=n,this.b=t}function GT(n,t){this.a=n,this.b=t}function HT(n){this.a=aU(WV(n),15)}function UT(n){this.a=aU(WV(n),15)}function qT(n){this.a=aU(WV(n),85)}function zT(n){this.b=aU(WV(n),85)}function WT(n){this.b=aU(WV(n),51)}function XT(){this.q=new t.Date}function VT(n,t){this.a=n,this.b=t}function QT(n,t){return TX(n.b,t)}function JT(n,t){return n.b.Hc(t)}function YT(n,t){return n.b.Ic(t)}function ZT(n,t){return n.b.Qc(t)}function nS(n,t){return n.b.Hc(t)}function tS(n,t){return n.c.uc(t)}function eS(n,t){return awn(n.c,t)}function iS(n,t){return n.a._b(t)}function rS(n,t){return n>t&&t0}function LP(n,t){return bdn(n,t)<0}function NP(n,t){return xz(n.a,t)}function DP(n,t){B0.call(this,n,t)}function xP(n){YV(),$F.call(this,n)}function $P(n,t){qz(n,n.length,t)}function RP(n,t){bV(n,n.length,t)}function _P(n,t){return n.a.get(t)}function KP(n,t){return TX(n.e,t)}function FP(n){return ZQ(n),!1}function BP(n){this.a=aU(WV(n),229)}function GP(n){u3.call(this,n,21)}function HP(n,t){_T.call(this,n,t)}function UP(n,t){_T.call(this,n,t)}function qP(n,t){this.b=n,this.a=t}function zP(n,t){this.d=n,this.e=t}function WP(n,t){this.a=n,this.b=t}function XP(n,t){this.a=n,this.b=t}function VP(n,t){this.a=n,this.b=t}function QP(n,t){this.a=n,this.b=t}function JP(n,t){this.a=n,this.b=t}function YP(n,t){this.b=n,this.a=t}function ZP(n,t){this.b=n,this.a=t}function nC(n,t){_T.call(this,n,t)}function tC(n,t){_T.call(this,n,t)}function eC(n,t){_T.call(this,n,t)}function iC(n,t){_T.call(this,n,t)}function rC(n,t){_T.call(this,n,t)}function cC(n,t){_T.call(this,n,t)}function aC(n,t){_T.call(this,n,t)}function oC(n,t){this.b=n,this.a=t}function uC(n,t){_T.call(this,n,t)}function sC(n,t){this.b=n,this.a=t}function hC(n,t){_T.call(this,n,t)}function fC(n,t){this.b=n,this.a=t}function lC(n,t){_T.call(this,n,t)}function bC(n,t){_T.call(this,n,t)}function dC(n,t){_T.call(this,n,t)}function wC(n,t,e){n.splice(t,0,e)}function gC(n,t,e){n.Mb(e)&&t.Cd(e)}function pC(n,t,e){t.Pe(n.a.Ye(e))}function mC(n,t,e){t.Dd(n.a.Ze(e))}function vC(n,t,e){t.Cd(n.a.Kb(e))}function yC(n,t){return L$(n.c,t)}function kC(n,t){return L$(n.e,t)}function EC(n,t){_T.call(this,n,t)}function MC(n,t){_T.call(this,n,t)}function jC(n,t){_T.call(this,n,t)}function TC(n,t){_T.call(this,n,t)}function SC(n,t){_T.call(this,n,t)}function PC(n,t){_T.call(this,n,t)}function CC(n,t){this.a=n,this.b=t}function OC(n,t){this.a=n,this.b=t}function IC(n,t){this.a=n,this.b=t}function AC(n,t){this.a=n,this.b=t}function LC(n,t){this.a=n,this.b=t}function NC(n,t){this.a=n,this.b=t}function DC(n,t){this.b=n,this.a=t}function xC(n,t){this.b=n,this.a=t}function $C(n,t){this.b=n,this.a=t}function RC(n,t){this.c=n,this.d=t}function _C(n,t){this.e=n,this.d=t}function KC(n,t){this.a=n,this.b=t}function FC(n,t){this.a=n,this.b=t}function BC(n,t){this.a=n,this.b=t}function GC(n,t){this.b=n,this.a=t}function HC(n,t){this.b=t,this.c=n}function UC(n,t){_T.call(this,n,t)}function qC(n,t){_T.call(this,n,t)}function zC(n,t){_T.call(this,n,t)}function WC(n,t){_T.call(this,n,t)}function XC(n,t){_T.call(this,n,t)}function VC(n,t){_T.call(this,n,t)}function QC(n,t){_T.call(this,n,t)}function JC(n,t){_T.call(this,n,t)}function YC(n,t){_T.call(this,n,t)}function ZC(n,t){_T.call(this,n,t)}function nO(n,t){_T.call(this,n,t)}function tO(n,t){_T.call(this,n,t)}function eO(n,t){_T.call(this,n,t)}function iO(n,t){_T.call(this,n,t)}function rO(n,t){_T.call(this,n,t)}function cO(n,t){_T.call(this,n,t)}function aO(n,t){_T.call(this,n,t)}function oO(n,t){_T.call(this,n,t)}function uO(n,t){_T.call(this,n,t)}function sO(n,t){_T.call(this,n,t)}function hO(n,t){_T.call(this,n,t)}function fO(n,t){_T.call(this,n,t)}function lO(n,t){_T.call(this,n,t)}function bO(n,t){_T.call(this,n,t)}function dO(n,t){_T.call(this,n,t)}function wO(n,t){_T.call(this,n,t)}function gO(n,t){_T.call(this,n,t)}function pO(n,t){_T.call(this,n,t)}function mO(n,t){_T.call(this,n,t)}function vO(n,t){_T.call(this,n,t)}function yO(n,t){_T.call(this,n,t)}function kO(n,t){_T.call(this,n,t)}function EO(n,t){_T.call(this,n,t)}function MO(n,t){this.b=n,this.a=t}function jO(n,t){_T.call(this,n,t)}function TO(n,t){this.a=n,this.b=t}function SO(n,t){this.a=n,this.b=t}function PO(n,t){this.a=n,this.b=t}function CO(n,t){_T.call(this,n,t)}function OO(n,t){_T.call(this,n,t)}function IO(n,t){this.a=n,this.b=t}function AO(n,t){return TH(),t!=n}function LO(n){return y_(n.a),n.b}function NO(n){return $Dn(n,n.c),n}function DO(){return bj(),new eut}function xO(){BB(),this.a=new DK}function $O(){cKn(),this.a=new ny}function RO(){n2(),this.b=new ny}function _O(n,t){this.b=n,this.d=t}function KO(n,t){this.a=n,this.b=t}function FO(n,t){this.a=n,this.b=t}function BO(n,t){this.a=n,this.b=t}function GO(n,t){this.b=n,this.a=t}function HO(n,t){_T.call(this,n,t)}function UO(n,t){_T.call(this,n,t)}function qO(n,t){_T.call(this,n,t)}function zO(n,t){_T.call(this,n,t)}function WO(n,t){_T.call(this,n,t)}function XO(n,t){_T.call(this,n,t)}function VO(n,t){_T.call(this,n,t)}function QO(n,t){_T.call(this,n,t)}function JO(n,t){_T.call(this,n,t)}function YO(n,t){_T.call(this,n,t)}function ZO(n,t){_T.call(this,n,t)}function nI(n,t){_T.call(this,n,t)}function tI(n,t){_T.call(this,n,t)}function eI(n,t){_T.call(this,n,t)}function iI(n,t){_T.call(this,n,t)}function rI(n,t){_T.call(this,n,t)}function cI(n,t){_T.call(this,n,t)}function aI(n,t){_T.call(this,n,t)}function oI(n,t){_T.call(this,n,t)}function uI(n,t){_T.call(this,n,t)}function sI(n,t){_T.call(this,n,t)}function hI(n,t){_T.call(this,n,t)}function fI(n,t){_T.call(this,n,t)}function lI(n,t){_T.call(this,n,t)}function bI(n,t){this.b=n,this.a=t}function dI(n,t){this.b=n,this.a=t}function wI(n,t){this.b=n,this.a=t}function gI(n,t){this.b=n,this.a=t}function pI(n,t){this.a=n,this.b=t}function mI(n,t){this.a=n,this.b=t}function vI(n,t){this.a=n,this.b=t}function yI(n,t){this.a=n,this.b=t}function kI(n,t){_T.call(this,n,t)}function EI(n,t){_T.call(this,n,t)}function MI(n,t){_T.call(this,n,t)}function jI(n,t){_T.call(this,n,t)}function TI(n,t){_T.call(this,n,t)}function SI(n,t){_T.call(this,n,t)}function PI(n,t){_T.call(this,n,t)}function CI(n,t){_T.call(this,n,t)}function OI(n,t){_T.call(this,n,t)}function II(n,t){_T.call(this,n,t)}function AI(n,t){_T.call(this,n,t)}function LI(n,t){_T.call(this,n,t)}function NI(n,t){_T.call(this,n,t)}function DI(n,t){_T.call(this,n,t)}function xI(n,t){_T.call(this,n,t)}function $I(n,t){_T.call(this,n,t)}function RI(n,t){_T.call(this,n,t)}function _I(n,t){_T.call(this,n,t)}function KI(n,t){_T.call(this,n,t)}function FI(n,t){_T.call(this,n,t)}function BI(n,t){this.a=n,this.b=t}function GI(n,t){this.a=n,this.b=t}function HI(n,t){this.a=n,this.b=t}function UI(n,t){this.a=n,this.b=t}function qI(n,t){this.a=n,this.b=t}function zI(n,t){this.a=n,this.b=t}function WI(n,t){this.a=n,this.b=t}function XI(n,t){this.a=n,this.b=t}function VI(n,t){this.a=n,this.b=t}function QI(n,t){this.a=n,this.b=t}function JI(n,t){this.a=n,this.b=t}function YI(n,t){this.a=n,this.b=t}function ZI(n,t){this.a=n,this.b=t}function nA(n,t){this.b=n,this.a=t}function tA(n,t){this.b=n,this.a=t}function eA(n,t){this.b=n,this.a=t}function iA(n,t){this.b=n,this.a=t}function rA(n,t){this.a=n,this.b=t}function cA(n,t){this.a=n,this.b=t}function aA(n,t){_T.call(this,n,t)}function oA(n,t){this.a=n,this.b=t}function uA(n,t){this.a=n,this.b=t}function sA(n,t){_T.call(this,n,t)}function hA(n,t){this.f=n,this.c=t}function fA(n,t){return L$(n.g,t)}function lA(n,t){return L$(t.b,n)}function bA(n,t){return vmn(n.a,t)}function dA(n,t){return-n.b.af(t)}function wA(n,t){n&&pJ(SKt,n,t)}function gA(n,t){n.i=null,hon(n,t)}function pA(n,t,e){ySn(t,EAn(n,e))}function mA(n,t,e){ySn(t,EAn(n,e))}function vA(n,t){KRn(n.a,aU(t,58))}function yA(n,t){ren(n.a,aU(t,12))}function kA(n,t){this.a=n,this.b=t}function EA(n,t){this.a=n,this.b=t}function MA(n,t){this.a=n,this.b=t}function jA(n,t){this.a=n,this.b=t}function TA(n,t){this.a=n,this.b=t}function SA(n,t){this.d=n,this.b=t}function PA(n,t){this.e=n,this.a=t}function CA(n,t){this.b=n,this.c=t}function OA(n,t){this.i=n,this.g=t}function IA(n,t){this.d=n,this.e=t}function AA(n,t){Pin(new Nx(n),t)}function LA(n){return mmn(n.c,n.b)}function NA(n){return n?n.md():null}function DA(n){return null==n?null:n}function xA(n){return typeof n===wZn}function $A(n){return typeof n===bZn}function RA(n){return typeof n===dZn}function _A(n,t){return 0==bdn(n,t)}function KA(n,t){return bdn(n,t)>=0}function FA(n,t){return 0!=bdn(n,t)}function BA(n,t){return Jun(n.Kc(),t)}function GA(n,t){return n.Rd().Xb(t)}function HA(n){return fpn(n),n.d.gc()}function UA(n){return Rq(null==n),n}function qA(n,t){return n.a+=""+t,n}function zA(n,t){return n.a+=""+t,n}function WA(n,t){return n.a+=""+t,n}function XA(n,t){return n.a+=""+t,n}function VA(n,t){return n.a+=""+t,n}function QA(n,t){return n.a+=""+t,n}function JA(n){return""+(ZQ(n),n)}function YA(n){LX(this),Dun(this,n)}function ZA(){V0(),nW.call(this)}function nL(n,t){KW.call(this,n,t)}function tL(n,t){KW.call(this,n,t)}function eL(n,t){KW.call(this,n,t)}function iL(n,t){o8(n,t,n.c.b,n.c)}function rL(n,t){o8(n,t,n.a,n.a.a)}function cL(n){return a3(n,0),null}function aL(){this.b=0,this.a=!1}function oL(){this.b=0,this.a=!1}function uL(){this.b=new oS(crn(12))}function sL(){sL=T,sht=Obn(Ayn())}function hL(){hL=T,_dt=Obn(f_n())}function fL(){fL=T,fPt=Obn(asn())}function lL(){lL=T,Pv(),Kat=new Qm}function bL(n){return n.a=0,n.b=0,n}function dL(n,t){return n.a=t.g+1,n}function wL(n,t){lF.call(this,n,t)}function gL(n,t){aK.call(this,n,t)}function pL(n,t){OA.call(this,n,t)}function mL(n,t){q$.call(this,n,t)}function vL(n,t){Jsn.call(this,n,t)}function yL(n,t){kP(),pJ(RKt,n,t)}function kL(n,t){n.q.setTime(W4(t))}function EL(n){t.clearTimeout(n)}function ML(n){return WV(n),new tN(n)}function jL(n,t){return DA(n)===DA(t)}function TL(n,t){return n.a.a.a.cc(t)}function SL(n,t){return e1(n.a,0,t)}function PL(n){return EV(aU(n,74))}function CL(n){return Z1((ZQ(n),n))}function OL(n){return Z1((ZQ(n),n))}function IL(n){return wD(n.l,n.m,n.h)}function AL(n,t){return bD(n.a,t.a)}function LL(n,t){return eV(n.a,t.a)}function NL(n,t){return agn(n.a,t.a)}function DL(n,t){return n.indexOf(t)}function xL(n,t){return 2==n.j[t.p]}function $L(n,t){return n==t?0:n?1:-1}function RL(n){return n<10?"0"+n:""+n}function _L(n){return typeof n===dZn}function KL(n){return n==Rlt||n==Flt}function FL(n){return n==Rlt||n==_lt}function BL(n,t){return bD(n.g,t.g)}function GL(n){return ken(n.b.b,n,0)}function HL(){hz.call(this,0,0,0,0)}function UL(){Zd.call(this,new a8)}function qL(n,t){Atn(n,0,n.length,t)}function zL(n,t){return mx(n.a,t),t}function WL(n,t){return GB(),t.a+=n}function XL(n,t){return GB(),t.a+=n}function VL(n,t){return GB(),t.c+=n}function QL(n,t){return mx(n.c,t),n}function JL(n,t){return dsn(n.a,t),n}function YL(n){this.a=DO(),this.b=n}function ZL(n){this.a=DO(),this.b=n}function nN(n){this.a=n.a,this.b=n.b}function tN(n){this.a=n,Rf.call(this)}function eN(n){this.a=n,Rf.call(this)}function iN(){dY.call(this,0,0,0,0)}function rN(n){return dsn(new lJ,n)}function cN(n){return DJ(aU(n,123))}function aN(n){return n.vh()&&n.wh()}function oN(n){return n!=aRt&&n!=oRt}function uN(n){return n==Vxt||n==Qxt}function sN(n){return n==Yxt||n==Xxt}function hN(n){return n==ljt||n==fjt}function fN(n,t){return bD(n.g,t.g)}function lN(n,t){return new Jsn(t,n)}function bN(n,t){return new Jsn(t,n)}function dN(n){return YH(n.b.Kc(),n.a)}function wN(n,t){obn(n,t),Ccn(n,n.D)}function gN(n,t,e){jcn(n,t),wcn(n,e)}function pN(n,t,e){mcn(n,t),pcn(n,e)}function mN(n,t,e){vcn(n,t),ycn(n,e)}function vN(n,t,e){gcn(n,t),Ecn(n,e)}function yN(n,t,e){kcn(n,t),Mcn(n,e)}function kN(n,t,e){O_.call(this,n,t,e)}function EN(n){hA.call(this,n,!0)}function MN(){HP.call(this,"Tail",3)}function jN(){HP.call(this,"Head",1)}function TN(n){iGn(),Kun.call(this,n)}function SN(n){hz.call(this,n,n,n,n)}function PN(n){n.c=Pnn(bat,MZn,1,0,5,1)}function CN(n){return n.b&&ozn(n),n.a}function ON(n){return n.b&&ozn(n),n.c}function IN(n,t){Aut||(n.b=t)}function AN(n,t){return n[n.length]=t}function LN(n,t){return n[n.length]=t}function NN(n,t){return Mrn(t,u0(n))}function DN(n,t){return Mrn(t,u0(n))}function xN(n,t){return man(BV(n.d),t)}function $N(n,t){return man(BV(n.g),t)}function RN(n,t){return man(BV(n.j),t)}function _N(n,t){aK.call(this,n.b,t)}function KN(n,t){Znn(q5(n.a),p2(t))}function FN(n,t){Znn(Oen(n.a),m2(t))}function BN(n,t,e){mN(e,e.i+n,e.j+t)}function GN(n,t,e){aQ(n.c[t.g],t.g,e)}function HN(n,t,e){aU(n.c,71).Gi(t,e)}function UN(n,t,e){return aQ(n,t,e),e}function qN(n){Trn(n.Sf(),new Cw(n))}function zN(n){return null!=n?Fon(n):0}function WN(n){return null==n?0:Fon(n)}function XN(n){XYn(),Xm.call(this,n)}function VN(n){this.a=n,WH.call(this,n)}function QN(){QN=T,t.Math.log(2)}function JN(){JN=T,mP(),tBt=W_t}function YN(){YN=T,pSt=new epn(m$t)}function ZN(){ZN=T,new nD,new Jm}function nD(){new Qm,new Qm,new Qm}function tD(){throw uv(new kE(uat))}function eD(){throw uv(new kE(uat))}function iD(){throw uv(new kE(sat))}function rD(){throw uv(new kE(sat))}function cD(n){this.a=n,zT.call(this,n)}function aD(n){this.a=n,zT.call(this,n)}function oD(n,t){JV(),this.a=n,this.b=t}function uD(n,t){WV(t),aY(n).Jc(new b)}function sD(n,t){Bz(n.c,n.c.length,t)}function hD(n){return n.at?1:0}function dD(n,t){return bdn(n,t)>0?n:t}function wD(n,t,e){return{l:n,m:t,h:e}}function gD(n,t){null!=n.a&&yA(t,n.a)}function pD(n){i2(n,null),a2(n,null)}function mD(n,t,e){return pJ(n.g,e,t)}function vD(n,t,e){return rvn(t,e,n.c)}function yD(n,t,e){return pJ(n.k,e,t)}function kD(n,t,e){return dVn(n,t,e),e}function ED(n,t){return Y0(),t.n.b+=n}function MD(n){FZ.call(this),this.b=n}function jD(n){IK.call(this),this.a=n}function TD(){HP.call(this,"Range",2)}function SD(n){this.b=n,this.a=new Jm}function PD(n){this.b=new tt,this.a=n}function CD(n){n.a=new R,n.c=new R}function OD(n){n.a=new Qm,n.d=new Qm}function ID(n){o2(n,null),u2(n,null)}function AD(n,t){return mVn(n.a,t,null)}function LD(n,t){return pJ(n.a,t.a,t)}function ND(n){return new yI(n.a,n.b)}function DD(n){return new yI(n.c,n.d)}function xD(n){return new yI(n.c,n.d)}function $D(n,t){return eXn(n.c,n.b,t)}function RD(n,t){return null!=n&&Mkn(n,t)}function _D(n,t){return-1!=Qhn(n.Kc(),t)}function KD(n){return n.Ob()?n.Pb():null}function FD(n){this.b=(uZ(),new zd(n))}function BD(n){this.a=n,Qm.call(this)}function GD(){q$.call(this,null,null)}function HD(){z$.call(this,null,null)}function UD(){_T.call(this,"INSTANCE",0)}function qD(){RTn(),this.a=new g_n(Ilt)}function zD(n){return gvn(n,0,n.length)}function WD(n,t){return new n$(n.Kc(),t)}function XD(n,t){return null!=n.a.Bc(t)}function VD(n,t){SWn(n),n.Gc(aU(t,15))}function QD(n,t,e){n.c.bd(t,aU(e,136))}function JD(n,t,e){n.c.Ui(t,aU(e,136))}function YD(n,t){n.c&&(iq(t),K1(t))}function ZD(n,t){n.q.setHours(t),Pqn(n,t)}function nx(n,t){$R(t,n.a.a.a,n.a.a.b)}function tx(n,t,e,i){aQ(n.a[t.g],e.g,i)}function ex(n,t,e){return n.a[t.g][e.g]}function ix(n,t){return n.e[t.c.p][t.p]}function rx(n,t){return n.c[t.c.p][t.p]}function cx(n,t){return n.a[t.c.p][t.p]}function ax(n,t){return n.j[t.p]=cRn(t)}function ox(n,t){return null!=n.a.Bc(t)}function ux(n,t){return aE(w_(t.a))<=n}function sx(n,t){return aE(w_(t.a))>=n}function hx(n,t){return e7(n.f,t.Pg())}function fx(n,t){return n.a*t.a+n.b*t.b}function lx(n,t){return n.a0?t/(n*n):100*t}function ER(n,t){return n>0?t*t/n:t*t*100}function MR(n,t){return aU(rin(n.a,t),34)}function jR(n,t){return EOn(),BNn(n,t.e,t)}function TR(n,t,e){return JS(),e.Mg(n,t)}function SR(n){return Zrn(),n.e.a+n.f.a/2}function PR(n,t,e){return Zrn(),e.e.a-n*t}function CR(n){return Zrn(),n.e.b+n.f.b/2}function OR(n,t,e){return Zrn(),e.e.b-n*t}function IR(n){n.d=new fR(n),n.e=new Qm}function AR(){this.a=new $1,this.b=new $1}function LR(n){this.c=n,this.a=1,this.b=1}function NR(n){rYn(),bv(this),this.Ff(n)}function DR(n,t,e){jtn(),n.pf(t)&&e.Cd(n)}function xR(n,t,e){return mx(t,Dpn(n,e))}function $R(n,t,e){return n.a+=t,n.b+=e,n}function RR(n,t,e){return n.a*=t,n.b*=e,n}function _R(n,t){return n.a=t.a,n.b=t.b,n}function KR(n){return n.a=-n.a,n.b=-n.b,n}function FR(n,t,e){return n.a-=t,n.b-=e,n}function BR(n){hS.call(this),ban(this,n)}function GR(){_T.call(this,"GROW_TREE",0)}function HR(){_T.call(this,"POLYOMINO",0)}function UR(n,t,e){htn.call(this,n,t,e,2)}function qR(n,t,e){Lwn(q5(n.a),t,p2(e))}function zR(n,t){EP(),q$.call(this,n,t)}function WR(n,t){MP(),z$.call(this,n,t)}function XR(n,t){MP(),WR.call(this,n,t)}function VR(n,t){MP(),z$.call(this,n,t)}function QR(n,t){return n.c.Fc(aU(t,136))}function JR(n,t,e){Lwn(Oen(n.a),t,m2(e))}function YR(n){this.c=n,vcn(n,0),ycn(n,0)}function ZR(n,t){JN(),Cz.call(this,n,t)}function n_(n,t){JN(),ZR.call(this,n,t)}function t_(n,t){JN(),ZR.call(this,n,t)}function e_(n,t){JN(),Cz.call(this,n,t)}function i_(n,t){JN(),t_.call(this,n,t)}function r_(n,t){JN(),e_.call(this,n,t)}function c_(n,t){JN(),Cz.call(this,n,t)}function a_(n,t,e){return t.zl(n.e,n.c,e)}function o_(n,t,e){return t.Al(n.e,n.c,e)}function u_(n,t,e){return Xzn(Ien(n,t),e)}function s_(n,t){return gdn(n.e,aU(t,54))}function h_(n){return null==n?null:OQn(n)}function f_(n){return null==n?null:gIn(n)}function l_(n){return null==n?null:ipn(n)}function b_(n){return null==n?null:ipn(n)}function d_(n){return Rq(null==n||$A(n)),n}function w_(n){return Rq(null==n||RA(n)),n}function g_(n){return Rq(null==n||xA(n)),n}function p_(n){null==n.o&&r$n(n)}function m_(n){if(!n)throw uv(new Nv)}function v_(n){if(!n)throw uv(new Av)}function y_(n){if(!n)throw uv(new Kv)}function k_(n){if(!n)throw uv(new Dv)}function E_(n){if(!n)throw uv(new Rv)}function M_(){M_=T,xKt=new Gy,new Hy}function j_(){j_=T,qCt=new Sm("root")}function T_(){$an.call(this),this.Bb|=T0n}function S_(n,t){this.d=n,Sd(this),this.b=t}function P_(n,t){Rnn.call(this,n),this.a=t}function C_(n,t){Rnn.call(this,n),this.a=t}function O_(n,t,e){O7.call(this,n,t,e,null)}function I_(n,t,e){O7.call(this,n,t,e,null)}function A_(n,t){this.c=n,CT.call(this,n,t)}function L_(n,t){this.a=n,A_.call(this,n,t)}function N_(n){this.q=new t.Date(W4(n))}function D_(n){return n>8?0:n+1}function x_(n,t){Aut||mx(n.a,t)}function $_(n,t){return WS(),Esn(t.d.i,n)}function R_(n,t){return Tun(),new cGn(t,n)}function __(n,t,e){return n.Ne(t,e)<=0?e:t}function K_(n,t,e){return n.Ne(t,e)<=0?t:e}function F_(n,t){return aU(rin(n.b,t),143)}function B_(n,t){return aU(rin(n.c,t),233)}function G_(n){return aU(qq(n.a,n.b),294)}function H_(n){return new yI(n.c,n.d+n.a)}function U_(n){return ZQ(n),n?1231:1237}function q_(n){return Y0(),hN(aU(n,203))}function z_(){z_=T,hht=dgn((Xmn(),VRt))}function W_(n,t){t.a?WDn(n,t):ox(n.a,t.b)}function X_(n,t,e){++n.j,n.tj(),Onn(n,t,e)}function V_(n,t,e){++n.j,n.qj(t,n.Zi(t,e))}function Q_(n,t,e){n.fd(t).Rb(e)}function J_(n,t,e){return e=LHn(n,t,6,e)}function Y_(n,t,e){return e=LHn(n,t,3,e)}function Z_(n,t,e){return e=LHn(n,t,9,e)}function nK(n,t){return JZ(t,W2n),n.f=t,n}function tK(n,t){return(t&pZn)%n.d.length}function eK(n,t,e){return szn(n.c,n.b,t,e)}function iK(n,t){this.c=n,Nrn.call(this,t)}function rK(n,t){this.a=n,Dm.call(this,t)}function cK(n,t){this.a=n,Dm.call(this,t)}function aK(n,t){Sm.call(this,n),this.a=t}function oK(n,t){Km.call(this,n),this.a=t}function uK(n,t){Km.call(this,n),this.a=t}function sK(n){omn.call(this,0,0),this.f=n}function hK(n,t,e){return n.a+=gvn(t,0,e),n}function fK(n){return!n.a&&(n.a=new E),n.a}function lK(n,t){var e;return e=n.e,n.e=t,e}function bK(n,t){var e;return e=t,!!n.Fe(e)}function dK(n,t){return H$(),n==t?0:n?1:-1}function wK(n,t){n.a.bd(n.b,t),++n.b,n.c=-1}function gK(n){n.b?gK(n.b):n.f.c.zc(n.e,n.d)}function pK(n){LX(n.e),n.d.b=n.d,n.d.a=n.d}function mK(n,t,e){pS(),Cb(n,t.Ve(n.a,e))}function vK(n,t,e){return BX(n,aU(t,22),e)}function yK(n,t){return rM(new Array(t),n)}function kK(n){return wW(NW(n,32))^wW(n)}function EK(n){return String.fromCharCode(n)}function MK(n){return null==n?null:n.message}function jK(n,t,e){return n.apply(t,e)}function TK(n,t){n[B0n].call(n,t)}function SK(n,t){n[B0n].call(n,t)}function PK(n,t){return WS(),!Esn(t.d.i,n)}function CK(n,t,e,i){hz.call(this,n,t,e,i)}function OK(){FK.call(this),this.a=new oj}function IK(){this.n=new oj,this.o=new oj}function AK(){this.b=new oj,this.c=new Jm}function LK(){this.a=new Jm,this.b=new Jm}function NK(){this.a=new lt,this.b=new Hv}function DK(){this.b=new a8,this.a=new a8}function xK(){this.b=new ny,this.a=new ny}function $K(){this.b=new Qm,this.a=new Qm}function RK(){this.b=new Gj,this.a=new Ea}function _K(){this.a=new ul,this.b=new oc}function KK(){this.a=new Jm,this.d=new Jm}function FK(){this.n=new Ny,this.i=new iN}function BK(n){this.a=(gan(n,d1n),new x7(n))}function GK(n){this.a=(gan(n,d1n),new x7(n))}function HK(n){return n<100?null:new ij(n)}function UK(n,t){return n.n.a=(ZQ(t),t+10)}function qK(n,t){return n.n.a=(ZQ(t),t+10)}function zK(n,t){return t==n||oSn(gRn(t),n)}function WK(n,t){return null==pJ(n.a,t,"")}function XK(n,t){return t.qi(n.a)}function VK(n,t){return n.a+=t.a,n.b+=t.b,n}function QK(n,t){return n.a-=t.a,n.b-=t.b,n}function JK(n){return Uv(n.j.c,0),n.a=-1,n}function YK(n,t,e){return e=LHn(n,t,11,e)}function ZK(n,t,e){null!=e&&Uan(t,dMn(n,e))}function nF(n,t,e){null!=e&&qan(t,dMn(n,e))}function tF(n,t,e,i){sX.call(this,n,t,e,i)}function eF(n,t,e,i){sX.call(this,n,t,e,i)}function iF(n,t,e,i){eF.call(this,n,t,e,i)}function rF(n,t,e,i){lX.call(this,n,t,e,i)}function cF(n,t,e,i){lX.call(this,n,t,e,i)}function aF(n,t,e,i){lX.call(this,n,t,e,i)}function oF(n,t,e,i){cF.call(this,n,t,e,i)}function uF(n,t,e,i){cF.call(this,n,t,e,i)}function sF(n,t,e,i){aF.call(this,n,t,e,i)}function hF(n,t,e,i){uF.call(this,n,t,e,i)}function fF(n,t,e,i){mX.call(this,n,t,e,i)}function lF(n,t){bE.call(this,Fit+n+zet+t)}function bF(n,t){return n.jk().wi().ri(n,t)}function dF(n,t){return n.jk().wi().ti(n,t)}function wF(n,t){return ZQ(n),DA(n)===DA(t)}function gF(n,t){return ZQ(n),DA(n)===DA(t)}function pF(n,t){return n.b.Bd(new XP(n,t))}function mF(n,t){return n.b.Bd(new VP(n,t))}function vF(n,t){return n.b.Bd(new QP(n,t))}function yF(n,t){return n.e=aU(n.d.Kb(t),159)}function kF(n,t,e){return n.lastIndexOf(t,e)}function EF(n,t,e){return agn(n[t.a],n[e.a])}function MF(n,t){return mfn(t,(EYn(),Ckt),n)}function jF(n,t){return bD(t.a.d.p,n.a.d.p)}function TF(n,t){return bD(n.a.d.p,t.a.d.p)}function SF(n,t){return agn(n.c-n.s,t.c-t.s)}function PF(n,t){return agn(n.b.e.a,t.b.e.a)}function CF(n,t){return agn(n.c.e.a,t.c.e.a)}function OF(n){return n.c?ken(n.c.a,n,0):-1}function IF(n){return n==eRt||n==rRt||n==iRt}function AF(n,t){this.c=n,XX.call(this,n,t)}function LF(n,t,e){this.a=n,X$.call(this,t,e)}function NF(n){this.c=n,eL.call(this,QZn,0)}function DF(n,t,e){this.c=t,this.b=e,this.a=n}function xF(n){TH(),this.d=n,this.a=new Ax}function $F(n){oB(),this.a=(uZ(),new YE(n))}function RF(n,t){uN(n.f)?Vxn(n,t):lCn(n,t)}function _F(n,t){oU.call(this,n,n.length,t)}function KF(n,t){Aut||t&&(n.d=t)}function FF(n,t){return RD(t,15)&&GFn(n.c,t)}function BF(n,t,e){return aU(n.c,71).Wk(t,e)}function GF(n,t,e){return aU(n.c,71).Xk(t,e)}function HF(n,t,e){return a_(n,aU(t,343),e)}function UF(n,t,e){return o_(n,aU(t,343),e)}function qF(n,t,e){return vPn(n,aU(t,343),e)}function zF(n,t,e){return RCn(n,aU(t,343),e)}function WF(n,t){return null==t?null:Udn(n.b,t)}function XF(n){return RA(n)?(ZQ(n),n):n.ue()}function VF(n){return!isNaN(n)&&!isFinite(n)}function QF(n){CD(this),KY(this),Xon(this,n)}function JF(n){PN(this),bU(this.c,0,n.Pc())}function YF(n,t,e){this.a=n,this.b=t,this.c=e}function ZF(n,t,e){this.a=n,this.b=t,this.c=e}function nB(n,t,e){this.d=n,this.b=e,this.a=t}function tB(n){this.a=n,fS(),Ksn(Date.now())}function eB(n){IQ(n.a),Inn(n.c,n.b),n.b=null}function iB(){iB=T,cut=new _,aut=new K}function rB(){rB=T,LKt=Pnn(bat,MZn,1,0,5,1)}function cB(){cB=T,HFt=Pnn(bat,MZn,1,0,5,1)}function aB(){aB=T,UFt=Pnn(bat,MZn,1,0,5,1)}function oB(){oB=T,new Ev((uZ(),uZ(),qot))}function uB(n){return xtn(),Rcn((Dtn(),yut),n)}function sB(n){return vbn(),Rcn((fnn(),Dut),n)}function hB(n){return _yn(),Rcn((m8(),Vut),n)}function fB(n){return Uin(),Rcn((v8(),Zut),n)}function lB(n){return WFn(),Rcn((ahn(),mst),n)}function bB(n){return Qrn(),Rcn((snn(),Sst),n)}function dB(n){return $tn(),Rcn((unn(),Nst),n)}function wB(n){return Qen(),Rcn((hnn(),Kst),n)}function gB(n){return VYn(),Rcn((sL(),sht),n)}function pB(n){return nhn(),Rcn((_tn(),pht),n)}function mB(n){return pkn(),Rcn((Ftn(),Mht),n)}function vB(n){return gkn(),Rcn((Ktn(),xht),n)}function yB(n){return KS(),Rcn((e6(),_ht),n)}function kB(n){return qin(),Rcn((y8(),pft),n)}function EB(n){return Ven(),Rcn((lnn(),plt),n)}function MB(n){return aOn(),Rcn((Lin(),Plt),n)}function jB(n){return Uhn(),Rcn((Gtn(),Glt),n)}function TB(n){return Bvn(),Rcn((Btn(),tbt),n)}function SB(n,t){if(!n)throw uv(new pE(t))}function PB(n){if(!n)throw uv(new mE(TZn))}function CB(n,t){if(n!=t)throw uv(new Rv)}function OB(n,t,e){this.a=n,this.b=t,this.c=e}function IB(n,t,e){this.a=n,this.b=t,this.c=e}function AB(n,t,e){this.a=n,this.b=t,this.c=e}function LB(n,t,e){this.b=n,this.a=t,this.c=e}function NB(n,t,e){this.b=n,this.c=t,this.a=e}function DB(n,t,e){this.a=n,this.b=t,this.c=e}function xB(n,t,e){this.e=t,this.b=n,this.d=e}function $B(n,t,e){this.b=n,this.a=t,this.c=e}function RB(n,t,e){return pS(),n.a.Yd(t,e),t}function _B(n){var t;return(t=new kn).e=n,t}function KB(n){var t;return(t=new wy).b=n,t}function FB(){FB=T,Abt=new De,Lbt=new xe}function BB(){BB=T,Vdt=new ui,Xdt=new si}function GB(){GB=T,ewt=new mr,iwt=new vr}function HB(n){return don(),Rcn((H7(),Swt),n)}function UB(n){return qYn(),Rcn((hL(),_dt),n)}function qB(n){return Ghn(),Rcn((Utn(),Wdt),n)}function zB(n){return Hhn(),Rcn((Htn(),hwt),n)}function WB(n){return dPn(),Rcn((Nin(),pwt),n)}function XB(n){return uFn(),Rcn((csn(),$wt),n)}function VB(n){return pAn(),Rcn((ncn(),qwt),n)}function QB(n){return F7(),Rcn((P8(),Vwt),n)}function JB(n){return Ean(),Rcn((B7(),ngt),n)}function YB(n){return ean(),Rcn((G7(),cgt),n)}function ZB(n){return mvn(),Rcn((Din(),lgt),n)}function nG(n){return zin(),Rcn((M8(),ggt),n)}function tG(n){return xOn(),Rcn((icn(),Vgt),n)}function eG(n){return eFn(),Rcn((Mfn(),opt),n)}function iG(n){return thn(),Rcn((q7(),lpt),n)}function rG(n){return Jen(),Rcn((z7(),ppt),n)}function cG(n){return Q6(),Rcn((E8(),kpt),n)}function aG(n){return MSn(),Rcn((ecn(),Bgt),n)}function oG(n){return Tfn(),Rcn((U7(),kgt),n)}function uG(n){return ZOn(),Rcn((tcn(),Ogt),n)}function sG(n){return Wtn(),Rcn((j8(),Ngt),n)}function hG(n){return Gpn(),Rcn(($in(),Lmt),n)}function fG(n){return y_n(),Rcn((ihn(),cjt),n)}function lG(n){return Sdn(),Rcn((W7(),hjt),n)}function bG(n){return Qkn(),Rcn((qtn(),gjt),n)}function dG(n){return wkn(),Rcn((xin(),Mjt),n)}function wG(n){return kGn(),Rcn((jfn(),xjt),n)}function gG(n){return vvn(),Rcn((ztn(),Bjt),n)}function pG(n){return Yen(),Rcn((T8(),qjt),n)}function mG(n){return ian(),Rcn((Q7(),Qjt),n)}function vG(n){return tsn(),Rcn((X7(),tTt),n)}function yG(n){return jln(),Rcn((V7(),aTt),n)}function kG(n){return mbn(),Rcn((J7(),fTt),n)}function EG(n){return tan(),Rcn((Y7(),gTt),n)}function MG(n){return qhn(),Rcn((Z7(),kTt),n)}function jG(n){return nan(),Rcn((onn(),GTt),n)}function TG(n){return J6(),Rcn((S8(),YTt),n)}function SG(n){return f0(),Rcn((I8(),fSt),n)}function PG(n){return l0(),Rcn((A8(),wSt),n)}function CG(n){return _7(),Rcn((L8(),xSt),n)}function OG(n){return h0(),Rcn((N8(),USt),n)}function IG(n){return Sjn(),Rcn((oen(),QSt),n)}function AG(n){return CGn(),Rcn((fL(),fPt),n)}function LG(n){return Tln(),Rcn((nnn(),gPt),n)}function NG(n){return gbn(),Rcn((aen(),$Ct),n)}function DG(n){return t3(),Rcn((C8(),FCt),n)}function xG(n){return won(),Rcn((O8(),VCt),n)}function $G(n){return qPn(),Rcn((Rin(),eOt),n)}function RG(n){return pbn(),Rcn((tnn(),fOt),n)}function _G(n){return Ttn(),Rcn((D8(),aOt),n)}function KG(n){return bMn(),Rcn((cen(),ZOt),n)}function FG(n){return nsn(),Rcn((enn(),rIt),n)}function BG(n){return Vmn(),Rcn((inn(),sIt),n)}function GG(n){return Jkn(),Rcn((rnn(),dIt),n)}function HG(n){return Kgn(),Rcn((cnn(),IIt),n)}function UG(n){return r9(),Rcn((x8(),EAt),n)}function qG(n){return Oun(),Rcn((k8(),Ibt),n)}function zG(n){return qOn(),Rcn((rcn(),gbt),n)}function WG(n){return ben(),Rcn((ann(),PAt),n)}function XG(n){return ehn(),Rcn(($8(),AAt),n)}function VG(n){return _Rn(),Rcn((_in(),KAt),n)}function QG(n){return YS(),Rcn((L6(),WAt),n)}function JG(n){return xwn(),Rcn((dnn(),UAt),n)}function YG(n){return ZS(),Rcn((N6(),QAt),n)}function ZG(n){return K7(),Rcn((R8(),nLt),n)}function nH(n){return wIn(),Rcn((Kin(),oLt),n)}function tH(n){return nP(),Rcn((D6(),ULt),n)}function eH(n){return zhn(),Rcn((_8(),XLt),n)}function iH(n){return xyn(),Rcn((Bin(),fNt),n)}function rH(n){return hAn(),Rcn((isn(),kNt),n)}function cH(n){return Ykn(),Rcn((ccn(),NNt),n)}function aH(n){return JSn(),Rcn((acn(),ZNt),n)}function oH(n){return Dwn(),Rcn((Fin(),n$t),n)}function uH(n){return Jrn(),Rcn((wnn(),c$t),n)}function sH(n){return _gn(),Rcn((uen(),f$t),n)}function hH(n){return xCn(),Rcn((ocn(),v$t),n)}function fH(n){return Cdn(),Rcn((bnn(),A$t),n)}function lH(n){return Ojn(),Rcn((sen(),R$t),n)}function bH(n){return zxn(),Rcn((chn(),X$t),n)}function dH(n){return zyn(),Rcn((Gin(),tRt),n)}function wH(n){return LPn(),Rcn((ucn(),sRt),n)}function gH(n){return nNn(),Rcn((scn(),pRt),n)}function pH(n){return $Qn(),Rcn((Hin(),FRt),n)}function mH(n){return Xmn(),Rcn((hen(),JRt),n)}function vH(n){return rHn(),Rcn((rhn(),u_t),n)}function yH(n){return Pdn(),Rcn((gnn(),b_t),n)}function kH(n,t){return ZQ(n),n+(ZQ(t),t)}function EH(n){return SH(),Rcn((K8(),p_t),n)}function MH(n){return Hpn(),Rcn((fen(),M_t),n)}function jH(n){return Mln(),Rcn((len(),I_t),n)}function TH(){TH=T,$Qn(),qTt=_Rt,zTt=mRt}function SH(){SH=T,d_t=new Tq,w_t=new dX}function PH(n){return!n.e&&(n.e=new Jm),n.e}function CH(n,t){this.c=n,this.a=t,this.b=t-n}function OH(n,t,e){this.a=n,this.b=t,this.c=e}function IH(n,t,e){this.a=n,this.b=t,this.c=e}function AH(n,t,e){this.a=n,this.b=t,this.c=e}function LH(n,t,e){this.a=n,this.b=t,this.c=e}function NH(n,t,e){this.a=n,this.b=t,this.c=e}function DH(n,t,e){this.a=n,this.b=t,this.c=e}function xH(n,t,e){this.e=n,this.a=t,this.c=e}function $H(n,t,e){JN(),_1.call(this,n,t,e)}function RH(n,t,e){JN(),SQ.call(this,n,t,e)}function _H(n,t,e){JN(),SQ.call(this,n,t,e)}function KH(n,t,e){JN(),SQ.call(this,n,t,e)}function FH(n,t,e){JN(),RH.call(this,n,t,e)}function BH(n,t,e){JN(),RH.call(this,n,t,e)}function GH(n,t,e){JN(),BH.call(this,n,t,e)}function HH(n,t,e){JN(),_H.call(this,n,t,e)}function UH(n,t,e){JN(),KH.call(this,n,t,e)}function qH(n){hz.call(this,n.d,n.c,n.a,n.b)}function zH(n){hz.call(this,n.d,n.c,n.a,n.b)}function WH(n){this.d=n,Sd(this),this.b=MW(n.d)}function XH(n){return exn(),Rcn((rsn(),MKt),n)}function VH(n,t){return WV(n),WV(t),new ET(n,t)}function QH(n,t){return WV(n),WV(t),new WU(n,t)}function JH(n,t){return WV(n),WV(t),new XU(n,t)}function YH(n,t){return WV(n),WV(t),new NT(n,t)}function ZH(n){return y_(0!=n.b),Irn(n,n.a.a)}function nU(n){return y_(0!=n.b),Irn(n,n.c.b)}function tU(n){return!n.c&&(n.c=new _s),n.c}function eU(n){var t;return iin(t=new Jm,n),t}function iU(n){var t;return iin(t=new ny,n),t}function rU(n){var t;return Ron(t=new ey,n),t}function cU(n){var t;return Ron(t=new hS,n),t}function aU(n,t){return Rq(null==n||Mkn(n,t)),n}function oU(n,t,e){_W.call(this,t,e),this.a=n}function uU(n,t){this.c=n,this.b=t,this.a=!1}function sU(){this.a=";,;",this.b="",this.c=""}function hU(n,t,e){this.b=n,nL.call(this,t,e)}function fU(n,t,e){this.c=n,zP.call(this,t,e)}function lU(n,t,e){RC.call(this,n,t),this.b=e}function bU(n,t,e){fDn(e,0,n,t,e.length,!1)}function dU(n,t,e,i,r){n.b=t,n.c=e,n.d=i,n.a=r}function wU(n,t,e,i,r){n.d=t,n.c=e,n.a=i,n.b=r}function gU(n,t){t&&(n.b=t,n.a=(GQ(t),t.a))}function pU(n,t){if(!n)throw uv(new pE(t))}function mU(n,t){if(!n)throw uv(new mE(t))}function vU(n,t){if(!n)throw uv(new dE(t))}function yU(n,t){return QS(),bD(n.d.p,t.d.p)}function kU(n,t){return Zrn(),agn(n.e.b,t.e.b)}function EU(n,t){return Zrn(),agn(n.e.a,t.e.a)}function MU(n,t){return bD(lq(n.d),lq(t.d))}function jU(n,t){return t&&LQ(n,t.d)?t:null}function TU(n,t){return t==($Qn(),_Rt)?n.c:n.d}function SU(n){return Msn(IX(_L(n)?Gsn(n):n))}function PU(n){return new yI(n.c+n.b,n.d+n.a)}function CU(n){return null!=n&&!gpn(n,JKt,YKt)}function OU(n,t){return(hwn(n)<<4|hwn(t))&N1n}function IU(n,t,e,i,r){n.c=t,n.d=e,n.b=i,n.a=r}function AU(n){var t,e;t=n.b,e=n.c,n.b=e,n.c=t}function LU(n){var t,e;e=n.d,t=n.a,n.d=t,n.a=e}function NU(n,t){var e;return e=n.c,Van(n,t),e}function DU(n,t){return n.g=t<0?-1:t,n}function xU(n,t){return Krn(n),n.a*=t,n.b*=t,n}function $U(n,t,e){Crn.call(this,t,e),this.d=n}function RU(n,t,e){IA.call(this,n,t),this.c=e}function _U(n,t,e){IA.call(this,n,t),this.c=e}function KU(n){aB(),ps.call(this),this.ci(n)}function FU(){A7(),CQ.call(this,(yP(),sFt))}function BU(n){return XYn(),new Pz(0,n)}function GU(){GU=T,uZ(),TBt=new Ud(fct)}function HU(){HU=T,new Gkn((gk(),kat),(wk(),yat))}function UU(){UU=T,fot=Pnn(bot,qZn,17,256,0,1)}function qU(){this.b=aE(w_(Vyn((eUn(),Kft))))}function zU(n){this.b=n,this.a=yW(this.b.a).Od()}function WU(n,t){this.b=n,this.a=t,Rf.call(this)}function XU(n,t){this.a=n,this.b=t,Rf.call(this)}function VU(n,t,e){this.a=n,pL.call(this,t,e)}function QU(n,t,e){this.a=n,pL.call(this,t,e)}function JU(n,t,e){Yin(n,t,new XV(e))}function YU(n,t,e){var i;return i=n[t],n[t]=e,i}function ZU(n){return Itn(n.slice(),n)}function nq(n){var t;return t=n.n,n.a.b+t.d+t.a}function tq(n){var t;return t=n.n,n.e.b+t.d+t.a}function eq(n){var t;return t=n.n,n.e.a+t.b+t.c}function iq(n){n.a.b=n.b,n.b.a=n.a,n.a=n.b=null}function rq(n,t){return o8(n,t,n.c.b,n.c),!0}function cq(n){return n.a?n.a:oY(n)}function aq(n){return hZ(),fOn(n)==x0(dOn(n))}function oq(n){return hZ(),dOn(n)==x0(fOn(n))}function uq(n,t){return STn(n,new RC(t.a,t.b))}function sq(n,t){return kJ(),PEn(n,t),new fJ(n,t)}function hq(n,t){return n.c=t)throw uv(new Py)}function WW(n,t){return iwn(n,(ZQ(t),new aw(t)))}function XW(n,t){return iwn(n,(ZQ(t),new ow(t)))}function VW(n,t,e){return KYn(n,aU(t,12),aU(e,12))}function QW(n){return Iun(),0!=aU(n,12).g.c.length}function JW(n){return Iun(),0!=aU(n,12).e.c.length}function YW(n,t){return Tun(),agn(t.a.o.a,n.a.o.a)}function ZW(n,t){t.Bb&Xtt&&!n.a.o&&(n.a.o=t)}function nX(n,t){t.Ug("General 'Rotator",1),hQn(n)}function tX(n,t,e){t.qf(e,aE(w_(iQ(n.b,e)))*n.a)}function eX(n,t,e){return hFn(),Hun(n,t)&&Hun(n,e)}function iX(n){return nNn(),!n.Hc(lRt)&&!n.Hc(dRt)}function rX(n){return n.e?k7(n.e):null}function cX(n){return _L(n)?""+n:$Fn(n)}function aX(n){var t;for(t=n;t.f;)t=t.f;return t}function oX(n,t,e){return aQ(t,0,Yq(t[0],e[0])),t}function uX(n,t,e,i){var r;(r=n.i).i=t,r.a=e,r.b=i}function sX(n,t,e,i){yx.call(this,n,t,e),this.b=i}function hX(n,t,e,i,r){ftn.call(this,n,t,e,i,r,-1)}function fX(n,t,e,i,r){ltn.call(this,n,t,e,i,r,-1)}function lX(n,t,e,i){RU.call(this,n,t,e),this.b=i}function bX(n){hA.call(this,n,!1),this.a=!1}function dX(){KI.call(this,"LOOKAHEAD_LAYOUT",1)}function wX(n){this.b=n,J$.call(this,n),Hx(this)}function gX(n){this.b=n,Z$.call(this,n),Ux(this)}function pX(n,t,e){this.a=n,tF.call(this,t,e,5,6)}function mX(n,t,e,i){this.b=n,yx.call(this,t,e,i)}function vX(n,t){this.b=n,sb.call(this,n.b),this.a=t}function yX(n){this.a=Rkn(n.a),this.b=new JF(n.b)}function kX(n,t){JV(),BT.call(this,n,Ndn(new PE(t)))}function EX(n,t){return XYn(),new TQ(n,t,0)}function MX(n,t){return XYn(),new TQ(6,n,t)}function jX(n,t){for(ZQ(t);n.Ob();)t.Cd(n.Pb())}function TX(n,t){return xA(t)?OZ(n,t):!!Rz(n.f,t)}function SX(n,t){return t.Vh()?gdn(n.b,aU(t,54)):t}function PX(n,t){return gF(n.substr(0,t.length),t)}function CX(n){return new RW(new Qx(n.a.length,n.a))}function OX(n){return new yI(n.c+n.b/2,n.d+n.a/2)}function IX(n){return wD(~n.l&s0n,~n.m&s0n,~n.h&h0n)}function AX(n){return typeof n===lZn||typeof n===gZn}function LX(n){n.f=new YL(n),n.i=new ZL(n),++n.g}function NX(n){if(!n)throw uv(new Kv);return n.d}function DX(n){var t;return y_(null!=(t=xfn(n))),t}function xX(n){var t;return y_(null!=(t=ogn(n))),t}function $X(n,t){var e;return n7(t,e=n.a.gc()),e-t}function RX(n,t){return null==n.a.zc(t,n)}function _X(n,t){return null==n.a.zc(t,(H$(),Zat))}function KX(n){return new sz(null,cV(n,n.length))}function FX(n,t,e){return Fzn(n,aU(t,42),aU(e,176))}function BX(n,t,e){return yon(n.a,t),YU(n.b,t.g,e)}function GX(n,t,e){zW(e,n.a.c.length),Q8(n.a,e,t)}function HX(n,t,e,i){abn(t,e,n.length),UX(n,t,e,i)}function UX(n,t,e,i){var r;for(r=t;r0?t.Math.log(n/e):-100}function eV(n,t){return bdn(n,t)<0?-1:bdn(n,t)>0?1:0}function iV(n,t){VD(n,RD(t,160)?t:aU(t,2036).Rl())}function rV(n,t){if(null==n)throw uv(new yE(t))}function cV(n,t){return Lrn(t,n.length),new jq(n,t)}function aV(n,t){return!!t&&Xon(n,t)}function oV(){return Fk(),Bhn(iM(Iat,1),w1n,549,0,[Pat])}function uV(n){return 0==n.e?n:new zX(-n.e,n.d,n.a)}function sV(n,t){return agn(n.c.c+n.c.b,t.c.c+t.c.b)}function hV(n,t){o8(n.d,t,n.b.b,n.b),++n.a,n.c=null}function fV(n,t){return n.c?fV(n.c,t):mx(n.b,t),n}function lV(n,t,e){var i;return i=ain(n,t),W5(n,t,e),i}function bV(n,t,e){var i;for(i=0;i=n.g}function aQ(n,t,e){return v_(null==e||iUn(n,e)),n[t]=e}function oQ(n,t){return o3(t,n.length+1),n.substr(t)}function uQ(n,t){for(ZQ(t);n.c=n?new gS:Zan(n-1)}function FQ(n){return!n.a&&n.c?n.c.b:n.a}function BQ(n){return RD(n,616)?n:new n0(n)}function GQ(n){n.c?GQ(n.c):(pgn(n),n.d=!0)}function HQ(n){n.c?n.c.$e():(n.d=!0,a_n(n))}function UQ(n){n.b=!1,n.c=!1,n.d=!1,n.a=!1}function qQ(n){return n.c.i.c==n.d.i.c}function zQ(n,t){var e;(e=n.Ih(t))>=0?n.ki(e):qLn(n,t)}function WQ(n,t){n.c<0||n.b.b0;)n=n<<1|(n<0?1:0);return n}function SJ(n,t){var e;return e=new fQ(n),gv(t.c,e),e}function PJ(n,t){n.u.Hc((nNn(),lRt))&&pNn(n,t),mnn(n,t)}function CJ(n,t){return DA(n)===DA(t)||null!=n&&awn(n,t)}function OJ(n,t){return xz(n.a,t)?n.b[aU(t,22).g]:null}function IJ(){return KS(),Bhn(iM(cft,1),w1n,489,0,[$ht])}function AJ(){return YS(),Bhn(iM(VAt,1),w1n,490,0,[qAt])}function LJ(){return ZS(),Bhn(iM(ZAt,1),w1n,558,0,[XAt])}function NJ(){return nP(),Bhn(iM(WLt,1),w1n,539,0,[GLt])}function DJ(n){return!n.n&&(n.n=new sX(sKt,n,1,7)),n.n}function xJ(n){return!n.c&&(n.c=new sX(fKt,n,9,9)),n.c}function $J(n){return!n.c&&(n.c=new sF(eKt,n,5,8)),n.c}function RJ(n){return!n.b&&(n.b=new sF(eKt,n,4,7)),n.b}function _J(n){return n.j.c.length=0,cY(n.c),JK(n.a),n}function KJ(n){return n.e==lct&&md(n,ryn(n.g,n.b)),n.e}function FJ(n){return n.f==lct&&yd(n,Zjn(n.g,n.b)),n.f}function BJ(n,t,e,i){return Nsn(n,t,e,!1),wwn(n,i),n}function GJ(n,t){this.b=n,XX.call(this,n,t),Hx(this)}function HJ(n,t){this.b=n,AF.call(this,n,t),Ux(this)}function UJ(n){this.d=n,this.a=this.d.b,this.b=this.d.c}function qJ(n,t){this.b=n,this.c=t,this.a=new sS(this.b)}function zJ(n,t){return o3(t,n.length),n.charCodeAt(t)}function WJ(n,t){Egn(n,aE(Lcn(t,"x")),aE(Lcn(t,"y")))}function XJ(n,t){Egn(n,aE(Lcn(t,"x")),aE(Lcn(t,"y")))}function VJ(n,t){return pgn(n),new sz(n,new ten(t,n.a))}function QJ(n,t){return pgn(n),new sz(n,new s7(t,n.a))}function JJ(n,t){return pgn(n),new P_(n,new o7(t,n.a))}function YJ(n,t){return pgn(n),new C_(n,new u7(t,n.a))}function ZJ(n,t){return new yZ(aU(WV(n),50),aU(WV(t),50))}function nY(n,t){return agn(n.d.c+n.d.b/2,t.d.c+t.d.b/2)}function tY(n,t,e){e.a?ycn(n,t.b-n.f/2):vcn(n,t.a-n.g/2)}function eY(n,t){return agn(n.g.c+n.g.b/2,t.g.c+t.g.b/2)}function iY(n,t){return HS(),agn((ZQ(n),n),(ZQ(t),t))}function rY(n){return null!=n&&JT(FKt,n.toLowerCase())}function cY(n){var t;for(t=n.Kc();t.Ob();)t.Pb(),t.Qb()}function aY(n){var t;return!(t=n.b)&&(n.b=t=new Ql(n)),t}function oY(n){return ion(n)||null}function uY(n,t){var e,i;return(e=n/t)>(i=Z1(e))&&++i,i}function sY(n,t,e){var i;(i=aU(n.d.Kb(e),159))&&i.Nb(t)}function hY(n,t,e){$zn(n.a,e),Ehn(e),Mxn(n.b,e),yWn(t,e)}function fY(n,t,e,i){this.a=n,this.c=t,this.b=e,this.d=i}function lY(n,t,e,i){this.c=n,this.b=t,this.a=e,this.d=i}function bY(n,t,e,i){this.c=n,this.b=t,this.d=e,this.a=i}function dY(n,t,e,i){this.c=n,this.d=t,this.b=e,this.a=i}function wY(n,t,e,i){this.a=n,this.d=t,this.c=e,this.b=i}function gY(n,t,e,i){this.a=n,this.e=t,this.d=e,this.c=i}function pY(n,t,e,i){this.a=n,this.c=t,this.d=e,this.b=i}function mY(n,t,e){this.a=I1n,this.d=n,this.b=t,this.c=e}function vY(n,t,e,i){_T.call(this,n,t),this.a=e,this.b=i}function yY(n,t){this.d=(ZQ(n),n),this.a=16449,this.c=t}function kY(n){this.a=new Jm,this.e=Pnn(VGt,qZn,53,n,0,2)}function EY(n){n.Ug("No crossing minimization",1),n.Vg()}function MY(){$k.call(this,"There is no more element.")}function jY(n,t,e,i){this.a=n,this.b=t,this.c=e,this.d=i}function TY(n,t,e,i){this.a=n,this.b=t,this.c=e,this.d=i}function SY(n,t,e,i){this.e=n,this.a=t,this.c=e,this.d=i}function PY(n,t,e,i){this.a=n,this.c=t,this.d=e,this.b=i}function CY(n,t,e,i){JN(),h7.call(this,t,e,i),this.a=n}function OY(n,t,e,i){JN(),h7.call(this,t,e,i),this.a=n}function IY(n,t,e){var i;return i=nJn(n),t.ti(e,i)}function AY(n){var t;return Brn(t=new nv,n),t}function LY(n){var t;return yOn(t=new nv,n),t}function NY(n,t){return Xun(t,iQ(n.f,t)),null}function DY(n){return!n.b&&(n.b=new sX(iKt,n,12,3)),n.b}function xY(n){return Rq(null==n||AX(n)&&!(n.Tm===j)),n}function $Y(n){return n.n&&(n.e!==M1n&&n.je(),n.j=null),n}function RY(n){if(fpn(n.d),n.d.d!=n.c)throw uv(new Rv)}function _Y(n){return y_(n.b0&&UTn(this)}function BY(n,t){this.a=n,S_.call(this,n,aU(n.d,15).fd(t))}function GY(n,t){return agn(Mz(n)*Ez(n),Mz(t)*Ez(t))}function HY(n,t){return agn(Mz(n)*Ez(n),Mz(t)*Ez(t))}function UY(n){return KNn(n)&&cE(d_(qxn(n,(EYn(),uEt))))}function qY(n,t){return BNn(n,aU(cOn(t,(EYn(),BEt)),17),t)}function zY(n,t){return aU(cOn(n,(GYn(),zpt)),15).Fc(t),t}function WY(n,t){return n.b=t.b,n.c=t.c,n.d=t.d,n.a=t.a,n}function XY(n,t,e,i){this.b=n,this.c=i,eL.call(this,t,e)}function VY(n,t,e){n.i=0,n.e=0,t!=e&&Zfn(n,t,e)}function QY(n,t,e){n.i=0,n.e=0,t!=e&&nln(n,t,e)}function JY(n,t,e){return VS(),cpn(aU(iQ(n.e,t),529),e)}function YY(n){return n.f||(n.f=new CT(n,n.c))}function ZY(n,t){return Fdn(n.j,t.s,t.c)+Fdn(t.e,n.s,n.c)}function nZ(n,t){n.e&&!n.e.a&&(tv(n.e,t),nZ(n.e,t))}function tZ(n,t){n.d&&!n.d.a&&(tv(n.d,t),tZ(n.d,t))}function eZ(n,t){return-agn(Mz(n)*Ez(n),Mz(t)*Ez(t))}function iZ(n){return aU(n.ld(),149).Pg()+":"+ipn(n.md())}function rZ(){FOn(this,new Rl),this.wb=(ZV(),vFt),pj()}function cZ(n){this.b=new Jm,Chn(this.b,this.b),this.a=n}function aZ(n,t){new hS,this.a=new By,this.b=n,this.c=t}function oZ(){oZ=T,Vot=new N,Qot=new N,Jot=new D}function uZ(){uZ=T,qot=new C,zot=new I,Wot=new A}function sZ(){sZ=T,Gut=new wn,Uut=new Zz,Hut=new gn}function hZ(){hZ=T,rft=new Jm,ift=new Qm,eft=new Jm}function fZ(n,t){if(null==n)throw uv(new yE(t));return n}function lZ(n){return!n.a&&(n.a=new sX(hKt,n,10,11)),n.a}function bZ(n){return!n.q&&(n.q=new sX(dFt,n,11,10)),n.q}function dZ(n){return!n.s&&(n.s=new sX(rFt,n,21,17)),n.s}function wZ(n){return WV(n),$En(new RW(t$(n.a.Kc(),new h)))}function gZ(n,t){return kbn(n),kbn(t),iE(aU(n,22),aU(t,22))}function pZ(n,t,e){Yin(n,t,new Tb(XF(e)))}function mZ(n,t,e,i,r,c){ltn.call(this,n,t,e,i,r,c?-2:-1)}function vZ(n,t,e,i){IA.call(this,t,e),this.b=n,this.a=i}function yZ(n,t){jk.call(this,new FW(n)),this.a=n,this.b=t}function kZ(n){this.b=n,this.c=n,n.e=null,n.c=null,this.a=1}function EZ(n){var t;GB(),(t=aU(n.g,10)).n.a=n.d.c+t.d.b}function MZ(){var n,t;MZ=T,t=!cvn(),n=new v,_at=t?new m:n}function jZ(n){return uZ(),RD(n,59)?new nM(n):new d$(n)}function TZ(n){return RD(n,16)?new cz(aU(n,16)):iU(n.Kc())}function SZ(n){return new Wx(n,n.e.Rd().gc()*n.c.Rd().gc())}function PZ(n){return new Xx(n,n.e.Rd().gc()*n.c.Rd().gc())}function CZ(n){return n&&n.hashCode?n.hashCode():D$(n)}function OZ(n,t){return null==t?!!Rz(n.f,null):_z(n.i,t)}function IZ(n,t){var e;return(e=XD(n.a,t))&&(t.d=null),e}function AZ(n,t,e){return!!n.f&&n.f.ef(t,e)}function LZ(n,t,e,i){aQ(n.c[t.g],e.g,i),aQ(n.c[e.g],t.g,i)}function NZ(n,t,e,i){aQ(n.c[t.g],t.g,e),aQ(n.b[t.g],t.g,i)}function DZ(n,t,e){return aE(w_(e.a))<=n&&aE(w_(e.b))>=t}function xZ(n,t){this.g=n,this.d=Bhn(iM(wbt,1),n6n,10,0,[t])}function $Z(n){this.c=n,this.b=new Fj(aU(WV(new pn),50))}function RZ(n){this.c=n,this.b=new Fj(aU(WV(new jt),50))}function _Z(n){this.b=n,this.a=new Fj(aU(WV(new nt),50))}function KZ(){this.b=new ny,this.d=new hS,this.e=new Cy}function FZ(){this.c=new oj,this.d=new oj,this.e=new oj}function BZ(){this.a=new By,this.b=(gan(3,d1n),new x7(3))}function GZ(n,t){this.e=n,this.a=bat,this.b=LBn(t),this.c=t}function HZ(n){this.c=n.c,this.d=n.d,this.b=n.b,this.a=n.a}function UZ(n,t,e,i,r,c){this.a=n,xan.call(this,t,e,i,r,c)}function qZ(n,t,e,i,r,c){this.a=n,xan.call(this,t,e,i,r,c)}function zZ(n,t,e,i,r,c,a){return new t8(n.e,t,e,i,r,c,a)}function WZ(n,t,e){return e>=0&&gF(n.substr(e,t.length),t)}function XZ(n,t){return RD(t,149)&&gF(n.b,aU(t,149).Pg())}function VZ(n,t){return n.a?t.Gh().Kc():aU(t.Gh(),71).Ii()}function QZ(n,t){var e;return l8(e=n.b.Qc(t),n.b.gc()),e}function JZ(n,t){if(null==n)throw uv(new yE(t));return n}function YZ(n){return n.u||(v9(n),n.u=new rK(n,n)),n.u}function ZZ(n){this.a=(uZ(),RD(n,59)?new nM(n):new d$(n))}function n1(n){return aU(Isn(n,16),29)||n.ii()}function t1(n,t){var e;return e=Pj(n.Rm),null==t?e:e+": "+t}function e1(n,t,e){return $nn(t,e,n.length),n.substr(t,e-t)}function i1(n,t){FK.call(this),Xrn(this),this.a=n,this.c=t}function r1(n){n&&t1(n,n.ie())}function c1(n){UE(),t.setTimeout((function(){throw n}),0)}function a1(){return _yn(),Bhn(iM(Yut,1),w1n,436,0,[Wut,zut])}function o1(){return Uin(),Bhn(iM(gst,1),w1n,435,0,[Qut,Jut])}function u1(){return qin(),Bhn(iM(glt,1),w1n,432,0,[dft,wft])}function s1(){return Oun(),Bhn(iM(Nbt,1),w1n,517,0,[Cbt,Pbt])}function h1(){return Q6(),Bhn(iM(Amt,1),w1n,429,0,[mpt,vpt])}function f1(){return zin(),Bhn(iM(ygt,1),w1n,428,0,[bgt,dgt])}function l1(){return F7(),Bhn(iM(Zwt,1),w1n,431,0,[zwt,Wwt])}function b1(){return Yen(),Bhn(iM(Vjt,1),w1n,430,0,[Gjt,Hjt])}function d1(){return J6(),Bhn(iM(iSt,1),w1n,531,0,[QTt,VTt])}function w1(){return won(),Bhn(iM(tOt,1),w1n,501,0,[zCt,WCt])}function g1(){return f0(),Bhn(iM(dSt,1),w1n,523,0,[sSt,uSt])}function p1(){return l0(),Bhn(iM(DSt,1),w1n,522,0,[lSt,bSt])}function m1(){return _7(),Bhn(iM(HSt,1),w1n,528,0,[NSt,LSt])}function v1(){return Wtn(),Bhn(iM(Fgt,1),w1n,488,0,[Agt,Igt])}function y1(){return r9(),Bhn(iM(SAt,1),w1n,491,0,[vAt,yAt])}function k1(){return ehn(),Bhn(iM(LAt,1),w1n,492,0,[CAt,OAt])}function E1(){return t3(),Bhn(iM(XCt,1),w1n,433,0,[_Ct,RCt])}function M1(){return Ttn(),Bhn(iM(hOt,1),w1n,434,0,[iOt,rOt])}function j1(){return h0(),Bhn(iM(VSt,1),w1n,465,0,[BSt,GSt])}function T1(){return K7(),Bhn(iM(aLt,1),w1n,438,0,[YAt,JAt])}function S1(){return zhn(),Bhn(iM(VLt,1),w1n,437,0,[zLt,qLt])}function P1(){return SH(),Bhn(iM(E_t,1),w1n,347,0,[d_t,w_t])}function C1(n,t,e,i){return e>=0?n.Uh(t,e,i):n.Ch(null,e,i)}function O1(n){return 0==n.b.b?n.a.sf():ZH(n.b)}function I1(n){if(5!=n.p)throw uv(new Dv);return wW(n.f)}function A1(n){if(5!=n.p)throw uv(new Dv);return wW(n.k)}function L1(n){return DA(n.a)===DA((Cun(),WFt))&&nXn(n),n.a}function N1(n,t){n.b=t,n.c>0&&n.b>0&&(n.g=gz(n.c,n.b,n.a))}function D1(n,t){n.c=t,n.c>0&&n.b>0&&(n.g=gz(n.c,n.b,n.a))}function x1(n,t){Yb(this,new yI(n.a,n.b)),Zb(this,cU(t))}function $1(){Tk.call(this,new oS(crn(12))),Rx(!0),this.a=2}function R1(n,t,e){XYn(),Xm.call(this,n),this.b=t,this.a=e}function _1(n,t,e){JN(),Fm.call(this,t),this.a=n,this.b=e}function K1(n){var t;t=n.c.d.b,n.b=t,n.a=n.c.d,t.a=n.c.d.b=n}function F1(n){return 0==n.b?null:(y_(0!=n.b),Irn(n,n.a.a))}function B1(n,t){return null==t?NA(Rz(n.f,null)):_P(n.i,t)}function G1(n,t,e,i,r){return new OIn(n,(xtn(),put),t,e,i,r)}function H1(n,t){return z5(t),Vcn(n,Pnn(VGt,W1n,28,t,15,1),t)}function U1(n,t){return fZ(n,"set1"),fZ(t,"set2"),new GT(n,t)}function q1(n,t){var e=xat[n.charCodeAt(0)];return null==e?n:e}function z1(n,t){var e;return wVn(n,t,e=new B),e.d}function W1(n,t,e,i){var r;r=new OK,t.a[e.g]=r,BX(n.b,i,r)}function X1(n,t){return VK(KR(Icn(n.f,t)),n.f.d)}function V1(n){Ian(n.a),qN(n.a),Opn(new Ow(n.a))}function Q1(n,t){tBn(n,!0),Trn(n.e.Rf(),new NB(n,!0,t))}function J1(n,t){return hZ(),n==x0(fOn(t))||n==x0(dOn(t))}function Y1(n,t){return Zrn(),aU(cOn(t,(XUn(),OCt)),17).a==n}function Z1(n){return 0|Math.max(Math.min(n,pZn),-2147483648)}function n0(n){this.a=aU(WV(n),277),this.b=(uZ(),new g$(n))}function t0(n,t,e){this.i=new Jm,this.b=n,this.g=t,this.a=e}function e0(n,t,e){this.a=new Jm,this.e=n,this.f=t,this.c=e}function i0(n,t,e){this.c=new Jm,this.e=n,this.f=t,this.b=e}function r0(n){FK.call(this),Xrn(this),this.a=n,this.c=!0}function c0(n){function t(){}return t.prototype=n||{},new t}function a0(n){if(n.Ae())return null;var t=n.n;return oZn[t]}function o0(n){return n.Db>>16!=3?null:aU(n.Cb,27)}function u0(n){return n.Db>>16!=9?null:aU(n.Cb,27)}function s0(n){return n.Db>>16!=6?null:aU(n.Cb,74)}function h0(){h0=T,BSt=new UO(q2n,0),GSt=new UO(z2n,1)}function f0(){f0=T,sSt=new CO(z2n,0),uSt=new CO(q2n,1)}function l0(){l0=T,lSt=new OO(i3n,0),bSt=new OO("UP",1)}function b0(){b0=T,Oat=Obn((Fk(),Bhn(iM(Iat,1),w1n,549,0,[Pat])))}function d0(n){var t;return Nfn(t=new Nj(crn(n.length)),n),t}function w0(n,t){return n.b+=t.b,n.c+=t.c,n.d+=t.d,n.a+=t.a,n}function g0(n,t){return!!Shn(n,t)&&(han(n),!0)}function p0(n,t){if(null==t)throw uv(new xv);return kvn(n,t)}function m0(n,t){var e;e=n.q.getHours(),n.q.setDate(t),Pqn(n,e)}function v0(n,t,e){var i;(i=n.Ih(t))>=0?n.bi(i,e):hRn(n,t,e)}function y0(n,t){var e;return(e=n.Ih(t))>=0?n.Wh(e):LNn(n,t)}function k0(n,t){var e;for(WV(t),e=n.a;e;e=e.c)t.Yd(e.g,e.i)}function E0(n,t,e){var i;i=Bfn(n,t,e),n.b=new Non(i.c.length)}function M0(n,t,e){W0(),n&&pJ(PKt,n,t),n&&pJ(SKt,n,e)}function j0(n,t){return BB(),H$(),aU(t.a,17).a0}function C0(n){var t;return t=n.d,t=n.bj(n.f),Znn(n,t),t.Ob()}function O0(n,t){var e;return qCn(e=new rz(t),n),new JF(e)}function I0(n){if(0!=n.p)throw uv(new Dv);return FA(n.f,0)}function A0(n){if(0!=n.p)throw uv(new Dv);return FA(n.k,0)}function L0(n){return n.Db>>16!=7?null:aU(n.Cb,241)}function N0(n){return n.Db>>16!=6?null:aU(n.Cb,241)}function D0(n){return n.Db>>16!=7?null:aU(n.Cb,167)}function x0(n){return n.Db>>16!=11?null:aU(n.Cb,27)}function $0(n){return n.Db>>16!=17?null:aU(n.Cb,29)}function R0(n){return n.Db>>16!=3?null:aU(n.Cb,155)}function _0(n){return pgn(n),VJ(n,new yw(new ny))}function K0(n,t){var e=n.a=n.a||[];return e[t]||(e[t]=n.ve(t))}function F0(n,t){var e;e=n.q.getHours(),n.q.setMonth(t),Pqn(n,e)}function B0(n,t){Ix(this),this.f=t,this.g=n,$Y(this),this.je()}function G0(n,t){this.a=n,this.c=ND(this.a),this.b=new HZ(t)}function H0(n,t,e){this.a=t,this.c=n,this.b=(WV(e),new JF(e))}function U0(n,t,e){this.a=t,this.c=n,this.b=(WV(e),new JF(e))}function q0(n){this.a=n,this.b=Pnn(WTt,qZn,2043,n.e.length,0,2)}function z0(){this.a=new UL,this.e=new ny,this.g=0,this.i=0}function W0(){W0=T,PKt=new Qm,SKt=new Qm,wA(tut,new fs)}function X0(){X0=T,ETt=lW(new lJ,(aOn(),Tlt),(qYn(),Cdt))}function V0(){V0=T,MTt=lW(new lJ,(aOn(),Tlt),(qYn(),Cdt))}function Q0(){Q0=T,TTt=lW(new lJ,(aOn(),Tlt),(qYn(),Cdt))}function J0(){J0=T,ZTt=Oq(new lJ,(aOn(),Tlt),(qYn(),ndt))}function Y0(){Y0=T,rSt=Oq(new lJ,(aOn(),Tlt),(qYn(),ndt))}function Z0(){Z0=T,oSt=Oq(new lJ,(aOn(),Tlt),(qYn(),ndt))}function n2(){n2=T,gSt=Oq(new lJ,(aOn(),Tlt),(qYn(),ndt))}function t2(n,t,e,i,r,c){return new $en(n.e,t,n.Lj(),e,i,r,c)}function e2(n,t,e){return null==t?zAn(n.f,null,e):mgn(n.i,t,e)}function i2(n,t){n.c&&gen(n.c.g,n),n.c=t,n.c&&mx(n.c.g,n)}function r2(n,t){n.c&&gen(n.c.a,n),n.c=t,n.c&&mx(n.c.a,n)}function c2(n,t){n.i&&gen(n.i.j,n),n.i=t,n.i&&mx(n.i.j,n)}function a2(n,t){n.d&&gen(n.d.e,n),n.d=t,n.d&&mx(n.d.e,n)}function o2(n,t){n.a&&gen(n.a.k,n),n.a=t,n.a&&mx(n.a.k,n)}function u2(n,t){n.b&&gen(n.b.f,n),n.b=t,n.b&&mx(n.b.f,n)}function s2(n,t){bQ(n,n.b,n.c),aU(n.b.b,68),t&&aU(t.b,68).b}function h2(n,t){return agn(aU(n.c,65).c.e.b,aU(t.c,65).c.e.b)}function f2(n,t){return agn(aU(n.c,65).c.e.a,aU(t.c,65).c.e.a)}function l2(n){return ybn(),H$(),0!=aU(n.a,86).d.e}function b2(n,t){RD(n.Cb,184)&&(aU(n.Cb,184).tb=null),Hon(n,t)}function d2(n,t){RD(n.Cb,90)&&vLn(v9(aU(n.Cb,90)),4),Hon(n,t)}function w2(n,t){Tgn(n,t),RD(n.Cb,90)&&vLn(v9(aU(n.Cb,90)),2)}function g2(n,t){null!=t.c&&wQ(n,new XV(t.c))}function p2(n){var t;return pj(),Brn(t=new nv,n),t}function m2(n){var t;return pj(),Brn(t=new nv,n),t}function v2(n){for(var t;;)if(t=n.Pb(),!n.Ob())return t}function y2(n,t,e){return mx(n.a,(kJ(),PEn(t,e),new RT(t,e))),n}function k2(n,t){return TP(),nin(t)?new Sq(t,n):new CA(t,n)}function E2(n){return iGn(),bdn(n,0)>=0?xmn(n):uV(xmn(yen(n)))}function M2(n){var t;return t=aU(ZU(n.b),9),new YF(n.a,t,n.c)}function j2(n,t){var e;return(e=aU(Udn(YY(n.a),t),16))?e.gc():0}function T2(n,t,e){var i;uwn(t,e,n.c.length),i=e-t,Yj(n.c,t,i)}function S2(n,t,e){uwn(t,e,n.gc()),this.c=n,this.a=t,this.b=e-t}function P2(n){this.c=new hS,this.b=n.b,this.d=n.c,this.a=n.a}function C2(n){this.a=t.Math.cos(n),this.b=t.Math.sin(n)}function O2(n,t,e,i){this.c=n,this.d=i,o2(this,t),u2(this,e)}function I2(n,t){Mk.call(this,new oS(crn(n))),gan(t,UZn),this.a=t}function A2(n,t,e){return new OIn(n,(xtn(),gut),null,!1,t,e)}function L2(n,t,e){return new OIn(n,(xtn(),mut),t,e,null,!1)}function N2(){return vbn(),Bhn(iM(xut,1),w1n,108,0,[Sut,Put,Cut])}function D2(){return Qen(),Bhn(iM(uht,1),w1n,472,0,[Rst,$st,xst])}function x2(){return $tn(),Bhn(iM(Dst,1),w1n,471,0,[Ost,Cst,Ist])}function $2(){return Qrn(),Bhn(iM(Pst,1),w1n,237,0,[Est,Mst,jst])}function R2(){return Ven(),Bhn(iM(Slt,1),w1n,391,0,[dlt,blt,wlt])}function _2(){return don(),Bhn(iM(xwt,1),w1n,372,0,[jwt,Mwt,Ewt])}function K2(){return Ean(),Bhn(iM(rgt,1),w1n,322,0,[Jwt,Qwt,Ywt])}function F2(){return ean(),Bhn(iM(fgt,1),w1n,351,0,[tgt,igt,egt])}function B2(){return Tfn(),Bhn(iM(Cgt,1),w1n,460,0,[mgt,pgt,vgt])}function G2(){return thn(),Bhn(iM(gpt,1),w1n,299,0,[spt,hpt,upt])}function H2(){return Jen(),Bhn(iM(ypt,1),w1n,311,0,[dpt,wpt,bpt])}function U2(){return Sdn(),Bhn(iM(wjt,1),w1n,390,0,[ajt,ojt,ujt])}function q2(){return ian(),Bhn(iM(nTt,1),w1n,463,0,[Xjt,zjt,Wjt])}function z2(){return tsn(),Bhn(iM(cTt,1),w1n,387,0,[Jjt,Yjt,Zjt])}function W2(){return jln(),Bhn(iM(hTt,1),w1n,349,0,[rTt,eTt,iTt])}function X2(){return mbn(),Bhn(iM(wTt,1),w1n,350,0,[oTt,uTt,sTt])}function V2(){return tan(),Bhn(iM(yTt,1),w1n,352,0,[dTt,lTt,bTt])}function Q2(){return qhn(),Bhn(iM(DTt,1),w1n,388,0,[mTt,vTt,pTt])}function J2(){return nan(),Bhn(iM(HTt,1),w1n,464,0,[_Tt,KTt,FTt])}function Y2(n){return Gfn(Bhn(iM(TNt,1),qZn,8,0,[n.i.n,n.n,n.a]))}function Z2(){return Tln(),Bhn(iM(xCt,1),w1n,392,0,[dPt,bPt,lPt])}function n3(){n3=T,BCt=lW(new lJ,(Sjn(),WSt),(CGn(),nPt))}function t3(){t3=T,_Ct=new VO("DFS",0),RCt=new VO("BFS",1)}function e3(n,t,e){var i;(i=new ia).b=t,i.a=e,++t.b,mx(n.d,i)}function i3(n,t,e){var i;VK(i=new nN(e.d),n),Egn(t,i.a,i.b)}function r3(n,t){wx(n,wW(M3(LW(t,24),W0n)),wW(M3(t,W0n)))}function c3(n,t){if(n<0||n>t)throw uv(new bE(u2n+n+s2n+t))}function a3(n,t){if(n<0||n>=t)throw uv(new bE(u2n+n+s2n+t))}function o3(n,t){if(n<0||n>=t)throw uv(new VE(u2n+n+s2n+t))}function u3(n,t){this.b=(ZQ(n),n),this.a=t&E0n?t:64|t|zZn}function s3(n){return pgn(n),oZ(),oZ(),mrn(n,Qot)}function h3(n,t,e){var i;return(i=azn(n,t,!1)).b<=t&&i.a<=e}function f3(){return ben(),Bhn(iM(IAt,1),w1n,439,0,[MAt,TAt,jAt])}function l3(){return Kgn(),Bhn(iM(mAt,1),w1n,394,0,[PIt,CIt,SIt])}function b3(){return Vmn(),Bhn(iM(bIt,1),w1n,445,0,[cIt,aIt,oIt])}function d3(){return Jkn(),Bhn(iM(OIt,1),w1n,456,0,[hIt,lIt,fIt])}function w3(){return pbn(),Bhn(iM(YOt,1),w1n,393,0,[oOt,uOt,sOt])}function g3(){return nsn(),Bhn(iM(uIt,1),w1n,300,0,[tIt,eIt,nIt])}function p3(){return Cdn(),Bhn(iM($$t,1),w1n,346,0,[C$t,P$t,O$t])}function m3(){return xwn(),Bhn(iM(zAt,1),w1n,444,0,[FAt,BAt,GAt])}function v3(){return Jrn(),Bhn(iM(h$t,1),w1n,278,0,[t$t,e$t,i$t])}function y3(){return Pdn(),Bhn(iM(g_t,1),w1n,280,0,[h_t,s_t,f_t])}function k3(n){return WV(n),RD(n,16)?new JF(aU(n,16)):eU(n.Kc())}function E3(n,t){return n&&n.equals?n.equals(t):DA(n)===DA(t)}function M3(n,t){return Msn(CW(_L(n)?Gsn(n):n,_L(t)?Gsn(t):t))}function j3(n,t){return Msn(OW(_L(n)?Gsn(n):n,_L(t)?Gsn(t):t))}function T3(n,t){return Msn(IW(_L(n)?Gsn(n):n,_L(t)?Gsn(t):t))}function S3(n,t){var e;return m_(!!(e=(ZQ(n),n).g)),ZQ(t),e(t)}function P3(n,t){var e,i;return i=$X(n,t),e=n.a.fd(i),new KT(n,e)}function C3(n){return n.Db>>16!=6?null:aU(VDn(n),241)}function O3(n){if(2!=n.p)throw uv(new Dv);return wW(n.f)&N1n}function I3(n){if(2!=n.p)throw uv(new Dv);return wW(n.k)&N1n}function A3(n){return y_(n.ai?1:0}function Q3(n,t){var e;return e=Een(t),aU(iQ(n.c,e),17).a}function J3(n,t,e){var i;i=n.d[t.p],n.d[t.p]=n.d[e.p],n.d[e.p]=i}function Y3(n,t,e){var i;n.n&&t&&e&&(i=new Yu,mx(n.e,i))}function Z3(n,t){if(RX(n.a,t),t.d)throw uv(new $k(w2n));t.d=n}function n4(n,t){this.a=new Jm,this.d=new Jm,this.f=n,this.c=t}function t4(){this.c=new qD,this.a=new w7,this.b=new vy,US()}function e4(){Whn(),this.b=new Qm,this.a=new Qm,this.c=new Jm}function i4(n,t,e){this.d=n,this.j=t,this.e=e,this.o=-1,this.p=3}function r4(n,t,e){this.d=n,this.k=t,this.f=e,this.o=-1,this.p=5}function c4(n,t,e,i,r,c){Kcn.call(this,n,t,e,i,r),c&&(this.o=-2)}function a4(n,t,e,i,r,c){Fcn.call(this,n,t,e,i,r),c&&(this.o=-2)}function o4(n,t,e,i,r,c){M9.call(this,n,t,e,i,r),c&&(this.o=-2)}function u4(n,t,e,i,r,c){Hcn.call(this,n,t,e,i,r),c&&(this.o=-2)}function s4(n,t,e,i,r,c){j9.call(this,n,t,e,i,r),c&&(this.o=-2)}function h4(n,t,e,i,r,c){Bcn.call(this,n,t,e,i,r),c&&(this.o=-2)}function f4(n,t,e,i,r,c){Gcn.call(this,n,t,e,i,r),c&&(this.o=-2)}function l4(n,t,e,i,r,c){T9.call(this,n,t,e,i,r),c&&(this.o=-2)}function b4(n,t,e,i){Fm.call(this,e),this.b=n,this.c=t,this.d=i}function d4(n,t){this.f=n,this.a=(A7(),vBt),this.c=vBt,this.b=t}function w4(n,t){this.g=n,this.d=(A7(),yBt),this.a=yBt,this.b=t}function g4(n,t){!n.c&&(n.c=new lsn(n,0)),Kzn(n.c,(aXn(),JBt),t)}function p4(n,t){return h$n(n,t,RD(t,102)&&!!(aU(t,19).Bb&T0n))}function m4(n,t){return eV(Ksn(n.q.getTime()),Ksn(t.q.getTime()))}function v4(n){return Nq(n.e.Rd().gc()*n.c.Rd().gc(),16,new ql(n))}function y4(n){return!(!n.u||0==q5(n.u.a).i||n.n&&vEn(n.n))}function k4(n){return!(!n.a||0==Oen(n.a.a).i||n.b&&yEn(n.b))}function E4(n,t){return 0==t?!!n.o&&0!=n.o.f:Wyn(n,t)}function M4(n,t,e){var i;return!!(i=aU(n.Zb().xc(t),16))&&i.Hc(e)}function j4(n,t,e){var i;return!!(i=aU(n.Zb().xc(t),16))&&i.Mc(e)}function T4(n,t){var e;return e=1-t,n.a[e]=kon(n.a[e],e),kon(n,t)}function S4(n,t){var e;return e=M3(n,I0n),j3(AW(t,32),e)}function P4(n,t,e){WV(n),gjn(new H0(new JF(n),t,e))}function C4(n,t,e){WV(n),pjn(new U0(new JF(n),t,e))}function O4(n,t,e,i,r,c){return Nsn(n,t,e,c),dwn(n,i),pwn(n,r),n}function I4(n,t,e,i){return n.a+=""+e1(null==t?PZn:ipn(t),e,i),n}function A4(n,t){this.a=n,Vd.call(this,n),c3(t,n.gc()),this.b=t}function L4(n){this.a=Pnn(bat,MZn,1,wfn(t.Math.max(8,n))<<1,5,1)}function N4(n){return aU(Myn(n,Pnn(wbt,n6n,10,n.c.length,0,1)),199)}function D4(n){return aU(Myn(n,Pnn(cbt,Z4n,18,n.c.length,0,1)),483)}function x4(n){return n.a?0==n.e.length?n.a.a:n.a.a+""+n.e:n.c}function $4(n){for(;n.d>0&&0==n.a[--n.d];);0==n.a[n.d++]&&(n.e=0)}function R4(n){return y_(n.b.b!=n.d.a),n.c=n.b=n.b.b,--n.a,n.c.c}function _4(n,t,e){n.a=t,n.c=e,n.b.a.$b(),KY(n.d),Uv(n.e.a.c,0)}function K4(n,t){var e;n.e=new bk,sD(e=GKn(t),n.c),kFn(n,e,0)}function F4(n,t,e,i){var r;(r=new gu).a=t,r.b=e,r.c=i,rq(n.a,r)}function B4(n,t,e,i){var r;(r=new gu).a=t,r.b=e,r.c=i,rq(n.b,r)}function G4(n,t,e){if(n<0||te)throw uv(new bE(XIn(n,t,e)))}function H4(n,t){if(n<0||n>=t)throw uv(new bE(kLn(n,t)));return n}function U4(n){if(!("stack"in n))try{throw n}catch(n){}return n}function q4(n){return VS(),RD(n.g,10)?aU(n.g,10):null}function z4(n){return!aY(n).dc()&&(uD(n,new d),!0)}function W4(n){var t;return _L(n)?-0==(t=n)?0:t:Gen(n)}function X4(n,t){return!!RD(t,44)&&oMn(n.a,aU(t,44))}function V4(n,t){return!!RD(t,44)&&oMn(n.a,aU(t,44))}function Q4(n,t){return!!RD(t,44)&&oMn(n.a,aU(t,44))}function J4(n){var t;return GQ(n),t=new x,Zj(n.a,new pw(t)),t}function Y4(){var n,t;return n=new nv,mx(bBt,t=n),t}function Z4(n){var t;return GQ(n),t=new $,Zj(n.a,new mw(t)),t}function n6(n,t){return n.a<=n.b&&(t.Dd(n.a++),!0)}function t6(n){bun.call(this,n,(xtn(),wut),null,!1,null,!1)}function e6(){e6=T,_ht=Obn((KS(),Bhn(iM(cft,1),w1n,489,0,[$ht])))}function i6(){i6=T,LTt=yJ(Ddn(1),Ddn(4)),ATt=yJ(Ddn(1),Ddn(2))}function r6(n,t){return new IH(t,FR(ND(t.e),n,n),(H$(),!0))}function c6(n){return new x7((gan(n,p1n),rrn(Ign(Ign(5,n),n/10|0))))}function a6(n){return Nq(n.e.Rd().gc()*n.c.Rd().gc(),273,new Ul(n))}function o6(n){return aU(Myn(n,Pnn(Obt,t6n,12,n.c.length,0,1)),2042)}function u6(n){return Y0(),!(p9(n)||!p9(n)&&n.c.i.c==n.d.i.c)}function s6(n,t){return Yrn(),aU(cOn(t,(XUn(),mCt)),17).a>=n.gc()}function h6(n,t){_Jn(t,n),AU(n.d),AU(aU(cOn(n,(EYn(),jEt)),214))}function f6(n,t){KJn(t,n),LU(n.d),LU(aU(cOn(n,(EYn(),jEt)),214))}function l6(n,t,e){n.d&&gen(n.d.e,n),n.d=t,n.d&&Gz(n.d.e,e,n)}function b6(n,t,e){return e.f.c.length>0?FX(n.a,t,e):FX(n.b,t,e)}function d6(n,t,e){var i;i=fyn();try{return jK(n,t,e)}finally{g8(i)}}function w6(n,t){var e,i;return i=null,(e=p0(n,t))&&(i=e.pe()),i}function g6(n,t){var e,i;return i=null,(e=p0(n,t))&&(i=e.se()),i}function p6(n,t){var e,i;return i=null,(e=ain(n,t))&&(i=e.se()),i}function m6(n,t){var e,i;return i=null,(e=p0(n,t))&&(i=aAn(e)),i}function v6(n,t,e){var i;return i=Evn(e),vGn(n.g,i,t),vGn(n.i,t,e),t}function y6(n,t,e){this.d=new Hg(this),this.e=n,this.i=t,this.f=e}function k6(n,t,e,i){this.e=null,this.c=n,this.d=t,this.a=e,this.b=i}function E6(n,t,e,i){OD(this),this.c=n,this.e=t,this.f=e,this.b=i}function M6(n,t,e,i){this.d=n,this.n=t,this.g=e,this.o=i,this.p=-1}function j6(n,t,e,i){return RD(e,59)?new Q$(n,t,e,i):new HW(n,t,e,i)}function T6(n){return RD(n,16)?aU(n,16).dc():!n.Kc().Ob()}function S6(n){if(n.e.g!=n.b)throw uv(new Rv);return!!n.c&&n.d>0}function P6(n){return y_(n.b!=n.d.c),n.c=n.b,n.b=n.b.a,++n.a,n.c.c}function C6(n,t){ZQ(t),aQ(n.a,n.c,t),n.c=n.c+1&n.a.length-1,VMn(n)}function O6(n,t){ZQ(t),n.b=n.b-1&n.a.length-1,aQ(n.a,n.b,t),VMn(n)}function I6(n){var t;t=n.Gh(),this.a=RD(t,71)?aU(t,71).Ii():t.Kc()}function A6(n){return new u3(zrn(aU(n.a.md(),16).gc(),n.a.ld()),16)}function L6(){L6=T,WAt=Obn((YS(),Bhn(iM(VAt,1),w1n,490,0,[qAt])))}function N6(){N6=T,QAt=Obn((ZS(),Bhn(iM(ZAt,1),w1n,558,0,[XAt])))}function D6(){D6=T,ULt=Obn((nP(),Bhn(iM(WLt,1),w1n,539,0,[GLt])))}function x6(){return Bvn(),Bhn(iM(rbt,1),w1n,389,0,[Zlt,Jlt,Qlt,Ylt])}function $6(){return xtn(),Bhn(iM(kut,1),w1n,304,0,[wut,gut,put,mut])}function R6(){return pkn(),Bhn(iM(jht,1),w1n,332,0,[vht,mht,yht,kht])}function _6(){return gkn(),Bhn(iM(Rht,1),w1n,406,0,[Aht,Iht,Lht,Nht])}function K6(){return nhn(),Bhn(iM(Eht,1),w1n,417,0,[wht,lht,bht,dht])}function F6(){return Uhn(),Bhn(iM(nbt,1),w1n,416,0,[Rlt,Flt,_lt,Klt])}function B6(){return Hhn(),Bhn(iM(gwt,1),w1n,421,0,[cwt,awt,owt,uwt])}function G6(){return Ghn(),Bhn(iM(rwt,1),w1n,371,0,[qdt,Hdt,Udt,Gdt])}function H6(){return Qkn(),Bhn(iM(Ejt,1),w1n,203,0,[bjt,djt,ljt,fjt])}function U6(){return vvn(),Bhn(iM(Ujt,1),w1n,284,0,[Rjt,$jt,_jt,Kjt])}function q6(n){return n.j==($Qn(),$Rt)&&L$(_Dn(n),mRt)}function z6(n,t){var e;i2(e=t.a,t.c.d),a2(e,t.d.d),Uun(e.a,n.n)}function W6(n,t){var e;return!(e=aU(rin(n.b,t),67))&&(e=new hS),e}function X6(n){return VS(),RD(n.g,154)?aU(n.g,154):null}function V6(n){n.a=null,n.e=null,Uv(n.b.c,0),Uv(n.f.c,0),n.c=null}function Q6(){Q6=T,mpt=new oO(G2n,0),vpt=new oO("TOP_LEFT",1)}function J6(){J6=T,QTt=new jO("UPPER",0),VTt=new jO("LOWER",1)}function Y6(n,t){return fx(new yI(t.e.a+t.f.a/2,t.e.b+t.f.b/2),n)}function Z6(n,t){return aU(v$(WW(aU(Q9(n.k,t),15).Oc(),Rwt)),113)}function n5(n,t){return aU(v$(XW(aU(Q9(n.k,t),15).Oc(),Rwt)),113)}function t5(){return Sjn(),Bhn(iM(JSt,1),w1n,405,0,[qSt,zSt,WSt,XSt])}function e5(){return gbn(),Bhn(iM(KCt,1),w1n,353,0,[DCt,LCt,NCt,ACt])}function i5(){return bMn(),Bhn(iM(iIt,1),w1n,354,0,[JOt,VOt,QOt,XOt])}function r5(){return Xmn(),Bhn(iM(o_t,1),w1n,386,0,[XRt,VRt,WRt,zRt])}function c5(){return Ojn(),Bhn(iM(W$t,1),w1n,291,0,[x$t,L$t,N$t,D$t])}function a5(){return _gn(),Bhn(iM(m$t,1),w1n,223,0,[s$t,o$t,a$t,u$t])}function o5(){return Hpn(),Bhn(iM(j_t,1),w1n,320,0,[k_t,m_t,y_t,v_t])}function u5(){return Mln(),Bhn(iM(N_t,1),w1n,415,0,[S_t,P_t,T_t,C_t])}function s5(n){return W0(),TX(PKt,n)?aU(iQ(PKt,n),341).Qg():null}function h5(n,t,e){return t<0?LNn(n,e):aU(e,69).wk().Bk(n,n.hi(),t)}function f5(n,t,e){var i;return i=Evn(e),vGn(n.j,i,t),pJ(n.k,t,e),t}function l5(n,t,e){var i;return i=Evn(e),vGn(n.d,i,t),pJ(n.e,t,e),t}function b5(n){var t;return dj(),t=new es,n&&ORn(t,n),t}function d5(n){var t;return t=n.aj(n.i),n.i>0&&HUn(n.g,0,t,0,n.i),t}function w5(n,t){var e;for(e=n.j.c.length;e>24}function v5(n){if(1!=n.p)throw uv(new Dv);return wW(n.k)<<24>>24}function y5(n){if(7!=n.p)throw uv(new Dv);return wW(n.k)<<16>>16}function k5(n){if(7!=n.p)throw uv(new Dv);return wW(n.f)<<16>>16}function E5(n,t){return 0==t.e||0==n.e?_ot:(fFn(),v_n(n,t))}function M5(n,t){return DA(t)===DA(n)?"(this Map)":null==t?PZn:ipn(t)}function j5(n,t,e){return xW(w_(NA(Rz(n.f,t))),w_(NA(Rz(n.f,e))))}function T5(n,t,e){var i;i=aU(iQ(n.g,e),60),mx(n.a.c,new WI(t,i))}function S5(n,t,e){n.i=0,n.e=0,t!=e&&(nln(n,t,e),Zfn(n,t,e))}function P5(n,t,e,i,r){mx(t,aLn(r,K$n(r,e,i))),IOn(n,r,t)}function C5(n,t,e,i,r){this.i=n,this.a=t,this.e=e,this.j=i,this.f=r}function O5(n,t){FZ.call(this),this.a=n,this.b=t,mx(this.a.b,this)}function I5(n){this.b=new Qm,this.c=new Qm,this.d=new Qm,this.a=n}function A5(n,t){var e;return e=new XE,n.Gd(e),e.a+="..",t.Hd(e),e.a}function L5(n,t){var e;for(e=t;e;)$R(n,e.i,e.j),e=x0(e);return n}function N5(n,t,e){var i;return i=Evn(e),pJ(n.b,i,t),pJ(n.c,t,e),t}function D5(n){var t;for(t=0;n.Ob();)n.Pb(),t=Ign(t,1);return rrn(t)}function x5(n,t){var e;return TP(),aIn(e=aU(n,69).vk(),t),e.xl(t)}function $5(n,t,e){if(e){var i=e.oe();n.a[t]=i(e)}else delete n.a[t]}function R5(n,t){var e;e=n.q.getHours(),n.q.setFullYear(t+z1n),Pqn(n,e)}function _5(n,t){return aU(null==t?NA(Rz(n.f,null)):_P(n.i,t),288)}function K5(n,t){return n==(qOn(),bbt)&&t==bbt?4:n==bbt||t==bbt?8:32}function F5(n,t,e){return rqn(n,t,e,RD(t,102)&&!!(aU(t,19).Bb&T0n))}function B5(n,t,e){return Nqn(n,t,e,RD(t,102)&&!!(aU(t,19).Bb&T0n))}function G5(n,t,e){return S$n(n,t,e,RD(t,102)&&!!(aU(t,19).Bb&T0n))}function H5(n){n.b!=n.c&&(n.a=Pnn(bat,MZn,1,8,5,1),n.b=0,n.c=0)}function U5(n){return y_(n.a=0&&n.a[e]===t[e];e--);return e<0}function d8(n){var t;return n?new rz(n):(Ron(t=new UL,n),t)}function w8(n,t){var e,i;i=!1;do{i|=e=kfn(n,t)}while(e);return i}function g8(n){n&&Sin((Gk(),Rat)),--Bat,n&&-1!=Hat&&(EL(Hat),Hat=-1)}function p8(n){rCn(),wx(this,wW(M3(LW(n,24),W0n)),wW(M3(n,W0n)))}function m8(){m8=T,Vut=Obn((_yn(),Bhn(iM(Yut,1),w1n,436,0,[Wut,zut])))}function v8(){v8=T,Zut=Obn((Uin(),Bhn(iM(gst,1),w1n,435,0,[Qut,Jut])))}function y8(){y8=T,pft=Obn((qin(),Bhn(iM(glt,1),w1n,432,0,[dft,wft])))}function k8(){k8=T,Ibt=Obn((Oun(),Bhn(iM(Nbt,1),w1n,517,0,[Cbt,Pbt])))}function E8(){E8=T,kpt=Obn((Q6(),Bhn(iM(Amt,1),w1n,429,0,[mpt,vpt])))}function M8(){M8=T,ggt=Obn((zin(),Bhn(iM(ygt,1),w1n,428,0,[bgt,dgt])))}function j8(){j8=T,Ngt=Obn((Wtn(),Bhn(iM(Fgt,1),w1n,488,0,[Agt,Igt])))}function T8(){T8=T,qjt=Obn((Yen(),Bhn(iM(Vjt,1),w1n,430,0,[Gjt,Hjt])))}function S8(){S8=T,YTt=Obn((J6(),Bhn(iM(iSt,1),w1n,531,0,[QTt,VTt])))}function P8(){P8=T,Vwt=Obn((F7(),Bhn(iM(Zwt,1),w1n,431,0,[zwt,Wwt])))}function C8(){C8=T,FCt=Obn((t3(),Bhn(iM(XCt,1),w1n,433,0,[_Ct,RCt])))}function O8(){O8=T,VCt=Obn((won(),Bhn(iM(tOt,1),w1n,501,0,[zCt,WCt])))}function I8(){I8=T,fSt=Obn((f0(),Bhn(iM(dSt,1),w1n,523,0,[sSt,uSt])))}function A8(){A8=T,wSt=Obn((l0(),Bhn(iM(DSt,1),w1n,522,0,[lSt,bSt])))}function L8(){L8=T,xSt=Obn((_7(),Bhn(iM(HSt,1),w1n,528,0,[NSt,LSt])))}function N8(){N8=T,USt=Obn((h0(),Bhn(iM(VSt,1),w1n,465,0,[BSt,GSt])))}function D8(){D8=T,aOt=Obn((Ttn(),Bhn(iM(hOt,1),w1n,434,0,[iOt,rOt])))}function x8(){x8=T,EAt=Obn((r9(),Bhn(iM(SAt,1),w1n,491,0,[vAt,yAt])))}function $8(){$8=T,AAt=Obn((ehn(),Bhn(iM(LAt,1),w1n,492,0,[CAt,OAt])))}function R8(){R8=T,nLt=Obn((K7(),Bhn(iM(aLt,1),w1n,438,0,[YAt,JAt])))}function _8(){_8=T,XLt=Obn((zhn(),Bhn(iM(VLt,1),w1n,437,0,[zLt,qLt])))}function K8(){K8=T,p_t=Obn((SH(),Bhn(iM(E_t,1),w1n,347,0,[d_t,w_t])))}function F8(){return Dwn(),Bhn(iM(r$t,1),w1n,88,0,[Jxt,Qxt,Vxt,Xxt,Yxt])}function B8(){return $Qn(),Bhn(iM(QRt,1),q4n,64,0,[RRt,vRt,mRt,$Rt,_Rt])}function G8(n,t,e){return aU(null==t?zAn(n.f,null,e):mgn(n.i,t,e),288)}function H8(n){return(n.k==(qOn(),bbt)||n.k==hbt)&&pR(n,(GYn(),Lpt))}function U8(n){return n.c&&n.d?q3(n.c)+"->"+q3(n.d):"e_"+D$(n)}function q8(n,t){var e,i;for(ZQ(t),i=n.Kc();i.Ob();)e=i.Pb(),t.Cd(e)}function z8(n,t){var e;pZ(e=new _k,"x",t.a),pZ(e,"y",t.b),wQ(n,e)}function W8(n,t){var e;pZ(e=new _k,"x",t.a),pZ(e,"y",t.b),wQ(n,e)}function X8(n,t){var e;for(e=t;e;)$R(n,-e.i,-e.j),e=x0(e);return n}function V8(n,t){var e,i;for(e=t,i=0;e>0;)i+=n.a[e],e-=e&-e;return i}function Q8(n,t,e){var i;return a3(t,n.c.length),i=n.c[t],n.c[t]=e,i}function J8(n,t,e){n.a.c.length=0,oXn(n,t,e),0==n.a.c.length||wHn(n,t)}function Y8(n){n.i=0,RP(n.b,null),RP(n.c,null),n.a=null,n.e=null,++n.g}function Z8(){Z8=T,Aut=!0,Out=!1,Iut=!1,Nut=!1,Lut=!1}function n9(n){Z8(),Aut||(this.c=n,this.e=!0,this.a=new Jm)}function t9(n,t){this.c=0,this.b=t,tL.call(this,n,17493),this.a=this.c}function e9(n){AYn(),bv(this),this.a=new hS,Iln(this,n),rq(this.a,n)}function i9(){PN(this),this.b=new yI(y0n,y0n),this.a=new yI(k0n,k0n)}function r9(){r9=T,vAt=new cI(D6n,0),yAt=new cI("TARGET_WIDTH",1)}function c9(n,t){return(pgn(n),Xj(new sz(n,new ten(t,n.a)))).Bd($ut)}function a9(){return aOn(),Bhn(iM(Ilt,1),w1n,367,0,[klt,Elt,Mlt,jlt,Tlt])}function o9(){return dPn(),Bhn(iM(Twt,1),w1n,375,0,[lwt,dwt,wwt,bwt,fwt])}function u9(){return mvn(),Bhn(iM(wgt,1),w1n,348,0,[ogt,agt,sgt,hgt,ugt])}function s9(){return wkn(),Bhn(iM(Djt,1),w1n,323,0,[kjt,mjt,vjt,pjt,yjt])}function h9(){return Gpn(),Bhn(iM(rjt,1),w1n,171,0,[Imt,Smt,Pmt,Cmt,Omt])}function f9(){return qPn(),Bhn(iM(cOt,1),w1n,368,0,[ZCt,QCt,nOt,JCt,YCt])}function l9(){return _Rn(),Bhn(iM(HAt,1),w1n,373,0,[DAt,NAt,$At,xAt,RAt])}function b9(){return wIn(),Bhn(iM(HLt,1),w1n,324,0,[tLt,eLt,cLt,iLt,rLt])}function d9(){return xyn(),Bhn(iM(yNt,1),w1n,170,0,[uNt,oNt,cNt,sNt,aNt])}function w9(){return zyn(),Bhn(iM(uRt,1),w1n,256,0,[J$t,Z$t,V$t,Q$t,Y$t])}function g9(n){return UE(),function(){return d6(n,this,arguments)}}function p9(n){return!(!n.c||!n.d||!n.c.i||n.c.i!=n.d.i)}function m9(n,t){return!!RD(t,143)&&gF(n.c,aU(t,143).c)}function v9(n){return n.t||(n.t=new Lm(n),Lwn(new Xk(n),0,n.t)),n.t}function y9(n){this.b=n,Nx.call(this,n),this.a=aU(Isn(this.b.a,4),129)}function k9(n){this.b=n,Y$.call(this,n),this.a=aU(Isn(this.b.a,4),129)}function E9(n,t,e,i,r){f7.call(this,t,i,r),this.c=n,this.b=e}function M9(n,t,e,i,r){i4.call(this,t,i,r),this.c=n,this.a=e}function j9(n,t,e,i,r){r4.call(this,t,i,r),this.c=n,this.a=e}function T9(n,t,e,i,r){f7.call(this,t,i,r),this.c=n,this.a=e}function S9(n,t){return aU(rin(n.d,t),23)||aU(rin(n.e,t),23)}function P9(n,t){var e,i;return e=t.ld(),!!(i=n.Fe(e))&&CJ(i.e,t.md())}function C9(n,t){var e;return new RT(e=t.ld(),n.e.pc(e,aU(t.md(),16)))}function O9(n,t){var e;return null==(e=n.a.get(t))?Pnn(bat,MZn,1,0,5,1):e}function I9(n){var t;return t=n.length,gF(j0n.substr(j0n.length-t,t),n)}function A9(n){if(uxn(n))return n.c=n.a,n.a.Pb();throw uv(new Kv)}function L9(n,t){return 0==t||0==n.e?n:t>0?yKn(n,t):evn(n,-t)}function N9(n,t){return 0==t||0==n.e?n:t>0?evn(n,t):yKn(n,-t)}function D9(n){DP.call(this,null==n?PZn:ipn(n),RD(n,82)?aU(n,82):null)}function x9(n){var t;return n.c||RD(t=n.r,90)&&(n.c=aU(t,29)),n.c}function $9(n){var t;return qsn(t=new BZ,n),mfn(t,(EYn(),fEt),null),t}function R9(n){var t,e;return t=n.c.i,e=n.d.i,t.k==(qOn(),hbt)&&e.k==hbt}function _9(n){return wD(n&s0n,n>>22&s0n,n<0?h0n:0)}function K9(n){var t,e,i;for(e=0,i=(t=n).length;e=0?n.Lh(i,e,!0):QNn(n,t,e)}function G9(n,t,e){return agn(fx(Lyn(n),ND(t.b)),fx(Lyn(n),ND(e.b)))}function H9(n,t,e){return agn(fx(Lyn(n),ND(t.e)),fx(Lyn(n),ND(e.e)))}function U9(n,e){return t.Math.min(rtn(e.a,n.d.d.c),rtn(e.b,n.d.d.c))}function q9(n,t){n._i(n.i+1),vx(n,n.i,n.Zi(n.i,t)),n.Mi(n.i++,t),n.Ni()}function z9(n){var t,e;++n.j,t=n.g,e=n.i,n.g=null,n.i=0,n.Oi(e,t),n.Ni()}function W9(n,t,e){var i;Dun(i=new BD(n.a),n.a.a),zAn(i.f,t,e),n.a.a=i}function X9(n,t,e,i){var r;for(r=0;rt)throw uv(new bE(tLn(n,t,"index")));return n}function t7(n,t){var e;return a3(t,n.c.length),e=n.c[t],Yj(n.c,t,1),e}function e7(n,t){var e,i;return ZQ(n),e=n,ZQ(t),e==(i=t)?0:et.p?-1:0}function M7(n){var t;return n.a||RD(t=n.r,156)&&(n.a=aU(t,156)),n.a}function j7(n,t,e){return++n.e,--n.f,aU(n.d[t].gd(e),136).md()}function T7(n){var t;return t=n.ld(),VH(aU(n.md(),16).Nc(),new Wl(t))}function S7(n,t){return!!TX(n.a,t)&&(a7(n.a,t),!0)}function P7(n,t,e){return H4(t,n.e.Rd().gc()),H4(e,n.c.Rd().gc()),n.a[t][e]}function C7(n,t,e){this.a=n,this.b=t,this.c=e,mx(n.t,this),mx(t.i,this)}function O7(n,t,e,i){this.f=n,this.e=t,this.d=e,this.b=i,this.c=i?i.d:null}function I7(){this.b=new hS,this.a=new hS,this.b=new hS,this.a=new hS}function A7(){var n,t;A7=T,pj(),t=new Gv,vBt=t,n=new Wy,yBt=n}function L7(n){return pgn(n),new P_(n,new hU(n,n.a.e,4|n.a.d))}function N7(n){var t;for(GQ(n),t=0;n.a.Bd(new hn);)t=Ign(t,1);return t}function D7(n,t){return ZQ(t),n.c=0,"Initial capacity must not be negative")}function $7(){$7=T,ENt=new Sm("org.eclipse.elk.labels.labelManager")}function R7(){R7=T,Bdt=new aK("separateLayerConnections",(Ghn(),qdt))}function _7(){_7=T,NSt=new HO("REGULAR",0),LSt=new HO("CRITICAL",1)}function K7(){K7=T,YAt=new hI("FIXED",0),JAt=new hI("CENTER_NODE",1)}function F7(){F7=T,zwt=new WC("QUADRATIC",0),Wwt=new WC("SCANLINE",1)}function B7(){B7=T,ngt=Obn((Ean(),Bhn(iM(rgt,1),w1n,322,0,[Jwt,Qwt,Ywt])))}function G7(){G7=T,cgt=Obn((ean(),Bhn(iM(fgt,1),w1n,351,0,[tgt,igt,egt])))}function H7(){H7=T,Swt=Obn((don(),Bhn(iM(xwt,1),w1n,372,0,[jwt,Mwt,Ewt])))}function U7(){U7=T,kgt=Obn((Tfn(),Bhn(iM(Cgt,1),w1n,460,0,[mgt,pgt,vgt])))}function q7(){q7=T,lpt=Obn((thn(),Bhn(iM(gpt,1),w1n,299,0,[spt,hpt,upt])))}function z7(){z7=T,ppt=Obn((Jen(),Bhn(iM(ypt,1),w1n,311,0,[dpt,wpt,bpt])))}function W7(){W7=T,hjt=Obn((Sdn(),Bhn(iM(wjt,1),w1n,390,0,[ajt,ojt,ujt])))}function X7(){X7=T,tTt=Obn((tsn(),Bhn(iM(cTt,1),w1n,387,0,[Jjt,Yjt,Zjt])))}function V7(){V7=T,aTt=Obn((jln(),Bhn(iM(hTt,1),w1n,349,0,[rTt,eTt,iTt])))}function Q7(){Q7=T,Qjt=Obn((ian(),Bhn(iM(nTt,1),w1n,463,0,[Xjt,zjt,Wjt])))}function J7(){J7=T,fTt=Obn((mbn(),Bhn(iM(wTt,1),w1n,350,0,[oTt,uTt,sTt])))}function Y7(){Y7=T,gTt=Obn((tan(),Bhn(iM(yTt,1),w1n,352,0,[dTt,lTt,bTt])))}function Z7(){Z7=T,kTt=Obn((qhn(),Bhn(iM(DTt,1),w1n,388,0,[mTt,vTt,pTt])))}function nnn(){nnn=T,gPt=Obn((Tln(),Bhn(iM(xCt,1),w1n,392,0,[dPt,bPt,lPt])))}function tnn(){tnn=T,fOt=Obn((pbn(),Bhn(iM(YOt,1),w1n,393,0,[oOt,uOt,sOt])))}function enn(){enn=T,rIt=Obn((nsn(),Bhn(iM(uIt,1),w1n,300,0,[tIt,eIt,nIt])))}function inn(){inn=T,sIt=Obn((Vmn(),Bhn(iM(bIt,1),w1n,445,0,[cIt,aIt,oIt])))}function rnn(){rnn=T,dIt=Obn((Jkn(),Bhn(iM(OIt,1),w1n,456,0,[hIt,lIt,fIt])))}function cnn(){cnn=T,IIt=Obn((Kgn(),Bhn(iM(mAt,1),w1n,394,0,[PIt,CIt,SIt])))}function ann(){ann=T,PAt=Obn((ben(),Bhn(iM(IAt,1),w1n,439,0,[MAt,TAt,jAt])))}function onn(){onn=T,GTt=Obn((nan(),Bhn(iM(HTt,1),w1n,464,0,[_Tt,KTt,FTt])))}function unn(){unn=T,Nst=Obn(($tn(),Bhn(iM(Dst,1),w1n,471,0,[Ost,Cst,Ist])))}function snn(){snn=T,Sst=Obn((Qrn(),Bhn(iM(Pst,1),w1n,237,0,[Est,Mst,jst])))}function hnn(){hnn=T,Kst=Obn((Qen(),Bhn(iM(uht,1),w1n,472,0,[Rst,$st,xst])))}function fnn(){fnn=T,Dut=Obn((vbn(),Bhn(iM(xut,1),w1n,108,0,[Sut,Put,Cut])))}function lnn(){lnn=T,plt=Obn((Ven(),Bhn(iM(Slt,1),w1n,391,0,[dlt,blt,wlt])))}function bnn(){bnn=T,A$t=Obn((Cdn(),Bhn(iM($$t,1),w1n,346,0,[C$t,P$t,O$t])))}function dnn(){dnn=T,UAt=Obn((xwn(),Bhn(iM(zAt,1),w1n,444,0,[FAt,BAt,GAt])))}function wnn(){wnn=T,c$t=Obn((Jrn(),Bhn(iM(h$t,1),w1n,278,0,[t$t,e$t,i$t])))}function gnn(){gnn=T,b_t=Obn((Pdn(),Bhn(iM(g_t,1),w1n,280,0,[h_t,s_t,f_t])))}function pnn(n,t){return!n.o&&(n.o=new htn((ZJn(),U_t),EKt,n,0)),vmn(n.o,t)}function mnn(n,t){var e;n.C&&((e=aU(OJ(n.b,t),127).n).d=n.C.d,e.a=n.C.a)}function vnn(n){var t,e,i,r;r=n.d,t=n.a,e=n.b,i=n.c,n.d=e,n.a=i,n.b=r,n.c=t}function ynn(n){return!n.g&&(n.g=new ws),!n.g.b&&(n.g.b=new Cm(n)),n.g.b}function knn(n){return!n.g&&(n.g=new ws),!n.g.c&&(n.g.c=new Am(n)),n.g.c}function Enn(n){return!n.g&&(n.g=new ws),!n.g.d&&(n.g.d=new Om(n)),n.g.d}function Mnn(n){return!n.g&&(n.g=new ws),!n.g.a&&(n.g.a=new Im(n)),n.g.a}function jnn(n,t,e,i){return e&&(i=e.Rh(t,nmn(e.Dh(),n.c.uk()),null,i)),i}function Tnn(n,t,e,i){return e&&(i=e.Th(t,nmn(e.Dh(),n.c.uk()),null,i)),i}function Snn(n,t,e,i){var r;return $Un(r=Pnn(VGt,W1n,28,t+1,15,1),n,t,e,i),r}function Pnn(n,t,e,i,r,c){var a;return a=TMn(r,i),10!=r&&Bhn(iM(n,c),t,e,r,a),a}function Cnn(n,t,e){var i,r;for(r=new Jsn(t,n),i=0;ie||t=0?n.Lh(e,!0,!0):QNn(n,t,!0)}function mtn(n,t,e){var i;return i=Bfn(n,t,e),n.b=new Non(i.c.length),JKn(n,i)}function vtn(n){if(n.b<=0)throw uv(new Kv);return--n.b,n.a-=n.c.c,Ddn(n.a)}function ytn(n){var t;if(!n.a)throw uv(new MY);return t=n.a,n.a=x0(n.a),t}function ktn(n){for(;!n.a;)if(!vF(n.c,new vw(n)))return!1;return!0}function Etn(n){return WV(n),RD(n,204)?aU(n,204):new ob(n)}function Mtn(n){jtn(),aU(n.of((UYn(),fxt)),181).Fc((nNn(),bRt)),n.qf(hxt,null)}function jtn(){jtn=T,ZLt=new hu,tNt=new fu,nNt=xln((UYn(),hxt),ZLt,HDt,tNt)}function Ttn(){Ttn=T,iOt=new YO("LEAF_NUMBER",0),rOt=new YO("NODE_SIZE",1)}function Stn(n){n.a=Pnn(VGt,W1n,28,n.b+1,15,1),n.c=Pnn(VGt,W1n,28,n.b,15,1),n.d=0}function Ptn(n,t){n.a.Ne(t.d,n.b)>0&&(mx(n.c,new lU(t.c,t.d,n.d)),n.b=t.d)}function Ctn(n,t){if(null==n.g||t>=n.i)throw uv(new wL(t,n.i));return n.g[t]}function Otn(n,t,e){if(dln(n,e),null!=e&&!n.fk(e))throw uv(new Av);return e}function Itn(n,t){return 10!=yin(t)&&Bhn(kbn(t),t.Sm,t.__elementTypeId$,yin(t),n),n}function Atn(n,t,e,i){oZ(),i=i||Vot,eLn(n.slice(t,e),n,t,e,-t,i)}function Ltn(n,t,e,i,r){return t<0?QNn(n,e,i):aU(e,69).wk().yk(n,n.hi(),t,i,r)}function Ntn(n,t){return agn(aE(w_(cOn(n,(GYn(),fmt)))),aE(w_(cOn(t,fmt))))}function Dtn(){Dtn=T,yut=Obn((xtn(),Bhn(iM(kut,1),w1n,304,0,[wut,gut,put,mut])))}function xtn(){xtn=T,wut=new HP("All",0),gut=new jN,put=new TD,mut=new MN}function $tn(){$tn=T,Ost=new rC(q2n,0),Cst=new rC(G2n,1),Ist=new rC(z2n,2)}function Rtn(){Rtn=T,Zqn(),aGt=y0n,cGt=k0n,uGt=new xd(y0n),oGt=new xd(k0n)}function _tn(){_tn=T,pht=Obn((nhn(),Bhn(iM(Eht,1),w1n,417,0,[wht,lht,bht,dht])))}function Ktn(){Ktn=T,xht=Obn((gkn(),Bhn(iM(Rht,1),w1n,406,0,[Aht,Iht,Lht,Nht])))}function Ftn(){Ftn=T,Mht=Obn((pkn(),Bhn(iM(jht,1),w1n,332,0,[vht,mht,yht,kht])))}function Btn(){Btn=T,tbt=Obn((Bvn(),Bhn(iM(rbt,1),w1n,389,0,[Zlt,Jlt,Qlt,Ylt])))}function Gtn(){Gtn=T,Glt=Obn((Uhn(),Bhn(iM(nbt,1),w1n,416,0,[Rlt,Flt,_lt,Klt])))}function Htn(){Htn=T,hwt=Obn((Hhn(),Bhn(iM(gwt,1),w1n,421,0,[cwt,awt,owt,uwt])))}function Utn(){Utn=T,Wdt=Obn((Ghn(),Bhn(iM(rwt,1),w1n,371,0,[qdt,Hdt,Udt,Gdt])))}function qtn(){qtn=T,gjt=Obn((Qkn(),Bhn(iM(Ejt,1),w1n,203,0,[bjt,djt,ljt,fjt])))}function ztn(){ztn=T,Bjt=Obn((vvn(),Bhn(iM(Ujt,1),w1n,284,0,[Rjt,$jt,_jt,Kjt])))}function Wtn(){Wtn=T,Agt=new tO(H4n,0),Igt=new tO("IMPROVE_STRAIGHTNESS",1)}function Xtn(n,t){var e,i;return i=t/n.c.Rd().gc()|0,e=t%n.c.Rd().gc(),P7(n,i,e)}function Vtn(n){var t;if(n.nl())for(t=n.i-1;t>=0;--t)qrn(n,t);return d5(n)}function Qtn(n){var t,e;if(!n.b)return null;for(e=n.b;t=e.a[0];)e=t;return e}function Jtn(n){var t,e;if(!n.b)return null;for(e=n.b;t=e.a[1];)e=t;return e}function Ytn(n){return RD(n,180)?""+aU(n,180).a:null==n?null:ipn(n)}function Ztn(n){return RD(n,180)?""+aU(n,180).a:null==n?null:ipn(n)}function nen(n,t){if(t.a)throw uv(new $k(w2n));RX(n.a,t),t.a=n,!n.j&&(n.j=t)}function ten(n,t){eL.call(this,t.zd(),-16449&t.yd()),ZQ(n),this.a=n,this.c=t}function een(n,t){return new IH(t,$R(ND(t.e),t.f.a+n,t.f.b+n),(H$(),!1))}function ien(n,t){return TH(),mx(n,new WI(t,Ddn(t.e.c.length+t.g.c.length)))}function ren(n,t){return TH(),mx(n,new WI(t,Ddn(t.e.c.length+t.g.c.length)))}function cen(){cen=T,ZOt=Obn((bMn(),Bhn(iM(iIt,1),w1n,354,0,[JOt,VOt,QOt,XOt])))}function aen(){aen=T,$Ct=Obn((gbn(),Bhn(iM(KCt,1),w1n,353,0,[DCt,LCt,NCt,ACt])))}function oen(){oen=T,QSt=Obn((Sjn(),Bhn(iM(JSt,1),w1n,405,0,[qSt,zSt,WSt,XSt])))}function uen(){uen=T,f$t=Obn((_gn(),Bhn(iM(m$t,1),w1n,223,0,[s$t,o$t,a$t,u$t])))}function sen(){sen=T,R$t=Obn((Ojn(),Bhn(iM(W$t,1),w1n,291,0,[x$t,L$t,N$t,D$t])))}function hen(){hen=T,JRt=Obn((Xmn(),Bhn(iM(o_t,1),w1n,386,0,[XRt,VRt,WRt,zRt])))}function fen(){fen=T,M_t=Obn((Hpn(),Bhn(iM(j_t,1),w1n,320,0,[k_t,m_t,y_t,v_t])))}function len(){len=T,I_t=Obn((Mln(),Bhn(iM(N_t,1),w1n,415,0,[S_t,P_t,T_t,C_t])))}function ben(){ben=T,MAt=new aI(d7n,0),TAt=new aI(m9n,1),jAt=new aI(H4n,2)}function den(n,t,e,i,r){return ZQ(n),ZQ(t),ZQ(e),ZQ(i),ZQ(r),new WX(n,t,i)}function wen(n,t){var e;return(e=aU(a7(n.e,t),400))?(iq(e),e.e):null}function gen(n,t){var e;return-1!=(e=ken(n,t,0))&&(t7(n,e),!0)}function pen(n,t,e){var i;return GQ(n),(i=new un).a=t,n.a.Nb(new YP(i,e)),i.a}function men(n){var t;return GQ(n),t=Pnn(ZGt,P0n,28,0,15,1),Zj(n.a,new gw(t)),t}function ven(n){var t;if(!con(n))throw uv(new Kv);return n.e=1,t=n.d,n.d=null,t}function yen(n){var t;return _L(n)&&(t=0-n,!isNaN(t))?t:Msn(dfn(n))}function ken(n,t,e){for(;e=0?Nkn(n,e,!0,!0):QNn(n,t,!0)}function zen(n){var t;return null==(t=$cn(Isn(n,32)))&&(Lvn(n),t=$cn(Isn(n,32))),t}function Wen(n){var t;return n.Oh()||(t=tQ(n.Dh())-n.ji(),n.$h().Mk(t)),n.zh()}function Xen(n,t){Pht=new et,Dht=t,aU((Sht=n).b,68),xnn(Sht,Pht,null),jWn(Sht)}function Ven(){Ven=T,dlt=new bC("XY",0),blt=new bC("X",1),wlt=new bC("Y",2)}function Qen(){Qen=T,Rst=new cC("TOP",0),$st=new cC(G2n,1),xst=new cC(X2n,2)}function Jen(){Jen=T,dpt=new aO(H4n,0),wpt=new aO("TOP",1),bpt=new aO(X2n,2)}function Yen(){Yen=T,Gjt=new wO("INPUT_ORDER",0),Hjt=new wO("PORT_DEGREE",1)}function Zen(){Zen=T,Vat=wD(s0n,s0n,524287),Qat=wD(0,0,f0n),Jat=_9(1),_9(2),Yat=_9(0)}function nin(n){var t;return n.d!=n.r&&(t=fTn(n),n.e=!!t&&t.lk()==ort,n.d=t),n.e}function tin(n,t,e){var i;return i=n.g[t],vx(n,t,n.Zi(t,e)),n.Ri(t,e,i),n.Ni(),i}function ein(n,t){var e;return(e=n.dd(t))>=0&&(n.gd(e),!0)}function iin(n,t){var e;for(WV(n),WV(t),e=!1;t.Ob();)e|=n.Fc(t.Pb());return e}function rin(n,t){var e;return(e=aU(iQ(n.e,t),400))?(YD(n,e),e.e):null}function cin(n){var t,e;return t=n/60|0,0==(e=n%60)?""+t:t+":"+e}function ain(n,t){var e=n.a[t],i=(Sfn(),Wat)[typeof e];return i?i(e):zbn(typeof e)}function oin(n,t){return pgn(n),new sz(n,new NF(new s7(t,n.a)))}function uin(n){var t;return null!=(t=0==n.b.c.length?null:qq(n.b,0))&&Son(n,0),t}function sin(n,t){var e,i,r;r=t.c.i,i=(e=aU(iQ(n.f,r),60)).d.c-e.e.c,sun(t.a,i,0)}function hin(n,t){var e;for(++n.d,++n.c[t],e=t+1;e=0;)++t[0]}function bin(n,t){vcn(n,null==t||VF((ZQ(t),t))||isNaN((ZQ(t),t))?0:(ZQ(t),t))}function din(n,t){ycn(n,null==t||VF((ZQ(t),t))||isNaN((ZQ(t),t))?0:(ZQ(t),t))}function win(n,t){mcn(n,null==t||VF((ZQ(t),t))||isNaN((ZQ(t),t))?0:(ZQ(t),t))}function gin(n,t){pcn(n,null==t||VF((ZQ(t),t))||isNaN((ZQ(t),t))?0:(ZQ(t),t))}function pin(n,t,e){return fx(new yI(e.e.a+e.f.a/2,e.e.b+e.f.b/2),n)==(ZQ(t),t)}function min(n,t){return RD(t,102)&&aU(t,19).Bb&T0n?new vL(t,n):new Jsn(t,n)}function vin(n,t){return RD(t,102)&&aU(t,19).Bb&T0n?new vL(t,n):new Jsn(t,n)}function yin(n){return null==n.__elementTypeCategory$?10:n.__elementTypeCategory$}function kin(n,t){return t==(iB(),iB(),aut)?n.toLocaleLowerCase():n.toLowerCase()}function Ein(n){if(!n.e)throw uv(new Kv);return n.c=n.a=n.e,n.e=n.e.e,--n.d,n.a.f}function Min(n){if(!n.c)throw uv(new Kv);return n.e=n.a=n.c,n.c=n.c.c,++n.d,n.a.f}function jin(n){var t;for(++n.a,t=n.c.a.length;n.an.a[i]&&(i=e);return i}function Iin(n){var t;return!!(t=aU(cOn(n,(GYn(),jpt)),313))&&t.a==n}function Ain(n){var t;return!!(t=aU(cOn(n,(GYn(),jpt)),313))&&t.i==n}function Lin(){Lin=T,Plt=Obn((aOn(),Bhn(iM(Ilt,1),w1n,367,0,[klt,Elt,Mlt,jlt,Tlt])))}function Nin(){Nin=T,pwt=Obn((dPn(),Bhn(iM(Twt,1),w1n,375,0,[lwt,dwt,wwt,bwt,fwt])))}function Din(){Din=T,lgt=Obn((mvn(),Bhn(iM(wgt,1),w1n,348,0,[ogt,agt,sgt,hgt,ugt])))}function xin(){xin=T,Mjt=Obn((wkn(),Bhn(iM(Djt,1),w1n,323,0,[kjt,mjt,vjt,pjt,yjt])))}function $in(){$in=T,Lmt=Obn((Gpn(),Bhn(iM(rjt,1),w1n,171,0,[Imt,Smt,Pmt,Cmt,Omt])))}function Rin(){Rin=T,eOt=Obn((qPn(),Bhn(iM(cOt,1),w1n,368,0,[ZCt,QCt,nOt,JCt,YCt])))}function _in(){_in=T,KAt=Obn((_Rn(),Bhn(iM(HAt,1),w1n,373,0,[DAt,NAt,$At,xAt,RAt])))}function Kin(){Kin=T,oLt=Obn((wIn(),Bhn(iM(HLt,1),w1n,324,0,[tLt,eLt,cLt,iLt,rLt])))}function Fin(){Fin=T,n$t=Obn((Dwn(),Bhn(iM(r$t,1),w1n,88,0,[Jxt,Qxt,Vxt,Xxt,Yxt])))}function Bin(){Bin=T,fNt=Obn((xyn(),Bhn(iM(yNt,1),w1n,170,0,[uNt,oNt,cNt,sNt,aNt])))}function Gin(){Gin=T,tRt=Obn((zyn(),Bhn(iM(uRt,1),w1n,256,0,[J$t,Z$t,V$t,Q$t,Y$t])))}function Hin(){Hin=T,FRt=Obn(($Qn(),Bhn(iM(QRt,1),q4n,64,0,[RRt,vRt,mRt,$Rt,_Rt])))}function Uin(){Uin=T,Qut=new tC("BY_SIZE",0),Jut=new tC("BY_SIZE_AND_SHAPE",1)}function qin(){qin=T,dft=new lC("EADES",0),wft=new lC("FRUCHTERMAN_REINGOLD",1)}function zin(){zin=T,bgt=new YC("READING_DIRECTION",0),dgt=new YC("ROTATION",1)}function Win(){Win=T,qlt=new Pt,zlt=new At,Hlt=new Lt,Ult=new It,Wlt=new Nt}function Xin(n){this.b=new Jm,this.a=new Jm,this.c=new Jm,this.d=new Jm,this.e=n}function Vin(n){this.g=n,this.f=new Jm,this.a=t.Math.min(this.g.c.c,this.g.d.c)}function Qin(n,t,e){FK.call(this),Xrn(this),this.a=n,this.c=e,this.b=t.d,this.f=t.e}function Jin(n,t,e){var i;for(i=new Wd(e);i.a=0&&t0?t-1:t,hj(fj(Dcn(DU(new sk,e),n.n),n.j),n.k)}function ern(n){var t;t=new Qy,Znn((!n.q&&(n.q=new sX(dFt,n,11,10)),n.q),t)}function irn(n){return(2&n.i?"interface ":1&n.i?"":"class ")+(p_(n),n.o)}function rrn(n){return bdn(n,pZn)>0?pZn:bdn(n,E1n)<0?E1n:wW(n)}function crn(n){return n<3?(gan(n,f1n),n+1):n=-.01&&n.a<=J2n&&(n.a=0),n.b>=-.01&&n.b<=J2n&&(n.b=0),n}function krn(n){var t,e;for(hFn(),e=G9n,t=0;te&&(e=n[t]);return e}function Ern(n,t){var e;if(!(e=M_n(n.Dh(),t)))throw uv(new pE(Gtt+t+qtt));return e}function Mrn(n,t){var e;for(e=n;x0(e);)if((e=x0(e))==t)return!0;return!1}function jrn(n,t){var e,i,r;for(i=t.a.ld(),e=aU(t.a.md(),16).gc(),r=0;rn||n>t)throw uv(new QE("fromIndex: 0, toIndex: "+n+X0n+t))}function Nrn(n){if(n<0)throw uv(new pE("Illegal Capacity: "+n));this.g=this.aj(n)}function Drn(n,e){return QN(),can(k1n),t.Math.abs(n-e)<=k1n||n==e||isNaN(n)&&isNaN(e)}function xrn(n,t){var e,i,r,c;for(r=0,c=(i=n.d).length;r0&&(n.a/=e,n.b/=e),n}function Frn(n){var t;return n.w?n.w:((t=C3(n))&&!t.Vh()&&(n.w=t),t)}function Brn(n,t){var e,i;i=n.a,e=mwn(n,t,null),i!=t&&!n.e&&(e=TVn(n,t,e)),e&&e.oj()}function Grn(n,t,e){var i,r;i=t;do{r=aE(n.p[i.p])+e,n.p[i.p]=r,i=n.a[i.p]}while(i!=t)}function Hrn(n,t,e){var i=function(){return n.apply(i,arguments)};return t.apply(i,e),i}function Urn(n){var t;return null==n?null:ACn(t=aU(n,195),t.length)}function qrn(n,t){if(null==n.g||t>=n.i)throw uv(new wL(t,n.i));return n.Wi(t,n.g[t])}function zrn(n,t){var e,i;for(uZ(),i=new Jm,e=0;e=14&&t<=16)),n}function Rcn(n,t){var e;return ZQ(t),pU(!!(e=n[":"+t]),"Enum constant undefined: "+t),e}function _cn(n,t,e,i,r,c){var a;return xcn(e,a=zV(n,t)),a.i=r?8:0,a.f=i,a.e=r,a.g=c,a}function Kcn(n,t,e,i,r){this.d=t,this.k=i,this.f=r,this.o=-1,this.p=1,this.c=n,this.a=e}function Fcn(n,t,e,i,r){this.d=t,this.k=i,this.f=r,this.o=-1,this.p=2,this.c=n,this.a=e}function Bcn(n,t,e,i,r){this.d=t,this.k=i,this.f=r,this.o=-1,this.p=6,this.c=n,this.a=e}function Gcn(n,t,e,i,r){this.d=t,this.k=i,this.f=r,this.o=-1,this.p=7,this.c=n,this.a=e}function Hcn(n,t,e,i,r){this.d=t,this.j=i,this.e=r,this.o=-1,this.p=4,this.c=n,this.a=e}function Ucn(n,t){var e,i,r,c;for(r=0,c=(i=t).length;r=0))throw uv(new pE("tolerance ("+n+") must be >= 0"));return n}function aan(n,t){var e;return RD(t,44)?n.c.Mc(t):(e=vmn(n,t),jvn(n,t),e)}function oan(n,t,e){return $bn(n,t),Hon(n,e),Tcn(n,0),Scn(n,1),gwn(n,!0),bwn(n,!0),n}function uan(n,t){var e;if(e=n.gc(),t<0||t>e)throw uv(new lF(t,e));return new AF(n,t)}function san(n,e){n.b=t.Math.max(n.b,e.d),n.e+=e.r+(0==n.a.c.length?0:n.c),mx(n.a,e)}function han(n){k_(n.c>=0),xvn(n.d,n.c)<0&&(n.a=n.a-1&n.d.a.length-1,n.b=n.d.c),n.c=-1}function fan(n){var t;for(t=n.c.Cc().Kc();t.Ob();)aU(t.Pb(),16).$b();n.c.$b(),n.d=0}function lan(n){var t,e,i,r;for(i=0,r=(e=n.a).length;i=0}function Kan(n,t){n.r>0&&n.c0&&0!=n.g&&Kan(n.i,t/n.r*n.i.d))}function Fan(n,t){var e;e=n.c,n.c=t,4&n.Db&&!(1&n.Db)&&ysn(n,new hX(n,1,1,e,n.c))}function Ban(n,t){var e;e=n.c,n.c=t,4&n.Db&&!(1&n.Db)&&ysn(n,new hX(n,1,4,e,n.c))}function Gan(n,t){var e;e=n.k,n.k=t,4&n.Db&&!(1&n.Db)&&ysn(n,new hX(n,1,2,e,n.k))}function Han(n,t){var e;e=n.D,n.D=t,4&n.Db&&!(1&n.Db)&&ysn(n,new hX(n,1,2,e,n.D))}function Uan(n,t){var e;e=n.f,n.f=t,4&n.Db&&!(1&n.Db)&&ysn(n,new hX(n,1,8,e,n.f))}function qan(n,t){var e;e=n.i,n.i=t,4&n.Db&&!(1&n.Db)&&ysn(n,new hX(n,1,7,e,n.i))}function zan(n,t){var e;e=n.a,n.a=t,4&n.Db&&!(1&n.Db)&&ysn(n,new hX(n,1,8,e,n.a))}function Wan(n,t){var e;e=n.b,n.b=t,4&n.Db&&!(1&n.Db)&&ysn(n,new hX(n,1,0,e,n.b))}function Xan(n,t){var e;e=n.b,n.b=t,4&n.Db&&!(1&n.Db)&&ysn(n,new hX(n,1,0,e,n.b))}function Van(n,t){var e;e=n.c,n.c=t,4&n.Db&&!(1&n.Db)&&ysn(n,new hX(n,1,1,e,n.c))}function Qan(n,t){var e;e=n.d,n.d=t,4&n.Db&&!(1&n.Db)&&ysn(n,new hX(n,1,1,e,n.d))}function Jan(n,t,e){var i;n.b=t,n.a=e,i=512&~n.a?new Df:new rk,n.c=HKn(i,n.b,n.a)}function Yan(n,t){return MKn(n.e,t)?(TP(),nin(t)?new Sq(t,n):new CA(t,n)):new TA(t,n)}function Zan(n){return 0>n?new gS:new C_(null,new t9(n+1,n))}function non(n,t){var e;return uZ(),e=new oS(1),xA(n)?e2(e,n,t):zAn(e.f,n,t),new zd(e)}function ton(n,t){var e,i;return e=n.c,(i=t.e[n.p])>0?aU(qq(e.a,i-1),10):null}function eon(n,t){var e,i;return(e=n.o+n.p)<(i=t.o+t.p)?-1:e==i?0:1}function ion(n){var t;return RD(t=cOn(n,(GYn(),emt)),167)?Xpn(aU(t,167)):null}function ron(n){var e;return(n=t.Math.max(n,2))>(e=wfn(n))?(e<<=1)>0?e:b1n:e}function con(n){switch(_x(3!=n.e),n.e){case 2:return!1;case 0:return!0}return r7(n)}function aon(n,t){var e;return!!RD(t,8)&&(e=aU(t,8),n.a==e.a&&n.b==e.b)}function oon(n,t){var e;e=new et,aU(t.b,68),aU(t.b,68),aU(t.b,68),Trn(t.a,new LH(n,e,t))}function uon(n,t){var e,i;for(i=t.vc().Kc();i.Ob();)eSn(n,(e=aU(i.Pb(),44)).ld(),e.md())}function son(n,t){var e;e=n.d,n.d=t,4&n.Db&&!(1&n.Db)&&ysn(n,new hX(n,1,11,e,n.d))}function hon(n,t){var e;e=n.j,n.j=t,4&n.Db&&!(1&n.Db)&&ysn(n,new hX(n,1,13,e,n.j))}function fon(n,t){var e;e=n.b,n.b=t,4&n.Db&&!(1&n.Db)&&ysn(n,new hX(n,1,21,e,n.b))}function lon(n,t){0==(Z8(),Aut?null:t.c).length&&x_(t,new U),e2(n.a,Aut?null:t.c,t)}function bon(n,t){t.Ug("Hierarchical port constraint processing",1),rkn(n),vYn(n),t.Vg()}function don(){don=T,jwt=new zC("START",0),Mwt=new zC("MIDDLE",1),Ewt=new zC("END",2)}function won(){won=T,zCt=new QO("P1_NODE_PLACEMENT",0),WCt=new QO("P2_EDGE_ROUTING",1)}function gon(){gon=T,Wft=new Sm(M4n),Xft=new Sm(j4n),zft=new Sm(T4n),qft=new Sm(S4n)}function pon(n){var t;return CB(n.f.g,n.d),y_(n.b),n.c=n.a,t=aU(n.a.Pb(),44),n.b=Thn(n),t}function mon(n){return null==n.b?(MP(),MP(),ZFt):n.ul()?n.tl():n.sl()}function von(n,t){var e;return!((e=null==t?-1:ken(n.b,t,0))<0||(Son(n,e),0))}function yon(n,t){var e;return ZQ(t),e=t.g,!n.b[e]&&(aQ(n.b,e,t),++n.c,!0)}function kon(n,t){var e,i;return e=1-t,i=n.a[e],n.a[e]=i.a[t],i.a[t]=n,n.b=!0,i.b=!1,i}function Eon(n,t){var e,i;for(i=t.Kc();i.Ob();)e=aU(i.Pb(),272),n.b=!0,RX(n.e,e),e.b=n}function Mon(n,t){var e,i;return e=aU(cOn(n,(EYn(),eMt)),8),i=aU(cOn(t,eMt),8),agn(e.b,i.b)}function jon(n,t,e){var i,r;return r=t>>5,i=31&t,M3(NW(n.n[e][r],wW(AW(i,1))),3)}function Ton(n,t,e){var i,r,c;for(c=n.a.length-1,r=n.b,i=0;i0?1:0:(!n.c&&(n.c=E2(Ksn(n.f))),n.c).e}function Zon(n,t){t?null==n.B&&(n.B=n.D,n.D=null):null!=n.B&&(n.D=n.B,n.B=null)}function nun(n,t){return Uhn(),n==Rlt&&t==Flt||n==Flt&&t==Rlt||n==Klt&&t==_lt||n==_lt&&t==Klt}function tun(n,t){return Uhn(),n==Rlt&&t==_lt||n==Rlt&&t==Klt||n==Flt&&t==Klt||n==Flt&&t==_lt}function eun(n,e){return QN(),can(J2n),t.Math.abs(0-e)<=J2n||0==e||isNaN(0)&&isNaN(e)?0:n/e}function iun(n,t){return aE(w_(v$(iwn(QJ(new sz(null,new u3(n.c.b,16)),new _g(n)),t))))}function run(n,t){return aE(w_(v$(iwn(QJ(new sz(null,new u3(n.c.b,16)),new Rg(n)),t))))}function cun(){return eFn(),Bhn(iM(fpt,1),w1n,259,0,[Jgt,Zgt,npt,tpt,ept,ipt,cpt,Qgt,Ygt,rpt])}function aun(){return kGn(),Bhn(iM(Fjt,1),w1n,243,0,[Ljt,Pjt,Ijt,Cjt,Ojt,jjt,Ajt,Njt,Tjt,Sjt])}function oun(n,t){t.Ug("General Compactor",1),Kpn(aU(qxn(n,(EIn(),IOt)),393)).Cg(n)}function uun(n,t){var e,i;return e=aU(qxn(n,(EIn(),ROt)),17),i=aU(qxn(t,ROt),17),bD(e.a,i.a)}function sun(n,t,e){var i,r;for(r=Ryn(n,0);r.b!=r.d.c;)(i=aU(P6(r),8)).a+=t,i.b+=e;return n}function hun(n,t,e){var i;for(i=n.b[e&n.f];i;i=i.b)if(e==i.a&&DQ(t,i.g))return i;return null}function fun(n,t,e){var i;for(i=n.c[e&n.f];i;i=i.d)if(e==i.f&&DQ(t,i.i))return i;return null}function lun(n,t,e){var i,r,c;for(i=0,r=0;r>>31;0!=i&&(n[e]=i)}function bun(n,t,e,i,r,c){var a;this.c=n,ZEn(n,a=new Jm,t,n.b,e,i,r,c),this.a=new A4(a,0)}function dun(){this.c=new zj(0),this.b=new zj(R9n),this.d=new zj($9n),this.a=new zj(_3n)}function wun(n,t,e,i,r,c,a){_T.call(this,n,t),this.d=e,this.e=i,this.c=r,this.b=c,this.a=Y9(a)}function gun(n,t,e,i,r,c,a,o,u,s,h,f,l){return nLn(n,t,e,i,r,c,a,o,u,s,h,f,l),jgn(n,!1),n}function pun(n){return n.b.c.i.k==(qOn(),hbt)?aU(cOn(n.b.c.i,(GYn(),emt)),12):n.b.c}function mun(n){return n.b.d.i.k==(qOn(),hbt)?aU(cOn(n.b.d.i,(GYn(),emt)),12):n.b.d}function vun(n){var t;return _A((t=Z4(n)).a,0)?(dS(),dS(),sut):(dS(),new bR(t.b))}function yun(n){var t;return _A((t=J4(n)).a,0)?(bS(),bS(),uut):(bS(),new lR(t.b))}function kun(n){var t;return _A((t=J4(n)).a,0)?(bS(),bS(),uut):(bS(),new lR(t.c))}function Eun(n){switch(n.g){case 2:return $Qn(),_Rt;case 4:return $Qn(),mRt;default:return n}}function Mun(n){switch(n.g){case 1:return $Qn(),$Rt;case 3:return $Qn(),vRt;default:return n}}function jun(n){switch(n.g){case 0:return new Vo;case 1:return new Qo;default:return null}}function Tun(){Tun=T,Fdt=new aK("edgelabelcenterednessanalysis.includelabel",(H$(),Zat))}function Sun(){Sun=T,RTt=Ivn(dL(Oq(Oq(new lJ,(aOn(),Mlt),(qYn(),mdt)),jlt,udt),Tlt),pdt)}function Pun(){Pun=T,UTt=Ivn(dL(Oq(Oq(new lJ,(aOn(),Mlt),(qYn(),mdt)),jlt,udt),Tlt),pdt)}function Cun(){Cun=T,qFt=new Xy,WFt=Bhn(iM(rFt,1),mrt,179,0,[]),zFt=Bhn(iM(dFt,1),vrt,62,0,[])}function Oun(){Oun=T,Cbt=new TC("TO_INTERNAL_LTR",0),Pbt=new TC("TO_INPUT_DIRECTION",1)}function Iun(){Iun=T,kbt=new Bt,vbt=new Gt,ybt=new Ht,mbt=new Ut,Ebt=new qt,Mbt=new zt}function Aun(n,t){t.Ug(d6n,1),Opn(RS(new Ow((qS(),new gY(n,!1,!1,new Kt))))),t.Vg()}function Lun(n,t,e){e.Ug("DFS Treeifying phase",1),Hmn(n,t),H_n(n,t),n.a=null,n.b=null,e.Vg()}function Nun(n,t){return H$(),xA(n)?e7(n,g_(t)):RA(n)?xW(n,w_(t)):$A(n)?DW(n,d_(t)):n.Fd(t)}function Dun(n,t){var e,i;for(ZQ(t),i=t.vc().Kc();i.Ob();)e=aU(i.Pb(),44),n.zc(e.ld(),e.md())}function xun(n,t,e){var i;for(i=e.Kc();i.Ob();)if(!F5(n,t,i.Pb()))return!1;return!0}function $un(n,t,e,i,r){var c;return e&&(c=nmn(t.Dh(),n.c),r=e.Rh(t,-1-(-1==c?i:c),null,r)),r}function Run(n,t,e,i,r){var c;return e&&(c=nmn(t.Dh(),n.c),r=e.Th(t,-1-(-1==c?i:c),null,r)),r}function _un(n){var t;if(-2==n.b){if(0==n.e)t=-1;else for(t=0;0==n.a[t];t++);n.b=t}return n.b}function Kun(n){if(ZQ(n),0==n.length)throw uv(new JE("Zero length BigInteger"));HGn(this,n)}function Fun(n){this.i=n.gc(),this.i>0&&(this.g=this.aj(this.i+(this.i/8|0)+1),n.Qc(this.g))}function Bun(n,t,e){this.g=n,this.d=t,this.e=e,this.a=new Jm,xLn(this),uZ(),sD(this.a,null)}function Gun(n,e){e.q=n,n.d=t.Math.max(n.d,e.r),n.b+=e.d+(0==n.a.c.length?0:n.c),mx(n.a,e)}function Hun(n,t){var e,i,r,c;return r=n.c,e=n.c+n.b,c=n.d,i=n.d+n.a,t.a>r&&t.ac&&t.b(r=n.a.length)?e=r:o3(t,e+1),n.a=e1(n.a,0,t)+""+i+oQ(n.a,e)}function gsn(n,e){n.a=Ign(n.a,1),n.c=t.Math.min(n.c,e),n.b=t.Math.max(n.b,e),n.d=Ign(n.d,e)}function psn(n,t){return t1||n.Ob())return++n.a,n.g=0,t=n.i,n.Ob(),t;throw uv(new Kv)}function Rsn(n){switch(n.a.g){case 1:return new $O;case 3:return new qMn;default:return new gl}}function _sn(n,t){switch(t){case 1:return!!n.n&&0!=n.n.i;case 2:return null!=n.k}return E4(n,t)}function Ksn(n){return w0n>22),r=n.h+t.h+(i>>22),wD(e&s0n,i&s0n,r&h0n)}function khn(n,t){var e,i,r;return e=n.l-t.l,i=n.m-t.m+(e>>22),r=n.h-t.h+(i>>22),wD(e&s0n,i&s0n,r&h0n)}function Ehn(n){var t,e;for(KQn(n),e=new Wd(n.d);e.a(i=n.gc()))throw uv(new lF(t,i));return n.Si()&&(e=O0(n,e)),n.Ei(t,e)}function lfn(n,t,e,i,r){var c,a;for(a=e;a<=r;a++)for(c=t;c<=i;c++)nMn(n,c,a)||FBn(n,c,a,!0,!1)}function bfn(n){var t,e,i;for(hFn(),e=Pnn(TNt,qZn,8,2,0,1),i=0,t=0;t<2;t++)i+=.5,e[t]=WEn(i,n);return e}function dfn(n){var t,e;return wD(t=1+~n.l&s0n,e=~n.m+(0==t?1:0)&s0n,~n.h+(0==t&&0==e?1:0)&h0n)}function wfn(n){var t;if(n<0)return E1n;if(0==n)return 0;for(t=b1n;!(t&n);t>>=1);return t}function gfn(n,t,e){return!(n>=128)&&FA(n<64?M3(AW(1,n),e):M3(AW(1,n-64),t),0)}function pfn(n,t,e){return null==e?(!n.q&&(n.q=new Qm),a7(n.q,t)):(!n.q&&(n.q=new Qm),pJ(n.q,t,e)),n}function mfn(n,t,e){return null==e?(!n.q&&(n.q=new Qm),a7(n.q,t)):(!n.q&&(n.q=new Qm),pJ(n.q,t,e)),n}function vfn(n){var t,e;return qsn(e=new b7,n),mfn(e,(gon(),Wft),n),mqn(n,e,t=new Qm),qVn(n,e,t),e}function yfn(n){var t,e;return t=n.t-n.k[n.o.p]*n.d+n.j[n.o.p]>n.f,e=n.u+n.e[n.o.p]*n.d>n.f*n.s*n.d,t||e}function kfn(n,t){var e,i,r;for(e=!1,i=n.a[t].length,r=0;r=0,"Negative initial capacity"),pU(t>=0,"Non-positive load factor"),LX(this)}function Lfn(n,t,e,i,r){var c,a;if(a=n.length,c=e.length,t<0||i<0||r<0||t+r>a||i+r>c)throw uv(new Iv)}function Nfn(n,t){var e,i,r,c,a;for(uZ(),a=!1,r=0,c=(i=t).length;r1||t>=0&&n.b<3)}function Qfn(n){var t,e,i;t=1+~n.l&s0n,e=~n.m+(0==t?1:0)&s0n,i=~n.h+(0==t&&0==e?1:0)&h0n,n.l=t,n.m=e,n.h=i}function Jfn(n){var t,e,i;for(uZ(),i=1,e=n.Kc();e.Ob();)i=31*i+(null!=(t=e.Pb())?Fon(t):0),i|=0;return i}function Yfn(n,t,e,i,r){var c;return c=dxn(n,t),e&&Qfn(c),r&&(n=uMn(n,t),Xat=i?dfn(n):wD(n.l,n.m,n.h)),c}function Zfn(n,t,e){n.g=gAn(n,t,($Qn(),mRt),n.b),n.d=gAn(n,e,mRt,n.b),0!=n.g.c&&0!=n.d.c&&OOn(n)}function nln(n,t,e){n.g=gAn(n,t,($Qn(),_Rt),n.j),n.d=gAn(n,e,_Rt,n.j),0!=n.g.c&&0!=n.d.c&&OOn(n)}function tln(n,t){switch(t){case 7:return!!n.e&&0!=n.e.i;case 8:return!!n.d&&0!=n.d.i}return $pn(n,t)}function eln(n,t){switch(t.g){case 0:RD(n.b,641)||(n.b=new hsn);break;case 1:RD(n.b,642)||(n.b=new qU)}}function iln(n){if(0===n.g)return new eu;throw uv(new pE(hnt+(null!=n.f?n.f:""+n.g)))}function rln(n){if(0===n.g)return new nu;throw uv(new pE(hnt+(null!=n.f?n.f:""+n.g)))}function cln(n,t,e){return!Xj(VJ(new sz(null,new u3(n.c,16)),new uw(new GI(t,e)))).Bd((pS(),$ut))}function aln(n,t){return fx(Lyn(aU(cOn(t,(XUn(),iCt)),88)),new yI(n.c.e.a-n.b.e.a,n.c.e.b-n.b.e.b))<=0}function oln(n,t){for(;null!=n.g||n.c?null==n.g||0!=n.i&&aU(n.g[n.i-1],51).Ob():C0(n);)vA(t,W$n(n))}function uln(n){var t;for(t=new Wd(n.a.b);t.ai?1:0}function vln(n){return mx(n.c,(Whn(),JLt)),Drn(n.a,aE(w_(Vyn((hmn(),WMt)))))?new Wu:new qp(n)}function yln(n){for(;!n.d||!n.d.Ob();){if(!n.b||IE(n.b))return null;n.d=aU(DX(n.b),51)}return n.d}function kln(n){switch(n.g){case 1:return $9n;default:case 2:return 0;case 3:return _3n;case 4:return R9n}}function Eln(){var n;return XYn(),qGt||(n=nR(mJn("M",!0)),n=Sz(mJn("M",!1),n),qGt=n)}function Mln(){Mln=T,S_t=new aA("ELK",0),P_t=new aA("JSON",1),T_t=new aA("DOT",2),C_t=new aA("SVG",3)}function jln(){jln=T,rTt=new mO("STACKED",0),eTt=new mO("REVERSE_STACKED",1),iTt=new mO("SEQUENCED",2)}function Tln(){Tln=T,dPt=new WO(H4n,0),bPt=new WO("MIDDLE_TO_MIDDLE",1),lPt=new WO("AVOID_OVERLAP",2)}function Sln(){Sln=T,Zdt=new ji,nwt=new Ti,Ydt=new Ei,Jdt=new Si,ZQ(new Mi),Qdt=new L}function Pln(){Pln=T,T$t=new SN(15),j$t=new _N((UYn(),WDt),T$t),S$t=gxt,y$t=rDt,k$t=_Dt,M$t=BDt,E$t=FDt}function Cln(n,t){var e,i,r,c,a;for(r=0,c=(i=t).length;r=n.b.c.length||(_ln(n,2*t+1),(e=2*t+2)0&&(t.Cd(e),e.i&&Jwn(e))}function Fln(n,t,e){var i;for(i=e-1;i>=0&&n[i]===t[i];i--);return i<0?0:LP(M3(n[i],I0n),M3(t[i],I0n))?-1:1}function Bln(n,t,e){var i,r;this.g=n,this.c=t,this.a=this,this.d=this,r=ron(e),i=Pnn(Lat,h1n,227,r,0,1),this.b=i}function Gln(n,t,e,i,r){var c,a;for(a=e;a<=r;a++)for(c=t;c<=i;c++)if(nMn(n,c,a))return!0;return!1}function Hln(n,t){var e;for(e=n.Zb().Cc().Kc();e.Ob();)if(aU(e.Pb(),16).Hc(t))return!0;return!1}function Uln(n,t,e){var i,r,c,a;for(ZQ(e),a=!1,c=n.fd(t),r=e.Kc();r.Ob();)i=r.Pb(),c.Rb(i),a=!0;return a}function qln(n,t){var e,i;return i=aU(Isn(n.a,4),129),e=Pnn(NKt,Bit,424,t,0,1),null!=i&&HUn(i,0,e,0,i.length),e}function zln(n,t){var e;return e=new JFn(!!(256&n.f),n.i,n.a,n.d,!!(16&n.f),n.j,n.g,t),null!=n.e||(e.c=n),e}function Wln(n,t){var e;return n===t||!!RD(t,85)&&(e=aU(t,85),CIn(yW(n),e.vc()))}function Xln(n,t,e){var i,r;for(r=e.Kc();r.Ob();)if(i=aU(r.Pb(),44),n.Be(t,i.md()))return!0;return!1}function Vln(n,t,e){return n.d[t.p][e.p]||($kn(n,t,e),n.d[t.p][e.p]=!0,n.d[e.p][t.p]=!0),n.a[t.p][e.p]}function Qln(n,t){return!(!n||n==t||!pR(t,(GYn(),qpt)))&&aU(cOn(t,(GYn(),qpt)),10)!=n}function Jln(n){switch(n.i){case 2:return!0;case 1:return!1;case-1:++n.c;default:return n.$l()}}function Yln(n){switch(n.i){case-2:return!0;case-1:return!1;case 1:--n.c;default:return n._l()}}function Zln(n){B0.call(this,"The given string does not match the expected format for individual spacings.",n)}function nbn(n,t){var e;t.Ug("Min Size Preprocessing",1),e=DAn(n),ykn(n,(hBn(),MIt),e.a),ykn(n,yIt,e.b),t.Vg()}function tbn(n){var t,e,i;for(t=0,i=Pnn(TNt,qZn,8,n.b,0,1),e=Ryn(n,0);e.b!=e.d.c;)i[t++]=aU(P6(e),8);return i}function ebn(n,t,e){var i,r;for(i=new hS,r=Ryn(e,0);r.b!=r.d.c;)rq(i,new nN(aU(P6(r),8)));Uln(n,t,i)}function ibn(n,t){var e;return e=Ign(n,t),LP(T3(n,t),0)|KA(T3(n,e),0)?e:Ign(QZn,T3(NW(e,63),1))}function rbn(n,t){var e,i;return(e=aU(n.d.Bc(t),16))?((i=n.e.hc()).Gc(e),n.e.d-=e.gc(),e.$b(),i):null}function cbn(n){var t;if((t=n.a.c.length)>0)return zW(t-1,n.a.c.length),t7(n.a,t-1);throw uv(new _v)}function abn(n,t,e){if(n>t)throw uv(new pE(c2n+n+a2n+t));if(n<0||t>e)throw uv(new QE(c2n+n+o2n+t+X0n+e))}function obn(n,t){null==n.D&&null!=n.B&&(n.D=n.B,n.B=null),Han(n,null==t?null:(ZQ(t),t)),n.C&&n.hl(null)}function ubn(n,t){var e;e=null!=Vyn((hmn(),WMt))&&null!=t.Sg()?aE(w_(t.Sg()))/aE(w_(Vyn(WMt))):1,pJ(n.b,t,e)}function sbn(n,t){var e,i;if(0!=(i=n.c[t]))for(n.c[t]=0,n.d-=i,e=t+1;ex9n?n-i>x9n:i-n>x9n)}function Xbn(n,t){var e;for(e=0;er&&(BSn(t.q,r),i=e!=t.q.d)),i}function Jbn(n,e){var i,r,c,a,o;return a=e.i,o=e.j,r=a-(i=n.f).i,c=o-i.j,t.Math.sqrt(r*r+c*c)}function Ybn(n,t){var e;return(e=$vn(n))||(Qzn(),Znn((e=new Um(o$n(t))).El(),n)),e}function Zbn(n,t){var e,i;return(e=aU(n.c.Bc(t),16))?((i=n.hc()).Gc(e),n.d-=e.gc(),e.$b(),n.mc(i)):n.jc()}function ndn(n,t){var e,i;for(i=0!=aRn(n.d,1),e=!0;e;)e=!1,e=t.c.mg(t.e,i),e|=T_n(n,t,i,!1),i=!i;Gon(n)}function tdn(n,t,e,i){var r,c;n.a=t,c=i?0:1,n.f=(r=new _In(n.c,n.a,e,c),new nBn(e,n.a,r,n.e,n.b,n.c==(nan(),KTt)))}function edn(n){var t;return y_(n.a!=n.b),t=n.d.a[n.a],E_(n.b==n.d.c&&null!=t),n.c=n.a,n.a=n.a+1&n.d.a.length-1,t}function idn(n){var t;if(0!=n.c)return n.c;for(t=0;t=n.c.b:n.a<=n.c.b))throw uv(new Kv);return t=n.a,n.a+=n.c.c,++n.b,Ddn(t)}function cdn(n){var t;return qsn(t=new jD(n.a),n),mfn(t,(GYn(),emt),n),t.o.a=n.g,t.o.b=n.f,t.n.a=n.i,t.n.b=n.j,t}function adn(n){return($Qn(),IRt).Hc(n.j)?aE(w_(cOn(n,(GYn(),ymt)))):Gfn(Bhn(iM(TNt,1),qZn,8,0,[n.i.n,n.n,n.a])).b}function odn(n){var t;return t=rN($Tt),aU(cOn(n,(GYn(),Fpt)),21).Hc((eFn(),ept))&&Oq(t,(aOn(),Mlt),(qYn(),Sdt)),t}function udn(n){var t,e;for(e=new ny,t=new Wd(n);t.a=0?t:-t;i>0;)i%2==0?(e*=e,i=i/2|0):(r*=e,i-=1);return t<0?1/r:r}function wdn(n,t){var e,i,r;for(r=1,e=n,i=t>=0?t:-t;i>0;)i%2==0?(e*=e,i=i/2|0):(r*=e,i-=1);return t<0?1/r:r}function gdn(n,t){var e,i,r,c;return(c=sLn((i=t,(r=n?$vn(n):null)&&r.Gl(),i)))==t&&(e=$vn(n))&&e.Gl(),c}function pdn(n,t,e){var i,r;return r=n.f,n.f=t,4&n.Db&&!(1&n.Db)&&(i=new hX(n,1,0,r,t),e?e.nj(i):e=i),e}function mdn(n,t,e){var i,r;return r=n.b,n.b=t,4&n.Db&&!(1&n.Db)&&(i=new hX(n,1,3,r,t),e?e.nj(i):e=i),e}function vdn(n,t,e){var i,r;return r=n.a,n.a=t,4&n.Db&&!(1&n.Db)&&(i=new hX(n,1,1,r,t),e?e.nj(i):e=i),e}function ydn(n){var t,e;if(null!=n)for(e=0;e=i||t-129&&n<128?(UU(),!(e=fot[t=n+128])&&(e=fot[t]=new Pd(n)),e):new Pd(n)}function xdn(n){var t,e;return n>-129&&n<128?(nz(),!(e=yot[t=n+128])&&(e=yot[t]=new Od(n)),e):new Od(n)}function $dn(n,t){n.a.c.length>0&&Iln(aU(qq(n.a,n.a.c.length-1),579),t)||mx(n.a,new e9(t))}function Rdn(n){var t,e;GB(),t=n.d.c-n.e.c,Trn((e=aU(n.g,154)).b,new Tg(t)),Trn(e.c,new Sg(t)),q8(e.i,new Pg(t))}function _dn(n){var t;return(t=new WE).a+="VerticalSegment ",XA(t,n.e),t.a+=" ",VA(t,$x(new RE,new Wd(n.k))),t.a}function Kdn(n,t){var e,i;for(e=0,i=Ngn(n,t).Kc();i.Ob();)e+=null!=cOn(aU(i.Pb(),12),(GYn(),hmt))?1:0;return e}function Fdn(n,t,e){var i,r,c;for(i=0,c=Ryn(n,0);c.b!=c.d.c&&!((r=aE(w_(P6(c))))>e);)r>=t&&++i;return i}function Bdn(n,t){WV(n);try{return n._b(t)}catch(n){if(RD(n=Mhn(n),212)||RD(n,169))return!1;throw uv(n)}}function Gdn(n,t){WV(n);try{return n.Hc(t)}catch(n){if(RD(n=Mhn(n),212)||RD(n,169))return!1;throw uv(n)}}function Hdn(n,t){WV(n);try{return n.Mc(t)}catch(n){if(RD(n=Mhn(n),212)||RD(n,169))return!1;throw uv(n)}}function Udn(n,t){WV(n);try{return n.xc(t)}catch(n){if(RD(n=Mhn(n),212)||RD(n,169))return null;throw uv(n)}}function qdn(n,t){WV(n);try{return n.Bc(t)}catch(n){if(RD(n=Mhn(n),212)||RD(n,169))return null;throw uv(n)}}function zdn(n,t){switch(t.g){case 2:case 1:return Ngn(n,t);case 3:case 4:return jpn(Ngn(n,t))}return uZ(),uZ(),qot}function Wdn(n){var t;return 64&n.Db?p$n(n):((t=new s$(p$n(n))).a+=" (name: ",zA(t,n.zb),t.a+=")",t.a)}function Xdn(n){var t;return(t=aU(rin(n.c.c,""),233))||(t=new P2(BM(FM(new wu,""),"Other")),Oyn(n.c.c,"",t)),t}function Vdn(n,t,e){var i,r;return r=n.sb,n.sb=t,4&n.Db&&!(1&n.Db)&&(i=new hX(n,1,4,r,t),e?e.nj(i):e=i),e}function Qdn(n,t,e){var i,r;return r=n.r,n.r=t,4&n.Db&&!(1&n.Db)&&(i=new hX(n,1,8,r,n.r),e?e.nj(i):e=i),e}function Jdn(n,t,e){var i;return i=new $en(n.e,4,13,t.c||(QYn(),IFt),null,Fkn(n,t),!1),e?e.nj(i):e=i,e}function Ydn(n,t,e){var i;return i=new $en(n.e,3,13,null,t.c||(QYn(),IFt),Fkn(n,t),!1),e?e.nj(i):e=i,e}function Zdn(n,t){var e,i;return!(i=(e=aU(t,691)).el())&&e.fl(i=RD(t,90)?new SA(n,aU(t,29)):new d4(n,aU(t,156))),i}function nwn(n,t,e){var i;n._i(n.i+1),i=n.Zi(t,e),t!=n.i&&HUn(n.g,t,n.g,t+1,n.i-t),aQ(n.g,t,i),++n.i,n.Mi(t,e),n.Ni()}function twn(n,t){var e;return t.a&&(e=t.a.a.length,n.a?VA(n.a,n.b):n.a=new h$(n.d),I4(n.a,t.a,t.d.length,e)),n}function ewn(n,t){var e;n.c=t,n.a=Vpn(t),n.a<54&&(n.f=(e=t.d>1?S4(t.a[0],t.a[1]):S4(t.a[0],0),W4(t.e>0?e:yen(e))))}function iwn(n,t){var e;return e=new un,n.a.Bd(e)?(Bx(),new Uk(ZQ(pen(n,e.a,t)))):(GQ(n),Bx(),Bx(),out)}function rwn(n,t){var e;0!=n.c.length&&(qL(e=aU(Myn(n,Pnn(wbt,n6n,10,n.c.length,0,1)),199),new Ie),WNn(e,t))}function cwn(n,t){var e;0!=n.c.length&&(qL(e=aU(Myn(n,Pnn(wbt,n6n,10,n.c.length,0,1)),199),new Ae),WNn(e,t))}function awn(n,t){return xA(n)?gF(n,t):RA(n)?wF(n,t):$A(n)?(ZQ(n),DA(n)===DA(t)):SW(n)?n.Fb(t):Dz(n)?jL(n,t):E3(n,t)}function own(n,t,e){if(t<0)qLn(n,e);else{if(!e.rk())throw uv(new pE(Gtt+e.xe()+Htt));aU(e,69).wk().Ek(n,n.hi(),t)}}function uwn(n,t,e){if(n<0||t>e)throw uv(new bE(c2n+n+o2n+t+", size: "+e));if(n>t)throw uv(new pE(c2n+n+a2n+t))}function swn(n){var t;return 64&n.Db?p$n(n):((t=new s$(p$n(n))).a+=" (source: ",zA(t,n.d),t.a+=")",t.a)}function hwn(n){return n>=65&&n<=70?n-65+10:n>=97&&n<=102?n-97+10:n>=48&&n<=57?n-48:0}function fwn(n){var t,e,i,r;for(VYn(),i=0,r=(e=Ayn()).length;i=0?xmn(n):uV(xmn(yen(n))))}function jwn(n,t,e,i,r,c){this.e=new Jm,this.f=(ian(),Xjt),mx(this.e,n),this.d=t,this.a=e,this.b=i,this.f=r,this.c=c}function Twn(n,e,i){n.n=Vq(JGt,[qZn,M0n],[376,28],14,[i,Z1(t.Math.ceil(e/32))],2),n.o=e,n.p=i,n.j=e-1>>1,n.k=i-1>>1}function Swn(n){return n=((n=((n-=n>>1&1431655765)>>2&858993459)+(858993459&n))>>4)+n&252645135,n+=n>>8,63&(n+=n>>16)}function Pwn(n,t){var e,i;for(i=new Nx(n);i.e!=i.i.gc();)if(e=aU(Jyn(i),142),DA(t)===DA(e))return!0;return!1}function Cwn(n,t,e){var i,r;return(r=E$n(n.b,t))&&(i=aU(Xzn(Ien(n,r),""),29))?u$n(n,i,t,e):null}function Own(n,t,e){var i,r;return(r=E$n(n.b,t))&&(i=aU(Xzn(Ien(n,r),""),29))?s$n(n,i,t,e):null}function Iwn(n,t){var e;if(null==(e=bcn(n.i,t)))throw uv(new jE("Node did not exist in input."));return Xun(t,e),null}function Awn(n,t){var e;if(RD(e=M_n(n,t),331))return aU(e,35);throw uv(new pE(Gtt+t+"' is not a valid attribute"))}function Lwn(n,t,e){var i;if(t>(i=n.gc()))throw uv(new lF(t,i));if(n.Si()&&n.Hc(e))throw uv(new pE(Uet));n.Gi(t,e)}function Nwn(n,t){t.Ug("Sort end labels",1),mS(VJ(oin(new sz(null,new u3(n.b,16)),new de),new we),new ge),t.Vg()}function Dwn(){Dwn=T,Jxt=new TI(Q2n,0),Qxt=new TI(z2n,1),Vxt=new TI(q2n,2),Xxt=new TI(i3n,3),Yxt=new TI("UP",4)}function xwn(){xwn=T,FAt=new sI("P1_STRUCTURE",0),BAt=new sI("P2_PROCESSING_ORDER",1),GAt=new sI("P3_EXECUTION",2)}function $wn(){$wn=T,HCt=Ivn(Ivn(dP(Ivn(Ivn(dP(Oq(new lJ,(Sjn(),zSt),(CGn(),sPt)),WSt),cPt),oPt),XSt),tPt),uPt)}function Rwn(n){switch(aU(cOn(n,(GYn(),Upt)),311).g){case 1:mfn(n,Upt,(Jen(),bpt));break;case 2:mfn(n,Upt,(Jen(),wpt))}}function _wn(n){switch(n){case 0:return new Ry;case 1:return new xy;case 2:return new $y;default:throw uv(new Nv)}}function Kwn(n){switch(n.g){case 2:return Qxt;case 1:return Vxt;case 4:return Xxt;case 3:return Yxt;default:return Jxt}}function Fwn(n,t){switch(n.b.g){case 0:case 1:return t;case 2:case 3:return new dY(t.d,0,t.a,t.b);default:return null}}function Bwn(n){switch(n.g){case 1:return _Rt;case 2:return vRt;case 3:return mRt;case 4:return $Rt;default:return RRt}}function Gwn(n){switch(n.g){case 1:return $Rt;case 2:return _Rt;case 3:return vRt;case 4:return mRt;default:return RRt}}function Hwn(n){switch(n.g){case 1:return mRt;case 2:return $Rt;case 3:return _Rt;case 4:return vRt;default:return RRt}}function Uwn(n,t,e,i){switch(t){case 1:return!n.n&&(n.n=new sX(sKt,n,1,7)),n.n;case 2:return n.k}return rjn(n,t,e,i)}function qwn(n,t,e){var i,r;return n.Pj()?(r=n.Qj(),i=FNn(n,t,e),n.Jj(n.Ij(7,Ddn(e),i,t,r)),i):FNn(n,t,e)}function zwn(n,t){var e,i,r;null==n.d?(++n.e,--n.f):(r=t.ld(),j7(n,i=((e=t.Bi())&pZn)%n.d.length,k$n(n,i,e,r)))}function Wwn(n,t){var e;e=!!(n.Bb&l1n),t?n.Bb|=l1n:n.Bb&=-1025,4&n.Db&&!(1&n.Db)&&ysn(n,new E9(n,1,10,e,t))}function Xwn(n,t){var e;e=!!(n.Bb&E0n),t?n.Bb|=E0n:n.Bb&=-4097,4&n.Db&&!(1&n.Db)&&ysn(n,new E9(n,1,12,e,t))}function Vwn(n,t){var e;e=!!(n.Bb&urt),t?n.Bb|=urt:n.Bb&=-8193,4&n.Db&&!(1&n.Db)&&ysn(n,new E9(n,1,15,e,t))}function Qwn(n,t){var e;e=!!(n.Bb&srt),t?n.Bb|=srt:n.Bb&=-2049,4&n.Db&&!(1&n.Db)&&ysn(n,new E9(n,1,11,e,t))}function Jwn(n){var t;n.g&&(SKn((t=n.c.kg()?n.f:n.a).a,n.o,!0),SKn(t.a,n.o,!1),mfn(n.o,(EYn(),VEt),(LPn(),eRt)))}function Ywn(n){var t;if(!n.a)throw uv(new mE("Cannot offset an unassigned cut."));t=n.c-n.b,n.b+=t,tZ(n,t),nZ(n,t)}function Zwn(n,t){var e;if(null==(e=iQ(n.k,t)))throw uv(new jE("Port did not exist in input."));return Xun(t,e),null}function ngn(n){var t,e;for(e=f$n(Frn(n)).Kc();e.Ob();)if(GHn(n,t=g_(e.Pb())))return u8((vP(),tFt),t);return null}function tgn(n){var t,e;for(e=n.p.a.ec().Kc();e.Ob();)if((t=aU(e.Pb(),218)).f&&n.b[t.c]<-1e-10)return t;return null}function egn(n){var t,e;for(e=EQ(new WE,91),t=!0;n.Ob();)t||(e.a+=kZn),t=!1,XA(e,n.Pb());return(e.a+="]",e).a}function ign(n){var t,e,i;for(t=new Jm,i=new Wd(n.b);i.at?1:n==t?0==n?agn(1/n,1/t):0:isNaN(n)?isNaN(t)?0:1:-1}function ogn(n){var t;return null==(t=n.a[n.c-1&n.a.length-1])?null:(n.c=n.c-1&n.a.length-1,aQ(n.a,n.c,null),t)}function ugn(n){var t,e,i;for(i=0,e=n.length,t=0;t=1?Qxt:Xxt:t}function ggn(n){switch(aU(cOn(n,(EYn(),zkt)),223).g){case 1:return new ic;case 3:return new uc;default:return new ec}}function pgn(n){if(n.c)pgn(n.c);else if(n.d)throw uv(new mE("Stream already terminated, can't be modified or used"))}function mgn(n,t,e){var i;return i=n.a.get(t),n.a.set(t,void 0===e?null:e),void 0===i?(++n.c,++n.b.g):++n.d,i}function vgn(n,t,e){var i,r;for(r=n.a.ec().Kc();r.Ob();)if(i=aU(r.Pb(),10),vhn(e,aU(qq(t,i.p),16)))return i;return null}function ygn(n,t,e){var i;return i=0,t&&(sN(n.a)?i+=t.f.a/2:i+=t.f.b/2),e&&(sN(n.a)?i+=e.f.a/2:i+=e.f.b/2),i}function kgn(n,t,e){var i;!(i=e)&&(i=DU(new sk,0)),i.Ug($4n,2),qkn(n.b,t,i.eh(1)),UWn(n,t,i.eh(1)),uJn(t,i.eh(1)),i.Vg()}function Egn(n,t,e){var i;return dj(),jcn(i=new ns,t),wcn(i,e),n&&Znn((!n.a&&(n.a=new yx(Z_t,n,5)),n.a),i),i}function Mgn(n){var t;return 64&n.Db?p$n(n):((t=new s$(p$n(n))).a+=" (identifier: ",zA(t,n.k),t.a+=")",t.a)}function jgn(n,t){var e;e=!!(n.Bb&Xtt),t?n.Bb|=Xtt:n.Bb&=-32769,4&n.Db&&!(1&n.Db)&&ysn(n,new E9(n,1,18,e,t))}function Tgn(n,t){var e;e=!!(n.Bb&Xtt),t?n.Bb|=Xtt:n.Bb&=-32769,4&n.Db&&!(1&n.Db)&&ysn(n,new E9(n,1,18,e,t))}function Sgn(n,t){var e;e=!!(n.Bb&zZn),t?n.Bb|=zZn:n.Bb&=-16385,4&n.Db&&!(1&n.Db)&&ysn(n,new E9(n,1,16,e,t))}function Pgn(n,t){var e;e=!!(n.Bb&T0n),t?n.Bb|=T0n:n.Bb&=-65537,4&n.Db&&!(1&n.Db)&&ysn(n,new E9(n,1,20,e,t))}function Cgn(n){var t;return t=Pnn(XGt,A1n,28,2,15,1),n-=T0n,t[0]=(n>>10)+S0n&N1n,t[1]=56320+(1023&n)&N1n,gvn(t,0,t.length)}function Ogn(n){var t;return(t=QOn(n))>34028234663852886e22?y0n:t<-34028234663852886e22?k0n:t}function Ign(n,t){var e;return _L(n)&&_L(t)&&w0n<(e=n+t)&&e"+z3(t.c):"e_"+Fon(t),n.b&&n.c?z3(n.b)+"->"+z3(n.c):"e_"+Fon(n))}function $gn(n,t){return gF(t.b&&t.c?z3(t.b)+"->"+z3(t.c):"e_"+Fon(t),n.b&&n.c?z3(n.b)+"->"+z3(n.c):"e_"+Fon(n))}function Rgn(n,e){return QN(),can(k1n),t.Math.abs(n-e)<=k1n||n==e||isNaN(n)&&isNaN(e)?0:ne?1:$L(isNaN(n),isNaN(e))}function _gn(){_gn=T,s$t=new PI(Q2n,0),o$t=new PI("POLYLINE",1),a$t=new PI("ORTHOGONAL",2),u$t=new PI("SPLINES",3)}function Kgn(){Kgn=T,PIt=new rI("ASPECT_RATIO_DRIVEN",0),CIt=new rI("MAX_SCALE_DRIVEN",1),SIt=new rI("AREA_DRIVEN",2)}function Fgn(n,t,e){try{zfn(n,t,e)}catch(n){throw RD(n=Mhn(n),606)?uv(new D9(n)):uv(n)}return t}function Bgn(n){var t,e;for(t=0,e=n.length;tt&&i.Ne(n[c-1],n[c])>0;--c)a=n[c],aQ(n,c,n[c-1]),aQ(n,c-1,a)}function Jgn(n,t){var e,i,r,c,a;if(e=t.f,Oyn(n.c.d,e,t),null!=t.g)for(c=0,a=(r=t.g).length;ct){R4(e);break}}hV(e,t)}function Zgn(n,e){var i,r;r=aE(w_(Cmn(q4(e),(EYn(),bMt)))),kTn(e,i=t.Math.max(0,r/2-.5),1),mx(n,new DC(e,i))}function npn(n,t,e){e.Ug("Straight Line Edge Routing",1),e.dh(t,h7n),Nzn(n,aU(qxn(t,(j_(),qCt)),27)),e.dh(t,l7n)}function tpn(n,t){0==n.n.c.length&&mx(n.n,new i0(n.s,n.t,n.i)),mx(n.b,t),qEn(aU(qq(n.n,n.n.c.length-1),209),t),YUn(n,t)}function epn(n){var t;this.a=new YF(t=aU(n.e&&n.e(),9),aU(yK(t,t.length),9),0),this.b=Pnn(bat,MZn,1,this.a.a.length,5,1)}function ipn(n){return Array.isArray(n)&&n.Tm===j?Pj(kbn(n))+"@"+(Fon(n)>>>0).toString(16):n.toString()}function rpn(n,t){return n.h==f0n&&0==n.m&&0==n.l?(t&&(Xat=wD(0,0,0)),IL((Zen(),Jat))):(t&&(Xat=wD(n.l,n.m,n.h)),wD(0,0,0))}function cpn(n,t){switch(t.g){case 2:return n.b;case 1:return n.c;case 4:return n.d;case 3:return n.a;default:return!1}}function apn(n,t){switch(t.g){case 2:return n.b;case 1:return n.c;case 4:return n.d;case 3:return n.a;default:return!1}}function opn(n,t,e,i){switch(t){case 3:return n.f;case 4:return n.g;case 5:return n.i;case 6:return n.j}return Uwn(n,t,e,i)}function upn(n,t){if(t==n.d)return n.e;if(t==n.e)return n.d;throw uv(new pE("Node "+t+" not part of edge "+n))}function spn(n,t){var e;if(RD(e=M_n(n.Dh(),t),102))return aU(e,19);throw uv(new pE(Gtt+t+"' is not a valid reference"))}function hpn(n,t,e,i){if(t<0)hRn(n,e,i);else{if(!e.rk())throw uv(new pE(Gtt+e.xe()+Htt));aU(e,69).wk().Ck(n,n.hi(),t,i)}}function fpn(n){var t;if(n.b){if(fpn(n.b),n.b.d!=n.c)throw uv(new Rv)}else n.d.dc()&&(t=aU(n.f.c.xc(n.e),16))&&(n.d=t)}function lpn(n){var t,e;for(z_(),t=n.o.b,e=aU(aU(Q9(n.r,($Qn(),$Rt)),21),87).Kc();e.Ob();)aU(e.Pb(),117).e.b+=t}function bpn(n){var t,e,i;for(this.a=new UL,i=new Wd(n);i.a=r)return t.c+e;return t.c+t.b.gc()}function wpn(n,t){var e,i,r,c;for(M_(),r=t,Atn(i=Vtn(n),0,i.length,r),e=0;e0&&(i+=r,++e);return e>1&&(i+=n.d*(e-1)),i}function ypn(n){var t,e,i;return i=dCn(n),!wT(n.c)&&(Yin(i,"knownLayouters",e=new Pb),t=new Em(e),q8(n.c,t)),i}function kpn(n){var t,e,i;for((i=new qE).a+="[",t=0,e=n.gc();t0&&(o3(t-1,n.length),58==n.charCodeAt(t-1))&&!gpn(n,JKt,YKt)}function Spn(n,t){var e;return DA(n)===DA(t)||!!RD(t,92)&&(e=aU(t,92),n.e==e.e&&n.d==e.d&&b8(n,e.a))}function Ppn(n){switch($Qn(),n.g){case 4:return vRt;case 1:return mRt;case 3:return $Rt;case 2:return _Rt;default:return RRt}}function Cpn(n){var t,e;if(n.b)return n.b;for(e=Aut?null:n.d;e;){if(t=Aut?null:e.b)return t;e=Aut?null:e.d}return wS(),Mut}function Opn(n){var t,e;for(e=aE(w_(n.a.of((UYn(),Ixt)))),t=new Wd(n.a.Sf());t.a>5),15,1))[e]=1<3;)r*=10,--c;n=(n+(r>>1))/r|0}return i.i=n,!0}function nmn(n,t){var e,i,r;if(null==n.i&&nqn(n),e=n.i,-1!=(i=t.Lj()))for(r=e.length;i=0;--i)for(t=e[i],r=0;r>1,this.k=e-1>>1}function umn(n){jtn(),aU(n.of((UYn(),HDt)),181).Hc((rHn(),c_t))&&(aU(n.of(fxt),181).Fc((nNn(),wRt)),aU(n.of(HDt),181).Mc(c_t))}function smn(n){var t,e;t=n.d==(pAn(),Kwt),e=bPn(n),mfn(n.a,(EYn(),fkt),t&&!e||!t&&e?(Ykn(),INt):(Ykn(),ONt))}function hmn(){hmn=T,JS(),EYn(),WMt=MMt,XMt=Y9(Bhn(iM(hNt,1),g9n,149,0,[lMt,bMt,wMt,gMt,vMt,yMt,kMt,EMt,TMt,PMt,dMt,pMt,jMt]))}function fmn(n,t){var e;return(e=aU(h8(n,stn(new X,new W,new en,Bhn(iM(xut,1),w1n,108,0,[(vbn(),Put)]))),15)).Qc(Aq(e.gc()))}function lmn(n,t){var e,i;if((i=new cw(n.a.ad(t,!0))).a.gc()<=1)throw uv(new xv);return(e=i.a.ec().Kc()).Pb(),aU(e.Pb(),40)}function bmn(n,t,e){var i;return i=aE(n.p[t.i.p])+aE(n.d[t.i.p])+t.n.b+t.a.b,aE(n.p[e.i.p])+aE(n.d[e.i.p])+e.n.b+e.a.b-i}function dmn(n,t){return n.i>0&&(t.lengthn.i&&aQ(t,n.i,null),t}function wmn(n){var t;return 64&n.Db?Wdn(n):((t=new s$(Wdn(n))).a+=" (instanceClassName: ",zA(t,n.D),t.a+=")",t.a)}function gmn(n){var t,e,i,r;for(r=0,e=0,i=n.length;e0&&(n._j(),-1!=k$n(n,((e=null==t?0:Fon(t))&pZn)%n.d.length,e,t))}function ymn(n,e){var i,r;n.a=Ign(n.a,1),n.c=t.Math.min(n.c,e),n.b=t.Math.max(n.b,e),n.d+=e,i=e-n.f,r=n.e+i,n.f=r-n.e-i,n.e=r}function kmn(n,t){switch(t){case 3:return void pcn(n,0);case 4:return void mcn(n,0);case 5:return void vcn(n,0);case 6:return void ycn(n,0)}Odn(n,t)}function Emn(n,t){switch(t.g){case 1:return QH(n.j,(Iun(),vbt));case 2:return QH(n.j,(Iun(),kbt));default:return uZ(),uZ(),qot}}function Mmn(n){var t;switch(JV(),(t=n.Pc()).length){case 0:return Eat;case 1:return new Bq(WV(t[0]));default:return new ZZ(Bgn(t))}}function jmn(n,t){n.Xj();try{n.d.bd(n.e++,t),n.f=n.d.j,n.g=-1}catch(n){throw RD(n=Mhn(n),77)?uv(new Rv):uv(n)}}function Tmn(){Tmn=T,sBt=new Os,eBt=new Is,iBt=new As,rBt=new Ls,cBt=new Ns,aBt=new Ds,oBt=new xs,uBt=new $s,hBt=new Rs}function Smn(n,t){var e,i;return lL(),i=null,t==(e=fK((Hk(),Hk(),Fat)))&&(i=aU(B1(Kat,n),624)),i||(i=new VV(n),t==e&&e2(Kat,n,i)),i}function Pmn(n){return Qkn(),(n.q?n.q:(uZ(),uZ(),zot))._b((EYn(),IEt))?aU(cOn(n,IEt),203):aU(cOn(FQ(n),AEt),203)}function Cmn(n,t){var e,i;return i=null,pR(n,(EYn(),mMt))&&(e=aU(cOn(n,mMt),96)).pf(t)&&(i=e.of(t)),null==i&&(i=cOn(FQ(n),t)),i}function Omn(n,t){var e,i,r;return!!RD(t,44)&&(i=(e=aU(t,44)).ld(),DQ(r=Udn(n.Rc(),i),e.md())&&(null!=r||n.Rc()._b(i)))}function Imn(n,t){var e,i;return n.f>0&&(n._j(),e=JNn(n,((i=null==t?0:Fon(t))&pZn)%n.d.length,i,t))?e.md():null}function Amn(n,t,e){var i,r,c;return n.Pj()?(i=n.i,c=n.Qj(),nwn(n,i,t),r=n.Ij(3,null,t,i,c),e?e.nj(r):e=r):nwn(n,n.i,t),e}function Lmn(n,t,e){var i,r;return i=new $en(n.e,4,10,RD(r=t.c,90)?aU(r,29):(QYn(),NFt),null,Fkn(n,t),!1),e?e.nj(i):e=i,e}function Nmn(n,t,e){var i,r;return i=new $en(n.e,3,10,null,RD(r=t.c,90)?aU(r,29):(QYn(),NFt),Fkn(n,t),!1),e?e.nj(i):e=i,e}function Dmn(n){var t;return z_(),t=new nN(aU(n.e.of((UYn(),BDt)),8)),n.B.Hc((rHn(),n_t))&&(t.a<=0&&(t.a=20),t.b<=0&&(t.b=20)),t}function xmn(n){var t,e;return iGn(),e=wW(n),0!=(t=wW(NW(n,32)))?new D3(e,t):e>10||e<0?new J5(1,e):xot[e]}function $mn(n,t){var e;return _L(n)&&_L(t)&&w0n<(e=n%t)&&e=0?c=c.a[1]:(r=c,c=c.a[0])}return r}function Ymn(n,t,e){var i,r,c;for(r=null,c=n.b;c;){if(i=n.a.Ne(t,c.d),e&&0==i)return c;i<=0?c=c.a[0]:(r=c,c=c.a[1])}return r}function Zmn(n,t,e,i){var r,c,a;return r=!1,YXn(n.f,e,i)&&(uyn(n.f,n.a[t][e],n.a[t][i]),a=(c=n.a[t])[i],c[i]=c[e],c[e]=a,r=!0),r}function nvn(n,t,e){var i,r,c;for(r=aU(iQ(n.b,e),183),i=0,c=new Wd(t.j);c.a>5,t&=31,r=n.d+e+(0==t?0:1),mCn(i=Pnn(VGt,W1n,28,r,15,1),n.a,e,t),$4(c=new zX(n.e,r,i)),c}function ivn(n,t){var e;for(e=new RW(t$(Ugn(n).a.Kc(),new h));uxn(e);)if(aU(A9(e),18).d.i.c==t)return!1;return!0}function rvn(n,e,i){var r,c,a,o,u;return o=n.k,u=e.k,c=w_(Cmn(n,r=i[o.g][u.g])),a=w_(Cmn(e,r)),t.Math.max((ZQ(c),c),(ZQ(a),a))}function cvn(){return Error.stackTraceLimit>0?(t.Error.stackTraceLimit=Error.stackTraceLimit=64,!0):"stack"in new Error}function avn(n,e){return QN(),QN(),can(k1n),(t.Math.abs(n-e)<=k1n||n==e||isNaN(n)&&isNaN(e)?0:ne?1:$L(isNaN(n),isNaN(e)))>0}function ovn(n,e){return QN(),QN(),can(k1n),(t.Math.abs(n-e)<=k1n||n==e||isNaN(n)&&isNaN(e)?0:ne?1:$L(isNaN(n),isNaN(e)))<0}function uvn(n,e){return QN(),QN(),can(k1n),(t.Math.abs(n-e)<=k1n||n==e||isNaN(n)&&isNaN(e)?0:ne?1:$L(isNaN(n),isNaN(e)))<=0}function svn(n,t){for(var e=0;!t[e]||""==t[e];)e++;for(var i=t[e++];e0&&this.b>0&&(this.g=gz(this.c,this.b,this.a))}function kvn(n,t){var e,i=n.a;t=String(t),i.hasOwnProperty(t)&&(e=i[t]);var r=(Sfn(),Wat)[typeof e];return r?r(e):zbn(typeof e)}function Evn(n){if(!(Pet in n.a))throw uv(new jE("Every element must have an id."));return sNn(p0(n,Pet))}function Mvn(n){var t,e;for(e=WIn(n),t=null;2==n.c;)MYn(n),t||(XYn(),XYn(),pWn(t=new XN(2),e),e=t),e.Jm(WIn(n));return e}function jvn(n,t){var e,i;return n._j(),(e=JNn(n,((i=null==t?0:Fon(t))&pZn)%n.d.length,i,t))?(aan(n,e),e.md()):null}function Tvn(n,t){return n.e>t.e?1:n.et.d?n.e:n.d=48&&n<48+t.Math.min(10,10)?n-48:n>=97&&n<97?n-97+10:n>=65&&n<65?n-65+10:-1}function Pvn(n,t){if(t.c==n)return t.d;if(t.d==n)return t.c;throw uv(new pE("Input edge is not connected to the input port."))}function Cvn(n){if(Kvn(Rnt,n))return H$(),not;if(Kvn(_nt,n))return H$(),Zat;throw uv(new pE("Expecting true or false"))}function Ovn(n){switch(typeof n){case wZn:return wln(n);case dZn:return CL(n);case bZn:return U_(n);default:return null==n?0:D$(n)}}function Ivn(n,t){if(n.a<0)throw uv(new mE("Did not call before(...) or after(...) before calling add(...)."));return uR(n,n.a,t),n}function Avn(n){return W0(),RD(n,162)?aU(iQ(SKt,tut),295).Rg(n):TX(SKt,kbn(n))?aU(iQ(SKt,kbn(n)),295).Rg(n):null}function Lvn(n){var t;return 32&n.Db||0!=(t=tQ(aU(Isn(n,16),29)||n.ii())-tQ(n.ii()))&&Nvn(n,32,Pnn(bat,MZn,1,t,5,1)),n}function Nvn(n,t,e){var i;n.Db&t?null==e?FDn(n,t):-1==(i=EMn(n,t))?n.Eb=e:aQ($cn(n.Eb),i,e):null!=e&&hKn(n,t,e)}function Dvn(n,t,e,i){var r;0!=t.c.length&&(r=dRn(e,i),mS(mrn(new sz(null,new u3(WLn(t),1)),new ba),new wY(n,e,r,i)))}function xvn(n,t){var e,i,r;return i=n.a.length-1,e=t-n.b&i,r=n.c-t&i,E_(e<(n.c-n.b&i)),e>=r?(Tbn(n,t),-1):(jbn(n,t),1)}function $vn(n){var t,e,i;if(!(i=n.Jh()))for(t=0,e=n.Ph();e;e=e.Ph()){if(++t>C0n)return e.Qh();if((i=e.Jh())||e==n)break}return i}function Rvn(n,t){var e;return DA(t)===DA(n)||!!RD(t,21)&&(e=aU(t,21)).gc()==n.gc()&&n.Ic(e)}function _vn(n,t){return n.et.e?1:n.ft.f?1:Fon(n)-Fon(t)}function Kvn(n,t){return ZQ(n),null!=t&&(!!gF(n,t)||n.length==t.length&&gF(n.toLowerCase(),t.toLowerCase()))}function Fvn(n){var t,e;return bdn(n,-129)>0&&bdn(n,128)<0?(Zq(),t=wW(n)+128,!(e=dot[t])&&(e=dot[t]=new Cd(n)),e):new Cd(n)}function Bvn(){Bvn=T,Zlt=new MC(H4n,0),Jlt=new MC("INSIDE_PORT_SIDE_GROUPS",1),Qlt=new MC("GROUP_MODEL_ORDER",2),Ylt=new MC(U4n,3)}function Gvn(n){var t;return n.b||lj(n,!(t=XK(n.e,n.a))||!gF(_nt,Imn((!t.b&&(t.b=new UR((QYn(),KFt),fBt,t)),t.b),"qualified"))),n.c}function Hvn(n,t){var e,i;for(o3(t,n.length),e=n.charCodeAt(t),i=t+1;i2e3&&(Gat=n,Hat=t.setTimeout(pT,10)),0==Bat++&&(Tin((Gk(),Rat)),!0)}function lyn(n,t,e){var i;(Out?(Cpn(n),1):Iut||Nut?(wS(),1):Lut&&(wS(),0))&&((i=new tB(t)).b=e,HOn(n,i))}function byn(n,t){var e;e=!n.A.Hc((Xmn(),VRt))||n.q==(LPn(),iRt),n.u.Hc((nNn(),lRt))?e?XQn(n,t):yQn(n,t):n.u.Hc(dRt)&&(e?QVn(n,t):yJn(n,t))}function dyn(n){var t;DA(qxn(n,(UYn(),MDt)))===DA((Cdn(),C$t))&&(x0(n)?(t=aU(qxn(x0(n),MDt),346),ykn(n,MDt,t)):ykn(n,MDt,O$t))}function wyn(n){var t,e;return!!pR(n.d.i,(EYn(),BEt))&&(t=aU(cOn(n.c.i,BEt),17),e=aU(cOn(n.d.i,BEt),17),bD(t.a,e.a)>0)}function gyn(n,e,i){return new dY(t.Math.min(n.a,e.a)-i/2,t.Math.min(n.b,e.b)-i/2,t.Math.abs(n.a-e.a)+i,t.Math.abs(n.b-e.b)+i)}function pyn(n){var t;this.d=new Jm,this.j=new oj,this.g=new oj,t=n.g.b,this.f=aU(cOn(FQ(t),(EYn(),Kkt)),88),this.e=aE(w_(nkn(t,vMt)))}function myn(n){this.d=new Jm,this.e=new a8,this.c=Pnn(VGt,W1n,28,($Qn(),Bhn(iM(QRt,1),q4n,64,0,[RRt,vRt,mRt,$Rt,_Rt])).length,15,1),this.b=n}function vyn(n,t,e){var i;switch(i=e[n.g][t],n.g){case 1:case 3:return new yI(0,i);case 2:case 4:return new yI(i,0);default:return null}}function yyn(n,t,e){var i;i=aU(O1(t.f),205);try{i.rf(n,e),WQ(t.f,i)}catch(n){throw RD(n=Mhn(n),103),uv(n)}}function kyn(n,t,e){var i,r,c,a;return i=null,(c=NXn(ran(),t))&&(r=null,null!=(a=pXn(c,e))&&(r=n.qf(c,a)),i=r),i}function Eyn(n,t,e,i){var r;if(t>=(r=n.length))return r;for(t=t>0?t:0;ti&&aQ(t,i,null),t}function jyn(n,t){var e,i;for(i=n.a.length,t.lengthi&&aQ(t,i,null),t}function Tyn(n,t){var e,i;++n.j,null!=t&&nDn(t,e=RD(i=n.a.Cb,99)?aU(i,99).th():null)?Nvn(n.a,4,e):Nvn(n.a,4,aU(t,129))}function Syn(n){var t;if(null==n)return null;if(null==(t=M$n(vzn(n,!0))))throw uv(new TE("Invalid hexBinary value: '"+n+"'"));return t}function Pyn(n,t,e){var i;t.a.length>0&&(mx(n.b,new uU(t.a,e)),0<(i=t.a.length)?t.a=e1(t.a,0,0):0>i&&(t.a+=zD(Pnn(XGt,A1n,28,-i,15,1))))}function Cyn(n,t,e){var i;if(!e[t.d])for(e[t.d]=!0,i=new Wd(Mbn(t));i.a=n.b>>1)for(i=n.c,e=n.b;e>t;--e)i=i.b;else for(i=n.a.a,e=0;e=0?n.Wh(r):LNn(n,i):e<0?LNn(n,i):aU(i,69).wk().Bk(n,n.hi(),e)}function Xyn(n){var t,e;for(!n.o&&(n.o=new htn((ZJn(),U_t),EKt,n,0)),t=(e=n.o).c.Kc();t.e!=t.i.gc();)aU(t.Yj(),44).md();return knn(e)}function Vyn(n){var t;if(RD(n.a,4)){if(null==(t=Avn(n.a)))throw uv(new mE(Knt+n.b+"'. "+xnt+(p_(AKt),AKt.k)+$nt));return t}return n.a}function Qyn(n,t){var e,i;if(n.j.length!=t.j.length)return!1;for(e=0,i=n.j.length;e=64&&t<128&&(r=j3(r,AW(1,t-64)));return r}function nkn(n,t){var e,i;return i=null,pR(n,(UYn(),Cxt))&&(e=aU(cOn(n,Cxt),96)).pf(t)&&(i=e.of(t)),null==i&&FQ(n)&&(i=cOn(FQ(n),t)),i}function tkn(n,t){var e;return e=aU(cOn(n,(EYn(),fEt)),75),_D(t,ibt)?e?KY(e):(e=new By,mfn(n,fEt,e)):e&&mfn(n,fEt,null),e}function ekn(){ekn=T,UYn(),tft=jxt,Vht=yDt,Uht=iDt,Qht=WDt,yTn(),Zht=ist,Yht=tst,nft=cst,Jht=nst,wbn(),zht=Fht,qht=Kht,Wht=Ght,Xht=Hht}function ikn(n){switch(HS(),this.c=new Jm,this.d=n,n.g){case 0:case 2:this.a=mJ(Xlt),this.b=y0n;break;case 3:case 1:this.a=Xlt,this.b=k0n}}function rkn(n){var t;IF(aU(cOn(n,(EYn(),VEt)),101))&&(iDn((a3(0,(t=n.b).c.length),aU(t.c[0],30))),iDn(aU(qq(t,t.c.length-1),30)))}function ckn(n,t){t.Ug("Self-Loop post-processing",1),mS(VJ(VJ(oin(new sz(null,new u3(n.b,16)),new xi),new $i),new Ri),new _i),t.Vg()}function akn(n,t,e){var i;if(n.c)vcn(n.c,n.c.i+t),ycn(n.c,n.c.j+e);else for(i=new Wd(n.b);i.a=0&&(e.d=n.t);break;case 3:n.t>=0&&(e.a=n.t)}n.C&&(e.b=n.C.b,e.c=n.C.c)}function wkn(){wkn=T,kjt=new lO(m9n,0),mjt=new lO(N6n,1),vjt=new lO("LINEAR_SEGMENTS",2),pjt=new lO("BRANDES_KOEPF",3),yjt=new lO(p9n,4)}function gkn(){gkn=T,Aht=new hC(c3n,0),Iht=new hC(a3n,1),Lht=new hC(o3n,2),Nht=new hC(u3n,3),Aht.a=!1,Iht.a=!0,Lht.a=!1,Nht.a=!0}function pkn(){pkn=T,vht=new uC(c3n,0),mht=new uC(a3n,1),yht=new uC(o3n,2),kht=new uC(u3n,3),vht.a=!1,mht.a=!0,yht.a=!1,kht.a=!0}function mkn(n,t,e,i){var r;return e>=0?n.Sh(t,e,i):(n.Ph()&&(i=(r=n.Fh())>=0?n.Ah(i):n.Ph().Th(n,-1-r,null,i)),n.Ch(t,e,i))}function vkn(n,t){switch(t){case 7:return!n.e&&(n.e=new sF(iKt,n,7,4)),void SWn(n.e);case 8:return!n.d&&(n.d=new sF(iKt,n,8,5)),void SWn(n.d)}kmn(n,t)}function ykn(n,t,e){return null==e?(!n.o&&(n.o=new htn((ZJn(),U_t),EKt,n,0)),jvn(n.o,t)):(!n.o&&(n.o=new htn((ZJn(),U_t),EKt,n,0)),eSn(n.o,t,e)),n}function kkn(n,t){var e,i,r,c;for(uZ(),e=n,c=t,RD(n,21)&&!RD(t,21)&&(e=t,c=n),r=e.Kc();r.Ob();)if(i=r.Pb(),c.Hc(i))return!1;return!0}function Ekn(n,t,e,i){if(t.ae.b)return!0}return!1}function Mkn(n,t){return xA(n)?!!fZn[t]:n.Sm?!!n.Sm[t]:RA(n)?!!hZn[t]:!!$A(n)&&!!sZn[t]}function jkn(n){var t;t=n.a;do{(t=aU(A9(new RW(t$(Hgn(t).a.Kc(),new h))),18).c.i).k==(qOn(),lbt)&&n.b.Fc(t)}while(t.k==(qOn(),lbt));n.b=jpn(n.b)}function Tkn(n,e){var i,r,c;for(c=n,r=new RW(t$(Hgn(e).a.Kc(),new h));uxn(r);)(i=aU(A9(r),18)).c.i.c&&(c=t.Math.max(c,i.c.i.c.p));return c}function Skn(n,t){var e,i,r;for(r=0,i=aU(aU(Q9(n.r,t),21),87).Kc();i.Ob();)r+=(e=aU(i.Pb(),117)).d.d+e.b.Mf().b+e.d.a,i.Ob()&&(r+=n.w);return r}function Pkn(n,t){var e,i,r;for(r=0,i=aU(aU(Q9(n.r,t),21),87).Kc();i.Ob();)r+=(e=aU(i.Pb(),117)).d.b+e.b.Mf().a+e.d.c,i.Ob()&&(r+=n.w);return r}function Ckn(n){var t,e,i;if(e=0,0==(i=GKn(n)).c.length)return 1;for(t=new Wd(i);t.a=0?n.Lh(a,e,!0):QNn(n,c,e):aU(c,69).wk().yk(n,n.hi(),r,e,i)}function Dkn(n,t,e,i){var r;(r=fwn(t.pf((UYn(),$Dt))?aU(t.of($Dt),21):n.j))!=(VYn(),oht)&&(e&&!pvn(r)||IIn(j$n(n,r,i),t))}function xkn(n){switch(n.g){case 1:return nhn(),wht;case 3:return nhn(),lht;case 2:return nhn(),dht;case 4:return nhn(),bht;default:return null}}function $kn(n,t,e){if(n.e)switch(n.b){case 1:VY(n.c,t,e);break;case 0:QY(n.c,t,e)}else S5(n.c,t,e);n.a[t.p][e.p]=n.c.i,n.a[e.p][t.p]=n.c.e}function Rkn(n){var t,e;if(null==n)return null;for(e=Pnn(wbt,qZn,199,n.length,0,2),t=0;t=0)return i;if(n.ol())for(e=0;e=(r=n.gc()))throw uv(new lF(t,r));if(n.Si()&&(i=n.dd(e))>=0&&i!=t)throw uv(new pE(Uet));return n.Xi(t,e)}function Gkn(n,t){if(this.a=aU(WV(n),253),this.b=aU(WV(t),253),n.Ed(t)>0||n==(wk(),yat)||t==(gk(),kat))throw uv(new pE("Invalid range: "+A5(n,t)))}function Hkn(n){var t,e;for(this.b=new Jm,this.c=n,this.a=!1,e=new Wd(n.a);e.a0),(t&-t)==t)return Z1(t*aRn(n,31)*4.656612873077393e-10);do{i=(e=aRn(n,31))%t}while(e-i+(t-1)<0);return Z1(i)}function eEn(n,t,e){switch(e.g){case 1:n.a=t.a/2,n.b=0;break;case 2:n.a=t.a,n.b=t.b/2;break;case 3:n.a=t.a/2,n.b=t.b;break;case 4:n.a=0,n.b=t.b/2}}function iEn(n,t,e,i){var r,c;for(r=t;r1&&(r=Ukn(n,t)),r}function oEn(n){var e;return new yI(e=aE(w_(qxn(n,(UYn(),Kxt))))*t.Math.sqrt((!n.a&&(n.a=new sX(hKt,n,10,11)),n.a).i),e/aE(w_(qxn(n,_xt))))}function uEn(n){var t;return n.f&&n.f.Vh()&&(t=aU(n.f,54),n.f=aU(gdn(n,t),84),n.f!=t&&4&n.Db&&!(1&n.Db)&&ysn(n,new hX(n,9,8,t,n.f))),n.f}function sEn(n){var t;return n.i&&n.i.Vh()&&(t=aU(n.i,54),n.i=aU(gdn(n,t),84),n.i!=t&&4&n.Db&&!(1&n.Db)&&ysn(n,new hX(n,9,7,t,n.i))),n.i}function hEn(n){var t;return n.b&&64&n.b.Db&&(t=n.b,n.b=aU(gdn(n,t),19),n.b!=t&&4&n.Db&&!(1&n.Db)&&ysn(n,new hX(n,9,21,t,n.b))),n.b}function fEn(n,t){var e,i,r;null==n.d?(++n.e,++n.f):(i=t.Bi(),n_n(n,n.f+1),r=(i&pZn)%n.d.length,!(e=n.d[r])&&(e=n.d[r]=n.dk()),e.Fc(t),++n.f)}function lEn(n,t,e){var i;return!t.tk()&&(-2!=t.Ik()?null==(i=t.ik())?null==e:awn(i,e):t.qk()==n.e.Dh()&&null==e)}function bEn(){var n;gan(16,f1n),n=ron(16),this.b=Pnn(Sat,h1n,303,n,0,1),this.c=Pnn(Sat,h1n,303,n,0,1),this.a=null,this.e=null,this.i=0,this.f=n-1,this.g=0}function dEn(n){IK.call(this),this.k=(qOn(),bbt),this.j=(gan(6,d1n),new x7(6)),this.b=(gan(2,d1n),new x7(2)),this.d=new Ly,this.f=new Dy,this.a=n}function wEn(n){var t,e;n.c.length<=1||(tAn(n,aU((t=lFn(n,($Qn(),$Rt))).a,17).a,aU(t.b,17).a),tAn(n,aU((e=lFn(n,_Rt)).a,17).a,aU(e.b,17).a))}function gEn(n,t,e){var i,r;for(i=(r=n.a.b).c.length;i102?-1:n<=57?n-48:n<65?-1:n<=70?n-65+10:n<97?-1:n-97+10}function PEn(n,t){if(null==n)throw uv(new yE("null key in entry: null="+t));if(null==t)throw uv(new yE("null value in entry: "+n+"=null"))}function CEn(n,t){for(var e,i;n.Ob();){if(!t.Ob())return!1;if(e=n.Pb(),i=t.Pb(),!(DA(e)===DA(i)||null!=e&&awn(e,i)))return!1}return!t.Ob()}function OEn(n,e){var i;return i=Bhn(iM(ZGt,1),P0n,28,15,[Abn(n.a[0],e),Abn(n.a[1],e),Abn(n.a[2],e)]),n.d&&(i[0]=t.Math.max(i[0],i[2]),i[2]=i[0]),i}function IEn(n,e){var i;return i=Bhn(iM(ZGt,1),P0n,28,15,[Lbn(n.a[0],e),Lbn(n.a[1],e),Lbn(n.a[2],e)]),n.d&&(i[0]=t.Math.max(i[0],i[2]),i[2]=i[0]),i}function AEn(n,t,e){IF(aU(cOn(t,(EYn(),VEt)),101))||(J8(n,t,vIn(t,e)),J8(n,t,vIn(t,($Qn(),$Rt))),J8(n,t,vIn(t,vRt)),uZ(),sD(t.j,new Gg(n)))}function LEn(n){var t,e;for(n.c||cXn(n),e=new By,A3(t=new Wd(n.a));t.a0&&(o3(0,t.length),43==t.charCodeAt(0))?(o3(1,t.length+1),t.substr(1)):t)}function YEn(n){var t;return null==n?null:new TN((t=vzn(n,!0)).length>0&&(o3(0,t.length),43==t.charCodeAt(0))?(o3(1,t.length+1),t.substr(1)):t)}function ZEn(n,t,e,i,r,c,a,o){var u,s;i&&((u=i.a[0])&&ZEn(n,t,e,u,r,c,a,o),hjn(n,e,i.d,r,c,a,o)&&t.Fc(i),(s=i.a[1])&&ZEn(n,t,e,s,r,c,a,o))}function nMn(n,t,e){try{return _A(jon(n,t,e),1)}catch(i){throw RD(i=Mhn(i),333)?uv(new bE(f3n+n.o+"*"+n.p+l3n+t+kZn+e+b3n)):uv(i)}}function tMn(n,t,e){try{return _A(jon(n,t,e),0)}catch(i){throw RD(i=Mhn(i),333)?uv(new bE(f3n+n.o+"*"+n.p+l3n+t+kZn+e+b3n)):uv(i)}}function eMn(n,t,e){try{return _A(jon(n,t,e),2)}catch(i){throw RD(i=Mhn(i),333)?uv(new bE(f3n+n.o+"*"+n.p+l3n+t+kZn+e+b3n)):uv(i)}}function iMn(n,t){if(-1==n.g)throw uv(new Dv);n.Xj();try{n.d.hd(n.g,t),n.f=n.d.j}catch(n){throw RD(n=Mhn(n),77)?uv(new Rv):uv(n)}}function rMn(n){var t,e,i;for(e=new Wd(n.b);e.ac&&aQ(t,c,null),t}function aMn(n,t){var e,i;if(i=n.gc(),null==t){for(e=0;e0&&(u+=r),s[h]=a,a+=o*(u+i)}function kMn(n){var t,e,i;for(i=n.f,n.n=Pnn(ZGt,P0n,28,i,15,1),n.d=Pnn(ZGt,P0n,28,i,15,1),t=0;t0?n.c:0),++c;n.b=r,n.d=a}function OMn(n,e){var i;return i=Bhn(iM(ZGt,1),P0n,28,15,[nEn(n,(Qrn(),Est),e),nEn(n,Mst,e),nEn(n,jst,e)]),n.f&&(i[0]=t.Math.max(i[0],i[2]),i[2]=i[0]),i}function IMn(n,t,e){try{FBn(n,t+n.j,e+n.k,!1,!0)}catch(n){throw RD(n=Mhn(n),77)?uv(new bE(n.g+d3n+t+kZn+e+").")):uv(n)}}function AMn(n,t,e){try{FBn(n,t+n.j,e+n.k,!0,!1)}catch(n){throw RD(n=Mhn(n),77)?uv(new bE(n.g+d3n+t+kZn+e+").")):uv(n)}}function LMn(n){var t;pR(n,(EYn(),TEt))&&((t=aU(cOn(n,TEt),21)).Hc((zxn(),K$t))?(t.Mc(K$t),t.Fc(B$t)):t.Hc(B$t)&&(t.Mc(B$t),t.Fc(K$t)))}function NMn(n){var t;pR(n,(EYn(),TEt))&&((t=aU(cOn(n,TEt),21)).Hc((zxn(),z$t))?(t.Mc(z$t),t.Fc(U$t)):t.Hc(U$t)&&(t.Mc(U$t),t.Fc(z$t)))}function DMn(n,t,e,i){var r,c,a;return null==n.a&&YOn(n,t),a=t.b.j.c.length,c=e.d.p,(r=i.d.p-1)<0&&(r=a-1),c<=r?n.a[r]-n.a[c]:n.a[a-1]-n.a[c]+n.a[r]}function xMn(n){var t,e;if(!n.b)for(n.b=c6(aU(n.f,27).kh().i),e=new Nx(aU(n.f,27).kh());e.e!=e.i.gc();)t=aU(Jyn(e),135),mx(n.b,new Wk(t));return n.b}function $Mn(n){var t,e;if(!n.e)for(n.e=c6(xJ(aU(n.f,27)).i),e=new Nx(xJ(aU(n.f,27)));e.e!=e.i.gc();)t=aU(Jyn(e),123),mx(n.e,new Vp(t));return n.e}function RMn(n){var t,e;if(!n.a)for(n.a=c6(lZ(aU(n.f,27)).i),e=new Nx(lZ(aU(n.f,27)));e.e!=e.i.gc();)t=aU(Jyn(e),27),mx(n.a,new W$(n,t));return n.a}function _Mn(n){var t;if(!n.C&&(null!=n.D||null!=n.B))if(t=$Vn(n))n.hl(t);else try{n.hl(null)}catch(n){if(!RD(n=Mhn(n),63))throw uv(n)}return n.C}function KMn(n){switch(n.q.g){case 5:XTn(n,($Qn(),vRt)),XTn(n,$Rt);break;case 4:kXn(n,($Qn(),vRt)),kXn(n,$Rt);break;default:TAn(n,($Qn(),vRt)),TAn(n,$Rt)}}function FMn(n){switch(n.q.g){case 5:VTn(n,($Qn(),mRt)),VTn(n,_Rt);break;case 4:EXn(n,($Qn(),mRt)),EXn(n,_Rt);break;default:SAn(n,($Qn(),mRt)),SAn(n,_Rt)}}function BMn(n,e){var i,r,c;for(c=new oj,r=n.Kc();r.Ob();)ZBn(i=aU(r.Pb(),36),c.a,0),c.a+=i.f.a+e,c.b=t.Math.max(c.b,i.f.b);return c.b>0&&(c.b+=e),c}function GMn(n,e){var i,r,c;for(c=new oj,r=n.Kc();r.Ob();)ZBn(i=aU(r.Pb(),36),0,c.b),c.b+=i.f.b+e,c.a=t.Math.max(c.a,i.f.a);return c.a>0&&(c.a+=e),c}function HMn(n){var e,i,r;for(r=pZn,i=new Wd(n.a);i.a>16==6?n.Cb.Th(n,5,uKt,t):(e=hEn(aU(nrn(aU(Isn(n,16),29)||n.ii(),n.Db>>16),19)),n.Cb.Th(n,e.n,e.f,t))}function WMn(n){MZ();var t=n.e;if(t&&t.stack){var e=t.stack,i=t+"\n";return e.substring(0,i.length)==i&&(e=e.substring(i.length)),e.split("\n")}return[]}function XMn(n){var t;return kan(),(t=lot)[n>>>28]|t[n>>24&15]<<4|t[n>>20&15]<<8|t[n>>16&15]<<12|t[n>>12&15]<<16|t[n>>8&15]<<20|t[n>>4&15]<<24|t[15&n]<<28}function VMn(n){var e,i,r;n.b==n.c&&(r=n.a.length,i=wfn(t.Math.max(8,r))<<1,0!=n.b?(Ton(n,e=yK(n.a,i),r),n.a=e,n.b=0):Uv(n.a,i),n.c=r)}function QMn(n,t){var e;return(e=n.b).pf((UYn(),axt))?e.ag()==($Qn(),_Rt)?-e.Mf().a-aE(w_(e.of(axt))):t+aE(w_(e.of(axt))):e.ag()==($Qn(),_Rt)?-e.Mf().a:t}function JMn(n){var t;return 0!=n.b.c.length&&aU(qq(n.b,0),72).a?aU(qq(n.b,0),72).a:null!=(t=oY(n))?t:""+(n.c?ken(n.c.a,n,0):-1)}function YMn(n){var t;return 0!=n.f.c.length&&aU(qq(n.f,0),72).a?aU(qq(n.f,0),72).a:null!=(t=oY(n))?t:""+(n.i?ken(n.i.j,n,0):-1)}function ZMn(n,t){var e,i;if(t<0||t>=n.gc())return null;for(e=t;e0?n.c:0),c=t.Math.max(c,e.d),++r;n.e=a,n.b=c}function ejn(n){var t,e;if(!n.b)for(n.b=c6(aU(n.f,123).kh().i),e=new Nx(aU(n.f,123).kh());e.e!=e.i.gc();)t=aU(Jyn(e),135),mx(n.b,new Wk(t));return n.b}function ijn(n,t){var e,i,r;if(t.dc())return M_(),M_(),xKt;for(e=new iK(n,t.gc()),r=new Nx(n);r.e!=r.i.gc();)i=Jyn(r),t.Hc(i)&&Znn(e,i);return e}function rjn(n,t,e,i){return 0==t?i?(!n.o&&(n.o=new htn((ZJn(),U_t),EKt,n,0)),n.o):(!n.o&&(n.o=new htn((ZJn(),U_t),EKt,n,0)),knn(n.o)):Nkn(n,t,e,i)}function cjn(n){var t,e;if(n.rb)for(t=0,e=n.rb.i;t>22))>>22)<0||(n.l=e&s0n,n.m=i&s0n,n.h=r&h0n,0)))}function hjn(n,t,e,i,r,c,a){var o,u;return!(t.Te()&&(u=n.a.Ne(e,i),u<0||!r&&0==u)||t.Ue()&&(o=n.a.Ne(e,c),o>0||!a&&0==o))}function fjn(n,t){if(Sln(),0!=n.j.g-t.j.g)return 0;switch(n.j.g){case 2:return Wgn(t,nwt)-Wgn(n,nwt);case 4:return Wgn(n,Zdt)-Wgn(t,Zdt)}return 0}function ljn(n){switch(n.g){case 0:return Egt;case 1:return Mgt;case 2:return jgt;case 3:return Tgt;case 4:return Sgt;case 5:return Pgt;default:return null}}function bjn(n,t,e){var i,r;return $bn(r=new Yy,t),Hon(r,e),Znn((!n.c&&(n.c=new sX(wFt,n,12,10)),n.c),r),Tcn(i=r,0),Scn(i,1),gwn(i,!0),bwn(i,!0),i}function djn(n,t){var e,i;if(t>=n.i)throw uv(new wL(t,n.i));return++n.j,e=n.g[t],(i=n.i-t-1)>0&&HUn(n.g,t+1,n.g,t,i),aQ(n.g,--n.i,null),n.Qi(t,e),n.Ni(),e}function wjn(n,t){var e;return n.Db>>16==17?n.Cb.Th(n,21,oFt,t):(e=hEn(aU(nrn(aU(Isn(n,16),29)||n.ii(),n.Db>>16),19)),n.Cb.Th(n,e.n,e.f,t))}function gjn(n){var t,e,i;for(uZ(),sD(n.c,n.a),i=new Wd(n.c);i.ae.a.c.length))throw uv(new pE("index must be >= 0 and <= layer node count"));n.c&&gen(n.c.a,n),n.c=e,e&&Gz(e.a,t,n)}function Njn(n,t){var e,i,r;for(i=new RW(t$(Ggn(n).a.Kc(),new h));uxn(i);)return e=aU(A9(i),18),new Bl(WV((r=aU(t.Kb(e),10)).n.b+r.o.b/2));return dk(),dk(),lat}function Djn(n,t){this.c=new Qm,this.a=n,this.b=t,this.d=aU(cOn(n,(GYn(),mmt)),312),DA(cOn(n,(EYn(),SEt)))===DA((Wtn(),Igt))?this.e=new Ty:this.e=new jy}function xjn(n,t){var e,i;return i=null,n.pf((UYn(),Cxt))&&(e=aU(n.of(Cxt),96)).pf(t)&&(i=e.of(t)),null==i&&n.Tf()&&(i=n.Tf().of(t)),null==i&&(i=Vyn(t)),i}function $jn(n,t){var e,i;e=n.fd(t);try{return i=e.Pb(),e.Qb(),i}catch(n){throw RD(n=Mhn(n),112)?uv(new bE("Can't remove element "+t)):uv(n)}}function Rjn(n,t){var e,i,r;if(0==(e=Wqn(n,t,r=new Ifn((i=new XT).q.getFullYear()-z1n,i.q.getMonth(),i.q.getDate())))||e0?e:0),++i;return new yI(r,c)}function qjn(n,t){var e;return n.Db>>16==6?n.Cb.Th(n,6,iKt,t):(e=hEn(aU(nrn(aU(Isn(n,16),29)||(ZJn(),K_t),n.Db>>16),19)),n.Cb.Th(n,e.n,e.f,t))}function zjn(n,t){var e;return n.Db>>16==7?n.Cb.Th(n,1,nKt,t):(e=hEn(aU(nrn(aU(Isn(n,16),29)||(ZJn(),B_t),n.Db>>16),19)),n.Cb.Th(n,e.n,e.f,t))}function Wjn(n,t){var e;return n.Db>>16==9?n.Cb.Th(n,9,hKt,t):(e=hEn(aU(nrn(aU(Isn(n,16),29)||(ZJn(),H_t),n.Db>>16),19)),n.Cb.Th(n,e.n,e.f,t))}function Xjn(n,t){var e;return n.Db>>16==5?n.Cb.Th(n,9,fFt,t):(e=hEn(aU(nrn(aU(Isn(n,16),29)||(QYn(),PFt),n.Db>>16),19)),n.Cb.Th(n,e.n,e.f,t))}function Vjn(n,t){var e;return n.Db>>16==7?n.Cb.Th(n,6,uKt,t):(e=hEn(aU(nrn(aU(Isn(n,16),29)||(QYn(),$Ft),n.Db>>16),19)),n.Cb.Th(n,e.n,e.f,t))}function Qjn(n,t){var e;return n.Db>>16==3?n.Cb.Th(n,0,cKt,t):(e=hEn(aU(nrn(aU(Isn(n,16),29)||(QYn(),yFt),n.Db>>16),19)),n.Cb.Th(n,e.n,e.f,t))}function Jjn(){this.a=new ss,this.g=new bEn,this.j=new bEn,this.b=new Qm,this.d=new bEn,this.i=new bEn,this.k=new Qm,this.c=new Qm,this.e=new Qm,this.f=new Qm}function Yjn(n,t,e){var i,r,c;for(e<0&&(e=0),c=n.i,r=e;rC0n)return nTn(n,i);if(i==n)return!0}}return!1}function tTn(n){switch(G$(),n.q.g){case 5:aNn(n,($Qn(),vRt)),aNn(n,$Rt);break;case 4:$$n(n,($Qn(),vRt)),$$n(n,$Rt);break;default:LQn(n,($Qn(),vRt)),LQn(n,$Rt)}}function eTn(n){switch(G$(),n.q.g){case 5:mDn(n,($Qn(),mRt)),mDn(n,_Rt);break;case 4:skn(n,($Qn(),mRt)),skn(n,_Rt);break;default:NQn(n,($Qn(),mRt)),NQn(n,_Rt)}}function iTn(n){var t,e;(t=aU(cOn(n,(eUn(),Nft)),17))?(e=t.a,mfn(n,(gon(),Xft),0==e?new Bpn:new p8(e))):mfn(n,(gon(),Xft),new p8(1))}function rTn(n,t){var e;switch(e=n.i,t.g){case 1:return-(n.n.b+n.o.b);case 2:return n.n.a-e.o.a;case 3:return n.n.b-e.o.b;case 4:return-(n.n.a+n.o.a)}return 0}function cTn(n,t){switch(n.g){case 0:return t==(Gpn(),Pmt)?Hdt:Udt;case 1:return t==(Gpn(),Pmt)?Hdt:Gdt;case 2:return t==(Gpn(),Pmt)?Gdt:Udt;default:return Gdt}}function aTn(n,e){var i,r,c;for(gen(n.a,e),n.e-=e.r+(0==n.a.c.length?0:n.c),c=f7n,r=new Wd(n.a);r.a>16==3?n.Cb.Th(n,12,hKt,t):(e=hEn(aU(nrn(aU(Isn(n,16),29)||(ZJn(),__t),n.Db>>16),19)),n.Cb.Th(n,e.n,e.f,t))}function uTn(n,t){var e;return n.Db>>16==11?n.Cb.Th(n,10,hKt,t):(e=hEn(aU(nrn(aU(Isn(n,16),29)||(ZJn(),G_t),n.Db>>16),19)),n.Cb.Th(n,e.n,e.f,t))}function sTn(n,t){var e;return n.Db>>16==10?n.Cb.Th(n,11,oFt,t):(e=hEn(aU(nrn(aU(Isn(n,16),29)||(QYn(),DFt),n.Db>>16),19)),n.Cb.Th(n,e.n,e.f,t))}function hTn(n,t){var e;return n.Db>>16==10?n.Cb.Th(n,12,dFt,t):(e=hEn(aU(nrn(aU(Isn(n,16),29)||(QYn(),RFt),n.Db>>16),19)),n.Cb.Th(n,e.n,e.f,t))}function fTn(n){var t;return 1&n.Bb||!n.r||!n.r.Vh()||(t=aU(n.r,54),n.r=aU(gdn(n,t),142),n.r!=t&&4&n.Db&&!(1&n.Db)&&ysn(n,new hX(n,9,8,t,n.r))),n.r}function lTn(n,e,i){var r;return r=Bhn(iM(ZGt,1),P0n,28,15,[KCn(n,(Qrn(),Est),e,i),KCn(n,Mst,e,i),KCn(n,jst,e,i)]),n.f&&(r[0]=t.Math.max(r[0],r[2]),r[2]=r[0]),r}function bTn(n,t){var e,i,r;if(0!=(r=hkn(n,t)).c.length)for(sD(r,new ti),e=r.c.length,i=0;i>19)!=(o=t.h>>19)?o-a:(i=n.h)!=(c=t.h)?i-c:(e=n.m)!=(r=t.m)?e-r:n.l-t.l}function yTn(){yTn=T,WFn(),cst=new gL(L2n,ast=bst),Uin(),ist=new gL(N2n,rst=Jut),_yn(),tst=new gL(D2n,est=Wut),nst=new gL(x2n,(H$(),!0))}function kTn(n,t,e){var i,r;i=t*e,RD(n.g,154)?(r=X6(n)).f.d?r.f.a||(n.d.a+=i+J2n):(n.d.d-=i+J2n,n.d.a+=i+J2n):RD(n.g,10)&&(n.d.d-=i,n.d.a+=2*i)}function ETn(n,e,i){var r,c,a,o,u;for(c=n[i.g],u=new Wd(e.d);u.a0?n.b:0),++i;e.b=r,e.e=c}function jTn(n){var t,e,i;if(i=n.b,rS(n.i,i.length)){for(e=2*i.length,n.b=Pnn(Sat,h1n,303,e,0,1),n.c=Pnn(Sat,h1n,303,e,0,1),n.f=e-1,n.i=0,t=n.a;t;t=t.c)FLn(n,t,t);++n.g}}function TTn(n,t,e,i){var r,c,a,o;for(r=0;ro&&(u=o/r),(c=t.Math.abs(n.b))>a&&(s=a/c),px(n,t.Math.min(u,s)),n}function OTn(){var n,t;Zqn();try{if(t=aU(OSn((yP(),sFt),ret),2113))return t}catch(t){if(!RD(t=Mhn(t),103))throw uv(t);n=t,OV((ZN(),n))}return new rs}function ITn(){var n,t;Zqn();try{if(t=aU(OSn((yP(),sFt),Nrt),2040))return t}catch(t){if(!RD(t=Mhn(t),103))throw uv(t);n=t,OV((ZN(),n))}return new Fs}function ATn(){var n,t;Rtn();try{if(t=aU(OSn((yP(),sFt),hct),2122))return t}catch(t){if(!RD(t=Mhn(t),103))throw uv(t);n=t,OV((ZN(),n))}return new Nh}function LTn(n,t,e){var i,r;return r=n.e,n.e=t,4&n.Db&&!(1&n.Db)&&(i=new hX(n,1,4,r,t),e?e.nj(i):e=i),r!=t&&(e=TVn(n,t?fRn(n,t):n.a,e)),e}function NTn(){XT.call(this),this.e=-1,this.a=!1,this.p=E1n,this.k=-1,this.c=-1,this.b=-1,this.g=!1,this.f=-1,this.j=-1,this.n=-1,this.i=-1,this.d=-1,this.o=E1n}function DTn(n,t){var e,i,r;if(i=n.b.d.d,n.a||(i+=n.b.d.a),r=t.b.d.d,t.a||(r+=t.b.d.a),0==(e=agn(i,r))){if(!n.a&&t.a)return-1;if(!t.a&&n.a)return 1}return e}function xTn(n,t){var e,i,r;if(i=n.b.b.d,n.a||(i+=n.b.b.a),r=t.b.b.d,t.a||(r+=t.b.b.a),0==(e=agn(i,r))){if(!n.a&&t.a)return-1;if(!t.a&&n.a)return 1}return e}function $Tn(n,t){var e,i,r;if(i=n.b.g.d,n.a||(i+=n.b.g.a),r=t.b.g.d,t.a||(r+=t.b.g.a),0==(e=agn(i,r))){if(!n.a&&t.a)return-1;if(!t.a&&n.a)return 1}return e}function RTn(){RTn=T,mlt=lW(Oq(Oq(Oq(new lJ,(aOn(),jlt),(qYn(),cdt)),jlt,sdt),Tlt,gdt),Tlt,Wbt),ylt=Oq(Oq(new lJ,jlt,Rbt),jlt,Xbt),vlt=lW(new lJ,Tlt,Qbt)}function _Tn(n){var t,e,i,r,c;for(t=aU(cOn(n,(GYn(),Lpt)),85),c=n.n,i=t.Cc().Kc();i.Ob();)(r=(e=aU(i.Pb(),314)).i).c+=c.a,r.d+=c.b,e.c?TFn(e):SFn(e);mfn(n,Lpt,null)}function KTn(n,t,e){var i,r;switch(i=(r=n.b).d,t.g){case 1:return-i.d-e;case 2:return r.o.a+i.c+e;case 3:return r.o.b+i.a+e;case 4:return-i.b-e;default:return-1}}function FTn(n,t,e){var i;for(e.Ug("Interactive node placement",1),n.a=aU(cOn(t,(GYn(),mmt)),312),i=new Wd(t.b);i.a0&&(r=JNn(n,(c&pZn)%n.d.length,c,t))?r.nd(e):(i=n.ck(c,t,e),n.c.Fc(i),null)}function iSn(n,t){var e,i,r,c;switch(Zdn(n,t).Kl()){case 3:case 2:for(r=0,c=(e=uzn(t)).i;r=0;r--)if(gF(n[r].d,e)||gF(n[r].d,i)){n.length>=r+1&&n.splice(0,r+1);break}return n}function fSn(n,e){var i;return _L(n)&&_L(e)&&w0n<(i=n/e)&&i0&&(n.b+=2,n.a+=r):(n.b+=1,n.a+=t.Math.min(r,c))}function vSn(n){var t;t=aU(cOn(aU(ukn(n.b,0),40),(XUn(),wCt)),107),mfn(n,(CQn(),mPt),new yI(0,0)),tHn(new I7,n,t.b+t.c-aE(w_(cOn(n,TPt))),t.d+t.a-aE(w_(cOn(n,PPt))))}function ySn(n,t){var e;if(e=!1,xA(t)&&(e=!0,wQ(n,new XV(g_(t)))),e||RD(t,242)&&(e=!0,wQ(n,new Tb(XF(aU(t,242))))),!e)throw uv(new wE(Set))}function kSn(n,t,e,i){var r,c,a;return r=new $en(n.e,1,10,RD(a=t.c,90)?aU(a,29):(QYn(),NFt),RD(c=e.c,90)?aU(c,29):(QYn(),NFt),Fkn(n,t),!1),i?i.nj(r):i=r,i}function ESn(n){var t,e;switch(aU(cOn(FQ(n),(EYn(),hEt)),429).g){case 0:return t=n.n,e=n.o,new yI(t.a+e.a/2,t.b+e.b/2);case 1:return new nN(n.n);default:return null}}function MSn(){MSn=T,Rgt=new eO(H4n,0),$gt=new eO("LEFTUP",1),Kgt=new eO("RIGHTUP",2),xgt=new eO("LEFTDOWN",3),_gt=new eO("RIGHTDOWN",4),Dgt=new eO("BALANCED",5)}function jSn(n,t,e){var i,r,c;if(0==(i=agn(n.a[t.p],n.a[e.p]))){if(r=aU(cOn(t,(GYn(),zpt)),15),c=aU(cOn(e,zpt),15),r.Hc(e))return-1;if(c.Hc(t))return 1}return i}function TSn(n){switch(n.g){case 1:return new So;case 2:return new Po;case 3:return new To;case 0:return null;default:throw uv(new pE(m7n+(null!=n.f?n.f:""+n.g)))}}function SSn(n,t,e){switch(t){case 1:return!n.n&&(n.n=new sX(sKt,n,1,7)),SWn(n.n),!n.n&&(n.n=new sX(sKt,n,1,7)),void SV(n.n,aU(e,16));case 2:return void Gan(n,g_(e))}fln(n,t,e)}function PSn(n,t,e){switch(t){case 3:return void pcn(n,aE(w_(e)));case 4:return void mcn(n,aE(w_(e)));case 5:return void vcn(n,aE(w_(e)));case 6:return void ycn(n,aE(w_(e)))}SSn(n,t,e)}function CSn(n,t,e){var i,r;(i=SCn(r=new Yy,t,null))&&i.oj(),Hon(r,e),Znn((!n.c&&(n.c=new sX(wFt,n,12,10)),n.c),r),Tcn(r,0),Scn(r,1),gwn(r,!0),bwn(r,!0)}function OSn(n,t){var e,i;return RD(e=_P(n.i,t),241)?((i=aU(e,241)).zi(),i.wi()):RD(e,507)?i=aU(e,2037).b:null}function ISn(n,t,e,i){var r,c;return WV(t),WV(e),xen(!!(c=aU(WF(n.d,t),17)),"Row %s not in %s",t,n.e),xen(!!(r=aU(WF(n.b,e),17)),"Column %s not in %s",e,n.c),Fhn(n,c.a,r.a,i)}function ASn(n,t,e,i,r,c,a){var o,u,s,h,f;if(f=TMn(o=(s=c==a-1)?i:0,h=r[c]),10!=i&&Bhn(iM(n,a-c),t[c],e[c],o,f),!s)for(++c,u=0;u1||-1==o?(c=aU(u,15),r.Wb(zpn(n,c))):r.Wb(cHn(n,aU(u,58))))}function qSn(n,t,e,i){mT();var r=uZn;function c(){for(var n=0;n0)return!1;return!0}function XSn(n){var t,e,i,r,c;for(i=new fsn(new Ad(n.b).a);i.b;)t=aU((e=pon(i)).ld(),10),c=aU(aU(e.md(),42).a,10),r=aU(aU(e.md(),42).b,8),VK(bL(t.n),VK(ND(c.n),r))}function VSn(n){switch(aU(cOn(n.b,(EYn(),Vkt)),387).g){case 1:mS(QJ(oin(new sz(null,new u3(n.d,16)),new Xr),new Vr),new Qr);break;case 2:dBn(n);break;case 0:gLn(n)}}function QSn(n,t,e){var i,r,c;for(!(i=e)&&(i=new sk),i.Ug("Layout",n.a.c.length),c=new Wd(n.a);c.aL9n)return e;i>-1e-6&&++e}return e}function ePn(n,t){var e;t!=n.b?(e=null,n.b&&(e=C1(n.b,n,-4,e)),t&&(e=mkn(t,n,-4,e)),(e=mdn(n,t,e))&&e.oj()):4&n.Db&&!(1&n.Db)&&ysn(n,new hX(n,1,3,t,t))}function iPn(n,t){var e;t!=n.f?(e=null,n.f&&(e=C1(n.f,n,-1,e)),t&&(e=mkn(t,n,-1,e)),(e=pdn(n,t,e))&&e.oj()):4&n.Db&&!(1&n.Db)&&ysn(n,new hX(n,1,0,t,t))}function rPn(n,t,e,i){var r,c,a;return aN(n.e)&&(a=zZ(n,1,r=t.Lk(),t.md(),c=e.md(),r.Jk()?Nqn(n,r,c,RD(r,102)&&!!(aU(r,19).Bb&T0n)):-1,!0),i?i.nj(a):i=a),i}function cPn(n){var t,e,i;if(null==n)return null;if((e=aU(n,15)).dc())return"";for(i=new qE,t=e.Kc();t.Ob();)zA(i,(aXn(),g_(t.Pb()))),i.a+=" ";return SL(i,i.a.length-1)}function aPn(n){var t,e,i;if(null==n)return null;if((e=aU(n,15)).dc())return"";for(i=new qE,t=e.Kc();t.Ob();)zA(i,(aXn(),g_(t.Pb()))),i.a+=" ";return SL(i,i.a.length-1)}function oPn(n,t,e){var i,r;return i=n.c[t.c.p][t.p],r=n.c[e.c.p][e.p],null!=i.a&&null!=r.a?xW(i.a,r.a):null!=i.a?-1:null!=r.a?1:0}function uPn(n,t,e){return e.Ug("Tree layout",1),_J(n.b),VX(n.b,(Sjn(),qSt),qSt),VX(n.b,zSt,zSt),VX(n.b,WSt,WSt),VX(n.b,XSt,XSt),n.a=XWn(n.b,t),QSn(n,t,e.eh(1)),e.Vg(),t}function sPn(n,t){var e,i,r;if(t)for(r=((e=new GW(t.a.length)).b-e.a)*e.c<0?(SP(),HGt):new Dx(e);r.Ob();)i=p6(t,aU(r.Pb(),17).a),XJ(new cm(n).a,i)}function hPn(n,t){var e,i,r;if(t)for(r=((e=new GW(t.a.length)).b-e.a)*e.c<0?(SP(),HGt):new Dx(e);r.Ob();)i=p6(t,aU(r.Pb(),17).a),WJ(new Qp(n).a,i)}function fPn(n){if(null!=n&&n.length>0&&33==zJ(n,n.length-1))try{return null==o$n(e1(n,0,n.length-1)).e}catch(n){if(!RD(n=Mhn(n),33))throw uv(n)}return!1}function lPn(n,t,e){var i,r;switch(i=wgn(FQ(t)),c2(r=new hIn,t),e.g){case 1:ALn(r,Gwn(Ppn(i)));break;case 2:ALn(r,Ppn(i))}return mfn(r,(EYn(),XEt),w_(cOn(n,XEt))),r}function bPn(n){var t,e;return t=aU(A9(new RW(t$(Hgn(n.a).a.Kc(),new h))),18),e=aU(A9(new RW(t$(Ugn(n.a).a.Kc(),new h))),18),cE(d_(cOn(t,(GYn(),wmt))))||cE(d_(cOn(e,wmt)))}function dPn(){dPn=T,lwt=new qC("ONE_SIDE",0),dwt=new qC("TWO_SIDES_CORNER",1),wwt=new qC("TWO_SIDES_OPPOSING",2),bwt=new qC("THREE_SIDES",3),fwt=new qC("FOUR_SIDES",4)}function wPn(n,t){var e,i,r,c;for(c=new Jm,r=0,i=t.Kc();i.Ob();){for(e=Ddn(aU(i.Pb(),17).a+r);e.a=n.f)break;gv(c.c,e)}return c}function gPn(n,t){var e,i,r;for(i=new Wd(t.a);i.a0&&yjn(this,this.c-1,($Qn(),mRt)),this.c0&&n[0].length>0&&(this.c=cE(d_(cOn(FQ(n[0][0]),(GYn(),Wpt))))),this.a=Pnn(xTt,qZn,2117,n.length,0,2),this.b=Pnn(BTt,qZn,2118,n.length,0,2),this.d=new qbn}function IPn(n){return 0!=n.c.length&&((a3(0,n.c.length),aU(n.c[0],18)).c.i.k==(qOn(),lbt)||c9(QJ(new sz(null,new u3(n,16)),new $c),new Rc))}function APn(n,e){var i,r,c,a,o,u;for(o=GKn(e),c=e.f,u=e.g,a=t.Math.sqrt(c*c+u*u),r=0,i=new Wd(o);i.a=0?(e=fSn(n,d0n),i=$mn(n,d0n)):(e=fSn(t=NW(n,1),5e8),i=Ign(AW(i=$mn(t,5e8),1),M3(n,1))),j3(AW(i,32),M3(e,I0n))}function QPn(n,t,e){var i;switch(y_(0!=t.b),i=aU(Irn(t,t.a.a),8),e.g){case 0:i.b=0;break;case 2:i.b=n.f;break;case 3:i.a=0;break;default:i.a=n.g}return hV(Ryn(t,0),i),t}function JPn(n,t,e,i){var r,c,a,o,u;switch(u=n.b,o=vyn(a=(c=t.d).j,u.d[a.g],e),r=VK(ND(c.n),c.a),c.j.g){case 1:case 3:o.a+=r.a;break;case 2:case 4:o.b+=r.b}o8(i,o,i.c.b,i.c)}function YPn(n,t,e){var i,r,c,a;for(a=ken(n.e,t,0),(c=new ky).b=e,i=new A4(n.e,a);i.b1;t>>=1)1&t&&(i=E5(i,e)),e=1==e.d?E5(e,e):new Yvn(RHn(e.a,e.d,Pnn(VGt,W1n,28,e.d<<1,15,1)));return i=E5(i,e)}function rCn(){var n,t,e,i;for(rCn=T,fut=Pnn(ZGt,P0n,28,25,15,1),lut=Pnn(ZGt,P0n,28,33,15,1),i=152587890625e-16,t=32;t>=0;t--)lut[t]=i,i*=.5;for(e=1,n=24;n>=0;n--)fut[n]=e,e*=.5}function cCn(n){var t,e;if(cE(d_(qxn(n,(EYn(),oEt)))))for(e=new RW(t$(nRn(n).a.Kc(),new h));uxn(e);)if(KNn(t=aU(A9(e),74))&&cE(d_(qxn(t,uEt))))return!0;return!1}function aCn(n,t){var e,i,r;RX(n.f,t)&&(t.b=n,i=t.c,-1!=ken(n.j,i,0)||mx(n.j,i),r=t.d,-1!=ken(n.j,r,0)||mx(n.j,r),0!=(e=t.a.b).c.length&&(!n.i&&(n.i=new pyn(n)),Tsn(n.i,e)))}function oCn(n){var t,e,i,r;return(e=(t=n.c.d).j)==(r=(i=n.d.d).j)?t.p=0&&gF(n.substr(t,3),"GMT")||t>=0&&gF(n.substr(t,3),"UTC")?(e[0]=t+3,jHn(n,e,i)):jHn(n,e,i)}function lCn(n,t){var e,i,r,c,a;for(c=n.g.a,a=n.g.b,i=new Wd(n.d);i.ae;c--)n[c]|=t[c-e-1]>>>a,n[c-1]=t[c-e-1]<0&&HUn(n.g,t,n.g,t+i,o),a=e.Kc(),n.i+=i,r=0;r>4&15,c=15&n[i],a[r++]=V_t[e],a[r++]=V_t[c];return gvn(a,0,a.length)}function LCn(n){var t,e;return n>=T0n?(t=S0n+(n-T0n>>10&1023)&N1n,e=56320+(n-T0n&1023)&N1n,String.fromCharCode(t)+""+String.fromCharCode(e)):String.fromCharCode(n&N1n)}function NCn(n,t){var e,i,r,c;return z_(),(r=aU(aU(Q9(n.r,t),21),87)).gc()>=2&&(i=aU(r.Kc().Pb(),117),e=n.u.Hc((nNn(),fRt)),c=n.u.Hc(wRt),!i.a&&!e&&(2==r.gc()||c))}function DCn(n,t,e,i,r){var c,a,o;for(c=qKn(n,t,e,i,r),o=!1;!c;)d$n(n,r,!0),o=!0,c=qKn(n,t,e,i,r);o&&d$n(n,r,!1),0!=(a=Vhn(r)).c.length&&(n.d&&n.d.Gg(a),DCn(n,r,e,i,a))}function xCn(){xCn=T,g$t=new CI(H4n,0),d$t=new CI("DIRECTED",1),p$t=new CI("UNDIRECTED",2),l$t=new CI("ASSOCIATION",3),w$t=new CI("GENERALIZATION",4),b$t=new CI("DEPENDENCY",5)}function $Cn(n,t){var e;if(!u0(n))throw uv(new mE(jtt));switch(e=u0(n),t.g){case 1:return-(n.j+n.f);case 2:return n.i-e.g;case 3:return n.j-e.f;case 4:return-(n.i+n.g)}return 0}function RCn(n,t,e){var i,r,c;return i=t.Lk(),c=t.md(),r=i.Jk()?zZ(n,4,i,c,null,Nqn(n,i,c,RD(i,102)&&!!(aU(i,19).Bb&T0n)),!0):zZ(n,i.tk()?2:1,i,c,i.ik(),-1,!0),e?e.nj(r):e=r,e}function _Cn(n,t){var e,i;for(ZQ(t),i=n.b.c.length,mx(n.b,t);i>0;){if(e=i,i=(i-1)/2|0,n.a.Ne(qq(n.b,i),t)<=0)return Q8(n.b,e,t),!0;Q8(n.b,e,qq(n.b,i))}return Q8(n.b,i,t),!0}function KCn(n,e,i,r){var c,a;if(c=0,i)c=Lbn(n.a[i.g][e.g],r);else for(a=0;a=a)}function BCn(n){switch(n.g){case 0:return new Ho;case 1:return new qo;default:throw uv(new pE("No implementation is available for the width approximator "+(null!=n.f?n.f:""+n.g)))}}function GCn(n,t,e,i){var r;if(r=!1,xA(i)&&(r=!0,JU(t,e,g_(i))),r||$A(i)&&(r=!0,GCn(n,t,e,i)),r||RD(i,242)&&(r=!0,pZ(t,e,aU(i,242))),!r)throw uv(new wE(Set))}function HCn(n,t){var e,i,r;if((e=t.qi(n.a))&&null!=(r=Imn((!e.b&&(e.b=new UR((QYn(),KFt),fBt,e)),e.b),jrt)))for(i=1;i<(dAn(),wBt).length;++i)if(gF(wBt[i],r))return i;return 0}function UCn(n,t){var e,i,r;if((e=t.qi(n.a))&&null!=(r=Imn((!e.b&&(e.b=new UR((QYn(),KFt),fBt,e)),e.b),jrt)))for(i=1;i<(dAn(),gBt).length;++i)if(gF(gBt[i],r))return i;return 0}function qCn(n,t){var e,i,r,c;if(ZQ(t),(c=n.a.gc())0?1:0;c.a[r]!=e;)c=c.a[r],r=n.a.Ne(e.d,c.d)>0?1:0;c.a[r]=i,i.b=e.b,i.a[0]=e.a[0],i.a[1]=e.a[1],e.a[0]=null,e.a[1]=null}function JCn(n){var t,e,i,r;for(t=new Jm,qX(e=Pnn(QGt,K2n,28,n.a.c.length,16,1),e.length),r=new Wd(n.a);r.a0&&sHn((a3(0,e.c.length),aU(e.c[0],30)),n),e.c.length>1&&sHn(aU(qq(e,e.c.length-1),30),n),t.Vg()}function nOn(n){return nNn(),!(Hsn(U1(Wz(lRt,Bhn(iM(KRt,1),w1n,279,0,[dRt])),n))>1||Hsn(U1(Wz(fRt,Bhn(iM(KRt,1),w1n,279,0,[hRt,wRt])),n))>1)}function tOn(n,t){RD(B1((yP(),sFt),n),507)?e2(sFt,n,new MA(this,t)):e2(sFt,n,this),FOn(this,t),t==(pj(),mFt)?(this.wb=aU(this,2038),aU(t,2040)):this.wb=(ZV(),vFt)}function eOn(n){var t,e;if(null==n)return null;for(t=null,e=0;e=L1n?"error":i>=900?"warn":i>=800?"info":"log",n.a),n.b&&j_n(t,e,n.b,"Exception: ",!0))}function cOn(n,t){var e,i;return!n.q&&(n.q=new Qm),null!=(i=iQ(n.q,t))?i:(RD(e=t.Sg(),4)&&(null==e?(!n.q&&(n.q=new Qm),a7(n.q,t)):(!n.q&&(n.q=new Qm),pJ(n.q,t,e))),e)}function aOn(){aOn=T,klt=new dC("P1_CYCLE_BREAKING",0),Elt=new dC("P2_LAYERING",1),Mlt=new dC("P3_NODE_ORDERING",2),jlt=new dC("P4_NODE_PLACEMENT",3),Tlt=new dC("P5_EDGE_ROUTING",4)}function oOn(n,t){var e;if(Win(),n.c==t.c){if(n.b==t.b||nun(n.b,t.b)){if(e=KL(n.b)?1:-1,n.a&&!t.a)return e;if(!n.a&&t.a)return-e}return bD(n.b.g,t.b.g)}return agn(n.c,t.c)}function uOn(n,t){var e,i;if(mOn(n,t))return!0;for(i=new Wd(t);i.a=(r=n.Ej())||t<0)throw uv(new bE(qet+t+zet+r));if(e>=r||e<0)throw uv(new bE(Wet+e+zet+r));return t!=e?(c=n.Cj(e),n.qj(t,c),i=c):i=n.xj(e),i}function gOn(n){var t,e,i;if(i=n,n)for(t=0,e=n.Eh();e;e=e.Eh()){if(++t>C0n)return gOn(e);if(i=e,e==n)throw uv(new mE("There is a cycle in the containment hierarchy of "+n))}return i}function pOn(n){var t,e,i;for(i=new Qsn(kZn,"[","]"),e=n.Kc();e.Ob();)c7(i,DA(t=e.Pb())===DA(n)?"(this Collection)":null==t?PZn:ipn(t));return i.a?0==i.e.length?i.a.a:i.a.a+""+i.e:i.c}function mOn(n,t){var e,i;if(i=!1,t.gc()<2)return!1;for(e=0;e1&&(n.j.b+=n.e)):(n.j.a+=i.a,n.j.b=t.Math.max(n.j.b,i.b),n.d.c.length>1&&(n.j.a+=n.e))}function EOn(){EOn=T,vwt=Bhn(iM(QRt,1),q4n,64,0,[($Qn(),vRt),mRt,$Rt]),mwt=Bhn(iM(QRt,1),q4n,64,0,[mRt,$Rt,_Rt]),ywt=Bhn(iM(QRt,1),q4n,64,0,[$Rt,_Rt,vRt]),kwt=Bhn(iM(QRt,1),q4n,64,0,[_Rt,vRt,mRt])}function MOn(n,t,e,i){var r,c,a,o,u;if(c=n.c.d,a=n.d.d,c.j!=a.j)for(u=n.b,r=c.j,o=null;r!=a.j;)o=0==t?Hwn(r):Bwn(r),rq(i,VK(vyn(r,u.d[r.g],e),vyn(o,u.d[o.g],e))),r=o}function jOn(n,t,e,i){var r,c,a,o,u;return o=aU((a=jjn(n.a,t,e)).a,17).a,c=aU(a.b,17).a,i&&(u=aU(cOn(t,(GYn(),hmt)),10),r=aU(cOn(e,hmt),10),u&&r&&(S5(n.b,u,r),o+=n.b.i,c+=n.b.e)),o>c}function TOn(n){var t,e,i,r,c,a,o,u;for(this.a=Rkn(n),this.b=new Jm,i=0,r=(e=n).length;iG_(n.d).c?(n.i+=n.g.c,Kmn(n.d)):G_(n.d).c>G_(n.g).c?(n.e+=n.d.c,Kmn(n.g)):(n.i+=kz(n.g),n.e+=kz(n.d),Kmn(n.g),Kmn(n.d))}function IOn(n,t,e){var i,r,c,a;for(c=t.q,a=t.r,new O2((_7(),LSt),t,c,1),new O2(LSt,c,a,1),r=new Wd(e);r.au&&(s=u/r),(c=t.Math.abs(e.b-n.b))>a&&(h=a/c),o=t.Math.min(s,h),n.a+=o*(e.a-n.a),n.b+=o*(e.b-n.b)}function ROn(n,t,e,i,r){var c,a;for(a=!1,c=aU(qq(e.b,0),27);jqn(n,t,c,i,r)&&(a=!0,FSn(e,c),0!=e.b.c.length);)c=aU(qq(e.b,0),27);return 0==e.b.c.length&&aTn(e.j,e),a&&CMn(t.q),a}function _On(n,t){var e,i,r,c;if(hFn(),t.b<2)return!1;for(i=e=aU(P6(c=Ryn(t,0)),8);c.b!=c.d.c;){if(zRn(n,i,r=aU(P6(c),8)))return!0;i=r}return!!zRn(n,i,e)}function KOn(n,t,e,i){return 0==e?(!n.o&&(n.o=new htn((ZJn(),U_t),EKt,n,0)),GF(n.o,t,i)):aU(nrn(aU(Isn(n,16),29)||n.ii(),e),69).wk().Ak(n,Lvn(n),e-tQ(n.ii()),t,i)}function FOn(n,t){var e;t!=n.sb?(e=null,n.sb&&(e=aU(n.sb,54).Th(n,1,aKt,e)),t&&(e=aU(t,54).Rh(n,1,aKt,e)),(e=Vdn(n,t,e))&&e.oj()):4&n.Db&&!(1&n.Db)&&ysn(n,new hX(n,1,4,t,t))}function BOn(n,t){var e,i;if(!t)throw uv(new jE("All edge sections need an end point."));e=Lcn(t,"x"),gcn(new em(n).a,(ZQ(e),e)),i=Lcn(t,"y"),Ecn(new im(n).a,(ZQ(i),i))}function GOn(n,t){var e,i;if(!t)throw uv(new jE("All edge sections need a start point."));e=Lcn(t,"x"),kcn(new Zp(n).a,(ZQ(e),e)),i=Lcn(t,"y"),Mcn(new nm(n).a,(ZQ(i),i))}function HOn(n,t){var e,i,r,c,a;for(i=0,c=Dln(n).length;i>22-t,r=n.h<>22-t):t<44?(e=0,i=n.l<>44-t):(e=0,i=0,r=n.l<n)throw uv(new pE("k must be smaller than n"));return 0==t||t==n?1:0==n?0:aSn(n)/(aSn(t)*aSn(n-t))}function tIn(n,t){var e,i,r,c;for(e=new EN(n);null!=e.g||e.c?null==e.g||0!=e.i&&aU(e.g[e.i-1],51).Ob():C0(e);)if(RD(c=aU(W$n(e),58),167))for(i=aU(c,167),r=0;r>4],t[2*e+1]=wGt[15&r];return gvn(t,0,t.length)}function pIn(n){var t;switch(kJ(),n.c.length){case 0:return Mat;case 1:return sq((t=aU(BLn(new Wd(n)),44)).ld(),t.md());default:return new Dk(aU(Myn(n,Pnn(jat,i1n,44,n.c.length,0,1)),173))}}function mIn(n){var t,e,i,r,c;for(t=new Ax,e=new Ax,O6(t,n),O6(e,n);e.b!=e.c;)for(c=new Wd(aU(DX(e),36).a);c.a0&&oGn(n,e,t),r):EDn(n,t,e)}function EIn(){EIn=T,UYn(),KOt=gxt,zOt=Nxt,LOt=_Dt,NOt=BDt,DOt=HDt,AOt=$Dt,xOt=zDt,_Ot=fxt,MGn(),OOt=bOt,IOt=dOt,BOt=yOt,UOt=MOt,GOt=kOt,HOt=EOt,$Ot=gOt,ROt=mOt,FOt=vOt,qOt=jOt,WOt=SOt,COt=lOt}function MIn(n,t){var e,i,r,c,a;if(n.e<=t)return n.g;if(h3(n,n.g,t))return n.g;for(c=n.r,i=n.g,a=n.r,r=(c-i)/2+i;i+11&&(n.e.b+=n.a)):(n.e.a+=i.a,n.e.b=t.Math.max(n.e.b,i.b),n.d.c.length>1&&(n.e.a+=n.a))}function AIn(n){var t,e,i,r;switch(t=(r=n.i).b,i=r.j,e=r.g,r.a.g){case 0:e.a=(n.g.b.o.a-i.a)/2;break;case 1:e.a=t.d.n.a+t.d.a.a;break;case 2:e.a=t.d.n.a+t.d.a.a-i.a;break;case 3:e.b=t.d.n.b+t.d.a.b}}function LIn(n,t,e){var i,r,c;for(r=new RW(t$(Ggn(e).a.Kc(),new h));uxn(r);)p9(i=aU(A9(r),18))||!p9(i)&&i.c.i.c==i.d.i.c||(c=rRn(n,i,e,new Sy)).c.length>1&&gv(t.c,c)}function NIn(n,t,e,i,r){if(ii&&(n.a=i),n.br&&(n.b=r),n}function DIn(n){if(RD(n,143))return b_n(aU(n,143));if(RD(n,233))return ypn(aU(n,233));if(RD(n,23))return WOn(aU(n,23));throw uv(new pE(Oet+pOn(new PE(Bhn(iM(bat,1),MZn,1,5,[n])))))}function xIn(n,t,e,i,r){var c,a,o;for(c=!0,a=0;a>>r|e[a+i+1]<>>r,++a}return c}function $In(n,t,e,i){var r,c;if(t.k==(qOn(),lbt))for(c=new RW(t$(Hgn(t).a.Kc(),new h));uxn(c);)if((r=aU(A9(c),18)).c.i.k==lbt&&n.c.a[r.c.i.c.p]==i&&n.c.a[t.c.p]==e)return!0;return!1}function RIn(n,t){var e,i,r,c;return t&=63,e=n.h&h0n,t<22?(c=e>>>t,r=n.m>>t|e<<22-t,i=n.l>>t|n.m<<22-t):t<44?(c=0,r=e>>>t-22,i=n.m>>t-22|n.h<<44-t):(c=0,r=0,i=e>>>t-44),wD(i&s0n,r&s0n,c&h0n)}function _In(n,t,e,i){var r;this.b=i,this.e=n==(nan(),KTt),r=t[e],this.d=Vq(QGt,[qZn,K2n],[183,28],16,[r.length,r.length],2),this.a=Vq(VGt,[qZn,W1n],[53,28],15,[r.length,r.length],2),this.c=new PPn(t,e)}function KIn(n){var t,e,i;for(n.k=new I2(($Qn(),Bhn(iM(QRt,1),q4n,64,0,[RRt,vRt,mRt,$Rt,_Rt])).length,n.j.c.length),i=new Wd(n.j);i.a=e)return QIn(n,t,i.p),!0;return!1}function UIn(n,t,e,i){var r,c,a,o,u,s;for(a=e.length,c=0,r=-1,s=kin((o3(t,n.length+1),n.substr(t)),(iB(),cut)),o=0;oc&&PX(s,kin(e[o],cut))&&(r=o,c=u);return r>=0&&(i[0]=t+c),r}function qIn(n){var t;return 64&n.Db?eIn(n):(t=new h$(Rtt),!n.a||VA(VA((t.a+=' "',t),n.a),'"'),VA(Aj(VA(Aj(VA(Aj(VA(Aj((t.a+=" (",t),n.i),","),n.j)," | "),n.g),","),n.f),")"),t.a)}function zIn(n,t,e){var i,r,c,a,o;for(o=z_n(n.e.Dh(),t),r=aU(n.g,124),i=0,a=0;ae?tLn(n,e,"start index"):t<0||t>e?tLn(t,e,"end index"):IBn("end index (%s) must not be less than start index (%s)",Bhn(iM(bat,1),MZn,1,5,[Ddn(t),Ddn(n)]))}function VIn(n,t){var e,i,r,c;for(i=0,r=n.length;i0&&YIn(n,c,e));t.p=0}function ZIn(n){var t;this.c=new hS,this.f=n.e,this.e=n.d,this.i=n.g,this.d=n.c,this.b=n.b,this.k=n.j,this.a=n.a,n.i?this.j=n.i:this.j=new YF(t=aU(yj(yNt),9),aU(yK(t,t.length),9),0),this.g=n.f}function nAn(n){var t,e,i,r;for(t=EQ(VA(new h$("Predicates."),"and"),40),e=!0,r=new Vd(n);r.b0?o[a-1]:Pnn(wbt,n6n,10,0,0,1),r=o[a],s=a=0?n.ki(r):qLn(n,i)}else own(n,e,i)}function aAn(n){var t,e;if(e=null,t=!1,RD(n,211)&&(t=!0,e=aU(n,211).a),t||RD(n,263)&&(t=!0,e=""+aU(n,263).a),t||RD(n,493)&&(t=!0,e=""+aU(n,493).a),!t)throw uv(new wE(Set));return e}function oAn(n,t,e){var i,r,c,a,o,u;for(u=z_n(n.e.Dh(),t),i=0,o=n.i,r=aU(n.g,124),a=0;a=n.d.b.c.length&&((t=new fQ(n.d)).p=i.p-1,mx(n.d.b,t),(e=new fQ(n.d)).p=i.p,mx(n.d.b,e)),r2(i,aU(qq(n.d.b,i.p),30))}function vAn(n,t,e){var i,r,c;if(!n.b[t.g]){for(n.b[t.g]=!0,!(i=e)&&(i=new I7),rq(i.b,t),c=n.a[t.g].Kc();c.Ob();)(r=aU(c.Pb(),65)).b!=t&&vAn(n,r.b,i),r.c!=t&&vAn(n,r.c,i),rq(i.a,r);return i}return null}function yAn(n){switch(n.g){case 0:case 1:case 2:return $Qn(),vRt;case 3:case 4:case 5:return $Qn(),$Rt;case 6:case 7:case 8:return $Qn(),_Rt;case 9:case 10:case 11:return $Qn(),mRt;default:return $Qn(),RRt}}function kAn(n,t){var e;return 0!=n.c.length&&(e=Pmn((a3(0,n.c.length),aU(n.c[0],18)).c.i),Y0(),e==(Qkn(),ljt)||e==fjt||c9(QJ(new sz(null,new u3(n,16)),new _c),new ap(t)))}function EAn(n,t){if(RD(t,207))return $N(n,aU(t,27));if(RD(t,193))return RN(n,aU(t,123));if(RD(t,452))return xN(n,aU(t,166));throw uv(new pE(Oet+pOn(new PE(Bhn(iM(bat,1),MZn,1,5,[t])))))}function MAn(n,t,e){var i,r;if(this.f=n,n7(e,r=(i=aU(iQ(n.b,t),260))?i.a:0),e>=(r/2|0))for(this.e=i?i.c:null,this.d=r;e++0;)Min(this);this.b=t,this.a=null}function jAn(n,t){var e,i;t.a?W_n(n,t):(!!(e=aU(ES(n.b,t.b),60))&&e==n.a[t.b.f]&&!!e.a&&e.a!=t.b.a&&e.c.Fc(t.b),!!(i=aU(kS(n.b,t.b),60))&&n.a[i.f]==t.b&&!!i.a&&i.a!=t.b.a&&t.b.c.Fc(i),ox(n.b,t.b))}function TAn(n,t){var e,i;if(e=aU(OJ(n.b,t),127),aU(aU(Q9(n.r,t),21),87).dc())return e.n.b=0,void(e.n.c=0);e.n.b=n.C.b,e.n.c=n.C.c,n.A.Hc((Xmn(),VRt))&&pBn(n,t),i=Pkn(n,t),yFn(n,t)==(zyn(),J$t)&&(i+=2*n.w),e.a.a=i}function SAn(n,t){var e,i;if(e=aU(OJ(n.b,t),127),aU(aU(Q9(n.r,t),21),87).dc())return e.n.d=0,void(e.n.a=0);e.n.d=n.C.d,e.n.a=n.C.a,n.A.Hc((Xmn(),VRt))&&mBn(n,t),i=Skn(n,t),yFn(n,t)==(zyn(),J$t)&&(i+=2*n.w),e.a.b=i}function PAn(n,t){var e,i,r,c;for(c=new Jm,i=new Wd(t);i.ai&&(o3(t-1,n.length),n.charCodeAt(t-1)<=32);)--t;return i>0||te.a&&(i.Hc((JSn(),zNt))?r=(t.a-e.a)/2:i.Hc(XNt)&&(r=t.a-e.a)),t.b>e.b&&(i.Hc((JSn(),QNt))?c=(t.b-e.b)/2:i.Hc(VNt)&&(c=t.b-e.b)),VCn(n,r,c)}function nLn(n,t,e,i,r,c,a,o,u,s,h,f,l){RD(n.Cb,90)&&vLn(v9(aU(n.Cb,90)),4),Hon(n,e),n.f=a,Xwn(n,o),Qwn(n,u),Wwn(n,s),Vwn(n,h),gwn(n,f),Sgn(n,l),bwn(n,!0),Tcn(n,r),n.Zk(c),$bn(n,t),null!=i&&(n.i=null,hon(n,i))}function tLn(n,t,e){if(n<0)return IBn(EZn,Bhn(iM(bat,1),MZn,1,5,[e,Ddn(n)]));if(t<0)throw uv(new pE(jZn+t));return IBn("%s (%s) must not be greater than size (%s)",Bhn(iM(bat,1),MZn,1,5,[e,Ddn(n),Ddn(t)]))}function eLn(n,t,e,i,r,c){var a,o,u;if(i-e<7)Qgn(t,e,i,c);else if(eLn(t,n,o=e+r,u=o+((a=i+r)-o>>1),-r,c),eLn(t,n,u,a,-r,c),c.Ne(n[u-1],n[u])<=0)for(;e=0?n.bi(c,e):hRn(n,r,e)}else hpn(n,i,r,e)}function uLn(n){var t,e;if(n.f){for(;n.n>0;){if(RD(e=(t=aU(n.k.Xb(n.n-1),76)).Lk(),102)&&aU(e,19).Bb&Xtt&&(!n.e||e.pk()!=Y_t||0!=e.Lj())&&null!=t.md())return!0;--n.n}return!1}return n.n>0}function sLn(n){var t,e,i,r;if(e=aU(n,54)._h())try{if(i=null,(t=E$n((yP(),sFt),NHn(Epn(e))))&&(r=t.ai())&&(i=r.Fl(fE(e.e))),i&&i!=n)return sLn(i)}catch(n){if(!RD(n=Mhn(n),63))throw uv(n)}return n}function hLn(n,t,e){var i,r;e.Ug("Remove overlaps",1),e.dh(t,h7n),i=aU(qxn(t,(j_(),qCt)),27),n.f=i,n.a=rEn(aU(qxn(t,(EIn(),qOt)),300)),ed(n,(ZQ(r=w_(qxn(t,(UYn(),Nxt)))),r)),DVn(n,t,GKn(i),e),e.dh(t,l7n)}function fLn(n){var t,e,i;if(cE(d_(qxn(n,(UYn(),SDt))))){for(i=new Jm,e=new RW(t$(nRn(n).a.Kc(),new h));uxn(e);)KNn(t=aU(A9(e),74))&&cE(d_(qxn(t,PDt)))&&gv(i.c,t);return i}return uZ(),uZ(),qot}function lLn(n){if(!n)return Kk(),zat;var e=n.valueOf?n.valueOf():n;if(e!==n){var i=Wat[typeof e];return i?i(e):zbn(typeof e)}return n instanceof Array||n instanceof t.Array?new Mb(n):new Sb(n)}function bLn(n,e,i){var r,c,a;switch(a=n.o,(c=(r=aU(OJ(n.p,i),252)).i).b=dNn(r),c.a=bNn(r),c.b=t.Math.max(c.b,a.a),c.b>a.a&&!e&&(c.b=a.a),c.c=-(c.b-a.a)/2,i.g){case 1:c.d=-c.a;break;case 3:c.d=a.b}QUn(r),eqn(r)}function dLn(n,e,i){var r,c,a;switch(a=n.o,(c=(r=aU(OJ(n.p,i),252)).i).b=dNn(r),c.a=bNn(r),c.a=t.Math.max(c.a,a.b),c.a>a.b&&!e&&(c.a=a.b),c.d=-(c.a-a.b)/2,i.g){case 4:c.c=-c.b;break;case 2:c.c=a.a}QUn(r),eqn(r)}function wLn(n,t){var e,i,r,c,a;if(!t.dc())if(r=aU(t.Xb(0),131),1!=t.gc())for(e=1;e0)try{i=gHn(t,E1n,pZn)}catch(n){throw RD(n=Mhn(n),130)?uv(new Ten(n)):uv(n)}return!n.a&&(n.a=new Hm(n)),i<(e=n.a).i&&i>=0?aU(qrn(e,i),58):null}function kLn(n,t){if(n<0)return IBn(EZn,Bhn(iM(bat,1),MZn,1,5,["index",Ddn(n)]));if(t<0)throw uv(new pE(jZn+t));return IBn("%s (%s) must be less than size (%s)",Bhn(iM(bat,1),MZn,1,5,["index",Ddn(n),Ddn(t)]))}function ELn(n){var t,e,i,r,c;if(null==n)return PZn;for(c=new Qsn(kZn,"[","]"),i=0,r=(e=n).length;i=0?n.Lh(e,!0,!0):QNn(n,r,!0),160),aU(i,220).Zl(t)}function zLn(n){var e,i;return n>-0x800000000000&&n<0x800000000000?0==n?0:((e=n<0)&&(n=-n),i=Z1(t.Math.floor(t.Math.log(n)/.6931471805599453)),(!e||n!=t.Math.pow(2,i))&&++i,i):bhn(Ksn(n))}function WLn(n){var t,e,i,r,c,a,o;for(c=new UL,e=new Wd(n);e.a2&&o.e.b+o.j.b<=2&&(r=o,i=a),c.a.zc(r,c),r.q=i);return c}function XLn(n,t,e){e.Ug("Eades radial",1),e.dh(t,l7n),n.d=aU(qxn(t,(j_(),qCt)),27),n.c=aE(w_(qxn(t,(EIn(),FOt)))),n.e=rEn(aU(qxn(t,qOt),300)),n.a=_pn(aU(qxn(t,WOt),434)),n.b=TSn(aU(qxn(t,$Ot),354)),BTn(n),e.dh(t,l7n)}function VLn(n,t){if(t.Ug("Target Width Setter",1),!pnn(n,(jFn(),pAt)))throw uv(new EE("A target width has to be set if the TargetWidthWidthApproximator should be used."));ykn(n,(hBn(),TIt),w_(qxn(n,pAt))),t.Vg()}function QLn(n,t){var e,i,r;return qsn(i=new dEn(n),t),mfn(i,(GYn(),$pt),t),mfn(i,(EYn(),VEt),(LPn(),iRt)),mfn(i,fkt,(Ykn(),CNt)),Fb(i,(qOn(),hbt)),c2(e=new hIn,i),ALn(e,($Qn(),_Rt)),c2(r=new hIn,i),ALn(r,mRt),i}function JLn(n){switch(n.g){case 0:return new qk((nan(),_Tt));case 1:return new fl;case 2:return new ll;default:throw uv(new pE("No implementation is available for the crossing minimizer "+(null!=n.f?n.f:""+n.g)))}}function YLn(n,t){var e,i,r,c;for(n.c[t.p]=!0,mx(n.a,t),c=new Wd(t.j);c.a=(c=a.gc()))a.$b();else for(r=a.Kc(),i=0;i0?FE():c<0&&fNn(n,t,-c),!0)}function bNn(n){var t,e,i,r,c,a;if(a=0,0==n.b){for(t=0,r=0,c=(i=OEn(n,!0)).length;r0&&(a+=e,++t);t>1&&(a+=n.c*(t-1))}else a=sM(yun(JJ(VJ(KX(n.a),new jn),new Tn)));return a>0?a+n.n.d+n.n.a:0}function dNn(n){var t,e,i,r,c,a;if(a=0,0==n.b)a=sM(yun(JJ(VJ(KX(n.a),new En),new Mn)));else{for(t=0,r=0,c=(i=IEn(n,!0)).length;r0&&(a+=e,++t);t>1&&(a+=n.c*(t-1))}return a>0?a+n.n.b+n.n.c:0}function wNn(n){var t,e;if(2!=n.c.length)throw uv(new mE("Order only allowed for two paths."));a3(0,n.c.length),t=aU(n.c[0],18),a3(1,n.c.length),e=aU(n.c[1],18),t.d.i!=e.c.i&&(n.c.length=0,gv(n.c,e),gv(n.c,t))}function gNn(n,t,e){var i;for(pN(e,t.g,t.f),mN(e,t.i,t.j),i=0;i<(!t.a&&(t.a=new sX(hKt,t,10,11)),t.a).i;i++)gNn(n,aU(qrn((!t.a&&(t.a=new sX(hKt,t,10,11)),t.a),i),27),aU(qrn((!e.a&&(e.a=new sX(hKt,e,10,11)),e.a),i),27))}function pNn(n,e){var i,r,c,a;for(i=(a=aU(OJ(n.b,e),127)).a,c=aU(aU(Q9(n.r,e),21),87).Kc();c.Ob();)(r=aU(c.Pb(),117)).c&&(i.a=t.Math.max(i.a,eq(r.c)));if(i.a>0)switch(e.g){case 2:a.n.c=n.s;break;case 4:a.n.b=n.s}}function mNn(n,t){var e,i,r;return 0==(e=aU(cOn(t,(eUn(),Lft)),17).a-aU(cOn(n,Lft),17).a)?(i=QK(ND(aU(cOn(n,(gon(),qft)),8)),aU(cOn(n,zft),8)),r=QK(ND(aU(cOn(t,qft),8)),aU(cOn(t,zft),8)),agn(i.a*i.b,r.a*r.b)):e}function vNn(n,t){var e,i,r;return 0==(e=aU(cOn(t,(XUn(),vCt)),17).a-aU(cOn(n,vCt),17).a)?(i=QK(ND(aU(cOn(n,(CQn(),pPt)),8)),aU(cOn(n,mPt),8)),r=QK(ND(aU(cOn(t,pPt),8)),aU(cOn(t,mPt),8)),agn(i.a*i.b,r.a*r.b)):e}function yNn(n){var t,e;return(e=new WE).a+="e_",null!=(t=fhn(n))&&(e.a+=""+t),n.c&&n.d&&(VA((e.a+=" ",e),YMn(n.c)),VA(XA((e.a+="[",e),n.c.i),"]"),VA((e.a+=Q4n,e),YMn(n.d)),VA(XA((e.a+="[",e),n.d.i),"]")),e.a}function kNn(n){switch(n.g){case 0:return new kl;case 1:return new El;case 2:return new vl;case 3:return new ml;default:throw uv(new pE("No implementation is available for the layout phase "+(null!=n.f?n.f:""+n.g)))}}function ENn(n,e,i,r,c){var a;switch(a=0,c.g){case 1:a=t.Math.max(0,e.b+n.b-(i.b+r));break;case 3:a=t.Math.max(0,-n.b-r);break;case 2:a=t.Math.max(0,-n.a-r);break;case 4:a=t.Math.max(0,e.a+n.a-(i.a+r))}return a}function MNn(n,t,e){var i,r,c;if(e)for(c=((i=new GW(e.a.length)).b-i.a)*i.c<0?(SP(),HGt):new Dx(i);c.Ob();)r=p6(e,aU(c.Pb(),17).a),pet in r.a||met in r.a?fGn(n,r,t):VJn(n,r,t),Gx(aU(iQ(n.b,Evn(r)),74))}function jNn(n){var t,e;switch(n.b){case-1:return!0;case 0:return(e=n.t)>1||-1==e||(t=fTn(n))&&(TP(),t.lk()==ort)?(n.b=-1,!0):(n.b=1,!1);default:return!1}}function TNn(n,t){var e,i,r,c;if(MYn(n),0!=n.c||123!=n.a)throw uv(new SE(eZn((ZN(),fit))));if(c=112==t,i=n.d,(e=rR(n.i,125,i))<0)throw uv(new SE(eZn((ZN(),lit))));return r=e1(n.i,i,e),n.d=e+1,ttn(r,c,!(512&~n.e))}function SNn(n){var t,e,i,r,c,a,o;if((i=n.a.c.length)>0)for(a=n.c.d,r=px(QK(new yI((o=n.d.d).a,o.b),a),1/(i+1)),c=new yI(a.a,a.b),e=new Wd(n.a);e.a=0&&i=0?n.Lh(e,!0,!0):QNn(n,r,!0),160),aU(i,220).Wl(t);throw uv(new pE(Gtt+t.xe()+qtt))}function NNn(){var n;return PP(),dBt?aU(E$n((yP(),sFt),Nrt),2038):(yL(jat,new Th),vVn(),n=aU(RD(B1((yP(),sFt),Nrt),560)?B1(sFt,Nrt):new bJ,560),dBt=!0,FYn(n),cZn(n),pJ((wP(),pFt),n,new Bs),e2(sFt,Nrt,n),n)}function DNn(n,t){var e,i,r,c;n.j=-1,aN(n.e)?(e=n.i,c=0!=n.i,q9(n,t),i=new $en(n.e,3,n.c,null,t,e,c),r=t.zl(n.e,n.c,null),(r=vPn(n,t,r))?(r.nj(i),r.oj()):ysn(n.e,i)):(q9(n,t),(r=t.zl(n.e,n.c,null))&&r.oj())}function xNn(n,t){var e,i,r;if(r=0,(i=t[0])>=n.length)return-1;for(o3(i,n.length),e=n.charCodeAt(i);e>=48&&e<=57&&(r=10*r+(e-48),!(++i>=n.length));)o3(i,n.length),e=n.charCodeAt(i);return i>t[0]?t[0]=i:r=-1,r}function $Nn(n){var e,i,r,c,a;return i=c=aU(n.a,17).a,r=a=aU(n.b,17).a,e=t.Math.max(t.Math.abs(c),t.Math.abs(a)),c<=0&&c==a?(i=0,r=a-1):c==-e&&a!=e?(i=a,r=c,a>=0&&++i):(i=-a,r=c),new WI(Ddn(i),Ddn(r))}function RNn(n,t,e,i){var r,c,a,o,u,s;for(r=0;r=0&&s>=0&&u=n.i)throw uv(new bE(qet+t+zet+n.i));if(e>=n.i)throw uv(new bE(Wet+e+zet+n.i));return i=n.g[e],t!=e&&(t>16))>>16&16),e+=t=(i=(n>>=t)-256)>>16&8,e+=t=(i=(n<<=t)-E0n)>>16&4,(e+=t=(i=(n<<=t)-zZn)>>16&2)+2-(t=(i=(n<<=t)>>14)&~(i>>1)))}function HNn(n){var t,e,i,r;for(hZ(),rft=new Jm,ift=new Qm,eft=new Jm,!n.a&&(n.a=new sX(hKt,n,10,11)),VQn(t=n.a),r=new Nx(t);r.e!=r.i.gc();)i=aU(Jyn(r),27),-1==ken(rft,i,0)&&(e=new Jm,mx(eft,e),oyn(i,e));return eft}function UNn(n,t,e){var i,r,c,a;n.a=e.b.d,RD(t,326)?(q8(c=SIn(r=VKn(aU(t,74),!1,!1)),i=new $w(n)),oqn(c,r),null!=t.of((UYn(),IDt))&&q8(aU(t.of(IDt),75),i)):((a=aU(t,422)).rh(a.nh()+n.a.a),a.sh(a.oh()+n.a.b))}function qNn(n,t){var e,i,r;for(r=new Jm,i=Ryn(t.a,0);i.b!=i.d.c;)(e=aU(P6(i),65)).c.g==n.g&&DA(cOn(e.b,(XUn(),OCt)))!==DA(cOn(e.c,OCt))&&!c9(new sz(null,new u3(r,16)),new mp(e))&&gv(r.c,e);return sD(r,new ja),r}function zNn(n,t,e){var i,r,c,a;return RD(t,153)&&RD(e,153)?(c=aU(t,153),a=aU(e,153),n.a[c.a][a.a]+n.a[a.a][c.a]):RD(t,250)&&RD(e,250)&&(i=aU(t,250),r=aU(e,250),i.a==r.a)?aU(cOn(r.a,(eUn(),Lft)),17).a:0}function WNn(n,e){var i,r,c,a,o,u,s,h;for(h=aE(w_(cOn(e,(EYn(),PMt)))),s=n[0].n.a+n[0].o.a+n[0].d.c+h,u=1;u=0?e:(o=AQ(QK(new yI(a.c+a.b/2,a.d+a.a/2),new yI(c.c+c.b/2,c.d+c.a/2))),-(cUn(c,a)-1)*o)}function VNn(n,t,e){var i;mS(new sz(null,(!e.a&&(e.a=new sX(rKt,e,6,6)),new u3(e.a,16))),new qI(n,t)),mS(new sz(null,(!e.n&&(e.n=new sX(sKt,e,1,7)),new u3(e.n,16))),new zI(n,t)),(i=aU(qxn(e,(UYn(),IDt)),75))&&sun(i,n,t)}function QNn(n,t,e){var i,r,c;if(c=tXn((dAn(),pBt),n.Dh(),t))return TP(),aU(c,69).xk()||(c=_3(Aen(pBt,c))),r=aU((i=n.Ih(c))>=0?n.Lh(i,!0,!0):QNn(n,c,!0),160),aU(r,220).Sl(t,e);throw uv(new pE(Gtt+t.xe()+qtt))}function JNn(n,t,e,i){var r,c,a,o,u;if(r=n.d[t])if(c=r.g,u=r.i,null!=i){for(o=0;o=e&&(i=t,c=(u=(o.c+o.a)/2)-e,o.c<=u-e&&Gz(n,i++,new CH(o.c,c)),(a=u+e)<=o.a&&(r=new CH(a,o.a),c3(i,n.c.length),wC(n.c,i,r)))}function cDn(n,t,e){var i,r,c,a;if(!t.dc()){for(i=new hS,a=t.Kc();a.Ob();)for(c=aU(a.Pb(),40),pJ(n.a,Ddn(c.g),Ddn(e)),r=new kp(Ryn(new yp(c).a.d,0));Vj(r.a);)o8(i,aU(P6(r.a),65).c,i.c.b,i.c);cDn(n,i,e+1)}}function aDn(n){var t;if(n.c||null!=n.g){if(null==n.g)return!0;if(0==n.i)return!1;t=aU(n.g[n.i-1],51)}else n.d=n.bj(n.f),Znn(n,n.d),t=n.d;return t==n.b&&null.Vm>=null.Um()?(W$n(n),aDn(n)):t.Ob()}function oDn(n){if(this.a=n,n.c.i.k==(qOn(),hbt))this.c=n.c,this.d=aU(cOn(n.c.i,(GYn(),Rpt)),64);else{if(n.d.i.k!=hbt)throw uv(new pE("Edge "+n+" is not an external edge."));this.c=n.d,this.d=aU(cOn(n.d.i,(GYn(),Rpt)),64)}}function uDn(n,t){var e,i,r;r=n.b,n.b=t,4&n.Db&&!(1&n.Db)&&ysn(n,new hX(n,1,3,r,n.b)),t?t!=n&&(Hon(n,t.zb),Pcn(n,t.d),Ban(n,null==(e=null==(i=t.c)?t.zb:i)||gF(e,t.zb)?null:e)):(Hon(n,null),Pcn(n,0),Ban(n,null))}function sDn(n,t){var e;this.e=(JV(),WV(n),JV(),Mmn(n)),this.c=(WV(t),Mmn(t)),Rx(this.e.Rd().dc()==this.c.Rd().dc()),this.d=Xgn(this.e),this.b=Xgn(this.c),e=Vq(bat,[qZn,MZn],[5,1],5,[this.e.Rd().gc(),this.c.Rd().gc()],2),this.a=e,lan(this)}function hDn(n){return!xat&&(xat=gJn()),'"'+n.replace(/[\x00-\x1f\xad\u0600-\u0603\u06dd\u070f\u17b4\u17b5\u200b-\u200f\u2028-\u202e\u2060-\u2064\u206a-\u206f\ufeff\ufff9-\ufffb"\\]/g,(function(n){return q1(n)}))+'"'}function fDn(n,e,i,r,c,a){var o,u,s,h,f;if(0!=c)for(DA(n)===DA(i)&&(n=n.slice(e,e+c),e=0),s=i,u=e,h=e+c;u=(a=null==(e=aU(Isn(n.a,4),129))?0:e.length))throw uv(new lF(t,a));return r=e[t],1==a?i=null:(HUn(e,0,i=Pnn(NKt,Bit,424,a-1,0,1),0,t),(c=a-t-1)>0&&HUn(e,t+1,i,t,c)),Tyn(n,i),GAn(n,t,r),r}function wDn(n){var t,e;if(n.f){for(;n.n0?Ppn(e):Gwn(Ppn(e)),ykn(t,nMt,r)}function yDn(n,t){t.Ug("Partition preprocessing",1),mS(aU(h8(VJ(oin(VJ(new sz(null,new u3(n.a,16)),new mi),new vi),new yi),stn(new X,new W,new en,Bhn(iM(xut,1),w1n,108,0,[(vbn(),Put)]))),15).Oc(),new ki),t.Vg()}function kDn(n,t){var e,i,r,c,a;for(a=n.j,t.a!=t.b&&sD(a,new Yr),r=a.c.length/2|0,i=0;i0&&oGn(n,e,t),c):null!=i.a?(oGn(n,t,e),-1):null!=r.a?(oGn(n,e,t),1):0}function MDn(n,t){var e,i,r,c,a;for(r=t.b.b,n.a=Pnn(vat,F3n,15,r,0,1),n.b=Pnn(QGt,K2n,28,r,16,1),a=Ryn(t.b,0);a.b!=a.d.c;)c=aU(P6(a),40),n.a[c.g]=new hS;for(i=Ryn(t.a,0);i.b!=i.d.c;)e=aU(P6(i),65),n.a[e.b.g].Fc(e),n.a[e.c.g].Fc(e)}function jDn(n,t){var e,i,r,c;n.Pj()?(e=n.Ej(),c=n.Qj(),++n.j,n.qj(e,n.Zi(e,t)),i=n.Ij(3,null,t,e,c),n.Mj()&&(r=n.Nj(t,null))?(r.nj(i),r.oj()):n.Jj(i)):(pQ(n,t),n.Mj()&&(r=n.Nj(t,null))&&r.oj())}function TDn(n,t,e){var i,r,c;n.Pj()?(c=n.Qj(),nwn(n,t,e),i=n.Ij(3,null,e,t,c),n.Mj()?(r=n.Nj(e,null),n.Tj()&&(r=n.Uj(e,r)),r?(r.nj(i),r.oj()):n.Jj(i)):n.Jj(i)):(nwn(n,t,e),n.Mj()&&(r=n.Nj(e,null))&&r.oj())}function SDn(n,t){var e,i,r,c,a;for(a=z_n(n.e.Dh(),t),r=new ls,e=aU(n.g,124),c=n.i;--c>=0;)i=e[c],a.am(i.Lk())&&Znn(r,i);!TJn(n,r)&&aN(n.e)&&Qv(n,t.Jk()?zZ(n,6,t,(uZ(),qot),null,-1,!1):zZ(n,t.tk()?2:1,t,null,null,-1,!1))}function PDn(n,t){var e,i,r,c;return n.a==(xOn(),zgt)||(r=t.a.c,e=t.a.c+t.a.b,!(t.j&&(c=(i=t.A).c.c.a-i.o.a/2,r-(i.n.a+i.o.a)>c)||t.q&&(c=(i=t.C).c.c.a-i.o.a/2,i.n.a-e>c)))}function CDn(n){var t,e,i,r,c,a;for(n2(),e=new a8,i=new Wd(n.e.b);i.a1?n.e*=aE(n.a):n.f/=aE(n.a),_bn(n),zvn(n),MBn(n),mfn(n.b,(ekn(),Xht),n.g)}function DDn(n,t,e){var i,r,c,a,o;for(i=0,o=e,t||(i=e*(n.c.length-1),o*=-1),c=new Wd(n);c.a=0?n.Ah(null):n.Ph().Th(n,-1-t,null,null),n.Bh(aU(r,54),e),i&&i.oj(),n.vh()&&n.wh()&&e>-1&&ysn(n,new hX(n,9,e,c,r)),r):c}function QDn(n,t){var e,i,r,c,a;for(c=n.b.Ce(t),i=null==(e=n.a.get(c))?Pnn(bat,MZn,1,0,5,1):e,a=0;a>5)>=n.d)return n.e<0;if(e=n.a[r],t=1<<(31&t),n.e<0){if(r<(i=_un(n)))return!1;e=i==r?-e:~e}return!!(e&t)}function cxn(n,t,e,i){var r;aU(e.b,68),aU(e.b,68),aU(i.b,68),aU(i.b,68),xU(r=QK(ND(aU(e.b,68).c),aU(i.b,68).c),ILn(aU(e.b,68),aU(i.b,68),r)),aU(i.b,68),aU(i.b,68),aU(i.b,68).c.a,r.a,aU(i.b,68).c.b,r.b,aU(i.b,68),Trn(i.a,new LH(n,t,i))}function axn(n,t){var e,i,r,c,a,o,u;if(c=t.e)for(e=VDn(c),i=aU(n.g,689),a=0;a>16)),15).dd(c))0&&((!uN(n.a.c)||!e.n.d)&&(!sN(n.a.c)||!e.n.b)&&(e.g.d+=t.Math.max(0,r/2-.5)),(!uN(n.a.c)||!e.n.a)&&(!sN(n.a.c)||!e.n.c)&&(e.g.a-=r-1))}function fxn(n){var e,i,r,c,a;if(a=qHn(n,c=new Jm),e=aU(cOn(n,(GYn(),hmt)),10))for(r=new Wd(e.j);r.a>t,c=n.m>>t|e<<22-t,r=n.l>>t|n.m<<22-t):t<44?(a=i?h0n:0,c=e>>t-22,r=n.m>>t-22|e<<44-t):(a=i?h0n:0,c=i?s0n:0,r=e>>t-44),wD(r&s0n,c&s0n,a&h0n)}function wxn(n){var e,i,r,c,a,o;for(this.c=new Jm,this.d=n,r=y0n,c=y0n,e=k0n,i=k0n,o=Ryn(n,0);o.b!=o.d.c;)a=aU(P6(o),8),r=t.Math.min(r,a.a),c=t.Math.min(c,a.b),e=t.Math.max(e,a.a),i=t.Math.max(i,a.b);this.a=new dY(r,c,e-r,i-c)}function gxn(n,t){var e,i,r,c;for(i=new Wd(n.b);i.a0&&RD(t,44)&&(n.a._j(),c=null==(u=(s=aU(t,44)).ld())?0:Fon(u),a=tK(n.a,c),e=n.a.d[a]))for(i=aU(e.g,379),h=e.i,o=0;o=2)for(e=w_((i=c.Kc()).Pb());i.Ob();)a=e,e=w_(i.Pb()),r=t.Math.min(r,(ZQ(e),e-(ZQ(a),a)));return r}function Dxn(n,t){var e,i,r;for(r=new Jm,i=Ryn(t.a,0);i.b!=i.d.c;)(e=aU(P6(i),65)).b.g==n.g&&!gF(e.b.c,F9n)&&DA(cOn(e.b,(XUn(),OCt)))!==DA(cOn(e.c,OCt))&&!c9(new sz(null,new u3(r,16)),new vp(e))&&gv(r.c,e);return sD(r,new Ca),r}function xxn(n,t){var e,i,r;if(DA(t)===DA(WV(n)))return!0;if(!RD(t,15))return!1;if(i=aU(t,15),(r=n.gc())!=i.gc())return!1;if(RD(i,59)){for(e=0;e0&&(r=e),a=new Wd(n.f.e);a.a0?(t-=1,e-=1):i>=0&&r<0?(t+=1,e+=1):i>0&&r>=0?(t-=1,e+=1):(t+=1,e-=1),new WI(Ddn(t),Ddn(e))}function n$n(n,t){return n.ct.c?1:n.bt.b?1:n.a!=t.a?Fon(n.a)-Fon(t.a):n.d==(J6(),QTt)&&t.d==VTt?-1:n.d==VTt&&t.d==QTt?1:0}function t$n(n,t){var e,i,r,c,a;return a=(c=t.a).c.i==t.b?c.d:c.c,i=c.c.i==t.b?c.c:c.d,(r=bmn(n.a,a,i))>0&&r0):r<0&&-r0)}function e$n(n,t,e,i){var r,c,a,o,u,s;for(r=(t-n.d)/n.c.c.length,c=0,n.a+=e,n.d=t,s=new Wd(n.c);s.a>24;return a}function r$n(n){if(n.ze()){var t=n.c;return t.Ae()?n.o="["+t.n:t.ze()?n.o="["+t.xe():n.o="[L"+t.xe()+";",n.b=t.we()+"[]",void(n.k=t.ye()+"[]")}var e=n.j,i=n.d;i=i.split("/"),n.o=svn(".",[e,svn("$",i)]),n.b=svn(".",[e,svn(".",i)]),n.k=i[i.length-1]}function c$n(n,t){var e,i,r,c,a;for(a=null,c=new Wd(n.e.a);c.a=0;t-=2)for(e=0;e<=t;e+=2)(n.b[e]>n.b[e+2]||n.b[e]===n.b[e+2]&&n.b[e+1]>n.b[e+3])&&(i=n.b[e+2],n.b[e+2]=n.b[e],n.b[e]=i,i=n.b[e+3],n.b[e+3]=n.b[e+1],n.b[e+1]=i);n.c=!0}}function g$n(n,t){var e,i,r,c,a,o,u,s,h;for(s=-1,h=0,o=0,u=(a=n).length;o0&&++h;++s}return h}function p$n(n){var t;return(t=new h$(Pj(n.Rm))).a+="@",VA(t,(Fon(n)>>>0).toString(16)),n.Vh()?(t.a+=" (eProxyURI: ",XA(t,n._h()),n.Kh()&&(t.a+=" eClass: ",XA(t,n.Kh())),t.a+=")"):n.Kh()&&(t.a+=" (eClass: ",XA(t,n.Kh()),t.a+=")"),t.a}function m$n(n){var t,e,i;if(n.e)throw uv(new mE((p_(Xut),p2n+Xut.k+m2n)));for(n.d==(Dwn(),Jxt)&&GVn(n,Vxt),e=new Wd(n.a.a);e.a>24}return e}function j$n(n,t,e){var i,r,c;if(!(r=aU(OJ(n.i,t),314)))if(r=new Qin(n.d,t,e),BX(n.i,t,r),pvn(t))tx(n.a,t.c,t.b,r);else switch(c=yAn(t),i=aU(OJ(n.p,c),252),c.g){case 1:case 3:r.j=!0,Yk(i,t.b,r);break;case 4:case 2:r.k=!0,Yk(i,t.c,r)}return r}function T$n(n,t){var e,i,r,c,a,o,u,s,h;for(u=tR(n.c-n.b&n.a.length-1),s=null,h=null,c=new UJ(n);c.a!=c.b;)r=aU(edn(c),10),e=(o=aU(cOn(r,(GYn(),Jpt)),12))?o.i:null,i=(a=aU(cOn(r,Ypt),12))?a.i:null,s==e&&h==i||(RDn(u,t),s=e,h=i),gv(u.c,r);RDn(u,t)}function S$n(n,t,e,i){var r,c,a,o,u,s;if(o=new ls,u=z_n(n.e.Dh(),t),r=aU(n.g,124),TP(),aU(t,69).xk())for(a=0;a=0)return r;for(c=1,a=new Wd(e.j);a.a=0)return r;for(c=1,a=new Wd(e.j);a.a0&&t.Ne((a3(r-1,n.c.length),aU(n.c[r-1],10)),c)>0;)Q8(n,r,(a3(r-1,n.c.length),aU(n.c[r-1],10))),--r;a3(r,n.c.length),n.c[r]=c}e.a=new Qm,e.b=new Qm}function I$n(n,t,e){var i,r,c,a,o,u,s;for(s=new YF(i=aU(t.e&&t.e(),9),aU(yK(i,i.length),9),0),a=0,o=(c=WUn(e,"[\\[\\]\\s,]+")).length;a=0?(t||(t=new zE,i>0&&zA(t,($nn(0,i,n.length),n.substr(0,i)))),t.a+="\\",kQ(t,e&N1n)):t&&kQ(t,e&N1n);return t?t.a:n}function L$n(n){var e,i,r;for(i=new Wd(n.a.a.b);i.a0&&((!uN(n.a.c)||!e.n.d)&&(!sN(n.a.c)||!e.n.b)&&(e.g.d-=t.Math.max(0,r/2-.5)),(!uN(n.a.c)||!e.n.a)&&(!sN(n.a.c)||!e.n.c)&&(e.g.a+=t.Math.max(0,r-1)))}function N$n(n,t,e){var i;if(2==(n.c-n.b&n.a.length-1))t==($Qn(),vRt)||t==mRt?(wrn(aU(xfn(n),15),(Ojn(),L$t)),wrn(aU(xfn(n),15),N$t)):(wrn(aU(xfn(n),15),(Ojn(),N$t)),wrn(aU(xfn(n),15),L$t));else for(i=new UJ(n);i.a!=i.b;)wrn(aU(edn(i),15),e)}function D$n(n,t){var e,i,r,c,a,o;for(a=new A4(i=eU(new Tm(n)),i.c.length),o=new A4(r=eU(new Tm(t)),r.c.length),c=null;a.b>0&&o.b>0&&(y_(a.b>0),e=aU(a.a.Xb(a.c=--a.b),27),y_(o.b>0),e==aU(o.a.Xb(o.c=--o.b),27));)c=e;return c}function x$n(n,t,e){var i,r,c,a;Q3(n,t)>Q3(n,e)?(i=Ngn(e,($Qn(),mRt)),n.d=i.dc()?0:bq(aU(i.Xb(0),12)),a=Ngn(t,_Rt),n.b=a.dc()?0:bq(aU(a.Xb(0),12))):(r=Ngn(e,($Qn(),_Rt)),n.d=r.dc()?0:bq(aU(r.Xb(0),12)),c=Ngn(t,mRt),n.b=c.dc()?0:bq(aU(c.Xb(0),12)))}function $$n(n,t){var e,i,r,c;for(e=n.o.a,c=aU(aU(Q9(n.r,t),21),87).Kc();c.Ob();)(r=aU(c.Pb(),117)).e.a=e*aE(w_(r.b.of(fht))),r.e.b=(i=r.b).pf((UYn(),axt))?i.ag()==($Qn(),vRt)?-i.Mf().b-aE(w_(i.of(axt))):aE(w_(i.of(axt))):i.ag()==($Qn(),vRt)?-i.Mf().b:0}function R$n(n,t){var e,i,r,c;for(t.Ug("Self-Loop pre-processing",1),i=new Wd(n.a);i.an.c));a++)r.a>=n.s&&(c<0&&(c=a),o=a);return u=(n.s+n.c)/2,c>=0&&(u=lP((a3(i=sGn(n,t,c,o),t.c.length),aU(t.c[i],339))),rDn(t,i,e)),u}function F$n(n,t,e){var i,r,c,a,o;for(Qan(r=new vs,(ZQ(t),t)),!r.b&&(r.b=new UR((QYn(),KFt),fBt,r)),o=r.b,a=1;a0&&ZWn(this,r)}function G$n(n,t,e,i,r,c){var a,o,u;if(!r[t.a]){for(r[t.a]=!0,!(a=i)&&(a=new b7),mx(a.e,t),u=c[t.a].Kc();u.Ob();)(o=aU(u.Pb(),290)).d!=e&&o.c!=e&&(o.c!=t&&G$n(n,o.c,t,a,r,c),o.d!=t&&G$n(n,o.d,t,a,r,c),mx(a.c,o),Chn(a.d,o.b));return a}return null}function H$n(n){var t,e,i;for(t=0,e=new Wd(n.e);e.a=2}function U$n(n,t,e,i,r){var c,a,o,u,s;for(c=n.c.d.j,a=aU(ukn(e,0),8),s=1;s1||Hsn(U1(Wz(K$t,Bhn(iM(nRt,1),w1n,95,0,[_$t,B$t])),n))>1||Hsn(U1(Wz(z$t,Bhn(iM(nRt,1),w1n,95,0,[q$t,U$t])),n))>1)}function z$n(n,t,e){var i,r,c;for(c=new Wd(n.t);c.a0&&(i.b.n-=i.c,i.b.n<=0&&i.b.u>0&&rq(t,i.b));for(r=new Wd(n.i);r.a0&&(i.a.u-=i.c,i.a.u<=0&&i.a.n>0&&rq(e,i.a))}function W$n(n){var t,e,i;if(null==n.g&&(n.d=n.bj(n.f),Znn(n,n.d),n.c))return n.f;if(i=(t=aU(n.g[n.i-1],51)).Pb(),n.e=t,(e=n.bj(i)).Ob())n.d=e,Znn(n,e);else for(n.d=null;!t.Ob()&&(aQ(n.g,--n.i,null),0!=n.i);)t=aU(n.g[n.i-1],51);return i}function X$n(n,t){var e,i,r,c,a,o;if(r=(i=t).Lk(),MKn(n.e,r)){if(r.Si()&&F5(n,r,i.md()))return!1}else for(o=z_n(n.e.Dh(),r),e=aU(n.g,124),c=0;c1||e>1)return 2;return t+e==1?2:0}function aRn(n,e){var i,r,c,a;return c=n.a*U0n+1502*n.b,a=n.b*U0n+11,c+=i=t.Math.floor(a*q0n),a-=i*z0n,c%=z0n,n.a=c,n.b=a,e<=24?t.Math.floor(n.a*fut[e]):((r=n.a*(1<=2147483648&&(r-=4294967296),r)}function oRn(n,t,e){var i,r,c,a,o,u,s;for(c=new Jm,Bqn(n,s=new hS,a=new hS,t),xXn(n,s,a,t,e),u=new Wd(n);u.ai.b.g&&gv(c.c,i);return c}function uRn(n,t,e){var i,r,c,a,o;for(a=n.c,c=(e.q?e.q:(uZ(),uZ(),zot)).vc().Kc();c.Ob();)r=aU(c.Pb(),44),!Xj(VJ(new sz(null,new u3(a,16)),new uw(new mI(t,r)))).Bd((pS(),$ut))&&(RD(o=r.md(),4)&&null!=(i=Avn(o))&&(o=i),t.qf(aU(r.ld(),149),o))}function sRn(n,t,e){var i;if(_J(n.b),VX(n.b,(xwn(),FAt),(nP(),GLt)),VX(n.b,BAt,t.g),VX(n.b,GAt,t.a),n.a=XWn(n.b,t),e.Ug("Compaction by shrinking a tree",n.a.c.length),t.i.c.length>1)for(i=new Wd(n.a);i.a=0?n.Lh(i,!0,!0):QNn(n,c,!0),160),aU(r,220).Xl(t,e)}function fRn(n,t){var e,i,r,c;if(t){for(c=!(r=RD(n.Cb,90)||RD(n.Cb,102))&&RD(n.Cb,331),e=new Nx((!t.a&&(t.a=new Oz(t,bFt,t)),t.a));e.e!=e.i.gc();)if(i=yUn(aU(Jyn(e),89)),r?RD(i,90):c?RD(i,156):i)return i;return r?(QYn(),NFt):(QYn(),IFt)}return null}function lRn(n,t){var e,i,r;for(t.Ug("Resize child graph to fit parent.",1),i=new Wd(n.b);i.a=2*t&&mx(e,new CH(a[i-1]+t,a[i]-t));return e}function wRn(n,t,e){var i,r,c,a,o;if(e)for(c=((i=new GW(e.a.length)).b-i.a)*i.c<0?(SP(),HGt):new Dx(i);c.Ob();)(r=p6(e,aU(c.Pb(),17).a))&&(Gan(a=f5(n,(dj(),o=new Fy,!!t&&IRn(o,t),o),r),m6(r,Pet)),sCn(r,a),mLn(r,a),Hfn(n,r,a))}function gRn(n){var t,e,i,r;if(!n.j){if(r=new Ss,null==(t=qFt).a.zc(n,t)){for(i=new Nx(YZ(n));i.e!=i.i.gc();)SV(r,gRn(e=aU(Jyn(i),29))),Znn(r,e);t.a.Bc(n)}hbn(r),n.j=new pL((aU(qrn(dZ((ZV(),vFt).o),11),19),r.i),r.g),v9(n).b&=-33}return n.j}function pRn(n){var t,e,i,r;if(null==n)return null;if(i=vzn(n,!0),r=vct.length,gF(i.substr(i.length-r,r),vct))if(4==(e=i.length)){if(o3(0,i.length),43==(t=i.charCodeAt(0)))return uGt;if(45==t)return oGt}else if(3==e)return uGt;return new Zv(i)}function mRn(n){var t,e,i;return(e=n.l)&e-1||(i=n.m)&i-1||(t=n.h)&t-1||0==t&&0==i&&0==e?-1:0==t&&0==i&&0!=e?wan(e):0==t&&0!=i&&0==e?wan(i)+22:0!=t&&0==i&&0==e?wan(t)+44:-1}function vRn(n,t){var e,i,r,c,a;for(r=t.a&n.f,c=null,i=n.b[r];;i=i.b){if(i==t){c?c.b=t.b:n.b[r]=t.b;break}c=i}for(a=t.f&n.f,c=null,e=n.c[a];;e=e.d){if(e==t){c?c.d=t.d:n.c[a]=t.d;break}c=e}t.e?t.e.c=t.c:n.a=t.c,t.c?t.c.e=t.e:n.e=t.e,--n.i,++n.g}function yRn(n,t){var e;t.d?t.d.b=t.b:n.a=t.b,t.b?t.b.d=t.d:n.e=t.d,t.e||t.c?(--(e=aU(YQ(aU(iQ(n.b,t.a),260)),260)).a,t.e?t.e.c=t.c:e.b=aU(YQ(t.c),511),t.c?t.c.e=t.e:e.c=aU(YQ(t.e),511)):((e=aU(YQ(aU(a7(n.b,t.a),260)),260)).a=0,++n.c),--n.d}function kRn(n){var e,i,r,c,a,o,u,s,h,f;for(i=n.o,e=n.p,o=pZn,c=E1n,u=pZn,a=E1n,h=0;h0),c.a.Xb(c.c=--c.b),wK(c,r),y_(c.b3&&Ren(n,0,e-3))}function SRn(n){var t,e,i,r;return DA(cOn(n,(EYn(),eEt)))===DA((Cdn(),P$t))?!n.e&&DA(cOn(n,Ckt))!==DA((thn(),upt)):(i=aU(cOn(n,Okt),299),r=cE(d_(cOn(n,xkt)))||DA(cOn(n,$kt))===DA((Ean(),Qwt)),t=aU(cOn(n,Pkt),17).a,e=n.a.c.length,!r&&i!=(thn(),upt)&&(0==t||t>e))}function PRn(n){var t,e;for(e=0;e0);e++);if(e>0&&e0);t++);return t>0&&e>16!=6&&t){if(nTn(n,t))throw uv(new pE(Ytt+ODn(n)));i=null,n.Cb&&(i=(e=n.Db>>16)>=0?qjn(n,i):n.Cb.Th(n,-1-e,null,i)),t&&(i=mkn(t,n,6,i)),(i=J_(n,t,i))&&i.oj()}else 4&n.Db&&!(1&n.Db)&&ysn(n,new hX(n,1,6,t,t))}function ORn(n,t){var e,i;if(t!=n.Cb||n.Db>>16!=3&&t){if(nTn(n,t))throw uv(new pE(Ytt+jzn(n)));i=null,n.Cb&&(i=(e=n.Db>>16)>=0?oTn(n,i):n.Cb.Th(n,-1-e,null,i)),t&&(i=mkn(t,n,12,i)),(i=Y_(n,t,i))&&i.oj()}else 4&n.Db&&!(1&n.Db)&&ysn(n,new hX(n,1,3,t,t))}function IRn(n,t){var e,i;if(t!=n.Cb||n.Db>>16!=9&&t){if(nTn(n,t))throw uv(new pE(Ytt+zBn(n)));i=null,n.Cb&&(i=(e=n.Db>>16)>=0?Wjn(n,i):n.Cb.Th(n,-1-e,null,i)),t&&(i=mkn(t,n,9,i)),(i=Z_(n,t,i))&&i.oj()}else 4&n.Db&&!(1&n.Db)&&ysn(n,new hX(n,1,9,t,t))}function ARn(n){var t,e,i,r,c;if(i=fTn(n),null==(c=n.j)&&i)return n.Jk()?null:i.ik();if(RD(i,156)){if((e=i.jk())&&(r=e.wi())!=n.i){if((t=aU(i,156)).nk())try{n.g=r.ti(t,c)}catch(t){if(!RD(t=Mhn(t),82))throw uv(t);n.g=null}n.i=r}return n.g}return null}function LRn(n){var t;return mx(t=new Jm,new JP(new yI(n.c,n.d),new yI(n.c+n.b,n.d))),mx(t,new JP(new yI(n.c,n.d),new yI(n.c,n.d+n.a))),mx(t,new JP(new yI(n.c+n.b,n.d+n.a),new yI(n.c+n.b,n.d))),mx(t,new JP(new yI(n.c+n.b,n.d+n.a),new yI(n.c,n.d+n.a))),t}function NRn(n){var t,e;if(null==n)return PZn;try{return ipn(n)}catch(i){if(RD(i=Mhn(i),103))return t=i,e=Pj(kbn(n))+"@"+(fS(),(Ovn(n)>>>0).toString(16)),lyn(dhn(),(wS(),"Exception during lenientFormat for "+e),t),"<"+e+" threw "+Pj(t.Rm)+">";throw uv(i)}}function DRn(n,t,e){var i,r;for(r=t.a.ec().Kc();r.Ob();)i=aU(r.Pb(),74),!aU(iQ(n.b,i),272)&&(x0(fOn(i))==x0(dOn(i))?X_n(n,i,e):fOn(i)==x0(dOn(i))?null==iQ(n.c,i)&&null!=iQ(n.b,dOn(i))&&fVn(n,i,e,!1):null==iQ(n.d,i)&&null!=iQ(n.b,fOn(i))&&fVn(n,i,e,!0))}function xRn(n,t){var e,i,r,c,a,o,u;for(r=n.Kc();r.Ob();)for(i=aU(r.Pb(),10),c2(o=new hIn,i),ALn(o,($Qn(),mRt)),mfn(o,(GYn(),smt),(H$(),!0)),a=t.Kc();a.Ob();)c=aU(a.Pb(),10),c2(u=new hIn,c),ALn(u,_Rt),mfn(u,smt,!0),mfn(e=new BZ,smt,!0),i2(e,o),a2(e,u)}function $Rn(n,t,e,i){var r,c,a,o;r=nvn(n,t,e),c=nvn(n,e,t),a=aU(iQ(n.c,t),118),o=aU(iQ(n.c,e),118),r1)for(t=E$((e=new oy,++n.b,e),n.d),o=Ryn(c,0);o.b!=o.d.c;)a=aU(P6(o),125),x_n(DS(NS(xS(LS(new ay,1),0),t),a))}function BRn(n,t,e){var i,r,c,a;for(e.Ug("Breaking Point Removing",1),n.a=aU(cOn(t,(EYn(),zkt)),223),r=new Wd(t.b);r.a>16!=11&&t){if(nTn(n,t))throw uv(new pE(Ytt+qBn(n)));i=null,n.Cb&&(i=(e=n.Db>>16)>=0?uTn(n,i):n.Cb.Th(n,-1-e,null,i)),t&&(i=mkn(t,n,10,i)),(i=YK(n,t,i))&&i.oj()}else 4&n.Db&&!(1&n.Db)&&ysn(n,new hX(n,1,11,t,t))}function HRn(n){var t,e,i,r;for(i=new fsn(new Ad(n.b).a);i.b;)r=aU((e=pon(i)).ld(),12),mfn(t=aU(e.md(),10),(GYn(),emt),r),mfn(r,hmt,t),mfn(r,Hpt,(H$(),!0)),ALn(r,aU(cOn(t,Rpt),64)),cOn(t,Rpt),mfn(r.i,(EYn(),VEt),(LPn(),cRt)),aU(cOn(FQ(r.i),Fpt),21).Fc((eFn(),ept))}function URn(n,t,e){var i,r,c;if(i=0,r=0,n.c)for(c=new Wd(n.d.i.j);c.ac.a)return-1;if(r.a(u=null==n.d?0:n.d.length)){for(h=n.d,n.d=Pnn(CKt,Hit,66,2*u+4,0,1),c=0;c=0x8000000000000000?(Zen(),Vat):(i=!1,n<0&&(i=!0,n=-n),e=0,n>=b0n&&(n-=(e=Z1(n/b0n))*b0n),t=0,n>=l0n&&(n-=(t=Z1(n/l0n))*l0n),r=wD(Z1(n),t,e),i&&Qfn(r),r)}function a_n(n){var t,e,i,r,c;if(c=new Jm,Trn(n.b,new Mw(c)),n.b.c.length=0,0!=c.c.length){for(a3(0,c.c.length),t=aU(c.c[0],82),e=1,i=c.c.length;e=-e&&r==e?new WI(Ddn(i-1),Ddn(r)):new WI(Ddn(i),Ddn(r-1))}function f_n(){return qYn(),Bhn(iM(zdt,1),w1n,81,0,[Hbt,Fbt,Ubt,adt,Tdt,hdt,Adt,wdt,Mdt,tdt,vdt,ddt,jdt,Jbt,Ndt,Dbt,mdt,Pdt,odt,Sdt,xdt,kdt,xbt,Edt,$dt,Odt,Ddt,udt,Xbt,sdt,cdt,Ldt,_bt,zbt,ldt,Rbt,bdt,idt,Ybt,gdt,ndt,Bbt,Kbt,rdt,Zbt,pdt,Idt,$bt,ydt,edt,fdt,Vbt,Wbt,Cdt,qbt,Qbt,Gbt])}function l_n(n,t,e){n.d=0,n.b=0,t.k==(qOn(),dbt)&&e.k==dbt&&aU(cOn(t,(GYn(),emt)),10)==aU(cOn(e,emt),10)&&(Een(t).j==($Qn(),vRt)?x$n(n,t,e):x$n(n,e,t)),t.k==dbt&&e.k==lbt?Een(t).j==($Qn(),vRt)?n.d=1:n.b=1:e.k==dbt&&t.k==lbt&&(Een(e).j==($Qn(),vRt)?n.b=1:n.d=1),GEn(n,t,e)}function b_n(n){var t,e,i,r,c;return c=dCn(n),null!=n.a&&JU(c,"category",n.a),!wT(new Id(n.d))&&(Yin(c,"knownOptions",i=new Pb),t=new ym(i),q8(new Id(n.d),t)),!wT(n.g)&&(Yin(c,"supportedFeatures",r=new Pb),e=new km(r),q8(n.g,e)),c}function d_n(n){var t,e,i,r,c,a,o,u;for(t=336,e=0,r=new BK(n.length),o=0,u=(a=n).length;o>16!=7&&t){if(nTn(n,t))throw uv(new pE(Ytt+qIn(n)));i=null,n.Cb&&(i=(e=n.Db>>16)>=0?zjn(n,i):n.Cb.Th(n,-1-e,null,i)),t&&(i=aU(t,54).Rh(n,1,nKt,i)),(i=bW(n,t,i))&&i.oj()}else 4&n.Db&&!(1&n.Db)&&ysn(n,new hX(n,1,7,t,t))}function m_n(n,t){var e,i;if(t!=n.Cb||n.Db>>16!=3&&t){if(nTn(n,t))throw uv(new pE(Ytt+swn(n)));i=null,n.Cb&&(i=(e=n.Db>>16)>=0?Qjn(n,i):n.Cb.Th(n,-1-e,null,i)),t&&(i=aU(t,54).Rh(n,0,cKt,i)),(i=dW(n,t,i))&&i.oj()}else 4&n.Db&&!(1&n.Db)&&ysn(n,new hX(n,1,3,t,t))}function v_n(n,t){var e,i,r,c,a,o,u,s,h;return fFn(),t.d>n.d&&(o=n,n=t,t=o),t.d<63?$Kn(n,t):(s=L9(n,a=(-2&n.d)<<4),h=L9(t,a),i=gzn(n,N9(s,a)),r=gzn(t,N9(h,a)),u=v_n(s,h),e=v_n(i,r),c=N9(c=JWn(JWn(c=v_n(gzn(s,i),gzn(r,h)),u),e),a),JWn(JWn(u=N9(u,a<<1),c),e))}function y_n(){y_n=T,ejt=new sO(p9n,0),ZMt=new sO("LONGEST_PATH",1),njt=new sO("LONGEST_PATH_SOURCE",2),QMt=new sO("COFFMAN_GRAHAM",3),YMt=new sO(N6n,4),ijt=new sO("STRETCH_WIDTH",5),tjt=new sO("MIN_WIDTH",6),VMt=new sO("BF_MODEL_ORDER",7),JMt=new sO("DF_MODEL_ORDER",8)}function k_n(n,t,e){var i,r,c,a,o;for(a=zdn(n,e),o=Pnn(wbt,n6n,10,t.length,0,1),i=0,c=a.Kc();c.Ob();)cE(d_(cOn(r=aU(c.Pb(),12),(GYn(),Hpt))))&&(o[i++]=aU(cOn(r,hmt),10));if(i=0;r+=e?1:-1)c|=t.c.lg(o,r,e,i&&!cE(d_(cOn(t.j,(GYn(),Kpt))))&&!cE(d_(cOn(t.j,(GYn(),gmt))))),c|=t.q.ug(o,r,e),c|=lBn(n,o[r],e,i);return RX(n.c,t),c}function S_n(n,t,e){var i,r,c,a,o,u,s,h;for(s=0,h=(u=o6(n.j)).length;s1&&(n.a=!0),Qz(aU(e.b,68),VK(ND(aU(t.b,68).c),px(QK(ND(aU(e.b,68).a),aU(t.b,68).a),r))),s2(n,t),O_n(n,e)}function I_n(n){var t,e,i,r,c,a;for(r=new Wd(n.a.a);r.a0&&c>0?t++:i>0?e++:c>0?r++:e++}uZ(),sD(n.j,new bi)}function L_n(n){var t,e;e=null,t=aU(qq(n.g,0),18);do{if(pR(e=t.d.i,(GYn(),Ypt)))return aU(cOn(e,Ypt),12).i;if(e.k!=(qOn(),bbt)&&uxn(new RW(t$(Ugn(e).a.Kc(),new h))))t=aU(A9(new RW(t$(Ugn(e).a.Kc(),new h))),18);else if(e.k!=bbt)return null}while(e&&e.k!=(qOn(),bbt));return e}function N_n(n,t){var e,i,r,c,a,o,u,s,h;for(o=t.j,a=t.g,u=aU(qq(o,o.c.length-1),113),a3(0,o.c.length),s=DMn(n,a,u,h=aU(o.c[0],113)),c=1;cs&&(u=e,h=r,s=i);t.a=h,t.c=u}function D_n(n,t,e){var i,r,c,a,o,u,s;for(s=new Fj(new tp(n)),o=0,u=(a=Bhn(iM(Obt,1),t6n,12,0,[t,e])).length;ou-n.b&&ou-n.a&&o0?c.a?e>(o=c.b.Mf().a)&&(r=(e-o)/2,c.d.b=r,c.d.c=r):c.d.c=n.s+e:iX(n.u)&&((i=MCn(c.b)).c<0&&(c.d.b=-i.c),i.c+i.b>c.b.Mf().a&&(c.d.c=i.c+i.b-c.b.Mf().a))}function eKn(n,t){var e,i,r,c,a;a=new Jm,e=t;do{(c=aU(iQ(n.b,e),131)).B=e.c,c.D=e.d,gv(a.c,c),e=aU(iQ(n.k,e),18)}while(e);return a3(0,a.c.length),(i=aU(a.c[0],131)).j=!0,i.A=aU(i.d.a.ec().Kc().Pb(),18).c.i,(r=aU(qq(a,a.c.length-1),131)).q=!0,r.C=aU(r.d.a.ec().Kc().Pb(),18).d.i,a}function iKn(n){var e,i;if(e=aU(n.a,17).a,i=aU(n.b,17).a,e>=0){if(e==i)return new WI(Ddn(-e-1),Ddn(-e-1));if(e==-i)return new WI(Ddn(-e),Ddn(i+1))}return t.Math.abs(e)>t.Math.abs(i)?new WI(Ddn(-e),Ddn(e<0?i:i+1)):new WI(Ddn(e+1),Ddn(i))}function rKn(n){var t,e;e=aU(cOn(n,(EYn(),dEt)),171),t=aU(cOn(n,(GYn(),Upt)),311),e==(Gpn(),Pmt)?(mfn(n,dEt,Imt),mfn(n,Upt,(Jen(),wpt))):e==Omt?(mfn(n,dEt,Imt),mfn(n,Upt,(Jen(),bpt))):t==(Jen(),wpt)?(mfn(n,dEt,Pmt),mfn(n,Upt,dpt)):t==bpt&&(mfn(n,dEt,Omt),mfn(n,Upt,dpt))}function cKn(){cKn=T,ISt=new oa,SSt=Oq(new lJ,(aOn(),Mlt),(qYn(),odt)),OSt=lW(Oq(new lJ,Mlt,kdt),Tlt,ydt),ASt=Ivn(Ivn(dP(lW(Oq(new lJ,klt,Adt),Tlt,Idt),jlt),Odt),Ldt),PSt=lW(Oq(Oq(Oq(new lJ,Elt,hdt),jlt,ldt),jlt,bdt),Tlt,fdt),CSt=lW(Oq(Oq(new lJ,jlt,bdt),jlt,zbt),Tlt,qbt)}function aKn(){aKn=T,$St=Oq(lW(new lJ,(aOn(),Tlt),(qYn(),Vbt)),Mlt,odt),FSt=Ivn(Ivn(dP(lW(Oq(new lJ,klt,Adt),Tlt,Idt),jlt),Odt),Ldt),RSt=lW(Oq(Oq(Oq(new lJ,Elt,hdt),jlt,ldt),jlt,bdt),Tlt,fdt),KSt=Oq(Oq(new lJ,Mlt,kdt),Tlt,ydt),_St=lW(Oq(Oq(new lJ,jlt,bdt),jlt,zbt),Tlt,qbt)}function oKn(n,t,e,i,r){var c,a;(p9(t)||t.c.i.c!=t.d.i.c)&&aon(Gfn(Bhn(iM(TNt,1),qZn,8,0,[r.i.n,r.n,r.a])),e)||p9(t)||(t.c==r?oR(t.a,0,new nN(e)):rq(t.a,new nN(e)),i&&!iS(n.a,e)&&((a=aU(cOn(t,(EYn(),fEt)),75))||(a=new By,mfn(t,fEt,a)),o8(a,c=new nN(e),a.c.b,a.c),RX(n.a,c)))}function uKn(n,t){var e,i,r,c;for(e=(c=wW(Agn(u1n,TJ(wW(Agn(null==t?0:Fon(t),s1n)),15))))&n.b.length-1,r=null,i=n.b[e];i;r=i,i=i.a)if(i.d==c&&DQ(i.i,t))return r?r.a=i.a:n.b[e]=i.a,xE(aU(YQ(i.c),604),aU(YQ(i.f),604)),kv(aU(YQ(i.b),227),aU(YQ(i.e),227)),--n.f,++n.e,!0;return!1}function sKn(n){var t;for(t=new RW(t$(Hgn(n).a.Kc(),new h));uxn(t);)if(aU(A9(t),18).c.i.k!=(qOn(),fbt))throw uv(new EE(v6n+JMn(n)+"' has its layer constraint set to FIRST, but has at least one incoming edge that does not come from a FIRST_SEPARATE node. That must not happen."))}function hKn(n,t,e){var i,r,c,a,o,u;if(0==(r=Swn(254&n.Db)))n.Eb=e;else{if(1==r)a=Pnn(bat,MZn,1,2,5,1),0==EMn(n,t)?(a[0]=e,a[1]=n.Eb):(a[0]=n.Eb,a[1]=e);else for(a=Pnn(bat,MZn,1,r+1,5,1),c=$cn(n.Eb),i=2,o=0,u=0;i<=128;i<<=1)i==t?a[u++]=e:n.Db&i&&(a[u++]=c[o++]);n.Eb=a}n.Db|=t}function fKn(n,e,i){var r,c,a,o;for(this.b=new Jm,c=0,r=0,o=new Wd(n);o.a0&&(c+=(a=aU(qq(this.b,0),176)).o,r+=a.p),c*=2,r*=2,e>1?c=Z1(t.Math.ceil(c*e)):r=Z1(t.Math.ceil(r/e)),this.a=new omn(c,r)}function lKn(n,e,i,r,c,a){var o,u,s,h,f,l,b,d,w,g;for(h=r,e.j&&e.o?(w=(b=aU(iQ(n.f,e.A),60)).d.c+b.d.b,--h):w=e.a.c+e.a.b,f=c,i.q&&i.o?(s=(b=aU(iQ(n.f,i.C),60)).d.c,++f):s=i.a.c,d=w+(u=(s-w)/t.Math.max(2,f-h)),l=h;l=0;a+=r?1:-1){for(o=t[a],u=i==($Qn(),mRt)?r?Ngn(o,i):jpn(Ngn(o,i)):r?jpn(Ngn(o,i)):Ngn(o,i),c&&(n.c[o.p]=u.gc()),f=u.Kc();f.Ob();)h=aU(f.Pb(),12),n.d[h.p]=s++;Chn(e,u)}}function wKn(n,t,e){var i,r,c,a,o,u,s,h;for(c=aE(w_(n.b.Kc().Pb())),s=aE(w_(lhn(t.b))),i=px(ND(n.a),s-e),r=px(ND(t.a),e-c),px(h=VK(i,r),1/(s-c)),this.a=h,this.b=new Jm,o=!0,(a=n.b.Kc()).Pb();a.Ob();)u=aE(w_(a.Pb())),o&&u-e>L9n&&(this.b.Fc(e),o=!1),this.b.Fc(u);o&&this.b.Fc(e)}function gKn(n){var t,e,i,r;if(lGn(n,n.n),n.d.c.length>0){for(OE(n.c);sxn(n,aU(A3(new Wd(n.e.a)),125))>5,t&=31,i>=n.d)return n.e<0?(iGn(),Not):(iGn(),_ot);if(c=n.d-i,xIn(r=Pnn(VGt,W1n,28,c+1,15,1),c,n.a,i,t),n.e<0){for(e=0;e0&&n.a[e]<<32-t){for(e=0;e=0)&&(!(e=tXn((dAn(),pBt),r,t))||((i=e.Ik())>1||-1==i)&&3!=oJ(Aen(pBt,e))))}function jKn(n,t,e,i){var r,c,a,o,u;return o=hCn(aU(qrn((!t.b&&(t.b=new sF(eKt,t,4,7)),t.b),0),84)),u=hCn(aU(qrn((!t.c&&(t.c=new sF(eKt,t,5,8)),t.c),0),84)),x0(o)==x0(u)||Mrn(u,o)?null:(a=o0(t))==e?i:(c=aU(iQ(n.a,a),10))&&(r=c.e)?r:null}function TKn(n,t,e){var i,r,c,a;for(e.Ug("Longest path to source layering",1),n.a=t,a=n.a.a,n.b=Pnn(VGt,W1n,28,a.c.length,15,1),i=0,c=new Wd(a);c.a0&&(i[0]+=n.d,o-=i[0]),i[2]>0&&(i[2]+=n.d,o-=i[2]),a=t.Math.max(0,o),i[1]=t.Math.max(i[1],o),X9(n,Mst,c.c+r.b+i[0]-(i[1]-o)/2,i),e==Mst&&(n.c.b=a,n.c.c=c.c+r.b+(a-o)/2)}function KKn(){this.c=Pnn(ZGt,P0n,28,($Qn(),Bhn(iM(QRt,1),q4n,64,0,[RRt,vRt,mRt,$Rt,_Rt])).length,15,1),this.b=Pnn(ZGt,P0n,28,Bhn(iM(QRt,1),q4n,64,0,[RRt,vRt,mRt,$Rt,_Rt]).length,15,1),this.a=Pnn(ZGt,P0n,28,Bhn(iM(QRt,1),q4n,64,0,[RRt,vRt,mRt,$Rt,_Rt]).length,15,1),$P(this.c,y0n),$P(this.b,k0n),$P(this.a,k0n)}function FKn(n,t,e){var i,r,c,a;if(t<=e?(r=t,c=e):(r=e,c=t),i=0,null==n.b)n.b=Pnn(VGt,W1n,28,2,15,1),n.b[0]=r,n.b[1]=c,n.c=!0;else{if(i=n.b.length,n.b[i-1]+1==r)return void(n.b[i-1]=c);a=Pnn(VGt,W1n,28,i+2,15,1),HUn(n.b,0,a,0,i),n.b=a,n.b[i-1]>=r&&(n.c=!1,n.a=!1),n.b[i++]=r,n.b[i]=c,n.c||w$n(n)}}function BKn(n,t,e){var i,r,c,a,o,u,s;for(s=t.d,n.a=new x7(s.c.length),n.c=new Qm,o=new Wd(s);o.a=0?n.Lh(s,!1,!0):QNn(n,e,!1),61).Kc();c.Ob();){for(r=aU(c.Pb(),58),h=0;h1;)nFn(r,r.i-1);return i}function QKn(n,t){var e,i,r,c,a,o;for(e=new Ax,r=new Wd(n.b);r.an.d[a.p]&&(e+=V8(n.b,c),O6(n.a,Ddn(c)));for(;!IE(n.a);)hin(n.b,aU(DX(n.a),17).a)}return e}function YKn(n){var t,e,i,r,c,a,o;for(n.a=new DK,o=0,r=0,i=new Wd(n.i.b);i.au.d&&(f=u.d+u.a+h));i.c.d=f,e.a.zc(i,e),s=t.Math.max(s,i.c.d+i.c.a)}return s}function eFn(){eFn=T,Jgt=new rO("COMMENTS",0),Zgt=new rO("EXTERNAL_PORTS",1),npt=new rO("HYPEREDGES",2),tpt=new rO("HYPERNODES",3),ept=new rO("NON_FREE_PORTS",4),ipt=new rO("NORTH_SOUTH_PORTS",5),cpt=new rO(R6n,6),Qgt=new rO("CENTER_LABELS",7),Ygt=new rO("END_LABELS",8),rpt=new rO("PARTITIONS",9)}function iFn(n,t,e,i,r){return i<0?((i=UIn(n,r,Bhn(iM(Lot,1),qZn,2,6,[D1n,x1n,$1n,R1n,_1n,K1n,F1n,B1n,G1n,H1n,U1n,q1n]),t))<0&&(i=UIn(n,r,Bhn(iM(Lot,1),qZn,2,6,["Jan","Feb","Mar","Apr",_1n,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),t)),!(i<0||(e.k=i,0))):i>0&&(e.k=i-1,!0)}function rFn(n,t,e,i,r){return i<0?((i=UIn(n,r,Bhn(iM(Lot,1),qZn,2,6,[D1n,x1n,$1n,R1n,_1n,K1n,F1n,B1n,G1n,H1n,U1n,q1n]),t))<0&&(i=UIn(n,r,Bhn(iM(Lot,1),qZn,2,6,["Jan","Feb","Mar","Apr",_1n,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),t)),!(i<0||(e.k=i,0))):i>0&&(e.k=i-1,!0)}function cFn(n,t,e,i,r,c){var a,o,u;if(o=32,i<0){if(t[0]>=n.length)return!1;if(43!=(o=zJ(n,t[0]))&&45!=o)return!1;if(++t[0],(i=xNn(n,t))<0)return!1;45==o&&(i=-i)}return 32==o&&t[0]-e==2&&2==r.b&&(a=(u=(new XT).q.getFullYear()-z1n+z1n-80)%100,c.a=i==a,i+=100*(u/100|0)+(i=0?xmn(n):uV(xmn(yen(n)))),Hot[t]=KA(AW(n,t),0)?xmn(AW(n,t)):uV(xmn(yen(AW(n,t)))),n=Agn(n,5);for(;t=h&&(s=r);s&&(f=t.Math.max(f,s.a.o.a)),f>b&&(l=h,b=f)}return l}function pFn(n){var t,e,i,r,c,a,o;for(c=new Fj(aU(WV(new xn),50)),o=k0n,e=new Wd(n.d);e.aR7n?sD(s,n.b):r<=R7n&&r>_7n?sD(s,n.d):r<=_7n&&r>K7n?sD(s,n.c):r<=K7n&&sD(s,n.a),a=kFn(n,s,a);return c}function EFn(n,t,e,i){var r,c,a,o,u;for(r=(i.c+i.a)/2,KY(t.j),rq(t.j,r),KY(e.e),rq(e.e,r),u=new uj,a=new Wd(n.f);a.a1&&(i=new yI(r,e.b),rq(t.a,i)),ban(t.a,Bhn(iM(TNt,1),qZn,8,0,[f,h]))}function CFn(n,t,e){var i,r;for(t=48;e--)dGt[e]=e-48<<24>>24;for(i=70;i>=65;i--)dGt[i]=i-65+10<<24>>24;for(r=102;r>=97;r--)dGt[r]=r-97+10<<24>>24;for(c=0;c<10;c++)wGt[c]=48+c&N1n;for(n=10;n<=15;n++)wGt[n]=65+n-10&N1n}function AFn(n,t){t.Ug("Process graph bounds",1),mfn(n,(CQn(),TPt),LO(kun(JJ(new sz(null,new u3(n.b,16)),new _a)))),mfn(n,PPt,LO(kun(JJ(new sz(null,new u3(n.b,16)),new Ka)))),mfn(n,jPt,LO(yun(JJ(new sz(null,new u3(n.b,16)),new Fa)))),mfn(n,SPt,LO(yun(JJ(new sz(null,new u3(n.b,16)),new Ba)))),t.Vg()}function LFn(n){var e,i,r,c,a;c=aU(cOn(n,(EYn(),NEt)),21),a=aU(cOn(n,$Et),21),e=new nN(i=new yI(n.f.a+n.d.b+n.d.c,n.f.b+n.d.d+n.d.a)),c.Hc((Xmn(),zRt))&&(r=aU(cOn(n,xEt),8),a.Hc((rHn(),n_t))&&(r.a<=0&&(r.a=20),r.b<=0&&(r.b=20)),e.a=t.Math.max(i.a,r.a),e.b=t.Math.max(i.b,r.b)),cE(d_(cOn(n,DEt)))||izn(n,i,e)}function NFn(n,t){var e,i,r,c;for(c=Ngn(t,($Qn(),$Rt)).Kc();c.Ob();)i=aU(c.Pb(),12),(e=aU(cOn(i,(GYn(),hmt)),10))&&x_n(DS(NS(xS(LS(new ay,0),.1),n.i[t.p].d),n.i[e.p].a));for(r=Ngn(t,vRt).Kc();r.Ob();)i=aU(r.Pb(),12),(e=aU(cOn(i,(GYn(),hmt)),10))&&x_n(DS(NS(xS(LS(new ay,0),.1),n.i[e.p].d),n.i[t.p].a))}function DFn(n){var t,e,i,r,c;if(!n.c){if(c=new ys,null==(t=qFt).a.zc(n,t)){for(i=new Nx(q5(n));i.e!=i.i.gc();)RD(r=yUn(e=aU(Jyn(i),89)),90)&&SV(c,DFn(aU(r,29))),Znn(c,e);t.a.Bc(n),t.a.gc()}tmn(c),hbn(c),n.c=new pL((aU(qrn(dZ((ZV(),vFt).o),15),19),c.i),c.g),v9(n).b&=-33}return n.c}function xFn(n){var t;if(10!=n.c)throw uv(new SE(eZn((ZN(),nit))));switch(t=n.a){case 110:t=10;break;case 114:t=13;break;case 116:t=9;break;case 92:case 124:case 46:case 94:case 45:case 63:case 42:case 43:case 123:case 125:case 40:case 41:case 91:case 93:break;default:throw uv(new SE(eZn((ZN(),Iit))))}return t}function $Fn(n){var t,e,i,r;if(0==n.l&&0==n.m&&0==n.h)return"0";if(n.h==f0n&&0==n.m&&0==n.l)return"-9223372036854775808";if(n.h>>19)return"-"+$Fn(dfn(n));for(e=n,i="";0!=e.l||0!=e.m||0!=e.h;){if(e=QWn(e,_9(d0n),!0),t=""+kj(Xat),0!=e.l||0!=e.m||0!=e.h)for(r=9-t.length;r>0;r--)t="0"+t;i=t+i}return i}function RFn(n){var t,e,i,r,c,a,o;for(t=!1,e=0,r=new Wd(n.d.b);r.a=n.a)return-1;if(!_Pn(e,i))return-1;if(T6(aU(r.Kb(e),20)))return 1;for(c=0,o=aU(r.Kb(e),20).Kc();o.Ob();){if(-1==(u=BFn(n,(a=aU(o.Pb(),18)).c.i==e?a.d.i:a.c.i,i,r)))return-1;if((c=t.Math.max(c,u))>n.c-1)return-1}return c+1}function GFn(n,t){var e,i,r,c,a,o;if(DA(t)===DA(n))return!0;if(!RD(t,15))return!1;if(i=aU(t,15),o=n.gc(),i.gc()!=o)return!1;if(a=i.Kc(),n.Yi()){for(e=0;e0)if(n._j(),null!=t){for(c=0;c>24;case 97:case 98:case 99:case 100:case 101:case 102:return n-97+10<<24>>24;case 65:case 66:case 67:case 68:case 69:case 70:return n-65+10<<24>>24;default:throw uv(new JE("Invalid hexadecimal"))}}function WFn(){WFn=T,wst=new eC("SPIRAL",0),hst=new eC("LINE_BY_LINE",1),fst=new eC("MANHATTAN",2),sst=new eC("JITTER",3),bst=new eC("QUADRANTS_LINE_BY_LINE",4),dst=new eC("QUADRANTS_MANHATTAN",5),lst=new eC("QUADRANTS_JITTER",6),ust=new eC("COMBINE_LINE_BY_LINE_MANHATTAN",7),ost=new eC("COMBINE_JITTER_MANHATTAN",8)}function XFn(n,t,e,i){var r,c,a,o,u,s;for(u=wSn(n,e),s=wSn(t,e),r=!1;u&&s&&(i||njn(u,s,e));)a=wSn(u,e),o=wSn(s,e),Pen(t),Pen(n),c=u.c,wXn(u,!1),wXn(s,!1),e?(Ljn(t,s.p,c),t.p=s.p,Ljn(n,u.p+1,c),n.p=u.p):(Ljn(n,u.p,c),n.p=u.p,Ljn(t,s.p+1,c),t.p=s.p),r2(u,null),r2(s,null),u=a,s=o,r=!0;return r}function VFn(n){switch(n.g){case 0:return new al;case 1:return new rl;case 3:return new tP;case 4:return new Sc;case 5:return new xK;case 6:return new cl;case 2:return new il;case 7:return new Jf;case 8:return new Zf;default:throw uv(new pE("No implementation is available for the layerer "+(null!=n.f?n.f:""+n.g)))}}function QFn(n,t,e,i){var r,c,a,o,u;for(r=!1,c=!1,o=new Wd(i.j);o.a=t.length)throw uv(new bE("Greedy SwitchDecider: Free layer not in graph."));this.c=t[n],this.e=new xF(i),Oon(this.e,this.c,($Qn(),_Rt)),this.i=new xF(i),Oon(this.i,this.c,mRt),this.f=new oz(this.c),this.a=!c&&r.i&&!r.s&&this.c[0].k==(qOn(),hbt),this.a&&eAn(this,n,t.length)}function tBn(n,t){var e,i,r,c,a,o;c=!n.B.Hc((rHn(),YRt)),a=n.B.Hc(t_t),n.a=new amn(a,c,n.c),n.n&&WY(n.a.n,n.n),Yk(n.g,(Qrn(),Mst),n.a),t||((i=new Zvn(1,c,n.c)).n.a=n.k,BX(n.p,($Qn(),vRt),i),(r=new Zvn(1,c,n.c)).n.d=n.k,BX(n.p,$Rt,r),(o=new Zvn(0,c,n.c)).n.c=n.k,BX(n.p,_Rt,o),(e=new Zvn(0,c,n.c)).n.b=n.k,BX(n.p,mRt,e))}function eBn(n){var t,e,i;switch((t=aU(cOn(n.d,(EYn(),zkt)),223)).g){case 2:e=BJn(n);break;case 3:i=new Jm,mS(VJ(QJ(oin(oin(new sz(null,new u3(n.d.b,16)),new Ir),new Ar),new Lr),new pr),new Ag(i)),e=i;break;default:throw uv(new mE("Compaction not supported for "+t+" edges."))}DWn(n,e),q8(new Id(n.g),new Og(n))}function iBn(n,t){var e,i,r,c,a,o,u;if(t.Ug("Process directions",1),(e=aU(cOn(n,(XUn(),iCt)),88))!=(Dwn(),Xxt))for(r=Ryn(n.b,0);r.b!=r.d.c;){switch(i=aU(P6(r),40),o=aU(cOn(i,(CQn(),GPt)),17).a,u=aU(cOn(i,HPt),17).a,e.g){case 4:u*=-1;break;case 1:c=o,o=u,u=c;break;case 2:a=o,o=-u,u=a}mfn(i,GPt,Ddn(o)),mfn(i,HPt,Ddn(u))}t.Vg()}function rBn(n,t){var e;return e=new Yn,t&&qsn(e,aU(iQ(n.a,nKt),96)),RD(t,422)&&qsn(e,aU(iQ(n.a,tKt),96)),RD(t,366)?(qsn(e,aU(iQ(n.a,sKt),96)),e):(RD(t,84)&&qsn(e,aU(iQ(n.a,eKt),96)),RD(t,207)?(qsn(e,aU(iQ(n.a,hKt),96)),e):RD(t,193)?(qsn(e,aU(iQ(n.a,fKt),96)),e):(RD(t,326)&&qsn(e,aU(iQ(n.a,iKt),96)),e))}function cBn(n){var t,e,i,r,c,a,o;for(o=new i9,a=new Wd(n.a);a.a0&&t=0)return!1;if(t.p=e.b,mx(e.e,t),i==(qOn(),lbt)||i==dbt)for(r=new Wd(t.j);r.an.d[o.p]&&(e+=V8(n.b,c),O6(n.a,Ddn(c))):++a;for(e+=n.b.d*a;!IE(n.a);)hin(n.b,aU(DX(n.a),17).a)}return e}function LBn(n){var t,e,i,r,c,a;return c=0,(t=fTn(n)).kk()&&(c|=4),n.Bb&urt&&(c|=2),RD(n,102)?(r=hEn(e=aU(n,19)),e.Bb&Xtt&&(c|=32),r&&(tQ($0(r)),c|=8,((a=r.t)>1||-1==a)&&(c|=16),r.Bb&Xtt&&(c|=64)),e.Bb&T0n&&(c|=srt),c|=l1n):RD(t,469)?c|=512:(i=t.kk())&&1&i.i&&(c|=256),512&n.Bb&&(c|=128),c}function NBn(n,t){var e;return n.f==TBt?(e=oJ(Aen((dAn(),pBt),t)),n.e?4==e&&t!=(gDn(),OBt)&&t!=(gDn(),SBt)&&t!=(gDn(),PBt)&&t!=(gDn(),CBt):2==e):!(!n.d||!(n.d.Hc(t)||n.d.Hc(_3(Aen((dAn(),pBt),t)))||n.d.Hc(tXn((dAn(),pBt),n.b,t))))||!(!n.f||!WRn((dAn(),n.f),FJ(Aen(pBt,t))))&&(e=oJ(Aen(pBt,t)),n.e?4==e:2==e)}function DBn(n){var t,e,i,r,c,a,o,u,s,h,f,l;for(f=-1,l=0,s=0,h=(u=n).length;s0&&++l;++f}return l}function xBn(n,e,i,r){var c,a,o,u,s,h,f,l;return s=(o=aU(qxn(i,(UYn(),gxt)),8)).a,f=o.b+n,(c=t.Math.atan2(f,s))<0&&(c+=s7n),(c+=e)>s7n&&(c-=s7n),h=(u=aU(qxn(r,gxt),8)).a,l=u.b+n,(a=t.Math.atan2(l,h))<0&&(a+=s7n),(a+=e)>s7n&&(a-=s7n),QN(),can(1e-10),t.Math.abs(c-a)<=1e-10||c==a||isNaN(c)&&isNaN(a)?0:ca?1:$L(isNaN(c),isNaN(a))}function $Bn(n){var t,e,i,r,c,a,o;for(o=new Qm,i=new Wd(n.a.b);i.a=n.o)throw uv(new Py);a=t>>5,c=AW(1,wW(AW(31&t,1))),n.n[e][a]=r?j3(n.n[e][a],c):M3(n.n[e][a],SU(c)),c=AW(c,1),n.n[e][a]=i?j3(n.n[e][a],c):M3(n.n[e][a],SU(c))}catch(i){throw RD(i=Mhn(i),333)?uv(new bE(f3n+n.o+"*"+n.p+l3n+t+kZn+e+b3n)):uv(i)}}function BBn(n,t,e,i){var r,c,a,o,u,s,h,f;for(f=new Fj(new np(n)),o=0,u=(a=Bhn(iM(wbt,1),n6n,10,0,[t,e])).length;o0&&(!(i=(!n.n&&(n.n=new sX(sKt,n,1,7)),aU(qrn(n.n,0),135)).a)||VA(VA((t.a+=' "',t),i),'"'))),VA(Aj(VA(Aj(VA(Aj(VA(Aj((t.a+=" (",t),n.i),","),n.j)," | "),n.g),","),n.f),")"),t.a)}function zBn(n){var t,e,i;return 64&n.Db?eIn(n):(t=new h$(Ktt),(e=n.k)?VA(VA((t.a+=' "',t),e),'"'):(!n.n&&(n.n=new sX(sKt,n,1,7)),n.n.i>0&&(!(i=(!n.n&&(n.n=new sX(sKt,n,1,7)),aU(qrn(n.n,0),135)).a)||VA(VA((t.a+=' "',t),i),'"'))),VA(Aj(VA(Aj(VA(Aj(VA(Aj((t.a+=" (",t),n.i),","),n.j)," | "),n.g),","),n.f),")"),t.a)}function WBn(n,t){var e,i,r,c,a;for(t==(jln(),eTt)&&_An(aU(Q9(n.a,(dPn(),lwt)),15)),r=aU(Q9(n.a,(dPn(),lwt)),15).Kc();r.Ob();)switch(i=aU(r.Pb(),105),e=aU(qq(i.j,0),113).d.j,sD(c=new JF(i.j),new Kr),t.g){case 2:kCn(n,c,e,(don(),Mwt),1);break;case 1:case 0:kCn(n,new S2(c,0,a=PRn(c)),e,(don(),Mwt),0),kCn(n,new S2(c,a,c.c.length),e,Mwt,1)}}function XBn(n,t){var e,i,r,c,a,o;if(null==t||0==t.length)return null;if(!(r=aU(B1(n.a,t),143))){for(i=new _d(new Rd(n.b).a.vc().Kc());i.a.Ob();)if(c=aU(i.a.Pb(),44),a=(e=aU(c.md(),143)).c,o=t.length,gF(a.substr(a.length-o,o),t)&&(t.length==a.length||46==zJ(a,a.length-t.length-1))){if(r)return null;r=e}r&&e2(n.a,t,r)}return r}function VBn(n,t){var e,i,r;return e=new Bn,(i=aU(h8(QJ(new sz(null,new u3(n.f,16)),e),den(new V,new Q,new rn,new cn,Bhn(iM(xut,1),w1n,108,0,[(vbn(),Cut),Put]))),21).gc())<(r=aU(h8(QJ(new sz(null,new u3(t.f,16)),e),den(new V,new Q,new rn,new cn,Bhn(iM(xut,1),w1n,108,0,[Cut,Put]))),21).gc())?-1:i==r?0:1}function QBn(n){var t,e,i;pR(n,(EYn(),TEt))&&((i=aU(cOn(n,TEt),21)).dc()||(e=new YF(t=aU(yj(nRt),9),aU(yK(t,t.length),9),0),i.Hc((zxn(),G$t))?yon(e,G$t):yon(e,H$t),i.Hc(F$t)||yon(e,F$t),i.Hc(K$t)?yon(e,z$t):i.Hc(_$t)?yon(e,q$t):i.Hc(B$t)&&yon(e,U$t),i.Hc(z$t)?yon(e,K$t):i.Hc(q$t)?yon(e,_$t):i.Hc(U$t)&&yon(e,B$t),mfn(n,TEt,e)))}function JBn(n){var t,e,i,r,c,a,o;for(r=aU(cOn(n,(GYn(),qpt)),10),a3(0,(i=n.j).c.length),e=aU(i.c[0],12),a=new Wd(r.j);a.ar.p?(ALn(c,$Rt),c.d&&(o=c.o.b,t=c.a.b,c.a.b=o-t)):c.j==$Rt&&r.p>n.p&&(ALn(c,vRt),c.d&&(o=c.o.b,t=c.a.b,c.a.b=-(o-t)));break}return r}function YBn(n,t,e,i,r){var c,a,o,u,s,h,f;if(!(RD(t,207)||RD(t,366)||RD(t,193)))throw uv(new pE("Method only works for ElkNode-, ElkLabel and ElkPort-objects."));return a=n.a/2,u=t.i+i-a,h=t.j+r-a,s=u+t.g+n.a,f=h+t.f+n.a,rq(c=new By,new yI(u,h)),rq(c,new yI(u,f)),rq(c,new yI(s,f)),rq(c,new yI(s,h)),qsn(o=new wxn(c),t),e&&pJ(n.b,t,o),o}function ZBn(n,t,e){var i,r,c,a,o,u,s,h;for(c=new yI(t,e),s=new Wd(n.a);s.a1&&(i=new yI(r,e.b),rq(t.a,i)),ban(t.a,Bhn(iM(TNt,1),qZn,8,0,[f,h]))}function kGn(){kGn=T,Ljt=new bO(H4n,0),Pjt=new bO("NIKOLOV",1),Ijt=new bO("NIKOLOV_PIXEL",2),Cjt=new bO("NIKOLOV_IMPROVED",3),Ojt=new bO("NIKOLOV_IMPROVED_PIXEL",4),jjt=new bO("DUMMYNODE_PERCENTAGE",5),Ajt=new bO("NODECOUNT_PERCENTAGE",6),Njt=new bO("NO_BOUNDARY",7),Tjt=new bO("MODEL_ORDER_LEFT_TO_RIGHT",8),Sjt=new bO("MODEL_ORDER_RIGHT_TO_LEFT",9)}function EGn(n){var t,e,i,r,c;for(i=n.length,t=new zE,c=0;c=40)&&PUn(n),tWn(n),gKn(n),e=tgn(n),i=0;e&&i0&&rq(n.f,c)):(n.c[a]-=s+1,n.c[a]<=0&&n.a[a]>0&&rq(n.e,c))))}function tHn(n,t,e,i){var r,c,a,o,u,s,h;for(QK(u=new yI(e,i),aU(cOn(t,(CQn(),mPt)),8)),h=Ryn(t.b,0);h.b!=h.d.c;)VK((s=aU(P6(h),40)).e,u),rq(n.b,s);for(o=aU(h8(_0(new sz(null,new u3(t.a,16))),stn(new X,new W,new en,Bhn(iM(xut,1),w1n,108,0,[(vbn(),Put)]))),15).Kc();o.Ob();){for(c=Ryn((a=aU(o.Pb(),65)).a,0);c.b!=c.d.c;)(r=aU(P6(c),8)).a+=u.a,r.b+=u.b;rq(n.a,a)}}function eHn(n,t){var e,i,r,c;if(0<(RD(n,16)?aU(n,16).gc():D5(n.Kc()))){if(1<(r=t)){for(--r,c=new Ta,i=n.Kc();i.Ob();)e=aU(i.Pb(),40),c=qcn(Bhn(iM(pat,1),MZn,20,0,[c,new yp(e)]));return eHn(c,r)}if(r<0){for(c=new Sa,i=n.Kc();i.Ob();)e=aU(i.Pb(),40),c=qcn(Bhn(iM(pat,1),MZn,20,0,[c,new yp(e)]));if(0<(RD(c,16)?aU(c,16).gc():D5(c.Kc())))return eHn(c,r)}}return aU(KD(n.Kc()),40)}function iHn(n,t,e){var i,r,c,a;for(e.Ug("Processor order nodes",2),n.b=aE(w_(cOn(t,(XUn(),MCt)))),n.a=aU(cOn(t,iCt),88),n.a==(Dwn(),Jxt)&&(n.a=Xxt,mfn(t,iCt,n.a)),r=new hS,a=Ryn(t.b,0);a.b!=a.d.c;)cE(d_(cOn(c=aU(P6(a),40),(CQn(),BPt))))&&o8(r,c,r.c.b,r.c);y_(0!=r.b),nWn(n,i=aU(r.a.a.c,40)),e.fh(1),GBn(n,i,0-aE(w_(cOn(i,(CQn(),APt))))/2,0),e.fh(1),e.Vg()}function rHn(){rHn=T,n_t=new RI("DEFAULT_MINIMUM_SIZE",0),e_t=new RI("MINIMUM_SIZE_ACCOUNTS_FOR_PADDING",1),ZRt=new RI("COMPUTE_PADDING",2),i_t=new RI("OUTSIDE_NODE_LABELS_OVERHANG",3),r_t=new RI("PORTS_OVERHANG",4),a_t=new RI("UNIFORM_PORT_SPACING",5),c_t=new RI("SPACE_EFFICIENT_PORT_LABELS",6),t_t=new RI("FORCE_TABULAR_NODE_LABELS",7),YRt=new RI("ASYMMETRICAL",8)}function cHn(n,t){var e,i,r,c,a,o,u,s;if(t){if(e=(c=t.Dh())?Frn(c).wi().si(c):null){for(Oyn(n,t,e),u=0,s=(null==(r=t.Dh()).i&&nqn(r),r.i).length;u=0&&u2*c?(h=new Vrn(f),s=Mz(a)/Ez(a),u=$Jn(h,t,new Ny,e,i,r,s),VK(bL(h.e),u),f.c.length=0,c=0,gv(f.c,h),gv(f.c,a),c=Mz(h)*Ez(h)+Mz(a)*Ez(a)):(gv(f.c,a),c+=Mz(a)*Ez(a));return f}function sHn(n,t){var e,i,r,c,a,o;if((o=aU(cOn(t,(EYn(),VEt)),101))==(LPn(),rRt)||o==iRt)for(r=new yI(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a).b,a=new Wd(n.a);a.ae?t:e;s<=f;++s)s==e?o=i++:(c=r[s],h=d.am(c.Lk()),s==t&&(u=s!=f||h?i:i-1),h&&++i);return l=aU(qwn(n,t,e),76),o!=u&&Qv(n,new ltn(n.e,7,a,Ddn(o),b.md(),u)),l}return aU(qwn(n,t,e),76)}function fHn(n,t){var e,i,r,c,a,o;for(t.Ug("Port order processing",1),o=aU(cOn(n,(EYn(),tMt)),430),e=new Wd(n.b);e.a=0&&(!sjn(n,a)||(u<22?o.l|=1<>>1,a.m=s>>>1|(1&h)<<21,a.l=f>>>1|(1&s)<<21,--u;return e&&Qfn(o),c&&(i?(Xat=dfn(n),r&&(Xat=khn(Xat,(Zen(),Jat)))):Xat=wD(n.l,n.m,n.h)),o}function wHn(n,t){var e,i,r,c,a,o,u,s,h,f;for(s=n.e[t.c.p][t.p]+1,u=t.c.a.c.length+1,o=new Wd(n.a);o.a0&&(o3(0,n.length),45==n.charCodeAt(0)||(o3(0,n.length),43==n.charCodeAt(0)))?1:0;ie)throw uv(new JE(v0n+n+'"'));return a}function pHn(n){var e,i,r,c,a,o;for(a=new hS,c=new Wd(n.a);c.a1)&&1==t&&aU(n.a[n.b],10).k==(qOn(),fbt)?Gqn(aU(n.a[n.b],10),(Ojn(),L$t)):i&&(!e||(n.c-n.b&n.a.length-1)>1)&&1==t&&aU(n.a[n.c-1&n.a.length-1],10).k==(qOn(),fbt)?Gqn(aU(n.a[n.c-1&n.a.length-1],10),(Ojn(),N$t)):2==(n.c-n.b&n.a.length-1)?(Gqn(aU(xfn(n),10),(Ojn(),L$t)),Gqn(aU(xfn(n),10),N$t)):T$n(n,r),H5(n)}function EHn(n,e,i){var r,c,a,o,u;for(a=0,c=new Nx((!n.a&&(n.a=new sX(hKt,n,10,11)),n.a));c.e!=c.i.gc();)o="",0==(!(r=aU(Jyn(c),27)).n&&(r.n=new sX(sKt,r,1,7)),r.n).i||(o=aU(qrn((!r.n&&(r.n=new sX(sKt,r,1,7)),r.n),0),135).a),qsn(u=new lln(a++,e,o),r),mfn(u,(CQn(),xPt),r),u.e.b=r.j+r.f/2,u.f.a=t.Math.max(r.g,1),u.e.a=r.i+r.g/2,u.f.b=t.Math.max(r.f,1),rq(e.b,u),zAn(i.f,r,u)}function MHn(n){var t,e,i,r,c;i=aU(cOn(n,(GYn(),emt)),27),c=aU(qxn(i,(EYn(),NEt)),181).Hc((Xmn(),VRt)),n.e||(r=aU(cOn(n,Fpt),21),t=new yI(n.f.a+n.d.b+n.d.c,n.f.b+n.d.d+n.d.a),r.Hc((eFn(),Zgt))?(ykn(i,VEt,(LPn(),iRt)),JQn(i,t.a,t.b,!1,!0)):cE(d_(qxn(i,DEt)))||JQn(i,t.a,t.b,!0,!0)),ykn(i,NEt,c?dgn(VRt):new YF(e=aU(yj(o_t),9),aU(yK(e,e.length),9),0))}function jHn(n,t,e){var i,r,c,a;if(t[0]>=n.length)return e.o=0,!0;switch(zJ(n,t[0])){case 43:r=1;break;case 45:r=-1;break;default:return e.o=0,!0}if(++t[0],c=t[0],0==(a=xNn(n,t))&&t[0]==c)return!1;if(t[0]a&&(a=r,s.c.length=0),r==a&&mx(s,new WI(e.c.i,e)));uZ(),sD(s,n.c),Gz(n.b,o.p,s)}}function CHn(n,t){var e,i,r,c,a,o,u,s;for(c=new Wd(t.b);c.aa&&(a=r,s.c.length=0),r==a&&mx(s,new WI(e.d.i,e)));uZ(),sD(s,n.c),Gz(n.f,o.p,s)}}function OHn(n,t){var e,i,r,c,a,o,u;if(null==(u=d_(cOn(t,(XUn(),kCt))))||(ZQ(u),u)){for(MDn(n,t),r=new Jm,o=Ryn(t.b,0);o.b!=o.d.c;)(e=vAn(n,aU(P6(o),40),null))&&(qsn(e,t),gv(r.c,e));if(n.a=null,n.b=null,r.c.length>1)for(i=new Wd(r);i.a=0&&o!=e&&(c=new hX(n,1,o,a,null),i?i.nj(c):i=c),e>=0&&(c=new hX(n,1,e,o==e?a:null,t),i?i.nj(c):i=c)),i}function NHn(n){var t,e,i;if(null==n.b){if(i=new qE,null!=n.i&&(zA(i,n.i),i.a+=":"),256&n.f){for(256&n.f&&null!=n.a&&(rY(n.i)||(i.a+="//"),zA(i,n.a)),null!=n.d&&(i.a+="/",zA(i,n.d)),16&n.f&&(i.a+="/"),t=0,e=n.j.length;ts)&&(u+o+azn(i,s,!1).a<=t.b&&(btn(e,c-e.s),e.c=!0,btn(i,c-e.s),cEn(i,e.s,e.t+e.d+o),i.k=!0,Gun(e.q,i),h=!0,r&&(san(t,i),i.j=t,n.c.length>a&&(aTn((a3(a,n.c.length),aU(n.c[a],186)),i),0==(a3(a,n.c.length),aU(n.c[a],186)).a.c.length&&t7(n,a)))),h)}function FHn(n,t){var e,i,r,c,a;if(t.Ug("Partition midprocessing",1),r=new $1,mS(VJ(new sz(null,new u3(n.a,16)),new wi),new mg(r)),0!=r.d){for(a=aU(h8(s3(new sz(null,(r.i||(r.i=new xx(r,r.c))).Nc())),stn(new X,new W,new en,Bhn(iM(xut,1),w1n,108,0,[(vbn(),Put)]))),15),e=aU((i=a.Kc()).Pb(),17);i.Ob();)c=aU(i.Pb(),17),xRn(aU(Q9(r,e),21),aU(Q9(r,c),21)),e=c;t.Vg()}}function BHn(n,t,e){var i,r,c,a,o;if(0==t.p){for(t.p=1,(r=e)||(r=new WI(new Jm,new YF(i=aU(yj(QRt),9),aU(yK(i,i.length),9),0))),aU(r.a,15).Fc(t),t.k==(qOn(),hbt)&&aU(r.b,21).Fc(aU(cOn(t,(GYn(),Rpt)),64)),a=new Wd(t.j);a.a0)if(r=aU(n.Ab.g,2033),null==t){for(c=0;ci.s&&ua)return $Qn(),mRt;break;case 4:case 3:if(h<0)return $Qn(),vRt;if(h+e>c)return $Qn(),$Rt}return(u=(s+o/2)/a)+(i=(h+e/2)/c)<=1&&u-i<=0?($Qn(),_Rt):u+i>=1&&u-i>=0?($Qn(),mRt):i<.5?($Qn(),vRt):($Qn(),$Rt)}function YHn(n,t){var e,i,r,c,a,o,u,s,h,f,l,b;for(e=!1,u=aE(w_(cOn(t,(EYn(),MMt)))),l=k1n*u,r=new Wd(t.b);r.aa.n.b-a.d.d+h.a+l&&(b=s.g+h.g,h.a=(h.g*h.a+s.g*s.a)/b,h.g=b,s.f=h,e=!0)),c=a,s=h;return e}function ZHn(n,t,e,i,r,c,a){var o,u,s,h,f;for(f=new iN,u=t.Kc();u.Ob();)for(h=new Wd(aU(u.Pb(),853).Rf());h.a0?o.a?r>(s=o.b.Mf().b)&&(n.v||1==o.c.d.c.length?(a=(r-s)/2,o.d.d=a,o.d.a=a):(i=(aU(qq(o.c.d,0),187).Mf().b-s)/2,o.d.d=t.Math.max(0,i),o.d.a=r-i-s)):o.d.a=n.t+r:iX(n.u)&&((c=MCn(o.b)).d<0&&(o.d.d=-c.d),c.d+c.a>o.b.Mf().b&&(o.d.a=c.d+c.a-o.b.Mf().b))}function eUn(){eUn=T,Lft=new _N((UYn(),pxt),Ddn(1)),_ft=new _N(Nxt,80),Rft=new _N(Sxt,5),mft=new _N(iDt,e4n),Nft=new _N(mxt,Ddn(1)),$ft=new _N(kxt,(H$(),!0)),Oft=new SN(50),Cft=new _N(WDt,Oft),yft=CDt,Ift=oxt,vft=new _N(wDt,!1),Pft=zDt,Tft=FDt,Sft=HDt,jft=_Dt,Mft=$Dt,Aft=fxt,cIn(),Eft=oft,Kft=lft,kft=aft,Dft=sft,xft=fft,Gft=Fxt,Uft=Uxt,Bft=Kxt,Fft=_xt,Pdn(),new _N(Bxt,Hft=s_t)}function iUn(n,t){var e;switch(yin(n)){case 6:return xA(t);case 7:return RA(t);case 8:return $A(t);case 3:return Array.isArray(t)&&!((e=yin(t))>=14&&e<=16);case 11:return null!=t&&typeof t===gZn;case 12:return null!=t&&(typeof t===lZn||typeof t==gZn);case 0:return Mkn(t,n.__elementTypeId$);case 2:return AX(t)&&!(t.Tm===j);case 1:return AX(t)&&!(t.Tm===j)||Mkn(t,n.__elementTypeId$);default:return!0}}function rUn(n){var e,i,r,c;r=n.o,z_(),n.A.dc()||awn(n.A,hht)?c=r.a:(c=n.D?t.Math.max(r.a,dNn(n.f)):dNn(n.f),n.A.Hc((Xmn(),WRt))&&!n.B.Hc((rHn(),i_t))&&(c=t.Math.max(c,dNn(aU(OJ(n.p,($Qn(),vRt)),252))),c=t.Math.max(c,dNn(aU(OJ(n.p,$Rt),252)))),(e=ssn(n))&&(c=t.Math.max(c,e.a))),cE(d_(n.e.Tf().of((UYn(),FDt))))?r.a=t.Math.max(r.a,c):r.a=c,(i=n.f.i).c=0,i.b=c,QUn(n.f)}function cUn(n,e){var i,r,c,a;return r=t.Math.min(t.Math.abs(n.c-(e.c+e.b)),t.Math.abs(n.c+n.b-e.c)),a=t.Math.min(t.Math.abs(n.d-(e.d+e.a)),t.Math.abs(n.d+n.a-e.d)),(i=t.Math.abs(n.c+n.b/2-(e.c+e.b/2)))>n.b/2+e.b/2||(c=t.Math.abs(n.d+n.a/2-(e.d+e.a/2)))>n.a/2+e.a/2?1:0==i&&0==c?0:0==i?a/c+1:0==c?r/i+1:t.Math.min(r/i,a/c)+1}function aUn(n,t){var e,i,r,c,a,o,u;for(c=0,o=0,u=0,r=new Wd(n.f.e);r.a0&&n.d!=(Ven(),wlt)&&(o+=a*(i.d.a+n.a[t.a][i.a]*(t.d.a-i.d.a)/e)),e>0&&n.d!=(Ven(),blt)&&(u+=a*(i.d.b+n.a[t.a][i.a]*(t.d.b-i.d.b)/e)));switch(n.d.g){case 1:return new yI(o/c,t.d.b);case 2:return new yI(t.d.a,u/c);default:return new yI(o/c,u/c)}}function oUn(n){var t,e,i,r,c;for(mx(c=new x7((!n.a&&(n.a=new yx(Z_t,n,5)),n.a).i+2),new yI(n.j,n.k)),mS(new sz(null,(!n.a&&(n.a=new yx(Z_t,n,5)),new u3(n.a,16))),new zp(c)),mx(c,new yI(n.b,n.c)),t=1;t0&&(ufn(u,!1,(Dwn(),Vxt)),ufn(u,!0,Qxt)),Trn(t.g,new BC(n,e)),pJ(n.g,t,e)}function hUn(){var n;for(hUn=T,wot=Bhn(iM(VGt,1),W1n,28,15,[-1,-1,30,19,15,13,11,11,10,9,9,8,8,8,8,7,7,7,7,7,7,7,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5]),got=Pnn(VGt,W1n,28,37,15,1),pot=Bhn(iM(VGt,1),W1n,28,15,[-1,-1,63,40,32,28,25,23,21,20,19,19,18,18,17,17,16,16,16,15,15,15,15,14,14,14,14,14,14,13,13,13,13,13,13,13,13]),mot=Pnn(JGt,M0n,28,37,14,1),n=2;n<=36;n++)got[n]=Z1(t.Math.pow(n,wot[n])),mot[n]=fSn(QZn,got[n])}function fUn(n){var t;if(1!=(!n.a&&(n.a=new sX(rKt,n,6,6)),n.a).i)throw uv(new pE(Ttt+(!n.a&&(n.a=new sX(rKt,n,6,6)),n.a).i));return t=new By,jhn(aU(qrn((!n.b&&(n.b=new sF(eKt,n,4,7)),n.b),0),84))&&Xon(t,wYn(n,jhn(aU(qrn((!n.b&&(n.b=new sF(eKt,n,4,7)),n.b),0),84)),!1)),jhn(aU(qrn((!n.c&&(n.c=new sF(eKt,n,5,8)),n.c),0),84))&&Xon(t,wYn(n,jhn(aU(qrn((!n.c&&(n.c=new sF(eKt,n,5,8)),n.c),0),84)),!0)),t}function lUn(n,t){var e,i,r;for(r=!1,i=new RW(t$((t.d?n.a.c==(f0(),sSt)?Hgn(t.b):Ugn(t.b):n.a.c==(f0(),uSt)?Hgn(t.b):Ugn(t.b)).a.Kc(),new h));uxn(i);)if(e=aU(A9(i),18),(cE(n.a.f[n.a.g[t.b.p].p])||p9(e)||e.c.i.c!=e.d.i.c)&&!cE(n.a.n[n.a.g[t.b.p].p])&&!cE(n.a.n[n.a.g[t.b.p].p])&&(r=!0,iS(n.b,n.a.g[pMn(e,t.b).p])))return t.c=!0,t.a=e,t;return t.c=r,t.a=null,t}function bUn(n,t,e){var i,r,c,a,o,u,s;if(0==(i=e.gc()))return!1;if(n.Pj())if(u=n.Qj(),Ypn(n,t,e),a=1==i?n.Ij(3,null,e.Kc().Pb(),t,u):n.Ij(5,null,e,t,u),n.Mj()){for(o=i<100?null:new ij(i),c=t+i,r=t;r0){for(o=0;o>16==-15&&n.Cb.Yh()&&Sen(new ftn(n.Cb,9,13,e,n.c,Fkn(Oen(aU(n.Cb,62)),n))):RD(n.Cb,90)&&n.Db>>16==-23&&n.Cb.Yh()&&(RD(t=n.c,90)||(QYn(),t=NFt),RD(e,90)||(QYn(),e=NFt),Sen(new ftn(n.Cb,9,10,e,t,Fkn(q5(aU(n.Cb,29)),n)))))),n.c}function kUn(n,t,e){var i,r,c,a,o,u,s,h;for(e.Ug("Hyperedge merging",1),Sxn(n,t),o=new A4(t.b,0);o.b0,o=upn(t,c),T$(e?o.b:o.g,t),1==Mbn(o).c.length&&o8(i,o,i.c.b,i.c),r=new WI(c,t),O6(n.o,r),gen(n.e.a,c))}function CUn(n,e){var i,r,c,a;return r=t.Math.abs(OX(n.b).a-OX(e.b).a),a=t.Math.abs(OX(n.b).b-OX(e.b).b),i=1,c=1,r>n.b.b/2+e.b.b/2&&(i=1-t.Math.min(t.Math.abs(n.b.c-(e.b.c+e.b.b)),t.Math.abs(n.b.c+n.b.b-e.b.c))/r),a>n.b.a/2+e.b.a/2&&(c=1-t.Math.min(t.Math.abs(n.b.d-(e.b.d+e.b.a)),t.Math.abs(n.b.d+n.b.a-e.b.d))/a),(1-t.Math.min(i,c))*t.Math.sqrt(r*r+a*a)}function OUn(n){var t,e,i;for(lQn(n,n.e,n.f,(h0(),BSt),!0,n.c,n.i),lQn(n,n.e,n.f,BSt,!1,n.c,n.i),lQn(n,n.e,n.f,GSt,!0,n.c,n.i),lQn(n,n.e,n.f,GSt,!1,n.c,n.i),vUn(n,n.c,n.e,n.f,n.i),e=new A4(n.i,0);e.b=65;e--)lGt[e]=e-65<<24>>24;for(i=122;i>=97;i--)lGt[i]=i-97+26<<24>>24;for(r=57;r>=48;r--)lGt[r]=r-48+52<<24>>24;for(lGt[43]=62,lGt[47]=63,c=0;c<=25;c++)bGt[c]=65+c&N1n;for(a=26,u=0;a<=51;++a,u++)bGt[a]=97+u&N1n;for(n=52,o=0;n<=61;++n,o++)bGt[n]=48+o&N1n;bGt[62]=43,bGt[63]=47}function LUn(n,e){var i,r,c,a,o,u;return(c=Yon(n))==(u=Yon(e))?n.e==e.e&&n.a<54&&e.a<54?n.fe.f?1:0:(r=n.e-e.e,(i=(n.d>0?n.d:t.Math.floor((n.a-1)*O0n)+1)-(e.d>0?e.d:t.Math.floor((e.a-1)*O0n)+1))>r+1?c:i0&&(o=E5(o,_qn(r))),Tvn(a,o))):cs&&(l=0,b+=u+e,u=0),ZBn(a,l,b),i=t.Math.max(i,l+h.a),u=t.Math.max(u,h.b),l+=h.a+e;return new yI(i+e,b+u+e)}function xUn(n,t){var e,i,r,c,a,o,u;if(!u0(n))throw uv(new mE(jtt));if(c=(i=u0(n)).g,r=i.f,c<=0&&r<=0)return $Qn(),RRt;switch(o=n.i,u=n.j,t.g){case 2:case 1:if(o<0)return $Qn(),_Rt;if(o+n.g>c)return $Qn(),mRt;break;case 4:case 3:if(u<0)return $Qn(),vRt;if(u+n.f>r)return $Qn(),$Rt}return(a=(o+n.g/2)/c)+(e=(u+n.f/2)/r)<=1&&a-e<=0?($Qn(),_Rt):a+e>=1&&a-e>=0?($Qn(),mRt):e<.5?($Qn(),vRt):($Qn(),$Rt)}function $Un(n,t,e,i,r){var c,a;if(c=Ign(M3(t[0],I0n),M3(i[0],I0n)),n[0]=wW(c),c=LW(c,32),e>=r){for(a=1;a0&&(r.b[a++]=0,r.b[a++]=c.b[0]-1),t=1;t0&&(Xb(u,u.d-r.d),r.c==(_7(),LSt)&&zb(u,u.a-r.d),u.d<=0&&u.i>0&&o8(t,u,t.c.b,t.c));for(c=new Wd(n.f);c.a0&&(Vb(o,o.i-r.d),r.c==(_7(),LSt)&&Wb(o,o.b-r.d),o.i<=0&&o.d>0&&o8(e,o,e.c.b,e.c))}function GUn(n,t,e,i,r){var c,a,o,u,s,h,f,l,b;for(uZ(),sD(n,new Bu),a=cU(n),b=new Jm,l=new Jm,o=null,u=0;0!=a.b;)c=aU(0==a.b?null:(y_(0!=a.b),Irn(a,a.a.a)),163),!o||Mz(o)*Ez(o)/21&&(u>Mz(o)*Ez(o)/2||0==a.b)&&(f=new Vrn(l),h=Mz(o)/Ez(o),s=$Jn(f,t,new Ny,e,i,r,h),VK(bL(f.e),s),o=f,gv(b.c,f),u=0,l.c.length=0));return Chn(b,l),b}function HUn(n,t,e,i,r){var c,a,o,u,s,h,f;if(fS(),rV(n,"src"),rV(e,"dest"),f=kbn(n),u=kbn(e),vU(!!(4&f.i),"srcType is not an array"),vU(!!(4&u.i),"destType is not an array"),h=f.c,a=u.c,vU(1&h.i?h==a:!(1&a.i),"Array types don't match"),Lfn(n,t,e,i,r),1&h.i||f==u)fDn(n,t,e,i,r,!0);else if(s=$cn(n),c=$cn(e),DA(n)===DA(e)&&ti;)aQ(c,o,s[--t]);else for(o=i+r;i0),i.a.Xb(i.c=--i.b),h>f+o&&IQ(i);for(c=new Wd(l);c.a0),i.a.Xb(i.c=--i.b)}}function zUn(){var n,t,e,i,r,c;if(XYn(),zGt)return zGt;for(kzn(n=new $3(4),mJn(tat,!0)),hVn(n,mJn("M",!0)),hVn(n,mJn("C",!0)),c=new $3(4),i=0;i<11;i++)FKn(c,i,i);return kzn(t=new $3(4),mJn("M",!0)),FKn(t,4448,4607),FKn(t,65438,65439),pWn(r=new XN(2),n),pWn(r,PGt),(e=new XN(2)).Jm(Sz(c,mJn("L",!0))),e.Jm(t),e=new nV(r,e=new Y5(3,e)),zGt=e}function WUn(n,t){var e,i,r,c,a,o,u,s;for(e=new RegExp(t,"g"),u=Pnn(Lot,qZn,2,0,6,1),i=0,s=n,c=null;;){if(null==(o=e.exec(s))||""==s){u[i]=s;break}a=o.index,u[i]=($nn(0,a,s.length),s.substr(0,a)),s=e1(s,a+o[0].length,s.length),e.lastIndex=0,c==s&&(u[i]=($nn(0,1,s.length),s.substr(0,1)),o3(1,s.length+1),s=s.substr(1)),c=s,++i}if(n.length>0){for(r=u.length;r>0&&""==u[r-1];)--r;r0&&(l-=r[0]+n.c,r[0]+=n.c),r[2]>0&&(l-=r[2]+n.c),r[1]=t.Math.max(r[1],l),Hz(n.a[1],i.c+e.b+r[0]-(r[1]-l)/2,r[1]);for(u=0,h=(a=n.a).length;u0?(n.n.c.length-1)*n.i:0,i=new Wd(n.n);i.a1)for(i=Ryn(r,0);i.b!=i.d.c;)for(c=0,o=new Wd((e=aU(P6(i),235)).e);o.a0&&(e[0]+=n.c,l-=e[0]),e[2]>0&&(l-=e[2]+n.c),e[1]=t.Math.max(e[1],l),Uz(n.a[1],r.d+i.d+e[0]-(e[1]-l)/2,e[1]);else for(d=r.d+i.d,b=r.a-i.d-i.a,s=0,f=(o=n.a).length;s0||0==Rgn(c.b.d,n.b.d+n.b.a)&&r.b<0||0==Rgn(c.b.d+c.b.a,n.b.d)&&r.b>0){u=0;break}}else u=t.Math.min(u,ILn(n,c,r));u=t.Math.min(u,aqn(n,a,u,r))}return u}function oqn(n,t){var e,i,r,c,a,o;if(n.b<2)throw uv(new pE("The vector chain must contain at least a source and a target point."));for(y_(0!=n.b),yN(t,(i=aU(n.a.a.c,8)).a,i.b),o=new J$((!t.a&&(t.a=new yx(Z_t,t,5)),t.a)),c=Ryn(n,1);c.a=0&&c!=e)throw uv(new pE(Uet));for(r=0,u=0;uaE(cx(a.g,a.d[0]).a)?(y_(u.b>0),u.a.Xb(u.c=--u.b),wK(u,a),r=!0):o.e&&o.e.gc()>0&&(c=(!o.e&&(o.e=new Jm),o.e).Mc(t),s=(!o.e&&(o.e=new Jm),o.e).Mc(e),(c||s)&&((!o.e&&(o.e=new Jm),o.e).Fc(a),++a.c));r||gv(i.c,a)}function fqn(n,t,e){var i,r,c,a,o,u,s,h,f,l;return h=n.a.i+n.a.g/2,f=n.a.i+n.a.g/2,a=new yI(t.i+t.g/2,t.j+t.f/2),(u=aU(qxn(t,(UYn(),gxt)),8)).a=u.a+h,u.b=u.b+f,r=(a.b-u.b)/(a.a-u.a),i=a.b-r*a.a,o=new yI(e.i+e.g/2,e.j+e.f/2),(s=aU(qxn(e,gxt),8)).a=s.a+h,s.b=s.b+f,c=(o.b-s.b)/(o.a-s.a),l=(i-(o.b-c*o.a))/(c-r),!(u.a>>0).toString(16),t.length-2,t.length):n>=T0n?"\\v"+e1(t="0"+(n>>>0).toString(16),t.length-6,t.length):""+String.fromCharCode(n&N1n)}return e}function kqn(n){var t,e,i;if(oN(aU(cOn(n,(EYn(),VEt)),101)))for(e=new Wd(n.j);e.a=t.o&&e.f<=t.f||.5*t.a<=e.f&&1.5*t.a>=e.f){if((c=aU(qq(t.n,t.n.c.length-1),209)).e+c.d+e.g+r<=i&&(aU(qq(t.n,t.n.c.length-1),209).f-n.f+e.f<=n.b||1==n.a.c.length))return tpn(t,e),!0;if(t.s+e.g<=i&&(t.t+t.d+e.f+r<=n.b||1==n.a.c.length))return mx(t.b,e),a=aU(qq(t.n,t.n.c.length-1),209),mx(t.n,new i0(t.s,a.f+a.a+t.i,t.i)),qEn(aU(qq(t.n,t.n.c.length-1),209),e),YUn(t,e),!0}return!1}function Tqn(n,t,e){var i,r,c,a;return n.Pj()?(r=null,c=n.Qj(),i=n.Ij(1,a=tin(n,t,e),e,t,c),n.Mj()&&!(n.Yi()&&null!=a?awn(a,e):DA(a)===DA(e))?(null!=a&&(r=n.Oj(a,r)),r=n.Nj(e,r),n.Tj()&&(r=n.Wj(a,e,r)),r?(r.nj(i),r.oj()):n.Jj(i)):(n.Tj()&&(r=n.Wj(a,e,r)),r?(r.nj(i),r.oj()):n.Jj(i)),a):(a=tin(n,t,e),n.Mj()&&!(n.Yi()&&null!=a?awn(a,e):DA(a)===DA(e))&&(r=null,null!=a&&(r=n.Oj(a,null)),(r=n.Nj(e,r))&&r.oj()),a)}function Sqn(n,t){var e,i,r,c;if(t.Ug("Path-Like Graph Wrapping",1),0!=n.b.c.length)if(null==(r=new bxn(n)).i&&(r.i=run(r,new pc)),e=aE(r.i)*r.f/(null==r.i&&(r.i=run(r,new pc)),aE(r.i)),r.b>e)t.Vg();else{switch(aU(cOn(n,(EYn(),KMt)),351).g){case 2:c=new yc;break;case 0:c=new hc;break;default:c=new kc}if(i=c.og(n,r),!c.pg())switch(aU(cOn(n,qMt),352).g){case 2:i=$Ln(r,i);break;case 1:i=wPn(r,i)}mWn(n,r,i),t.Vg()}else t.Vg()}function Pqn(n,e){var i,r,c,a,o,u,s;e%=24,n.q.getHours()!=e&&((i=new t.Date(n.q.getTime())).setDate(i.getDate()+1),(o=n.q.getTimezoneOffset()-i.getTimezoneOffset())>0&&(u=o/60|0,s=o%60,r=n.q.getDate(),n.q.getHours()+u>=24&&++r,c=new t.Date(n.q.getFullYear(),n.q.getMonth(),r,e+u,n.q.getMinutes()+s,n.q.getSeconds(),n.q.getMilliseconds()),n.q.setTime(c.getTime()))),a=n.q.getTime(),n.q.setTime(a+36e5),n.q.getHours()!=e&&n.q.setTime(a)}function Cqn(n,t){var e,i,r,c;if(r3(n.d,n.e),n.c.a.$b(),0!=aE(w_(cOn(t.j,(EYn(),vkt))))||0!=aE(w_(cOn(t.j,vkt))))for(e=K3n,DA(cOn(t.j,jkt))!==DA((vvn(),Rjt))&&mfn(t.j,(GYn(),Kpt),(H$(),!0)),c=aU(cOn(t.j,CMt),17).a,r=0;r(a3(c+1,t.c.length),aU(t.c[c+1],17)).a-i&&++o,mx(r,(a3(c+o,t.c.length),aU(t.c[c+o],17))),a+=(a3(c+o,t.c.length),aU(t.c[c+o],17)).a-i,++e;e=g&&n.e[s.p]>d*n.b||v>=i*g)&&(gv(l.c,u),u=new Jm,Xon(o,a),a.a.$b(),h-=f,b=t.Math.max(b,h*n.b+w),h+=v,m=v,v=0,f=0,w=0);return new WI(b,l)}function Lqn(n){var t,e,i,r,c;if(!n.d){if(c=new js,null==(t=qFt).a.zc(n,t)){for(e=new Nx(YZ(n));e.e!=e.i.gc();)SV(c,Lqn(aU(Jyn(e),29)));t.a.Bc(n),t.a.gc()}for(r=c.i,!n.q&&(n.q=new sX(dFt,n,11,10)),i=new Nx(n.q);i.e!=i.i.gc();++r)aU(Jyn(i),411);SV(c,(!n.q&&(n.q=new sX(dFt,n,11,10)),n.q)),hbn(c),n.d=new pL((aU(qrn(dZ((ZV(),vFt).o),9),19),c.i),c.g),n.e=aU(c.g,688),null==n.e&&(n.e=zFt),v9(n).b&=-17}return n.d}function Nqn(n,t,e,i){var r,c,a,o,u,s;if(s=z_n(n.e.Dh(),t),u=0,r=aU(n.g,124),TP(),aU(t,69).xk()){for(a=0;a1||-1==d)if(f=aU(w,71),l=aU(h,71),f.dc())l.$b();else for(a=!!hEn(t),c=0,o=n.a?f.Kc():f.Ii();o.Ob();)s=aU(o.Pb(),58),(r=aU(rin(n,s),58))?(a?-1==(u=l.dd(r))?l.Gi(c,r):c!=u&&l.Ui(c,r):l.Gi(c,r),++c):n.b&&!a&&(l.Gi(c,s),++c);else null==w?h.Wb(null):null==(r=rin(n,w))?n.b&&!hEn(t)&&h.Wb(w):h.Wb(r)}function xqn(n,e){var i,r,c,a,o,u,s,f;for(i=new Ne,c=new RW(t$(Hgn(e).a.Kc(),new h));uxn(c);)if(!p9(r=aU(A9(c),18))&&_Pn(u=r.c.i,Lbt)){if(-1==(f=BFn(n,u,Lbt,Abt)))continue;i.b=t.Math.max(i.b,f),!i.a&&(i.a=new Jm),mx(i.a,u)}for(o=new RW(t$(Ugn(e).a.Kc(),new h));uxn(o);)if(!p9(a=aU(A9(o),18))&&_Pn(s=a.d.i,Abt)){if(-1==(f=BFn(n,s,Abt,Lbt)))continue;i.d=t.Math.max(i.d,f),!i.c&&(i.c=new Jm),mx(i.c,s)}return i}function $qn(n,t,e,i){var r,c,a,o,u,s,h;if(e.d.i!=t.i){for(Fb(r=new dEn(n),(qOn(),lbt)),mfn(r,(GYn(),emt),e),mfn(r,(EYn(),VEt),(LPn(),iRt)),gv(i.c,r),c2(a=new hIn,r),ALn(a,($Qn(),_Rt)),c2(o=new hIn,r),ALn(o,mRt),h=e.d,a2(e,a),qsn(c=new BZ,e),mfn(c,fEt,null),i2(c,o),a2(c,h),s=new A4(e.b,0);s.b1e6)throw uv(new lE("power of ten too big"));if(n<=pZn)return N9(ZNn(Got[1],t),t);for(r=i=ZNn(Got[1],pZn),e=Ksn(n-pZn),t=Z1(n%pZn);bdn(e,pZn)>0;)r=E5(r,i),e=Lgn(e,pZn);for(r=N9(r=E5(r,ZNn(Got[1],t)),pZn),e=Ksn(n-pZn);bdn(e,pZn)>0;)r=N9(r,pZn),e=Lgn(e,pZn);return r=N9(r,t)}function Kqn(n){var t,e,i,r,c,a,o,u;for(a=new Wd(n.a);a.as&&i>s)){r=!1,e._g()&&e.bh("bk node placement breaks on "+o+" which should have been after "+h);break}h=o,s=aE(t.p[o.p])+aE(t.d[o.p])+o.o.b+o.d.a}if(!r)break}return e._g()&&e.bh(t+" is feasible: "+r),r}function Uqn(n,t,e,i){var r,c,a,o,u,s,h;if(Fb(c=new dEn(n),(qOn(),dbt)),mfn(c,(EYn(),VEt),(LPn(),iRt)),r=0,t){for(mfn(a=new hIn,(GYn(),emt),t),mfn(c,emt,t.i),ALn(a,($Qn(),_Rt)),c2(a,c),s=0,h=(u=D4(t.e)).length;s0)){if(r=-1,32==zJ(h.c,0)){if(f=s[0],lin(t,s),s[0]>f)continue}else if(WZ(t,h.c,s[0])){s[0]+=h.c.length;continue}return 0}if(r<0&&h.a&&(r=u,c=s[0],i=0),r>=0){if(o=h.b,u==r&&0==(o-=i++))return 0;if(!eJn(t,s,h,o,a)){u=r-1,s[0]=c;continue}}else if(r=-1,!eJn(t,s,h,0,a))return 0}return IQn(a,e)?s[0]:0}function Xqn(n,t,e){var i,r,c,a,o,u,s,h,f,l;for(h=new $W(new Rw(e)),qX(o=Pnn(QGt,K2n,28,n.f.e.c.length,16,1),o.length),e[t.a]=0,s=new Wd(n.f.e);s.a=0&&!nMn(n,h,f);)--f;r[h]=f}for(b=0;b=0&&!nMn(n,o,d);)--o;c[d]=o}for(u=0;ut[l]&&li[u]&&FBn(n,u,l,!1,!0)}function Qqn(n){var t,e,i,r,c,a,o,u;e=cE(d_(cOn(n,(eUn(),vft)))),c=n.a.c.d,o=n.a.d.d,e?(a=px(QK(new yI(o.a,o.b),c),.5),u=px(ND(n.e),.5),t=QK(VK(new yI(c.a,c.b),a),u),_R(n.d,t)):(r=aE(w_(cOn(n.a,Rft))),i=n.d,c.a>=o.a?c.b>=o.b?(i.a=o.a+(c.a-o.a)/2+r,i.b=o.b+(c.b-o.b)/2-r-n.e.b):(i.a=o.a+(c.a-o.a)/2+r,i.b=c.b+(o.b-c.b)/2+r):c.b>=o.b?(i.a=c.a+(o.a-c.a)/2+r,i.b=o.b+(c.b-o.b)/2+r):(i.a=c.a+(o.a-c.a)/2+r,i.b=c.b+(o.b-c.b)/2-r-n.e.b))}function Jqn(n){var t,e,i,r,c,a;if(!n.f){if(a=new Es,c=new Es,null==(t=qFt).a.zc(n,t)){for(r=new Nx(YZ(n));r.e!=r.i.gc();)SV(a,Jqn(aU(Jyn(r),29)));t.a.Bc(n),t.a.gc()}for(!n.s&&(n.s=new sX(rFt,n,21,17)),i=new Nx(n.s);i.e!=i.i.gc();)RD(e=aU(Jyn(i),179),102)&&Znn(c,aU(e,19));hbn(c),n.r=new VU(n,(aU(qrn(dZ((ZV(),vFt).o),6),19),c.i),c.g),SV(a,n.r),hbn(a),n.f=new pL((aU(qrn(dZ(vFt.o),5),19),a.i),a.g),v9(n).b&=-3}return n.f}function Yqn(n){uP(n,new uCn(RM(NM($M(xM(new bu,L3n),"ELK DisCo"),"Layouter for arranging unconnected subgraphs. The subgraphs themselves are, by default, not laid out."),new ct))),B4(n,L3n,N3n,Vyn(tft)),B4(n,L3n,D3n,Vyn(Vht)),B4(n,L3n,x3n,Vyn(Uht)),B4(n,L3n,$3n,Vyn(Qht)),B4(n,L3n,N2n,Vyn(Zht)),B4(n,L3n,D2n,Vyn(Yht)),B4(n,L3n,L2n,Vyn(nft)),B4(n,L3n,x2n,Vyn(Jht)),B4(n,L3n,P3n,Vyn(zht)),B4(n,L3n,C3n,Vyn(qht)),B4(n,L3n,O3n,Vyn(Wht)),B4(n,L3n,I3n,Vyn(Xht))}function Zqn(){Zqn=T,V_t=Bhn(iM(XGt,1),A1n,28,15,[48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70]),Q_t=new RegExp("[ \t\n\r\f]+");try{X_t=Bhn(iM(nBt,1),MZn,2114,0,[new $m((lL(),Smn("yyyy-MM-dd'T'HH:mm:ss'.'SSSZ",fK((Hk(),Hk(),Fat))))),new $m(Smn("yyyy-MM-dd'T'HH:mm:ss'.'SSS",fK(Fat))),new $m(Smn("yyyy-MM-dd'T'HH:mm:ss",fK(Fat))),new $m(Smn("yyyy-MM-dd'T'HH:mm",fK(Fat))),new $m(Smn("yyyy-MM-dd",fK(Fat)))])}catch(n){if(!RD(n=Mhn(n),82))throw uv(n)}}function nzn(n,t){var e,i,r;if(i=0!=aRn(n.d,1),0==eGn(n,t)&&cE(d_(cOn(t.j,(GYn(),Kpt)))))return 0;!cE(d_(cOn(t.j,(GYn(),Kpt))))&&!cE(d_(cOn(t.j,gmt)))||DA(cOn(t.j,(EYn(),jkt)))===DA((vvn(),Rjt))?t.c.mg(t.e,i):i=cE(d_(cOn(t.j,Kpt))),T_n(n,t,i,!0),cE(d_(cOn(t.j,gmt)))&&mfn(t.j,gmt,(H$(),!1)),cE(d_(cOn(t.j,Kpt)))&&(mfn(t.j,Kpt,(H$(),!1)),mfn(t.j,gmt,!0)),e=eGn(n,t);do{if(Gon(n),0==e)return 0;r=e,T_n(n,t,i=!i,!1),e=eGn(n,t)}while(r>e);return r}function tzn(n,t){var e,i,r;if(i=0!=aRn(n.d,1),0==KAn(n,t)&&cE(d_(cOn(t.j,(GYn(),Kpt)))))return 0;!cE(d_(cOn(t.j,(GYn(),Kpt))))&&!cE(d_(cOn(t.j,gmt)))||DA(cOn(t.j,(EYn(),jkt)))===DA((vvn(),Rjt))?t.c.mg(t.e,i):i=cE(d_(cOn(t.j,Kpt))),T_n(n,t,i,!0),cE(d_(cOn(t.j,gmt)))&&mfn(t.j,gmt,(H$(),!1)),cE(d_(cOn(t.j,Kpt)))&&(mfn(t.j,Kpt,(H$(),!1)),mfn(t.j,gmt,!0)),e=KAn(n,t);do{if(Gon(n),0==e)return 0;r=e,T_n(n,t,i=!i,!1),e=KAn(n,t)}while(r>e);return r}function ezn(n,e,i,r){var c,a,o,u,s,h,f,l,b;return h=(s=QK(new yI(i.a,i.b),n)).a*e.b-s.b*e.a,f=e.a*r.b-e.b*r.a,l=(s.a*r.b-s.b*r.a)/f,b=h/f,0==f?0==h?(a=rtn(n,c=VK(new yI(i.a,i.b),px(new yI(r.a,r.b),.5))),o=rtn(VK(new yI(n.a,n.b),e),c),u=.5*t.Math.sqrt(r.a*r.a+r.b*r.b),a=0&&l<=1&&b>=0&&b<=1?VK(new yI(n.a,n.b),px(new yI(e.a,e.b),l)):null}function izn(n,t,e){var i,r,c,a,o;if(i=aU(cOn(n,(EYn(),Tkt)),21),e.a>t.a&&(i.Hc((JSn(),zNt))?n.c.a+=(e.a-t.a)/2:i.Hc(XNt)&&(n.c.a+=e.a-t.a)),e.b>t.b&&(i.Hc((JSn(),QNt))?n.c.b+=(e.b-t.b)/2:i.Hc(VNt)&&(n.c.b+=e.b-t.b)),aU(cOn(n,(GYn(),Fpt)),21).Hc((eFn(),Zgt))&&(e.a>t.a||e.b>t.b))for(o=new Wd(n.a);o.at.a&&(i.Hc((JSn(),zNt))?n.c.a+=(e.a-t.a)/2:i.Hc(XNt)&&(n.c.a+=e.a-t.a)),e.b>t.b&&(i.Hc((JSn(),QNt))?n.c.b+=(e.b-t.b)/2:i.Hc(VNt)&&(n.c.b+=e.b-t.b)),aU(cOn(n,(GYn(),Fpt)),21).Hc((eFn(),Zgt))&&(e.a>t.a||e.b>t.b))for(a=new Wd(n.a);a.a0?n.i:0)>e&&s>0&&(a=0,o+=s+n.i,c=t.Math.max(c,b),r+=s+n.i,s=0,b=0,i&&(++l,mx(n.n,new i0(n.s,o,n.i))),u=0),b+=h.g+(u>0?n.i:0),s=t.Math.max(s,h.f),i&&qEn(aU(qq(n.n,l),209),h),a+=h.g+(u>0?n.i:0),++u;return c=t.Math.max(c,b),r+=s,i&&(n.r=c,n.d=r,tjn(n.j)),new dY(n.s,n.t,c,r)}function ozn(n){var e,i,r,c,a,o,u,s,h,f,l;for(n.b=!1,f=y0n,u=k0n,l=y0n,s=k0n,i=n.e.a.ec().Kc();i.Ob();)for(r=(e=aU(i.Pb(),272)).a,f=t.Math.min(f,r.c),u=t.Math.max(u,r.c+r.b),l=t.Math.min(l,r.d),s=t.Math.max(s,r.d+r.a),a=new Wd(e.c);a.an.o.a&&(f=(s-n.o.a)/2,u.b=t.Math.max(u.b,f),u.c=t.Math.max(u.c,f))}}function lzn(n){var t,e,i,r,c,a;for(QL(r=new e4,(Whn(),QLt)),i=new Vd(new PE(new VT(n,Qon(n,Pnn(Lot,qZn,2,0,6,1))).b));i.bo?1:-1:Fln(n.a,t.a,c)))f=-u,h=a==u?Z9(t.a,o,n.a,c):Snn(t.a,o,n.a,c);else if(f=a,a==u){if(0==r)return iGn(),_ot;h=Z9(n.a,c,t.a,o)}else h=Snn(n.a,c,t.a,o);return $4(s=new zX(f,h.length,h)),s}function pzn(n,t){var e,i,r;if(r=TUn(t),!t.c&&(t.c=new sX(fKt,t,9,9)),mS(new sz(null,(!t.c&&(t.c=new sX(fKt,t,9,9)),new u3(t.c,16))),new Vw(r)),SVn(t,i=aU(cOn(r,(GYn(),Fpt)),21)),i.Hc((eFn(),Zgt)))for(e=new Nx((!t.c&&(t.c=new sX(fKt,t,9,9)),t.c));e.e!=e.i.gc();)wQn(n,t,r,aU(Jyn(e),123));return 0!=aU(qxn(t,(EYn(),NEt)),181).gc()&&aFn(t,r),cE(d_(cOn(r,FEt)))&&i.Fc(rpt),pR(r,sMt)&&tE(new cmn(aE(w_(cOn(r,sMt)))),r),DA(qxn(t,eEt))===DA((Cdn(),P$t))?BYn(n,t,r):bYn(n,t,r),r}function mzn(n){var t,e,i,r,c,a,o;for(i=new Wd(n.b);i.a0?e1(e.a,0,c-1):"":($nn(0,c-1,n.length),n.substr(0,c-1)):e?e.a:n}function yzn(n,t){var e,i,r,c,a,o,u;for(t.Ug("Sort By Input Model "+cOn(n,(EYn(),jkt)),1),r=0,i=new Wd(n.b);i.a=n.b.length?(c[r++]=a.b[i++],c[r++]=a.b[i++]):i>=a.b.length?(c[r++]=n.b[e++],c[r++]=n.b[e++]):a.b[i]0?n.i:0)),++e;for(bgn(n.n,s),n.d=i,n.r=r,n.g=0,n.f=0,n.e=0,n.o=y0n,n.p=y0n,a=new Wd(n.b);a.a0&&(!(r=(!n.n&&(n.n=new sX(sKt,n,1,7)),aU(qrn(n.n,0),135)).a)||VA(VA((t.a+=' "',t),r),'"'))),!n.b&&(n.b=new sF(eKt,n,4,7)),e=!(n.b.i<=1&&(!n.c&&(n.c=new sF(eKt,n,5,8)),n.c.i<=1)),t.a+=e?" [":" ",VA(t,$x(new RE,new Nx(n.b))),e&&(t.a+="]"),t.a+=Q4n,e&&(t.a+="["),VA(t,$x(new RE,new Nx(n.c))),e&&(t.a+="]"),t.a)}function Tzn(n,t){var e,i,r,c,a,o,u,s,h,f,l,b,d,w,g,p,m,v,y,k,E,M,j,T;for(y=n.c,k=t.c,e=ken(y.a,n,0),i=ken(k.a,t,0),m=aU(Emn(n,(ian(),zjt)).Kc().Pb(),12),j=aU(Emn(n,Wjt).Kc().Pb(),12),v=aU(Emn(t,zjt).Kc().Pb(),12),T=aU(Emn(t,Wjt).Kc().Pb(),12),g=D4(m.e),E=D4(j.g),p=D4(v.e),M=D4(T.g),Ljn(n,i,k),s=0,b=(c=p).length;sh?new O2((_7(),NSt),i,e,s-h):s>0&&h>0&&(new O2((_7(),NSt),e,i,0),new O2(NSt,i,e,0))),a)}function Ozn(n,t,e){var i,r,c;for(n.a=new Jm,c=Ryn(t.b,0);c.b!=c.d.c;){for(r=aU(P6(c),40);aU(cOn(r,(XUn(),OCt)),17).a>n.a.c.length-1;)mx(n.a,new WI(K3n,G9n));i=aU(cOn(r,OCt),17).a,e==(Dwn(),Vxt)||e==Qxt?(r.e.aaE(w_(aU(qq(n.a,i),42).b))&&od(aU(qq(n.a,i),42),r.e.a+r.f.a)):(r.e.baE(w_(aU(qq(n.a,i),42).b))&&od(aU(qq(n.a,i),42),r.e.b+r.f.b))}}function Izn(n,t,e,i){var r,c,a,o,u,s;if(c=wgn(i),!cE(d_(cOn(i,(EYn(),EEt))))&&!cE(d_(cOn(n,aEt)))||oN(aU(cOn(n,VEt),101)))switch(c2(o=new hIn,n),t?((s=o.n).a=t.a-n.n.a,s.b=t.b-n.n.b,NIn(s,0,0,n.o.a,n.o.b),ALn(o,JHn(o,c))):(r=Ppn(c),ALn(o,e==(ian(),Wjt)?r:Gwn(r))),a=aU(cOn(i,(GYn(),Fpt)),21),u=o.j,c.g){case 2:case 1:(u==($Qn(),vRt)||u==$Rt)&&a.Fc((eFn(),ipt));break;case 4:case 3:(u==($Qn(),mRt)||u==_Rt)&&a.Fc((eFn(),ipt))}else r=Ppn(c),o=UHn(n,e,e==(ian(),Wjt)?r:Gwn(r));return o}function Azn(n,e){var i,r,c,a,o;for(o=new fsn(new Ad(n.f.b).a);o.b;){if(c=aU((a=pon(o)).ld(),602),1==e){if(c.Af()!=(Dwn(),Yxt)&&c.Af()!=Xxt)continue}else if(c.Af()!=(Dwn(),Vxt)&&c.Af()!=Qxt)continue;switch(r=aU(aU(a.md(),42).b,86),i=aU(aU(a.md(),42).a,194).c,c.Af().g){case 2:r.g.c=n.e.a,r.g.b=t.Math.max(1,r.g.b+i);break;case 1:r.g.c=r.g.c+i,r.g.b=t.Math.max(1,r.g.b-i);break;case 4:r.g.d=n.e.b,r.g.a=t.Math.max(1,r.g.a+i);break;case 3:r.g.d=r.g.d+i,r.g.a=t.Math.max(1,r.g.a-i)}}}function Lzn(n,e){var i,r,c,a,o,u,s,h,f,l,b,d,w,g;for(u=Pnn(VGt,W1n,28,e.b.c.length,15,1),h=Pnn(pbt,w1n,273,e.b.c.length,0,1),s=Pnn(wbt,n6n,10,e.b.c.length,0,1),b=0,d=(l=n.a).length;b0&&s[r]&&(w=vD(n.b,s[r],c)),g=t.Math.max(g,c.c.c.b+w);for(a=new Wd(f.e);a.a1)throw uv(new pE(bct));u||(c=x5(t,i.Kc().Pb()),a.Fc(c))}return ffn(n,oAn(n,t,e),a)}function Kzn(n,t,e){var i,r,c,a,o,u,s;if(MKn(n.e,t))TP(),SDn((o=aU(t,69).xk()?new Sq(t,n):new CA(t,n)).c,o.b),$D(o,aU(e,16));else{for(s=z_n(n.e.Dh(),t),i=aU(n.g,124),c=0;c"}null!=u&&(t.a+=""+u)}else n.e?null!=(o=n.e.zb)&&(t.a+=""+o):(t.a+="?",n.b?(t.a+=" super ",Hzn(n.b,t)):n.f&&(t.a+=" extends ",Hzn(n.f,t)))}function Uzn(n){n.b=null,n.a=null,n.o=null,n.q=null,n.v=null,n.w=null,n.B=null,n.p=null,n.Q=null,n.R=null,n.S=null,n.T=null,n.U=null,n.V=null,n.W=null,n.bb=null,n.eb=null,n.ab=null,n.H=null,n.db=null,n.c=null,n.d=null,n.f=null,n.n=null,n.r=null,n.s=null,n.u=null,n.G=null,n.J=null,n.e=null,n.j=null,n.i=null,n.g=null,n.k=null,n.t=null,n.F=null,n.I=null,n.L=null,n.M=null,n.O=null,n.P=null,n.$=null,n.N=null,n.Z=null,n.cb=null,n.K=null,n.D=null,n.A=null,n.C=null,n._=null,n.fb=null,n.X=null,n.Y=null,n.gb=!1,n.hb=!1}function qzn(n){var e,i,r,c;if(r=fYn((!n.c&&(n.c=E2(Ksn(n.f))),n.c),0),0==n.e||0==n.a&&-1!=n.f&&n.e<0)return r;if(e=Yon(n)<0?1:0,i=n.e,r.length,t.Math.abs(Z1(n.e)),c=new XE,1==e&&(c.a+="-"),n.e>0)if((i-=r.length-e)>=0){for(c.a+="0.";i>Tot.length;i-=Tot.length)Uq(c,Tot);hK(c,Tot,Z1(i)),VA(c,(o3(e,r.length+1),r.substr(e)))}else VA(c,e1(r,e,Z1(i=e-i))),c.a+=".",VA(c,oQ(r,Z1(i)));else{for(VA(c,(o3(e,r.length+1),r.substr(e)));i<-Tot.length;i+=Tot.length)Uq(c,Tot);hK(c,Tot,Z1(-i))}return c.a}function zzn(n){var t,e,i,r,c;if(n.k!=(qOn(),bbt))return!1;if(n.j.c.length<=1)return!1;if(aU(cOn(n,(EYn(),VEt)),101)==(LPn(),iRt))return!1;if(Qkn(),(i=(n.q?n.q:(uZ(),uZ(),zot))._b(IEt)?aU(cOn(n,IEt),203):aU(cOn(FQ(n),AEt),203))==bjt)return!1;if(i!=ljt&&i!=fjt){if(r=aE(w_(Cmn(n,PMt))),!(t=aU(cOn(n,SMt),140))&&(t=new CK(r,r,r,r)),c=Ngn(n,($Qn(),_Rt)),t.d+t.a+(c.gc()-1)*r>n.o.b)return!1;if(e=Ngn(n,mRt),t.d+t.a+(e.gc()-1)*r>n.o.b)return!1}return!0}function Wzn(n,t){var e,i,r,c,a,o,u,s,h,f,l,b,d,w;t.Ug("Orthogonal edge routing",1),s=aE(w_(cOn(n,(EYn(),jMt)))),e=aE(w_(cOn(n,dMt))),i=aE(w_(cOn(n,pMt))),l=new AV(0,e),w=0,a=new A4(n.b,0),o=null,h=null,u=null,f=null;do{f=(h=a.b0?(b=(d-1)*e,o&&(b+=i),h&&(b+=i),bt||cE(d_(qxn(o,(jFn(),YIt)))))&&(r=0,c+=s.b+e,gv(h.c,s),san(s=new n4(c,e),i=new bln(0,s.f,s,e)),r=0),0==i.b.c.length||!cE(d_(qxn(x0(o),(jFn(),aAt))))&&(o.f>=i.o&&o.f<=i.f||.5*i.a<=o.f&&1.5*i.a>=o.f)?tpn(i,o):(san(s,a=new bln(i.s+i.r+e,s.f,s,e)),tpn(a,o)),r=o.i+o.g;return gv(h.c,s),h}function aWn(n){var t,e,i,r;if(!(null==n.b||n.b.length<=2||n.a)){for(t=0,r=0;r=n.b[r+1])r+=2;else{if(!(e0)for(i=new JF(aU(Q9(n.a,c),21)),uZ(),sD(i,new Gw(t)),r=new A4(c.b,0);r.b0&&i>=-6?i>=0?M$(c,e-Z1(n.e),String.fromCharCode(46)):(wsn(c,t-1,t-1,"0."),M$(c,t+1,gvn(Tot,0,-Z1(i)-1))):(e-t>=1&&(M$(c,t,String.fromCharCode(46)),++e),M$(c,e,String.fromCharCode(69)),i>0&&M$(c,++e,String.fromCharCode(43)),M$(c,++e,""+cX(Ksn(i)))),n.g=c.a,n.g))}function bWn(n,e){var i,r,c,a,o,u,s,h,f,l,b,d,w,g,p,m,v,y,k,E,M;r=aE(w_(cOn(e,(EYn(),OEt)))),l=4,c=3,E=20/(k=aU(cOn(e,CMt),17).a),b=!1,s=0,o=pZn;do{for(a=1!=s,f=0!=s,M=0,m=0,y=(g=n.a).length;mk)?(s=2,o=pZn):0==s?(s=1,o=M):(s=0,o=M):(b=M>=o||o-M0?1:$L(isNaN(r),isNaN(0)))>=0^(can(P9n),(t.Math.abs(u)<=P9n||0==u||isNaN(u)&&isNaN(0)?0:u<0?-1:u>0?1:$L(isNaN(u),isNaN(0)))>=0)?t.Math.max(u,r):(can(P9n),(t.Math.abs(r)<=P9n||0==r||isNaN(r)&&isNaN(0)?0:r<0?-1:r>0?1:$L(isNaN(r),isNaN(0)))>0?t.Math.sqrt(u*u+r*r):-t.Math.sqrt(u*u+r*r))}function pWn(n,t){var e,i,r,c,a;if(t)if(!n.a&&(n.a=new iy),2!=n.e)if(1!=t.e)0!=(a=n.a.a.c.length)?0!=(c=aU(NQ(n.a,a-1),122)).e&&10!=c.e||0!=t.e&&10!=t.e?qv(n.a,t):(0==t.e||t.Mm().length,0==c.e?(e=new zE,(i=c.Km())>=T0n?zA(e,Cgn(i)):kQ(e,i&N1n),c=new R1(10,null,0),GX(n.a,c,a-1)):(c.Mm().length,zA(e=new zE,c.Mm())),0==t.e?(i=t.Km())>=T0n?zA(e,Cgn(i)):kQ(e,i&N1n):zA(e,t.Mm()),aU(c,530).b=e.a):qv(n.a,t);else for(r=0;r1&&(u=s.Hg(u,n.a,o));return 1==u.c.length?aU(qq(u,u.c.length-1),238):2==u.c.length?Zzn((a3(0,u.c.length),aU(u.c[0],238)),(a3(1,u.c.length),aU(u.c[1],238)),a,c):null}function MWn(n,t,e){var i,r,c,a,o,u,s;for(e.Ug("Find roots",1),n.a.c.length=0,r=Ryn(t.b,0);r.b!=r.d.c;)0==(i=aU(P6(r),40)).b.b&&(mfn(i,(CQn(),BPt),(H$(),!0)),mx(n.a,i));switch(n.a.c.length){case 0:mfn(c=new lln(0,t,"DUMMY_ROOT"),(CQn(),BPt),(H$(),!0)),mfn(c,EPt,!0),rq(t.b,c);break;case 1:break;default:for(a=new lln(0,t,F9n),u=new Wd(n.a);u.a=t.Math.abs(r.b)?(r.b=0,a.d+a.a>o.d&&a.do.c&&a.c0){if(t=new OA(n.i,n.g),c=(e=n.i)<100?null:new ij(e),n.Tj())for(i=0;i0){for(o=n.g,s=n.i,z9(n),c=s<100?null:new ij(s),i=0;i>13|(15&n.m)<<9,r=n.m>>4&8191,c=n.m>>17|(255&n.h)<<5,a=(1048320&n.h)>>8,g=i*(o=8191&t.l),p=r*o,m=c*o,v=a*o,0!=(u=t.l>>13|(15&t.m)<<9)&&(g+=e*u,p+=i*u,m+=r*u,v+=c*u),0!=(s=t.m>>4&8191)&&(p+=e*s,m+=i*s,v+=r*s),0!=(h=t.m>>17|(255&t.h)<<5)&&(m+=e*h,v+=i*h),0!=(f=(1048320&t.h)>>8)&&(v+=e*f),b=((w=e*o)>>22)+(g>>9)+((262143&p)<<4)+((31&m)<<17),d=(p>>18)+(m>>5)+((4095&v)<<8),d+=(b+=(l=(w&s0n)+((511&g)<<13))>>22)>>22,wD(l&=s0n,b&=s0n,d&=h0n)}function OWn(n){var e,i,r,c,a,o,u;if(0!=(u=aU(qq(n.j,0),12)).g.c.length&&0!=u.e.c.length)throw uv(new mE("Interactive layout does not support NORTH/SOUTH ports with incoming _and_ outgoing edges."));if(0!=u.g.c.length){for(a=y0n,i=new Wd(u.g);i.a4){if(!n.fk(t))return!1;if(n.al()){if(o=(e=(i=aU(t,54)).Eh())==n.e&&(n.ml()?i.yh(i.Fh(),n.il())==n.jl():-1-i.Fh()==n.Lj()),n.nl()&&!o&&!e&&i.Jh())for(r=0;r0&&YIn(n,o,h);for(r=new Wd(h);r.an.d[r.p]&&(e+=V8(n.b,i)*aU(a.b,17).a,O6(n.a,Ddn(i)));for(;!IE(n.a);)hin(n.b,aU(DX(n.a),17).a)}return e}function NWn(n,t){var e,i,r,c,a,o,u,s,h,f;if(h=aU(cOn(n,(GYn(),Rpt)),64),i=aU(qq(n.j,0),12),h==($Qn(),vRt)?ALn(i,$Rt):h==$Rt&&ALn(i,vRt),aU(cOn(t,(EYn(),NEt)),181).Hc((Xmn(),VRt))){if(u=aE(w_(cOn(n,kMt))),s=aE(w_(cOn(n,EMt))),a=aE(w_(cOn(n,vMt))),(o=aU(cOn(t,YEt),21)).Hc((nNn(),lRt)))for(e=s,f=n.o.a/2-i.n.a,c=new Wd(i.f);c.a0&&(s=n.n.a/c);break;case 2:case 4:(r=n.i.o.b)>0&&(s=n.n.b/r)}mfn(n,(GYn(),fmt),s)}if(u=n.o,a=n.a,i)a.a=i.a,a.b=i.b,n.d=!0;else if(t!=aRt&&t!=oRt&&o!=RRt)switch(o.g){case 1:a.a=u.a/2;break;case 2:a.a=u.a,a.b=u.b/2;break;case 3:a.a=u.a/2,a.b=u.b;break;case 4:a.b=u.b/2}else a.a=u.a/2,a.b=u.b/2}function _Wn(n){var t,e,i,r,c,a,o,u,s,h;if(n.Pj())if(h=n.Ej(),u=n.Qj(),h>0)if(t=new Fun(n.pj()),c=(e=h)<100?null:new ij(e),X_(n,e,t.g),r=1==e?n.Ij(4,qrn(t,0),null,0,u):n.Ij(6,t,null,-1,u),n.Mj()){for(i=new Nx(t);i.e!=i.i.gc();)c=n.Oj(Jyn(i),c);c?(c.nj(r),c.oj()):n.Jj(r)}else c?(c.nj(r),c.oj()):n.Jj(r);else X_(n,n.Ej(),n.Fj()),n.Jj(n.Ij(6,(uZ(),qot),null,-1,u));else if(n.Mj())if((h=n.Ej())>0){for(o=n.Fj(),s=h,X_(n,h,o),c=s<100?null:new ij(s),i=0;i1&&Mz(a)*Ez(a)/2>o[0]){for(c=0;co[c];)++c;f=new Vrn(new S2(b,0,c+1)),h=Mz(a)/Ez(a),u=$Jn(f,t,new Ny,e,i,r,h),VK(bL(f.e),u),mU(_Cn(l,f),N0n),_jn(l,new S2(b,c+1,b.c.length)),b.c.length=0,s=0,qz(o,o.length,0)}else null!=(0==l.b.c.length?null:qq(l.b,0))&&Son(l,0),s>0&&(o[s]=o[s-1]),o[s]+=Mz(a)*Ez(a),++s,gv(b.c,a);return b}function FWn(n,t){var e,i,r,c;c=new JF((e=t.b).j),r=0,(i=e.j).c.length=0,gV(aU(osn(n.b,($Qn(),vRt),(don(),jwt)),15),e),r=iEn(c,r,new Br,i),gV(aU(osn(n.b,vRt,Mwt),15),e),r=iEn(c,r,new Dr,i),gV(aU(osn(n.b,vRt,Ewt),15),e),gV(aU(osn(n.b,mRt,jwt),15),e),gV(aU(osn(n.b,mRt,Mwt),15),e),r=iEn(c,r,new Gr,i),gV(aU(osn(n.b,mRt,Ewt),15),e),gV(aU(osn(n.b,$Rt,jwt),15),e),r=iEn(c,r,new Hr,i),gV(aU(osn(n.b,$Rt,Mwt),15),e),r=iEn(c,r,new Ur,i),gV(aU(osn(n.b,$Rt,Ewt),15),e),gV(aU(osn(n.b,_Rt,jwt),15),e),r=iEn(c,r,new Rr,i),gV(aU(osn(n.b,_Rt,Mwt),15),e),gV(aU(osn(n.b,_Rt,Ewt),15),e)}function BWn(n,t,e){var i,r,c,a,o,u,s,h,f,l,b;for(o=new Wd(t);o.a.5?p-=2*a*(d-.5):d<.5&&(p+=2*c*(.5-d)),p<(r=o.d.b)&&(p=r),w=o.d.c,p>g.a-w-h&&(p=g.a-w-h),o.n.a=e+p}}function WWn(n){var t,e,i;if((e=aU(cOn(n,(EYn(),dEt)),171))==(Gpn(),Pmt)){for(t=new RW(t$(Hgn(n).a.Kc(),new h));uxn(t);)if(!R9(aU(A9(t),18)))throw uv(new EE(v6n+JMn(n)+"' has its layer constraint set to FIRST_SEPARATE, but has at least one incoming edge. FIRST_SEPARATE nodes must not have incoming edges."))}else if(e==Omt)for(i=new RW(t$(Ugn(n).a.Kc(),new h));uxn(i);)if(!R9(aU(A9(i),18)))throw uv(new EE(v6n+JMn(n)+"' has its layer constraint set to LAST_SEPARATE, but has at least one outgoing edge. LAST_SEPARATE nodes must not have outgoing edges."))}function XWn(n,t){var e,i,r,c,a,o,u,s,h,f,l,b,d;if(n.e&&n.c.c>19&&(t=dfn(t),u=!u),a=mRn(t),c=!1,r=!1,i=!1,n.h==f0n&&0==n.m&&0==n.l){if(r=!0,c=!0,-1!=a)return o=dxn(n,a),u&&Qfn(o),e&&(Xat=wD(0,0,0)),o;n=IL((Zen(),Vat)),i=!0,u=!u}else n.h>>19&&(c=!0,n=dfn(n),i=!0,u=!u);return-1!=a?Yfn(n,a,u,c,e):vTn(n,t)<0?(e&&(Xat=c?dfn(n):wD(n.l,n.m,n.h)),wD(0,0,0)):dHn(i?n:wD(n.l,n.m,n.h),t,u,c,r,e)}function JWn(n,t){var e,i,r,c,a,o,u,s,h,f,l,b,d;if(a=n.e,u=t.e,0==a)return t;if(0==u)return n;if((c=n.d)+(o=t.d)==2)return e=M3(n.a[0],I0n),i=M3(t.a[0],I0n),a==u?(d=wW(h=Ign(e,i)),0==(b=wW(NW(h,32)))?new J5(a,d):new zX(a,2,Bhn(iM(VGt,1),W1n,28,15,[d,b]))):(iGn(),KA(a<0?Lgn(i,e):Lgn(e,i),0)?xmn(a<0?Lgn(i,e):Lgn(e,i)):uV(xmn(yen(a<0?Lgn(i,e):Lgn(e,i)))));if(a==u)l=a,f=c>=o?Snn(n.a,c,t.a,o):Snn(t.a,o,n.a,c);else{if(0==(r=c!=o?c>o?1:-1:Fln(n.a,t.a,c)))return iGn(),_ot;1==r?(l=a,f=Z9(n.a,c,t.a,o)):(l=u,f=Z9(t.a,o,n.a,c))}return $4(s=new zX(l,f.length,f)),s}function YWn(n,t){var e,i,r,c,a,o,u;if(!(n.g>t.f||t.g>n.f)){for(e=0,i=0,a=n.w.a.ec().Kc();a.Ob();)r=aU(a.Pb(),12),Wbn(Gfn(Bhn(iM(TNt,1),qZn,8,0,[r.i.n,r.n,r.a])).b,t.g,t.f)&&++e;for(o=n.r.a.ec().Kc();o.Ob();)r=aU(o.Pb(),12),Wbn(Gfn(Bhn(iM(TNt,1),qZn,8,0,[r.i.n,r.n,r.a])).b,t.g,t.f)&&--e;for(u=t.w.a.ec().Kc();u.Ob();)r=aU(u.Pb(),12),Wbn(Gfn(Bhn(iM(TNt,1),qZn,8,0,[r.i.n,r.n,r.a])).b,n.g,n.f)&&++i;for(c=t.r.a.ec().Kc();c.Ob();)r=aU(c.Pb(),12),Wbn(Gfn(Bhn(iM(TNt,1),qZn,8,0,[r.i.n,r.n,r.a])).b,n.g,n.f)&&--i;e=0)return e;switch(oJ(Aen(n,e))){case 2:if(gF("",Zdn(n,e.qk()).xe())){if(u=u$n(n,t,o=FJ(Aen(n,e)),KJ(Aen(n,e))))return u;for(a=0,s=(r=OGn(n,t)).gc();a1)throw uv(new pE(bct));for(h=z_n(n.e.Dh(),t),i=aU(n.g,124),a=0;a1,h=new l7(b.b);hD(h.a)||hD(h.b);)l=(s=aU(hD(h.a)?A3(h.a):A3(h.b),18)).c==b?s.d:s.c,t.Math.abs(Gfn(Bhn(iM(TNt,1),qZn,8,0,[l.i.n,l.n,l.a])).b-o.b)>1&&oKn(n,s,o,a,b)}}function cXn(n){var e,i,r,c,a,o;if(c=new A4(n.e,0),r=new A4(n.a,0),n.d)for(i=0;iL9n;){for(a=e,o=0;t.Math.abs(e-a)0),c.a.Xb(c.c=--c.b),qUn(n,n.b-o,a,r,c),y_(c.b0),r.a.Xb(r.c=--r.b)}if(!n.d)for(i=0;i0?(n.f[s.p]=l/(s.e.c.length+s.g.c.length),n.c=t.Math.min(n.c,n.f[s.p]),n.b=t.Math.max(n.b,n.f[s.p])):o&&(n.f[s.p]=l)}}function uXn(n){n.b=null,n.bb=null,n.fb=null,n.qb=null,n.a=null,n.c=null,n.d=null,n.e=null,n.f=null,n.n=null,n.M=null,n.L=null,n.Q=null,n.R=null,n.K=null,n.db=null,n.eb=null,n.g=null,n.i=null,n.j=null,n.k=null,n.gb=null,n.o=null,n.p=null,n.q=null,n.r=null,n.$=null,n.ib=null,n.S=null,n.T=null,n.t=null,n.s=null,n.u=null,n.v=null,n.w=null,n.B=null,n.A=null,n.C=null,n.D=null,n.F=null,n.G=null,n.H=null,n.I=null,n.J=null,n.P=null,n.Z=null,n.U=null,n.V=null,n.W=null,n.X=null,n.Y=null,n._=null,n.ab=null,n.cb=null,n.hb=null,n.nb=null,n.lb=null,n.mb=null,n.ob=null,n.pb=null,n.jb=null,n.kb=null,n.N=!1,n.O=!1}function sXn(n,t,e){var i,r;for(e.Ug("Graph transformation ("+n.a+")",1),r=k3(t.a),i=new Wd(t.b);i.a=o.b.c)&&(o.b=t),(!o.c||t.c<=o.c.c)&&(o.d=o.c,o.c=t),(!o.e||t.d>=o.e.d)&&(o.e=t),(!o.f||t.d<=o.f.d)&&(o.f=t);return i=new ikn((Uhn(),Rlt)),C4(n,zlt,new PE(Bhn(iM($lt,1),MZn,382,0,[i]))),a=new ikn(Flt),C4(n,qlt,new PE(Bhn(iM($lt,1),MZn,382,0,[a]))),r=new ikn(_lt),C4(n,Ult,new PE(Bhn(iM($lt,1),MZn,382,0,[r]))),c=new ikn(Klt),C4(n,Hlt,new PE(Bhn(iM($lt,1),MZn,382,0,[c]))),ERn(i.c,Rlt),ERn(r.c,_lt),ERn(c.c,Klt),ERn(a.c,Flt),o.a.c.length=0,Chn(o.a,i.c),Chn(o.a,jpn(r.c)),Chn(o.a,c.c),Chn(o.a,jpn(a.c)),o}function lXn(n,e){var i,r,c,a,o,u,s,h,f,l,b,d,w;for(e.Ug(ont,1),d=aE(w_(qxn(n,(hBn(),TIt)))),o=aE(w_(qxn(n,(jFn(),fAt)))),u=aU(qxn(n,uAt),107),Aon((!n.a&&(n.a=new sX(hKt,n,10,11)),n.a)),f=cWn((!n.a&&(n.a=new sX(hKt,n,10,11)),n.a),d,o),!n.a&&(n.a=new sX(hKt,n,10,11)),h=new Wd(f);h.a0&&(n.a=o+(l-1)*r,t.c.b+=n.a,t.f.b+=n.a),0!=b.a.gc()&&(l=QXn(new AV(1,r),t,b,d,t.f.b+o-t.c.b))>0&&(t.f.b+=o+(l-1)*r)}function dXn(n,e,i){var r,c,a,o,u,s,h,f,l,b,d,w,g,p,m,v,y,k;for(f=aE(w_(cOn(n,(EYn(),gMt)))),r=aE(w_(cOn(n,xMt))),mfn(b=new Qu,gMt,f+r),m=(h=e).d,g=h.c.i,v=h.d.i,p=GL(g.c),y=GL(v.c),c=new Jm,l=p;l<=y;l++)Fb(u=new dEn(n),(qOn(),lbt)),mfn(u,(GYn(),emt),h),mfn(u,VEt,(LPn(),iRt)),mfn(u,mMt,b),d=aU(qq(n.b,l),30),l==p?Ljn(u,d.a.c.length-i,d):r2(u,d),(k=aE(w_(cOn(h,Zkt))))<0&&mfn(h,Zkt,k=0),u.o.b=k,w=t.Math.floor(k/2),ALn(o=new hIn,($Qn(),_Rt)),c2(o,u),o.n.b=w,ALn(s=new hIn,mRt),c2(s,u),s.n.b=w,a2(h,o),qsn(a=new BZ,h),mfn(a,fEt,null),i2(a,s),a2(a,m),PTn(u,h,a),gv(c.c,a),h=a;return c}function wXn(n,t){var e,i,r,c,a,o,u,s,h,f,l,b,d,w,g;for(o=aU(vIn(n,($Qn(),_Rt)).Kc().Pb(),12).e,f=aU(vIn(n,mRt).Kc().Pb(),12).g,a=o.c.length,g=Y2(aU(qq(n.j,0),12));a-- >0;){for(a3(0,o.c.length),b=aU(o.c[0],18),a3(0,f.c.length),r=ken((i=aU(f.c[0],18)).d.e,i,0),l6(b,i.d,r),i2(i,null),a2(i,null),l=b.a,t&&rq(l,new nN(g)),e=Ryn(i.a,0);e.b!=e.d.c;)rq(l,new nN(aU(P6(e),8)));for(w=b.b,h=new Wd(i.b);h.aa)&&RX(n.b,aU(g.b,18));++o}c=a}}}function pXn(n,t){var e;if(null==t||gF(t,PZn))return null;if(0==t.length&&n.k!=(hAn(),wNt))return null;switch(n.k.g){case 1:return Kvn(t,Rnt)?(H$(),not):Kvn(t,_nt)?(H$(),Zat):null;case 2:try{return Ddn(gHn(t,E1n,pZn))}catch(n){if(RD(n=Mhn(n),130))return null;throw uv(n)}case 4:try{return QOn(t)}catch(n){if(RD(n=Mhn(n),130))return null;throw uv(n)}case 3:return t;case 5:return lbn(n),ANn(n,t);case 6:return lbn(n),I$n(n,n.a,t);case 7:try{return(e=XDn(n)).cg(t),e}catch(n){if(RD(n=Mhn(n),33))return null;throw uv(n)}default:throw uv(new mE("Invalid type set for this layout option."))}}function mXn(n){var t;switch(n.d){case 1:if(n.Sj())return-2!=n.o;break;case 2:if(n.Sj())return-2==n.o;break;case 3:case 5:case 4:case 6:case 7:return n.o>-2;default:return!1}switch(t=n.Rj(),n.p){case 0:return null!=t&&cE(d_(t))!=FA(n.k,0);case 1:return null!=t&&aU(t,222).a!=wW(n.k)<<24>>24;case 2:return null!=t&&aU(t,180).a!=(wW(n.k)&N1n);case 6:return null!=t&&FA(aU(t,168).a,n.k);case 5:return null!=t&&aU(t,17).a!=wW(n.k);case 7:return null!=t&&aU(t,191).a!=wW(n.k)<<16>>16;case 3:return null!=t&&aE(w_(t))!=n.j;case 4:return null!=t&&aU(t,161).a!=n.j;default:return null==t?null!=n.n:!awn(t,n.n)}}function vXn(n,t,e){var i,r,c,a;return n.ol()&&n.nl()&&DA(a=SX(n,aU(e,58)))!==DA(e)?(n.xj(t),n.Dj(t,Otn(n,t,a)),n.al()&&(r=aU(e,54),c=n.ml()?n.kl()?r.Th(n.b,hEn(aU(nrn(n1(n.b),n.Lj()),19)).n,aU(nrn(n1(n.b),n.Lj()).Hk(),29).kk(),null):r.Th(n.b,nmn(r.Dh(),hEn(aU(nrn(n1(n.b),n.Lj()),19))),null,null):r.Th(n.b,-1-n.Lj(),null,null),!aU(a,54).Ph()&&(i=aU(a,54),c=n.ml()?n.kl()?i.Rh(n.b,hEn(aU(nrn(n1(n.b),n.Lj()),19)).n,aU(nrn(n1(n.b),n.Lj()).Hk(),29).kk(),c):i.Rh(n.b,nmn(i.Dh(),hEn(aU(nrn(n1(n.b),n.Lj()),19))),null,c):i.Rh(n.b,-1-n.Lj(),null,c)),c&&c.oj()),aN(n.b)&&n.Jj(n.Ij(9,e,a,t,!1)),a):e}function yXn(n){var t,e,i,r,c,a,o,u,s,h;for(i=new Jm,a=new Wd(n.e.a);a.a0&&(o=t.Math.max(o,eun(n.C.b+r.d.b,c))),f=r,l=c,b=a;n.C&&n.C.c>0&&(d=b+n.C.c,h&&(d+=f.d.c),o=t.Math.max(o,(QN(),can(J2n),t.Math.abs(l-1)<=J2n||1==l||isNaN(l)&&isNaN(1)?0:d/(1-l)))),i.n.b=0,i.a.a=o}function EXn(n,e){var i,r,c,a,o,u,s,h,f,l,b,d;if(i=aU(OJ(n.b,e),127),(s=aU(aU(Q9(n.r,e),21),87)).dc())return i.n.d=0,void(i.n.a=0);for(h=n.u.Hc((nNn(),lRt)),o=0,n.A.Hc((Xmn(),VRt))&&mBn(n,e),u=s.Kc(),f=null,b=0,l=0;u.Ob();)a=aE(w_((r=aU(u.Pb(),117)).b.of((G$(),fht)))),c=r.b.Mf().b,f?(d=l+f.d.a+n.w+r.d.d,o=t.Math.max(o,(QN(),can(J2n),t.Math.abs(b-a)<=J2n||b==a||isNaN(b)&&isNaN(a)?0:d/(a-b)))):n.C&&n.C.d>0&&(o=t.Math.max(o,eun(n.C.d+r.d.d,a))),f=r,b=a,l=c;n.C&&n.C.a>0&&(d=l+n.C.a,h&&(d+=f.d.a),o=t.Math.max(o,(QN(),can(J2n),t.Math.abs(b-1)<=J2n||1==b||isNaN(b)&&isNaN(1)?0:d/(1-b)))),i.n.d=0,i.a.b=o}function MXn(n,t,e,i,r,c,a,o){var u,s,h,f,l,b,d,w;if(b=!1,u=i_n(e.q,t.f+t.b-e.q.f),l=i.f>t.b&&o,h=azn(i,w=r-(e.q.e+u-a),!1).a,l&&h>i.f)return!1;if(l){for(f=0,d=new Wd(t.d);d.a=(a3(c,n.c.length),aU(n.c[c],186)).e,!(!l&&h>t.b&&!s)&&((s||l||h<=t.b)&&(s&&h>t.b?(e.d=h,btn(e,MIn(e,h))):(BSn(e.q,u),e.c=!0),btn(i,r-(e.s+e.r)),cEn(i,e.q.e+e.q.d,t.f),san(t,i),n.c.length>c&&(aTn((a3(c,n.c.length),aU(n.c[c],186)),i),0==(a3(c,n.c.length),aU(n.c[c],186)).a.c.length&&t7(n,c)),b=!0),b))}function jXn(n,t,e){var i,r,c,a,o,u;for(this.g=n,o=t.d.length,u=e.d.length,this.d=Pnn(wbt,n6n,10,o+u,0,1),a=0;a0?xrn(this,this.f/this.a):null!=cx(t.g,t.d[0]).a&&null!=cx(e.g,e.d[0]).a?xrn(this,(aE(cx(t.g,t.d[0]).a)+aE(cx(e.g,e.d[0]).a))/2):null!=cx(t.g,t.d[0]).a?xrn(this,cx(t.g,t.d[0]).a):null!=cx(e.g,e.d[0]).a&&xrn(this,cx(e.g,e.d[0]).a)}function TXn(n,t){var e,i,r,c,a,o,u,s,h;for(n.a=new lQ(nfn(r$t)),i=new Wd(t.a);i.a=1&&(g-a>0&&f>=0?(u.n.a+=w,u.n.b+=c*a):g-a<0&&h>=0&&(u.n.a+=w*g,u.n.b+=c));n.o.a=t.a,n.o.b=t.b,mfn(n,(EYn(),NEt),(Xmn(),new YF(i=aU(yj(o_t),9),aU(yK(i,i.length),9),0)))}function IXn(n,t,e,i,r,c){if(null!=t&&gpn(t,VKt,QKt))throw uv(new pE("invalid scheme: "+t));if(!(n||null!=e&&-1==DL(e,LCn(35))&&e.length>0&&(o3(0,e.length),47!=e.charCodeAt(0))))throw uv(new pE("invalid opaquePart: "+e));if(n&&(null==t||!JT(FKt,t.toLowerCase()))&&null!=e&&gpn(e,JKt,YKt))throw uv(new pE(zit+e));if(n&&null!=t&&JT(FKt,t.toLowerCase())&&!fPn(e))throw uv(new pE(zit+e));if(!Tpn(i))throw uv(new pE("invalid device: "+i));if(!Vbn(r))throw uv(new pE(null==r?"invalid segments: null":"invalid segment: "+Ibn(r)));if(null!=c&&-1!=DL(c,LCn(35)))throw uv(new pE("invalid query: "+c))}function AXn(n,e,i){var r,c,a,o,u,s,h,f,l,b,d,w,g,p;if(i.Ug("Network simplex layering",1),n.b=e,p=4*aU(cOn(e,(EYn(),CMt)),17).a,(g=n.b.a).c.length<1)i.Vg();else{for(w=null,c=Ryn(a=DGn(n,g),0);c.b!=c.d.c;){for(r=aU(P6(c),15),u=p*Z1(t.Math.sqrt(r.gc())),VGn(mM(yM(vM(_B(o=lHn(r)),u),w),!0),i.eh(1)),l=n.b.b,d=new Wd(o.a);d.a1)for(w=Pnn(VGt,W1n,28,n.b.b.c.length,15,1),f=0,h=new Wd(n.b.b);h.a0?(Pyn(n,e,0),e.a+=String.fromCharCode(i),Pyn(n,e,r=Hvn(t,c)),c+=r-1):39==i?c+10&&d.a<=0){u.c.length=0,gv(u.c,d);break}(b=d.i-d.d)>=o&&(b>o&&(u.c.length=0,o=b),gv(u.c,d))}0!=u.c.length&&(a=aU(qq(u,tEn(r,u.c.length)),118),v.a.Bc(a),a.g=h++,BUn(a,t,e,i),u.c.length=0)}for(g=n.c.length+1,l=new Wd(n);l.ak0n||t.o==lSt&&s=o&&r<=u)o<=r&&c<=u?(e[h++]=r,e[h++]=c,i+=2):o<=r?(e[h++]=r,e[h++]=u,n.b[i]=u+1,a+=2):c<=u?(e[h++]=o,e[h++]=c,i+=2):(e[h++]=o,e[h++]=u,n.b[i]=u+1);else{if(!(uk1n)&&u<10);MM(n.c,new kt),_Xn(n),QX(n.c),hXn(n.f)}function UXn(n,e){var i,r,c,a,o,u,s,h,f,l,b,d,w,g;for(i=aU(cOn(n,(EYn(),VEt)),101),o=n.f,a=n.d,u=o.a+a.b+a.c,s=0-a.d-n.c.b,f=o.b+a.d+a.a-n.c.b,h=new Jm,l=new Jm,c=new Wd(e);c.a=2){for(a=aU(P6(u=Ryn(e,0)),8),o=aU(P6(u),8);o.a0&&ufn(u,!0,(Dwn(),Qxt)),a.k==(qOn(),hbt)&&UQ(u),pJ(n.f,a,t)):((s=(i=aU(wZ(Ggn(a)),18)).c.i)==a&&(s=i.d.i),f=new WI(s,QK(ND(a.n),s.n)),pJ(n.b,a,f))}function WXn(n){var e,i,r,c,a,o,u,s,h,f,l,b,d,w,g,p,m,v;for(i=aU(cOn(n,(CQn(),xPt)),27),u=pZn,s=pZn,a=E1n,o=E1n,m=Ryn(n.b,0);m.b!=m.d.c;)l=(g=aU(P6(m),40)).e,b=g.f,u=t.Math.min(u,l.a-b.a/2),s=t.Math.min(s,l.b-b.b/2),a=t.Math.max(a,l.a+b.a/2),o=t.Math.max(o,l.b+b.b/2);for(f=aU(qxn(i,(XUn(),wCt)),107),p=Ryn(n.b,0);p.b!=p.d.c;)RD(h=cOn(g=aU(P6(p),40),xPt),207)&&(mN(r=aU(h,27),g.e.a,g.e.b),r_n(r,g));for(w=Ryn(n.a,0);w.b!=w.d.c;)d=aU(P6(w),65),(e=aU(cOn(d,xPt),74))&&oqn(d.a,VKn(e,!0,!0));v=a-u+(f.b+f.c),c=o-s+(f.d+f.a),cE(d_(qxn(i,(UYn(),FDt))))||JQn(i,v,c,!1,!1),ykn(i,uDt,v-(f.b+f.c)),ykn(i,oDt,c-(f.d+f.a))}function XXn(n,t){var e,i,r,c,a,o,u,s,f;for(o=!0,r=0,u=n.g[t.p],s=t.o.b+n.o,e=n.d[t.p][2],Q8(n.b,u,Ddn(aU(qq(n.b,u),17).a-1+e)),Q8(n.c,u,aE(w_(qq(n.c,u)))-s+e*n.f),++u>=n.j?(++n.j,mx(n.b,Ddn(1)),mx(n.c,s)):(i=n.d[t.p][1],Q8(n.b,u,Ddn(aU(qq(n.b,u),17).a+1-i)),Q8(n.c,u,aE(w_(qq(n.c,u)))+s-i*n.f)),(n.r==(kGn(),Pjt)&&(aU(qq(n.b,u),17).a>n.k||aU(qq(n.b,u-1),17).a>n.k)||n.r==Ijt&&(aE(w_(qq(n.c,u)))>n.n||aE(w_(qq(n.c,u-1)))>n.n))&&(o=!1),c=new RW(t$(Hgn(t).a.Kc(),new h));uxn(c);)a=aU(A9(c),18).c.i,n.g[a.p]==u&&(r+=aU((f=XXn(n,a)).a,17).a,o=o&&cE(d_(f.b)));return n.g[t.p]=u,new WI(Ddn(r+=n.d[t.p][0]),(H$(),!!o))}function VXn(n,t){var e,i;aE(w_(cOn(t,(EYn(),bMt))))<2&&mfn(t,bMt,2),aU(cOn(t,Kkt),88)==(Dwn(),Jxt)&&mfn(t,Kkt,wgn(t)),0==(e=aU(cOn(t,oMt),17)).a?mfn(t,(GYn(),bmt),new Bpn):mfn(t,(GYn(),bmt),new p8(e.a)),null==d_(cOn(t,CEt))&&mfn(t,CEt,(H$(),DA(cOn(t,zkt))===DA((_gn(),a$t)))),mS(new sz(null,new u3(t.a,16)),new Fw(n)),mS(oin(new sz(null,new u3(t.b,16)),new wt),new Bw(n)),i=new SXn(t),mfn(t,(GYn(),mmt),i),_J(n.a),VX(n.a,(aOn(),klt),aU(cOn(t,Rkt),188)),VX(n.a,Elt,aU(cOn(t,yEt),188)),VX(n.a,Mlt,aU(cOn(t,$kt),188)),VX(n.a,jlt,aU(cOn(t,LEt),188)),VX(n.a,Tlt,xsn(aU(cOn(t,zkt),223))),JL(n.a,tYn(t)),mfn(t,lmt,XWn(n.a,t))}function QXn(n,e,i,r,c){var a,o,u,s,h,f,l,b,d,w,g,p,m;for(l=new Qm,o=new Jm,FAn(n,i,n.d.Ag(),o,l),FAn(n,r,n.d.Bg(),o,l),n.b=.2*(g=Nxn(oin(new sz(null,new u3(o,16)),new pa)),p=Nxn(oin(new sz(null,new u3(o,16)),new ma)),t.Math.min(g,p)),a=0,u=0;u=2&&(m=oRn(o,!0,b),!n.e&&(n.e=new wp(n)),Dvn(n.e,m,o,n.b)),KPn(o,b),cVn(o),d=-1,f=new Wd(o);f.ao)}function ZXn(n,e){var i,r,c,a,o,u,s,h,f,l,b,d,w,g,p,m,v;for(h=y0n,f=y0n,u=k0n,s=k0n,b=new Wd(e.i);b.a-1){for(r=Ryn(o,0);r.b!=r.d.c;)(i=aU(P6(r),131)).v=a;for(;0!=o.b;)for(e=new Wd((i=aU($jn(o,0),131)).i);e.a-1){for(c=new Wd(o);c.a0||(Qb(u,t.Math.min(u.o,r.o-1)),Vb(u,u.i-1),0==u.i&&gv(o.c,u))}}function aVn(n,e,i,r,c){var a,o,u,s;return s=y0n,o=!1,a=!!(u=ezn(n,QK(new yI(e.a,e.b),n),VK(new yI(i.a,i.b),c),QK(new yI(r.a,r.b),i)))&&!(t.Math.abs(u.a-n.a)<=Fnt&&t.Math.abs(u.b-n.b)<=Fnt||t.Math.abs(u.a-e.a)<=Fnt&&t.Math.abs(u.b-e.b)<=Fnt),(u=ezn(n,QK(new yI(e.a,e.b),n),i,c))&&((t.Math.abs(u.a-n.a)<=Fnt&&t.Math.abs(u.b-n.b)<=Fnt)==(t.Math.abs(u.a-e.a)<=Fnt&&t.Math.abs(u.b-e.b)<=Fnt)||a?s=t.Math.min(s,AQ(QK(u,i))):o=!0),(u=ezn(n,QK(new yI(e.a,e.b),n),r,c))&&(o||(t.Math.abs(u.a-n.a)<=Fnt&&t.Math.abs(u.b-n.b)<=Fnt)==(t.Math.abs(u.a-e.a)<=Fnt&&t.Math.abs(u.b-e.b)<=Fnt)||a)&&(s=t.Math.min(s,AQ(QK(u,r)))),s}function oVn(n){uP(n,new uCn(DM(RM(NM($M(xM(new bu,L4n),N4n),"Minimizes the stress within a layout using stress majorization. Stress exists if the euclidean distance between a pair of nodes doesn't match their graph theoretic distance, that is, the shortest path between the two nodes. The method allows to specify individual edge lengths."),new gt),i4n))),B4(n,L4n,s4n,Vyn(clt)),B4(n,L4n,f4n,(H$(),!0)),B4(n,L4n,w4n,Vyn(ult)),B4(n,L4n,D4n,Vyn(slt)),B4(n,L4n,d4n,Vyn(hlt)),B4(n,L4n,g4n,Vyn(olt)),B4(n,L4n,l4n,Vyn(flt)),B4(n,L4n,p4n,Vyn(llt)),B4(n,L4n,P4n,Vyn(rlt)),B4(n,L4n,O4n,Vyn(elt)),B4(n,L4n,I4n,Vyn(ilt)),B4(n,L4n,A4n,Vyn(alt)),B4(n,L4n,C4n,Vyn(tlt))}function uVn(n){var t,e,i,r,c,a,o,u;for(t=null,i=new Wd(n);i.a0&&0==e.c&&(!t&&(t=new Jm),gv(t.c,e));if(t)for(;0!=t.c.length;){if((e=aU(t7(t,0),239)).b&&e.b.c.length>0)for(!e.b&&(e.b=new Jm),c=new Wd(e.b);c.aken(n,e,0))return new WI(r,e)}else if(aE(cx(r.g,r.d[0]).a)>aE(cx(e.g,e.d[0]).a))return new WI(r,e);for(o=(!e.e&&(e.e=new Jm),e.e).Kc();o.Ob();)!(a=aU(o.Pb(),239)).b&&(a.b=new Jm),c3(0,(u=a.b).c.length),wC(u.c,0,e),a.c==u.c.length&&gv(t.c,a)}return null}function sVn(n,t){var e,i,r,c,a,o,u,s,h,f,l,b,d,w,g;for(t.Ug("Interactive crossing minimization",1),a=0,c=new Wd(n.b);c.a0&&(e+=u.n.a+u.o.a/2,++f),b=new Wd(u.j);b.a0&&(e/=f),g=Pnn(ZGt,P0n,28,i.a.c.length,15,1),o=0,s=new Wd(i.a);s.a=o&&r<=u)o<=r&&c<=u?i+=2:o<=r?(n.b[i]=u+1,a+=2):c<=u?(e[h++]=r,e[h++]=o-1,i+=2):(e[h++]=r,e[h++]=o-1,n.b[i]=u+1,a+=2);else{if(!(u2?(Chn(s=new Jm,new S2(d,1,d.b)),qsn(w=new wxn(pYn(s,g+n.a)),e),gv(i.c,w)):w=aU(iQ(n.b,r?fOn(e):dOn(e)),272),o=fOn(e),r&&(o=dOn(e)),a=GIn(b,o),u=g+n.a,a.a?(u+=t.Math.abs(b.b-h.b),l=new yI(h.a,(h.b+b.b)/2)):(u+=t.Math.abs(b.a-h.a),l=new yI((h.a+b.a)/2,h.b)),pJ(r?n.d:n.c,e,new fMn(w,a,l,u)),pJ(n.b,e,w),!e.n&&(e.n=new sX(sKt,e,1,7)),f=new Nx(e.n);f.e!=f.i.gc();)c=YBn(n,aU(Jyn(f),135),!0,0,0),gv(i.c,c)}function lVn(n){var t,e,i,r,c,a,o;if(!n.A.dc()){if(n.A.Hc((Xmn(),XRt))&&(aU(OJ(n.b,($Qn(),vRt)),127).k=!0,aU(OJ(n.b,$Rt),127).k=!0,t=n.q!=(LPn(),rRt)&&n.q!=iRt,Nb(aU(OJ(n.b,mRt),127),t),Nb(aU(OJ(n.b,_Rt),127),t),Nb(n.g,t),n.A.Hc(VRt)&&(aU(OJ(n.b,vRt),127).j=!0,aU(OJ(n.b,$Rt),127).j=!0,aU(OJ(n.b,mRt),127).k=!0,aU(OJ(n.b,_Rt),127).k=!0,n.g.k=!0)),n.A.Hc(WRt))for(n.a.j=!0,n.a.k=!0,n.g.j=!0,n.g.k=!0,o=n.B.Hc((rHn(),i_t)),c=0,a=(r=Ayn()).length;c0),c=aU(s.a.Xb(s.c=--s.b),18);c!=i&&s.b>0;)n.a[c.p]=!0,n.a[i.p]=!0,y_(s.b>0),c=aU(s.a.Xb(s.c=--s.b),18);s.b>0&&IQ(s)}}function wVn(n,t,e){var i,r,c,a,o,u,s,h,f,l,b;if(!n.b)return!1;for(a=null,l=null,r=1,(u=new _nn(null,null)).a[1]=n.b,f=u;f.a[r];)s=r,o=l,l=f,f=f.a[r],r=(i=n.a.Ne(t,f.d))<0?0:1,0==i&&(!e.c||CJ(f.e,e.d))&&(a=f),f&&f.b||AE(f.a[r])||(AE(f.a[1-r])?l=l.a[s]=kon(f,r):AE(f.a[1-r])||(b=l.a[1-s])&&(AE(b.a[1-s])||AE(b.a[s])?(c=o.a[1]==l?1:0,AE(b.a[s])?o.a[c]=T4(l,s):AE(b.a[1-s])&&(o.a[c]=kon(l,s)),f.b=o.a[c].b=!0,o.a[c].a[0].b=!1,o.a[c].a[1].b=!1):(l.b=!1,b.b=!0,f.b=!0)));return a&&(e.b=!0,e.d=a.e,f!=a&&(QCn(n,u,a,h=new _nn(f.d,f.e)),l==a&&(l=h)),l.a[l.a[1]==f?1:0]=f.a[f.a[0]?0:1],--n.c),n.b=u.a[1],n.b&&(n.b.b=!1),e.b}function gVn(n){var e,i,r,c,a,o,u,s,h,f,l,b;for(c=new Wd(n.a.a.b);c.a0?r-=864e5:r+=864e5,u=new N_(Ign(Ksn(t.q.getTime()),r))),h=new XE,s=n.a.length,c=0;c=97&&i<=122||i>=65&&i<=90){for(a=c+1;a=s)throw uv(new pE("Missing trailing '"));a+1=14&&o<=16?RD(i,183)?c7(e,TLn(aU(i,183))):RD(i,195)?c7(e,DPn(aU(i,195))):RD(i,201)?c7(e,rIn(aU(i,201))):RD(i,2111)?c7(e,xPn(aU(i,2111))):RD(i,53)?c7(e,jLn(aU(i,53))):RD(i,376)?c7(e,rNn(aU(i,376))):RD(i,846)?c7(e,MLn(aU(i,846))):RD(i,109)&&c7(e,ELn(aU(i,109))):t.a._b(i)?(e.a?VA(e.a,e.b):e.a=new h$(e.d),WA(e.a,"[...]")):c7(e,yVn($cn(i),new cz(t))):c7(e,null==i?PZn:ipn(i));return e.a?0==e.e.length?e.a.a:e.a.a+""+e.e:e.c}function kVn(n,t){var e,i,r,c;c=n.F,null==t?(n.F=null,obn(n,null)):(n.F=(ZQ(t),t),-1!=(i=DL(t,LCn(60)))?($nn(0,i,t.length),r=t.substr(0,i),-1==DL(t,LCn(46))&&!gF(r,bZn)&&!gF(r,hrt)&&!gF(r,frt)&&!gF(r,lrt)&&!gF(r,brt)&&!gF(r,drt)&&!gF(r,wrt)&&!gF(r,grt)&&(r=prt),-1!=(e=r$(t,LCn(62)))&&(r+=""+(o3(e+1,t.length+1),t.substr(e+1))),obn(n,r)):(r=t,-1==DL(t,LCn(46))&&(-1!=(i=DL(t,LCn(91)))&&($nn(0,i,t.length),r=t.substr(0,i)),gF(r,bZn)||gF(r,hrt)||gF(r,frt)||gF(r,lrt)||gF(r,brt)||gF(r,drt)||gF(r,wrt)||gF(r,grt)?r=t:(r=prt,-1!=i&&(r+=""+(o3(i,t.length+1),t.substr(i))))),obn(n,r),r==t&&(n.F=n.D))),4&n.Db&&!(1&n.Db)&&ysn(n,new hX(n,1,5,c,t))}function EVn(n,t){var e,i,r,c,a,o,u,s;if(o3(o=t.length-1,t.length),93==(a=t.charCodeAt(o))){if((c=DL(t,LCn(91)))>=0)return r=spn(n,($nn(1,c,t.length),t.substr(1,c-1))),$nn(c+1,o,t.length),GJn(n,t.substr(c+1,o-(c+1)),r)}else{if(e=-1,null==cot&&(cot=new RegExp("\\d")),cot.test(String.fromCharCode(a))&&(e=kF(t,LCn(46),o-1))>=0){i=aU(B9(n,Ern(n,($nn(1,e,t.length),t.substr(1,e-1))),!1),61),u=0;try{u=gHn((o3(e+1,t.length+1),t.substr(e+1)),E1n,pZn)}catch(n){throw RD(n=Mhn(n),130)?uv(new Ten(n)):uv(n)}if(u>16==-10?e=aU(n.Cb,292).Yk(t,e):n.Db>>16==-15&&(!t&&(QYn(),t=IFt),!o&&(QYn(),o=IFt),n.Cb.Yh()&&(a=new $en(n.Cb,1,13,o,t,Fkn(Oen(aU(n.Cb,62)),n),!1),e?e.nj(a):e=a));else if(RD(n.Cb,90))n.Db>>16==-23&&(RD(t,90)||(QYn(),t=NFt),RD(o,90)||(QYn(),o=NFt),n.Cb.Yh()&&(a=new $en(n.Cb,1,10,o,t,Fkn(q5(aU(n.Cb,29)),n),!1),e?e.nj(a):e=a));else if(RD(n.Cb,457))for(!(c=aU(n.Cb,850)).b&&(c.b=new Bm(new Zy)),r=new Gm(new fsn(new Ad(c.b.a).a));r.a.b;)e=TVn(i=aU(pon(r.a).ld(),89),fRn(i,c),e);return e}function SVn(n,t){var e,i,r,c,a,o,u,s,h,f,l;for(a=cE(d_(qxn(n,(EYn(),oEt)))),l=aU(qxn(n,YEt),21),u=!1,s=!1,f=new Nx((!n.c&&(n.c=new sX(fKt,n,9,9)),n.c));!(f.e==f.i.gc()||u&&s);){for(c=aU(Jyn(f),123),o=0,r=CX(qcn(Bhn(iM(pat,1),MZn,20,0,[(!c.d&&(c.d=new sF(iKt,c,8,5)),c.d),(!c.e&&(c.e=new sF(iKt,c,7,4)),c.e)])));uxn(r)&&(i=aU(A9(r),74),h=a&&KNn(i)&&cE(d_(qxn(i,uEt))),e=IWn((!i.b&&(i.b=new sF(eKt,i,4,7)),i.b),c)?n==x0(hCn(aU(qrn((!i.c&&(i.c=new sF(eKt,i,5,8)),i.c),0),84))):n==x0(hCn(aU(qrn((!i.b&&(i.b=new sF(eKt,i,4,7)),i.b),0),84))),!((h||e)&&++o>1)););(o>0||l.Hc((nNn(),lRt))&&(!c.n&&(c.n=new sX(sKt,c,1,7)),c.n).i>0)&&(u=!0),o>1&&(s=!0)}u&&t.Fc((eFn(),Zgt)),s&&t.Fc((eFn(),npt))}function PVn(n){var e,i,r,c,a,o,u,s,h,f,l,b;if((b=aU(qxn(n,(UYn(),_Dt)),21)).dc())return null;if(u=0,o=0,b.Hc((Xmn(),XRt))){for(f=aU(qxn(n,oxt),101),r=2,i=2,c=2,a=2,e=x0(n)?aU(qxn(x0(n),bDt),88):aU(qxn(n,bDt),88),h=new Nx((!n.c&&(n.c=new sX(fKt,n,9,9)),n.c));h.e!=h.i.gc();)if(s=aU(Jyn(h),123),(l=aU(qxn(s,dxt),64))==($Qn(),RRt)&&(l=xUn(s,e),ykn(s,dxt,l)),f==(LPn(),iRt))switch(l.g){case 1:r=t.Math.max(r,s.i+s.g);break;case 2:i=t.Math.max(i,s.j+s.f);break;case 3:c=t.Math.max(c,s.i+s.g);break;case 4:a=t.Math.max(a,s.j+s.f)}else switch(l.g){case 1:r+=s.g+2;break;case 2:i+=s.f+2;break;case 3:c+=s.g+2;break;case 4:a+=s.f+2}u=t.Math.max(r,c),o=t.Math.max(i,a)}return JQn(n,u,o,!0,!0)}function CVn(n,e,i,r,c){var a,o,u,s,h,f,l,b,d,w,g,p,m,v,y,k;for(v=aU(h8(mrn(VJ(new sz(null,new u3(e.d,16)),new xg(i)),new $g(i)),stn(new X,new W,new en,Bhn(iM(xut,1),w1n,108,0,[(vbn(),Put)]))),15),l=pZn,f=E1n,s=new Wd(e.b.j);s.a0)?s&&(h=w.p,a?++h:--h,f=!(zRn(i=rfn(aU(qq(w.c.a,h),10)),y,e[0])||eX(i,y,e[0]))):f=!0),l=!1,(v=t.D.i)&&v.c&&o.e&&(a&&v.p>0||!a&&v.p=0){for(u=null,o=new A4(h.a,s+1);o.ba?1:$L(isNaN(0),isNaN(a)))<0&&(can(P9n),(t.Math.abs(a-1)<=P9n||1==a||isNaN(a)&&isNaN(1)?0:a<1?-1:a>1?1:$L(isNaN(a),isNaN(1)))<0)&&(can(P9n),(t.Math.abs(0-o)<=P9n||0==o||isNaN(0)&&isNaN(o)?0:0o?1:$L(isNaN(0),isNaN(o)))<0)&&(can(P9n),(t.Math.abs(o-1)<=P9n||1==o||isNaN(o)&&isNaN(1)?0:o<1?-1:o>1?1:$L(isNaN(o),isNaN(1)))<0))}function $Vn(n){var t,e,i,r;if(-1!=(t=DL(e=null!=n.D?n.D:n.B,LCn(91)))){$nn(0,t,e.length),i=e.substr(0,t),r=new qE;do{r.a+="["}while(-1!=(t=rR(e,91,++t)));gF(i,bZn)?r.a+="Z":gF(i,hrt)?r.a+="B":gF(i,frt)?r.a+="C":gF(i,lrt)?r.a+="D":gF(i,brt)?r.a+="F":gF(i,drt)?r.a+="I":gF(i,wrt)?r.a+="J":gF(i,grt)?r.a+="S":(r.a+="L",r.a+=""+i,r.a+=";");try{return null}catch(n){if(!RD(n=Mhn(n),63))throw uv(n)}}else if(-1==DL(e,LCn(46))){if(gF(e,bZn))return QGt;if(gF(e,hrt))return YGt;if(gF(e,frt))return XGt;if(gF(e,lrt))return ZGt;if(gF(e,brt))return nHt;if(gF(e,drt))return VGt;if(gF(e,wrt))return JGt;if(gF(e,grt))return tHt}return null}function RVn(n,t){var e,i,r,c,a,o,u,s,h,f,l,b,d,w,g,p,m,v,y;for(n.e=t,o=HNn(t),v=new Jm,i=new Wd(o);i.a=0&&w=s.c.c.length?K5((qOn(),bbt),lbt):K5((qOn(),lbt),lbt),h*=2,c=i.a.g,i.a.g=t.Math.max(c,c+(h-c)),a=i.b.g,i.b.g=t.Math.max(a,a+(h-a)),r=e}else wNn(o),zzn((a3(0,o.c.length),aU(o.c[0],18)).d.i)||mx(n.o,o)}function BVn(n){var e,i,r,c;for(mS(VJ(new sz(null,new u3(n.a.b,16)),new yr),new kr),XSn(n),mS(VJ(new sz(null,new u3(n.a.b,16)),new Er),new Mr),n.c==(_gn(),u$t)&&(mS(VJ(oin(new sz(null,new u3(new Id(n.f),1)),new jr),new Tr),new Cg(n)),mS(VJ(QJ(oin(oin(new sz(null,new u3(n.d.b,16)),new Sr),new Pr),new Cr),new Or),new Ig(n))),c=new yI(y0n,y0n),e=new yI(k0n,k0n),r=new Wd(n.a.b);r.a0&&(t.a+=kZn),UVn(aU(Jyn(a),167),t);for(t.a+=Q4n,o=new J$((!i.c&&(i.c=new sF(eKt,i,5,8)),i.c));o.e!=o.i.gc();)o.e>0&&(t.a+=kZn),UVn(aU(Jyn(o),167),t);t.a+=")"}}}function qVn(n,e,i){var r,c,a,o,u,s,f,l;for(s=new Nx((!n.a&&(n.a=new sX(hKt,n,10,11)),n.a));s.e!=s.i.gc();)for(c=new RW(t$(nRn(u=aU(Jyn(s),27)).a.Kc(),new h));uxn(c);){if(!(r=aU(A9(c),74)).b&&(r.b=new sF(eKt,r,4,7)),!(r.b.i<=1&&(!r.c&&(r.c=new sF(eKt,r,5,8)),r.c.i<=1)))throw uv(new ME("Graph must not contain hyperedges."));if(!qDn(r)&&u!=hCn(aU(qrn((!r.c&&(r.c=new sF(eKt,r,5,8)),r.c),0),84)))for(qsn(f=new LK,r),mfn(f,(gon(),Wft),r),$b(f,aU(NA(Rz(i.f,u)),153)),Kb(f,aU(iQ(i,hCn(aU(qrn((!r.c&&(r.c=new sF(eKt,r,5,8)),r.c),0),84))),153)),mx(e.c,f),o=new Nx((!r.n&&(r.n=new sX(sKt,r,1,7)),r.n));o.e!=o.i.gc();)qsn(l=new O5(f,(a=aU(Jyn(o),135)).a),a),mfn(l,Wft,a),l.e.a=t.Math.max(a.g,1),l.e.b=t.Math.max(a.f,1),Qqn(l),mx(e.d,l)}}function zVn(n,e,i){var r,c,a,o,u,s,h,f;switch(i.Ug("Node promotion heuristic",1),n.i=e,n.r=aU(cOn(e,(EYn(),vEt)),243),n.r!=(kGn(),Tjt)&&n.r!=Sjt?xQn(n):YKn(n),f=aU(cOn(n.i,mEt),17).a,a=new hi,n.r.g){case 2:case 1:default:Yzn(n,a);break;case 3:for(n.r=Njt,Yzn(n,a),s=0,u=new Wd(n.b);u.an.k&&(n.r=Pjt,Yzn(n,a));break;case 4:for(n.r=Njt,Yzn(n,a),h=0,c=new Wd(n.c);c.an.n&&(n.r=Ijt,Yzn(n,a));break;case 6:Yzn(n,new gg(Z1(t.Math.ceil(n.g.length*f/100))));break;case 5:Yzn(n,new pg(Z1(t.Math.ceil(n.e*f/100))));break;case 8:PYn(n,!0);break;case 9:PYn(n,!1)}n.r!=Tjt&&n.r!=Sjt?V_n(n,e):KBn(n,e),i.Vg()}function WVn(n){var t,e,i,r,c,a,o,u,s,h,f,l,b,d,w,g,p;for(wK(u=new A4(s=n.b,0),new fQ(n)),g=!1,c=1;u.b0&&(b.d+=f.n.d,b.d+=f.d),b.a>0&&(b.a+=f.n.a,b.a+=f.d),b.b>0&&(b.b+=f.n.b,b.b+=f.d),b.c>0&&(b.c+=f.n.c,b.c+=f.d),b}function VVn(n,e,i){var r,c,a,o,u,s,h,f,l,b,d,w;for(b=i.d,l=i.c,o=(a=new yI(i.f.a+i.d.b+i.d.c,i.f.b+i.d.d+i.d.a)).b,h=new Wd(n.a);h.a0&&(n.c[t.c.p][t.p].d+=aRn(n.i,24)*q0n*.07000000029802322-.03500000014901161,n.c[t.c.p][t.p].a=n.c[t.c.p][t.p].d/n.c[t.c.p][t.p].b)}}function ZVn(n){var t,e,i,r,c,a,o,u,s,h,f,l,b,d;for(l=new Wd(n);l.ar.d,r.d=t.Math.max(r.d,e),u&&i&&(r.d=t.Math.max(r.d,r.a),r.a=r.d+c);break;case 3:i=e>r.a,r.a=t.Math.max(r.a,e),u&&i&&(r.a=t.Math.max(r.a,r.d),r.d=r.a+c);break;case 2:i=e>r.c,r.c=t.Math.max(r.c,e),u&&i&&(r.c=t.Math.max(r.b,r.c),r.b=r.c+c);break;case 4:i=e>r.b,r.b=t.Math.max(r.b,e),u&&i&&(r.b=t.Math.max(r.b,r.c),r.c=r.b+c)}}}function eQn(n,t){var e,i,r,c,a,o,u,s,h;return s="",0==t.length?n.ne(I1n,C1n,-1,-1):(gF((h=$An(t)).substr(0,3),"at ")&&(o3(3,h.length+1),h=h.substr(3)),-1==(a=(h=h.replace(/\[.*?\]/g,"")).indexOf("("))?-1==(a=h.indexOf("@"))?(s=h,h=""):(s=$An((o3(a+1,h.length+1),h.substr(a+1))),h=$An(($nn(0,a,h.length),h.substr(0,a)))):($nn(a+1,e=h.indexOf(")",a),h.length),s=h.substr(a+1,e-(a+1)),h=$An(($nn(0,a,h.length),h.substr(0,a)))),-1!=(a=DL(h,LCn(46)))&&(o3(a+1,h.length+1),h=h.substr(a+1)),(0==h.length||gF(h,"Anonymous function"))&&(h=C1n),o=r$(s,LCn(58)),r=kF(s,LCn(58),o-1),u=-1,i=-1,c=I1n,-1!=o&&-1!=r&&($nn(0,r,s.length),c=s.substr(0,r),u=eR(($nn(r+1,o,s.length),s.substr(r+1,o-(r+1)))),i=eR((o3(o+1,s.length+1),s.substr(o+1)))),n.ne(c,h,u,i))}function iQn(n){var t,e,i,r,c,a,o,u,s,h,f;for(s=new Wd(n);s.a0||h.j==_Rt&&h.e.c.length-h.g.c.length<0)){t=!1;break}for(r=new Wd(h.g);r.a=h&&E>=p&&(b+=w.n.b+g.n.b+g.a.b-k,++u));if(i)for(o=new Wd(v.e);o.a=h&&E>=p&&(b+=w.n.b+g.n.b+g.a.b-k,++u))}u>0&&(M+=b/u,++d)}d>0?(e.a=c*M/d,e.g=d):(e.a=0,e.g=0)}function cQn(n){var t,e,i,r,c,a,o,u,s,h,f,l,b,d,w,g,p,m,v,y,k,E,M;for(l=(c=n.f.b).a,h=c.b,d=n.e.g,b=n.e.f,pN(n.e,c.a,c.b),E=l/d,M=h/b,s=new Nx(DJ(n.e));s.e!=s.i.gc();)vcn(u=aU(Jyn(s),135),u.i*E),ycn(u,u.j*M);for(m=new Nx(xJ(n.e));m.e!=m.i.gc();)y=(p=aU(Jyn(m),123)).i,k=p.j,y>0&&vcn(p,y*E),k>0&&ycn(p,k*M);for(Qun(n.b,new ft),t=new Jm,o=new fsn(new Ad(n.c).a);o.b;)i=aU((a=pon(o)).ld(),74),e=aU(a.md(),407).a,r=VKn(i,!1,!1),oqn(f=QPn(fOn(i),SIn(r),e),r),(v=lOn(i))&&-1==ken(t,v,0)&&(gv(t.c,v),tY(v,(y_(0!=f.b),aU(f.a.a.c,8)),e));for(g=new fsn(new Ad(n.d).a);g.b;)i=aU((w=pon(g)).ld(),74),e=aU(w.md(),407).a,r=VKn(i,!1,!1),f=QPn(dOn(i),sln(SIn(r)),e),oqn(f=sln(f),r),(v=bOn(i))&&-1==ken(t,v,0)&&(gv(t.c,v),tY(v,(y_(0!=f.b),aU(f.c.b.c,8)),e))}function aQn(n,t,e,i){var r,c,a,o,u;return o_n(o=new MQn(t),i),r=!0,n&&n.pf((UYn(),bDt))&&(r=(c=aU(n.of((UYn(),bDt)),88))==(Dwn(),Jxt)||c==Vxt||c==Qxt),tBn(o,!1),Trn(o.e.Rf(),new NB(o,!1,r)),W1(o,o.f,(Qrn(),Est),($Qn(),vRt)),W1(o,o.f,jst,$Rt),W1(o,o.g,Est,_Rt),W1(o,o.g,jst,mRt),dkn(o,vRt),dkn(o,$Rt),PJ(o,mRt),PJ(o,_Rt),z_(),(a=o.A.Hc((Xmn(),zRt))&&o.B.Hc((rHn(),e_t))?Dmn(o):null)&&bM(o.a,a),tQn(o),KMn(o),FMn(o),lVn(o),rUn(o),tTn(o),byn(o,vRt),byn(o,$Rt),PBn(o),kWn(o),e?(lpn(o),eTn(o),byn(o,mRt),byn(o,_Rt),u=o.B.Hc((rHn(),i_t)),bLn(o,u,vRt),bLn(o,u,$Rt),dLn(o,u,mRt),dLn(o,u,_Rt),mS(new sz(null,new u3(new Rd(o.i),0)),new Cn),mS(VJ(new sz(null,RV(o.r).a.oc()),new On),new In),EPn(o),o.e.Pf(o.o),mS(new sz(null,RV(o.r).a.oc()),new An),o.o):o.o}function oQn(n){var e,i,r,c,a,o,u,s,h,f,l,b,d,w,g;for(h=y0n,r=new Wd(n.a.b);r.a1)for(q8(v,new KO(n,b=new PWn(d,v,r))),gv(o.c,b),f=v.a.ec().Kc();f.Ob();)gen(a,aU(f.Pb(),42).b);if(u.a.gc()>1)for(q8(u,new FO(n,b=new PWn(d,u,r))),gv(o.c,b),f=u.a.ec().Kc();f.Ob();)gen(a,aU(f.Pb(),42).b)}}function bQn(n,e,i){var r,c,a,o,u,s,h,f,l,b,d,w,g,p,m;if(g=n.n,p=n.o,b=n.d,l=aE(w_(Cmn(n,(EYn(),hMt)))),e){for(f=l*(e.gc()-1),d=0,s=e.Kc();s.Ob();)f+=(o=aU(s.Pb(),10)).o.a,d=t.Math.max(d,o.o.b);for(m=g.a-(f-p.a)/2,a=g.b-b.d+d,c=r=p.a/(e.gc()+1),u=e.Kc();u.Ob();)(o=aU(u.Pb(),10)).n.a=m,o.n.b=a-o.o.b,m+=o.o.a+l,(h=MRn(o)).n.a=o.o.a/2-h.a.a,h.n.b=o.o.b,(w=aU(cOn(o,(GYn(),Tpt)),12)).e.c.length+w.g.c.length==1&&(w.n.a=c-w.a.a,w.n.b=0,c2(w,n)),c+=r}if(i){for(f=l*(i.gc()-1),d=0,s=i.Kc();s.Ob();)f+=(o=aU(s.Pb(),10)).o.a,d=t.Math.max(d,o.o.b);for(m=g.a-(f-p.a)/2,a=g.b+p.b+b.a-d,c=r=p.a/(i.gc()+1),u=i.Kc();u.Ob();)(o=aU(u.Pb(),10)).n.a=m,o.n.b=a,m+=o.o.a+l,(h=MRn(o)).n.a=o.o.a/2-h.a.a,h.n.b=0,(w=aU(cOn(o,(GYn(),Tpt)),12)).e.c.length+w.g.c.length==1&&(w.n.a=c-w.a.a,w.n.b=p.b,c2(w,n)),c+=r}}function dQn(n,e){var i,r,c,a,o,u;if(aU(cOn(e,(GYn(),Fpt)),21).Hc((eFn(),Zgt))){for(u=new Wd(e.a);u.a=0&&a0&&(aU(OJ(n.b,e),127).a.b=i)}function kQn(n,t,e,i){var r,c,a,o,u,s,h,f,l,b,d,w;if(l=aE(w_(cOn(n,(EYn(),kMt)))),b=aE(w_(cOn(n,EMt))),f=aE(w_(cOn(n,vMt))),o=n.o,a=(c=aU(qq(n.j,0),12)).n,w=uAn(c,f)){if(t.Hc((nNn(),lRt)))switch(aU(cOn(n,(GYn(),Rpt)),64).g){case 1:w.c=(o.a-w.b)/2-a.a,w.d=b;break;case 3:w.c=(o.a-w.b)/2-a.a,w.d=-b-w.a;break;case 2:e&&0==c.e.c.length&&0==c.g.c.length?(h=i?w.a:aU(qq(c.f,0),72).o.b,w.d=(o.b-h)/2-a.b):w.d=o.b+b-a.b,w.c=-l-w.b;break;case 4:e&&0==c.e.c.length&&0==c.g.c.length?(h=i?w.a:aU(qq(c.f,0),72).o.b,w.d=(o.b-h)/2-a.b):w.d=o.b+b-a.b,w.c=l}else if(t.Hc(dRt))switch(aU(cOn(n,(GYn(),Rpt)),64).g){case 1:case 3:w.c=a.a+l;break;case 2:case 4:e&&!c.c?(h=i?w.a:aU(qq(c.f,0),72).o.b,w.d=(o.b-h)/2-a.b):w.d=a.b+b}for(r=w.d,s=new Wd(c.f);s.a=n.length)return{done:!0};var i=n[e++];return{value:[i,t.get(i)],done:!1}}}},_Fn()||(n.prototype.createObject=function(){return{}},n.prototype.get=function(n){return this.obj[":"+n]},n.prototype.set=function(n,t){this.obj[":"+n]=t},n.prototype[B0n]=function(n){delete this.obj[":"+n]},n.prototype.keys=function(){var n=[];for(var t in this.obj)58==t.charCodeAt(0)&&n.push(t.substring(1));return n}),n}function CQn(){CQn=T,xPt=new Sm(M4n),new aK("DEPTH",Ddn(0)),MPt=new aK("FAN",Ddn(0)),kPt=new aK(X9n,Ddn(0)),BPt=new aK("ROOT",(H$(),!1)),OPt=new aK("LEFTNEIGHBOR",null),KPt=new aK("RIGHTNEIGHBOR",null),IPt=new aK("LEFTSIBLING",null),FPt=new aK("RIGHTSIBLING",null),EPt=new aK("DUMMY",!1),new aK("LEVEL",Ddn(0)),_Pt=new aK("REMOVABLE_EDGES",new hS),GPt=new aK("XCOOR",Ddn(0)),HPt=new aK("YCOOR",Ddn(0)),APt=new aK("LEVELHEIGHT",0),NPt=new aK("LEVELMIN",0),LPt=new aK("LEVELMAX",0),TPt=new aK("GRAPH_XMIN",0),PPt=new aK("GRAPH_YMIN",0),jPt=new aK("GRAPH_XMAX",0),SPt=new aK("GRAPH_YMAX",0),yPt=new aK("COMPACT_LEVEL_ASCENSION",!1),vPt=new aK("COMPACT_CONSTRAINTS",new Jm),CPt=new aK("ID",""),$Pt=new aK("POSITION",Ddn(0)),RPt=new aK("PRELIM",0),DPt=new aK("MODIFIER",0),mPt=new Sm(T4n),pPt=new Sm(S4n)}function OQn(n){var t,e,i,r,c,a,o,u,s,h,f,l,b,d,w;if(AUn(),null==n)return null;if(0==(f=8*n.length))return"";for(l=f/24|0,c=null,c=Pnn(XGt,A1n,28,4*(0!=(o=f%24)?l+1:l),15,1),s=0,h=0,t=0,e=0,i=0,a=0,r=0,u=0;u>24,s=(3&t)<<24>>24,b=-128&t?(t>>2^192)<<24>>24:t>>2<<24>>24,d=-128&e?(e>>4^240)<<24>>24:e>>4<<24>>24,w=-128&(i=n[r++])?(i>>6^252)<<24>>24:i>>6<<24>>24,c[a++]=bGt[b],c[a++]=bGt[d|s<<4],c[a++]=bGt[h<<2|w],c[a++]=bGt[63&i];return 8==o?(s=(3&(t=n[r]))<<24>>24,b=-128&t?(t>>2^192)<<24>>24:t>>2<<24>>24,c[a++]=bGt[b],c[a++]=bGt[s<<4],c[a++]=61,c[a++]=61):16==o&&(t=n[r],h=(15&(e=n[r+1]))<<24>>24,s=(3&t)<<24>>24,b=-128&t?(t>>2^192)<<24>>24:t>>2<<24>>24,d=-128&e?(e>>4^240)<<24>>24:e>>4<<24>>24,c[a++]=bGt[b],c[a++]=bGt[d|s<<4],c[a++]=bGt[h<<2],c[a++]=61),gvn(c,0,c.length)}function IQn(n,e){var i,r,c,a,o,u;if(0==n.e&&n.p>0&&(n.p=-(n.p-1)),n.p>E1n&&R5(e,n.p-z1n),o=e.q.getDate(),m0(e,1),n.k>=0&&F0(e,n.k),n.c>=0?m0(e,n.c):n.k>=0?(r=35-new Ifn(e.q.getFullYear()-z1n,e.q.getMonth(),35).q.getDate(),m0(e,t.Math.min(r,o))):m0(e,o),n.f<0&&(n.f=e.q.getHours()),n.b>0&&n.f<12&&(n.f+=12),ZD(e,24==n.f&&n.g?0:n.f),n.j>=0&&v7(e,n.j),n.n>=0&&Ann(e,n.n),n.i>=0&&kL(e,Ign(Agn(fSn(Ksn(e.q.getTime()),L1n),L1n),n.i)),n.a&&(R5(c=new XT,c.q.getFullYear()-z1n-80),LP(Ksn(e.q.getTime()),Ksn(c.q.getTime()))&&R5(e,c.q.getFullYear()-z1n+100)),n.d>=0)if(-1==n.c)(i=(7+n.d-e.q.getDay())%7)>3&&(i-=7),u=e.q.getMonth(),m0(e,e.q.getDate()+i),e.q.getMonth()!=u&&m0(e,e.q.getDate()+(i>0?-7:7));else if(e.q.getDay()!=n.d)return!1;return n.o>E1n&&(a=e.q.getTimezoneOffset(),kL(e,Ign(Ksn(e.q.getTime()),60*(n.o-a)*L1n))),!0}function AQn(n,t){var e,i,r,c,a,o,u,s,h,f,l,b,d,w,g,p;if(RD(r=cOn(t,(GYn(),emt)),207)){for(b=aU(r,27),d=t.e,f=new nN(t.c),c=t.d,f.a+=c.b,f.b+=c.d,L$(aU(qxn(b,(EYn(),$Et)),181),(rHn(),ZRt))&&(Ob(l=aU(qxn(b,_Et),107),c.a),_b(l,c.d),Ib(l,c.b),Rb(l,c.c)),e=new Jm,s=new Wd(t.a);s.ai.c.length-1;)mx(i,new WI(K3n,G9n));e=aU(cOn(r,OCt),17).a,uN(aU(cOn(n,iCt),88))?(r.e.aaE(w_((a3(e,i.c.length),aU(i.c[e],42)).b))&&od((a3(e,i.c.length),aU(i.c[e],42)),r.e.a+r.f.a)):(r.e.baE(w_((a3(e,i.c.length),aU(i.c[e],42)).b))&&od((a3(e,i.c.length),aU(i.c[e],42)),r.e.b+r.f.b))}for(c=Ryn(n.b,0);c.b!=c.d.c;)r=aU(P6(c),40),e=aU(cOn(r,(XUn(),OCt)),17).a,mfn(r,(CQn(),NPt),w_((a3(e,i.c.length),aU(i.c[e],42)).a)),mfn(r,LPt,w_((a3(e,i.c.length),aU(i.c[e],42)).b));t.Vg()}function xQn(n){var e,i,r,c,a,o,u,s,f,l,b,d,w,g,p;for(n.o=aE(w_(cOn(n.i,(EYn(),MMt)))),n.f=aE(w_(cOn(n.i,pMt))),n.j=n.i.b.c.length,u=n.j-1,d=0,n.k=0,n.n=0,n.b=Y9(Pnn(bot,qZn,17,n.j,0,1)),n.c=Y9(Pnn(sot,qZn,345,n.j,7,1)),o=new Wd(n.i.b);o.a0&&mx(n.q,l),mx(n.p,l);w=s+(e-=r),f+=e*n.f,Q8(n.b,u,Ddn(w)),Q8(n.c,u,f),n.k=t.Math.max(n.k,w),n.n=t.Math.max(n.n,f),n.e+=e,e+=p}}function $Qn(){var n;$Qn=T,RRt=new xI(Q2n,0),vRt=new xI(c3n,1),mRt=new xI(a3n,2),$Rt=new xI(o3n,3),_Rt=new xI(u3n,4),uZ(),jRt=new YE(new YF(n=aU(yj(QRt),9),aU(yK(n,n.length),9),0)),TRt=Adn(Wz(vRt,Bhn(iM(QRt,1),q4n,64,0,[]))),yRt=Adn(Wz(mRt,Bhn(iM(QRt,1),q4n,64,0,[]))),NRt=Adn(Wz($Rt,Bhn(iM(QRt,1),q4n,64,0,[]))),xRt=Adn(Wz(_Rt,Bhn(iM(QRt,1),q4n,64,0,[]))),IRt=Adn(Wz(vRt,Bhn(iM(QRt,1),q4n,64,0,[$Rt]))),MRt=Adn(Wz(mRt,Bhn(iM(QRt,1),q4n,64,0,[_Rt]))),LRt=Adn(Wz(vRt,Bhn(iM(QRt,1),q4n,64,0,[_Rt]))),SRt=Adn(Wz(vRt,Bhn(iM(QRt,1),q4n,64,0,[mRt]))),DRt=Adn(Wz($Rt,Bhn(iM(QRt,1),q4n,64,0,[_Rt]))),kRt=Adn(Wz(mRt,Bhn(iM(QRt,1),q4n,64,0,[$Rt]))),ORt=Adn(Wz(vRt,Bhn(iM(QRt,1),q4n,64,0,[mRt,_Rt]))),ERt=Adn(Wz(mRt,Bhn(iM(QRt,1),q4n,64,0,[$Rt,_Rt]))),ARt=Adn(Wz(vRt,Bhn(iM(QRt,1),q4n,64,0,[$Rt,_Rt]))),PRt=Adn(Wz(vRt,Bhn(iM(QRt,1),q4n,64,0,[mRt,$Rt]))),CRt=Adn(Wz(vRt,Bhn(iM(QRt,1),q4n,64,0,[mRt,$Rt,_Rt])))}function RQn(n,t){var e,i,r,c,a,o,u,s,h,f,l,b,d,w,g,p,m,v,y,k;for(t.Ug(E6n,1),d=new Jm,y=new Jm,s=new Wd(n.b);s.a0&&(k-=w),zWn(o,k),l=0,d=new Wd(o.a);d.a0),u.a.Xb(u.c=--u.b)),s=.4*r*l,!a&&u.b0&&(o3(0,t.length),64!=(o=t.charCodeAt(0)))){if(37==o&&(u=!1,0!=(h=t.lastIndexOf("%"))&&(h==f-1||(o3(h+1,t.length),u=46==t.charCodeAt(h+1))))){if($nn(1,h,t.length),m=gF("%",a=t.substr(1,h-1))?null:nJn(a),i=0,u)try{i=gHn((o3(h+2,t.length+1),t.substr(h+2)),E1n,pZn)}catch(n){throw RD(n=Mhn(n),130)?uv(new Ten(n)):uv(n)}for(w=mon(n.Gh());w.Ob();)if(RD(b=$sn(w),519)&&(p=(r=aU(b,598)).d,(null==m?null==p:gF(m,p))&&0==i--))return r;return null}if(l=-1==(s=t.lastIndexOf("."))?t:($nn(0,s,t.length),t.substr(0,s)),e=0,-1!=s)try{e=gHn((o3(s+1,t.length+1),t.substr(s+1)),E1n,pZn)}catch(n){if(!RD(n=Mhn(n),130))throw uv(n);l=t}for(l=gF("%",l)?null:nJn(l),d=mon(n.Gh());d.Ob();)if(RD(b=$sn(d),197)&&(g=(c=aU(b,197)).xe(),(null==l?null==g:gF(l,g))&&0==e--))return c;return null}return EVn(n,t)}function WQn(n){var t,e,i,r,c,a,o,u,s,f,l,b,d,w,g,p,m;for(s=new Qm,o=new $1,i=new Wd(n.a.a.b);i.at.d.c){if((b=n.c[t.a.d])==(g=n.c[f.a.d]))continue;x_n(DS(NS(xS(LS(new ay,1),100),b),g))}}}function XQn(n,e){var i,r,c,a,o,u,s,h,f,l,b,d,w,g,p,m,v,y,k,E,M;if(b=aU(aU(Q9(n.r,e),21),87),e!=($Qn(),mRt)&&e!=_Rt){for(a=e==vRt?(nhn(),lht):(nhn(),wht),k=e==vRt?(Qen(),Rst):(Qen(),xst),c=(r=(i=aU(OJ(n.b,e),127)).i).c+krn(Bhn(iM(ZGt,1),P0n,28,15,[i.n.b,n.C.b,n.k])),m=r.c+r.b-krn(Bhn(iM(ZGt,1),P0n,28,15,[i.n.c,n.C.c,n.k])),o=kM(KB(a),n.t),v=e==vRt?k0n:y0n,l=b.Kc();l.Ob();)!(h=aU(l.Pb(),117)).c||h.c.d.c.length<=0||(p=h.b.Mf(),g=h.e,(w=(d=h.c).i).b=(s=d.n,d.e.a+s.b+s.c),w.a=(u=d.n,d.e.b+u.d+u.a),JZ(k,W2n),d.f=k,ntn(d,($tn(),Ist)),w.c=g.a-(w.b-p.a)/2,E=t.Math.min(c,g.a),M=t.Math.max(m,g.a+p.a),w.cM&&(w.c=M-w.b),mx(o.d,new Jz(w,Fwn(o,w))),v=e==vRt?t.Math.max(v,g.b+h.b.Mf().b):t.Math.min(v,g.b));for(v+=e==vRt?n.t:-n.t,(y=imn((o.e=v,o)))>0&&(aU(OJ(n.b,e),127).a.b=y),f=b.Kc();f.Ob();)!(h=aU(f.Pb(),117)).c||h.c.d.c.length<=0||((w=h.c.i).c-=h.e.a,w.d-=h.e.b)}else yQn(n,e)}function VQn(n){var t,e,i,r,c,a,o,u,s,f;for(t=new Qm,a=new Nx(n);a.e!=a.i.gc();){for(c=aU(Jyn(a),27),e=new ny,pJ(ift,c,e),f=new at,i=aU(h8(new sz(null,new IV(new RW(t$(Z$n(c).a.Kc(),new h)))),Fz(f,stn(new X,new W,new en,Bhn(iM(xut,1),w1n,108,0,[(vbn(),Put)])))),85),Qcn(e,aU(i.xc((H$(),!0)),16),new ot),r=aU(h8(VJ(aU(i.xc(!1),15).Lc(),new ut),stn(new X,new W,new en,Bhn(iM(xut,1),w1n,108,0,[Put]))),15).Kc();r.Ob();)(s=lOn(aU(r.Pb(),74)))&&((o=aU(NA(Rz(t.f,s)),21))||(o=kKn(s),zAn(t.f,s,o)),Xon(e,o));for(i=aU(h8(new sz(null,new IV(new RW(t$(nRn(c).a.Kc(),new h)))),Fz(f,stn(new X,new W,new en,Bhn(iM(xut,1),w1n,108,0,[Put])))),85),Qcn(e,aU(i.xc(!0),16),new st),u=aU(h8(VJ(aU(i.xc(!1),15).Lc(),new ht),stn(new X,new W,new en,Bhn(iM(xut,1),w1n,108,0,[Put]))),15).Kc();u.Ob();)(s=bOn(aU(u.Pb(),74)))&&((o=aU(NA(Rz(t.f,s)),21))||(o=kKn(s),zAn(t.f,s,o)),Xon(e,o))}}function QQn(n,t){var e,i,r,c,a,o,u,s,h,f,l,b,d,w;if(wzn(),(u=bdn(n,0)<0)&&(n=yen(n)),0==bdn(n,0))switch(t){case 0:return"0";case 1:return A0n;case 2:return"0.00";case 3:return"0.000";case 4:return"0.0000";case 5:return"0.00000";case 6:return"0.000000";default:return(b=new WE).a+=t<0?"0E+":"0E",b.a+=t==E1n?"2147483648":""+-t,b.a}f=Pnn(XGt,A1n,28,1+(h=18),15,1),e=h,w=n;do{s=w,w=fSn(w,10),f[--e]=wW(Ign(48,Lgn(s,Agn(w,10))))&N1n}while(0!=bdn(w,0));if(r=Lgn(Lgn(Lgn(h,e),t),1),0==t)return u&&(f[--e]=45),gvn(f,e,h-e);if(t>0&&bdn(r,-6)>=0){if(bdn(r,0)>=0){for(c=e+wW(r),o=h-1;o>=c;o--)f[o+1]=f[o];return f[++c]=46,u&&(f[--e]=45),gvn(f,e,h-e+1)}for(a=2;LP(a,Ign(yen(r),1));a++)f[--e]=48;return f[--e]=46,f[--e]=48,u&&(f[--e]=45),gvn(f,e,h-e)}return d=e+1,i=h,l=new XE,u&&(l.a+="-"),i-d>=1?(EQ(l,f[e]),l.a+=".",l.a+=gvn(f,e+1,h-e-1)):l.a+=gvn(f,e,h-e),l.a+="E",bdn(r,0)>0&&(l.a+="+"),l.a+=""+cX(r),l.a}function JQn(n,e,i,r,c){var a,o,u,s,h,f,l,b,d,w,g,p,m,v,y,k,E,M;if(p=new yI(n.g,n.f),(g=DAn(n)).a=t.Math.max(g.a,e),g.b=t.Math.max(g.b,i),M=g.a/p.a,f=g.b/p.b,k=g.a-p.a,s=g.b-p.b,r)for(o=x0(n)?aU(qxn(x0(n),(UYn(),bDt)),88):aU(qxn(n,(UYn(),bDt)),88),u=DA(qxn(n,(UYn(),oxt)))===DA((LPn(),iRt)),v=new Nx((!n.c&&(n.c=new sX(fKt,n,9,9)),n.c));v.e!=v.i.gc();)switch(m=aU(Jyn(v),123),(y=aU(qxn(m,dxt),64))==($Qn(),RRt)&&(y=xUn(m,o),ykn(m,dxt,y)),y.g){case 1:u||vcn(m,m.i*M);break;case 2:vcn(m,m.i+k),u||ycn(m,m.j*f);break;case 3:u||vcn(m,m.i*M),ycn(m,m.j+s);break;case 4:u||ycn(m,m.j*f)}if(pN(n,g.a,g.b),c)for(b=new Nx((!n.n&&(n.n=new sX(sKt,n,1,7)),n.n));b.e!=b.i.gc();)d=(l=aU(Jyn(b),135)).i+l.g/2,w=l.j+l.f/2,(E=d/p.a)+(h=w/p.b)>=1&&(E-h>0&&w>=0?(vcn(l,l.i+k),ycn(l,l.j+s*h)):E-h<0&&d>=0&&(vcn(l,l.i+k*E),ycn(l,l.j+s)));return ykn(n,(UYn(),_Dt),(Xmn(),new YF(a=aU(yj(o_t),9),aU(yK(a,a.length),9),0))),new yI(M,f)}function YQn(n){uP(n,new uCn(DM(RM(NM($M(xM(new bu,D7n),"ELK Radial"),'A radial layout provider which is based on the algorithm of Peter Eades published in "Drawing free trees.", published by International Institute for Advanced Study of Social Information Science, Fujitsu Limited in 1991. The radial layouter takes a tree and places the nodes in radial order around the root. The nodes of the same tree level are placed on the same radius.'),new Io),D7n))),B4(n,D7n,f9n,Vyn(KOt)),B4(n,D7n,c4n,Vyn(zOt)),B4(n,D7n,w4n,Vyn(LOt)),B4(n,D7n,D4n,Vyn(NOt)),B4(n,D7n,d4n,Vyn(DOt)),B4(n,D7n,g4n,Vyn(AOt)),B4(n,D7n,l4n,Vyn(xOt)),B4(n,D7n,p4n,Vyn(_Ot)),B4(n,D7n,T7n,Vyn(OOt)),B4(n,D7n,j7n,Vyn(IOt)),B4(n,D7n,M7n,Vyn(BOt)),B4(n,D7n,O7n,Vyn(UOt)),B4(n,D7n,I7n,Vyn(GOt)),B4(n,D7n,A7n,Vyn(HOt)),B4(n,D7n,C7n,Vyn($Ot)),B4(n,D7n,k7n,Vyn(ROt)),B4(n,D7n,E7n,Vyn(FOt)),B4(n,D7n,S7n,Vyn(qOt)),B4(n,D7n,P7n,Vyn(WOt)),B4(n,D7n,y7n,Vyn(COt))}function ZQn(n){var t,e,i,r,c,a,o,u,s,h,f;if(null==n)throw uv(new JE(PZn));if(s=n,u=!1,(c=n.length)>0&&(o3(0,n.length),45!=(t=n.charCodeAt(0))&&43!=t||(o3(1,n.length+1),n=n.substr(1),--c,u=45==t)),0==c)throw uv(new JE(v0n+s+'"'));for(;n.length>0&&(o3(0,n.length),48==n.charCodeAt(0));)o3(1,n.length+1),n=n.substr(1),--c;if(c>(hUn(),pot)[10])throw uv(new JE(v0n+s+'"'));for(r=0;r0&&(f=-parseInt(($nn(0,i,n.length),n.substr(0,i)),10),o3(i,n.length+1),n=n.substr(i),c-=i,e=!1);c>=a;){if(i=parseInt(($nn(0,a,n.length),n.substr(0,a)),10),o3(a,n.length+1),n=n.substr(a),c-=a,e)e=!1;else{if(bdn(f,o)<0)throw uv(new JE(v0n+s+'"'));f=Agn(f,h)}f=Lgn(f,i)}if(bdn(f,0)>0)throw uv(new JE(v0n+s+'"'));if(!u&&bdn(f=yen(f),0)<0)throw uv(new JE(v0n+s+'"'));return f}function nJn(n){var t,e,i,r,c,a,o,u;if(Qzn(),null==n)return null;if((r=DL(n,LCn(37)))<0)return n;for(u=new h$(($nn(0,r,n.length),n.substr(0,r))),t=Pnn(YGt,eet,28,4,15,1),o=0,i=0,a=n.length;rr+2&&gfn((o3(r+1,n.length),n.charCodeAt(r+1)),WKt,XKt)&&gfn((o3(r+2,n.length),n.charCodeAt(r+2)),WKt,XKt))if(e=OU((o3(r+1,n.length),n.charCodeAt(r+1)),(o3(r+2,n.length),n.charCodeAt(r+2))),r+=2,i>0?128==(192&e)?t[o++]=e<<24>>24:i=0:e>=128&&(192==(224&e)?(t[o++]=e<<24>>24,i=2):224==(240&e)?(t[o++]=e<<24>>24,i=3):240==(248&e)&&(t[o++]=e<<24>>24,i=4)),i>0){if(o==i){switch(o){case 2:EQ(u,((31&t[0])<<6|63&t[1])&N1n);break;case 3:EQ(u,((15&t[0])<<12|(63&t[1])<<6|63&t[2])&N1n)}o=0,i=0}}else{for(c=0;c=2){if(0==(!n.a&&(n.a=new sX(rKt,n,6,6)),n.a).i)dj(),i=new is,Znn((!n.a&&(n.a=new sX(rKt,n,6,6)),n.a),i);else if((!n.a&&(n.a=new sX(rKt,n,6,6)),n.a).i>1)for(l=new J$((!n.a&&(n.a=new sX(rKt,n,6,6)),n.a));l.e!=l.i.gc();)LSn(l);oqn(e,aU(qrn((!n.a&&(n.a=new sX(rKt,n,6,6)),n.a),0),166))}if(f)for(r=new Nx((!n.a&&(n.a=new sX(rKt,n,6,6)),n.a));r.e!=r.i.gc();)for(s=new Nx((!(i=aU(Jyn(r),166)).a&&(i.a=new yx(Z_t,i,5)),i.a));s.e!=s.i.gc();)u=aU(Jyn(s),377),o.a=t.Math.max(o.a,u.a),o.b=t.Math.max(o.b,u.b);for(a=new Nx((!n.n&&(n.n=new sX(sKt,n,1,7)),n.n));a.e!=a.i.gc();)c=aU(Jyn(a),135),(h=aU(qxn(c,S$t),8))&&mN(c,h.a,h.b),f&&(o.a=t.Math.max(o.a,c.i+c.g),o.b=t.Math.max(o.b,c.j+c.f));return o}function eJn(n,t,e,i,r){var c,a,o;if(lin(n,t),a=t[0],c=zJ(e.c,0),o=-1,Vfn(e))if(i>0){if(a+i>n.length)return!1;o=xNn(($nn(0,a+i,n.length),n.substr(0,a+i)),t)}else o=xNn(n,t);switch(c){case 71:return o=UIn(n,a,Bhn(iM(Lot,1),qZn,2,6,[X1n,V1n]),t),r.e=o,!0;case 77:return iFn(n,t,r,o,a);case 76:return rFn(n,t,r,o,a);case 69:return UAn(n,t,a,r);case 99:return qAn(n,t,a,r);case 97:return o=UIn(n,a,Bhn(iM(Lot,1),qZn,2,6,["AM","PM"]),t),r.b=o,!0;case 121:return cFn(n,t,a,o,e,r);case 100:return!(o<=0||(r.c=o,0));case 83:return!(o<0)&&Zpn(o,a,t[0],r);case 104:12==o&&(o=0);case 75:case 72:return!(o<0||(r.f=o,r.g=!1,0));case 107:return!(o<0||(r.f=o,r.g=!0,0));case 109:return!(o<0||(r.j=o,0));case 115:return!(o<0||(r.n=o,0));case 90:if(aM[s]&&(w=s),f=new Wd(n.a.b);f.a1;){if(c=YRn(e),l=a.g,w=aU(qxn(e,uAt),107),g=aE(w_(qxn(e,zIt))),(!e.a&&(e.a=new sX(hKt,e,10,11)),e.a).i>1&&aE(w_(qxn(e,(hBn(),EIt))))!=y0n&&(a.c+(w.b+w.c))/(a.b+(w.d+w.a))1&&aE(w_(qxn(e,(hBn(),kIt))))!=y0n&&(a.c+(w.b+w.c))/(a.b+(w.d+w.a))>g&&ykn(c,(hBn(),TIt),t.Math.max(aE(w_(qxn(e,MIt))),aE(w_(qxn(c,TIt)))-aE(w_(qxn(e,kIt))))),(h=(s=mYn(d=new pI(r,f),c,b)).g)>=l&&h==h){for(o=0;o<(!c.a&&(c.a=new sX(hKt,c,10,11)),c.a).i;o++)gNn(n,aU(qrn((!c.a&&(c.a=new sX(hKt,c,10,11)),c.a),o),27),aU(qrn((!e.a&&(e.a=new sX(hKt,e,10,11)),e.a),o),27));Prn(e,d),D1(a,s.c),N1(a,s.b)}--u}ykn(e,(hBn(),gIt),a.b),ykn(e,pIt,a.c),i.Vg()}function aJn(n,e){var i,r,c,a,o,u,s,h,f,l,b,d,w,g,p,m,v;for(e.Ug("Interactive node layering",1),i=new Jm,b=new Wd(n.a);b.a=u){y_(v.b>0),v.a.Xb(v.c=--v.b);break}p.a>s&&(r?(Chn(r.b,p.b),r.a=t.Math.max(r.a,p.a),IQ(v)):(mx(p.b,f),p.c=t.Math.min(p.c,s),p.a=t.Math.max(p.a,u),r=p))}r||((r=new yy).c=s,r.a=u,wK(v,r),mx(r.b,f))}for(o=n.b,h=0,m=new Wd(i);m.ad&&(a&&(iL(E,b),iL(j,Ddn(h.b-1))),O=i.b,I+=b+e,b=0,f=t.Math.max(f,i.b+i.c+C)),vcn(u,O),ycn(u,I),f=t.Math.max(f,O+C+i.c),b=t.Math.max(b,l),O+=C+e;if(f=t.Math.max(f,r),(P=I+b+i.a)Z3n,S=t.Math.abs(b.b-w.b)>Z3n,(!i&&T&&S||i&&(T||S))&&rq(p.a,k)),Xon(p.a,r),0==r.b?b=k:(y_(0!=r.b),b=aU(r.c.b.c,8)),uhn(d,l,g),mun(c)==j&&(FQ(j.i)!=c.a&&wAn(g=new oj,FQ(j.i),v),mfn(p,jmt,g)),oIn(d,p,v),f.a.zc(d,f);i2(p,E),a2(p,j)}for(h=f.a.ec().Kc();h.Ob();)i2(s=aU(h.Pb(),18),null),a2(s,null);e.Vg()}function sJn(n,t){var e,i,r,c,a,o,u,s,h,f,l;for(h=(r=aU(cOn(n,(XUn(),iCt)),88))==(Dwn(),Vxt)||r==Qxt?Xxt:Qxt,e=aU(h8(VJ(new sz(null,new u3(n.b,16)),new Da),stn(new X,new W,new en,Bhn(iM(xut,1),w1n,108,0,[(vbn(),Put)]))),15),(u=aU(h8(QJ(e.Oc(),new Tp(t)),stn(new X,new W,new en,Bhn(iM(xut,1),w1n,108,0,[Put]))),15)).Gc(aU(h8(QJ(e.Oc(),new Sp(t)),stn(new X,new W,new en,Bhn(iM(xut,1),w1n,108,0,[Put]))),16)),u.jd(new Pp(h)),l=new Fj(new Cp(r)),i=new Qm,o=u.Kc();o.Ob();)a=aU(o.Pb(),240),s=aU(a.a,40),cE(d_(a.c))?(l.a.zc(s,(H$(),Zat)),new cw(l.a.Zc(s,!1)).a.gc()>0&&pJ(i,s,aU(new cw(l.a.Zc(s,!1)).a.Vc(),40)),new cw(l.a.ad(s,!0)).a.gc()>1&&pJ(i,lmn(l,s),s)):(new cw(l.a.Zc(s,!1)).a.gc()>0&&DA(c=aU(new cw(l.a.Zc(s,!1)).a.Vc(),40))===DA(NA(Rz(i.f,s)))&&aU(cOn(s,(CQn(),vPt)),15).Fc(c),new cw(l.a.ad(s,!0)).a.gc()>1&&(f=lmn(l,s),DA(NA(Rz(i.f,f)))===DA(s)&&aU(cOn(f,(CQn(),vPt)),15).Fc(s)),l.a.Bc(s))}function hJn(n){var e,i,r,c,a,o,u,s,h,f,l,b,d,w,g,p,m,v,y,k;if(1==n.gc())return aU(n.Xb(0),235);if(n.gc()<=0)return new b7;for(c=n.Kc();c.Ob();){for(i=aU(c.Pb(),235),w=0,f=pZn,l=pZn,s=E1n,h=E1n,d=new Wd(i.e);d.au&&(y=0,k+=o+m,o=0),ZGn(g,i,y,k),e=t.Math.max(e,y+p.a),o=t.Math.max(o,p.b),y+=p.a+m;return g}function fJn(n){var t,e,i,r,c,a,o,u,s,h,f,l,b,d,w,g;if(AUn(),null==n)return null;if((d=ugn(c=_en(n)))%4!=0)return null;if(0==(w=d/4|0))return Pnn(YGt,eet,28,0,15,1);for(f=null,t=0,e=0,i=0,r=0,a=0,o=0,u=0,s=0,b=0,l=0,h=0,f=Pnn(YGt,eet,28,3*w,15,1);b>4)<<24>>24,f[l++]=((15&e)<<4|i>>2&15)<<24>>24,f[l++]=(i<<6|r)<<24>>24}return gT(a=c[h++])&&gT(o=c[h++])?(t=lGt[a],e=lGt[o],u=c[h++],s=c[h++],-1==lGt[u]||-1==lGt[s]?61==u&&61==s?15&e?null:(HUn(f,0,g=Pnn(YGt,eet,28,3*b+1,15,1),0,3*b),g[l]=(t<<2|e>>4)<<24>>24,g):61!=u&&61==s?3&(i=lGt[u])?null:(HUn(f,0,g=Pnn(YGt,eet,28,3*b+2,15,1),0,3*b),g[l++]=(t<<2|e>>4)<<24>>24,g[l]=((15&e)<<4|i>>2&15)<<24>>24,g):null:(i=lGt[u],r=lGt[s],f[l++]=(t<<2|e>>4)<<24>>24,f[l++]=((15&e)<<4|i>>2&15)<<24>>24,f[l++]=(i<<6|r)<<24>>24,f)):null}function lJn(n,t){var e,i,r,c,a,o,u,s,h,f,l,b,d,w,g,p,m,v;for(t.Ug(E6n,1),l=aU(cOn(n,(EYn(),zkt)),223),i=new Wd(n.b);i.a=2){for(b=!0,e=aU(A3(h=new Wd(r.j)),12),f=null;h.a0)if(r=f.gc(),s=Z1(t.Math.floor((r+1)/2))-1,c=Z1(t.Math.ceil((r+1)/2))-1,e.o==bSt)for(h=c;h>=s;h--)e.a[y.p]==y&&(w=aU(f.Xb(h),42),d=aU(w.a,10),!iS(i,w.b)&&b>n.b.e[d.p]&&(e.a[d.p]=y,e.g[y.p]=e.g[d.p],e.a[y.p]=e.g[y.p],e.f[e.g[y.p].p]=(H$(),!!(cE(e.f[e.g[y.p].p])&y.k==(qOn(),lbt))),b=n.b.e[d.p]));else for(h=s;h<=c;h++)e.a[y.p]==y&&(p=aU(f.Xb(h),42),g=aU(p.a,10),!iS(i,p.b)&&b0&&(c=aU(qq(p.c.a,M-1),10),o=n.i[c.p],T=t.Math.ceil(vD(n.n,c,p)),a=E.a.e-p.d.d-(o.a.e+c.o.b+c.d.a)-T),h=y0n,M0&&j.a.e.e-j.a.a-(j.b.e.e-j.b.a)<0,w=y.a.e.e-y.a.a-(y.b.e.e-y.b.a)<0&&j.a.e.e-j.a.a-(j.b.e.e-j.b.a)>0,d=y.a.e.e+y.b.aj.b.e.e+j.a.a,k=0,!g&&!w&&(b?a+l>0?k=l:h-r>0&&(k=r):d&&(a+u>0?k=u:h-v>0&&(k=v))),E.a.e+=k,E.b&&(E.d.e+=k),1)))}function wJn(n,e,i){var r,c,a,o,u,s,h,f,l,b;if(r=new dY(e.Lf().a,e.Lf().b,e.Mf().a,e.Mf().b),c=new iN,n.c)for(o=new Wd(e.Rf());o.as&&(i.a+=zD(Pnn(XGt,A1n,28,-s,15,1))),i.a+="Is",DL(u,LCn(32))>=0)for(r=0;r=i.o.b/2}p?(g=aU(cOn(i,(GYn(),Tmt)),15))?l?c=g:(r=aU(cOn(i,Mpt),15))?c=g.gc()<=r.gc()?g:r:(c=new Jm,mfn(i,Mpt,c)):(c=new Jm,mfn(i,Tmt,c)):(r=aU(cOn(i,(GYn(),Mpt)),15))?f?c=r:(g=aU(cOn(i,Tmt),15))?c=r.gc()<=g.gc()?r:g:(c=new Jm,mfn(i,Tmt,c)):(c=new Jm,mfn(i,Mpt,c)),c.Fc(n),mfn(n,(GYn(),Tpt),e),t.d==e?(a2(t,null),e.e.c.length+e.g.c.length==0&&c2(e,null),Aln(e)):(i2(t,null),e.e.c.length+e.g.c.length==0&&c2(e,null)),KY(t.a)}function EJn(n,e,i){var r,c,a,o,u,s,h,f,l,b,d,w,g,p,m,v,y,k,E,M,j,T,S,P,C,O,I,A;for(i.Ug("MinWidth layering",1),d=e.b,j=e.a,A=aU(cOn(e,(EYn(),gEt)),17).a,u=aU(cOn(e,pEt),17).a,n.b=aE(w_(cOn(e,bMt))),n.d=y0n,k=new Wd(j);k.a0?(h=0,p&&(h+=u),h+=(T-1)*o,v&&(h+=u),j&&v&&(h=t.Math.max(h,G_n(v,o,m,M))),h=n.a&&(r=xqn(n,m),l=t.Math.max(l,r.b),y=t.Math.max(y,r.d),mx(u,new WI(m,r)));for(M=new Jm,f=0;f0),g.a.Xb(g.c=--g.b),wK(g,j=new fQ(n.b)),y_(g.b0){for(l=h<100?null:new ij(h),d=(s=new Fun(t)).g,g=Pnn(VGt,W1n,28,h,15,1),i=0,v=new Nrn(h),r=0;r=0;)if(null!=b?awn(b,d[u]):DA(b)===DA(d[u])){g.length<=i&&HUn(g,0,g=Pnn(VGt,W1n,28,2*g.length,15,1),0,i),g[i++]=r,Znn(v,d[u]);break n}if(DA(b)===DA(o))break}}if(s=v,d=v.g,h=i,i>g.length&&HUn(g,0,g=Pnn(VGt,W1n,28,i,15,1),0,i),i>0){for(m=!0,c=0;c=0;)djn(n,g[a]);if(i!=h){for(r=h;--r>=i;)djn(s,r);HUn(g,0,g=Pnn(VGt,W1n,28,i,15,1),0,i)}t=s}}}else for(t=ijn(n,t),r=n.i;--r>=0;)t.Hc(n.g[r])&&(djn(n,r),m=!0);if(m){if(null!=g){for(f=1==(e=t.gc())?t2(n,4,t.Kc().Pb(),null,g[0],w):t2(n,6,t,g,g[0],w),l=e<100?null:new ij(e),r=t.Kc();r.Ob();)l=UF(n,aU(b=r.Pb(),76),l);l?(l.nj(f),l.oj()):ysn(n.e,f)}else{for(l=HK(t.gc()),r=t.Kc();r.Ob();)l=UF(n,aU(b=r.Pb(),76),l);l&&l.oj()}return!0}return!1}function SJn(n,t){var e,i,r,c,a,o,u,s,f,l,b,d,w,g,p,m,v;for((e=new Hkn(t)).a||yHn(t),s=cBn(t),u=new $1,g=new KKn,w=new Wd(t.a);w.a0||i.o==bSt&&c=e}function OJn(n,t,e){var i,r,c,a,o,u,s,h,f,l,b,d,w,g,p,m;for(f=t,h=new $1,l=new $1,c=w6(f,vet),PIn((i=new jY(n,e,h,l)).a,i.b,i.c,i.d,c),w=(h.i||(h.i=new xx(h,h.c))).Kc();w.Ob();)for(d=aU(w.Pb(),166),o=aU(Q9(h,d),21).Kc();o.Ob();){if(a=o.Pb(),!(b=aU(bcn(n.d,a),166)))throw r=m6(f,Pet),uv(new jE(Net+a+Det+r+Let));!d.e&&(d.e=new sF(rKt,d,10,9)),Znn(d.e,b)}for(p=(l.i||(l.i=new xx(l,l.c))).Kc();p.Ob();)for(g=aU(p.Pb(),166),s=aU(Q9(l,g),21).Kc();s.Ob();){if(u=s.Pb(),!(b=aU(bcn(n.d,u),166)))throw r=m6(f,Pet),uv(new jE(Net+u+Det+r+Let));!g.g&&(g.g=new sF(rKt,g,9,10)),Znn(g.g,b)}!e.b&&(e.b=new sF(eKt,e,4,7)),0!=e.b.i&&(!e.c&&(e.c=new sF(eKt,e,5,8)),0!=e.c.i)&&(!e.b&&(e.b=new sF(eKt,e,4,7)),e.b.i<=1&&(!e.c&&(e.c=new sF(eKt,e,5,8)),e.c.i<=1))&&1==(!e.a&&(e.a=new sX(rKt,e,6,6)),e.a).i&&(uEn(m=aU(qrn((!e.a&&(e.a=new sX(rKt,e,6,6)),e.a),0),166))||sEn(m)||(Uan(m,aU(qrn((!e.b&&(e.b=new sF(eKt,e,4,7)),e.b),0),84)),qan(m,aU(qrn((!e.c&&(e.c=new sF(eKt,e,5,8)),e.c),0),84))))}function IJn(n){var e,i,r,c,a,o,u,s,h,f,l,b,d,w,g,p,m,v,y,k,E,M,j,T,S;for(y=0,k=(v=n.a).length;y0?(f=aU(qq(l.c.a,a-1),10),j=vD(n.b,l,f),g=l.n.b-l.d.d-(f.n.b+f.o.b+f.d.a+j)):g=l.n.b-l.d.d,s=t.Math.min(g,s),a1&&(o=t.Math.min(o,t.Math.abs(aU(ukn(u.a,1),8).b-f.b)))));else for(w=new Wd(e.j);w.ac&&(a=b.a-c,o=pZn,r.c.length=0,c=b.a),b.a>=c&&(gv(r.c,u),u.a.b>1&&(o=t.Math.min(o,t.Math.abs(aU(ukn(u.a,u.a.b-2),8).b-b.b)))));if(0!=r.c.length&&a>e.o.a/2&&o>e.o.b/2){for(c2(d=new hIn,e),ALn(d,($Qn(),vRt)),d.n.a=e.o.a/2,c2(g=new hIn,e),ALn(g,$Rt),g.n.a=e.o.a/2,g.n.b=e.o.b,s=new Wd(r);s.a=h.b?i2(u,g):i2(u,d)):(h=aU(nU(u.a),8),(0==u.a.b?Y2(u.c):aU(wR(u.a),8)).b>=h.b?a2(u,g):a2(u,d)),(l=aU(cOn(u,(EYn(),fEt)),75))&&Wpn(l,h,!0);e.n.a=c-e.o.a/2}}function LJn(n,e,i){var r,c,a,o,u,s,h,f,l;for(u=Ryn(n.b,0);u.b!=u.d.c;)if(!gF((o=aU(P6(u),40)).c,F9n))for(h=Dxn(o,n),e==(Dwn(),Vxt)||e==Qxt?sD(h,new co):sD(h,new ao),s=h.c.length,r=0;r=0?Ppn(o):Gwn(Ppn(o)),n.qf(nMt,b)),s=new oj,l=!1,n.pf(WEt)?(_R(s,aU(n.of(WEt),8)),l=!0):gx(s,a.a/2,a.b/2),b.g){case 4:mfn(h,dEt,(Gpn(),Pmt)),mfn(h,Apt,(Tfn(),vgt)),h.o.b=a.b,w<0&&(h.o.a=-w),ALn(f,($Qn(),mRt)),l||(s.a=a.a),s.a-=a.a;break;case 2:mfn(h,dEt,(Gpn(),Omt)),mfn(h,Apt,(Tfn(),pgt)),h.o.b=a.b,w<0&&(h.o.a=-w),ALn(f,($Qn(),_Rt)),l||(s.a=0);break;case 1:mfn(h,Upt,(Jen(),wpt)),h.o.a=a.a,w<0&&(h.o.b=-w),ALn(f,($Qn(),$Rt)),l||(s.b=a.b),s.b-=a.b;break;case 3:mfn(h,Upt,(Jen(),bpt)),h.o.a=a.a,w<0&&(h.o.b=-w),ALn(f,($Qn(),vRt)),l||(s.b=0)}if(_R(f.n,s),mfn(h,WEt,s),t==eRt||t==rRt||t==iRt){if(d=0,t==eRt&&n.pf(QEt))switch(b.g){case 1:case 2:d=aU(n.of(QEt),17).a;break;case 3:case 4:d=-aU(n.of(QEt),17).a}else switch(b.g){case 4:case 2:d=c.b,t==rRt&&(d/=r.b);break;case 1:case 3:d=c.a,t==rRt&&(d/=r.a)}mfn(h,fmt,d)}return mfn(h,Rpt,b),h}function DJn(){function n(n){var t=this;this.dispatch=function(t){var e=t.data;switch(e.cmd){case"algorithms":var i=emn((uZ(),new Hd(new Rd(IKt.b))));n.postMessage({id:e.id,data:i});break;case"categories":var r=emn((uZ(),new Hd(new Rd(IKt.c))));n.postMessage({id:e.id,data:r});break;case"options":var c=emn((uZ(),new Hd(new Rd(IKt.d))));n.postMessage({id:e.id,data:c});break;case"register":CXn(e.algorithms),n.postMessage({id:e.id});break;case"layout":zqn(e.graph,e.layoutOptions||{},e.options||{}),n.postMessage({id:e.id,data:e.graph})}},this.saveDispatch=function(e){try{t.dispatch(e)}catch(t){n.postMessage({id:e.data.id,error:t})}}}function t(t){var e=this;this.dispatcher=new n({postMessage:function(n){e.onmessage({data:n})}}),this.postMessage=function(n){setTimeout((function(){e.dispatcher.saveDispatch({data:n})}),0)}}if(gj(),typeof document===e2n&&typeof self!==e2n){var r=new n(self);self.onmessage=r.saveDispatch}else typeof e!==e2n&&e.exports&&(Object.defineProperty(i,"__esModule",{value:!0}),e.exports={default:t,Worker:t})}function xJn(n,t,e){var i,r,c,a,o,u,s,h,f,l;for(qsn(h=new dEn(e),t),mfn(h,(GYn(),emt),t),h.o.a=t.g,h.o.b=t.f,h.n.a=t.i,h.n.b=t.j,mx(e.a,h),pJ(n.a,t,h),(0!=(!t.a&&(t.a=new sX(hKt,t,10,11)),t.a).i||cE(d_(qxn(t,(EYn(),oEt)))))&&mfn(h,Spt,(H$(),!0)),s=aU(cOn(e,Fpt),21),(f=aU(cOn(h,(EYn(),VEt)),101))==(LPn(),oRt)?mfn(h,VEt,aRt):f!=aRt&&s.Fc((eFn(),ept)),l=0,i=aU(cOn(e,Kkt),88),u=new Nx((!t.c&&(t.c=new sX(fKt,t,9,9)),t.c));u.e!=u.i.gc();)o=aU(Jyn(u),123),(DA(qxn(r=x0(t),jkt))!==DA((vvn(),Rjt))||DA(qxn(r,Rkt))===DA((mvn(),hgt))||DA(qxn(r,Rkt))===DA((mvn(),ugt))||cE(d_(qxn(r,Skt)))||DA(qxn(r,mkt))!==DA((Bvn(),Zlt))||DA(qxn(r,vEt))===DA((kGn(),Tjt))||DA(qxn(r,vEt))===DA((kGn(),Sjt))||DA(qxn(r,yEt))===DA((y_n(),VMt))||DA(qxn(r,yEt))===DA((y_n(),JMt)))&&!cE(d_(qxn(t,Ekt)))&&ykn(o,tmt,Ddn(l++)),cE(d_(qxn(o,REt)))||gQn(n,o,h,s,i,f);for(a=new Nx((!t.n&&(t.n=new sX(sKt,t,1,7)),t.n));a.e!=a.i.gc();)!cE(d_(qxn(c=aU(Jyn(a),135),REt)))&&c.a&&mx(h.b,cdn(c));return cE(d_(cOn(h,dkt)))&&s.Fc((eFn(),Jgt)),cE(d_(cOn(h,aEt)))&&(s.Fc((eFn(),tpt)),s.Fc(npt),mfn(h,VEt,aRt)),h}function $Jn(n,e,i,r,c,a,o){var u,s,h,f,l,b,d,w,g,p,m,v,y,k,E,M,j,T,S,P,C,O,I,A;for(g=0,P=0,h=new Wd(n.b);h.ag&&(a&&(iL(M,d),iL(T,Ddn(f.b-1)),mx(n.d,w),u.c.length=0),I=i.b,A+=d+e,d=0,l=t.Math.max(l,i.b+i.c+O)),gv(u.c,s),akn(s,I,A),l=t.Math.max(l,I+O+i.c),d=t.Math.max(d,b),I+=O+e,w=s;if(Chn(n.a,u),mx(n.d,aU(qq(u,u.c.length-1),163)),l=t.Math.max(l,r),(C=A+d+i.a)r.d.d+r.d.a?f.f.d=!0:(f.f.d=!0,f.f.a=!0))),i.b!=i.d.c&&(t=e);f&&(c=aU(iQ(n.f,a.d.i),60),t.bc.d.d+c.d.a?f.f.d=!0:(f.f.d=!0,f.f.a=!0))}for(o=new RW(t$(Hgn(b).a.Kc(),new h));uxn(o);)0!=(a=aU(A9(o),18)).a.b&&(t=aU(wR(a.a),8),a.d.j==($Qn(),vRt)&&((g=new Fqn(t,new yI(t.a,r.d.d),r,a)).f.a=!0,g.a=a.d,gv(w.c,g)),a.d.j==$Rt&&((g=new Fqn(t,new yI(t.a,r.d.d+r.d.a),r,a)).f.d=!0,g.a=a.d,gv(w.c,g)))}return w}function GJn(n,t,e){var i,r,c,a,o,u,s,h,f,l;for(u=new Jm,f=t.length,a=Rfn(e),s=0;s=d&&(m>d&&(b.c.length=0,d=m),gv(b.c,a));0!=b.c.length&&(l=aU(qq(b,tEn(t,b.c.length)),131),P.a.Bc(l),l.s=w++,z$n(l,T,E),b.c.length=0)}for(y=n.c.length+1,o=new Wd(n);o.aS.s&&(IQ(e),gen(S.i,i),i.c>0&&(i.a=S,mx(S.t,i),i.b=M,mx(M.i,i)))}function qJn(n,t,e,i,r){var c,a,o,u,s,h,f,l,b,d,w,g,p,m,v,y,k,E,M,j,T;for(d=new x7(t.b),m=new x7(t.b),l=new x7(t.b),E=new x7(t.b),w=new x7(t.b),k=Ryn(t,0);k.b!=k.d.c;)for(o=new Wd((v=aU(P6(k),12)).g);o.a0,g=v.g.c.length>0,s&&g?gv(l.c,v):s?gv(d.c,v):g&&gv(m.c,v);for(b=new Wd(d);b.av.nh()-h.b&&(b=v.nh()-h.b),d>v.oh()-h.d&&(d=v.oh()-h.d),f0){for(y=Ryn(n.f,0);y.b!=y.d.c;)aU(P6(y),10).p+=d-n.e;mAn(n),KY(n.f),CFn(n,r,w)}else{for(rq(n.f,w),w.p=r,n.e=t.Math.max(n.e,r),a=new RW(t$(Hgn(w).a.Kc(),new h));uxn(a);)(c=aU(A9(a),18)).c.i.c||c.c.i.k!=(qOn(),fbt)||(rq(n.f,c.c.i),c.c.i.p=r-1);n.c=r}else mAn(n),KY(n.f),r=0,uxn(new RW(t$(Hgn(w).a.Kc(),new h)))?CFn(n,r=(d=Tkn(d=0,w))+2,w):(rq(n.f,w),w.p=0,n.e=t.Math.max(n.e,0),n.b=aU(qq(n.d.b,0),30),n.c=0);for(0==n.f.b||mAn(n),n.d.a.c.length=0,v=new Jm,f=new Wd(n.d.b);f.a=48&&t<=57))throw uv(new SE(eZn((ZN(),Ait))));for(i=t-48;r=48&&t<=57;)if((i=10*i+t-48)<0)throw uv(new SE(eZn((ZN(),xit))));if(e=i,44==t){if(r>=n.j)throw uv(new SE(eZn((ZN(),Nit))));if((t=zJ(n.i,r++))>=48&&t<=57){for(e=t-48;r=48&&t<=57;)if((e=10*e+t-48)<0)throw uv(new SE(eZn((ZN(),xit))));if(i>e)throw uv(new SE(eZn((ZN(),Dit))))}else e=-1}if(125!=t)throw uv(new SE(eZn((ZN(),Lit))));n.bm(r)?(XYn(),XYn(),c=new Y5(9,c),n.d=r+1):(XYn(),XYn(),c=new Y5(3,c),n.d=r),c.Om(i),c.Nm(e),MYn(n)}}return c}function tYn(n){var t,e,i;switch(e=aU(cOn(n,(GYn(),Fpt)),21),t=rN(mlt),aU(cOn(n,(EYn(),eEt)),346)==(Cdn(),P$t)&&dsn(t,vlt),cE(d_(cOn(n,nEt)))?Oq(t,(aOn(),klt),(qYn(),Pdt)):Oq(t,(aOn(),Mlt),(qYn(),Pdt)),null!=cOn(n,($7(),ENt))&&dsn(t,ylt),(cE(d_(cOn(n,sEt)))||cE(d_(cOn(n,tEt))))&&lW(t,(aOn(),Tlt),(qYn(),Bbt)),aU(cOn(n,Kkt),88).g){case 2:case 3:case 4:lW(Oq(t,(aOn(),klt),(qYn(),Hbt)),Tlt,Gbt)}switch(e.Hc((eFn(),Jgt))&&lW(Oq(Oq(t,(aOn(),klt),(qYn(),Fbt)),jlt,_bt),Tlt,Kbt),DA(cOn(n,vEt))!==DA((kGn(),Ljt))&&Oq(t,(aOn(),Mlt),(qYn(),vdt)),e.Hc(rpt)&&(Oq(t,(aOn(),klt),(qYn(),Tdt)),Oq(t,Elt,Mdt),Oq(t,Mlt,jdt)),DA(cOn(n,pkt))!==DA((xOn(),zgt))&&DA(cOn(n,zkt))!==DA((_gn(),o$t))&&lW(t,(aOn(),Tlt),(qYn(),edt)),cE(d_(cOn(n,rEt)))&&Oq(t,(aOn(),Mlt),(qYn(),tdt)),cE(d_(cOn(n,xkt)))&&Oq(t,(aOn(),Mlt),(qYn(),Ndt)),SRn(n)&&(i=(DA(cOn(n,eEt))===DA(P$t)?aU(cOn(n,Ckt),299):aU(cOn(n,Okt),299))==(thn(),spt)?(qYn(),Edt):(qYn(),$dt),Oq(t,(aOn(),jlt),i)),aU(cOn(n,HMt),388).g){case 1:Oq(t,(aOn(),jlt),(qYn(),Ddt));break;case 2:lW(Oq(Oq(t,(aOn(),Mlt),(qYn(),Dbt)),jlt,xbt),Tlt,$bt)}return DA(cOn(n,jkt))!==DA((vvn(),Rjt))&&Oq(t,(aOn(),Mlt),(qYn(),xdt)),t}function eYn(n,t,e){var i,r,c,a,o,u,s,h,f,l,b,d,w,g,p,m,v;if(TX(n.a,t)){if(iS(aU(iQ(n.a,t),49),e))return 1}else pJ(n.a,t,new ny);if(TX(n.a,e)){if(iS(aU(iQ(n.a,e),49),t))return-1}else pJ(n.a,e,new ny);if(TX(n.e,t)){if(iS(aU(iQ(n.e,t),49),e))return-1}else pJ(n.e,t,new ny);if(TX(n.e,e)){if(iS(aU(iQ(n.a,e),49),t))return 1}else pJ(n.e,e,new ny);if(n.c==(vvn(),_jt)||!pR(t,(GYn(),tmt))||!pR(e,(GYn(),tmt))){for(f=null,s=new Wd(t.j);s.a(a=_Sn(n,e))?aGn(n,t,e):aGn(n,e,t),ra?1:0}return(i=aU(cOn(t,(GYn(),tmt)),17).a)>(c=aU(cOn(e,tmt),17).a)?aGn(n,t,e):aGn(n,e,t),ic?1:0}function iYn(n,t,e){var i,r,c,a,o,u,s,h,f,l,b,d,w;if(null==e)return null;if(n.a!=t.jk())throw uv(new pE(Ztt+t.xe()+net));if(RD(t,469)){if(!(w=vFn(aU(t,685),e)))throw uv(new pE(tet+e+"' is not a valid enumerator of '"+t.xe()+"'"));return w}switch(Zdn((dAn(),pBt),t).Nl()){case 2:e=vzn(e,!1);break;case 3:e=vzn(e,!0)}if(i=Zdn(pBt,t).Jl())return i.jk().wi().ti(i,e);if(f=Zdn(pBt,t).Ll()){for(w=new Jm,s=0,h=(u=Rln(e)).length;s1)for(b=new J$((!n.a&&(n.a=new sX(rKt,n,6,6)),n.a));b.e!=b.i.gc();)LSn(b);for(w=C,C>y+v?w=y+v:Ck+d?g=k+d:Oy-v&&wk-d&&gC+P?M=C+P:yO+E?j=O+E:kC-P&&MO-E&&ji&&(f=i-1),(l=N+aRn(e,24)*q0n*h-h/2)<0?l=1:l>r&&(l=r-1),dj(),jcn(c=new ns,f),wcn(c,l),Znn((!o.a&&(o.a=new yx(Z_t,o,5)),o.a),c)}function hYn(n){uP(n,new uCn(RM(NM($M(xM(new bu,rnt),"ELK Rectangle Packing"),"Algorithm for packing of unconnected boxes, i.e. graphs without edges. The given order of the boxes is always preserved and the main reading direction of the boxes is left to right. The algorithm is divided into two phases. One phase approximates the width in which the rectangles can be placed. The next phase places the rectangles in rows using the previously calculated width as bounding width and bundles rectangles with a similar height in blocks. A compaction step reduces the size of the drawing. Finally, the rectangles are expanded to fill their bounding box and eliminate empty unused spaces."),new Fo))),B4(n,rnt,x3n,1.3),B4(n,rnt,b4n,(H$(),!1)),B4(n,rnt,$3n,sAt),B4(n,rnt,c4n,15),B4(n,rnt,e9n,Vyn(WIt)),B4(n,rnt,w4n,Vyn(nAt)),B4(n,rnt,D4n,Vyn(eAt)),B4(n,rnt,d4n,Vyn(iAt)),B4(n,rnt,g4n,Vyn(ZIt)),B4(n,rnt,l4n,Vyn(rAt)),B4(n,rnt,p4n,Vyn(hAt)),B4(n,rnt,V7n,Vyn(wAt)),B4(n,rnt,Q7n,Vyn(dAt)),B4(n,rnt,X7n,Vyn(pAt)),B4(n,rnt,W7n,Vyn(gAt)),B4(n,rnt,J7n,Vyn(oAt)),B4(n,rnt,Y7n,Vyn(aAt)),B4(n,rnt,Z7n,Vyn(cAt)),B4(n,rnt,nnt,Vyn(bAt)),B4(n,rnt,s4n,Vyn(QIt)),B4(n,rnt,d9n,Vyn(JIt)),B4(n,rnt,q7n,Vyn(VIt)),B4(n,rnt,U7n,Vyn(XIt)),B4(n,rnt,z7n,Vyn(YIt)),B4(n,rnt,H7n,Vyn(lAt))}function fYn(n,t){var e,i,r,c,a,o,u,s,h,f,l,b,d,w,g,p,m,v,y,k,E,M,j,T,S,P,C;if(wzn(),j=n.e,d=n.d,r=n.a,0==j)switch(t){case 0:return"0";case 1:return A0n;case 2:return"0.00";case 3:return"0.000";case 4:return"0.0000";case 5:return"0.00000";case 6:return"0.000000";default:return(E=new WE).a+=t<0?"0E+":"0E",E.a+=-t,E.a}if(y=Pnn(XGt,A1n,28,1+(v=10*d+1+7),15,1),e=v,1==d)if((o=r[0])<0){C=M3(o,I0n);do{w=C,C=fSn(C,10),y[--e]=48+wW(Lgn(w,Agn(C,10)))&N1n}while(0!=bdn(C,0))}else{C=o;do{w=C,C=C/10|0,y[--e]=w-10*C+48&N1n}while(0!=C)}else{HUn(r,0,S=Pnn(VGt,W1n,28,d,15,1),0,P=d);n:for(;;){for(M=0,s=P-1;s>=0;s--)p=VPn(Ign(AW(M,32),M3(S[s],I0n))),S[s]=wW(p),M=wW(LW(p,32));m=wW(M),g=e;do{y[--e]=48+m%10&N1n}while(0!=(m=m/10|0)&&0!=e);for(i=9-g+e,u=0;u0;u++)y[--e]=48;for(f=P-1;0==S[f];f--)if(0==f)break n;P=f+1}for(;48==y[e];)++e}if(b=j<0,a=v-e-t-1,0==t)return b&&(y[--e]=45),gvn(y,e,v-e);if(t>0&&a>=-6){if(a>=0){for(h=e+a,l=v-1;l>=h;l--)y[l+1]=y[l];return y[++h]=46,b&&(y[--e]=45),gvn(y,e,v-e+1)}for(f=2;f<1-a;f++)y[--e]=48;return y[--e]=46,y[--e]=48,b&&(y[--e]=45),gvn(y,e,v-e)}return T=e+1,c=v,k=new XE,b&&(k.a+="-"),c-T>=1?(EQ(k,y[e]),k.a+=".",k.a+=gvn(y,e+1,v-e-1)):k.a+=gvn(y,e,v-e),k.a+="E",a>0&&(k.a+="+"),k.a+=""+a,k.a}function lYn(n,e){var i,r,c,a,o,u,s,h,f,l,b,d,w,g,p,m,v,y,k;switch(n.c=e,n.g=new Qm,pP(),Opn(new Ow(new zk(n.c))),m=g_(qxn(n.c,(sOn(),bLt))),o=aU(qxn(n.c,wLt),324),y=aU(qxn(n.c,gLt),437),c=aU(qxn(n.c,uLt),490),v=aU(qxn(n.c,dLt),438),n.j=aE(w_(qxn(n.c,pLt))),a=n.a,o.g){case 0:a=n.a;break;case 1:a=n.b;break;case 2:a=n.i;break;case 3:a=n.e;break;case 4:a=n.f;break;default:throw uv(new pE(hnt+(null!=o.f?o.f:""+o.g)))}if(n.d=new t0(a,y,c),mfn(n.d,(esn(),Cht),d_(qxn(n.c,hLt))),n.d.c=cE(d_(qxn(n.c,sLt))),0==lZ(n.c).i)return n.d;for(h=new Nx(lZ(n.c));h.e!=h.i.gc();){for(l=(s=aU(Jyn(h),27)).g/2,f=s.f/2,k=new yI(s.i+l,s.j+f);TX(n.g,k);)$R(k,(t.Math.random()-.5)*Z3n,(t.Math.random()-.5)*Z3n);d=aU(qxn(s,(UYn(),LDt)),140),w=new G0(k,new dY(k.a-l-n.j/2-d.b,k.b-f-n.j/2-d.d,s.g+n.j+(d.b+d.c),s.f+n.j+(d.d+d.a))),mx(n.d.i,w),pJ(n.g,k,new WI(w,s))}switch(v.g){case 0:if(null==m)n.d.d=aU(qq(n.d.i,0),68);else for(p=new Wd(n.d.i);p.a0?S+1:1);for(a=new Wd(k.g);a.a0?S+1:1)}0==n.c[s]?rq(n.e,w):0==n.a[s]&&rq(n.f,w),++s}for(d=-1,b=1,f=new Jm,n.d=aU(cOn(t,(GYn(),bmt)),234);A>0;){for(;0!=n.e.b;)C=aU(ZH(n.e),10),n.b[C.p]=d--,nHn(n,C),--A;for(;0!=n.f.b;)O=aU(ZH(n.f),10),n.b[O.p]=b++,nHn(n,O),--A;if(A>0){for(l=E1n,m=new Wd(v);m.a=l&&(y>l&&(f.c.length=0,l=y),gv(f.c,w));h=n.sg(f),n.b[h.p]=b++,nHn(n,h),--A}}for(P=v.c.length+1,s=0;sn.b[I]&&(wqn(i,!0),mfn(t,Ipt,(H$(),!0)));n.a=null,n.c=null,n.b=null,KY(n.f),KY(n.e),e.Vg()}function wYn(n,e,i){var r,c,a,o,u,s,h,f,l,b,d,w,g,p,m,v,y,k,E,M;for(E=aU(qrn((!n.a&&(n.a=new sX(rKt,n,6,6)),n.a),0),166),f=new By,k=new Qm,M=oUn(E),zAn(k.f,E,M),b=new Qm,r=new hS,w=CX(qcn(Bhn(iM(pat,1),MZn,20,0,[(!e.d&&(e.d=new sF(iKt,e,8,5)),e.d),(!e.e&&(e.e=new sF(iKt,e,7,4)),e.e)])));uxn(w);){if(d=aU(A9(w),74),1!=(!n.a&&(n.a=new sX(rKt,n,6,6)),n.a).i)throw uv(new pE(Ttt+(!n.a&&(n.a=new sX(rKt,n,6,6)),n.a).i));d!=n&&(o8(r,p=aU(qrn((!d.a&&(d.a=new sX(rKt,d,6,6)),d.a),0),166),r.c.b,r.c),(g=aU(NA(Rz(k.f,p)),13))||(g=oUn(p),zAn(k.f,p,g)),l=i?QK(new nN(aU(qq(M,M.c.length-1),8)),aU(qq(g,g.c.length-1),8)):QK(new nN((a3(0,M.c.length),aU(M.c[0],8))),(a3(0,g.c.length),aU(g.c[0],8))),zAn(b.f,p,l))}if(0!=r.b)for(m=aU(qq(M,i?M.c.length-1:0),8),h=1;h1&&o8(f,m,f.c.b,f.c),vrn(c)));m=v}return f}function gYn(n,t,e){var i,r,c,a,o,u,s,h,f,l,b,d,w,g,p,m,v,y,k,E,M,j,T,S;for(e.Ug(c7n,1),S=aU(h8(VJ(new sz(null,new u3(t,16)),new wo),stn(new X,new W,new en,Bhn(iM(xut,1),w1n,108,0,[(vbn(),Put)]))),15),h=aU(h8(VJ(new sz(null,new u3(t,16)),new Ip(t)),stn(new X,new W,new en,Bhn(iM(xut,1),w1n,108,0,[Put]))),15),d=aU(h8(VJ(new sz(null,new u3(t,16)),new Op(t)),stn(new X,new W,new en,Bhn(iM(xut,1),w1n,108,0,[Put]))),15),w=Pnn(hPt,q9n,40,t.gc(),0,1),a=0;a=0&&T=0&&!w[b]){w[b]=r,h.gd(o),--o;break}if((b=T-l)=0&&!w[b]){w[b]=r,h.gd(o),--o;break}}for(d.jd(new go),u=w.length-1;u>=0;u--)w[u]||d.dc()||(w[u]=aU(d.Xb(0),40),d.gd(0));for(s=0;s=0;u--)rq(e,(a3(u,a.c.length),aU(a.c[u],8)));return e}function mYn(n,e,i){var r,c,a,o,u,s,h,f,l,b,d,w,g,p,m,v,y;for(v=aE(w_(qxn(e,(hBn(),TIt)))),b=aE(w_(qxn(e,MIt))),l=aE(w_(qxn(e,yIt))),Aon((!e.a&&(e.a=new sX(hKt,e,10,11)),e.a)),p=cWn((!e.a&&(e.a=new sX(hKt,e,10,11)),e.a),v,n.b),g=0;gl&&aTn((a3(l,t.c.length),aU(t.c[l],186)),h),h=null;t.c.length>l&&0==(a3(l,t.c.length),aU(t.c[l],186)).a.c.length;)gen(t,(a3(l,t.c.length),t.c[l]));if(!h){--a;continue}if(!cE(d_(aU(qq(h.b,0),27).of((jFn(),YIt))))&&KHn(t,d,c,h,g,e,l,i)){w=!0;continue}if(g){if(b=d.b,f=h.f,!cE(d_(aU(qq(h.b,0),27).of(YIt)))&&MXn(t,d,c,h,e,l,i,r)){if(w=!0,b=n.j)return n.a=-1,void(n.c=1);if(t=zJ(n.i,n.d++),n.a=t,1!=n.b){switch(t){case 124:i=2;break;case 42:i=3;break;case 43:i=4;break;case 63:i=5;break;case 41:i=7;break;case 46:i=8;break;case 91:i=9;break;case 94:i=11;break;case 36:i=12;break;case 40:if(i=6,n.d>=n.j)break;if(63!=zJ(n.i,n.d))break;if(++n.d>=n.j)throw uv(new SE(eZn((ZN(),tit))));switch(t=zJ(n.i,n.d++)){case 58:i=13;break;case 61:i=14;break;case 33:i=15;break;case 91:i=19;break;case 62:i=18;break;case 60:if(n.d>=n.j)throw uv(new SE(eZn((ZN(),tit))));if(61==(t=zJ(n.i,n.d++)))i=16;else{if(33!=t)throw uv(new SE(eZn((ZN(),eit))));i=17}break;case 35:for(;n.d=n.j)throw uv(new SE(eZn((ZN(),nit))));n.a=zJ(n.i,n.d++);break;default:i=0}n.c=i}else{switch(t){case 92:if(i=10,n.d>=n.j)throw uv(new SE(eZn((ZN(),nit))));n.a=zJ(n.i,n.d++);break;case 45:!(512&~n.e)&&n.df&&(f=w.e.a+w.f.a+b),l=f+u.f.a;break;case 4:f=g.b-b-u.f.b,w.e.b-b-u.f.bf&&(f=w.e.b+w.f.b+b),l=f+u.f.b}else if(w)switch(r.g){case 2:l=(f=w.e.a-b-u.f.a)+u.f.a;break;case 1:l=(f=w.e.a+w.f.a+b)+u.f.a;break;case 4:l=(f=w.e.b-b-u.f.b)+u.f.b;break;case 3:l=(f=w.e.b+w.f.b+b)+u.f.b}DA(cOn(t,aCt))===DA((Tln(),lPt))?(c=f,a=l,null!=(o=hln(VJ(new sz(null,new u3(n.a,16)),new GO(c,a)))).a?r==(Dwn(),Vxt)||r==Qxt?u.e.a=f:u.e.b=f:null!=(o=r==(Dwn(),Vxt)||r==Yxt?hln(VJ(Wrn(new sz(null,new u3(n.a,16))),new Mp(c))):hln(VJ(Wrn(new sz(null,new u3(n.a,16))),new jp(c)))).a&&(r==Vxt||r==Qxt?u.e.a=aE(w_((y_(null!=o.a),aU(o.a,42)).a)):u.e.b=aE(w_((y_(null!=o.a),aU(o.a,42)).a))),null!=o.a&&(h=ken(n.a,(y_(null!=o.a),o.a),0))>0&&h!=aU(cOn(u,OCt),17).a&&(mfn(u,yPt,(H$(),!0)),mfn(u,OCt,Ddn(h)))):r==(Dwn(),Vxt)||r==Qxt?u.e.a=f:u.e.b=f}e.Vg()}}function TYn(n){var t,e,i,r,c,a,o,u;for(n.b=1,MYn(n),t=null,0==n.c&&94==n.a?(MYn(n),XYn(),XYn(),FKn(t=new $3(4),0,qct),a=new $3(4)):(XYn(),XYn(),a=new $3(4)),r=!0;1!=(u=n.c);){if(0==u&&93==n.a&&!r){t&&(hVn(t,a),a=t);break}if(e=n.a,i=!1,10==u)switch(e){case 100:case 68:case 119:case 87:case 115:case 83:kzn(a,vHn(e)),i=!0;break;case 105:case 73:case 99:case 67:kzn(a,vHn(e)),(e=-1)<0&&(i=!0);break;case 112:case 80:if(!(o=TNn(n,e)))throw uv(new SE(eZn((ZN(),dit))));kzn(a,o),i=!0;break;default:e=xFn(n)}else if(24==u&&!r){if(t&&(hVn(t,a),a=t),hVn(a,TYn(n)),0!=n.c||93!=n.a)throw uv(new SE(eZn((ZN(),mit))));break}if(MYn(n),!i){if(0==u){if(91==e)throw uv(new SE(eZn((ZN(),vit))));if(93==e)throw uv(new SE(eZn((ZN(),yit))));if(45==e&&!r&&93!=n.a)throw uv(new SE(eZn((ZN(),kit))))}if(0!=n.c||45!=n.a||45==e&&r)FKn(a,e,e);else{if(MYn(n),1==(u=n.c))throw uv(new SE(eZn((ZN(),git))));if(0==u&&93==n.a)FKn(a,e,e),FKn(a,45,45);else{if(0==u&&93==n.a||24==u)throw uv(new SE(eZn((ZN(),kit))));if(c=n.a,0==u){if(91==c)throw uv(new SE(eZn((ZN(),vit))));if(93==c)throw uv(new SE(eZn((ZN(),yit))));if(45==c)throw uv(new SE(eZn((ZN(),kit))))}else 10==u&&(c=xFn(n));if(MYn(n),e>c)throw uv(new SE(eZn((ZN(),jit))));FKn(a,e,c)}}}r=!1}if(1==n.c)throw uv(new SE(eZn((ZN(),git))));return w$n(a),aWn(a),n.b=0,MYn(n),a}function SYn(n,t,e){var i,r,c,a,o,u,s,f,l,b,d,w,g,p,m,v,y,k,E;if(e.Ug("Coffman-Graham Layering",1),0!=t.a.c.length){for(E=aU(cOn(t,(EYn(),lEt)),17).a,u=0,a=0,b=new Wd(t.a);b.a=E||!ivn(m,i))&&(i=SJ(t,f)),r2(m,i),c=new RW(t$(Hgn(m).a.Kc(),new h));uxn(c);)r=aU(A9(c),18),n.a[r.p]||(g=r.c.i,--n.e[g.p],0==n.e[g.p]&&mU(_Cn(d,g),N0n));for(s=f.c.length-1;s>=0;--s)mx(t.b,(a3(s,f.c.length),aU(f.c[s],30)));t.a.c.length=0,e.Vg()}else e.Vg()}function PYn(n,t){var e,i,r,c,a,o,u,s,f,l,b,d,w,g,p,m,v,y;y=!1;do{for(y=!1,c=t?new Id(n.a.b).a.gc()-2:1;t?c>=0:caU(cOn(g,tmt),17).a)&&(v=!1);if(v){for(o=t?c+1:c-1,a=!1,m=!0,i=!1,s=Ryn(W6(n.a,Ddn(o)),0);s.b!=s.d.c;)pR(u=aU(P6(s),10),tmt)?u.p!=f.p&&(a|=t?aU(cOn(u,tmt),17).aaU(cOn(f,tmt),17).a,m=!1):!a&&m&&u.k==(qOn(),fbt)&&(i=!0,(l=t?aU(A9(new RW(t$(Hgn(u).a.Kc(),new h))),18).c.i:aU(A9(new RW(t$(Ugn(u).a.Kc(),new h))),18).d.i)==f&&(e=t?aU(A9(new RW(t$(Ugn(u).a.Kc(),new h))),18).d.i:aU(A9(new RW(t$(Hgn(u).a.Kc(),new h))),18).c.i,(t?aU(MR(n.a,e),17).a-aU(MR(n.a,l),17).a:aU(MR(n.a,l),17).a-aU(MR(n.a,e),17).a)<=2&&(m=!1)));if(i&&m&&(e=t?aU(A9(new RW(t$(Ugn(f).a.Kc(),new h))),18).d.i:aU(A9(new RW(t$(Hgn(f).a.Kc(),new h))),18).c.i,(t?aU(MR(n.a,e),17).a-aU(MR(n.a,f),17).a:aU(MR(n.a,f),17).a-aU(MR(n.a,e),17).a)<=2&&e.k==(qOn(),bbt)&&(m=!1)),a||m){for(w=jRn(n,f,t);0!=w.a.gc();)d=aU(w.a.ec().Kc().Pb(),10),w.a.Bc(d),Xon(w,jRn(n,d,t));--b,y=!0}}}}while(y)}function CYn(n){F$n(n.c,Mrt,Bhn(iM(Lot,1),qZn,2,6,[$rt,"http://www.w3.org/2001/XMLSchema#decimal"])),F$n(n.d,Mrt,Bhn(iM(Lot,1),qZn,2,6,[$rt,"http://www.w3.org/2001/XMLSchema#integer"])),F$n(n.e,Mrt,Bhn(iM(Lot,1),qZn,2,6,[$rt,"http://www.w3.org/2001/XMLSchema#boolean"])),F$n(n.f,Mrt,Bhn(iM(Lot,1),qZn,2,6,[$rt,"EBoolean",Ket,"EBoolean:Object"])),F$n(n.i,Mrt,Bhn(iM(Lot,1),qZn,2,6,[$rt,"http://www.w3.org/2001/XMLSchema#byte"])),F$n(n.g,Mrt,Bhn(iM(Lot,1),qZn,2,6,[$rt,"http://www.w3.org/2001/XMLSchema#hexBinary"])),F$n(n.j,Mrt,Bhn(iM(Lot,1),qZn,2,6,[$rt,"EByte",Ket,"EByte:Object"])),F$n(n.n,Mrt,Bhn(iM(Lot,1),qZn,2,6,[$rt,"EChar",Ket,"EChar:Object"])),F$n(n.t,Mrt,Bhn(iM(Lot,1),qZn,2,6,[$rt,"http://www.w3.org/2001/XMLSchema#double"])),F$n(n.u,Mrt,Bhn(iM(Lot,1),qZn,2,6,[$rt,"EDouble",Ket,"EDouble:Object"])),F$n(n.F,Mrt,Bhn(iM(Lot,1),qZn,2,6,[$rt,"http://www.w3.org/2001/XMLSchema#float"])),F$n(n.G,Mrt,Bhn(iM(Lot,1),qZn,2,6,[$rt,"EFloat",Ket,"EFloat:Object"])),F$n(n.I,Mrt,Bhn(iM(Lot,1),qZn,2,6,[$rt,"http://www.w3.org/2001/XMLSchema#int"])),F$n(n.J,Mrt,Bhn(iM(Lot,1),qZn,2,6,[$rt,"EInt",Ket,"EInt:Object"])),F$n(n.N,Mrt,Bhn(iM(Lot,1),qZn,2,6,[$rt,"http://www.w3.org/2001/XMLSchema#long"])),F$n(n.O,Mrt,Bhn(iM(Lot,1),qZn,2,6,[$rt,"ELong",Ket,"ELong:Object"])),F$n(n.Z,Mrt,Bhn(iM(Lot,1),qZn,2,6,[$rt,"http://www.w3.org/2001/XMLSchema#short"])),F$n(n.$,Mrt,Bhn(iM(Lot,1),qZn,2,6,[$rt,"EShort",Ket,"EShort:Object"])),F$n(n._,Mrt,Bhn(iM(Lot,1),qZn,2,6,[$rt,"http://www.w3.org/2001/XMLSchema#string"]))}function OYn(n,t,e,i,r,c,a){var o,u,s,h,f,l,b,d;return l=aU(i.a,17).a,b=aU(i.b,17).a,f=n.b,d=n.c,o=0,h=0,t==(Dwn(),Vxt)||t==Qxt?(h=LO(Ewn(JJ(QJ(new sz(null,new u3(e.b,16)),new mo),new Ya))),f.e.b+f.f.b/2>h?(s=++b,o=aE(w_(v$(WW(QJ(new sz(null,new u3(e.b,16)),new wI(r,s)),new Za))))):(u=++l,o=aE(w_(v$(XW(QJ(new sz(null,new u3(e.b,16)),new gI(r,u)),new no)))))):(h=LO(Ewn(JJ(QJ(new sz(null,new u3(e.b,16)),new ro),new Ja))),f.e.a+f.f.a/2>h?(s=++b,o=aE(w_(v$(WW(QJ(new sz(null,new u3(e.b,16)),new bI(r,s)),new to))))):(u=++l,o=aE(w_(v$(XW(QJ(new sz(null,new u3(e.b,16)),new dI(r,u)),new eo)))))),t==Vxt?(iL(n.a,new yI(aE(w_(cOn(f,(CQn(),NPt))))-r,o)),iL(n.a,new yI(d.e.a+d.f.a+r+c,o)),iL(n.a,new yI(d.e.a+d.f.a+r+c,d.e.b+d.f.b/2)),iL(n.a,new yI(d.e.a+d.f.a,d.e.b+d.f.b/2))):t==Qxt?(iL(n.a,new yI(aE(w_(cOn(f,(CQn(),LPt))))+r,f.e.b+f.f.b/2)),iL(n.a,new yI(f.e.a+f.f.a+r,o)),iL(n.a,new yI(d.e.a-r-c,o)),iL(n.a,new yI(d.e.a-r-c,d.e.b+d.f.b/2)),iL(n.a,new yI(d.e.a,d.e.b+d.f.b/2))):t==Yxt?(iL(n.a,new yI(o,aE(w_(cOn(f,(CQn(),NPt))))-r)),iL(n.a,new yI(o,d.e.b+d.f.b+r+c)),iL(n.a,new yI(d.e.a+d.f.a/2,d.e.b+d.f.b+r+c)),iL(n.a,new yI(d.e.a+d.f.a/2,d.e.b+d.f.b+r))):(0==n.a.b||(aU(wR(n.a),8).b=aE(w_(cOn(f,(CQn(),LPt))))+r*aU(a.b,17).a),iL(n.a,new yI(o,aE(w_(cOn(f,(CQn(),LPt))))+r*aU(a.b,17).a)),iL(n.a,new yI(o,d.e.b-r*aU(a.a,17).a-c))),new WI(Ddn(l),Ddn(b))}function IYn(n){var t,e,i,r,c,a,o,u,s,h,f,l,b;if(a=!0,f=null,i=null,r=null,t=!1,b=KKt,s=null,c=null,(u=Eyn(n,o=0,VKt,QKt))=0&&gF(n.substr(o,2),"//")?($nn(o+=2,u=Eyn(n,o,JKt,YKt),n.length),i=n.substr(o,u-o),o=u):null==f||o!=n.length&&(o3(o,n.length),47==n.charCodeAt(o))||(a=!1,-1==(u=i$(n,LCn(35),o))&&(u=n.length),$nn(o,u,n.length),i=n.substr(o,u-o),o=u);if(!e&&o0&&58==zJ(h,h.length-1)&&(r=h,o=u)),oa$n(c))&&(f=c);for(!f&&(a3(0,w.c.length),f=aU(w.c[0],185)),d=new Wd(t.b);d.al&&(P=0,C+=f+M,f=0),tHn(k,o,P,C),e=t.Math.max(e,P+E.a),f=t.Math.max(f,E.b),P+=E.a+M;for(y=new Qm,i=new Qm,T=new Wd(n);T.a=-1900?1:0,VA(n,e>=4?Bhn(iM(Lot,1),qZn,2,6,[X1n,V1n])[a]:Bhn(iM(Lot,1),qZn,2,6,["BC","AD"])[a]);break;case 121:$yn(n,e,i);break;case 77:YGn(n,e,i);break;case 107:Ren(n,0==(o=r.q.getHours())?24:o,e);break;case 83:TRn(n,e,r);break;case 69:u=i.q.getDay(),VA(n,5==e?Bhn(iM(Lot,1),qZn,2,6,["S","M","T","W","T","F","S"])[u]:4==e?Bhn(iM(Lot,1),qZn,2,6,[Q1n,J1n,Y1n,Z1n,n0n,t0n,e0n])[u]:Bhn(iM(Lot,1),qZn,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[u]);break;case 97:r.q.getHours()>=12&&r.q.getHours()<24?VA(n,Bhn(iM(Lot,1),qZn,2,6,["AM","PM"])[1]):VA(n,Bhn(iM(Lot,1),qZn,2,6,["AM","PM"])[0]);break;case 104:Ren(n,0==(s=r.q.getHours()%12)?12:s,e);break;case 75:Ren(n,r.q.getHours()%12,e);break;case 72:Ren(n,r.q.getHours(),e);break;case 99:h=i.q.getDay(),5==e?VA(n,Bhn(iM(Lot,1),qZn,2,6,["S","M","T","W","T","F","S"])[h]):4==e?VA(n,Bhn(iM(Lot,1),qZn,2,6,[Q1n,J1n,Y1n,Z1n,n0n,t0n,e0n])[h]):3==e?VA(n,Bhn(iM(Lot,1),qZn,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[h]):Ren(n,h,1);break;case 76:f=i.q.getMonth(),5==e?VA(n,Bhn(iM(Lot,1),qZn,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[f]):4==e?VA(n,Bhn(iM(Lot,1),qZn,2,6,[D1n,x1n,$1n,R1n,_1n,K1n,F1n,B1n,G1n,H1n,U1n,q1n])[f]):3==e?VA(n,Bhn(iM(Lot,1),qZn,2,6,["Jan","Feb","Mar","Apr",_1n,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[f]):Ren(n,f+1,e);break;case 81:l=i.q.getMonth()/3|0,VA(n,e<4?Bhn(iM(Lot,1),qZn,2,6,["Q1","Q2","Q3","Q4"])[l]:Bhn(iM(Lot,1),qZn,2,6,["1st quarter","2nd quarter","3rd quarter","4th quarter"])[l]);break;case 100:Ren(n,i.q.getDate(),e);break;case 109:Ren(n,r.q.getMinutes(),e);break;case 115:Ren(n,r.q.getSeconds(),e);break;case 122:VA(n,e<4?c.c[0]:c.c[1]);break;case 118:VA(n,c.b);break;case 90:VA(n,e<3?GLn(c):3==e?eNn(c):iNn(c.a));break;default:return!1}return!0}function RYn(n,t,e,i){var r,c,a,o,u,s,h,f,l,b,d,w,g,p,m,v,y,k,E,M,j,T,S,P,C;if(tGn(t),u=aU(qrn((!t.b&&(t.b=new sF(eKt,t,4,7)),t.b),0),84),h=aU(qrn((!t.c&&(t.c=new sF(eKt,t,5,8)),t.c),0),84),o=hCn(u),s=hCn(h),a=0==(!t.a&&(t.a=new sX(rKt,t,6,6)),t.a).i?null:aU(qrn((!t.a&&(t.a=new sX(rKt,t,6,6)),t.a),0),166),E=aU(iQ(n.a,o),10),S=aU(iQ(n.a,s),10),M=null,P=null,RD(u,193)&&(RD(k=aU(iQ(n.a,u),305),12)?M=aU(k,12):RD(k,10)&&(E=aU(k,10),M=aU(qq(E.j,0),12))),RD(h,193)&&(RD(T=aU(iQ(n.a,h),305),12)?P=aU(T,12):RD(T,10)&&(S=aU(T,10),P=aU(qq(S.j,0),12))),!E||!S)throw uv(new ME("The source or the target of edge "+t+" could not be found. This usually happens when an edge connects a node laid out by ELK Layered to a node in another level of hierarchy laid out by either another instance of ELK Layered or another layout algorithm alltogether. The former can be solved by setting the hierarchyHandling option to INCLUDE_CHILDREN."));for(qsn(w=new BZ,t),mfn(w,(GYn(),emt),t),mfn(w,(EYn(),fEt),null),b=aU(cOn(i,Fpt),21),E==S&&b.Fc((eFn(),cpt)),M||(ian(),y=Wjt,j=null,a&&oN(aU(cOn(E,VEt),101))&&(L5(j=new yI(a.j,a.k),o0(t)),X8(j,e),Mrn(s,o)&&(y=zjt,VK(j,E.n))),M=Izn(E,j,y,i)),P||(ian(),y=zjt,C=null,a&&oN(aU(cOn(S,VEt),101))&&(L5(C=new yI(a.b,a.c),o0(t)),X8(C,e)),P=Izn(S,C,y,FQ(S))),i2(w,M),a2(w,P),(M.e.c.length>1||M.g.c.length>1||P.e.c.length>1||P.g.c.length>1)&&b.Fc((eFn(),npt)),l=new Nx((!t.n&&(t.n=new sX(sKt,t,1,7)),t.n));l.e!=l.i.gc();)if(!cE(d_(qxn(f=aU(Jyn(l),135),REt)))&&f.a)switch(g=cdn(f),mx(w.b,g),aU(cOn(g,Ukt),278).g){case 1:case 2:b.Fc((eFn(),Ygt));break;case 0:b.Fc((eFn(),Qgt)),mfn(g,Ukt,(Jrn(),t$t))}if(c=aU(cOn(i,$kt),322),p=aU(cOn(i,LEt),323),r=c==(Ean(),Qwt)||p==(wkn(),mjt),a&&0!=(!a.a&&(a.a=new yx(Z_t,a,5)),a.a).i&&r){for(m=SIn(a),d=new By,v=Ryn(m,0);v.b!=v.d.c;)rq(d,new nN(aU(P6(v),8)));mfn(w,imt,d)}return w}function _Yn(n,t,e,i){var r,c,a,o,u,s,h,f,l,b,d,w,g,p,m,v,y,k,E,M,j,T,S,P,C,O;for(j=0,T=0,E=new Qm,y=aU(v$(WW(QJ(new sz(null,new u3(n.b,16)),new io),new fo)),17).a+1,M=Pnn(VGt,W1n,28,y,15,1),w=Pnn(VGt,W1n,28,y,15,1),d=0;d1)for(o=P+1;ou.b.e.b*(1-g)+u.c.e.b*g));b++);if(k.gc()>0){if(C=0==u.a.b?ND(u.b.e):aU(wR(u.a),8),m=VK(ND(aU(k.Xb(k.gc()-1),40).e),aU(k.Xb(k.gc()-1),40).f),f=VK(ND(aU(k.Xb(0),40).e),aU(k.Xb(0),40).f),b>=k.gc()-1&&C.b>m.b&&u.c.e.b>m.b)continue;if(b<=0&&C.bu.b.e.a*(1-g)+u.c.e.a*g));b++);if(k.gc()>0){if(C=0==u.a.b?ND(u.b.e):aU(wR(u.a),8),m=VK(ND(aU(k.Xb(k.gc()-1),40).e),aU(k.Xb(k.gc()-1),40).f),f=VK(ND(aU(k.Xb(0),40).e),aU(k.Xb(0),40).f),b>=k.gc()-1&&C.a>m.a&&u.c.e.a>m.a)continue;if(b<=0&&C.a=aE(w_(cOn(n,(CQn(),SPt))))&&++T):(l.f&&l.d.e.a<=aE(w_(cOn(n,(CQn(),TPt))))&&++j,l.g&&l.c.e.a+l.c.f.a>=aE(w_(cOn(n,(CQn(),jPt))))&&++T)}else 0==v?uNn(u):v<0&&(++M[P],++w[O],j=aU((S=OYn(u,t,n,new WI(Ddn(j),Ddn(T)),e,i,new WI(Ddn(w[O]),Ddn(M[P])))).a,17).a,T=aU(S.b,17).a)}function KYn(n,t,e){var i,r,c,a,o,u,s,h,f,l,b,d,w,g,p,m;if(i=t,u=e,n.b&&i.j==($Qn(),_Rt)&&u.j==($Qn(),_Rt)&&(m=i,i=u,u=m),TX(n.a,i)){if(iS(aU(iQ(n.a,i),49),u))return 1}else pJ(n.a,i,new ny);if(TX(n.a,u)){if(iS(aU(iQ(n.a,u),49),i))return-1}else pJ(n.a,u,new ny);if(TX(n.d,i)){if(iS(aU(iQ(n.d,i),49),u))return-1}else pJ(n.d,i,new ny);if(TX(n.d,u)){if(iS(aU(iQ(n.a,u),49),i))return 1}else pJ(n.d,u,new ny);if(i.j!=u.j)return-1==(p=fN(i.j,u.j))?uGn(n,u,i):uGn(n,i,u),p;if(0!=i.e.c.length&&0!=u.e.c.length){if(n.b&&0!=(p=Nbn(i,u)))return-1==p?uGn(n,u,i):1==p&&uGn(n,i,u),p;if((c=aU(qq(i.e,0),18).c.i)==(h=aU(qq(u.e,0),18).c.i))return(r=aU(cOn(aU(qq(i.e,0),18),(GYn(),tmt)),17).a)>(s=aU(cOn(aU(qq(u.e,0),18),tmt),17).a)?uGn(n,i,u):uGn(n,u,i),rs?1:0;for(w=0,g=(d=n.c).length;w(s=aU(cOn(l,tmt),17).a)?uGn(n,i,u):uGn(n,u,i),rs?1:0):n.b&&0!=(p=Nbn(i,u))?(-1==p?uGn(n,u,i):1==p&&uGn(n,i,u),p):(a=0,f=0,pR(aU(qq(i.g,0),18),tmt)&&(a=aU(cOn(aU(qq(i.g,0),18),tmt),17).a),pR(aU(qq(u.g,0),18),tmt)&&(f=aU(cOn(aU(qq(i.g,0),18),tmt),17).a),o&&o==l?cE(d_(cOn(aU(qq(i.g,0),18),wmt)))&&!cE(d_(cOn(aU(qq(u.g,0),18),wmt)))?(uGn(n,i,u),1):!cE(d_(cOn(aU(qq(i.g,0),18),wmt)))&&cE(d_(cOn(aU(qq(u.g,0),18),wmt)))?(uGn(n,u,i),-1):(a>f?uGn(n,i,u):uGn(n,u,i),af?1:0):(n.f&&(n.f._b(o)&&(a=aU(n.f.xc(o),17).a),n.f._b(l)&&(f=aU(n.f.xc(l),17).a)),a>f?uGn(n,i,u):uGn(n,u,i),af?1:0))):0!=i.e.c.length&&0!=u.g.c.length?(uGn(n,i,u),1):0!=i.g.c.length&&0!=u.e.c.length?(uGn(n,u,i),-1):pR(i,(GYn(),tmt))&&pR(u,tmt)?((r=aU(cOn(i,tmt),17).a)>(s=aU(cOn(u,tmt),17).a)?uGn(n,i,u):uGn(n,u,i),rs?1:0):(uGn(n,u,i),-1)}function FYn(n){n.gb||(n.gb=!0,n.b=Asn(n,0),zon(n.b,18),Won(n.b,19),n.a=Asn(n,1),zon(n.a,1),Won(n.a,2),Won(n.a,3),Won(n.a,4),Won(n.a,5),n.o=Asn(n,2),zon(n.o,8),zon(n.o,9),Won(n.o,10),Won(n.o,11),Won(n.o,12),Won(n.o,13),Won(n.o,14),Won(n.o,15),Won(n.o,16),Won(n.o,17),Won(n.o,18),Won(n.o,19),Won(n.o,20),Won(n.o,21),Won(n.o,22),Won(n.o,23),ern(n.o),ern(n.o),ern(n.o),ern(n.o),ern(n.o),ern(n.o),ern(n.o),ern(n.o),ern(n.o),ern(n.o),n.p=Asn(n,3),zon(n.p,2),zon(n.p,3),zon(n.p,4),zon(n.p,5),Won(n.p,6),Won(n.p,7),ern(n.p),ern(n.p),n.q=Asn(n,4),zon(n.q,8),n.v=Asn(n,5),Won(n.v,9),ern(n.v),ern(n.v),ern(n.v),n.w=Asn(n,6),zon(n.w,2),zon(n.w,3),zon(n.w,4),Won(n.w,5),n.B=Asn(n,7),Won(n.B,1),ern(n.B),ern(n.B),ern(n.B),n.Q=Asn(n,8),Won(n.Q,0),ern(n.Q),n.R=Asn(n,9),zon(n.R,1),n.S=Asn(n,10),ern(n.S),ern(n.S),ern(n.S),ern(n.S),ern(n.S),ern(n.S),ern(n.S),ern(n.S),ern(n.S),ern(n.S),ern(n.S),ern(n.S),ern(n.S),ern(n.S),ern(n.S),n.T=Asn(n,11),Won(n.T,10),Won(n.T,11),Won(n.T,12),Won(n.T,13),Won(n.T,14),ern(n.T),ern(n.T),n.U=Asn(n,12),zon(n.U,2),zon(n.U,3),Won(n.U,4),Won(n.U,5),Won(n.U,6),Won(n.U,7),ern(n.U),n.V=Asn(n,13),Won(n.V,10),n.W=Asn(n,14),zon(n.W,18),zon(n.W,19),zon(n.W,20),Won(n.W,21),Won(n.W,22),Won(n.W,23),n.bb=Asn(n,15),zon(n.bb,10),zon(n.bb,11),zon(n.bb,12),zon(n.bb,13),zon(n.bb,14),zon(n.bb,15),zon(n.bb,16),Won(n.bb,17),ern(n.bb),ern(n.bb),n.eb=Asn(n,16),zon(n.eb,2),zon(n.eb,3),zon(n.eb,4),zon(n.eb,5),zon(n.eb,6),zon(n.eb,7),Won(n.eb,8),Won(n.eb,9),n.ab=Asn(n,17),zon(n.ab,0),zon(n.ab,1),n.H=Asn(n,18),Won(n.H,0),Won(n.H,1),Won(n.H,2),Won(n.H,3),Won(n.H,4),Won(n.H,5),ern(n.H),n.db=Asn(n,19),Won(n.db,2),n.c=Lsn(n,20),n.d=Lsn(n,21),n.e=Lsn(n,22),n.f=Lsn(n,23),n.i=Lsn(n,24),n.g=Lsn(n,25),n.j=Lsn(n,26),n.k=Lsn(n,27),n.n=Lsn(n,28),n.r=Lsn(n,29),n.s=Lsn(n,30),n.t=Lsn(n,31),n.u=Lsn(n,32),n.fb=Lsn(n,33),n.A=Lsn(n,34),n.C=Lsn(n,35),n.D=Lsn(n,36),n.F=Lsn(n,37),n.G=Lsn(n,38),n.I=Lsn(n,39),n.J=Lsn(n,40),n.L=Lsn(n,41),n.M=Lsn(n,42),n.N=Lsn(n,43),n.O=Lsn(n,44),n.P=Lsn(n,45),n.X=Lsn(n,46),n.Y=Lsn(n,47),n.Z=Lsn(n,48),n.$=Lsn(n,49),n._=Lsn(n,50),n.cb=Lsn(n,51),n.K=Lsn(n,52))}function BYn(n,t,e){var i,r,c,a,o,u,s,h,f,l,b,d,w,g,p,m,v,y,k,E,M,j,T;for(a=new hS,v=aU(cOn(e,(EYn(),Kkt)),88),w=0,Xon(a,(!t.a&&(t.a=new sX(hKt,t,10,11)),t.a));0!=a.b;)(DA(qxn(s=x0(h=aU(0==a.b?null:(y_(0!=a.b),Irn(a,a.a.a)),27)),jkt))!==DA((vvn(),Rjt))||DA(qxn(s,Rkt))===DA((mvn(),hgt))||DA(qxn(s,Rkt))===DA((mvn(),ugt))||cE(d_(qxn(s,Skt)))||DA(qxn(s,mkt))!==DA((Bvn(),Zlt))||DA(qxn(s,vEt))===DA((kGn(),Tjt))||DA(qxn(s,vEt))===DA((kGn(),Sjt))||DA(qxn(s,yEt))===DA((y_n(),VMt))||DA(qxn(s,yEt))===DA((y_n(),JMt)))&&!cE(d_(qxn(h,Ekt)))&&ykn(h,(GYn(),tmt),Ddn(w++)),!cE(d_(qxn(h,REt)))&&(l=0!=(!h.a&&(h.a=new sX(hKt,h,10,11)),h.a).i,d=cCn(h),b=DA(qxn(h,eEt))===DA((Cdn(),P$t)),p=null,(T=!pnn(h,(UYn(),nDt))||I9(g_(qxn(h,nDt))))&&b&&(l||d)&&(mfn(p=TUn(h),Kkt,v),pR(p,sMt)&&tE(new cmn(aE(w_(cOn(p,sMt)))),p),0!=aU(qxn(h,NEt),181).gc()&&(f=p,mS(new sz(null,(!h.c&&(h.c=new sX(fKt,h,9,9)),new u3(h.c,16))),new Qw(f)),aFn(h,p))),y=e,(k=aU(iQ(n.a,x0(h)),10))&&(y=k.e),g=xJn(n,h,y),p&&(g.e=p,p.e=g,Xon(a,(!h.a&&(h.a=new sX(hKt,h,10,11)),h.a))));for(w=0,o8(a,t,a.c.b,a.c);0!=a.b;){for(u=new Nx((!(c=aU(0==a.b?null:(y_(0!=a.b),Irn(a,a.a.a)),27)).b&&(c.b=new sX(iKt,c,12,3)),c.b));u.e!=u.i.gc();)tGn(o=aU(Jyn(u),74)),(DA(qxn(t,jkt))!==DA((vvn(),Rjt))||DA(qxn(t,Rkt))===DA((mvn(),hgt))||DA(qxn(t,Rkt))===DA((mvn(),ugt))||cE(d_(qxn(t,Skt)))||DA(qxn(t,mkt))!==DA((Bvn(),Zlt))||DA(qxn(t,vEt))===DA((kGn(),Tjt))||DA(qxn(t,vEt))===DA((kGn(),Sjt))||DA(qxn(t,yEt))===DA((y_n(),VMt))||DA(qxn(t,yEt))===DA((y_n(),JMt)))&&ykn(o,(GYn(),tmt),Ddn(w++)),M=hCn(aU(qrn((!o.b&&(o.b=new sF(eKt,o,4,7)),o.b),0),84)),j=hCn(aU(qrn((!o.c&&(o.c=new sF(eKt,o,5,8)),o.c),0),84)),cE(d_(qxn(o,REt)))||cE(d_(qxn(M,REt)))||cE(d_(qxn(j,REt)))||(m=c,KNn(o)&&cE(d_(qxn(M,oEt)))&&cE(d_(qxn(o,uEt)))||Mrn(j,M)?m=M:Mrn(M,j)&&(m=j),y=e,(k=aU(iQ(n.a,m),10))&&(y=k.e),mfn(RYn(n,o,m,y),(GYn(),Ppt),jKn(n,o,t,e)));if(b=DA(qxn(c,eEt))===DA((Cdn(),P$t)))for(r=new Nx((!c.a&&(c.a=new sX(hKt,c,10,11)),c.a));r.e!=r.i.gc();)T=!pnn(i=aU(Jyn(r),27),(UYn(),nDt))||I9(g_(qxn(i,nDt))),E=DA(qxn(i,eEt))===DA(P$t),T&&E&&o8(a,i,a.c.b,a.c)}}function GYn(){var n,t;GYn=T,emt=new Sm(M4n),Ppt=new Sm("coordinateOrigin"),lmt=new Sm("processors"),Spt=new aK("compoundNode",(H$(),!1)),Hpt=new aK("insideConnections",!1),imt=new Sm("originalBendpoints"),rmt=new Sm("originalDummyNodePosition"),cmt=new Sm("originalLabelEdge"),dmt=new Sm("representedLabels"),Lpt=new Sm("endLabels"),Npt=new Sm("endLabel.origin"),Xpt=new aK("labelSide",(Ojn(),x$t)),nmt=new aK("maxEdgeThickness",0),wmt=new aK("reversed",!1),bmt=new Sm(j4n),Jpt=new aK("longEdgeSource",null),Ypt=new aK("longEdgeTarget",null),Qpt=new aK("longEdgeHasLabelDummies",!1),Vpt=new aK("longEdgeBeforeLabelDummy",!1),Apt=new aK("edgeConstraint",(Tfn(),mgt)),qpt=new Sm("inLayerLayoutUnit"),Upt=new aK("inLayerConstraint",(Jen(),dpt)),zpt=new aK("inLayerSuccessorConstraint",new Jm),Wpt=new aK("inLayerSuccessorConstraintBetweenNonDummies",!1),hmt=new Sm("portDummy"),Cpt=new aK("crossingHint",Ddn(0)),Fpt=new aK("graphProperties",new YF(t=aU(yj(fpt),9),aU(yK(t,t.length),9),0)),Rpt=new aK("externalPortSide",($Qn(),RRt)),_pt=new aK("externalPortSize",new oj),xpt=new Sm("externalPortReplacedDummies"),$pt=new Sm("externalPortReplacedDummy"),Dpt=new aK("externalPortConnections",new YF(n=aU(yj(QRt),9),aU(yK(n,n.length),9),0)),fmt=new aK(t3n,0),Ept=new Sm("barycenterAssociates"),Tmt=new Sm("TopSideComments"),Mpt=new Sm("BottomSideComments"),Tpt=new Sm("CommentConnectionPort"),Gpt=new aK("inputCollect",!1),umt=new aK("outputCollect",!1),Ipt=new aK("cyclic",!1),Opt=new Sm("crossHierarchyMap"),jmt=new Sm("targetOffset"),new aK("splineLabelSize",new oj),mmt=new Sm("spacings"),smt=new aK("partitionConstraint",!1),jpt=new Sm("breakingPoint.info"),Emt=new Sm("splines.survivingEdge"),kmt=new Sm("splines.route.start"),vmt=new Sm("splines.edgeChain"),omt=new Sm("originalPortConstraints"),pmt=new Sm("selfLoopHolder"),ymt=new Sm("splines.nsPortY"),tmt=new Sm("modelOrder"),Zpt=new Sm("longEdgeTargetNode"),Kpt=new aK(_6n,!1),gmt=new aK(_6n,!1),Bpt=new Sm("layerConstraints.hiddenNodes"),amt=new Sm("layerConstraints.opposidePort"),Mmt=new Sm("targetNode.modelOrder")}function HYn(n,e,i,r){var c,a,o,u,s,h,f,l,b,d,w;for(l=Ryn(n.b,0);l.b!=l.d.c;)if(!gF((f=aU(P6(l),40)).c,F9n))for(a=aU(h8(new sz(null,new u3(qNn(f,n),16)),stn(new X,new W,new en,Bhn(iM(xut,1),w1n,108,0,[(vbn(),Put)]))),15),e==(Dwn(),Vxt)||e==Qxt?a.jd(new oo):a.jd(new uo),w=a.gc(),c=0;c0&&(u=aU(wR(aU(a.Xb(c),65).a),8).a,b=f.e.a+f.f.a/2,s=aU(wR(aU(a.Xb(c),65).a),8).b,d=f.e.b+f.f.b/2,r>0&&t.Math.abs(s-d)/(t.Math.abs(u-b)/40)>50&&iL(aU(a.Xb(c),65).a,new yI(f.e.a+f.f.a+r/5.3,d>s?f.e.b+f.f.b*o-r/2:f.e.b+f.f.b*o+r/2))),iL(aU(a.Xb(c),65).a,new yI(f.e.a+f.f.a,f.e.b+f.f.b*o))):e==Qxt?(h=aE(w_(cOn(f,(CQn(),NPt)))),f.e.a-r>h?iL(aU(a.Xb(c),65).a,new yI(h-i,f.e.b+f.f.b*o)):aU(a.Xb(c),65).a.b>0&&(u=aU(wR(aU(a.Xb(c),65).a),8).a,b=f.e.a+f.f.a/2,s=aU(wR(aU(a.Xb(c),65).a),8).b,d=f.e.b+f.f.b/2,r>0&&t.Math.abs(s-d)/(t.Math.abs(u-b)/40)>50&&iL(aU(a.Xb(c),65).a,new yI(f.e.a-r/5.3,d>s?f.e.b+f.f.b*o-r/2:f.e.b+f.f.b*o+r/2))),iL(aU(a.Xb(c),65).a,new yI(f.e.a,f.e.b+f.f.b*o))):e==Yxt?(h=aE(w_(cOn(f,(CQn(),LPt)))),f.e.b+f.f.b+r0&&(u=aU(wR(aU(a.Xb(c),65).a),8).a,b=f.e.a+f.f.a/2,s=aU(wR(aU(a.Xb(c),65).a),8).b,d=f.e.b+f.f.b/2,r>0&&t.Math.abs(u-b)/(t.Math.abs(s-d)/40)>50&&iL(aU(a.Xb(c),65).a,new yI(b>u?f.e.a+f.f.a*o-r/2:f.e.a+f.f.a*o+r/2,f.e.b+r/5.3+f.f.b))),iL(aU(a.Xb(c),65).a,new yI(f.e.a+f.f.a*o,f.e.b+f.f.b))):(h=aE(w_(cOn(f,(CQn(),NPt)))),aln(aU(a.Xb(c),65),n)?iL(aU(a.Xb(c),65).a,new yI(f.e.a+f.f.a*o,aU(wR(aU(a.Xb(c),65).a),8).b)):f.e.b-r>h?iL(aU(a.Xb(c),65).a,new yI(f.e.a+f.f.a*o,h-i)):aU(a.Xb(c),65).a.b>0&&(u=aU(wR(aU(a.Xb(c),65).a),8).a,b=f.e.a+f.f.a/2,s=aU(wR(aU(a.Xb(c),65).a),8).b,d=f.e.b+f.f.b/2,r>0&&t.Math.abs(u-b)/(t.Math.abs(s-d)/40)>50&&iL(aU(a.Xb(c),65).a,new yI(b>u?f.e.a+f.f.a*o-r/2:f.e.a+f.f.a*o+r/2,f.e.b-r/5.3))),iL(aU(a.Xb(c),65).a,new yI(f.e.a+f.f.a*o,f.e.b)))}function UYn(){var n,t;UYn=T,nDt=new Sm(znt),vxt=new Sm(Wnt),Ykn(),tDt=new gL(U8n,eDt=SNt),iDt=new gL(x3n,null),rDt=new Sm(Xnt),JSn(),fDt=Wz(JNt,Bhn(iM(Zxt,1),w1n,298,0,[WNt])),hDt=new gL(e9n,fDt),lDt=new gL(H8n,(H$(),!1)),Dwn(),bDt=new gL(W8n,dDt=Jxt),_gn(),mDt=new gL(g8n,vDt=s$t),EDt=new gL(Unt,!1),Cdn(),MDt=new gL(f8n,jDt=C$t),XDt=new SN(12),WDt=new gL($3n,XDt),CDt=new gL(s4n,!1),ODt=new gL(d9n,!1),zDt=new gL(l4n,!1),LPn(),oxt=new gL(h4n,uxt=oRt),gxt=new Sm(f9n),pxt=new Sm(r4n),mxt=new Sm(o4n),kxt=new Sm(u4n),ADt=new By,IDt=new gL(i9n,ADt),sDt=new gL(a9n,!1),TDt=new gL(o9n,!1),NDt=new Ay,LDt=new gL(l9n,NDt),qDt=new gL(B8n,!1),yxt=new gL(Qnt,1),uDt=new Sm(Jnt),oDt=new Sm(Ynt),Fxt=new gL(m4n,!1),new gL(Znt,!0),Ddn(0),new gL(ntt,Ddn(100)),new gL(ttt,!1),Ddn(0),new gL(ett,Ddn(4e3)),Ddn(0),new gL(itt,Ddn(400)),new gL(rtt,!1),new gL(ctt,!1),new gL(att,!0),new gL(ott,!1),Hpn(),cDt=new gL(qnt,aDt=k_t),Ext=new gL(O8n,10),Mxt=new gL(I8n,10),jxt=new gL(N3n,20),Txt=new gL(A8n,10),Sxt=new gL(a4n,2),Pxt=new gL(L8n,10),Oxt=new gL(N8n,0),Ixt=new gL($8n,5),Axt=new gL(D8n,1),Lxt=new gL(x8n,1),Nxt=new gL(c4n,20),Dxt=new gL(R8n,10),Rxt=new gL(_8n,10),Cxt=new Sm(K8n),$xt=new HL,xxt=new gL(b9n,$xt),JDt=new Sm(h9n),VDt=new gL(s9n,QDt=!1),xDt=new SN(5),DDt=new gL(X8n,xDt),zxn(),t=aU(yj(nRt),9),RDt=new YF(t,aU(yK(t,t.length),9),0),$Dt=new gL(g4n,RDt),zyn(),ZDt=new gL(J8n,nxt=J$t),ext=new Sm(Y8n),ixt=new Sm(Z8n),rxt=new Sm(n9n),txt=new Sm(t9n),n=aU(yj(o_t),9),KDt=new YF(n,aU(yK(n,n.length),9),0),_Dt=new gL(w4n,KDt),UDt=dgn((rHn(),n_t)),HDt=new gL(d4n,UDt),GDt=new yI(0,0),BDt=new gL(D4n,GDt),FDt=new gL(b4n,!1),Jrn(),gDt=new gL(r9n,pDt=t$t),wDt=new gL(f4n,!1),Ddn(1),new gL(stt,null),cxt=new Sm(u9n),sxt=new Sm(c9n),$Qn(),dxt=new gL(G8n,wxt=RRt),axt=new Sm(F8n),nNn(),lxt=dgn(dRt),fxt=new gL(p4n,lxt),hxt=new gL(V8n,!1),bxt=new gL(Q8n,!0),Uxt=new gL(v4n,1),zxt=new gL(htt,null),Kxt=new gL(y4n,150),_xt=new gL(k4n,1.414),Bxt=new gL(E4n,null),Gxt=new gL(ftt,1),SDt=new gL(q8n,!1),PDt=new gL(z8n,!1),yDt=new gL(D3n,1),xCn(),new gL(ltt,kDt=g$t),YDt=!0,Pdn(),qxt=s_t,Wxt=s_t,Hxt=s_t}function qYn(){qYn=T,Hbt=new SC("DIRECTION_PREPROCESSOR",0),Fbt=new SC("COMMENT_PREPROCESSOR",1),Ubt=new SC("EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER",2),adt=new SC("INTERACTIVE_EXTERNAL_PORT_POSITIONER",3),Tdt=new SC("PARTITION_PREPROCESSOR",4),hdt=new SC("LABEL_DUMMY_INSERTER",5),Adt=new SC("SELF_LOOP_PREPROCESSOR",6),wdt=new SC("LAYER_CONSTRAINT_PREPROCESSOR",7),Mdt=new SC("PARTITION_MIDPROCESSOR",8),tdt=new SC("HIGH_DEGREE_NODE_LAYER_PROCESSOR",9),vdt=new SC("NODE_PROMOTION",10),ddt=new SC("LAYER_CONSTRAINT_POSTPROCESSOR",11),jdt=new SC("PARTITION_POSTPROCESSOR",12),Jbt=new SC("HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR",13),Ndt=new SC("SEMI_INTERACTIVE_CROSSMIN_PROCESSOR",14),Dbt=new SC("BREAKING_POINT_INSERTER",15),mdt=new SC("LONG_EDGE_SPLITTER",16),Pdt=new SC("PORT_SIDE_PROCESSOR",17),odt=new SC("INVERTED_PORT_PROCESSOR",18),Sdt=new SC("PORT_LIST_SORTER",19),xdt=new SC("SORT_BY_INPUT_ORDER_OF_MODEL",20),kdt=new SC("NORTH_SOUTH_PORT_PREPROCESSOR",21),xbt=new SC("BREAKING_POINT_PROCESSOR",22),Edt=new SC(w6n,23),$dt=new SC(g6n,24),Odt=new SC("SELF_LOOP_PORT_RESTORER",25),Ddt=new SC("SINGLE_EDGE_GRAPH_WRAPPER",26),udt=new SC("IN_LAYER_CONSTRAINT_PROCESSOR",27),Xbt=new SC("END_NODE_PORT_LABEL_MANAGEMENT_PROCESSOR",28),sdt=new SC("LABEL_AND_NODE_SIZE_PROCESSOR",29),cdt=new SC("INNERMOST_NODE_MARGIN_CALCULATOR",30),Ldt=new SC("SELF_LOOP_ROUTER",31),_bt=new SC("COMMENT_NODE_MARGIN_CALCULATOR",32),zbt=new SC("END_LABEL_PREPROCESSOR",33),ldt=new SC("LABEL_DUMMY_SWITCHER",34),Rbt=new SC("CENTER_LABEL_MANAGEMENT_PROCESSOR",35),bdt=new SC("LABEL_SIDE_SELECTOR",36),idt=new SC("HYPEREDGE_DUMMY_MERGER",37),Ybt=new SC("HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR",38),gdt=new SC("LAYER_SIZE_AND_GRAPH_HEIGHT_CALCULATOR",39),ndt=new SC("HIERARCHICAL_PORT_POSITION_PROCESSOR",40),Bbt=new SC("CONSTRAINTS_POSTPROCESSOR",41),Kbt=new SC("COMMENT_POSTPROCESSOR",42),rdt=new SC("HYPERNODE_PROCESSOR",43),Zbt=new SC("HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER",44),pdt=new SC("LONG_EDGE_JOINER",45),Idt=new SC("SELF_LOOP_POSTPROCESSOR",46),$bt=new SC("BREAKING_POINT_REMOVER",47),ydt=new SC("NORTH_SOUTH_PORT_POSTPROCESSOR",48),edt=new SC("HORIZONTAL_COMPACTOR",49),fdt=new SC("LABEL_DUMMY_REMOVER",50),Vbt=new SC("FINAL_SPLINE_BENDPOINTS_CALCULATOR",51),Wbt=new SC("END_LABEL_SORTER",52),Cdt=new SC("REVERSED_EDGE_RESTORER",53),qbt=new SC("END_LABEL_POSTPROCESSOR",54),Qbt=new SC("HIERARCHICAL_NODE_RESIZER",55),Gbt=new SC("DIRECTION_POSTPROCESSOR",56)}function zYn(){zYn=T,zin(),gvt=new gL(K6n,pvt=bgt),Dvt=new gL(F6n,(H$(),!1)),Q6(),Kvt=new gL(B6n,Fvt=mpt),ryt=new gL(G6n,!1),cyt=new gL(H6n,!0),Nmt=new gL(U6n,!1),Yen(),jyt=new gL(q6n,Tyt=Gjt),Ddn(1),Nyt=new gL(z6n,Ddn(7)),Dyt=new gL(W6n,!1),xvt=new gL(X6n,!1),mvn(),dvt=new gL(V6n,wvt=ogt),y_n(),eyt=new gL(Q6n,iyt=ejt),Gpn(),zvt=new gL(J6n,Wvt=Imt),Ddn(-1),qvt=new gL(Y6n,null),Ddn(-1),Xvt=new gL(Z6n,Ddn(-1)),Ddn(-1),Vvt=new gL(n5n,Ddn(4)),Ddn(-1),Jvt=new gL(t5n,Ddn(2)),kGn(),nyt=new gL(e5n,tyt=Ljt),Ddn(0),Zvt=new gL(i5n,Ddn(0)),Hvt=new gL(r5n,Ddn(pZn)),Ean(),lvt=new gL(c5n,bvt=Jwt),Vmt=new gL(a5n,!1),rvt=new gL(o5n,.1),hvt=new gL(u5n,!1),avt=new gL(s5n,null),ovt=new gL(h5n,null),Ddn(-1),uvt=new gL(f5n,null),Ddn(-1),svt=new gL(l5n,Ddn(-1)),Ddn(0),Qmt=new gL(b5n,Ddn(40)),thn(),tvt=new gL(d5n,evt=hpt),Jmt=new gL(w5n,Ymt=upt),wkn(),Eyt=new gL(g5n,Myt=pjt),lyt=new Sm(p5n),Wtn(),ayt=new gL(m5n,oyt=Igt),MSn(),syt=new gL(v5n,hyt=Rgt),wyt=new gL(y5n,.3),pyt=new Sm(k5n),Qkn(),myt=new gL(E5n,vyt=bjt),tsn(),jvt=new gL(M5n,Tvt=Yjt),jln(),Svt=new gL(j5n,Pvt=rTt),mbn(),Cvt=new gL(T5n,Ovt=sTt),Avt=new gL(S5n,.2),Evt=new gL(P5n,2),Oyt=new gL(C5n,null),Ayt=new gL(O5n,10),Iyt=new gL(I5n,10),Lyt=new gL(A5n,20),Ddn(0),Syt=new gL(L5n,Ddn(0)),Ddn(0),Pyt=new gL(N5n,Ddn(0)),Ddn(0),Cyt=new gL(D5n,Ddn(0)),Dmt=new gL(x5n,!1),xOn(),Rmt=new gL($5n,_mt=zgt),F7(),xmt=new gL(R5n,$mt=Wwt),Rvt=new gL(_5n,!1),Ddn(0),$vt=new gL(K5n,Ddn(16)),Ddn(0),_vt=new gL(F5n,Ddn(5)),qhn(),ekt=new gL(B5n,ikt=mTt),xyt=new gL(G5n,10),_yt=new gL(H5n,1),ean(),zyt=new gL(U5n,Wyt=igt),Byt=new Sm(q5n),Uyt=Ddn(1),Ddn(0),Hyt=new gL(z5n,Uyt),tan(),okt=new gL(W5n,ukt=lTt),rkt=new Sm(X5n),Yyt=new gL(V5n,!0),Qyt=new gL(Q5n,2),nkt=new gL(J5n,!0),ZOn(),yvt=new gL(Y5n,kvt=Sgt),pAn(),mvt=new gL(Z5n,vvt=Fwt),vvn(),Wmt=new gL(n8n,Xmt=Rjt),zmt=new gL(t8n,!1),qmt=new gL(e8n,!1),Bvn(),Kmt=new gL(i8n,Fmt=Zlt),Sdn(),Hmt=new gL(r8n,Umt=ajt),Bmt=new gL(c8n,0),Gmt=new gL(a8n,0),Gvt=sgt,Bvt=Qwt,Qvt=tjt,Yvt=tjt,Uvt=QMt,Cdn(),cvt=P$t,fvt=Jwt,ivt=Jwt,Zmt=Jwt,nvt=P$t,byt=yjt,dyt=pjt,uyt=pjt,fyt=pjt,gyt=vjt,kyt=yjt,yyt=yjt,_gn(),Ivt=u$t,Lvt=u$t,Nvt=sTt,Mvt=o$t,$yt=vTt,Ryt=pTt,Kyt=vTt,Fyt=pTt,Xyt=vTt,Vyt=pTt,Gyt=egt,qyt=igt,skt=vTt,hkt=pTt,ckt=vTt,akt=pTt,Zyt=pTt,Jyt=pTt,tkt=pTt}function WYn(n,e,i){var r,c,a,o,u,s,h,f,l,b,d,w,g,p,m,v,y,k,E,M,j,T,S,P,C,O,I,A,L,N,D,x,$,R,_,K,F,B,G,H,U,q,z,W,X,V,Q,J,Y,Z,nn,tn,en,rn,cn,an,on,un;for(Y=0,N=0,$=(I=e).length;N<$;++N)for(U=new Wd((C=I[N]).j);U.a0&&(n.a[H.p]=Y++)}for(rn=0,D=0,R=(A=i).length;D0;){for(y_(W.b>0),z=0,u=new Wd((H=aU(W.a.Xb(W.c=--W.b),12)).e);u.a0&&(H.j==($Qn(),vRt)?(n.a[H.p]=rn,++rn):(n.a[H.p]=rn+_+F,++F))}rn+=F}for(q=new Qm,w=new UL,L=0,x=(O=e).length;Lh.b&&(h.b=X)):H.i.c==J&&(Xh.c&&(h.c=X));for(Atn(g,0,g.length,null),en=Pnn(VGt,W1n,28,g.length,15,1),r=Pnn(VGt,W1n,28,rn+1,15,1),m=0;m0;)j%2>0&&(c+=on[j+1]),++on[j=(j-1)/2|0];for(S=Pnn(JTt,MZn,374,2*g.length,0,1),k=0;k0&&(O1(I.f),0)){if(aU(qxn(g,Bxt),280)==s_t)throw uv(new EE("Topdown Layout Providers should only be used on parallel nodes."));UA(O1(I.f)),null.Um(),pN(g,t.Math.max(g.g,null.Vm),t.Math.max(g.f,null.Vm))}else null!=qxn(g,zxt)&&(G=aU(qxn(g,zxt),347).Tg(g),pN(g,t.Math.max(g.g,G.a),t.Math.max(g.f,G.b)));if(x=aU(qxn(e,WDt),107),b=e.g-(x.b+x.c),l=e.f-(x.d+x.a),U.bh("Available Child Area: ("+b+"|"+l+")"),ykn(e,iDt,b/l),yyn(e,c,r.eh(N)),aU(qxn(e,Bxt),280)==f_t&&(zJn(e),pN(e,x.b+aE(w_(qxn(e,uDt)))+x.c,x.d+aE(w_(qxn(e,oDt)))+x.a)),U.bh("Executed layout algorithm: "+g_(qxn(e,nDt))+" on node "+e.k),aU(qxn(e,Bxt),280)==s_t){if(b<0||l<0)throw uv(new EE("The size defined by the parent parallel node is too small for the space provided by the paddings of the child hierarchical node. "+e.k));for(pnn(e,uDt)||pnn(e,oDt)||zJn(e),w=aE(w_(qxn(e,uDt))),d=aE(w_(qxn(e,oDt))),U.bh("Desired Child Area: ("+w+"|"+d+")"),R=b/w,_=l/d,$=t.Math.min(R,t.Math.min(_,aE(w_(qxn(e,Gxt))))),ykn(e,Uxt,$),U.bh(e.k+" -- Local Scale Factor (X|Y): ("+R+"|"+_+")"),v=aU(qxn(e,hDt),21),a=0,o=0,$'?":gF(eit,n)?"'(?<' or '(? toIndex: ",o2n=", toIndex: ",u2n="Index: ",s2n=", Size: ",h2n="org.eclipse.elk.alg.common",f2n={50:1},l2n="org.eclipse.elk.alg.common.compaction",b2n="Scanline/EventHandler",d2n="org.eclipse.elk.alg.common.compaction.oned",w2n="CNode belongs to another CGroup.",g2n="ISpacingsHandler/1",p2n="The ",m2n=" instance has been finished already.",v2n="The direction ",y2n=" is not supported by the CGraph instance.",k2n="OneDimensionalCompactor",E2n="OneDimensionalCompactor/lambda$0$Type",M2n="Quadruplet",j2n="ScanlineConstraintCalculator",T2n="ScanlineConstraintCalculator/ConstraintsScanlineHandler",S2n="ScanlineConstraintCalculator/ConstraintsScanlineHandler/lambda$0$Type",P2n="ScanlineConstraintCalculator/Timestamp",C2n="ScanlineConstraintCalculator/lambda$0$Type",O2n={178:1,46:1},I2n="org.eclipse.elk.alg.common.compaction.options",A2n="org.eclipse.elk.core.data",L2n="org.eclipse.elk.polyomino.traversalStrategy",N2n="org.eclipse.elk.polyomino.lowLevelSort",D2n="org.eclipse.elk.polyomino.highLevelSort",x2n="org.eclipse.elk.polyomino.fill",$2n={134:1},R2n="polyomino",_2n="org.eclipse.elk.alg.common.networksimplex",K2n={183:1,3:1,4:1},F2n="org.eclipse.elk.alg.common.nodespacing",B2n="org.eclipse.elk.alg.common.nodespacing.cellsystem",G2n="CENTER",H2n={217:1,336:1},U2n={3:1,4:1,5:1,603:1},q2n="LEFT",z2n="RIGHT",W2n="Vertical alignment cannot be null",X2n="BOTTOM",V2n="org.eclipse.elk.alg.common.nodespacing.internal",Q2n="UNDEFINED",J2n=.01,Y2n="org.eclipse.elk.alg.common.nodespacing.internal.algorithm",Z2n="LabelPlacer/lambda$0$Type",n3n="LabelPlacer/lambda$1$Type",t3n="portRatioOrPosition",e3n="org.eclipse.elk.alg.common.overlaps",i3n="DOWN",r3n="org.eclipse.elk.alg.common.polyomino",c3n="NORTH",a3n="EAST",o3n="SOUTH",u3n="WEST",s3n="org.eclipse.elk.alg.common.polyomino.structures",h3n="Direction",f3n="Grid is only of size ",l3n=". Requested point (",b3n=") is out of bounds.",d3n=" Given center based coordinates were (",w3n="org.eclipse.elk.graph.properties",g3n="IPropertyHolder",p3n={3:1,96:1,137:1},m3n="org.eclipse.elk.alg.common.spore",v3n="org.eclipse.elk.alg.common.utils",y3n={205:1},k3n="org.eclipse.elk.core",E3n="Connected Components Compaction",M3n="org.eclipse.elk.alg.disco",j3n="org.eclipse.elk.alg.disco.graph",T3n="org.eclipse.elk.alg.disco.options",S3n="CompactionStrategy",P3n="org.eclipse.elk.disco.componentCompaction.strategy",C3n="org.eclipse.elk.disco.componentCompaction.componentLayoutAlgorithm",O3n="org.eclipse.elk.disco.debug.discoGraph",I3n="org.eclipse.elk.disco.debug.discoPolys",A3n="componentCompaction",L3n="org.eclipse.elk.disco",N3n="org.eclipse.elk.spacing.componentComponent",D3n="org.eclipse.elk.edge.thickness",x3n="org.eclipse.elk.aspectRatio",$3n="org.eclipse.elk.padding",R3n="org.eclipse.elk.alg.disco.transform",_3n=1.5707963267948966,K3n=17976931348623157e292,F3n={3:1,4:1,5:1,198:1},B3n={3:1,6:1,4:1,5:1,100:1,115:1},G3n="org.eclipse.elk.alg.force",H3n="ComponentsProcessor",U3n="ComponentsProcessor/1",q3n="ElkGraphImporter/lambda$0$Type",z3n="org.eclipse.elk.alg.force.graph",W3n="Component Layout",X3n="org.eclipse.elk.alg.force.model",V3n="org.eclipse.elk.force.model",Q3n="org.eclipse.elk.force.iterations",J3n="org.eclipse.elk.force.repulsivePower",Y3n="org.eclipse.elk.force.temperature",Z3n=.001,n4n="org.eclipse.elk.force.repulsion",t4n="org.eclipse.elk.alg.force.options",e4n=1.600000023841858,i4n="org.eclipse.elk.force",r4n="org.eclipse.elk.priority",c4n="org.eclipse.elk.spacing.nodeNode",a4n="org.eclipse.elk.spacing.edgeLabel",o4n="org.eclipse.elk.randomSeed",u4n="org.eclipse.elk.separateConnectedComponents",s4n="org.eclipse.elk.interactive",h4n="org.eclipse.elk.portConstraints",f4n="org.eclipse.elk.edgeLabels.inline",l4n="org.eclipse.elk.omitNodeMicroLayout",b4n="org.eclipse.elk.nodeSize.fixedGraphSize",d4n="org.eclipse.elk.nodeSize.options",w4n="org.eclipse.elk.nodeSize.constraints",g4n="org.eclipse.elk.nodeLabels.placement",p4n="org.eclipse.elk.portLabels.placement",m4n="org.eclipse.elk.topdownLayout",v4n="org.eclipse.elk.topdown.scaleFactor",y4n="org.eclipse.elk.topdown.hierarchicalNodeWidth",k4n="org.eclipse.elk.topdown.hierarchicalNodeAspectRatio",E4n="org.eclipse.elk.topdown.nodeType",M4n="origin",j4n="random",T4n="boundingBox.upLeft",S4n="boundingBox.lowRight",P4n="org.eclipse.elk.stress.fixed",C4n="org.eclipse.elk.stress.desiredEdgeLength",O4n="org.eclipse.elk.stress.dimension",I4n="org.eclipse.elk.stress.epsilon",A4n="org.eclipse.elk.stress.iterationLimit",L4n="org.eclipse.elk.stress",N4n="ELK Stress",D4n="org.eclipse.elk.nodeSize.minimum",x4n="org.eclipse.elk.alg.force.stress",$4n="Layered layout",R4n="org.eclipse.elk.alg.layered",_4n="org.eclipse.elk.alg.layered.compaction.components",K4n="org.eclipse.elk.alg.layered.compaction.oned",F4n="org.eclipse.elk.alg.layered.compaction.oned.algs",B4n="org.eclipse.elk.alg.layered.compaction.recthull",G4n="org.eclipse.elk.alg.layered.components",H4n="NONE",U4n="MODEL_ORDER",q4n={3:1,6:1,4:1,9:1,5:1,126:1},z4n={3:1,6:1,4:1,5:1,150:1,100:1,115:1},W4n="org.eclipse.elk.alg.layered.compound",X4n={47:1},V4n="org.eclipse.elk.alg.layered.graph",Q4n=" -> ",J4n="Not supported by LGraph",Y4n="Port side is undefined",Z4n={3:1,6:1,4:1,5:1,483:1,150:1,100:1,115:1},n6n={3:1,6:1,4:1,5:1,150:1,199:1,210:1,100:1,115:1},t6n={3:1,6:1,4:1,5:1,150:1,2042:1,210:1,100:1,115:1},e6n="([{\"' \t\r\n",i6n=")]}\"' \t\r\n",r6n="The given string contains parts that cannot be parsed as numbers.",c6n="org.eclipse.elk.core.math",a6n={3:1,4:1,140:1,214:1,423:1},o6n={3:1,4:1,107:1,214:1,423:1},u6n="org.eclipse.elk.alg.layered.graph.transform",s6n="ElkGraphImporter",h6n="ElkGraphImporter/lambda$1$Type",f6n="ElkGraphImporter/lambda$2$Type",l6n="ElkGraphImporter/lambda$4$Type",b6n="org.eclipse.elk.alg.layered.intermediate",d6n="Node margin calculation",w6n="ONE_SIDED_GREEDY_SWITCH",g6n="TWO_SIDED_GREEDY_SWITCH",p6n="No implementation is available for the layout processor ",m6n="IntermediateProcessorStrategy",v6n="Node '",y6n="FIRST_SEPARATE",k6n="LAST_SEPARATE",E6n="Odd port side processing",M6n="org.eclipse.elk.alg.layered.intermediate.compaction",j6n="org.eclipse.elk.alg.layered.intermediate.greedyswitch",T6n="org.eclipse.elk.alg.layered.p3order.counting",S6n={230:1},P6n="org.eclipse.elk.alg.layered.intermediate.loops",C6n="org.eclipse.elk.alg.layered.intermediate.loops.ordering",O6n="org.eclipse.elk.alg.layered.intermediate.loops.routing",I6n="org.eclipse.elk.alg.layered.intermediate.preserveorder",A6n="org.eclipse.elk.alg.layered.intermediate.wrapping",L6n="org.eclipse.elk.alg.layered.options",N6n="INTERACTIVE",D6n="GREEDY",x6n="DEPTH_FIRST",$6n="EDGE_LENGTH",R6n="SELF_LOOPS",_6n="firstTryWithInitialOrder",K6n="org.eclipse.elk.layered.directionCongruency",F6n="org.eclipse.elk.layered.feedbackEdges",B6n="org.eclipse.elk.layered.interactiveReferencePoint",G6n="org.eclipse.elk.layered.mergeEdges",H6n="org.eclipse.elk.layered.mergeHierarchyEdges",U6n="org.eclipse.elk.layered.allowNonFlowPortsToSwitchSides",q6n="org.eclipse.elk.layered.portSortingStrategy",z6n="org.eclipse.elk.layered.thoroughness",W6n="org.eclipse.elk.layered.unnecessaryBendpoints",X6n="org.eclipse.elk.layered.generatePositionAndLayerIds",V6n="org.eclipse.elk.layered.cycleBreaking.strategy",Q6n="org.eclipse.elk.layered.layering.strategy",J6n="org.eclipse.elk.layered.layering.layerConstraint",Y6n="org.eclipse.elk.layered.layering.layerChoiceConstraint",Z6n="org.eclipse.elk.layered.layering.layerId",n5n="org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth",t5n="org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor",e5n="org.eclipse.elk.layered.layering.nodePromotion.strategy",i5n="org.eclipse.elk.layered.layering.nodePromotion.maxIterations",r5n="org.eclipse.elk.layered.layering.coffmanGraham.layerBound",c5n="org.eclipse.elk.layered.crossingMinimization.strategy",a5n="org.eclipse.elk.layered.crossingMinimization.forceNodeModelOrder",o5n="org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness",u5n="org.eclipse.elk.layered.crossingMinimization.semiInteractive",s5n="org.eclipse.elk.layered.crossingMinimization.inLayerPredOf",h5n="org.eclipse.elk.layered.crossingMinimization.inLayerSuccOf",f5n="org.eclipse.elk.layered.crossingMinimization.positionChoiceConstraint",l5n="org.eclipse.elk.layered.crossingMinimization.positionId",b5n="org.eclipse.elk.layered.crossingMinimization.greedySwitch.activationThreshold",d5n="org.eclipse.elk.layered.crossingMinimization.greedySwitch.type",w5n="org.eclipse.elk.layered.crossingMinimization.greedySwitchHierarchical.type",g5n="org.eclipse.elk.layered.nodePlacement.strategy",p5n="org.eclipse.elk.layered.nodePlacement.favorStraightEdges",m5n="org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening",v5n="org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment",y5n="org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening",k5n="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility",E5n="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.default",M5n="org.eclipse.elk.layered.edgeRouting.selfLoopDistribution",j5n="org.eclipse.elk.layered.edgeRouting.selfLoopOrdering",T5n="org.eclipse.elk.layered.edgeRouting.splines.mode",S5n="org.eclipse.elk.layered.edgeRouting.splines.sloppy.layerSpacingFactor",P5n="org.eclipse.elk.layered.edgeRouting.polyline.slopedEdgeZoneWidth",C5n="org.eclipse.elk.layered.spacing.baseValue",O5n="org.eclipse.elk.layered.spacing.edgeNodeBetweenLayers",I5n="org.eclipse.elk.layered.spacing.edgeEdgeBetweenLayers",A5n="org.eclipse.elk.layered.spacing.nodeNodeBetweenLayers",L5n="org.eclipse.elk.layered.priority.direction",N5n="org.eclipse.elk.layered.priority.shortness",D5n="org.eclipse.elk.layered.priority.straightness",x5n="org.eclipse.elk.layered.compaction.connectedComponents",$5n="org.eclipse.elk.layered.compaction.postCompaction.strategy",R5n="org.eclipse.elk.layered.compaction.postCompaction.constraints",_5n="org.eclipse.elk.layered.highDegreeNodes.treatment",K5n="org.eclipse.elk.layered.highDegreeNodes.threshold",F5n="org.eclipse.elk.layered.highDegreeNodes.treeHeight",B5n="org.eclipse.elk.layered.wrapping.strategy",G5n="org.eclipse.elk.layered.wrapping.additionalEdgeSpacing",H5n="org.eclipse.elk.layered.wrapping.correctionFactor",U5n="org.eclipse.elk.layered.wrapping.cutting.strategy",q5n="org.eclipse.elk.layered.wrapping.cutting.cuts",z5n="org.eclipse.elk.layered.wrapping.cutting.msd.freedom",W5n="org.eclipse.elk.layered.wrapping.validify.strategy",X5n="org.eclipse.elk.layered.wrapping.validify.forbiddenIndices",V5n="org.eclipse.elk.layered.wrapping.multiEdge.improveCuts",Q5n="org.eclipse.elk.layered.wrapping.multiEdge.distancePenalty",J5n="org.eclipse.elk.layered.wrapping.multiEdge.improveWrappedEdges",Y5n="org.eclipse.elk.layered.edgeLabels.sideSelection",Z5n="org.eclipse.elk.layered.edgeLabels.centerLabelPlacementStrategy",n8n="org.eclipse.elk.layered.considerModelOrder.strategy",t8n="org.eclipse.elk.layered.considerModelOrder.portModelOrder",e8n="org.eclipse.elk.layered.considerModelOrder.noModelOrder",i8n="org.eclipse.elk.layered.considerModelOrder.components",r8n="org.eclipse.elk.layered.considerModelOrder.longEdgeStrategy",c8n="org.eclipse.elk.layered.considerModelOrder.crossingCounterNodeInfluence",a8n="org.eclipse.elk.layered.considerModelOrder.crossingCounterPortInfluence",o8n="layering",u8n="layering.minWidth",s8n="layering.nodePromotion",h8n="crossingMinimization",f8n="org.eclipse.elk.hierarchyHandling",l8n="crossingMinimization.greedySwitch",b8n="nodePlacement",d8n="nodePlacement.bk",w8n="edgeRouting",g8n="org.eclipse.elk.edgeRouting",p8n="spacing",m8n="priority",v8n="compaction",y8n="compaction.postCompaction",k8n="Specifies whether and how post-process compaction is applied.",E8n="highDegreeNodes",M8n="wrapping",j8n="wrapping.cutting",T8n="wrapping.validify",S8n="wrapping.multiEdge",P8n="edgeLabels",C8n="considerModelOrder",O8n="org.eclipse.elk.spacing.commentComment",I8n="org.eclipse.elk.spacing.commentNode",A8n="org.eclipse.elk.spacing.edgeEdge",L8n="org.eclipse.elk.spacing.edgeNode",N8n="org.eclipse.elk.spacing.labelLabel",D8n="org.eclipse.elk.spacing.labelPortHorizontal",x8n="org.eclipse.elk.spacing.labelPortVertical",$8n="org.eclipse.elk.spacing.labelNode",R8n="org.eclipse.elk.spacing.nodeSelfLoop",_8n="org.eclipse.elk.spacing.portPort",K8n="org.eclipse.elk.spacing.individual",F8n="org.eclipse.elk.port.borderOffset",B8n="org.eclipse.elk.noLayout",G8n="org.eclipse.elk.port.side",H8n="org.eclipse.elk.debugMode",U8n="org.eclipse.elk.alignment",q8n="org.eclipse.elk.insideSelfLoops.activate",z8n="org.eclipse.elk.insideSelfLoops.yo",W8n="org.eclipse.elk.direction",X8n="org.eclipse.elk.nodeLabels.padding",V8n="org.eclipse.elk.portLabels.nextToPortIfPossible",Q8n="org.eclipse.elk.portLabels.treatAsGroup",J8n="org.eclipse.elk.portAlignment.default",Y8n="org.eclipse.elk.portAlignment.north",Z8n="org.eclipse.elk.portAlignment.south",n9n="org.eclipse.elk.portAlignment.west",t9n="org.eclipse.elk.portAlignment.east",e9n="org.eclipse.elk.contentAlignment",i9n="org.eclipse.elk.junctionPoints",r9n="org.eclipse.elk.edgeLabels.placement",c9n="org.eclipse.elk.port.index",a9n="org.eclipse.elk.commentBox",o9n="org.eclipse.elk.hypernode",u9n="org.eclipse.elk.port.anchor",s9n="org.eclipse.elk.partitioning.activate",h9n="org.eclipse.elk.partitioning.partition",f9n="org.eclipse.elk.position",l9n="org.eclipse.elk.margins",b9n="org.eclipse.elk.spacing.portsSurrounding",d9n="org.eclipse.elk.interactiveLayout",w9n="org.eclipse.elk.core.util",g9n={3:1,4:1,5:1,601:1},p9n="NETWORK_SIMPLEX",m9n="SIMPLE",v9n={106:1,47:1},y9n="org.eclipse.elk.alg.layered.p1cycles",k9n="org.eclipse.elk.alg.layered.p2layers",E9n={413:1,230:1},M9n={846:1,3:1,4:1},j9n="org.eclipse.elk.alg.layered.p3order",T9n="org.eclipse.elk.alg.layered.p4nodes",S9n={3:1,4:1,5:1,854:1},P9n=1e-5,C9n="org.eclipse.elk.alg.layered.p4nodes.bk",O9n="org.eclipse.elk.alg.layered.p5edges",I9n="org.eclipse.elk.alg.layered.p5edges.orthogonal",A9n="org.eclipse.elk.alg.layered.p5edges.orthogonal.direction",L9n=1e-6,N9n="org.eclipse.elk.alg.layered.p5edges.splines",D9n=.09999999999999998,x9n=1e-8,$9n=4.71238898038469,R9n=3.141592653589793,_9n="org.eclipse.elk.alg.mrtree",K9n=.10000000149011612,F9n="SUPER_ROOT",B9n="org.eclipse.elk.alg.mrtree.graph",G9n=-17976931348623157e292,H9n="org.eclipse.elk.alg.mrtree.intermediate",U9n="Processor compute fanout",q9n={3:1,6:1,4:1,5:1,534:1,100:1,115:1},z9n="Set neighbors in level",W9n="org.eclipse.elk.alg.mrtree.options",X9n="DESCENDANTS",V9n="org.eclipse.elk.mrtree.compaction",Q9n="org.eclipse.elk.mrtree.edgeEndTextureLength",J9n="org.eclipse.elk.mrtree.treeLevel",Y9n="org.eclipse.elk.mrtree.positionConstraint",Z9n="org.eclipse.elk.mrtree.weighting",n7n="org.eclipse.elk.mrtree.edgeRoutingMode",t7n="org.eclipse.elk.mrtree.searchOrder",e7n="Position Constraint",i7n="org.eclipse.elk.mrtree",r7n="org.eclipse.elk.tree",c7n="Processor arrange level",a7n="org.eclipse.elk.alg.mrtree.p2order",o7n="org.eclipse.elk.alg.mrtree.p4route",u7n="org.eclipse.elk.alg.radial",s7n=6.283185307179586,h7n="Before",f7n=5e-324,l7n="After",b7n="org.eclipse.elk.alg.radial.intermediate",d7n="COMPACTION",w7n="org.eclipse.elk.alg.radial.intermediate.compaction",g7n={3:1,4:1,5:1,100:1},p7n="org.eclipse.elk.alg.radial.intermediate.optimization",m7n="No implementation is available for the layout option ",v7n="org.eclipse.elk.alg.radial.options",y7n="org.eclipse.elk.radial.centerOnRoot",k7n="org.eclipse.elk.radial.orderId",E7n="org.eclipse.elk.radial.radius",M7n="org.eclipse.elk.radial.rotate",j7n="org.eclipse.elk.radial.compactor",T7n="org.eclipse.elk.radial.compactionStepSize",S7n="org.eclipse.elk.radial.sorter",P7n="org.eclipse.elk.radial.wedgeCriteria",C7n="org.eclipse.elk.radial.optimizationCriteria",O7n="org.eclipse.elk.radial.rotation.targetAngle",I7n="org.eclipse.elk.radial.rotation.computeAdditionalWedgeSpace",A7n="org.eclipse.elk.radial.rotation.outgoingEdgeAngles",L7n="Compaction",N7n="rotation",D7n="org.eclipse.elk.radial",x7n="org.eclipse.elk.alg.radial.p1position.wedge",$7n="org.eclipse.elk.alg.radial.sorting",R7n=5.497787143782138,_7n=3.9269908169872414,K7n=2.356194490192345,F7n="org.eclipse.elk.alg.rectpacking",B7n="org.eclipse.elk.alg.rectpacking.intermediate",G7n="org.eclipse.elk.alg.rectpacking.options",H7n="org.eclipse.elk.rectpacking.trybox",U7n="org.eclipse.elk.rectpacking.currentPosition",q7n="org.eclipse.elk.rectpacking.desiredPosition",z7n="org.eclipse.elk.rectpacking.inNewRow",W7n="org.eclipse.elk.rectpacking.widthApproximation.strategy",X7n="org.eclipse.elk.rectpacking.widthApproximation.targetWidth",V7n="org.eclipse.elk.rectpacking.widthApproximation.optimizationGoal",Q7n="org.eclipse.elk.rectpacking.widthApproximation.lastPlaceShift",J7n="org.eclipse.elk.rectpacking.packing.strategy",Y7n="org.eclipse.elk.rectpacking.packing.compaction.rowHeightReevaluation",Z7n="org.eclipse.elk.rectpacking.packing.compaction.iterations",nnt="org.eclipse.elk.rectpacking.whiteSpaceElimination.strategy",tnt="widthApproximation",ent="Compaction Strategy",int="packing.compaction",rnt="org.eclipse.elk.rectpacking",cnt="org.eclipse.elk.alg.rectpacking.p1widthapproximation",ant="org.eclipse.elk.alg.rectpacking.p2packing",ont="No Compaction",unt="org.eclipse.elk.alg.rectpacking.p3whitespaceelimination",snt="org.eclipse.elk.alg.rectpacking.util",hnt="No implementation available for ",fnt="org.eclipse.elk.alg.spore",lnt="org.eclipse.elk.alg.spore.options",bnt="org.eclipse.elk.sporeCompaction",dnt="org.eclipse.elk.underlyingLayoutAlgorithm",wnt="org.eclipse.elk.processingOrder.treeConstruction",gnt="org.eclipse.elk.processingOrder.spanningTreeCostFunction",pnt="org.eclipse.elk.processingOrder.preferredRoot",mnt="org.eclipse.elk.processingOrder.rootSelection",vnt="org.eclipse.elk.structure.structureExtractionStrategy",ynt="org.eclipse.elk.compaction.compactionStrategy",knt="org.eclipse.elk.compaction.orthogonal",Ent="org.eclipse.elk.overlapRemoval.maxIterations",Mnt="org.eclipse.elk.overlapRemoval.runScanline",jnt="processingOrder",Tnt="overlapRemoval",Snt="org.eclipse.elk.sporeOverlap",Pnt="org.eclipse.elk.alg.spore.p1structure",Cnt="org.eclipse.elk.alg.spore.p2processingorder",Ont="org.eclipse.elk.alg.spore.p3execution",Int="Topdown Layout",Ant="Invalid index: ",Lnt="org.eclipse.elk.core.alg",Nnt={341:1},Dnt={295:1},xnt="Make sure its type is registered with the ",$nt=" utility class.",Rnt="true",_nt="false",Knt="Couldn't clone property '",Fnt=.05,Bnt="org.eclipse.elk.core.options",Gnt=1.2999999523162842,Hnt="org.eclipse.elk.box",Unt="org.eclipse.elk.expandNodes",qnt="org.eclipse.elk.box.packingMode",znt="org.eclipse.elk.algorithm",Wnt="org.eclipse.elk.resolvedAlgorithm",Xnt="org.eclipse.elk.bendPoints",Vnt="org.eclipse.elk.labelManager",Qnt="org.eclipse.elk.scaleFactor",Jnt="org.eclipse.elk.childAreaWidth",Ynt="org.eclipse.elk.childAreaHeight",Znt="org.eclipse.elk.animate",ntt="org.eclipse.elk.animTimeFactor",ttt="org.eclipse.elk.layoutAncestors",ett="org.eclipse.elk.maxAnimTime",itt="org.eclipse.elk.minAnimTime",rtt="org.eclipse.elk.progressBar",ctt="org.eclipse.elk.validateGraph",att="org.eclipse.elk.validateOptions",ott="org.eclipse.elk.zoomToFit",utt="org.eclipse.elk.font.name",stt="org.eclipse.elk.font.size",htt="org.eclipse.elk.topdown.sizeApproximator",ftt="org.eclipse.elk.topdown.scaleCap",ltt="org.eclipse.elk.edge.type",btt="partitioning",dtt="nodeLabels",wtt="portAlignment",gtt="nodeSize",ptt="port",mtt="portLabels",vtt="topdown",ytt="insideSelfLoops",ktt="org.eclipse.elk.fixed",Ett="org.eclipse.elk.random",Mtt={3:1,34:1,22:1,347:1},jtt="port must have a parent node to calculate the port side",Ttt="The edge needs to have exactly one edge section. Found: ",Stt="org.eclipse.elk.core.util.adapters",Ptt="org.eclipse.emf.ecore",Ctt="org.eclipse.elk.graph",Ott="EMapPropertyHolder",Itt="ElkBendPoint",Att="ElkGraphElement",Ltt="ElkConnectableShape",Ntt="ElkEdge",Dtt="ElkEdgeSection",xtt="EModelElement",$tt="ENamedElement",Rtt="ElkLabel",_tt="ElkNode",Ktt="ElkPort",Ftt={94:1,93:1},Btt="org.eclipse.emf.common.notify.impl",Gtt="The feature '",Htt="' is not a valid changeable feature",Utt="Expecting null",qtt="' is not a valid feature",ztt="The feature ID",Wtt=" is not a valid feature ID",Xtt=32768,Vtt={110:1,94:1,93:1,58:1,54:1,99:1},Qtt="org.eclipse.emf.ecore.impl",Jtt="org.eclipse.elk.graph.impl",Ytt="Recursive containment not allowed for ",Ztt="The datatype '",net="' is not a valid classifier",tet="The value '",eet={195:1,3:1,4:1},iet="The class '",ret="http://www.eclipse.org/elk/ElkGraph",cet="property",aet="value",oet="source",uet="properties",set="identifier",het="height",fet="width",bet="parent",det="text",wet="children",get="hierarchical",pet="sources",met="targets",vet="sections",yet="bendPoints",ket="outgoingShape",Eet="incomingShape",Met="outgoingSections",jet="incomingSections",Tet="org.eclipse.emf.common.util",Set="Severe implementation error in the Json to ElkGraph importer.",Pet="id",Cet="org.eclipse.elk.graph.json",Oet="Unhandled parameter types: ",Iet="startPoint",Aet="An edge must have at least one source and one target (edge id: '",Let="').",Net="Referenced edge section does not exist: ",Det=" (edge id: '",xet="target",$et="sourcePoint",Ret="targetPoint",_et="group",Ket="name",Fet="connectableShape cannot be null",Bet="edge cannot be null",Get="Passed edge is not 'simple'.",Het="org.eclipse.elk.graph.util",Uet="The 'no duplicates' constraint is violated",qet="targetIndex=",zet=", size=",Wet="sourceIndex=",Xet={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1},Vet={3:1,4:1,20:1,31:1,56:1,16:1,51:1,15:1,59:1,70:1,66:1,61:1,596:1},Qet="logging",Jet="measureExecutionTime",Yet="parser.parse.1",Zet="parser.parse.2",nit="parser.next.1",tit="parser.next.2",eit="parser.next.3",iit="parser.next.4",rit="parser.factor.1",cit="parser.factor.2",ait="parser.factor.3",oit="parser.factor.4",uit="parser.factor.5",sit="parser.factor.6",hit="parser.atom.1",fit="parser.atom.2",lit="parser.atom.3",bit="parser.atom.4",dit="parser.atom.5",wit="parser.cc.1",git="parser.cc.2",pit="parser.cc.3",mit="parser.cc.5",vit="parser.cc.6",yit="parser.cc.7",kit="parser.cc.8",Eit="parser.ope.1",Mit="parser.ope.2",jit="parser.ope.3",Tit="parser.descape.1",Sit="parser.descape.2",Pit="parser.descape.3",Cit="parser.descape.4",Oit="parser.descape.5",Iit="parser.process.1",Ait="parser.quantifier.1",Lit="parser.quantifier.2",Nit="parser.quantifier.3",Dit="parser.quantifier.4",xit="parser.quantifier.5",$it="org.eclipse.emf.common.notify",Rit={424:1,686:1},_it={3:1,4:1,20:1,31:1,56:1,16:1,15:1,70:1,61:1},Kit={378:1,152:1},Fit="index=",Bit={3:1,4:1,5:1,129:1},Git={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,61:1},Hit={3:1,6:1,4:1,5:1,198:1},Uit={3:1,4:1,5:1,173:1,379:1},qit=";/?:@&=+$,",zit="invalid authority: ",Wit="EAnnotation",Xit="ETypedElement",Vit="EStructuralFeature",Qit="EAttribute",Jit="EClassifier",Yit="EEnumLiteral",Zit="EGenericType",nrt="EOperation",trt="EParameter",ert="EReference",irt="ETypeParameter",rrt="org.eclipse.emf.ecore.util",crt={79:1},art={3:1,20:1,16:1,15:1,61:1,597:1,79:1,71:1,97:1},ort="org.eclipse.emf.ecore.util.FeatureMap$Entry",urt=8192,srt=2048,hrt="byte",frt="char",lrt="double",brt="float",drt="int",wrt="long",grt="short",prt="java.lang.Object",mrt={3:1,4:1,5:1,254:1},vrt={3:1,4:1,5:1,688:1},yrt={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1,71:1},krt={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1,79:1,71:1,97:1},Ert="mixed",Mrt="http:///org/eclipse/emf/ecore/util/ExtendedMetaData",jrt="kind",Trt={3:1,4:1,5:1,689:1},Srt={3:1,4:1,20:1,31:1,56:1,16:1,15:1,70:1,61:1,79:1,71:1,97:1},Prt={20:1,31:1,56:1,16:1,15:1,61:1,71:1},Crt={51:1,128:1,287:1},Ort={76:1,343:1},Irt="The value of type '",Art="' must be of type '",Lrt=1352,Nrt="http://www.eclipse.org/emf/2002/Ecore",Drt=-32768,xrt="constraints",$rt="baseType",Rrt="getEStructuralFeature",_rt="getFeatureID",Krt="feature",Frt="getOperationID",Brt="operation",Grt="defaultValue",Hrt="eTypeParameters",Urt="isInstance",qrt="getEEnumLiteral",zrt="eContainingClass",Wrt={57:1},Xrt={3:1,4:1,5:1,124:1},Vrt="org.eclipse.emf.ecore.resource",Qrt={94:1,93:1,599:1,2034:1},Jrt="org.eclipse.emf.ecore.resource.impl",Yrt="unspecified",Zrt="simple",nct="attribute",tct="attributeWildcard",ect="element",ict="elementWildcard",rct="collapse",cct="itemType",act="namespace",oct="##targetNamespace",uct="whiteSpace",sct="wildcards",hct="http://www.eclipse.org/emf/2003/XMLType",fct="##any",lct="uninitialized",bct="The multiplicity constraint is violated",dct="org.eclipse.emf.ecore.xml.type",wct="ProcessingInstruction",gct="SimpleAnyType",pct="XMLTypeDocumentRoot",mct="org.eclipse.emf.ecore.xml.type.impl",vct="INF",yct="processing",kct="ENTITIES_._base",Ect="minLength",Mct="ENTITY",jct="NCName",Tct="IDREFS_._base",Sct="integer",Pct="token",Cct="pattern",Oct="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*",Ict="\\i\\c*",Act="[\\i-[:]][\\c-[:]]*",Lct="nonPositiveInteger",Nct="maxInclusive",Dct="NMTOKEN",xct="NMTOKENS_._base",$ct="nonNegativeInteger",Rct="minInclusive",_ct="normalizedString",Kct="unsignedByte",Fct="unsignedInt",Bct="18446744073709551615",Gct="unsignedShort",Hct="processingInstruction",Uct="org.eclipse.emf.ecore.xml.type.internal",qct=1114111,zct="Internal Error: shorthands: \\u",Wct="xml:isDigit",Xct="xml:isWord",Vct="xml:isSpace",Qct="xml:isNameChar",Jct="xml:isInitialNameChar",Yct="09٠٩۰۹०९০৯੦੯૦૯୦୯௧௯౦౯೦೯൦൯๐๙໐໙༠༩",Zct="AZazÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁΆΆΈΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆאתװײءغفيٱڷںھۀێېۓەەۥۦअहऽऽक़ॡঅঌএঐওনপরললশহড়ঢ়য়ৡৰৱਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹਖ਼ੜਫ਼ਫ਼ੲੴઅઋઍઍએઑઓનપરલળવહઽઽૠૠଅଌଏଐଓନପରଲଳଶହଽଽଡ଼ଢ଼ୟୡஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹఅఌఎఐఒనపళవహౠౡಅಌಎಐಒನಪಳವಹೞೞೠೡഅഌഎഐഒനപഹൠൡกฮะะาำเๅກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະະາຳຽຽເໄཀཇཉཀྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼΩΩKÅ℮℮ↀↂ〇〇〡〩ぁゔァヺㄅㄬ一龥가힣",nat="Private Use",tat="ASSIGNED",eat="\0€ÿĀſƀɏɐʯʰ˿̀ͯͰϿЀӿ԰֏֐׿؀ۿ܀ݏހ޿ऀॿঀ৿਀੿઀૿଀୿஀௿ఀ౿ಀ೿ഀൿ඀෿฀๿຀໿ༀ࿿က႟Ⴀჿᄀᇿሀ፿Ꭰ᏿᐀ᙿ ᚟ᚠ᛿ក៿᠀᢯Ḁỿἀ῿ ⁰₟₠⃏⃐⃿℀⅏⅐↏←⇿∀⋿⌀⏿␀␿⑀⑟①⓿─╿▀▟■◿☀⛿✀➿⠀⣿⺀⻿⼀⿟⿰⿿ 〿぀ゟ゠ヿ㄀ㄯ㄰㆏㆐㆟ㆠㆿ㈀㋿㌀㏿㐀䶵一鿿ꀀ꒏꒐꓏가힣豈﫿ffﭏﭐ﷿︠︯︰﹏﹐﹯ﹰ﻾\ufeff\ufeff＀￯",iat="UNASSIGNED",rat={3:1,122:1},cat="org.eclipse.emf.ecore.xml.type.util",aat={3:1,4:1,5:1,381:1},oat="org.eclipse.xtext.xbase.lib",uat="Cannot add elements to a Range",sat="Cannot set elements in a Range",hat="Cannot remove elements from a Range",fat="user.agent";t.goog=t.goog||{},t.goog.global=t.goog.global||t,oZn={},oxn(1,null,{},r),aZn.Fb=function(n){return jL(this,n)},aZn.Gb=function(){return this.Rm},aZn.Hb=function(){return D$(this)},aZn.Ib=function(){return Pj(kbn(this))+"@"+(Fon(this)>>>0).toString(16)},aZn.equals=function(n){return this.Fb(n)},aZn.hashCode=function(){return this.Hb()},aZn.toString=function(){return this.Ib()},oxn(297,1,{297:1,2124:1},Pfn),aZn.ve=function(n){var t;return(t=new Pfn).i=4,t.c=n>1?K0(this,n-1):this,t},aZn.we=function(){return p_(this),this.b},aZn.xe=function(){return Pj(this)},aZn.ye=function(){return p_(this),this.k},aZn.ze=function(){return!!(4&this.i)},aZn.Ae=function(){return!!(1&this.i)},aZn.Ib=function(){return irn(this)},aZn.i=0;var lat,bat=qV(mZn,"Object",1),dat=qV(mZn,"Class",297);oxn(2096,1,vZn),qV(yZn,"Optional",2096),oxn(1191,2096,vZn,c),aZn.Fb=function(n){return n===this},aZn.Hb=function(){return 2040732332},aZn.Ib=function(){return"Optional.absent()"},aZn.Jb=function(n){return WV(n),dk(),lat},qV(yZn,"Absent",1191),oxn(636,1,{},RE),qV(yZn,"Joiner",636);var wat=Pq(yZn,"Predicate");oxn(589,1,{178:1,589:1,3:1,46:1},Fl),aZn.Mb=function(n){return Wfn(this,n)},aZn.Lb=function(n){return Wfn(this,n)},aZn.Fb=function(n){var t;return!!RD(n,589)&&(t=aU(n,589),Txn(this.a,t.a))},aZn.Hb=function(){return Jfn(this.a)+306654252},aZn.Ib=function(){return nAn(this.a)},qV(yZn,"Predicates/AndPredicate",589),oxn(419,2096,{419:1,3:1},Bl),aZn.Fb=function(n){var t;return!!RD(n,419)&&(t=aU(n,419),awn(this.a,t.a))},aZn.Hb=function(){return 1502476572+Fon(this.a)},aZn.Ib=function(){return SZn+this.a+")"},aZn.Jb=function(n){return new Bl(fZ(n.Kb(this.a),"the Function passed to Optional.transform() must not return null."))},qV(yZn,"Present",419),oxn(204,1,CZn),aZn.Nb=function(n){jX(this,n)},aZn.Qb=function(){_E()},qV(OZn,"UnmodifiableIterator",204),oxn(2076,204,IZn),aZn.Qb=function(){_E()},aZn.Rb=function(n){throw uv(new $v)},aZn.Wb=function(n){throw uv(new $v)},qV(OZn,"UnmodifiableListIterator",2076),oxn(399,2076,IZn),aZn.Ob=function(){return this.c0},aZn.Pb=function(){if(this.c>=this.d)throw uv(new Kv);return this.Xb(this.c++)},aZn.Tb=function(){return this.c},aZn.Ub=function(){if(this.c<=0)throw uv(new Kv);return this.Xb(--this.c)},aZn.Vb=function(){return this.c-1},aZn.c=0,aZn.d=0,qV(OZn,"AbstractIndexedListIterator",399),oxn(713,204,CZn),aZn.Ob=function(){return con(this)},aZn.Pb=function(){return ven(this)},aZn.e=1,qV(OZn,"AbstractIterator",713),oxn(2084,1,{229:1}),aZn.Zb=function(){return this.f||(this.f=this.ac())},aZn.Fb=function(n){return Oln(this,n)},aZn.Hb=function(){return Fon(this.Zb())},aZn.dc=function(){return 0==this.gc()},aZn.ec=function(){return mW(this)},aZn.Ib=function(){return ipn(this.Zb())},qV(OZn,"AbstractMultimap",2084),oxn(742,2084,AZn),aZn.$b=function(){fan(this)},aZn._b=function(n){return Ej(this,n)},aZn.ac=function(){return new CT(this,this.c)},aZn.ic=function(n){return this.hc()},aZn.bc=function(){return new xx(this,this.c)},aZn.jc=function(){return this.mc(this.hc())},aZn.kc=function(){return new yk(this)},aZn.lc=function(){return PCn(this.c.vc().Nc(),new o,64,this.d)},aZn.cc=function(n){return Q9(this,n)},aZn.fc=function(n){return Zbn(this,n)},aZn.gc=function(){return this.d},aZn.mc=function(n){return uZ(),new Hd(n)},aZn.nc=function(){return new vk(this)},aZn.oc=function(){return PCn(this.c.Cc().Nc(),new a,64,this.d)},aZn.pc=function(n,t){return new O7(this,n,t,null)},aZn.d=0,qV(OZn,"AbstractMapBasedMultimap",742),oxn(1696,742,AZn),aZn.hc=function(){return new x7(this.a)},aZn.jc=function(){return uZ(),uZ(),qot},aZn.cc=function(n){return aU(Q9(this,n),15)},aZn.fc=function(n){return aU(Zbn(this,n),15)},aZn.Zb=function(){return YY(this)},aZn.Fb=function(n){return Oln(this,n)},aZn.qc=function(n){return aU(Q9(this,n),15)},aZn.rc=function(n){return aU(Zbn(this,n),15)},aZn.mc=function(n){return jZ(aU(n,15))},aZn.pc=function(n,t){return j6(this,n,aU(t,15),null)},qV(OZn,"AbstractListMultimap",1696),oxn(748,1,LZn),aZn.Nb=function(n){jX(this,n)},aZn.Ob=function(){return this.c.Ob()||this.e.Ob()},aZn.Pb=function(){var n;return this.e.Ob()||(n=aU(this.c.Pb(),44),this.b=n.ld(),this.a=aU(n.md(),16),this.e=this.a.Kc()),this.sc(this.b,this.e.Pb())},aZn.Qb=function(){this.e.Qb(),aU(YQ(this.a),16).dc()&&this.c.Qb(),--this.d.d},qV(OZn,"AbstractMapBasedMultimap/Itr",748),oxn(1129,748,LZn,vk),aZn.sc=function(n,t){return t},qV(OZn,"AbstractMapBasedMultimap/1",1129),oxn(1130,1,{},a),aZn.Kb=function(n){return aU(n,16).Nc()},qV(OZn,"AbstractMapBasedMultimap/1methodref$spliterator$Type",1130),oxn(1131,748,LZn,yk),aZn.sc=function(n,t){return new RT(n,t)},qV(OZn,"AbstractMapBasedMultimap/2",1131);var gat=Pq(NZn,"Map");oxn(2065,1,DZn),aZn.wc=function(n){Qun(this,n)},aZn.yc=function(n,t,e){return Vgn(this,n,t,e)},aZn.$b=function(){this.vc().$b()},aZn.tc=function(n){return oMn(this,n)},aZn._b=function(n){return!!kPn(this,n,!1)},aZn.uc=function(n){var t,e;for(t=this.vc().Kc();t.Ob();)if(e=aU(t.Pb(),44).md(),DA(n)===DA(e)||null!=n&&awn(n,e))return!0;return!1},aZn.Fb=function(n){var t,e,i;if(n===this)return!0;if(!RD(n,85))return!1;if(i=aU(n,85),this.gc()!=i.gc())return!1;for(e=i.vc().Kc();e.Ob();)if(t=aU(e.Pb(),44),!this.tc(t))return!1;return!0},aZn.xc=function(n){return NA(kPn(this,n,!1))},aZn.Hb=function(){return Zhn(this.vc())},aZn.dc=function(){return 0==this.gc()},aZn.ec=function(){return new Id(this)},aZn.zc=function(n,t){throw uv(new kE("Put not supported on this map"))},aZn.Ac=function(n){Dun(this,n)},aZn.Bc=function(n){return NA(kPn(this,n,!0))},aZn.gc=function(){return this.vc().gc()},aZn.Ib=function(){return $Pn(this)},aZn.Cc=function(){return new Rd(this)},qV(NZn,"AbstractMap",2065),oxn(2085,2065,DZn),aZn.bc=function(){return new zT(this)},aZn.vc=function(){return pW(this)},aZn.ec=function(){return this.g||(this.g=this.bc())},aZn.Cc=function(){return this.i||(this.i=new qT(this))},qV(OZn,"Maps/ViewCachingAbstractMap",2085),oxn(402,2085,DZn,CT),aZn.xc=function(n){return orn(this,n)},aZn.Bc=function(n){return rbn(this,n)},aZn.$b=function(){this.d==this.e.c?this.e.$b():Fq(new Gq(this))},aZn._b=function(n){return Bdn(this.d,n)},aZn.Ec=function(){return new Gl(this)},aZn.Dc=function(){return this.Ec()},aZn.Fb=function(n){return this===n||awn(this.d,n)},aZn.Hb=function(){return Fon(this.d)},aZn.ec=function(){return this.e.ec()},aZn.gc=function(){return this.d.gc()},aZn.Ib=function(){return ipn(this.d)},qV(OZn,"AbstractMapBasedMultimap/AsMap",402);var pat=Pq(mZn,"Iterable");oxn(31,1,xZn),aZn.Jc=function(n){q8(this,n)},aZn.Lc=function(){return this.Oc()},aZn.Nc=function(){return new u3(this,0)},aZn.Oc=function(){return new sz(null,this.Nc())},aZn.Fc=function(n){throw uv(new kE("Add not supported on this collection"))},aZn.Gc=function(n){return Xon(this,n)},aZn.$b=function(){cY(this)},aZn.Hc=function(n){return Wpn(this,n,!1)},aZn.Ic=function(n){return vhn(this,n)},aZn.dc=function(){return 0==this.gc()},aZn.Mc=function(n){return Wpn(this,n,!0)},aZn.Pc=function(){return jW(this)},aZn.Qc=function(n){return cMn(this,n)},aZn.Ib=function(){return pOn(this)},qV(NZn,"AbstractCollection",31);var mat=Pq(NZn,"Set");oxn($Zn,31,RZn),aZn.Nc=function(){return new u3(this,1)},aZn.Fb=function(n){return Rvn(this,n)},aZn.Hb=function(){return Zhn(this)},qV(NZn,"AbstractSet",$Zn),oxn(2068,$Zn,RZn),qV(OZn,"Sets/ImprovedAbstractSet",2068),oxn(2069,2068,RZn),aZn.$b=function(){this.Rc().$b()},aZn.Hc=function(n){return Omn(this,n)},aZn.dc=function(){return this.Rc().dc()},aZn.Mc=function(n){var t;return!(!this.Hc(n)||!RD(n,44))&&(t=aU(n,44),this.Rc().ec().Mc(t.ld()))},aZn.gc=function(){return this.Rc().gc()},qV(OZn,"Maps/EntrySet",2069),oxn(1127,2069,RZn,Gl),aZn.Hc=function(n){return Gdn(this.a.d.vc(),n)},aZn.Kc=function(){return new Gq(this.a)},aZn.Rc=function(){return this.a},aZn.Mc=function(n){var t;return!!Gdn(this.a.d.vc(),n)&&(t=aU(YQ(aU(n,44)),44),F9(this.a.e,t.ld()),!0)},aZn.Nc=function(){return VH(this.a.d.vc().Nc(),new Hl(this.a))},qV(OZn,"AbstractMapBasedMultimap/AsMap/AsMapEntries",1127),oxn(1128,1,{},Hl),aZn.Kb=function(n){return C9(this.a,aU(n,44))},qV(OZn,"AbstractMapBasedMultimap/AsMap/AsMapEntries/0methodref$wrapEntry$Type",1128),oxn(746,1,LZn,Gq),aZn.Nb=function(n){jX(this,n)},aZn.Pb=function(){var n;return n=aU(this.b.Pb(),44),this.a=aU(n.md(),16),C9(this.c,n)},aZn.Ob=function(){return this.b.Ob()},aZn.Qb=function(){PB(!!this.a),this.b.Qb(),this.c.e.d-=this.a.gc(),this.a.$b(),this.a=null},qV(OZn,"AbstractMapBasedMultimap/AsMap/AsMapIterator",746),oxn(542,2068,RZn,zT),aZn.$b=function(){this.b.$b()},aZn.Hc=function(n){return this.b._b(n)},aZn.Jc=function(n){WV(n),this.b.wc(new bb(n))},aZn.dc=function(){return this.b.dc()},aZn.Kc=function(){return new Ak(this.b.vc().Kc())},aZn.Mc=function(n){return!!this.b._b(n)&&(this.b.Bc(n),!0)},aZn.gc=function(){return this.b.gc()},qV(OZn,"Maps/KeySet",542),oxn(327,542,RZn,xx),aZn.$b=function(){Fq(new OT(this,this.b.vc().Kc()))},aZn.Ic=function(n){return this.b.ec().Ic(n)},aZn.Fb=function(n){return this===n||awn(this.b.ec(),n)},aZn.Hb=function(){return Fon(this.b.ec())},aZn.Kc=function(){return new OT(this,this.b.vc().Kc())},aZn.Mc=function(n){var t,e;return e=0,(t=aU(this.b.Bc(n),16))&&(e=t.gc(),t.$b(),this.a.d-=e),e>0},aZn.Nc=function(){return this.b.ec().Nc()},qV(OZn,"AbstractMapBasedMultimap/KeySet",327),oxn(747,1,LZn,OT),aZn.Nb=function(n){jX(this,n)},aZn.Ob=function(){return this.c.Ob()},aZn.Pb=function(){return this.a=aU(this.c.Pb(),44),this.a.ld()},aZn.Qb=function(){var n;PB(!!this.a),n=aU(this.a.md(),16),this.c.Qb(),this.b.a.d-=n.gc(),n.$b(),this.a=null},qV(OZn,"AbstractMapBasedMultimap/KeySet/1",747),oxn(503,402,{85:1,133:1},A_),aZn.bc=function(){return this.Sc()},aZn.ec=function(){return this.Uc()},aZn.Sc=function(){return new vT(this.c,this.Wc())},aZn.Tc=function(){return this.Wc().Tc()},aZn.Uc=function(){return this.b||(this.b=this.Sc())},aZn.Vc=function(){return this.Wc().Vc()},aZn.Wc=function(){return aU(this.d,133)},qV(OZn,"AbstractMapBasedMultimap/SortedAsMap",503),oxn(446,503,_Zn,L_),aZn.bc=function(){return new yT(this.a,aU(aU(this.d,133),139))},aZn.Sc=function(){return new yT(this.a,aU(aU(this.d,133),139))},aZn.ec=function(){return aU(this.b||(this.b=new yT(this.a,aU(aU(this.d,133),139))),277)},aZn.Uc=function(){return aU(this.b||(this.b=new yT(this.a,aU(aU(this.d,133),139))),277)},aZn.Wc=function(){return aU(aU(this.d,133),139)},aZn.Xc=function(n){return aU(aU(this.d,133),139).Xc(n)},aZn.Yc=function(n){return aU(aU(this.d,133),139).Yc(n)},aZn.Zc=function(n,t){return new L_(this.a,aU(aU(this.d,133),139).Zc(n,t))},aZn.$c=function(n){return aU(aU(this.d,133),139).$c(n)},aZn._c=function(n){return aU(aU(this.d,133),139)._c(n)},aZn.ad=function(n,t){return new L_(this.a,aU(aU(this.d,133),139).ad(n,t))},qV(OZn,"AbstractMapBasedMultimap/NavigableAsMap",446),oxn(502,327,KZn,vT),aZn.Nc=function(){return this.b.ec().Nc()},qV(OZn,"AbstractMapBasedMultimap/SortedKeySet",502),oxn(401,502,FZn,yT),qV(OZn,"AbstractMapBasedMultimap/NavigableKeySet",401),oxn(551,31,xZn,O7),aZn.Fc=function(n){var t,e;return fpn(this),e=this.d.dc(),(t=this.d.Fc(n))&&(++this.f.d,e&&gK(this)),t},aZn.Gc=function(n){var t,e,i;return!n.dc()&&(fpn(this),i=this.d.gc(),(t=this.d.Gc(n))&&(e=this.d.gc(),this.f.d+=e-i,0==i&&gK(this)),t)},aZn.$b=function(){var n;fpn(this),0!=(n=this.d.gc())&&(this.d.$b(),this.f.d-=n,Nz(this))},aZn.Hc=function(n){return fpn(this),this.d.Hc(n)},aZn.Ic=function(n){return fpn(this),this.d.Ic(n)},aZn.Fb=function(n){return n===this||(fpn(this),awn(this.d,n))},aZn.Hb=function(){return fpn(this),Fon(this.d)},aZn.Kc=function(){return fpn(this),new WH(this)},aZn.Mc=function(n){var t;return fpn(this),(t=this.d.Mc(n))&&(--this.f.d,Nz(this)),t},aZn.gc=function(){return HA(this)},aZn.Nc=function(){return fpn(this),this.d.Nc()},aZn.Ib=function(){return fpn(this),ipn(this.d)},qV(OZn,"AbstractMapBasedMultimap/WrappedCollection",551);var vat=Pq(NZn,"List");oxn(744,551,{20:1,31:1,16:1,15:1},HW),aZn.jd=function(n){Ion(this,n)},aZn.Nc=function(){return fpn(this),this.d.Nc()},aZn.bd=function(n,t){var e;fpn(this),e=this.d.dc(),aU(this.d,15).bd(n,t),++this.a.d,e&&gK(this)},aZn.cd=function(n,t){var e,i,r;return!t.dc()&&(fpn(this),r=this.d.gc(),(e=aU(this.d,15).cd(n,t))&&(i=this.d.gc(),this.a.d+=i-r,0==r&&gK(this)),e)},aZn.Xb=function(n){return fpn(this),aU(this.d,15).Xb(n)},aZn.dd=function(n){return fpn(this),aU(this.d,15).dd(n)},aZn.ed=function(){return fpn(this),new VN(this)},aZn.fd=function(n){return fpn(this),new BY(this,n)},aZn.gd=function(n){var t;return fpn(this),t=aU(this.d,15).gd(n),--this.a.d,Nz(this),t},aZn.hd=function(n,t){return fpn(this),aU(this.d,15).hd(n,t)},aZn.kd=function(n,t){return fpn(this),j6(this.a,this.e,aU(this.d,15).kd(n,t),this.b?this.b:this)},qV(OZn,"AbstractMapBasedMultimap/WrappedList",744),oxn(1126,744,{20:1,31:1,16:1,15:1,59:1},Q$),qV(OZn,"AbstractMapBasedMultimap/RandomAccessWrappedList",1126),oxn(628,1,LZn,WH),aZn.Nb=function(n){jX(this,n)},aZn.Ob=function(){return RY(this),this.b.Ob()},aZn.Pb=function(){return RY(this),this.b.Pb()},aZn.Qb=function(){qx(this)},qV(OZn,"AbstractMapBasedMultimap/WrappedCollection/WrappedIterator",628),oxn(745,628,BZn,VN,BY),aZn.Qb=function(){qx(this)},aZn.Rb=function(n){var t;t=0==HA(this.a),(RY(this),aU(this.b,128)).Rb(n),++this.a.a.d,t&&gK(this.a)},aZn.Sb=function(){return(RY(this),aU(this.b,128)).Sb()},aZn.Tb=function(){return(RY(this),aU(this.b,128)).Tb()},aZn.Ub=function(){return(RY(this),aU(this.b,128)).Ub()},aZn.Vb=function(){return(RY(this),aU(this.b,128)).Vb()},aZn.Wb=function(n){(RY(this),aU(this.b,128)).Wb(n)},qV(OZn,"AbstractMapBasedMultimap/WrappedList/WrappedListIterator",745),oxn(743,551,KZn,O_),aZn.Nc=function(){return fpn(this),this.d.Nc()},qV(OZn,"AbstractMapBasedMultimap/WrappedSortedSet",743),oxn(1125,743,FZn,kN),qV(OZn,"AbstractMapBasedMultimap/WrappedNavigableSet",1125),oxn(1124,551,RZn,I_),aZn.Nc=function(){return fpn(this),this.d.Nc()},qV(OZn,"AbstractMapBasedMultimap/WrappedSet",1124),oxn(1133,1,{},o),aZn.Kb=function(n){return T7(aU(n,44))},qV(OZn,"AbstractMapBasedMultimap/lambda$1$Type",1133),oxn(1132,1,{},Wl),aZn.Kb=function(n){return new RT(this.a,n)},qV(OZn,"AbstractMapBasedMultimap/lambda$2$Type",1132);var yat,kat,Eat,Mat,jat=Pq(NZn,"Map/Entry");oxn(358,1,GZn),aZn.Fb=function(n){var t;return!!RD(n,44)&&(t=aU(n,44),DQ(this.ld(),t.ld())&&DQ(this.md(),t.md()))},aZn.Hb=function(){var n,t;return n=this.ld(),t=this.md(),(null==n?0:Fon(n))^(null==t?0:Fon(t))},aZn.nd=function(n){throw uv(new $v)},aZn.Ib=function(){return this.ld()+"="+this.md()},qV(OZn,HZn,358),oxn(2086,31,xZn),aZn.$b=function(){this.od().$b()},aZn.Hc=function(n){var t;return!!RD(n,44)&&(t=aU(n,44),M4(this.od(),t.ld(),t.md()))},aZn.Mc=function(n){var t;return!!RD(n,44)&&(t=aU(n,44),j4(this.od(),t.ld(),t.md()))},aZn.gc=function(){return this.od().d},qV(OZn,"Multimaps/Entries",2086),oxn(749,2086,xZn,Xl),aZn.Kc=function(){return this.a.kc()},aZn.od=function(){return this.a},aZn.Nc=function(){return this.a.lc()},qV(OZn,"AbstractMultimap/Entries",749),oxn(750,749,RZn,kk),aZn.Nc=function(){return this.a.lc()},aZn.Fb=function(n){return CIn(this,n)},aZn.Hb=function(){return Von(this)},qV(OZn,"AbstractMultimap/EntrySet",750),oxn(751,31,xZn,Vl),aZn.$b=function(){this.a.$b()},aZn.Hc=function(n){return Hln(this.a,n)},aZn.Kc=function(){return this.a.nc()},aZn.gc=function(){return this.a.d},aZn.Nc=function(){return this.a.oc()},qV(OZn,"AbstractMultimap/Values",751),oxn(2087,31,{849:1,20:1,31:1,16:1}),aZn.Jc=function(n){WV(n),aY(this).Jc(new vb(n))},aZn.Nc=function(){var n;return PCn(n=aY(this).Nc(),new w,64|1296&n.yd(),this.a.d)},aZn.Fc=function(n){return FE(),!0},aZn.Gc=function(n){return WV(this),WV(n),RD(n,552)?z4(aU(n,849)):!n.dc()&&iin(this,n.Kc())},aZn.Hc=function(n){var t;return((t=aU(Udn(YY(this.a),n),16))?t.gc():0)>0},aZn.Fb=function(n){return Yxn(this,n)},aZn.Hb=function(){return Fon(aY(this))},aZn.dc=function(){return aY(this).dc()},aZn.Mc=function(n){return fNn(this,n,1)>0},aZn.Ib=function(){return ipn(aY(this))},qV(OZn,"AbstractMultiset",2087),oxn(2089,2068,RZn),aZn.$b=function(){fan(this.a.a)},aZn.Hc=function(n){var t;return!(!RD(n,504)||(t=aU(n,425),aU(t.a.md(),16).gc()<=0||j2(this.a,t.a.ld())!=aU(t.a.md(),16).gc()))},aZn.Mc=function(n){var t,e,i;return!(!RD(n,504)||(t=(e=aU(n,425)).a.ld(),0==(i=aU(e.a.md(),16).gc())))&&lNn(this.a,t,i)},qV(OZn,"Multisets/EntrySet",2089),oxn(1139,2089,RZn,Ql),aZn.Kc=function(){return new Nk(pW(YY(this.a.a)).Kc())},aZn.gc=function(){return YY(this.a.a).gc()},qV(OZn,"AbstractMultiset/EntrySet",1139),oxn(627,742,AZn),aZn.hc=function(){return this.pd()},aZn.jc=function(){return this.qd()},aZn.cc=function(n){return this.rd(n)},aZn.fc=function(n){return this.sd(n)},aZn.Zb=function(){return this.f||(this.f=this.ac())},aZn.qd=function(){return uZ(),uZ(),Wot},aZn.Fb=function(n){return Oln(this,n)},aZn.rd=function(n){return aU(Q9(this,n),21)},aZn.sd=function(n){return aU(Zbn(this,n),21)},aZn.mc=function(n){return uZ(),new YE(aU(n,21))},aZn.pc=function(n,t){return new I_(this,n,aU(t,21))},qV(OZn,"AbstractSetMultimap",627),oxn(1723,627,AZn),aZn.hc=function(){return new Fj(this.b)},aZn.pd=function(){return new Fj(this.b)},aZn.jc=function(){return BQ(new Fj(this.b))},aZn.qd=function(){return BQ(new Fj(this.b))},aZn.cc=function(n){return aU(aU(Q9(this,n),21),87)},aZn.rd=function(n){return aU(aU(Q9(this,n),21),87)},aZn.fc=function(n){return aU(aU(Zbn(this,n),21),87)},aZn.sd=function(n){return aU(aU(Zbn(this,n),21),87)},aZn.mc=function(n){return RD(n,277)?BQ(aU(n,277)):(uZ(),new g$(aU(n,87)))},aZn.Zb=function(){return this.f||(this.f=RD(this.c,139)?new L_(this,aU(this.c,139)):RD(this.c,133)?new A_(this,aU(this.c,133)):new CT(this,this.c))},aZn.pc=function(n,t){return RD(t,277)?new kN(this,n,aU(t,277)):new O_(this,n,aU(t,87))},qV(OZn,"AbstractSortedSetMultimap",1723),oxn(1724,1723,AZn),aZn.Zb=function(){return aU(aU(this.f||(this.f=RD(this.c,139)?new L_(this,aU(this.c,139)):RD(this.c,133)?new A_(this,aU(this.c,133)):new CT(this,this.c)),133),139)},aZn.ec=function(){return aU(aU(this.i||(this.i=RD(this.c,139)?new yT(this,aU(this.c,139)):RD(this.c,133)?new vT(this,aU(this.c,133)):new xx(this,this.c)),87),277)},aZn.bc=function(){return RD(this.c,139)?new yT(this,aU(this.c,139)):RD(this.c,133)?new vT(this,aU(this.c,133)):new xx(this,this.c)},qV(OZn,"AbstractSortedKeySortedSetMultimap",1724),oxn(2109,1,{2046:1}),aZn.Fb=function(n){return sSn(this,n)},aZn.Hb=function(){return Zhn(this.g||(this.g=new Yl(this)))},aZn.Ib=function(){return $Pn(this.f||(this.f=new zx(this)))},qV(OZn,"AbstractTable",2109),oxn(679,$Zn,RZn,Yl),aZn.$b=function(){BE()},aZn.Hc=function(n){var t,e;return!!RD(n,479)&&(t=aU(n,697),!!(e=aU(Udn(KV(this.a),GA(t.c.e,t.b)),85))&&Gdn(e.vc(),new RT(GA(t.c.c,t.a),P7(t.c,t.b,t.a))))},aZn.Kc=function(){return SZ(this.a)},aZn.Mc=function(n){var t,e;return!!RD(n,479)&&(t=aU(n,697),!!(e=aU(Udn(KV(this.a),GA(t.c.e,t.b)),85))&&Hdn(e.vc(),new RT(GA(t.c.c,t.a),P7(t.c,t.b,t.a))))},aZn.gc=function(){return Lq(this.a)},aZn.Nc=function(){return a6(this.a)},qV(OZn,"AbstractTable/CellSet",679),oxn(2025,31,xZn,Zl),aZn.$b=function(){BE()},aZn.Hc=function(n){return XPn(this.a,n)},aZn.Kc=function(){return PZ(this.a)},aZn.gc=function(){return Lq(this.a)},aZn.Nc=function(){return v4(this.a)},qV(OZn,"AbstractTable/Values",2025),oxn(1697,1696,AZn),qV(OZn,"ArrayListMultimapGwtSerializationDependencies",1697),oxn(520,1697,AZn,eM,I2),aZn.hc=function(){return new x7(this.a)},aZn.a=0,qV(OZn,"ArrayListMultimap",520),oxn(678,2109,{678:1,2046:1,3:1},sDn),qV(OZn,"ArrayTable",678),oxn(2021,399,IZn,Wx),aZn.Xb=function(n){return new Cfn(this.a,n)},qV(OZn,"ArrayTable/1",2021),oxn(2022,1,{},Ul),aZn.td=function(n){return new Cfn(this.a,n)},qV(OZn,"ArrayTable/1methodref$getCell$Type",2022),oxn(2110,1,{697:1}),aZn.Fb=function(n){var t;return n===this||!!RD(n,479)&&(t=aU(n,697),DQ(GA(this.c.e,this.b),GA(t.c.e,t.b))&&DQ(GA(this.c.c,this.a),GA(t.c.c,t.a))&&DQ(P7(this.c,this.b,this.a),P7(t.c,t.b,t.a)))},aZn.Hb=function(){return Cbn(Bhn(iM(bat,1),MZn,1,5,[GA(this.c.e,this.b),GA(this.c.c,this.a),P7(this.c,this.b,this.a)]))},aZn.Ib=function(){return"("+GA(this.c.e,this.b)+","+GA(this.c.c,this.a)+")="+P7(this.c,this.b,this.a)},qV(OZn,"Tables/AbstractCell",2110),oxn(479,2110,{479:1,697:1},Cfn),aZn.a=0,aZn.b=0,aZn.d=0,qV(OZn,"ArrayTable/2",479),oxn(2024,1,{},ql),aZn.td=function(n){return Xtn(this.a,n)},qV(OZn,"ArrayTable/2methodref$getValue$Type",2024),oxn(2023,399,IZn,Xx),aZn.Xb=function(n){return Xtn(this.a,n)},qV(OZn,"ArrayTable/3",2023),oxn(2077,2065,DZn),aZn.$b=function(){Fq(this.kc())},aZn.vc=function(){return new lb(this)},aZn.lc=function(){return new yY(this.kc(),this.gc())},qV(OZn,"Maps/IteratorBasedAbstractMap",2077),oxn(842,2077,DZn),aZn.$b=function(){throw uv(new $v)},aZn._b=function(n){return Mj(this.c,n)},aZn.kc=function(){return new Vx(this,this.c.b.c.gc())},aZn.lc=function(){return Nq(this.c.b.c.gc(),16,new zl(this))},aZn.xc=function(n){var t;return(t=aU(WF(this.c,n),17))?this.vd(t.a):null},aZn.dc=function(){return this.c.b.c.dc()},aZn.ec=function(){return kW(this.c)},aZn.zc=function(n,t){var e;if(!(e=aU(WF(this.c,n),17)))throw uv(new pE(this.ud()+" "+n+" not in "+kW(this.c)));return this.wd(e.a,t)},aZn.Bc=function(n){throw uv(new $v)},aZn.gc=function(){return this.c.b.c.gc()},qV(OZn,"ArrayTable/ArrayMap",842),oxn(2020,1,{},zl),aZn.td=function(n){return HV(this.a,n)},qV(OZn,"ArrayTable/ArrayMap/0methodref$getEntry$Type",2020),oxn(2018,358,GZn,kT),aZn.ld=function(){return aR(this.a,this.b)},aZn.md=function(){return this.a.vd(this.b)},aZn.nd=function(n){return this.a.wd(this.b,n)},aZn.b=0,qV(OZn,"ArrayTable/ArrayMap/1",2018),oxn(2019,399,IZn,Vx),aZn.Xb=function(n){return HV(this.a,n)},qV(OZn,"ArrayTable/ArrayMap/2",2019),oxn(2017,842,DZn,vX),aZn.ud=function(){return"Column"},aZn.vd=function(n){return P7(this.b,this.a,n)},aZn.wd=function(n,t){return Fhn(this.b,this.a,n,t)},aZn.a=0,qV(OZn,"ArrayTable/Row",2017),oxn(843,842,DZn,zx),aZn.vd=function(n){return new vX(this.a,n)},aZn.zc=function(n,t){return aU(t,85),GE()},aZn.wd=function(n,t){return aU(t,85),HE()},aZn.ud=function(){return"Row"},qV(OZn,"ArrayTable/RowMap",843),oxn(1157,1,WZn,ET),aZn.Ad=function(n){return!!(-262&this.a.yd()&n)},aZn.yd=function(){return-262&this.a.yd()},aZn.zd=function(){return this.a.zd()},aZn.Nb=function(n){this.a.Nb(new jT(n,this.b))},aZn.Bd=function(n){return this.a.Bd(new MT(n,this.b))},qV(OZn,"CollectSpliterators/1",1157),oxn(1158,1,XZn,MT),aZn.Cd=function(n){this.a.Cd(this.b.Kb(n))},qV(OZn,"CollectSpliterators/1/lambda$0$Type",1158),oxn(1159,1,XZn,jT),aZn.Cd=function(n){this.a.Cd(this.b.Kb(n))},qV(OZn,"CollectSpliterators/1/lambda$1$Type",1159),oxn(1154,1,WZn,DF),aZn.Ad=function(n){return!!((16464|this.b)&n)},aZn.yd=function(){return 16464|this.b},aZn.zd=function(){return this.a.zd()},aZn.Nb=function(n){this.a.Qe(new ST(n,this.c))},aZn.Bd=function(n){return this.a.Re(new TT(n,this.c))},aZn.b=0,qV(OZn,"CollectSpliterators/1WithCharacteristics",1154),oxn(1155,1,VZn,TT),aZn.Dd=function(n){this.a.Cd(this.b.td(n))},qV(OZn,"CollectSpliterators/1WithCharacteristics/lambda$0$Type",1155),oxn(1156,1,VZn,ST),aZn.Dd=function(n){this.a.Cd(this.b.td(n))},qV(OZn,"CollectSpliterators/1WithCharacteristics/lambda$1$Type",1156),oxn(1150,1,WZn),aZn.Ad=function(n){return!!(this.a&n)},aZn.yd=function(){return this.a},aZn.zd=function(){return this.e&&(this.b=dD(this.b,this.e.zd())),dD(this.b,0)},aZn.Nb=function(n){this.e&&(this.e.Nb(n),this.e=null),this.c.Nb(new PT(this,n)),this.b=0},aZn.Bd=function(n){for(;;){if(this.e&&this.e.Bd(n))return FA(this.b,QZn)&&(this.b=Lgn(this.b,1)),!0;if(this.e=null,!this.c.Bd(new nb(this)))return!1}},aZn.a=0,aZn.b=0,qV(OZn,"CollectSpliterators/FlatMapSpliterator",1150),oxn(1152,1,XZn,nb),aZn.Cd=function(n){yF(this.a,n)},qV(OZn,"CollectSpliterators/FlatMapSpliterator/lambda$0$Type",1152),oxn(1153,1,XZn,PT),aZn.Cd=function(n){sY(this.a,this.b,n)},qV(OZn,"CollectSpliterators/FlatMapSpliterator/lambda$1$Type",1153),oxn(1151,1150,WZn,k6),qV(OZn,"CollectSpliterators/FlatMapSpliteratorOfObject",1151),oxn(253,1,JZn),aZn.Fd=function(n){return this.Ed(aU(n,253))},aZn.Ed=function(n){var t;return n==(gk(),kat)?1:n==(wk(),yat)?-1:(HU(),0!=(t=Nun(this.a,n.a))?t:RD(this,526)==RD(n,526)?0:RD(this,526)?1:-1)},aZn.Id=function(){return this.a},aZn.Fb=function(n){return wMn(this,n)},qV(OZn,"Cut",253),oxn(1823,253,JZn,mk),aZn.Ed=function(n){return n==this?0:1},aZn.Gd=function(n){throw uv(new Ov)},aZn.Hd=function(n){n.a+="+∞)"},aZn.Id=function(){throw uv(new mE(YZn))},aZn.Hb=function(){return fS(),Ovn(this)},aZn.Jd=function(n){return!1},aZn.Ib=function(){return"+∞"},qV(OZn,"Cut/AboveAll",1823),oxn(526,253,{253:1,526:1,3:1,34:1},f$),aZn.Gd=function(n){XA((n.a+="(",n),this.a)},aZn.Hd=function(n){EQ(XA(n,this.a),93)},aZn.Hb=function(){return~Fon(this.a)},aZn.Jd=function(n){return HU(),Nun(this.a,n)<0},aZn.Ib=function(){return"/"+this.a+"\\"},qV(OZn,"Cut/AboveValue",526),oxn(1822,253,JZn,pk),aZn.Ed=function(n){return n==this?0:-1},aZn.Gd=function(n){n.a+="(-∞"},aZn.Hd=function(n){throw uv(new Ov)},aZn.Id=function(){throw uv(new mE(YZn))},aZn.Hb=function(){return fS(),Ovn(this)},aZn.Jd=function(n){return!0},aZn.Ib=function(){return"-∞"},qV(OZn,"Cut/BelowAll",1822),oxn(1824,253,JZn,l$),aZn.Gd=function(n){XA((n.a+="[",n),this.a)},aZn.Hd=function(n){EQ(XA(n,this.a),41)},aZn.Hb=function(){return Fon(this.a)},aZn.Jd=function(n){return HU(),Nun(this.a,n)<=0},aZn.Ib=function(){return"\\"+this.a+"/"},qV(OZn,"Cut/BelowValue",1824),oxn(547,1,ZZn),aZn.Jc=function(n){q8(this,n)},aZn.Ib=function(){return egn(aU(fZ(this,"use Optional.orNull() instead of Optional.or(null)"),20).Kc())},qV(OZn,"FluentIterable",547),oxn(442,547,ZZn,tN),aZn.Kc=function(){return new RW(t$(this.a.Kc(),new h))},qV(OZn,"FluentIterable/2",442),oxn(1059,547,ZZn,eN),aZn.Kc=function(){return CX(this)},qV(OZn,"FluentIterable/3",1059),oxn(724,399,IZn,Qx),aZn.Xb=function(n){return this.a[n].Kc()},qV(OZn,"FluentIterable/3/1",724),oxn(2070,1,{}),aZn.Ib=function(){return ipn(this.Kd().b)},qV(OZn,"ForwardingObject",2070),oxn(2071,2070,n1n),aZn.Kd=function(){return this.Ld()},aZn.Jc=function(n){q8(this,n)},aZn.Lc=function(){return this.Oc()},aZn.Nc=function(){return new u3(this,0)},aZn.Oc=function(){return new sz(null,this.Nc())},aZn.Fc=function(n){return this.Ld(),xj()},aZn.Gc=function(n){return this.Ld(),$j()},aZn.$b=function(){this.Ld(),Rj()},aZn.Hc=function(n){return this.Ld().Hc(n)},aZn.Ic=function(n){return this.Ld().Ic(n)},aZn.dc=function(){return this.Ld().b.dc()},aZn.Kc=function(){return this.Ld().Kc()},aZn.Mc=function(n){return this.Ld(),_j()},aZn.gc=function(){return this.Ld().b.gc()},aZn.Pc=function(){return this.Ld().Pc()},aZn.Qc=function(n){return this.Ld().Qc(n)},qV(OZn,"ForwardingCollection",2071),oxn(2078,31,t1n),aZn.Kc=function(){return this.Od()},aZn.Fc=function(n){throw uv(new $v)},aZn.Gc=function(n){throw uv(new $v)},aZn.Md=function(){return this.c||(this.c=this.Nd())},aZn.$b=function(){throw uv(new $v)},aZn.Hc=function(n){return null!=n&&Wpn(this,n,!1)},aZn.Nd=function(){switch(this.gc()){case 0:return JV(),JV(),Eat;case 1:return JV(),new Bq(WV(this.Od().Pb()));default:return new kX(this,this.Pc())}},aZn.Mc=function(n){throw uv(new $v)},qV(OZn,"ImmutableCollection",2078),oxn(727,2078,t1n,Ev),aZn.Kc=function(){return Etn(this.a.Kc())},aZn.Hc=function(n){return null!=n&&this.a.Hc(n)},aZn.Ic=function(n){return this.a.Ic(n)},aZn.dc=function(){return this.a.dc()},aZn.Od=function(){return Etn(this.a.Kc())},aZn.gc=function(){return this.a.gc()},aZn.Pc=function(){return this.a.Pc()},aZn.Qc=function(n){return this.a.Qc(n)},aZn.Ib=function(){return ipn(this.a)},qV(OZn,"ForwardingImmutableCollection",727),oxn(307,2078,e1n),aZn.Kc=function(){return this.Od()},aZn.ed=function(){return this.Pd(0)},aZn.fd=function(n){return this.Pd(n)},aZn.jd=function(n){Ion(this,n)},aZn.Nc=function(){return new u3(this,16)},aZn.kd=function(n,t){return this.Qd(n,t)},aZn.bd=function(n,t){throw uv(new $v)},aZn.cd=function(n,t){throw uv(new $v)},aZn.Md=function(){return this},aZn.Fb=function(n){return xxn(this,n)},aZn.Hb=function(){return Usn(this)},aZn.dd=function(n){return null==n?-1:aMn(this,n)},aZn.Od=function(){return this.Pd(0)},aZn.Pd=function(n){return cR(this,n)},aZn.gd=function(n){throw uv(new $v)},aZn.hd=function(n,t){throw uv(new $v)},aZn.Qd=function(n,t){return Ndn(new S2(new HT(this),n,t))},qV(OZn,"ImmutableList",307),oxn(2105,307,e1n),aZn.Kc=function(){return Etn(this.Rd().Kc())},aZn.kd=function(n,t){return Ndn(this.Rd().kd(n,t))},aZn.Hc=function(n){return null!=n&&this.Rd().Hc(n)},aZn.Ic=function(n){return this.Rd().Ic(n)},aZn.Fb=function(n){return awn(this.Rd(),n)},aZn.Xb=function(n){return GA(this,n)},aZn.Hb=function(){return Fon(this.Rd())},aZn.dd=function(n){return this.Rd().dd(n)},aZn.dc=function(){return this.Rd().dc()},aZn.Od=function(){return Etn(this.Rd().Kc())},aZn.gc=function(){return this.Rd().gc()},aZn.Qd=function(n,t){return Ndn(this.Rd().kd(n,t))},aZn.Pc=function(){return this.Rd().Qc(Pnn(bat,MZn,1,this.Rd().gc(),5,1))},aZn.Qc=function(n){return this.Rd().Qc(n)},aZn.Ib=function(){return ipn(this.Rd())},qV(OZn,"ForwardingImmutableList",2105),oxn(729,1,r1n),aZn.vc=function(){return yW(this)},aZn.wc=function(n){Qun(this,n)},aZn.ec=function(){return kW(this)},aZn.yc=function(n,t,e){return Vgn(this,n,t,e)},aZn.Cc=function(){return this.Vd()},aZn.$b=function(){throw uv(new $v)},aZn._b=function(n){return null!=this.xc(n)},aZn.uc=function(n){return this.Vd().Hc(n)},aZn.Td=function(){return new Mv(this)},aZn.Ud=function(){return new jv(this)},aZn.Fb=function(n){return Wln(this,n)},aZn.Hb=function(){return yW(this).Hb()},aZn.dc=function(){return 0==this.gc()},aZn.zc=function(n,t){return KE()},aZn.Bc=function(n){throw uv(new $v)},aZn.Ib=function(){return XOn(this)},aZn.Vd=function(){return this.e?this.e:this.e=this.Ud()},aZn.c=null,aZn.d=null,aZn.e=null,qV(OZn,"ImmutableMap",729),oxn(730,729,r1n),aZn._b=function(n){return Mj(this,n)},aZn.uc=function(n){return tS(this.b,n)},aZn.Sd=function(){return Ldn(new Jl(this))},aZn.Td=function(){return Ldn(jJ(this.b))},aZn.Ud=function(){return oB(),new Ev(EJ(this.b))},aZn.Fb=function(n){return eS(this.b,n)},aZn.xc=function(n){return WF(this,n)},aZn.Hb=function(){return Fon(this.b.c)},aZn.dc=function(){return this.b.c.dc()},aZn.gc=function(){return this.b.c.gc()},aZn.Ib=function(){return ipn(this.b.c)},qV(OZn,"ForwardingImmutableMap",730),oxn(2072,2071,c1n),aZn.Kd=function(){return this.Wd()},aZn.Ld=function(){return this.Wd()},aZn.Nc=function(){return new u3(this,1)},aZn.Fb=function(n){return n===this||this.Wd().Fb(n)},aZn.Hb=function(){return this.Wd().Hb()},qV(OZn,"ForwardingSet",2072),oxn(1085,2072,c1n,Jl),aZn.Kd=function(){return MJ(this.a.b)},aZn.Ld=function(){return MJ(this.a.b)},aZn.Hc=function(n){if(RD(n,44)&&null==aU(n,44).ld())return!1;try{return nS(MJ(this.a.b),n)}catch(n){if(RD(n=Mhn(n),212))return!1;throw uv(n)}},aZn.Wd=function(){return MJ(this.a.b)},aZn.Qc=function(n){var t;return t=QZ(MJ(this.a.b),n),MJ(this.a.b).b.gc()=0?"+":"")+(i/60|0),e=RL(t.Math.abs(i)%60),(iOn(),Yot)[this.q.getDay()]+" "+Zot[this.q.getMonth()]+" "+RL(this.q.getDate())+" "+RL(this.q.getHours())+":"+RL(this.q.getMinutes())+":"+RL(this.q.getSeconds())+" GMT"+n+e+" "+this.q.getFullYear()};var Uat,qat,zat,Wat,Xat,Vat,Qat,Jat,Yat,Zat,not,tot=qV(NZn,"Date",206);oxn(2015,206,o0n,NTn),aZn.a=!1,aZn.b=0,aZn.c=0,aZn.d=0,aZn.e=0,aZn.f=0,aZn.g=!1,aZn.i=0,aZn.j=0,aZn.k=0,aZn.n=0,aZn.o=0,aZn.p=0,qV("com.google.gwt.i18n.shared.impl","DateRecord",2015),oxn(2064,1,{}),aZn.pe=function(){return null},aZn.qe=function(){return null},aZn.re=function(){return null},aZn.se=function(){return null},aZn.te=function(){return null},qV(u0n,"JSONValue",2064),oxn(221,2064,{221:1},Pb,Mb),aZn.Fb=function(n){return!!RD(n,221)&&E3(this.a,aU(n,221).a)},aZn.oe=function(){return av},aZn.Hb=function(){return CZ(this.a)},aZn.pe=function(){return this},aZn.Ib=function(){var n,t,e;for(e=new h$("["),t=0,n=this.a.length;t0&&(e.a+=","),XA(e,ain(this,t));return e.a+="]",e.a},qV(u0n,"JSONArray",221),oxn(493,2064,{493:1},jb),aZn.oe=function(){return ov},aZn.qe=function(){return this},aZn.Ib=function(){return H$(),""+this.a},aZn.a=!1,qV(u0n,"JSONBoolean",493),oxn(997,63,j1n,Rk),qV(u0n,"JSONException",997),oxn(1036,2064,{},M),aZn.oe=function(){return sv},aZn.Ib=function(){return PZn},qV(u0n,"JSONNull",1036),oxn(263,2064,{263:1},Tb),aZn.Fb=function(n){return!!RD(n,263)&&this.a==aU(n,263).a},aZn.oe=function(){return rv},aZn.Hb=function(){return CL(this.a)},aZn.re=function(){return this},aZn.Ib=function(){return this.a+""},aZn.a=0,qV(u0n,"JSONNumber",263),oxn(190,2064,{190:1},_k,Sb),aZn.Fb=function(n){return!!RD(n,190)&&E3(this.a,aU(n,190).a)},aZn.oe=function(){return cv},aZn.Hb=function(){return CZ(this.a)},aZn.se=function(){return this},aZn.Ib=function(){var n,t,e,i,r,c;for(c=new h$("{"),n=!0,i=0,r=(e=Qon(this,Pnn(Lot,qZn,2,0,6,1))).length;i=0?":"+this.c:"")+")"},aZn.c=0;var Eot=qV(mZn,"StackTraceElement",319);fZn={3:1,484:1,34:1,2:1};var Mot,jot,Tot,Sot,Pot,Cot,Oot,Iot,Aot,Lot=qV(mZn,S1n,2);oxn(111,427,{484:1},qE,zE,s$),qV(mZn,"StringBuffer",111),oxn(104,427,{484:1},WE,XE,h$),qV(mZn,"StringBuilder",104),oxn(702,77,p0n,VE),qV(mZn,"StringIndexOutOfBoundsException",702),oxn(2145,1,{}),oxn(48,63,{3:1,103:1,63:1,82:1,48:1},$v,kE),qV(mZn,"UnsupportedOperationException",48),oxn(247,242,{3:1,34:1,242:1,247:1},Mwn,Wj),aZn.Fd=function(n){return LUn(this,aU(n,247))},aZn.ue=function(){return QOn(lWn(this))},aZn.Fb=function(n){var t;return this===n||!!RD(n,247)&&(t=aU(n,247),this.e==t.e&&0==LUn(this,t))},aZn.Hb=function(){var n;return 0!=this.b?this.b:this.a<54?(n=Ksn(this.f),this.b=wW(M3(n,-1)),this.b=33*this.b+wW(M3(LW(n,32),-1)),this.b=17*this.b+Z1(this.e),this.b):(this.b=17*idn(this.c)+Z1(this.e),this.b)},aZn.Ib=function(){return lWn(this)},aZn.a=0,aZn.b=0,aZn.d=0,aZn.e=0,aZn.f=0;var Not,Dot,xot,$ot,Rot,_ot,Kot=qV("java.math","BigDecimal",247);oxn(92,242,{3:1,34:1,242:1,92:1},J5,D3,zX,Yvn,TN),aZn.Fd=function(n){return Tvn(this,aU(n,92))},aZn.ue=function(){return QOn(fYn(this,0))},aZn.Fb=function(n){return Spn(this,n)},aZn.Hb=function(){return idn(this)},aZn.Ib=function(){return fYn(this,0)},aZn.b=-2,aZn.c=0,aZn.d=0,aZn.e=0;var Fot,Bot,Got,Hot,Uot=qV("java.math","BigInteger",92);oxn(498,2065,DZn),aZn.$b=function(){LX(this)},aZn._b=function(n){return TX(this,n)},aZn.uc=function(n){return Xln(this,n,this.i)||Xln(this,n,this.f)},aZn.vc=function(){return new Ad(this)},aZn.xc=function(n){return iQ(this,n)},aZn.zc=function(n,t){return pJ(this,n,t)},aZn.Bc=function(n){return a7(this,n)},aZn.gc=function(){return cS(this)},aZn.g=0,qV(NZn,"AbstractHashMap",498),oxn(267,$Zn,RZn,Ad),aZn.$b=function(){this.a.$b()},aZn.Hc=function(n){return X4(this,n)},aZn.Kc=function(){return new fsn(this.a)},aZn.Mc=function(n){var t;return!!X4(this,n)&&(t=aU(n,44).ld(),this.a.Bc(t),!0)},aZn.gc=function(){return this.a.gc()},qV(NZn,"AbstractHashMap/EntrySet",267),oxn(268,1,LZn,fsn),aZn.Nb=function(n){jX(this,n)},aZn.Pb=function(){return pon(this)},aZn.Ob=function(){return this.b},aZn.Qb=function(){Cen(this)},aZn.b=!1,aZn.d=0,qV(NZn,"AbstractHashMap/EntrySetIterator",268),oxn(426,1,LZn,Vd),aZn.Nb=function(n){jX(this,n)},aZn.Ob=function(){return OP(this)},aZn.Pb=function(){return _Y(this)},aZn.Qb=function(){IQ(this)},aZn.b=0,aZn.c=-1,qV(NZn,"AbstractList/IteratorImpl",426),oxn(98,426,BZn,A4),aZn.Qb=function(){IQ(this)},aZn.Rb=function(n){wK(this,n)},aZn.Sb=function(){return this.b>0},aZn.Tb=function(){return this.b},aZn.Ub=function(){return y_(this.b>0),this.a.Xb(this.c=--this.b)},aZn.Vb=function(){return this.b-1},aZn.Wb=function(n){k_(-1!=this.c),this.a.hd(this.c,n)},qV(NZn,"AbstractList/ListIteratorImpl",98),oxn(244,56,g1n,S2),aZn.bd=function(n,t){c3(n,this.b),this.c.bd(this.a+n,t),++this.b},aZn.Xb=function(n){return a3(n,this.b),this.c.Xb(this.a+n)},aZn.gd=function(n){var t;return a3(n,this.b),t=this.c.gd(this.a+n),--this.b,t},aZn.hd=function(n,t){return a3(n,this.b),this.c.hd(this.a+n,t)},aZn.gc=function(){return this.b},aZn.a=0,aZn.b=0,qV(NZn,"AbstractList/SubList",244),oxn(266,$Zn,RZn,Id),aZn.$b=function(){this.a.$b()},aZn.Hc=function(n){return this.a._b(n)},aZn.Kc=function(){return new $d(this.a.vc().Kc())},aZn.Mc=function(n){return!!this.a._b(n)&&(this.a.Bc(n),!0)},aZn.gc=function(){return this.a.gc()},qV(NZn,"AbstractMap/1",266),oxn(541,1,LZn,$d),aZn.Nb=function(n){jX(this,n)},aZn.Ob=function(){return this.a.Ob()},aZn.Pb=function(){return aU(this.a.Pb(),44).ld()},aZn.Qb=function(){this.a.Qb()},qV(NZn,"AbstractMap/1/1",541),oxn(231,31,xZn,Rd),aZn.$b=function(){this.a.$b()},aZn.Hc=function(n){return this.a.uc(n)},aZn.Kc=function(){return new _d(this.a.vc().Kc())},aZn.gc=function(){return this.a.gc()},qV(NZn,"AbstractMap/2",231),oxn(301,1,LZn,_d),aZn.Nb=function(n){jX(this,n)},aZn.Ob=function(){return this.a.Ob()},aZn.Pb=function(){return aU(this.a.Pb(),44).md()},aZn.Qb=function(){this.a.Qb()},qV(NZn,"AbstractMap/2/1",301),oxn(494,1,{494:1,44:1}),aZn.Fb=function(n){var t;return!!RD(n,44)&&(t=aU(n,44),CJ(this.d,t.ld())&&CJ(this.e,t.md()))},aZn.ld=function(){return this.d},aZn.md=function(){return this.e},aZn.Hb=function(){return zN(this.d)^zN(this.e)},aZn.nd=function(n){return lK(this,n)},aZn.Ib=function(){return this.d+"="+this.e},qV(NZn,"AbstractMap/AbstractEntry",494),oxn(397,494,{494:1,397:1,44:1},zP),qV(NZn,"AbstractMap/SimpleEntry",397),oxn(2082,1,L0n),aZn.Fb=function(n){var t;return!!RD(n,44)&&(t=aU(n,44),CJ(this.ld(),t.ld())&&CJ(this.md(),t.md()))},aZn.Hb=function(){return zN(this.ld())^zN(this.md())},aZn.Ib=function(){return this.ld()+"="+this.md()},qV(NZn,HZn,2082),oxn(2090,2065,_Zn),aZn.Xc=function(n){return jj(this.Ee(n))},aZn.tc=function(n){return P9(this,n)},aZn._b=function(n){return bK(this,n)},aZn.vc=function(){return new Bd(this)},aZn.Tc=function(){return NX(this.Ge())},aZn.Yc=function(n){return jj(this.He(n))},aZn.xc=function(n){var t;return t=n,NA(this.Fe(t))},aZn.$c=function(n){return jj(this.Ie(n))},aZn.ec=function(){return new Kd(this)},aZn.Vc=function(){return NX(this.Je())},aZn._c=function(n){return jj(this.Ke(n))},qV(NZn,"AbstractNavigableMap",2090),oxn(629,$Zn,RZn,Bd),aZn.Hc=function(n){return RD(n,44)&&P9(this.b,aU(n,44))},aZn.Kc=function(){return this.b.De()},aZn.Mc=function(n){var t;return!!RD(n,44)&&(t=aU(n,44),this.b.Le(t))},aZn.gc=function(){return this.b.gc()},qV(NZn,"AbstractNavigableMap/EntrySet",629),oxn(1146,$Zn,FZn,Kd),aZn.Nc=function(){return new GP(this)},aZn.$b=function(){this.a.$b()},aZn.Hc=function(n){return bK(this.a,n)},aZn.Kc=function(){return new Fd(this.a.vc().b.De())},aZn.Mc=function(n){return!!bK(this.a,n)&&(this.a.Bc(n),!0)},aZn.gc=function(){return this.a.gc()},qV(NZn,"AbstractNavigableMap/NavigableKeySet",1146),oxn(1147,1,LZn,Fd),aZn.Nb=function(n){jX(this,n)},aZn.Ob=function(){return OP(this.a.a)},aZn.Pb=function(){return mR(this.a).ld()},aZn.Qb=function(){eB(this.a)},qV(NZn,"AbstractNavigableMap/NavigableKeySet/1",1147),oxn(2103,31,xZn),aZn.Fc=function(n){return mU(_Cn(this,n),N0n),!0},aZn.Gc=function(n){return ZQ(n),pU(n!=this,"Can't add a queue to itself"),Xon(this,n)},aZn.$b=function(){for(;null!=uin(this););},qV(NZn,"AbstractQueue",2103),oxn(310,31,{4:1,20:1,31:1,16:1},Ax,L4),aZn.Fc=function(n){return C6(this,n),!0},aZn.$b=function(){H5(this)},aZn.Hc=function(n){return Shn(new UJ(this),n)},aZn.dc=function(){return IE(this)},aZn.Kc=function(){return new UJ(this)},aZn.Mc=function(n){return g0(new UJ(this),n)},aZn.gc=function(){return this.c-this.b&this.a.length-1},aZn.Nc=function(){return new u3(this,272)},aZn.Qc=function(n){var t;return t=this.c-this.b&this.a.length-1,n.lengtht&&aQ(n,t,null),n},aZn.b=0,aZn.c=0,qV(NZn,"ArrayDeque",310),oxn(459,1,LZn,UJ),aZn.Nb=function(n){jX(this,n)},aZn.Ob=function(){return this.a!=this.b},aZn.Pb=function(){return edn(this)},aZn.Qb=function(){han(this)},aZn.a=0,aZn.b=0,aZn.c=-1,qV(NZn,"ArrayDeque/IteratorImpl",459),oxn(13,56,D0n,Jm,x7,JF),aZn.bd=function(n,t){Gz(this,n,t)},aZn.Fc=function(n){return mx(this,n)},aZn.cd=function(n,t){return Sbn(this,n,t)},aZn.Gc=function(n){return Chn(this,n)},aZn.$b=function(){Uv(this.c,0)},aZn.Hc=function(n){return-1!=ken(this,n,0)},aZn.Jc=function(n){Trn(this,n)},aZn.Xb=function(n){return qq(this,n)},aZn.dd=function(n){return ken(this,n,0)},aZn.dc=function(){return 0==this.c.length},aZn.Kc=function(){return new Wd(this)},aZn.gd=function(n){return t7(this,n)},aZn.Mc=function(n){return gen(this,n)},aZn.ce=function(n,t){T2(this,n,t)},aZn.hd=function(n,t){return Q8(this,n,t)},aZn.gc=function(){return this.c.length},aZn.jd=function(n){sD(this,n)},aZn.Pc=function(){return ZU(this.c)},aZn.Qc=function(n){return Myn(this,n)};var qot,zot,Wot,Xot,Vot,Qot,Jot,Yot,Zot,nut=qV(NZn,"ArrayList",13);oxn(7,1,LZn,Wd),aZn.Nb=function(n){jX(this,n)},aZn.Ob=function(){return hD(this)},aZn.Pb=function(){return A3(this)},aZn.Qb=function(){ZX(this)},aZn.a=0,aZn.b=-1,qV(NZn,"ArrayList/1",7),oxn(2112,t.Function,{},P),aZn.Me=function(n,t){return agn(n,t)},oxn(151,56,x0n,PE),aZn.Hc=function(n){return-1!=dan(this,n)},aZn.Jc=function(n){var t,e,i,r;for(ZQ(n),i=0,r=(e=this.a).length;i0)throw uv(new pE(Q0n+n+" greater than "+this.e));return this.f.Te()?G1(this.c,this.b,this.a,n,t):A2(this.c,n,t)},aZn.zc=function(n,t){if(!hjn(this.c,this.f,n,this.b,this.a,this.e,this.d))throw uv(new pE(n+" outside the range "+this.b+" to "+this.e));return Dfn(this.c,n,t)},aZn.Bc=function(n){var t;return t=n,hjn(this.c,this.f,t,this.b,this.a,this.e,this.d)?z1(this.c,t):null},aZn.Le=function(n){return LQ(this,n.ld())&&Inn(this.c,n)},aZn.gc=function(){var n,t,e;if(!((t=this.f.Te()?this.a?Jmn(this.c,this.b,!0):Jmn(this.c,this.b,!1):Qtn(this.c))&&LQ(this,t.d)&&t))return 0;for(n=0,e=new bun(this.c,this.f,this.b,this.a,this.e,this.d);OP(e.a);e.b=aU(_Y(e.a),44))++n;return n},aZn.ad=function(n,t){if(this.f.Te()&&this.c.a.Ne(n,this.b)<0)throw uv(new pE(Q0n+n+J0n+this.b));return this.f.Ue()?G1(this.c,n,t,this.e,this.d):L2(this.c,n,t)},aZn.a=!1,aZn.d=!1,qV(NZn,"TreeMap/SubMap",631),oxn(304,22,Y0n,HP),aZn.Te=function(){return!1},aZn.Ue=function(){return!1};var yut,kut=_cn(NZn,"TreeMap/SubMapType",304,Cat,$6,uB);oxn(1143,304,Y0n,jN),aZn.Ue=function(){return!0},_cn(NZn,"TreeMap/SubMapType/1",1143,kut,null,null),oxn(1144,304,Y0n,TD),aZn.Te=function(){return!0},aZn.Ue=function(){return!0},_cn(NZn,"TreeMap/SubMapType/2",1144,kut,null,null),oxn(1145,304,Y0n,MN),aZn.Te=function(){return!0},_cn(NZn,"TreeMap/SubMapType/3",1145,kut,null,null),oxn(157,$Zn,{3:1,20:1,31:1,16:1,277:1,21:1,87:1,157:1},ey,Fj,cw),aZn.Nc=function(){return new GP(this)},aZn.Fc=function(n){return _X(this,n)},aZn.$b=function(){this.a.$b()},aZn.Hc=function(n){return this.a._b(n)},aZn.Kc=function(){return this.a.ec().Kc()},aZn.Mc=function(n){return ox(this,n)},aZn.gc=function(){return this.a.gc()};var Eut=qV(NZn,"TreeSet",157);oxn(1082,1,{},aw),aZn.Ve=function(n,t){return __(this.a,n,t)},qV(Z0n,"BinaryOperator/lambda$0$Type",1082),oxn(1083,1,{},ow),aZn.Ve=function(n,t){return K_(this.a,n,t)},qV(Z0n,"BinaryOperator/lambda$1$Type",1083),oxn(952,1,{},G),aZn.Kb=function(n){return n},qV(Z0n,"Function/lambda$0$Type",952),oxn(395,1,v1n,uw),aZn.Mb=function(n){return!this.a.Mb(n)},qV(Z0n,"Predicate/lambda$2$Type",395),oxn(581,1,{581:1});var Mut,jut,Tut=qV(n2n,"Handler",581);oxn(2107,1,vZn),aZn.xe=function(){return"DUMMY"},aZn.Ib=function(){return this.xe()},qV(n2n,"Level",2107),oxn(1706,2107,vZn,H),aZn.xe=function(){return"INFO"},qV(n2n,"Level/LevelInfo",1706),oxn(1843,1,{},ty),qV(n2n,"LogManager",1843),oxn(1896,1,vZn,tB),aZn.b=null,qV(n2n,"LogRecord",1896),oxn(525,1,{525:1},n9),aZn.e=!1;var Sut,Put,Cut,Out=!1,Iut=!1,Aut=!1,Lut=!1,Nut=!1;qV(n2n,"Logger",525),oxn(835,581,{581:1},U),qV(n2n,"SimpleConsoleLogHandler",835),oxn(108,22,{3:1,34:1,22:1,108:1},UP);var Dut,xut=_cn(i2n,"Collector/Characteristics",108,Cat,N2,sB);oxn(758,1,{},WX),qV(i2n,"CollectorImpl",758),oxn(1074,1,{},q),aZn.Ve=function(n,t){return twn(aU(n,213),aU(t,213))},qV(i2n,"Collectors/10methodref$merge$Type",1074),oxn(1075,1,{},z),aZn.Kb=function(n){return x4(aU(n,213))},qV(i2n,"Collectors/11methodref$toString$Type",1075),oxn(1076,1,{},sw),aZn.Kb=function(n){return H$(),!!PL(n)},qV(i2n,"Collectors/12methodref$test$Type",1076),oxn(144,1,{},W),aZn.Yd=function(n,t){aU(n,16).Fc(t)},qV(i2n,"Collectors/20methodref$add$Type",144),oxn(146,1,{},X),aZn.Xe=function(){return new Jm},qV(i2n,"Collectors/21methodref$ctor$Type",146),oxn(359,1,{},V),aZn.Xe=function(){return new ny},qV(i2n,"Collectors/23methodref$ctor$Type",359),oxn(360,1,{},Q),aZn.Yd=function(n,t){RX(aU(n,49),t)},qV(i2n,"Collectors/24methodref$add$Type",360),oxn(1069,1,{},J),aZn.Ve=function(n,t){return PS(aU(n,15),aU(t,16))},qV(i2n,"Collectors/4methodref$addAll$Type",1069),oxn(1073,1,{},Y),aZn.Yd=function(n,t){c7(aU(n,213),aU(t,484))},qV(i2n,"Collectors/9methodref$add$Type",1073),oxn(1072,1,{},sU),aZn.Xe=function(){return new Qsn(this.a,this.b,this.c)},qV(i2n,"Collectors/lambda$15$Type",1072),oxn(1077,1,{},Z),aZn.Xe=function(){var n;return Oyn(n=new a8,(H$(),!1),new Jm),Oyn(n,!0,new Jm),n},qV(i2n,"Collectors/lambda$22$Type",1077),oxn(1078,1,{},hw),aZn.Xe=function(){return Bhn(iM(bat,1),MZn,1,5,[this.a])},qV(i2n,"Collectors/lambda$25$Type",1078),oxn(1079,1,{},fw),aZn.Yd=function(n,t){Qq(this.a,$cn(n))},qV(i2n,"Collectors/lambda$26$Type",1079),oxn(1080,1,{},lw),aZn.Ve=function(n,t){return oX(this.a,$cn(n),$cn(t))},qV(i2n,"Collectors/lambda$27$Type",1080),oxn(1081,1,{},nn),aZn.Kb=function(n){return $cn(n)[0]},qV(i2n,"Collectors/lambda$28$Type",1081),oxn(728,1,{},tn),aZn.Ve=function(n,t){return Yq(n,t)},qV(i2n,"Collectors/lambda$4$Type",728),oxn(145,1,{},en),aZn.Ve=function(n,t){return MS(aU(n,16),aU(t,16))},qV(i2n,"Collectors/lambda$42$Type",145),oxn(361,1,{},rn),aZn.Ve=function(n,t){return jS(aU(n,49),aU(t,49))},qV(i2n,"Collectors/lambda$50$Type",361),oxn(362,1,{},cn),aZn.Kb=function(n){return aU(n,49)},qV(i2n,"Collectors/lambda$51$Type",362),oxn(1068,1,{},bw),aZn.Yd=function(n,t){pln(this.a,aU(n,85),t)},qV(i2n,"Collectors/lambda$7$Type",1068),oxn(1070,1,{},an),aZn.Ve=function(n,t){return Ohn(aU(n,85),aU(t,85),new J)},qV(i2n,"Collectors/lambda$8$Type",1070),oxn(1071,1,{},dw),aZn.Kb=function(n){return qgn(this.a,aU(n,85))},qV(i2n,"Collectors/lambda$9$Type",1071),oxn(550,1,{}),aZn.$e=function(){HQ(this)},aZn.d=!1,qV(i2n,"TerminatableStream",550),oxn(827,550,r2n,P_),aZn.$e=function(){HQ(this)},qV(i2n,"DoubleStreamImpl",827),oxn(1847,736,WZn,hU),aZn.Re=function(n){return REn(this,aU(n,189))},aZn.a=null,qV(i2n,"DoubleStreamImpl/2",1847),oxn(1848,1,_0n,ww),aZn.Pe=function(n){LN(this.a,n)},qV(i2n,"DoubleStreamImpl/2/lambda$0$Type",1848),oxn(1845,1,_0n,gw),aZn.Pe=function(n){AN(this.a,n)},qV(i2n,"DoubleStreamImpl/lambda$0$Type",1845),oxn(1846,1,_0n,pw),aZn.Pe=function(n){ymn(this.a,n)},qV(i2n,"DoubleStreamImpl/lambda$2$Type",1846),oxn(1397,735,WZn,t9),aZn.Re=function(n){return n6(this,aU(n,202))},aZn.a=0,aZn.b=0,aZn.c=0,qV(i2n,"IntStream/5",1397),oxn(806,550,r2n,C_),aZn.$e=function(){HQ(this)},aZn._e=function(){return GQ(this),this.a},qV(i2n,"IntStreamImpl",806),oxn(807,550,r2n,gS),aZn.$e=function(){HQ(this)},aZn._e=function(){return GQ(this),Kx(),but},qV(i2n,"IntStreamImpl/Empty",807),oxn(1687,1,VZn,mw),aZn.Dd=function(n){gsn(this.a,n)},qV(i2n,"IntStreamImpl/lambda$4$Type",1687);var $ut,Rut=Pq(i2n,"Stream");oxn(26,550,{533:1,687:1,848:1},sz),aZn.$e=function(){HQ(this)},qV(i2n,"StreamImpl",26),oxn(1102,500,WZn,NF),aZn.Bd=function(n){for(;ktn(this);){if(this.a.Bd(n))return!0;HQ(this.b),this.b=null,this.a=null}return!1},qV(i2n,"StreamImpl/1",1102),oxn(1103,1,XZn,vw),aZn.Cd=function(n){gU(this.a,aU(n,848))},qV(i2n,"StreamImpl/1/lambda$0$Type",1103),oxn(1104,1,v1n,yw),aZn.Mb=function(n){return RX(this.a,n)},qV(i2n,"StreamImpl/1methodref$add$Type",1104),oxn(1105,500,WZn,XY),aZn.Bd=function(n){var t;return this.a||(t=new Jm,this.b.a.Nb(new kw(t)),uZ(),sD(t,this.c),this.a=new u3(t,16)),arn(this.a,n)},aZn.a=null,qV(i2n,"StreamImpl/5",1105),oxn(1106,1,XZn,kw),aZn.Cd=function(n){mx(this.a,n)},qV(i2n,"StreamImpl/5/2methodref$add$Type",1106),oxn(737,500,WZn,ten),aZn.Bd=function(n){for(this.b=!1;!this.b&&this.c.Bd(new WP(this,n)););return this.b},aZn.b=!1,qV(i2n,"StreamImpl/FilterSpliterator",737),oxn(1096,1,XZn,WP),aZn.Cd=function(n){UW(this.a,this.b,n)},qV(i2n,"StreamImpl/FilterSpliterator/lambda$0$Type",1096),oxn(1091,736,WZn,o7),aZn.Re=function(n){return pF(this,aU(n,189))},qV(i2n,"StreamImpl/MapToDoubleSpliterator",1091),oxn(1095,1,XZn,XP),aZn.Cd=function(n){pC(this.a,this.b,n)},qV(i2n,"StreamImpl/MapToDoubleSpliterator/lambda$0$Type",1095),oxn(1090,735,WZn,u7),aZn.Re=function(n){return mF(this,aU(n,202))},qV(i2n,"StreamImpl/MapToIntSpliterator",1090),oxn(1094,1,XZn,VP),aZn.Cd=function(n){mC(this.a,this.b,n)},qV(i2n,"StreamImpl/MapToIntSpliterator/lambda$0$Type",1094),oxn(734,500,WZn,s7),aZn.Bd=function(n){return vF(this,n)},qV(i2n,"StreamImpl/MapToObjSpliterator",734),oxn(1093,1,XZn,QP),aZn.Cd=function(n){vC(this.a,this.b,n)},qV(i2n,"StreamImpl/MapToObjSpliterator/lambda$0$Type",1093),oxn(1092,500,WZn,Ran),aZn.Bd=function(n){for(;AP(this.b,0);){if(!this.a.Bd(new on))return!1;this.b=Lgn(this.b,1)}return this.a.Bd(n)},aZn.b=0,qV(i2n,"StreamImpl/SkipSpliterator",1092),oxn(1097,1,XZn,on),aZn.Cd=function(n){},qV(i2n,"StreamImpl/SkipSpliterator/lambda$0$Type",1097),oxn(626,1,XZn,un),aZn.Cd=function(n){Cb(this,n)},qV(i2n,"StreamImpl/ValueConsumer",626),oxn(1098,1,XZn,sn),aZn.Cd=function(n){pS()},qV(i2n,"StreamImpl/lambda$0$Type",1098),oxn(1099,1,XZn,hn),aZn.Cd=function(n){pS()},qV(i2n,"StreamImpl/lambda$1$Type",1099),oxn(1100,1,{},Ew),aZn.Ve=function(n,t){return RB(this.a,n,t)},qV(i2n,"StreamImpl/lambda$4$Type",1100),oxn(1101,1,XZn,YP),aZn.Cd=function(n){mK(this.b,this.a,n)},qV(i2n,"StreamImpl/lambda$5$Type",1101),oxn(1107,1,XZn,Mw),aZn.Cd=function(n){Bsn(this.a,aU(n,380))},qV(i2n,"TerminatableStream/lambda$0$Type",1107),oxn(2142,1,{}),oxn(2014,1,{},fn),qV("javaemul.internal","ConsoleLogger",2014);var _ut=0;oxn(2134,1,{}),oxn(1830,1,XZn,ln),aZn.Cd=function(n){aU(n,317)},qV(h2n,"BowyerWatsonTriangulation/lambda$0$Type",1830),oxn(1831,1,XZn,Tw),aZn.Cd=function(n){Xon(this.a,aU(n,317).e)},qV(h2n,"BowyerWatsonTriangulation/lambda$1$Type",1831),oxn(1832,1,XZn,bn),aZn.Cd=function(n){aU(n,177)},qV(h2n,"BowyerWatsonTriangulation/lambda$2$Type",1832),oxn(1827,1,f2n,Sw),aZn.Ne=function(n,t){return j5(this.a,aU(n,177),aU(t,177))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(h2n,"NaiveMinST/lambda$0$Type",1827),oxn(449,1,{},jw),qV(h2n,"NodeMicroLayout",449),oxn(177,1,{177:1},JP),aZn.Fb=function(n){var t;return!!RD(n,177)&&(t=aU(n,177),CJ(this.a,t.a)&&CJ(this.b,t.b)||CJ(this.a,t.b)&&CJ(this.b,t.a))},aZn.Hb=function(){return zN(this.a)+zN(this.b)};var Kut=qV(h2n,"TEdge",177);oxn(317,1,{317:1},dqn),aZn.Fb=function(n){var t;return!!RD(n,317)&&Nen(this,(t=aU(n,317)).a)&&Nen(this,t.b)&&Nen(this,t.c)},aZn.Hb=function(){return zN(this.a)+zN(this.b)+zN(this.c)},qV(h2n,"TTriangle",317),oxn(225,1,{225:1},SD),qV(h2n,"Tree",225),oxn(1218,1,{},H0),qV(l2n,"Scanline",1218);var Fut=Pq(l2n,b2n);oxn(1758,1,{},Xin),qV(d2n,"CGraph",1758),oxn(316,1,{316:1},z0),aZn.b=0,aZn.c=0,aZn.d=0,aZn.g=0,aZn.i=0,aZn.k=k0n,qV(d2n,"CGroup",316),oxn(830,1,{},sy),qV(d2n,"CGroup/CGroupBuilder",830),oxn(60,1,{60:1},AK),aZn.Ib=function(){return this.j?g_(this.j.Kb(this)):(p_(qut),qut.o+"@"+(D$(this)>>>0).toString(16))},aZn.f=0,aZn.i=k0n;var But,Gut,Hut,Uut,qut=qV(d2n,"CNode",60);oxn(829,1,{},hy),qV(d2n,"CNode/CNodeBuilder",829),oxn(1590,1,{},dn),aZn.ff=function(n,t){return 0},aZn.gf=function(n,t){return 0},qV(d2n,g2n,1590),oxn(1853,1,{},wn),aZn.cf=function(n){var e,i,r,c,a,o,u,s,h,f,l,b,d,w,g;for(h=y0n,r=new Wd(n.a.b);r.ae.d.c||e.d.c==r.d.c&&e.d.b0?n+this.n.d+this.n.a:0},aZn.kf=function(){var n,e,i,r,c;if(c=0,this.e)this.b?c=this.b.a:this.a[1][1]&&(c=this.a[1][1].kf());else if(this.g)c=vpn(this,lTn(this,null,!0));else for(Qrn(),i=0,r=(e=Bhn(iM(Pst,1),w1n,237,0,[Est,Mst,jst])).length;i0?c+this.n.b+this.n.c:0},aZn.lf=function(){var n,t,e,i,r;if(this.g)for(n=lTn(this,null,!1),Qrn(),i=0,r=(e=Bhn(iM(Pst,1),w1n,237,0,[Est,Mst,jst])).length;i0&&(r[0]+=this.d,i-=r[0]),r[2]>0&&(r[2]+=this.d,i-=r[2]),this.c.a=t.Math.max(0,i),this.c.d=e.d+n.d+(this.c.a-i)/2,r[1]=t.Math.max(r[1],i),V9(this,Mst,e.d+n.d+r[0]-(r[1]-i)/2,r)},aZn.b=null,aZn.d=0,aZn.e=!1,aZn.f=!1,aZn.g=!1;var Cst,Ost,Ist,Ast=0,Lst=0;qV(B2n,"GridContainerCell",1538),oxn(471,22,{3:1,34:1,22:1,471:1},rC);var Nst,Dst=_cn(B2n,"HorizontalLabelAlignment",471,Cat,x2,dB);oxn(314,217,{217:1,314:1},r0,Qin,i1),aZn.jf=function(){return tq(this)},aZn.kf=function(){return eq(this)},aZn.a=0,aZn.c=!1;var xst,$st,Rst,_st=qV(B2n,"LabelCell",314);oxn(252,336,{217:1,336:1,252:1},Zvn),aZn.jf=function(){return bNn(this)},aZn.kf=function(){return dNn(this)},aZn.lf=function(){QUn(this)},aZn.mf=function(){eqn(this)},aZn.b=0,aZn.c=0,aZn.d=!1,qV(B2n,"StripContainerCell",252),oxn(1691,1,v1n,En),aZn.Mb=function(n){return LE(aU(n,217))},qV(B2n,"StripContainerCell/lambda$0$Type",1691),oxn(1692,1,{},Mn),aZn.Ye=function(n){return aU(n,217).kf()},qV(B2n,"StripContainerCell/lambda$1$Type",1692),oxn(1693,1,v1n,jn),aZn.Mb=function(n){return NE(aU(n,217))},qV(B2n,"StripContainerCell/lambda$2$Type",1693),oxn(1694,1,{},Tn),aZn.Ye=function(n){return aU(n,217).jf()},qV(B2n,"StripContainerCell/lambda$3$Type",1694),oxn(472,22,{3:1,34:1,22:1,472:1},cC);var Kst,Fst,Bst,Gst,Hst,Ust,qst,zst,Wst,Xst,Vst,Qst,Jst,Yst,Zst,nht,tht,eht,iht,rht,cht,aht,oht,uht=_cn(B2n,"VerticalLabelAlignment",472,Cat,D2,wB);oxn(800,1,{},MQn),aZn.c=0,aZn.d=0,aZn.k=0,aZn.s=0,aZn.t=0,aZn.v=!1,aZn.w=0,aZn.D=!1,aZn.F=!1,qV(V2n,"NodeContext",800),oxn(1536,1,f2n,Sn),aZn.Ne=function(n,t){return BL(aU(n,64),aU(t,64))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(V2n,"NodeContext/0methodref$comparePortSides$Type",1536),oxn(1537,1,f2n,Pn),aZn.Ne=function(n,t){return OCn(aU(n,117),aU(t,117))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(V2n,"NodeContext/1methodref$comparePortContexts$Type",1537),oxn(164,22,{3:1,34:1,22:1,164:1},wun);var sht,hht,fht,lht,bht,dht,wht,ght=_cn(V2n,"NodeLabelLocation",164,Cat,Ayn,gB);oxn(117,1,{117:1},pDn),aZn.a=!1,qV(V2n,"PortContext",117),oxn(1541,1,XZn,Cn),aZn.Cd=function(n){nT(aU(n,314))},qV(Y2n,Z2n,1541),oxn(1542,1,v1n,On),aZn.Mb=function(n){return!!aU(n,117).c},qV(Y2n,n3n,1542),oxn(1543,1,XZn,In),aZn.Cd=function(n){nT(aU(n,117).c)},qV(Y2n,"LabelPlacer/lambda$2$Type",1543),oxn(1540,1,XZn,An),aZn.Cd=function(n){z_(),lv(aU(n,117))},qV(Y2n,"NodeLabelAndSizeUtilities/lambda$0$Type",1540),oxn(801,1,XZn,NB),aZn.Cd=function(n){rP(this.b,this.c,this.a,aU(n,187))},aZn.a=!1,aZn.c=!1,qV(Y2n,"NodeLabelCellCreator/lambda$0$Type",801),oxn(1539,1,XZn,Iw),aZn.Cd=function(n){zv(this.a,aU(n,187))},qV(Y2n,"PortContextCreator/lambda$0$Type",1539),oxn(1902,1,{},Ln),qV(e3n,"GreedyRectangleStripOverlapRemover",1902),oxn(1903,1,f2n,Nn),aZn.Ne=function(n,t){return S$(aU(n,226),aU(t,226))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(e3n,"GreedyRectangleStripOverlapRemover/0methodref$compareByYCoordinate$Type",1903),oxn(1849,1,{},wy),aZn.a=5,aZn.e=0,qV(e3n,"RectangleStripOverlapRemover",1849),oxn(1850,1,f2n,Dn),aZn.Ne=function(n,t){return P$(aU(n,226),aU(t,226))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(e3n,"RectangleStripOverlapRemover/0methodref$compareLeftRectangleBorders$Type",1850),oxn(1852,1,f2n,xn),aZn.Ne=function(n,t){return sV(aU(n,226),aU(t,226))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(e3n,"RectangleStripOverlapRemover/1methodref$compareRightRectangleBorders$Type",1852),oxn(417,22,{3:1,34:1,22:1,417:1},aC);var pht,mht,vht,yht,kht,Eht=_cn(e3n,"RectangleStripOverlapRemover/OverlapRemovalDirection",417,Cat,K6,pB);oxn(226,1,{226:1},Jz),qV(e3n,"RectangleStripOverlapRemover/RectangleNode",226),oxn(1851,1,XZn,Aw),aZn.Cd=function(n){hMn(this.a,aU(n,226))},qV(e3n,"RectangleStripOverlapRemover/lambda$1$Type",1851),oxn(1323,1,f2n,$n),aZn.Ne=function(n,t){return uWn(aU(n,176),aU(t,176))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(r3n,"PolyominoCompactor/CornerCasesGreaterThanRestComparator",1323),oxn(1326,1,{},Rn),aZn.Kb=function(n){return aU(n,334).a},qV(r3n,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$0$Type",1326),oxn(1327,1,v1n,_n),aZn.Mb=function(n){return aU(n,332).a},qV(r3n,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$1$Type",1327),oxn(1328,1,v1n,Kn),aZn.Mb=function(n){return aU(n,332).a},qV(r3n,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$2$Type",1328),oxn(1321,1,f2n,Fn),aZn.Ne=function(n,t){return VBn(aU(n,176),aU(t,176))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(r3n,"PolyominoCompactor/MinNumOfExtensionDirectionsComparator",1321),oxn(1324,1,{},Bn),aZn.Kb=function(n){return aU(n,334).a},qV(r3n,"PolyominoCompactor/MinNumOfExtensionDirectionsComparator/lambda$0$Type",1324),oxn(781,1,f2n,Gn),aZn.Ne=function(n,t){return hhn(aU(n,176),aU(t,176))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(r3n,"PolyominoCompactor/MinNumOfExtensionsComparator",781),oxn(1319,1,f2n,Hn),aZn.Ne=function(n,t){return eon(aU(n,330),aU(t,330))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(r3n,"PolyominoCompactor/MinPerimeterComparator",1319),oxn(1320,1,f2n,Un),aZn.Ne=function(n,t){return Kkn(aU(n,330),aU(t,330))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(r3n,"PolyominoCompactor/MinPerimeterComparatorWithShape",1320),oxn(1322,1,f2n,qn),aZn.Ne=function(n,t){return UGn(aU(n,176),aU(t,176))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(r3n,"PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator",1322),oxn(1325,1,{},zn),aZn.Kb=function(n){return aU(n,334).a},qV(r3n,"PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator/lambda$0$Type",1325),oxn(782,1,{},oC),aZn.Ve=function(n,t){return b6(this,aU(n,42),aU(t,176))},qV(r3n,"SuccessorCombination",782),oxn(649,1,{},Wn),aZn.Ve=function(n,t){var e;return $Nn((e=aU(n,42),aU(t,176),e))},qV(r3n,"SuccessorJitter",649),oxn(648,1,{},Xn),aZn.Ve=function(n,t){var e;return iKn((e=aU(n,42),aU(t,176),e))},qV(r3n,"SuccessorLineByLine",648),oxn(573,1,{},Vn),aZn.Ve=function(n,t){var e;return Zxn((e=aU(n,42),aU(t,176),e))},qV(r3n,"SuccessorManhattan",573),oxn(1344,1,{},Qn),aZn.Ve=function(n,t){var e;return h_n((e=aU(n,42),aU(t,176),e))},qV(r3n,"SuccessorMaxNormWindingInMathPosSense",1344),oxn(409,1,{},Lw),aZn.Ve=function(n,t){return FX(this,n,t)},aZn.c=!1,aZn.d=!1,aZn.e=!1,aZn.f=!1,qV(r3n,"SuccessorQuadrantsGeneric",409),oxn(1345,1,{},Jn),aZn.Kb=function(n){return aU(n,334).a},qV(r3n,"SuccessorQuadrantsGeneric/lambda$0$Type",1345),oxn(332,22,{3:1,34:1,22:1,332:1},uC),aZn.a=!1;var Mht,jht=_cn(s3n,h3n,332,Cat,R6,mB);oxn(1317,1,{}),aZn.Ib=function(){var n,t,e,i,r,c;for(e=" ",n=Ddn(0),r=0;r=0?"b"+n+"["+U8(this.a)+"]":"b["+U8(this.a)+"]":"b_"+D$(this)},qV(z3n,"FBendpoint",250),oxn(290,137,{3:1,290:1,96:1,137:1},LK),aZn.Ib=function(){return U8(this)},qV(z3n,"FEdge",290),oxn(235,137,{3:1,235:1,96:1,137:1},b7);var aft,oft,uft,sft,hft,fft,lft,bft,dft,wft,gft=qV(z3n,"FGraph",235);oxn(454,309,{3:1,454:1,309:1,96:1,137:1},O5),aZn.Ib=function(){return null==this.b||0==this.b.length?"l["+U8(this.a)+"]":"l_"+this.b},qV(z3n,"FLabel",454),oxn(153,309,{3:1,153:1,309:1,96:1,137:1},MD),aZn.Ib=function(){return q3(this)},aZn.a=0,qV(z3n,"FNode",153),oxn(2100,1,{}),aZn.vf=function(n){wUn(this,n)},aZn.wf=function(){PMn(this)},aZn.d=0,qV(X3n,"AbstractForceModel",2100),oxn(641,2100,{641:1},hsn),aZn.uf=function(n,e){var i,r,c,a;return HWn(this.f,n,e),c=QK(ND(e.d),n.d),a=t.Math.sqrt(c.a*c.a+c.b*c.b),r=t.Math.max(0,a-AQ(n.e)/2-AQ(e.e)/2),px(c,((i=zNn(this.e,n,e))>0?-tV(r,this.c)*i:kR(r,this.b)*aU(cOn(n,(eUn(),Lft)),17).a)/a),c},aZn.vf=function(n){wUn(this,n),this.a=aU(cOn(n,(eUn(),kft)),17).a,this.c=aE(w_(cOn(n,_ft))),this.b=aE(w_(cOn(n,Dft)))},aZn.xf=function(n){return n0&&(a-=rE(r,this.a)*i),px(c,a*this.b/o),c},aZn.vf=function(n){var e,i,r,c,a,o,u;for(wUn(this,n),this.b=aE(w_(cOn(n,(eUn(),Kft)))),this.c=this.b/aU(cOn(n,kft),17).a,r=n.e.c.length,a=0,c=0,u=new Wd(n.e);u.a0},aZn.a=0,aZn.b=0,aZn.c=0,qV(X3n,"FruchtermanReingoldModel",642),oxn(860,1,$2n,Gf),aZn.hf=function(n){Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,V3n),""),"Force Model"),"Determines the model for force calculation."),uft),(hAn(),dNt)),glt),dgn((xyn(),uNt))))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,Q3n),""),"Iterations"),"The number of iterations on the force model."),Ddn(300)),gNt),bot),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,J3n),""),"Repulsive Power"),"Determines how many bend points are added to the edge; such bend points are regarded as repelling particles in the force model"),Ddn(0)),gNt),bot),dgn(cNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,Y3n),""),"FR Temperature"),"The temperature is used as a scaling factor for particle displacements."),Z3n),bNt),sot),dgn(uNt)))),F4(n,Y3n,V3n,bft),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,n4n),""),"Eades Repulsion"),"Factor for repulsive forces in Eades' model."),5),bNt),sot),dgn(uNt)))),F4(n,n4n,V3n,hft),pJn((new Hf,n))},qV(t4n,"ForceMetaDataProvider",860),oxn(432,22,{3:1,34:1,22:1,432:1},lC);var pft,mft,vft,yft,kft,Eft,Mft,jft,Tft,Sft,Pft,Cft,Oft,Ift,Aft,Lft,Nft,Dft,xft,$ft,Rft,_ft,Kft,Fft,Bft,Gft,Hft,Uft,qft,zft,Wft,Xft,Vft,Qft,Jft,Yft,Zft,nlt,tlt,elt,ilt,rlt,clt,alt,olt,ult,slt,hlt,flt,llt,blt,dlt,wlt,glt=_cn(t4n,"ForceModelStrategy",432,Cat,u1,kB);oxn(L1n,1,$2n,Hf),aZn.hf=function(n){pJn(n)},qV(t4n,"ForceOptions",L1n),oxn(1001,1,{},mt),aZn.sf=function(){return new uy},aZn.tf=function(n){},qV(t4n,"ForceOptions/ForceFactory",1001),oxn(861,1,$2n,Uf),aZn.hf=function(n){Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,P4n),""),"Fixed Position"),"Prevent that the node is moved by the layout algorithm."),(H$(),!1)),(hAn(),lNt)),iot),dgn((xyn(),oNt))))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,C4n),""),"Desired Edge Length"),"Either specified for parent nodes or for individual edges, where the latter takes higher precedence."),100),bNt),sot),Wz(uNt,Bhn(iM(yNt,1),w1n,170,0,[cNt]))))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,O4n),""),"Layout Dimension"),"Dimensions that are permitted to be altered during layout."),Jft),dNt),Slt),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,I4n),""),"Stress Epsilon"),"Termination criterion for the iterative process."),Z3n),bNt),sot),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,A4n),""),"Iteration Limit"),"Maximum number of performed iterations. Takes higher precedence than 'epsilon'."),Ddn(pZn)),gNt),bot),dgn(uNt)))),oVn((new qf,n))},qV(t4n,"StressMetaDataProvider",861),oxn(1004,1,$2n,qf),aZn.hf=function(n){oVn(n)},qV(t4n,"StressOptions",1004),oxn(1005,1,{},gt),aZn.sf=function(){return new NK},aZn.tf=function(n){},qV(t4n,"StressOptions/StressFactory",1005),oxn(1110,205,y3n,NK),aZn.rf=function(n,t){var e,i,r,c;for(t.Ug(N4n,1),cE(d_(qxn(n,(Kjn(),clt))))?cE(d_(qxn(n,flt)))||V1(new jw((pP(),new zk(n)))):J$n(new uy,n,t.eh(1)),i=vfn(n),c=(e=ZUn(this.a,i)).Kc();c.Ob();)(r=aU(c.Pb(),235)).e.c.length<=1||(eWn(this.b,r),Xxn(this.b),Trn(r.d,new pt));QJn(i=hJn(e)),t.Vg()},qV(x4n,"StressLayoutProvider",1110),oxn(1111,1,XZn,pt),aZn.Cd=function(n){Qqn(aU(n,454))},qV(x4n,"StressLayoutProvider/lambda$0$Type",1111),oxn(1002,1,{},Hv),aZn.c=0,aZn.e=0,aZn.g=0,qV(x4n,"StressMajorization",1002),oxn(391,22,{3:1,34:1,22:1,391:1},bC);var plt,mlt,vlt,ylt,klt,Elt,Mlt,jlt,Tlt,Slt=_cn(x4n,"StressMajorization/Dimension",391,Cat,R2,EB);oxn(1003,1,f2n,Rw),aZn.Ne=function(n,t){return EF(this.a,aU(n,153),aU(t,153))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(x4n,"StressMajorization/lambda$0$Type",1003),oxn(1192,1,{},t4),qV(R4n,"ElkLayered",1192),oxn(1193,1,XZn,_w),aZn.Cd=function(n){CLn(this.a,aU(n,36))},qV(R4n,"ElkLayered/lambda$0$Type",1193),oxn(1194,1,XZn,Kw),aZn.Cd=function(n){MF(this.a,aU(n,36))},qV(R4n,"ElkLayered/lambda$1$Type",1194),oxn(1281,1,{},qD),qV(R4n,"GraphConfigurator",1281),oxn(770,1,XZn,Fw),aZn.Cd=function(n){UOn(this.a,aU(n,10))},qV(R4n,"GraphConfigurator/lambda$0$Type",770),oxn(771,1,{},wt),aZn.Kb=function(n){return RTn(),new sz(null,new u3(aU(n,30).a,16))},qV(R4n,"GraphConfigurator/lambda$1$Type",771),oxn(772,1,XZn,Bw),aZn.Cd=function(n){UOn(this.a,aU(n,10))},qV(R4n,"GraphConfigurator/lambda$2$Type",772),oxn(1109,205,y3n,gy),aZn.rf=function(n,t){var e;e=pzn(new my,n),DA(qxn(n,(EYn(),eEt)))===DA((Cdn(),P$t))?kgn(this.a,e,t):Kxn(this.a,e,t),t.$g()||AQn(new zf,e)},qV(R4n,"LayeredLayoutProvider",1109),oxn(367,22,{3:1,34:1,22:1,367:1},dC);var Plt,Clt,Olt,Ilt=_cn(R4n,"LayeredPhases",367,Cat,a9,MB);oxn(1717,1,{},Lan),aZn.i=0,qV(_4n,"ComponentsToCGraphTransformer",1717),oxn(1718,1,{},dt),aZn.yf=function(n,e){return t.Math.min(null!=n.a?aE(n.a):n.c.i,null!=e.a?aE(e.a):e.c.i)},aZn.zf=function(n,e){return t.Math.min(null!=n.a?aE(n.a):n.c.i,null!=e.a?aE(e.a):e.c.i)},qV(_4n,"ComponentsToCGraphTransformer/1",1718),oxn(86,1,{86:1}),aZn.i=0,aZn.k=!0,aZn.o=k0n;var Alt,Llt,Nlt,Dlt=qV(K4n,"CNode",86);oxn(470,86,{470:1,86:1},V$,Qvn),aZn.Ib=function(){return""},qV(_4n,"ComponentsToCGraphTransformer/CRectNode",470),oxn(1688,1,{},vt),qV(_4n,"OneDimensionalComponentsCompaction",1688),oxn(1689,1,{},yt),aZn.Kb=function(n){return l2(aU(n,42))},aZn.Fb=function(n){return this===n},qV(_4n,"OneDimensionalComponentsCompaction/lambda$0$Type",1689),oxn(1690,1,{},kt),aZn.Kb=function(n){return Dgn(aU(n,42))},aZn.Fb=function(n){return this===n},qV(_4n,"OneDimensionalComponentsCompaction/lambda$1$Type",1690),oxn(1720,1,{},lQ),qV(K4n,"CGraph",1720),oxn(194,1,{194:1},Jvn),aZn.b=0,aZn.c=0,aZn.e=0,aZn.g=!0,aZn.i=k0n,qV(K4n,"CGroup",194),oxn(1719,1,{},Et),aZn.yf=function(n,e){return t.Math.max(null!=n.a?aE(n.a):n.c.i,null!=e.a?aE(e.a):e.c.i)},aZn.zf=function(n,e){return t.Math.max(null!=n.a?aE(n.a):n.c.i,null!=e.a?aE(e.a):e.c.i)},qV(K4n,g2n,1719),oxn(1721,1,{},tDn),aZn.d=!1;var xlt=qV(K4n,k2n,1721);oxn(1722,1,{},Mt),aZn.Kb=function(n){return GS(),H$(),0!=aU(aU(n,42).a,86).d.e},aZn.Fb=function(n){return this===n},qV(K4n,E2n,1722),oxn(833,1,{},iz),aZn.a=!1,aZn.b=!1,aZn.c=!1,aZn.d=!1,qV(K4n,M2n,833),oxn(1898,1,{},Yz),qV(F4n,j2n,1898);var $lt=Pq(B4n,b2n);oxn(1899,1,{382:1},RZ),aZn.bf=function(n){NKn(this,aU(n,476))},qV(F4n,T2n,1899),oxn(z1n,1,f2n,jt),aZn.Ne=function(n,t){return eY(aU(n,86),aU(t,86))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(F4n,S2n,z1n),oxn(476,1,{476:1},$C),aZn.a=!1,qV(F4n,P2n,476),oxn(1901,1,f2n,Tt),aZn.Ne=function(n,t){return $Tn(aU(n,476),aU(t,476))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(F4n,C2n,1901),oxn(148,1,{148:1},RC,lU),aZn.Fb=function(n){var t;return null!=n&&Blt==kbn(n)&&(t=aU(n,148),CJ(this.c,t.c)&&CJ(this.d,t.d))},aZn.Hb=function(){return Cbn(Bhn(iM(bat,1),MZn,1,5,[this.c,this.d]))},aZn.Ib=function(){return"("+this.c+kZn+this.d+(this.a?"cx":"")+this.b+")"},aZn.a=!0,aZn.c=0,aZn.d=0;var Rlt,_lt,Klt,Flt,Blt=qV(B4n,"Point",148);oxn(416,22,{3:1,34:1,22:1,416:1},EC);var Glt,Hlt,Ult,qlt,zlt,Wlt,Xlt,Vlt,Qlt,Jlt,Ylt,Zlt,nbt=_cn(B4n,"Point/Quadrant",416,Cat,F6,jB);oxn(1708,1,{},by),aZn.b=null,aZn.c=null,aZn.d=null,aZn.e=null,aZn.f=null,qV(B4n,"RectilinearConvexHull",1708),oxn(583,1,{382:1},ikn),aZn.bf=function(n){Ptn(this,aU(n,148))},aZn.b=0,qV(B4n,"RectilinearConvexHull/MaximalElementsEventHandler",583),oxn(1710,1,f2n,St),aZn.Ne=function(n,t){return iY(w_(n),w_(t))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(B4n,"RectilinearConvexHull/MaximalElementsEventHandler/lambda$0$Type",1710),oxn(1709,1,{382:1},Vin),aZn.bf=function(n){w_n(this,aU(n,148))},aZn.a=0,aZn.b=null,aZn.c=null,aZn.d=null,aZn.e=null,qV(B4n,"RectilinearConvexHull/RectangleEventHandler",1709),oxn(1711,1,f2n,Pt),aZn.Ne=function(n,t){return F3(aU(n,148),aU(t,148))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(B4n,"RectilinearConvexHull/lambda$0$Type",1711),oxn(1712,1,f2n,At),aZn.Ne=function(n,t){return B3(aU(n,148),aU(t,148))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(B4n,"RectilinearConvexHull/lambda$1$Type",1712),oxn(1713,1,f2n,Lt),aZn.Ne=function(n,t){return K3(aU(n,148),aU(t,148))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(B4n,"RectilinearConvexHull/lambda$2$Type",1713),oxn(1714,1,f2n,It),aZn.Ne=function(n,t){return G3(aU(n,148),aU(t,148))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(B4n,"RectilinearConvexHull/lambda$3$Type",1714),oxn(1715,1,f2n,Nt),aZn.Ne=function(n,t){return oOn(aU(n,148),aU(t,148))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(B4n,"RectilinearConvexHull/lambda$4$Type",1715),oxn(1716,1,{},U0),qV(B4n,"Scanline",1716),oxn(2104,1,{}),qV(G4n,"AbstractGraphPlacer",2104),oxn(335,1,{335:1},NR),aZn.Ff=function(n){return!!this.Gf(n)&&(BNn(this.b,aU(cOn(n,(GYn(),Dpt)),21),n),!0)},aZn.Gf=function(n){var t,e,i;for(t=aU(cOn(n,(GYn(),Dpt)),21),i=aU(Q9(Vlt,t),21).Kc();i.Ob();)if(e=aU(i.Pb(),21),!aU(Q9(this.b,e),15).dc())return!1;return!0},qV(G4n,"ComponentGroup",335),oxn(779,2104,{},dy),aZn.Hf=function(n){var t;for(t=new Wd(this.a);t.ai&&(f=0,l+=u+r,u=0),ZBn(a,f+(s=a.c).a,l+s.b),bL(s),c=t.Math.max(c,f+h.a),u=t.Math.max(u,h.b),f+=h.a+r;e.f.a=c,e.f.b=l+u},aZn.Jf=function(n,t){var e,i,r,c,a;if(DA(cOn(t,(EYn(),mkt)))===DA((Bvn(),Zlt))){for(i=n.Kc();i.Ob();){for(a=0,c=new Wd((e=aU(i.Pb(),36)).a);c.ai&&!aU(cOn(a,(GYn(),Dpt)),21).Hc(($Qn(),vRt))||s&&aU(cOn(s,(GYn(),Dpt)),21).Hc(($Qn(),mRt))||aU(cOn(a,(GYn(),Dpt)),21).Hc(($Qn(),_Rt)))&&(b=l,d+=u+r,u=0),h=a.c,aU(cOn(a,(GYn(),Dpt)),21).Hc(($Qn(),vRt))&&(b=c+r),ZBn(a,b+h.a,d+h.b),c=t.Math.max(c,b+f.a),aU(cOn(a,Dpt),21).Hc($Rt)&&(l=t.Math.max(l,b+f.a+r)),bL(h),u=t.Math.max(u,f.b),b+=f.a+r,s=a;e.f.a=c,e.f.b=d+u},aZn.Jf=function(n,t){},qV(G4n,"ModelOrderRowGraphPlacer",1313),oxn(1311,1,f2n,$t),aZn.Ne=function(n,t){return Wsn(aU(n,36),aU(t,36))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(G4n,"SimpleRowGraphPlacer/1",1311),oxn(1280,1,O2n,Rt),aZn.Lb=function(n){var t;return!!(t=aU(cOn(aU(n,249).b,(EYn(),fEt)),75))&&0!=t.b},aZn.Fb=function(n){return this===n},aZn.Mb=function(n){var t;return!!(t=aU(cOn(aU(n,249).b,(EYn(),fEt)),75))&&0!=t.b},qV(W4n,"CompoundGraphPostprocessor/1",1280),oxn(1279,1,X4n,vy),aZn.Kf=function(n,t){qkn(this,aU(n,36),t)},qV(W4n,"CompoundGraphPreprocessor",1279),oxn(453,1,{453:1},jwn),aZn.c=!1,qV(W4n,"CompoundGraphPreprocessor/ExternalPort",453),oxn(249,1,{249:1},LB),aZn.Ib=function(){return yR(this.c)+":"+yNn(this.b)},qV(W4n,"CrossHierarchyEdge",249),oxn(777,1,f2n,Gw),aZn.Ne=function(n,t){return Ajn(this,aU(n,249),aU(t,249))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(W4n,"CrossHierarchyEdgeComparator",777),oxn(305,137,{3:1,305:1,96:1,137:1}),aZn.p=0,qV(V4n,"LGraphElement",305),oxn(18,305,{3:1,18:1,305:1,96:1,137:1},BZ),aZn.Ib=function(){return yNn(this)};var cbt=qV(V4n,"LEdge",18);oxn(36,305,{3:1,20:1,36:1,305:1,96:1,137:1},Nan),aZn.Jc=function(n){q8(this,n)},aZn.Kc=function(){return new Wd(this.b)},aZn.Ib=function(){return 0==this.b.c.length?"G-unlayered"+pOn(this.a):0==this.a.c.length?"G-layered"+pOn(this.b):"G[layerless"+pOn(this.a)+", layers"+pOn(this.b)+"]"};var abt,obt=qV(V4n,"LGraph",36);oxn(666,1,{}),aZn.Lf=function(){return this.e.n},aZn.of=function(n){return cOn(this.e,n)},aZn.Mf=function(){return this.e.o},aZn.Nf=function(){return this.e.p},aZn.pf=function(n){return pR(this.e,n)},aZn.Of=function(n){this.e.n.a=n.a,this.e.n.b=n.b},aZn.Pf=function(n){this.e.o.a=n.a,this.e.o.b=n.b},aZn.Qf=function(n){this.e.p=n},qV(V4n,"LGraphAdapters/AbstractLShapeAdapter",666),oxn(474,1,{853:1},Hw),aZn.Rf=function(){var n,t;if(!this.b)for(this.b=tR(this.a.b.c.length),t=new Wd(this.a.b);t.a0&&Fbn((o3(t-1,n.length),n.charCodeAt(t-1)),i6n);)--t;if(r> ",n),YMn(e)),VA(XA((n.a+="[",n),e.i),"]")),n.a},aZn.c=!0,aZn.d=!1;var Tbt,Sbt,Pbt,Cbt,Obt=qV(V4n,"LPort",12);oxn(408,1,ZZn,qw),aZn.Jc=function(n){q8(this,n)},aZn.Kc=function(){return new zw(new Wd(this.a.e))},qV(V4n,"LPort/1",408),oxn(1309,1,LZn,zw),aZn.Nb=function(n){jX(this,n)},aZn.Pb=function(){return aU(A3(this.a),18).c},aZn.Ob=function(){return hD(this.a)},aZn.Qb=function(){ZX(this.a)},qV(V4n,"LPort/1/1",1309),oxn(369,1,ZZn,Ww),aZn.Jc=function(n){q8(this,n)},aZn.Kc=function(){return new Xw(new Wd(this.a.g))},qV(V4n,"LPort/2",369),oxn(776,1,LZn,Xw),aZn.Nb=function(n){jX(this,n)},aZn.Pb=function(){return aU(A3(this.a),18).d},aZn.Ob=function(){return hD(this.a)},aZn.Qb=function(){ZX(this.a)},qV(V4n,"LPort/2/1",776),oxn(1302,1,ZZn,IC),aZn.Jc=function(n){q8(this,n)},aZn.Kc=function(){return new l7(this)},qV(V4n,"LPort/CombineIter",1302),oxn(208,1,LZn,l7),aZn.Nb=function(n){jX(this,n)},aZn.Qb=function(){Dj()},aZn.Ob=function(){return N$(this)},aZn.Pb=function(){return hD(this.a)?A3(this.a):A3(this.b)},qV(V4n,"LPort/CombineIter/1",208),oxn(1303,1,O2n,Bt),aZn.Lb=function(n){return QW(n)},aZn.Fb=function(n){return this===n},aZn.Mb=function(n){return Iun(),0!=aU(n,12).g.c.length},qV(V4n,"LPort/lambda$0$Type",1303),oxn(1304,1,O2n,Gt),aZn.Lb=function(n){return JW(n)},aZn.Fb=function(n){return this===n},aZn.Mb=function(n){return Iun(),0!=aU(n,12).e.c.length},qV(V4n,"LPort/lambda$1$Type",1304),oxn(1305,1,O2n,Ht),aZn.Lb=function(n){return Iun(),aU(n,12).j==($Qn(),vRt)},aZn.Fb=function(n){return this===n},aZn.Mb=function(n){return Iun(),aU(n,12).j==($Qn(),vRt)},qV(V4n,"LPort/lambda$2$Type",1305),oxn(1306,1,O2n,Ut),aZn.Lb=function(n){return Iun(),aU(n,12).j==($Qn(),mRt)},aZn.Fb=function(n){return this===n},aZn.Mb=function(n){return Iun(),aU(n,12).j==($Qn(),mRt)},qV(V4n,"LPort/lambda$3$Type",1306),oxn(1307,1,O2n,qt),aZn.Lb=function(n){return Iun(),aU(n,12).j==($Qn(),$Rt)},aZn.Fb=function(n){return this===n},aZn.Mb=function(n){return Iun(),aU(n,12).j==($Qn(),$Rt)},qV(V4n,"LPort/lambda$4$Type",1307),oxn(1308,1,O2n,zt),aZn.Lb=function(n){return Iun(),aU(n,12).j==($Qn(),_Rt)},aZn.Fb=function(n){return this===n},aZn.Mb=function(n){return Iun(),aU(n,12).j==($Qn(),_Rt)},qV(V4n,"LPort/lambda$5$Type",1308),oxn(30,305,{3:1,20:1,305:1,30:1,96:1,137:1},fQ),aZn.Jc=function(n){q8(this,n)},aZn.Kc=function(){return new Wd(this.a)},aZn.Ib=function(){return"L_"+ken(this.b.b,this,0)+pOn(this.a)},qV(V4n,"Layer",30),oxn(1330,1,{},my),qV(u6n,s6n,1330),oxn(1334,1,{},Wt),aZn.Kb=function(n){return hCn(aU(n,84))},qV(u6n,"ElkGraphImporter/0methodref$connectableShapeToNode$Type",1334),oxn(1337,1,{},Xt),aZn.Kb=function(n){return hCn(aU(n,84))},qV(u6n,"ElkGraphImporter/1methodref$connectableShapeToNode$Type",1337),oxn(1331,1,XZn,Vw),aZn.Cd=function(n){vDn(this.a,aU(n,123))},qV(u6n,q3n,1331),oxn(1332,1,XZn,Qw),aZn.Cd=function(n){vDn(this.a,aU(n,123))},qV(u6n,h6n,1332),oxn(1333,1,{},Vt),aZn.Kb=function(n){return new sz(null,new u3($J(aU(n,74)),16))},qV(u6n,f6n,1333),oxn(1335,1,v1n,Jw),aZn.Mb=function(n){return NN(this.a,aU(n,27))},qV(u6n,l6n,1335),oxn(1336,1,{},Qt),aZn.Kb=function(n){return new sz(null,new u3(RJ(aU(n,74)),16))},qV(u6n,"ElkGraphImporter/lambda$5$Type",1336),oxn(1338,1,v1n,Yw),aZn.Mb=function(n){return DN(this.a,aU(n,27))},qV(u6n,"ElkGraphImporter/lambda$7$Type",1338),oxn(1339,1,v1n,Jt),aZn.Mb=function(n){return UY(aU(n,74))},qV(u6n,"ElkGraphImporter/lambda$8$Type",1339),oxn(1297,1,{},zf),qV(u6n,"ElkGraphLayoutTransferrer",1297),oxn(1298,1,v1n,Zw),aZn.Mb=function(n){return PK(this.a,aU(n,18))},qV(u6n,"ElkGraphLayoutTransferrer/lambda$0$Type",1298),oxn(1299,1,XZn,ng),aZn.Cd=function(n){WS(),mx(this.a,aU(n,18))},qV(u6n,"ElkGraphLayoutTransferrer/lambda$1$Type",1299),oxn(1300,1,v1n,tg),aZn.Mb=function(n){return $_(this.a,aU(n,18))},qV(u6n,"ElkGraphLayoutTransferrer/lambda$2$Type",1300),oxn(1301,1,XZn,eg),aZn.Cd=function(n){WS(),mx(this.a,aU(n,18))},qV(u6n,"ElkGraphLayoutTransferrer/lambda$3$Type",1301),oxn(819,1,{},DK),qV(b6n,"BiLinkedHashMultiMap",819),oxn(1550,1,X4n,Yt),aZn.Kf=function(n,t){Kon(aU(n,36),t)},qV(b6n,"CommentNodeMarginCalculator",1550),oxn(1551,1,{},Zt),aZn.Kb=function(n){return new sz(null,new u3(aU(n,30).a,16))},qV(b6n,"CommentNodeMarginCalculator/lambda$0$Type",1551),oxn(1552,1,XZn,ne),aZn.Cd=function(n){fzn(aU(n,10))},qV(b6n,"CommentNodeMarginCalculator/lambda$1$Type",1552),oxn(1553,1,X4n,te),aZn.Kf=function(n,t){WKn(aU(n,36),t)},qV(b6n,"CommentPostprocessor",1553),oxn(1554,1,X4n,ee),aZn.Kf=function(n,t){mQn(aU(n,36),t)},qV(b6n,"CommentPreprocessor",1554),oxn(1555,1,X4n,ie),aZn.Kf=function(n,t){$_n(aU(n,36),t)},qV(b6n,"ConstraintsPostprocessor",1555),oxn(1556,1,X4n,re),aZn.Kf=function(n,t){Ssn(aU(n,36),t)},qV(b6n,"EdgeAndLayerConstraintEdgeReverser",1556),oxn(1557,1,X4n,ce),aZn.Kf=function(n,t){rmn(aU(n,36),t)},qV(b6n,"EndLabelPostprocessor",1557),oxn(1558,1,{},ae),aZn.Kb=function(n){return new sz(null,new u3(aU(n,30).a,16))},qV(b6n,"EndLabelPostprocessor/lambda$0$Type",1558),oxn(1559,1,v1n,oe),aZn.Mb=function(n){return H8(aU(n,10))},qV(b6n,"EndLabelPostprocessor/lambda$1$Type",1559),oxn(1560,1,XZn,ue),aZn.Cd=function(n){_Tn(aU(n,10))},qV(b6n,"EndLabelPostprocessor/lambda$2$Type",1560),oxn(1561,1,X4n,se),aZn.Kf=function(n,t){OAn(aU(n,36),t)},qV(b6n,"EndLabelPreprocessor",1561),oxn(1562,1,{},he),aZn.Kb=function(n){return new sz(null,new u3(aU(n,30).a,16))},qV(b6n,"EndLabelPreprocessor/lambda$0$Type",1562),oxn(1563,1,XZn,AB),aZn.Cd=function(n){cP(this.a,this.b,this.c,aU(n,10))},aZn.a=0,aZn.b=0,aZn.c=!1,qV(b6n,"EndLabelPreprocessor/lambda$1$Type",1563),oxn(1564,1,v1n,fe),aZn.Mb=function(n){return DA(cOn(aU(n,72),(EYn(),Ukt)))===DA((Jrn(),i$t))},qV(b6n,"EndLabelPreprocessor/lambda$2$Type",1564),oxn(1565,1,XZn,ig),aZn.Cd=function(n){rq(this.a,aU(n,72))},qV(b6n,"EndLabelPreprocessor/lambda$3$Type",1565),oxn(1566,1,v1n,le),aZn.Mb=function(n){return DA(cOn(aU(n,72),(EYn(),Ukt)))===DA((Jrn(),e$t))},qV(b6n,"EndLabelPreprocessor/lambda$4$Type",1566),oxn(1567,1,XZn,rg),aZn.Cd=function(n){rq(this.a,aU(n,72))},qV(b6n,"EndLabelPreprocessor/lambda$5$Type",1567),oxn(1615,1,X4n,_f),aZn.Kf=function(n,t){Nwn(aU(n,36),t)},qV(b6n,"EndLabelSorter",1615),oxn(1616,1,f2n,be),aZn.Ne=function(n,t){return cyn(aU(n,466),aU(t,466))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(b6n,"EndLabelSorter/1",1616),oxn(466,1,{466:1},cZ),qV(b6n,"EndLabelSorter/LabelGroup",466),oxn(1617,1,{},de),aZn.Kb=function(n){return zS(),new sz(null,new u3(aU(n,30).a,16))},qV(b6n,"EndLabelSorter/lambda$0$Type",1617),oxn(1618,1,v1n,we),aZn.Mb=function(n){return zS(),aU(n,10).k==(qOn(),bbt)},qV(b6n,"EndLabelSorter/lambda$1$Type",1618),oxn(1619,1,XZn,ge),aZn.Cd=function(n){zOn(aU(n,10))},qV(b6n,"EndLabelSorter/lambda$2$Type",1619),oxn(1620,1,v1n,pe),aZn.Mb=function(n){return zS(),DA(cOn(aU(n,72),(EYn(),Ukt)))===DA((Jrn(),e$t))},qV(b6n,"EndLabelSorter/lambda$3$Type",1620),oxn(1621,1,v1n,me),aZn.Mb=function(n){return zS(),DA(cOn(aU(n,72),(EYn(),Ukt)))===DA((Jrn(),i$t))},qV(b6n,"EndLabelSorter/lambda$4$Type",1621),oxn(1568,1,X4n,ve),aZn.Kf=function(n,t){Gzn(this,aU(n,36))},aZn.b=0,aZn.c=0,qV(b6n,"FinalSplineBendpointsCalculator",1568),oxn(1569,1,{},ye),aZn.Kb=function(n){return new sz(null,new u3(aU(n,30).a,16))},qV(b6n,"FinalSplineBendpointsCalculator/lambda$0$Type",1569),oxn(1570,1,{},ke),aZn.Kb=function(n){return new sz(null,new IV(new RW(t$(Ugn(aU(n,10)).a.Kc(),new h))))},qV(b6n,"FinalSplineBendpointsCalculator/lambda$1$Type",1570),oxn(1571,1,v1n,Ee),aZn.Mb=function(n){return!p9(aU(n,18))},qV(b6n,"FinalSplineBendpointsCalculator/lambda$2$Type",1571),oxn(1572,1,v1n,Me),aZn.Mb=function(n){return pR(aU(n,18),(GYn(),kmt))},qV(b6n,"FinalSplineBendpointsCalculator/lambda$3$Type",1572),oxn(1573,1,XZn,cg),aZn.Cd=function(n){QGn(this.a,aU(n,131))},qV(b6n,"FinalSplineBendpointsCalculator/lambda$4$Type",1573),oxn(1574,1,XZn,je),aZn.Cd=function(n){_An(aU(n,18).a)},qV(b6n,"FinalSplineBendpointsCalculator/lambda$5$Type",1574),oxn(803,1,X4n,ag),aZn.Kf=function(n,t){sXn(this,aU(n,36),t)},qV(b6n,"GraphTransformer",803),oxn(517,22,{3:1,34:1,22:1,517:1},TC);var Ibt,Abt,Lbt,Nbt=_cn(b6n,"GraphTransformer/Mode",517,Cat,s1,qG);oxn(1575,1,X4n,Te),aZn.Kf=function(n,t){lRn(aU(n,36),t)},qV(b6n,"HierarchicalNodeResizingProcessor",1575),oxn(1576,1,X4n,Se),aZn.Kf=function(n,t){bon(aU(n,36),t)},qV(b6n,"HierarchicalPortConstraintProcessor",1576),oxn(1577,1,f2n,Pe),aZn.Ne=function(n,t){return lkn(aU(n,10),aU(t,10))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(b6n,"HierarchicalPortConstraintProcessor/NodeComparator",1577),oxn(1578,1,X4n,Ce),aZn.Kf=function(n,t){FUn(aU(n,36),t)},qV(b6n,"HierarchicalPortDummySizeProcessor",1578),oxn(1579,1,X4n,Oe),aZn.Kf=function(n,t){qFn(this,aU(n,36),t)},aZn.a=0,qV(b6n,"HierarchicalPortOrthogonalEdgeRouter",1579),oxn(1580,1,f2n,Ie),aZn.Ne=function(n,t){return C$(aU(n,10),aU(t,10))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(b6n,"HierarchicalPortOrthogonalEdgeRouter/1",1580),oxn(1581,1,f2n,Ae),aZn.Ne=function(n,t){return Ntn(aU(n,10),aU(t,10))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(b6n,"HierarchicalPortOrthogonalEdgeRouter/2",1581),oxn(1582,1,X4n,Le),aZn.Kf=function(n,t){ZCn(aU(n,36),t)},qV(b6n,"HierarchicalPortPositionProcessor",1582),oxn(1583,1,X4n,Wf),aZn.Kf=function(n,t){jJn(this,aU(n,36))},aZn.a=0,aZn.c=0,qV(b6n,"HighDegreeNodeLayeringProcessor",1583),oxn(580,1,{580:1},Ne),aZn.b=-1,aZn.d=-1,qV(b6n,"HighDegreeNodeLayeringProcessor/HighDegreeNodeInformation",580),oxn(1584,1,{},De),aZn.Kb=function(n){return FB(),Hgn(aU(n,10))},aZn.Fb=function(n){return this===n},qV(b6n,"HighDegreeNodeLayeringProcessor/lambda$0$Type",1584),oxn(1585,1,{},xe),aZn.Kb=function(n){return FB(),Ugn(aU(n,10))},aZn.Fb=function(n){return this===n},qV(b6n,"HighDegreeNodeLayeringProcessor/lambda$1$Type",1585),oxn(1591,1,X4n,$e),aZn.Kf=function(n,t){kUn(this,aU(n,36),t)},qV(b6n,"HyperedgeDummyMerger",1591),oxn(804,1,{},DB),aZn.a=!1,aZn.b=!1,aZn.c=!1,qV(b6n,"HyperedgeDummyMerger/MergeState",804),oxn(1592,1,{},Re),aZn.Kb=function(n){return new sz(null,new u3(aU(n,30).a,16))},qV(b6n,"HyperedgeDummyMerger/lambda$0$Type",1592),oxn(1593,1,{},_e),aZn.Kb=function(n){return new sz(null,new u3(aU(n,10).j,16))},qV(b6n,"HyperedgeDummyMerger/lambda$1$Type",1593),oxn(1594,1,XZn,Ke),aZn.Cd=function(n){aU(n,12).p=-1},qV(b6n,"HyperedgeDummyMerger/lambda$2$Type",1594),oxn(1595,1,X4n,Fe),aZn.Kf=function(n,t){mUn(aU(n,36),t)},qV(b6n,"HypernodesProcessor",1595),oxn(1596,1,X4n,Be),aZn.Kf=function(n,t){_Un(aU(n,36),t)},qV(b6n,"InLayerConstraintProcessor",1596),oxn(1597,1,X4n,Ge),aZn.Kf=function(n,t){Aun(aU(n,36),t)},qV(b6n,"InnermostNodeMarginCalculator",1597),oxn(1598,1,X4n,He),aZn.Kf=function(n,t){dQn(this,aU(n,36))},aZn.a=k0n,aZn.b=k0n,aZn.c=y0n,aZn.d=y0n;var Dbt,xbt,$bt,Rbt,_bt,Kbt,Fbt,Bbt,Gbt,Hbt,Ubt,qbt,zbt,Wbt,Xbt,Vbt,Qbt,Jbt,Ybt,Zbt,ndt,tdt,edt,idt,rdt,cdt,adt,odt,udt,sdt,hdt,fdt,ldt,bdt,ddt,wdt,gdt,pdt,mdt,vdt,ydt,kdt,Edt,Mdt,jdt,Tdt,Sdt,Pdt,Cdt,Odt,Idt,Adt,Ldt,Ndt,Ddt,xdt,$dt,Rdt=qV(b6n,"InteractiveExternalPortPositioner",1598);oxn(1599,1,{},Ue),aZn.Kb=function(n){return aU(n,18).d.i},aZn.Fb=function(n){return this===n},qV(b6n,"InteractiveExternalPortPositioner/lambda$0$Type",1599),oxn(1600,1,{},og),aZn.Kb=function(n){return I$(this.a,w_(n))},aZn.Fb=function(n){return this===n},qV(b6n,"InteractiveExternalPortPositioner/lambda$1$Type",1600),oxn(1601,1,{},qe),aZn.Kb=function(n){return aU(n,18).c.i},aZn.Fb=function(n){return this===n},qV(b6n,"InteractiveExternalPortPositioner/lambda$2$Type",1601),oxn(1602,1,{},ug),aZn.Kb=function(n){return A$(this.a,w_(n))},aZn.Fb=function(n){return this===n},qV(b6n,"InteractiveExternalPortPositioner/lambda$3$Type",1602),oxn(1603,1,{},sg),aZn.Kb=function(n){return UK(this.a,w_(n))},aZn.Fb=function(n){return this===n},qV(b6n,"InteractiveExternalPortPositioner/lambda$4$Type",1603),oxn(1604,1,{},hg),aZn.Kb=function(n){return qK(this.a,w_(n))},aZn.Fb=function(n){return this===n},qV(b6n,"InteractiveExternalPortPositioner/lambda$5$Type",1604),oxn(81,22,{3:1,34:1,22:1,81:1,196:1},SC),aZn.dg=function(){switch(this.g){case 15:return new fc;case 22:return new lc;case 47:return new wc;case 28:case 35:return new ei;case 32:return new Yt;case 42:return new te;case 1:return new ee;case 41:return new ie;case 56:return new ag((Oun(),Cbt));case 0:return new ag((Oun(),Pbt));case 2:return new re;case 54:return new ce;case 33:return new se;case 51:return new ve;case 55:return new Te;case 13:return new Se;case 38:return new Ce;case 44:return new Oe;case 40:return new Le;case 9:return new Wf;case 49:return new B$;case 37:return new $e;case 43:return new Fe;case 27:return new Be;case 30:return new Ge;case 3:return new He;case 18:return new We;case 29:return new Xe;case 5:return new Xf;case 50:return new ze;case 34:return new Vf;case 36:return new ii;case 52:return new _f;case 11:return new ri;case 7:return new Qf;case 39:return new ci;case 45:return new ai;case 16:return new oi;case 10:return new xO;case 48:return new fi;case 21:return new li;case 23:return new qk((nan(),KTt));case 8:return new di;case 12:return new gi;case 4:return new pi;case 19:return new el;case 17:return new Pi;case 53:return new Ci;case 6:return new Bi;case 25:return new Ey;case 46:return new Di;case 31:return new _K;case 14:return new Vi;case 26:return new Ec;case 20:return new nr;case 24:return new qk((nan(),FTt));default:throw uv(new pE(p6n+(null!=this.f?this.f:""+this.g)))}};var _dt,Kdt,Fdt,Bdt,Gdt,Hdt,Udt,qdt,zdt=_cn(b6n,m6n,81,Cat,f_n,UB);oxn(1605,1,X4n,We),aZn.Kf=function(n,t){fQn(aU(n,36),t)},qV(b6n,"InvertedPortProcessor",1605),oxn(1606,1,X4n,Xe),aZn.Kf=function(n,t){NGn(aU(n,36),t)},qV(b6n,"LabelAndNodeSizeProcessor",1606),oxn(1607,1,v1n,Ve),aZn.Mb=function(n){return aU(n,10).k==(qOn(),bbt)},qV(b6n,"LabelAndNodeSizeProcessor/lambda$0$Type",1607),oxn(1608,1,v1n,Qe),aZn.Mb=function(n){return aU(n,10).k==(qOn(),hbt)},qV(b6n,"LabelAndNodeSizeProcessor/lambda$1$Type",1608),oxn(1609,1,XZn,$B),aZn.Cd=function(n){aP(this.b,this.a,this.c,aU(n,10))},aZn.a=!1,aZn.c=!1,qV(b6n,"LabelAndNodeSizeProcessor/lambda$2$Type",1609),oxn(1610,1,X4n,Xf),aZn.Kf=function(n,t){MVn(aU(n,36),t)},qV(b6n,"LabelDummyInserter",1610),oxn(1611,1,O2n,Je),aZn.Lb=function(n){return DA(cOn(aU(n,72),(EYn(),Ukt)))===DA((Jrn(),t$t))},aZn.Fb=function(n){return this===n},aZn.Mb=function(n){return DA(cOn(aU(n,72),(EYn(),Ukt)))===DA((Jrn(),t$t))},qV(b6n,"LabelDummyInserter/1",1611),oxn(1612,1,X4n,ze),aZn.Kf=function(n,t){nVn(aU(n,36),t)},qV(b6n,"LabelDummyRemover",1612),oxn(1613,1,v1n,Ye),aZn.Mb=function(n){return cE(d_(cOn(aU(n,72),(EYn(),Hkt))))},qV(b6n,"LabelDummyRemover/lambda$0$Type",1613),oxn(1378,1,X4n,Vf),aZn.Kf=function(n,t){BXn(this,aU(n,36),t)},aZn.a=null,qV(b6n,"LabelDummySwitcher",1378),oxn(293,1,{293:1},cGn),aZn.c=0,aZn.d=null,aZn.f=0,qV(b6n,"LabelDummySwitcher/LabelDummyInfo",293),oxn(1379,1,{},Ze),aZn.Kb=function(n){return Tun(),new sz(null,new u3(aU(n,30).a,16))},qV(b6n,"LabelDummySwitcher/lambda$0$Type",1379),oxn(1380,1,v1n,ni),aZn.Mb=function(n){return Tun(),aU(n,10).k==(qOn(),fbt)},qV(b6n,"LabelDummySwitcher/lambda$1$Type",1380),oxn(1381,1,{},fg),aZn.Kb=function(n){return R_(this.a,aU(n,10))},qV(b6n,"LabelDummySwitcher/lambda$2$Type",1381),oxn(1382,1,XZn,lg),aZn.Cd=function(n){dQ(this.a,aU(n,293))},qV(b6n,"LabelDummySwitcher/lambda$3$Type",1382),oxn(1383,1,f2n,ti),aZn.Ne=function(n,t){return YW(aU(n,293),aU(t,293))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(b6n,"LabelDummySwitcher/lambda$4$Type",1383),oxn(802,1,X4n,ei),aZn.Kf=function(n,t){Nnn(aU(n,36),t)},qV(b6n,"LabelManagementProcessor",802),oxn(1614,1,X4n,ii),aZn.Kf=function(n,t){EKn(aU(n,36),t)},qV(b6n,"LabelSideSelector",1614),oxn(1622,1,X4n,ri),aZn.Kf=function(n,t){vqn(aU(n,36),t)},qV(b6n,"LayerConstraintPostprocessor",1622),oxn(1623,1,X4n,Qf),aZn.Kf=function(n,t){pxn(aU(n,36),t)},qV(b6n,"LayerConstraintPreprocessor",1623),oxn(371,22,{3:1,34:1,22:1,371:1},PC);var Wdt,Xdt,Vdt,Qdt,Jdt,Ydt,Zdt,nwt,twt,ewt,iwt,rwt=_cn(b6n,"LayerConstraintPreprocessor/HiddenNodeConnections",371,Cat,G6,qB);oxn(1624,1,X4n,ci),aZn.Kf=function(n,t){qWn(aU(n,36),t)},qV(b6n,"LayerSizeAndGraphHeightCalculator",1624),oxn(1625,1,X4n,ai),aZn.Kf=function(n,t){bRn(aU(n,36),t)},qV(b6n,"LongEdgeJoiner",1625),oxn(1626,1,X4n,oi),aZn.Kf=function(n,t){hWn(aU(n,36),t)},qV(b6n,"LongEdgeSplitter",1626),oxn(1627,1,X4n,xO),aZn.Kf=function(n,t){zVn(this,aU(n,36),t)},aZn.e=0,aZn.f=0,aZn.j=0,aZn.k=0,aZn.n=0,aZn.o=0,qV(b6n,"NodePromotion",1627),oxn(1628,1,f2n,ui),aZn.Ne=function(n,t){return Lln(aU(n,10),aU(t,10))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(b6n,"NodePromotion/1",1628),oxn(1629,1,f2n,si),aZn.Ne=function(n,t){return Nln(aU(n,10),aU(t,10))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(b6n,"NodePromotion/2",1629),oxn(1630,1,{},hi),aZn.Kb=function(n){return aU(n,42),BB(),H$(),!0},aZn.Fb=function(n){return this===n},qV(b6n,"NodePromotion/lambda$0$Type",1630),oxn(1631,1,{},gg),aZn.Kb=function(n){return T0(this.a,aU(n,42))},aZn.Fb=function(n){return this===n},aZn.a=0,qV(b6n,"NodePromotion/lambda$1$Type",1631),oxn(1632,1,{},pg),aZn.Kb=function(n){return j0(this.a,aU(n,42))},aZn.Fb=function(n){return this===n},aZn.a=0,qV(b6n,"NodePromotion/lambda$2$Type",1632),oxn(1633,1,X4n,fi),aZn.Kf=function(n,t){lJn(aU(n,36),t)},qV(b6n,"NorthSouthPortPostprocessor",1633),oxn(1634,1,X4n,li),aZn.Kf=function(n,t){RQn(aU(n,36),t)},qV(b6n,"NorthSouthPortPreprocessor",1634),oxn(1635,1,f2n,bi),aZn.Ne=function(n,t){return Xsn(aU(n,12),aU(t,12))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(b6n,"NorthSouthPortPreprocessor/lambda$0$Type",1635),oxn(1636,1,X4n,di),aZn.Kf=function(n,t){FHn(aU(n,36),t)},qV(b6n,"PartitionMidprocessor",1636),oxn(1637,1,v1n,wi),aZn.Mb=function(n){return pR(aU(n,10),(EYn(),BEt))},qV(b6n,"PartitionMidprocessor/lambda$0$Type",1637),oxn(1638,1,XZn,mg),aZn.Cd=function(n){qY(this.a,aU(n,10))},qV(b6n,"PartitionMidprocessor/lambda$1$Type",1638),oxn(1639,1,X4n,gi),aZn.Kf=function(n,t){VRn(aU(n,36),t)},qV(b6n,"PartitionPostprocessor",1639),oxn(1640,1,X4n,pi),aZn.Kf=function(n,t){yDn(aU(n,36),t)},qV(b6n,"PartitionPreprocessor",1640),oxn(1641,1,v1n,mi),aZn.Mb=function(n){return pR(aU(n,10),(EYn(),BEt))},qV(b6n,"PartitionPreprocessor/lambda$0$Type",1641),oxn(1642,1,{},vi),aZn.Kb=function(n){return new sz(null,new IV(new RW(t$(Ugn(aU(n,10)).a.Kc(),new h))))},qV(b6n,"PartitionPreprocessor/lambda$1$Type",1642),oxn(1643,1,v1n,yi),aZn.Mb=function(n){return wyn(aU(n,18))},qV(b6n,"PartitionPreprocessor/lambda$2$Type",1643),oxn(1644,1,XZn,ki),aZn.Cd=function(n){efn(aU(n,18))},qV(b6n,"PartitionPreprocessor/lambda$3$Type",1644),oxn(1645,1,X4n,el),aZn.Kf=function(n,t){fHn(aU(n,36),t)},qV(b6n,"PortListSorter",1645),oxn(1648,1,f2n,Ei),aZn.Ne=function(n,t){return X5(aU(n,12),aU(t,12))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(b6n,"PortListSorter/lambda$0$Type",1648),oxn(1650,1,f2n,Mi),aZn.Ne=function(n,t){return uUn(aU(n,12),aU(t,12))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(b6n,"PortListSorter/lambda$1$Type",1650),oxn(1646,1,{},ji),aZn.Kb=function(n){return Sln(),aU(n,12).e},qV(b6n,"PortListSorter/lambda$2$Type",1646),oxn(1647,1,{},Ti),aZn.Kb=function(n){return Sln(),aU(n,12).g},qV(b6n,"PortListSorter/lambda$3$Type",1647),oxn(1649,1,f2n,Si),aZn.Ne=function(n,t){return fjn(aU(n,12),aU(t,12))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(b6n,"PortListSorter/lambda$4$Type",1649),oxn(1651,1,X4n,Pi),aZn.Kf=function(n,t){Rxn(aU(n,36),t)},qV(b6n,"PortSideProcessor",1651),oxn(1652,1,X4n,Ci),aZn.Kf=function(n,t){jBn(aU(n,36),t)},qV(b6n,"ReversedEdgeRestorer",1652),oxn(1657,1,X4n,Ey),aZn.Kf=function(n,t){mMn(this,aU(n,36),t)},qV(b6n,"SelfLoopPortRestorer",1657),oxn(1658,1,{},Oi),aZn.Kb=function(n){return new sz(null,new u3(aU(n,30).a,16))},qV(b6n,"SelfLoopPortRestorer/lambda$0$Type",1658),oxn(1659,1,v1n,Ii),aZn.Mb=function(n){return aU(n,10).k==(qOn(),bbt)},qV(b6n,"SelfLoopPortRestorer/lambda$1$Type",1659),oxn(1660,1,v1n,Ai),aZn.Mb=function(n){return pR(aU(n,10),(GYn(),pmt))},qV(b6n,"SelfLoopPortRestorer/lambda$2$Type",1660),oxn(1661,1,{},Li),aZn.Kb=function(n){return aU(cOn(aU(n,10),(GYn(),pmt)),337)},qV(b6n,"SelfLoopPortRestorer/lambda$3$Type",1661),oxn(1662,1,XZn,dg),aZn.Cd=function(n){dIn(this.a,aU(n,337))},qV(b6n,"SelfLoopPortRestorer/lambda$4$Type",1662),oxn(805,1,XZn,Ni),aZn.Cd=function(n){KIn(aU(n,105))},qV(b6n,"SelfLoopPortRestorer/lambda$5$Type",805),oxn(1663,1,X4n,Di),aZn.Kf=function(n,t){ckn(aU(n,36),t)},qV(b6n,"SelfLoopPostProcessor",1663),oxn(1664,1,{},xi),aZn.Kb=function(n){return new sz(null,new u3(aU(n,30).a,16))},qV(b6n,"SelfLoopPostProcessor/lambda$0$Type",1664),oxn(1665,1,v1n,$i),aZn.Mb=function(n){return aU(n,10).k==(qOn(),bbt)},qV(b6n,"SelfLoopPostProcessor/lambda$1$Type",1665),oxn(1666,1,v1n,Ri),aZn.Mb=function(n){return pR(aU(n,10),(GYn(),pmt))},qV(b6n,"SelfLoopPostProcessor/lambda$2$Type",1666),oxn(1667,1,XZn,_i),aZn.Cd=function(n){dSn(aU(n,10))},qV(b6n,"SelfLoopPostProcessor/lambda$3$Type",1667),oxn(1668,1,{},Ki),aZn.Kb=function(n){return new sz(null,new u3(aU(n,105).f,1))},qV(b6n,"SelfLoopPostProcessor/lambda$4$Type",1668),oxn(1669,1,XZn,bg),aZn.Cd=function(n){z6(this.a,aU(n,340))},qV(b6n,"SelfLoopPostProcessor/lambda$5$Type",1669),oxn(1670,1,v1n,Fi),aZn.Mb=function(n){return!!aU(n,105).i},qV(b6n,"SelfLoopPostProcessor/lambda$6$Type",1670),oxn(1671,1,XZn,wg),aZn.Cd=function(n){nE(this.a,aU(n,105))},qV(b6n,"SelfLoopPostProcessor/lambda$7$Type",1671),oxn(1653,1,X4n,Bi),aZn.Kf=function(n,t){R$n(aU(n,36),t)},qV(b6n,"SelfLoopPreProcessor",1653),oxn(1654,1,{},Gi),aZn.Kb=function(n){return new sz(null,new u3(aU(n,105).f,1))},qV(b6n,"SelfLoopPreProcessor/lambda$0$Type",1654),oxn(1655,1,{},Hi),aZn.Kb=function(n){return aU(n,340).a},qV(b6n,"SelfLoopPreProcessor/lambda$1$Type",1655),oxn(1656,1,XZn,Ui),aZn.Cd=function(n){pD(aU(n,18))},qV(b6n,"SelfLoopPreProcessor/lambda$2$Type",1656),oxn(1672,1,X4n,_K),aZn.Kf=function(n,t){DOn(this,aU(n,36),t)},qV(b6n,"SelfLoopRouter",1672),oxn(1673,1,{},qi),aZn.Kb=function(n){return new sz(null,new u3(aU(n,30).a,16))},qV(b6n,"SelfLoopRouter/lambda$0$Type",1673),oxn(1674,1,v1n,zi),aZn.Mb=function(n){return aU(n,10).k==(qOn(),bbt)},qV(b6n,"SelfLoopRouter/lambda$1$Type",1674),oxn(1675,1,v1n,Wi),aZn.Mb=function(n){return pR(aU(n,10),(GYn(),pmt))},qV(b6n,"SelfLoopRouter/lambda$2$Type",1675),oxn(1676,1,{},Xi),aZn.Kb=function(n){return aU(cOn(aU(n,10),(GYn(),pmt)),337)},qV(b6n,"SelfLoopRouter/lambda$3$Type",1676),oxn(1677,1,XZn,CC),aZn.Cd=function(n){hY(this.a,this.b,aU(n,337))},qV(b6n,"SelfLoopRouter/lambda$4$Type",1677),oxn(1678,1,X4n,Vi),aZn.Kf=function(n,t){Z_n(aU(n,36),t)},qV(b6n,"SemiInteractiveCrossMinProcessor",1678),oxn(1679,1,v1n,Qi),aZn.Mb=function(n){return aU(n,10).k==(qOn(),bbt)},qV(b6n,"SemiInteractiveCrossMinProcessor/lambda$0$Type",1679),oxn(1680,1,v1n,Ji),aZn.Mb=function(n){return yz(aU(n,10))._b((EYn(),eMt))},qV(b6n,"SemiInteractiveCrossMinProcessor/lambda$1$Type",1680),oxn(1681,1,f2n,Yi),aZn.Ne=function(n,t){return Mon(aU(n,10),aU(t,10))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(b6n,"SemiInteractiveCrossMinProcessor/lambda$2$Type",1681),oxn(1682,1,{},Zi),aZn.Ve=function(n,t){return zY(aU(n,10),aU(t,10))},qV(b6n,"SemiInteractiveCrossMinProcessor/lambda$3$Type",1682),oxn(1684,1,X4n,nr),aZn.Kf=function(n,t){yzn(aU(n,36),t)},qV(b6n,"SortByInputModelProcessor",1684),oxn(1685,1,v1n,tr),aZn.Mb=function(n){return 0!=aU(n,12).g.c.length},qV(b6n,"SortByInputModelProcessor/lambda$0$Type",1685),oxn(1686,1,XZn,vg),aZn.Cd=function(n){JIn(this.a,aU(n,12))},qV(b6n,"SortByInputModelProcessor/lambda$1$Type",1686),oxn(1759,817,{},$on),aZn.df=function(n){var t,e,i,r;switch(this.c=n,this.a.g){case 2:t=new Jm,mS(VJ(new sz(null,new u3(this.c.a.b,16)),new wr),new KC(this,t)),XAn(this,new ir),Trn(t,new rr),t.c.length=0,mS(VJ(new sz(null,new u3(this.c.a.b,16)),new cr),new kg(t)),XAn(this,new ar),Trn(t,new or),t.c.length=0,e=lD(kun(JJ(new sz(null,new u3(this.c.a.b,16)),new Eg(this))),new ur),mS(new sz(null,new u3(this.c.a.a,16)),new AC(e,t)),XAn(this,new hr),Trn(t,new fr),t.c.length=0;break;case 3:i=new Jm,XAn(this,new er),r=lD(kun(JJ(new sz(null,new u3(this.c.a.b,16)),new yg(this))),new sr),mS(VJ(new sz(null,new u3(this.c.a.b,16)),new lr),new NC(r,i)),XAn(this,new br),Trn(i,new dr),i.c.length=0;break;default:throw uv(new Fv)}},aZn.b=0,qV(M6n,"EdgeAwareScanlineConstraintCalculation",1759),oxn(1760,1,O2n,er),aZn.Lb=function(n){return RD(aU(n,60).g,154)},aZn.Fb=function(n){return this===n},aZn.Mb=function(n){return RD(aU(n,60).g,154)},qV(M6n,"EdgeAwareScanlineConstraintCalculation/lambda$0$Type",1760),oxn(1761,1,{},yg),aZn.Ye=function(n){return LLn(this.a,aU(n,60))},qV(M6n,"EdgeAwareScanlineConstraintCalculation/lambda$1$Type",1761),oxn(1769,1,y1n,OC),aZn.de=function(){kTn(this.a,this.b,-1)},aZn.b=0,qV(M6n,"EdgeAwareScanlineConstraintCalculation/lambda$10$Type",1769),oxn(1771,1,O2n,ir),aZn.Lb=function(n){return RD(aU(n,60).g,154)},aZn.Fb=function(n){return this===n},aZn.Mb=function(n){return RD(aU(n,60).g,154)},qV(M6n,"EdgeAwareScanlineConstraintCalculation/lambda$11$Type",1771),oxn(1772,1,XZn,rr),aZn.Cd=function(n){aU(n,380).de()},qV(M6n,"EdgeAwareScanlineConstraintCalculation/lambda$12$Type",1772),oxn(1773,1,v1n,cr),aZn.Mb=function(n){return RD(aU(n,60).g,10)},qV(M6n,"EdgeAwareScanlineConstraintCalculation/lambda$13$Type",1773),oxn(1775,1,XZn,kg),aZn.Cd=function(n){Zgn(this.a,aU(n,60))},qV(M6n,"EdgeAwareScanlineConstraintCalculation/lambda$14$Type",1775),oxn(1774,1,y1n,DC),aZn.de=function(){kTn(this.b,this.a,-1)},aZn.a=0,qV(M6n,"EdgeAwareScanlineConstraintCalculation/lambda$15$Type",1774),oxn(1776,1,O2n,ar),aZn.Lb=function(n){return RD(aU(n,60).g,10)},aZn.Fb=function(n){return this===n},aZn.Mb=function(n){return RD(aU(n,60).g,10)},qV(M6n,"EdgeAwareScanlineConstraintCalculation/lambda$16$Type",1776),oxn(1777,1,XZn,or),aZn.Cd=function(n){aU(n,380).de()},qV(M6n,"EdgeAwareScanlineConstraintCalculation/lambda$17$Type",1777),oxn(1778,1,{},Eg),aZn.Ye=function(n){return NLn(this.a,aU(n,60))},qV(M6n,"EdgeAwareScanlineConstraintCalculation/lambda$18$Type",1778),oxn(1779,1,{},ur),aZn.We=function(){return 0},qV(M6n,"EdgeAwareScanlineConstraintCalculation/lambda$19$Type",1779),oxn(1762,1,{},sr),aZn.We=function(){return 0},qV(M6n,"EdgeAwareScanlineConstraintCalculation/lambda$2$Type",1762),oxn(1781,1,XZn,AC),aZn.Cd=function(n){aW(this.a,this.b,aU(n,316))},aZn.a=0,qV(M6n,"EdgeAwareScanlineConstraintCalculation/lambda$20$Type",1781),oxn(1780,1,y1n,LC),aZn.de=function(){Fxn(this.a,this.b,-1)},aZn.b=0,qV(M6n,"EdgeAwareScanlineConstraintCalculation/lambda$21$Type",1780),oxn(1782,1,O2n,hr),aZn.Lb=function(n){return aU(n,60),!0},aZn.Fb=function(n){return this===n},aZn.Mb=function(n){return aU(n,60),!0},qV(M6n,"EdgeAwareScanlineConstraintCalculation/lambda$22$Type",1782),oxn(1783,1,XZn,fr),aZn.Cd=function(n){aU(n,380).de()},qV(M6n,"EdgeAwareScanlineConstraintCalculation/lambda$23$Type",1783),oxn(1763,1,v1n,lr),aZn.Mb=function(n){return RD(aU(n,60).g,10)},qV(M6n,"EdgeAwareScanlineConstraintCalculation/lambda$3$Type",1763),oxn(1765,1,XZn,NC),aZn.Cd=function(n){oW(this.a,this.b,aU(n,60))},aZn.a=0,qV(M6n,"EdgeAwareScanlineConstraintCalculation/lambda$4$Type",1765),oxn(1764,1,y1n,xC),aZn.de=function(){kTn(this.b,this.a,-1)},aZn.a=0,qV(M6n,"EdgeAwareScanlineConstraintCalculation/lambda$5$Type",1764),oxn(1766,1,O2n,br),aZn.Lb=function(n){return aU(n,60),!0},aZn.Fb=function(n){return this===n},aZn.Mb=function(n){return aU(n,60),!0},qV(M6n,"EdgeAwareScanlineConstraintCalculation/lambda$6$Type",1766),oxn(1767,1,XZn,dr),aZn.Cd=function(n){aU(n,380).de()},qV(M6n,"EdgeAwareScanlineConstraintCalculation/lambda$7$Type",1767),oxn(1768,1,v1n,wr),aZn.Mb=function(n){return RD(aU(n,60).g,154)},qV(M6n,"EdgeAwareScanlineConstraintCalculation/lambda$8$Type",1768),oxn(1770,1,XZn,KC),aZn.Cd=function(n){grn(this.a,this.b,aU(n,60))},qV(M6n,"EdgeAwareScanlineConstraintCalculation/lambda$9$Type",1770),oxn(1586,1,X4n,B$),aZn.Kf=function(n,t){vWn(this,aU(n,36),t)},qV(M6n,"HorizontalGraphCompactor",1586),oxn(1587,1,{},Mg),aZn.ff=function(n,t){var e,i;return Len(n,t)?0:(e=q4(n),i=q4(t),e&&e.k==(qOn(),hbt)||i&&i.k==(qOn(),hbt)?0:_$(aU(cOn(this.a.a,(GYn(),mmt)),312),e?e.k:(qOn(),lbt),i?i.k:(qOn(),lbt)))},aZn.gf=function(n,t){var e,i;return Len(n,t)?1:(e=q4(n),i=q4(t),K$(aU(cOn(this.a.a,(GYn(),mmt)),312),e?e.k:(qOn(),lbt),i?i.k:(qOn(),lbt)))},qV(M6n,"HorizontalGraphCompactor/1",1587),oxn(1588,1,{},gr),aZn.ef=function(n,t){return VS(),0==n.a.i},qV(M6n,"HorizontalGraphCompactor/lambda$0$Type",1588),oxn(1589,1,{},jg),aZn.ef=function(n,t){return JY(this.a,n,t)},qV(M6n,"HorizontalGraphCompactor/lambda$1$Type",1589),oxn(1730,1,{},jen),qV(M6n,"LGraphToCGraphTransformer",1730),oxn(1738,1,v1n,pr),aZn.Mb=function(n){return null!=n},qV(M6n,"LGraphToCGraphTransformer/0methodref$nonNull$Type",1738),oxn(1731,1,{},mr),aZn.Kb=function(n){return GB(),ipn(cOn(aU(aU(n,60).g,10),(GYn(),emt)))},qV(M6n,"LGraphToCGraphTransformer/lambda$0$Type",1731),oxn(1732,1,{},vr),aZn.Kb=function(n){return GB(),_dn(aU(aU(n,60).g,154))},qV(M6n,"LGraphToCGraphTransformer/lambda$1$Type",1732),oxn(1741,1,v1n,yr),aZn.Mb=function(n){return GB(),RD(aU(n,60).g,10)},qV(M6n,"LGraphToCGraphTransformer/lambda$10$Type",1741),oxn(1742,1,XZn,kr),aZn.Cd=function(n){EZ(aU(n,60))},qV(M6n,"LGraphToCGraphTransformer/lambda$11$Type",1742),oxn(1743,1,v1n,Er),aZn.Mb=function(n){return GB(),RD(aU(n,60).g,154)},qV(M6n,"LGraphToCGraphTransformer/lambda$12$Type",1743),oxn(1747,1,XZn,Mr),aZn.Cd=function(n){Rdn(aU(n,60))},qV(M6n,"LGraphToCGraphTransformer/lambda$13$Type",1747),oxn(1744,1,XZn,Tg),aZn.Cd=function(n){WL(this.a,aU(n,8))},aZn.a=0,qV(M6n,"LGraphToCGraphTransformer/lambda$14$Type",1744),oxn(1745,1,XZn,Sg),aZn.Cd=function(n){VL(this.a,aU(n,116))},aZn.a=0,qV(M6n,"LGraphToCGraphTransformer/lambda$15$Type",1745),oxn(1746,1,XZn,Pg),aZn.Cd=function(n){XL(this.a,aU(n,8))},aZn.a=0,qV(M6n,"LGraphToCGraphTransformer/lambda$16$Type",1746),oxn(1748,1,{},jr),aZn.Kb=function(n){return GB(),new sz(null,new IV(new RW(t$(Ugn(aU(n,10)).a.Kc(),new h))))},qV(M6n,"LGraphToCGraphTransformer/lambda$17$Type",1748),oxn(1749,1,v1n,Tr),aZn.Mb=function(n){return GB(),p9(aU(n,18))},qV(M6n,"LGraphToCGraphTransformer/lambda$18$Type",1749),oxn(1750,1,XZn,Cg),aZn.Cd=function(n){sin(this.a,aU(n,18))},qV(M6n,"LGraphToCGraphTransformer/lambda$19$Type",1750),oxn(1734,1,XZn,Og),aZn.Cd=function(n){X3(this.a,aU(n,154))},qV(M6n,"LGraphToCGraphTransformer/lambda$2$Type",1734),oxn(1751,1,{},Sr),aZn.Kb=function(n){return GB(),new sz(null,new u3(aU(n,30).a,16))},qV(M6n,"LGraphToCGraphTransformer/lambda$20$Type",1751),oxn(1752,1,{},Pr),aZn.Kb=function(n){return GB(),new sz(null,new IV(new RW(t$(Ugn(aU(n,10)).a.Kc(),new h))))},qV(M6n,"LGraphToCGraphTransformer/lambda$21$Type",1752),oxn(1753,1,{},Cr),aZn.Kb=function(n){return GB(),aU(cOn(aU(n,18),(GYn(),kmt)),15)},qV(M6n,"LGraphToCGraphTransformer/lambda$22$Type",1753),oxn(1754,1,v1n,Or),aZn.Mb=function(n){return F$(aU(n,15))},qV(M6n,"LGraphToCGraphTransformer/lambda$23$Type",1754),oxn(1755,1,XZn,Ig),aZn.Cd=function(n){wLn(this.a,aU(n,15))},qV(M6n,"LGraphToCGraphTransformer/lambda$24$Type",1755),oxn(1733,1,XZn,FC),aZn.Cd=function(n){T5(this.a,this.b,aU(n,154))},qV(M6n,"LGraphToCGraphTransformer/lambda$3$Type",1733),oxn(1735,1,{},Ir),aZn.Kb=function(n){return GB(),new sz(null,new u3(aU(n,30).a,16))},qV(M6n,"LGraphToCGraphTransformer/lambda$4$Type",1735),oxn(1736,1,{},Ar),aZn.Kb=function(n){return GB(),new sz(null,new IV(new RW(t$(Ugn(aU(n,10)).a.Kc(),new h))))},qV(M6n,"LGraphToCGraphTransformer/lambda$5$Type",1736),oxn(1737,1,{},Lr),aZn.Kb=function(n){return GB(),aU(cOn(aU(n,18),(GYn(),kmt)),15)},qV(M6n,"LGraphToCGraphTransformer/lambda$6$Type",1737),oxn(1739,1,XZn,Ag),aZn.Cd=function(n){DLn(this.a,aU(n,15))},qV(M6n,"LGraphToCGraphTransformer/lambda$8$Type",1739),oxn(1740,1,XZn,BC),aZn.Cd=function(n){mD(this.a,this.b,aU(n,154))},qV(M6n,"LGraphToCGraphTransformer/lambda$9$Type",1740),oxn(1729,1,{},Nr),aZn.cf=function(n){var t,e,i,r,c;for(this.a=n,this.d=new ry,this.c=Pnn(kst,MZn,125,this.a.a.a.c.length,0,1),this.b=0,e=new Wd(this.a.a.a);e.a=g&&(mx(a,Ddn(f)),v=t.Math.max(v,y[f-1]-l),u+=w,p+=y[f-1]-p,l=y[f-1],w=s[f]),w=t.Math.max(w,s[f]),++f;u+=w}(d=t.Math.min(1/v,1/e.b/u))>r&&(r=d,i=a)}return i},aZn.pg=function(){return!1},qV(A6n,"MSDCutIndexHeuristic",816),oxn(1683,1,X4n,Ec),aZn.Kf=function(n,t){Sqn(aU(n,36),t)},qV(A6n,"SingleEdgeGraphWrapper",1683),oxn(232,22,{3:1,34:1,22:1,232:1},XC);var qwt,zwt,Wwt,Xwt=_cn(L6n,"CenterEdgeLabelPlacementStrategy",232,Cat,qnn,VB);oxn(431,22,{3:1,34:1,22:1,431:1},WC);var Vwt,Qwt,Jwt,Ywt,Zwt=_cn(L6n,"ConstraintCalculationStrategy",431,Cat,l1,QB);oxn(322,22,{3:1,34:1,22:1,322:1,188:1,196:1},VC),aZn.dg=function(){return JLn(this)},aZn.qg=function(){return JLn(this)};var ngt,tgt,egt,igt,rgt=_cn(L6n,"CrossingMinimizationStrategy",322,Cat,K2,JB);oxn(351,22,{3:1,34:1,22:1,351:1},QC);var cgt,agt,ogt,ugt,sgt,hgt,fgt=_cn(L6n,"CuttingStrategy",351,Cat,F2,YB);oxn(348,22,{3:1,34:1,22:1,348:1,188:1,196:1},JC),aZn.dg=function(){return Cxn(this)},aZn.qg=function(){return Cxn(this)};var lgt,bgt,dgt,wgt=_cn(L6n,"CycleBreakingStrategy",348,Cat,u9,ZB);oxn(428,22,{3:1,34:1,22:1,428:1},YC);var ggt,pgt,mgt,vgt,ygt=_cn(L6n,"DirectionCongruency",428,Cat,f1,nG);oxn(460,22,{3:1,34:1,22:1,460:1},ZC);var kgt,Egt,Mgt,jgt,Tgt,Sgt,Pgt,Cgt=_cn(L6n,"EdgeConstraint",460,Cat,B2,oG);oxn(283,22,{3:1,34:1,22:1,283:1},nO);var Ogt,Igt,Agt,Lgt=_cn(L6n,"EdgeLabelSideSelection",283,Cat,Gnn,uG);oxn(488,22,{3:1,34:1,22:1,488:1},tO);var Ngt,Dgt,xgt,$gt,Rgt,_gt,Kgt,Fgt=_cn(L6n,"EdgeStraighteningStrategy",488,Cat,v1,sG);oxn(281,22,{3:1,34:1,22:1,281:1},eO);var Bgt,Ggt,Hgt,Ugt,qgt,zgt,Wgt,Xgt=_cn(L6n,"FixedAlignment",281,Cat,Hnn,aG);oxn(282,22,{3:1,34:1,22:1,282:1},iO);var Vgt,Qgt,Jgt,Ygt,Zgt,npt,tpt,ept,ipt,rpt,cpt,apt=_cn(L6n,"GraphCompactionStrategy",282,Cat,Unn,tG);oxn(259,22,{3:1,34:1,22:1,259:1},rO);var opt,upt,spt,hpt,fpt=_cn(L6n,"GraphProperties",259,Cat,cun,eG);oxn(299,22,{3:1,34:1,22:1,299:1},cO);var lpt,bpt,dpt,wpt,gpt=_cn(L6n,"GreedySwitchType",299,Cat,G2,iG);oxn(311,22,{3:1,34:1,22:1,311:1},aO);var ppt,mpt,vpt,ypt=_cn(L6n,"InLayerConstraint",311,Cat,H2,rG);oxn(429,22,{3:1,34:1,22:1,429:1},oO);var kpt,Ept,Mpt,jpt,Tpt,Spt,Ppt,Cpt,Opt,Ipt,Apt,Lpt,Npt,Dpt,xpt,$pt,Rpt,_pt,Kpt,Fpt,Bpt,Gpt,Hpt,Upt,qpt,zpt,Wpt,Xpt,Vpt,Qpt,Jpt,Ypt,Zpt,nmt,tmt,emt,imt,rmt,cmt,amt,omt,umt,smt,hmt,fmt,lmt,bmt,dmt,wmt,gmt,pmt,mmt,vmt,ymt,kmt,Emt,Mmt,jmt,Tmt,Smt,Pmt,Cmt,Omt,Imt,Amt=_cn(L6n,"InteractiveReferencePoint",429,Cat,h1,cG);oxn(171,22,{3:1,34:1,22:1,171:1},uO);var Lmt,Nmt,Dmt,xmt,$mt,Rmt,_mt,Kmt,Fmt,Bmt,Gmt,Hmt,Umt,qmt,zmt,Wmt,Xmt,Vmt,Qmt,Jmt,Ymt,Zmt,nvt,tvt,evt,ivt,rvt,cvt,avt,ovt,uvt,svt,hvt,fvt,lvt,bvt,dvt,wvt,gvt,pvt,mvt,vvt,yvt,kvt,Evt,Mvt,jvt,Tvt,Svt,Pvt,Cvt,Ovt,Ivt,Avt,Lvt,Nvt,Dvt,xvt,$vt,Rvt,_vt,Kvt,Fvt,Bvt,Gvt,Hvt,Uvt,qvt,zvt,Wvt,Xvt,Vvt,Qvt,Jvt,Yvt,Zvt,nyt,tyt,eyt,iyt,ryt,cyt,ayt,oyt,uyt,syt,hyt,fyt,lyt,byt,dyt,wyt,gyt,pyt,myt,vyt,yyt,kyt,Eyt,Myt,jyt,Tyt,Syt,Pyt,Cyt,Oyt,Iyt,Ayt,Lyt,Nyt,Dyt,xyt,$yt,Ryt,_yt,Kyt,Fyt,Byt,Gyt,Hyt,Uyt,qyt,zyt,Wyt,Xyt,Vyt,Qyt,Jyt,Yyt,Zyt,nkt,tkt,ekt,ikt,rkt,ckt,akt,okt,ukt,skt,hkt,fkt,lkt,bkt,dkt,wkt,gkt,pkt,mkt,vkt,ykt,kkt,Ekt,Mkt,jkt,Tkt,Skt,Pkt,Ckt,Okt,Ikt,Akt,Lkt,Nkt,Dkt,xkt,$kt,Rkt,_kt,Kkt,Fkt,Bkt,Gkt,Hkt,Ukt,qkt,zkt,Wkt,Xkt,Vkt,Qkt,Jkt,Ykt,Zkt,nEt,tEt,eEt,iEt,rEt,cEt,aEt,oEt,uEt,sEt,hEt,fEt,lEt,bEt,dEt,wEt,gEt,pEt,mEt,vEt,yEt,kEt,EEt,MEt,jEt,TEt,SEt,PEt,CEt,OEt,IEt,AEt,LEt,NEt,DEt,xEt,$Et,REt,_Et,KEt,FEt,BEt,GEt,HEt,UEt,qEt,zEt,WEt,XEt,VEt,QEt,JEt,YEt,ZEt,nMt,tMt,eMt,iMt,rMt,cMt,aMt,oMt,uMt,sMt,hMt,fMt,lMt,bMt,dMt,wMt,gMt,pMt,mMt,vMt,yMt,kMt,EMt,MMt,jMt,TMt,SMt,PMt,CMt,OMt,IMt,AMt,LMt,NMt,DMt,xMt,$Mt,RMt,_Mt,KMt,FMt,BMt,GMt,HMt,UMt,qMt,zMt,WMt,XMt,VMt,QMt,JMt,YMt,ZMt,njt,tjt,ejt,ijt,rjt=_cn(L6n,"LayerConstraint",171,Cat,h9,hG);oxn(859,1,$2n,sl),aZn.hf=function(n){Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,K6n),""),"Direction Congruency"),"Specifies how drawings of the same graph with different layout directions compare to each other: either a natural reading direction is preserved or the drawings are rotated versions of each other."),pvt),(hAn(),dNt)),ygt),dgn((xyn(),uNt))))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,F6n),""),"Feedback Edges"),"Whether feedback edges should be highlighted by routing around the nodes."),(H$(),!1)),lNt),iot),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,B6n),""),"Interactive Reference Point"),"Determines which point of a node is considered by interactive layout phases."),Fvt),dNt),Amt),dgn(uNt)))),F4(n,B6n,V6n,Gvt),F4(n,B6n,c5n,Bvt),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,G6n),""),"Merge Edges"),"Edges that have no ports are merged so they touch the connected nodes at the same points. When this option is disabled, one port is created for each edge directly connected to a node. When it is enabled, all such incoming edges share an input port, and all outgoing edges share an output port."),!1),lNt),iot),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,H6n),""),"Merge Hierarchy-Crossing Edges"),"If hierarchical layout is active, hierarchy-crossing edges use as few hierarchical ports as possible. They are broken by the algorithm, with hierarchical ports inserted as required. Usually, one such port is created for each edge at each hierarchy crossing point. With this option set to true, we try to create as few hierarchical ports as possible in the process. In particular, all edges that form a hyperedge can share a port."),!0),lNt),iot),dgn(uNt)))),Jgn(n,new ZIn(zM(VM(XM(QM(HM(GM(WM(UM(qM(new $u,U6n),""),"Allow Non-Flow Ports To Switch Sides"),"Specifies whether non-flow ports may switch sides if their node's port constraints are either FIXED_SIDE or FIXED_ORDER. A non-flow port is a port on a side that is not part of the currently configured layout flow. For instance, given a left-to-right layout direction, north and south ports would be considered non-flow ports. Further note that the underlying criterium whether to switch sides or not solely relies on the minimization of edge crossings. Hence, edge length and other aesthetics criteria are not addressed."),!1),lNt),iot),dgn(sNt)),Bhn(iM(Lot,1),qZn,2,6,["org.eclipse.elk.layered.northOrSouthPort"])))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,q6n),""),"Port Sorting Strategy"),"Only relevant for nodes with FIXED_SIDE port constraints. Determines the way a node's ports are distributed on the sides of a node if their order is not prescribed. The option is set on parent nodes."),Tyt),dNt),Vjt),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,z6n),""),"Thoroughness"),"How much effort should be spent to produce a nice layout."),Ddn(7)),gNt),bot),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,W6n),""),"Add Unnecessary Bendpoints"),"Adds bend points even if an edge does not change direction. If true, each long edge dummy will contribute a bend point to its edges and hierarchy-crossing edges will always get a bend point where they cross hierarchy boundaries. By default, bend points are only added where an edge changes direction."),!1),lNt),iot),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,X6n),""),"Generate Position and Layer IDs"),"If enabled position id and layer id are generated, which are usually only used internally when setting the interactiveLayout option. This option should be specified on the root node."),!1),lNt),iot),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,V6n),"cycleBreaking"),"Cycle Breaking Strategy"),"Strategy for cycle breaking. Cycle breaking looks for cycles in the graph and determines which edges to reverse to break the cycles. Reversed edges will end up pointing to the opposite direction of regular edges (that is, reversed edges will point left if edges usually point right)."),wvt),dNt),wgt),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,Q6n),o8n),"Node Layering Strategy"),"Strategy for node layering."),iyt),dNt),sjt),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,J6n),o8n),"Layer Constraint"),"Determines a constraint on the placement of the node regarding the layering."),Wvt),dNt),rjt),dgn(oNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,Y6n),o8n),"Layer Choice Constraint"),"Allows to set a constraint regarding the layer placement of a node. Let i be the value of teh constraint. Assumed the drawing has n layers and i < n. If set to i, it expresses that the node should be placed in i-th layer. Should i>=n be true then the node is placed in the last layer of the drawing. Note that this option is not part of any of ELK Layered's default configurations but is only evaluated as part of the `InteractiveLayeredGraphVisitor`, which must be applied manually or used via the `DiagramLayoutEngine."),null),gNt),bot),dgn(oNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,Z6n),o8n),"Layer ID"),"Layer identifier that was calculated by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),Ddn(-1)),gNt),bot),dgn(oNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,n5n),u8n),"Upper Bound On Width [MinWidth Layerer]"),"Defines a loose upper bound on the width of the MinWidth layerer. If set to '-1' multiple values are tested and the best result is selected."),Ddn(4)),gNt),bot),dgn(uNt)))),F4(n,n5n,Q6n,Qvt),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,t5n),u8n),"Upper Layer Estimation Scaling Factor [MinWidth Layerer]"),"Multiplied with Upper Bound On Width for defining an upper bound on the width of layers which haven't been determined yet, but whose maximum width had been (roughly) estimated by the MinWidth algorithm. Compensates for too high estimations. If set to '-1' multiple values are tested and the best result is selected."),Ddn(2)),gNt),bot),dgn(uNt)))),F4(n,t5n,Q6n,Yvt),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,e5n),s8n),"Node Promotion Strategy"),"Reduces number of dummy nodes after layering phase (if possible)."),tyt),dNt),Fjt),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,i5n),s8n),"Max Node Promotion Iterations"),"Limits the number of iterations for node promotion."),Ddn(0)),gNt),bot),dgn(uNt)))),F4(n,i5n,e5n,null),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,r5n),"layering.coffmanGraham"),"Layer Bound"),"The maximum number of nodes allowed per layer."),Ddn(pZn)),gNt),bot),dgn(uNt)))),F4(n,r5n,Q6n,Uvt),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,c5n),h8n),"Crossing Minimization Strategy"),"Strategy for crossing minimization."),bvt),dNt),rgt),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,a5n),h8n),"Force Node Model Order"),"The node order given by the model does not change to produce a better layout. E.g. if node A is before node B in the model this is not changed during crossing minimization. This assumes that the node model order is already respected before crossing minimization. This can be achieved by setting considerModelOrder.strategy to NODES_AND_EDGES."),!1),lNt),iot),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,o5n),h8n),"Hierarchical Sweepiness"),"How likely it is to use cross-hierarchy (1) vs bottom-up (-1)."),.1),bNt),sot),dgn(uNt)))),F4(n,o5n,f8n,cvt),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,u5n),h8n),"Semi-Interactive Crossing Minimization"),"Preserves the order of nodes within a layer but still minimizes crossings between edges connecting long edge dummies. Derives the desired order from positions specified by the 'org.eclipse.elk.position' layout option. Requires a crossing minimization strategy that is able to process 'in-layer' constraints."),!1),lNt),iot),dgn(uNt)))),F4(n,u5n,c5n,fvt),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,s5n),h8n),"In Layer Predecessor of"),"Allows to set a constraint which specifies of which node the current node is the predecessor. If set to 's' then the node is the predecessor of 's' and is in the same layer"),null),mNt),Lot),dgn(oNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,h5n),h8n),"In Layer Successor of"),"Allows to set a constraint which specifies of which node the current node is the successor. If set to 's' then the node is the successor of 's' and is in the same layer"),null),mNt),Lot),dgn(oNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,f5n),h8n),"Position Choice Constraint"),"Allows to set a constraint regarding the position placement of a node in a layer. Assumed the layer in which the node placed includes n other nodes and i < n. If set to i, it expresses that the node should be placed at the i-th position. Should i>=n be true then the node is placed at the last position in the layer. Note that this option is not part of any of ELK Layered's default configurations but is only evaluated as part of the `InteractiveLayeredGraphVisitor`, which must be applied manually or used via the `DiagramLayoutEngine."),null),gNt),bot),dgn(oNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,l5n),h8n),"Position ID"),"Position within a layer that was determined by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),Ddn(-1)),gNt),bot),dgn(oNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,b5n),l8n),"Greedy Switch Activation Threshold"),"By default it is decided automatically if the greedy switch is activated or not. The decision is based on whether the size of the input graph (without dummy nodes) is smaller than the value of this option. A '0' enforces the activation."),Ddn(40)),gNt),bot),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,d5n),l8n),"Greedy Switch Crossing Minimization"),"Greedy Switch strategy for crossing minimization. The greedy switch heuristic is executed after the regular crossing minimization as a post-processor. Note that if 'hierarchyHandling' is set to 'INCLUDE_CHILDREN', the 'greedySwitchHierarchical.type' option must be used."),evt),dNt),gpt),dgn(uNt)))),F4(n,d5n,c5n,ivt),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,w5n),"crossingMinimization.greedySwitchHierarchical"),"Greedy Switch Crossing Minimization (hierarchical)"),"Activates the greedy switch heuristic in case hierarchical layout is used. The differences to the non-hierarchical case (see 'greedySwitch.type') are: 1) greedy switch is inactive by default, 3) only the option value set on the node at which hierarchical layout starts is relevant, and 2) if it's activated by the user, it properly addresses hierarchy-crossing edges."),Ymt),dNt),gpt),dgn(uNt)))),F4(n,w5n,c5n,Zmt),F4(n,w5n,f8n,nvt),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,g5n),b8n),"Node Placement Strategy"),"Strategy for node placement."),Myt),dNt),Djt),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(GM(WM(UM(qM(new $u,p5n),b8n),"Favor Straight Edges Over Balancing"),"Favor straight edges over a balanced node placement. The default behavior is determined automatically based on the used 'edgeRouting'. For an orthogonal style it is set to true, for all other styles to false."),lNt),iot),dgn(uNt)))),F4(n,p5n,g5n,byt),F4(n,p5n,g5n,dyt),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,m5n),d8n),"BK Edge Straightening"),"Specifies whether the Brandes Koepf node placer tries to increase the number of straight edges at the expense of diagram size. There is a subtle difference to the 'favorStraightEdges' option, which decides whether a balanced placement of the nodes is desired, or not. In bk terms this means combining the four alignments into a single balanced one, or not. This option on the other hand tries to straighten additional edges during the creation of each of the four alignments."),oyt),dNt),Fgt),dgn(uNt)))),F4(n,m5n,g5n,uyt),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,v5n),d8n),"BK Fixed Alignment"),"Tells the BK node placer to use a certain alignment (out of its four) instead of the one producing the smallest height, or the combination of all four."),hyt),dNt),Xgt),dgn(uNt)))),F4(n,v5n,g5n,fyt),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,y5n),"nodePlacement.linearSegments"),"Linear Segments Deflection Dampening"),"Dampens the movement of nodes to keep the diagram from getting too large."),.3),bNt),sot),dgn(uNt)))),F4(n,y5n,g5n,gyt),Jgn(n,new ZIn(VM(XM(QM(GM(WM(UM(qM(new $u,k5n),"nodePlacement.networkSimplex"),"Node Flexibility"),"Aims at shorter and straighter edges. Two configurations are possible: (a) allow ports to move freely on the side they are assigned to (the order is always defined beforehand), (b) additionally allow to enlarge a node wherever it helps. If this option is not configured for a node, the 'nodeFlexibility.default' value is used, which is specified for the node's parent."),dNt),Ejt),dgn(oNt)))),F4(n,k5n,g5n,kyt),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,E5n),"nodePlacement.networkSimplex.nodeFlexibility"),"Node Flexibility Default"),"Default value of the 'nodeFlexibility' option for the children of a hierarchical node."),vyt),dNt),Ejt),dgn(uNt)))),F4(n,E5n,g5n,yyt),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,M5n),w8n),"Self-Loop Distribution"),"Alter the distribution of the loops around the node. It only takes effect for PortConstraints.FREE."),Tvt),dNt),cTt),dgn(oNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,j5n),w8n),"Self-Loop Ordering"),"Alter the ordering of the loops they can either be stacked or sequenced. It only takes effect for PortConstraints.FREE."),Pvt),dNt),hTt),dgn(oNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,T5n),"edgeRouting.splines"),"Spline Routing Mode"),"Specifies the way control points are assembled for each individual edge. CONSERVATIVE ensures that edges are properly routed around the nodes but feels rather orthogonal at times. SLOPPY uses fewer control points to obtain curvier edge routes but may result in edges overlapping nodes."),Ovt),dNt),wTt),dgn(uNt)))),F4(n,T5n,g8n,Ivt),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,S5n),"edgeRouting.splines.sloppy"),"Sloppy Spline Layer Spacing Factor"),"Spacing factor for routing area between layers when using sloppy spline routing."),.2),bNt),sot),dgn(uNt)))),F4(n,S5n,g8n,Lvt),F4(n,S5n,T5n,Nvt),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,P5n),"edgeRouting.polyline"),"Sloped Edge Zone Width"),"Width of the strip to the left and to the right of each layer where the polyline edge router is allowed to refrain from ensuring that edges are routed horizontally. This prevents awkward bend points for nodes that extent almost to the edge of their layer."),2),bNt),sot),dgn(uNt)))),F4(n,P5n,g8n,Mvt),Jgn(n,new ZIn(VM(XM(QM(GM(WM(UM(qM(new $u,C5n),p8n),"Spacing Base Value"),"An optional base value for all other layout options of the 'spacing' group. It can be used to conveniently alter the overall 'spaciousness' of the drawing. Whenever an explicit value is set for the other layout options, this base value will have no effect. The base value is not inherited, i.e. it must be set for each hierarchical node."),bNt),sot),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,O5n),p8n),"Edge Node Between Layers Spacing"),"The spacing to be preserved between nodes and edges that are routed next to the node's layer. For the spacing between nodes and edges that cross the node's layer 'spacing.edgeNode' is used."),10),bNt),sot),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,I5n),p8n),"Edge Edge Between Layer Spacing"),"Spacing to be preserved between pairs of edges that are routed between the same pair of layers. Note that 'spacing.edgeEdge' is used for the spacing between pairs of edges crossing the same layer."),10),bNt),sot),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,A5n),p8n),"Node Node Between Layers Spacing"),"The spacing to be preserved between any pair of nodes of two adjacent layers. Note that 'spacing.nodeNode' is used for the spacing between nodes within the layer itself."),20),bNt),sot),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,L5n),m8n),"Direction Priority"),"Defines how important it is to have a certain edge point into the direction of the overall layout. This option is evaluated during the cycle breaking phase."),Ddn(0)),gNt),bot),dgn(cNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,N5n),m8n),"Shortness Priority"),"Defines how important it is to keep an edge as short as possible. This option is evaluated during the layering phase."),Ddn(0)),gNt),bot),dgn(cNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,D5n),m8n),"Straightness Priority"),"Defines how important it is to keep an edge straight, i.e. aligned with one of the two axes. This option is evaluated during node placement."),Ddn(0)),gNt),bot),dgn(cNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,x5n),v8n),E3n),"Tries to further compact components (disconnected sub-graphs)."),!1),lNt),iot),dgn(uNt)))),F4(n,x5n,u4n,!0),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,$5n),y8n),"Post Compaction Strategy"),k8n),_mt),dNt),apt),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,R5n),y8n),"Post Compaction Constraint Calculation"),k8n),$mt),dNt),Zwt),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,_5n),E8n),"High Degree Node Treatment"),"Makes room around high degree nodes to place leafs and trees."),!1),lNt),iot),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,K5n),E8n),"High Degree Node Threshold"),"Whether a node is considered to have a high degree."),Ddn(16)),gNt),bot),dgn(uNt)))),F4(n,K5n,_5n,!0),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,F5n),E8n),"High Degree Node Maximum Tree Height"),"Maximum height of a subtree connected to a high degree node to be moved to separate layers."),Ddn(5)),gNt),bot),dgn(uNt)))),F4(n,F5n,_5n,!0),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,B5n),M8n),"Graph Wrapping Strategy"),"For certain graphs and certain prescribed drawing areas it may be desirable to split the laid out graph into chunks that are placed side by side. The edges that connect different chunks are 'wrapped' around from the end of one chunk to the start of the other chunk. The points between the chunks are referred to as 'cuts'."),ikt),dNt),DTt),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,G5n),M8n),"Additional Wrapped Edges Spacing"),"To visually separate edges that are wrapped from regularly routed edges an additional spacing value can be specified in form of this layout option. The spacing is added to the regular edgeNode spacing."),10),bNt),sot),dgn(uNt)))),F4(n,G5n,B5n,$yt),F4(n,G5n,B5n,Ryt),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,H5n),M8n),"Correction Factor for Wrapping"),"At times and for certain types of graphs the executed wrapping may produce results that are consistently biased in the same fashion: either wrapping to often or to rarely. This factor can be used to correct the bias. Internally, it is simply multiplied with the 'aspect ratio' layout option."),1),bNt),sot),dgn(uNt)))),F4(n,H5n,B5n,Kyt),F4(n,H5n,B5n,Fyt),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,U5n),j8n),"Cutting Strategy"),"The strategy by which the layer indexes are determined at which the layering crumbles into chunks."),Wyt),dNt),fgt),dgn(uNt)))),F4(n,U5n,B5n,Xyt),F4(n,U5n,B5n,Vyt),Jgn(n,new ZIn(VM(XM(QM(GM(WM(UM(qM(new $u,q5n),j8n),"Manually Specified Cuts"),"Allows the user to specify her own cuts for a certain graph."),pNt),vat),dgn(uNt)))),F4(n,q5n,U5n,Gyt),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,z5n),"wrapping.cutting.msd"),"MSD Freedom"),"The MSD cutting strategy starts with an initial guess on the number of chunks the graph should be split into. The freedom specifies how much the strategy may deviate from this guess. E.g. if an initial number of 3 is computed, a freedom of 1 allows 2, 3, and 4 cuts."),Uyt),gNt),bot),dgn(uNt)))),F4(n,z5n,U5n,qyt),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,W5n),T8n),"Validification Strategy"),"When wrapping graphs, one can specify indices that are not allowed as split points. The validification strategy makes sure every computed split point is allowed."),ukt),dNt),yTt),dgn(uNt)))),F4(n,W5n,B5n,skt),F4(n,W5n,B5n,hkt),Jgn(n,new ZIn(VM(XM(QM(GM(WM(UM(qM(new $u,X5n),T8n),"Valid Indices for Wrapping"),null),pNt),vat),dgn(uNt)))),F4(n,X5n,B5n,ckt),F4(n,X5n,B5n,akt),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,V5n),S8n),"Improve Cuts"),"For general graphs it is important that not too many edges wrap backwards. Thus a compromise between evenly-distributed cuts and the total number of cut edges is sought."),!0),lNt),iot),dgn(uNt)))),F4(n,V5n,B5n,Zyt),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,Q5n),S8n),"Distance Penalty When Improving Cuts"),null),2),bNt),sot),dgn(uNt)))),F4(n,Q5n,B5n,Jyt),F4(n,Q5n,V5n,!0),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,J5n),S8n),"Improve Wrapped Edges"),"The initial wrapping is performed in a very simple way. As a consequence, edges that wrap from one chunk to another may be unnecessarily long. Activating this option tries to shorten such edges."),!0),lNt),iot),dgn(uNt)))),F4(n,J5n,B5n,tkt),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,Y5n),P8n),"Edge Label Side Selection"),"Method to decide on edge label sides."),kvt),dNt),Lgt),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,Z5n),P8n),"Edge Center Label Placement Strategy"),"Determines in which layer center labels of long edges should be placed."),vvt),dNt),Xwt),Wz(uNt,Bhn(iM(yNt,1),w1n,170,0,[aNt]))))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,n8n),C8n),"Consider Model Order"),"Preserves the order of nodes and edges in the model file if this does not lead to additional edge crossings. Depending on the strategy this is not always possible since the node and edge order might be conflicting."),Xmt),dNt),Ujt),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,t8n),C8n),"Consider Port Order"),"If disabled the port order of output ports is derived from the edge order and input ports are ordered by their incoming connections. If enabled all ports are ordered by the port model order."),!1),lNt),iot),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,e8n),C8n),"No Model Order"),"Set on a node to not set a model order for this node even though it is a real node."),!1),lNt),iot),dgn(oNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,i8n),C8n),"Consider Model Order for Components"),"If set to NONE the usual ordering strategy (by cumulative node priority and size of nodes) is used. INSIDE_PORT_SIDES orders the components with external ports only inside the groups with the same port side. FORCE_MODEL_ORDER enforces the mode order on components. This option might produce bad alignments and sub optimal drawings in terms of used area since the ordering should be respected."),Fmt),dNt),rbt),dgn(uNt)))),F4(n,i8n,u4n,null),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,r8n),C8n),"Long Edge Ordering Strategy"),"Indicates whether long edges are sorted under, over, or equal to nodes that have no connection to a previous layer in a left-to-right or right-to-left layout. Under and over changes to right and left in a vertical layout."),Umt),dNt),wjt),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,c8n),C8n),"Crossing Counter Node Order Influence"),"Indicates with what percentage (1 for 100%) violations of the node model order are weighted against the crossings e.g. a value of 0.5 means two model order violations are as important as on edge crossing. This allows some edge crossings in favor of preserving the model order. It is advised to set this value to a very small positive value (e.g. 0.001) to have minimal crossing and a optimal node order. Defaults to no influence (0)."),0),bNt),sot),dgn(uNt)))),F4(n,c8n,n8n,null),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,a8n),C8n),"Crossing Counter Port Order Influence"),"Indicates with what percentage (1 for 100%) violations of the port model order are weighted against the crossings e.g. a value of 0.5 means two model order violations are as important as on edge crossing. This allows some edge crossings in favor of preserving the model order. It is advised to set this value to a very small positive value (e.g. 0.001) to have minimal crossing and a optimal port order. Defaults to no influence (0)."),0),bNt),sot),dgn(uNt)))),F4(n,a8n,n8n,null),nZn((new hl,n))},qV(L6n,"LayeredMetaDataProvider",859),oxn(998,1,$2n,hl),aZn.hf=function(n){nZn(n)},qV(L6n,"LayeredOptions",998),oxn(999,1,{},Mc),aZn.sf=function(){return new gy},aZn.tf=function(n){},qV(L6n,"LayeredOptions/LayeredFactory",999),oxn(1391,1,{}),aZn.a=0,qV(w9n,"ElkSpacings/AbstractSpacingsBuilder",1391),oxn(792,1391,{},cmn),qV(L6n,"LayeredSpacings/LayeredSpacingsBuilder",792),oxn(265,22,{3:1,34:1,22:1,265:1,188:1,196:1},sO),aZn.dg=function(){return VFn(this)},aZn.qg=function(){return VFn(this)};var cjt,ajt,ojt,ujt,sjt=_cn(L6n,"LayeringStrategy",265,Cat,Zcn,fG);oxn(390,22,{3:1,34:1,22:1,390:1},hO);var hjt,fjt,ljt,bjt,djt,wjt=_cn(L6n,"LongEdgeOrderingStrategy",390,Cat,U2,lG);oxn(203,22,{3:1,34:1,22:1,203:1},fO);var gjt,pjt,mjt,vjt,yjt,kjt,Ejt=_cn(L6n,"NodeFlexibility",203,Cat,H6,bG);oxn(323,22,{3:1,34:1,22:1,323:1,188:1,196:1},lO),aZn.dg=function(){return Pxn(this)},aZn.qg=function(){return Pxn(this)};var Mjt,jjt,Tjt,Sjt,Pjt,Cjt,Ojt,Ijt,Ajt,Ljt,Njt,Djt=_cn(L6n,"NodePlacementStrategy",323,Cat,s9,dG);oxn(243,22,{3:1,34:1,22:1,243:1},bO);var xjt,$jt,Rjt,_jt,Kjt,Fjt=_cn(L6n,"NodePromotionStrategy",243,Cat,aun,wG);oxn(284,22,{3:1,34:1,22:1,284:1},dO);var Bjt,Gjt,Hjt,Ujt=_cn(L6n,"OrderingStrategy",284,Cat,U6,gG);oxn(430,22,{3:1,34:1,22:1,430:1},wO);var qjt,zjt,Wjt,Xjt,Vjt=_cn(L6n,"PortSortingStrategy",430,Cat,b1,pG);oxn(463,22,{3:1,34:1,22:1,463:1},gO);var Qjt,Jjt,Yjt,Zjt,nTt=_cn(L6n,"PortType",463,Cat,q2,mG);oxn(387,22,{3:1,34:1,22:1,387:1},pO);var tTt,eTt,iTt,rTt,cTt=_cn(L6n,"SelfLoopDistributionStrategy",387,Cat,z2,vG);oxn(349,22,{3:1,34:1,22:1,349:1},mO);var aTt,oTt,uTt,sTt,hTt=_cn(L6n,"SelfLoopOrderingStrategy",349,Cat,W2,yG);oxn(312,1,{312:1},SXn),qV(L6n,"Spacings",312),oxn(350,22,{3:1,34:1,22:1,350:1},vO);var fTt,lTt,bTt,dTt,wTt=_cn(L6n,"SplineRoutingMode",350,Cat,X2,kG);oxn(352,22,{3:1,34:1,22:1,352:1},yO);var gTt,pTt,mTt,vTt,yTt=_cn(L6n,"ValidifyStrategy",352,Cat,V2,EG);oxn(388,22,{3:1,34:1,22:1,388:1},kO);var kTt,ETt,MTt,jTt,TTt,STt,PTt,CTt,OTt,ITt,ATt,LTt,NTt,DTt=_cn(L6n,"WrappingStrategy",388,Cat,Q2,MG);oxn(1398,1,v9n,tl),aZn.rg=function(n){return aU(n,36),ETt},aZn.Kf=function(n,t){wWn(this,aU(n,36),t)},qV(y9n,"DepthFirstCycleBreaker",1398),oxn(793,1,v9n,nW),aZn.rg=function(n){return aU(n,36),MTt},aZn.Kf=function(n,t){dYn(this,aU(n,36),t)},aZn.sg=function(n){return aU(qq(n,tEn(this.d,n.c.length)),10)},qV(y9n,"GreedyCycleBreaker",793),oxn(1401,793,v9n,ZA),aZn.sg=function(n){var t,e,i,r;for(r=null,t=pZn,i=new Wd(n);i.a1&&(cE(d_(cOn(FQ((a3(0,n.c.length),aU(n.c[0],10))),(EYn(),Skt))))?O$n(n,this.d,aU(this,669)):(uZ(),sD(n,this.d)),Dsn(this.e,n))},aZn.lg=function(n,t,e,i){var r,c,a,o,u,s,h;for(t!=pz(e,n.length)&&(c=n[t-(e?1:-1)],p7(this.f,c,e?(ian(),Wjt):(ian(),zjt))),r=n[t][0],h=!i||r.k==(qOn(),hbt),s=Y9(n[t]),this.vg(s,h,!1,e),a=0,u=new Wd(s);u.a"),n0?E0(this.a,n[t-1],n[t]):!e&&t1&&(cE(d_(cOn(FQ((a3(0,n.c.length),aU(n.c[0],10))),(EYn(),Skt))))?O$n(n,this.d,this):(uZ(),sD(n,this.d)),cE(d_(cOn(FQ((a3(0,n.c.length),aU(n.c[0],10))),Skt)))||Dsn(this.e,n))},qV(j9n,"ModelOrderBarycenterHeuristic",669),oxn(1866,1,f2n,Jg),aZn.Ne=function(n,t){return kIn(this.a,aU(n,10),aU(t,10))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(j9n,"ModelOrderBarycenterHeuristic/lambda$0$Type",1866),oxn(1423,1,v9n,ll),aZn.rg=function(n){var t;return aU(n,36),Oq(t=rN(UTt),(aOn(),Mlt),(qYn(),Sdt)),t},aZn.Kf=function(n,t){EY((aU(n,36),t))},qV(j9n,"NoCrossingMinimizer",1423),oxn(809,413,E9n,ej),aZn.tg=function(n,t,e){var i,r,c,a,o,u,s,h,f,l,b;switch(f=this.g,e.g){case 1:for(r=0,c=0,h=new Wd(n.j);h.a1&&(r.j==($Qn(),mRt)?this.b[n]=!0:r.j==_Rt&&n>0&&(this.b[n-1]=!0))},aZn.f=0,qV(T6n,"AllCrossingsCounter",1861),oxn(595,1,{},Non),aZn.b=0,aZn.d=0,qV(T6n,"BinaryIndexedTree",595),oxn(532,1,{},xF),qV(T6n,"CrossingsCounter",532),oxn(1950,1,f2n,Yg),aZn.Ne=function(n,t){return lz(this.a,aU(n,12),aU(t,12))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(T6n,"CrossingsCounter/lambda$0$Type",1950),oxn(1951,1,f2n,Zg),aZn.Ne=function(n,t){return bz(this.a,aU(n,12),aU(t,12))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(T6n,"CrossingsCounter/lambda$1$Type",1951),oxn(1952,1,f2n,np),aZn.Ne=function(n,t){return dz(this.a,aU(n,12),aU(t,12))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(T6n,"CrossingsCounter/lambda$2$Type",1952),oxn(1953,1,f2n,tp),aZn.Ne=function(n,t){return wz(this.a,aU(n,12),aU(t,12))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(T6n,"CrossingsCounter/lambda$3$Type",1953),oxn(1954,1,XZn,ep),aZn.Cd=function(n){ien(this.a,aU(n,12))},qV(T6n,"CrossingsCounter/lambda$4$Type",1954),oxn(1955,1,v1n,ip),aZn.Mb=function(n){return AO(this.a,aU(n,12))},qV(T6n,"CrossingsCounter/lambda$5$Type",1955),oxn(1956,1,XZn,rp),aZn.Cd=function(n){yA(this,n)},qV(T6n,"CrossingsCounter/lambda$6$Type",1956),oxn(1957,1,XZn,MO),aZn.Cd=function(n){var t;TH(),O6(this.b,(t=this.a,aU(n,12),t))},qV(T6n,"CrossingsCounter/lambda$7$Type",1957),oxn(839,1,O2n,Nc),aZn.Lb=function(n){return TH(),pR(aU(n,12),(GYn(),hmt))},aZn.Fb=function(n){return this===n},aZn.Mb=function(n){return TH(),pR(aU(n,12),(GYn(),hmt))},qV(T6n,"CrossingsCounter/lambda$8$Type",839),oxn(1949,1,{},cp),qV(T6n,"HyperedgeCrossingsCounter",1949),oxn(478,1,{34:1,478:1},KK),aZn.Fd=function(n){return _vn(this,aU(n,478))},aZn.b=0,aZn.c=0,aZn.e=0,aZn.f=0;var XTt=qV(T6n,"HyperedgeCrossingsCounter/Hyperedge",478);oxn(374,1,{34:1,374:1},fY),aZn.Fd=function(n){return n$n(this,aU(n,374))},aZn.b=0,aZn.c=0;var VTt,QTt,JTt=qV(T6n,"HyperedgeCrossingsCounter/HyperedgeCorner",374);oxn(531,22,{3:1,34:1,22:1,531:1},jO);var YTt,ZTt,nSt,tSt,eSt,iSt=_cn(T6n,"HyperedgeCrossingsCounter/HyperedgeCorner/Type",531,Cat,d1,TG);oxn(1425,1,v9n,bl),aZn.rg=function(n){return aU(cOn(aU(n,36),(GYn(),Fpt)),21).Hc((eFn(),Zgt))?ZTt:null},aZn.Kf=function(n,t){FTn(this,aU(n,36),t)},qV(T9n,"InteractiveNodePlacer",1425),oxn(1426,1,v9n,dl),aZn.rg=function(n){return aU(cOn(aU(n,36),(GYn(),Fpt)),21).Hc((eFn(),Zgt))?nSt:null},aZn.Kf=function(n,t){UEn(this,aU(n,36),t)},qV(T9n,"LinearSegmentsNodePlacer",1426),oxn(261,1,{34:1,261:1},ky),aZn.Fd=function(n){return SM(this,aU(n,261))},aZn.Fb=function(n){var t;return!!RD(n,261)&&(t=aU(n,261),this.b==t.b)},aZn.Hb=function(){return this.b},aZn.Ib=function(){return"ls"+pOn(this.e)},aZn.a=0,aZn.b=0,aZn.c=-1,aZn.d=-1,aZn.g=0;var rSt,cSt=qV(T9n,"LinearSegmentsNodePlacer/LinearSegment",261);oxn(1428,1,v9n,tW),aZn.rg=function(n){return aU(cOn(aU(n,36),(GYn(),Fpt)),21).Hc((eFn(),Zgt))?rSt:null},aZn.Kf=function(n,t){WJn(this,aU(n,36),t)},aZn.b=0,aZn.g=0,qV(T9n,"NetworkSimplexPlacer",1428),oxn(1447,1,f2n,Dc),aZn.Ne=function(n,t){return bD(aU(n,17).a,aU(t,17).a)},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(T9n,"NetworkSimplexPlacer/0methodref$compare$Type",1447),oxn(1449,1,f2n,xc),aZn.Ne=function(n,t){return bD(aU(n,17).a,aU(t,17).a)},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(T9n,"NetworkSimplexPlacer/1methodref$compare$Type",1449),oxn(655,1,{655:1},TO);var aSt=qV(T9n,"NetworkSimplexPlacer/EdgeRep",655);oxn(412,1,{412:1},lY),aZn.b=!1;var oSt,uSt,sSt,hSt=qV(T9n,"NetworkSimplexPlacer/NodeRep",412);oxn(515,13,{3:1,4:1,20:1,31:1,56:1,13:1,16:1,15:1,59:1,515:1},Sy),qV(T9n,"NetworkSimplexPlacer/Path",515),oxn(1429,1,{},$c),aZn.Kb=function(n){return aU(n,18).d.i.k},qV(T9n,"NetworkSimplexPlacer/Path/lambda$0$Type",1429),oxn(1430,1,v1n,Rc),aZn.Mb=function(n){return aU(n,273)==(qOn(),lbt)},qV(T9n,"NetworkSimplexPlacer/Path/lambda$1$Type",1430),oxn(1431,1,{},_c),aZn.Kb=function(n){return aU(n,18).d.i},qV(T9n,"NetworkSimplexPlacer/Path/lambda$2$Type",1431),oxn(1432,1,v1n,ap),aZn.Mb=function(n){return q_(Pmn(aU(n,10)))},qV(T9n,"NetworkSimplexPlacer/Path/lambda$3$Type",1432),oxn(1433,1,v1n,Kc),aZn.Mb=function(n){return gq(aU(n,12))},qV(T9n,"NetworkSimplexPlacer/lambda$0$Type",1433),oxn(1434,1,XZn,SO),aZn.Cd=function(n){yD(this.a,this.b,aU(n,12))},qV(T9n,"NetworkSimplexPlacer/lambda$1$Type",1434),oxn(1443,1,XZn,op),aZn.Cd=function(n){RLn(this.a,aU(n,18))},qV(T9n,"NetworkSimplexPlacer/lambda$10$Type",1443),oxn(1444,1,{},Fc),aZn.Kb=function(n){return Y0(),new sz(null,new u3(aU(n,30).a,16))},qV(T9n,"NetworkSimplexPlacer/lambda$11$Type",1444),oxn(1445,1,XZn,up),aZn.Cd=function(n){NFn(this.a,aU(n,10))},qV(T9n,"NetworkSimplexPlacer/lambda$12$Type",1445),oxn(1446,1,{},Bc),aZn.Kb=function(n){return Y0(),Ddn(aU(n,125).e)},qV(T9n,"NetworkSimplexPlacer/lambda$13$Type",1446),oxn(1448,1,{},Gc),aZn.Kb=function(n){return Y0(),Ddn(aU(n,125).e)},qV(T9n,"NetworkSimplexPlacer/lambda$15$Type",1448),oxn(1450,1,v1n,Hc),aZn.Mb=function(n){return Y0(),aU(n,412).c.k==(qOn(),bbt)},qV(T9n,"NetworkSimplexPlacer/lambda$17$Type",1450),oxn(1451,1,v1n,Uc),aZn.Mb=function(n){return Y0(),aU(n,412).c.j.c.length>1},qV(T9n,"NetworkSimplexPlacer/lambda$18$Type",1451),oxn(1452,1,XZn,bY),aZn.Cd=function(n){Npn(this.c,this.b,this.d,this.a,aU(n,412))},aZn.c=0,aZn.d=0,qV(T9n,"NetworkSimplexPlacer/lambda$19$Type",1452),oxn(1435,1,{},qc),aZn.Kb=function(n){return Y0(),new sz(null,new u3(aU(n,30).a,16))},qV(T9n,"NetworkSimplexPlacer/lambda$2$Type",1435),oxn(1453,1,XZn,sp),aZn.Cd=function(n){ED(this.a,aU(n,12))},aZn.a=0,qV(T9n,"NetworkSimplexPlacer/lambda$20$Type",1453),oxn(1454,1,{},zc),aZn.Kb=function(n){return Y0(),new sz(null,new u3(aU(n,30).a,16))},qV(T9n,"NetworkSimplexPlacer/lambda$21$Type",1454),oxn(1455,1,XZn,hp),aZn.Cd=function(n){ax(this.a,aU(n,10))},qV(T9n,"NetworkSimplexPlacer/lambda$22$Type",1455),oxn(1456,1,v1n,Wc),aZn.Mb=function(n){return q_(n)},qV(T9n,"NetworkSimplexPlacer/lambda$23$Type",1456),oxn(1457,1,{},Xc),aZn.Kb=function(n){return Y0(),new sz(null,new u3(aU(n,30).a,16))},qV(T9n,"NetworkSimplexPlacer/lambda$24$Type",1457),oxn(1458,1,v1n,fp),aZn.Mb=function(n){return xL(this.a,aU(n,10))},qV(T9n,"NetworkSimplexPlacer/lambda$25$Type",1458),oxn(1459,1,XZn,PO),aZn.Cd=function(n){LIn(this.a,this.b,aU(n,10))},qV(T9n,"NetworkSimplexPlacer/lambda$26$Type",1459),oxn(1460,1,v1n,Vc),aZn.Mb=function(n){return Y0(),!p9(aU(n,18))},qV(T9n,"NetworkSimplexPlacer/lambda$27$Type",1460),oxn(1461,1,v1n,Qc),aZn.Mb=function(n){return Y0(),!p9(aU(n,18))},qV(T9n,"NetworkSimplexPlacer/lambda$28$Type",1461),oxn(1462,1,{},lp),aZn.Ve=function(n,t){return kD(this.a,aU(n,30),aU(t,30))},qV(T9n,"NetworkSimplexPlacer/lambda$29$Type",1462),oxn(1436,1,{},Jc),aZn.Kb=function(n){return Y0(),new sz(null,new IV(new RW(t$(Ugn(aU(n,10)).a.Kc(),new h))))},qV(T9n,"NetworkSimplexPlacer/lambda$3$Type",1436),oxn(1437,1,v1n,Yc),aZn.Mb=function(n){return Y0(),u6(aU(n,18))},qV(T9n,"NetworkSimplexPlacer/lambda$4$Type",1437),oxn(1438,1,XZn,bp),aZn.Cd=function(n){pqn(this.a,aU(n,18))},qV(T9n,"NetworkSimplexPlacer/lambda$5$Type",1438),oxn(1439,1,{},Zc),aZn.Kb=function(n){return Y0(),new sz(null,new u3(aU(n,30).a,16))},qV(T9n,"NetworkSimplexPlacer/lambda$6$Type",1439),oxn(1440,1,v1n,na),aZn.Mb=function(n){return Y0(),aU(n,10).k==(qOn(),bbt)},qV(T9n,"NetworkSimplexPlacer/lambda$7$Type",1440),oxn(1441,1,{},ta),aZn.Kb=function(n){return Y0(),new sz(null,new IV(new RW(t$(Ggn(aU(n,10)).a.Kc(),new h))))},qV(T9n,"NetworkSimplexPlacer/lambda$8$Type",1441),oxn(1442,1,v1n,ea),aZn.Mb=function(n){return Y0(),wq(aU(n,18))},qV(T9n,"NetworkSimplexPlacer/lambda$9$Type",1442),oxn(1424,1,v9n,wl),aZn.rg=function(n){return aU(cOn(aU(n,36),(GYn(),Fpt)),21).Hc((eFn(),Zgt))?oSt:null},aZn.Kf=function(n,t){xzn(aU(n,36),t)},qV(T9n,"SimpleNodePlacer",1424),oxn(185,1,{185:1},zGn),aZn.Ib=function(){var n;return n="",this.c==(f0(),sSt)?n+=z2n:this.c==uSt&&(n+=q2n),this.o==(l0(),lSt)?n+=i3n:this.o==bSt?n+="UP":n+="BALANCED",n},qV(C9n,"BKAlignedLayout",185),oxn(523,22,{3:1,34:1,22:1,523:1},CO);var fSt,lSt,bSt,dSt=_cn(C9n,"BKAlignedLayout/HDirection",523,Cat,g1,SG);oxn(522,22,{3:1,34:1,22:1,522:1},OO);var wSt,gSt,pSt,mSt,vSt,ySt,kSt,ESt,MSt,jSt,TSt,SSt,PSt,CSt,OSt,ISt,ASt,LSt,NSt,DSt=_cn(C9n,"BKAlignedLayout/VDirection",522,Cat,p1,PG);oxn(1699,1,{},IO),qV(C9n,"BKAligner",1699),oxn(1702,1,{},Djn),qV(C9n,"BKCompactor",1702),oxn(663,1,{663:1},ia),aZn.a=0,qV(C9n,"BKCompactor/ClassEdge",663),oxn(467,1,{467:1},My),aZn.a=null,aZn.b=0,qV(C9n,"BKCompactor/ClassNode",467),oxn(1427,1,v9n,RO),aZn.rg=function(n){return aU(cOn(aU(n,36),(GYn(),Fpt)),21).Hc((eFn(),Zgt))?gSt:null},aZn.Kf=function(n,t){LYn(this,aU(n,36),t)},aZn.d=!1,qV(C9n,"BKNodePlacer",1427),oxn(1700,1,{},ra),aZn.d=0,qV(C9n,"NeighborhoodInformation",1700),oxn(1701,1,f2n,dp),aZn.Ne=function(n,t){return prn(this,aU(n,42),aU(t,42))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(C9n,"NeighborhoodInformation/NeighborComparator",1701),oxn(823,1,{}),qV(C9n,"ThresholdStrategy",823),oxn(1825,823,{},jy),aZn.wg=function(n,t,e){return this.a.o==(l0(),bSt)?y0n:k0n},aZn.xg=function(){},qV(C9n,"ThresholdStrategy/NullThresholdStrategy",1825),oxn(587,1,{587:1},_O),aZn.c=!1,aZn.d=!1,qV(C9n,"ThresholdStrategy/Postprocessable",587),oxn(1826,823,{},Ty),aZn.wg=function(n,t,e){var i,r,c;return r=t==e,i=this.a.a[e.p]==t,r||i?(c=n,this.a.c,f0(),r&&(c=Rzn(this,t,!0)),!isNaN(c)&&!isFinite(c)&&i&&(c=Rzn(this,e,!1)),c):n},aZn.xg=function(){for(var n,t,e;0!=this.d.b;)(t=lUn(this,e=aU(F1(this.d),587))).a&&(n=t.a,(cE(this.a.f[this.a.g[e.b.p].p])||p9(n)||n.c.i.c!=n.d.i.c)&&(t$n(this,e)||zL(this.e,e)));for(;0!=this.e.a.c.length;)t$n(this,aU(cbn(this.e),587))},qV(C9n,"ThresholdStrategy/SimpleThresholdStrategy",1826),oxn(645,1,{645:1,188:1,196:1},ca),aZn.dg=function(){return Rsn(this)},aZn.qg=function(){return Rsn(this)},qV(O9n,"EdgeRouterFactory",645),oxn(1485,1,v9n,gl),aZn.rg=function(n){return xKn(aU(n,36))},aZn.Kf=function(n,t){Wzn(aU(n,36),t)},qV(O9n,"OrthogonalEdgeRouter",1485),oxn(1478,1,v9n,$O),aZn.rg=function(n){return cSn(aU(n,36))},aZn.Kf=function(n,t){UQn(this,aU(n,36),t)},qV(O9n,"PolylineEdgeRouter",1478),oxn(1479,1,O2n,oa),aZn.Lb=function(n){return ohn(aU(n,10))},aZn.Fb=function(n){return this===n},aZn.Mb=function(n){return ohn(aU(n,10))},qV(O9n,"PolylineEdgeRouter/1",1479),oxn(1872,1,v1n,ua),aZn.Mb=function(n){return aU(n,132).c==(_7(),LSt)},qV(I9n,"HyperEdgeCycleDetector/lambda$0$Type",1872),oxn(1873,1,{},sa),aZn.Ze=function(n){return aU(n,132).d},qV(I9n,"HyperEdgeCycleDetector/lambda$1$Type",1873),oxn(1874,1,v1n,ha),aZn.Mb=function(n){return aU(n,132).c==(_7(),LSt)},qV(I9n,"HyperEdgeCycleDetector/lambda$2$Type",1874),oxn(1875,1,{},fa),aZn.Ze=function(n){return aU(n,132).d},qV(I9n,"HyperEdgeCycleDetector/lambda$3$Type",1875),oxn(1876,1,{},la),aZn.Ze=function(n){return aU(n,132).d},qV(I9n,"HyperEdgeCycleDetector/lambda$4$Type",1876),oxn(1877,1,{},aa),aZn.Ze=function(n){return aU(n,132).d},qV(I9n,"HyperEdgeCycleDetector/lambda$5$Type",1877),oxn(118,1,{34:1,118:1},Ysn),aZn.Fd=function(n){return PM(this,aU(n,118))},aZn.Fb=function(n){var t;return!!RD(n,118)&&(t=aU(n,118),this.g==t.g)},aZn.Hb=function(){return this.g},aZn.Ib=function(){var n,t,e,i;for(n=new h$("{"),i=new Wd(this.n);i.a"+this.b+" ("+vR(this.c)+")"},aZn.d=0,qV(I9n,"HyperEdgeSegmentDependency",132),oxn(528,22,{3:1,34:1,22:1,528:1},HO);var xSt,$St,RSt,_St,KSt,FSt,BSt,GSt,HSt=_cn(I9n,"HyperEdgeSegmentDependency/DependencyType",528,Cat,m1,CG);oxn(1878,1,{},wp),qV(I9n,"HyperEdgeSegmentSplitter",1878),oxn(1879,1,{},uj),aZn.a=0,aZn.b=0,qV(I9n,"HyperEdgeSegmentSplitter/AreaRating",1879),oxn(339,1,{339:1},CH),aZn.a=0,aZn.b=0,aZn.c=0,qV(I9n,"HyperEdgeSegmentSplitter/FreeArea",339),oxn(1880,1,f2n,ba),aZn.Ne=function(n,t){return SF(aU(n,118),aU(t,118))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(I9n,"HyperEdgeSegmentSplitter/lambda$0$Type",1880),oxn(1881,1,XZn,wY),aZn.Cd=function(n){P5(this.a,this.d,this.c,this.b,aU(n,118))},aZn.b=0,qV(I9n,"HyperEdgeSegmentSplitter/lambda$1$Type",1881),oxn(1882,1,{},da),aZn.Kb=function(n){return new sz(null,new u3(aU(n,118).e,16))},qV(I9n,"HyperEdgeSegmentSplitter/lambda$2$Type",1882),oxn(1883,1,{},wa),aZn.Kb=function(n){return new sz(null,new u3(aU(n,118).j,16))},qV(I9n,"HyperEdgeSegmentSplitter/lambda$3$Type",1883),oxn(1884,1,{},ga),aZn.Ye=function(n){return aE(w_(n))},qV(I9n,"HyperEdgeSegmentSplitter/lambda$4$Type",1884),oxn(664,1,{},AV),aZn.a=0,aZn.b=0,aZn.c=0,qV(I9n,"OrthogonalRoutingGenerator",664),oxn(1703,1,{},pa),aZn.Kb=function(n){return new sz(null,new u3(aU(n,118).e,16))},qV(I9n,"OrthogonalRoutingGenerator/lambda$0$Type",1703),oxn(1704,1,{},ma),aZn.Kb=function(n){return new sz(null,new u3(aU(n,118).j,16))},qV(I9n,"OrthogonalRoutingGenerator/lambda$1$Type",1704),oxn(670,1,{}),qV(A9n,"BaseRoutingDirectionStrategy",670),oxn(1870,670,{},xy),aZn.yg=function(n,e,i){var r,c,a,o,u,s,h,f,l,b,d,w,g;if(!n.r||n.q)for(f=e+n.o*i,h=new Wd(n.n);h.aZ3n&&(c=n,r=new yI(l,a=f),rq(o.a,r),zHn(this,o,c,r,!1),(b=n.r)&&(r=new yI(d=aE(w_(ukn(b.e,0))),a),rq(o.a,r),zHn(this,o,c,r,!1),c=b,r=new yI(d,a=e+b.o*i),rq(o.a,r),zHn(this,o,c,r,!1)),r=new yI(g,a),rq(o.a,r),zHn(this,o,c,r,!1)))},aZn.zg=function(n){return n.i.n.a+n.n.a+n.a.a},aZn.Ag=function(){return $Qn(),$Rt},aZn.Bg=function(){return $Qn(),vRt},qV(A9n,"NorthToSouthRoutingStrategy",1870),oxn(1871,670,{},$y),aZn.yg=function(n,e,i){var r,c,a,o,u,s,h,f,l,b,d,w,g;if(!n.r||n.q)for(f=e-n.o*i,h=new Wd(n.n);h.aZ3n&&(c=n,r=new yI(l,a=f),rq(o.a,r),zHn(this,o,c,r,!1),(b=n.r)&&(r=new yI(d=aE(w_(ukn(b.e,0))),a),rq(o.a,r),zHn(this,o,c,r,!1),c=b,r=new yI(d,a=e-b.o*i),rq(o.a,r),zHn(this,o,c,r,!1)),r=new yI(g,a),rq(o.a,r),zHn(this,o,c,r,!1)))},aZn.zg=function(n){return n.i.n.a+n.n.a+n.a.a},aZn.Ag=function(){return $Qn(),vRt},aZn.Bg=function(){return $Qn(),$Rt},qV(A9n,"SouthToNorthRoutingStrategy",1871),oxn(1869,670,{},Ry),aZn.yg=function(n,e,i){var r,c,a,o,u,s,h,f,l,b,d,w,g;if(!n.r||n.q)for(f=e+n.o*i,h=new Wd(n.n);h.aZ3n&&(c=n,r=new yI(a=f,l),rq(o.a,r),zHn(this,o,c,r,!0),(b=n.r)&&(r=new yI(a,d=aE(w_(ukn(b.e,0)))),rq(o.a,r),zHn(this,o,c,r,!0),c=b,r=new yI(a=e+b.o*i,d),rq(o.a,r),zHn(this,o,c,r,!0)),r=new yI(a,g),rq(o.a,r),zHn(this,o,c,r,!0)))},aZn.zg=function(n){return n.i.n.b+n.n.b+n.a.b},aZn.Ag=function(){return $Qn(),mRt},aZn.Bg=function(){return $Qn(),_Rt},qV(A9n,"WestToEastRoutingStrategy",1869),oxn(828,1,{},Eqn),aZn.Ib=function(){return pOn(this.a)},aZn.b=0,aZn.c=!1,aZn.d=!1,aZn.f=0,qV(N9n,"NubSpline",828),oxn(418,1,{418:1},wKn,x1),qV(N9n,"NubSpline/PolarCP",418),oxn(1480,1,v9n,qMn),aZn.rg=function(n){return FPn(aU(n,36))},aZn.Kf=function(n,t){MJn(this,aU(n,36),t)},qV(N9n,"SplineEdgeRouter",1480),oxn(274,1,{274:1},C7),aZn.Ib=function(){return this.a+" ->("+this.c+") "+this.b},aZn.c=0,qV(N9n,"SplineEdgeRouter/Dependency",274),oxn(465,22,{3:1,34:1,22:1,465:1},UO);var USt,qSt,zSt,WSt,XSt,VSt=_cn(N9n,"SplineEdgeRouter/SideToProcess",465,Cat,j1,OG);oxn(1481,1,v1n,va),aZn.Mb=function(n){return aKn(),!aU(n,131).o},qV(N9n,"SplineEdgeRouter/lambda$0$Type",1481),oxn(1482,1,{},ya),aZn.Ze=function(n){return aKn(),aU(n,131).v+1},qV(N9n,"SplineEdgeRouter/lambda$1$Type",1482),oxn(1483,1,XZn,KO),aZn.Cd=function(n){vq(this.a,this.b,aU(n,42))},qV(N9n,"SplineEdgeRouter/lambda$2$Type",1483),oxn(1484,1,XZn,FO),aZn.Cd=function(n){yq(this.a,this.b,aU(n,42))},qV(N9n,"SplineEdgeRouter/lambda$3$Type",1484),oxn(131,1,{34:1,131:1},BAn,PWn),aZn.Fd=function(n){return AM(this,aU(n,131))},aZn.b=0,aZn.e=!1,aZn.f=0,aZn.g=0,aZn.j=!1,aZn.k=!1,aZn.n=0,aZn.o=!1,aZn.p=!1,aZn.q=!1,aZn.s=0,aZn.u=0,aZn.v=0,aZn.F=0,qV(N9n,"SplineSegment",131),oxn(468,1,{468:1},ka),aZn.a=0,aZn.b=!1,aZn.c=!1,aZn.d=!1,aZn.e=!1,aZn.f=0,qV(N9n,"SplineSegment/EdgeInformation",468),oxn(1198,1,{},Ea),qV(_9n,H3n,1198),oxn(1199,1,f2n,Ma),aZn.Ne=function(n,t){return vNn(aU(n,121),aU(t,121))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(_9n,U3n,1199),oxn(1197,1,{},Gj),qV(_9n,"MrTree",1197),oxn(405,22,{3:1,34:1,22:1,405:1,188:1,196:1},qO),aZn.dg=function(){return kNn(this)},aZn.qg=function(){return kNn(this)};var QSt,JSt=_cn(_9n,"TreeLayoutPhases",405,Cat,t5,IG);oxn(1112,205,y3n,RK),aZn.rf=function(n,t){var e,i,r,c,a,o,u;for(cE(d_(qxn(n,(XUn(),dCt))))||V1(new jw((pP(),new zk(n)))),(c=t.eh(K9n)).Ug("build tGraph",1),qsn(o=new I7,n),mfn(o,(CQn(),xPt),n),EHn(n,o,u=new Qm),nUn(n,o,u),a=o,c.Vg(),(c=t.eh(K9n)).Ug("Split graph",1),r=OHn(this.a,a),c.Vg(),i=new Wd(r);i.a"+z3(this.c):"e_"+Fon(this)},qV(B9n,"TEdge",65),oxn(121,137,{3:1,121:1,96:1,137:1},I7),aZn.Ib=function(){var n,t,e,i,r;for(r=null,i=Ryn(this.b,0);i.b!=i.d.c;)r+=(null==(e=aU(P6(i),40)).c||0==e.c.length?"n_"+e.g:"n_"+e.c)+"\n";for(t=Ryn(this.a,0);t.b!=t.d.c;)r+=((n=aU(P6(t),65)).b&&n.c?z3(n.b)+"->"+z3(n.c):"e_"+Fon(n))+"\n";return r};var YSt=qV(B9n,"TGraph",121);oxn(643,508,{3:1,508:1,643:1,96:1,137:1}),qV(B9n,"TShape",643),oxn(40,643,{3:1,508:1,40:1,643:1,96:1,137:1},lln),aZn.Ib=function(){return z3(this)};var ZSt,nPt,tPt,ePt,iPt,rPt,cPt,aPt,oPt,uPt,sPt,hPt=qV(B9n,"TNode",40);oxn(236,1,ZZn,yp),aZn.Jc=function(n){q8(this,n)},aZn.Kc=function(){return new kp(Ryn(this.a.d,0))},qV(B9n,"TNode/2",236),oxn(329,1,LZn,kp),aZn.Nb=function(n){jX(this,n)},aZn.Pb=function(){return aU(P6(this.a),65).c},aZn.Ob=function(){return Vj(this.a)},aZn.Qb=function(){vrn(this.a)},qV(B9n,"TNode/2/1",329),oxn(1923,1,X4n,Ia),aZn.Kf=function(n,t){jYn(this,aU(n,121),t)},qV(H9n,"CompactionProcessor",1923),oxn(1924,1,f2n,Ep),aZn.Ne=function(n,t){return msn(this.a,aU(n,40),aU(t,40))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(H9n,"CompactionProcessor/lambda$0$Type",1924),oxn(1925,1,v1n,GO),aZn.Mb=function(n){return DZ(this.b,this.a,aU(n,42))},aZn.a=0,aZn.b=0,qV(H9n,"CompactionProcessor/lambda$1$Type",1925),oxn(1934,1,f2n,Aa),aZn.Ne=function(n,t){return pV(aU(n,40),aU(t,40))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(H9n,"CompactionProcessor/lambda$10$Type",1934),oxn(1935,1,f2n,La),aZn.Ne=function(n,t){return $$(aU(n,40),aU(t,40))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(H9n,"CompactionProcessor/lambda$11$Type",1935),oxn(1936,1,f2n,Na),aZn.Ne=function(n,t){return mV(aU(n,40),aU(t,40))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(H9n,"CompactionProcessor/lambda$12$Type",1936),oxn(1926,1,v1n,Mp),aZn.Mb=function(n){return ux(this.a,aU(n,42))},aZn.a=0,qV(H9n,"CompactionProcessor/lambda$2$Type",1926),oxn(1927,1,v1n,jp),aZn.Mb=function(n){return sx(this.a,aU(n,42))},aZn.a=0,qV(H9n,"CompactionProcessor/lambda$3$Type",1927),oxn(1928,1,v1n,Da),aZn.Mb=function(n){return-1==aU(n,40).c.indexOf(F9n)},qV(H9n,"CompactionProcessor/lambda$4$Type",1928),oxn(1929,1,{},Tp),aZn.Kb=function(n){return r6(this.a,aU(n,40))},aZn.a=0,qV(H9n,"CompactionProcessor/lambda$5$Type",1929),oxn(1930,1,{},Sp),aZn.Kb=function(n){return een(this.a,aU(n,40))},aZn.a=0,qV(H9n,"CompactionProcessor/lambda$6$Type",1930),oxn(1931,1,f2n,Pp),aZn.Ne=function(n,t){return G9(this.a,aU(n,240),aU(t,240))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(H9n,"CompactionProcessor/lambda$7$Type",1931),oxn(1932,1,f2n,Cp),aZn.Ne=function(n,t){return H9(this.a,aU(n,40),aU(t,40))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(H9n,"CompactionProcessor/lambda$8$Type",1932),oxn(1933,1,f2n,xa),aZn.Ne=function(n,t){return R$(aU(n,40),aU(t,40))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(H9n,"CompactionProcessor/lambda$9$Type",1933),oxn(1921,1,X4n,$a),aZn.Kf=function(n,t){iBn(aU(n,121),t)},qV(H9n,"DirectionProcessor",1921),oxn(1913,1,X4n,$K),aZn.Kf=function(n,t){VHn(this,aU(n,121),t)},qV(H9n,"FanProcessor",1913),oxn(1937,1,X4n,Ra),aZn.Kf=function(n,t){AFn(aU(n,121),t)},qV(H9n,"GraphBoundsProcessor",1937),oxn(1938,1,{},_a),aZn.Ye=function(n){return aU(n,40).e.a},qV(H9n,"GraphBoundsProcessor/lambda$0$Type",1938),oxn(1939,1,{},Ka),aZn.Ye=function(n){return aU(n,40).e.b},qV(H9n,"GraphBoundsProcessor/lambda$1$Type",1939),oxn(1940,1,{},Fa),aZn.Ye=function(n){return hP(aU(n,40))},qV(H9n,"GraphBoundsProcessor/lambda$2$Type",1940),oxn(1941,1,{},Ba),aZn.Ye=function(n){return sP(aU(n,40))},qV(H9n,"GraphBoundsProcessor/lambda$3$Type",1941),oxn(262,22,{3:1,34:1,22:1,262:1,196:1},zO),aZn.dg=function(){switch(this.g){case 0:return new ok;case 1:return new $K;case 2:return new ak;case 3:return new za;case 4:return new Ha;case 8:return new Ga;case 5:return new $a;case 6:return new Xa;case 7:return new Ia;case 9:return new Ra;case 10:return new Va;default:throw uv(new pE(p6n+(null!=this.f?this.f:""+this.g)))}};var fPt,lPt,bPt,dPt,wPt=_cn(H9n,m6n,262,Cat,asn,AG);oxn(1920,1,X4n,Ga),aZn.Kf=function(n,t){DQn(aU(n,121),t)},qV(H9n,"LevelCoordinatesProcessor",1920),oxn(1918,1,X4n,Ha),aZn.Kf=function(n,t){JRn(this,aU(n,121),t)},aZn.a=0,qV(H9n,"LevelHeightProcessor",1918),oxn(1919,1,ZZn,Ua),aZn.Jc=function(n){q8(this,n)},aZn.Kc=function(){return uZ(),lS(),Xot},qV(H9n,"LevelHeightProcessor/1",1919),oxn(1914,1,X4n,ak),aZn.Kf=function(n,t){dFn(this,aU(n,121),t)},qV(H9n,"LevelProcessor",1914),oxn(1915,1,v1n,qa),aZn.Mb=function(n){return cE(d_(cOn(aU(n,40),(CQn(),BPt))))},qV(H9n,"LevelProcessor/lambda$0$Type",1915),oxn(1916,1,X4n,za),aZn.Kf=function(n,t){NAn(this,aU(n,121),t)},aZn.a=0,qV(H9n,"NeighborsProcessor",1916),oxn(1917,1,ZZn,Wa),aZn.Jc=function(n){q8(this,n)},aZn.Kc=function(){return uZ(),lS(),Xot},qV(H9n,"NeighborsProcessor/1",1917),oxn(1922,1,X4n,Xa),aZn.Kf=function(n,t){XHn(this,aU(n,121),t)},aZn.a=0,qV(H9n,"NodePositionProcessor",1922),oxn(1912,1,X4n,ok),aZn.Kf=function(n,t){MWn(this,aU(n,121),t)},qV(H9n,"RootProcessor",1912),oxn(1942,1,X4n,Va),aZn.Kf=function(n,t){Wkn(aU(n,121),t)},qV(H9n,"Untreeifyer",1942),oxn(392,22,{3:1,34:1,22:1,392:1},WO);var gPt,pPt,mPt,vPt,yPt,kPt,EPt,MPt,jPt,TPt,SPt,PPt,CPt,OPt,IPt,APt,LPt,NPt,DPt,xPt,$Pt,RPt,_Pt,KPt,FPt,BPt,GPt,HPt,UPt,qPt,zPt,WPt,XPt,VPt,QPt,JPt,YPt,ZPt,nCt,tCt,eCt,iCt,rCt,cCt,aCt,oCt,uCt,sCt,hCt,fCt,lCt,bCt,dCt,wCt,gCt,pCt,mCt,vCt,yCt,kCt,ECt,MCt,jCt,TCt,SCt,PCt,CCt,OCt,ICt,ACt,LCt,NCt,DCt,xCt=_cn(W9n,"EdgeRoutingMode",392,Cat,Z2,LG);oxn(862,1,$2n,pl),aZn.hf=function(n){Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,V9n),""),e7n),"Turns on Tree compaction which decreases the size of the whole tree by placing nodes of multiple levels in one large level"),(H$(),!1)),(hAn(),lNt)),iot),dgn((xyn(),uNt))))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,Q9n),""),"Edge End Texture Length"),"Should be set to the length of the texture at the end of an edge. This value can be used to improve the Edge Routing."),7),bNt),sot),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,J9n),""),"Tree Level"),"The index for the tree level the node is in"),Ddn(0)),gNt),bot),dgn(oNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,Y9n),""),e7n),"When set to a positive number this option will force the algorithm to place the node to the specified position within the trees layer if weighting is set to constraint"),Ddn(-1)),gNt),bot),dgn(oNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,Z9n),""),"Weighting of Nodes"),"Which weighting to use when computing a node order."),ZPt),dNt),KCt),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,n7n),""),"Edge Routing Mode"),"Chooses an Edge Routing algorithm."),WPt),dNt),xCt),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,t7n),""),"Search Order"),"Which search order to use when computing a spanning tree."),QPt),dNt),XCt),dgn(uNt)))),vJn((new yl,n))},qV(W9n,"MrTreeMetaDataProvider",862),oxn(1006,1,$2n,yl),aZn.hf=function(n){vJn(n)},qV(W9n,"MrTreeOptions",1006),oxn(1007,1,{},Qa),aZn.sf=function(){return new RK},aZn.tf=function(n){},qV(W9n,"MrTreeOptions/MrtreeFactory",1007),oxn(353,22,{3:1,34:1,22:1,353:1},XO);var $Ct,RCt,_Ct,KCt=_cn(W9n,"OrderWeighting",353,Cat,e5,NG);oxn(433,22,{3:1,34:1,22:1,433:1},VO);var FCt,BCt,GCt,HCt,UCt,qCt,zCt,WCt,XCt=_cn(W9n,"TreeifyingOrder",433,Cat,E1,DG);oxn(1486,1,v9n,kl),aZn.rg=function(n){return aU(n,121),BCt},aZn.Kf=function(n,t){Lun(this,aU(n,121),t)},qV("org.eclipse.elk.alg.mrtree.p1treeify","DFSTreeifyer",1486),oxn(1487,1,v9n,El),aZn.rg=function(n){return aU(n,121),GCt},aZn.Kf=function(n,t){MFn(this,aU(n,121),t)},qV(a7n,"NodeOrderer",1487),oxn(1494,1,{},lo),aZn.td=function(n){return Aq(n)},qV(a7n,"NodeOrderer/0methodref$lambda$6$Type",1494),oxn(1488,1,v1n,bo),aZn.Mb=function(n){return Yrn(),cE(d_(cOn(aU(n,40),(CQn(),BPt))))},qV(a7n,"NodeOrderer/lambda$0$Type",1488),oxn(1489,1,v1n,wo),aZn.Mb=function(n){return Yrn(),aU(cOn(aU(n,40),(XUn(),mCt)),17).a<0},qV(a7n,"NodeOrderer/lambda$1$Type",1489),oxn(1490,1,v1n,Ip),aZn.Mb=function(n){return _an(this.a,aU(n,40))},qV(a7n,"NodeOrderer/lambda$2$Type",1490),oxn(1491,1,v1n,Op),aZn.Mb=function(n){return s6(this.a,aU(n,40))},qV(a7n,"NodeOrderer/lambda$3$Type",1491),oxn(1492,1,f2n,go),aZn.Ne=function(n,t){return srn(aU(n,40),aU(t,40))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(a7n,"NodeOrderer/lambda$4$Type",1492),oxn(1493,1,v1n,po),aZn.Mb=function(n){return Yrn(),0!=aU(cOn(aU(n,40),(CQn(),MPt)),17).a},qV(a7n,"NodeOrderer/lambda$5$Type",1493),oxn(1495,1,v9n,vl),aZn.rg=function(n){return aU(n,121),HCt},aZn.Kf=function(n,t){iHn(this,aU(n,121),t)},aZn.b=0,qV("org.eclipse.elk.alg.mrtree.p3place","NodePlacer",1495),oxn(1496,1,v9n,ml),aZn.rg=function(n){return aU(n,121),UCt},aZn.Kf=function(n,t){dGn(aU(n,121),t)},qV(o7n,"EdgeRouter",1496),oxn(1498,1,f2n,fo),aZn.Ne=function(n,t){return bD(aU(n,17).a,aU(t,17).a)},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(o7n,"EdgeRouter/0methodref$compare$Type",1498),oxn(1503,1,{},Ya),aZn.Ye=function(n){return aE(w_(n))},qV(o7n,"EdgeRouter/1methodref$doubleValue$Type",1503),oxn(1505,1,f2n,Za),aZn.Ne=function(n,t){return agn(aE(w_(n)),aE(w_(t)))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(o7n,"EdgeRouter/2methodref$compare$Type",1505),oxn(1507,1,f2n,no),aZn.Ne=function(n,t){return agn(aE(w_(n)),aE(w_(t)))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(o7n,"EdgeRouter/3methodref$compare$Type",1507),oxn(1509,1,{},Ja),aZn.Ye=function(n){return aE(w_(n))},qV(o7n,"EdgeRouter/4methodref$doubleValue$Type",1509),oxn(1511,1,f2n,to),aZn.Ne=function(n,t){return agn(aE(w_(n)),aE(w_(t)))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(o7n,"EdgeRouter/5methodref$compare$Type",1511),oxn(1513,1,f2n,eo),aZn.Ne=function(n,t){return agn(aE(w_(n)),aE(w_(t)))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(o7n,"EdgeRouter/6methodref$compare$Type",1513),oxn(1497,1,{},io),aZn.Kb=function(n){return Zrn(),aU(cOn(aU(n,40),(XUn(),OCt)),17)},qV(o7n,"EdgeRouter/lambda$0$Type",1497),oxn(1508,1,{},ro),aZn.Kb=function(n){return SR(aU(n,40))},qV(o7n,"EdgeRouter/lambda$11$Type",1508),oxn(1510,1,{},bI),aZn.Kb=function(n){return pq(this.b,this.a,aU(n,40))},aZn.a=0,aZn.b=0,qV(o7n,"EdgeRouter/lambda$13$Type",1510),oxn(1512,1,{},dI),aZn.Kb=function(n){return PR(this.b,this.a,aU(n,40))},aZn.a=0,aZn.b=0,qV(o7n,"EdgeRouter/lambda$15$Type",1512),oxn(1514,1,f2n,co),aZn.Ne=function(n,t){return Gyn(aU(n,65),aU(t,65))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(o7n,"EdgeRouter/lambda$17$Type",1514),oxn(1515,1,f2n,ao),aZn.Ne=function(n,t){return Hyn(aU(n,65),aU(t,65))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(o7n,"EdgeRouter/lambda$18$Type",1515),oxn(1516,1,f2n,oo),aZn.Ne=function(n,t){return qyn(aU(n,65),aU(t,65))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(o7n,"EdgeRouter/lambda$19$Type",1516),oxn(1499,1,v1n,Ap),aZn.Mb=function(n){return Y1(this.a,aU(n,40))},aZn.a=0,qV(o7n,"EdgeRouter/lambda$2$Type",1499),oxn(1517,1,f2n,uo),aZn.Ne=function(n,t){return Uyn(aU(n,65),aU(t,65))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(o7n,"EdgeRouter/lambda$20$Type",1517),oxn(1500,1,f2n,so),aZn.Ne=function(n,t){return kU(aU(n,40),aU(t,40))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(o7n,"EdgeRouter/lambda$3$Type",1500),oxn(1501,1,f2n,ho),aZn.Ne=function(n,t){return EU(aU(n,40),aU(t,40))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(o7n,"EdgeRouter/lambda$4$Type",1501),oxn(1502,1,{},mo),aZn.Kb=function(n){return CR(aU(n,40))},qV(o7n,"EdgeRouter/lambda$5$Type",1502),oxn(1504,1,{},wI),aZn.Kb=function(n){return mq(this.b,this.a,aU(n,40))},aZn.a=0,aZn.b=0,qV(o7n,"EdgeRouter/lambda$7$Type",1504),oxn(1506,1,{},gI),aZn.Kb=function(n){return OR(this.b,this.a,aU(n,40))},aZn.a=0,aZn.b=0,qV(o7n,"EdgeRouter/lambda$9$Type",1506),oxn(675,1,{675:1},lMn),aZn.e=0,aZn.f=!1,aZn.g=!1,qV(o7n,"MultiLevelEdgeNodeNodeGap",675),oxn(1943,1,f2n,vo),aZn.Ne=function(n,t){return h2(aU(n,240),aU(t,240))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(o7n,"MultiLevelEdgeNodeNodeGap/lambda$0$Type",1943),oxn(1944,1,f2n,yo),aZn.Ne=function(n,t){return f2(aU(n,240),aU(t,240))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(o7n,"MultiLevelEdgeNodeNodeGap/lambda$1$Type",1944),oxn(501,22,{3:1,34:1,22:1,501:1,188:1,196:1},QO),aZn.dg=function(){return Rpn(this)},aZn.qg=function(){return Rpn(this)};var VCt,QCt,JCt,YCt,ZCt,nOt,tOt=_cn(u7n,"RadialLayoutPhases",501,Cat,w1,xG);oxn(1113,205,y3n,Bj),aZn.rf=function(n,t){var e,i,r,c;if(e=__n(this,n),t.Ug("Radial layout",e.c.length),cE(d_(qxn(n,(EIn(),xOt))))||V1(new jw((pP(),new zk(n)))),c=UPn(n),ykn(n,(j_(),qCt),c),!c)throw uv(new pE("The given graph is not a tree!"));for(0==(i=aE(w_(qxn(n,FOt))))&&(i=ZLn(n)),ykn(n,FOt,i),r=new Wd(__n(this,n));r.a=3)for(v=aU(qrn(p,0),27),y=aU(qrn(p,1),27),r=0;r+2=v.f+y.f+u||y.f>=m.f+v.f+u){k=!0;break}++r}else k=!0;if(!k){for(h=p.i,c=new Nx(p);c.e!=c.i.gc();)ykn(aU(Jyn(c),27),(UYn(),pxt),Ddn(h)),--h;return UUn(n,new sk),void e.Vg()}for(_J(this.a),VX(this.a,(Vmn(),cIt),aU(qxn(n,gAt),188)),VX(this.a,aIt,aU(qxn(n,oAt),188)),VX(this.a,oIt,aU(qxn(n,bAt),188)),JL(this.a,(Oq(M=new lJ,cIt,(Jkn(),lIt)),Oq(M,aIt,fIt),cE(d_(qxn(n,QIt)))&&Oq(M,cIt,hIt),M)),o=1/(i=XWn(this.a,n)).c.length,l=new Wd(i);l.a0&&Xbn((o3(t-1,n.length),n.charCodeAt(t-1)),i6n);)--t;if(e>=t)throw uv(new pE("The given string does not contain any numbers."));if(2!=(i=WUn(($nn(e,t,n.length),n.substr(e,t-e)),",|;|\r|\n")).length)throw uv(new pE("Exactly two numbers are expected, "+i.length+" were found."));try{this.a=QOn($An(i[0])),this.b=QOn($An(i[1]))}catch(n){throw RD(n=Mhn(n),130)?uv(new pE(r6n+n)):uv(n)}},aZn.Ib=function(){return"("+this.a+","+this.b+")"},aZn.a=0,aZn.b=0;var TNt=qV(c6n,"KVector",8);oxn(75,67,{3:1,4:1,20:1,31:1,56:1,16:1,67:1,15:1,75:1,423:1},By,ZM,BR),aZn.Pc=function(){return tbn(this)},aZn.cg=function(n){var t,e,i,r,c;e=WUn(n,",|;|\\(|\\)|\\[|\\]|\\{|\\}| |\t|\n"),KY(this);try{for(t=0,r=0,i=0,c=0;t0&&(r%2==0?i=QOn(e[t]):c=QOn(e[t]),r>0&&r%2!=0&&rq(this,new yI(i,c)),++r),++t}catch(n){throw RD(n=Mhn(n),130)?uv(new pE("The given string does not match the expected format for vectors."+n)):uv(n)}},aZn.Ib=function(){var n,t,e;for(n=new h$("("),t=Ryn(this,0);t.b!=t.d.c;)VA(n,(e=aU(P6(t),8)).a+","+e.b),t.b!=t.d.c&&(n.a+="; ");return(n.a+=")",n).a};var SNt,PNt,CNt,ONt,INt,ANt,LNt=qV(c6n,"KVectorChain",75);oxn(255,22,{3:1,34:1,22:1,255:1},kI);var NNt,DNt,xNt,$Nt,RNt,_Nt,KNt,FNt,BNt,GNt,HNt,UNt,qNt,zNt,WNt,XNt,VNt,QNt,JNt,YNt=_cn(Bnt,"Alignment",255,Cat,Qnn,cH);oxn(991,1,$2n,Ll),aZn.hf=function(n){QHn(n)},qV(Bnt,"BoxLayouterOptions",991),oxn(992,1,{},Ru),aZn.sf=function(){return new Fu},aZn.tf=function(n){},qV(Bnt,"BoxLayouterOptions/BoxFactory",992),oxn(298,22,{3:1,34:1,22:1,298:1},jI);var ZNt,nDt,tDt,eDt,iDt,rDt,cDt,aDt,oDt,uDt,sDt,hDt,fDt,lDt,bDt,dDt,wDt,gDt,pDt,mDt,vDt,yDt,kDt,EDt,MDt,jDt,TDt,SDt,PDt,CDt,ODt,IDt,ADt,LDt,NDt,DDt,xDt,$Dt,RDt,_Dt,KDt,FDt,BDt,GDt,HDt,UDt,qDt,zDt,WDt,XDt,VDt,QDt,JDt,YDt,ZDt,nxt,txt,ext,ixt,rxt,cxt,axt,oxt,uxt,sxt,hxt,fxt,lxt,bxt,dxt,wxt,gxt,pxt,mxt,vxt,yxt,kxt,Ext,Mxt,jxt,Txt,Sxt,Pxt,Cxt,Oxt,Ixt,Axt,Lxt,Nxt,Dxt,xxt,$xt,Rxt,_xt,Kxt,Fxt,Bxt,Gxt,Hxt,Uxt,qxt,zxt,Wxt,Xxt,Vxt,Qxt,Jxt,Yxt,Zxt=_cn(Bnt,"ContentAlignment",298,Cat,Jnn,aH);oxn(699,1,$2n,Nl),aZn.hf=function(n){Jgn(n,new ZIn(VM(XM(QM(GM(WM(UM(qM(new $u,znt),""),"Layout Algorithm"),"Select a specific layout algorithm."),(hAn(),mNt)),Lot),dgn((xyn(),uNt))))),Jgn(n,new ZIn(VM(XM(QM(GM(WM(UM(qM(new $u,Wnt),""),"Resolved Layout Algorithm"),"Meta data associated with the selected algorithm."),pNt),rNt),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,U8n),""),"Alignment"),"Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm."),eDt),dNt),YNt),dgn(oNt)))),Jgn(n,new ZIn(VM(XM(QM(GM(WM(UM(qM(new $u,x3n),""),"Aspect Ratio"),"The desired aspect ratio of the drawing, that is the quotient of width by height."),bNt),sot),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(GM(WM(UM(qM(new $u,Xnt),""),"Bend Points"),"A fixed list of bend points for the edge. This is used by the 'Fixed Layout' algorithm to specify a pre-defined routing for an edge. The vector chain must include the source point, any bend points, and the target point, so it must have at least two points."),pNt),LNt),dgn(cNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,e9n),""),"Content Alignment"),"Specifies how the content of a node are aligned. Each node can individually control the alignment of its contents. I.e. if a node should be aligned top left in its parent node, the parent node should specify that option."),fDt),wNt),Zxt),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,H8n),""),"Debug Mode"),"Whether additional debug information shall be generated."),(H$(),!1)),lNt),iot),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,W8n),""),h3n),"Overall direction of edges: horizontal (right / left) or vertical (down / up)."),dDt),dNt),r$t),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,g8n),""),"Edge Routing"),"What kind of edge routing style should be applied for the content of a parent node. Algorithms may also set this option to single edges in order to mark them as splines. The bend point list of edges with this option set to SPLINES must be interpreted as control points for a piecewise cubic spline."),vDt),dNt),m$t),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,Unt),""),"Expand Nodes"),"If active, nodes are expanded to fill the area of their parent."),!1),lNt),iot),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,f8n),""),"Hierarchy Handling"),"Determines whether separate layout runs are triggered for different compound nodes in a hierarchical graph. Setting a node's hierarchy handling to `INCLUDE_CHILDREN` will lay out that node and all of its descendants in a single layout run, until a descendant is encountered which has its hierarchy handling set to `SEPARATE_CHILDREN`. In general, `SEPARATE_CHILDREN` will ensure that a new layout run is triggered for a node with that setting. Including multiple levels of hierarchy in a single layout run may allow cross-hierarchical edges to be laid out properly. If the root node is set to `INHERIT` (or not set at all), the default behavior is `SEPARATE_CHILDREN`."),jDt),dNt),$$t),Wz(uNt,Bhn(iM(yNt,1),w1n,170,0,[oNt]))))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,$3n),""),"Padding"),"The padding to be left to a parent element's border when placing child elements. This can also serve as an output option of a layout algorithm if node size calculation is setup appropriately."),XDt),pNt),jbt),Wz(uNt,Bhn(iM(yNt,1),w1n,170,0,[oNt]))))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,s4n),""),"Interactive"),"Whether the algorithm should be run in interactive mode for the content of a parent node. What this means exactly depends on how the specific algorithm interprets this option. Usually in the interactive mode algorithms try to modify the current layout as little as possible."),!1),lNt),iot),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,d9n),""),"interactive Layout"),"Whether the graph should be changeable interactively and by setting constraints"),!1),lNt),iot),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,l4n),""),"Omit Node Micro Layout"),"Node micro layout comprises the computation of node dimensions (if requested), the placement of ports and their labels, and the placement of node labels. The functionality is implemented independent of any specific layout algorithm and shouldn't have any negative impact on the layout algorithm's performance itself. Yet, if any unforeseen behavior occurs, this option allows to deactivate the micro layout."),!1),lNt),iot),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,h4n),""),"Port Constraints"),"Defines constraints of the position of the ports of a node."),uxt),dNt),gRt),dgn(oNt)))),Jgn(n,new ZIn(VM(XM(QM(GM(WM(UM(qM(new $u,f9n),""),"Position"),"The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position."),pNt),TNt),Wz(oNt,Bhn(iM(yNt,1),w1n,170,0,[sNt,aNt]))))),Jgn(n,new ZIn(VM(XM(QM(GM(WM(UM(qM(new $u,r4n),""),"Priority"),"Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used."),gNt),bot),Wz(oNt,Bhn(iM(yNt,1),w1n,170,0,[cNt]))))),Jgn(n,new ZIn(VM(XM(QM(GM(WM(UM(qM(new $u,o4n),""),"Randomization Seed"),"Seed used for pseudo-random number generators to control the layout algorithm. If the value is 0, the seed shall be determined pseudo-randomly (e.g. from the system time)."),gNt),bot),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(GM(WM(UM(qM(new $u,u4n),""),"Separate Connected Components"),"Whether each connected component should be processed separately."),lNt),iot),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,i9n),""),"Junction Points"),"This option is not used as option, but as output of the layout algorithms. It is attached to edges and determines the points where junction symbols should be drawn in order to represent hyperedges with orthogonal routing. Whether such points are computed depends on the chosen layout algorithm and edge routing style. The points are put into the vector chain with no specific order."),ADt),pNt),LNt),dgn(cNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,a9n),""),"Comment Box"),"Whether the node should be regarded as a comment box instead of a regular node. In that case its placement should be similar to how labels are handled. Any edges incident to a comment box specify to which graph elements the comment is related."),!1),lNt),iot),dgn(oNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,o9n),""),"Hypernode"),"Whether the node should be handled as a hypernode."),!1),lNt),iot),dgn(oNt)))),Jgn(n,new ZIn(VM(XM(QM(GM(WM(UM(qM(new $u,Vnt),""),"Label Manager"),"Label managers can shorten labels upon a layout algorithm's request."),pNt),eHt),Wz(uNt,Bhn(iM(yNt,1),w1n,170,0,[aNt]))))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,l9n),""),"Margins"),"Margins define additional space around the actual bounds of a graph element. For instance, ports or labels being placed on the outside of a node's border might introduce such a margin. The margin is used to guarantee non-overlap of other graph elements with those ports or labels."),NDt),pNt),ubt),dgn(oNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,B8n),""),"No Layout"),"No layout is done for the associated element. This is used to mark parts of a diagram to avoid their inclusion in the layout graph, or to mark parts of the layout graph to prevent layout engines from processing them. If you wish to exclude the contents of a compound node from automatic layout, while the node itself is still considered on its own layer, use the 'Fixed Layout' algorithm for that node."),!1),lNt),iot),Wz(oNt,Bhn(iM(yNt,1),w1n,170,0,[cNt,sNt,aNt]))))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,Qnt),""),"Scale Factor"),"The scaling factor to be applied to the corresponding node in recursive layout. It causes the corresponding node's size to be adjusted, and its ports and labels to be sized and placed accordingly after the layout of that node has been determined (and before the node itself and its siblings are arranged). The scaling is not reverted afterwards, so the resulting layout graph contains the adjusted size and position data. This option is currently not supported if 'Layout Hierarchy' is set."),1),bNt),sot),dgn(oNt)))),Jgn(n,new ZIn(VM(XM(QM(GM(WM(UM(qM(new $u,Jnt),""),"Child Area Width"),"The width of the area occupied by the laid out children of a node."),bNt),sot),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(GM(WM(UM(qM(new $u,Ynt),""),"Child Area Height"),"The height of the area occupied by the laid out children of a node."),bNt),sot),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,m4n),""),Int),"Turns topdown layout on and off. If this option is enabled, hierarchical layout will be computed first for the root node and then for its children recursively. Layouts are then scaled down to fit the area provided by their parents. Graphs must follow a certain structure for topdown layout to work properly. {@link TopdownNodeTypes.PARALLEL_NODE} nodes must have children of type {@link TopdownNodeTypes.HIERARCHICAL_NODE} and must define {@link topdown.hierarchicalNodeWidth} and {@link topdown.hierarchicalNodeAspectRatio} for their children. Furthermore they need to be laid out using an algorithm that is a {@link TopdownLayoutProvider}. Hierarchical nodes can also be parents of other hierarchical nodes and can optionally use a {@link TopdownSizeApproximator} to dynamically set sizes during topdown layout. In this case {@link topdown.hierarchicalNodeWidth} and {@link topdown.hierarchicalNodeAspectRatio} should be set on the node itself rather than the parent. The values are then used by the size approximator as base values. Hierarchical nodes require the layout option {@link nodeSize.fixedGraphSize} to be true to prevent the algorithm used there from resizing the hierarchical node. This option is not supported if 'Hierarchy Handling' is set to 'INCLUDE_CHILDREN'"),!1),lNt),iot),dgn(uNt)))),F4(n,m4n,E4n,null),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,Znt),""),"Animate"),"Whether the shift from the old layout to the new computed layout shall be animated."),!0),lNt),iot),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,ntt),""),"Animation Time Factor"),"Factor for computation of animation time. The higher the value, the longer the animation time. If the value is 0, the resulting time is always equal to the minimum defined by 'Minimal Animation Time'."),Ddn(100)),gNt),bot),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,ttt),""),"Layout Ancestors"),"Whether the hierarchy levels on the path from the selected element to the root of the diagram shall be included in the layout process."),!1),lNt),iot),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,ett),""),"Maximal Animation Time"),"The maximal time for animations, in milliseconds."),Ddn(4e3)),gNt),bot),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,itt),""),"Minimal Animation Time"),"The minimal time for animations, in milliseconds."),Ddn(400)),gNt),bot),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,rtt),""),"Progress Bar"),"Whether a progress bar shall be displayed during layout computations."),!1),lNt),iot),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,ctt),""),"Validate Graph"),"Whether the graph shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user."),!1),lNt),iot),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,att),""),"Validate Options"),"Whether layout options shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user."),!0),lNt),iot),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,ott),""),"Zoom to Fit"),"Whether the zoom level shall be set to view the whole diagram after layout."),!1),lNt),iot),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,qnt),"box"),"Box Layout Mode"),"Configures the packing mode used by the {@link BoxLayoutProvider}. If SIMPLE is not required (neither priorities are used nor the interactive mode), GROUP_DEC can improve the packing and decrease the area. GROUP_MIXED and GROUP_INC may, in very specific scenarios, work better."),aDt),dNt),j_t),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,O8n),p8n),"Comment Comment Spacing"),"Spacing to be preserved between a comment box and other comment boxes connected to the same node. The space left between comment boxes of different nodes is controlled by the node-node spacing."),10),bNt),sot),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,I8n),p8n),"Comment Node Spacing"),"Spacing to be preserved between a node and its connected comment boxes. The space left between a node and the comments of another node is controlled by the node-node spacing."),10),bNt),sot),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,N3n),p8n),"Components Spacing"),"Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated."),20),bNt),sot),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,A8n),p8n),"Edge Spacing"),"Spacing to be preserved between any two edges. Note that while this can somewhat easily be satisfied for the segments of orthogonally drawn edges, it is harder for general polylines or splines."),10),bNt),sot),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,a4n),p8n),"Edge Label Spacing"),"The minimal distance to be preserved between a label and the edge it is associated with. Note that the placement of a label is influenced by the 'edgelabels.placement' option."),2),bNt),sot),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,L8n),p8n),"Edge Node Spacing"),"Spacing to be preserved between nodes and edges."),10),bNt),sot),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,N8n),p8n),"Label Spacing"),"Determines the amount of space to be left between two labels of the same graph element."),0),bNt),sot),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,$8n),p8n),"Label Node Spacing"),"Spacing to be preserved between labels and the border of node they are associated with. Note that the placement of a label is influenced by the 'nodelabels.placement' option."),5),bNt),sot),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,D8n),p8n),"Horizontal spacing between Label and Port"),"Horizontal spacing to be preserved between labels and the ports they are associated with. Note that the placement of a label is influenced by the 'portlabels.placement' option."),1),bNt),sot),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,x8n),p8n),"Vertical spacing between Label and Port"),"Vertical spacing to be preserved between labels and the ports they are associated with. Note that the placement of a label is influenced by the 'portlabels.placement' option."),1),bNt),sot),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,c4n),p8n),"Node Spacing"),"The minimal distance to be preserved between each two nodes."),20),bNt),sot),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,R8n),p8n),"Node Self Loop Spacing"),"Spacing to be preserved between a node and its self loops."),10),bNt),sot),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,_8n),p8n),"Port Spacing"),"Spacing between pairs of ports of the same node."),10),bNt),sot),Wz(uNt,Bhn(iM(yNt,1),w1n,170,0,[oNt]))))),Jgn(n,new ZIn(VM(XM(QM(GM(WM(UM(qM(new $u,K8n),p8n),"Individual Spacing"),"Allows to specify individual spacing values for graph elements that shall be different from the value specified for the element's parent."),pNt),O_t),Wz(oNt,Bhn(iM(yNt,1),w1n,170,0,[cNt,sNt,aNt]))))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,b9n),p8n),"Additional Port Space"),"Additional space around the sets of ports on each node side. For each side of a node, this option can reserve additional space before and after the ports on each side. For example, a top spacing of 20 makes sure that the first port on the western and eastern side is 20 units away from the northern border."),$xt),pNt),ubt),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(GM(WM(UM(qM(new $u,h9n),btt),"Layout Partition"),"Partition to which the node belongs. This requires Layout Partitioning to be active. Nodes with lower partition IDs will appear to the left of nodes with higher partition IDs (assuming a left-to-right layout direction)."),gNt),bot),Wz(uNt,Bhn(iM(yNt,1),w1n,170,0,[oNt]))))),F4(n,h9n,s9n,YDt),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,s9n),btt),"Layout Partitioning"),"Whether to activate partitioned layout. This will allow to group nodes through the Layout Partition option. a pair of nodes with different partition indices is then placed such that the node with lower index is placed to the left of the other node (with left-to-right layout direction). Depending on the layout algorithm, this may only be guaranteed to work if all nodes have a layout partition configured, or at least if edges that cross partitions are not part of a partition-crossing cycle."),QDt),lNt),iot),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,X8n),dtt),"Node Label Padding"),"Define padding for node labels that are placed inside of a node."),xDt),pNt),jbt),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,g4n),dtt),"Node Label Placement"),"Hints for where node labels are to be placed; if empty, the node label's position is not modified."),RDt),wNt),nRt),Wz(oNt,Bhn(iM(yNt,1),w1n,170,0,[aNt]))))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,J8n),wtt),"Port Alignment"),"Defines the default port distribution for a node. May be overridden for each side individually."),nxt),dNt),uRt),dgn(oNt)))),Jgn(n,new ZIn(VM(XM(QM(GM(WM(UM(qM(new $u,Y8n),wtt),"Port Alignment (North)"),"Defines how ports on the northern side are placed, overriding the node's general port alignment."),dNt),uRt),dgn(oNt)))),Jgn(n,new ZIn(VM(XM(QM(GM(WM(UM(qM(new $u,Z8n),wtt),"Port Alignment (South)"),"Defines how ports on the southern side are placed, overriding the node's general port alignment."),dNt),uRt),dgn(oNt)))),Jgn(n,new ZIn(VM(XM(QM(GM(WM(UM(qM(new $u,n9n),wtt),"Port Alignment (West)"),"Defines how ports on the western side are placed, overriding the node's general port alignment."),dNt),uRt),dgn(oNt)))),Jgn(n,new ZIn(VM(XM(QM(GM(WM(UM(qM(new $u,t9n),wtt),"Port Alignment (East)"),"Defines how ports on the eastern side are placed, overriding the node's general port alignment."),dNt),uRt),dgn(oNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,w4n),gtt),"Node Size Constraints"),"What should be taken into account when calculating a node's size. Empty size constraints specify that a node's size is already fixed and should not be changed."),KDt),wNt),o_t),dgn(oNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,d4n),gtt),"Node Size Options"),"Options modifying the behavior of the size constraints set on a node. Each member of the set specifies something that should be taken into account when calculating node sizes. The empty set corresponds to no further modifications."),UDt),wNt),l_t),dgn(oNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,D4n),gtt),"Node Size Minimum"),"The minimal size to which a node can be reduced."),GDt),pNt),TNt),dgn(oNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,b4n),gtt),"Fixed Graph Size"),"By default, the fixed layout provider will enlarge a graph until it is large enough to contain its children. If this option is set, it won't do so."),!1),lNt),iot),dgn(uNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,r9n),P8n),"Edge Label Placement"),"Gives a hint on where to put edge labels."),pDt),dNt),h$t),dgn(aNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,f4n),P8n),"Inline Edge Labels"),"If true, an edge label is placed directly on its edge. May only apply to center edge labels. This kind of label placement is only advisable if the label's rendering is such that it is not crossed by its edge and thus stays legible."),!1),lNt),iot),dgn(aNt)))),Jgn(n,new ZIn(VM(XM(QM(GM(WM(UM(qM(new $u,utt),"font"),"Font Name"),"Font name used for a label."),mNt),Lot),dgn(aNt)))),Jgn(n,new ZIn(VM(XM(QM(GM(WM(UM(qM(new $u,stt),"font"),"Font Size"),"Font size used for a label."),gNt),bot),dgn(aNt)))),Jgn(n,new ZIn(VM(XM(QM(GM(WM(UM(qM(new $u,u9n),ptt),"Port Anchor Offset"),"The offset to the port position where connections shall be attached."),pNt),TNt),dgn(sNt)))),Jgn(n,new ZIn(VM(XM(QM(GM(WM(UM(qM(new $u,c9n),ptt),"Port Index"),"The index of a port in the fixed order around a node. The order is assumed as clockwise, starting with the leftmost port on the top side. This option must be set if 'Port Constraints' is set to FIXED_ORDER and no specific positions are given for the ports. Additionally, the option 'Port Side' must be defined in this case."),gNt),bot),dgn(sNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,G8n),ptt),"Port Side"),"The side of a node on which a port is situated. This option must be set if 'Port Constraints' is set to FIXED_SIDE or FIXED_ORDER and no specific positions are given for the ports."),wxt),dNt),QRt),dgn(sNt)))),Jgn(n,new ZIn(VM(XM(QM(GM(WM(UM(qM(new $u,F8n),ptt),"Port Border Offset"),"The offset of ports on the node border. With a positive offset the port is moved outside of the node, while with a negative offset the port is moved towards the inside. An offset of 0 means that the port is placed directly on the node border, i.e. if the port side is north, the port's south border touches the nodes's north border; if the port side is east, the port's west border touches the nodes's east border; if the port side is south, the port's north border touches the node's south border; if the port side is west, the port's east border touches the node's west border."),bNt),sot),dgn(sNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,p4n),mtt),"Port Label Placement"),"Decides on a placement method for port labels; if empty, the node label's position is not modified."),lxt),wNt),KRt),dgn(oNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,V8n),mtt),"Port Labels Next to Port"),"Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE."),!1),lNt),iot),dgn(oNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,Q8n),mtt),"Treat Port Labels as Group"),"If this option is true (default), the labels of a port will be treated as a group when it comes to centering them next to their port. If this option is false, only the first label will be centered next to the port, with the others being placed below. This only applies to labels of eastern and western ports and will have no effect if labels are not placed next to their port."),!0),lNt),iot),dgn(oNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,v4n),vtt),"Topdown Scale Factor"),"The scaling factor to be applied to the nodes laid out within the node in recursive topdown layout. The difference to 'Scale Factor' is that the node itself is not scaled. This value has to be set on hierarchical nodes."),1),bNt),sot),dgn(uNt)))),F4(n,v4n,E4n,qxt),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,htt),vtt),"Topdown Size Approximator"),"The size approximator to be used to set sizes of hierarchical nodes during topdown layout. The default value is null, which results in nodes keeping whatever size is defined for them e.g. through parent parallel node or by manually setting the size."),null),dNt),E_t),dgn(oNt)))),F4(n,htt,E4n,Wxt),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,y4n),vtt),"Topdown Hierarchical Node Width"),"The fixed size of a hierarchical node when using topdown layout. If this value is set on a parallel node it applies to its children, when set on a hierarchical node it applies to the node itself."),150),bNt),sot),Wz(uNt,Bhn(iM(yNt,1),w1n,170,0,[oNt]))))),F4(n,y4n,E4n,null),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,k4n),vtt),"Topdown Hierarchical Node Aspect Ratio"),"The fixed aspect ratio of a hierarchical node when using topdown layout. Default is 1/sqrt(2). If this value is set on a parallel node it applies to its children, when set on a hierarchical node it applies to the node itself."),1.414),bNt),sot),Wz(uNt,Bhn(iM(yNt,1),w1n,170,0,[oNt]))))),F4(n,k4n,E4n,null),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,E4n),vtt),"Topdown Node Type"),"The different node types used for topdown layout. If the node type is set to {@link TopdownNodeTypes.PARALLEL_NODE} the algorithm must be set to a {@link TopdownLayoutProvider} such as {@link TopdownPacking}. The {@link nodeSize.fixedGraphSize} option is technically only required for hierarchical nodes."),null),dNt),g_t),dgn(oNt)))),F4(n,E4n,b4n,null),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,ftt),vtt),"Topdown Scale Cap"),"Determines the upper limit for the topdown scale factor. The default value is 1.0 which ensures that nested children never end up appearing larger than their parents in terms of unit sizes such as the font size. If the limit is larger, nodes will fully utilize the available space, but it is counteriniuitive for inner nodes to have a larger scale than outer nodes."),1),bNt),sot),dgn(uNt)))),F4(n,ftt,E4n,Hxt),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,q8n),ytt),"Activate Inside Self Loops"),"Whether this node allows to route self loops inside of it instead of around it. If set to true, this will make the node a compound node if it isn't already, and will require the layout algorithm to support compound nodes with hierarchical ports."),!1),lNt),iot),dgn(oNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,z8n),ytt),"Inside Self Loop"),"Whether a self loop should be routed inside a node instead of around that node."),!1),lNt),iot),dgn(cNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,D3n),"edge"),"Edge Thickness"),"The thickness of an edge. This is a hint on the line width used to draw an edge, possibly requiring more space to be reserved for it."),1),bNt),sot),dgn(cNt)))),Jgn(n,new ZIn(VM(XM(QM(HM(GM(WM(UM(qM(new $u,ltt),"edge"),"Edge Type"),"The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations."),kDt),dNt),I$t),dgn(cNt)))),oP(n,new P2(KM(BM(FM(new wu,j0n),"Layered"),'The layer-based method was introduced by Sugiyama, Tagawa and Toda in 1981. It emphasizes the direction of edges by pointing as many edges as possible into the same direction. The nodes are arranged in layers, which are sometimes called "hierarchies", and then reordered such that the number of edge crossings is minimized. Afterwards, concrete coordinates are computed for the nodes and edge bend points.'))),oP(n,new P2(KM(BM(FM(new wu,"org.eclipse.elk.orthogonal"),"Orthogonal"),'Orthogonal methods that follow the "topology-shape-metrics" approach by Batini, Nardelli and Tamassia \'86. The first phase determines the topology of the drawing by applying a planarization technique, which results in a planar representation of the graph. The orthogonal shape is computed in the second phase, which aims at minimizing the number of edge bends, and is called orthogonalization. The third phase leads to concrete coordinates for nodes and edge bend points by applying a compaction method, thus defining the metrics.'))),oP(n,new P2(KM(BM(FM(new wu,i4n),"Force"),"Layout algorithms that follow physical analogies by simulating a system of attractive and repulsive forces. The first successful method of this kind was proposed by Eades in 1984."))),oP(n,new P2(KM(BM(FM(new wu,"org.eclipse.elk.circle"),"Circle"),"Circular layout algorithms emphasize cycles or biconnected components of a graph by arranging them in circles. This is useful if a drawing is desired where such components are clearly grouped, or where cycles are shown as prominent OPTIONS of the graph."))),oP(n,new P2(KM(BM(FM(new wu,r7n),"Tree"),"Specialized layout methods for trees, i.e. acyclic graphs. The regular structure of graphs that have no undirected cycles can be emphasized using an algorithm of this type."))),oP(n,new P2(KM(BM(FM(new wu,"org.eclipse.elk.planar"),"Planar"),"Algorithms that require a planar or upward planar graph. Most of these algorithms are theoretically interesting, but not practically usable."))),oP(n,new P2(KM(BM(FM(new wu,D7n),"Radial"),"Radial layout algorithms usually position the nodes of the graph on concentric circles."))),mGn((new Dl,n)),QHn((new Ll,n)),OFn((new xl,n))},qV(Bnt,"CoreOptions",699),oxn(88,22,{3:1,34:1,22:1,88:1},TI);var n$t,t$t,e$t,i$t,r$t=_cn(Bnt,h3n,88,Cat,F8,oH);oxn(278,22,{3:1,34:1,22:1,278:1},SI);var c$t,a$t,o$t,u$t,s$t,h$t=_cn(Bnt,"EdgeLabelPlacement",278,Cat,v3,uH);oxn(223,22,{3:1,34:1,22:1,223:1},PI);var f$t,l$t,b$t,d$t,w$t,g$t,p$t,m$t=_cn(Bnt,"EdgeRouting",223,Cat,a5,sH);oxn(321,22,{3:1,34:1,22:1,321:1},CI);var v$t,y$t,k$t,E$t,M$t,j$t,T$t,S$t,P$t,C$t,O$t,I$t=_cn(Bnt,"EdgeType",321,Cat,Vnn,hH);oxn(989,1,$2n,Dl),aZn.hf=function(n){mGn(n)},qV(Bnt,"FixedLayouterOptions",989),oxn(990,1,{},_u),aZn.sf=function(){return new Vu},aZn.tf=function(n){},qV(Bnt,"FixedLayouterOptions/FixedFactory",990),oxn(346,22,{3:1,34:1,22:1,346:1},OI);var A$t,L$t,N$t,D$t,x$t,$$t=_cn(Bnt,"HierarchyHandling",346,Cat,p3,fH);oxn(291,22,{3:1,34:1,22:1,291:1},II);var R$t,_$t,K$t,F$t,B$t,G$t,H$t,U$t,q$t,z$t,W$t=_cn(Bnt,"LabelSide",291,Cat,c5,lH);oxn(95,22,{3:1,34:1,22:1,95:1},AI);var X$t,V$t,Q$t,J$t,Y$t,Z$t,nRt=_cn(Bnt,"NodeLabelPlacement",95,Cat,fcn,bH);oxn(256,22,{3:1,34:1,22:1,256:1},LI);var tRt,eRt,iRt,rRt,cRt,aRt,oRt,uRt=_cn(Bnt,"PortAlignment",256,Cat,w9,dH);oxn(101,22,{3:1,34:1,22:1,101:1},NI);var sRt,hRt,fRt,lRt,bRt,dRt,wRt,gRt=_cn(Bnt,"PortConstraints",101,Cat,Xnn,wH);oxn(279,22,{3:1,34:1,22:1,279:1},DI);var pRt,mRt,vRt,yRt,kRt,ERt,MRt,jRt,TRt,SRt,PRt,CRt,ORt,IRt,ARt,LRt,NRt,DRt,xRt,$Rt,RRt,_Rt,KRt=_cn(Bnt,"PortLabelPlacement",279,Cat,Wnn,gH);oxn(64,22,{3:1,34:1,22:1,64:1},xI);var FRt,BRt,GRt,HRt,URt,qRt,zRt,WRt,XRt,VRt,QRt=_cn(Bnt,"PortSide",64,Cat,B8,pH);oxn(993,1,$2n,xl),aZn.hf=function(n){OFn(n)},qV(Bnt,"RandomLayouterOptions",993),oxn(994,1,{},Ku),aZn.sf=function(){return new zu},aZn.tf=function(n){},qV(Bnt,"RandomLayouterOptions/RandomFactory",994),oxn(386,22,{3:1,34:1,22:1,386:1},$I);var JRt,YRt,ZRt,n_t,t_t,e_t,i_t,r_t,c_t,a_t,o_t=_cn(Bnt,"SizeConstraint",386,Cat,r5,mH);oxn(264,22,{3:1,34:1,22:1,264:1},RI);var u_t,s_t,h_t,f_t,l_t=_cn(Bnt,"SizeOptions",264,Cat,yan,vH);oxn(280,22,{3:1,34:1,22:1,280:1},_I);var b_t,d_t,w_t,g_t=_cn(Bnt,"TopdownNodeTypes",280,Cat,y3,yH);oxn(347,22,Mtt);var p_t,m_t,v_t,y_t,k_t,E_t=_cn(Bnt,"TopdownSizeApproximator",347,Cat,P1,EH);oxn(987,347,Mtt,Tq),aZn.Tg=function(n){return oEn(n)},_cn(Bnt,"TopdownSizeApproximator/1",987,E_t,null,null),oxn(988,347,Mtt,dX),aZn.Tg=function(n){var e,i,r,c,a,o,u,s,h,f,l,b,d,w,g,p,m,v,y;for(e=aU(qxn(n,(UYn(),vxt)),143),dj(),r_n(p=new Ky,n),m=new Qm,a=new Nx((!n.a&&(n.a=new sX(hKt,n,10,11)),n.a));a.e!=a.i.gc();)r=aU(Jyn(a),27),GRn(b=new Ky,p),r_n(b,r),y=oEn(r),pN(b,t.Math.max(r.g,y.a),t.Math.max(r.f,y.b)),zAn(m.f,r,b);for(c=new Nx((!n.a&&(n.a=new sX(hKt,n,10,11)),n.a));c.e!=c.i.gc();)for(s=new Nx((!(r=aU(Jyn(c),27)).e&&(r.e=new sF(iKt,r,7,4)),r.e));s.e!=s.i.gc();)u=aU(Jyn(s),74),w=aU(NA(Rz(m.f,r)),27),g=aU(iQ(m,qrn((!u.c&&(u.c=new sF(eKt,u,5,8)),u.c),0)),27),Znn((!(d=new es).b&&(d.b=new sF(eKt,d,4,7)),d.b),w),Znn((!d.c&&(d.c=new sF(eKt,d,5,8)),d.c),g),ORn(d,x0(w)),r_n(d,u);h=aU(O1(e.f),205);try{h.rf(p,new Zu),WQ(e.f,h)}catch(n){throw RD(n=Mhn(n),103),uv(n)}return pnn(p,uDt)||pnn(p,oDt)||zJn(p),o=aE(w_(qxn(p,uDt)))/aE(w_(qxn(p,oDt))),i=aE(w_(qxn(p,Kxt)))*t.Math.sqrt((!p.a&&(p.a=new sX(hKt,p,10,11)),p.a).i),l=(v=aU(qxn(p,WDt),107)).b+v.c+1,f=v.d+v.a+1,new yI(t.Math.max(l,i),t.Math.max(f,i/o))},_cn(Bnt,"TopdownSizeApproximator/2",988,E_t,null,null),oxn(344,1,{871:1},sk),aZn.Ug=function(n,t){return bCn(this,n,t)},aZn.Vg=function(){TIn(this)},aZn.Wg=function(){return this.q},aZn.Xg=function(){return this.f?jZ(this.f):null},aZn.Yg=function(){return jZ(this.a)},aZn.Zg=function(){return this.p},aZn.$g=function(){return!1},aZn._g=function(){return this.n},aZn.ah=function(){return null!=this.p&&!this.b},aZn.bh=function(n){var t;this.n&&(t=n,mx(this.f,t))},aZn.dh=function(n,t){var e,i;this.n&&n&&Y3(this,(i=cHn(e=new NV,n),_Vn(e),i),(Mln(),S_t))},aZn.eh=function(n){var t;return this.b?null:(t=trn(this,this.g),rq(this.a,t),t.i=this,this.d=n,t)},aZn.fh=function(n){n>0&&!this.b&&Kan(this,n)},aZn.b=!1,aZn.c=0,aZn.d=-1,aZn.e=null,aZn.f=null,aZn.g=-1,aZn.j=!1,aZn.k=!1,aZn.n=!1,aZn.o=0,aZn.q=0,aZn.r=0,qV(w9n,"BasicProgressMonitor",344),oxn(717,205,y3n,Fu),aZn.rf=function(n,t){UUn(n,t)},qV(w9n,"BoxLayoutProvider",717),oxn(983,1,f2n,Hp),aZn.Ne=function(n,t){return ZRn(this,aU(n,27),aU(t,27))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},aZn.a=!1,qV(w9n,"BoxLayoutProvider/1",983),oxn(163,1,{163:1},Vrn,YR),aZn.Ib=function(){return this.c?qBn(this.c):pOn(this.b)},qV(w9n,"BoxLayoutProvider/Group",163),oxn(320,22,{3:1,34:1,22:1,320:1},FI);var M_t,j_t=_cn(w9n,"BoxLayoutProvider/PackingMode",320,Cat,o5,MH);oxn(984,1,f2n,Bu),aZn.Ne=function(n,t){return eZ(aU(n,163),aU(t,163))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(w9n,"BoxLayoutProvider/lambda$0$Type",984),oxn(985,1,f2n,Gu),aZn.Ne=function(n,t){return GY(aU(n,163),aU(t,163))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(w9n,"BoxLayoutProvider/lambda$1$Type",985),oxn(986,1,f2n,Hu),aZn.Ne=function(n,t){return HY(aU(n,163),aU(t,163))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(w9n,"BoxLayoutProvider/lambda$2$Type",986),oxn(1384,1,{845:1},Uu),aZn.Mg=function(n,t){return JS(),!RD(t,167)||Jj((Whn(),aU(n,167)),t)},qV(w9n,"ElkSpacings/AbstractSpacingsBuilder/lambda$0$Type",1384),oxn(1385,1,XZn,Up),aZn.Cd=function(n){ubn(this.a,aU(n,149))},qV(w9n,"ElkSpacings/AbstractSpacingsBuilder/lambda$1$Type",1385),oxn(1386,1,XZn,Wu),aZn.Cd=function(n){aU(n,96),JS()},qV(w9n,"ElkSpacings/AbstractSpacingsBuilder/lambda$2$Type",1386),oxn(1390,1,XZn,qp),aZn.Cd=function(n){_on(this.a,aU(n,96))},qV(w9n,"ElkSpacings/AbstractSpacingsBuilder/lambda$3$Type",1390),oxn(1388,1,v1n,BI),aZn.Mb=function(n){return cln(this.a,this.b,aU(n,149))},qV(w9n,"ElkSpacings/AbstractSpacingsBuilder/lambda$4$Type",1388),oxn(1387,1,v1n,GI),aZn.Mb=function(n){return TR(this.a,this.b,aU(n,845))},qV(w9n,"ElkSpacings/AbstractSpacingsBuilder/lambda$5$Type",1387),oxn(1389,1,XZn,HI),aZn.Cd=function(n){tX(this.a,this.b,aU(n,149))},qV(w9n,"ElkSpacings/AbstractSpacingsBuilder/lambda$6$Type",1389),oxn(947,1,{},Xu),aZn.Kb=function(n){return cN(n)},aZn.Fb=function(n){return this===n},qV(w9n,"ElkUtil/lambda$0$Type",947),oxn(948,1,XZn,UI),aZn.Cd=function(n){VNn(this.a,this.b,aU(n,74))},aZn.a=0,aZn.b=0,qV(w9n,"ElkUtil/lambda$1$Type",948),oxn(949,1,XZn,qI),aZn.Cd=function(n){Zk(this.a,this.b,aU(n,166))},aZn.a=0,aZn.b=0,qV(w9n,"ElkUtil/lambda$2$Type",949),oxn(950,1,XZn,zI),aZn.Cd=function(n){BN(this.a,this.b,aU(n,135))},aZn.a=0,aZn.b=0,qV(w9n,"ElkUtil/lambda$3$Type",950),oxn(951,1,XZn,zp),aZn.Cd=function(n){Iq(this.a,aU(n,377))},qV(w9n,"ElkUtil/lambda$4$Type",951),oxn(325,1,{34:1,325:1},Vm),aZn.Fd=function(n){return lx(this,aU(n,242))},aZn.Fb=function(n){var t;return!!RD(n,325)&&(t=aU(n,325),this.a==t.a)},aZn.Hb=function(){return Z1(this.a)},aZn.Ib=function(){return this.a+" (exclusive)"},aZn.a=0,qV(w9n,"ExclusiveBounds/ExclusiveLowerBound",325),oxn(1119,205,y3n,Vu),aZn.rf=function(n,e){var i,r,c,a,o,u,s,f,l,b,d,w,g,p,m,v,y,k,E,M,j;for(e.Ug("Fixed Layout",1),a=aU(qxn(n,(UYn(),mDt)),223),b=0,d=0,m=new Nx((!n.a&&(n.a=new sX(hKt,n,10,11)),n.a));m.e!=m.i.gc();){for(g=aU(Jyn(m),27),(j=aU(qxn(g,(Pln(),S$t)),8))&&(mN(g,j.a,j.b),aU(qxn(g,k$t),181).Hc((Xmn(),zRt))&&(w=aU(qxn(g,M$t),8)).a>0&&w.b>0&&JQn(g,w.a,w.b,!0,!0)),b=t.Math.max(b,g.i+g.g),d=t.Math.max(d,g.j+g.f),f=new Nx((!g.n&&(g.n=new sX(sKt,g,1,7)),g.n));f.e!=f.i.gc();)u=aU(Jyn(f),135),(j=aU(qxn(u,S$t),8))&&mN(u,j.a,j.b),b=t.Math.max(b,g.i+u.i+u.g),d=t.Math.max(d,g.j+u.j+u.f);for(k=new Nx((!g.c&&(g.c=new sX(fKt,g,9,9)),g.c));k.e!=k.i.gc();)for(y=aU(Jyn(k),123),(j=aU(qxn(y,S$t),8))&&mN(y,j.a,j.b),E=g.i+y.i,M=g.j+y.j,b=t.Math.max(b,E+y.g),d=t.Math.max(d,M+y.f),s=new Nx((!y.n&&(y.n=new sX(sKt,y,1,7)),y.n));s.e!=s.i.gc();)u=aU(Jyn(s),135),(j=aU(qxn(u,S$t),8))&&mN(u,j.a,j.b),b=t.Math.max(b,E+u.i+u.g),d=t.Math.max(d,M+u.j+u.f);for(c=new RW(t$(nRn(g).a.Kc(),new h));uxn(c);)l=tJn(i=aU(A9(c),74)),b=t.Math.max(b,l.a),d=t.Math.max(d,l.b);for(r=new RW(t$(Z$n(g).a.Kc(),new h));uxn(r);)x0(fOn(i=aU(A9(r),74)))!=n&&(l=tJn(i),b=t.Math.max(b,l.a),d=t.Math.max(d,l.b))}if(a==(_gn(),a$t))for(p=new Nx((!n.a&&(n.a=new sX(hKt,n,10,11)),n.a));p.e!=p.i.gc();)for(r=new RW(t$(nRn(g=aU(Jyn(p),27)).a.Kc(),new h));uxn(r);)0==(o=fUn(i=aU(A9(r),74))).b?ykn(i,IDt,null):ykn(i,IDt,o);cE(d_(qxn(n,(Pln(),E$t))))||JQn(n,b+(v=aU(qxn(n,j$t),107)).b+v.c,d+v.d+v.a,!0,!0),e.Vg()},qV(w9n,"FixedLayoutProvider",1119),oxn(385,137,{3:1,423:1,385:1,96:1,137:1},Qu,Hen),aZn.cg=function(n){var t,e,i,r,c,a,o;if(n)try{for(a=WUn(n,";,;"),r=0,c=(i=a).length;r>16&N1n|n^(e&N1n)<<16},aZn.Kc=function(){return new Wp(this)},aZn.Ib=function(){return null==this.a&&null==this.b?"pair(null,null)":null==this.a?"pair(null,"+ipn(this.b)+")":null==this.b?"pair("+ipn(this.a)+",null)":"pair("+ipn(this.a)+","+ipn(this.b)+")"},qV(w9n,"Pair",42),oxn(995,1,LZn,Wp),aZn.Nb=function(n){jX(this,n)},aZn.Ob=function(){return!this.c&&(!this.b&&null!=this.a.a||null!=this.a.b)},aZn.Pb=function(){if(!this.c&&!this.b&&null!=this.a.a)return this.b=!0,this.a.a;if(!this.c&&null!=this.a.b)return this.c=!0,this.a.b;throw uv(new Kv)},aZn.Qb=function(){throw this.c&&null!=this.a.b?this.a.b=null:this.b&&null!=this.a.a&&(this.a.a=null),uv(new Dv)},aZn.b=!1,aZn.c=!1,qV(w9n,"Pair/1",995),oxn(455,1,{455:1},pY),aZn.Fb=function(n){return CJ(this.a,aU(n,455).a)&&CJ(this.c,aU(n,455).c)&&CJ(this.d,aU(n,455).d)&&CJ(this.b,aU(n,455).b)},aZn.Hb=function(){return Cbn(Bhn(iM(bat,1),MZn,1,5,[this.a,this.c,this.d,this.b]))},aZn.Ib=function(){return"("+this.a+kZn+this.c+kZn+this.d+kZn+this.b+")"},qV(w9n,"Quadruple",455),oxn(1108,205,y3n,zu),aZn.rf=function(n,t){var e;t.Ug("Random Layout",1),0!=(!n.a&&(n.a=new sX(hKt,n,10,11)),n.a).i?(pQn(n,(e=aU(qxn(n,(Wmn(),URt)),17))&&0!=e.a?new p8(e.a):new Bpn,oE(w_(qxn(n,BRt))),oE(w_(qxn(n,qRt))),aU(qxn(n,GRt),107)),t.Vg()):t.Vg()},qV(w9n,"RandomLayoutProvider",1108),oxn(240,1,{240:1},IH),aZn.Fb=function(n){return CJ(this.a,aU(n,240).a)&&CJ(this.b,aU(n,240).b)&&CJ(this.c,aU(n,240).c)},aZn.Hb=function(){return Cbn(Bhn(iM(bat,1),MZn,1,5,[this.a,this.b,this.c]))},aZn.Ib=function(){return"("+this.a+kZn+this.b+kZn+this.c+")"},qV(w9n,"Triple",240),oxn(562,1,{}),aZn.Lf=function(){return new yI(this.f.i,this.f.j)},aZn.of=function(n){return XZ(n,(UYn(),axt))?qxn(this.f,L_t):qxn(this.f,n)},aZn.Mf=function(){return new yI(this.f.g,this.f.f)},aZn.Nf=function(){return this.g},aZn.pf=function(n){return pnn(this.f,n)},aZn.Of=function(n){vcn(this.f,n.a),ycn(this.f,n.b)},aZn.Pf=function(n){mcn(this.f,n.a),pcn(this.f,n.b)},aZn.Qf=function(n){this.g=n},aZn.g=0,qV(Stt,"ElkGraphAdapters/AbstractElkGraphElementAdapter",562),oxn(563,1,{853:1},Xp),aZn.Rf=function(){var n,t;if(!this.b)for(this.b=c6(DJ(this.a).i),t=new Nx(DJ(this.a));t.e!=t.i.gc();)n=aU(Jyn(t),135),mx(this.b,new Wk(n));return this.b},aZn.b=null,qV(Stt,"ElkGraphAdapters/ElkEdgeAdapter",563),oxn(289,562,{},zk),aZn.Sf=function(){return RMn(this)},aZn.a=null,qV(Stt,"ElkGraphAdapters/ElkGraphAdapter",289),oxn(640,562,{187:1},Wk),qV(Stt,"ElkGraphAdapters/ElkLabelAdapter",640),oxn(639,562,{695:1},W$),aZn.Rf=function(){return xMn(this)},aZn.Vf=function(){var n;return!(n=aU(qxn(this.f,(UYn(),LDt)),140))&&(n=new Ay),n},aZn.Xf=function(){return $Mn(this)},aZn.Zf=function(n){var t;t=new qH(n),ykn(this.f,(UYn(),LDt),t)},aZn.$f=function(n){ykn(this.f,(UYn(),WDt),new zH(n))},aZn.Tf=function(){return this.d},aZn.Uf=function(){var n,t;if(!this.a)for(this.a=new Jm,t=new RW(t$(Z$n(aU(this.f,27)).a.Kc(),new h));uxn(t);)n=aU(A9(t),74),mx(this.a,new Xp(n));return this.a},aZn.Wf=function(){var n,t;if(!this.c)for(this.c=new Jm,t=new RW(t$(nRn(aU(this.f,27)).a.Kc(),new h));uxn(t);)n=aU(A9(t),74),mx(this.c,new Xp(n));return this.c},aZn.Yf=function(){return 0!=lZ(aU(this.f,27)).i||cE(d_(aU(this.f,27).of((UYn(),SDt))))},aZn._f=function(){Uen(this,(pP(),A_t))},aZn.a=null,aZn.b=null,aZn.c=null,aZn.d=null,aZn.e=null,qV(Stt,"ElkGraphAdapters/ElkNodeAdapter",639),oxn(1284,562,{852:1},Vp),aZn.Rf=function(){return ejn(this)},aZn.Uf=function(){var n,t;if(!this.a)for(this.a=tR(aU(this.f,123).hh().i),t=new Nx(aU(this.f,123).hh());t.e!=t.i.gc();)n=aU(Jyn(t),74),mx(this.a,new Xp(n));return this.a},aZn.Wf=function(){var n,t;if(!this.c)for(this.c=tR(aU(this.f,123).ih().i),t=new Nx(aU(this.f,123).ih());t.e!=t.i.gc();)n=aU(Jyn(t),74),mx(this.c,new Xp(n));return this.c},aZn.ag=function(){return aU(aU(this.f,123).of((UYn(),dxt)),64)},aZn.bg=function(){var n,t,e,i,r,c,a;for(i=u0(aU(this.f,123)),e=new Nx(aU(this.f,123).ih());e.e!=e.i.gc();)for(a=new Nx((!(n=aU(Jyn(e),74)).c&&(n.c=new sF(eKt,n,5,8)),n.c));a.e!=a.i.gc();){if(Mrn(hCn(c=aU(Jyn(a),84)),i))return!0;if(hCn(c)==i&&cE(d_(qxn(n,(UYn(),PDt)))))return!0}for(t=new Nx(aU(this.f,123).hh());t.e!=t.i.gc();)for(r=new Nx((!(n=aU(Jyn(t),74)).b&&(n.b=new sF(eKt,n,4,7)),n.b));r.e!=r.i.gc();)if(Mrn(hCn(aU(Jyn(r),84)),i))return!0;return!1},aZn.a=null,aZn.b=null,aZn.c=null,qV(Stt,"ElkGraphAdapters/ElkPortAdapter",1284),oxn(1285,1,f2n,qu),aZn.Ne=function(n,t){return UBn(aU(n,123),aU(t,123))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(Stt,"ElkGraphAdapters/PortComparator",1285);var D_t,x_t,$_t,R_t,__t,K_t,F_t,B_t,G_t,H_t,U_t,q_t,z_t,W_t,X_t,V_t,Q_t,J_t=Pq(Ptt,"EObject"),Y_t=Pq(Ctt,Ott),Z_t=Pq(Ctt,Itt),nKt=Pq(Ctt,Att),tKt=Pq(Ctt,"ElkShape"),eKt=Pq(Ctt,Ltt),iKt=Pq(Ctt,Ntt),rKt=Pq(Ctt,Dtt),cKt=Pq(Ptt,xtt),aKt=Pq(Ptt,"EFactory"),oKt=Pq(Ptt,$tt),uKt=Pq(Ptt,"EPackage"),sKt=Pq(Ctt,Rtt),hKt=Pq(Ctt,_tt),fKt=Pq(Ctt,Ktt);oxn(93,1,Ftt),aZn.th=function(){return this.uh(),null},aZn.uh=function(){return null},aZn.vh=function(){return this.uh(),!1},aZn.wh=function(){return!1},aZn.xh=function(n){ysn(this,n)},qV(Btt,"BasicNotifierImpl",93),oxn(99,93,Vtt),aZn.Yh=function(){return aN(this)},aZn.yh=function(n,t){return n},aZn.zh=function(){throw uv(new $v)},aZn.Ah=function(n){var t;return t=hEn(aU(nrn(this.Dh(),this.Fh()),19)),this.Ph().Th(this,t.n,t.f,n)},aZn.Bh=function(n,t){throw uv(new $v)},aZn.Ch=function(n,t,e){return LHn(this,n,t,e)},aZn.Dh=function(){var n;return this.zh()&&(n=this.zh().Nk())?n:this.ii()},aZn.Eh=function(){return VDn(this)},aZn.Fh=function(){throw uv(new $v)},aZn.Gh=function(){var n,t;return!(t=this.$h().Ok())&&this.zh().Tk((EP(),t=null==(n=L1(nqn(this.Dh())))?YFt:new q$(this,n))),t},aZn.Hh=function(n,t){return n},aZn.Ih=function(n){return n.pk()?n.Lj():nmn(this.Dh(),n)},aZn.Jh=function(){var n;return(n=this.zh())?n.Qk():null},aZn.Kh=function(){return this.zh()?this.zh().Nk():null},aZn.Lh=function(n,t,e){return Nkn(this,n,t,e)},aZn.Mh=function(n){return ptn(this,n)},aZn.Nh=function(n,t){return B9(this,n,t)},aZn.Oh=function(){var n;return!!(n=this.zh())&&n.Rk()},aZn.Ph=function(){throw uv(new $v)},aZn.Qh=function(){return $vn(this)},aZn.Rh=function(n,t,e,i){return mkn(this,n,t,i)},aZn.Sh=function(n,t,e){return aU(nrn(this.Dh(),t),69).wk().zk(this,this.hi(),t-this.ji(),n,e)},aZn.Th=function(n,t,e,i){return C1(this,n,t,i)},aZn.Uh=function(n,t,e){return aU(nrn(this.Dh(),t),69).wk().Ak(this,this.hi(),t-this.ji(),n,e)},aZn.Vh=function(){return!!this.zh()&&!!this.zh().Pk()},aZn.Wh=function(n){return Wyn(this,n)},aZn.Xh=function(n){return y0(this,n)},aZn.Zh=function(n){return EVn(this,n)},aZn.$h=function(){throw uv(new $v)},aZn._h=function(){return this.zh()?this.zh().Pk():null},aZn.ai=function(){return $vn(this)},aZn.bi=function(n,t){oLn(this,n,t)},aZn.ci=function(n){this.$h().Sk(n)},aZn.di=function(n){this.$h().Vk(n)},aZn.ei=function(n){this.$h().Uk(n)},aZn.fi=function(n,t){var e,i,r,c;return(c=this.Jh())&&n&&(t=Akn(c.El(),this,t),c.Il(this)),(i=this.Ph())&&(TGn(this,this.Ph(),this.Fh()).Bb&T0n?(r=i.Qh())&&(n?!c&&r.Il(this):r.Hl(this)):(t=(e=this.Fh())>=0?this.Ah(t):this.Ph().Th(this,-1-e,null,t),t=this.Ch(null,-1,t))),this.di(n),t},aZn.gi=function(n){var t,e,i,r,c,a,o;if((c=nmn(e=this.Dh(),n))>=(t=this.ji()))return aU(n,69).wk().Dk(this,this.hi(),c-t);if(c<=-1){if(!(a=tXn((dAn(),pBt),e,n)))throw uv(new pE(Gtt+n.xe()+qtt));if(TP(),aU(a,69).xk()||(a=_3(Aen(pBt,a))),r=aU((i=this.Ih(a))>=0?this.Lh(i,!0,!0):QNn(this,a,!0),160),(o=a.Ik())>1||-1==o)return aU(aU(r,220).Sl(n,!1),79)}else if(n.Jk())return aU((i=this.Ih(n))>=0?this.Lh(i,!1,!0):QNn(this,n,!1),79);return new EA(this,n)},aZn.hi=function(){return Wen(this)},aZn.ii=function(){return(ZV(),vFt).S},aZn.ji=function(){return tQ(this.ii())},aZn.ki=function(n){cAn(this,n)},aZn.Ib=function(){return p$n(this)},qV(Qtt,"BasicEObjectImpl",99),oxn(119,99,{110:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1}),aZn.li=function(n){return zen(this)[n]},aZn.mi=function(n,t){aQ(zen(this),n,t)},aZn.ni=function(n){aQ(zen(this),n,null)},aZn.th=function(){return aU(Isn(this,4),129)},aZn.uh=function(){throw uv(new $v)},aZn.vh=function(){return!!(4&this.Db)},aZn.zh=function(){throw uv(new $v)},aZn.oi=function(n){Nvn(this,2,n)},aZn.Bh=function(n,t){this.Db=t<<16|255&this.Db,this.oi(n)},aZn.Dh=function(){return n1(this)},aZn.Fh=function(){return this.Db>>16},aZn.Gh=function(){var n;return EP(),null==(n=L1(nqn(aU(Isn(this,16),29)||this.ii())))?YFt:new q$(this,n)},aZn.wh=function(){return!(1&this.Db)},aZn.Jh=function(){return aU(Isn(this,128),2034)},aZn.Kh=function(){return aU(Isn(this,16),29)},aZn.Oh=function(){return!!(32&this.Db)},aZn.Ph=function(){return aU(Isn(this,2),54)},aZn.Vh=function(){return!!(64&this.Db)},aZn.$h=function(){throw uv(new $v)},aZn._h=function(){return aU(Isn(this,64),288)},aZn.ci=function(n){Nvn(this,16,n)},aZn.di=function(n){Nvn(this,128,n)},aZn.ei=function(n){Nvn(this,64,n)},aZn.hi=function(){return Lvn(this)},aZn.Db=0,qV(Qtt,"MinimalEObjectImpl",119),oxn(120,119,{110:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),aZn.oi=function(n){this.Cb=n},aZn.Ph=function(){return this.Cb},qV(Qtt,"MinimalEObjectImpl/Container",120),oxn(2083,120,{110:1,342:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),aZn.Lh=function(n,t,e){return rjn(this,n,t,e)},aZn.Uh=function(n,t,e){return KOn(this,n,t,e)},aZn.Wh=function(n){return E4(this,n)},aZn.bi=function(n,t){fln(this,n,t)},aZn.ii=function(){return ZJn(),z_t},aZn.ki=function(n){sfn(this,n)},aZn.nf=function(){return Xyn(this)},aZn.gh=function(){return!this.o&&(this.o=new htn((ZJn(),U_t),EKt,this,0)),this.o},aZn.of=function(n){return qxn(this,n)},aZn.pf=function(n){return pnn(this,n)},aZn.qf=function(n,t){return ykn(this,n,t)},qV(Jtt,"EMapPropertyHolderImpl",2083),oxn(572,120,{110:1,377:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},ns),aZn.Lh=function(n,t,e){switch(n){case 0:return this.a;case 1:return this.b}return Nkn(this,n,t,e)},aZn.Wh=function(n){switch(n){case 0:return 0!=this.a;case 1:return 0!=this.b}return Wyn(this,n)},aZn.bi=function(n,t){switch(n){case 0:return void jcn(this,aE(w_(t)));case 1:return void wcn(this,aE(w_(t)))}oLn(this,n,t)},aZn.ii=function(){return ZJn(),$_t},aZn.ki=function(n){switch(n){case 0:return void jcn(this,0);case 1:return void wcn(this,0)}cAn(this,n)},aZn.Ib=function(){var n;return 64&this.Db?p$n(this):((n=new s$(p$n(this))).a+=" (x: ",Cj(n,this.a),n.a+=", y: ",Cj(n,this.b),n.a+=")",n.a)},aZn.a=0,aZn.b=0,qV(Jtt,"ElkBendPointImpl",572),oxn(739,2083,{110:1,342:1,167:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),aZn.Lh=function(n,t,e){return Uwn(this,n,t,e)},aZn.Sh=function(n,t,e){return jCn(this,n,t,e)},aZn.Uh=function(n,t,e){return whn(this,n,t,e)},aZn.Wh=function(n){return _sn(this,n)},aZn.bi=function(n,t){SSn(this,n,t)},aZn.ii=function(){return ZJn(),F_t},aZn.ki=function(n){Odn(this,n)},aZn.jh=function(){return this.k},aZn.kh=function(){return DJ(this)},aZn.Ib=function(){return Mgn(this)},aZn.k=null,qV(Jtt,"ElkGraphElementImpl",739),oxn(740,739,{110:1,342:1,167:1,422:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),aZn.Lh=function(n,t,e){return opn(this,n,t,e)},aZn.Wh=function(n){return $pn(this,n)},aZn.bi=function(n,t){PSn(this,n,t)},aZn.ii=function(){return ZJn(),q_t},aZn.ki=function(n){kmn(this,n)},aZn.lh=function(){return this.f},aZn.mh=function(){return this.g},aZn.nh=function(){return this.i},aZn.oh=function(){return this.j},aZn.ph=function(n,t){pN(this,n,t)},aZn.qh=function(n,t){mN(this,n,t)},aZn.rh=function(n){vcn(this,n)},aZn.sh=function(n){ycn(this,n)},aZn.Ib=function(){return eIn(this)},aZn.f=0,aZn.g=0,aZn.i=0,aZn.j=0,qV(Jtt,"ElkShapeImpl",740),oxn(741,740,{110:1,342:1,84:1,167:1,422:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),aZn.Lh=function(n,t,e){return jEn(this,n,t,e)},aZn.Sh=function(n,t,e){return ZTn(this,n,t,e)},aZn.Uh=function(n,t,e){return nSn(this,n,t,e)},aZn.Wh=function(n){return tln(this,n)},aZn.bi=function(n,t){jxn(this,n,t)},aZn.ii=function(){return ZJn(),R_t},aZn.ki=function(n){vkn(this,n)},aZn.hh=function(){return!this.d&&(this.d=new sF(iKt,this,8,5)),this.d},aZn.ih=function(){return!this.e&&(this.e=new sF(iKt,this,7,4)),this.e},qV(Jtt,"ElkConnectableShapeImpl",741),oxn(326,739,{110:1,342:1,74:1,167:1,326:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},es),aZn.Ah=function(n){return oTn(this,n)},aZn.Lh=function(n,t,e){switch(n){case 3:return o0(this);case 4:return!this.b&&(this.b=new sF(eKt,this,4,7)),this.b;case 5:return!this.c&&(this.c=new sF(eKt,this,5,8)),this.c;case 6:return!this.a&&(this.a=new sX(rKt,this,6,6)),this.a;case 7:return H$(),!this.b&&(this.b=new sF(eKt,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new sF(eKt,this,5,8)),this.c.i<=1));case 8:return H$(),!!qDn(this);case 9:return H$(),!!KNn(this);case 10:return H$(),!this.b&&(this.b=new sF(eKt,this,4,7)),0!=this.b.i&&(!this.c&&(this.c=new sF(eKt,this,5,8)),0!=this.c.i)}return Uwn(this,n,t,e)},aZn.Sh=function(n,t,e){var i;switch(t){case 3:return this.Cb&&(e=(i=this.Db>>16)>=0?oTn(this,e):this.Cb.Th(this,-1-i,null,e)),Y_(this,aU(n,27),e);case 4:return!this.b&&(this.b=new sF(eKt,this,4,7)),Amn(this.b,n,e);case 5:return!this.c&&(this.c=new sF(eKt,this,5,8)),Amn(this.c,n,e);case 6:return!this.a&&(this.a=new sX(rKt,this,6,6)),Amn(this.a,n,e)}return jCn(this,n,t,e)},aZn.Uh=function(n,t,e){switch(t){case 3:return Y_(this,null,e);case 4:return!this.b&&(this.b=new sF(eKt,this,4,7)),Akn(this.b,n,e);case 5:return!this.c&&(this.c=new sF(eKt,this,5,8)),Akn(this.c,n,e);case 6:return!this.a&&(this.a=new sX(rKt,this,6,6)),Akn(this.a,n,e)}return whn(this,n,t,e)},aZn.Wh=function(n){switch(n){case 3:return!!o0(this);case 4:return!!this.b&&0!=this.b.i;case 5:return!!this.c&&0!=this.c.i;case 6:return!!this.a&&0!=this.a.i;case 7:return!this.b&&(this.b=new sF(eKt,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new sF(eKt,this,5,8)),this.c.i<=1));case 8:return qDn(this);case 9:return KNn(this);case 10:return!this.b&&(this.b=new sF(eKt,this,4,7)),0!=this.b.i&&(!this.c&&(this.c=new sF(eKt,this,5,8)),0!=this.c.i)}return _sn(this,n)},aZn.bi=function(n,t){switch(n){case 3:return void ORn(this,aU(t,27));case 4:return!this.b&&(this.b=new sF(eKt,this,4,7)),SWn(this.b),!this.b&&(this.b=new sF(eKt,this,4,7)),void SV(this.b,aU(t,16));case 5:return!this.c&&(this.c=new sF(eKt,this,5,8)),SWn(this.c),!this.c&&(this.c=new sF(eKt,this,5,8)),void SV(this.c,aU(t,16));case 6:return!this.a&&(this.a=new sX(rKt,this,6,6)),SWn(this.a),!this.a&&(this.a=new sX(rKt,this,6,6)),void SV(this.a,aU(t,16))}SSn(this,n,t)},aZn.ii=function(){return ZJn(),__t},aZn.ki=function(n){switch(n){case 3:return void ORn(this,null);case 4:return!this.b&&(this.b=new sF(eKt,this,4,7)),void SWn(this.b);case 5:return!this.c&&(this.c=new sF(eKt,this,5,8)),void SWn(this.c);case 6:return!this.a&&(this.a=new sX(rKt,this,6,6)),void SWn(this.a)}Odn(this,n)},aZn.Ib=function(){return jzn(this)},qV(Jtt,"ElkEdgeImpl",326),oxn(452,2083,{110:1,342:1,166:1,452:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},is),aZn.Ah=function(n){return qjn(this,n)},aZn.Lh=function(n,t,e){switch(n){case 1:return this.j;case 2:return this.k;case 3:return this.b;case 4:return this.c;case 5:return!this.a&&(this.a=new yx(Z_t,this,5)),this.a;case 6:return s0(this);case 7:return t?sEn(this):this.i;case 8:return t?uEn(this):this.f;case 9:return!this.g&&(this.g=new sF(rKt,this,9,10)),this.g;case 10:return!this.e&&(this.e=new sF(rKt,this,10,9)),this.e;case 11:return this.d}return rjn(this,n,t,e)},aZn.Sh=function(n,t,e){var i;switch(t){case 6:return this.Cb&&(e=(i=this.Db>>16)>=0?qjn(this,e):this.Cb.Th(this,-1-i,null,e)),J_(this,aU(n,74),e);case 9:return!this.g&&(this.g=new sF(rKt,this,9,10)),Amn(this.g,n,e);case 10:return!this.e&&(this.e=new sF(rKt,this,10,9)),Amn(this.e,n,e)}return aU(nrn(aU(Isn(this,16),29)||(ZJn(),K_t),t),69).wk().zk(this,Lvn(this),t-tQ((ZJn(),K_t)),n,e)},aZn.Uh=function(n,t,e){switch(t){case 5:return!this.a&&(this.a=new yx(Z_t,this,5)),Akn(this.a,n,e);case 6:return J_(this,null,e);case 9:return!this.g&&(this.g=new sF(rKt,this,9,10)),Akn(this.g,n,e);case 10:return!this.e&&(this.e=new sF(rKt,this,10,9)),Akn(this.e,n,e)}return KOn(this,n,t,e)},aZn.Wh=function(n){switch(n){case 1:return 0!=this.j;case 2:return 0!=this.k;case 3:return 0!=this.b;case 4:return 0!=this.c;case 5:return!!this.a&&0!=this.a.i;case 6:return!!s0(this);case 7:return!!this.i;case 8:return!!this.f;case 9:return!!this.g&&0!=this.g.i;case 10:return!!this.e&&0!=this.e.i;case 11:return null!=this.d}return E4(this,n)},aZn.bi=function(n,t){switch(n){case 1:return void kcn(this,aE(w_(t)));case 2:return void Mcn(this,aE(w_(t)));case 3:return void gcn(this,aE(w_(t)));case 4:return void Ecn(this,aE(w_(t)));case 5:return!this.a&&(this.a=new yx(Z_t,this,5)),SWn(this.a),!this.a&&(this.a=new yx(Z_t,this,5)),void SV(this.a,aU(t,16));case 6:return void CRn(this,aU(t,74));case 7:return void qan(this,aU(t,84));case 8:return void Uan(this,aU(t,84));case 9:return!this.g&&(this.g=new sF(rKt,this,9,10)),SWn(this.g),!this.g&&(this.g=new sF(rKt,this,9,10)),void SV(this.g,aU(t,16));case 10:return!this.e&&(this.e=new sF(rKt,this,10,9)),SWn(this.e),!this.e&&(this.e=new sF(rKt,this,10,9)),void SV(this.e,aU(t,16));case 11:return void son(this,g_(t))}fln(this,n,t)},aZn.ii=function(){return ZJn(),K_t},aZn.ki=function(n){switch(n){case 1:return void kcn(this,0);case 2:return void Mcn(this,0);case 3:return void gcn(this,0);case 4:return void Ecn(this,0);case 5:return!this.a&&(this.a=new yx(Z_t,this,5)),void SWn(this.a);case 6:return void CRn(this,null);case 7:return void qan(this,null);case 8:return void Uan(this,null);case 9:return!this.g&&(this.g=new sF(rKt,this,9,10)),void SWn(this.g);case 10:return!this.e&&(this.e=new sF(rKt,this,10,9)),void SWn(this.e);case 11:return void son(this,null)}sfn(this,n)},aZn.Ib=function(){return ODn(this)},aZn.b=0,aZn.c=0,aZn.d=null,aZn.j=0,aZn.k=0,qV(Jtt,"ElkEdgeSectionImpl",452),oxn(158,120,{110:1,94:1,93:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1}),aZn.Lh=function(n,t,e){return 0==n?(!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),this.Ab):Ltn(this,n-tQ(this.ii()),nrn(aU(Isn(this,16),29)||this.ii(),n),t,e)},aZn.Sh=function(n,t,e){return 0==t?(!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),Amn(this.Ab,n,e)):aU(nrn(aU(Isn(this,16),29)||this.ii(),t),69).wk().zk(this,Lvn(this),t-tQ(this.ii()),n,e)},aZn.Uh=function(n,t,e){return 0==t?(!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),Akn(this.Ab,n,e)):aU(nrn(aU(Isn(this,16),29)||this.ii(),t),69).wk().Ak(this,Lvn(this),t-tQ(this.ii()),n,e)},aZn.Wh=function(n){return 0==n?!!this.Ab&&0!=this.Ab.i:h5(this,n-tQ(this.ii()),nrn(aU(Isn(this,16),29)||this.ii(),n))},aZn.Zh=function(n){return zQn(this,n)},aZn.bi=function(n,t){if(0===n)return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),SWn(this.Ab),!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),void SV(this.Ab,aU(t,16));hpn(this,n-tQ(this.ii()),nrn(aU(Isn(this,16),29)||this.ii(),n),t)},aZn.di=function(n){Nvn(this,128,n)},aZn.ii=function(){return QYn(),AFt},aZn.ki=function(n){if(0===n)return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),void SWn(this.Ab);own(this,n-tQ(this.ii()),nrn(aU(Isn(this,16),29)||this.ii(),n))},aZn.pi=function(){this.Bb|=1},aZn.qi=function(n){return GHn(this,n)},aZn.Bb=0,qV(Qtt,"EModelElementImpl",158),oxn(720,158,{110:1,94:1,93:1,480:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1},Rl),aZn.ri=function(n,t){return iVn(this,n,t)},aZn.si=function(n){var t,e,i,r;if(this.a!=Frn(n)||256&n.Bb)throw uv(new pE(iet+n.zb+net));for(e=YZ(n);0!=q5(e.a).i;){if(_Mn(t=aU(vXn(e,0,RD(r=aU(qrn(q5(e.a),0),89).c,90)?aU(r,29):(QYn(),NFt)),29)))return aU(i=Frn(t).wi().si(t),54).ci(n),i;e=YZ(t)}return"java.util.Map$Entry"==(null!=n.D?n.D:n.B)?new Mq(n):new KU(n)},aZn.ti=function(n,t){return iYn(this,n,t)},aZn.Lh=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),this.Ab;case 1:return this.a}return Ltn(this,n-tQ((QYn(),CFt)),nrn(aU(Isn(this,16),29)||CFt,n),t,e)},aZn.Sh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),Amn(this.Ab,n,e);case 1:return this.a&&(e=aU(this.a,54).Th(this,4,uKt,e)),vdn(this,aU(n,241),e)}return aU(nrn(aU(Isn(this,16),29)||(QYn(),CFt),t),69).wk().zk(this,Lvn(this),t-tQ((QYn(),CFt)),n,e)},aZn.Uh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),Akn(this.Ab,n,e);case 1:return vdn(this,null,e)}return aU(nrn(aU(Isn(this,16),29)||(QYn(),CFt),t),69).wk().Ak(this,Lvn(this),t-tQ((QYn(),CFt)),n,e)},aZn.Wh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return!!this.a}return h5(this,n-tQ((QYn(),CFt)),nrn(aU(Isn(this,16),29)||CFt,n))},aZn.bi=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),SWn(this.Ab),!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),void SV(this.Ab,aU(t,16));case 1:return void vOn(this,aU(t,241))}hpn(this,n-tQ((QYn(),CFt)),nrn(aU(Isn(this,16),29)||CFt,n),t)},aZn.ii=function(){return QYn(),CFt},aZn.ki=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),void SWn(this.Ab);case 1:return void vOn(this,null)}own(this,n-tQ((QYn(),CFt)),nrn(aU(Isn(this,16),29)||CFt,n))},qV(Qtt,"EFactoryImpl",720),oxn(1037,720,{110:1,2113:1,94:1,93:1,480:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1},rs),aZn.ri=function(n,t){switch(n.hk()){case 12:return aU(t,149).Pg();case 13:return ipn(t);default:throw uv(new pE(Ztt+n.xe()+net))}},aZn.si=function(n){var t;switch(-1==n.G&&(n.G=(t=Frn(n))?Fkn(t.vi(),n):-1),n.G){case 4:return new cs;case 6:return new Ky;case 7:return new Fy;case 8:return new es;case 9:return new ns;case 10:return new is;case 11:return new as;default:throw uv(new pE(iet+n.zb+net))}},aZn.ti=function(n,t){switch(n.hk()){case 13:case 12:return null;default:throw uv(new pE(Ztt+n.xe()+net))}},qV(Jtt,"ElkGraphFactoryImpl",1037),oxn(448,158,{110:1,94:1,93:1,155:1,197:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1}),aZn.Gh=function(){var n;return null==(n=L1(nqn(aU(Isn(this,16),29)||this.ii())))?(EP(),EP(),YFt):new zR(this,n)},aZn.Lh=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),this.Ab;case 1:return this.xe()}return Ltn(this,n-tQ(this.ii()),nrn(aU(Isn(this,16),29)||this.ii(),n),t,e)},aZn.Wh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb}return h5(this,n-tQ(this.ii()),nrn(aU(Isn(this,16),29)||this.ii(),n))},aZn.bi=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),SWn(this.Ab),!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),void SV(this.Ab,aU(t,16));case 1:return void this.ui(g_(t))}hpn(this,n-tQ(this.ii()),nrn(aU(Isn(this,16),29)||this.ii(),n),t)},aZn.ii=function(){return QYn(),LFt},aZn.ki=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),void SWn(this.Ab);case 1:return void this.ui(null)}own(this,n-tQ(this.ii()),nrn(aU(Isn(this,16),29)||this.ii(),n))},aZn.xe=function(){return this.zb},aZn.ui=function(n){Hon(this,n)},aZn.Ib=function(){return Wdn(this)},aZn.zb=null,qV(Qtt,"ENamedElementImpl",448),oxn(184,448,{110:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,54:1,99:1,158:1,184:1,119:1,120:1,690:1},rZ),aZn.Ah=function(n){return Vjn(this,n)},aZn.Lh=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.yb;case 3:return this.xb;case 4:return this.sb;case 5:return!this.rb&&(this.rb=new pX(this,aFt,this)),this.rb;case 6:return!this.vb&&(this.vb=new tF(uKt,this,6,7)),this.vb;case 7:return t?this.Db>>16==7?aU(this.Cb,241):null:L0(this)}return Ltn(this,n-tQ((QYn(),$Ft)),nrn(aU(Isn(this,16),29)||$Ft,n),t,e)},aZn.Sh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),Amn(this.Ab,n,e);case 4:return this.sb&&(e=aU(this.sb,54).Th(this,1,aKt,e)),Vdn(this,aU(n,480),e);case 5:return!this.rb&&(this.rb=new pX(this,aFt,this)),Amn(this.rb,n,e);case 6:return!this.vb&&(this.vb=new tF(uKt,this,6,7)),Amn(this.vb,n,e);case 7:return this.Cb&&(e=(i=this.Db>>16)>=0?Vjn(this,e):this.Cb.Th(this,-1-i,null,e)),LHn(this,n,7,e)}return aU(nrn(aU(Isn(this,16),29)||(QYn(),$Ft),t),69).wk().zk(this,Lvn(this),t-tQ((QYn(),$Ft)),n,e)},aZn.Uh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),Akn(this.Ab,n,e);case 4:return Vdn(this,null,e);case 5:return!this.rb&&(this.rb=new pX(this,aFt,this)),Akn(this.rb,n,e);case 6:return!this.vb&&(this.vb=new tF(uKt,this,6,7)),Akn(this.vb,n,e);case 7:return LHn(this,null,7,e)}return aU(nrn(aU(Isn(this,16),29)||(QYn(),$Ft),t),69).wk().Ak(this,Lvn(this),t-tQ((QYn(),$Ft)),n,e)},aZn.Wh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.yb;case 3:return null!=this.xb;case 4:return!!this.sb;case 5:return!!this.rb&&0!=this.rb.i;case 6:return!!this.vb&&0!=this.vb.i;case 7:return!!L0(this)}return h5(this,n-tQ((QYn(),$Ft)),nrn(aU(Isn(this,16),29)||$Ft,n))},aZn.Zh=function(n){return E_n(this,n)||zQn(this,n)},aZn.bi=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),SWn(this.Ab),!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),void SV(this.Ab,aU(t,16));case 1:return void Hon(this,g_(t));case 2:return void qon(this,g_(t));case 3:return void Uon(this,g_(t));case 4:return void FOn(this,aU(t,480));case 5:return!this.rb&&(this.rb=new pX(this,aFt,this)),SWn(this.rb),!this.rb&&(this.rb=new pX(this,aFt,this)),void SV(this.rb,aU(t,16));case 6:return!this.vb&&(this.vb=new tF(uKt,this,6,7)),SWn(this.vb),!this.vb&&(this.vb=new tF(uKt,this,6,7)),void SV(this.vb,aU(t,16))}hpn(this,n-tQ((QYn(),$Ft)),nrn(aU(Isn(this,16),29)||$Ft,n),t)},aZn.ei=function(n){var t,e;if(n&&this.rb)for(e=new Nx(this.rb);e.e!=e.i.gc();)RD(t=Jyn(e),364)&&(aU(t,364).w=null);Nvn(this,64,n)},aZn.ii=function(){return QYn(),$Ft},aZn.ki=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),void SWn(this.Ab);case 1:return void Hon(this,null);case 2:return void qon(this,null);case 3:return void Uon(this,null);case 4:return void FOn(this,null);case 5:return!this.rb&&(this.rb=new pX(this,aFt,this)),void SWn(this.rb);case 6:return!this.vb&&(this.vb=new tF(uKt,this,6,7)),void SWn(this.vb)}own(this,n-tQ((QYn(),$Ft)),nrn(aU(Isn(this,16),29)||$Ft,n))},aZn.pi=function(){cjn(this)},aZn.vi=function(){return!this.rb&&(this.rb=new pX(this,aFt,this)),this.rb},aZn.wi=function(){return this.sb},aZn.xi=function(){return this.ub},aZn.yi=function(){return this.xb},aZn.zi=function(){return this.yb},aZn.Ai=function(n){this.ub=n},aZn.Ib=function(){var n;return 64&this.Db?Wdn(this):((n=new s$(Wdn(this))).a+=" (nsURI: ",zA(n,this.yb),n.a+=", nsPrefix: ",zA(n,this.xb),n.a+=")",n.a)},aZn.xb=null,aZn.yb=null,qV(Qtt,"EPackageImpl",184),oxn(569,184,{110:1,2115:1,569:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,54:1,99:1,158:1,184:1,119:1,120:1,690:1},txn),aZn.q=!1,aZn.r=!1;var lKt=!1;qV(Jtt,"ElkGraphPackageImpl",569),oxn(366,740,{110:1,342:1,167:1,135:1,422:1,366:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},cs),aZn.Ah=function(n){return zjn(this,n)},aZn.Lh=function(n,t,e){switch(n){case 7:return D0(this);case 8:return this.a}return opn(this,n,t,e)},aZn.Sh=function(n,t,e){var i;return 7===t?(this.Cb&&(e=(i=this.Db>>16)>=0?zjn(this,e):this.Cb.Th(this,-1-i,null,e)),bW(this,aU(n,167),e)):jCn(this,n,t,e)},aZn.Uh=function(n,t,e){return 7==t?bW(this,null,e):whn(this,n,t,e)},aZn.Wh=function(n){switch(n){case 7:return!!D0(this);case 8:return!gF("",this.a)}return $pn(this,n)},aZn.bi=function(n,t){switch(n){case 7:return void p_n(this,aU(t,167));case 8:return void zan(this,g_(t))}PSn(this,n,t)},aZn.ii=function(){return ZJn(),B_t},aZn.ki=function(n){switch(n){case 7:return void p_n(this,null);case 8:return void zan(this,"")}kmn(this,n)},aZn.Ib=function(){return qIn(this)},aZn.a="",qV(Jtt,"ElkLabelImpl",366),oxn(207,741,{110:1,342:1,84:1,167:1,27:1,422:1,207:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},Ky),aZn.Ah=function(n){return uTn(this,n)},aZn.Lh=function(n,t,e){switch(n){case 9:return!this.c&&(this.c=new sX(fKt,this,9,9)),this.c;case 10:return!this.a&&(this.a=new sX(hKt,this,10,11)),this.a;case 11:return x0(this);case 12:return!this.b&&(this.b=new sX(iKt,this,12,3)),this.b;case 13:return H$(),!this.a&&(this.a=new sX(hKt,this,10,11)),this.a.i>0}return jEn(this,n,t,e)},aZn.Sh=function(n,t,e){var i;switch(t){case 9:return!this.c&&(this.c=new sX(fKt,this,9,9)),Amn(this.c,n,e);case 10:return!this.a&&(this.a=new sX(hKt,this,10,11)),Amn(this.a,n,e);case 11:return this.Cb&&(e=(i=this.Db>>16)>=0?uTn(this,e):this.Cb.Th(this,-1-i,null,e)),YK(this,aU(n,27),e);case 12:return!this.b&&(this.b=new sX(iKt,this,12,3)),Amn(this.b,n,e)}return ZTn(this,n,t,e)},aZn.Uh=function(n,t,e){switch(t){case 9:return!this.c&&(this.c=new sX(fKt,this,9,9)),Akn(this.c,n,e);case 10:return!this.a&&(this.a=new sX(hKt,this,10,11)),Akn(this.a,n,e);case 11:return YK(this,null,e);case 12:return!this.b&&(this.b=new sX(iKt,this,12,3)),Akn(this.b,n,e)}return nSn(this,n,t,e)},aZn.Wh=function(n){switch(n){case 9:return!!this.c&&0!=this.c.i;case 10:return!!this.a&&0!=this.a.i;case 11:return!!x0(this);case 12:return!!this.b&&0!=this.b.i;case 13:return!this.a&&(this.a=new sX(hKt,this,10,11)),this.a.i>0}return tln(this,n)},aZn.bi=function(n,t){switch(n){case 9:return!this.c&&(this.c=new sX(fKt,this,9,9)),SWn(this.c),!this.c&&(this.c=new sX(fKt,this,9,9)),void SV(this.c,aU(t,16));case 10:return!this.a&&(this.a=new sX(hKt,this,10,11)),SWn(this.a),!this.a&&(this.a=new sX(hKt,this,10,11)),void SV(this.a,aU(t,16));case 11:return void GRn(this,aU(t,27));case 12:return!this.b&&(this.b=new sX(iKt,this,12,3)),SWn(this.b),!this.b&&(this.b=new sX(iKt,this,12,3)),void SV(this.b,aU(t,16))}jxn(this,n,t)},aZn.ii=function(){return ZJn(),G_t},aZn.ki=function(n){switch(n){case 9:return!this.c&&(this.c=new sX(fKt,this,9,9)),void SWn(this.c);case 10:return!this.a&&(this.a=new sX(hKt,this,10,11)),void SWn(this.a);case 11:return void GRn(this,null);case 12:return!this.b&&(this.b=new sX(iKt,this,12,3)),void SWn(this.b)}vkn(this,n)},aZn.Ib=function(){return qBn(this)},qV(Jtt,"ElkNodeImpl",207),oxn(193,741,{110:1,342:1,84:1,167:1,123:1,422:1,193:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},Fy),aZn.Ah=function(n){return Wjn(this,n)},aZn.Lh=function(n,t,e){return 9==n?u0(this):jEn(this,n,t,e)},aZn.Sh=function(n,t,e){var i;return 9===t?(this.Cb&&(e=(i=this.Db>>16)>=0?Wjn(this,e):this.Cb.Th(this,-1-i,null,e)),Z_(this,aU(n,27),e)):ZTn(this,n,t,e)},aZn.Uh=function(n,t,e){return 9==t?Z_(this,null,e):nSn(this,n,t,e)},aZn.Wh=function(n){return 9==n?!!u0(this):tln(this,n)},aZn.bi=function(n,t){9!==n?jxn(this,n,t):IRn(this,aU(t,27))},aZn.ii=function(){return ZJn(),H_t},aZn.ki=function(n){9!==n?vkn(this,n):IRn(this,null)},aZn.Ib=function(){return zBn(this)},qV(Jtt,"ElkPortImpl",193);var bKt=Pq(Tet,"BasicEMap/Entry");oxn(1122,120,{110:1,44:1,94:1,93:1,136:1,58:1,114:1,54:1,99:1,119:1,120:1},as),aZn.Fb=function(n){return this===n},aZn.ld=function(){return this.b},aZn.Hb=function(){return D$(this)},aZn.Di=function(n){Wan(this,aU(n,149))},aZn.Lh=function(n,t,e){switch(n){case 0:return this.b;case 1:return this.c}return Nkn(this,n,t,e)},aZn.Wh=function(n){switch(n){case 0:return!!this.b;case 1:return null!=this.c}return Wyn(this,n)},aZn.bi=function(n,t){switch(n){case 0:return void Wan(this,aU(t,149));case 1:return void Fan(this,t)}oLn(this,n,t)},aZn.ii=function(){return ZJn(),U_t},aZn.ki=function(n){switch(n){case 0:return void Wan(this,null);case 1:return void Fan(this,null)}cAn(this,n)},aZn.Bi=function(){var n;return-1==this.a&&(n=this.b,this.a=n?Fon(n):0),this.a},aZn.md=function(){return this.c},aZn.Ci=function(n){this.a=n},aZn.nd=function(n){var t;return t=this.c,Fan(this,n),t},aZn.Ib=function(){var n;return 64&this.Db?p$n(this):(VA(VA(VA(n=new WE,this.b?this.b.Pg():PZn),Q4n),c$(this.c)),n.a)},aZn.a=-1,aZn.c=null;var dKt,wKt,gKt,pKt,mKt,vKt,yKt,kKt,EKt=qV(Jtt,"ElkPropertyToValueMapEntryImpl",1122);oxn(996,1,{},ss),qV(Cet,"JsonAdapter",996),oxn(216,63,j1n,jE),qV(Cet,"JsonImportException",216),oxn(868,1,{},Jjn),qV(Cet,"JsonImporter",868),oxn(903,1,{},XI),qV(Cet,"JsonImporter/lambda$0$Type",903),oxn(904,1,{},VI),qV(Cet,"JsonImporter/lambda$1$Type",904),oxn(912,1,{},Qp),qV(Cet,"JsonImporter/lambda$10$Type",912),oxn(914,1,{},QI),qV(Cet,"JsonImporter/lambda$11$Type",914),oxn(915,1,{},JI),qV(Cet,"JsonImporter/lambda$12$Type",915),oxn(921,1,{},jY),qV(Cet,"JsonImporter/lambda$13$Type",921),oxn(920,1,{},TY),qV(Cet,"JsonImporter/lambda$14$Type",920),oxn(916,1,{},YI),qV(Cet,"JsonImporter/lambda$15$Type",916),oxn(917,1,{},ZI),qV(Cet,"JsonImporter/lambda$16$Type",917),oxn(918,1,{},nA),qV(Cet,"JsonImporter/lambda$17$Type",918),oxn(919,1,{},tA),qV(Cet,"JsonImporter/lambda$18$Type",919),oxn(924,1,{},Jp),qV(Cet,"JsonImporter/lambda$19$Type",924),oxn(905,1,{},Yp),qV(Cet,"JsonImporter/lambda$2$Type",905),oxn(922,1,{},Zp),qV(Cet,"JsonImporter/lambda$20$Type",922),oxn(923,1,{},nm),qV(Cet,"JsonImporter/lambda$21$Type",923),oxn(927,1,{},tm),qV(Cet,"JsonImporter/lambda$22$Type",927),oxn(925,1,{},em),qV(Cet,"JsonImporter/lambda$23$Type",925),oxn(926,1,{},im),qV(Cet,"JsonImporter/lambda$24$Type",926),oxn(929,1,{},rm),qV(Cet,"JsonImporter/lambda$25$Type",929),oxn(928,1,{},cm),qV(Cet,"JsonImporter/lambda$26$Type",928),oxn(930,1,XZn,eA),aZn.Cd=function(n){wtn(this.b,this.a,g_(n))},qV(Cet,"JsonImporter/lambda$27$Type",930),oxn(931,1,XZn,iA),aZn.Cd=function(n){gtn(this.b,this.a,g_(n))},qV(Cet,"JsonImporter/lambda$28$Type",931),oxn(932,1,{},rA),qV(Cet,"JsonImporter/lambda$29$Type",932),oxn(908,1,{},am),qV(Cet,"JsonImporter/lambda$3$Type",908),oxn(933,1,{},cA),qV(Cet,"JsonImporter/lambda$30$Type",933),oxn(934,1,{},om),qV(Cet,"JsonImporter/lambda$31$Type",934),oxn(935,1,{},um),qV(Cet,"JsonImporter/lambda$32$Type",935),oxn(936,1,{},sm),qV(Cet,"JsonImporter/lambda$33$Type",936),oxn(937,1,{},hm),qV(Cet,"JsonImporter/lambda$34$Type",937),oxn(870,1,{},fm),qV(Cet,"JsonImporter/lambda$35$Type",870),oxn(941,1,{},NH),qV(Cet,"JsonImporter/lambda$36$Type",941),oxn(938,1,XZn,lm),aZn.Cd=function(n){z8(this.a,aU(n,377))},qV(Cet,"JsonImporter/lambda$37$Type",938),oxn(939,1,XZn,oA),aZn.Cd=function(n){pA(this.a,this.b,aU(n,166))},qV(Cet,"JsonImporter/lambda$38$Type",939),oxn(940,1,XZn,uA),aZn.Cd=function(n){mA(this.a,this.b,aU(n,166))},qV(Cet,"JsonImporter/lambda$39$Type",940),oxn(906,1,{},bm),qV(Cet,"JsonImporter/lambda$4$Type",906),oxn(942,1,XZn,dm),aZn.Cd=function(n){W8(this.a,aU(n,8))},qV(Cet,"JsonImporter/lambda$40$Type",942),oxn(907,1,{},wm),qV(Cet,"JsonImporter/lambda$5$Type",907),oxn(911,1,{},gm),qV(Cet,"JsonImporter/lambda$6$Type",911),oxn(909,1,{},pm),qV(Cet,"JsonImporter/lambda$7$Type",909),oxn(910,1,{},mm),qV(Cet,"JsonImporter/lambda$8$Type",910),oxn(913,1,{},vm),qV(Cet,"JsonImporter/lambda$9$Type",913),oxn(961,1,XZn,ym),aZn.Cd=function(n){wQ(this.a,new XV(g_(n)))},qV(Cet,"JsonMetaDataConverter/lambda$0$Type",961),oxn(962,1,XZn,km),aZn.Cd=function(n){jV(this.a,aU(n,245))},qV(Cet,"JsonMetaDataConverter/lambda$1$Type",962),oxn(963,1,XZn,Em),aZn.Cd=function(n){g2(this.a,aU(n,143))},qV(Cet,"JsonMetaDataConverter/lambda$2$Type",963),oxn(964,1,XZn,Mm),aZn.Cd=function(n){TV(this.a,aU(n,170))},qV(Cet,"JsonMetaDataConverter/lambda$3$Type",964),oxn(245,22,{3:1,34:1,22:1,245:1},sA);var MKt,jKt=_cn(w3n,"GraphFeature",245,Cat,frn,XH);oxn(11,1,{34:1,149:1},Sm,aK,gL,_N),aZn.Fd=function(n){return bx(this,aU(n,149))},aZn.Fb=function(n){return XZ(this,n)},aZn.Sg=function(){return Vyn(this)},aZn.Pg=function(){return this.b},aZn.Hb=function(){return wln(this.b)},aZn.Ib=function(){return this.b},qV(w3n,"Property",11),oxn(671,1,f2n,jm),aZn.Ne=function(n,t){return lgn(this,aU(n,96),aU(t,96))},aZn.Fb=function(n){return this===n},aZn.Oe=function(){return new Jd(this)},qV(w3n,"PropertyHolderComparator",671),oxn(709,1,LZn,Tm),aZn.Nb=function(n){jX(this,n)},aZn.Pb=function(){return ytn(this)},aZn.Qb=function(){Dj()},aZn.Ob=function(){return!!this.a},qV(Het,"ElkGraphUtil/AncestorIterator",709);var TKt=Pq(Tet,"EList");oxn(70,56,{20:1,31:1,56:1,16:1,15:1,70:1,61:1}),aZn.bd=function(n,t){Lwn(this,n,t)},aZn.Fc=function(n){return Znn(this,n)},aZn.cd=function(n,t){return ffn(this,n,t)},aZn.Gc=function(n){return SV(this,n)},aZn.Ii=function(){return new Y$(this)},aZn.Ji=function(){return new Z$(this)},aZn.Ki=function(n){return uan(this,n)},aZn.Li=function(){return!0},aZn.Mi=function(n,t){},aZn.Ni=function(){},aZn.Oi=function(n,t){Onn(this,n,t)},aZn.Pi=function(n,t,e){},aZn.Qi=function(n,t){},aZn.Ri=function(n,t,e){},aZn.Fb=function(n){return GFn(this,n)},aZn.Hb=function(){return Khn(this)},aZn.Si=function(){return!1},aZn.Kc=function(){return new Nx(this)},aZn.ed=function(){return new J$(this)},aZn.fd=function(n){var t;if(t=this.gc(),n<0||n>t)throw uv(new lF(n,t));return new XX(this,n)},aZn.Ui=function(n,t){this.Ti(n,this.dd(t))},aZn.Mc=function(n){return ein(this,n)},aZn.Wi=function(n,t){return t},aZn.hd=function(n,t){return Bkn(this,n,t)},aZn.Ib=function(){return kpn(this)},aZn.Yi=function(){return!0},aZn.Zi=function(n,t){return dln(this,t)},qV(Tet,"AbstractEList",70),oxn(66,70,Xet,ls,Nrn,Fun),aZn.Ei=function(n,t){return TCn(this,n,t)},aZn.Fi=function(n){return XEn(this,n)},aZn.Gi=function(n,t){nwn(this,n,t)},aZn.Hi=function(n){q9(this,n)},aZn.$i=function(n){return Ctn(this,n)},aZn.$b=function(){z9(this)},aZn.Hc=function(n){return oSn(this,n)},aZn.Xb=function(n){return qrn(this,n)},aZn._i=function(n){var t,e,i;++this.j,n>(e=null==this.g?0:this.g.length)&&(i=this.g,(t=e+(e/2|0)+4)=0&&(this.gd(t),!0)},aZn.Xi=function(n,t){return this.Dj(n,this.Zi(n,t))},aZn.gc=function(){return this.Ej()},aZn.Pc=function(){return this.Fj()},aZn.Qc=function(n){return this.Gj(n)},aZn.Ib=function(){return this.Hj()},qV(Tet,"DelegatingEList",2093),oxn(2094,2093,_it),aZn.Ei=function(n,t){return bUn(this,n,t)},aZn.Fi=function(n){return this.Ei(this.Ej(),n)},aZn.Gi=function(n,t){ixn(this,n,t)},aZn.Hi=function(n){jDn(this,n)},aZn.Li=function(){return!this.Mj()},aZn.$b=function(){_Wn(this)},aZn.Ij=function(n,t,e,i,r){return new qZ(this,n,t,e,i,r)},aZn.Jj=function(n){ysn(this.jj(),n)},aZn.Kj=function(){return null},aZn.Lj=function(){return-1},aZn.jj=function(){return null},aZn.Mj=function(){return!1},aZn.Nj=function(n,t){return t},aZn.Oj=function(n,t){return t},aZn.Pj=function(){return!1},aZn.Qj=function(){return!this.Aj()},aZn.Ti=function(n,t){var e,i;return this.Pj()?(i=this.Qj(),e=wOn(this,n,t),this.Jj(this.Ij(7,Ddn(t),e,n,i)),e):wOn(this,n,t)},aZn.gd=function(n){var t,e,i,r;return this.Pj()?(e=null,i=this.Qj(),t=this.Ij(4,r=Cq(this,n),null,n,i),this.Mj()&&r?(e=this.Oj(r,e))?(e.nj(t),e.oj()):this.Jj(t):e?(e.nj(t),e.oj()):this.Jj(t),r):(r=Cq(this,n),this.Mj()&&r&&(e=this.Oj(r,null))&&e.oj(),r)},aZn.Xi=function(n,t){return dUn(this,n,t)},qV(Btt,"DelegatingNotifyingListImpl",2094),oxn(152,1,Kit),aZn.nj=function(n){return mPn(this,n)},aZn.oj=function(){Sen(this)},aZn.gj=function(){return this.d},aZn.Kj=function(){return null},aZn.Rj=function(){return null},aZn.hj=function(n){return-1},aZn.ij=function(){return CKn(this)},aZn.jj=function(){return null},aZn.kj=function(){return OKn(this)},aZn.lj=function(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o},aZn.Sj=function(){return!1},aZn.mj=function(n){var t,e,i,r,c,a,o,u;switch(this.d){case 1:case 2:switch(n.gj()){case 1:case 2:if(DA(n.jj())===DA(this.jj())&&this.hj(null)==n.hj(null))return this.g=n.ij(),1==n.gj()&&(this.d=1),!0}case 4:if(4===n.gj()&&DA(n.jj())===DA(this.jj())&&this.hj(null)==n.hj(null))return a=mXn(this),c=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,i=n.lj(),this.d=6,u=new Nrn(2),c<=i?(Znn(u,this.n),Znn(u,n.kj()),this.g=Bhn(iM(VGt,1),W1n,28,15,[this.o=c,i+1])):(Znn(u,n.kj()),Znn(u,this.n),this.g=Bhn(iM(VGt,1),W1n,28,15,[this.o=i,c])),this.n=u,a||(this.o=-2-this.o-1),!0;break;case 6:if(4===n.gj()&&DA(n.jj())===DA(this.jj())&&this.hj(null)==n.hj(null)){for(a=mXn(this),i=n.lj(),o=aU(this.g,53),e=Pnn(VGt,W1n,28,o.length+1,15,1),t=0;t>>0).toString(16))).a+=" (eventType: ",this.d){case 1:e.a+="SET";break;case 2:e.a+="UNSET";break;case 3:e.a+="ADD";break;case 5:e.a+="ADD_MANY";break;case 4:e.a+="REMOVE";break;case 6:e.a+="REMOVE_MANY";break;case 7:e.a+="MOVE";break;case 8:e.a+="REMOVING_ADAPTER";break;case 9:e.a+="RESOLVE";break;default:Oj(e,this.d)}if(wGn(this)&&(e.a+=", touch: true"),e.a+=", position: ",Oj(e,this.o<0?this.o<-2?-2-this.o-1:-1:this.o),e.a+=", notifier: ",qA(e,this.jj()),e.a+=", feature: ",qA(e,this.Kj()),e.a+=", oldValue: ",qA(e,OKn(this)),e.a+=", newValue: ",6==this.d&&RD(this.g,53)){for(t=aU(this.g,53),e.a+="[",n=0;n10?(this.b&&this.c.j==this.a||(this.b=new cz(this),this.a=this.j),iS(this.b,n)):oSn(this,n)},aZn.Yi=function(){return!0},aZn.a=0,qV(Tet,"AbstractEList/1",966),oxn(302,77,p0n,lF),qV(Tet,"AbstractEList/BasicIndexOutOfBoundsException",302),oxn(37,1,LZn,Nx),aZn.Nb=function(n){jX(this,n)},aZn.Xj=function(){if(this.i.j!=this.f)throw uv(new Rv)},aZn.Yj=function(){return Jyn(this)},aZn.Ob=function(){return this.e!=this.i.gc()},aZn.Pb=function(){return this.Yj()},aZn.Qb=function(){LSn(this)},aZn.e=0,aZn.f=0,aZn.g=-1,qV(Tet,"AbstractEList/EIterator",37),oxn(286,37,BZn,J$,XX),aZn.Qb=function(){LSn(this)},aZn.Rb=function(n){jmn(this,n)},aZn.Zj=function(){var n;try{return n=this.d.Xb(--this.e),this.Xj(),this.g=this.e,n}catch(n){throw RD(n=Mhn(n),77)?(this.Xj(),uv(new Kv)):uv(n)}},aZn.$j=function(n){iMn(this,n)},aZn.Sb=function(){return 0!=this.e},aZn.Tb=function(){return this.e},aZn.Ub=function(){return this.Zj()},aZn.Vb=function(){return this.e-1},aZn.Wb=function(n){this.$j(n)},qV(Tet,"AbstractEList/EListIterator",286),oxn(355,37,LZn,Y$),aZn.Yj=function(){return Yyn(this)},aZn.Qb=function(){throw uv(new $v)},qV(Tet,"AbstractEList/NonResolvingEIterator",355),oxn(398,286,BZn,Z$,AF),aZn.Rb=function(n){throw uv(new $v)},aZn.Yj=function(){var n;try{return n=this.c.Vi(this.e),this.Xj(),this.g=this.e++,n}catch(n){throw RD(n=Mhn(n),77)?(this.Xj(),uv(new Kv)):uv(n)}},aZn.Zj=function(){var n;try{return n=this.c.Vi(--this.e),this.Xj(),this.g=this.e,n}catch(n){throw RD(n=Mhn(n),77)?(this.Xj(),uv(new Kv)):uv(n)}},aZn.Qb=function(){throw uv(new $v)},aZn.Wb=function(n){throw uv(new $v)},qV(Tet,"AbstractEList/NonResolvingEListIterator",398),oxn(2080,70,Git),aZn.Ei=function(n,t){var e,i,r,c,a,o,u,s,h;if(0!=(i=t.gc())){for(e=qln(this,(s=null==(u=aU(Isn(this.a,4),129))?0:u.length)+i),(h=s-n)>0&&HUn(u,n,e,n+i,h),o=t.Kc(),c=0;ce)throw uv(new lF(n,e));return new HJ(this,n)},aZn.$b=function(){var n,t;++this.j,t=null==(n=aU(Isn(this.a,4),129))?0:n.length,Tyn(this,null),Onn(this,t,n)},aZn.Hc=function(n){var t,e,i,r;if(null!=(t=aU(Isn(this.a,4),129)))if(null!=n){for(i=0,r=(e=t).length;i=(e=null==(t=aU(Isn(this.a,4),129))?0:t.length))throw uv(new lF(n,e));return t[n]},aZn.dd=function(n){var t,e,i;if(null!=(t=aU(Isn(this.a,4),129)))if(null!=n){for(e=0,i=t.length;ee)throw uv(new lF(n,e));return new GJ(this,n)},aZn.Ti=function(n,t){var e,i,r;if(n>=(r=null==(e=hvn(this))?0:e.length))throw uv(new bE(qet+n+zet+r));if(t>=r)throw uv(new bE(Wet+t+zet+r));return i=e[t],n!=t&&(n0&&HUn(n,0,t,0,e),t},aZn.Qc=function(n){var t,e;return(e=null==(t=aU(Isn(this.a,4),129))?0:t.length)>0&&(n.lengthe&&aQ(n,e,null),n},qV(Tet,"ArrayDelegatingEList",2080),oxn(1051,37,LZn,y9),aZn.Xj=function(){if(this.b.j!=this.f||DA(aU(Isn(this.b.a,4),129))!==DA(this.a))throw uv(new Rv)},aZn.Qb=function(){LSn(this),this.a=aU(Isn(this.b.a,4),129)},qV(Tet,"ArrayDelegatingEList/EIterator",1051),oxn(722,286,BZn,wX,GJ),aZn.Xj=function(){if(this.b.j!=this.f||DA(aU(Isn(this.b.a,4),129))!==DA(this.a))throw uv(new Rv)},aZn.$j=function(n){iMn(this,n),this.a=aU(Isn(this.b.a,4),129)},aZn.Qb=function(){LSn(this),this.a=aU(Isn(this.b.a,4),129)},qV(Tet,"ArrayDelegatingEList/EListIterator",722),oxn(1052,355,LZn,k9),aZn.Xj=function(){if(this.b.j!=this.f||DA(aU(Isn(this.b.a,4),129))!==DA(this.a))throw uv(new Rv)},qV(Tet,"ArrayDelegatingEList/NonResolvingEIterator",1052),oxn(723,398,BZn,gX,HJ),aZn.Xj=function(){if(this.b.j!=this.f||DA(aU(Isn(this.b.a,4),129))!==DA(this.a))throw uv(new Rv)},qV(Tet,"ArrayDelegatingEList/NonResolvingEListIterator",723),oxn(615,302,p0n,wL),qV(Tet,"BasicEList/BasicIndexOutOfBoundsException",615),oxn(710,66,Xet,OA),aZn.bd=function(n,t){throw uv(new $v)},aZn.Fc=function(n){throw uv(new $v)},aZn.cd=function(n,t){throw uv(new $v)},aZn.Gc=function(n){throw uv(new $v)},aZn.$b=function(){throw uv(new $v)},aZn._i=function(n){throw uv(new $v)},aZn.Kc=function(){return this.Ii()},aZn.ed=function(){return this.Ji()},aZn.fd=function(n){return this.Ki(n)},aZn.Ti=function(n,t){throw uv(new $v)},aZn.Ui=function(n,t){throw uv(new $v)},aZn.gd=function(n){throw uv(new $v)},aZn.Mc=function(n){throw uv(new $v)},aZn.hd=function(n,t){throw uv(new $v)},qV(Tet,"BasicEList/UnmodifiableEList",710),oxn(721,1,{3:1,20:1,16:1,15:1,61:1,597:1}),aZn.bd=function(n,t){QD(this,n,aU(t,44))},aZn.Fc=function(n){return QR(this,aU(n,44))},aZn.Jc=function(n){q8(this,n)},aZn.Xb=function(n){return aU(qrn(this.c,n),136)},aZn.Ti=function(n,t){return aU(this.c.Ti(n,t),44)},aZn.Ui=function(n,t){JD(this,n,aU(t,44))},aZn.Lc=function(){return new sz(null,new u3(this,16))},aZn.gd=function(n){return aU(this.c.gd(n),44)},aZn.hd=function(n,t){return MV(this,n,aU(t,44))},aZn.jd=function(n){Ion(this,n)},aZn.Nc=function(){return new u3(this,16)},aZn.Oc=function(){return new sz(null,new u3(this,16))},aZn.cd=function(n,t){return this.c.cd(n,t)},aZn.Gc=function(n){return this.c.Gc(n)},aZn.$b=function(){this.c.$b()},aZn.Hc=function(n){return this.c.Hc(n)},aZn.Ic=function(n){return vhn(this.c,n)},aZn._j=function(){var n,t;if(null==this.d){for(this.d=Pnn(CKt,Hit,66,2*this.f+1,0,1),t=this.e,this.f=0,n=this.c.Kc();n.e!=n.i.gc();)fEn(this,aU(n.Yj(),136));this.e=t}},aZn.Fb=function(n){return FF(this,n)},aZn.Hb=function(){return Khn(this.c)},aZn.dd=function(n){return this.c.dd(n)},aZn.ak=function(){this.c=new Pm(this)},aZn.dc=function(){return 0==this.f},aZn.Kc=function(){return this.c.Kc()},aZn.ed=function(){return this.c.ed()},aZn.fd=function(n){return this.c.fd(n)},aZn.bk=function(){return knn(this)},aZn.ck=function(n,t,e){return new DH(n,t,e)},aZn.dk=function(){return new ds},aZn.Mc=function(n){return aan(this,n)},aZn.gc=function(){return this.f},aZn.kd=function(n,t){return new S2(this.c,n,t)},aZn.Pc=function(){return this.c.Pc()},aZn.Qc=function(n){return this.c.Qc(n)},aZn.Ib=function(){return kpn(this.c)},aZn.e=0,aZn.f=0,qV(Tet,"BasicEMap",721),oxn(1046,66,Xet,Pm),aZn.Mi=function(n,t){Xv(this,aU(t,136))},aZn.Pi=function(n,t,e){var i;++(i=this,aU(t,136),i).a.e},aZn.Qi=function(n,t){Vv(this,aU(t,136))},aZn.Ri=function(n,t,e){sR(this,aU(t,136),aU(e,136))},aZn.Oi=function(n,t){Csn(this.a)},qV(Tet,"BasicEMap/1",1046),oxn(1047,66,Xet,ds),aZn.aj=function(n){return Pnn($Kt,Uit,621,n,0,1)},qV(Tet,"BasicEMap/2",1047),oxn(1048,$Zn,RZn,Cm),aZn.$b=function(){this.a.c.$b()},aZn.Hc=function(n){return vmn(this.a,n)},aZn.Kc=function(){return 0==this.a.f?(M_(),xKt.a):new rj(this.a)},aZn.Mc=function(n){var t;return t=this.a.f,jvn(this.a,n),this.a.f!=t},aZn.gc=function(){return this.a.f},qV(Tet,"BasicEMap/3",1048),oxn(1049,31,xZn,Om),aZn.$b=function(){this.a.c.$b()},aZn.Hc=function(n){return HFn(this.a,n)},aZn.Kc=function(){return 0==this.a.f?(M_(),xKt.a):new cj(this.a)},aZn.gc=function(){return this.a.f},qV(Tet,"BasicEMap/4",1049),oxn(1050,$Zn,RZn,Im),aZn.$b=function(){this.a.c.$b()},aZn.Hc=function(n){var t,e,i,r,c,a,o,u,s;if(this.a.f>0&&RD(n,44)&&(this.a._j(),r=null==(o=(u=aU(n,44)).ld())?0:Fon(o),c=tK(this.a,r),t=this.a.d[c]))for(e=aU(t.g,379),s=t.i,a=0;a"+this.c},aZn.a=0;var xKt,$Kt=qV(Tet,"BasicEMap/EntryImpl",621);oxn(546,1,{},ws),qV(Tet,"BasicEMap/View",546),oxn(783,1,{}),aZn.Fb=function(n){return Txn((uZ(),qot),n)},aZn.Hb=function(){return Jfn((uZ(),qot))},aZn.Ib=function(){return pOn((uZ(),qot))},qV(Tet,"ECollections/BasicEmptyUnmodifiableEList",783),oxn(1348,1,BZn,gs),aZn.Nb=function(n){jX(this,n)},aZn.Rb=function(n){throw uv(new $v)},aZn.Ob=function(){return!1},aZn.Sb=function(){return!1},aZn.Pb=function(){throw uv(new Kv)},aZn.Tb=function(){return 0},aZn.Ub=function(){throw uv(new Kv)},aZn.Vb=function(){return-1},aZn.Qb=function(){throw uv(new $v)},aZn.Wb=function(n){throw uv(new $v)},qV(Tet,"ECollections/BasicEmptyUnmodifiableEList/1",1348),oxn(1346,783,{20:1,16:1,15:1,61:1},Gy),aZn.bd=function(n,t){tT()},aZn.Fc=function(n){return eT()},aZn.cd=function(n,t){return iT()},aZn.Gc=function(n){return rT()},aZn.$b=function(){cT()},aZn.Hc=function(n){return!1},aZn.Ic=function(n){return!1},aZn.Jc=function(n){q8(this,n)},aZn.Xb=function(n){return cL((uZ(),n)),null},aZn.dd=function(n){return-1},aZn.dc=function(){return!0},aZn.Kc=function(){return this.a},aZn.ed=function(){return this.a},aZn.fd=function(n){return this.a},aZn.Ti=function(n,t){return aT()},aZn.Ui=function(n,t){oT()},aZn.Lc=function(){return new sz(null,new u3(this,16))},aZn.gd=function(n){return uT()},aZn.Mc=function(n){return sT()},aZn.hd=function(n,t){return hT()},aZn.gc=function(){return 0},aZn.jd=function(n){Ion(this,n)},aZn.Nc=function(){return new u3(this,16)},aZn.Oc=function(){return new sz(null,new u3(this,16))},aZn.kd=function(n,t){return uZ(),new S2(qot,n,t)},aZn.Pc=function(){return jW((uZ(),qot))},aZn.Qc=function(n){return uZ(),cMn(qot,n)},qV(Tet,"ECollections/EmptyUnmodifiableEList",1346),oxn(1347,783,{20:1,16:1,15:1,61:1,597:1},Hy),aZn.bd=function(n,t){tT()},aZn.Fc=function(n){return eT()},aZn.cd=function(n,t){return iT()},aZn.Gc=function(n){return rT()},aZn.$b=function(){cT()},aZn.Hc=function(n){return!1},aZn.Ic=function(n){return!1},aZn.Jc=function(n){q8(this,n)},aZn.Xb=function(n){return cL((uZ(),n)),null},aZn.dd=function(n){return-1},aZn.dc=function(){return!0},aZn.Kc=function(){return this.a},aZn.ed=function(){return this.a},aZn.fd=function(n){return this.a},aZn.Ti=function(n,t){return aT()},aZn.Ui=function(n,t){oT()},aZn.Lc=function(){return new sz(null,new u3(this,16))},aZn.gd=function(n){return uT()},aZn.Mc=function(n){return sT()},aZn.hd=function(n,t){return hT()},aZn.gc=function(){return 0},aZn.jd=function(n){Ion(this,n)},aZn.Nc=function(){return new u3(this,16)},aZn.Oc=function(){return new sz(null,new u3(this,16))},aZn.kd=function(n,t){return uZ(),new S2(qot,n,t)},aZn.Pc=function(){return jW((uZ(),qot))},aZn.Qc=function(n){return uZ(),cMn(qot,n)},aZn.bk=function(){return uZ(),uZ(),zot},qV(Tet,"ECollections/EmptyUnmodifiableEMap",1347);var RKt,_Kt=Pq(Tet,"Enumerator");oxn(288,1,{288:1},JFn),aZn.Fb=function(n){var t;return this===n||!!RD(n,288)&&(t=aU(n,288),this.f==t.f&&vz(this.i,t.i)&&mz(this.a,256&this.f?256&t.f?t.a:null:256&t.f?null:t.a)&&mz(this.d,t.d)&&mz(this.g,t.g)&&mz(this.e,t.e)&&Qyn(this,t))},aZn.Hb=function(){return this.f},aZn.Ib=function(){return NHn(this)},aZn.f=0;var KKt,FKt,BKt,GKt=0,HKt=0,UKt=0,qKt=0,zKt=0,WKt=0,XKt=0,VKt=0,QKt=0,JKt=0,YKt=0,ZKt=0,nFt=0;qV(Tet,"URI",288),oxn(1121,45,K0n,Uy),aZn.zc=function(n,t){return aU(e2(this,g_(n),aU(t,288)),288)},qV(Tet,"URI/URICache",1121),oxn(506,66,Xet,us,Lz),aZn.Si=function(){return!0},qV(Tet,"UniqueEList",506),oxn(590,63,j1n,Ten),qV(Tet,"WrappedException",590);var tFt,eFt=Pq(Ptt,Wit),iFt=Pq(Ptt,Xit),rFt=Pq(Ptt,Vit),cFt=Pq(Ptt,Qit),aFt=Pq(Ptt,Jit),oFt=Pq(Ptt,"EClass"),uFt=Pq(Ptt,"EDataType");oxn(1233,45,K0n,qy),aZn.xc=function(n){return xA(n)?B1(this,n):NA(Rz(this.f,n))},qV(Ptt,"EDataType/Internal/ConversionDelegate/Factory/Registry/Impl",1233);var sFt,hFt,fFt=Pq(Ptt,"EEnum"),lFt=Pq(Ptt,Yit),bFt=Pq(Ptt,Zit),dFt=Pq(Ptt,nrt),wFt=Pq(Ptt,trt),gFt=Pq(Ptt,ert);oxn(1042,1,{},os),aZn.Ib=function(){return"NIL"},qV(Ptt,"EStructuralFeature/Internal/DynamicValueHolder/1",1042),oxn(1041,45,K0n,zy),aZn.xc=function(n){return xA(n)?B1(this,n):NA(Rz(this.f,n))},qV(Ptt,"EStructuralFeature/Internal/SettingDelegate/Factory/Registry/Impl",1041);var pFt,mFt,vFt,yFt,kFt,EFt,MFt,jFt,TFt,SFt,PFt,CFt,OFt,IFt,AFt,LFt,NFt,DFt,xFt,$Ft,RFt,_Ft,KFt,FFt,BFt,GFt,HFt,UFt,qFt,zFt,WFt,XFt=Pq(Ptt,irt),VFt=Pq(Ptt,"EValidator/PatternMatcher"),QFt=Pq(rrt,"FeatureMap/Entry");oxn(545,1,{76:1},kA),aZn.Lk=function(){return this.a},aZn.md=function(){return this.b},qV(Qtt,"BasicEObjectImpl/1",545),oxn(1040,1,crt,EA),aZn.Fk=function(n){return B9(this.a,this.b,n)},aZn.Qj=function(){return y0(this.a,this.b)},aZn.Wb=function(n){v0(this.a,this.b,n)},aZn.Gk=function(){zQ(this.a,this.b)},qV(Qtt,"BasicEObjectImpl/4",1040),oxn(2081,1,{114:1}),aZn.Mk=function(n){this.e=0==n?HFt:Pnn(bat,MZn,1,n,5,1)},aZn.li=function(n){return this.e[n]},aZn.mi=function(n,t){this.e[n]=t},aZn.ni=function(n){this.e[n]=null},aZn.Nk=function(){return this.c},aZn.Ok=function(){throw uv(new $v)},aZn.Pk=function(){throw uv(new $v)},aZn.Qk=function(){return this.d},aZn.Rk=function(){return null!=this.e},aZn.Sk=function(n){this.c=n},aZn.Tk=function(n){throw uv(new $v)},aZn.Uk=function(n){throw uv(new $v)},aZn.Vk=function(n){this.d=n},qV(Qtt,"BasicEObjectImpl/EPropertiesHolderBaseImpl",2081),oxn(192,2081,{114:1},Il),aZn.Ok=function(){return this.a},aZn.Pk=function(){return this.b},aZn.Tk=function(n){this.a=n},aZn.Uk=function(n){this.b=n},qV(Qtt,"BasicEObjectImpl/EPropertiesHolderImpl",192),oxn(516,99,Vtt,ps),aZn.uh=function(){return this.f},aZn.zh=function(){return this.k},aZn.Bh=function(n,t){this.g=n,this.i=t},aZn.Dh=function(){return 2&this.j?this.$h().Nk():this.ii()},aZn.Fh=function(){return this.i},aZn.wh=function(){return!!(1&this.j)},aZn.Ph=function(){return this.g},aZn.Vh=function(){return!!(4&this.j)},aZn.$h=function(){return!this.k&&(this.k=new Il),this.k},aZn.ci=function(n){this.$h().Sk(n),n?this.j|=2:this.j&=-3},aZn.ei=function(n){this.$h().Uk(n),n?this.j|=4:this.j&=-5},aZn.ii=function(){return(ZV(),vFt).S},aZn.i=0,aZn.j=1,qV(Qtt,"EObjectImpl",516),oxn(798,516,{110:1,94:1,93:1,58:1,114:1,54:1,99:1},KU),aZn.li=function(n){return this.e[n]},aZn.mi=function(n,t){this.e[n]=t},aZn.ni=function(n){this.e[n]=null},aZn.Dh=function(){return this.d},aZn.Ih=function(n){return nmn(this.d,n)},aZn.Kh=function(){return this.d},aZn.Oh=function(){return null!=this.e},aZn.$h=function(){return!this.k&&(this.k=new ms),this.k},aZn.ci=function(n){this.d=n},aZn.hi=function(){var n;return null==this.e&&(n=tQ(this.d),this.e=0==n?UFt:Pnn(bat,MZn,1,n,5,1)),this},aZn.ji=function(){return 0},qV(Qtt,"DynamicEObjectImpl",798),oxn(1522,798,{110:1,44:1,94:1,93:1,136:1,58:1,114:1,54:1,99:1},Mq),aZn.Fb=function(n){return this===n},aZn.Hb=function(){return D$(this)},aZn.ci=function(n){this.d=n,this.b=M_n(n,"key"),this.c=M_n(n,aet)},aZn.Bi=function(){var n;return-1==this.a&&(n=qen(this,this.b),this.a=null==n?0:Fon(n)),this.a},aZn.ld=function(){return qen(this,this.b)},aZn.md=function(){return qen(this,this.c)},aZn.Ci=function(n){this.a=n},aZn.Di=function(n){v0(this,this.b,n)},aZn.nd=function(n){var t;return t=qen(this,this.c),v0(this,this.c,n),t},aZn.a=0,qV(Qtt,"DynamicEObjectImpl/BasicEMapEntry",1522),oxn(1523,1,{114:1},ms),aZn.Mk=function(n){throw uv(new $v)},aZn.li=function(n){throw uv(new $v)},aZn.mi=function(n,t){throw uv(new $v)},aZn.ni=function(n){throw uv(new $v)},aZn.Nk=function(){throw uv(new $v)},aZn.Ok=function(){return this.a},aZn.Pk=function(){return this.b},aZn.Qk=function(){return this.c},aZn.Rk=function(){throw uv(new $v)},aZn.Sk=function(n){throw uv(new $v)},aZn.Tk=function(n){this.a=n},aZn.Uk=function(n){this.b=n},aZn.Vk=function(n){this.c=n},qV(Qtt,"DynamicEObjectImpl/DynamicEPropertiesHolderImpl",1523),oxn(519,158,{110:1,94:1,93:1,598:1,155:1,58:1,114:1,54:1,99:1,519:1,158:1,119:1,120:1},vs),aZn.Ah=function(n){return Qjn(this,n)},aZn.Lh=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),this.Ab;case 1:return this.d;case 2:return e?(!this.b&&(this.b=new UR((QYn(),KFt),fBt,this)),this.b):(!this.b&&(this.b=new UR((QYn(),KFt),fBt,this)),knn(this.b));case 3:return R0(this);case 4:return!this.a&&(this.a=new yx(J_t,this,4)),this.a;case 5:return!this.c&&(this.c=new Cx(J_t,this,5)),this.c}return Ltn(this,n-tQ((QYn(),yFt)),nrn(aU(Isn(this,16),29)||yFt,n),t,e)},aZn.Sh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),Amn(this.Ab,n,e);case 3:return this.Cb&&(e=(i=this.Db>>16)>=0?Qjn(this,e):this.Cb.Th(this,-1-i,null,e)),dW(this,aU(n,155),e)}return aU(nrn(aU(Isn(this,16),29)||(QYn(),yFt),t),69).wk().zk(this,Lvn(this),t-tQ((QYn(),yFt)),n,e)},aZn.Uh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),Akn(this.Ab,n,e);case 2:return!this.b&&(this.b=new UR((QYn(),KFt),fBt,this)),GF(this.b,n,e);case 3:return dW(this,null,e);case 4:return!this.a&&(this.a=new yx(J_t,this,4)),Akn(this.a,n,e)}return aU(nrn(aU(Isn(this,16),29)||(QYn(),yFt),t),69).wk().Ak(this,Lvn(this),t-tQ((QYn(),yFt)),n,e)},aZn.Wh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.d;case 2:return!!this.b&&0!=this.b.f;case 3:return!!R0(this);case 4:return!!this.a&&0!=this.a.i;case 5:return!!this.c&&0!=this.c.i}return h5(this,n-tQ((QYn(),yFt)),nrn(aU(Isn(this,16),29)||yFt,n))},aZn.bi=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),SWn(this.Ab),!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),void SV(this.Ab,aU(t,16));case 1:return void Dq(this,g_(t));case 2:return!this.b&&(this.b=new UR((QYn(),KFt),fBt,this)),void Vun(this.b,t);case 3:return void m_n(this,aU(t,155));case 4:return!this.a&&(this.a=new yx(J_t,this,4)),SWn(this.a),!this.a&&(this.a=new yx(J_t,this,4)),void SV(this.a,aU(t,16));case 5:return!this.c&&(this.c=new Cx(J_t,this,5)),SWn(this.c),!this.c&&(this.c=new Cx(J_t,this,5)),void SV(this.c,aU(t,16))}hpn(this,n-tQ((QYn(),yFt)),nrn(aU(Isn(this,16),29)||yFt,n),t)},aZn.ii=function(){return QYn(),yFt},aZn.ki=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),void SWn(this.Ab);case 1:return void Qan(this,null);case 2:return!this.b&&(this.b=new UR((QYn(),KFt),fBt,this)),void this.b.c.$b();case 3:return void m_n(this,null);case 4:return!this.a&&(this.a=new yx(J_t,this,4)),void SWn(this.a);case 5:return!this.c&&(this.c=new Cx(J_t,this,5)),void SWn(this.c)}own(this,n-tQ((QYn(),yFt)),nrn(aU(Isn(this,16),29)||yFt,n))},aZn.Ib=function(){return swn(this)},aZn.d=null,qV(Qtt,"EAnnotationImpl",519),oxn(141,721,art,htn),aZn.Gi=function(n,t){HN(this,n,aU(t,44))},aZn.Wk=function(n,t){return BF(this,aU(n,44),t)},aZn.$i=function(n){return aU(aU(this.c,71).$i(n),136)},aZn.Ii=function(){return aU(this.c,71).Ii()},aZn.Ji=function(){return aU(this.c,71).Ji()},aZn.Ki=function(n){return aU(this.c,71).Ki(n)},aZn.Xk=function(n,t){return GF(this,n,t)},aZn.Fk=function(n){return aU(this.c,79).Fk(n)},aZn.ak=function(){},aZn.Qj=function(){return aU(this.c,79).Qj()},aZn.ck=function(n,t,e){var i;return(i=aU(Frn(this.b).wi().si(this.b),136)).Ci(n),i.Di(t),i.nd(e),i},aZn.dk=function(){return new zm(this)},aZn.Wb=function(n){Vun(this,n)},aZn.Gk=function(){aU(this.c,79).Gk()},qV(rrt,"EcoreEMap",141),oxn(165,141,art,UR),aZn._j=function(){var n,t,e,i,r;if(null==this.d){for(r=Pnn(CKt,Hit,66,2*this.f+1,0,1),e=this.c.Kc();e.e!=e.i.gc();)!(n=r[i=((t=aU(e.Yj(),136)).Bi()&pZn)%r.length])&&(n=r[i]=new zm(this)),n.Fc(t);this.d=r}},qV(Qtt,"EAnnotationImpl/1",165),oxn(292,448,{110:1,94:1,93:1,155:1,197:1,58:1,114:1,481:1,54:1,99:1,158:1,292:1,119:1,120:1}),aZn.Lh=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return H$(),!!(256&this.Bb);case 3:return H$(),!!(512&this.Bb);case 4:return Ddn(this.s);case 5:return Ddn(this.t);case 6:return H$(),!!this.Jk();case 7:return H$(),this.s>=1;case 8:return t?fTn(this):this.r;case 9:return this.q}return Ltn(this,n-tQ(this.ii()),nrn(aU(Isn(this,16),29)||this.ii(),n),t,e)},aZn.Uh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),Akn(this.Ab,n,e);case 9:return PV(this,e)}return aU(nrn(aU(Isn(this,16),29)||this.ii(),t),69).wk().Ak(this,Lvn(this),t-tQ(this.ii()),n,e)},aZn.Wh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return!(256&this.Bb);case 3:return!(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return this.Jk();case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==vQ(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==vQ(this.q).i)}return h5(this,n-tQ(this.ii()),nrn(aU(Isn(this,16),29)||this.ii(),n))},aZn.bi=function(n,t){var e;switch(n){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),SWn(this.Ab),!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),void SV(this.Ab,aU(t,16));case 1:return void this.ui(g_(t));case 2:return void bwn(this,cE(d_(t)));case 3:return void gwn(this,cE(d_(t)));case 4:return void Tcn(this,aU(t,17).a);case 5:return void this.Zk(aU(t,17).a);case 8:return void $bn(this,aU(t,142));case 9:return void((e=SCn(this,aU(t,89),null))&&e.oj())}hpn(this,n-tQ(this.ii()),nrn(aU(Isn(this,16),29)||this.ii(),n),t)},aZn.ii=function(){return QYn(),BFt},aZn.ki=function(n){var t;switch(n){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),void SWn(this.Ab);case 1:return void this.ui(null);case 2:return void bwn(this,!0);case 3:return void gwn(this,!0);case 4:return void Tcn(this,0);case 5:return void this.Zk(1);case 8:return void $bn(this,null);case 9:return void((t=SCn(this,null,null))&&t.oj())}own(this,n-tQ(this.ii()),nrn(aU(Isn(this,16),29)||this.ii(),n))},aZn.pi=function(){fTn(this),this.Bb|=1},aZn.Hk=function(){return fTn(this)},aZn.Ik=function(){return this.t},aZn.Jk=function(){var n;return(n=this.t)>1||-1==n},aZn.Si=function(){return!!(512&this.Bb)},aZn.Yk=function(n,t){return Qdn(this,n,t)},aZn.Zk=function(n){Scn(this,n)},aZn.Ib=function(){return IDn(this)},aZn.s=0,aZn.t=1,qV(Qtt,"ETypedElementImpl",292),oxn(462,292,{110:1,94:1,93:1,155:1,197:1,58:1,179:1,69:1,114:1,481:1,54:1,99:1,158:1,462:1,292:1,119:1,120:1,692:1}),aZn.Ah=function(n){return wjn(this,n)},aZn.Lh=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return H$(),!!(256&this.Bb);case 3:return H$(),!!(512&this.Bb);case 4:return Ddn(this.s);case 5:return Ddn(this.t);case 6:return H$(),!!this.Jk();case 7:return H$(),this.s>=1;case 8:return t?fTn(this):this.r;case 9:return this.q;case 10:return H$(),!!(this.Bb&l1n);case 11:return H$(),!!(this.Bb&srt);case 12:return H$(),!!(this.Bb&E0n);case 13:return this.j;case 14:return ARn(this);case 15:return H$(),!!(this.Bb&urt);case 16:return H$(),!!(this.Bb&zZn);case 17:return $0(this)}return Ltn(this,n-tQ(this.ii()),nrn(aU(Isn(this,16),29)||this.ii(),n),t,e)},aZn.Sh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),Amn(this.Ab,n,e);case 17:return this.Cb&&(e=(i=this.Db>>16)>=0?wjn(this,e):this.Cb.Th(this,-1-i,null,e)),LHn(this,n,17,e)}return aU(nrn(aU(Isn(this,16),29)||this.ii(),t),69).wk().zk(this,Lvn(this),t-tQ(this.ii()),n,e)},aZn.Uh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),Akn(this.Ab,n,e);case 9:return PV(this,e);case 17:return LHn(this,null,17,e)}return aU(nrn(aU(Isn(this,16),29)||this.ii(),t),69).wk().Ak(this,Lvn(this),t-tQ(this.ii()),n,e)},aZn.Wh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return!(256&this.Bb);case 3:return!(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return this.Jk();case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==vQ(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==vQ(this.q).i);case 10:return!(this.Bb&l1n);case 11:return!!(this.Bb&srt);case 12:return!!(this.Bb&E0n);case 13:return null!=this.j;case 14:return null!=ARn(this);case 15:return!!(this.Bb&urt);case 16:return!!(this.Bb&zZn);case 17:return!!$0(this)}return h5(this,n-tQ(this.ii()),nrn(aU(Isn(this,16),29)||this.ii(),n))},aZn.bi=function(n,t){var e;switch(n){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),SWn(this.Ab),!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),void SV(this.Ab,aU(t,16));case 1:return void d2(this,g_(t));case 2:return void bwn(this,cE(d_(t)));case 3:return void gwn(this,cE(d_(t)));case 4:return void Tcn(this,aU(t,17).a);case 5:return void this.Zk(aU(t,17).a);case 8:return void $bn(this,aU(t,142));case 9:return void((e=SCn(this,aU(t,89),null))&&e.oj());case 10:return void Wwn(this,cE(d_(t)));case 11:return void Qwn(this,cE(d_(t)));case 12:return void Xwn(this,cE(d_(t)));case 13:return void gA(this,g_(t));case 15:return void Vwn(this,cE(d_(t)));case 16:return void Sgn(this,cE(d_(t)))}hpn(this,n-tQ(this.ii()),nrn(aU(Isn(this,16),29)||this.ii(),n),t)},aZn.ii=function(){return QYn(),FFt},aZn.ki=function(n){var t;switch(n){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),void SWn(this.Ab);case 1:return RD(this.Cb,90)&&vLn(v9(aU(this.Cb,90)),4),void Hon(this,null);case 2:return void bwn(this,!0);case 3:return void gwn(this,!0);case 4:return void Tcn(this,0);case 5:return void this.Zk(1);case 8:return void $bn(this,null);case 9:return void((t=SCn(this,null,null))&&t.oj());case 10:return void Wwn(this,!0);case 11:return void Qwn(this,!1);case 12:return void Xwn(this,!1);case 13:return this.i=null,void hon(this,null);case 15:return void Vwn(this,!1);case 16:return void Sgn(this,!1)}own(this,n-tQ(this.ii()),nrn(aU(Isn(this,16),29)||this.ii(),n))},aZn.pi=function(){KJ(Aen((dAn(),pBt),this)),fTn(this),this.Bb|=1},aZn.pk=function(){return this.f},aZn.ik=function(){return ARn(this)},aZn.qk=function(){return $0(this)},aZn.uk=function(){return null},aZn.$k=function(){return this.k},aZn.Lj=function(){return this.n},aZn.vk=function(){return HSn(this)},aZn.wk=function(){var n,t,e,i,r,c,a,o,u;return this.p||((null==(e=$0(this)).i&&nqn(e),e.i).length,(i=this.uk())&&tQ($0(i)),n=(a=(r=fTn(this)).kk())?1&a.i?a==QGt?iot:a==VGt?bot:a==nHt?hot:a==ZGt?sot:a==JGt?vot:a==tHt?kot:a==YGt?aot:uot:a:null,t=ARn(this),o=r.ik(),zgn(this),this.Bb&zZn&&((c=iSn((dAn(),pBt),e))&&c!=this||(c=_3(Aen(pBt,this))))?this.p=new jA(this,c):this.Jk()?this.al()?i?this.Bb&urt?n?this.bl()?this.p=new SY(47,n,this,i):this.p=new SY(5,n,this,i):this.bl()?this.p=new e8(46,this,i):this.p=new e8(4,this,i):n?this.bl()?this.p=new SY(49,n,this,i):this.p=new SY(7,n,this,i):this.bl()?this.p=new e8(48,this,i):this.p=new e8(6,this,i):this.Bb&urt?n?n==jat?this.p=new xH(50,bKt,this):this.bl()?this.p=new xH(43,n,this):this.p=new xH(1,n,this):this.bl()?this.p=new GZ(42,this):this.p=new GZ(0,this):n?n==jat?this.p=new xH(41,bKt,this):this.bl()?this.p=new xH(45,n,this):this.p=new xH(3,n,this):this.bl()?this.p=new GZ(44,this):this.p=new GZ(2,this):RD(r,156)?n==QFt?this.p=new GZ(40,this):512&this.Bb?this.Bb&urt?this.p=n?new xH(9,n,this):new GZ(8,this):this.p=n?new xH(11,n,this):new GZ(10,this):this.Bb&urt?this.p=n?new xH(13,n,this):new GZ(12,this):this.p=n?new xH(15,n,this):new GZ(14,this):i?(u=i.t)>1||-1==u?this.bl()?this.Bb&urt?this.p=n?new SY(25,n,this,i):new e8(24,this,i):this.p=n?new SY(27,n,this,i):new e8(26,this,i):this.Bb&urt?this.p=n?new SY(29,n,this,i):new e8(28,this,i):this.p=n?new SY(31,n,this,i):new e8(30,this,i):this.bl()?this.Bb&urt?this.p=n?new SY(33,n,this,i):new e8(32,this,i):this.p=n?new SY(35,n,this,i):new e8(34,this,i):this.Bb&urt?this.p=n?new SY(37,n,this,i):new e8(36,this,i):this.p=n?new SY(39,n,this,i):new e8(38,this,i):this.bl()?this.Bb&urt?this.p=n?new xH(17,n,this):new GZ(16,this):this.p=n?new xH(19,n,this):new GZ(18,this):this.Bb&urt?this.p=n?new xH(21,n,this):new GZ(20,this):this.p=n?new xH(23,n,this):new GZ(22,this):this._k()?this.bl()?this.p=new $H(aU(r,29),this,i):this.p=new _1(aU(r,29),this,i):RD(r,156)?n==QFt?this.p=new GZ(40,this):this.Bb&urt?this.p=n?new fW(t,o,this,(Tmn(),a==VGt?oBt:a==QGt?eBt:a==JGt?uBt:a==nHt?aBt:a==ZGt?cBt:a==tHt?hBt:a==YGt?iBt:a==XGt?rBt:sBt)):new OY(aU(r,156),t,o,this):this.p=n?new hW(t,o,this,(Tmn(),a==VGt?oBt:a==QGt?eBt:a==JGt?uBt:a==nHt?aBt:a==ZGt?cBt:a==tHt?hBt:a==YGt?iBt:a==XGt?rBt:sBt)):new CY(aU(r,156),t,o,this):this.al()?i?this.Bb&urt?this.bl()?this.p=new GH(aU(r,29),this,i):this.p=new BH(aU(r,29),this,i):this.bl()?this.p=new FH(aU(r,29),this,i):this.p=new RH(aU(r,29),this,i):this.Bb&urt?this.bl()?this.p=new i_(aU(r,29),this):this.p=new t_(aU(r,29),this):this.bl()?this.p=new n_(aU(r,29),this):this.p=new ZR(aU(r,29),this):this.bl()?i?this.Bb&urt?this.p=new HH(aU(r,29),this,i):this.p=new _H(aU(r,29),this,i):this.Bb&urt?this.p=new r_(aU(r,29),this):this.p=new e_(aU(r,29),this):i?this.Bb&urt?this.p=new UH(aU(r,29),this,i):this.p=new KH(aU(r,29),this,i):this.Bb&urt?this.p=new c_(aU(r,29),this):this.p=new Cz(aU(r,29),this)),this.p},aZn.rk=function(){return!!(this.Bb&l1n)},aZn._k=function(){return!1},aZn.al=function(){return!1},aZn.sk=function(){return!!(this.Bb&zZn)},aZn.xk=function(){return nin(this)},aZn.bl=function(){return!1},aZn.tk=function(){return!!(this.Bb&urt)},aZn.cl=function(n){this.k=n},aZn.ui=function(n){d2(this,n)},aZn.Ib=function(){return yBn(this)},aZn.e=!1,aZn.n=0,qV(Qtt,"EStructuralFeatureImpl",462),oxn(331,462,{110:1,94:1,93:1,35:1,155:1,197:1,58:1,179:1,69:1,114:1,481:1,54:1,99:1,331:1,158:1,462:1,292:1,119:1,120:1,692:1},Wy),aZn.Lh=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return H$(),!!(256&this.Bb);case 3:return H$(),!!(512&this.Bb);case 4:return Ddn(this.s);case 5:return Ddn(this.t);case 6:return H$(),!!jNn(this);case 7:return H$(),this.s>=1;case 8:return t?fTn(this):this.r;case 9:return this.q;case 10:return H$(),!!(this.Bb&l1n);case 11:return H$(),!!(this.Bb&srt);case 12:return H$(),!!(this.Bb&E0n);case 13:return this.j;case 14:return ARn(this);case 15:return H$(),!!(this.Bb&urt);case 16:return H$(),!!(this.Bb&zZn);case 17:return $0(this);case 18:return H$(),!!(this.Bb&Xtt);case 19:return t?mhn(this):M7(this)}return Ltn(this,n-tQ((QYn(),kFt)),nrn(aU(Isn(this,16),29)||kFt,n),t,e)},aZn.Wh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return!(256&this.Bb);case 3:return!(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return jNn(this);case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==vQ(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==vQ(this.q).i);case 10:return!(this.Bb&l1n);case 11:return!!(this.Bb&srt);case 12:return!!(this.Bb&E0n);case 13:return null!=this.j;case 14:return null!=ARn(this);case 15:return!!(this.Bb&urt);case 16:return!!(this.Bb&zZn);case 17:return!!$0(this);case 18:return!!(this.Bb&Xtt);case 19:return!!M7(this)}return h5(this,n-tQ((QYn(),kFt)),nrn(aU(Isn(this,16),29)||kFt,n))},aZn.bi=function(n,t){var e;switch(n){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),SWn(this.Ab),!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),void SV(this.Ab,aU(t,16));case 1:return void d2(this,g_(t));case 2:return void bwn(this,cE(d_(t)));case 3:return void gwn(this,cE(d_(t)));case 4:return void Tcn(this,aU(t,17).a);case 5:return void sj(this,aU(t,17).a);case 8:return void $bn(this,aU(t,142));case 9:return void((e=SCn(this,aU(t,89),null))&&e.oj());case 10:return void Wwn(this,cE(d_(t)));case 11:return void Qwn(this,cE(d_(t)));case 12:return void Xwn(this,cE(d_(t)));case 13:return void gA(this,g_(t));case 15:return void Vwn(this,cE(d_(t)));case 16:return void Sgn(this,cE(d_(t)));case 18:return void jgn(this,cE(d_(t)))}hpn(this,n-tQ((QYn(),kFt)),nrn(aU(Isn(this,16),29)||kFt,n),t)},aZn.ii=function(){return QYn(),kFt},aZn.ki=function(n){var t;switch(n){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),void SWn(this.Ab);case 1:return RD(this.Cb,90)&&vLn(v9(aU(this.Cb,90)),4),void Hon(this,null);case 2:return void bwn(this,!0);case 3:return void gwn(this,!0);case 4:return void Tcn(this,0);case 5:return this.b=0,void Scn(this,1);case 8:return void $bn(this,null);case 9:return void((t=SCn(this,null,null))&&t.oj());case 10:return void Wwn(this,!0);case 11:return void Qwn(this,!1);case 12:return void Xwn(this,!1);case 13:return this.i=null,void hon(this,null);case 15:return void Vwn(this,!1);case 16:return void Sgn(this,!1);case 18:return void jgn(this,!1)}own(this,n-tQ((QYn(),kFt)),nrn(aU(Isn(this,16),29)||kFt,n))},aZn.pi=function(){mhn(this),KJ(Aen((dAn(),pBt),this)),fTn(this),this.Bb|=1},aZn.Jk=function(){return jNn(this)},aZn.Yk=function(n,t){return this.b=0,this.a=null,Qdn(this,n,t)},aZn.Zk=function(n){sj(this,n)},aZn.Ib=function(){var n;return 64&this.Db?yBn(this):((n=new s$(yBn(this))).a+=" (iD: ",Ij(n,!!(this.Bb&Xtt)),n.a+=")",n.a)},aZn.b=0,qV(Qtt,"EAttributeImpl",331),oxn(364,448,{110:1,94:1,93:1,142:1,155:1,197:1,58:1,114:1,54:1,99:1,364:1,158:1,119:1,120:1,691:1}),aZn.dl=function(n){return n.Dh()==this},aZn.Ah=function(n){return zMn(this,n)},aZn.Bh=function(n,t){this.w=null,this.Db=t<<16|255&this.Db,this.Cb=n},aZn.Lh=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return _Mn(this);case 4:return this.ik();case 5:return this.F;case 6:return t?Frn(this):N0(this);case 7:return!this.A&&(this.A=new Tx(XFt,this,7)),this.A}return Ltn(this,n-tQ(this.ii()),nrn(aU(Isn(this,16),29)||this.ii(),n),t,e)},aZn.Sh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),Amn(this.Ab,n,e);case 6:return this.Cb&&(e=(i=this.Db>>16)>=0?zMn(this,e):this.Cb.Th(this,-1-i,null,e)),LHn(this,n,6,e)}return aU(nrn(aU(Isn(this,16),29)||this.ii(),t),69).wk().zk(this,Lvn(this),t-tQ(this.ii()),n,e)},aZn.Uh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),Akn(this.Ab,n,e);case 6:return LHn(this,null,6,e);case 7:return!this.A&&(this.A=new Tx(XFt,this,7)),Akn(this.A,n,e)}return aU(nrn(aU(Isn(this,16),29)||this.ii(),t),69).wk().Ak(this,Lvn(this),t-tQ(this.ii()),n,e)},aZn.Wh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.D&&this.D==this.F;case 3:return!!_Mn(this);case 4:return null!=this.ik();case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!N0(this);case 7:return!!this.A&&0!=this.A.i}return h5(this,n-tQ(this.ii()),nrn(aU(Isn(this,16),29)||this.ii(),n))},aZn.bi=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),SWn(this.Ab),!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),void SV(this.Ab,aU(t,16));case 1:return void b2(this,g_(t));case 2:return void wN(this,g_(t));case 5:return void kVn(this,g_(t));case 7:return!this.A&&(this.A=new Tx(XFt,this,7)),SWn(this.A),!this.A&&(this.A=new Tx(XFt,this,7)),void SV(this.A,aU(t,16))}hpn(this,n-tQ(this.ii()),nrn(aU(Isn(this,16),29)||this.ii(),n),t)},aZn.ii=function(){return QYn(),MFt},aZn.ki=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),void SWn(this.Ab);case 1:return RD(this.Cb,184)&&(aU(this.Cb,184).tb=null),void Hon(this,null);case 2:return obn(this,null),void Ccn(this,this.D);case 5:return void kVn(this,null);case 7:return!this.A&&(this.A=new Tx(XFt,this,7)),void SWn(this.A)}own(this,n-tQ(this.ii()),nrn(aU(Isn(this,16),29)||this.ii(),n))},aZn.hk=function(){var n;return-1==this.G&&(this.G=(n=Frn(this))?Fkn(n.vi(),this):-1),this.G},aZn.ik=function(){return null},aZn.jk=function(){return Frn(this)},aZn.el=function(){return this.v},aZn.kk=function(){return _Mn(this)},aZn.lk=function(){return null!=this.D?this.D:this.B},aZn.mk=function(){return this.F},aZn.fk=function(n){return IUn(this,n)},aZn.fl=function(n){this.v=n},aZn.gl=function(n){Zon(this,n)},aZn.hl=function(n){this.C=n},aZn.ui=function(n){b2(this,n)},aZn.Ib=function(){return wmn(this)},aZn.C=null,aZn.D=null,aZn.G=-1,qV(Qtt,"EClassifierImpl",364),oxn(90,364,{110:1,94:1,93:1,29:1,142:1,155:1,197:1,58:1,114:1,54:1,99:1,90:1,364:1,158:1,482:1,119:1,120:1,691:1},$l),aZn.dl=function(n){return zK(this,n.Dh())},aZn.Lh=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return _Mn(this);case 4:return null;case 5:return this.F;case 6:return t?Frn(this):N0(this);case 7:return!this.A&&(this.A=new Tx(XFt,this,7)),this.A;case 8:return H$(),!!(256&this.Bb);case 9:return H$(),!!(512&this.Bb);case 10:return YZ(this);case 11:return!this.q&&(this.q=new sX(dFt,this,11,10)),this.q;case 12:return uzn(this);case 13:return Jqn(this);case 14:return Jqn(this),this.r;case 15:return uzn(this),this.k;case 16:return xAn(this);case 17:return Lqn(this);case 18:return nqn(this);case 19:return gRn(this);case 20:return uzn(this),this.o;case 21:return!this.s&&(this.s=new sX(rFt,this,21,17)),this.s;case 22:return q5(this);case 23:return DFn(this)}return Ltn(this,n-tQ((QYn(),EFt)),nrn(aU(Isn(this,16),29)||EFt,n),t,e)},aZn.Sh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),Amn(this.Ab,n,e);case 6:return this.Cb&&(e=(i=this.Db>>16)>=0?zMn(this,e):this.Cb.Th(this,-1-i,null,e)),LHn(this,n,6,e);case 11:return!this.q&&(this.q=new sX(dFt,this,11,10)),Amn(this.q,n,e);case 21:return!this.s&&(this.s=new sX(rFt,this,21,17)),Amn(this.s,n,e)}return aU(nrn(aU(Isn(this,16),29)||(QYn(),EFt),t),69).wk().zk(this,Lvn(this),t-tQ((QYn(),EFt)),n,e)},aZn.Uh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),Akn(this.Ab,n,e);case 6:return LHn(this,null,6,e);case 7:return!this.A&&(this.A=new Tx(XFt,this,7)),Akn(this.A,n,e);case 11:return!this.q&&(this.q=new sX(dFt,this,11,10)),Akn(this.q,n,e);case 21:return!this.s&&(this.s=new sX(rFt,this,21,17)),Akn(this.s,n,e);case 22:return Akn(q5(this),n,e)}return aU(nrn(aU(Isn(this,16),29)||(QYn(),EFt),t),69).wk().Ak(this,Lvn(this),t-tQ((QYn(),EFt)),n,e)},aZn.Wh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.D&&this.D==this.F;case 3:return!!_Mn(this);case 4:return!1;case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!N0(this);case 7:return!!this.A&&0!=this.A.i;case 8:return!!(256&this.Bb);case 9:return!!(512&this.Bb);case 10:return!(!this.u||0==q5(this.u.a).i||this.n&&vEn(this.n));case 11:return!!this.q&&0!=this.q.i;case 12:return 0!=uzn(this).i;case 13:return 0!=Jqn(this).i;case 14:return Jqn(this),0!=this.r.i;case 15:return uzn(this),0!=this.k.i;case 16:return 0!=xAn(this).i;case 17:return 0!=Lqn(this).i;case 18:return 0!=nqn(this).i;case 19:return 0!=gRn(this).i;case 20:return uzn(this),!!this.o;case 21:return!!this.s&&0!=this.s.i;case 22:return!!this.n&&vEn(this.n);case 23:return 0!=DFn(this).i}return h5(this,n-tQ((QYn(),EFt)),nrn(aU(Isn(this,16),29)||EFt,n))},aZn.Zh=function(n){return(null==this.i||this.q&&0!=this.q.i?null:M_n(this,n))||zQn(this,n)},aZn.bi=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),SWn(this.Ab),!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),void SV(this.Ab,aU(t,16));case 1:return void b2(this,g_(t));case 2:return void wN(this,g_(t));case 5:return void kVn(this,g_(t));case 7:return!this.A&&(this.A=new Tx(XFt,this,7)),SWn(this.A),!this.A&&(this.A=new Tx(XFt,this,7)),void SV(this.A,aU(t,16));case 8:return void dwn(this,cE(d_(t)));case 9:return void pwn(this,cE(d_(t)));case 10:return _Wn(YZ(this)),void SV(YZ(this),aU(t,16));case 11:return!this.q&&(this.q=new sX(dFt,this,11,10)),SWn(this.q),!this.q&&(this.q=new sX(dFt,this,11,10)),void SV(this.q,aU(t,16));case 21:return!this.s&&(this.s=new sX(rFt,this,21,17)),SWn(this.s),!this.s&&(this.s=new sX(rFt,this,21,17)),void SV(this.s,aU(t,16));case 22:return SWn(q5(this)),void SV(q5(this),aU(t,16))}hpn(this,n-tQ((QYn(),EFt)),nrn(aU(Isn(this,16),29)||EFt,n),t)},aZn.ii=function(){return QYn(),EFt},aZn.ki=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),void SWn(this.Ab);case 1:return RD(this.Cb,184)&&(aU(this.Cb,184).tb=null),void Hon(this,null);case 2:return obn(this,null),void Ccn(this,this.D);case 5:return void kVn(this,null);case 7:return!this.A&&(this.A=new Tx(XFt,this,7)),void SWn(this.A);case 8:return void dwn(this,!1);case 9:return void pwn(this,!1);case 10:return void(this.u&&_Wn(this.u));case 11:return!this.q&&(this.q=new sX(dFt,this,11,10)),void SWn(this.q);case 21:return!this.s&&(this.s=new sX(rFt,this,21,17)),void SWn(this.s);case 22:return void(this.n&&SWn(this.n))}own(this,n-tQ((QYn(),EFt)),nrn(aU(Isn(this,16),29)||EFt,n))},aZn.pi=function(){var n,t;if(uzn(this),Jqn(this),xAn(this),Lqn(this),nqn(this),gRn(this),DFn(this),z9(tU(v9(this))),this.s)for(n=0,t=this.s.i;n=0;--t)qrn(this,t);return dmn(this,n)},aZn.Gk=function(){SWn(this)},aZn.Zi=function(n,t){return Ncn(this,n,t)},qV(rrt,"EcoreEList",632),oxn(505,632,krt,RU),aZn.Li=function(){return!1},aZn.Lj=function(){return this.c},aZn.Mj=function(){return!1},aZn.ol=function(){return!0},aZn.Si=function(){return!0},aZn.Wi=function(n,t){return t},aZn.Yi=function(){return!1},aZn.c=0,qV(rrt,"EObjectEList",505),oxn(83,505,krt,yx),aZn.Mj=function(){return!0},aZn.ml=function(){return!1},aZn.al=function(){return!0},qV(rrt,"EObjectContainmentEList",83),oxn(555,83,krt,kx),aZn.Ni=function(){this.b=!0},aZn.Qj=function(){return this.b},aZn.Gk=function(){var n;SWn(this),aN(this.e)?(n=this.b,this.b=!1,ysn(this.e,new E9(this.e,2,this.c,n,!1))):this.b=!1},aZn.b=!1,qV(rrt,"EObjectContainmentEList/Unsettable",555),oxn(1161,555,krt,uW),aZn.Ti=function(n,t){var e,i;return e=aU(qwn(this,n,t),89),aN(this.e)&&Qv(this,new ltn(this.a,7,(QYn(),jFt),Ddn(t),RD(i=e.c,90)?aU(i,29):NFt,n)),e},aZn.Uj=function(n,t){return Nmn(this,aU(n,89),t)},aZn.Vj=function(n,t){return Lmn(this,aU(n,89),t)},aZn.Wj=function(n,t,e){return kSn(this,aU(n,89),aU(t,89),e)},aZn.Ij=function(n,t,e,i,r){switch(n){case 3:return t2(this,n,t,e,i,this.i>1);case 5:return t2(this,n,t,e,i,this.i-aU(e,15).gc()>0);default:return new $en(this.e,n,this.c,t,e,i,!0)}},aZn.Tj=function(){return!0},aZn.Qj=function(){return vEn(this)},aZn.Gk=function(){SWn(this)},qV(Qtt,"EClassImpl/1",1161),oxn(1175,1174,Rit),aZn.dj=function(n){var t,e,i,r,c,a,o;if(8!=(e=n.gj())){if(0==(i=Dyn(n)))switch(e){case 1:case 9:null!=(o=n.kj())&&(!(t=v9(aU(o,482))).c&&(t.c=new _s),ein(t.c,n.jj())),null!=(a=n.ij())&&(1&(r=aU(a,482)).Bb||(!(t=v9(r)).c&&(t.c=new _s),Znn(t.c,aU(n.jj(),29))));break;case 3:null!=(a=n.ij())&&(1&(r=aU(a,482)).Bb||(!(t=v9(r)).c&&(t.c=new _s),Znn(t.c,aU(n.jj(),29))));break;case 5:if(null!=(a=n.ij()))for(c=aU(a,16).Kc();c.Ob();)1&(r=aU(c.Pb(),482)).Bb||(!(t=v9(r)).c&&(t.c=new _s),Znn(t.c,aU(n.jj(),29)));break;case 4:null!=(o=n.kj())&&(1&(r=aU(o,482)).Bb||(!(t=v9(r)).c&&(t.c=new _s),ein(t.c,n.jj())));break;case 6:if(null!=(o=n.kj()))for(c=aU(o,16).Kc();c.Ob();)1&(r=aU(c.Pb(),482)).Bb||(!(t=v9(r)).c&&(t.c=new _s),ein(t.c,n.jj()))}this.ql(i)}},aZn.ql=function(n){fBn(this,n)},aZn.b=63,qV(Qtt,"ESuperAdapter",1175),oxn(1176,1175,Rit,Lm),aZn.ql=function(n){vLn(this,n)},qV(Qtt,"EClassImpl/10",1176),oxn(1165,710,krt),aZn.Ei=function(n,t){return TCn(this,n,t)},aZn.Fi=function(n){return XEn(this,n)},aZn.Gi=function(n,t){nwn(this,n,t)},aZn.Hi=function(n){q9(this,n)},aZn.$i=function(n){return Ctn(this,n)},aZn.Xi=function(n,t){return tin(this,n,t)},aZn.Wk=function(n,t){throw uv(new $v)},aZn.Ii=function(){return new Y$(this)},aZn.Ji=function(){return new Z$(this)},aZn.Ki=function(n){return uan(this,n)},aZn.Xk=function(n,t){throw uv(new $v)},aZn.Fk=function(n){return this},aZn.Qj=function(){return 0!=this.i},aZn.Wb=function(n){throw uv(new $v)},aZn.Gk=function(){throw uv(new $v)},qV(rrt,"EcoreEList/UnmodifiableEList",1165),oxn(328,1165,krt,pL),aZn.Yi=function(){return!1},qV(rrt,"EcoreEList/UnmodifiableEList/FastCompare",328),oxn(1168,328,krt,Ofn),aZn.dd=function(n){var t,e;if(RD(n,179)&&-1!=(t=aU(n,179).Lj()))for(e=this.i;t4){if(!this.fk(n))return!1;if(this.al()){if(a=(t=(e=aU(n,54)).Eh())==this.b&&(this.ml()?e.yh(e.Fh(),aU(nrn(n1(this.b),this.Lj()).Hk(),29).kk())==hEn(aU(nrn(n1(this.b),this.Lj()),19)).n:-1-e.Fh()==this.Lj()),this.nl()&&!a&&!t&&e.Jh())for(i=0;i1||-1==e)},aZn.ml=function(){var n;return!!RD(n=nrn(n1(this.b),this.Lj()),102)&&!!hEn(aU(n,19))},aZn.nl=function(){var n;return!!RD(n=nrn(n1(this.b),this.Lj()),102)&&!!(aU(n,19).Bb&T0n)},aZn.dd=function(n){var t,e,i;if((e=this.zj(n))>=0)return e;if(this.ol())for(t=0,i=this.Ej();t=0;--n)vXn(this,n,this.xj(n));return this.Fj()},aZn.Qc=function(n){var t;if(this.nl())for(t=this.Ej()-1;t>=0;--t)vXn(this,t,this.xj(t));return this.Gj(n)},aZn.Gk=function(){_Wn(this)},aZn.Zi=function(n,t){return Otn(this,n,t)},qV(rrt,"DelegatingEcoreEList",756),oxn(1171,756,Srt,rK),aZn.qj=function(n,t){qR(this,n,aU(t,29))},aZn.rj=function(n){KN(this,aU(n,29))},aZn.xj=function(n){var t;return RD(t=aU(qrn(q5(this.a),n),89).c,90)?aU(t,29):(QYn(),NFt)},aZn.Cj=function(n){var t;return RD(t=aU(nFn(q5(this.a),n),89).c,90)?aU(t,29):(QYn(),NFt)},aZn.Dj=function(n,t){return QEn(this,n,aU(t,29))},aZn.Li=function(){return!1},aZn.Ij=function(n,t,e,i,r){return null},aZn.sj=function(){return new xm(this)},aZn.tj=function(){SWn(q5(this.a))},aZn.uj=function(n){return ywn(this,n)},aZn.vj=function(n){var t;for(t=n.Kc();t.Ob();)if(!ywn(this,t.Pb()))return!1;return!0},aZn.wj=function(n){var t,e,i;if(RD(n,15)&&(i=aU(n,15)).gc()==q5(this.a).i){for(t=i.Kc(),e=new Nx(this);t.Ob();)if(DA(t.Pb())!==DA(Jyn(e)))return!1;return!0}return!1},aZn.yj=function(){var n,t,e,i;for(t=1,n=new Nx(q5(this.a));n.e!=n.i.gc();)t=31*t+((e=RD(i=aU(Jyn(n),89).c,90)?aU(i,29):(QYn(),NFt))?D$(e):0);return t},aZn.zj=function(n){var t,e,i,r;for(i=0,e=new Nx(q5(this.a));e.e!=e.i.gc();){if(t=aU(Jyn(e),89),DA(n)===DA(RD(r=t.c,90)?aU(r,29):(QYn(),NFt)))return i;++i}return-1},aZn.Aj=function(){return 0==q5(this.a).i},aZn.Bj=function(){return null},aZn.Ej=function(){return q5(this.a).i},aZn.Fj=function(){var n,t,e,i,r,c;for(c=q5(this.a).i,r=Pnn(bat,MZn,1,c,5,1),e=0,t=new Nx(q5(this.a));t.e!=t.i.gc();)n=aU(Jyn(t),89),r[e++]=RD(i=n.c,90)?aU(i,29):(QYn(),NFt);return r},aZn.Gj=function(n){var t,e,i,r;for(r=q5(this.a).i,n.lengthr&&aQ(n,r,null),e=0,t=new Nx(q5(this.a));t.e!=t.i.gc();)aQ(n,e++,RD(i=aU(Jyn(t),89).c,90)?aU(i,29):(QYn(),NFt));return n},aZn.Hj=function(){var n,t,e,i,r;for((r=new qE).a+="[",n=q5(this.a),t=0,i=q5(this.a).i;t>16)>=0?zMn(this,e):this.Cb.Th(this,-1-i,null,e)),LHn(this,n,6,e);case 9:return!this.a&&(this.a=new sX(lFt,this,9,5)),Amn(this.a,n,e)}return aU(nrn(aU(Isn(this,16),29)||(QYn(),SFt),t),69).wk().zk(this,Lvn(this),t-tQ((QYn(),SFt)),n,e)},aZn.Uh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),Akn(this.Ab,n,e);case 6:return LHn(this,null,6,e);case 7:return!this.A&&(this.A=new Tx(XFt,this,7)),Akn(this.A,n,e);case 9:return!this.a&&(this.a=new sX(lFt,this,9,5)),Akn(this.a,n,e)}return aU(nrn(aU(Isn(this,16),29)||(QYn(),SFt),t),69).wk().Ak(this,Lvn(this),t-tQ((QYn(),SFt)),n,e)},aZn.Wh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.D&&this.D==this.F;case 3:return!!_Mn(this);case 4:return!!bbn(this);case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!N0(this);case 7:return!!this.A&&0!=this.A.i;case 8:return!(256&this.Bb);case 9:return!!this.a&&0!=this.a.i}return h5(this,n-tQ((QYn(),SFt)),nrn(aU(Isn(this,16),29)||SFt,n))},aZn.bi=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),SWn(this.Ab),!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),void SV(this.Ab,aU(t,16));case 1:return void b2(this,g_(t));case 2:return void wN(this,g_(t));case 5:return void kVn(this,g_(t));case 7:return!this.A&&(this.A=new Tx(XFt,this,7)),SWn(this.A),!this.A&&(this.A=new Tx(XFt,this,7)),void SV(this.A,aU(t,16));case 8:return void wwn(this,cE(d_(t)));case 9:return!this.a&&(this.a=new sX(lFt,this,9,5)),SWn(this.a),!this.a&&(this.a=new sX(lFt,this,9,5)),void SV(this.a,aU(t,16))}hpn(this,n-tQ((QYn(),SFt)),nrn(aU(Isn(this,16),29)||SFt,n),t)},aZn.ii=function(){return QYn(),SFt},aZn.ki=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),void SWn(this.Ab);case 1:return RD(this.Cb,184)&&(aU(this.Cb,184).tb=null),void Hon(this,null);case 2:return obn(this,null),void Ccn(this,this.D);case 5:return void kVn(this,null);case 7:return!this.A&&(this.A=new Tx(XFt,this,7)),void SWn(this.A);case 8:return void wwn(this,!0);case 9:return!this.a&&(this.a=new sX(lFt,this,9,5)),void SWn(this.a)}own(this,n-tQ((QYn(),SFt)),nrn(aU(Isn(this,16),29)||SFt,n))},aZn.pi=function(){var n,t;if(this.a)for(n=0,t=this.a.i;n>16==5?aU(this.Cb,685):null}return Ltn(this,n-tQ((QYn(),PFt)),nrn(aU(Isn(this,16),29)||PFt,n),t,e)},aZn.Sh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),Amn(this.Ab,n,e);case 5:return this.Cb&&(e=(i=this.Db>>16)>=0?Xjn(this,e):this.Cb.Th(this,-1-i,null,e)),LHn(this,n,5,e)}return aU(nrn(aU(Isn(this,16),29)||(QYn(),PFt),t),69).wk().zk(this,Lvn(this),t-tQ((QYn(),PFt)),n,e)},aZn.Uh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),Akn(this.Ab,n,e);case 5:return LHn(this,null,5,e)}return aU(nrn(aU(Isn(this,16),29)||(QYn(),PFt),t),69).wk().Ak(this,Lvn(this),t-tQ((QYn(),PFt)),n,e)},aZn.Wh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0!=this.d;case 3:return!!this.b;case 4:return null!=this.c;case 5:return!(this.Db>>16!=5||!aU(this.Cb,685))}return h5(this,n-tQ((QYn(),PFt)),nrn(aU(Isn(this,16),29)||PFt,n))},aZn.bi=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),SWn(this.Ab),!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),void SV(this.Ab,aU(t,16));case 1:return void Hon(this,g_(t));case 2:return void Pcn(this,aU(t,17).a);case 3:return void uDn(this,aU(t,2039));case 4:return void Ban(this,g_(t))}hpn(this,n-tQ((QYn(),PFt)),nrn(aU(Isn(this,16),29)||PFt,n),t)},aZn.ii=function(){return QYn(),PFt},aZn.ki=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),void SWn(this.Ab);case 1:return void Hon(this,null);case 2:return void Pcn(this,0);case 3:return void uDn(this,null);case 4:return void Ban(this,null)}own(this,n-tQ((QYn(),PFt)),nrn(aU(Isn(this,16),29)||PFt,n))},aZn.Ib=function(){var n;return null==(n=this.c)?this.zb:n},aZn.b=null,aZn.c=null,aZn.d=0,qV(Qtt,"EEnumLiteralImpl",582);var JFt,YFt,ZFt,nBt=Pq(Qtt,"EFactoryImpl/InternalEDateTimeFormat");oxn(499,1,{2114:1},$m),qV(Qtt,"EFactoryImpl/1ClientInternalEDateTimeFormat",499),oxn(248,120,{110:1,94:1,93:1,89:1,58:1,114:1,54:1,99:1,248:1,119:1,120:1},nv),aZn.Ch=function(n,t,e){var i;return e=LHn(this,n,t,e),this.e&&RD(n,179)&&(i=fRn(this,this.e))!=this.c&&(e=TVn(this,i,e)),e},aZn.Lh=function(n,t,e){switch(n){case 0:return this.f;case 1:return!this.d&&(this.d=new yx(bFt,this,1)),this.d;case 2:return t?yUn(this):this.c;case 3:return this.b;case 4:return this.e;case 5:return t?TEn(this):this.a}return Ltn(this,n-tQ((QYn(),OFt)),nrn(aU(Isn(this,16),29)||OFt,n),t,e)},aZn.Uh=function(n,t,e){switch(t){case 0:return pdn(this,null,e);case 1:return!this.d&&(this.d=new yx(bFt,this,1)),Akn(this.d,n,e);case 3:return mdn(this,null,e)}return aU(nrn(aU(Isn(this,16),29)||(QYn(),OFt),t),69).wk().Ak(this,Lvn(this),t-tQ((QYn(),OFt)),n,e)},aZn.Wh=function(n){switch(n){case 0:return!!this.f;case 1:return!!this.d&&0!=this.d.i;case 2:return!!this.c;case 3:return!!this.b;case 4:return!!this.e;case 5:return!!this.a}return h5(this,n-tQ((QYn(),OFt)),nrn(aU(Isn(this,16),29)||OFt,n))},aZn.bi=function(n,t){switch(n){case 0:return void iPn(this,aU(t,89));case 1:return!this.d&&(this.d=new yx(bFt,this,1)),SWn(this.d),!this.d&&(this.d=new yx(bFt,this,1)),void SV(this.d,aU(t,16));case 3:return void ePn(this,aU(t,89));case 4:return void yOn(this,aU(t,850));case 5:return void Brn(this,aU(t,142))}hpn(this,n-tQ((QYn(),OFt)),nrn(aU(Isn(this,16),29)||OFt,n),t)},aZn.ii=function(){return QYn(),OFt},aZn.ki=function(n){switch(n){case 0:return void iPn(this,null);case 1:return!this.d&&(this.d=new yx(bFt,this,1)),void SWn(this.d);case 3:return void ePn(this,null);case 4:return void yOn(this,null);case 5:return void Brn(this,null)}own(this,n-tQ((QYn(),OFt)),nrn(aU(Isn(this,16),29)||OFt,n))},aZn.Ib=function(){var n;return(n=new h$(p$n(this))).a+=" (expression: ",Hzn(this,n),n.a+=")",n.a},qV(Qtt,"EGenericTypeImpl",248),oxn(2067,2062,Prt),aZn.Gi=function(n,t){Q_(this,n,t)},aZn.Wk=function(n,t){return Q_(this,this.gc(),n),t},aZn.$i=function(n){return ukn(this.pj(),n)},aZn.Ii=function(){return this.Ji()},aZn.pj=function(){return new qm(this)},aZn.Ji=function(){return this.Ki(0)},aZn.Ki=function(n){return this.pj().fd(n)},aZn.Xk=function(n,t){return Wpn(this,n,!0),t},aZn.Ti=function(n,t){var e;return e=$jn(this,t),this.fd(n).Rb(e),e},aZn.Ui=function(n,t){Wpn(this,t,!0),this.fd(n).Rb(t)},qV(rrt,"AbstractSequentialInternalEList",2067),oxn(496,2067,Prt,q$),aZn.$i=function(n){return ukn(this.pj(),n)},aZn.Ii=function(){return null==this.b?(MP(),MP(),ZFt):this.sl()},aZn.pj=function(){return new mL(this.a,this.b)},aZn.Ji=function(){return null==this.b?(MP(),MP(),ZFt):this.sl()},aZn.Ki=function(n){var t,e;if(null==this.b){if(n<0||n>1)throw uv(new bE(Fit+n+", size=0"));return MP(),MP(),ZFt}for(e=this.sl(),t=0;t0;)if(t=this.c[--this.d],(!this.e||t.pk()!=Y_t||0!=t.Lj())&&(!this.vl()||this.b.Xh(t)))if(c=this.b.Nh(t,this.ul()),this.f=(TP(),aU(t,69).xk()),this.f||t.Jk()){if(this.ul()?(i=aU(c,15),this.k=i):(i=aU(c,71),this.k=this.j=i),RD(this.k,59)?(this.o=this.k.gc(),this.n=this.o):this.p=this.j?this.j.Ki(this.k.gc()):this.k.fd(this.k.gc()),this.p?bAn(this,this.p):uLn(this))return r=this.p?this.p.Ub():this.j?this.j.$i(--this.n):this.k.Xb(--this.n),this.f?((n=aU(r,76)).Lk(),e=n.md(),this.i=e):(e=r,this.i=e),this.g=-3,!0}else if(null!=c)return this.k=null,this.p=null,e=c,this.i=e,this.g=-2,!0;return this.k=null,this.p=null,this.g=-1,!1}},aZn.Pb=function(){return $sn(this)},aZn.Tb=function(){return this.a},aZn.Ub=function(){var n;if(this.g<-1||this.Sb())return--this.a,this.g=0,n=this.i,this.Sb(),n;throw uv(new Kv)},aZn.Vb=function(){return this.a-1},aZn.Qb=function(){throw uv(new $v)},aZn.ul=function(){return!1},aZn.Wb=function(n){throw uv(new $v)},aZn.vl=function(){return!0},aZn.a=0,aZn.d=0,aZn.f=!1,aZn.g=0,aZn.n=0,aZn.o=0,qV(rrt,"EContentsEList/FeatureIteratorImpl",287),oxn(711,287,Crt,WR),aZn.ul=function(){return!0},qV(rrt,"EContentsEList/ResolvingFeatureIteratorImpl",711),oxn(1178,711,Crt,XR),aZn.vl=function(){return!1},qV(Qtt,"ENamedElementImpl/1/1",1178),oxn(1179,287,Crt,VR),aZn.vl=function(){return!1},qV(Qtt,"ENamedElementImpl/1/2",1179),oxn(39,152,Kit,Z5,n8,hX,ftn,$en,E9,Kcn,c4,Fcn,a4,M9,o4,Hcn,u4,j9,s4,Bcn,h4,fX,ltn,mZ,Gcn,f4,T9,l4),aZn.Kj=function(){return Ynn(this)},aZn.Rj=function(){var n;return(n=Ynn(this))?n.ik():null},aZn.hj=function(n){return-1==this.b&&this.a&&(this.b=this.c.Hh(this.a.Lj(),this.a.pk())),this.c.yh(this.b,n)},aZn.jj=function(){return this.c},aZn.Sj=function(){var n;return!!(n=Ynn(this))&&n.tk()},aZn.b=-1,qV(Qtt,"ENotificationImpl",39),oxn(411,292,{110:1,94:1,93:1,155:1,197:1,58:1,62:1,114:1,481:1,54:1,99:1,158:1,411:1,292:1,119:1,120:1},Qy),aZn.Ah=function(n){return sTn(this,n)},aZn.Lh=function(n,t,e){var i;switch(n){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return H$(),!!(256&this.Bb);case 3:return H$(),!!(512&this.Bb);case 4:return Ddn(this.s);case 5:return Ddn(this.t);case 6:return H$(),(i=this.t)>1||-1==i;case 7:return H$(),this.s>=1;case 8:return t?fTn(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?aU(this.Cb,29):null;case 11:return!this.d&&(this.d=new Tx(XFt,this,11)),this.d;case 12:return!this.c&&(this.c=new sX(wFt,this,12,10)),this.c;case 13:return!this.a&&(this.a=new cK(this,this)),this.a;case 14:return Oen(this)}return Ltn(this,n-tQ((QYn(),DFt)),nrn(aU(Isn(this,16),29)||DFt,n),t,e)},aZn.Sh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),Amn(this.Ab,n,e);case 10:return this.Cb&&(e=(i=this.Db>>16)>=0?sTn(this,e):this.Cb.Th(this,-1-i,null,e)),LHn(this,n,10,e);case 12:return!this.c&&(this.c=new sX(wFt,this,12,10)),Amn(this.c,n,e)}return aU(nrn(aU(Isn(this,16),29)||(QYn(),DFt),t),69).wk().zk(this,Lvn(this),t-tQ((QYn(),DFt)),n,e)},aZn.Uh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),Akn(this.Ab,n,e);case 9:return PV(this,e);case 10:return LHn(this,null,10,e);case 11:return!this.d&&(this.d=new Tx(XFt,this,11)),Akn(this.d,n,e);case 12:return!this.c&&(this.c=new sX(wFt,this,12,10)),Akn(this.c,n,e);case 14:return Akn(Oen(this),n,e)}return aU(nrn(aU(Isn(this,16),29)||(QYn(),DFt),t),69).wk().Ak(this,Lvn(this),t-tQ((QYn(),DFt)),n,e)},aZn.Wh=function(n){var t;switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return!(256&this.Bb);case 3:return!(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return(t=this.t)>1||-1==t;case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==vQ(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==vQ(this.q).i);case 10:return!(this.Db>>16!=10||!aU(this.Cb,29));case 11:return!!this.d&&0!=this.d.i;case 12:return!!this.c&&0!=this.c.i;case 13:return!(!this.a||0==Oen(this.a.a).i||this.b&&yEn(this.b));case 14:return!!this.b&&yEn(this.b)}return h5(this,n-tQ((QYn(),DFt)),nrn(aU(Isn(this,16),29)||DFt,n))},aZn.bi=function(n,t){var e;switch(n){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),SWn(this.Ab),!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),void SV(this.Ab,aU(t,16));case 1:return void Hon(this,g_(t));case 2:return void bwn(this,cE(d_(t)));case 3:return void gwn(this,cE(d_(t)));case 4:return void Tcn(this,aU(t,17).a);case 5:return void Scn(this,aU(t,17).a);case 8:return void $bn(this,aU(t,142));case 9:return void((e=SCn(this,aU(t,89),null))&&e.oj());case 11:return!this.d&&(this.d=new Tx(XFt,this,11)),SWn(this.d),!this.d&&(this.d=new Tx(XFt,this,11)),void SV(this.d,aU(t,16));case 12:return!this.c&&(this.c=new sX(wFt,this,12,10)),SWn(this.c),!this.c&&(this.c=new sX(wFt,this,12,10)),void SV(this.c,aU(t,16));case 13:return!this.a&&(this.a=new cK(this,this)),_Wn(this.a),!this.a&&(this.a=new cK(this,this)),void SV(this.a,aU(t,16));case 14:return SWn(Oen(this)),void SV(Oen(this),aU(t,16))}hpn(this,n-tQ((QYn(),DFt)),nrn(aU(Isn(this,16),29)||DFt,n),t)},aZn.ii=function(){return QYn(),DFt},aZn.ki=function(n){var t;switch(n){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),void SWn(this.Ab);case 1:return void Hon(this,null);case 2:return void bwn(this,!0);case 3:return void gwn(this,!0);case 4:return void Tcn(this,0);case 5:return void Scn(this,1);case 8:return void $bn(this,null);case 9:return void((t=SCn(this,null,null))&&t.oj());case 11:return!this.d&&(this.d=new Tx(XFt,this,11)),void SWn(this.d);case 12:return!this.c&&(this.c=new sX(wFt,this,12,10)),void SWn(this.c);case 13:return void(this.a&&_Wn(this.a));case 14:return void(this.b&&SWn(this.b))}own(this,n-tQ((QYn(),DFt)),nrn(aU(Isn(this,16),29)||DFt,n))},aZn.pi=function(){var n,t;if(this.c)for(n=0,t=this.c.i;ni&&aQ(n,i,null),e=0,t=new Nx(Oen(this.a));t.e!=t.i.gc();)aQ(n,e++,aU(Jyn(t),89).c||(QYn(),IFt));return n},aZn.Hj=function(){var n,t,e,i;for((i=new qE).a+="[",n=Oen(this.a),t=0,e=Oen(this.a).i;t1);case 5:return t2(this,n,t,e,i,this.i-aU(e,15).gc()>0);default:return new $en(this.e,n,this.c,t,e,i,!0)}},aZn.Tj=function(){return!0},aZn.Qj=function(){return yEn(this)},aZn.Gk=function(){SWn(this)},qV(Qtt,"EOperationImpl/2",1377),oxn(507,1,{2037:1,507:1},MA),qV(Qtt,"EPackageImpl/1",507),oxn(14,83,krt,sX),aZn.il=function(){return this.d},aZn.jl=function(){return this.b},aZn.ml=function(){return!0},aZn.b=0,qV(rrt,"EObjectContainmentWithInverseEList",14),oxn(365,14,krt,tF),aZn.nl=function(){return!0},aZn.Wi=function(n,t){return xDn(this,n,aU(t,58))},qV(rrt,"EObjectContainmentWithInverseEList/Resolving",365),oxn(308,365,krt,pX),aZn.Ni=function(){this.a.tb=null},qV(Qtt,"EPackageImpl/2",308),oxn(1278,1,{},Ps),qV(Qtt,"EPackageImpl/3",1278),oxn(733,45,K0n,Jy),aZn._b=function(n){return xA(n)?OZ(this,n):!!Rz(this.f,n)},qV(Qtt,"EPackageRegistryImpl",733),oxn(518,292,{110:1,94:1,93:1,155:1,197:1,58:1,2116:1,114:1,481:1,54:1,99:1,158:1,518:1,292:1,119:1,120:1},Yy),aZn.Ah=function(n){return hTn(this,n)},aZn.Lh=function(n,t,e){var i;switch(n){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return H$(),!!(256&this.Bb);case 3:return H$(),!!(512&this.Bb);case 4:return Ddn(this.s);case 5:return Ddn(this.t);case 6:return H$(),(i=this.t)>1||-1==i;case 7:return H$(),this.s>=1;case 8:return t?fTn(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?aU(this.Cb,62):null}return Ltn(this,n-tQ((QYn(),RFt)),nrn(aU(Isn(this,16),29)||RFt,n),t,e)},aZn.Sh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),Amn(this.Ab,n,e);case 10:return this.Cb&&(e=(i=this.Db>>16)>=0?hTn(this,e):this.Cb.Th(this,-1-i,null,e)),LHn(this,n,10,e)}return aU(nrn(aU(Isn(this,16),29)||(QYn(),RFt),t),69).wk().zk(this,Lvn(this),t-tQ((QYn(),RFt)),n,e)},aZn.Uh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),Akn(this.Ab,n,e);case 9:return PV(this,e);case 10:return LHn(this,null,10,e)}return aU(nrn(aU(Isn(this,16),29)||(QYn(),RFt),t),69).wk().Ak(this,Lvn(this),t-tQ((QYn(),RFt)),n,e)},aZn.Wh=function(n){var t;switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return!(256&this.Bb);case 3:return!(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return(t=this.t)>1||-1==t;case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==vQ(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==vQ(this.q).i);case 10:return!(this.Db>>16!=10||!aU(this.Cb,62))}return h5(this,n-tQ((QYn(),RFt)),nrn(aU(Isn(this,16),29)||RFt,n))},aZn.ii=function(){return QYn(),RFt},qV(Qtt,"EParameterImpl",518),oxn(102,462,{110:1,94:1,93:1,155:1,197:1,58:1,19:1,179:1,69:1,114:1,481:1,54:1,99:1,158:1,102:1,462:1,292:1,119:1,120:1,692:1},T_),aZn.Lh=function(n,t,e){var i,r;switch(n){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return H$(),!!(256&this.Bb);case 3:return H$(),!!(512&this.Bb);case 4:return Ddn(this.s);case 5:return Ddn(this.t);case 6:return H$(),(r=this.t)>1||-1==r;case 7:return H$(),this.s>=1;case 8:return t?fTn(this):this.r;case 9:return this.q;case 10:return H$(),!!(this.Bb&l1n);case 11:return H$(),!!(this.Bb&srt);case 12:return H$(),!!(this.Bb&E0n);case 13:return this.j;case 14:return ARn(this);case 15:return H$(),!!(this.Bb&urt);case 16:return H$(),!!(this.Bb&zZn);case 17:return $0(this);case 18:return H$(),!!(this.Bb&Xtt);case 19:return H$(),!!((i=hEn(this))&&i.Bb&Xtt);case 20:return H$(),!!(this.Bb&T0n);case 21:return t?hEn(this):this.b;case 22:return t?Rfn(this):x9(this);case 23:return!this.a&&(this.a=new Cx(cFt,this,23)),this.a}return Ltn(this,n-tQ((QYn(),_Ft)),nrn(aU(Isn(this,16),29)||_Ft,n),t,e)},aZn.Wh=function(n){var t,e;switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return!(256&this.Bb);case 3:return!(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return(e=this.t)>1||-1==e;case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==vQ(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==vQ(this.q).i);case 10:return!(this.Bb&l1n);case 11:return!!(this.Bb&srt);case 12:return!!(this.Bb&E0n);case 13:return null!=this.j;case 14:return null!=ARn(this);case 15:return!!(this.Bb&urt);case 16:return!!(this.Bb&zZn);case 17:return!!$0(this);case 18:return!!(this.Bb&Xtt);case 19:return!!(t=hEn(this))&&!!(t.Bb&Xtt);case 20:return!(this.Bb&T0n);case 21:return!!this.b;case 22:return!!x9(this);case 23:return!!this.a&&0!=this.a.i}return h5(this,n-tQ((QYn(),_Ft)),nrn(aU(Isn(this,16),29)||_Ft,n))},aZn.bi=function(n,t){var e;switch(n){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),SWn(this.Ab),!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),void SV(this.Ab,aU(t,16));case 1:return void d2(this,g_(t));case 2:return void bwn(this,cE(d_(t)));case 3:return void gwn(this,cE(d_(t)));case 4:return void Tcn(this,aU(t,17).a);case 5:return void Scn(this,aU(t,17).a);case 8:return void $bn(this,aU(t,142));case 9:return void((e=SCn(this,aU(t,89),null))&&e.oj());case 10:return void Wwn(this,cE(d_(t)));case 11:return void Qwn(this,cE(d_(t)));case 12:return void Xwn(this,cE(d_(t)));case 13:return void gA(this,g_(t));case 15:return void Vwn(this,cE(d_(t)));case 16:return void Sgn(this,cE(d_(t)));case 18:return void w2(this,cE(d_(t)));case 20:return void Pgn(this,cE(d_(t)));case 21:return void fon(this,aU(t,19));case 23:return!this.a&&(this.a=new Cx(cFt,this,23)),SWn(this.a),!this.a&&(this.a=new Cx(cFt,this,23)),void SV(this.a,aU(t,16))}hpn(this,n-tQ((QYn(),_Ft)),nrn(aU(Isn(this,16),29)||_Ft,n),t)},aZn.ii=function(){return QYn(),_Ft},aZn.ki=function(n){var t;switch(n){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),void SWn(this.Ab);case 1:return RD(this.Cb,90)&&vLn(v9(aU(this.Cb,90)),4),void Hon(this,null);case 2:return void bwn(this,!0);case 3:return void gwn(this,!0);case 4:return void Tcn(this,0);case 5:return void Scn(this,1);case 8:return void $bn(this,null);case 9:return void((t=SCn(this,null,null))&&t.oj());case 10:return void Wwn(this,!0);case 11:return void Qwn(this,!1);case 12:return void Xwn(this,!1);case 13:return this.i=null,void hon(this,null);case 15:return void Vwn(this,!1);case 16:return void Sgn(this,!1);case 18:return Tgn(this,!1),void(RD(this.Cb,90)&&vLn(v9(aU(this.Cb,90)),2));case 20:return void Pgn(this,!0);case 21:return void fon(this,null);case 23:return!this.a&&(this.a=new Cx(cFt,this,23)),void SWn(this.a)}own(this,n-tQ((QYn(),_Ft)),nrn(aU(Isn(this,16),29)||_Ft,n))},aZn.pi=function(){Rfn(this),KJ(Aen((dAn(),pBt),this)),fTn(this),this.Bb|=1},aZn.uk=function(){return hEn(this)},aZn._k=function(){var n;return!!(n=hEn(this))&&!!(n.Bb&Xtt)},aZn.al=function(){return!!(this.Bb&Xtt)},aZn.bl=function(){return!!(this.Bb&T0n)},aZn.Yk=function(n,t){return this.c=null,Qdn(this,n,t)},aZn.Ib=function(){var n;return 64&this.Db?yBn(this):((n=new s$(yBn(this))).a+=" (containment: ",Ij(n,!!(this.Bb&Xtt)),n.a+=", resolveProxies: ",Ij(n,!!(this.Bb&T0n)),n.a+=")",n.a)},qV(Qtt,"EReferenceImpl",102),oxn(561,120,{110:1,44:1,94:1,93:1,136:1,58:1,114:1,54:1,99:1,561:1,119:1,120:1},Cs),aZn.Fb=function(n){return this===n},aZn.ld=function(){return this.b},aZn.md=function(){return this.c},aZn.Hb=function(){return D$(this)},aZn.Di=function(n){xq(this,g_(n))},aZn.nd=function(n){return NU(this,g_(n))},aZn.Lh=function(n,t,e){switch(n){case 0:return this.b;case 1:return this.c}return Ltn(this,n-tQ((QYn(),KFt)),nrn(aU(Isn(this,16),29)||KFt,n),t,e)},aZn.Wh=function(n){switch(n){case 0:return null!=this.b;case 1:return null!=this.c}return h5(this,n-tQ((QYn(),KFt)),nrn(aU(Isn(this,16),29)||KFt,n))},aZn.bi=function(n,t){switch(n){case 0:return void $q(this,g_(t));case 1:return void Van(this,g_(t))}hpn(this,n-tQ((QYn(),KFt)),nrn(aU(Isn(this,16),29)||KFt,n),t)},aZn.ii=function(){return QYn(),KFt},aZn.ki=function(n){switch(n){case 0:return void Xan(this,null);case 1:return void Van(this,null)}own(this,n-tQ((QYn(),KFt)),nrn(aU(Isn(this,16),29)||KFt,n))},aZn.Bi=function(){var n;return-1==this.a&&(n=this.b,this.a=null==n?0:wln(n)),this.a},aZn.Ci=function(n){this.a=n},aZn.Ib=function(){var n;return 64&this.Db?p$n(this):((n=new s$(p$n(this))).a+=" (key: ",zA(n,this.b),n.a+=", value: ",zA(n,this.c),n.a+=")",n.a)},aZn.a=-1,aZn.b=null,aZn.c=null;var tBt,eBt,iBt,rBt,cBt,aBt,oBt,uBt,sBt,hBt,fBt=qV(Qtt,"EStringToStringMapEntryImpl",561),lBt=Pq(rrt,"FeatureMap/Entry/Internal");oxn(576,1,Ort),aZn.xl=function(n){return this.yl(aU(n,54))},aZn.yl=function(n){return this.xl(n)},aZn.Fb=function(n){var t,e;return this===n||!!RD(n,76)&&(t=aU(n,76)).Lk()==this.c&&(null==(e=this.md())?null==t.md():awn(e,t.md()))},aZn.Lk=function(){return this.c},aZn.Hb=function(){var n;return n=this.md(),Fon(this.c)^(null==n?0:Fon(n))},aZn.Ib=function(){var n,t;return t=Frn((n=this.c).qk()).yi(),n.xe(),(null!=t&&0!=t.length?t+":"+n.xe():n.xe())+"="+this.md()},qV(Qtt,"EStructuralFeatureImpl/BasicFeatureMapEntry",576),oxn(791,576,Ort,oK),aZn.yl=function(n){return new oK(this.c,n)},aZn.md=function(){return this.a},aZn.zl=function(n,t,e){return $un(this,n,this.a,t,e)},aZn.Al=function(n,t,e){return Run(this,n,this.a,t,e)},qV(Qtt,"EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry",791),oxn(1350,1,{},jA),aZn.yk=function(n,t,e,i,r){return aU(ptn(n,this.b),220).Yl(this.a).Fk(i)},aZn.zk=function(n,t,e,i,r){return aU(ptn(n,this.b),220).Pl(this.a,i,r)},aZn.Ak=function(n,t,e,i,r){return aU(ptn(n,this.b),220).Ql(this.a,i,r)},aZn.Bk=function(n,t,e){return aU(ptn(n,this.b),220).Yl(this.a).Qj()},aZn.Ck=function(n,t,e,i){aU(ptn(n,this.b),220).Yl(this.a).Wb(i)},aZn.Dk=function(n,t,e){return aU(ptn(n,this.b),220).Yl(this.a)},aZn.Ek=function(n,t,e){aU(ptn(n,this.b),220).Yl(this.a).Gk()},qV(Qtt,"EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator",1350),oxn(91,1,{},xH,SY,GZ,e8),aZn.yk=function(n,t,e,i,r){var c;if(null==(c=t.li(e))&&t.mi(e,c=DYn(this,n)),!r)switch(this.e){case 50:case 41:return aU(c,597).bk();case 40:return aU(c,220).Vl()}return c},aZn.zk=function(n,t,e,i,r){var c;return null==(c=t.li(e))&&t.mi(e,c=DYn(this,n)),aU(c,71).Wk(i,r)},aZn.Ak=function(n,t,e,i,r){var c;return null!=(c=t.li(e))&&(r=aU(c,71).Xk(i,r)),r},aZn.Bk=function(n,t,e){var i;return null!=(i=t.li(e))&&aU(i,79).Qj()},aZn.Ck=function(n,t,e,i){var r;!(r=aU(t.li(e),79))&&t.mi(e,r=DYn(this,n)),r.Wb(i)},aZn.Dk=function(n,t,e){var i;return null==(i=t.li(e))&&t.mi(e,i=DYn(this,n)),RD(i,79)?aU(i,79):new _m(aU(t.li(e),15))},aZn.Ek=function(n,t,e){var i;!(i=aU(t.li(e),79))&&t.mi(e,i=DYn(this,n)),i.Gk()},aZn.b=0,aZn.e=0,qV(Qtt,"EStructuralFeatureImpl/InternalSettingDelegateMany",91),oxn(512,1,{}),aZn.zk=function(n,t,e,i,r){throw uv(new $v)},aZn.Ak=function(n,t,e,i,r){throw uv(new $v)},aZn.Dk=function(n,t,e){return new PY(this,n,t,e)},qV(Qtt,"EStructuralFeatureImpl/InternalSettingDelegateSingle",512),oxn(1367,1,crt,PY),aZn.Fk=function(n){return this.a.yk(this.c,this.d,this.b,n,!0)},aZn.Qj=function(){return this.a.Bk(this.c,this.d,this.b)},aZn.Wb=function(n){this.a.Ck(this.c,this.d,this.b,n)},aZn.Gk=function(){this.a.Ek(this.c,this.d,this.b)},aZn.b=0,qV(Qtt,"EStructuralFeatureImpl/InternalSettingDelegateSingle/1",1367),oxn(784,512,{},_1),aZn.yk=function(n,t,e,i,r){return TGn(n,n.Ph(),n.Fh())==this.b?this.bl()&&i?VDn(n):n.Ph():null},aZn.zk=function(n,t,e,i,r){var c,a;return n.Ph()&&(r=(c=n.Fh())>=0?n.Ah(r):n.Ph().Th(n,-1-c,null,r)),a=nmn(n.Dh(),this.e),n.Ch(i,a,r)},aZn.Ak=function(n,t,e,i,r){var c;return c=nmn(n.Dh(),this.e),n.Ch(null,c,r)},aZn.Bk=function(n,t,e){var i;return i=nmn(n.Dh(),this.e),!!n.Ph()&&n.Fh()==i},aZn.Ck=function(n,t,e,i){var r,c,a,o,u;if(null!=i&&!IUn(this.a,i))throw uv(new gE(Irt+(RD(i,58)?YSn(aU(i,58).Dh()):irn(kbn(i)))+Art+this.a+"'"));if(r=n.Ph(),a=nmn(n.Dh(),this.e),DA(i)!==DA(r)||n.Fh()!=a&&null!=i){if(nTn(n,aU(i,58)))throw uv(new pE(Ytt+n.Ib()));u=null,r&&(u=(c=n.Fh())>=0?n.Ah(u):n.Ph().Th(n,-1-c,null,u)),(o=aU(i,54))&&(u=o.Rh(n,nmn(o.Dh(),this.b),null,u)),(u=n.Ch(o,a,u))&&u.oj()}else n.vh()&&n.wh()&&ysn(n,new hX(n,1,a,i,i))},aZn.Ek=function(n,t,e){var i,r,c;n.Ph()?(c=(i=n.Fh())>=0?n.Ah(null):n.Ph().Th(n,-1-i,null,null),r=nmn(n.Dh(),this.e),(c=n.Ch(null,r,c))&&c.oj()):n.vh()&&n.wh()&&ysn(n,new fX(n,1,this.e,null,null))},aZn.bl=function(){return!1},qV(Qtt,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainer",784),oxn(1351,784,{},$H),aZn.bl=function(){return!0},qV(Qtt,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving",1351),oxn(574,512,{}),aZn.yk=function(n,t,e,i,r){var c;return null==(c=t.li(e))?this.b:DA(c)===DA(tBt)?null:c},aZn.Bk=function(n,t,e){var i;return null!=(i=t.li(e))&&(DA(i)===DA(tBt)||!awn(i,this.b))},aZn.Ck=function(n,t,e,i){var r,c;n.vh()&&n.wh()?(r=null==(c=t.li(e))?this.b:DA(c)===DA(tBt)?null:c,null==i?null!=this.c?(t.mi(e,null),i=this.b):null!=this.b?t.mi(e,tBt):t.mi(e,null):(this.Bl(i),t.mi(e,i)),ysn(n,this.d.Cl(n,1,this.e,r,i))):null==i?null!=this.c?t.mi(e,null):null!=this.b?t.mi(e,tBt):t.mi(e,null):(this.Bl(i),t.mi(e,i))},aZn.Ek=function(n,t,e){var i,r;n.vh()&&n.wh()?(i=null==(r=t.li(e))?this.b:DA(r)===DA(tBt)?null:r,t.ni(e),ysn(n,this.d.Cl(n,1,this.e,i,this.b))):t.ni(e)},aZn.Bl=function(n){throw uv(new Lv)},qV(Qtt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData",574),oxn(Lrt,1,{},Os),aZn.Cl=function(n,t,e,i,r){return new fX(n,t,e,i,r)},aZn.Dl=function(n,t,e,i,r,c){return new mZ(n,t,e,i,r,c)},qV(Qtt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator",Lrt),oxn(1368,Lrt,{},Is),aZn.Cl=function(n,t,e,i,r){return new T9(n,t,e,cE(d_(i)),cE(d_(r)))},aZn.Dl=function(n,t,e,i,r,c){return new l4(n,t,e,cE(d_(i)),cE(d_(r)),c)},qV(Qtt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1",1368),oxn(1369,Lrt,{},As),aZn.Cl=function(n,t,e,i,r){return new Kcn(n,t,e,aU(i,222).a,aU(r,222).a)},aZn.Dl=function(n,t,e,i,r,c){return new c4(n,t,e,aU(i,222).a,aU(r,222).a,c)},qV(Qtt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2",1369),oxn(1370,Lrt,{},Ls),aZn.Cl=function(n,t,e,i,r){return new Fcn(n,t,e,aU(i,180).a,aU(r,180).a)},aZn.Dl=function(n,t,e,i,r,c){return new a4(n,t,e,aU(i,180).a,aU(r,180).a,c)},qV(Qtt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3",1370),oxn(1371,Lrt,{},Ns),aZn.Cl=function(n,t,e,i,r){return new M9(n,t,e,aE(w_(i)),aE(w_(r)))},aZn.Dl=function(n,t,e,i,r,c){return new o4(n,t,e,aE(w_(i)),aE(w_(r)),c)},qV(Qtt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4",1371),oxn(1372,Lrt,{},Ds),aZn.Cl=function(n,t,e,i,r){return new Hcn(n,t,e,aU(i,161).a,aU(r,161).a)},aZn.Dl=function(n,t,e,i,r,c){return new u4(n,t,e,aU(i,161).a,aU(r,161).a,c)},qV(Qtt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5",1372),oxn(1373,Lrt,{},xs),aZn.Cl=function(n,t,e,i,r){return new j9(n,t,e,aU(i,17).a,aU(r,17).a)},aZn.Dl=function(n,t,e,i,r,c){return new s4(n,t,e,aU(i,17).a,aU(r,17).a,c)},qV(Qtt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6",1373),oxn(1374,Lrt,{},$s),aZn.Cl=function(n,t,e,i,r){return new Bcn(n,t,e,aU(i,168).a,aU(r,168).a)},aZn.Dl=function(n,t,e,i,r,c){return new h4(n,t,e,aU(i,168).a,aU(r,168).a,c)},qV(Qtt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7",1374),oxn(1375,Lrt,{},Rs),aZn.Cl=function(n,t,e,i,r){return new Gcn(n,t,e,aU(i,191).a,aU(r,191).a)},aZn.Dl=function(n,t,e,i,r,c){return new f4(n,t,e,aU(i,191).a,aU(r,191).a,c)},qV(Qtt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8",1375),oxn(1353,574,{},CY),aZn.Bl=function(n){if(!this.a.fk(n))throw uv(new gE(Irt+kbn(n)+Art+this.a+"'"))},qV(Qtt,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic",1353),oxn(1354,574,{},hW),aZn.Bl=function(n){},qV(Qtt,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic",1354),oxn(785,574,{}),aZn.Bk=function(n,t,e){return null!=t.li(e)},aZn.Ck=function(n,t,e,i){var r,c;n.vh()&&n.wh()?(r=!0,null==(c=t.li(e))?(r=!1,c=this.b):DA(c)===DA(tBt)&&(c=null),null==i?null!=this.c?(t.mi(e,null),i=this.b):t.mi(e,tBt):(this.Bl(i),t.mi(e,i)),ysn(n,this.d.Dl(n,1,this.e,c,i,!r))):null==i?null!=this.c?t.mi(e,null):t.mi(e,tBt):(this.Bl(i),t.mi(e,i))},aZn.Ek=function(n,t,e){var i,r;n.vh()&&n.wh()?(i=!0,null==(r=t.li(e))?(i=!1,r=this.b):DA(r)===DA(tBt)&&(r=null),t.ni(e),ysn(n,this.d.Dl(n,2,this.e,r,this.b,i))):t.ni(e)},qV(Qtt,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable",785),oxn(1355,785,{},OY),aZn.Bl=function(n){if(!this.a.fk(n))throw uv(new gE(Irt+kbn(n)+Art+this.a+"'"))},qV(Qtt,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic",1355),oxn(1356,785,{},fW),aZn.Bl=function(n){},qV(Qtt,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic",1356),oxn(410,512,{},Cz),aZn.yk=function(n,t,e,i,r){var c,a,o,u,s;if(s=t.li(e),this.tk()&&DA(s)===DA(tBt))return null;if(this.bl()&&i&&null!=s){if((o=aU(s,54)).Vh()&&o!=(u=gdn(n,o))){if(!IUn(this.a,u))throw uv(new gE(Irt+kbn(u)+Art+this.a+"'"));t.mi(e,s=u),this.al()&&(c=aU(u,54),a=o.Th(n,this.b?nmn(o.Dh(),this.b):-1-nmn(n.Dh(),this.e),null,null),!c.Ph()&&(a=c.Rh(n,this.b?nmn(c.Dh(),this.b):-1-nmn(n.Dh(),this.e),null,a)),a&&a.oj()),n.vh()&&n.wh()&&ysn(n,new fX(n,9,this.e,o,u))}return s}return s},aZn.zk=function(n,t,e,i,r){var c,a;return DA(a=t.li(e))===DA(tBt)&&(a=null),t.mi(e,i),this.Mj()?DA(a)!==DA(i)&&null!=a&&(r=(c=aU(a,54)).Th(n,nmn(c.Dh(),this.b),null,r)):this.al()&&null!=a&&(r=aU(a,54).Th(n,-1-nmn(n.Dh(),this.e),null,r)),n.vh()&&n.wh()&&(!r&&(r=new ij(4)),r.nj(new fX(n,1,this.e,a,i))),r},aZn.Ak=function(n,t,e,i,r){var c;return DA(c=t.li(e))===DA(tBt)&&(c=null),t.ni(e),n.vh()&&n.wh()&&(!r&&(r=new ij(4)),this.tk()?r.nj(new fX(n,2,this.e,c,null)):r.nj(new fX(n,1,this.e,c,null))),r},aZn.Bk=function(n,t,e){return null!=t.li(e)},aZn.Ck=function(n,t,e,i){var r,c,a,o,u;if(null!=i&&!IUn(this.a,i))throw uv(new gE(Irt+(RD(i,58)?YSn(aU(i,58).Dh()):irn(kbn(i)))+Art+this.a+"'"));o=null!=(u=t.li(e)),this.tk()&&DA(u)===DA(tBt)&&(u=null),a=null,this.Mj()?DA(u)!==DA(i)&&(null!=u&&(a=(r=aU(u,54)).Th(n,nmn(r.Dh(),this.b),null,a)),null!=i&&(a=(r=aU(i,54)).Rh(n,nmn(r.Dh(),this.b),null,a))):this.al()&&DA(u)!==DA(i)&&(null!=u&&(a=aU(u,54).Th(n,-1-nmn(n.Dh(),this.e),null,a)),null!=i&&(a=aU(i,54).Rh(n,-1-nmn(n.Dh(),this.e),null,a))),null==i&&this.tk()?t.mi(e,tBt):t.mi(e,i),n.vh()&&n.wh()?(c=new mZ(n,1,this.e,u,i,this.tk()&&!o),a?(a.nj(c),a.oj()):ysn(n,c)):a&&a.oj()},aZn.Ek=function(n,t,e){var i,r,c,a,o;a=null!=(o=t.li(e)),this.tk()&&DA(o)===DA(tBt)&&(o=null),c=null,null!=o&&(this.Mj()?c=(i=aU(o,54)).Th(n,nmn(i.Dh(),this.b),null,c):this.al()&&(c=aU(o,54).Th(n,-1-nmn(n.Dh(),this.e),null,c))),t.ni(e),n.vh()&&n.wh()?(r=new mZ(n,this.tk()?2:1,this.e,o,null,a),c?(c.nj(r),c.oj()):ysn(n,r)):c&&c.oj()},aZn.Mj=function(){return!1},aZn.al=function(){return!1},aZn.bl=function(){return!1},aZn.tk=function(){return!1},qV(Qtt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObject",410),oxn(575,410,{},ZR),aZn.al=function(){return!0},qV(Qtt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment",575),oxn(1359,575,{},n_),aZn.bl=function(){return!0},qV(Qtt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving",1359),oxn(787,575,{},t_),aZn.tk=function(){return!0},qV(Qtt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable",787),oxn(1361,787,{},i_),aZn.bl=function(){return!0},qV(Qtt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving",1361),oxn(650,575,{},RH),aZn.Mj=function(){return!0},qV(Qtt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse",650),oxn(1360,650,{},FH),aZn.bl=function(){return!0},qV(Qtt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving",1360),oxn(788,650,{},BH),aZn.tk=function(){return!0},qV(Qtt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable",788),oxn(1362,788,{},GH),aZn.bl=function(){return!0},qV(Qtt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving",1362),oxn(651,410,{},e_),aZn.bl=function(){return!0},qV(Qtt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving",651),oxn(1363,651,{},r_),aZn.tk=function(){return!0},qV(Qtt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable",1363),oxn(789,651,{},_H),aZn.Mj=function(){return!0},qV(Qtt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse",789),oxn(1364,789,{},HH),aZn.tk=function(){return!0},qV(Qtt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable",1364),oxn(1357,410,{},c_),aZn.tk=function(){return!0},qV(Qtt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable",1357),oxn(786,410,{},KH),aZn.Mj=function(){return!0},qV(Qtt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse",786),oxn(1358,786,{},UH),aZn.tk=function(){return!0},qV(Qtt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable",1358),oxn(790,576,Ort,MQ),aZn.yl=function(n){return new MQ(this.a,this.c,n)},aZn.md=function(){return this.b},aZn.zl=function(n,t,e){return jnn(this,n,this.b,e)},aZn.Al=function(n,t,e){return Tnn(this,n,this.b,e)},qV(Qtt,"EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry",790),oxn(1365,1,crt,_m),aZn.Fk=function(n){return this.a},aZn.Qj=function(){return RD(this.a,97)?aU(this.a,97).Qj():!this.a.dc()},aZn.Wb=function(n){this.a.$b(),this.a.Gc(aU(n,15))},aZn.Gk=function(){RD(this.a,97)?aU(this.a,97).Gk():this.a.$b()},qV(Qtt,"EStructuralFeatureImpl/SettingMany",1365),oxn(1366,576,Ort,c8),aZn.xl=function(n){return new uK((aXn(),rGt),this.b.ri(this.a,n))},aZn.md=function(){return null},aZn.zl=function(n,t,e){return e},aZn.Al=function(n,t,e){return e},qV(Qtt,"EStructuralFeatureImpl/SimpleContentFeatureMapEntry",1366),oxn(652,576,Ort,uK),aZn.xl=function(n){return new uK(this.c,n)},aZn.md=function(){return this.a},aZn.zl=function(n,t,e){return e},aZn.Al=function(n,t,e){return e},qV(Qtt,"EStructuralFeatureImpl/SimpleFeatureMapEntry",652),oxn(403,506,Xet,_s),aZn.aj=function(n){return Pnn(oFt,MZn,29,n,0,1)},aZn.Yi=function(){return!1},qV(Qtt,"ESuperAdapter/1",403),oxn(457,448,{110:1,94:1,93:1,155:1,197:1,58:1,114:1,850:1,54:1,99:1,158:1,457:1,119:1,120:1},Ks),aZn.Lh=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return!this.a&&(this.a=new Oz(this,bFt,this)),this.a}return Ltn(this,n-tQ((QYn(),GFt)),nrn(aU(Isn(this,16),29)||GFt,n),t,e)},aZn.Uh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),Akn(this.Ab,n,e);case 2:return!this.a&&(this.a=new Oz(this,bFt,this)),Akn(this.a,n,e)}return aU(nrn(aU(Isn(this,16),29)||(QYn(),GFt),t),69).wk().Ak(this,Lvn(this),t-tQ((QYn(),GFt)),n,e)},aZn.Wh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return!!this.a&&0!=this.a.i}return h5(this,n-tQ((QYn(),GFt)),nrn(aU(Isn(this,16),29)||GFt,n))},aZn.bi=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),SWn(this.Ab),!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),void SV(this.Ab,aU(t,16));case 1:return void Hon(this,g_(t));case 2:return!this.a&&(this.a=new Oz(this,bFt,this)),SWn(this.a),!this.a&&(this.a=new Oz(this,bFt,this)),void SV(this.a,aU(t,16))}hpn(this,n-tQ((QYn(),GFt)),nrn(aU(Isn(this,16),29)||GFt,n),t)},aZn.ii=function(){return QYn(),GFt},aZn.ki=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new sX(eFt,this,0,3)),void SWn(this.Ab);case 1:return void Hon(this,null);case 2:return!this.a&&(this.a=new Oz(this,bFt,this)),void SWn(this.a)}own(this,n-tQ((QYn(),GFt)),nrn(aU(Isn(this,16),29)||GFt,n))},qV(Qtt,"ETypeParameterImpl",457),oxn(458,83,krt,Oz),aZn.Nj=function(n,t){return gCn(this,aU(n,89),t)},aZn.Oj=function(n,t){return pCn(this,aU(n,89),t)},qV(Qtt,"ETypeParameterImpl/1",458),oxn(647,45,K0n,Zy),aZn.ec=function(){return new Bm(this)},qV(Qtt,"ETypeParameterImpl/2",647),oxn(570,$Zn,RZn,Bm),aZn.Fc=function(n){return WK(this,aU(n,89))},aZn.Gc=function(n){var t,e,i;for(i=!1,e=n.Kc();e.Ob();)t=aU(e.Pb(),89),null==pJ(this.a,t,"")&&(i=!0);return i},aZn.$b=function(){LX(this.a)},aZn.Hc=function(n){return TX(this.a,n)},aZn.Kc=function(){return new Gm(new fsn(new Ad(this.a).a))},aZn.Mc=function(n){return S7(this,n)},aZn.gc=function(){return cS(this.a)},qV(Qtt,"ETypeParameterImpl/2/1",570),oxn(571,1,LZn,Gm),aZn.Nb=function(n){jX(this,n)},aZn.Pb=function(){return aU(pon(this.a).ld(),89)},aZn.Ob=function(){return this.a.b},aZn.Qb=function(){Cen(this.a)},qV(Qtt,"ETypeParameterImpl/2/1/1",571),oxn(1329,45,K0n,nk),aZn._b=function(n){return xA(n)?OZ(this,n):!!Rz(this.f,n)},aZn.xc=function(n){var t;return RD(t=xA(n)?B1(this,n):NA(Rz(this.f,n)),851)?(t=aU(t,851).Kk(),pJ(this,aU(n,241),t),t):null!=t?t:null==n?(jP(),EBt):null},qV(Qtt,"EValidatorRegistryImpl",1329),oxn(1349,720,{110:1,94:1,93:1,480:1,155:1,58:1,114:1,2040:1,54:1,99:1,158:1,119:1,120:1},Fs),aZn.ri=function(n,t){switch(n.hk()){case 21:case 22:case 23:case 24:case 26:case 31:case 32:case 37:case 38:case 39:case 40:case 43:case 44:case 48:case 49:case 20:return null==t?null:ipn(t);case 25:return Urn(t);case 27:return Ytn(t);case 28:return Ztn(t);case 29:return null==t?null:AD(X_t[0],aU(t,206));case 41:return null==t?"":Pj(aU(t,297));case 42:return ipn(t);case 50:return g_(t);default:throw uv(new pE(Ztt+n.xe()+net))}},aZn.si=function(n){var t;switch(-1==n.G&&(n.G=(t=Frn(n))?Fkn(t.vi(),n):-1),n.G){case 0:return new Wy;case 1:return new vs;case 2:return new $l;case 4:return new Gv;case 5:return new Vy;case 6:return new Bv;case 7:return new Rl;case 10:return new ps;case 11:return new Qy;case 12:return new rZ;case 13:return new Yy;case 14:return new T_;case 17:return new Cs;case 18:return new nv;case 19:return new Ks;default:throw uv(new pE(iet+n.zb+net))}},aZn.ti=function(n,t){switch(n.hk()){case 20:return null==t?null:new Wj(t);case 21:return null==t?null:new TN(t);case 23:case 22:return null==t?null:Cvn(t);case 26:case 24:return null==t?null:Ken(gHn(t,-128,127)<<24>>24);case 25:return i$n(t);case 27:return ojn(t);case 28:return ujn(t);case 29:return eOn(t);case 32:case 31:return null==t?null:QOn(t);case 38:case 37:return null==t?null:new Zv(t);case 40:case 39:return null==t?null:Ddn(gHn(t,E1n,pZn));case 41:case 42:return null;case 44:case 43:return null==t?null:Fvn(ZQn(t));case 49:case 48:return null==t?null:xdn(gHn(t,Drt,32767)<<16>>16);case 50:return t;default:throw uv(new pE(Ztt+n.xe()+net))}},qV(Qtt,"EcoreFactoryImpl",1349),oxn(560,184,{110:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,2038:1,54:1,99:1,158:1,184:1,560:1,119:1,120:1,690:1},bJ),aZn.gb=!1,aZn.hb=!1;var bBt,dBt=!1;qV(Qtt,"EcorePackageImpl",560),oxn(1234,1,{851:1},Bs),aZn.Kk=function(){return Fx(),MBt},qV(Qtt,"EcorePackageImpl/1",1234),oxn(1243,1,Wrt,Gs),aZn.fk=function(n){return RD(n,155)},aZn.gk=function(n){return Pnn(cKt,MZn,155,n,0,1)},qV(Qtt,"EcorePackageImpl/10",1243),oxn(1244,1,Wrt,Hs),aZn.fk=function(n){return RD(n,197)},aZn.gk=function(n){return Pnn(oKt,MZn,197,n,0,1)},qV(Qtt,"EcorePackageImpl/11",1244),oxn(1245,1,Wrt,Us),aZn.fk=function(n){return RD(n,58)},aZn.gk=function(n){return Pnn(J_t,MZn,58,n,0,1)},qV(Qtt,"EcorePackageImpl/12",1245),oxn(1246,1,Wrt,qs),aZn.fk=function(n){return RD(n,411)},aZn.gk=function(n){return Pnn(dFt,vrt,62,n,0,1)},qV(Qtt,"EcorePackageImpl/13",1246),oxn(1247,1,Wrt,zs),aZn.fk=function(n){return RD(n,241)},aZn.gk=function(n){return Pnn(uKt,MZn,241,n,0,1)},qV(Qtt,"EcorePackageImpl/14",1247),oxn(1248,1,Wrt,Ws),aZn.fk=function(n){return RD(n,518)},aZn.gk=function(n){return Pnn(wFt,MZn,2116,n,0,1)},qV(Qtt,"EcorePackageImpl/15",1248),oxn(1249,1,Wrt,Xs),aZn.fk=function(n){return RD(n,102)},aZn.gk=function(n){return Pnn(gFt,mrt,19,n,0,1)},qV(Qtt,"EcorePackageImpl/16",1249),oxn(1250,1,Wrt,Vs),aZn.fk=function(n){return RD(n,179)},aZn.gk=function(n){return Pnn(rFt,mrt,179,n,0,1)},qV(Qtt,"EcorePackageImpl/17",1250),oxn(1251,1,Wrt,Qs),aZn.fk=function(n){return RD(n,481)},aZn.gk=function(n){return Pnn(iFt,MZn,481,n,0,1)},qV(Qtt,"EcorePackageImpl/18",1251),oxn(1252,1,Wrt,Js),aZn.fk=function(n){return RD(n,561)},aZn.gk=function(n){return Pnn(fBt,Uit,561,n,0,1)},qV(Qtt,"EcorePackageImpl/19",1252),oxn(1235,1,Wrt,Ys),aZn.fk=function(n){return RD(n,331)},aZn.gk=function(n){return Pnn(cFt,mrt,35,n,0,1)},qV(Qtt,"EcorePackageImpl/2",1235),oxn(1253,1,Wrt,Zs),aZn.fk=function(n){return RD(n,248)},aZn.gk=function(n){return Pnn(bFt,Trt,89,n,0,1)},qV(Qtt,"EcorePackageImpl/20",1253),oxn(1254,1,Wrt,nh),aZn.fk=function(n){return RD(n,457)},aZn.gk=function(n){return Pnn(XFt,MZn,850,n,0,1)},qV(Qtt,"EcorePackageImpl/21",1254),oxn(1255,1,Wrt,th),aZn.fk=function(n){return $A(n)},aZn.gk=function(n){return Pnn(iot,qZn,485,n,8,1)},qV(Qtt,"EcorePackageImpl/22",1255),oxn(1256,1,Wrt,eh),aZn.fk=function(n){return RD(n,195)},aZn.gk=function(n){return Pnn(YGt,qZn,195,n,0,2)},qV(Qtt,"EcorePackageImpl/23",1256),oxn(1257,1,Wrt,ih),aZn.fk=function(n){return RD(n,222)},aZn.gk=function(n){return Pnn(aot,qZn,222,n,0,1)},qV(Qtt,"EcorePackageImpl/24",1257),oxn(1258,1,Wrt,rh),aZn.fk=function(n){return RD(n,180)},aZn.gk=function(n){return Pnn(uot,qZn,180,n,0,1)},qV(Qtt,"EcorePackageImpl/25",1258),oxn(1259,1,Wrt,ch),aZn.fk=function(n){return RD(n,206)},aZn.gk=function(n){return Pnn(tot,qZn,206,n,0,1)},qV(Qtt,"EcorePackageImpl/26",1259),oxn(1260,1,Wrt,ah),aZn.fk=function(n){return!1},aZn.gk=function(n){return Pnn(iHt,MZn,2215,n,0,1)},qV(Qtt,"EcorePackageImpl/27",1260),oxn(1261,1,Wrt,oh),aZn.fk=function(n){return RA(n)},aZn.gk=function(n){return Pnn(sot,qZn,345,n,7,1)},qV(Qtt,"EcorePackageImpl/28",1261),oxn(1262,1,Wrt,uh),aZn.fk=function(n){return RD(n,61)},aZn.gk=function(n){return Pnn(TKt,F3n,61,n,0,1)},qV(Qtt,"EcorePackageImpl/29",1262),oxn(1236,1,Wrt,sh),aZn.fk=function(n){return RD(n,519)},aZn.gk=function(n){return Pnn(eFt,{3:1,4:1,5:1,2033:1},598,n,0,1)},qV(Qtt,"EcorePackageImpl/3",1236),oxn(1263,1,Wrt,hh),aZn.fk=function(n){return RD(n,582)},aZn.gk=function(n){return Pnn(_Kt,MZn,2039,n,0,1)},qV(Qtt,"EcorePackageImpl/30",1263),oxn(1264,1,Wrt,fh),aZn.fk=function(n){return RD(n,160)},aZn.gk=function(n){return Pnn(ABt,F3n,160,n,0,1)},qV(Qtt,"EcorePackageImpl/31",1264),oxn(1265,1,Wrt,lh),aZn.fk=function(n){return RD(n,76)},aZn.gk=function(n){return Pnn(QFt,Xrt,76,n,0,1)},qV(Qtt,"EcorePackageImpl/32",1265),oxn(1266,1,Wrt,bh),aZn.fk=function(n){return RD(n,161)},aZn.gk=function(n){return Pnn(hot,qZn,161,n,0,1)},qV(Qtt,"EcorePackageImpl/33",1266),oxn(1267,1,Wrt,dh),aZn.fk=function(n){return RD(n,17)},aZn.gk=function(n){return Pnn(bot,qZn,17,n,0,1)},qV(Qtt,"EcorePackageImpl/34",1267),oxn(1268,1,Wrt,wh),aZn.fk=function(n){return RD(n,297)},aZn.gk=function(n){return Pnn(dat,MZn,297,n,0,1)},qV(Qtt,"EcorePackageImpl/35",1268),oxn(1269,1,Wrt,gh),aZn.fk=function(n){return RD(n,168)},aZn.gk=function(n){return Pnn(vot,qZn,168,n,0,1)},qV(Qtt,"EcorePackageImpl/36",1269),oxn(1270,1,Wrt,ph),aZn.fk=function(n){return RD(n,85)},aZn.gk=function(n){return Pnn(gat,MZn,85,n,0,1)},qV(Qtt,"EcorePackageImpl/37",1270),oxn(1271,1,Wrt,mh),aZn.fk=function(n){return RD(n,599)},aZn.gk=function(n){return Pnn(kBt,MZn,599,n,0,1)},qV(Qtt,"EcorePackageImpl/38",1271),oxn(1272,1,Wrt,vh),aZn.fk=function(n){return!1},aZn.gk=function(n){return Pnn(rHt,MZn,2216,n,0,1)},qV(Qtt,"EcorePackageImpl/39",1272),oxn(1237,1,Wrt,yh),aZn.fk=function(n){return RD(n,90)},aZn.gk=function(n){return Pnn(oFt,MZn,29,n,0,1)},qV(Qtt,"EcorePackageImpl/4",1237),oxn(1273,1,Wrt,kh),aZn.fk=function(n){return RD(n,191)},aZn.gk=function(n){return Pnn(kot,qZn,191,n,0,1)},qV(Qtt,"EcorePackageImpl/40",1273),oxn(1274,1,Wrt,Eh),aZn.fk=function(n){return xA(n)},aZn.gk=function(n){return Pnn(Lot,qZn,2,n,6,1)},qV(Qtt,"EcorePackageImpl/41",1274),oxn(1275,1,Wrt,Mh),aZn.fk=function(n){return RD(n,596)},aZn.gk=function(n){return Pnn(OKt,MZn,596,n,0,1)},qV(Qtt,"EcorePackageImpl/42",1275),oxn(1276,1,Wrt,jh),aZn.fk=function(n){return!1},aZn.gk=function(n){return Pnn(cHt,qZn,2217,n,0,1)},qV(Qtt,"EcorePackageImpl/43",1276),oxn(1277,1,Wrt,Th),aZn.fk=function(n){return RD(n,44)},aZn.gk=function(n){return Pnn(jat,i1n,44,n,0,1)},qV(Qtt,"EcorePackageImpl/44",1277),oxn(1238,1,Wrt,Sh),aZn.fk=function(n){return RD(n,142)},aZn.gk=function(n){return Pnn(aFt,MZn,142,n,0,1)},qV(Qtt,"EcorePackageImpl/5",1238),oxn(1239,1,Wrt,Ph),aZn.fk=function(n){return RD(n,156)},aZn.gk=function(n){return Pnn(uFt,MZn,156,n,0,1)},qV(Qtt,"EcorePackageImpl/6",1239),oxn(1240,1,Wrt,Ch),aZn.fk=function(n){return RD(n,469)},aZn.gk=function(n){return Pnn(fFt,MZn,685,n,0,1)},qV(Qtt,"EcorePackageImpl/7",1240),oxn(1241,1,Wrt,Oh),aZn.fk=function(n){return RD(n,582)},aZn.gk=function(n){return Pnn(lFt,MZn,694,n,0,1)},qV(Qtt,"EcorePackageImpl/8",1241),oxn(1242,1,Wrt,Ih),aZn.fk=function(n){return RD(n,480)},aZn.gk=function(n){return Pnn(aKt,MZn,480,n,0,1)},qV(Qtt,"EcorePackageImpl/9",1242),oxn(1038,2080,Git,Xk),aZn.Mi=function(n,t){lwn(this,aU(t,424))},aZn.Qi=function(n,t){GAn(this,n,aU(t,424))},qV(Qtt,"MinimalEObjectImpl/1ArrayDelegatingAdapterList",1038),oxn(1039,152,Kit,jQ),aZn.jj=function(){return this.a.a},qV(Qtt,"MinimalEObjectImpl/1ArrayDelegatingAdapterList/1",1039),oxn(1067,1066,{},nD),qV("org.eclipse.emf.ecore.plugin","EcorePlugin",1067);var wBt,gBt,pBt,mBt,vBt,yBt,kBt=Pq(Vrt,"Resource");oxn(799,1524,Qrt),aZn.Hl=function(n){},aZn.Il=function(n){},aZn.El=function(){return!this.a&&(this.a=new Hm(this)),this.a},aZn.Fl=function(n){var t,e,i,r,c;if((i=n.length)>0){if(o3(0,n.length),47==n.charCodeAt(0)){for(c=new x7(4),r=1,t=1;t0&&($nn(0,e,n.length),n=n.substr(0,e))}return hNn(this,n)},aZn.Gl=function(){return this.c},aZn.Ib=function(){return Pj(this.Rm)+"@"+(Fon(this)>>>0).toString(16)+" uri='"+this.d+"'"},aZn.b=!1,qV(Jrt,"ResourceImpl",799),oxn(1525,799,Qrt,Um),qV(Jrt,"BinaryResourceImpl",1525),oxn(1190,708,Vet),aZn.bj=function(n){return RD(n,58)?VZ(this,aU(n,58)):RD(n,599)?new Nx(aU(n,599).El()):DA(n)===DA(this.f)?aU(n,16).Kc():(M_(),xKt.a)},aZn.Ob=function(){return aDn(this)},aZn.a=!1,qV(rrt,"EcoreUtil/ContentTreeIterator",1190),oxn(1526,1190,Vet,bX),aZn.bj=function(n){return DA(n)===DA(this.f)?aU(n,15).Kc():new I6(aU(n,58))},qV(Jrt,"ResourceImpl/5",1526),oxn(658,2092,yrt,Hm),aZn.Hc=function(n){return this.i<=4?oSn(this,n):RD(n,54)&&aU(n,54).Jh()==this.a},aZn.Mi=function(n,t){n==this.i-1&&(this.a.b||(this.a.b=!0))},aZn.Oi=function(n,t){0==n?this.a.b||(this.a.b=!0):Onn(this,n,t)},aZn.Qi=function(n,t){},aZn.Ri=function(n,t,e){},aZn.Lj=function(){return 2},aZn.jj=function(){return this.a},aZn.Mj=function(){return!0},aZn.Nj=function(n,t){return t=aU(n,54).fi(this.a,t)},aZn.Oj=function(n,t){return aU(n,54).fi(null,t)},aZn.Pj=function(){return!1},aZn.Si=function(){return!0},aZn.aj=function(n){return Pnn(J_t,MZn,58,n,0,1)},aZn.Yi=function(){return!1},qV(Jrt,"ResourceImpl/ContentsEList",658),oxn(970,2062,g1n,qm),aZn.fd=function(n){return this.a.Ki(n)},aZn.gc=function(){return this.a.gc()},qV(rrt,"AbstractSequentialInternalEList/1",970),oxn(634,1,{},FU),qV(rrt,"BasicExtendedMetaData",634),oxn(1181,1,{},SA),aZn.Jl=function(){return null},aZn.Kl=function(){return-2==this.a&&sd(this,HCn(this.d,this.b)),this.a},aZn.Ll=function(){return null},aZn.Ml=function(){return uZ(),uZ(),qot},aZn.xe=function(){return this.c==lct&&hd(this,iyn(this.d,this.b)),this.c},aZn.Nl=function(){return 0},aZn.a=-2,aZn.c=lct,qV(rrt,"BasicExtendedMetaData/EClassExtendedMetaDataImpl",1181),oxn(1182,1,{},d4),aZn.Jl=function(){return this.a==(A7(),vBt)&&bd(this,kBn(this.f,this.b)),this.a},aZn.Kl=function(){return 0},aZn.Ll=function(){return this.c==(A7(),vBt)&&fd(this,EBn(this.f,this.b)),this.c},aZn.Ml=function(){return!this.d&&wd(this,tqn(this.f,this.b)),this.d},aZn.xe=function(){return this.e==lct&&pd(this,iyn(this.f,this.b)),this.e},aZn.Nl=function(){return-2==this.g&&vd(this,NPn(this.f,this.b)),this.g},aZn.e=lct,aZn.g=-2,qV(rrt,"BasicExtendedMetaData/EDataTypeExtendedMetaDataImpl",1182),oxn(1180,1,{},PA),aZn.b=!1,aZn.c=!1,qV(rrt,"BasicExtendedMetaData/EPackageExtendedMetaDataImpl",1180),oxn(1183,1,{},w4),aZn.c=-2,aZn.e=lct,aZn.f=lct,qV(rrt,"BasicExtendedMetaData/EStructuralFeatureExtendedMetaDataImpl",1183),oxn(593,632,krt,_U),aZn.Lj=function(){return this.c},aZn.ol=function(){return!1},aZn.Wi=function(n,t){return t},aZn.c=0,qV(rrt,"EDataTypeEList",593);var EBt,MBt,jBt,TBt,SBt,PBt,CBt,OBt,IBt,ABt=Pq(rrt,"FeatureMap");oxn(78,593,{3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1,79:1,160:1,220:1,2036:1,71:1,97:1},lsn),aZn.bd=function(n,t){t_n(this,n,aU(t,76))},aZn.Fc=function(n){return X$n(this,aU(n,76))},aZn.Hi=function(n){CV(this,aU(n,76))},aZn.Nj=function(n,t){return HF(this,aU(n,76),t)},aZn.Oj=function(n,t){return UF(this,aU(n,76),t)},aZn.Ti=function(n,t){return hHn(this,n,t)},aZn.Wi=function(n,t){return PXn(this,n,aU(t,76))},aZn.hd=function(n,t){return mKn(this,n,aU(t,76))},aZn.Uj=function(n,t){return qF(this,aU(n,76),t)},aZn.Vj=function(n,t){return zF(this,aU(n,76),t)},aZn.Wj=function(n,t,e){return rPn(this,aU(n,76),aU(t,76),e)},aZn.Zi=function(n,t){return WPn(this,n,aU(t,76))},aZn.Ol=function(n,t){return BGn(this,n,t)},aZn.cd=function(n,t){var e,i,r,c,a,o,u,s,h;for(s=new Nrn(t.gc()),r=t.Kc();r.Ob();)if(c=(i=aU(r.Pb(),76)).Lk(),MKn(this.e,c))(!c.Si()||!F5(this,c,i.md())&&!oSn(s,i))&&Znn(s,i);else{for(h=z_n(this.e.Dh(),c),e=aU(this.g,124),a=!0,o=0;o=0;)if(t=n[this.c],this.k.am(t.Lk()))return this.j=this.f?t:t.md(),this.i=-2,!0;return this.i=-1,this.g=-1,!1},qV(rrt,"BasicFeatureMap/FeatureEIterator",420),oxn(676,420,BZn,vL),aZn.ul=function(){return!0},qV(rrt,"BasicFeatureMap/ResolvingFeatureEIterator",676),oxn(968,496,Prt,GD),aZn.pj=function(){return this},qV(rrt,"EContentsEList/1",968),oxn(969,496,Prt,mL),aZn.ul=function(){return!1},qV(rrt,"EContentsEList/2",969),oxn(967,287,Crt,HD),aZn.wl=function(n){},aZn.Ob=function(){return!1},aZn.Sb=function(){return!1},qV(rrt,"EContentsEList/FeatureIteratorImpl/1",967),oxn(840,593,krt,Ex),aZn.Ni=function(){this.a=!0},aZn.Qj=function(){return this.a},aZn.Gk=function(){var n;SWn(this),aN(this.e)?(n=this.a,this.a=!1,ysn(this.e,new E9(this.e,2,this.c,n,!1))):this.a=!1},aZn.a=!1,qV(rrt,"EDataTypeEList/Unsettable",840),oxn(1958,593,krt,Mx),aZn.Si=function(){return!0},qV(rrt,"EDataTypeUniqueEList",1958),oxn(1959,840,krt,jx),aZn.Si=function(){return!0},qV(rrt,"EDataTypeUniqueEList/Unsettable",1959),oxn(147,83,krt,Tx),aZn.nl=function(){return!0},aZn.Wi=function(n,t){return xDn(this,n,aU(t,58))},qV(rrt,"EObjectContainmentEList/Resolving",147),oxn(1184,555,krt,Sx),aZn.nl=function(){return!0},aZn.Wi=function(n,t){return xDn(this,n,aU(t,58))},qV(rrt,"EObjectContainmentEList/Unsettable/Resolving",1184),oxn(766,14,krt,eF),aZn.Ni=function(){this.a=!0},aZn.Qj=function(){return this.a},aZn.Gk=function(){var n;SWn(this),aN(this.e)?(n=this.a,this.a=!1,ysn(this.e,new E9(this.e,2,this.c,n,!1))):this.a=!1},aZn.a=!1,qV(rrt,"EObjectContainmentWithInverseEList/Unsettable",766),oxn(1222,766,krt,iF),aZn.nl=function(){return!0},aZn.Wi=function(n,t){return xDn(this,n,aU(t,58))},qV(rrt,"EObjectContainmentWithInverseEList/Unsettable/Resolving",1222),oxn(757,505,krt,Px),aZn.Ni=function(){this.a=!0},aZn.Qj=function(){return this.a},aZn.Gk=function(){var n;SWn(this),aN(this.e)?(n=this.a,this.a=!1,ysn(this.e,new E9(this.e,2,this.c,n,!1))):this.a=!1},aZn.a=!1,qV(rrt,"EObjectEList/Unsettable",757),oxn(338,505,krt,Cx),aZn.nl=function(){return!0},aZn.Wi=function(n,t){return xDn(this,n,aU(t,58))},qV(rrt,"EObjectResolvingEList",338),oxn(1844,757,krt,Ox),aZn.nl=function(){return!0},aZn.Wi=function(n,t){return xDn(this,n,aU(t,58))},qV(rrt,"EObjectResolvingEList/Unsettable",1844),oxn(1527,1,{},Ah),qV(rrt,"EObjectValidator",1527),oxn(559,505,krt,lX),aZn.il=function(){return this.d},aZn.jl=function(){return this.b},aZn.Mj=function(){return!0},aZn.ml=function(){return!0},aZn.b=0,qV(rrt,"EObjectWithInverseEList",559),oxn(1225,559,krt,rF),aZn.ll=function(){return!0},qV(rrt,"EObjectWithInverseEList/ManyInverse",1225),oxn(635,559,krt,cF),aZn.Ni=function(){this.a=!0},aZn.Qj=function(){return this.a},aZn.Gk=function(){var n;SWn(this),aN(this.e)?(n=this.a,this.a=!1,ysn(this.e,new E9(this.e,2,this.c,n,!1))):this.a=!1},aZn.a=!1,qV(rrt,"EObjectWithInverseEList/Unsettable",635),oxn(1224,635,krt,oF),aZn.ll=function(){return!0},qV(rrt,"EObjectWithInverseEList/Unsettable/ManyInverse",1224),oxn(767,559,krt,aF),aZn.nl=function(){return!0},aZn.Wi=function(n,t){return xDn(this,n,aU(t,58))},qV(rrt,"EObjectWithInverseResolvingEList",767),oxn(32,767,krt,sF),aZn.ll=function(){return!0},qV(rrt,"EObjectWithInverseResolvingEList/ManyInverse",32),oxn(768,635,krt,uF),aZn.nl=function(){return!0},aZn.Wi=function(n,t){return xDn(this,n,aU(t,58))},qV(rrt,"EObjectWithInverseResolvingEList/Unsettable",768),oxn(1223,768,krt,hF),aZn.ll=function(){return!0},qV(rrt,"EObjectWithInverseResolvingEList/Unsettable/ManyInverse",1223),oxn(1185,632,krt),aZn.Li=function(){return!(1792&this.b)},aZn.Ni=function(){this.b|=1},aZn.kl=function(){return!!(4&this.b)},aZn.Mj=function(){return!!(40&this.b)},aZn.ll=function(){return!!(16&this.b)},aZn.ml=function(){return!!(8&this.b)},aZn.nl=function(){return!!(this.b&srt)},aZn.al=function(){return!!(32&this.b)},aZn.ol=function(){return!!(this.b&l1n)},aZn.fk=function(n){return this.d?p5(this.d,n):this.Lk().Hk().fk(n)},aZn.Qj=function(){return 2&this.b?!!(1&this.b):0!=this.i},aZn.Si=function(){return!!(128&this.b)},aZn.Gk=function(){var n;SWn(this),2&this.b&&(aN(this.e)?(n=!!(1&this.b),this.b&=-2,Qv(this,new E9(this.e,2,nmn(this.e.Dh(),this.Lk()),n,!1))):this.b&=-2)},aZn.Yi=function(){return!(1536&this.b)},aZn.b=0,qV(rrt,"EcoreEList/Generic",1185),oxn(1186,1185,krt,vZ),aZn.Lk=function(){return this.a},qV(rrt,"EcoreEList/Dynamic",1186),oxn(765,66,Xet,zm),aZn.aj=function(n){return Ocn(this.a.a,n)},qV(rrt,"EcoreEMap/1",765),oxn(764,83,krt,mX),aZn.Mi=function(n,t){fEn(this.b,aU(t,136))},aZn.Oi=function(n,t){Csn(this.b)},aZn.Pi=function(n,t,e){var i;++(i=this.b,aU(t,136),i).e},aZn.Qi=function(n,t){zwn(this.b,aU(t,136))},aZn.Ri=function(n,t,e){zwn(this.b,aU(e,136)),DA(e)===DA(t)&&aU(e,136).Ci(WN(aU(t,136).ld())),fEn(this.b,aU(t,136))},qV(rrt,"EcoreEMap/DelegateEObjectContainmentEList",764),oxn(1220,141,art,Dan),qV(rrt,"EcoreEMap/Unsettable",1220),oxn(1221,764,krt,fF),aZn.Ni=function(){this.a=!0},aZn.Qj=function(){return this.a},aZn.Gk=function(){var n;SWn(this),aN(this.e)?(n=this.a,this.a=!1,ysn(this.e,new E9(this.e,2,this.c,n,!1))):this.a=!1},aZn.a=!1,qV(rrt,"EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList",1221),oxn(1189,215,K0n,NV),aZn.a=!1,aZn.b=!1,qV(rrt,"EcoreUtil/Copier",1189),oxn(759,1,LZn,I6),aZn.Nb=function(n){jX(this,n)},aZn.Ob=function(){return Qmn(this)},aZn.Pb=function(){var n;return Qmn(this),n=this.b,this.b=null,n},aZn.Qb=function(){this.a.Qb()},qV(rrt,"EcoreUtil/ProperContentIterator",759),oxn(1528,1527,{},_l),qV(rrt,"EcoreValidator",1528),Pq(rrt,"FeatureMapUtil/Validator"),oxn(1295,1,{2041:1},Lh),aZn.am=function(n){return!0},qV(rrt,"FeatureMapUtil/1",1295),oxn(773,1,{2041:1},vQn),aZn.am=function(n){var t;return this.c==n||(null==(t=d_(iQ(this.a,n)))?NBn(this,n)?(W9(this.a,n,(H$(),not)),!0):(W9(this.a,n,(H$(),Zat)),!1):t==(H$(),not))},aZn.e=!1,qV(rrt,"FeatureMapUtil/BasicValidator",773),oxn(774,45,K0n,BD),qV(rrt,"FeatureMapUtil/BasicValidator/Cache",774),oxn(509,56,{20:1,31:1,56:1,16:1,15:1,61:1,79:1,71:1,97:1},CA),aZn.bd=function(n,t){IKn(this.c,this.b,n,t)},aZn.Fc=function(n){return BGn(this.c,this.b,n)},aZn.cd=function(n,t){return _zn(this.c,this.b,n,t)},aZn.Gc=function(n){return $D(this,n)},aZn.Gi=function(n,t){urn(this.c,this.b,n,t)},aZn.Wk=function(n,t){return CBn(this.c,this.b,n,t)},aZn.$i=function(n){return dzn(this.c,this.b,n,!1)},aZn.Ii=function(){return lN(this.c,this.b)},aZn.Ji=function(){return bN(this.c,this.b)},aZn.Ki=function(n){return Cnn(this.c,this.b,n)},aZn.Xk=function(n,t){return eK(this,n,t)},aZn.$b=function(){Jv(this)},aZn.Hc=function(n){return F5(this.c,this.b,n)},aZn.Ic=function(n){return xun(this.c,this.b,n)},aZn.Xb=function(n){return dzn(this.c,this.b,n,!0)},aZn.Fk=function(n){return this},aZn.dd=function(n){return B5(this.c,this.b,n)},aZn.dc=function(){return LA(this)},aZn.Qj=function(){return!mmn(this.c,this.b)},aZn.Kc=function(){return min(this.c,this.b)},aZn.ed=function(){return vin(this.c,this.b)},aZn.fd=function(n){return hgn(this.c,this.b,n)},aZn.Ti=function(n,t){return MUn(this.c,this.b,n,t)},aZn.Ui=function(n,t){Dnn(this.c,this.b,n,t)},aZn.gd=function(n){return zIn(this.c,this.b,n)},aZn.Mc=function(n){return LGn(this.c,this.b,n)},aZn.hd=function(n,t){return uqn(this.c,this.b,n,t)},aZn.Wb=function(n){SDn(this.c,this.b),$D(this,aU(n,15))},aZn.gc=function(){return sgn(this.c,this.b)},aZn.Pc=function(){return p4(this.c,this.b)},aZn.Qc=function(n){return G5(this.c,this.b,n)},aZn.Ib=function(){var n,t;for((t=new qE).a+="[",n=lN(this.c,this.b);Jln(n);)zA(t,c$(_kn(n))),Jln(n)&&(t.a+=kZn);return t.a+="]",t.a},aZn.Gk=function(){SDn(this.c,this.b)},qV(rrt,"FeatureMapUtil/FeatureEList",509),oxn(644,39,Kit,t8),aZn.hj=function(n){return vwn(this,n)},aZn.mj=function(n){var t,e,i,r;switch(this.d){case 1:case 2:if(DA(n.jj())===DA(this.c)&&vwn(this,null)==n.hj(null))return this.g=n.ij(),1==n.gj()&&(this.d=1),!0;break;case 3:if(3===n.gj()&&DA(n.jj())===DA(this.c)&&vwn(this,null)==n.hj(null))return this.d=5,Znn(t=new Nrn(2),this.g),Znn(t,n.ij()),this.g=t,!0;break;case 5:if(3===n.gj()&&DA(n.jj())===DA(this.c)&&vwn(this,null)==n.hj(null))return aU(this.g,16).Fc(n.ij()),!0;break;case 4:switch(n.gj()){case 3:if(DA(n.jj())===DA(this.c)&&vwn(this,null)==n.hj(null))return this.d=1,this.g=n.ij(),!0;break;case 4:if(DA(n.jj())===DA(this.c)&&vwn(this,null)==n.hj(null))return this.d=6,Znn(r=new Nrn(2),this.n),Znn(r,n.kj()),this.n=r,i=Bhn(iM(VGt,1),W1n,28,15,[this.o,n.lj()]),this.g=i,!0}break;case 6:if(4===n.gj()&&DA(n.jj())===DA(this.c)&&vwn(this,null)==n.hj(null))return aU(this.n,16).Fc(n.kj()),HUn(i=aU(this.g,53),0,e=Pnn(VGt,W1n,28,i.length+1,15,1),0,i.length),e[i.length]=n.lj(),this.g=e,!0}return!1},qV(rrt,"FeatureMapUtil/FeatureENotificationImpl",644),oxn(564,509,{20:1,31:1,56:1,16:1,15:1,61:1,79:1,160:1,220:1,2036:1,71:1,97:1},Sq),aZn.Ol=function(n,t){return BGn(this.c,n,t)},aZn.Pl=function(n,t,e){return CBn(this.c,n,t,e)},aZn.Ql=function(n,t,e){return szn(this.c,n,t,e)},aZn.Rl=function(){return this},aZn.Sl=function(n,t){return bzn(this.c,n,t)},aZn.Tl=function(n){return aU(dzn(this.c,this.b,n,!1),76).Lk()},aZn.Ul=function(n){return aU(dzn(this.c,this.b,n,!1),76).md()},aZn.Vl=function(){return this.a},aZn.Wl=function(n){return!mmn(this.c,n)},aZn.Xl=function(n,t){Kzn(this.c,n,t)},aZn.Yl=function(n){return Yan(this.c,n)},aZn.Zl=function(n){MMn(this.c,n)},qV(rrt,"FeatureMapUtil/FeatureFeatureMap",564),oxn(1294,1,crt,TA),aZn.Fk=function(n){return dzn(this.b,this.a,-1,n)},aZn.Qj=function(){return!mmn(this.b,this.a)},aZn.Wb=function(n){Kzn(this.b,this.a,n)},aZn.Gk=function(){SDn(this.b,this.a)},qV(rrt,"FeatureMapUtil/FeatureValue",1294);var LBt=Pq(dct,"AnyType");oxn(680,63,j1n,TE),qV(dct,"InvalidDatatypeValueException",680);var NBt,DBt,xBt,$Bt,RBt,_Bt,KBt,FBt,BBt,GBt,HBt,UBt,qBt,zBt,WBt,XBt,VBt,QBt,JBt,YBt,ZBt,nGt,tGt,eGt,iGt,rGt,cGt,aGt,oGt,uGt,sGt=Pq(dct,wct),hGt=Pq(dct,gct),fGt=Pq(dct,pct);oxn(844,516,{110:1,94:1,93:1,58:1,54:1,99:1,857:1},tk),aZn.Lh=function(n,t,e){switch(n){case 0:return e?(!this.c&&(this.c=new lsn(this,0)),this.c):(!this.c&&(this.c=new lsn(this,0)),this.c.b);case 1:return e?(!this.c&&(this.c=new lsn(this,0)),aU(k2(this.c,(aXn(),$Bt)),160)):(!this.c&&(this.c=new lsn(this,0)),aU(aU(k2(this.c,(aXn(),$Bt)),160),220)).Vl();case 2:return e?(!this.b&&(this.b=new lsn(this,2)),this.b):(!this.b&&(this.b=new lsn(this,2)),this.b.b)}return Ltn(this,n-tQ(this.ii()),nrn(2&this.j?(!this.k&&(this.k=new Il),this.k).Nk():this.ii(),n),t,e)},aZn.Uh=function(n,t,e){switch(t){case 0:return!this.c&&(this.c=new lsn(this,0)),AGn(this.c,n,e);case 1:return(!this.c&&(this.c=new lsn(this,0)),aU(aU(k2(this.c,(aXn(),$Bt)),160),71)).Xk(n,e);case 2:return!this.b&&(this.b=new lsn(this,2)),AGn(this.b,n,e)}return aU(nrn(2&this.j?(!this.k&&(this.k=new Il),this.k).Nk():this.ii(),t),69).wk().Ak(this,Wen(this),t-tQ(this.ii()),n,e)},aZn.Wh=function(n){switch(n){case 0:return!!this.c&&0!=this.c.i;case 1:return!(!this.c&&(this.c=new lsn(this,0)),aU(k2(this.c,(aXn(),$Bt)),160)).dc();case 2:return!!this.b&&0!=this.b.i}return h5(this,n-tQ(this.ii()),nrn(2&this.j?(!this.k&&(this.k=new Il),this.k).Nk():this.ii(),n))},aZn.bi=function(n,t){switch(n){case 0:return!this.c&&(this.c=new lsn(this,0)),void iV(this.c,t);case 1:return void(!this.c&&(this.c=new lsn(this,0)),aU(aU(k2(this.c,(aXn(),$Bt)),160),220)).Wb(t);case 2:return!this.b&&(this.b=new lsn(this,2)),void iV(this.b,t)}hpn(this,n-tQ(this.ii()),nrn(2&this.j?(!this.k&&(this.k=new Il),this.k).Nk():this.ii(),n),t)},aZn.ii=function(){return aXn(),xBt},aZn.ki=function(n){switch(n){case 0:return!this.c&&(this.c=new lsn(this,0)),void SWn(this.c);case 1:return void(!this.c&&(this.c=new lsn(this,0)),aU(k2(this.c,(aXn(),$Bt)),160)).$b();case 2:return!this.b&&(this.b=new lsn(this,2)),void SWn(this.b)}own(this,n-tQ(this.ii()),nrn(2&this.j?(!this.k&&(this.k=new Il),this.k).Nk():this.ii(),n))},aZn.Ib=function(){var n;return 4&this.j?p$n(this):((n=new s$(p$n(this))).a+=" (mixed: ",qA(n,this.c),n.a+=", anyAttribute: ",qA(n,this.b),n.a+=")",n.a)},qV(mct,"AnyTypeImpl",844),oxn(681,516,{110:1,94:1,93:1,58:1,54:1,99:1,2119:1,681:1},Hh),aZn.Lh=function(n,t,e){switch(n){case 0:return this.a;case 1:return this.b}return Ltn(this,n-tQ((aXn(),XBt)),nrn(2&this.j?(!this.k&&(this.k=new Il),this.k).Nk():XBt,n),t,e)},aZn.Wh=function(n){switch(n){case 0:return null!=this.a;case 1:return null!=this.b}return h5(this,n-tQ((aXn(),XBt)),nrn(2&this.j?(!this.k&&(this.k=new Il),this.k).Nk():XBt,n))},aZn.bi=function(n,t){switch(n){case 0:return void Ed(this,g_(t));case 1:return void jd(this,g_(t))}hpn(this,n-tQ((aXn(),XBt)),nrn(2&this.j?(!this.k&&(this.k=new Il),this.k).Nk():XBt,n),t)},aZn.ii=function(){return aXn(),XBt},aZn.ki=function(n){switch(n){case 0:return void(this.a=null);case 1:return void(this.b=null)}own(this,n-tQ((aXn(),XBt)),nrn(2&this.j?(!this.k&&(this.k=new Il),this.k).Nk():XBt,n))},aZn.Ib=function(){var n;return 4&this.j?p$n(this):((n=new s$(p$n(this))).a+=" (data: ",zA(n,this.a),n.a+=", target: ",zA(n,this.b),n.a+=")",n.a)},aZn.a=null,aZn.b=null,qV(mct,"ProcessingInstructionImpl",681),oxn(682,844,{110:1,94:1,93:1,58:1,54:1,99:1,857:1,2120:1,682:1},ek),aZn.Lh=function(n,t,e){switch(n){case 0:return e?(!this.c&&(this.c=new lsn(this,0)),this.c):(!this.c&&(this.c=new lsn(this,0)),this.c.b);case 1:return e?(!this.c&&(this.c=new lsn(this,0)),aU(k2(this.c,(aXn(),$Bt)),160)):(!this.c&&(this.c=new lsn(this,0)),aU(aU(k2(this.c,(aXn(),$Bt)),160),220)).Vl();case 2:return e?(!this.b&&(this.b=new lsn(this,2)),this.b):(!this.b&&(this.b=new lsn(this,2)),this.b.b);case 3:return!this.c&&(this.c=new lsn(this,0)),g_(bzn(this.c,(aXn(),JBt),!0));case 4:return dF(this.a,(!this.c&&(this.c=new lsn(this,0)),g_(bzn(this.c,(aXn(),JBt),!0))));case 5:return this.a}return Ltn(this,n-tQ((aXn(),QBt)),nrn(2&this.j?(!this.k&&(this.k=new Il),this.k).Nk():QBt,n),t,e)},aZn.Wh=function(n){switch(n){case 0:return!!this.c&&0!=this.c.i;case 1:return!(!this.c&&(this.c=new lsn(this,0)),aU(k2(this.c,(aXn(),$Bt)),160)).dc();case 2:return!!this.b&&0!=this.b.i;case 3:return!this.c&&(this.c=new lsn(this,0)),null!=g_(bzn(this.c,(aXn(),JBt),!0));case 4:return null!=dF(this.a,(!this.c&&(this.c=new lsn(this,0)),g_(bzn(this.c,(aXn(),JBt),!0))));case 5:return!!this.a}return h5(this,n-tQ((aXn(),QBt)),nrn(2&this.j?(!this.k&&(this.k=new Il),this.k).Nk():QBt,n))},aZn.bi=function(n,t){switch(n){case 0:return!this.c&&(this.c=new lsn(this,0)),void iV(this.c,t);case 1:return void(!this.c&&(this.c=new lsn(this,0)),aU(aU(k2(this.c,(aXn(),$Bt)),160),220)).Wb(t);case 2:return!this.b&&(this.b=new lsn(this,2)),void iV(this.b,t);case 3:return void g4(this,g_(t));case 4:return void g4(this,bF(this.a,t));case 5:return void Md(this,aU(t,156))}hpn(this,n-tQ((aXn(),QBt)),nrn(2&this.j?(!this.k&&(this.k=new Il),this.k).Nk():QBt,n),t)},aZn.ii=function(){return aXn(),QBt},aZn.ki=function(n){switch(n){case 0:return!this.c&&(this.c=new lsn(this,0)),void SWn(this.c);case 1:return void(!this.c&&(this.c=new lsn(this,0)),aU(k2(this.c,(aXn(),$Bt)),160)).$b();case 2:return!this.b&&(this.b=new lsn(this,2)),void SWn(this.b);case 3:return!this.c&&(this.c=new lsn(this,0)),void Kzn(this.c,(aXn(),JBt),null);case 4:return void g4(this,bF(this.a,null));case 5:return void(this.a=null)}own(this,n-tQ((aXn(),QBt)),nrn(2&this.j?(!this.k&&(this.k=new Il),this.k).Nk():QBt,n))},qV(mct,"SimpleAnyTypeImpl",682),oxn(683,516,{110:1,94:1,93:1,58:1,54:1,99:1,2121:1,683:1},ik),aZn.Lh=function(n,t,e){switch(n){case 0:return e?(!this.a&&(this.a=new lsn(this,0)),this.a):(!this.a&&(this.a=new lsn(this,0)),this.a.b);case 1:return e?(!this.b&&(this.b=new htn((QYn(),KFt),fBt,this,1)),this.b):(!this.b&&(this.b=new htn((QYn(),KFt),fBt,this,1)),knn(this.b));case 2:return e?(!this.c&&(this.c=new htn((QYn(),KFt),fBt,this,2)),this.c):(!this.c&&(this.c=new htn((QYn(),KFt),fBt,this,2)),knn(this.c));case 3:return!this.a&&(this.a=new lsn(this,0)),k2(this.a,(aXn(),nGt));case 4:return!this.a&&(this.a=new lsn(this,0)),k2(this.a,(aXn(),tGt));case 5:return!this.a&&(this.a=new lsn(this,0)),k2(this.a,(aXn(),iGt));case 6:return!this.a&&(this.a=new lsn(this,0)),k2(this.a,(aXn(),rGt))}return Ltn(this,n-tQ((aXn(),ZBt)),nrn(2&this.j?(!this.k&&(this.k=new Il),this.k).Nk():ZBt,n),t,e)},aZn.Uh=function(n,t,e){switch(t){case 0:return!this.a&&(this.a=new lsn(this,0)),AGn(this.a,n,e);case 1:return!this.b&&(this.b=new htn((QYn(),KFt),fBt,this,1)),GF(this.b,n,e);case 2:return!this.c&&(this.c=new htn((QYn(),KFt),fBt,this,2)),GF(this.c,n,e);case 5:return!this.a&&(this.a=new lsn(this,0)),eK(k2(this.a,(aXn(),iGt)),n,e)}return aU(nrn(2&this.j?(!this.k&&(this.k=new Il),this.k).Nk():(aXn(),ZBt),t),69).wk().Ak(this,Wen(this),t-tQ((aXn(),ZBt)),n,e)},aZn.Wh=function(n){switch(n){case 0:return!!this.a&&0!=this.a.i;case 1:return!!this.b&&0!=this.b.f;case 2:return!!this.c&&0!=this.c.f;case 3:return!this.a&&(this.a=new lsn(this,0)),!LA(k2(this.a,(aXn(),nGt)));case 4:return!this.a&&(this.a=new lsn(this,0)),!LA(k2(this.a,(aXn(),tGt)));case 5:return!this.a&&(this.a=new lsn(this,0)),!LA(k2(this.a,(aXn(),iGt)));case 6:return!this.a&&(this.a=new lsn(this,0)),!LA(k2(this.a,(aXn(),rGt)))}return h5(this,n-tQ((aXn(),ZBt)),nrn(2&this.j?(!this.k&&(this.k=new Il),this.k).Nk():ZBt,n))},aZn.bi=function(n,t){switch(n){case 0:return!this.a&&(this.a=new lsn(this,0)),void iV(this.a,t);case 1:return!this.b&&(this.b=new htn((QYn(),KFt),fBt,this,1)),void Vun(this.b,t);case 2:return!this.c&&(this.c=new htn((QYn(),KFt),fBt,this,2)),void Vun(this.c,t);case 3:return!this.a&&(this.a=new lsn(this,0)),Jv(k2(this.a,(aXn(),nGt))),!this.a&&(this.a=new lsn(this,0)),void $D(k2(this.a,nGt),aU(t,16));case 4:return!this.a&&(this.a=new lsn(this,0)),Jv(k2(this.a,(aXn(),tGt))),!this.a&&(this.a=new lsn(this,0)),void $D(k2(this.a,tGt),aU(t,16));case 5:return!this.a&&(this.a=new lsn(this,0)),Jv(k2(this.a,(aXn(),iGt))),!this.a&&(this.a=new lsn(this,0)),void $D(k2(this.a,iGt),aU(t,16));case 6:return!this.a&&(this.a=new lsn(this,0)),Jv(k2(this.a,(aXn(),rGt))),!this.a&&(this.a=new lsn(this,0)),void $D(k2(this.a,rGt),aU(t,16))}hpn(this,n-tQ((aXn(),ZBt)),nrn(2&this.j?(!this.k&&(this.k=new Il),this.k).Nk():ZBt,n),t)},aZn.ii=function(){return aXn(),ZBt},aZn.ki=function(n){switch(n){case 0:return!this.a&&(this.a=new lsn(this,0)),void SWn(this.a);case 1:return!this.b&&(this.b=new htn((QYn(),KFt),fBt,this,1)),void this.b.c.$b();case 2:return!this.c&&(this.c=new htn((QYn(),KFt),fBt,this,2)),void this.c.c.$b();case 3:return!this.a&&(this.a=new lsn(this,0)),void Jv(k2(this.a,(aXn(),nGt)));case 4:return!this.a&&(this.a=new lsn(this,0)),void Jv(k2(this.a,(aXn(),tGt)));case 5:return!this.a&&(this.a=new lsn(this,0)),void Jv(k2(this.a,(aXn(),iGt)));case 6:return!this.a&&(this.a=new lsn(this,0)),void Jv(k2(this.a,(aXn(),rGt)))}own(this,n-tQ((aXn(),ZBt)),nrn(2&this.j?(!this.k&&(this.k=new Il),this.k).Nk():ZBt,n))},aZn.Ib=function(){var n;return 4&this.j?p$n(this):((n=new s$(p$n(this))).a+=" (mixed: ",qA(n,this.a),n.a+=")",n.a)},qV(mct,"XMLTypeDocumentRootImpl",683),oxn(2028,720,{110:1,94:1,93:1,480:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1,2122:1},Nh),aZn.ri=function(n,t){switch(n.hk()){case 7:case 8:case 9:case 10:case 16:case 22:case 23:case 24:case 25:case 26:case 32:case 33:case 34:case 36:case 37:case 44:case 45:case 50:case 51:case 53:case 55:case 56:case 57:case 58:case 60:case 61:case 4:return null==t?null:ipn(t);case 19:case 28:case 29:case 35:case 38:case 39:case 41:case 46:case 52:case 54:case 5:return g_(t);case 6:return h_(aU(t,195));case 12:case 47:case 49:case 11:return iVn(this,n,t);case 13:return null==t?null:qzn(aU(t,247));case 15:case 14:return null==t?null:yV(aE(w_(t)));case 17:return cPn((aXn(),t));case 18:return cPn(t);case 21:case 20:return null==t?null:kV(aU(t,161).a);case 27:return f_(aU(t,195));case 30:return jMn((aXn(),aU(t,15)));case 31:return jMn(aU(t,15));case 40:return b_((aXn(),t));case 42:return aPn((aXn(),t));case 43:return aPn(t);case 59:case 48:return l_((aXn(),t));default:throw uv(new pE(Ztt+n.xe()+net))}},aZn.si=function(n){var t;switch(-1==n.G&&(n.G=(t=Frn(n))?Fkn(t.vi(),n):-1),n.G){case 0:return new tk;case 1:return new Hh;case 2:return new ek;case 3:return new ik;default:throw uv(new pE(iet+n.zb+net))}},aZn.ti=function(n,t){var e,i,r,c,a,o,u,s,h,f,l,b,d,w,g,p;switch(n.hk()){case 5:case 52:case 4:return t;case 6:return okn(t);case 8:case 7:return null==t?null:yPn(t);case 9:return null==t?null:Ken(gHn((i=vzn(t,!0)).length>0&&(o3(0,i.length),43==i.charCodeAt(0))?(o3(1,i.length+1),i.substr(1)):i,-128,127)<<24>>24);case 10:return null==t?null:Ken(gHn((r=vzn(t,!0)).length>0&&(o3(0,r.length),43==r.charCodeAt(0))?(o3(1,r.length+1),r.substr(1)):r,-128,127)<<24>>24);case 11:return g_(iYn(this,(aXn(),KBt),t));case 12:return g_(iYn(this,(aXn(),FBt),t));case 13:return null==t?null:new Wj(vzn(t,!0));case 15:case 14:return tRn(t);case 16:return g_(iYn(this,(aXn(),BBt),t));case 17:return fvn((aXn(),t));case 18:return fvn(t);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return vzn(t,!0);case 21:case 20:return pRn(t);case 22:return g_(iYn(this,(aXn(),GBt),t));case 23:return g_(iYn(this,(aXn(),HBt),t));case 24:return g_(iYn(this,(aXn(),UBt),t));case 25:return g_(iYn(this,(aXn(),qBt),t));case 26:return g_(iYn(this,(aXn(),zBt),t));case 27:return Syn(t);case 30:return lvn((aXn(),t));case 31:return lvn(t);case 32:return null==t?null:Ddn(gHn((h=vzn(t,!0)).length>0&&(o3(0,h.length),43==h.charCodeAt(0))?(o3(1,h.length+1),h.substr(1)):h,E1n,pZn));case 33:return null==t?null:new TN((f=vzn(t,!0)).length>0&&(o3(0,f.length),43==f.charCodeAt(0))?(o3(1,f.length+1),f.substr(1)):f);case 34:return null==t?null:Ddn(gHn((l=vzn(t,!0)).length>0&&(o3(0,l.length),43==l.charCodeAt(0))?(o3(1,l.length+1),l.substr(1)):l,E1n,pZn));case 36:return null==t?null:Fvn(ZQn((b=vzn(t,!0)).length>0&&(o3(0,b.length),43==b.charCodeAt(0))?(o3(1,b.length+1),b.substr(1)):b));case 37:return null==t?null:Fvn(ZQn((d=vzn(t,!0)).length>0&&(o3(0,d.length),43==d.charCodeAt(0))?(o3(1,d.length+1),d.substr(1)):d));case 40:return YEn((aXn(),t));case 42:return bvn((aXn(),t));case 43:return bvn(t);case 44:return null==t?null:new TN((w=vzn(t,!0)).length>0&&(o3(0,w.length),43==w.charCodeAt(0))?(o3(1,w.length+1),w.substr(1)):w);case 45:return null==t?null:new TN((g=vzn(t,!0)).length>0&&(o3(0,g.length),43==g.charCodeAt(0))?(o3(1,g.length+1),g.substr(1)):g);case 46:return vzn(t,!1);case 47:return g_(iYn(this,(aXn(),WBt),t));case 59:case 48:return JEn((aXn(),t));case 49:return g_(iYn(this,(aXn(),VBt),t));case 50:return null==t?null:xdn(gHn((p=vzn(t,!0)).length>0&&(o3(0,p.length),43==p.charCodeAt(0))?(o3(1,p.length+1),p.substr(1)):p,Drt,32767)<<16>>16);case 51:return null==t?null:xdn(gHn((c=vzn(t,!0)).length>0&&(o3(0,c.length),43==c.charCodeAt(0))?(o3(1,c.length+1),c.substr(1)):c,Drt,32767)<<16>>16);case 53:return g_(iYn(this,(aXn(),YBt),t));case 55:return null==t?null:xdn(gHn((a=vzn(t,!0)).length>0&&(o3(0,a.length),43==a.charCodeAt(0))?(o3(1,a.length+1),a.substr(1)):a,Drt,32767)<<16>>16);case 56:return null==t?null:xdn(gHn((o=vzn(t,!0)).length>0&&(o3(0,o.length),43==o.charCodeAt(0))?(o3(1,o.length+1),o.substr(1)):o,Drt,32767)<<16>>16);case 57:return null==t?null:Fvn(ZQn((u=vzn(t,!0)).length>0&&(o3(0,u.length),43==u.charCodeAt(0))?(o3(1,u.length+1),u.substr(1)):u));case 58:return null==t?null:Fvn(ZQn((s=vzn(t,!0)).length>0&&(o3(0,s.length),43==s.charCodeAt(0))?(o3(1,s.length+1),s.substr(1)):s));case 60:return null==t?null:Ddn(gHn((e=vzn(t,!0)).length>0&&(o3(0,e.length),43==e.charCodeAt(0))?(o3(1,e.length+1),e.substr(1)):e,E1n,pZn));case 61:return null==t?null:Ddn(gHn(vzn(t,!0),E1n,pZn));default:throw uv(new pE(Ztt+n.xe()+net))}},qV(mct,"XMLTypeFactoryImpl",2028),oxn(594,184,{110:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,54:1,99:1,158:1,184:1,119:1,120:1,690:1,2044:1,594:1},dJ),aZn.N=!1,aZn.O=!1;var lGt,bGt,dGt,wGt,gGt,pGt=!1;qV(mct,"XMLTypePackageImpl",594),oxn(1961,1,{851:1},Dh),aZn.Kk=function(){return pUn(),GGt},qV(mct,"XMLTypePackageImpl/1",1961),oxn(1970,1,Wrt,xh),aZn.fk=function(n){return xA(n)},aZn.gk=function(n){return Pnn(Lot,qZn,2,n,6,1)},qV(mct,"XMLTypePackageImpl/10",1970),oxn(1971,1,Wrt,$h),aZn.fk=function(n){return xA(n)},aZn.gk=function(n){return Pnn(Lot,qZn,2,n,6,1)},qV(mct,"XMLTypePackageImpl/11",1971),oxn(1972,1,Wrt,Rh),aZn.fk=function(n){return xA(n)},aZn.gk=function(n){return Pnn(Lot,qZn,2,n,6,1)},qV(mct,"XMLTypePackageImpl/12",1972),oxn(1973,1,Wrt,_h),aZn.fk=function(n){return RA(n)},aZn.gk=function(n){return Pnn(sot,qZn,345,n,7,1)},qV(mct,"XMLTypePackageImpl/13",1973),oxn(1974,1,Wrt,Kh),aZn.fk=function(n){return xA(n)},aZn.gk=function(n){return Pnn(Lot,qZn,2,n,6,1)},qV(mct,"XMLTypePackageImpl/14",1974),oxn(1975,1,Wrt,Fh),aZn.fk=function(n){return RD(n,15)},aZn.gk=function(n){return Pnn(vat,F3n,15,n,0,1)},qV(mct,"XMLTypePackageImpl/15",1975),oxn(1976,1,Wrt,Bh),aZn.fk=function(n){return RD(n,15)},aZn.gk=function(n){return Pnn(vat,F3n,15,n,0,1)},qV(mct,"XMLTypePackageImpl/16",1976),oxn(1977,1,Wrt,Gh),aZn.fk=function(n){return xA(n)},aZn.gk=function(n){return Pnn(Lot,qZn,2,n,6,1)},qV(mct,"XMLTypePackageImpl/17",1977),oxn(1978,1,Wrt,Uh),aZn.fk=function(n){return RD(n,161)},aZn.gk=function(n){return Pnn(hot,qZn,161,n,0,1)},qV(mct,"XMLTypePackageImpl/18",1978),oxn(1979,1,Wrt,qh),aZn.fk=function(n){return xA(n)},aZn.gk=function(n){return Pnn(Lot,qZn,2,n,6,1)},qV(mct,"XMLTypePackageImpl/19",1979),oxn(1962,1,Wrt,zh),aZn.fk=function(n){return RD(n,857)},aZn.gk=function(n){return Pnn(LBt,MZn,857,n,0,1)},qV(mct,"XMLTypePackageImpl/2",1962),oxn(1980,1,Wrt,Wh),aZn.fk=function(n){return xA(n)},aZn.gk=function(n){return Pnn(Lot,qZn,2,n,6,1)},qV(mct,"XMLTypePackageImpl/20",1980),oxn(1981,1,Wrt,Xh),aZn.fk=function(n){return xA(n)},aZn.gk=function(n){return Pnn(Lot,qZn,2,n,6,1)},qV(mct,"XMLTypePackageImpl/21",1981),oxn(1982,1,Wrt,Vh),aZn.fk=function(n){return xA(n)},aZn.gk=function(n){return Pnn(Lot,qZn,2,n,6,1)},qV(mct,"XMLTypePackageImpl/22",1982),oxn(1983,1,Wrt,Qh),aZn.fk=function(n){return xA(n)},aZn.gk=function(n){return Pnn(Lot,qZn,2,n,6,1)},qV(mct,"XMLTypePackageImpl/23",1983),oxn(1984,1,Wrt,Jh),aZn.fk=function(n){return RD(n,195)},aZn.gk=function(n){return Pnn(YGt,qZn,195,n,0,2)},qV(mct,"XMLTypePackageImpl/24",1984),oxn(1985,1,Wrt,Yh),aZn.fk=function(n){return xA(n)},aZn.gk=function(n){return Pnn(Lot,qZn,2,n,6,1)},qV(mct,"XMLTypePackageImpl/25",1985),oxn(1986,1,Wrt,Zh),aZn.fk=function(n){return xA(n)},aZn.gk=function(n){return Pnn(Lot,qZn,2,n,6,1)},qV(mct,"XMLTypePackageImpl/26",1986),oxn(1987,1,Wrt,nf),aZn.fk=function(n){return RD(n,15)},aZn.gk=function(n){return Pnn(vat,F3n,15,n,0,1)},qV(mct,"XMLTypePackageImpl/27",1987),oxn(1988,1,Wrt,tf),aZn.fk=function(n){return RD(n,15)},aZn.gk=function(n){return Pnn(vat,F3n,15,n,0,1)},qV(mct,"XMLTypePackageImpl/28",1988),oxn(1989,1,Wrt,ef),aZn.fk=function(n){return xA(n)},aZn.gk=function(n){return Pnn(Lot,qZn,2,n,6,1)},qV(mct,"XMLTypePackageImpl/29",1989),oxn(1963,1,Wrt,rf),aZn.fk=function(n){return RD(n,681)},aZn.gk=function(n){return Pnn(sGt,MZn,2119,n,0,1)},qV(mct,"XMLTypePackageImpl/3",1963),oxn(1990,1,Wrt,cf),aZn.fk=function(n){return RD(n,17)},aZn.gk=function(n){return Pnn(bot,qZn,17,n,0,1)},qV(mct,"XMLTypePackageImpl/30",1990),oxn(1991,1,Wrt,af),aZn.fk=function(n){return xA(n)},aZn.gk=function(n){return Pnn(Lot,qZn,2,n,6,1)},qV(mct,"XMLTypePackageImpl/31",1991),oxn(1992,1,Wrt,of),aZn.fk=function(n){return RD(n,168)},aZn.gk=function(n){return Pnn(vot,qZn,168,n,0,1)},qV(mct,"XMLTypePackageImpl/32",1992),oxn(1993,1,Wrt,uf),aZn.fk=function(n){return xA(n)},aZn.gk=function(n){return Pnn(Lot,qZn,2,n,6,1)},qV(mct,"XMLTypePackageImpl/33",1993),oxn(1994,1,Wrt,sf),aZn.fk=function(n){return xA(n)},aZn.gk=function(n){return Pnn(Lot,qZn,2,n,6,1)},qV(mct,"XMLTypePackageImpl/34",1994),oxn(1995,1,Wrt,hf),aZn.fk=function(n){return xA(n)},aZn.gk=function(n){return Pnn(Lot,qZn,2,n,6,1)},qV(mct,"XMLTypePackageImpl/35",1995),oxn(1996,1,Wrt,ff),aZn.fk=function(n){return xA(n)},aZn.gk=function(n){return Pnn(Lot,qZn,2,n,6,1)},qV(mct,"XMLTypePackageImpl/36",1996),oxn(1997,1,Wrt,lf),aZn.fk=function(n){return RD(n,15)},aZn.gk=function(n){return Pnn(vat,F3n,15,n,0,1)},qV(mct,"XMLTypePackageImpl/37",1997),oxn(1998,1,Wrt,bf),aZn.fk=function(n){return RD(n,15)},aZn.gk=function(n){return Pnn(vat,F3n,15,n,0,1)},qV(mct,"XMLTypePackageImpl/38",1998),oxn(1999,1,Wrt,df),aZn.fk=function(n){return xA(n)},aZn.gk=function(n){return Pnn(Lot,qZn,2,n,6,1)},qV(mct,"XMLTypePackageImpl/39",1999),oxn(1964,1,Wrt,wf),aZn.fk=function(n){return RD(n,682)},aZn.gk=function(n){return Pnn(hGt,MZn,2120,n,0,1)},qV(mct,"XMLTypePackageImpl/4",1964),oxn(2e3,1,Wrt,gf),aZn.fk=function(n){return xA(n)},aZn.gk=function(n){return Pnn(Lot,qZn,2,n,6,1)},qV(mct,"XMLTypePackageImpl/40",2e3),oxn(2001,1,Wrt,pf),aZn.fk=function(n){return xA(n)},aZn.gk=function(n){return Pnn(Lot,qZn,2,n,6,1)},qV(mct,"XMLTypePackageImpl/41",2001),oxn(2002,1,Wrt,mf),aZn.fk=function(n){return xA(n)},aZn.gk=function(n){return Pnn(Lot,qZn,2,n,6,1)},qV(mct,"XMLTypePackageImpl/42",2002),oxn(2003,1,Wrt,vf),aZn.fk=function(n){return xA(n)},aZn.gk=function(n){return Pnn(Lot,qZn,2,n,6,1)},qV(mct,"XMLTypePackageImpl/43",2003),oxn(2004,1,Wrt,yf),aZn.fk=function(n){return xA(n)},aZn.gk=function(n){return Pnn(Lot,qZn,2,n,6,1)},qV(mct,"XMLTypePackageImpl/44",2004),oxn(2005,1,Wrt,kf),aZn.fk=function(n){return RD(n,191)},aZn.gk=function(n){return Pnn(kot,qZn,191,n,0,1)},qV(mct,"XMLTypePackageImpl/45",2005),oxn(2006,1,Wrt,Ef),aZn.fk=function(n){return xA(n)},aZn.gk=function(n){return Pnn(Lot,qZn,2,n,6,1)},qV(mct,"XMLTypePackageImpl/46",2006),oxn(2007,1,Wrt,Mf),aZn.fk=function(n){return xA(n)},aZn.gk=function(n){return Pnn(Lot,qZn,2,n,6,1)},qV(mct,"XMLTypePackageImpl/47",2007),oxn(2008,1,Wrt,jf),aZn.fk=function(n){return xA(n)},aZn.gk=function(n){return Pnn(Lot,qZn,2,n,6,1)},qV(mct,"XMLTypePackageImpl/48",2008),oxn(2009,1,Wrt,Tf),aZn.fk=function(n){return RD(n,191)},aZn.gk=function(n){return Pnn(kot,qZn,191,n,0,1)},qV(mct,"XMLTypePackageImpl/49",2009),oxn(1965,1,Wrt,Sf),aZn.fk=function(n){return RD(n,683)},aZn.gk=function(n){return Pnn(fGt,MZn,2121,n,0,1)},qV(mct,"XMLTypePackageImpl/5",1965),oxn(2010,1,Wrt,Pf),aZn.fk=function(n){return RD(n,168)},aZn.gk=function(n){return Pnn(vot,qZn,168,n,0,1)},qV(mct,"XMLTypePackageImpl/50",2010),oxn(2011,1,Wrt,Cf),aZn.fk=function(n){return xA(n)},aZn.gk=function(n){return Pnn(Lot,qZn,2,n,6,1)},qV(mct,"XMLTypePackageImpl/51",2011),oxn(2012,1,Wrt,Of),aZn.fk=function(n){return RD(n,17)},aZn.gk=function(n){return Pnn(bot,qZn,17,n,0,1)},qV(mct,"XMLTypePackageImpl/52",2012),oxn(1966,1,Wrt,If),aZn.fk=function(n){return xA(n)},aZn.gk=function(n){return Pnn(Lot,qZn,2,n,6,1)},qV(mct,"XMLTypePackageImpl/6",1966),oxn(1967,1,Wrt,Af),aZn.fk=function(n){return RD(n,195)},aZn.gk=function(n){return Pnn(YGt,qZn,195,n,0,2)},qV(mct,"XMLTypePackageImpl/7",1967),oxn(1968,1,Wrt,Lf),aZn.fk=function(n){return $A(n)},aZn.gk=function(n){return Pnn(iot,qZn,485,n,8,1)},qV(mct,"XMLTypePackageImpl/8",1968),oxn(1969,1,Wrt,Nf),aZn.fk=function(n){return RD(n,222)},aZn.gk=function(n){return Pnn(aot,qZn,222,n,0,1)},qV(mct,"XMLTypePackageImpl/9",1969),oxn(55,63,j1n,SE),qV(Uct,"RegEx/ParseException",55),oxn(836,1,{},Df),aZn.bm=function(n){return n16*e)throw uv(new SE(eZn((ZN(),Sit))));e=16*e+r}if(125!=this.a)throw uv(new SE(eZn((ZN(),Pit))));if(e>qct)throw uv(new SE(eZn((ZN(),Cit))));n=e}else{if(r=0,0!=this.c||(r=SEn(this.a))<0)throw uv(new SE(eZn((ZN(),Tit))));if(e=r,MYn(this),0!=this.c||(r=SEn(this.a))<0)throw uv(new SE(eZn((ZN(),Tit))));n=e=16*e+r}break;case 117:if(i=0,MYn(this),0!=this.c||(i=SEn(this.a))<0)throw uv(new SE(eZn((ZN(),Tit))));if(t=i,MYn(this),0!=this.c||(i=SEn(this.a))<0)throw uv(new SE(eZn((ZN(),Tit))));if(t=16*t+i,MYn(this),0!=this.c||(i=SEn(this.a))<0)throw uv(new SE(eZn((ZN(),Tit))));if(t=16*t+i,MYn(this),0!=this.c||(i=SEn(this.a))<0)throw uv(new SE(eZn((ZN(),Tit))));n=t=16*t+i;break;case 118:if(MYn(this),0!=this.c||(i=SEn(this.a))<0)throw uv(new SE(eZn((ZN(),Tit))));if(t=i,MYn(this),0!=this.c||(i=SEn(this.a))<0)throw uv(new SE(eZn((ZN(),Tit))));if(t=16*t+i,MYn(this),0!=this.c||(i=SEn(this.a))<0)throw uv(new SE(eZn((ZN(),Tit))));if(t=16*t+i,MYn(this),0!=this.c||(i=SEn(this.a))<0)throw uv(new SE(eZn((ZN(),Tit))));if(t=16*t+i,MYn(this),0!=this.c||(i=SEn(this.a))<0)throw uv(new SE(eZn((ZN(),Tit))));if(t=16*t+i,MYn(this),0!=this.c||(i=SEn(this.a))<0)throw uv(new SE(eZn((ZN(),Tit))));if((t=16*t+i)>qct)throw uv(new SE(eZn((ZN(),"parser.descappe.4"))));n=t;break;case 65:case 90:case 122:throw uv(new SE(eZn((ZN(),Oit))))}return n},aZn.dm=function(n){var t;switch(n){case 100:t=32&~this.e?(XYn(),TGt):mJn("Nd",!0);break;case 68:t=32&~this.e?(XYn(),IGt):mJn("Nd",!1);break;case 119:t=32&~this.e?(XYn(),KGt):mJn("IsWord",!0);break;case 87:t=32&~this.e?(XYn(),LGt):mJn("IsWord",!1);break;case 115:t=32&~this.e?(XYn(),DGt):mJn("IsSpace",!0);break;case 83:t=32&~this.e?(XYn(),AGt):mJn("IsSpace",!1);break;default:throw uv(new $k(zct+n.toString(16)))}return t},aZn.em=function(n){var t,e,i,r,c,a,o,u,s,h,f;for(this.b=1,MYn(this),t=null,0==this.c&&94==this.a?(MYn(this),n?(XYn(),XYn(),s=new $3(5)):(XYn(),XYn(),FKn(t=new $3(4),0,qct),s=new $3(4))):(XYn(),XYn(),s=new $3(4)),r=!0;1!=(f=this.c)&&(0!=f||93!=this.a||r);){if(r=!1,e=this.a,i=!1,10==f)switch(e){case 100:case 68:case 119:case 87:case 115:case 83:kzn(s,this.dm(e)),i=!0;break;case 105:case 73:case 99:case 67:(e=this.um(s,e))<0&&(i=!0);break;case 112:case 80:if(!(h=TNn(this,e)))throw uv(new SE(eZn((ZN(),dit))));kzn(s,h),i=!0;break;default:e=this.cm()}else if(20==f){if((c=rR(this.i,58,this.d))<0)throw uv(new SE(eZn((ZN(),wit))));if(a=!0,94==zJ(this.i,this.d)&&(++this.d,a=!1),!(o=ttn(e1(this.i,this.d,c),a,!(512&~this.e))))throw uv(new SE(eZn((ZN(),pit))));if(kzn(s,o),i=!0,c+1>=this.j||93!=zJ(this.i,c+1))throw uv(new SE(eZn((ZN(),wit))));this.d=c+2}if(MYn(this),!i)if(0!=this.c||45!=this.a)FKn(s,e,e);else{if(MYn(this),1==(f=this.c))throw uv(new SE(eZn((ZN(),git))));0==f&&93==this.a?(FKn(s,e,e),FKn(s,45,45)):(u=this.a,10==f&&(u=this.cm()),MYn(this),FKn(s,e,u))}(this.e&l1n)==l1n&&0==this.c&&44==this.a&&MYn(this)}if(1==this.c)throw uv(new SE(eZn((ZN(),git))));return t&&(hVn(t,s),s=t),w$n(s),aWn(s),this.b=0,MYn(this),s},aZn.fm=function(){var n,t,e,i;for(e=this.em(!1);7!=(i=this.c);){if(n=this.a,(0!=i||45!=n&&38!=n)&&4!=i)throw uv(new SE(eZn((ZN(),Mit))));if(MYn(this),9!=this.c)throw uv(new SE(eZn((ZN(),Eit))));if(t=this.em(!1),4==i)kzn(e,t);else if(45==n)hVn(e,t);else{if(38!=n)throw uv(new $k("ASSERT"));GXn(e,t)}}return MYn(this),e},aZn.gm=function(){var n,t;return n=this.a-48,XYn(),XYn(),t=new R1(12,null,n),!this.g&&(this.g=new iy),qv(this.g,new Wm(n)),MYn(this),t},aZn.hm=function(){return MYn(this),XYn(),xGt},aZn.im=function(){return MYn(this),XYn(),NGt},aZn.jm=function(){throw uv(new SE(eZn((ZN(),Iit))))},aZn.km=function(){throw uv(new SE(eZn((ZN(),Iit))))},aZn.lm=function(){return MYn(this),Eln()},aZn.mm=function(){return MYn(this),XYn(),RGt},aZn.nm=function(){return MYn(this),XYn(),FGt},aZn.om=function(){var n;if(this.d>=this.j||64!=(65504&(n=zJ(this.i,this.d++))))throw uv(new SE(eZn((ZN(),hit))));return MYn(this),XYn(),XYn(),new Pz(0,n-64)},aZn.pm=function(){return MYn(this),zUn()},aZn.qm=function(){return MYn(this),XYn(),BGt},aZn.rm=function(){var n;return XYn(),XYn(),n=new Pz(0,105),MYn(this),n},aZn.sm=function(){return MYn(this),XYn(),_Gt},aZn.tm=function(){return MYn(this),XYn(),$Gt},aZn.um=function(n,t){return this.cm()},aZn.vm=function(){return MYn(this),XYn(),CGt},aZn.wm=function(){var n,t,e,i,r;if(this.d+1>=this.j)throw uv(new SE(eZn((ZN(),oit))));if(i=-1,t=null,49<=(n=zJ(this.i,this.d))&&n<=57){if(i=n-48,!this.g&&(this.g=new iy),qv(this.g,new Wm(i)),++this.d,41!=zJ(this.i,this.d))throw uv(new SE(eZn((ZN(),rit))));++this.d}else switch(63==n&&--this.d,MYn(this),(t=nYn(this)).e){case 20:case 21:case 22:case 23:break;case 8:if(7!=this.c)throw uv(new SE(eZn((ZN(),rit))));break;default:throw uv(new SE(eZn((ZN(),uit))))}if(MYn(this),e=null,2==(r=Mvn(this)).e){if(2!=r.Pm())throw uv(new SE(eZn((ZN(),sit))));e=r.Lm(1),r=r.Lm(0)}if(7!=this.c)throw uv(new SE(eZn((ZN(),rit))));return MYn(this),XYn(),XYn(),new fin(i,t,r,e)},aZn.xm=function(){return MYn(this),XYn(),OGt},aZn.ym=function(){var n;if(MYn(this),n=EX(24,Mvn(this)),7!=this.c)throw uv(new SE(eZn((ZN(),rit))));return MYn(this),n},aZn.zm=function(){var n;if(MYn(this),n=EX(20,Mvn(this)),7!=this.c)throw uv(new SE(eZn((ZN(),rit))));return MYn(this),n},aZn.Am=function(){var n;if(MYn(this),n=EX(22,Mvn(this)),7!=this.c)throw uv(new SE(eZn((ZN(),rit))));return MYn(this),n},aZn.Bm=function(){var n,t,e,i,r;for(n=0,e=0,t=-1;this.d=this.j)throw uv(new SE(eZn((ZN(),cit))));if(45==t){for(++this.d;this.d=this.j)throw uv(new SE(eZn((ZN(),cit))))}if(58==t){if(++this.d,MYn(this),i=GV(Mvn(this),n,e),7!=this.c)throw uv(new SE(eZn((ZN(),rit))));MYn(this)}else{if(41!=t)throw uv(new SE(eZn((ZN(),ait))));++this.d,MYn(this),i=GV(Mvn(this),n,e)}return i},aZn.Cm=function(){var n;if(MYn(this),n=EX(21,Mvn(this)),7!=this.c)throw uv(new SE(eZn((ZN(),rit))));return MYn(this),n},aZn.Dm=function(){var n;if(MYn(this),n=EX(23,Mvn(this)),7!=this.c)throw uv(new SE(eZn((ZN(),rit))));return MYn(this),n},aZn.Em=function(){var n,t;if(MYn(this),n=this.f++,t=MX(Mvn(this),n),7!=this.c)throw uv(new SE(eZn((ZN(),rit))));return MYn(this),t},aZn.Fm=function(){var n;if(MYn(this),n=MX(Mvn(this),0),7!=this.c)throw uv(new SE(eZn((ZN(),rit))));return MYn(this),n},aZn.Gm=function(n){return MYn(this),5==this.c?(MYn(this),Sz(n,(XYn(),XYn(),new Y5(9,n)))):Sz(n,(XYn(),XYn(),new Y5(3,n)))},aZn.Hm=function(n){var t;return MYn(this),XYn(),XYn(),t=new XN(2),5==this.c?(MYn(this),pWn(t,PGt),pWn(t,n)):(pWn(t,n),pWn(t,PGt)),t},aZn.Im=function(n){return MYn(this),5==this.c?(MYn(this),XYn(),XYn(),new Y5(9,n)):(XYn(),XYn(),new Y5(3,n))},aZn.a=0,aZn.b=0,aZn.c=0,aZn.d=0,aZn.e=0,aZn.f=1,aZn.g=null,aZn.j=0,qV(Uct,"RegEx/RegexParser",836),oxn(1947,836,{},rk),aZn.bm=function(n){return!1},aZn.cm=function(){return xFn(this)},aZn.dm=function(n){return vHn(n)},aZn.em=function(n){return TYn(this)},aZn.fm=function(){throw uv(new SE(eZn((ZN(),Iit))))},aZn.gm=function(){throw uv(new SE(eZn((ZN(),Iit))))},aZn.hm=function(){throw uv(new SE(eZn((ZN(),Iit))))},aZn.im=function(){throw uv(new SE(eZn((ZN(),Iit))))},aZn.jm=function(){return MYn(this),vHn(67)},aZn.km=function(){return MYn(this),vHn(73)},aZn.lm=function(){throw uv(new SE(eZn((ZN(),Iit))))},aZn.mm=function(){throw uv(new SE(eZn((ZN(),Iit))))},aZn.nm=function(){throw uv(new SE(eZn((ZN(),Iit))))},aZn.om=function(){return MYn(this),vHn(99)},aZn.pm=function(){throw uv(new SE(eZn((ZN(),Iit))))},aZn.qm=function(){throw uv(new SE(eZn((ZN(),Iit))))},aZn.rm=function(){return MYn(this),vHn(105)},aZn.sm=function(){throw uv(new SE(eZn((ZN(),Iit))))},aZn.tm=function(){throw uv(new SE(eZn((ZN(),Iit))))},aZn.um=function(n,t){return kzn(n,vHn(t)),-1},aZn.vm=function(){return MYn(this),XYn(),XYn(),new Pz(0,94)},aZn.wm=function(){throw uv(new SE(eZn((ZN(),Iit))))},aZn.xm=function(){return MYn(this),XYn(),XYn(),new Pz(0,36)},aZn.ym=function(){throw uv(new SE(eZn((ZN(),Iit))))},aZn.zm=function(){throw uv(new SE(eZn((ZN(),Iit))))},aZn.Am=function(){throw uv(new SE(eZn((ZN(),Iit))))},aZn.Bm=function(){throw uv(new SE(eZn((ZN(),Iit))))},aZn.Cm=function(){throw uv(new SE(eZn((ZN(),Iit))))},aZn.Dm=function(){throw uv(new SE(eZn((ZN(),Iit))))},aZn.Em=function(){var n;if(MYn(this),n=MX(Mvn(this),0),7!=this.c)throw uv(new SE(eZn((ZN(),rit))));return MYn(this),n},aZn.Fm=function(){throw uv(new SE(eZn((ZN(),Iit))))},aZn.Gm=function(n){return MYn(this),Sz(n,(XYn(),XYn(),new Y5(3,n)))},aZn.Hm=function(n){var t;return MYn(this),XYn(),XYn(),pWn(t=new XN(2),n),pWn(t,PGt),t},aZn.Im=function(n){return MYn(this),XYn(),XYn(),new Y5(3,n)};var mGt=null,vGt=null;qV(Uct,"RegEx/ParserForXMLSchema",1947),oxn(122,1,rat,Xm),aZn.Jm=function(n){throw uv(new $k("Not supported."))},aZn.Km=function(){return-1},aZn.Lm=function(n){return null},aZn.Mm=function(){return null},aZn.Nm=function(n){},aZn.Om=function(n){},aZn.Pm=function(){return 0},aZn.Ib=function(){return this.Qm(0)},aZn.Qm=function(n){return 11==this.e?".":""},aZn.e=0;var yGt,kGt,EGt,MGt,jGt,TGt,SGt,PGt,CGt,OGt,IGt,AGt,LGt,NGt,DGt,xGt,$Gt,RGt,_Gt,KGt,FGt,BGt,GGt,HGt,UGt=null,qGt=null,zGt=null,WGt=qV(Uct,"RegEx/Token",122);oxn(138,122,{3:1,138:1,122:1},$3),aZn.Qm=function(n){var t,e,i;if(4==this.e)if(this==SGt)e=".";else if(this==TGt)e="\\d";else if(this==KGt)e="\\w";else if(this==DGt)e="\\s";else{for((i=new qE).a+="[",t=0;t0&&(i.a+=","),this.b[t]===this.b[t+1]?zA(i,yqn(this.b[t])):(zA(i,yqn(this.b[t])),i.a+="-",zA(i,yqn(this.b[t+1])));i.a+="]",e=i.a}else if(this==IGt)e="\\D";else if(this==LGt)e="\\W";else if(this==AGt)e="\\S";else{for((i=new qE).a+="[^",t=0;t0&&(i.a+=","),this.b[t]===this.b[t+1]?zA(i,yqn(this.b[t])):(zA(i,yqn(this.b[t])),i.a+="-",zA(i,yqn(this.b[t+1])));i.a+="]",e=i.a}return e},aZn.a=!1,aZn.c=!1,qV(Uct,"RegEx/RangeToken",138),oxn(592,1,{592:1},Wm),aZn.a=0,qV(Uct,"RegEx/RegexParser/ReferencePosition",592),oxn(591,1,{3:1,591:1},dT),aZn.Fb=function(n){var t;return null!=n&&!!RD(n,591)&&(t=aU(n,591),gF(this.b,t.b)&&this.a==t.a)},aZn.Hb=function(){return wln(this.b+"/"+U_n(this.a))},aZn.Ib=function(){return this.c.Qm(this.a)},aZn.a=0,qV(Uct,"RegEx/RegularExpression",591),oxn(228,122,rat,Pz),aZn.Km=function(){return this.a},aZn.Qm=function(n){var t,e;switch(this.e){case 0:switch(this.a){case 124:case 42:case 43:case 63:case 40:case 41:case 46:case 91:case 123:case 92:e="\\"+EK(this.a&N1n);break;case 12:e="\\f";break;case 10:e="\\n";break;case 13:e="\\r";break;case 9:e="\\t";break;case 27:e="\\e";break;default:e=this.a>=T0n?"\\v"+e1(t="0"+(this.a>>>0).toString(16),t.length-6,t.length):""+EK(this.a&N1n)}break;case 8:e=this==CGt||this==OGt?""+EK(this.a&N1n):"\\"+EK(this.a&N1n);break;default:e=null}return e},aZn.a=0,qV(Uct,"RegEx/Token/CharToken",228),oxn(318,122,rat,Y5),aZn.Lm=function(n){return this.a},aZn.Nm=function(n){this.b=n},aZn.Om=function(n){this.c=n},aZn.Pm=function(){return 1},aZn.Qm=function(n){var t;if(3==this.e)if(this.c<0&&this.b<0)t=this.a.Qm(n)+"*";else if(this.c==this.b)t=this.a.Qm(n)+"{"+this.c+"}";else if(this.c>=0&&this.b>=0)t=this.a.Qm(n)+"{"+this.c+","+this.b+"}";else{if(!(this.c>=0&&this.b<0))throw uv(new $k("Token#toString(): CLOSURE "+this.c+kZn+this.b));t=this.a.Qm(n)+"{"+this.c+",}"}else if(this.c<0&&this.b<0)t=this.a.Qm(n)+"*?";else if(this.c==this.b)t=this.a.Qm(n)+"{"+this.c+"}?";else if(this.c>=0&&this.b>=0)t=this.a.Qm(n)+"{"+this.c+","+this.b+"}?";else{if(!(this.c>=0&&this.b<0))throw uv(new $k("Token#toString(): NONGREEDYCLOSURE "+this.c+kZn+this.b));t=this.a.Qm(n)+"{"+this.c+",}?"}return t},aZn.b=0,aZn.c=0,qV(Uct,"RegEx/Token/ClosureToken",318),oxn(837,122,rat,nV),aZn.Lm=function(n){return 0==n?this.a:this.b},aZn.Pm=function(){return 2},aZn.Qm=function(n){return 3==this.b.e&&this.b.Lm(0)==this.a?this.a.Qm(n)+"+":9==this.b.e&&this.b.Lm(0)==this.a?this.a.Qm(n)+"+?":this.a.Qm(n)+""+this.b.Qm(n)},qV(Uct,"RegEx/Token/ConcatToken",837),oxn(1945,122,rat,fin),aZn.Lm=function(n){if(0==n)return this.d;if(1==n)return this.b;throw uv(new $k("Internal Error: "+n))},aZn.Pm=function(){return this.b?2:1},aZn.Qm=function(n){var t;return t=this.c>0?"(?("+this.c+")":8==this.a.e?"(?("+this.a+")":"(?"+this.a,this.b?t+=this.d+"|"+this.b+")":t+=this.d+")",t},aZn.c=0,qV(Uct,"RegEx/Token/ConditionToken",1945),oxn(1946,122,rat,x3),aZn.Lm=function(n){return this.b},aZn.Pm=function(){return 1},aZn.Qm=function(n){return"(?"+(0==this.a?"":U_n(this.a))+(0==this.c?"":U_n(this.c))+":"+this.b.Qm(n)+")"},aZn.a=0,aZn.c=0,qV(Uct,"RegEx/Token/ModifierToken",1946),oxn(838,122,rat,TQ),aZn.Lm=function(n){return this.a},aZn.Pm=function(){return 1},aZn.Qm=function(n){var t;switch(t=null,this.e){case 6:t=0==this.b?"(?:"+this.a.Qm(n)+")":"("+this.a.Qm(n)+")";break;case 20:t="(?="+this.a.Qm(n)+")";break;case 21:t="(?!"+this.a.Qm(n)+")";break;case 22:t="(?<="+this.a.Qm(n)+")";break;case 23:t="(?"+this.a.Qm(n)+")"}return t},aZn.b=0,qV(Uct,"RegEx/Token/ParenToken",838),oxn(530,122,{3:1,122:1,530:1},R1),aZn.Mm=function(){return this.b},aZn.Qm=function(n){return 12==this.e?"\\"+this.a:A$n(this.b)},aZn.a=0,qV(Uct,"RegEx/Token/StringToken",530),oxn(477,122,rat,XN),aZn.Jm=function(n){pWn(this,n)},aZn.Lm=function(n){return aU(NQ(this.a,n),122)},aZn.Pm=function(){return this.a?this.a.a.c.length:0},aZn.Qm=function(n){var t,e,i,r,c;if(1==this.e){if(2==this.a.a.c.length)t=aU(NQ(this.a,0),122),r=3==(e=aU(NQ(this.a,1),122)).e&&e.Lm(0)==t?t.Qm(n)+"+":9==e.e&&e.Lm(0)==t?t.Qm(n)+"+?":t.Qm(n)+""+e.Qm(n);else{for(c=new qE,i=0;i=this.c.b:this.a<=this.c.b},aZn.Sb=function(){return this.b>0},aZn.Tb=function(){return this.b},aZn.Vb=function(){return this.b-1},aZn.Qb=function(){throw uv(new kE(hat))},aZn.a=0,aZn.b=0,qV(oat,"ExclusiveRange/RangeIterator",258);var XGt=uJ(frt,"C"),VGt=uJ(drt,"I"),QGt=uJ(bZn,"Z"),JGt=uJ(wrt,"J"),YGt=uJ(hrt,"B"),ZGt=uJ(lrt,"D"),nHt=uJ(brt,"F"),tHt=uJ(grt,"S"),eHt=Pq("org.eclipse.elk.core.labels","ILabelManager"),iHt=Pq(Tet,"DiagnosticChain"),rHt=Pq(Vrt,"ResourceSet"),cHt=qV(Tet,"InvocationTargetException",null),aHt=(UE(),g9),oHt=oHt=qSn;Aan(fv),pan("permProps",[[["locale","default"],[fat,"gecko1_8"]],[["locale","default"],[fat,"safari"]]]),oHt(null,"elk",null)}).call(this)}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],3:[function(n,t,e){function i(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function r(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function c(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var a=function(t){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i(this,e);var c=Object.assign({},t),a=!1;try{n.resolve("web-worker"),a=!0}catch(n){}if(t.workerUrl)if(a){var o=n("web-worker");c.workerFactory=function(n){return new o(n)}}else console.warn("Web worker requested but 'web-worker' package not installed. \nConsider installing the package or pass your own 'workerFactory' to ELK's constructor.\n... Falling back to non-web worker version.");if(!c.workerFactory){var u=n("./elk-worker.min.js").Worker;c.workerFactory=function(n){return new u(n)}}return r(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,c))}return c(e,t),e}(n("./elk-api.js").default);Object.defineProperty(t.exports,"__esModule",{value:!0}),t.exports=a,a.default=a},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(n,t,e){t.exports=Worker},{}]},{},[3])(3)}(B);var G=e(B.exports);const H=Phaser.Utils.Objects.GetValue;var U=function(n,t){var e=[],i={};n.graph.forEachNode((function(n,t){var r=E(n);if(r){var c=function(n,t){return void 0===n&&(n=0),void 0===t&&(t={}),"number"==typeof n?(t.left=n,t.right=n,t.top=n,t.bottom=n):(t.left=H(n,"left",0),t.right=H(n,"right",0),t.top=H(n,"top",0),t.bottom=H(n,"bottom",0)),t}(t.padding),a={gameObject:r,padding:c,id:n,width:r.displayWidth+c.left+c.right,height:r.displayHeight+c.top+c.bottom};e.push(a),i[n]=r}}));var r=[];return n.graph.forEachEdge((function(n,t,e,c){var a=i[e],o=i[c];if(a&&o){var u=E(n);if(u){var s={gameObject:u,sourceGameObject:a,targetGameObject:o,id:n,source:e,target:c};r.push(s)}}})),{id:"root",children:e,edges:r}},q=function(){},z=new Phaser.GameObjects.Zone({sys:{queueDepthSort:q,events:{once:q}}},0,0,1,1);z.setOrigin(0);var W=0,X=1,V=2,Q=4,J=6,Y=8,Z=10,nn=12,tn=function(n){return void 0!==n.displayWidth?n.displayWidth:n.width},en=function(n){return void 0!==n.displayHeight?n.displayHeight:n.height},rn=function(n){var t=en(n);return n.y+t-t*n.originY},cn=function(n){var t=tn(n);return n.x-t*n.originX+.5*t},an=function(n,t){var e=en(n);return n.y=t-e+e*n.originY,n},on=function(n,t){var e=tn(n),i=e*n.originX;return n.x=t+i-.5*e,n},un=function(n){var t=tn(n);return n.x-t*n.originX},sn=function(n,t){var e=tn(n);return n.x=t+e*n.originX,n},hn=function(n){var t=tn(n);return n.x+t-t*n.originX},fn=function(n,t){var e=tn(n);return n.x=t-e+e*n.originX,n},ln=function(n,t){var e=en(n),i=e*n.originY;return n.y=t+i-.5*e,n},bn=function(n){var t=en(n);return n.y-t*n.originY+.5*t},dn=function(n){var t=en(n);return n.y-t*n.originY},wn=function(n,t){var e=en(n);return n.y=t+e*n.originY,n},gn=[];gn[11]=function(n,t,e,i){return void 0===e&&(e=0),void 0===i&&(i=0),on(n,cn(t)+e),an(n,rn(t)+i),n},gn[Z]=function(n,t,e,i){return void 0===e&&(e=0),void 0===i&&(i=0),sn(n,un(t)-e),an(n,rn(t)+i),n},gn[nn]=function(n,t,e,i){return void 0===e&&(e=0),void 0===i&&(i=0),fn(n,hn(t)+e),an(n,rn(t)+i),n},gn[J]=function(n,t,e,i){return void 0===e&&(e=0),void 0===i&&(i=0),function(n,t,e){on(n,t),ln(n,e)}(n,cn(t)+e,bn(t)+i),n},gn[Q]=function(n,t,e,i){return void 0===e&&(e=0),void 0===i&&(i=0),sn(n,un(t)-e),ln(n,bn(t)+i),n},gn[Y]=function(n,t,e,i){return void 0===e&&(e=0),void 0===i&&(i=0),fn(n,hn(t)+e),ln(n,bn(t)+i),n},gn[X]=function(n,t,e,i){return void 0===e&&(e=0),void 0===i&&(i=0),on(n,cn(t)+e),wn(n,dn(t)-i),n},gn[W]=function(n,t,e,i){return void 0===e&&(e=0),void 0===i&&(i=0),sn(n,un(t)-e),wn(n,dn(t)-i),n},gn[V]=function(n,t,e,i){return void 0===e&&(e=0),void 0===i&&(i=0),fn(n,hn(t)+e),wn(n,dn(t)-i),n};var pn=function(n,t,e,i,r,c){z.setPosition(t,e).setSize(i,r),function(n,t,e,i,r){gn[e](n,t,i,r)}(n,z,c)};const mn=Phaser.Display.Align.CENTER;var vn=async function(n,t){void 0===t&&(t={}),n.emit("layout.start",n);var e=U(n);n.emit("layout.prelayout",n);var i=new G;e=await i.layout(e,{layoutOptions:t.layoutOptions}),n.emit("layout.postlayout",n),function(n,t){t.children.forEach((function(t){var e=t.gameObject,i=t.padding,r=t.x+i.left,c=t.y+i.top,a=t.width-i.left-i.right,o=t.height-i.top-i.bottom;pn(e,r,c,a,o,mn),n.emit("layout.node",t.gameObject)})),t.edges.forEach((function(t){var e=function(n){var t=[],e=n.sections[0];return t.push(e.startPoint),e.bendPoints&&e.bendPoints.forEach((function(n){t.push(n)})),t.push(e.endPoint),t}(t);n.emit("layout.edge",t.gameObject,e,t.sourceGameObject,t.targetGameObject)}))}(n,e),n.emit("layout.complete",n)};class yn extends Phaser.Plugins.ScenePlugin{constructor(t,e){super(t,e),this.add=new n(t)}boot(){this.scene.sys.events.on("destroy",this.destroy,this)}destroy(){this.add.destroy(),super.destroy()}async ELKLayoutPromise(n,t){return vn(n,t)}ELKLayout(n,t){return vn(n,t),n}}return yn})); diff --git a/dist/rexninepatch2plugin.js b/dist/rexninepatch2plugin.js index f737f0d3f3..b05b9931bd 100644 --- a/dist/rexninepatch2plugin.js +++ b/dist/rexninepatch2plugin.js @@ -1425,6 +1425,11 @@ var FrameMatrix = new TransformMatrix(); var WebglRender = function (pipeline, calcMatrix, alpha, dx, dy, texture, textureUnit, roundPixels) { + var frame = this.frame; + if (!frame) { + return; + } + var width = this._width, height = this._height; var displayOriginX = width * this.originX, @@ -1432,6 +1437,40 @@ var x = this.x - dx, y = this.y - dy; + var u0, v0, u1, v1; + var frameX, frameY; + var frameWidth, frameHeight; + if (this.isCropped) { + var crop = this._crop; + + if (crop.flipX !== this.flipX || crop.flipY !== this.flipY) { + frame.updateCropUVs(crop, this.flipX, this.flipY); + } + + u0 = crop.u0; + v0 = crop.v0; + u1 = crop.u1; + v1 = crop.v1; + + frameWidth = crop.width; + frameHeight = crop.height; + + frameX = crop.x; + frameY = crop.y; + + } else { + u0 = this.frame.u0; + v0 = this.frame.v0; + u1 = this.frame.u1; + v1 = this.frame.v1; + + frameWidth = width; + frameHeight = height; + + frameX = 0; + frameY = 0; + } + var flipX = 1; var flipY = 1; @@ -1447,18 +1486,13 @@ FrameMatrix.applyITRS(x, y, this.rotation, this.scaleX * flipX, this.scaleY * flipY); calcMatrix.multiply(FrameMatrix, FrameMatrix); - var tx = -displayOriginX; - var ty = -displayOriginY; - var tw = tx + width; - var th = ty + height; + var tx = -displayOriginX + frameX; + var ty = -displayOriginY + frameY; + var tw = tx + frameWidth; + var th = ty + frameHeight; var quad = FrameMatrix.setQuad(tx, ty, tw, th, roundPixels); - var u0 = this.frame.u0; - var v0 = this.frame.v0; - var u1 = this.frame.u1; - var v1 = this.frame.v1; - var tint = GetTint(this.tint, this.alpha * alpha); pipeline.batchQuad( @@ -1524,6 +1558,7 @@ constructor(parent, frame) { super(parent, ImageTypeName); + this._crop = ResetCropObject(); this.setFrame(frame); } @@ -1546,8 +1581,15 @@ frame = this.parent.texture.get(frame); } this.frame = frame; - this._width = (frame) ? frame.width : 0; - this._height = (frame) ? frame.height : 0; + + if (frame) { + this._width = frame.realWidth; + this._height = frame.realHeight; + } else { + this._width = 0; + this._height = 0; + } + return this; } @@ -1621,13 +1663,35 @@ this._tintFill = value; } + setCrop(x, y, width, height) { + if (x === undefined) { + this.isCropped = false; + return this; + } + + if (!this.frame) { + return this; + } + + if ((x === 0) && (y === 0) && (width === this._width) && (height === this._height)) { + this.isCropped = false; + return this; + } + + this.frame.setCropUVs(this._crop, x, y, width, height, this.flipX, this.flipY); + this.isCropped = true; + + return this; + } + reset() { super.reset(); this .resetFlip() .resetTint() - .setFrame(); + .setFrame() + .setCrop(); return this; } @@ -1674,6 +1738,17 @@ } + var ResetCropObject = function (out) { + if (out === undefined) { + out = {}; + } + out.u0 = 0; out.v0 = 0; out.u1 = 0; out.v1 = 0; + out.x = 0; out.y = 0; out.width = 0; out.height = 0; + out.flipX = false; out.flipY = false; + out.cx = 0; out.cy = 0; out.cw = 0, out.ch = 0; + return out; + }; + var methods = { webglRender: WebglRender, canvasRender: CanvasRender, @@ -1718,18 +1793,27 @@ var frameObj = this.texture.get(frame); var frameWidth = frameObj.width, frameHeight = frameObj.height; - var colCount = Math.floor(width / frameWidth), - rowCount = Math.floor(height / frameHeight); - // Align images at center - x += (width - (colCount * frameWidth)) / 2; - y += (height - (rowCount * frameHeight)) / 2; + var cropLastWidth = width % frameWidth, + cropLastHeight = height % frameHeight; + var cropLastCol = (cropLastWidth !== 0), + cropLastRow = (cropLastHeight !== 0); + var colCount = Math.ceil(width / frameWidth), + rowCount = Math.ceil(height / frameHeight); + var lastColCount = colCount - 1, + lastRowCount = rowCount - 1; for (var colIndex = 0; colIndex < colCount; colIndex++) { for (var rowIndex = 0; rowIndex < rowCount; rowIndex++) { - AddImage(this, { + let bob = AddImage(this, { frame: frame, x: x + (colIndex * frameWidth), y: y + (rowIndex * frameHeight), }); + + var cropWidth = (cropLastCol && (colIndex === lastColCount)) ? cropLastWidth : frameWidth; + var cropHeight = (cropLastRow && (rowIndex === lastRowCount)) ? cropLastHeight : frameHeight; + if ((cropWidth !== frameWidth) || (cropHeight !== frameHeight)) { + bob.setCrop(0, 0, cropWidth, cropHeight); + } } } diff --git a/dist/rexninepatch2plugin.min.js b/dist/rexninepatch2plugin.min.js index b3e2333c27..0aca5f0a65 100644 --- a/dist/rexninepatch2plugin.min.js +++ b/dist/rexninepatch2plugin.min.js @@ -1 +1 @@ -var t,e;t=void 0,e=function(){const t=Phaser.GameObjects.GetCalcMatrix,e=Phaser.Renderer.Canvas.SetTransform;var i={renderWebGL:function(e,i,s,r){var h=i.getRenderList();if(0!==h.length){s.addToRenderList(i);var a=e.pipelines.set(i.pipeline),n=i.frame.glTexture,o=a.setGameObject(i),l=s.roundPixels,d=t(i,s,r),c=a.calcMatrix.copyFrom(d.calc),u=i._displayOriginX,p=i._displayOriginY,g=s.alpha*i.alpha;e.pipelines.preBatch(i);for(var v=0,f=h.length;v0?this.items.pop():null}push(t){return this.items.push(t),this}pushMultiple(t){return this.items.push.apply(this.items,t),t.length=0,this}clear(){return this.items.length=0,this}}const l=Phaser.Utils.Objects.GetValue;var d={};class c{constructor(t){this.pools=l(t,"pools",d)}destroy(){this.pools=void 0}free(t){if(!this.pools)return this;var e=t.type;return this.pools.hasOwnProperty(e)||(this.pools[e]=new o),this.pools[e].push(t),t.onFree(),this}freeMultiple(t){if(!this.pools)return this;for(var e=0,i=t.length;e0},b=function(t,e){return t._depth-e._depth};const x=Phaser.GameObjects.Components;Phaser.Class.mixin(w,[x.Alpha,x.BlendMode,x.ComputedSize,x.Depth,x.GetBounds,x.Mask,x.Origin,x.Pipeline,x.PostPipeline,x.ScrollFactor,x.Transform,x.Visible,i,n]);var O=function(t,e,i){return"__BASE"===i?`${t},${e}`:`${i}:${t},${e}`};function _(t){if(null===t||"object"!=typeof t)return t;if(Array.isArray(t))return t.map((t=>_(t)));if(t instanceof Date)return new Date(t);if(t instanceof RegExp)return new RegExp(t);if(Object.getPrototypeOf(t)!==Object.prototype)return t;const e={};for(let i in t)t.hasOwnProperty(i)&&(e[i]=_(t[i]));return e}const F=Phaser.Utils.Objects.IsPlainObject,D=Phaser.Utils.Objects.GetValue;var X=function(t){return"string"==typeof t&&(t=Y[t]),t};const Y={scale:0,repeat:1};var S=function(t,e){return 0===t||t===this.columns.count-1||0===e||e===this.rows.count-1},M=function(){},T={_beginDraw:M,_drawImage:M,_drawTileSprite:M,_endDraw:M,setGetFrameNameCallback:function(t){return void 0===t&&(t=O),this.getFrameNameCallback=t,this},setBaseTexture:function(t,e,i,s){Array.isArray(e)&&(s=i,i=e,e=void 0),null==e&&(e="__BASE"),"number"==typeof i&&arguments.length>=6?(i=[arguments[2],void 0,arguments[3]],s=[arguments[4],void 0,arguments[5]]):void 0===i&&void 0===s&&void 0!==this.columns.data&&void 0!==this.rows.data?(i=this.columns.data,s=this.rows.data):(i=_(i),s=_(s)),this.textureKey=t,this.baseFrameName=e,this.columns.data=i,this.columns.count=i?i.length:0,this.columns.stretch=0,this.columns.minWidth=0,this.columns.scale=1,this.rows.data=s,this.rows.count=s?s.length:0,this.rows.stretch=0,this.rows.minHeight=0,this.rows.scale=1;var r=this.scene.sys.textures.get(t);if(!r)return this.clear(),this;if(!i||!s)return this.clear(),this;for(var h=r.get(e),a=h.width,n=0,o=0,l=i.length;o0?a/n:0,c=h.height,u=0;for(o=0,l=s.length;o0?0:v,w=0,o=0;for(var O=i.length;o0?0:f),f>=1&&v>=1){var F=typeof(m=this.getFrameNameCallback(o,b,e));"string"!==F&&"number"!==F||r.add(m,0,w+h.cutX,P+h.cutY,f,v)}w+=f}P+=v}return this.updateTexture(),this},updateTexture:function(){if(this.clear(),void 0===this.textureKey)return this;var t=this.scene.sys.textures.get(this.textureKey);if(!t)return this;var e,i,s,r,h,a,n,o=this.columns.minWidth*this.maxFixedPartScaleX,l=this.rows.minHeight*this.maxFixedPartScaleY,d=this.width-o,c=this.height-l,u=d>=0?this.maxFixedPartScaleX:this.width/o,p=c>=0?this.maxFixedPartScaleY:this.height/l;if(this.preserveRatio){var g=Math.min(u,p);if(u>g){var v=(u-g)*o;d>=0?d+=v:d=v,u=g}if(p>g){var f=(p-g)*l;c>=0?c+=f:c=f,p=g}}this.columns.scale=u,this.rows.scale=p,e=d>0&&this.columns.stretch>0?d/this.columns.stretch:0,i=c>0&&this.rows.stretch>0?c/this.rows.stretch:0;var m=0,y=0;this._beginDraw();for(var w=0,P=this.rows.count;w0&&n>0&&(0==(0===h.stretch&&0===r.stretch||0===this.getStretchMode(b,w)?0:1)?this._drawImage(this.textureKey,s,m,y,a,n):this._drawTileSprite(this.textureKey,s,m,y,a,n)),m+=a;y+=n}this._endDraw()},setStretchMode:function(t){return F(t)?(this.stretchMode.edge=X(D(t,"edge",0)),this.stretchMode.internal=X(D(t,"internal",0))):(t=X(t),this.stretchMode.edge=t,this.stretchMode.internal=t),this},getStretchMode:function(t,e){return S.call(this,t,e)?this.stretchMode.edge:this.stretchMode.internal},setPreserveRatio:function(t){return null==t&&(t=!0),this.preserveRatio=t,this},setMaxFixedPartScale:function(t,e){return void 0===e&&(e=t),this.maxFixedPartScaleX=t,this.maxFixedPartScaleY=e,this}};const A=Phaser.Utils.Objects.IsPlainObject,j=Phaser.Utils.Objects.GetValue,C="image";var R={enableData(){return void 0===this.data&&(this.data={}),this},setData(t,e){if(this.enableData(),1===arguments.length){var i=t;for(t in i)this.data[t]=i[t]}else this.data[t]=e;return this},getData(t,e){return this.enableData(),void 0===t?this.data:function(t,e,i){if(!t||"number"==typeof t)return i;if("string"==typeof e){if(t.hasOwnProperty(e))return t[e];if(-1===e.indexOf("."))return i;e=e.split(".")}for(var s=e,r=t,h=i,a=0;a0&&!I(t)&&(t=this.parent.texture.get(t)),this.frame=t,this._width=t?t.width:0,this._height=t?t.height:0,this}setFlipX(t){return void 0===t&&(t=!0),this.flipX=t,this}setFlipY(t){return void 0===t&&(t=!0),this.flipY=t,this}resetFlip(){return this.flipX=!1,this.flipY=!1,this}get tint(){return void 0===this._tint?this.parent.tint:this._tint}set tint(t){this._tint=t}setTint(t){return this.tint=t,this.tintFill=!1,this}setTintFill(t){return this.tint=t,this.tintFill=!0,this}clearTint(){return this.setTint(16777215),this}resetTint(){return this.tint=void 0,this.tintFill=void 0,this}get tintFill(){return void 0===this._tintFill?this.parent.tintFill:this._tintFill}set tintFill(t){this._tintFill=t}reset(){return super.reset(),this.resetFlip().resetTint().setFrame(),this}modifyPorperties(t){return t?(t.hasOwnProperty("width")&&(t.displayWidth=t.width,delete t.width),t.hasOwnProperty("height")&&(t.displayHeight=t.height,delete t.height),t.hasOwnProperty("frame")&&this.setFrame(t.frame),super.modifyPorperties(t),t.hasOwnProperty("flipX")&&this.setFlipX(t.flipX),t.hasOwnProperty("flipY")&&this.setFlipY(t.flipY),t.hasOwnProperty("tint")&&this.setTint(t.tint),t.hasOwnProperty("tintFill")&&this.setTintFill(t.tintFill),this):this}}var z={webglRender:function(t,e,i,s,r,h,a,n){var o=this._width,l=this._height,d=o*this.originX,c=l*this.originY,u=this.x-s,p=this.y-r,g=1,v=1;this.flipX&&(u+=o-2*d,g=-1),this.flipY&&(p+=l-2*c,v=-1),k.applyITRS(u,p,this.rotation,this.scaleX*g,this.scaleY*v),e.multiply(k,k);var f=-d,m=-c,y=f+o,w=m+l,P=k.setQuad(f,m,y,w,n),b=this.frame.u0,x=this.frame.v0,O=this.frame.u1,_=this.frame.v1,F=U(this.tint,this.alpha*i);t.batchQuad(this.parent,P[0],P[1],P[2],P[3],P[4],P[5],P[6],P[7],b,x,O,_,F,F,F,F,this.tintFill,h,a)},canvasRender:function(t,e,i,s){t.save();var r=this._width,h=this._height,a=r*this.originX,n=h*this.originY,o=this.x-a,l=this.y-n,d=1,c=1;this.flipX&&(o+=r,d=-1),this.flipY&&(l+=h,c=-1),s&&(o=Math.round(o),l=Math.round(l)),t.translate(o,l),t.rotate(this.rotation),t.scale(this.scaleX*d,this.scaleY*c);var u=this.frame;t.drawImage(u.source.image,u.cutX,u.cutY,r,h,0,0,r,h),t.restore()}};Object.assign(V.prototype,z);var $=function(t,e){"string"==typeof e&&(e={frame:e});var i=t.poolManager?t.poolManager.allocate(C):null;return null===i?i=new V(t):i.setParent(t).setActive(),i.modifyPorperties(e),t.addChild(i),i},E={_drawImage:function(t,e,i,s,r,h){$(this,{frame:e,x:i,y:s,width:r,height:h})},_drawTileSprite:function(t,e,i,s,r,h){var a=this.texture.get(e),n=a.width,o=a.height,l=Math.floor(r/n),d=Math.floor(h/o);i+=(r-l*n)/2,s+=(h-d*o)/2;for(var c=0;c0?this.items.pop():null}push(t){return this.items.push(t),this}pushMultiple(t){return this.items.push.apply(this.items,t),t.length=0,this}clear(){return this.items.length=0,this}}const l=Phaser.Utils.Objects.GetValue;var d={};class c{constructor(t){this.pools=l(t,"pools",d)}destroy(){this.pools=void 0}free(t){if(!this.pools)return this;var e=t.type;return this.pools.hasOwnProperty(e)||(this.pools[e]=new o),this.pools[e].push(t),t.onFree(),this}freeMultiple(t){if(!this.pools)return this;for(var e=0,i=t.length;e0},b=function(t,e){return t._depth-e._depth};const x=Phaser.GameObjects.Components;Phaser.Class.mixin(w,[x.Alpha,x.BlendMode,x.ComputedSize,x.Depth,x.GetBounds,x.Mask,x.Origin,x.Pipeline,x.PostPipeline,x.ScrollFactor,x.Transform,x.Visible,i,n]);var O=function(t,e,i){return"__BASE"===i?`${t},${e}`:`${i}:${t},${e}`};function _(t){if(null===t||"object"!=typeof t)return t;if(Array.isArray(t))return t.map((t=>_(t)));if(t instanceof Date)return new Date(t);if(t instanceof RegExp)return new RegExp(t);if(Object.getPrototypeOf(t)!==Object.prototype)return t;const e={};for(let i in t)t.hasOwnProperty(i)&&(e[i]=_(t[i]));return e}const F=Phaser.Utils.Objects.IsPlainObject,D=Phaser.Utils.Objects.GetValue;var X=function(t){return"string"==typeof t&&(t=Y[t]),t};const Y={scale:0,repeat:1};var S=function(t,e){return 0===t||t===this.columns.count-1||0===e||e===this.rows.count-1},M=function(){},C={_beginDraw:M,_drawImage:M,_drawTileSprite:M,_endDraw:M,setGetFrameNameCallback:function(t){return void 0===t&&(t=O),this.getFrameNameCallback=t,this},setBaseTexture:function(t,e,i,s){Array.isArray(e)&&(s=i,i=e,e=void 0),null==e&&(e="__BASE"),"number"==typeof i&&arguments.length>=6?(i=[arguments[2],void 0,arguments[3]],s=[arguments[4],void 0,arguments[5]]):void 0===i&&void 0===s&&void 0!==this.columns.data&&void 0!==this.rows.data?(i=this.columns.data,s=this.rows.data):(i=_(i),s=_(s)),this.textureKey=t,this.baseFrameName=e,this.columns.data=i,this.columns.count=i?i.length:0,this.columns.stretch=0,this.columns.minWidth=0,this.columns.scale=1,this.rows.data=s,this.rows.count=s?s.length:0,this.rows.stretch=0,this.rows.minHeight=0,this.rows.scale=1;var r=this.scene.sys.textures.get(t);if(!r)return this.clear(),this;if(!i||!s)return this.clear(),this;for(var h=r.get(e),a=h.width,n=0,o=0,l=i.length;o0?a/n:0,c=h.height,u=0;for(o=0,l=s.length;o0?0:v,w=0,o=0;for(var O=i.length;o0?0:f),f>=1&&v>=1){var F=typeof(m=this.getFrameNameCallback(o,b,e));"string"!==F&&"number"!==F||r.add(m,0,w+h.cutX,P+h.cutY,f,v)}w+=f}P+=v}return this.updateTexture(),this},updateTexture:function(){if(this.clear(),void 0===this.textureKey)return this;var t=this.scene.sys.textures.get(this.textureKey);if(!t)return this;var e,i,s,r,h,a,n,o=this.columns.minWidth*this.maxFixedPartScaleX,l=this.rows.minHeight*this.maxFixedPartScaleY,d=this.width-o,c=this.height-l,u=d>=0?this.maxFixedPartScaleX:this.width/o,p=c>=0?this.maxFixedPartScaleY:this.height/l;if(this.preserveRatio){var g=Math.min(u,p);if(u>g){var v=(u-g)*o;d>=0?d+=v:d=v,u=g}if(p>g){var f=(p-g)*l;c>=0?c+=f:c=f,p=g}}this.columns.scale=u,this.rows.scale=p,e=d>0&&this.columns.stretch>0?d/this.columns.stretch:0,i=c>0&&this.rows.stretch>0?c/this.rows.stretch:0;var m=0,y=0;this._beginDraw();for(var w=0,P=this.rows.count;w0&&n>0&&(0==(0===h.stretch&&0===r.stretch||0===this.getStretchMode(b,w)?0:1)?this._drawImage(this.textureKey,s,m,y,a,n):this._drawTileSprite(this.textureKey,s,m,y,a,n)),m+=a;y+=n}this._endDraw()},setStretchMode:function(t){return F(t)?(this.stretchMode.edge=X(D(t,"edge",0)),this.stretchMode.internal=X(D(t,"internal",0))):(t=X(t),this.stretchMode.edge=t,this.stretchMode.internal=t),this},getStretchMode:function(t,e){return S.call(this,t,e)?this.stretchMode.edge:this.stretchMode.internal},setPreserveRatio:function(t){return null==t&&(t=!0),this.preserveRatio=t,this},setMaxFixedPartScale:function(t,e){return void 0===e&&(e=t),this.maxFixedPartScaleX=t,this.maxFixedPartScaleY=e,this}};const T=Phaser.Utils.Objects.IsPlainObject,A=Phaser.Utils.Objects.GetValue,j="image";var R={enableData(){return void 0===this.data&&(this.data={}),this},setData(t,e){if(this.enableData(),1===arguments.length){var i=t;for(t in i)this.data[t]=i[t]}else this.data[t]=e;return this},getData(t,e){return this.enableData(),void 0===t?this.data:function(t,e,i){if(!t||"number"==typeof t)return i;if("string"==typeof e){if(t.hasOwnProperty(e))return t[e];if(-1===e.indexOf("."))return i;e=e.split(".")}for(var s=e,r=t,h=i,a=0;a0&&!I(t)&&(t=this.parent.texture.get(t)),this.frame=t,t?(this._width=t.realWidth,this._height=t.realHeight):(this._width=0,this._height=0),this}setFlipX(t){return void 0===t&&(t=!0),this.flipX=t,this}setFlipY(t){return void 0===t&&(t=!0),this.flipY=t,this}resetFlip(){return this.flipX=!1,this.flipY=!1,this}get tint(){return void 0===this._tint?this.parent.tint:this._tint}set tint(t){this._tint=t}setTint(t){return this.tint=t,this.tintFill=!1,this}setTintFill(t){return this.tint=t,this.tintFill=!0,this}clearTint(){return this.setTint(16777215),this}resetTint(){return this.tint=void 0,this.tintFill=void 0,this}get tintFill(){return void 0===this._tintFill?this.parent.tintFill:this._tintFill}set tintFill(t){this._tintFill=t}setCrop(t,e,i,s){return void 0===t?(this.isCropped=!1,this):this.frame?0===t&&0===e&&i===this._width&&s===this._height?(this.isCropped=!1,this):(this.frame.setCropUVs(this._crop,t,e,i,s,this.flipX,this.flipY),this.isCropped=!0,this):this}reset(){return super.reset(),this.resetFlip().resetTint().setFrame().setCrop(),this}modifyPorperties(t){return t?(t.hasOwnProperty("width")&&(t.displayWidth=t.width,delete t.width),t.hasOwnProperty("height")&&(t.displayHeight=t.height,delete t.height),t.hasOwnProperty("frame")&&this.setFrame(t.frame),super.modifyPorperties(t),t.hasOwnProperty("flipX")&&this.setFlipX(t.flipX),t.hasOwnProperty("flipY")&&this.setFlipY(t.flipY),t.hasOwnProperty("tint")&&this.setTint(t.tint),t.hasOwnProperty("tintFill")&&this.setTintFill(t.tintFill),this):this}}var z=function(t){return void 0===t&&(t={}),t.u0=0,t.v0=0,t.u1=0,t.v1=0,t.x=0,t.y=0,t.width=0,t.height=0,t.flipX=!1,t.flipY=!1,t.cx=0,t.cy=0,t.cw=0,t.ch=0,t},$={webglRender:function(t,e,i,s,r,h,a,n){var o=this.frame;if(o){var l,d,c,u,p,g,v,f,m=this._width,y=this._height,w=m*this.originX,P=y*this.originY,b=this.x-s,x=this.y-r;if(this.isCropped){var O=this._crop;O.flipX===this.flipX&&O.flipY===this.flipY||o.updateCropUVs(O,this.flipX,this.flipY),l=O.u0,d=O.v0,c=O.u1,u=O.v1,v=O.width,f=O.height,p=O.x,g=O.y}else l=this.frame.u0,d=this.frame.v0,c=this.frame.u1,u=this.frame.v1,v=m,f=y,p=0,g=0;var _=1,F=1;this.flipX&&(b+=m-2*w,_=-1),this.flipY&&(x+=y-2*P,F=-1),k.applyITRS(b,x,this.rotation,this.scaleX*_,this.scaleY*F),e.multiply(k,k);var D=-w+p,X=-P+g,Y=D+v,S=X+f,M=k.setQuad(D,X,Y,S,n),C=N(this.tint,this.alpha*i);t.batchQuad(this.parent,M[0],M[1],M[2],M[3],M[4],M[5],M[6],M[7],l,d,c,u,C,C,C,C,this.tintFill,h,a)}},canvasRender:function(t,e,i,s){t.save();var r=this._width,h=this._height,a=r*this.originX,n=h*this.originY,o=this.x-a,l=this.y-n,d=1,c=1;this.flipX&&(o+=r,d=-1),this.flipY&&(l+=h,c=-1),s&&(o=Math.round(o),l=Math.round(l)),t.translate(o,l),t.rotate(this.rotation),t.scale(this.scaleX*d,this.scaleY*c);var u=this.frame;t.drawImage(u.source.image,u.cutX,u.cutY,r,h,0,0,r,h),t.restore()}};Object.assign(V.prototype,$);var E=function(t,e){"string"==typeof e&&(e={frame:e});var i=t.poolManager?t.poolManager.allocate(j):null;return null===i?i=new V(t):i.setParent(t).setActive(),i.modifyPorperties(e),t.addChild(i),i},K={_drawImage:function(t,e,i,s,r,h){E(this,{frame:e,x:i,y:s,width:r,height:h})},_drawTileSprite:function(t,e,i,s,r,h){for(var a=this.texture.get(e),n=a.width,o=a.height,l=r%n,d=h%o,c=0!==l,u=0!==d,p=Math.ceil(r/n),g=Math.ceil(h/o),v=p-1,f=g-1,m=0;mi(t)));if(t instanceof Date)return new Date(t);if(t instanceof RegExp)return new RegExp(t);if(Object.getPrototypeOf(t)!==Object.prototype)return t;const e={};for(let s in t)t.hasOwnProperty(s)&&(e[s]=i(t[s]));return e}const s=Phaser.Utils.Objects.IsPlainObject,r=Phaser.Utils.Objects.GetValue;var n=function(t){return"string"==typeof t&&(t=a[t]),t};const a={scale:0,repeat:1};var o=function(t,e){return 0===t||t===this.columns.count-1||0===e||e===this.rows.count-1},h=function(){},l={_beginDraw:h,_drawImage:h,_drawTileSprite:h,_endDraw:h,setGetFrameNameCallback:function(t){return void 0===t&&(t=e),this.getFrameNameCallback=t,this},setBaseTexture:function(t,e,s,r){Array.isArray(e)&&(r=s,s=e,e=void 0),null==e&&(e="__BASE"),"number"==typeof s&&arguments.length>=6?(s=[arguments[2],void 0,arguments[3]],r=[arguments[4],void 0,arguments[5]]):void 0===s&&void 0===r&&void 0!==this.columns.data&&void 0!==this.rows.data?(s=this.columns.data,r=this.rows.data):(s=i(s),r=i(r)),this.textureKey=t,this.baseFrameName=e,this.columns.data=s,this.columns.count=s?s.length:0,this.columns.stretch=0,this.columns.minWidth=0,this.columns.scale=1,this.rows.data=r,this.rows.count=r?r.length:0,this.rows.stretch=0,this.rows.minHeight=0,this.rows.scale=1;var n=this.scene.sys.textures.get(t);if(!n)return this.clear(),this;if(!s||!r)return this.clear(),this;for(var a=n.get(e),o=a.width,h=0,l=0,d=s.length;l0?o/h:0,u=a.height,p=0;for(l=0,d=r.length;l0?0:f,x=0,l=0;for(var S=s.length;l0?0:m),m>=1&&f>=1){var P=typeof(y=this.getFrameNameCallback(l,k,e));"string"!==P&&"number"!==P||n.add(y,0,x+a.cutX,C+a.cutY,m,f)}x+=m}C+=f}return this.updateTexture(),this},updateTexture:function(){if(this.clear(),void 0===this.textureKey)return this;var t=this.scene.sys.textures.get(this.textureKey);if(!t)return this;var e,i,s,r,n,a,o,h=this.columns.minWidth*this.maxFixedPartScaleX,l=this.rows.minHeight*this.maxFixedPartScaleY,d=this.width-h,c=this.height-l,u=d>=0?this.maxFixedPartScaleX:this.width/h,p=c>=0?this.maxFixedPartScaleY:this.height/l;if(this.preserveRatio){var g=Math.min(u,p);if(u>g){var v=(u-g)*h;d>=0?d+=v:d=v,u=g}if(p>g){var f=(p-g)*l;c>=0?c+=f:c=f,p=g}}this.columns.scale=u,this.rows.scale=p,e=d>0&&this.columns.stretch>0?d/this.columns.stretch:0,i=c>0&&this.rows.stretch>0?c/this.rows.stretch:0;var m=0,y=0;this._beginDraw();for(var b=0,x=this.rows.count;b0&&o>0&&(0==(0===n.stretch&&0===r.stretch||0===this.getStretchMode(C,b)?0:1)?this._drawImage(this.textureKey,s,m,y,a,o):this._drawTileSprite(this.textureKey,s,m,y,a,o)),m+=a;y+=o}this._endDraw()},setStretchMode:function(t){return s(t)?(this.stretchMode.edge=n(r(t,"edge",0)),this.stretchMode.internal=n(r(t,"internal",0))):(t=n(t),this.stretchMode.edge=t,this.stretchMode.internal=t),this},getStretchMode:function(t,e){return o.call(this,t,e)?this.stretchMode.edge:this.stretchMode.internal},setPreserveRatio:function(t){return null==t&&(t=!0),this.preserveRatio=t,this},setMaxFixedPartScale:function(t,e){return void 0===e&&(e=t),this.maxFixedPartScaleX=t,this.maxFixedPartScaleY=e,this}};const d=Phaser.Utils.Objects.IsPlainObject,c=Phaser.Utils.Objects.GetValue;var u=function(t,e){class i extends t{constructor(t,i,s,r,n,a,o,h,l,u){if(d(i)?(i=c(u=i,"x",0),s=c(u,"y",0),r=c(u,"width",1),n=c(u,"height",1),a=c(u,"key",void 0),o=c(u,"baseFrame",void 0),h=c(u,"columns",void 0),l=c(u,"rows",void 0)):d(r)?(r=c(u=r,"width",1),n=c(u,"height",1),a=c(u,"key",void 0),o=c(u,"baseFrame",void 0),h=c(u,"columns",void 0),l=c(u,"rows",void 0)):d(a)?(a=c(u=a,"key",void 0),o=c(u,"baseFrame",void 0),h=c(u,"columns",void 0),l=c(u,"rows",void 0)):d(o)?(o=c(u=o,"baseFrame",void 0),h=c(u,"columns",void 0),l=c(u,"rows",void 0)):Array.isArray(o)?(u=l,l=h,h=o,o=c(u,"baseFrame",void 0)):d(h)&&(h=c(u=h,"columns",void 0),l=c(u,"rows",void 0)),void 0===o&&(o=c(u,"frame",void 0)),void 0===h){var p=c(u,"leftWidth",void 0),g=c(u,"rightWidth",void 0);void 0!==p&&void 0!==g&&(h=[p,void 0,g])}if(void 0===l){var v=c(u,"topHeight",void 0),f=c(u,"bottomHeight",void 0);void 0!==v&&void 0!==f&&(l=[v,void 0,f])}super(t),this.type=e,this.setPosition(i,s).setSize(r,n).setOrigin(.5,.5),this.columns={},this.rows={},this.stretchMode={},this._tileSprite=void 0,this._image=void 0,this.setGetFrameNameCallback(c(u,"getFrameNameCallback",void 0)),this.setStretchMode(c(u,"stretchMode",0)),this.setPreserveRatio(c(u,"preserveRatio",!0));var m=c(u,"maxFixedPartScale",1),y=c(u,"maxFixedPartScaleX",m),b=c(u,"maxFixedPartScaleY",void 0);this.setMaxFixedPartScale(y,b),this.setBaseTexture(a,o,h,l)}get minWidth(){return this.columns.minWidth}get minHeight(){return this.rows.minHeight}get fixedPartScaleX(){return this.columns.scale}get fixedPartScaleY(){return this.rows.scale}resize(t,e){return this.width===t&&this.height===e||(super.resize?super.resize(t,e):super.setSize(t,e),this.updateTexture()),this}get leftWidth(){return this.columns.data[0]}get rightWidth(){return this.columns.data[this.columns.count-1]}get topHeight(){return this.rows.data[0]}get bottomHeight(){return this.rows.data[this.rows.count-1]}}return Object.assign(i.prototype,l),i};const p=Phaser.Game;var g=function(t){return t instanceof p};const v=Phaser.Scene;var f=function(t){return t instanceof v},m=function(t){return null==t||"object"!=typeof t?null:g(t)?t:g(t.game)?t.game:f(t)?t.sys.game:f(t.scene)?t.scene.sys.game:void 0};const y=Phaser.GameObjects;var b=void 0,x=function(t,e){if(b||(b={},m(t).events.once("destroy",(function(){for(var t in b)b[t].destroy();b=void 0}))),!b.hasOwnProperty(e)){var i=m(t).scene.systemScene;(t=new y[e](i)).setOrigin(0),b[e]=t}return b[e]};const C=Phaser.GameObjects.RenderTexture;let k=class extends(u(C,"rexNinePatch")){};var w={_drawImage:function(t,e,i,s,r,n){var a=x(this,"Image").setTexture(t,e).setDisplaySize(r,n);this.draw(a,i,s)},_drawTileSprite:function(t,e,i,s,r,n){var a=x(this,"TileSprite").setTexture(t,e).setSize(r,n);this.draw(a,i,s)}};Object.assign(k.prototype,w);var S=function(t){return null==t||""===t||0===t.length},P=function(t,e,i,s){if(void 0===s&&(s="."),"object"==typeof t){if(S(e)){if(null==i)return;"object"==typeof i&&(t=i)}else{"string"==typeof e&&(e=e.split(s));var r=e.pop(),n=function(t,e,i){var s=t;if(S(e));else{var r;"string"==typeof e&&(e=e.split("."));for(var n=0,a=e.length;n0?this.items.pop():null}push(t){return this.items.push(t),this}pushMultiple(t){return this.items.push.apply(this.items,t),t.length=0,this}clear(){return this.items.length=0,this}}const D=Phaser.Utils.Objects.GetValue;var A={};let j=class{constructor(t){this.pools=D(t,"pools",A)}destroy(){this.pools=void 0}free(t){if(!this.pools)return this;var e=t.type;return this.pools.hasOwnProperty(e)||(this.pools[e]=new I),this.pools[e].push(t),t.onFree(),this}freeMultiple(t){if(!this.pools)return this;for(var e=0,i=t.length;e0},N=function(t,e){return t._depth-e._depth};const $=Phaser.GameObjects.Components;Phaser.Class.mixin(H,[$.Alpha,$.BlendMode,$.ComputedSize,$.Depth,$.GetBounds,$.Mask,$.Origin,$.Pipeline,$.PostPipeline,$.ScrollFactor,$.Transform,$.Visible,M,B]);const K="image";var J=function(t,e,i){if(!t||"number"==typeof t)return i;if("string"==typeof e){if(t.hasOwnProperty(e))return t[e];if(-1===e.indexOf("."))return i;e=e.split(".")}for(var s=e,r=t,n=i,a=0;a0&&!ot(t)&&(t=this.parent.texture.get(t)),this.frame=t,this._width=t?t.width:0,this._height=t?t.height:0,this}setFlipX(t){return void 0===t&&(t=!0),this.flipX=t,this}setFlipY(t){return void 0===t&&(t=!0),this.flipY=t,this}resetFlip(){return this.flipX=!1,this.flipY=!1,this}get tint(){return void 0===this._tint?this.parent.tint:this._tint}set tint(t){this._tint=t}setTint(t){return this.tint=t,this.tintFill=!1,this}setTintFill(t){return this.tint=t,this.tintFill=!0,this}clearTint(){return this.setTint(16777215),this}resetTint(){return this.tint=void 0,this.tintFill=void 0,this}get tintFill(){return void 0===this._tintFill?this.parent.tintFill:this._tintFill}set tintFill(t){this._tintFill=t}reset(){return super.reset(),this.resetFlip().resetTint().setFrame(),this}modifyPorperties(t){return t?(t.hasOwnProperty("width")&&(t.displayWidth=t.width,delete t.width),t.hasOwnProperty("height")&&(t.displayHeight=t.height,delete t.height),t.hasOwnProperty("frame")&&this.setFrame(t.frame),super.modifyPorperties(t),t.hasOwnProperty("flipX")&&this.setFlipX(t.flipX),t.hasOwnProperty("flipY")&&this.setFlipY(t.flipY),t.hasOwnProperty("tint")&&this.setTint(t.tint),t.hasOwnProperty("tintFill")&&this.setTintFill(t.tintFill),this):this}};var lt={webglRender:function(t,e,i,s,r,n,a,o){var h=this._width,l=this._height,d=h*this.originX,c=l*this.originY,u=this.x-s,p=this.y-r,g=1,v=1;this.flipX&&(u+=h-2*d,g=-1),this.flipY&&(p+=l-2*c,v=-1),at.applyITRS(u,p,this.rotation,this.scaleX*g,this.scaleY*v),e.multiply(at,at);var f=-d,m=-c,y=f+h,b=m+l,x=at.setQuad(f,m,y,b,o),C=this.frame.u0,k=this.frame.v0,w=this.frame.u1,S=this.frame.v1,P=nt(this.tint,this.alpha*i);t.batchQuad(this.parent,x[0],x[1],x[2],x[3],x[4],x[5],x[6],x[7],C,k,w,S,P,P,P,P,this.tintFill,n,a)},canvasRender:function(t,e,i,s){t.save();var r=this._width,n=this._height,a=r*this.originX,o=n*this.originY,h=this.x-a,l=this.y-o,d=1,c=1;this.flipX&&(h+=r,d=-1),this.flipY&&(l+=n,c=-1),s&&(h=Math.round(h),l=Math.round(l)),t.translate(h,l),t.rotate(this.rotation),t.scale(this.scaleX*d,this.scaleY*c);var u=this.frame;t.drawImage(u.source.image,u.cutX,u.cutY,r,n,0,0,r,n),t.restore()}};Object.assign(ht.prototype,lt);var dt=function(t,e){"string"==typeof e&&(e={frame:e});var i=t.poolManager?t.poolManager.allocate(K):null;return null===i?i=new ht(t):i.setParent(t).setActive(),i.modifyPorperties(e),t.addChild(i),i},ct={_drawImage:function(t,e,i,s,r,n){dt(this,{frame:e,x:i,y:s,width:r,height:n})},_drawTileSprite:function(t,e,i,s,r,n){var a=this.texture.get(e),o=a.width,h=a.height,l=Math.floor(r/o),d=Math.floor(n/h);i+=(r-l*o)/2,s+=(n-d*h)/2;for(var c=0;c>>16,o=(65280&r)>>>8,h=255&r;t.fillStyle="rgba("+a+","+o+","+h+","+n+")"},bt=function(t,e,i,s){var r=i||e.strokeColor,n=s||e.strokeAlpha,a=(16711680&r)>>>16,o=(65280&r)>>>8,h=255&r;t.strokeStyle="rgba("+a+","+o+","+h+","+n+")",t.lineWidth=e.lineWidth};const xt=Phaser.Renderer.Canvas.SetTransform;var Ct={renderWebGL:function(t,e,i,s){e.dirty&&(e.updateData(),e.dirty=!1),i.addToRenderList(e);var r=t.pipelines.set(e.pipeline),n=mt(e,i,s),a=r.calcMatrix.copyFrom(n.calc),o=e._displayOriginX,h=e._displayOriginY,l=i.alpha*e.alpha;t.pipelines.preBatch(e),e.isFilled&>(r,a,e,l,o,h),e.isStroked&&ft(r,e,l,o,h),t.pipelines.postBatch(e)},renderCanvas:function(t,e,i,s){e.dirty&&(e.updateData(),e.dirty=!1),i.addToRenderList(e);var r=t.currentContext;if(xt(t,r,e,i,s)){var n=e._displayOriginX,a=e._displayOriginY,o=e.pathData,h=o.length-1,l=o[0]-n,d=o[1]-a;r.beginPath(),r.moveTo(l,d),e.closePath||(h-=2);for(var c=2;c0}get fillAlpha(){return this._fillAlpha}set fillAlpha(t){this._fillAlpha=t,this.isFilled=t>0&&null!=this._fillColor}setFillStyle(t,e){return void 0===e&&(e=1),this.fillColor=t,this.fillAlpha=e,this}get strokeColor(){return this._strokeColor}set strokeColor(t){this._strokeColor=t,this.isStroked=null!=t&&this._strokeAlpha>0&&this._lineWidth>0}get strokeAlpha(){return this._strokeAlpha}set strokeAlpha(t){this._strokeAlpha=t,this.isStroked=t>0&&null!=this._strokeColor&&this._lineWidth>0}get lineWidth(){return this._lineWidth}set lineWidth(t){this._lineWidth=t,this.isStroked=t>0&&null!=this._strokeColor}setStrokeStyle(t,e,i){return void 0===i&&(i=1),this.lineWidth=t,this.strokeColor=e,this.strokeAlpha=i,this}updateData(){return this}get width(){return this.geom.width}set width(t){this.resize(t,this.height)}get height(){return this.geom.height}set height(t){this.resize(this.width,t)}setSize(t,e){var i=this.input;return i&&!i.customHitArea&&(i.hitArea.width=t,i.hitArea.height=e),this}resize(t,e){return this.setSize(t,e),this}}Object.assign(wt.prototype,Ct);const St=Phaser.Utils.Objects.GetValue;let Pt=class{constructor(t,e,i,s,r){void 0===t&&(t=0),void 0===e&&(e=t),void 0===i&&(i=0),void 0===s&&(s=0),void 0===r&&(r=0),this.cornerRadius={},this._width=0,this._height=0,this.setTo(t,e,i,s,r)}setTo(t,e,i,s,r){return this.setPosition(t,e),this.setRadius(r),this.setSize(i,s),this}setPosition(t,e){return this.x=t,this.y=e,this}setRadius(t){return void 0===t&&(t=0),this.radius=t,this}setSize(t,e){return this.width=t,this.height=e,this}get minWidth(){var t=this.cornerRadius;return Math.max(t.tl.x+t.tr.x,t.bl.x+t.br.x)}get minHeight(){var t=this.cornerRadius;return Math.max(t.tl.y+t.bl.y,t.tr.y+t.br.y)}get width(){return this._width}set width(t){null==t&&(t=0),this._width=Math.max(t,this.minWidth)}get height(){return this._height}set height(t){null==t&&(t=0),this._height=Math.max(t,this.minHeight)}get radius(){var t=this.cornerRadius;return Math.max(t.tl.x,t.tl.y,t.tr.x,t.tr.y,t.bl.x,t.bl.y,t.br.x,t.br.y)}set radius(t){var e,i;"number"==typeof t?(e=t,i=t):(e=St(t,"x",0),i=St(t,"y",0));var s=this.cornerRadius;s.tl=Tt(St(t,"tl",void 0),e,i),s.tr=Tt(St(t,"tr",void 0),e,i),s.bl=Tt(St(t,"bl",void 0),e,i),s.br=Tt(St(t,"br",void 0),e,i)}get radiusTL(){var t=this.cornerRadius.tl;return Math.max(t.x,t.y)}set radiusTL(t){Ot(this.cornerRadius.tl,t)}get radiusTR(){var t=this.cornerRadius.tr;return Math.max(t.x,t.y)}set radiusTR(t){Ot(this.cornerRadius.tr,t)}get radiusBL(){var t=this.cornerRadius.bl;return Math.max(t.x,t.y)}set radiusBL(t){Ot(this.cornerRadius.bl,t)}get radiusBR(){var t=this.cornerRadius.br;return Math.max(t.x,t.y)}set radiusBR(t){Ot(this.cornerRadius.br,t)}};var Tt=function(t,e,i){return void 0===t?t={x:e,y:i}:"number"==typeof t&&(t={x:t,y:t}),Mt(t),t},Ot=function(t,e){"number"==typeof e?(t.x=e,t.y=e):(t.x=St(e,"x",0),t.y=St(e,"y",0)),Mt(t)},Mt=function(t){t.convex=t.x>=0||t.y>=0,t.x=Math.abs(t.x),t.y=Math.abs(t.y)},Et=function(t){return t.x>0&&t.y>0},_t=function(t,e,i){var s=i.length;if(s>=2){var r=i[s-2],n=i[s-1];if(t===r&&e===n)return i}return i.push(t,e),i};const Rt=Phaser.Math.DegToRad;var Lt=function(t,e,i,s,r,n,a,o,h){a&&n>r?n-=360:!a&&n=p?1:s/p,f=r>=g?1:r/g,m=u.cornerRadius;t.save(),t.beginPath(),t.translate(e,i),o=m.tl,te(o)?(h=o.x*v,l=o.y*f,Qt(o)?ee(t,h,l,h,l,180,270,!1,a):ee(t,0,0,h,l,90,0,!0,a),d=0,c=l):(t.lineTo(0,0),d=0,c=0),o=m.tr,te(o)?(h=o.x*v,l=o.y*f,Qt(o)?ee(t,s-h,l,h,l,270,360,!1,a):ee(t,s,0,h,l,180,90,!0,a)):t.lineTo(s,0),o=m.br,te(o)?(h=o.x*v,l=o.y*f,Qt(o)?ee(t,s-h,r-l,h,l,0,90,!1,a):ee(t,s,r,h,l,270,180,!0,a)):t.lineTo(s,r),o=m.bl,te(o)?(h=o.x*v,l=o.y*f,Qt(o)?ee(t,h,r-l,h,l,90,180,!1,a):ee(t,0,r,h,l,360,270,!0,a)):t.lineTo(0,r),t.lineTo(d,c),t.closePath(),t.restore()},Qt=function(t){return!t.hasOwnProperty("convex")||t.convex},te=function(t){return t.x>0&&t.y>0},ee=function(t,e,i,s,r,n,a,o,h){if(o&&a>n?a-=360:!o&&a0&&(e.strokeStyle=h,e.lineWidth=l,e.stroke())}(t.canvas,t.context,d,d,h,l,r,e,i,s,n,a,o)}},se=function(){ie(this,this.fillStyle,this.strokeStyle,this.lineWidth,this.radius,this.fillColor2,this.isHorizontalGradient,this.iteration)};const re=Phaser.Utils.Objects.GetValue;let ne=class extends Nt{constructor(t,e,i,s,r,n,a,o,h,l,d,c){void 0===e&&(e=0),void 0===i&&(i=0),void 0===s&&(s=1),void 0===r&&(r=s),void 0===n&&(n=0),void 0===c&&(c=1),super(t,e,i,s,r,c),this.type="rexRoundRectangleCanvas";var u=re(n,"radius",n),p=re(n,"iteration",void 0);this.setRadius(u),this.setIteration(p),this.setFillStyle(a,l,d),this.setStrokeStyle(o,h)}get radius(){return this._radius}set radius(t){this.dirty|=this._radius!=t,this._radius=t}setRadius(t){return this.radius=t,this}get iteration(){return this._iteration}set iteration(t){this.dirty|=this._iteration!=t,this._iteration=t}setIteration(t){return this.iteration=t,this}get fillStyle(){return this._fillStyle}set fillStyle(t){t=Jt(t,this.canvas,this.context),this.dirty|=this._fillStyle!=t,this._fillStyle=t}get fillColor2(){return this._fillColor2}set fillColor2(t){t=Jt(t,this.canvas,this.context),this.dirty|=this._fillColor2!=t,this._fillColor2=t}get isHorizontalGradient(){return this._isHorizontalGradient}set isHorizontalGradient(t){this.dirty|=this._isHorizontalGradient!=t,this._isHorizontalGradient=t}setFillStyle(t,e,i){return void 0===i&&(i=!0),this.fillStyle=t,this.fillColor2=e,this.isHorizontalGradient=i,this}get strokeStyle(){return this._strokeStyle}set strokeStyle(t){t=Jt(t,this.canvas,this.context),this.dirty|=this._strokeStyle!=t,this._strokeStyle=t}get lineWidth(){return this._lineWidth}set lineWidth(t){this.dirty|=this._lineWidth!=t,this._lineWidth=t}setStrokeStyle(t,e){return this.strokeStyle=t,this.lineWidth=e,this}updateTexture(){return super.updateTexture((function(){this.clear(),se.call(this)}),this),this}};t.register("roundRectangleCanvas",(function(t,e,i,s,r,n,a,o,h,l){var d=new ne(this.scene,t,e,i,s,r,n,a,o,h,l);return this.scene.add.existing(d),d})),P(window,"RexPlugins.UI.RoundRectangleCanvas",ne);var ae=function(t,e){if(!t)return!1;if(t.hasOwnProperty(e))return!0;for(;t;){if(Object.getOwnPropertyDescriptor(t,e))return!0;t=t.__proto__}return!1},oe=function(t,e,i){e&&!ae(t,`${e}X`)&&(Object.defineProperty(t,`${e}X`,{get:function(){return i.x},set:function(e){i.x=e,t.dirty=!0}}),Object.defineProperty(t,`${e}Y`,{get:function(){return i.y},set:function(e){i.y=e,t.dirty=!0}}),Object.defineProperty(t,`${e}T`,{get:function(){return i.t},set:function(e){i.t=e,t.dirty=!0}}))},he={setTLPosition(t,e){return this.geom.setTLPosition(t,e),this.dirty=!0,this},setTRPosition(t,e){return this.geom.setTRPosition(t,e),this.dirty=!0,this},setBLPosition(t,e){return this.geom.setBLPosition(t,e),this.dirty=!0,this},setBRPosition(t,e){return this.geom.setBRPosition(t,e),this.dirty=!0,this},resetCornerPosition(){return this.geom.resetCornerPosition(),this.dirty=!0,this},insertTopSidePoint(t,e,i,s){var r=this.geom.topSidePoints;if(Array.isArray(t))for(var n,a=0,o=(r=t).length;a=0;f--)y=g[f],b=pe(d,h,y.t)+y.x,x=pe(c,l,y.t)+y.y,_t(b,x,e);for(_t(d,c,e),fe(v),f=v.length-1;f>=0;f--)y=v[f],b=pe(r,d,y.t)+y.x,x=pe(n,c,y.t)+y.y,_t(b,x,e);return e.push(e[0],e[1]),this.pathIndexes=ge(e),this}get tlx(){return this.geom.tlx}set tlx(t){this.geom.tlx=t,this.dirty=!0}get tly(){return this.geom.tly}set tly(t){this.geom.tly=t,this.dirty=!0}get trx(){return this.geom.trx}set trx(t){this.geom.trx=t,this.dirty=!0}get try(){return this.geom.try}set try(t){this.geom.try=t,this.dirty=!0}get blx(){return this.geom.blx}set blx(t){this.geom.blx=t,this.dirty=!0}get bly(){return this.geom.bly}set bly(t){this.geom.bly=t,this.dirty=!0}get brx(){return this.geom.brx}set brx(t){this.geom.brx=t,this.dirty=!0}get bry(){return this.geom.bry}set bry(t){this.geom.bry=t,this.dirty=!0}get leftSidePoints(){return this.geom.leftSidePoints}get topSidePoints(){return this.geom.topSidePoints}get bottomSidePoints(){return this.geom.bottomSidePoints}get rightSidePoints(){return this.geom.rightSidePoints}}var fe=function(t){t.length<=1||t.sort((function(t,e){return t.t-e.t}))};Object.assign(ve.prototype,he),t.register("QuadShape",(function(t,e,i,s,r,n){var a=new ve(this.scene,t,e,i,s,r,n);return this.scene.add.existing(a),a})),P(window,"RexPlugins.UI.QuadShape",ve);var me=Phaser.Renderer.WebGL.Utils,ye={renderWebGL:function(t,e,i,s){if(0!==e.width&&0!==e.height){i.addToRenderList(e);var r=e.frame,n=r.width,a=r.height,o=me.getTintAppendFloatAlpha,h=t.pipelines.set(e.pipeline,e),l=h.setTexture2D(r.glTexture,e);t.pipelines.preBatch(e),h.batchTexture(e,r.glTexture,n,a,e.x,e.y,n/e.style.resolution,a/e.style.resolution,e.scaleX,e.scaleY,e.rotation,e.flipX,e.flipY,e.scrollFactorX,e.scrollFactorY,e.displayOriginX,e.displayOriginY,0,0,n,a,o(e.tintTopLeft,i.alpha*e._alphaTL),o(e.tintTopRight,i.alpha*e._alphaTR),o(e.tintBottomLeft,i.alpha*e._alphaBL),o(e.tintBottomRight,i.alpha*e._alphaBR),e.tintFill,0,0,i,s,!1,l),t.pipelines.postBatch(e)}},renderCanvas:function(t,e,i,s){0!==e.width&&0!==e.height&&(i.addToRenderList(e),t.batchSprite(e,e.frame,i,s))}};const be=Phaser.Display.Canvas.CanvasPool;F();const xe=Phaser.GameObjects.GameObject;class Ce extends xe{setStyle(t){return this.style.setStyle(t)}setFont(t){return this.style.setFont(t)}setFontFamily(t){return this.style.setFontFamily(t)}setFontSize(t){return this.style.setFontSize(t)}setFontStyle(t){return this.style.setFontStyle(t)}setTestString(t){return this.style.setTestString(t)}setFixedSize(t,e){return this.style.setFixedSize(t,e)}setBackgroundColor(t,e,i){return this.style.setBackgroundColor(t,e,i)}setBackgroundStrokeColor(t,e){return this.style.setBackgroundStrokeColor(t,e)}setBackgroundCornerRadius(t,e){return this.style.setBackgroundCornerRadius(t,e)}setFill(t){return this.style.setFill(t)}setColor(t){return this.style.setColor(t)}setStroke(t,e){return this.style.setStroke(t,e)}setShadow(t,e,i,s,r,n){return this.style.setShadow(t,e,i,s,r,n)}setShadowOffset(t,e){return this.style.setShadowOffset(t,e)}setShadowColor(t){return this.style.setShadowColor(t)}setShadowBlur(t){return this.style.setShadowBlur(t)}setShadowStroke(t){return this.style.setShadowStroke(t)}setShadowFill(t){return this.style.setShadowFill(t)}setUnderline(t,e,i){return this.style.setUnderline(t,e,i)}setUnderlineColor(t){return this.style.setUnderlineColor(t)}setUnderlineThickness(t){return this.style.setUnderlineThickness(t)}setUnderlineOffset(t){return this.style.setUnderlineOffset(t)}setStrikethrough(t,e,i){return this.style.setStrikethrough(t,e,i)}setStrikethroughColor(t){return this.style.setStrikethroughColor(t)}setStrikethroughThickness(t){return this.style.setStrikethroughThickness(t)}setStrikethroughOffset(t){return this.style.setStrikethroughOffset(t)}setWrapMode(t){return this.style.setWrapMode(t)}setWrapWidth(t){return this.style.setWrapWidth(t)}setWordWrapWidth(t){return this.style.setWrapWidth(t)}setAlign(t){return this.style.setHAlign(t)}setHAlign(t){return this.style.setHAlign(t)}setVAlign(t){return this.style.setVAlign(t)}get lineSpacing(){return this.style.lineSpacing}set lineSpacing(t){this.style.lineSpacing=t}setLineSpacing(t){return this.style.lineSpacing=t,this.updateText(!0),this}setXOffset(t){return this.style.setXOffset(t)}setMaxLines(t){return this.style.setMaxLines(t)}setResolution(t){return this.style.setResolution(t)}getTextMetrics(){return this.style.getTextMetrics()}setTextMetrics(t,e){return this.style.setTextMetrics(t,e)}measureTextMargins(t,e){return function(t,e,i){void 0===i&&(i={});var s=be.create(this),r=s.getContext("2d",{willReadFrequently:!0});t.syncFont(s,r);var n=r.measureText(e),a=Math.ceil(n.width*t.baselineX),o=a,h=2*o;if(o=o*t.baselineY|0,s.width=a,s.height=h,r.fillStyle="#f00",r.fillRect(0,0,a,h),r.font=t._font,r.textBaseline="alphabetic",r.fillStyle="#000",r.fillText(t.testString,0,o),i.left=0,0===a||0===h||!r.getImageData(0,0,a,h))return be.remove(s),i;for(var l=r.getImageData(0,0,a,h).data,d=!1,c=0;ci(t)));if(t instanceof Date)return new Date(t);if(t instanceof RegExp)return new RegExp(t);if(Object.getPrototypeOf(t)!==Object.prototype)return t;const e={};for(let s in t)t.hasOwnProperty(s)&&(e[s]=i(t[s]));return e}const s=Phaser.Utils.Objects.IsPlainObject,r=Phaser.Utils.Objects.GetValue;var n=function(t){return"string"==typeof t&&(t=a[t]),t};const a={scale:0,repeat:1};var o=function(t,e){return 0===t||t===this.columns.count-1||0===e||e===this.rows.count-1},h=function(){},l={_beginDraw:h,_drawImage:h,_drawTileSprite:h,_endDraw:h,setGetFrameNameCallback:function(t){return void 0===t&&(t=e),this.getFrameNameCallback=t,this},setBaseTexture:function(t,e,s,r){Array.isArray(e)&&(r=s,s=e,e=void 0),null==e&&(e="__BASE"),"number"==typeof s&&arguments.length>=6?(s=[arguments[2],void 0,arguments[3]],r=[arguments[4],void 0,arguments[5]]):void 0===s&&void 0===r&&void 0!==this.columns.data&&void 0!==this.rows.data?(s=this.columns.data,r=this.rows.data):(s=i(s),r=i(r)),this.textureKey=t,this.baseFrameName=e,this.columns.data=s,this.columns.count=s?s.length:0,this.columns.stretch=0,this.columns.minWidth=0,this.columns.scale=1,this.rows.data=r,this.rows.count=r?r.length:0,this.rows.stretch=0,this.rows.minHeight=0,this.rows.scale=1;var n=this.scene.sys.textures.get(t);if(!n)return this.clear(),this;if(!s||!r)return this.clear(),this;for(var a=n.get(e),o=a.width,h=0,l=0,d=s.length;l0?o/h:0,u=a.height,p=0;for(l=0,d=r.length;l0?0:f,x=0,l=0;for(var S=s.length;l0?0:m),m>=1&&f>=1){var P=typeof(y=this.getFrameNameCallback(l,k,e));"string"!==P&&"number"!==P||n.add(y,0,x+a.cutX,C+a.cutY,m,f)}x+=m}C+=f}return this.updateTexture(),this},updateTexture:function(){if(this.clear(),void 0===this.textureKey)return this;var t=this.scene.sys.textures.get(this.textureKey);if(!t)return this;var e,i,s,r,n,a,o,h=this.columns.minWidth*this.maxFixedPartScaleX,l=this.rows.minHeight*this.maxFixedPartScaleY,d=this.width-h,c=this.height-l,u=d>=0?this.maxFixedPartScaleX:this.width/h,p=c>=0?this.maxFixedPartScaleY:this.height/l;if(this.preserveRatio){var g=Math.min(u,p);if(u>g){var v=(u-g)*h;d>=0?d+=v:d=v,u=g}if(p>g){var f=(p-g)*l;c>=0?c+=f:c=f,p=g}}this.columns.scale=u,this.rows.scale=p,e=d>0&&this.columns.stretch>0?d/this.columns.stretch:0,i=c>0&&this.rows.stretch>0?c/this.rows.stretch:0;var m=0,y=0;this._beginDraw();for(var b=0,x=this.rows.count;b0&&o>0&&(0==(0===n.stretch&&0===r.stretch||0===this.getStretchMode(C,b)?0:1)?this._drawImage(this.textureKey,s,m,y,a,o):this._drawTileSprite(this.textureKey,s,m,y,a,o)),m+=a;y+=o}this._endDraw()},setStretchMode:function(t){return s(t)?(this.stretchMode.edge=n(r(t,"edge",0)),this.stretchMode.internal=n(r(t,"internal",0))):(t=n(t),this.stretchMode.edge=t,this.stretchMode.internal=t),this},getStretchMode:function(t,e){return o.call(this,t,e)?this.stretchMode.edge:this.stretchMode.internal},setPreserveRatio:function(t){return null==t&&(t=!0),this.preserveRatio=t,this},setMaxFixedPartScale:function(t,e){return void 0===e&&(e=t),this.maxFixedPartScaleX=t,this.maxFixedPartScaleY=e,this}};const d=Phaser.Utils.Objects.IsPlainObject,c=Phaser.Utils.Objects.GetValue;var u=function(t,e){class i extends t{constructor(t,i,s,r,n,a,o,h,l,u){if(d(i)?(i=c(u=i,"x",0),s=c(u,"y",0),r=c(u,"width",1),n=c(u,"height",1),a=c(u,"key",void 0),o=c(u,"baseFrame",void 0),h=c(u,"columns",void 0),l=c(u,"rows",void 0)):d(r)?(r=c(u=r,"width",1),n=c(u,"height",1),a=c(u,"key",void 0),o=c(u,"baseFrame",void 0),h=c(u,"columns",void 0),l=c(u,"rows",void 0)):d(a)?(a=c(u=a,"key",void 0),o=c(u,"baseFrame",void 0),h=c(u,"columns",void 0),l=c(u,"rows",void 0)):d(o)?(o=c(u=o,"baseFrame",void 0),h=c(u,"columns",void 0),l=c(u,"rows",void 0)):Array.isArray(o)?(u=l,l=h,h=o,o=c(u,"baseFrame",void 0)):d(h)&&(h=c(u=h,"columns",void 0),l=c(u,"rows",void 0)),void 0===o&&(o=c(u,"frame",void 0)),void 0===h){var p=c(u,"leftWidth",void 0),g=c(u,"rightWidth",void 0);void 0!==p&&void 0!==g&&(h=[p,void 0,g])}if(void 0===l){var v=c(u,"topHeight",void 0),f=c(u,"bottomHeight",void 0);void 0!==v&&void 0!==f&&(l=[v,void 0,f])}super(t),this.type=e,this.setPosition(i,s).setSize(r,n).setOrigin(.5,.5),this.columns={},this.rows={},this.stretchMode={},this._tileSprite=void 0,this._image=void 0,this.setGetFrameNameCallback(c(u,"getFrameNameCallback",void 0)),this.setStretchMode(c(u,"stretchMode",0)),this.setPreserveRatio(c(u,"preserveRatio",!0));var m=c(u,"maxFixedPartScale",1),y=c(u,"maxFixedPartScaleX",m),b=c(u,"maxFixedPartScaleY",void 0);this.setMaxFixedPartScale(y,b),this.setBaseTexture(a,o,h,l)}get minWidth(){return this.columns.minWidth}get minHeight(){return this.rows.minHeight}get fixedPartScaleX(){return this.columns.scale}get fixedPartScaleY(){return this.rows.scale}resize(t,e){return this.width===t&&this.height===e||(super.resize?super.resize(t,e):super.setSize(t,e),this.updateTexture()),this}get leftWidth(){return this.columns.data[0]}get rightWidth(){return this.columns.data[this.columns.count-1]}get topHeight(){return this.rows.data[0]}get bottomHeight(){return this.rows.data[this.rows.count-1]}}return Object.assign(i.prototype,l),i};const p=Phaser.Game;var g=function(t){return t instanceof p};const v=Phaser.Scene;var f=function(t){return t instanceof v},m=function(t){return null==t||"object"!=typeof t?null:g(t)?t:g(t.game)?t.game:f(t)?t.sys.game:f(t.scene)?t.scene.sys.game:void 0};const y=Phaser.GameObjects;var b=void 0,x=function(t,e){if(b||(b={},m(t).events.once("destroy",(function(){for(var t in b)b[t].destroy();b=void 0}))),!b.hasOwnProperty(e)){var i=m(t).scene.systemScene;(t=new y[e](i)).setOrigin(0),b[e]=t}return b[e]};const C=Phaser.GameObjects.RenderTexture;let k=class extends(u(C,"rexNinePatch")){};var w={_drawImage:function(t,e,i,s,r,n){var a=x(this,"Image").setTexture(t,e).setDisplaySize(r,n);this.draw(a,i,s)},_drawTileSprite:function(t,e,i,s,r,n){var a=x(this,"TileSprite").setTexture(t,e).setSize(r,n);this.draw(a,i,s)}};Object.assign(k.prototype,w);var S=function(t){return null==t||""===t||0===t.length},P=function(t,e,i,s){if(void 0===s&&(s="."),"object"==typeof t){if(S(e)){if(null==i)return;"object"==typeof i&&(t=i)}else{"string"==typeof e&&(e=e.split(s));var r=e.pop(),n=function(t,e,i){var s=t;if(S(e));else{var r;"string"==typeof e&&(e=e.split("."));for(var n=0,a=e.length;n0?this.items.pop():null}push(t){return this.items.push(t),this}pushMultiple(t){return this.items.push.apply(this.items,t),t.length=0,this}clear(){return this.items.length=0,this}}const D=Phaser.Utils.Objects.GetValue;var A={};let j=class{constructor(t){this.pools=D(t,"pools",A)}destroy(){this.pools=void 0}free(t){if(!this.pools)return this;var e=t.type;return this.pools.hasOwnProperty(e)||(this.pools[e]=new I),this.pools[e].push(t),t.onFree(),this}freeMultiple(t){if(!this.pools)return this;for(var e=0,i=t.length;e0},N=function(t,e){return t._depth-e._depth};const $=Phaser.GameObjects.Components;Phaser.Class.mixin(H,[$.Alpha,$.BlendMode,$.ComputedSize,$.Depth,$.GetBounds,$.Mask,$.Origin,$.Pipeline,$.PostPipeline,$.ScrollFactor,$.Transform,$.Visible,M,B]);const K="image";var J=function(t,e,i){if(!t||"number"==typeof t)return i;if("string"==typeof e){if(t.hasOwnProperty(e))return t[e];if(-1===e.indexOf("."))return i;e=e.split(".")}for(var s=e,r=t,n=i,a=0;a0&&!ot(t)&&(t=this.parent.texture.get(t)),this.frame=t,t?(this._width=t.realWidth,this._height=t.realHeight):(this._width=0,this._height=0),this}setFlipX(t){return void 0===t&&(t=!0),this.flipX=t,this}setFlipY(t){return void 0===t&&(t=!0),this.flipY=t,this}resetFlip(){return this.flipX=!1,this.flipY=!1,this}get tint(){return void 0===this._tint?this.parent.tint:this._tint}set tint(t){this._tint=t}setTint(t){return this.tint=t,this.tintFill=!1,this}setTintFill(t){return this.tint=t,this.tintFill=!0,this}clearTint(){return this.setTint(16777215),this}resetTint(){return this.tint=void 0,this.tintFill=void 0,this}get tintFill(){return void 0===this._tintFill?this.parent.tintFill:this._tintFill}set tintFill(t){this._tintFill=t}setCrop(t,e,i,s){return void 0===t?(this.isCropped=!1,this):this.frame?0===t&&0===e&&i===this._width&&s===this._height?(this.isCropped=!1,this):(this.frame.setCropUVs(this._crop,t,e,i,s,this.flipX,this.flipY),this.isCropped=!0,this):this}reset(){return super.reset(),this.resetFlip().resetTint().setFrame().setCrop(),this}modifyPorperties(t){return t?(t.hasOwnProperty("width")&&(t.displayWidth=t.width,delete t.width),t.hasOwnProperty("height")&&(t.displayHeight=t.height,delete t.height),t.hasOwnProperty("frame")&&this.setFrame(t.frame),super.modifyPorperties(t),t.hasOwnProperty("flipX")&&this.setFlipX(t.flipX),t.hasOwnProperty("flipY")&&this.setFlipY(t.flipY),t.hasOwnProperty("tint")&&this.setTint(t.tint),t.hasOwnProperty("tintFill")&&this.setTintFill(t.tintFill),this):this}};var lt=function(t){return void 0===t&&(t={}),t.u0=0,t.v0=0,t.u1=0,t.v1=0,t.x=0,t.y=0,t.width=0,t.height=0,t.flipX=!1,t.flipY=!1,t.cx=0,t.cy=0,t.cw=0,t.ch=0,t},dt={webglRender:function(t,e,i,s,r,n,a,o){var h=this.frame;if(h){var l,d,c,u,p,g,v,f,m=this._width,y=this._height,b=m*this.originX,x=y*this.originY,C=this.x-s,k=this.y-r;if(this.isCropped){var w=this._crop;w.flipX===this.flipX&&w.flipY===this.flipY||h.updateCropUVs(w,this.flipX,this.flipY),l=w.u0,d=w.v0,c=w.u1,u=w.v1,v=w.width,f=w.height,p=w.x,g=w.y}else l=this.frame.u0,d=this.frame.v0,c=this.frame.u1,u=this.frame.v1,v=m,f=y,p=0,g=0;var S=1,P=1;this.flipX&&(C+=m-2*b,S=-1),this.flipY&&(k+=y-2*x,P=-1),at.applyITRS(C,k,this.rotation,this.scaleX*S,this.scaleY*P),e.multiply(at,at);var T=-b+p,O=-x+g,M=T+v,E=O+f,_=at.setQuad(T,O,M,E,o),R=nt(this.tint,this.alpha*i);t.batchQuad(this.parent,_[0],_[1],_[2],_[3],_[4],_[5],_[6],_[7],l,d,c,u,R,R,R,R,this.tintFill,n,a)}},canvasRender:function(t,e,i,s){t.save();var r=this._width,n=this._height,a=r*this.originX,o=n*this.originY,h=this.x-a,l=this.y-o,d=1,c=1;this.flipX&&(h+=r,d=-1),this.flipY&&(l+=n,c=-1),s&&(h=Math.round(h),l=Math.round(l)),t.translate(h,l),t.rotate(this.rotation),t.scale(this.scaleX*d,this.scaleY*c);var u=this.frame;t.drawImage(u.source.image,u.cutX,u.cutY,r,n,0,0,r,n),t.restore()}};Object.assign(ht.prototype,dt);var ct=function(t,e){"string"==typeof e&&(e={frame:e});var i=t.poolManager?t.poolManager.allocate(K):null;return null===i?i=new ht(t):i.setParent(t).setActive(),i.modifyPorperties(e),t.addChild(i),i},ut={_drawImage:function(t,e,i,s,r,n){ct(this,{frame:e,x:i,y:s,width:r,height:n})},_drawTileSprite:function(t,e,i,s,r,n){for(var a=this.texture.get(e),o=a.width,h=a.height,l=r%o,d=n%h,c=0!==l,u=0!==d,p=Math.ceil(r/o),g=Math.ceil(n/h),v=p-1,f=g-1,m=0;m>>16,o=(65280&r)>>>8,h=255&r;t.fillStyle="rgba("+a+","+o+","+h+","+n+")"},xt=function(t,e,i,s){var r=i||e.strokeColor,n=s||e.strokeAlpha,a=(16711680&r)>>>16,o=(65280&r)>>>8,h=255&r;t.strokeStyle="rgba("+a+","+o+","+h+","+n+")",t.lineWidth=e.lineWidth};const Ct=Phaser.Renderer.Canvas.SetTransform;var kt={renderWebGL:function(t,e,i,s){e.dirty&&(e.updateData(),e.dirty=!1),i.addToRenderList(e);var r=t.pipelines.set(e.pipeline),n=yt(e,i,s),a=r.calcMatrix.copyFrom(n.calc),o=e._displayOriginX,h=e._displayOriginY,l=i.alpha*e.alpha;t.pipelines.preBatch(e),e.isFilled&&vt(r,a,e,l,o,h),e.isStroked&&mt(r,e,l,o,h),t.pipelines.postBatch(e)},renderCanvas:function(t,e,i,s){e.dirty&&(e.updateData(),e.dirty=!1),i.addToRenderList(e);var r=t.currentContext;if(Ct(t,r,e,i,s)){var n=e._displayOriginX,a=e._displayOriginY,o=e.pathData,h=o.length-1,l=o[0]-n,d=o[1]-a;r.beginPath(),r.moveTo(l,d),e.closePath||(h-=2);for(var c=2;c0}get fillAlpha(){return this._fillAlpha}set fillAlpha(t){this._fillAlpha=t,this.isFilled=t>0&&null!=this._fillColor}setFillStyle(t,e){return void 0===e&&(e=1),this.fillColor=t,this.fillAlpha=e,this}get strokeColor(){return this._strokeColor}set strokeColor(t){this._strokeColor=t,this.isStroked=null!=t&&this._strokeAlpha>0&&this._lineWidth>0}get strokeAlpha(){return this._strokeAlpha}set strokeAlpha(t){this._strokeAlpha=t,this.isStroked=t>0&&null!=this._strokeColor&&this._lineWidth>0}get lineWidth(){return this._lineWidth}set lineWidth(t){this._lineWidth=t,this.isStroked=t>0&&null!=this._strokeColor}setStrokeStyle(t,e,i){return void 0===i&&(i=1),this.lineWidth=t,this.strokeColor=e,this.strokeAlpha=i,this}updateData(){return this}get width(){return this.geom.width}set width(t){this.resize(t,this.height)}get height(){return this.geom.height}set height(t){this.resize(this.width,t)}setSize(t,e){var i=this.input;return i&&!i.customHitArea&&(i.hitArea.width=t,i.hitArea.height=e),this}resize(t,e){return this.setSize(t,e),this}}Object.assign(St.prototype,kt);const Pt=Phaser.Utils.Objects.GetValue;let Tt=class{constructor(t,e,i,s,r){void 0===t&&(t=0),void 0===e&&(e=t),void 0===i&&(i=0),void 0===s&&(s=0),void 0===r&&(r=0),this.cornerRadius={},this._width=0,this._height=0,this.setTo(t,e,i,s,r)}setTo(t,e,i,s,r){return this.setPosition(t,e),this.setRadius(r),this.setSize(i,s),this}setPosition(t,e){return this.x=t,this.y=e,this}setRadius(t){return void 0===t&&(t=0),this.radius=t,this}setSize(t,e){return this.width=t,this.height=e,this}get minWidth(){var t=this.cornerRadius;return Math.max(t.tl.x+t.tr.x,t.bl.x+t.br.x)}get minHeight(){var t=this.cornerRadius;return Math.max(t.tl.y+t.bl.y,t.tr.y+t.br.y)}get width(){return this._width}set width(t){null==t&&(t=0),this._width=Math.max(t,this.minWidth)}get height(){return this._height}set height(t){null==t&&(t=0),this._height=Math.max(t,this.minHeight)}get radius(){var t=this.cornerRadius;return Math.max(t.tl.x,t.tl.y,t.tr.x,t.tr.y,t.bl.x,t.bl.y,t.br.x,t.br.y)}set radius(t){var e,i;"number"==typeof t?(e=t,i=t):(e=Pt(t,"x",0),i=Pt(t,"y",0));var s=this.cornerRadius;s.tl=Ot(Pt(t,"tl",void 0),e,i),s.tr=Ot(Pt(t,"tr",void 0),e,i),s.bl=Ot(Pt(t,"bl",void 0),e,i),s.br=Ot(Pt(t,"br",void 0),e,i)}get radiusTL(){var t=this.cornerRadius.tl;return Math.max(t.x,t.y)}set radiusTL(t){Mt(this.cornerRadius.tl,t)}get radiusTR(){var t=this.cornerRadius.tr;return Math.max(t.x,t.y)}set radiusTR(t){Mt(this.cornerRadius.tr,t)}get radiusBL(){var t=this.cornerRadius.bl;return Math.max(t.x,t.y)}set radiusBL(t){Mt(this.cornerRadius.bl,t)}get radiusBR(){var t=this.cornerRadius.br;return Math.max(t.x,t.y)}set radiusBR(t){Mt(this.cornerRadius.br,t)}};var Ot=function(t,e,i){return void 0===t?t={x:e,y:i}:"number"==typeof t&&(t={x:t,y:t}),Et(t),t},Mt=function(t,e){"number"==typeof e?(t.x=e,t.y=e):(t.x=Pt(e,"x",0),t.y=Pt(e,"y",0)),Et(t)},Et=function(t){t.convex=t.x>=0||t.y>=0,t.x=Math.abs(t.x),t.y=Math.abs(t.y)},_t=function(t){return t.x>0&&t.y>0},Rt=function(t,e,i){var s=i.length;if(s>=2){var r=i[s-2],n=i[s-1];if(t===r&&e===n)return i}return i.push(t,e),i};const Lt=Phaser.Math.DegToRad;var Bt=function(t,e,i,s,r,n,a,o,h){a&&n>r?n-=360:!a&&n=p?1:s/p,f=r>=g?1:r/g,m=u.cornerRadius;t.save(),t.beginPath(),t.translate(e,i),o=m.tl,ee(o)?(h=o.x*v,l=o.y*f,te(o)?ie(t,h,l,h,l,180,270,!1,a):ie(t,0,0,h,l,90,0,!0,a),d=0,c=l):(t.lineTo(0,0),d=0,c=0),o=m.tr,ee(o)?(h=o.x*v,l=o.y*f,te(o)?ie(t,s-h,l,h,l,270,360,!1,a):ie(t,s,0,h,l,180,90,!0,a)):t.lineTo(s,0),o=m.br,ee(o)?(h=o.x*v,l=o.y*f,te(o)?ie(t,s-h,r-l,h,l,0,90,!1,a):ie(t,s,r,h,l,270,180,!0,a)):t.lineTo(s,r),o=m.bl,ee(o)?(h=o.x*v,l=o.y*f,te(o)?ie(t,h,r-l,h,l,90,180,!1,a):ie(t,0,r,h,l,360,270,!0,a)):t.lineTo(0,r),t.lineTo(d,c),t.closePath(),t.restore()},te=function(t){return!t.hasOwnProperty("convex")||t.convex},ee=function(t){return t.x>0&&t.y>0},ie=function(t,e,i,s,r,n,a,o,h){if(o&&a>n?a-=360:!o&&a0&&(e.strokeStyle=h,e.lineWidth=l,e.stroke())}(t.canvas,t.context,d,d,h,l,r,e,i,s,n,a,o)}},re=function(){se(this,this.fillStyle,this.strokeStyle,this.lineWidth,this.radius,this.fillColor2,this.isHorizontalGradient,this.iteration)};const ne=Phaser.Utils.Objects.GetValue;let ae=class extends $t{constructor(t,e,i,s,r,n,a,o,h,l,d,c){void 0===e&&(e=0),void 0===i&&(i=0),void 0===s&&(s=1),void 0===r&&(r=s),void 0===n&&(n=0),void 0===c&&(c=1),super(t,e,i,s,r,c),this.type="rexRoundRectangleCanvas";var u=ne(n,"radius",n),p=ne(n,"iteration",void 0);this.setRadius(u),this.setIteration(p),this.setFillStyle(a,l,d),this.setStrokeStyle(o,h)}get radius(){return this._radius}set radius(t){this.dirty|=this._radius!=t,this._radius=t}setRadius(t){return this.radius=t,this}get iteration(){return this._iteration}set iteration(t){this.dirty|=this._iteration!=t,this._iteration=t}setIteration(t){return this.iteration=t,this}get fillStyle(){return this._fillStyle}set fillStyle(t){t=qt(t,this.canvas,this.context),this.dirty|=this._fillStyle!=t,this._fillStyle=t}get fillColor2(){return this._fillColor2}set fillColor2(t){t=qt(t,this.canvas,this.context),this.dirty|=this._fillColor2!=t,this._fillColor2=t}get isHorizontalGradient(){return this._isHorizontalGradient}set isHorizontalGradient(t){this.dirty|=this._isHorizontalGradient!=t,this._isHorizontalGradient=t}setFillStyle(t,e,i){return void 0===i&&(i=!0),this.fillStyle=t,this.fillColor2=e,this.isHorizontalGradient=i,this}get strokeStyle(){return this._strokeStyle}set strokeStyle(t){t=qt(t,this.canvas,this.context),this.dirty|=this._strokeStyle!=t,this._strokeStyle=t}get lineWidth(){return this._lineWidth}set lineWidth(t){this.dirty|=this._lineWidth!=t,this._lineWidth=t}setStrokeStyle(t,e){return this.strokeStyle=t,this.lineWidth=e,this}updateTexture(){return super.updateTexture((function(){this.clear(),re.call(this)}),this),this}};t.register("roundRectangleCanvas",(function(t,e,i,s,r,n,a,o,h,l){var d=new ae(this.scene,t,e,i,s,r,n,a,o,h,l);return this.scene.add.existing(d),d})),P(window,"RexPlugins.UI.RoundRectangleCanvas",ae);var oe=function(t,e){if(!t)return!1;if(t.hasOwnProperty(e))return!0;for(;t;){if(Object.getOwnPropertyDescriptor(t,e))return!0;t=t.__proto__}return!1},he=function(t,e,i){e&&!oe(t,`${e}X`)&&(Object.defineProperty(t,`${e}X`,{get:function(){return i.x},set:function(e){i.x=e,t.dirty=!0}}),Object.defineProperty(t,`${e}Y`,{get:function(){return i.y},set:function(e){i.y=e,t.dirty=!0}}),Object.defineProperty(t,`${e}T`,{get:function(){return i.t},set:function(e){i.t=e,t.dirty=!0}}))},le={setTLPosition(t,e){return this.geom.setTLPosition(t,e),this.dirty=!0,this},setTRPosition(t,e){return this.geom.setTRPosition(t,e),this.dirty=!0,this},setBLPosition(t,e){return this.geom.setBLPosition(t,e),this.dirty=!0,this},setBRPosition(t,e){return this.geom.setBRPosition(t,e),this.dirty=!0,this},resetCornerPosition(){return this.geom.resetCornerPosition(),this.dirty=!0,this},insertTopSidePoint(t,e,i,s){var r=this.geom.topSidePoints;if(Array.isArray(t))for(var n,a=0,o=(r=t).length;a=0;f--)y=g[f],b=ge(d,h,y.t)+y.x,x=ge(c,l,y.t)+y.y,Rt(b,x,e);for(Rt(d,c,e),me(v),f=v.length-1;f>=0;f--)y=v[f],b=ge(r,d,y.t)+y.x,x=ge(n,c,y.t)+y.y,Rt(b,x,e);return e.push(e[0],e[1]),this.pathIndexes=ve(e),this}get tlx(){return this.geom.tlx}set tlx(t){this.geom.tlx=t,this.dirty=!0}get tly(){return this.geom.tly}set tly(t){this.geom.tly=t,this.dirty=!0}get trx(){return this.geom.trx}set trx(t){this.geom.trx=t,this.dirty=!0}get try(){return this.geom.try}set try(t){this.geom.try=t,this.dirty=!0}get blx(){return this.geom.blx}set blx(t){this.geom.blx=t,this.dirty=!0}get bly(){return this.geom.bly}set bly(t){this.geom.bly=t,this.dirty=!0}get brx(){return this.geom.brx}set brx(t){this.geom.brx=t,this.dirty=!0}get bry(){return this.geom.bry}set bry(t){this.geom.bry=t,this.dirty=!0}get leftSidePoints(){return this.geom.leftSidePoints}get topSidePoints(){return this.geom.topSidePoints}get bottomSidePoints(){return this.geom.bottomSidePoints}get rightSidePoints(){return this.geom.rightSidePoints}}var me=function(t){t.length<=1||t.sort((function(t,e){return t.t-e.t}))};Object.assign(fe.prototype,le),t.register("QuadShape",(function(t,e,i,s,r,n){var a=new fe(this.scene,t,e,i,s,r,n);return this.scene.add.existing(a),a})),P(window,"RexPlugins.UI.QuadShape",fe);var ye=Phaser.Renderer.WebGL.Utils,be={renderWebGL:function(t,e,i,s){if(0!==e.width&&0!==e.height){i.addToRenderList(e);var r=e.frame,n=r.width,a=r.height,o=ye.getTintAppendFloatAlpha,h=t.pipelines.set(e.pipeline,e),l=h.setTexture2D(r.glTexture,e);t.pipelines.preBatch(e),h.batchTexture(e,r.glTexture,n,a,e.x,e.y,n/e.style.resolution,a/e.style.resolution,e.scaleX,e.scaleY,e.rotation,e.flipX,e.flipY,e.scrollFactorX,e.scrollFactorY,e.displayOriginX,e.displayOriginY,0,0,n,a,o(e.tintTopLeft,i.alpha*e._alphaTL),o(e.tintTopRight,i.alpha*e._alphaTR),o(e.tintBottomLeft,i.alpha*e._alphaBL),o(e.tintBottomRight,i.alpha*e._alphaBR),e.tintFill,0,0,i,s,!1,l),t.pipelines.postBatch(e)}},renderCanvas:function(t,e,i,s){0!==e.width&&0!==e.height&&(i.addToRenderList(e),t.batchSprite(e,e.frame,i,s))}};const xe=Phaser.Display.Canvas.CanvasPool;F();const Ce=Phaser.GameObjects.GameObject;class ke extends Ce{setStyle(t){return this.style.setStyle(t)}setFont(t){return this.style.setFont(t)}setFontFamily(t){return this.style.setFontFamily(t)}setFontSize(t){return this.style.setFontSize(t)}setFontStyle(t){return this.style.setFontStyle(t)}setTestString(t){return this.style.setTestString(t)}setFixedSize(t,e){return this.style.setFixedSize(t,e)}setBackgroundColor(t,e,i){return this.style.setBackgroundColor(t,e,i)}setBackgroundStrokeColor(t,e){return this.style.setBackgroundStrokeColor(t,e)}setBackgroundCornerRadius(t,e){return this.style.setBackgroundCornerRadius(t,e)}setFill(t){return this.style.setFill(t)}setColor(t){return this.style.setColor(t)}setStroke(t,e){return this.style.setStroke(t,e)}setShadow(t,e,i,s,r,n){return this.style.setShadow(t,e,i,s,r,n)}setShadowOffset(t,e){return this.style.setShadowOffset(t,e)}setShadowColor(t){return this.style.setShadowColor(t)}setShadowBlur(t){return this.style.setShadowBlur(t)}setShadowStroke(t){return this.style.setShadowStroke(t)}setShadowFill(t){return this.style.setShadowFill(t)}setUnderline(t,e,i){return this.style.setUnderline(t,e,i)}setUnderlineColor(t){return this.style.setUnderlineColor(t)}setUnderlineThickness(t){return this.style.setUnderlineThickness(t)}setUnderlineOffset(t){return this.style.setUnderlineOffset(t)}setStrikethrough(t,e,i){return this.style.setStrikethrough(t,e,i)}setStrikethroughColor(t){return this.style.setStrikethroughColor(t)}setStrikethroughThickness(t){return this.style.setStrikethroughThickness(t)}setStrikethroughOffset(t){return this.style.setStrikethroughOffset(t)}setWrapMode(t){return this.style.setWrapMode(t)}setWrapWidth(t){return this.style.setWrapWidth(t)}setWordWrapWidth(t){return this.style.setWrapWidth(t)}setAlign(t){return this.style.setHAlign(t)}setHAlign(t){return this.style.setHAlign(t)}setVAlign(t){return this.style.setVAlign(t)}get lineSpacing(){return this.style.lineSpacing}set lineSpacing(t){this.style.lineSpacing=t}setLineSpacing(t){return this.style.lineSpacing=t,this.updateText(!0),this}setXOffset(t){return this.style.setXOffset(t)}setMaxLines(t){return this.style.setMaxLines(t)}setResolution(t){return this.style.setResolution(t)}getTextMetrics(){return this.style.getTextMetrics()}setTextMetrics(t,e){return this.style.setTextMetrics(t,e)}measureTextMargins(t,e){return function(t,e,i){void 0===i&&(i={});var s=xe.create(this),r=s.getContext("2d",{willReadFrequently:!0});t.syncFont(s,r);var n=r.measureText(e),a=Math.ceil(n.width*t.baselineX),o=a,h=2*o;if(o=o*t.baselineY|0,s.width=a,s.height=h,r.fillStyle="#f00",r.fillRect(0,0,a,h),r.font=t._font,r.textBaseline="alphabetic",r.fillStyle="#000",r.fillText(t.testString,0,o),i.left=0,0===a||0===h||!r.getImageData(0,0,a,h))return xe.remove(s),i;for(var l=r.getImageData(0,0,a,h).data,d=!1,c=0;c * @copyright 2018 Photon Storm Ltd. * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} - */const Se=Phaser.Display.Canvas.CanvasPool;var Pe=function(t){var e=Se.create(this),i=e.getContext("2d",{willReadFrequently:!0});t.syncFont(e,i);var s=i.measureText(t.testString);if("actualBoundingBoxAscent"in s){var r=s.actualBoundingBoxAscent,n=s.actualBoundingBoxDescent,a={ascent:r,descent:n,fontSize:r+n};return Se.remove(e),a}var o=Math.ceil(s.width*t.baselineX),h=o,l=2*h;if(h=h*t.baselineY|0,e.width=o,e.height=l,i.fillStyle="#f00",i.fillRect(0,0,o,l),i.font=t._font,i.textBaseline="alphabetic",i.fillStyle="#000",i.fillText(t.testString,0,h),a={ascent:0,descent:0,fontSize:0},!i.getImageData(0,0,o,l))return a.ascent=h,a.descent=h+6,a.fontSize=a.ascent+a.descent,Se.remove(e),a;var d,c,u=i.getImageData(0,0,o,l).data,p=u.length,g=4*o,v=0,f=!1;for(d=0;dh;d--){for(c=0;c0&&this.wrapMode!==Ee&&0===this.wrapWidth}setStyle(t,e,i){if(void 0===e&&(e=!0),void 0===i&&(i=!1),t&&t.hasOwnProperty("wordWrap")){var s=t.wordWrap;s.hasOwnProperty("width")&&(t.wrap={mode:"word",width:s.width})}if(t&&t.hasOwnProperty("wrap")){var r=t.wrap;if(r.hasOwnProperty("mode")){var n=r.mode;"string"==typeof n&&(r.mode=Be[n])}else r.hasOwnProperty("width")&&(r.mode=1)}t&&t.rtl&&i&&!t.hasOwnProperty("halign")&&(t.halign="right"),t&&t.hasOwnProperty("fontSize")&&"number"==typeof t.fontSize&&(t.fontSize=t.fontSize.toString()+"px");var a=this.propertyMap;for(var o in a){var h=a[o],l=h[0],d=i?h[1]:this[o],c=h[2];if("wrapCallback"===o||"wrapCallbackScope"===o)this[o]=De(t,l,d);else{var u=Ie(t,l,d);c&&(u=c(u)),this[o]=u}}var p=De(t,"font",null);this._font=null===p?this.fontStyle+" "+this.fontSize+" "+this.fontFamily:p;var g=De(t,"fill",null);null!==g&&(this.color=Jt(g));var v=De(t,"metrics",!1);return v?this.metrics={ascent:De(v,"ascent",0),descent:De(v,"descent",0),fontSize:De(v,"fontSize",0)}:!e&&this.metrics||(this.metrics=Pe(this)),e?this.parent.updateText():this.parent}syncFont(t,e){e.font=this._font}syncStyle(t,e){e.textBaseline="alphabetic",e.fillStyle=this.color,e.strokeStyle=this.stroke,e.lineWidth=this.strokeThickness,e.lineCap="round",e.lineJoin="round"}syncShadow(t,e){e?(t.shadowOffsetX=this.shadowOffsetX,t.shadowOffsetY=this.shadowOffsetY,t.shadowColor=this.shadowColor,t.shadowBlur=this.shadowBlur):(t.shadowOffsetX=0,t.shadowOffsetY=0,t.shadowColor=0,t.shadowBlur=0)}update(t){return t&&(this._font=`${this.fontStyle} ${this.fontSize} ${this.fontFamily}`.trim(),this.metrics=Pe(this)),this.parent.updateText(t)}buildFont(){var t=`${this.fontStyle} ${this.fontSize} ${this.fontFamily}`.trim();return t!==this._font&&(this._font=t),this}setFont(t){return"string"==typeof t?(this.fontFamily=t,this.fontSize="",this.fontStyle=""):(this.fontFamily=De(t,"fontFamily","Courier"),this.fontSize=De(t,"fontSize","16px"),this.fontStyle=De(t,"fontStyle","")),this.update(!0)}setFontFamily(t){return this.fontFamily=t,this.update(!0)}setFontStyle(t){return this.fontStyle=t,this.update(!0)}setFontSize(t){return"number"==typeof t&&(t=t.toString()+"px"),this.fontSize=t,this.update(!0)}setTestString(t){return this.testString=t,this.update(!0)}setFixedSize(t,e){return this.fixedWidth=t,this.fixedHeight=e,t&&(this.parent.width=t),e&&(this.parent.height=e),this.update(this.isWrapFitMode)}setResolution(t){return this.resolution=t,this.update(!1)}setXOffset(t){return this.xOffset=t,this.update(!1)}setBackgroundColor(t,e,i){return void 0===i&&(i=!0),this.backgroundColor=Jt(t,this.parent.canvas,this.parent.context),this.backgroundColor2=Jt(e,this.parent.canvas,this.parent.context),this.backgroundHorizontalGradient=i,this.update(!1)}setBackgroundStrokeColor(t,e){return this.backgroundStrokeColor=Jt(t,this.parent.canvas,this.parent.context),this.backgroundStrokeLineWidth=e,this.update(!1)}setBackgroundCornerRadius(t,e){return this.backgroundCornerRadius=t,this.backgroundCornerIteration=e,this.update(!1)}setFill(t){return this.color=Jt(t,this.parent.canvas,this.parent.context),this.update(!1)}setColor(t){return this.color=Jt(t,this.parent.canvas,this.parent.context),this.update(!1)}setStroke(t,e){return void 0===t?this.strokeThickness=0:(void 0===e&&(e=this.strokeThickness),this.stroke=Jt(t,this.parent.canvas,this.parent.context),this.strokeThickness=e),this.update(!0)}setShadow(t,e,i,s,r,n){return void 0===t&&(t=0),void 0===e&&(e=0),void 0===i&&(i="#000"),void 0===s&&(s=0),void 0===r&&(r=!1),void 0===n&&(n=!0),this.shadowOffsetX=t,this.shadowOffsetY=e,this.shadowColor=Jt(i,this.parent.canvas,this.parent.context),this.shadowBlur=s,this.shadowStroke=r,this.shadowFill=n,this.update(!1)}setShadowOffset(t,e){return void 0===t&&(t=0),void 0===e&&(e=t),this.shadowOffsetX=t,this.shadowOffsetY=e,this.update(!1)}setShadowColor(t){return void 0===t&&(t="#000"),this.shadowColor=Jt(t,this.parent.canvas,this.parent.context),this.update(!1)}setShadowBlur(t){return void 0===t&&(t=0),this.shadowBlur=t,this.update(!1)}setShadowStroke(t){return this.shadowStroke=t,this.update(!1)}setShadowFill(t){return this.shadowFill=t,this.update(!1)}setUnderline(t,e,i){return void 0===t&&(t="#000"),void 0===e&&(e=0),void 0===i&&(i=0),this.underlineColor=Jt(t,this.parent.canvas,this.parent.context),this.underlineThickness=e,this.underlineOffset=i,this.update(!1)}setUnderlineColor(t){return void 0===t&&(t="#000"),this.underlineColor=Jt(t,this.parent.canvas,this.parent.context),this.update(!1)}setUnderlineThickness(t){return void 0===t&&(t=0),this.underlineThickness=t,this.update(!1)}setUnderlineOffset(t){return void 0===t&&(t=0),this.underlineOffset=t,this.update(!1)}setStrikethrough(t,e,i){return void 0===t&&(t="#000"),void 0===e&&(e=0),void 0===i&&(i=0),this.strikethroughColor=Jt(t,this.parent.canvas,this.parent.context),this.strikethroughThickness=e,this.strikethroughOffset=i,this.update(!1)}setStrikethroughColor(t){return void 0===t&&(t="#000"),this.strikethroughColor=Jt(t,this.parent.canvas,this.parent.context),this.update(!1)}setStrikethroughThickness(t){return void 0===t&&(t=0),this.strikethroughThickness=t,this.update(!1)}setStrikethroughOffset(t){return void 0===t&&(t=0),this.strikethroughOffset=t,this.update(!1)}setWrapMode(t){return"string"==typeof t&&(t=Be[t.toLowerCase()]||0),this.wrapMode=t,this.update(!0)}setWrapWidth(t){return this.wrapWidth=t,this.update(!1)}setAlign(t,e){return void 0===t&&(t="left"),void 0===e&&(e="top"),this.halign=t,this.valign=e,this.update(!1)}setHAlign(t){return void 0===t&&(t="left"),this.halign=t,this.update(!1)}setVAlign(t){return void 0===t&&(t="top"),this.valign=t,this.update(!1)}setMaxLines(t){return void 0===t&&(t=0),this.maxLines=t,this.update(!1)}getTextMetrics(){var t=this.metrics;return{ascent:t.ascent,descent:t.descent,fontSize:t.fontSize}}setTextMetrics(t,e){return this.metrics.ascent=t.ascent,this.metrics.descent=t.descent,this.metrics.fontSize=t.fontSize,e&&("string"==typeof e?(this.fontFamily=e,this.fontSize="",this.fontStyle=""):(this.fontFamily=De(e,"fontFamily",this.fontFamily),this.fontSize=De(e,"fontSize",this.fontSize),this.fontStyle=De(e,"fontStyle",this.fontStyle))),this.parent.updateText(!0)}get lineHeight(){return this.metrics.fontSize+this.parent.lineSpacing}toJSON(){var t={},e=this.propertyMap;for(var i in e)t[i]=this[i];return t.metrics=this.getTextMetrics(),t}destroy(){this.parent=void 0}};var je=function(t){return null==t?t="":Array.isArray(t)?t=t.join("\n"):"number"==typeof t&&(t=t.toString()),t},ze={draw(t,e,i,s){var r=this.penManager;this.hitAreaManager.clear();var n=this.context;n.save();var a=this.defaultStyle;this.clear(),ie(this,a.backgroundColor,a.backgroundStrokeColor,a.backgroundStrokeLineWidth,a.backgroundCornerRadius,a.backgroundColor2,a.backgroundHorizontalGradient,a.backgroundCornerIteration),t+=this.startXOffset,e+=this.startYOffset;var o,h,l,d,c,u,p=a.halign,g=a.valign,v=a.lineHeight,f=r.lines,m=f.length,y=a.maxLines;y>0&&m>y?(h=y,l="center"===g?Math.floor((m-h)/2):"bottom"===g?m-h:0):(h=m,l=0),d=l+h;var b=this.rtl,x=b?this.parent.width:void 0;u="center"===g?Math.max((s-h*v)/2,0):"bottom"===g?Math.max(s-h*v-2,0):0,u+=e;for(var C=l;C0){var o=this.defaultStyle.metrics,h=i-o.ascent,l=o.fontSize;this.drawRectangle(e,h,t.width,l,a.bgcolor,a)}if(a.underlineThickness>0&&t.width>0){var d=i+a.underlineOffset-a.underlineThickness/2;this.drawLine(e,d,t.width,a.underlineThickness,a.underlineColor,a)}if(t.isTextPen&&(a.buildFont(),a.syncFont(r,n),a.syncStyle(r,n),this.drawText(e,i,t.text,a)),t.isImagePen&&this.drawImage(e,i,t.prop.img,t.prop.color,a),a.strikethroughThickness>0&&t.width>0&&(d=i+a.strikethroughOffset-a.strikethroughThickness/2,this.drawLine(e,d,t.width,a.strikethroughThickness,a.strikethroughColor,a)),n.restore(),t.hasAreaMarker&&t.width>0){var c,u=t.prop.area;if(u)c={key:u};else{var p=t.prop.url;c={key:`url:${p}`,url:p}}this.hitAreaManager.add(e,i-this.startYOffset,t.width,this.defaultStyle.lineHeight,c)}},clear(){var t=this.canvas;this.context.clearRect(0,0,t.width,t.height)},drawRectangle(t,e,i,s,r,n){this.autoRound&&(t=Math.round(t),e=Math.round(e));var a=this.context;a.fillStyle=r,a.fillRect(t,e,i,s)},drawLine(t,e,i,s,r,n){this.autoRound&&(t=Math.round(t),e=Math.round(e));var a=this.context;n.syncShadow(a,n.shadowStroke);var o=a.lineCap;a.lineCap="butt",a.strokeStyle=r,a.lineWidth=s,a.beginPath(),a.moveTo(t,e),a.lineTo(t+i,e),a.stroke(),a.lineCap=o},drawText(t,e,i,s){this.autoRound&&(t=Math.round(t),e=Math.round(e));var r=this.context;s.stroke&&"none"!==s.stroke&&s.strokeThickness>0&&(s.syncShadow(r,s.shadowStroke),r.strokeText(i,t,e)),s.color&&"none"!==s.color&&(s.syncShadow(r,s.shadowFill),r.fillText(i,t,e))},drawImage(t,e,i,s,r){e-=this.startYOffset,this.parent.imageManager.draw(i,this.context,t,e,s,this.autoRound)}};const Fe=Phaser.Utils.Objects.GetValue,Xe=Te,Ye=Oe;class We{constructor(t){this.prop={},this.resetFromJSON(t)}resetFromJSON(t){this.text=Fe(t,"text",""),this.x=Fe(t,"x",0),this.y=Fe(t,"y",0),this.width=Fe(t,"width",0);var e=Fe(t,"prop",null);null===e&&(e={}),this.prop=e,this.newLineMode=Fe(t,"newLineMode",0),this.startIndex=Fe(t,"startIndex",0)}get plainText(){var t=this.text;return this.newLineMode===Ye&&(t+="\n"),t}get wrapText(){var t=this.text;return this.newLineMode!==Xe&&(t+="\n"),t}get rawTextLength(){var t=this.text.length;return this.newLineMode===Ye&&(t+=1),t}get endIndex(){return this.startIndex+this.rawTextLength}get lastX(){return this.x+this.width}get isTextPen(){return""!==this.text}get isImagePen(){return!!this.prop.img}get hasAreaMarker(){return!!this.prop.area||!!this.prop.url}}var Ve=function(t,e){var i=Array.isArray(t);if(void 0===e?e=i?[]:{}:q(e),i){e.length=t.length;for(var s=0,r=t.length;s=this.lines.length)return this.getLineEndIndex(t);var e=this.lines[t];return e&&e[0]?e[0].startIndex:0}getLineEndIndex(t){t>=this.lines.length&&(t=this.lines.length-1);var e,i,s=!1;for(e=t;e>=0&&!(s=null!=(i=this.lines[e])&&i.length>0);e--);return s?i[i.length-1].endIndex:0}getLineWidth(t){var e=this.lines[t];if(!e)return 0;var i=e[e.length-1];return null==i?0:i.lastX}getMaxLineWidth(){if(void 0!==this.maxLinesWidth)return this.maxLinesWidth;for(var t,e=0,i=0,s=this.lines.length;ie&&(e=t);return this.maxLinesWidth=e,e}getLineWidths(){for(var t=[],e=0,i=this.lines.length;e=t&&h<=e||(a=a.substring(t-o,e-o)),this.tagToTextScope?c+=this.tagToText.call(this.tagToTextScope,a,l,d):c+=this.tagToText(a,l,d),d=l,!(h>=e)));u++);return c}get length(){return this.lines.length}set length(t){this.clear()}}var $e={};const Ke=Phaser.Geom.Rectangle;var Je=new I;class qe{constructor(){this.hitAreas=[]}destroy(){this.clear()}clear(){for(var t=0,e=this.hitAreas.length;ts&&pi(v)){""!==b?a.push(n.getLine(b,x,ai)):0===C&&r>0&&a.push(n.getLine("",0,ai)),a.push(...ci(v,e,li,s,0,n));var w=a.pop();b=w.text,x=w.width,n.freeLine(w)," "===b&&(b="",x=0)}else(m=x+f)>h?(a.push(n.getLine(b,x,ai)),b=v,x=f,h=s):(b+=v,x=m),C===k-1&&a.push(n.getLine(b,x,l))}return a},ui=function(t,e){var i;switch(e){case hi:i=[];for(var s=0,r=(t=t.split(" ")).length;s0&&e!==vi&&i0&&t>e&&(t=e),t}get linesWidth(){return Math.ceil(this.penManager.getMaxLineWidth())}get linesHeight(){var t=this.displayLinesCount,e=this.defaultStyle.lineHeight*t;return t>0&&(e-=this.defaultStyle.lineSpacing),e}get imageManager(){return this.parent.imageManager}get rtl(){return this.parent.style.rtl}newPenManager(){return new Ne({pensPool:this.pensPool,linesPool:this.linesPool,tagToText:this.parser.propToTagText,tagToTextScope:this.parser})}get tmpPenManager(){return null===this._tmpPenManager&&(this._tmpPenManager=this.newPenManager()),this._tmpPenManager}getPlainText(t,e,i){var s;if(null==t)s=this.penManager.plainText;else{var r=this.parser.splitText(t,1);s="";for(var n=0,a=r.length;n${t}`:e.hasOwnProperty("_style")?`${t}`:t}destroy(){this.tags=void 0}isTextTag(t){var e=this.tags[t];return!!e&&null==e.img}};var gs=function(t){for(var e,i,s,r={},n=0,a=(t=t.split(";")).length;n=1&&(s.color=o[0]),h>=2&&(s.thickness=parseInt(o[1].replace("px","")));break;case"shadow":o=s.split(" "),s={},(h=o.length)>=1&&(s.color=o[0]),h>=2&&(s.offsetX=parseInt(o[1].replace("px",""))),h>=3&&(s.offsetY=parseInt(o[2].replace("px",""))),h>=4&&(s.blur=parseInt(o[3].replace("px","")));break;case"u":case"underline":case"s":case"strikethrough":var h;o=s.split(" "),s={},(h=o.length)>=1&&(s.color=o[0]),h>=2&&(s.thickness=parseInt(o[1].replace("px",""))),h>=3&&(s.offset=parseInt(o[2].replace("px",""))),"underline"===i?i="u":"strikethrough"===i&&(i="s");break;case"y":s=parseFloat(s)}r[i]=s}return r},vs=function(t){return 0===(t=t.replace(Cs,"")).length},fs=/<\s*class=["|']([^"|']+)["|']\s*\>([\s\S]*?)<\s*\/class\s*\>|<\s*style=["|']([^"|']+)["|']\s*\>([\s\S]*?)<\s*\/style\s*\>/g,ms=/<\s*class=/i,ys=/<\s*class=["|']([^"|']+)["|']\s*\>([\s\S]*?)<\s*\/class\s*\>/,bs=/<\s*style=/i,xs=/<\s*style=["|']([^"|']+)["|']\s*\>([\s\S]*?)<\s*\/style\s*\>/,Cs=/^\s+|\s+$/;const ks=Phaser.Utils.Objects.GetValue;class ws extends Xi{constructor(t,e,i,s,r){var n=ks(r,"tags",void 0);super(t,e,i,s,r,"rexTagText",new ps(n))}addTag(t,e){return this.parser.addTag(t,e),this.updateText(!0)}addTags(t){for(var e in t)this.parser.addTag(e,t[e]);return this.updateText(!0)}getTag(t){return this.parser.getTag(t)}preDestroy(){super.preDestroy(),this.parser.destroy(),this.parser=void 0}}t.register("tagText",(function(t,e,i,s){var r=new ws(this.scene,t,e,i,s);return this.scene.add.existing(r),r})),P(window,"RexPlugins.UI.TagText",ws);const Ss=Phaser.Utils.Objects.GetValue;var Ps=function(t,e){return void 0===e?t:t[e]},Ts=function(t,e,i){void 0===t&&(t={}),void 0===e&&(e=0);var s=typeof e;return"string"===s?t[e]=i:"number"===s?(t.left=e,t.right=e,t.top=e,t.bottom=e):(t.left=Ss(e,"left",0),t.right=Ss(e,"right",0),t.top=Ss(e,"top",0),t.bottom=Ss(e,"bottom",0)),t};let Os=class{constructor(t,e){this.setParent(t),this.type=e,this.renderable=!1,this.reset().setActive()}destroy(){this.parent.removeChild(this)}setParent(t){return this.parent=t,this}get scene(){return this.parent.scene}get canvas(){return this.parent?this.parent.canvas:null}get context(){return this.parent?this.parent.context:null}setDirty(t){return t&&this.parent&&(this.parent.dirty=!0),this}get active(){return this._active}set active(t){this.setDirty(this._active!=t),this._active=t}setActive(t){return void 0===t&&(t=!0),this.active=t,this}modifyPorperties(t){return this}onFree(){this.reset().setParent()}reset(){return this}render(){}contains(t,e){return!1}};Object.assign(Os.prototype,Z);var Ms={renderContent(){},render(){if(!this.willRender)return this;var t=this.context;if(t.save(),t.globalAlpha=this.alpha,this.toLocalPosition){var e=this.drawX,i=this.drawY;this.autoRound&&(e=Math.round(e),i=Math.round(i)),t.translate(e,i),t.scale(this.scaleX,this.scaleY),t.rotate(this.rotation)}return this.drawBelowCallback&&this.drawBelowCallback(this),this.renderContent(),this.drawAboveCallback&&this.drawAboveCallback(this),t.restore(),this}};const Es=Phaser.Math.RotateAround;var _s;const Rs=Phaser.Geom.Rectangle;var Ls,Bs=function(t){void 0===Ls&&(Ls=new Rs);var e=t.drawTLX,i=t.drawTLY;return Ls.setTo(e,i,t.drawTRX-e,t.drawBLY-i),Ls};const Is=Phaser.Math.RotateAround;var Ds,As=function(t,e,i,s){return void 0===s?s={}:!0===s&&(void 0===Ds&&(Ds={}),s=Ds),s.x=e,s.y=i,0!==t.rotation&&Is(s,0,0,t.rotation),s.x=s.x*t.scaleX+t.drawX,s.y=s.y*t.scaleY+t.drawY,s};const js=Phaser.GameObjects.Components.TransformMatrix;var zs,Fs,Xs={},Ys=function(t,e,i,s,r){var n=As(e,i,s,!0),a=function(t,e,i,s){void 0===s?s={}:!0===s&&(s=Xs);var r=e-t.width*t.originX,n=i-t.height*t.originY;return void 0===zs&&(zs=new js,Fs=new js),t.parentContainer?t.getWorldTransformMatrix(zs,Fs):zs.applyITRS(t.x,t.y,t.rotation,t.scaleX,t.scaleY),zs.transformPoint(r,n,s),s}(t,n.x,n.y,r);return a},Ws=function(t,e,i,s,r){"number"!=typeof i&&(r=i,i=0,s=0);var n=e.drawCenterX+i,a=e.drawCenterY+s;return Ys(t,e,n,a,r)},Vs={contains:function(t,e){if(0===this.width||0===this.height)return!1;var i=function(t,e,i,s){return void 0===s?s={}:!0===s&&(void 0===_s&&(_s={}),s=_s),s.x=(t-i.drawX)/i.scaleX,s.y=(e-i.drawY)/i.scaleY,0!==i.rotation&&Es(s,0,0,-i.rotation),s}(t,e,this,!0);return Bs(this).contains(i.x,i.y)},getWorldPosition:function(t,e,i){return Ws(this.parent,this,t,e,i)}};Object.assign(Vs,Ms);const Gs=Phaser.Math.DegToRad,Hs=Phaser.Math.RadToDeg,Us=Phaser.Utils.Objects.GetValue;class Ns extends Os{constructor(t,e){super(t,e),this.renderable=!0,this.scrollFactorX=1,this.scrollFactorY=1,this.toLocalPosition=!0,this.originX=0,this.offsetX=0,this.offsetY=0}get visible(){return this._visible}set visible(t){this.setDirty(this._visible!=t),this._visible=t}setVisible(t){return void 0===t&&(t=!0),this.visible=t,this}get alpha(){return this._alpha}set alpha(t){this.setDirty(this._alpha!=t),this._alpha=t}setAlpha(t){return this.alpha=t,this}get x(){return this._x}set x(t){this.setDirty(this._x!=t),this._x=t}setX(t){return this.x=t,this}get y(){return this._y}set y(t){this.setDirty(this._y!=t),this._y=t}setY(t){return this.y=t,this}setPosition(t,e){return this.x=t,this.y=e,this}setInitialPosition(t,e){return this.x0=t,this.y0=e,this}setScrollFactorX(t){return this.scrollFactorX=t,this}setScrollFactorY(t){return this.scrollFactorY=t,this}setScrollFactor(t,e){return void 0===e&&(e=t),this.scrollFactorX=t,this.scrollFactorY=e,this}get rotation(){return this._rotation}set rotation(t){this.setDirty(this._rotation!=t),this._rotation=t}setRotation(t){return this.rotation=t,this}get angle(){return Hs(this._rotation)}set angle(t){this.rotation=Gs(t)}setAngle(t){return this.angle=t,this}get scaleX(){return this._scaleX}set scaleX(t){this.setDirty(this._scaleX!==t),this._scaleX=t}setScaleX(t){return this.scaleX=t,this}get width(){return 0}set width(t){}setWidth(t,e){return void 0===e&&(e=!1),this.width=t,e&&(this.scaleY=this.scaleX),this}get leftSpace(){return this._leftSpace}set leftSpace(t){this.setDirty(this._leftSpace!==t),this._leftSpace=t}setLeftSpace(t){return this.leftSpace=t,this}get rightSpace(){return this._rightSpace}set rightSpace(t){this.setDirty(this._rightSpace!==t),this._rightSpace=t}setRightSpace(t){return this.rightSpace=t,this}get outerWidth(){return this.width+this.leftSpace+this.rightSpace}get scaleY(){return this._scaleY}set scaleY(t){this.setDirty(this._scaleY!==t),this._scaleY=t}setScaleY(t){return this.scaleY=t,this}get height(){return 0}set height(t){}setHeight(t,e){return void 0===e&&(e=!1),this.height=t,e&&(this.scaleX=this.scaleY),this}setScale(t,e){return void 0===e&&(e=t),this.scaleX=t,this.scaleY=e,this}setOrigin(t){return this.originX=t,this}setAlign(t){return this.align=t,this}modifyPorperties(t){if(!t)return this;t.hasOwnProperty("x")&&this.setX(t.x),t.hasOwnProperty("y")&&this.setY(t.y),t.hasOwnProperty("rotation")?this.setRotation(t.rotation):t.hasOwnProperty("angle")&&this.setAngle(t.angle),t.hasOwnProperty("alpha")&&this.setAlpha(t.alpha);var e=Us(t,"width",void 0),i=Us(t,"height",void 0),s=Us(t,"scaleX",void 0),r=Us(t,"scaleY",void 0);return void 0!==e?void 0===i&&void 0===r?this.setWidth(e,!0):this.setWidth(e):void 0!==s&&this.setScaleX(s),void 0!==i?void 0===e&&void 0===s?this.setHeight(i,!0):this.setHeight(i):void 0!==r&&this.setScaleY(r),t.hasOwnProperty("leftSpace")&&this.setLeftSpace(t.leftSpace),t.hasOwnProperty("rightSpace")&&this.setRightSpace(t.rightSpace),t.hasOwnProperty("align")&&this.setAlign(t.align),this}setDrawBelowCallback(t){return this.drawBelowCallback=t,this}setDrawAboveCallback(t){return this.drawAboveCallback=t,this}reset(){return this.setVisible().setAlpha(1).setPosition(0,0).setRotation(0).setScale(1,1).setLeftSpace(0).setRightSpace(0).setOrigin(0).setAlign().setDrawBelowCallback().setDrawAboveCallback(),this}get willRender(){return this.visible&&this.alpha>0}get drawX(){var t=this.x+this.leftSpace+this.offsetX-this.originX*this.width;return this.parent._textOX*this.scrollFactorX+t}get drawY(){var t=this.y+this.offsetY;return this.parent._textOY*this.scrollFactorY+t}get drawTLX(){return 0}get drawTLY(){return 0}get drawBLX(){return 0}get drawBLY(){return 0}get drawTRX(){return 0}get drawTRY(){return 0}get drawBRX(){return 0}get drawBRY(){return 0}get drawCenterX(){return(this.drawTRX+this.drawTLX)/2}get drawCenterY(){return(this.drawBLY+this.drawTLY)/2}}Object.assign(Ns.prototype,Vs);var $s=function(t,e,i){return e.hasOwnProperty(t)?e[t]:i[t]};const Ks=Phaser.Utils.Objects.GetValue;class Js extends Ns{constructor(t,e){super(t,"background"),this.setScrollFactor(0),this.setColor(Ks(e,"color",null),Ks(e,"color2",null),Ks(e,"horizontalGradient",!0)),this.setStroke(Ks(e,"stroke",null),Ks(e,"strokeThickness",2)),this.setCornerRadius(Ks(e,"cornerRadius",0),Ks(e,"cornerIteration",null))}set color(t){t=Jt(t,this.canvas,this.context),this.setDirty(this._color!=t),this._color=t}get color(){return this._color}set color2(t){t=Jt(t,this.canvas,this.context),this.setDirty(this._color2!=t),this._color2=t}get color2(){return this._color2}set horizontalGradient(t){this.setDirty(this._horizontalGradient!=t),this._horizontalGradient=t}get horizontalGradient(){return this._horizontalGradient}setColor(t,e,i){return void 0===i&&(i=!0),this.color=t,this.color2=e,this.horizontalGradient=i,this}set stroke(t){t=Jt(t,this.canvas,this.context),this.setDirty(this._stroke!=t),this._stroke=t}get stroke(){return this._stroke}set strokeThickness(t){this.setDirty(this._strokeThickness!=t),this._strokeThickness=t}get strokeThickness(){return this._strokeThickness}setStroke(t,e){return null!=t&&void 0===e&&(e=2),this.stroke=t,this.strokeThickness=e,this}set cornerRadius(t){this.setDirty(this._cornerRadius!=t),this._cornerRadius=t}get cornerRadius(){return this._cornerRadius}set cornerIteration(t){this.setDirty(this._cornerIteration!=t),this._cornerIteration=t}get cornerIteration(){return this._cornerIteration}modifyStyle(t){return t.hasOwnProperty("color")&&this.setColor(t.color,$s("color2",t,this),$s("horizontalGradient",t,this)),t.hasOwnProperty("stroke")&&this.setStroke(t.stroke,$s("strokeThickness",t,this)),t.hasOwnProperty("cornerRadius")&&this.setCornerRadius(t.cornerRadius,$s("cornerIteration",t,this)),this}modifyPorperties(t){return super.modifyPorperties(t),this.modifyStyle(t),this}setCornerRadius(t,e){return this.cornerRadius=t,this.cornerIteration=e,this}renderContent(){ie(this.parent,this.color,this.stroke,this.strokeThickness,this.cornerRadius,this.color2,this.horizontalGradient,this.cornerIteration)}}const qs=Phaser.Utils.Objects.GetValue;class Zs extends Ns{constructor(t,e){super(t,"innerbounds"),this.setScrollFactor(0),this.setColor(qs(e,"color",null),qs(e,"color2",null),qs(e,"horizontalGradient",!0)),this.setStroke(qs(e,"stroke",null),qs(e,"strokeThickness",2))}set color(t){t=Jt(t,this.canvas,this.context),this.setDirty(this._color!=t),this._color=t}get color(){return this._color}set color2(t){t=Jt(t,this.canvas,this.context),this.setDirty(this._color2!=t),this._color2=t}get color2(){return this._color2}set horizontalGradient(t){this.setDirty(this._horizontalGradient!=t),this._horizontalGradient=t}get horizontalGradient(){return this._horizontalGradient}setColor(t,e,i){return void 0===i&&(i=!0),this.color=t,this.color2=e,this.horizontalGradient=i,this}set stroke(t){t=Jt(t,this.canvas,this.context),this.setDirty(this._stroke!=t),this._stroke=t}get stroke(){return this._stroke}set strokeThickness(t){this.setDirty(this._strokeThickness!=t),this._strokeThickness=t}get strokeThickness(){return this._strokeThickness}setStroke(t,e){return null!=t&&void 0===e&&(e=2),this.stroke=t,this.strokeThickness=e,this}modifyPorperties(t){super.modifyPorperties(t),t.hasOwnProperty("color")&&this.setColor(t.color,qs(t,"color2",null),qs(t,"horizontalGradient",!0)),t.hasOwnProperty("stroke")&&this.setStroke(t.stroke,qs(t,"strokeThickness",2))}renderContent(){var t,e,i=this.parent.padding,s=i.left,r=i.top,n=this.parent.width-i.left-i.right,a=this.parent.height-i.top-i.bottom,o=this.context;null!=this.color&&(null!=this.color2?((e=this.horizontalGradient?o.createLinearGradient(0,0,n,0):o.createLinearGradient(0,0,0,a)).addColorStop(0,this.color),e.addColorStop(1,this.color2),t=e):t=this.color,o.fillStyle=t,o.fillRect(s,r,n,a));null!=this.stroke&&this.strokeThickness>0&&(o.strokeStyle=this.stroke,o.lineWidth=this.strokeThickness,o.strokeRect(s,r,n,a))}}const Qs=Phaser.Utils.Objects.GetValue;class tr{constructor(t,e){this.parent=t,this.set(e)}toJSON(){return{bold:this.bold,italic:this.italic,fontSize:this.fontSize,fontFamily:this.fontFamily,color:this.color,stroke:this.stroke,strokeThickness:this.strokeThickness,shaodwColor:this.shadowColor,shadowBlur:this.shadowBlur,shadowOffsetX:this.shadowOffsetX,shadowOffsetY:this.shadowOffsetY,offsetX:this.offsetX,offsetY:this.offsetY,leftSpace:this.leftSpace,rightSpace:this.rightSpace,backgroundHeight:this.backgroundHeight,backgroundBottomY:this.backgroundBottomY,align:this.align}}set(t){return this.setBold(Qs(t,"bold",!1)),this.setItalic(Qs(t,"italic",!1)),this.setFontSize(Qs(t,"fontSize","16px")),this.setFontFamily(Qs(t,"fontFamily","Courier")),this.setColor(Qs(t,"color","#fff")),this.setStrokeStyle(Qs(t,"stroke",null),Qs(t,"strokeThickness",0)),this.setShadow(Qs(t,"shadowColor",null),Qs(t,"shadowOffsetX",0),Qs(t,"shadowOffsetY",0),Qs(t,"shadowBlur",0)),this.setOffset(Qs(t,"offsetX",0),Qs(t,"offsetY",0)),this.setSpace(Qs(t,"leftSpace",0),Qs(t,"rightSpace",0)),this.setAlign(Qs(t,"align",void 0)),this.setBackgroundColor(Qs(t,"backgroundColor",null)),this.setBackgroundHeight(Qs(t,"backgroundHeight",void 0)),this.setBackgroundBottomY(Qs(t,"backgroundBottomY",void 0)),this.setBackgroundLeftX(Qs(t,"backgroundLeftX",0)),this.setBackgroundRightX(Qs(t,"backgroundRightX",0)),this}modify(t){return t.hasOwnProperty("bold")&&this.setBold(t.bold),t.hasOwnProperty("italic")&&this.setItalic(t.italic),t.hasOwnProperty("fontSize")&&this.setFontSize(t.fontSize),t.hasOwnProperty("fontFamily")&&this.setFontFamily(t.fontFamily),t.hasOwnProperty("color")&&this.setColor(t.color),(t.hasOwnProperty("stroke")||t.hasOwnProperty("strokeThickness"))&&this.setStrokeStyle($s("stroke",t,this),$s("strokeThickness",t,this)),t.hasOwnProperty("shadowColor")&&this.setShadowColor(t.shadowColor),(t.hasOwnProperty("shadowOffsetX")||t.hasOwnProperty("shadowOffsetY"))&&this.setShadowOffset($s("shadowOffsetX",t,this),$s("shadowOffsetY",t,this)),t.hasOwnProperty("shadowBlur")&&this.setShadowBlur(t.shaodwBlur),t.hasOwnProperty("offsetX")&&this.setOffsetX(t.offsetX),t.hasOwnProperty("offsetY")&&this.setOffsetY(t.offsetY),t.hasOwnProperty("leftSpace")&&this.setLeftSpace(t.leftSpace),t.hasOwnProperty("rightSpace")&&this.setRightSpace(t.rightSpace),t.hasOwnProperty("align")&&this.setAlign(t.align),t.hasOwnProperty("backgroundColor")&&this.setBackgroundColor(t.backgroundColor),t.hasOwnProperty("backgroundHeight")&&this.setBackgroundHeight(t.backgroundHeight),t.hasOwnProperty("backgroundBottomY")&&this.setBackgroundBottomY(t.backgroundBottomY),t.hasOwnProperty("backgroundLeftX")&&this.setBackgroundLeftX(t.backgroundLeftX),t.hasOwnProperty("backgroundRightX")&&this.setBackgroundRightX(t.backgroundRightX),this}setUpdateTextFlag(){return this.parent&&(this.parent.updateTextFlag=!0),this}clone(){return new tr(null,this.toJSON())}copyFrom(t){return this.set(t.toJSON()),this}copyTo(t){return t.set(this.toJSON()),this}setBold(t){return void 0===t&&(t=!0),this.bold=t,this.setUpdateTextFlag(),this}setItalic(t){return void 0===t&&(t=!0),this.italic=t,this.setUpdateTextFlag(),this}get fontStyle(){return this.bold&&this.italic?"bold italic":this.bold?"bold":this.italic?"italic":""}setFontSize(t){return"number"==typeof t&&(t=`${t}px`),this.fontSize=t,this.setUpdateTextFlag(),this}setFontFamily(t){return this.fontFamily=t,this.setUpdateTextFlag(),this}get font(){return`${this.fontStyle} ${this.fontSize} ${this.fontFamily}`}setColor(t){return this.color=Jt(t),this}get hasFill(){return null!=this.color}setStrokeStyle(t,e){return this.stroke=Jt(t),void 0!==e&&(this.strokeThickness=e),this}setStrokeThickness(t){return this.strokeThickness=t,this}get hasStroke(){return null!=this.stroke&&this.strokeThickness>0}setShadowColor(t){return this.shadowColor=Jt(t),this}setShadowOffset(t,e){return void 0===t&&(t=0),void 0===e&&(e=0),this.shadowOffsetX=t,this.shadowOffsetY=e,this}setShadowBlur(t){return void 0===t&&(t=0),this.shaodwBlur=t,this}setShadow(t,e,i,s){return this.setShadowColor(t).setShadowOffset(e,i).setShadowBlur(s),this}setBackgroundColor(t){return this.backgroundColor=Jt(t),this}get hasBackgroundColor(){return null!=this.backgroundColor}setBackgroundHeight(t){return this.backgroundHeight=t,this}setBackgroundBottomY(t){return this.backgroundBottomY=t,this}setBackgroundLeftX(t){return this.backgroundLeftX=t,this}setBackgroundRightX(t){return this.backgroundRightX=t,this}setOffsetX(t){return void 0===t&&(t=0),this.offsetX=t,this}setOffsetY(t){return void 0===t&&(t=0),this.offsetY=t,this}setOffset(t,e){return this.setOffsetX(t).setOffsetY(e),this}setLeftSpace(t){return void 0===t&&(t=0),this.leftSpace=t,this}setRightSpace(t){return void 0===t&&(t=0),this.rightSpace=t,this}setSpace(t,e){return this.setLeftSpace(t).setRightSpace(e),this}setAlign(t){return this.align=t,this}syncFont(t){return t.font=this.font,this}syncStyle(t){t.textBaseline="alphabetic";var e=this.hasFill,i=this.hasStroke;return t.fillStyle=e?this.color:"#000",t.strokeStyle=i?this.stroke:"#000",t.lineWidth=i?this.strokeThickness:0,t.lineCap="round",t.lineJoin="round",this}syncShadow(t){null!=t.shadowColor?(t.shadowColor=this.shadowColor,t.shadowOffsetX=this.shadowOffsetX,t.shadowOffsetY=this.shadowOffsetY,t.shadowBlur=this.shadowBlur):(t.shadowColor=0,t.shadowOffsetX=0,t.shadowOffsetY=0,t.shadowBlur=0)}getTextMetrics(t,e){return this.syncFont(t).syncStyle(t),t.measureText(e)}}const er=Phaser.Utils.Array.Remove,ir=Phaser.Utils.Array.Remove,sr="text",rr="image",nr="drawer",ar="space",or="command";var hr=function(t){return t.type===sr&&"\n"===t.text},lr=function(t){return t.type===sr&&"\f"===t.text},dr=function(t){return t.type===sr},cr=function(t){return t.type===or};class ur extends Ns{constructor(t,e,i){super(t,sr),this.updateTextFlag=!1,this.style=new tr(this,i),this.setText(e)}get autoRound(){return this.parent.autoRound}get offsetX(){return this.style.offsetX}set offsetX(t){this.style&&(this.style.offsetX=t)}get offsetY(){return this.style.offsetY}set offsetY(t){this.style&&(this.style.offsetY=t)}get leftSpace(){return this.style.leftSpace*this.scaleX}set leftSpace(t){this.style&&(this.style.leftSpace=t),super.leftSpace=t}get rightSpace(){return this.style.rightSpace*this.scaleX}set rightSpace(t){this.style&&(this.style.rightSpace=t),super.rightSpace=t}get align(){return this.style.align}set align(t){this.style&&(this.style.align=t)}modifyStyle(t){return this.setDirty(!0),this.style.modify(t),this.updateTextFlag&&this.updateTextSize(),this}modifyPorperties(t){return t?(this.modifyStyle(t),super.modifyPorperties(t),this):this}setText(t){return this.setDirty(this.text!=t),this.text=t,this.updateTextSize(),this}updateTextSize(){var t=this.text;if("\n"===t||"\f"===t||""===t)this.clearTextSize();else{var e,i,s=this.style.getTextMetrics(this.context,this.text);this.textWidth=s.width,"actualBoundingBoxAscent"in s?(e=s.actualBoundingBoxAscent,i=s.actualBoundingBoxDescent):(e=0,i=0),this.textHeight=e+i,this.ascent=e,this.descent=i}return this.updateTextFlag=!1,this}clearTextSize(){return this.textWidth=0,this.textHeight=0,this.ascent=0,this.descent=0,this}copyTextSize(t){return this.textWidth=t.textWidth,this.textHeight=t.textHeight,this.ascent=t.ascent,this.descent=t.descent,this}get width(){return this.textWidth*this.scaleX}set width(t){this.textWidth>0?this.scaleX=t/this.textWidth:this.scaleX=1}get height(){return this.textHeight*this.scaleY}set height(t){this.textHeight>0?this.scaleY=t/this.textHeight:this.scaleY=1}get willRender(){return 0!==this.textWidth&&super.willRender}renderContent(){var t=this.context,e=this.style;if(e.hasBackgroundColor){t.fillStyle=e.backgroundColor;var i=this.drawTLX+e.backgroundLeftX,s=i,r=this.drawTRX+e.backgroundRightX-i+1;if(r>0){var n=e.backgroundBottomY;null==n&&(n=this.drawBLY);var a=e.backgroundHeight;null==a&&(a=n-this.drawTLY);var o=n-a;t.fillRect(s,o,r,a)}}var h=e.hasFill,l=e.hasStroke;(h||l)&&(e.syncFont(t).syncStyle(t),l&&(e.syncShadow(t),t.strokeText(this.text,0,0)),h&&(e.syncShadow(t),t.fillText(this.text,0,0)))}get drawTLX(){return-this.leftSpace}get drawTLY(){return-this.ascent}get drawBLX(){return-this.leftSpace}get drawBLY(){return this.descent}get drawTRX(){return this.textWidth+this.rightSpace}get drawTRY(){return-this.ascent}get drawBRX(){return this.textWidth+this.rightSpace}get drawBRY(){return this.descent}}var pr=function(t,e){var i=this.createCharChildren(t,e);return this.addChild(i),this};Phaser.Display.Canvas.CanvasPool;class gr extends Ns{constructor(t,e,i){super(t,rr),this.setTexture(e,i),this.color=void 0}get frameWidth(){return this.frameObj?this.frameObj.cutWidth:0}get frameHeight(){return this.frameObj?this.frameObj.cutHeight:0}get offsetY(){return-this.height}set offsetY(t){}get key(){return this._key}set key(t){this.setDirty(this._key!=t),this._key=t}get frame(){return this._frame}set frame(t){this.setDirty(this._frame!=t),this._frame=t}setTexture(t,e){return this.key=t,this.frame=e,this.frameObj=this.scene.sys.textures.getFrame(t,e),this}get width(){return this.frameWidth*this.scaleX}set width(t){this.setDirty(this.width!==t),this.scaleX=t/this.frameWidth}get height(){return this.frameHeight*this.scaleY}set height(t){this.setDirty(this.height!==t),this.scaleY=t/this.frameHeight}setHeight(t,e){return void 0===e&&(e=!1),this.height=t,e&&(this.scaleX=this.scaleY),this}setColor(t){return this.color=t,this}modifyPorperties(t){return t.hasOwnProperty("color")&&this.setColor(t.color),super.modifyPorperties(t),this}renderContent(){Pi(this.frameObj,this.canvas,0,0,this.frameWidth,this.frameHeight,this.color,!1)}get drawTLX(){return-this.leftSpace}get drawTLY(){return 0}get drawBLX(){return-this.leftSpace}get drawBLY(){return this.frameHeight}get drawTRX(){return this.frameWidth+this.rightSpace}get drawTRY(){return 0}get drawBRX(){return this.frameWidth+this.rightSpace}get drawBRY(){return this.frameHeight}}var vr=function(t,e,i){var s=this.createImageChild(t,e,i);return this.addChild(s),this};class fr extends Ns{constructor(t,e,i,s){super(t,nr),this.setRenderCallback(e),this.setDrawerSize(i,s)}setRenderCallback(t){return t?this.renderContent=t.bind(this):delete this.renderContent,this}setDrawerSize(t,e){return!0===t?(this.toLocalPosition=!1,t=void 0,e=void 0):this.toLocalPosition=!0,void 0===t&&(t=0),void 0===e&&(e=t),this.drawerWidth=t,this.drawerHeight=e,this}onFree(){super.onFree(),this.setRenderCallback()}get width(){return this.drawerWidth*this.scaleX}set width(t){this.setDirty(this.width!==t),this.scaleX=this.drawerWidth>0?t/this.drawerWidth:1}get height(){return this.drawerHeight*this.scaleY}set height(t){this.setDirty(this.height!==t),this.scaleY=this.drawerHeight>0?t/this.drawerHeight:1}get offsetY(){return-this.height}set offsetY(t){}get drawTLX(){return-this.leftSpace}get drawTLY(){return 0}get drawBLX(){return-this.leftSpace}get drawBLY(){return this.drawerHeight}get drawTRX(){return this.drawerWidth+this.rightSpace}get drawTRY(){return 0}get drawBRX(){return this.drawerWidth+this.rightSpace}get drawBRY(){return this.drawerHeight}}let mr=class extends Ns{constructor(t,e){super(t,ar),this.setSpaceWidth(e)}get width(){return this.spaceWidth*this.scaleX}set width(t){this.spaceWidth>0?this.scaleX=t/this.spaceWidth:this.scaleX=1}setSpaceWidth(t){return this.spaceWidth=t,this}};var yr=function(t){var e=this.createSpaceChild(t);return this.addChild(e),this};class br extends Os{constructor(t,e,i,s,r){super(t,or),this.setName(e).setParameter(s).setCallback(i,r)}setName(t){return this.name=t,this}setParameter(t){return this.param=t,this}setCallback(t,e){return this.callback=t,this.scope=e,this}exec(){return this.scope?this.callback.call(this.scope,this.param,this.name):this.callback(this.param,this.name)}onFree(){super.onFree(),this.setName().setCallback().setParameter()}}var xr=function(t,e,i,s){var r=this.createCommandChild(t,e,i,s);return this.addChild(r),this},Cr=function(t){var e={callback:void 0,start:0,isLastPage:!1,maxLines:void 0,padding:void 0,letterSpacing:void 0,hAlign:void 0,vAlign:void 0,children:[],lines:[],maxLineWidth:0,linesHeight:0,lineHeight:void 0,maxLineHeight:0,linesWidth:0,lineWidth:void 0};return Object.assign(e,t)};const kr={none:0,word:1,char:2,character:2,mix:3};var wr=function(t,e,i,s){void 0===s&&(s={word:[],width:0}),s.word.length=0;for(var r=2===i,n=3===i,a=!r&&!n,o=t.length,h=e,l=s.word,d=0,c=!1;h0&&!o){var h=this.fixedHeight-s;i>0?n=h/i:(n=(l=Or.call(this)).height,a=l.ascent,i=Math.floor((h-a)/n))}else{var l;n=(l=Or.call(this)).height,a=l.ascent}}else this.fixedHeight>0?void 0===(i=Er(t,"maxLines"))&&(h=this.fixedHeight-s,i=Math.floor(h/n)):i=Er(t,"maxLines",0);void 0===a&&(a=n);var d=0===i,c=Er(t,"wrapMode");void 0===c&&(c=Er(t,"charWrap",!1)?"char":"word"),"string"==typeof c&&(c=kr[c]);var u=Er(t,"wrapWidth",void 0);void 0===u&&(this.fixedWidth>0?u=this.fixedWidth-r:(u=1/0,c=0));for(var p=Er(t,"letterSpacing",0),g=Er(t,"hAlign",0),v=Er(t,"vAlign",0),f=Er(t,"justifyPercentage",.25),m=Cr({callback:"runWordWrap",start:e,padding:this.wrapPadding,letterSpacing:p,maxLines:i,hAlign:g,vAlign:v,justifyPercentage:f,ascent:a,lineHeight:n,wrapWidth:u,wrapMode:c}),y=this.children,b=0,x=y.length;b0&&(E.push({children:_,width:R}),L=Math.max(L,R)),m.start+=M.length,m.isLastPage=!B&&m.start===O,m.maxLineWidth=L,m.linesHeight=E.length*n;var X=this.fixedWidth>0?this.fixedWidth:m.maxLineWidth+r,Y=this.fixedHeight>0?this.fixedHeight:m.linesHeight+s;for(function(t,e,i){for(var s,r,n=t.hAlign,a=t.vAlign,o=t.justifyPercentage,h=t.lines,l=0,d=h.length;l0?(a=this.fixedWidth-r)/i:0;else if(this.fixedWidth>0){if(void 0===(i=Lr(t,"maxLines",void 0))){var a=this.fixedWidth-r;i=Math.floor(a/n)+1}}else i=Lr(t,"maxLines",0);var o=0===i,h=Lr(t,"fixedCharacterHeight",void 0);if(void 0===h){var l=Lr(t,"charPerLine",void 0);if(void 0!==l){var d=this.fixedHeight-s;h=Math.floor(d/l)}}var c=Lr(t,"wrapHeight",void 0);void 0===c&&(c=this.fixedHeight>0?this.fixedHeight-s:1/0);for(var u=Lr(t,"letterSpacing",0),p=Lr(t,"rtl",!0),g=Lr(t,"hAlign",p?2:0),v=Lr(t,"vAlign",0),f=Cr({callback:"runVerticalWrap",start:e,padding:this.wrapPadding,letterSpacing:u,maxLines:i,hAlign:g,vAlign:v,lineWidth:n,fixedCharacterHeight:h,wrapHeight:c,rtl:p}),m=this.children,y=0,b=m.length;y0&&(M.push({children:E,height:_}),R=Math.max(R,_)),f.start+=O.length,f.isLastPage=f.start===T,f.maxLineHeight=R,f.linesWidth=M.length*n;var j=this.fixedWidth>0?this.fixedWidth:f.linesWidth+r,z=this.fixedHeight>0?this.fixedHeight:f.maxLineHeight+s;for(function(t,e,i){var s,r,n=t.hAlign,a=t.vAlign,o=t.rtl,h=t.lines,l=t.lineWidth,d=t.linesWidth;switch(n){case 1:case"center":s=(e-d)/2;break;case 2:case"right":s=e-d;break;default:s=0}o&&(s+=l);for(var c=0,u=h.length;c0?t:this.width,e>0?e:this.height)),this},setPadding:function(t,e){var i=this.padding,s=i.left,r=i.right,n=i.top,a=i.bottom;return Ts(i,t,e),this.dirty=this.dirty||s!=i.left||r!=i.right||n!=i.top||a!=i.bottom,this},getPadding:function(t){return Ps(this.padding,t)},modifyTextStyle:function(t){return this.textStyle.modify(t),this},modifyDefaultTextStyle:function(t){return this.defaultTextStyle.modify(t),this},resetTextStyle:function(){return this.textStyle.copyFrom(this.defaultTextStyle),this},setTestString:function(t){return this.testString=t,this},removeChild:function(t){return this.poolManager.free(t),er(this.children,t),this.lastAppendedChildren.length=0,this.lastOverChild=null,this.dirty=!0,this},removeChildren:function(){return this.poolManager.freeMultiple(this.children),this.children.length=0,this.lastAppendedChildren.length=0,this.lastOverChild=null,this.dirty=!0,this},popChild:function(t){return ir(this.children,t),this.lastAppendedChildren.length=0,this.lastOverChild=null,this.dirty=!0,this},clearContent:function(){return this.setText(),this},addChild:function(t,e){var i=Array.isArray(t);return void 0===e||e===this.children.length?i?this.children.push(...t):this.children.push(t):i?this.children.splice(e,0,...t):this.children.splice(e,0,t),this.lastAppendedChildren.length=0,i?this.lastAppendedChildren.push(...t):this.lastAppendedChildren.push(t),this},createCharChild:function(t,e){e&&this.textStyle.modify(e);var i=this.poolManager.allocate(sr);return null===i?i=new ur(this,t,this.textStyle):i.setParent(this).setActive().modifyStyle(this.textStyle).setText(t),i},createCharChildren:function(t,e){e&&this.textStyle.modify(e);for(var i=[],s=0,r=t.length;se&&(s=e,r=t)})),r},getCharWorldPosition:function(t,e,i,s){return"number"==typeof t&&(t=this.getCharChild(t,!0)),Ws(this,t,e,i,s)},setToMinSize:function(){for(var t=this.children,e=0,i=0,s=0,r=t.length;s=i.length&&(t=i.length);for(var s=0,r=0;r>16&255},yn=function(t){return t>>8&255},bn=function(t){return 255&t};const xn=Phaser.Events.EventEmitter;var Cn=function(t,e,i,s,r,n){return void 0===n?n={}:!0===n&&(n=kn),"number"!=typeof i&&(i=0,s=0),n.x=r.x+r.width*t+i,n.y=r.y+r.height*e+s,n},kn={},wn=function(t,e,i,s,r,n,a){if(t.hasOwnProperty("vp"))return t;"function"==typeof i&&(a=i,i=void 0),"function"==typeof r&&(a=r,r=void 0),void 0===i&&(i=.5),void 0===s&&(s=.5),void 0===r&&(r=0),void 0===n&&(n=0),void 0===a&&(a=Cn),function(t){if(t.events)return t;var e=new xn,i=t.x;Object.defineProperty(t,"x",{get:function(){return i},set:function(s){i!==s&&(i=s,e.emit("update",t))}});var s=t.y;Object.defineProperty(t,"y",{get:function(){return s},set:function(i){s!==i&&(s=i,e.emit("update",t))}});var r=t.width;Object.defineProperty(t,"width",{get:function(){return r},set:function(i){r!==i&&(r=i,e.emit("update",t))}});var n=t.height;Object.defineProperty(t,"height",{get:function(){return n},set:function(i){n!==i&&(n=i,e.emit("update",t))}}),t.events=e}(e);var o=e.events;t.vp=e;var h=function(){a(i,s,r,n,e,t)};o.on("update",h),t.once("destroy",(function(){o.off("update",h),t.vp=void 0})),Object.defineProperty(t,"vpx",{get:function(){return i},set:function(t){i!==t&&(i=t,h())}}),Object.defineProperty(t,"vpy",{get:function(){return s},set:function(t){s!==t&&(s=t,h())}}),Object.defineProperty(t,"vpxOffset",{get:function(){return r},set:function(t){r!==t&&(r=t,h())}}),Object.defineProperty(t,"vpyOffset",{get:function(){return n},set:function(t){n!==t&&(n=t,h())}}),h()},Sn=function(t){return t.preFX?t.preFX:t.postFX?t.postFX:null},Pn=function(t,e){t._effectSwitchNames||(t._effectSwitchNames=[],t.clearAllEffects=function(){for(var e=t._effectSwitchNames,i=0,s=e.length;i0&&void 0!==t.setTint},useAlphaFadeEffect(t){return(void 0===this.fadeMode||1===this.fadeMode)&&this.fadeTime>0&&void 0!==t.setAlpha},useRevealEffect(t){return this.fadeMode>=2&&this.fadeMode<=5&&this.fadeTime>0&&(t.preFX||t.postFX)},fadeBob(t,e,i,s){var r=t.gameObject;if(this.useTintFadeEffect(r))void 0!==e&&t.setProperty("tintGray",255*e),t.easeProperty({property:"tintGray",value:Math.floor(255*i),duration:this.fadeTime,delay:0,ease:"Linear",repeat:0,yoyo:!1,from:!1,complete:s});else if(this.useAlphaFadeEffect(r))void 0!==e&&t.setProperty("alpha",e),t.easeProperty({property:"alpha",value:i,duration:this.fadeTime,delay:0,ease:"Linear",repeat:0,yoyo:!1,from:!1,complete:s});else if(this.useRevealEffect(r)){var n;switch(Mn(r,"reveal"),this.fadeMode){case 2:n="revealUp";break;case 3:n="revealDown";break;case 4:n="revealLeft";break;case 5:n="revealRight"}void 0===e&&(e=0),r[n]=e,t.easeProperty({property:n,value:i,duration:this.fadeTime,delay:0,ease:"Linear",repeat:0,yoyo:!1,from:!1,complete:s}),t.getTweenTask(n).once("complete",(function(){r[n]=null}))}else s&&s(r);return this}},jn=function(t){return void 0!==t.displayWidth?t.displayWidth:t.width},zn=function(t){return void 0!==t.displayHeight?t.displayHeight:t.height};const Fn=Phaser.Geom.Rectangle,Xn=Phaser.Math.Vector2,Yn=Phaser.Math.RotateAround,Wn=Phaser.GameObjects.Container;var Vn=function(t,e){if(void 0===e?e=new Fn:!0===e&&(void 0===Gn&&(Gn=new Fn),e=Gn),t.getBounds&&!(t instanceof Wn))return t.getBounds(e);var i,s,r,n,a,o,h,l;if(t.parentContainer){var d=t.parentContainer.getBoundsTransformMatrix();Hn(t,e),d.transformPoint(e.x,e.y,e),i=e.x,s=e.y,Un(t,e),d.transformPoint(e.x,e.y,e),r=e.x,n=e.y,Nn(t,e),d.transformPoint(e.x,e.y,e),a=e.x,o=e.y,$n(t,e),d.transformPoint(e.x,e.y,e),h=e.x,l=e.y}else Hn(t,e),i=e.x,s=e.y,Un(t,e),r=e.x,n=e.y,Nn(t,e),a=e.x,o=e.y,$n(t,e),h=e.x,l=e.y;return e.x=Math.min(i,r,a,h),e.y=Math.min(s,n,o,l),e.width=Math.max(i,r,a,h)-e.x,e.height=Math.max(s,n,o,l)-e.y,e},Gn=void 0,Hn=function(t,e,i){return void 0===e?e=new Xn:!0===e&&(void 0===Jn&&(Jn=new Xn),e=Jn),t.getTopLeft?t.getTopLeft(e):(e.x=t.x-jn(t)*t.originX,e.y=t.y-zn(t)*t.originY,qn(t,e,i))},Un=function(t,e,i){return void 0===e?e=new Xn:!0===e&&(void 0===Jn&&(Jn=new Xn),e=Jn),t.getTopRight?t.getTopRight(e):(e.x=t.x-jn(t)*t.originX+jn(t),e.y=t.y-zn(t)*t.originY,qn(t,e,i))},Nn=function(t,e,i){return void 0===e?e=new Xn:!0===e&&(void 0===Jn&&(Jn=new Xn),e=Jn),t.getBottomLeft?t.getBottomLeft(e):(e.x=t.x-jn(t)*t.originX,e.y=t.y-zn(t)*t.originY+zn(t),qn(t,e,i))},$n=function(t,e,i){return void 0===e?e=new Xn:!0===e&&(void 0===Jn&&(Jn=new Xn),e=Jn),t.getBottomRight?t.getBottomRight(e):(e.x=t.x-jn(t)*t.originX+jn(t),e.y=t.y-zn(t)*t.originY+zn(t),qn(t,e,i))},Kn=function(t,e,i){void 0===e?e=new Xn:!0===e&&(void 0===Jn&&(Jn=new Xn),e=Jn);var s=jn(t),r=zn(t);return e.x=t.x+s*(.5-t.originX),e.y=t.y+r*(.5-t.originY),qn(t,e,i)},Jn=void 0,qn=function(t,e,i){return void 0===i&&(i=!1),0!==t.rotation&&Yn(e,t.x,t.y,t.rotation),i&&t.parentContainer&&t.parentContainer.getBoundsTransformMatrix().transformPoint(e.x,e.y,e),e};const Zn=Phaser.Utils.Objects.GetValue;var Qn=function(t,e,i){var s,r,n,a,o;if("number"==typeof i?s=i:(s=Zn(i,"color"),r=Zn(i,"lineWidth"),n=Zn(i,"fillColor"),a=Zn(i,"fillAlpha",1),o=Zn(i,"padding",0)),Array.isArray(t))for(var h=0,l=t.length;h0?-this.delay:0,this.state=this.nowTime>=0?Ga:Va,this.repeatCounter=0,this}stop(){return this.state=Wa,this}update(t,e){this.state!==Wa&&this.state!==Ua&&0!==e&&0!==this.timeScale&&(this.nowTime+=e*this.timeScale,this.justRestart=!1,this.nowTime>=this.duration?-1===this.repeat||this.repeatCounter0&&(this.nowTime-=this.repeatDelay,this.state=Ha)):(this.nowTime=this.duration,this.state=Ua):this.nowTime>=0&&(this.state=Ga))}get t(){var t;switch(this.state){case Wa:case Va:case Ha:t=0;break;case Ga:t=this.nowTime/this.duration;break;case Ua:t=1}return Xa(t,0,1)}set t(t){(t=Xa(t,-1,1))<0?(this.state=Va,this.nowTime=-this.delay*t):(this.state=Ga,this.nowTime=this.duration*t,1===t&&0!==this.repeat&&this.repeatCounter++)}setT(t){return this.t=t,this}get isIdle(){return this.state===Wa}get isDelay(){return this.state===Va}get isCountDown(){return this.state===Ga}get isRunning(){return this.state===Va||this.state===Ga}get isDone(){return this.state===Ua}get isOddIteration(){return!(1&~this.repeatCounter)}get isEvenIteration(){return!(1&this.repeatCounter)}};const Wa=0,Va=1,Ga=2,Ha=3,Ua=-1;class Na extends ja{constructor(t,e){super(t,e),this.timer=new Ya}shutdown(t){this.isShutdown||(super.shutdown(t),this.timer.destroy(),this.timer=void 0)}start(){return this.timer.start(),super.start(),this}stop(){return this.timer.stop(),super.stop(),this}complete(){return this.timer.stop(),super.complete(),this}}const $a=Phaser.Utils.Objects.GetValue,Ka=Phaser.Utils.Objects.GetAdvancedValue,Ja=Phaser.Tweens.Builders.GetEaseFunction;class qa extends Na{resetFromJSON(t){return this.timer.resetFromJSON($a(t,"timer")),this.setEnable($a(t,"enable",!0)),this.setTarget($a(t,"target",this.parent)),this.setDelay(Ka(t,"delay",0)),this.setDuration(Ka(t,"duration",1e3)),this.setEase($a(t,"ease","Linear")),this.setRepeat($a(t,"repeat",0)),this}setEnable(t){return null==t&&(t=!0),this.enable=t,this}setTarget(t){return void 0===t&&(t=this.parent),this.target=t,this}setDelay(t){return this.delay=t,this}setDuration(t){return this.duration=t,this}setRepeat(t){return this.repeat=t,this}setRepeatDelay(t){return this.repeatDelay=t,this}setEase(t){return void 0===t&&(t="Linear"),this.ease=t,this.easeFn=Ja(t),this}start(){return this.timer.isRunning||super.start(),this}restart(){return this.timer.stop(),this.start.apply(this,arguments),this}stop(t){return void 0===t&&(t=!1),super.stop(),t&&(this.timer.setT(1),this.updateTarget(this.target,this.timer),this.complete()),this}update(t,e){if(!this.isRunning||!this.enable||this.parent.hasOwnProperty("active")&&!this.parent.active)return this;var i=this.target,s=this.timer;return s.update(t,e),s.isDelay||this.updateTarget(i,s),this.emit("update",i,this),s.isDone&&this.complete(),this}updateTarget(t,e){}}const Za=Phaser.Sound.BaseSound;var Qa=function(t){return t instanceof Za};const to=Phaser.Utils.Objects.GetValue,eo=Phaser.Utils.Objects.GetAdvancedValue,io=Phaser.Math.Linear;let so=class extends qa{constructor(t,e,i){Qa(t)&&(i=e,e=t,t=void 0),e.active=!0,e.scene=t,e.game=e.manager.game,super(e,i),this.volume={},this.resetFromJSON(i)}resetFromJSON(t){return super.resetFromJSON(t),this.setMode(to(t,"mode",0)),this.setEnable(to(t,"enable",!0)),this.setVolumeRange(eo(t,"volume.start",this.parent.volume),eo(t,"volume.end",0)),this}setMode(t){return"string"==typeof t&&(t=ro[t]),this.mode=t,this}setVolumeRange(t,e){return this.volume.start=t,this.volume.end=e,this}start(){return this.timer.isRunning||(this.parent.setVolume(this.volume.start),this.timer.setDelay(this.delay).setDuration(this.duration),super.start()),this}updateTarget(t,e){t.volume=io(this.volume.start,this.volume.end,e.t)}complete(){switch(super.complete(),this.mode){case 1:this.parent.stop();break;case 2:this.parent.stop(),this.parent.destroy()}return this}};const ro={stop:1,destroy:2};var no=function(t,e,i,s,r){Qa(t)&&(r=s,s=i,i=e,e=t,t=void 0),void 0===s&&(s=1),void 0===r&&(r=0);var n,a={mode:0,volume:{start:r,end:s},duration:i};return"string"==typeof e&&(e=t.sys.sound.add(e)),e.hasOwnProperty("_fade")?(n=e._fade).stop().resetFromJSON(a):(n=new so(t,e,a),e._fade=n),n.start(),e.isPlaying||e.setVolume(r).play(),e},ao=function(t,e,i,s){Qa(t)&&(s=i,i=e,e=t,t=void 0),void 0===s&&(s=!0);var r,n={mode:s?2:1,volume:{start:e.volume,end:0},duration:i};return e.hasOwnProperty("_fade")?(r=e._fade).stop().resetFromJSON(n):(r=new so(t,e,n),e._fade=r),r.start(),e.isPlaying||e.play(),e};const oo=Phaser.Utils.Objects.GetValue;var ho={setBackgroundMusicLoop(t){return void 0===t&&(t=!0),this.backgroundMusicLoop=t,this},setBackgroundMusicFadeTime(t){return this.backgroundMusicFadeTime=t,this},getBackgroundMusic(){return this.backgroundMusic},setCurrentBackgroundMusic(t){return this.backgroundMusic=t,t&&(t.once("complete",(function(){this.backgroundMusic===t&&(this.backgroundMusic.destroy(),this.backgroundMusic=void 0)}),this).once("destroy",(function(){this.backgroundMusic===t&&(this.backgroundMusic=void 0)}),this),t.isPlaying||t.play()),this},playBackgroundMusic(t,e){if(!this.hasAudio(t))return console.error(`[Sound manager] Audio key'${t}' is not existed`),this;if(this.backgroundMusic&&this.backgroundMusic.key===t)return this;this.stopBackgroundMusic();var i=this.sound.add(t,{loop:oo(e,"loop",this.backgroundMusicLoop),mute:oo(e,"mute",this.backgroundMusicMute),volume:oo(e,"volume",this.backgroundMusicVolume),detune:oo(e,"detune",0),rate:oo(e,"rate",1)});return this.setCurrentBackgroundMusic(i),this.backgroundMusicFadeTime>0&&this.fadeInBackgroundMusic(this.backgroundMusicFadeTime),this},pauseBackgroundMusic(){return this.backgroundMusic&&this.backgroundMusic.pause(),this},resumeBackgroundMusic(){return this.backgroundMusic&&this.backgroundMusic.resume(),this},stopBackgroundMusic(){return this.backgroundMusic&&(this.backgroundMusicFadeTime>0?this.fadeOutBackgroundMusic(this.backgroundMusicFadeTime,!0):(this.backgroundMusic.stop(),this.backgroundMusic.destroy(),this.backgroundMusic=void 0)),this},fadeInBackgroundMusic(t){return this.backgroundMusic&&no(this.backgroundMusic,t,this.backgroundMusicVolume,0),this},fadeOutBackgroundMusic(t,e){return this.backgroundMusic&&ao(this.backgroundMusic,t,e),this},crossFadeBackgroundMusic(t,e){if(!this.hasAudio(t))return console.error(`[Sound manager] Audio key'${t}' is not existed`),this;var i=this.backgroundMusicFadeTime;return this.backgroundMusicFadeTime=0,this.fadeOutBackgroundMusic(e,!0).playBackgroundMusic(t).fadeInBackgroundMusic(e),this.backgroundMusicFadeTime=i,this},setBackgroundMusicMute(t){return void 0===t&&(t=!0),this.backgroundMusicMute=t,this},setBackgroundMusicVolume(t){return this.backgroundMusicVolume=t,this},setBackgroundMusicRate(t){return this.backgroundMusic&&this.backgroundMusic.setRate(t),this},setBackgroundMusicDetune(t){return this.backgroundMusic&&this.backgroundMusic.setDetune(t),this}};const lo=Phaser.Utils.Objects.GetValue;var co={setBackgroundMusic2Loop(t){return void 0===t&&(t=!0),this.backgroundMusic2Loop=t,this},setBackgroundMusic2FadeTime(t){return this.backgroundMusic2FadeTime=t,this},getBackgroundMusic2(){return this.backgroundMusic2},setCurrentBackgroundMusic2(t){return this.backgroundMusic2=t,t&&(t.once("complete",(function(){this.backgroundMusic2===t&&(this.backgroundMusic2.destroy(),this.backgroundMusic2=void 0)}),this).once("destroy",(function(){this.backgroundMusic2===t&&(this.backgroundMusic2=void 0)}),this),t.isPlaying||t.play()),this},playBackgroundMusic2(t,e){if(!this.hasAudio(t))return console.error(`[Sound manager] Audio key'${t}' is not existed`),this;if(this.backgroundMusic2&&this.backgroundMusic2.key===t)return this;this.stopBackgroundMusic2();var i=this.sound.add(t,{loop:lo(e,"loop",this.backgroundMusicLoop),mute:lo(e,"mute",this.backgroundMusic2Mute),volume:lo(e,"volume",this.backgroundMusic2Volume),detune:lo(e,"detune",0),rate:lo(e,"rate",1)});return this.setCurrentBackgroundMusic2(i),this.backgroundMusic2FadeTime>0&&this.fadeInBackgroundMusic2(this.backgroundMusic2FadeTime),this},pauseBackgroundMusic2(){return this.backgroundMusic2&&this.backgroundMusic2.pause(),this},resumeBackgroundMusic2(){return this.backgroundMusic2&&this.backgroundMusic2.resume(),this},stopBackgroundMusic2(){return this.backgroundMusic2&&(this.backgroundMusic2FadeTime>0?this.fadeOutBackgroundMusic2(this.backgroundMusic2FadeTime,!0):(this.backgroundMusic2.stop(),this.backgroundMusic2.destroy(),this.backgroundMusic2=void 0)),this},fadeInBackgroundMusic2(t){return this.backgroundMusic2&&no(this.backgroundMusic2,t,this.backgroundMusic2Volume,0),this},fadeOutBackgroundMusic2(t,e){return this.backgroundMusic2&&ao(this.backgroundMusic2,t,e),this},crossFadeBackgroundMusic2(t,e){if(!this.hasAudio(t))return console.error(`[Sound manager] Audio key'${t}' is not existed`),this;var i=this.backgroundMusic2FadeTime;return this.backgroundMusic2FadeTime=0,this.fadeOutBackgroundMusic2(e,!0).playBackgroundMusic2(t).fadeInBackgroundMusic2(e),this.backgroundMusic2FadeTime=i,this},setBackgroundMusic2Mute(t){return void 0===t&&(t=!0),this.backgroundMusic2Mute=t,this},setBackgroundMusic2Volume(t){return this.backgroundMusic2Volume=t,this},setBackgroundMusic2Rate(t){return this.backgroundMusic2&&this.backgroundMusic2.setRate(t),this},setBackgroundMusic2Detune(t){return this.backgroundMusic2&&this.backgroundMusic2.setDetune(t),this}};const uo=Phaser.Utils.Array.Remove,po=Phaser.Utils.Objects.GetValue;var go={getSoundEffects(){return this.soundEffects},getLastSoundEffect(){return this.soundEffects[this.soundEffects.length-1]},playSoundEffect(t,e){if(!this.hasAudio(t))return console.error(`[Sound manager] Audio key'${t}' is not existed`),this;var i=this.sound.add(t,{mute:po(e,"mute",this.soundEffectsMute),volume:po(e,"volume",this.soundEffectsVolume),detune:po(e,"detune",0),rate:po(e,"rate",1)});return this.soundEffects.push(i),i.once("complete",(function(){i.destroy(),this.sound&&uo(this.soundEffects,i)}),this).once("destroy",(function(){this.sound&&uo(this.soundEffects,i)}),this).play(),this},stopAllSoundEffects(){for(var t=this.soundEffects.length-1;t>=0;t--){var e=this.soundEffects[t];e.stop(),e.destroy()}return this},fadeInSoundEffect(t){var e=this.getLastSoundEffect();return e&&no(e,t,this.soundEffectsVolume,0),this},fadeOutSoundEffect(t,e){var i=this.getLastSoundEffect();return i&&ao(i,t,e),this},fadeOutAllSoundEffects(t,e){for(var i=this.soundEffects.length-1;i>=0;i--)ao(this.soundEffects[i],t,e);return this},setSoundEffectMute(t,e){if(void 0===t&&(t=!0),void 0===e&&(e=!1),e){var i=this.getLastSoundEffect();i&&i.setMute(t)}else this.soundEffectsMute=t;return this},setSoundEffectVolume(t,e){if(void 0===e&&(e=!1),e){var i=this.getLastSoundEffect();i&&i.setVolume(t)}else this.soundEffectsVolume=t;return this},setSoundEffectDetune(t,e){var i;void 0===e&&(e=!1);for(var s=0,r=(i=e?[this.getLastSoundEffect()]:this.soundEffects).length;s=0;t--){var e=this.soundEffects[t];e.stop(),e.destroy()}return this},fadeInSoundEffect2(t){var e=this.getLastSoundEffect2();return e&&no(e,t,this.soundEffects2Volume,0),this},fadeOutSoundEffect2(t,e){var i=this.getLastSoundEffect2();return i&&ao(i,t,e),this},fadeOutAllSoundEffects2(t,e){for(var i=this.soundEffects2.length-1;i>=0;i--)ao(this.soundEffects2[i],t,e);return this},setSoundEffect2Mute(t,e){if(void 0===t&&(t=!0),void 0===e&&(e=!1),e){var i=this.getLastSoundEffect2();i&&i.setMute(t)}else this.soundEffects2Mute=t;return this},setSoundEffect2Volume(t,e){if(void 0===e&&(e=!1),e){var i=this.getLastSoundEffect2();i&&i.setVolume(t)}else this.soundEffects2Volume=t;return this},setSoundEffect2Detune(t,e){var i;void 0===e&&(e=!1);for(var s=0,r=(i=e?[this.getLastSoundEffect2()]:this.soundEffects2).length;s=0;t--)this.soundEffects[t].destroy();if(this.soundEffects.length=0,this.soundEffects2.length)for(t=this.soundEffects2.length-1;t>=0;t--)this.soundEffects2[t].destroy();return this.soundEffects2.length=0,this.sound=void 0,this}get backgroundMusicMute(){return this._backgroundMusicMute}set backgroundMusicMute(t){this._backgroundMusicMute=t,this.backgroundMusic&&this.backgroundMusic.setMute(mute)}get backgroundMusicVolume(){return this._backgroundMusicVolume}set backgroundMusicVolume(t){this._backgroundMusicVolume=t,this.backgroundMusic&&this.backgroundMusic.setVolume(t)}get backgroundMusic2Mute(){return this._backgroundMusic2Mute}set backgroundMusic2Mute(t){this._backgroundMusic2Mute=t,this.backgroundMusic2&&this.backgroundMusic2.setMute(mute)}get backgroundMusic2Volume(){return this._backgroundMusic2Volume}set backgroundMusic2Volume(t){this._backgroundMusic2Volume=t,this.backgroundMusic2&&this.backgroundMusic2.setVolume(t)}get soundEffectsMute(){return this._soundEffectsMute}set soundEffectsMute(t){this._soundEffectsMute=t;for(var e=this.soundEffects,i=0,s=e.length;i");this.setDelimiters(e[0],e[1]),this.setTranslateTagNameCallback(J(t,"translateTagNameCallback")),this.isRunning=!1,this.isPaused=!1,this.skipEventFlag=!1,this.justCompleted=!1,this.lastTagStart=null,this.lastTagEnd=null,this.lastContent=null}shutdown(){this.destroyEventEmitter()}destroy(){this.shutdown()}setMultipleLinesTagEnable(t){return void 0===t&&(t=!0),this.multipleLinesTagEnable=t,this}setDelimiters(t,e){void 0===e&&(e=t[1],t=t[0]),this.delimiterLeft=t,this.delimiterRight=e,t=qi(this.delimiterLeft),e=qi(this.delimiterRight);var i=this.multipleLinesTagEnable?"gs":"gi";return this.reSplit=RegExp(`${t}(.+?)${e}`,i),this}setTranslateTagNameCallback(t){return this.translateTagNameCallback=t,this}setValueConverter(t){return!0===t?t=Zo:t||(t=th),this.valueConverter=t,this}setLoopEnable(t){return void 0===t&&(t=!0),this.loopEnable=t,this}setSource(t){return this.source=t,this}resetIndex(t){return void 0===t&&(t=0),this.progressIndex=t,this.reSplit.lastIndex=t,this.lastTagStart=null,this.lastTagEnd=null,this.lastContent=null,this.justCompleted=!1,this.isRunning=!1,this}start(t){return this.setSource(t).restart(),this}restart(){this.resetIndex().next()}next(){if(this.isPaused&&this.onResume(),this.isRunning)return this;if(this.isRunning=!0,this.justCompleted)return this.isRunning=!1,this;0===this.reSplit.lastIndex&&this.onStart();var t=this.source,e=t.length;for(this.reSplit.lastIndex=this.progressIndex;;){var i=this.reSplit.exec(t);if(!i){if(this.progressIndex");this.setDelimiters(e[0],e[1])}setTagExpression(t){return t||(t=ih),this.tagExpression=t,this}setValueExpression(t){return t||(t=ih),this.valueExpression=t,this}setDelimiters(t,e){super.setDelimiters(t,e);var i=`(${this.tagExpression})(=(${this.valueExpression}))?`;if(this.reTag=RegExp(i,"i"),this.tagExpression!==ih||this.valueExpression!==ih){var s=`${this.tagExpression}(=${this.valueExpression})?`,r=`/${this.tagExpression}`;t=qi(this.delimiterLeft),e=qi(this.delimiterRight);var n=this.multipleLinesTagEnable?"gs":"gi";this.reSplit=RegExp(`${t}((${s})|(${r}))${e}`,n)}return this}onTag(t){var e=t.match(this.reTag),i=e[1],s="/"===i.charAt(0);if(s&&(i=i.substring(1,i.length)),this.translateTagNameCallback&&(i=this.translateTagNameCallback(i)),this.skipEventFlag=!1,s)this.emit(`-${i}`),this.skipEventFlag||this.emit("-",i),this.lastTagEnd=i;else{var r=function(t,e,i){if(null==t)return[];void 0===e&&(e=Zo),void 0===i&&(i=",");for(var s=t.split(i),r=0,n=s.length;r0){var n=this.timeline.addTimer({name:ol,target:s,duration:r.duration,yoyo:r.yoyo,onStart:r.onStart,onProgress:r.onProgress,onComplete:r.onComplete});this.skipTypingAnimation&&n.seek(1)}else r.onStart&&r.onStart(s,0);this.minSizeEnable&&this.textPlayer.setToMinSize(),this.textPlayer.emit("typing",s);var a=this.nextChild;if(a)if(this.skipSpaceEnable&&(e=a).type===sr&&" "===e.text);else if(i+=this.speed+t,t=0,i>0){this.typingTimer=this.timeline.addTimer({name:"delay",target:this,duration:i,onComplete:function(t,e,i){t.typingTimer=void 0,hl.call(t,i.remainder)}});break}}else cr(s)&&s.exec()}this.minSizeEnable&&this.textPlayer.setToMinSize(),this.inTypingProcessLoop=!1},ll=function(t){switch(t){case"camera.fadein":case"camera.fadeout":case"camera.flash":case"camera.shake":case"camera.zoom":case"camera.rotate":case"camera.scroll":return!0;default:return!1}},dl=function(t,e){var i=e.split(".");return t.gameObjectManagers.hasOwnProperty(i[0])},cl=function(t,e,i,s){var r=t.waitEventManager,n=e.split("."),a=n[0],o=t.getGameObjectManager(a),h=`wait.${a}`;switch(n.length){case 1:return r.waitGameObjectManagerEmpty(a),void t.emit(h);case 2:var l=n[1];return r.waitGameObjectDestroy(a,l),void t.emit(h,l);case 3:l=n[1];var d=n[2];if("number"==typeof o.getProperty(l,d))return r.waitGameObjectTweenComplete(a,l,d),void t.emit(h,l,d);var c=d,u=c.startsWith("!");return u&&(c=c.substring(1)),o.hasData(l,c)?(r.waitGameObjectDataFlag(a,l,c,!u),void t.emit(h,l,c)):void r.waitTime(0)}};const ul=Phaser.Input.Keyboard.KeyCodes;var pl=function(t,e,i,s){var r=t.waitEventManager;r.clearWaitCompleteCallbacks().addWaitCompleteCallback(i,s);for(var n=0,a=(e="string"==typeof e&&e.length>1&&-1!==e.indexOf("|")?e.split("|"):[e]).length;n0&&n.chainAnimation(i,s)},Ml=function(t){var e,i;[e,...i]=t,this.getGameObjectManager(e).stopAnimation(...i)},El=function(t){var e,i;[e,...i]=t,this.getGameObjectManager(e).pauseAnimation(...i)},_l=function(t){var e,i;[e,...i]=t,this.getGameObjectManager(e).chainAnimation(...i)};const Rl=[function(t,e,i){var s=i.name;e.on("+",(function(i,...r){if(!e.skipEventFlag){var n,a=i.split(".");Tl(a,s)&&(n=a[1],xr.call(t,`${s}.play`,Ol,[s,n,r],t),e.skipEvent())}})).on("+",(function(i){if(!e.skipEventFlag){var r,n=i.split(".");(function(t,e){return 3===t.length&&t[0]===e&&"stop"===t[2]})(n,s)&&(r=n[1],xr.call(t,`${s}.stop`,Ml,[s,r],t),e.skipEvent())}})).on("-",(function(i){if(!e.skipEventFlag){var r,n=i.split(".");Tl(n,s)&&(r=n[1],xr.call(t,`${s}.stop`,Ml,[s,r],t),e.skipEvent())}}))},function(t,e,i){var s=i.name;e.on("+",(function(i){if(!e.skipEventFlag){var r,n=i.split(".");(function(t,e){return 3===t.length&&t[0]===e&&"pause"===t[2]})(n,s)&&(r=n[1],xr.call(t,`${s}.pause`,El,[s,r],t),e.skipEvent())}}))},function(t,e,i){var s=i.name;e.on("+",(function(i){if(!e.skipEventFlag){var r,n=i.split(".");if(function(t,e){return 3===t.length&&t[0]===e&&"chain"===t[2]}(n,s)){r=n[1];var a=Array.prototype.slice.call(arguments,1);xr.call(t,`${s}.chain`,_l,[s,r,a],t),e.skipEvent()}}}))}];var Ll=function(t){void 0===t&&(t={}),t.name="sprite",t.parseCallbacks=Rl,t.createGameObject=kl(t.createGameObject),this.addGameObjectManager(t,Pl)},Bl=function(t,e){return 2===t.length&&t[0]===e},Il=function(t){var e,i;[e,...i]=t,this.getGameObjectManager(e).add(...i)},Dl=function(t){var e,i;[e,...i]=t,this.getGameObjectManager(e).remove(...i)},Al=function(t){this.getGameObjectManager(t).removeAll()},jl=function(t){var e,i,s,r;[e,i,s,...r]=t;var n=`${e}.${s}`;if(this.emit(n,i,...r),!(this.listenerCount(n)>0)){var a=this.getGameObjectManager(e);a.hasMethod(i,s)?a.call(i,s,...r):a.setProperty(i,s,r[0])}},zl={to:!0,yoyo:!0,from:!0,toLeft:!0,toRight:!0,toUp:!0,toDown:!0,yoyoLeft:!0,yoyoRight:!0,yoyoUp:!0,yoyoDown:!0,fromLeft:!0,fromRight:!0,fromUp:!0,fromDown:!0},Fl=function(t){var e,i,s,r,n,a,o,h;[e,i,s,r,n,a,o,h]=t;var l=this.getGameObjectManager(e),d=l.getProperty(i,s);if("number"==typeof d){h.endsWith("Left")||h.endsWith("Up")?h.startsWith("to")||h.startsWith("yoyo")?r=d-r:h.startsWith("from")&&(l.setProperty(i,s,d-r),r=d):h.endsWith("Right")||h.endsWith("Down")?h.startsWith("to")||h.startsWith("yoyo")?r=d+r:h.startsWith("from")&&(l.setProperty(i,s,d+r),r=d):"from"===h&&(l.setProperty(i,s,r),r=d);var c=h.startsWith("yoyo");l.easeProperty(i,{property:s,value:r,duration:n,ease:a,repeat:o,yoyo:c})}};const Xl=[function(t,e,i){var s=i.name;e.on("+",(function(i,...r){if(!e.skipEventFlag){var n,a=i.split(".");Bl(a,s)&&(n=a[1],xr.call(t,`${s}.add`,Il,[s,n,...r],t),e.skipEvent())}})).on("-",(function(i){if(!e.skipEventFlag){var r,n=i.split(".");Bl(n,s)&&(r=n[1],xr.call(t,`${s}.remove`,Dl,[s,r],t),e.skipEvent())}}))},function(t,e,i){var s=i.name;e.on("-",(function(i){e.skipEventFlag||i===s&&(xr.call(t,`${s}.removeall`,Al,s,t),e.skipEvent())}))},function(t,e,i){var s=i.name;e.on("+",(function(i,...r){if(!e.skipEventFlag){var n,a,o=i.split(".");(function(t,e){return 3===t.length&&t[0]===e})(o,s)&&(n=o[1],a=o[2],xr.call(t,`${s}.call`,jl,[s,n,a,...r],t),e.skipEvent())}}))},function(t,e,i){var s=i.name;t.getGameObjectManager(s),e.on("+",(function(i,r,n,a,o){if(!e.skipEventFlag){var h,l,d,c=i.split(".");(function(t,e){return 4===t.length&&t[0]===e&&zl[t[3]]})(c,s)&&(h=c[1],l=c[2],d=c[3],"number"==typeof a&&(o=a,a=void 0),xr.call(t,`${s}.ease`,Fl,[s,h,l,r,n,a,o,d],t),e.skipEvent())}}))}],Yl=Vo.addGameObjectManager;var Wl={addGameObjectManager(t,e){(t=t?Ve(t):{}).name||console.warn("[TextPlayer] Parameter 'name' is required in addGameObjectManager(config) method");var i=t.defaultLayer,s=t.createGameObject,r=this.layerManager;t.createGameObject=function(t,...e){var n=s.call(this,t,...e);return i&&r&&r.addToLayer(i,n),n},Yl.call(this,t,e);for(var n=t.parseCallbacks,a=0,o=(n=n?[...n,...Xl]:Xl).length;a0)return ad.length=0,!0;return ad.length=0,!1},ad=[],od=void 0;const hd=Phaser.Utils.Objects.GetValue;var ld=function(t,e,i){var s,r;for(var n in void 0===i&&(i={}),t)s=t[n],void 0!==(r=hd(e,n,s[1]))&&(i[s[0]]=r);return i},dd=function(t){t.addEventListener("touchstart",cd,!1),t.addEventListener("touchmove",cd,!1),t.addEventListener("touchend",cd,!1),t.addEventListener("mousedown",cd,!1),t.addEventListener("mouseup",cd,!1),t.addEventListener("mousemove",cd,!1)},cd=function(t){t.stopPropagation()},ud=function(){return this.close(),this.emit("keydown-ENTER",this.parent,this),this},pd=function(){this.isOpened=!0,this.initText(),this.enterCloseEnable&&this.scene.input.keyboard.once("keydown-ENTER",ud,this),this.scene.sys.events.on("postupdate",this.updateText,this),this.clickOutSideTarget?(Ca.call(this.clickOutSideTarget,this.parent),xa.call(this.clickOutSideTarget,this.parent),this.clickOutSideTarget.setInteractive().on("pointerdown",this.onClickOutside,this)):this.scene.input.on("pointerdown",this.onClickOutside,this),this.onOpenCallback&&this.onOpenCallback(this.parent,this),this.emit("open",this)},gd=function(){this.isOpened=!1,this.updateText(),this.enterCloseEnable&&this.scene.input.keyboard.off("keydown-ENTER",ud,this),this.scene.sys.events.off("postupdate",this.updateText,this),this.clickOutSideTarget?this.clickOutSideTarget.disableInteractive().off("pointerdown",this.onClickOutside,this):this.scene.input.off("pointerdown",this.onClickOutside,this),this.onCloseCallback&&this.onCloseCallback(this.parent,this),function(t){if(t){var e=t.parentElement;e&&e.removeChild(t)}}(this.node),this.node=void 0,this.emit("close",this)};const vd=Phaser.Utils.Objects.GetValue;var fd=function(t,e){var i,s=vd(e,"inputType",void 0);void 0===s&&(s=vd(e,"type","text")),"textarea"===s?(i=document.createElement("textarea")).style.resize="none":(i=document.createElement("input")).type=s;var r=vd(e,"style",void 0),n=i.style;ld(id,r,n),n.position="absolute",n.opacity=0,n.pointerEvents="none",n.zIndex=0,n.transform="scale(0)",ld(ed,e,i),dd(i);var a=t.scene.sys.scale;return(a.isFullscreen?a.fullscreenTarget:document.body).appendChild(i),i.addEventListener("focus",(function(e){pd.call(t)})),i.addEventListener("blur",(function(e){gd.call(t)})),i},md={open:function(){return this.isOpened||this.readOnly||((t=this)!==od&&(void 0!==od&&od.close(),od=t),this.node||(this.node=fd(this,this.nodeConfig)),this.setFocus()),this;var t},close:function(){return this.isOpened?(this===od&&(od=void 0),this.setBlur(),this):this}};const yd=Phaser.Utils.Objects.GetValue;class bd extends La{constructor(t,e){super(t);var i=yd(e,"inputType",void 0);void 0===i&&(i=yd(e,"type","text")),this.setEnterCloseEnable(yd(e,"enterClose","textarea"!==i));var s=yd(e,"onOpen",void 0);s||(s=yd(e,"onFocus",void 0)),this.onOpenCallback=s,this.clickOutSideTarget=yd(e,"clickOutSideTarget",void 0);var r=yd(e,"onClose",void 0);r||(r=yd(e,"onBlur",void 0)),this.onCloseCallback=r,this.onUpdateCallback=yd(e,"onUpdate",void 0),this.isOpened=!1,t.on("pointerdown",(function(){this.open()}),this).setInteractive(),this.nodeConfig=function(t){void 0===t&&(t={});var e={};return sd(t,e,"inputType"),sd(t,e,"type"),sd(t,e,"style"),sd(t,e,id),sd(t,e,ed),e}(e),this.node=void 0}destroy(){this.close(),this.clickOutSideTarget&&this.clickOutSideTarget.destroy(),super.destroy()}onClickOutside(t){rd(this.parent,t)||this.close()}setEnterCloseEnable(t){return void 0===t&&(t=!0),this.enterCloseEnable=t,this}initText(){}updateText(){}get text(){return this.node?this.node.value:""}set text(t){this.node&&(this.node.value=t)}setText(t){return this.text=t,this}get maxLength(){return this.nodeConfig.maxLength}set maxLength(t){this.nodeConfig.maxLength=t,this.node&&(this.node.maxLength=t)}setMaxLength(t){return this.maxLength=t,this}get minLength(){return this.nodeConfig.minLength}set minLength(t){this.nodeConfig.minLength=t,this.node&&(this.node.minLength=t)}setMinLength(t){return this.minLength=t,this}get placeholder(){return this.node.placeholder}set placeholder(t){this.node&&(this.node.placeholder=t)}setPlaceholder(t){return this.placeholder=t,this}selectText(t,e){return this.node?(void 0===t?this.node.select():this.node.setSelectionRange(t,e),this):this}selectAll(){return this.selectText(),this}get selectionStart(){return this.node?this.node.selectionStart:0}get selectionEnd(){return this.node?this.node.selectionEnd:0}get selectedText(){if(!this.node)return"";var t=this.node;return t.value.substring(t.selectionStart,t.selectionEnd)}get cursorPosition(){return this.node?this.node.selectionStart:0}set cursorPosition(t){this.node&&this.node.setSelectionRange(t,t)}setCursorPosition(t){return void 0===t?t=this.text.length:t<0&&(t=this.text.length+t),this.cursorPosition=t,this}get tooltip(){return this.node?this.node.title:""}set tooltip(t){if(!this.node)return this;this.node.title=t}setTooltip(t){return this.tooltip=t,this}setTextChangedCallback(t){return this.onTextChanged=t,this}get readOnly(){return this.nodeConfig.readOnly}set readOnly(t){this.nodeConfig.readOnly=t,this.node&&(this.node.readOnly=t)}setReadOnly(t){return void 0===t&&(t=!0),this.readOnly=t,this}get spellCheck(){return this.node?this.node.spellcheck:""}set spellCheck(t){this.node&&(this.node.spellcheck=t)}setSpellCheck(t){return this.spellCheck=t,this}get fontColor(){if(this.node)return this.node.style.color}set fontColor(t){this.node&&(this.node.style.color=t)}setFontColor(t){return this.fontColor=t,this}setStyle(t,e){return this.node?(this.node.style[t]=e,this):this}getStyle(t){if(this.node)return this.node.style[t]}scrollToBottom(){return this.node?(this.node.scrollTop=this.node.scrollHeight,this):this}setEnabled(t){return this.node?(void 0===t&&(t=!0),this.node.disabled=!t,this):this}setBlur(){return this.node?(this.node.blur(),this):this}setFocus(){return this.node?(this.node.focus(),this):this}get isFocused(){return this.isOpened}}Object.assign(bd.prototype,md);var xd=function(t,e,i){t=t.replace(" ","");var s=i.previousText;if(t===s)return t;if(isNaN(t)){i.emit("nan",t,i),t=s;var r=i.cursorPosition-1;i.setText(t),i.setCursorPosition(r)}else i.previousText=t;return t},Cd=function(t){var e=t.prevSelectionStart;if(null!==e){for(var i=t.prevSelectionEnd,s=t.parent,r=e;r=r&&h=i&&hi.length&&(t.prevCursorPosition=null),null!==t.prevCursorPosition&&(s=e.getCharChild(t.prevCursorPosition))&&("\n"===s.text&&s.clearTextSize(),e.emit("cursorout",s,t.prevCursorPosition,e)),null!=r&&(s=e.getCharChild(r))&&("\n"===s.text&&s.copyTextSize(e.lastInsertCursor),function(t){var e,i,s=t.parent,r=s.width,n=s.height,a=t.drawX,o=t.drawY,h=a+t.drawTLX,l=a+t.drawTRX,d=o+t.drawTLY,c=o+t.drawBLY;e=h<0?0-h:l>r?r-l:0,i=d<0?0-d:c>n?n-c:0,s._textOX+=e,s._textOY+=i}(s),e.emit("cursorin",s,r,e)),e.emit("movecursor",r,t.prevCursorPosition,e),t.prevCursorPosition=r)}(this)):(Cd(this),kd(this)),this}setNumberInput(){return this.onUpdateCallback=xd,this}setSelectAllWhenFocusEnable(t){return void 0===t&&(t=!0),this.selectAllWhenFocus=t,this}setRequestCursorPosition(t){return this.isOpened?(this.requestCursorPosition=t,this):this}};const Pd=Phaser.Utils.Objects.GetValue,Td=["inputType","onOpen","clickOutSideTarget","onFocus","onClose","onBlur","onUpdate","enterClose","readOnly","maxLength","minLength","selectAll"];var Od=function(t,e){if(t&&"number"!=typeof t){if(t.hasOwnProperty(e))return!0;if(-1!==e.indexOf(".")){for(var i=e.split("."),s=t,r=0;r0))return e;return null}(e);if(i){e.setScrollFactor(0).setOrigin(.5);var s=t.sys.scale.gameSize,r=s.width,n=s.height,a=1/i.zoom,o=r/2,h=n/2,l=r*a,d=n*a;e.x===o&&e.y===h||e.setPosition(o,h),e.width===l&&e.height===d||e.setSize(l,d)}}}const _d=Phaser.GameObjects.Zone;let Rd=class extends _d{constructor(t){super(t,0,0,2,2),this.fullWindow=new Ed(this)}};var Ld=function(t,e,i,s){if(void 0===i&&(i="."),void 0===s&&(s={}),!t)return s;if(e in t)return Object.assign(s,t[e]);for(var r in e+=i,t)r.startsWith(e)&&(s[r.replace(e,"")]=t[r]);return s},Bd=function(){var t=this.scene.input.keyboard;this.textEdit.on("open",(function(){t.on("keydown-UP",this.cursorMoveUp,this).on("keydown-DOWN",this.cursorMoveDown,this)}),this).on("close",(function(){t.off("keydown-UP",this.cursorMoveUp,this).off("keydown-DOWN",this.cursorMoveDown,this)}),this)},Id=function(t,e,i){if(void 0===i&&(i={}),Array.isArray(e))for(var s=0,r=e.length;st.length?i:t})),a.value=t.join(e)}else a.value=t.join(i.slice(o,o+a.count));o+=a.count,a.added||(h+=a.count)}}let l=e[a-1];return a>1&&"string"==typeof l.value&&(l.added||l.removed)&&t.equals("",l.value)&&(e[a-2].value+=l.value,e.pop()),e}Fd.prototype={diff(t,e,i={}){let s=i.callback;"function"==typeof i&&(s=i,i={}),this.options=i;let r=this;function n(t){return s?(setTimeout((function(){s(void 0,t)}),0),!0):t}t=this.castInput(t),e=this.castInput(e),t=this.removeEmpty(this.tokenize(t));let a=(e=this.removeEmpty(this.tokenize(e))).length,o=t.length,h=1,l=a+o;i.maxEditLength&&(l=Math.min(l,i.maxEditLength));let d=[{newPos:-1,components:[]}],c=this.extractCommon(d[0],e,t,0);if(d[0].newPos+1>=a&&c+1>=o)return n([{value:this.join(e),count:e.length}]);function u(){for(let s=-1*h;s<=h;s+=2){let h,l=d[s-1],c=d[s+1],u=(c?c.newPos:0)-s;l&&(d[s-1]=void 0);let p=l&&l.newPos+1=a&&u+1>=o)return n(Xd(r,h.components,e,t,r.useLongestToken));d[s]=h}else d[s]=void 0}var i;h++}if(s)!function t(){setTimeout((function(){if(h>l)return s();u()||t()}),0)}();else for(;h<=l;){let t=u();if(t)return t}},pushComponent(t,e,i){let s=t[t.length-1];s&&s.added===e&&s.removed===i?t[t.length-1]={count:s.count+1,added:e,removed:i}:t.push({count:1,added:e,removed:i})},extractCommon(t,e,i,s){let r=e.length,n=i.length,a=t.newPos,o=a-s,h=0;for(;a+1t,tokenize:t=>t.split(""),join:t=>t.join("")};const Yd=new Fd,Wd=/^[a-zA-Z\u{C0}-\u{FF}\u{D8}-\u{F6}\u{F8}-\u{2C6}\u{2C8}-\u{2D7}\u{2DE}-\u{2FF}\u{1E00}-\u{1EFF}]+$/u,Vd=/\S/,Gd=new Fd;Gd.equals=function(t,e){return this.options.ignoreCase&&(t=t.toLowerCase(),e=e.toLowerCase()),t===e||this.options.ignoreWhitespace&&!Vd.test(t)&&!Vd.test(e)},Gd.tokenize=function(t){let e=t.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/);for(let t=0;tvoid 0===i?e:i}=this.options;return"string"==typeof t?t:JSON.stringify($d(t,null,null,i),i," ")},Nd.equals=function(t,e){return Fd.prototype.equals.call(Nd,t.replace(/,([\r\n])/g,"$1"),e.replace(/,([\r\n])/g,"$1"))};const Kd=new Fd;Kd.tokenize=function(t){return t.slice()},Kd.join=Kd.removeEmpty=function(t){return t};const Jd=Phaser.Utils.Array.Remove;var qd=function(t,e){var i=t.text;if(e!==i){if(null==i&&(i=""),Jd(t.children,t.lastInsertCursor),""===e)t.removeChildren();else for(var s=(h=i,l=e,Yd.diff(h,l,d)),r=0,n=0,a=s.length;nr)i+=a;else{if(s!==r)break;i+=Math.min(e.position,a)}}return i},ic={cursorMoveLeft(){if(!this.isOpened)return this;var t=Qd(this.cursorPosition-1,0,this.inputText.length);return this.setCursorPosition(t),this},cursorMoveRight(){if(!this.isOpened)return this;var t=Qd(this.cursorPosition+1,0,this.inputText.length);return this.setCursorPosition(t),this},cursorMoveUp(){if(!this.isOpened)return this;var t=tc(this.characterCountOfLines,this.cursorPosition);t.lineIndex-=1;var e=Qd(ec(this.characterCountOfLines,t),0,this.inputText.length);return this.setCursorPosition(e),this},cursorMoveDown(){if(!this.isOpened)return this;var t=tc(this.characterCountOfLines,this.cursorPosition);t.lineIndex+=1;var e=Qd(ec(this.characterCountOfLines,t),0,this.inputText.length);return this.setCursorPosition(e),this}};const sc=Phaser.Utils.Objects.IsPlainObject;class rc extends hn{constructor(t,e,i,s,r,n){sc(e)?n=e:sc(s)&&(n=s),void 0===n&&(n={}),function(t,e){var i=!e.textArea;if(Od(e,"wrap.vAlign")||P(e,"wrap.vAlign",s=i?"center":"top"),Od(e,"wrap.wrapMode")||P(e,"wrap.wrapMode","char"),Od(e,"wrap.maxLines")||P(e,"wrap.maxLines",s=i?1:void 0),i&&P(e,"wrap.wrapWidth",1/0),Od(e,"wrap.useDefaultTextHeight")||P(e,"wrap.useDefaultTextHeight",!0),e.edit||(e.edit={}),!Od(e.edit,"inputType")){var s=i?"text":"textarea";P(e.edit,"inputType",s)}if(!0===e.clickOutSideTarget){var r=new Rd(t);t.add.existing(r),e.clickOutSideTarget=r}}(t,n);var a=n.text;a&&delete n.text;var o=Ld(n.background,"focus"),h=Ld(n.style,"cursor"),l=Ld(n.style,"range");super(t,e,i,s,r,n),this.type="rexCanvasInput",this.contentWidth=void 0,this.contentHeight=void 0,this.lineHeight=void 0,this.linesCount=void 0,this.characterCountOfLines=[],this._text,this.textEdit=function(t,e){var i=Pd(e,"edit");return void 0===i&&(i={}),sd(e,i,Td),new Sd(t,i)}(this,n),Bd.call(this),n.focusStyle&&Object.assign(o,n.focusStyle),zd.call(this,o),n.cursorStyle&&Object.assign(h,n.cursorStyle),Ad.call(this,h),n.rangeStyle&&Object.assign(l,n.rangeStyle),gn(l)&&Object.assign(l,h),jd.call(this,l);var d=n.onAddChar;d&&this.on("addchar",d);var c=n.onCursorIn;c&&this.on("cursorin",c);var u=n.onCursorOut;u&&this.on("cursorout",u);var p=!n.onRangeIn&&!n.onRangeOut,g=p?n.onCursorIn:n.onRangeIn;g&&this.on("rangein",g);var v=p?n.onCursorOut:n.onRangeOut;v&&this.on("rangeout",v);var f,m=n.onMoveCursor;m&&this.on("movecursor",m),this.setParseTextCallback(n.parseTextCallback),this.lastInsertCursor=((f=this.createCharChild("|")).text="",f),a||(a=""),this.setText(a)}addChild(t,e){if(super.addChild(t,e),Array.isArray(t))for(var i=t,s=0,r=i.length;s0,a=0,o=e.length;a0;this.dirty=this.dirty||this._radiusTL!==t||this._convexTL!==e,this._convexTL=e,this._radiusTL=Math.abs(t)}get radiusTR(){return this._radiusTR}set radiusTR(t){var e=t>0;this.dirty=this.dirty||this._radiusTR!==t||this._convexTR!==e,this._convexTR=e,this._radiusTR=Math.abs(t)}get radiusBL(){return this._radiusBL}set radiusBL(t){var e=t>0;this.dirty=this.dirty||this._radiusBL!==t||this._convexBL!==e,this._convexBL=e,this._radiusBL=Math.abs(t)}get radiusBR(){return this._radiusBR}set radiusBR(t){var e=t>0;this.dirty=this.dirty||this._radiusBR!==t||this._convexBR!==e,this._convexBR=e,this._radiusBR=Math.abs(t)}get radius(){return Math.max(this.radiusTL,this.radiusTR,this.radiusBL,this.radiusBR)}set radius(t){"number"==typeof t?(this.radiusTL=t,this.radiusTR=t,this.radiusBL=t,this.radiusBR=t):(this.radiusTL=Jc(t,"tl",0),this.radiusTR=Jc(t,"tr",0),this.radiusBL=Jc(t,"bl",0),this.radiusBR=Jc(t,"br",0))}setRadius(t){return void 0===t&&(t=0),this.radius=t,this}get iterations(){return this._iterations}set iterations(t){this.dirty=this.dirty||this._iterations!==t,this._iterations=t}setIterations(t){return this.iterations=t,this}updateData(){var t=this.pathData;t.length=0;var e,i=this.width,s=this.height,r=this.iterations+1;return(e=this.radiusTL)>0?this._convexTL?Lt(e,e,e,e,180,270,!1,r,t):Lt(0,0,e,e,90,0,!0,r,t):_t(0,0,t),(e=this.radiusTR)>0?this._convexTR?Lt(i-e,e,e,e,270,360,!1,r,t):Lt(i,0,e,e,180,90,!0,r,t):_t(i,0,t),(e=this.radiusBR)>0?this._convexBR?Lt(i-e,s-e,e,e,0,90,!1,r,t):Lt(i,s,e,e,270,180,!0,r,t):_t(i,s,t),(e=this.radiusBL)>0?this._convexBL?Lt(e,s-e,e,e,90,180,!1,r,t):Lt(0,s,e,e,360,270,!0,r,t):_t(0,s,t),t.push(t[0],t[1]),Rc(this.x,this.y,t),super.updateData(),this}}const Zc=Phaser.Renderer.WebGL.Utils.getTintAppendFloatAlpha;var Qc={buildShapes(){this.addShape((new qc).setName("box")).addShape((new $c).setName("checker"))},updateShapes(){var t=this.width/2,e=this.height/2,i=Math.min(t,e),s=2*i,r=t-i,n=e-i,a=this.boxLineWidth,o=Math.max(s/10,2),h=this.getShape("box"),l=this.getShape("checker");if(this.isSizeChanged){var d=s*(1-this.boxSize)/2,c=a/2,u=s*this.boxSize-a;h.setTopLeftPosition(r+c+d,n+c+d).setSize(u,u),this.isCircleShape?h.setRadius(u/2):h.setRadius(0),d=s*(1-this.checkerSize)/2;var p=s*this.checkerSize/4,g=1*p,v=2*p,f=3*p;l.startAt(g,v).lineTo(v,f).lineTo(f,g).offset(r+d,n+d).end()}this.checked?(h.fillStyle(this.boxFillColor,this.boxFillAlpha).lineStyle(a,this.boxStrokeColor,this.boxStrokeAlpha),l.lineStyle(o,this.checkerColor)):(h.fillStyle(this.uncheckedBoxFillColor,this.uncheckedBoxFillAlpha).lineStyle(a,this.uncheckedBoxStrokeColor,this.uncheckedBoxStrokeAlpha),l.lineStyle()),this.checked&&l.setDisplayPathSegment(this.checkerAnimProgress)}};const tu=Phaser.Utils.Objects.GetValue,eu=Phaser.Math.Linear;class iu extends qa{constructor(t,e){super(t,e),this.resetFromJSON(),this.boot()}start(t){if(this.timer.isRunning)return this;var e=this.target;this.propertyKey=tu(t,"key","value");var i=e[this.propertyKey];return this.fromValue=tu(t,"from",i),this.toValue=tu(t,"to",i),this.setEase(tu(t,"ease",this.ease)),this.setDuration(tu(t,"duration",this.duration)),this.setRepeat(tu(t,"repeat",0)),this.setDelay(tu(t,"delay",0)),this.setRepeatDelay(tu(t,"repeatDelay",0)),this.timer.setDuration(this.duration).setRepeat(this.repeat).setDelay(this.delay).setRepeatDelay(this.repeatDelay),e[this.propertyKey]=this.fromValue,super.start(),this}updateTarget(t,e){var i=e.t;i=this.easeFn(i),t[this.propertyKey]=eu(this.fromValue,this.toValue,i)}}var su={setCheckerAnimationDuration(t){return void 0===t&&(t=0),this.checkerAnimDuration=t,this},playCheckerAnimation(){return void 0===this.checkerAnimProgressTask&&(this.checkerAnimProgressTask=new iu(this,{eventEmitter:null})),this.checkerAnimProgressTask.restart({key:"checkerAnimProgress",from:0,to:1,duration:this.checkerAnimDuration}),this},stopCheckerAnimation(){return void 0===this.checkerAnimProgressTask||this.checkerAnimProgressTask.stop(),this}},ru={};Object.assign(ru,fc,mc,Qc,su);const nu=23730,au=Phaser.Utils.Objects.GetValue,ou=Phaser.Utils.Objects.IsPlainObject;class hu extends vc{constructor(t,e,i,s,r,n,a){ou(e)?(e=au(a=e,"x",0),i=au(a,"y",0),s=au(a,"width",2),r=au(a,"height",2),n=au(a,"color",nu)):ou(n)&&(n=au(a=n,"color",nu)),super(t,e,i,s,r),this.type="rexCheckbox",void 0===n&&(n=nu),this.setBoxShape(au(a,"circleBox",!1)),this.setBoxFillStyle(n,au(a,"boxFillAlpha",1)),this.setUncheckedBoxFillStyle(au(a,"uncheckedColor",null),au(a,"uncheckedBoxFillAlpha",1)),this.setBoxStrokeStyle(au(a,"boxLineWidth",4),au(a,"boxStrokeColor",n),au(a,"boxStrokeAlpha",1)),this.setUncheckedBoxStrokeStyle(this.boxLineWidth,au(a,"uncheckedBoxStrokeColor",this.boxStrokeColor),au(a,"uncheckedBoxStrokeAlpha",this.boxStrokeAlpha)),this.setCheckerStyle(au(a,"checkerColor",16777215),au(a,"checkerAlpha",1)),this.setBoxSize(au(a,"boxSize",1)),this.setCheckerSize(au(a,"checkerSize",1)),this.setCheckerAnimationDuration(au(a,"animationDuration",150)),this.buildShapes();var o=au(a,"checked");void 0===o&&(o=au(a,"value",!1)),this.setValue(o)}get value(){return this._value}set value(t){t=!!t,this._value!==t&&(this.dirty=!0,this._value=t,t?this.playCheckerAnimation():this.stopCheckerAnimation(),this.emit("valuechange",t))}setValue(t){return this.value=t,this}toggleValue(){return this.setValue(!this.value),this}get checked(){return this.value}set checked(t){this.value=t}setChecked(t){return void 0===t&&(t=!0),this.setValue(t),this}toggleChecked(){return this.toggleValue(),this}get checkerAnimProgress(){return this._checkerAnimProgress}set checkerAnimProgress(t){this._checkerAnimProgress!==t&&(this._checkerAnimProgress=t,this.dirty=!0)}}Object.assign(hu.prototype,ru);const lu=Phaser.Utils.Objects.GetValue;class du extends La{constructor(t,e){super(t,e),this._enable=void 0,t.setInteractive(lu(e,"inputConfig",void 0)),this.resetFromJSON(e),this.boot()}resetFromJSON(t){return this.pointer=void 0,this.lastClickTime=void 0,this.isDown=!1,this.isOver=!1,this.setEnable(lu(t,"enable",!0)),this.setMode(lu(t,"mode",1)),this.setClickInterval(lu(t,"clickInterval",100)),this.setDragThreshold(lu(t,"threshold",void 0)),this}boot(){var t=this.parent;t.on("pointerdown",this.onPress,this),t.on("pointerup",this.onRelease,this),t.on("pointerout",this.onPointOut,this),t.on("pointermove",this.onMove,this),t.on("pointerover",this.onOver,this),t.on("pointerout",this.onOut,this)}shutdown(t){this.isShutdown||(this.pointer=null,super.shutdown(t))}get enable(){return this._enable}set enable(t){if(this._enable!==t){t||this.cancel(),this._enable=t;var e=t?"enable":"disable";this.emit(e,this,this.parent)}}setEnable(t){return void 0===t&&(t=!0),this.enable=t,this}toggleEnable(){return this.setEnable(!this.enable),this}setMode(t){return"string"==typeof t&&(t=cu[t]),this.mode=t,this}setClickInterval(t){return this.clickInterval=t,this}setDragThreshold(t){return this.dragThreshold=t,this}onPress(t,e,i,s){void 0===this.pointer&&(this.pointer=t,this.isDown=!0,this.emit("down",this,this.parent,t,s),0===this.mode&&this.click(t.downTime,t,s))}onRelease(t,e,i,s){this.pointer===t&&(this.isDown=!1,this.emit("up",this,this.parent,t,s),1===this.mode&&this.click(t.upTime,t,s),this.pointer=void 0)}onPointOut(t,e){this.pointer===t&&this.cancel()}onMove(t,e,i,s){this.pointer===t&&void 0!==this.dragThreshold&&1===this.mode&&t.getDistance()>=this.dragThreshold&&this.cancel()}onOver(t,e,i,s){return this.enable?(this.isOver=!0,this.emit("over",this,this.parent,t,s),this):this}onOut(t,e){return this.enable?(this.isOver=!1,this.emit("out",this,this.parent,t,e),this):this}click(t,e,i){if(!this.enable)return this;if(void 0===t)return this.emit("click",this,this.parent,e,i),this;this.pointer=void 0;var s=this.lastClickTime;return void 0!==s&&t-s<=this.clickInterval||(this.lastClickTime=t,this.emit("click",this,this.parent,e,i)),this}cancel(){return this.pointer=void 0,this}}const cu={press:0,pointerdown:0,release:1,pointerup:1},uu=Phaser.Utils.Objects.GetValue,pu=Phaser.Utils.Objects.IsPlainObject;class gu extends hu{constructor(t,e,i,s,r,n,a){pu(e)?(e=uu(a=e,"x",0),i=uu(a,"y",0),s=uu(a,"width",2),r=uu(a,"height",2),n=uu(a,"color",nu)):pu(n)&&(n=uu(a=n,"color",nu)),super(t,e,i,s,r,n,a),this._click=new du(this,uu(a,"click")),this._click.on("click",(function(){this.toggleValue()}),this),this.setReadOnly(uu(a,"readOnly",!1))}get readOnly(){return!this._click.enable}set readOnly(t){this._click.enable=!t}setReadOnly(t){return void 0===t&&(t=!0),this.readOnly=t,this}}t.register("checkbox",(function(t,e,i,s,r,n){var a=new gu(this.scene,t,e,i,s,r,n);return this.scene.add.existing(a),a})),P(window,"RexPlugins.UI.Checkbox",gu);var vu={setTrackFillStyle(t,e){return void 0===e&&(e=1),this.dirty=this.dirty||this.trackFillColor!==t||this.trackFillAlpha!==e,this.trackFillColor=t,this.trackFillAlpha=e,this},setFalseValueTrackFillStyle(t,e){return void 0===e&&(e=1),this.dirty=this.dirty||this.falseValueTrackColor!==t||this.uncheckedTrackFillAlpha!==e,this.falseValueTrackColor=t,this.falseValueTrackFillAlpha=e,this},setThumbStyle(t,e){return void 0===e&&(e=1),this.dirty=this.dirty||this.thumbColor!==t||this.checkAlpha!==e,this.thumbColor=t,this.thumbAlpha=e,this}},fu={setTrackSize(t,e){return this.dirty=this.dirty||this.trackWidth!==t||this.trackHeight!==e,this.trackWidth=t,this.trackHeight=e,this},setTrackRadius(t){return this.dirty=this.dirty||this.trackRadius!==t,this.trackRadius=t,this},setThumbSize(t,e){return void 0===e&&(e=t),this.dirty=this.dirty||this.thumbWidth!==t||this.thumbHeight!==e,this.thumbWidth=t,this.thumbHeight=e,this},setThumbRadius(t){return this.dirty=this.dirty||this.thumbRadius!==t,this.thumbRadius=t,this}},mu={setThumbPosition(t,e){return void 0===e&&(e=1-t),this.thumbLeftX=t,this.thumbRightX=e,this},setRTL(t){return void 0===t&&(t=!0),this.rtl=t,this}},yu=function(t,e,i){return(e-t)*i+t};const bu=Phaser.Math.Linear;var xu={buildShapes(){this.addShape((new qc).setName("track")).addShape((new qc).setName("thumb"))},updateShapes(){var t=this.width,e=this.height,i=this.value?this.toggleAnimProgress:1-this.toggleAnimProgress,s=this.getShape("track");if(this.isSizeChanged){var r=t*this.trackWidth,n=e*this.trackHeight,a=(t-r)/2,o=(e-n)/2,h=e*this.trackRadius;s.setTopLeftPosition(a,o).setSize(r,n).setRadius(h)}var l,d,c,u=(l=this.falseValueTrackColor,d=this.trackFillColor,c=i,(255&yu(mn(l),mn(d),c))<<16|(255&yu(yn(l),yn(d),c))<<8|255&yu(bn(l),bn(d),c)),p=bu(this.falseValueTrackFillAlpha,this.trackFillAlpha,i);s.fillStyle(u,p);var g=this.getShape("thumb");if(this.isSizeChanged){var v=t*this.thumbWidth,f=e*this.thumbHeight,m=e*this.thumbRadius;g.setSize(v,f).setRadius(m)}var y=bu(this.thumbLeftX,this.thumbRightX,i)*t;this.rtl&&(y=t-y);var b=e/2;g.setCenterPosition(y,b),g.fillStyle(this.thumbColor,this.thumbAlpha)}},Cu={setToggleAnimationDuration(t){return void 0===t&&(t=0),this.toggleAnimDuration=t,this},playToggleAnimation(){return void 0===this.toggleAnimProgressTask&&(this.toggleAnimProgressTask=new iu(this,{eventEmitter:null})),this.toggleAnimProgressTask.restart({key:"toggleAnimProgress",from:0,to:1,duration:this.toggleAnimDuration}),this},stopToggleAnimation(){return void 0===this.toggleAnimProgressTask||this.toggleAnimProgressTask.stop(),this}},ku={};Object.assign(ku,vu,fu,mu,xu,Cu);const wu=Phaser.Utils.Objects.GetValue,Su=Phaser.Utils.Objects.IsPlainObject,Pu=23730;class Tu extends vc{constructor(t,e,i,s,r,n,a){Su(e)?(e=wu(a=e,"x",0),i=wu(a,"y",0),s=wu(a,"width",2),r=wu(a,"height",2),n=wu(a,"color",Pu)):Su(n)&&(n=wu(a=n,"color",Pu)),super(t,e,i,s,r),this.type="rexToggleSwitch",void 0===n&&(n=Pu),this.setTrackFillStyle(n,wu(a,"trackFillAlpha",1)),this.setFalseValueTrackFillStyle(wu(a,"falseValueTrackColor",function(t){var e=.3*mn(t)+.59*yn(t)+.11*bn(t);return(255&e)<<16|(255&e)<<8|255&e}(n)),wu(a,"falseValueTrackFillAlpha",1)),this.setThumbStyle(wu(a,"thumbColor",16777215),wu(a,"thumbAlpha",1)),this.setTrackSize(wu(a,"trackWidth",.9),wu(a,"trackHeight",.5)),this.setTrackRadius(wu(a,"trackRadius",.5*this.trackHeight));var o=wu(a,"thumbHeight",void 0),h=wu(a,"thumbWidth",o);void 0===h&&(h=.9*this.trackHeight),this.setThumbSize(h,o),this.setThumbRadius(wu(a,"thumbRadius",.5*this.thumbHeight)),this.setThumbPosition(wu(a,"thumbLeft",.3),wu(a,"thumbRight",void 0)),this.setRTL(wu(a,"rtl",!1)),this.setToggleAnimationDuration(wu(a,"animationDuration",150)),this.buildShapes(),this.setValue(wu(a,"value",!1),0)}get value(){return this._value}set value(t){t=!!t,this._value!==t&&(this.dirty=!0,this._value=t,this.playToggleAnimation(),this.emit("valuechange",t))}setValue(t,e){void 0===e&&(e=this.toggleAnimDuration);var i=this.toggleAnimDuration;return this.toggleAnimDuration=e,this.value=t,this.toggleAnimDuration=i,this}toggleValue(t){return this.setValue(!this.value,t),this}get toggleAnimProgress(){return this._toggleAnimProgress}set toggleAnimProgress(t){this._toggleAnimProgress!==t&&(this._toggleAnimProgress=t,this.dirty=!0)}}Object.assign(Tu.prototype,ku);const Ou=Phaser.Utils.Objects.GetValue;class Mu extends Tu{constructor(t,e,i,s,r,n,a){super(t,e,i,s,r,n,a),this._click=new du(this,Ou(a,"click")),this._click.on("click",(function(){this.toggleValue()}),this),this.setReadOnly(Ou(a,"readOnly",!1))}get readOnly(){return!this._click.enable}set readOnly(t){this._click.enable=!t}setReadOnly(t){return void 0===t&&(t=!0),this.readOnly=t,this}}t.register("toggleSwitch",(function(t,e,i,s,r,n){var a=new Mu(this.scene,t,e,i,s,r,n);return this.scene.add.existing(a),a})),P(window,"RexPlugins.UI.ToggleSwitch",Mu);var Eu={loadFromURL(t,e){var i=this,s=new Image;return s.onload=function(){i.width!==s.width||i.height!==s.height?i.resize(s.width,s.height):i.clear(),i.context.drawImage(s,0,0),i.updateTexture(),e&&e(),s.onload=null,s.src="",s.remove()},s.src=t,this},loadFromURLPromise(t){var e=this;return new Promise((function(i,s){e.loadFromURL(t,i)}))},loadFromFile(t,e){var i=URL.createObjectURL(t);return this.loadFromURL(i,(function(){URL.revokeObjectURL(i),e&&e()})),this},loadFromFilePromise(t){var e=this;return new Promise((function(i,s){e.loadFromFile(t,i)}))}};class _u extends Nt{}Object.assign(_u.prototype,Eu),t.register("canvas",(function(t,e,i,s){var r=new _u(this.scene,t,e,i,s);return this.scene.add.existing(r),r})),P(window,"RexPlugins.UI.Canvas",_u);const Ru=Phaser.Utils.Objects.GetValue;class Lu extends Nt{constructor(t,e,i,s,r,n){super(t,e,i),this.type="rexCircleMaskImage",this.setTexture(s,r,n)}setTexture(t,e,i){"object"==typeof e&&(i=e,e=void 0),"string"==typeof i&&(i={maskType:i});var s=Ru(i,"maskType",0),r=Ru(i,"backgroundColor",void 0),n=Ru(i,"strokeColor",void 0),a=Ru(i,"strokeWidth",null!=n?10:0);if(void 0===s?s=0:"string"==typeof s&&(s=Bu[s]),this._textureKey=t,this._frameName=e,null===s)return this.loadTexture(t,e),this.dirty=!0,this;var o=this.scene.sys.textures.getFrame(t,e);if(!o)return this;o.cutWidth!==this.width||o.cutHeight!==this.height?this.setCanvasSize(o.cutWidth,o.cutHeight):this.clear();var h=this.canvas,l=this.context,d=h.width,c=h.height;null!=r&&(l.fillStyle=r,l.fillRect(0,0,d,c)),l.save(),l.beginPath();var u=a/2;switch(s){case 1:var p=(m=Math.floor(d/2))-u,g=(y=Math.floor(c/2))-u;l.ellipse(m,y,p,g,0,0,2*Math.PI);break;case 2:var v=Ru(i,"radius",0),f=Ru(i,"iteration",void 0);Zt(l,u,u,d-a,c-a,v,f);break;default:var m=Math.floor(d/2),y=Math.floor(c/2),b=Math.min(m,y)-u;l.arc(m,y,b,0,2*Math.PI)}return null!=n&&(l.strokeStyle=n,l.lineWidth=a,l.stroke()),l.clip(),this.loadTexture(t,e),l.restore(),this.dirty=!0,this}resize(t,e){return this.setDisplaySize(t,e),this}}const Bu={circle:0,ellipse:1,roundRectangle:2};t.register("circleMaskImage",(function(t,e,i,s,r){var n=new Lu(this.scene,t,e,i,s,r);return this.scene.add.existing(n),n})),P(window,"RexPlugins.UI.CircleMaskImage",Lu);const Iu=Phaser.Utils.Objects.GetValue;class Du extends Nt{constructor(t,e,i,s,r,n){super(t,e,i),this.type="rexAlphaMaskImage",this.maskFrame=null,this.setTexture(s,r,n)}setTexture(t,e,i){"object"==typeof e&&(i=e,e=void 0),"string"==typeof i&&(i={mask:{key:i}});var s=Iu(i,"mask.key"),r=Iu(i,"mask.frame"),n=Iu(i,"mask.invertAlpha",!1),a=Iu(i,"mask.scale"),o=Iu(i,"backgroundColor");if(s){this._maskKey=s,this._maskFrame=r,this._maskScale=a;var h=s?this.scene.sys.textures.get(s):null;this.maskFrame=h?h.get(r):null}this._textureKey=t,this._frameName=e;var l=this.maskFrame;if(null===l)return this.loadTexture(t,e),this.dirty=!0,this;var d=null!=o;this.loadTexture(t,e);var c,u,p=this.canvas,g=this.context,v=p.width,f=p.height;g.save(),g.globalCompositeOperation=n?"destination-out":"destination-in",null!=this._maskScale?(c=l.cutWidth*this._maskScale,u=l.cutHeight*this._maskScale):(c=v,u=f);var m=(v-c)/2,y=(f-u)/2;return this.drawFrame(this._maskKey,this._maskFrame,m,y,c,u),g.restore(),d&&(g.save(),g.globalCompositeOperation="destination-over",g.fillStyle=o,g.fillRect(0,0,v,f),g.restore()),this.dirty=!0,this}resize(t,e){return this.setDisplaySize(t,e),this}}t.register("alphaMaskImage",(function(t,e,i,s,r){var n=new Du(this.scene,t,e,i,s,r);return this.scene.add.existing(n),n})),P(window,"RexPlugins.UI.AlphaMaskImage",Du);const Au=Phaser.Math.Linear,ju=Phaser.Math.Percent;var zu={setValue(t,e,i){return null==t||(void 0!==e&&(t=ju(t,e,i)),this.value=t),this},addValue(t,e,i){return void 0!==e&&(t=ju(t,e,i)),this.value+=t,this},getValue(t,e){var i=this.value;return void 0!==t&&(i=Au(t,e,i)),i}};const Fu=Phaser.Math.Percent;var Xu={setEaseValuePropName:function(t){return this.easeValuePropName=t,this},setEaseValueDuration:function(t){return this.easeValueDuration=t,this},setEaseValueFunction:function(t){return this.easeFunction=t,this},stopEaseValue:function(){return this.easeValueTask&&this.easeValueTask.stop(),this},easeValueTo:function(t,e,i){return null==t||(void 0!==e&&(t=Fu(t,e,i)),void 0===this.easeValueTask&&(this.easeValueTask=new iu(this,{eventEmitter:null})),this.easeValueTask.restart({key:this.easeValuePropName,to:t,duration:this.easeValueDuration,ease:this.easeFunction})),this},easeValueRepeat:function(t,e,i,s){return void 0===i&&(i=-1),void 0===s&&(s=0),void 0===this.easeValueTask&&(this.easeValueTask=new iu(this,{eventEmitter:null})),this.easeValueTask.restart({key:this.easeValuePropName,from:t,to:e,duration:this.easeValueDuration,ease:this.easeFunction,repeat:i,repeatDelay:s}),this}};const Yu=Phaser.Utils.Objects.GetValue,Wu=Phaser.Math.Clamp;function Vu(t){class e extends t{bootProgressBase(t){this.eventEmitter=Yu(t,"eventEmitter",this);var e=Yu(t,"valuechangeCallback",null);if(null!==e){var i=Yu(t,"valuechangeCallbackScope",void 0);this.eventEmitter.on("valuechange",e,i)}return this.setEaseValuePropName("value").setEaseValueDuration(Yu(t,"easeValue.duration",0)).setEaseValueFunction(Yu(t,"easeValue.ease","Linear")),this}get value(){return this._value}set value(t){t=Wu(t,0,1);var e=this._value,i=e!=t;this.dirty=this.dirty||i,this._value=t,i&&this.eventEmitter.emit("valuechange",this._value,e,this.eventEmitter)}}return Object.assign(e.prototype,zu,Xu),e}const Gu=Phaser.Math.RadToDeg,Hu=Phaser.Math.DegToRad;var Uu=function(t,e,i,s,r,n,a,o){var h=360===Math.abs(a-n),l=Hu(n),d=Hu(a),c=Math.cos(l),u=Math.sin(l),p=Math.cos(d),g=Math.sin(d);return t.startAt(e+c*s,i+u*s),t.arc(e,i,s,n,a,o),h&&0===r||(t.lineTo(e+p*r,i+g*r),r>0&&t.arc(e,i,r,a,n,!o)),t.close(),t},Nu={buildShapes(){var t=this.iterations;this.addShape((new $c).setIterations(t).setName("track")).addShape((new $c).setIterations(t).setName("bar")).addShape((new Sc).setIterations(t).setName("center"))},updateShapes(){var t=this.radius,e=this.thickness*this.radius,i=this.radius,s=i-e,r=this.getShape("track");null!=this.trackColor&&this.thickness>0?(r.fillStyle(this.trackColor),Uu(r,t,t,i,s,0,360,!1)):r.reset();var n,a,o,h=this.getShape("bar");null!=this.barColor&&this.thickness>0?(1===this.value?(n=!1,a=0,o=360):(n=this.anticlockwise,a=Gu(this.startAngle),o=360*(n?1-this.value:this.value)+a),h.fillStyle(this.barColor),Uu(h,t,t,i+1,s-1,a,o,!1)):h.reset();var l=this.getShape("center");this.centerColor&&s>0?l.setCenterPosition(t,t).setRadius(s).fillStyle(this.centerColor):l.reset()}};const $u=Phaser.Utils.Objects.GetValue,Ku=Phaser.Utils.Objects.IsPlainObject,Ju=Phaser.Math.Clamp,qu=Phaser.Math.DegToRad(270);let Zu=class extends(Vu(vc)){constructor(t,e,i,s,r,n,a){Ku(e)&&(e=$u(a=e,"x",0),i=$u(a,"y",0),s=$u(a,"radius",1),r=$u(a,"barColor",void 0),n=$u(a,"value",0)),void 0===s&&(s=1);var o=2*s;super(t,e,i,o,o),this.type="rexCircularProgress",this.bootProgressBase(a),this.setRadius(s),this.setTrackColor($u(a,"trackColor",void 0)),this.setBarColor(r),this.setCenterColor($u(a,"centerColor",void 0)),this.setThickness($u(a,"thickness",.2)),this.setStartAngle($u(a,"startAngle",qu)),this.setAnticlockwise($u(a,"anticlockwise",!1)),this.iterations=$u(a,"iterations",128),this.buildShapes(),this.setValue(n)}resize(t,e){return(t=Math.floor(Math.min(t,e)))===this.width||(super.resize(t,t),this.setRadius(t/2)),this}get radius(){return this._radius}set radius(t){this.dirty=this.dirty||this._radius!=t,this._radius=t;var e=2*t;this.resize(e,e)}setRadius(t){return this.radius=t,this}get trackColor(){return this._trackColor}set trackColor(t){this.dirty=this.dirty||this._trackColor!=t,this._trackColor=t}setTrackColor(t){return this.trackColor=t,this}get barColor(){return this._barColor}set barColor(t){this.dirty=this.dirty||this._barColor!=t,this._barColor=t}setBarColor(t){return this.barColor=t,this}get startAngle(){return this._startAngle}set startAngle(t){this.dirty=this.dirty||this._startAngle!=t,this._startAngle=t}setStartAngle(t){return this.startAngle=t,this}get anticlockwise(){return this._anticlockwise}set anticlockwise(t){this.dirty=this.dirty||this._anticlockwise!=t,this._anticlockwise=t}setAnticlockwise(t){return void 0===t&&(t=!0),this.anticlockwise=t,this}get thickness(){return this._thickness}set thickness(t){t=Ju(t,0,1),this.dirty=this.dirty||this._thickness!=t,this._thickness=t}setThickness(t){return this.thickness=t,this}get centerColor(){return this._centerColor}set centerColor(t){this.dirty=this.dirty||this._centerColor!=t,this._centerColor=t}setCenterColor(t){return this.centerColor=t,this}};Object.assign(Zu.prototype,Nu),t.register("circularProgress",(function(t,e,i,s,r,n){var a=new Zu(this.scene,t,e,i,s,r,n);return this.scene.add.existing(a),a})),P(window,"RexPlugins.UI.CircularProgress",Zu);var Qu=function(t,e,i,s,r,n,a,o,h,l,d,c){void 0===l&&(l=0),void 0===d&&(d=2*Math.PI),void 0===c&&(c=!1),e.beginPath(),e.ellipse(i,s,r,n,0,l,d,c),null!=a&&(e.fillStyle=a,e.fill()),null!=o&&(e.strokeStyle=o,e.lineWidth=h,e.stroke())};const tp=Phaser.Math.PI2;var ep=function(){var t,e=this.radius,i=this.thickness*this.radius,s=this.radius-i/2,r=this.radius-i,n=(this.canvas,this.context),a=this.anticlockwise,o=this.startAngle,h=this.endAngle,l=this._deltaAngle;if(this.trackColor&&i>0&&(n.save(),Qu(0,n,e,e,s,s,void 0,this.trackColor,i,o,h,a),n.restore()),this.barColor&&s>0){var d,c;if(d=this.value>=1?h:a?(o-l*this.value+tp)%tp:(o+l*this.value)%tp,n.save(),this.barColor2){var u=e+s*Math.cos(o),p=e+s*Math.sin(o),g=e+s*Math.cos(d),v=e+s*Math.sin(d),f=n.createLinearGradient(u,p,g,v);f.addColorStop(0,this.barColor2),f.addColorStop(1,this.barColor),c=f}else c=this.barColor;Qu(0,n,e,e,s,s,void 0,c,i,o,d,a),n.restore()}this.centerColor&&r>0&&(this.centerColor2?((t=this.context.createRadialGradient(e,e,0,e,e,r)).addColorStop(0,this.centerColor),t.addColorStop(1,this.centerColor2)):t=this.centerColor,n.save(),Qu(0,n,e,e,r,r,t),n.restore()),this.textFormatCallback&&(this.textColor||this.textStrokeColor)&&(n.save(),function(t,e,i,s,r,n,a,o,h,l,d){void 0===h&&null!=o&&(h=2),void 0===l&&(l="start"),void 0===d&&(d="alphabetic"),e.font=n,e.textAlign=l,e.textBaseline=d,e.fillStyle=a,e.strokeStyle=o,e.lineWidth=h,e.lineCap="round",e.lineJoin="round",null!=o&&"none"!==o&&h>0&&e.strokeText(r,i,s),null!=a&&"none"!==a&&e.fillText(r,i,s)}(0,n,e,e,this.getFormatText(),this.textFont,this.textColor,this.textStrokeColor,this.textStrokeThickness,"center","middle"),n.restore())};const ip=Phaser.Utils.Objects.GetValue,sp=Phaser.Utils.Objects.IsPlainObject,rp=Phaser.Math.Clamp,np=Phaser.Math.DegToRad(270),ap=Phaser.Math.PI2;class op extends(Vu(Nt)){constructor(t,e,i,s,r,n,a){sp(e)&&(e=ip(a=e,"x",0),i=ip(a,"y",0),s=ip(a,"radius",1),r=ip(a,"barColor",void 0),n=ip(a,"value",0));var o=2*s;super(t,e,i,o,o,ip(a,"resolution",1)),this.type="rexCircularProgressCanvas",this.bootProgressBase(a),this.setRadius(s),this.setTrackColor(ip(a,"trackColor",void 0)),this.setBarColor(r),this.setBarColor2(ip(a,"barColor2",void 0)),this.setCenterColor(ip(a,"centerColor",void 0)),this.setThickness(ip(a,"thickness",.2)),this.setStartAngle(ip(a,"startAngle",np)),this.setEndAngle(ip(a,"endAngle",this.startAngle+ap)),this.setAnticlockwise(ip(a,"anticlockwise",!1)),this.setTextColor(ip(a,"textColor",void 0)),this.setTextStrokeColor(ip(a,"textStrokeColor",void 0),ip(a,"textStrokeThickness",void 0));var h=ip(a,"textFont",void 0);h?this.setTextFont(h):this.setTextFont(ip(a,"textSize","16px"),ip(a,"textFamily","Courier"),ip(a,"textStyle","")),this.setTextFormatCallback(ip(a,"textFormatCallback",void 0),ip(a,"textFormatCallbackScope",void 0)),this.setValue(n)}resize(t,e){return(t=Math.floor(Math.min(t,e)))===this.width||(super.resize(t,t),this.setRadius(t/2)),this}get radius(){return this._radius}set radius(t){this.dirty=this.dirty||this._radius!=t,this._radius=t;var e=2*t;this.resize(e,e)}setRadius(t){return this.radius=t,this}get trackColor(){return this._trackColor}set trackColor(t){t=Jt(t,this.canvas,this.context),this.dirty=this.dirty||this._trackColor!=t,this._trackColor=t}setTrackColor(t){return this.trackColor=t,this}get barColor(){return this._barColor}set barColor(t){t=Jt(t,this.canvas,this.context),this.dirty=this.dirty||this._barColor!=t,this._barColor=t}setBarColor(t){return this.barColor=t,this}get barColor2(){return this._barColor2}set barColor2(t){t=Jt(t,this.canvas,this.context),this.dirty=this.dirty||this._barColor2!=t,this._barColor2=t}setBarColor2(t){return this.barColor2=t,this}get startAngle(){return this._startAngle}set startAngle(t){this.dirty=this.dirty||this._startAngle!=t,this._startAngle=t,this._deltaAngle=hp(this._startAngle,this._endAngle,this._anticlockwise)}setStartAngle(t){return this.startAngle=t,this}get endAngle(){return this._endAngle}set endAngle(t){this.dirty=this.dirty||this._endAngle!=t,this._endAngle=t,this._deltaAngle=hp(this._startAngle,this._endAngle,this._anticlockwise)}setEndAngle(t){return this.endAngle=t,this}get anticlockwise(){return this._anticlockwise}set anticlockwise(t){this.dirty=this.dirty||this._anticlockwise!=t,this._anticlockwise=t,this._deltaAngle=hp(this._startAngle,this._endAngle,this._anticlockwise)}setAnticlockwise(t){return void 0===t&&(t=!0),this.anticlockwise=t,this}get thickness(){return this._thickness}set thickness(t){t=rp(t,0,1),this.dirty=this.dirty||this._thickness!=t,this._thickness=t}setThickness(t){return this.thickness=t,this}get centerColor(){return this._centerColor}set centerColor(t){t=Jt(t,this.canvas,this.context),this.dirty=this.dirty||this._centerColor!=t,this._centerColor=t}get centerColor2(){return this._centerColor2}set centerColor2(t){t=Jt(t,this.canvas,this.context),this.dirty=this.dirty||this._centerColor2!=t,this._centerColor2=t}setCenterColor(t,e){return this.centerColor=t,this.centerColor2=e,this}get textColor(){return this._textColor}set textColor(t){t=Jt(t,this.canvas,this.context),this.dirty=this.dirty||this._textColor!=t,this._textColor=t}setTextColor(t){return this.textColor=t,this}get textStrokeColor(){return this._textStrokeColor}set textStrokeColor(t){t=Jt(t,this.canvas,this.context),this.dirty=this.dirty||this._textStrokeColor!=t,this._textStrokeColor=t}get textStrokeThickness(){return this._textStrokeThickness}set textStrokeThickness(t){this.dirty=this.dirty||this._textStrokeThickness!=t,this._textStrokeThickness=t}setTextStrokeColor(t,e){return void 0===e&&(e=2),this.textStrokeColor=t,this.textStrokeThickness=e,this}get textFont(){return this._textFont}set textFont(t){this.dirty=this.dirty||this._textFont!=t,this._textFont=t}setTextFont(t,e,i){var s;return s=void 0===e?t:i+" "+t+" "+e,this.textFont=s,this}setTextFormatCallback(t,e){return this.textFormatCallback=t,this.textFormatCallbackScope=e,this}updateTexture(){return super.updateTexture((function(){this.clear(),ep.call(this)}),this),this}getFormatText(t){return void 0===t&&(t=this.value),this.textFormatCallbackScope?this.textFormatCallback(t):this.textFormatCallback.call(this.textFormatCallbackScope,t)}}var hp=function(t,e,i){return i?t<=e?ap+t-e:t-e:t>=e?ap+e-t:e-t};t.register("circularProgressCanvas",(function(t,e,i,s,r,n){var a=new op(this.scene,t,e,i,s,r,n);return this.scene.add.existing(a),a})),P(window,"RexPlugins.UI.CircularProgressCanvas",op);var lp=function(t,e,i,s,r,n){var a=(e+s)/2;return n>=0?t.startAt(a+n,i).lineTo(s+n,i).lineTo(s,r).lineTo(e,r).lineTo(e+n,i).lineTo(a+n,i):t.startAt(a,i).lineTo(s,i).lineTo(s-n,r).lineTo(e-n,r).lineTo(e,i).lineTo(a,i),t.close(),t};const dp=Phaser.Utils.Objects.GetValue,cp=Phaser.Utils.Objects.IsPlainObject;let up=class extends(Vu(vc)){constructor(t,e,i,s,r,n,a,o){cp(e)?(e=(o=e).x,i=o.y,s=o.width,r=o.height,n=o.barColor,a=o.value):cp(s)?(s=(o=s).width,r=o.height,n=o.barColor,a=o.value):cp(n)&&(n=(o=n).barColor,a=o.value),void 0===e&&(e=0),void 0===i&&(i=0),void 0===s&&(s=2),void 0===r&&(r=s),void 0===a&&(a=0),super(t,e,i,s,r,o),this.type="rexLineProgress",this.bootProgressBase(o),this.addShape((new $c).setName("trackFill")).addShape((new $c).setName("bar")).addShape((new $c).setName("trackStroke")),this.setTrackColor(dp(o,"trackColor",void 0)),this.setBarColor(n),this.setTrackStroke(dp(o,"trackStrokeThickness",2),dp(o,"trackStrokeColor",void 0)),this.setSkewX(dp(o,"skewX",0)),this.setRTL(dp(o,"rtl",!1)),this.setValue(a)}get trackColor(){return this._trackColor}set trackColor(t){this.dirty=this.dirty||this._trackColor!=t,this._trackColor=t}setTrackColor(t){return this.trackColor=t,this}get trackStrokeColor(){return this._trackStrokeColor}set trackStrokeColor(t){this.dirty=this.dirty||this._trackStrokeColor!=t,this._trackStrokeColor=t}get trackStrokeThickness(){return this._trackStrokeThickness}set trackStrokeThickness(t){this.dirty=this.dirty||this._trackStrokeThickness!=t,this._trackStrokeThickness=t}setTrackStroke(t,e){return this.trackStrokeThickness=t,this.trackStrokeColor=e,this}get barColor(){return this._barColor}set barColor(t){this.dirty=this.dirty||this._barColor!=t,this._barColor=t}setBarColor(t){return this.barColor=t,this}get skewX(){return this._skewX}set skewX(t){this.dirty=this.dirty||this._skewX!=t,this._skewX=t}setSkewX(t){return this.skewX=t,this}get rtl(){return this._rtl}set rtl(t){t=!!t,this.dirty=this.dirty||this._rtl!=t,this._rtl=t}setRTL(t){return void 0===t&&(t=!0),this.rtl=t,this}};var pp={updateShapes:function(){var t=this.skewX,e=this.width-Math.abs(t),i=this.height,s=this.getShape("trackFill");s.fillStyle(this.trackColor),s.isFilled&&lp(s,0,0,e,i,t);var r,n,a=this.getShape("bar");a.fillStyle(this.barColor),a.isFilled&&(this.rtl?(r=e*(1-this.value),n=e):(r=0,n=e*this.value),lp(a,r,0,n,i,t));var o=this.getShape("trackStroke");o.lineStyle(this.trackStrokeThickness,this.trackStrokeColor),o.isStroked&&lp(o,0,0,e,i,t)}};Object.assign(up.prototype,pp),t.register("lineProgress",(function(t,e,i,s,r,n,a){var o=new up(this.scene,t,e,i,s,r,n,a);return this.scene.add.existing(o),o})),P(window,"RexPlugins.UI.LineProgress",up);var gp=function(t,e,i,s,r){t.setIterations(r).start();var n=s.tl;if(Et(n))if(n.convex){var a=n.x,o=n.y;t.ellipticalArc(a,o,n.x,n.y,180,270,!1)}else a=0,o=0,t.ellipticalArc(a,o,n.x,n.y,90,0,!0);else t.lineTo(0,0);return n=s.tr,Et(n)?n.convex?(a=e-n.x,o=n.y,t.ellipticalArc(a,o,n.x,n.y,270,360,!1)):(a=e,o=0,t.ellipticalArc(a,o,n.x,n.y,180,90,!0)):t.lineTo(e,0),n=s.br,Et(n)?n.convex?(a=e-n.x,o=i-n.y,t.ellipticalArc(a,o,n.x,n.y,0,90,!1)):(a=e,o=i,t.ellipticalArc(a,o,n.x,n.y,270,180,!0)):t.lineTo(e,i),n=s.bl,Et(n)?n.convex?(a=n.x,o=i-n.y,t.ellipticalArc(a,o,n.x,n.y,90,180,!1)):(a=0,o=i,t.ellipticalArc(a,o,n.x,n.y,360,270,!0)):t.lineTo(0,i),t.close(),t},vp=Phaser.Math.RadToDeg,fp=function(t,e,i,s,r){var n=e*r,a=s.tl;if(Et(a)){l=n>a.x?90:vp(Math.acos((a.x-n)/a.x));var o=a.x,h=a.y;t.ellipticalArc(o,h,a.x,a.y,180,180+l,!1)}else t.lineTo(0,0);if(a=s.tr,Et(a)&&n>e-a.x){var l=90-vp(Math.acos((n-(e-a.x))/a.x));o=e-a.x,h=a.y,t.ellipticalArc(o,h,a.x,a.y,270,270+l,!1)}else t.lineTo(n,0);a=s.br,Et(a)&&n>e-a.x?(l=90-vp(Math.acos((n-(e-a.x))/a.x)),o=e-a.x,h=i-a.y,t.ellipticalArc(o,h,a.x,a.y,90-l,90,!1)):t.lineTo(n,i),a=s.bl,Et(a)?(l=n>a.x?90:vp(Math.acos((a.x-n)/a.x)),o=a.x,h=i-a.y,t.ellipticalArc(o,h,a.x,a.y,180-l,180,!1)):t.lineTo(0,i)},mp=Phaser.Math.RadToDeg,yp=function(t,e,i,s,r){var n=i*r,a=s.tl;if(Et(a)){l=n>a.y?90:mp(Math.acos((a.y-n)/a.y));var o=a.x,h=a.y;t.ellipticalArc(o,h,a.x,a.y,270-l,270,!1)}else t.lineTo(0,0);if(a=s.tr,Et(a)?(l=n>a.y?90:mp(Math.acos((a.y-n)/a.y)),o=e-a.x,h=a.y,t.ellipticalArc(o,h,a.x,a.y,270,270+l,!1)):t.lineTo(e,0),a=s.br,Et(a)&&n>i-a.y){var l=90-mp(Math.acos((n-(i-a.y))/a.y));o=e-a.x,h=i-a.y,t.ellipticalArc(o,h,a.x,a.y,0,0+l,!1)}else t.lineTo(e,n);a=s.bl,Et(a)&&n>i-a.y?(l=90-mp(Math.acos((n-(i-a.y))/a.y)),o=a.x,h=i-a.y,t.ellipticalArc(o,h,a.x,a.y,180-l,180,!1)):t.lineTo(0,n)},bp=Phaser.Math.RadToDeg,xp=function(t,e,i,s,r){var n=e*r,a=s.tr;if(Et(a)){l=n>a.x?90:bp(Math.acos((a.x-n)/a.x));var o=e-a.x,h=a.y;t.ellipticalArc(o,h,a.x,a.y,360-l,360,!1)}else t.lineTo(e,0);if(a=s.br,Et(a)?(l=n>a.x?90:bp(Math.acos((a.x-n)/a.x)),o=e-a.x,h=i-a.y,t.ellipticalArc(o,h,a.x,a.y,0,0+l,!1)):t.lineTo(e,i),a=s.bl,Et(a)&&n>e-a.x){var l=90-bp(Math.acos((n-(e-a.x))/a.x));o=a.x,h=i-a.y,t.ellipticalArc(o,h,a.x,a.y,90,90+l,!1)}else t.lineTo(e-n,i);a=s.tl,Et(a)&&n>e-a.x?(l=90-bp(Math.acos((n-(e-a.x))/a.x)),o=a.x,h=a.y,t.ellipticalArc(o,h,a.x,a.y,270-l,270,!1)):t.lineTo(e-n,0)},Cp=Phaser.Math.RadToDeg,kp=function(t,e,i,s,r){var n=i*r,a=s.br;if(Et(a)){l=n>a.y?90:Cp(Math.acos((a.y-n)/a.y));var o=e-a.x,h=i-a.y;t.ellipticalArc(o,h,a.x,a.y,90-l,90,!1)}else t.lineTo(e,i);if(a=s.bl,Et(a)?(l=n>a.y?90:Cp(Math.acos((a.y-n)/a.y)),o=a.x,h=i-a.y,t.ellipticalArc(o,h,a.x,a.y,90,90+l,!1)):t.lineTo(0,i),a=s.tl,Et(a)&&n>i-a.y){var l=90-Cp(Math.acos((n-(i-a.y))/a.y));o=a.x,h=a.y,t.ellipticalArc(o,h,a.x,a.y,180,180+l,!1)}else t.lineTo(0,i-n);a=s.tr,Et(a)&&n>i-a.y?(l=90-Cp(Math.acos((n-(i-a.y))/a.y)),o=e-a.x,h=a.y,t.ellipticalArc(o,h,a.x,a.y,360-l,360,!1)):t.lineTo(e,i-n)},wp={x:0,h:0,horizontal:0,"left-to-right":0,y:1,v:1,vertical:1,"top-to-bottom":1},Sp=function(t){return"string"==typeof t&&(t=wp[t]),t};const Pp=Phaser.Utils.Objects.GetValue,Tp=Phaser.Utils.Objects.IsPlainObject;class Op extends(Vu(vc)){constructor(t,e,i,s,r,n,a,o,h){Tp(e)?(e=(h=e).x,i=h.y,s=h.width,r=h.height,n=h.radius,a=h.barColor,o=h.value):Tp(s)?(s=(h=s).width,r=h.height,n=h.radius,a=h.barColor,o=h.value):Tp(n)&&(n=(h=n).radius,a=h.barColor,o=h.value),void 0===e&&(e=0),void 0===i&&(i=0),void 0===s&&(s=1),void 0===r&&(r=s),void 0===n&&(n=0),void 0===o&&(o=0),super(t,e,i,s,r,h),this.type="rexRoundRectangleProgress",this.bootProgressBase(h),this.addShape((new $c).setName("trackFill")).addShape((new $c).setName("bar")).addShape((new $c).setName("trackStroke")),this.setTrackColor(Pp(h,"trackColor",void 0)),this.setBarColor(a),this.setTrackStroke(Pp(h,"trackStrokeThickness",2),Pp(h,"trackStrokeColor",void 0)),this.setOrientation(Pp(h,"orientation",0)),this.setRTL(Pp(h,"rtl",!1)),this.rrGeom=new Pt,this.setRadius(n),this.setIteration(Pp(n,"iteration",void 0)),this.setValue(o)}get trackColor(){return this._trackColor}set trackColor(t){this.dirty=this.dirty||this._trackColor!=t,this._trackColor=t}setTrackColor(t){return this.trackColor=t,this}get trackStrokeColor(){return this._trackStrokeColor}set trackStrokeColor(t){this.dirty=this.dirty||this._trackStrokeColor!=t,this._trackStrokeColor=t}get trackStrokeThickness(){return this._trackStrokeThickness}set trackStrokeThickness(t){this.dirty=this.dirty||this._trackStrokeThickness!=t,this._trackStrokeThickness=t}setTrackStroke(t,e){return this.trackStrokeThickness=t,this.trackStrokeColor=e,this}get barColor(){return this._barColor}set barColor(t){this.dirty=this.dirty||this._barColor!=t,this._barColor=t}setBarColor(t){return this.barColor=t,this}get orientation(){return this._orientation}set orientation(t){t=Sp(t),this.dirty=this.dirty||this._orientation!=t,this._orientation=t}setOrientation(t){return this.orientation=t,this}get rtl(){return this._rtl}set rtl(t){t=!!t,this.dirty=this.dirty||this._rtl!=t,this._rtl=t}setRTL(t){return void 0===t&&(t=!0),this.rtl=t,this}get radius(){return this.rrGeom.radius}set radius(t){this.rrGeom.setRadius(t),this.dirty=!0}get radiusTL(){return this.rrGeom.radiusTL}set radiusTL(t){this.rrGeom.radiusTL=t,this.dirty=!0}get radiusTR(){return this.rrGeom.radiusTR}set radiusTR(t){this.rrGeom.radiusTR=t,this.dirty=!0}get radiusBL(){return this.rrGeom.radiusBL}set radiusBL(t){this.rrGeom.radiusBL=t,this.dirty=!0}get radiusBR(){return this.rrGeom.radiusBR}set radiusBR(t){this.rrGeom.radiusBR=t,this.dirty=!0}setRadius(t){return void 0===t&&(t=0),this.radius=t,this}setRadiusTL(t){return void 0===t&&(t=0),this.radiusTL=t,this}setRadiusTR(t){return void 0===t&&(t=0),this.radiusTR=t,this}setRadiusBL(t){return void 0===t&&(t=0),this.radiusBL=t,this}setRadiusBR(t){return void 0===t&&(t=0),this.radiusBR=t,this}get cornerRadius(){return this.rrGeom.cornerRadius}set cornerRadius(t){this.radius=t}setCornerRadius(t){return this.setRadius(t)}get iteration(){return this._iteration}set iteration(t){void 0!==this._iteration?this._iteration!==t&&(this._iteration=t,this.dirty=!0):this._iteration=t}setIteration(t){return void 0===t&&(t=6),this.iteration=t,this}}var Mp={updateShapes:function(){var t=this.width,e=this.height,i=this.rrGeom.cornerRadius,s=this.value,r=this.orientation,n=this.rtl,a=this.iteration+1,o=this.getShape("trackFill");o.fillStyle(this.trackColor),o.isFilled&&gp(o,t,e,i,a);var h=this.getShape("bar");h.fillStyle(this.barColor),h.isFilled&&function(t,e,i,s,r,n,a,o){t.setIterations(o).start(),0===r||(1===r?gp(t,e,i,s,o):((0===n?a?xp:fp:a?kp:yp)(t,e,i,s,r),t.close()))}(h,t,e,i,s,r,n,a);var l=this.getShape("trackStroke");l.lineStyle(this.trackStrokeThickness,this.trackStrokeColor),l.isStroked&&gp(l,t,e,i,a)}};Object.assign(Op.prototype,Mp),t.register("roundRectanleProgress",(function(t,e,i,s,r,n,a,o){var h=new Op(this.scene,t,e,i,s,r,n,a,o);return this.scene.add.existing(h),h})),P(window,"RexPlugins.UI.RoundRectangleProgress",Op);var Ep=function(t,e,i,s,r,n,a){void 0===a&&(a="round"),function(t,e){t.save(),t.beginPath();var i=e[0];t.moveTo(i.x,i.y);for(var s=1,r=e.length;s0&&(n.save(),Ep(0,n,this.trackPoints,void 0,this.trackStrokeColor,this.trackStrokeThickness),n.restore())},Rp=function(t,e,i,s,r,n){void 0===n&&(n=[]),n.length=4;for(var a=0;a<4;a++)n[a]||(n[a]={});var o;return r>=0?((o=n[0]).x=t+r,o.y=e,(o=n[1]).x=i+r,o.y=e,(o=n[2]).x=i,o.y=s,(o=n[3]).x=t,o.y=s):((o=n[0]).x=t,o.y=e,(o=n[1]).x=i,o.y=e,(o=n[2]).x=i-r,o.y=s,(o=n[3]).x=t-r,o.y=s),n};const Lp=Phaser.Utils.Objects.GetValue,Bp=Phaser.Utils.Objects.IsPlainObject;class Ip extends(Vu(Nt)){constructor(t,e,i,s,r,n,a,o){Bp(e)?(e=Lp(o=e,"x",0),i=Lp(o,"y",0),s=Lp(o,"width",2),r=Lp(o,"height",2),n=Lp(o,"barColor",void 0),a=Lp(o,"value",0)):Bp(s)?(s=Lp(o=s,"width",2),r=Lp(o,"height",2),n=Lp(o,"barColor",void 0),a=Lp(o,"value",0)):Bp(n)&&(n=Lp(o=n,"barColor",void 0),a=Lp(o,"value",0)),super(t,e,i,s,r,Lp(o,"resolution",1)),this.type="rexLineProgressCanvas",this.trackPoints=[],this.barPoints=[],this.bootProgressBase(o),this.setTrackColor(Lp(o,"trackColor",void 0)),this.setBarColor(n,Lp(o,"barColor2",void 0),Lp(o,"isHorizontalGradient",void 0)),this.setTrackStroke(Lp(o,"trackStrokeThickness",2),Lp(o,"trackStrokeColor",void 0)),this.setSkewX(Lp(o,"skewX",0)),this.setRTL(Lp(o,"rtl",!1)),this.setValue(a)}get trackColor(){return this._trackColor}set trackColor(t){t=Jt(t,this.canvas,this.context),this.dirty=this.dirty||this._trackColor!=t,this._trackColor=t}setTrackColor(t){return this.trackColor=t,this}get trackStrokeColor(){return this._trackStrokeColor}set trackStrokeColor(t){t=Jt(t,this.canvas,this.context),this.dirty=this.dirty||this._trackStrokeColor!=t,this._trackStrokeColor=t}get trackStrokeThickness(){return this._trackStrokeThickness}set trackStrokeThickness(t){this.dirty=this.dirty||this._trackStrokeThickness!=t,this._trackStrokeThickness=t}setTrackStroke(t,e){return this.trackStrokeThickness=t,this.trackStrokeColor=e,this}get barColor(){return this._barColor}set barColor(t){t=Jt(t,this.canvas,this.context),this.dirty=this.dirty||this._barColor!=t,this._barColor=t}get barColor2(){return this._barColor2}set barColor2(t){t=Jt(t,this.canvas,this.context),this.dirty=this.dirty||this._barColor2!=t,this._barColor2=t}get isHorizontalGradient(){return this._isHorizontalGradient}set isHorizontalGradient(t){this.dirty|=this._isHorizontalGradient!=t,this._isHorizontalGradient=t}setBarColor(t,e,i){return void 0===i&&(i=!0),this.barColor=t,this.barColor2=e,this.isHorizontalGradient=i,this}get skewX(){return this._skewX}set skewX(t){this.dirty=this.dirty||this._skewX!=t,this._skewX=t}setSkewX(t){return this.skewX=t,this}get rtl(){return this._rtl}set rtl(t){t=!!t,this.dirty=this.dirty||this._rtl!=t,this._rtl=t}setRTL(t){return void 0===t&&(t=!0),this.rtl=t,this}updateTexture(){return super.updateTexture((function(){this.clear(),_p.call(this)}),this),this}}t.register("circularProgressCanvas",(function(t,e,i,s,r,n,a){var o=new Ip(this.scene,t,e,i,s,r,n,a);return this.scene.add.existing(o),o})),P(window,"RexPlugins.UI.LineProgressCanvas",Ip),Phaser.Math.Wrap;const Dp=Phaser.Math.Linear;var Ap=function(){var t,e,i,s,r,n,a=this.getShape("triangle"),o=this.padding,h=this.width-o.right,l=0+o.left,d=this.height-o.bottom,c=0+o.top,u=(l+h)/2,p=(c+d)/2,g={0:{a:{x:l,y:c},b:{x:h,y:p},c:{x:l,y:d}},1:{a:{x:l,y:c},b:{x:u,y:d},c:{x:h,y:c}},2:{a:{x:h,y:c},b:{x:l,y:p},c:{x:h,y:d}},3:{a:{x:l,y:d},b:{x:u,y:c},c:{x:h,y:d}}};if(void 0===this.previousDirection){var v=g[this.direction],f=v.a,m=v.b,y=v.c;t=f.x,e=f.y,i=m.x,s=m.y,r=y.x,n=y.y}else{var b=g[this.previousDirection],x=g[this.direction],C=this.easeDirectionProgress;t=Dp(b.a.x,x.a.x,C),e=Dp(b.a.y,x.a.y,C),i=Dp(b.b.x,x.b.x,C),s=Dp(b.b.y,x.b.y,C),r=Dp(b.c.x,x.c.x,C),n=Dp(b.c.y,x.c.y,C)}a.startAt(t,e).lineTo(i,s).lineTo(r,n),this.arrowOnly?a.end():a.close()};const jp=(0,Phaser.Math.DegToRad)(120);var zp=function(t){t=this.getShape("triangle");var e=this.width/2,i=this.height/2,s=Math.min(e,i)*this.radius,r=this.verticeRotation;t.startAt(e+s*Math.cos(r+jp),i+s*Math.sin(r+jp)).lineTo(e+s*Math.cos(r),i+s*Math.sin(r)).lineTo(e+s*Math.cos(r-jp),i+s*Math.sin(r-jp)),this.arrowOnly?t.end():t.close()},Fp={buildShapes(){this.addShape((new $c).setName("triangle"))},updateShapes(){var t=this.getShape("triangle");this.arrowOnly?t.fillStyle().lineStyle(this.lineWidth,this.strokeColor,this.strokeAlpha):t.fillStyle(this.fillColor,this.fillAlpha).lineStyle(this.lineWidth,this.strokeColor,this.strokeAlpha),0===this.shapeMode?Ap.call(this):zp.call(this)}},Xp={setEaseDuration(t){return void 0===t&&(t=0),this.easeDuration=t,this},playEaseDirectionation(){return void 0===this.easeDirectionProgressTask&&(this.easeDirectionProgressTask=new iu(this,{eventEmitter:null})),this.easeDirectionProgressTask.restart({key:"easeDirectionProgress",from:0,to:1,duration:this.easeDuration}),this},stopEaseDirection(){return void 0===this.easeDirectionProgressTask||this.easeDirectionProgressTask.stop(),this}};const Yp=Phaser.Utils.Objects.GetValue,Wp=Phaser.Utils.Objects.IsPlainObject,Vp=Phaser.Math.DegToRad,Gp=Phaser.Math.RadToDeg;class Hp extends vc{constructor(t,e,i,s,r,n,a){var o,h,l,d,c,u,p,g;if(Wp(e)){var v=e;e=v.x,i=v.y,s=v.width,r=v.height,n=v.color,a=v.alpha,o=v.strokeColor,h=v.strokeAlpha,l=v.strokeWidth,d=v.arrowOnly,c=v.direction,u=v.easeDuration,p=v.padding,g=v.radius}void 0===e&&(e=0),void 0===i&&(i=0),void 0===s&&(s=1),void 0===r&&(r=s),void 0===d&&(d=!1),void 0===c&&(c=0),void 0===u&&(u=0),void 0===p&&(p=0),void 0===g&&(g=void 0),super(t,e,i,s,r),this.type="rexTriangle",this.setFillStyle(n,a),void 0!==o&&void 0===l&&(l=2),this.setStrokeStyle(l,o,h),this.setArrowOnly(d),this.setDirection(c,u),this.setPadding(p),this.setRadius(g),this.buildShapes()}get arrowOnly(){return this._arrowOnly}set arrowOnly(t){this.dirty=this.dirty||this._arrowOnly!=t,this._arrowOnly=t}setArrowOnly(t){return void 0===t&&(t=!0),this.arrowOnly=t,this}get direction(){return this._direction}set direction(t){t=Np(t),this._direction!==t&&(this.easeDuration>0&&void 0!==this._direction?this.previousDirection=this._direction:this.previousDirection=void 0,this._direction=t,this.verticeAngle=90*t,this.dirty=!0,void 0!==this.previousDirection?this.playEaseDirectionation():this.stopEaseDirection())}setDirection(t,e){return void 0!==e&&this.setEaseDuration(e),this.direction=t,this}toggleDirection(t){return this.setDirection(this.direction+2,t),this}get easeDirectionProgress(){return this._easeDirectionProgress}set easeDirectionProgress(t){this._easeDirectionProgress!==t&&(this._easeDirectionProgress=t,this.dirty=!0)}setPadding(t,e,i,s){if("object"==typeof t){var r=t,n=Yp(r,"x",null);null!==n?(t=n,i=n):(t=Yp(r,"left",0),i=Yp(r,"right",t));var a=Yp(r,"y",null);null!==a?(e=a,s=a):(e=Yp(r,"top",0),s=Yp(r,"bottom",e))}else void 0===t&&(t=0),void 0===e&&(e=t),void 0===i&&(i=t),void 0===s&&(s=e);return void 0===this.padding&&(this.padding={}),this.dirty=this.dirty||this.padding.left!=t||this.padding.top!=e||this.padding.right!=i||this.padding.bottom!=s,this.padding.left=t,this.padding.top=e,this.padding.right=i,this.padding.bottom=s,this.setRadius(),this}get radius(){return this._radius}set radius(t){this.dirty=this.dirty||this._radius!=t,this._radius=t}setRadius(t){return this.radius=t,this.shapeMode=null==t?0:1,this}get verticeRotation(){return this._verticeRotation}set verticeRotation(t){this.dirty=this.dirty||this._verticeRotation!=t,this._verticeRotation=t}setVerticeRotation(t){return this.verticeRotation=t,this}get verticeAngle(){return Gp(this.verticeRotation)}set verticeAngle(t){this.verticeRotation=Vp(t)}setVerticeAngle(t){return this.verticeAngle=t,this}}const Up={right:0,down:1,left:2,up:3};var Np=function(t){return"string"==typeof t&&(t=Up[t]),t%=4};Object.assign(Hp.prototype,Fp,Xp),t.register("triangle",(function(t,e,i,s,r,n){var a=new Hp(this.scene,t,e,i,s,r,n);return this.scene.add.existing(a),a})),P(window,"RexPlugins.UI.Triangle",Hp),F();const $p=Phaser.GameObjects.Zone,Kp=Phaser.Utils.Array.Add,Jp=Phaser.Utils.Array.Remove;let qp=class extends $p{constructor(t,e,i,s,r){void 0===e&&(e=0),void 0===i&&(i=0),void 0===s&&(s=1),void 0===r&&(r=1),super(t,e,i,s,r),this.children=[]}destroy(t){if(this.scene&&!this.ignoreDestroy){if(t)for(var e,i=this.children.length-1;i>=0;i--)(e=this.children[i]).parentContainer||e.displayList||e.destroy(t);this.clear(!t),super.destroy(t)}}contains(t){return-1!==this.children.indexOf(t)}add(t){var e=this;return Kp(this.children,t,0,(function(t){t.once("destroy",e.onChildDestroy,e)}),this),this}remove(t,e){var i=this;return Jp(this.children,t,(function(t){t.off("destroy",i.onChildDestroy,i),e&&t.destroy()})),this}onChildDestroy(t,e){this.remove(t,!1)}clear(t){for(var e,i=0,s=this.children.length;isg(t),resetChildState(t){return this.resetChildPositionState(t).resetChildVisibleState(t).resetChildAlphaState(t).resetChildActiveState(t),this},resetChildrenState(t){for(var e=0,i=t.length;esg(t).x,getChildLocalY:t=>sg(t).y};const bg=Phaser.Math.DegToRad;var xg={updateChildRotation(t){var e=sg(t),i=e.parent;return e.syncRotation&&(t.rotation=i.rotation+e.rotation),this},syncRotation(){return this.syncChildrenEnable&&this.children.forEach(this.updateChildRotation,this),this},resetChildRotationState(t){var e=sg(t),i=e.parent;return e.rotation=t.rotation-i.rotation,this},setChildRotation(t,e){return t.rotation=e,this.resetChildRotationState(t),this},setChildAngle(t,e){return t.angle=e,this.resetChildRotationState(t),this},setChildLocalRotation(t,e){return sg(t).rotation=e,this.updateChildRotation(t),this},setChildLocalAngle(t,e){return sg(t).rotation=bg(e),this.updateChildRotation(t),this},resetLocalRotationState(){var t=sg(this).parent;return t&&t.resetChildRotationState(this),this},getChildLocalRotation:t=>sg(t).rotation},Cg={updateChildScale(t){var e=sg(t),i=e.parent;return e.syncScale&&(t.scaleX=i.scaleX*e.scaleX,t.scaleY=i.scaleY*e.scaleY),this},syncScale(){return this.syncChildrenEnable&&this.children.forEach(this.updateChildScale,this),this},resetChildScaleState(t){var e=sg(t),i=e.parent;return e.scaleX=mg(t.scaleX,i.scaleX),e.scaleY=mg(t.scaleY,i.scaleY),this},setChildScale(t,e,i){return void 0===i&&(i=e),t.scaleX=e,t.scaleY=i,this.resetChildScaleState(t),this},setChildLocalScale(t,e,i){void 0===i&&(i=e);var s=sg(t);return s.scaleX=e,s.scaleY=i,this.updateChildScale(t),this},setChildDisplaySize(t,e,i){return t.setDisplaySize(e,i),this.resetChildScaleState(t),this},resetLocalScaleState(){var t=sg(this).parent;return t&&t.resetChildScaleState(this),this},getChildLocalScaleX:t=>sg(t).scaleX,getChildLocalScaleY:t=>sg(t).scaleY},kg={updateChildVisible(t){var e=sg(t),i=e.parent,s=!e.hasOwnProperty("maskVisible")||e.maskVisible,r=!i||i.visible;return t.visible=r&&e.visible&&s,this},syncVisible(){return this.syncChildrenEnable&&this.children.forEach(this.updateChildVisible,this),this},resetChildVisibleState(t){var e=sg(t);return e.hasOwnProperty("maskVisible")&&delete e.maskVisible,e.visible=t.visible,this},setChildVisible(t,e){return this.setChildLocalVisible(t,e),this},setChildLocalVisible(t,e){return void 0===e&&(e=!0),sg(t).visible=e,this.updateChildVisible(t),this},setChildMaskVisible(t,e){return void 0===e&&(e=!0),sg(t).maskVisible=e,this.updateChildVisible(t),this},resetLocalVisibleState(){var t=sg(this).parent;return t&&t.resetChildVisibleState(this),this},getChildLocalVisible:t=>sg(t).visible},wg={updateChildAlpha(t){var e=sg(t),i=e.parent;return e.syncAlpha&&(t.alpha=i.alpha*e.alpha),this},syncAlpha(){return this.syncChildrenEnable&&this.children.forEach(this.updateChildAlpha,this),this},resetChildAlphaState(t){var e=sg(t),i=e.parent;return e.alpha=mg(t.alpha,i.alpha),this},setChildAlpha(t,e){return t.alpha=e,this.resetChildAlphaState(t),this},setChildLocalAlpha(t,e){return sg(t).alpha=e,this.updateChildAlpha(t),this},resetLocalAlphaState(){var t=sg(this).parent;return t&&t.resetChildAlphaState(this),this},getChildLocalAlpha:t=>sg(t).alpha},Sg={updateChildActive(t){var e=sg(t),i=e.parent;return t.active=i.active&&e.active,this},syncActive(){return this.syncChildrenEnable&&this.children.forEach(this.updateChildActive,this),this},resetChildActiveState(t){return sg(t).active=t.active,this},setChildActive(t,e){return t.active=e,this.resetChildActiveState(t),this},setChildLocalActive(t,e){return void 0===e&&(e=!0),sg(t).active=e,this.updateChildActive(t),this},resetLocalActiveState(){var t=sg(this).parent;return t&&t.resetChildActiveState(this),this},getChildLocalActive:t=>sg(t).active},Pg={updateChildScrollFactor(t){var e=sg(t),i=e.parent;return e.syncScrollFactor&&(t.scrollFactorX=i.scrollFactorX,t.scrollFactorY=i.scrollFactorY),this},syncScrollFactor(){return this.syncChildrenEnable&&this.children.forEach(this.updateChildScrollFactor,this),this}},Tg={updateCameraFilter(t){var e=sg(t),i=e.parent;return e.syncCameraFilter&&(t.cameraFilter=i.cameraFilter),this},syncCameraFilter(){return this.syncChildrenEnable&&this.children.forEach(this.updateCameraFilter,this),this}},Og={updateChildMask(t){return null==this.mask||(this.mask.hasOwnProperty("geometryMask")?this.mask.geometryMask:this.mask.bitmapMask)!==t&&(t.mask=this.mask),this},syncMask(){return this.syncChildrenEnable&&this.children.forEach(this.updateChildMask,this),this},setMask(t){return this.mask=t,this},clearMask(t){void 0===t&&(t=!1);var e=this;return this._mask=null,this.setChildMaskVisible(this),this.children.forEach((function(t){t.clearMask&&t.clearMask(!1),t.hasOwnProperty("isRexContainerLite")||e.setChildMaskVisible(t)})),t&&this.mask&&this.mask.destroy(),this}},Mg=function(t){return t.filter((function(t){return!!t.displayList||!!t.parentContainer||void 0}))},Eg={setDepth(t,e){if(this.depth=t,!e&&this.children)for(var i=this.getAllChildren(),s=0,r=i.length;s=0;r--){var n=e[r];s!==n&&(n!==this&&s.displayList!==n.displayList||(s.displayList.moveBelow(n,s),s=n))}return this}},_g=function(t,e){if(!e(t)&&t.isRexContainerLite)for(var i=t.children,s=0,r=i.length;s0;){var s=i.shift();!e(s)&&s.isRexContainerLite&&i.push(...s.children)}};const Lg=Phaser.Utils.Array;var Bg={getChildren(t){if(t)for(var e=0,i=this.children.length;e=0;e--)this.remove(this.backgroundChildren[e],t);return this}},Uv=function(t,e){if("string"==typeof t)this.childrenMap[t]=e;else{var i=t;for(t in i)this.childrenMap[t]=i[t]}return this};const Nv=/(\S+)\[(\d+)\]/i;var $v={getInnerPadding(t){return Ps(this.space,t)},setInnerPadding(t,e){return Ts(this.space,t,e),this},getOuterPadding(t){return Ps(this.getSizerConfig(this).padding,t)},setOuterPadding(t,e){return Ts(this.getSizerConfig(this).padding,t,e),this},getChildOuterPadding(t,e){return"string"==typeof t&&(t=this.getElement(t)),Ps(this.getSizerConfig(t).padding,e)},setChildOuterPadding(t,e,i){return"string"==typeof t&&(t=this.getElement(t)),Ts(this.getSizerConfig(t).padding,e,i),this}},Kv=function(t){var e=this.childrenWidth;if(void 0!==e){var i=void 0!==this.minWidth?this.minWidth*this.scaleX:0;return void 0===t?(t=Math.max(i,e),this.layoutWarnEnable&&i>0&&e>i&&console.warn(`Layout width warn: ${this.constructor.name}'s minWidth (${i}) < childrenWidth (${e})`)):this.layoutWarnEnable&&(i>t||e>t)&&console.warn(`Layout width warn: ${this.constructor.name}'s minWidth (${i}) or childrenWidth (${e} > targetWidth ${t})`),t}},Jv=function(){var t;for(var e in this.sizerChildren)if(!(!(t=this.sizerChildren[e])||t.isRexSizer&&t.ignoreLayout)&&t.runWidthWrap&&(!t.hasWidthWrap||t.hasWidthWrap()))return!0;return!1},qv=function(t){var e,i,s;for(var r in this.sizerChildren)!(e=this.sizerChildren[r])||e.isRexSizer&&e.ignoreLayout||!e.runWidthWrap||(i=this.getExpandedChildWidth(e,t),e.isRexSizer?void 0===(s=e.resolveWidth(i))&&(s=i):s=i,e.runWidthWrap(s));return this},Zv=function(t){var e=this.childrenHeight;if(void 0!==e){var i=void 0!==this.minHeight?this.minHeight*this.scaleY:0;return void 0===t?(t=Math.max(i,e),this.layoutWarnEnable&&i>0&&e>i&&console.warn(`Layout height warn: ${this.constructor.name}'s minHeight (${i}) < childrenHeight (${e})`)):this.layoutWarnEnable&&(i>t||e>t)&&console.warn(`Layout height warn: ${this.constructor.name}'s minHeight (${i}) or childrenHeight (${e}) > targetHeight (${t})`),t}},Qv=function(){var t;for(var e in this.sizerChildren)if(!(!(t=this.sizerChildren[e])||t.isRexSizer&&t.ignoreLayout)&&t.runHeightWrap&&(!t.hasHeightWrap||t.hasHeightWrap()))return!0;return!1},tf=function(t){var e,i,s;for(var r in this.sizerChildren)!(e=this.sizerChildren[r])||e.isRexSizer&&e.ignoreLayout||!e.runHeightWrap||(i=this.getExpandedChildHeight(e,t),e.isRexSizer?void 0===(s=e.resolveHeight(i))&&(s=i):s=i,e.runHeightWrap(s));return this},ef={getShownChildren(t){void 0===t&&(t=[]);for(var e,i=this.children,s=0,r=i.length;s0;){var i=e.shift();i.rexSizer&&i.rexSizer.hidden||(i!==this&&t.push(i),i.isRexContainerLite&&e.push(...i.children))}return t}},sf=function(){this._childrenWidth=void 0,this._childrenHeight=void 0;for(var t,e=this.getChildrenSizers(),i=0,s=e.length;i0){var e=t.runTransitionInCallback();t.delayCall(e,this.next,this)}else this.next()}exit_TRANS_OPNE(){this.parent.removeDelayCall()}next_OPEN(){return"TRANS_CLOSE"}enter_OPEN(){this.parent.onOpen()}exit_OPEN(){this.parent.removeDelayCall()}next_TRANS_CLOSE(){return"CLOSE"}enter_TRANS_CLOSE(){var t=this.parent;if(t.transitOutTime>0){var e=t.runTransitionOutCallback();t.delayCall(e,this.next,this)}else this.next()}exit_TRANS_CLOSE(){this.parent.removeDelayCall()}next_CLOSE(){return"TRANS_OPNE"}enter_CLOSE(){this.parent.onClose()}exit_CLOSE(){}canOpen(){return"IDLE"===this.state||"CLOSE"===this.state}canClose(){return"IDLE"===this.state||"OPEN"===this.state}};var vm={delayCall(t,e,i){return this.delayCallTimer=function(t,e,i,s,r){var n=_a(t);return n.time.delayedCall(e,(function(){n.game.events.once("poststep",(function(){i.call(s,r)}))}))}(this,t,e,i),this},removeDelayCall(){return this.delayCallTimer&&(this.delayCallTimer.remove(!1),this.delayCallTimer=void 0),this}},fm={setTransitInTime(t){return this.transitInTime=t,this},setTransitOutTime(t){return this.transitOutTime=t,this},setTransitInCallback(t){return t||(t=h),this.transitInCallback=t,this},setTransitOutCallback(t){return t||(t=h),this.transitOutCallback=t,this}},mm={runTransitionInCallback(){return this.transitInCallback(this.parent,this.transitInTime),this.transitInTime},onOpen(){},requestOpen(t,e){if(!this._state.canOpen())return this;this.openEventData=arguments.length>0?t:this.parent;var i=this.transitInTime;return void 0!==e&&(this.transitInTime=e),this._state.goto("TRANS_OPNE"),this.transitInTime=i,this}},ym={runTransitionOutCallback(){return this.transitOutCallback(this.parent,this.transitOutTime),this.transitOutTime},onClose(){this.oneShotMode&&this.parent.destroy()},requestClose(t,e){if(!this._state.canClose)return this;this.closeEventData=arguments.length>0?t:this.parent;var i=this.transitOutTime;return void 0!==e&&(this.transitOutTime=e),this._state.goto("TRANS_CLOSE"),this.transitOutTime=i,this}},bm={};Object.assign(bm,vm,fm,mm,ym);const xm=Phaser.Utils.Objects.GetValue;class Cm extends La{constructor(t,e){super(t,e),this.setTransitInTime(xm(e,"duration.in",200)),this.setTransitOutTime(xm(e,"duration.out",200)),this.setTransitInCallback(xm(e,"transitIn")),this.setTransitOutCallback(xm(e,"transitOut")),this.oneShotMode=xm(e,"destroy",!1),this.delayCallTimer=void 0,this._state=new gm(this,{eventEmitter:!1,initState:xm(e,"initState","IDLE")}),this.openEventData=void 0,this.closeEventData=void 0}get state(){return this._state.state}shutdown(t){this.isShutdown||(this.transitInCallback=void 0,this.transitOutCallback=void 0,this.openEventData=void 0,this.closeEventData=void 0,this.removeDelayCall(),super.shutdown(t))}}Object.assign(Cm.prototype,bm);const km=Phaser.GameObjects.Rectangle;class wm extends km{constructor(t,e,i){super(t,0,0,2,2,e,1),this.fullWindow=new Ed(this),this.setAlpha(i)}get tint(){return this.fillColor}set tint(t){this.setFillStyle(t,this.fillAlpha)}}const Sm=Phaser.Utils.Objects.GetValue;class Pm extends La{constructor(t,e){super(t,{eventEmitter:!1}),this.resetFromJSON(e),this.boot()}resetFromJSON(t){return this.setHitAreaMode(Sm(t,"hitAreaMode",0)),this.setEnable(Sm(t,"enable",!0)),this.setStopMode(Sm(t,"stopAllLevels",!0)),this}boot(){this.parent.on("pointerdown",(function(t,e,i,s){this.stopAllLevels&&s.stopPropagation()}),this).on("pointerup",(function(t,e,i,s){this.stopAllLevels&&s.stopPropagation()}),this).on("pointermove",(function(t,e,i,s){this.stopAllLevels&&s.stopPropagation()}),this).on("pointerover",(function(t,e,i,s){this.stopAllLevels&&s.stopPropagation()}),this).on("pointerout",(function(t,e){this.stopAllLevels&&e.stopPropagation()}),this)}setHitAreaMode(t){"string"==typeof t&&(t=Tm[t]);var e=this.parent;return e.input&&e.removeInteractive(),0===t?e.setInteractive():e.setInteractive({hitArea:{},hitAreaCallback:function(){return!0}}),this}setEnable(t){return void 0===t&&(t=!0),t?this.parent.setInteractive():this.parent.disableInteractive(),this.enable=t,this}setStopMode(t){return void 0===t&&(t=!0),this.stopAllLevels=t,this}toggleEnable(){return this.setEnable(!this.enable),this}}var Tm={default:0,fullWindow:1};const Om=Phaser.Utils.Objects.GetValue;class Mm extends wm{constructor(t,e){super(t,Om(e,"color",0),Om(e,"alpha",.8)),this.touchEventStop=new Pm(this,{hitAreaMode:1})}}var Em={popUp(t,e){void 0!==t._modalScaleSave?(t.scaleX=t._modalScaleSave,t.scaleY=t._modalScaleSave):t._modalScaleSave=t.scaleX,yf(t,e)},scaleDown(t,e){bf(t,e,void 0,void 0,!1)},fadeIn(t,e){void 0!==t._modalAlphaSave?t.alpha=t._modalAlphaSave:t._modalAlphaSave=t.alpha,Ef(t,e)},fadeOut(t,e){_f(t,e,!1)}},_m=function(t,e){void 0!==t._modalAlphaSave?t.alpha=t._modalAlphaSave:t._modalAlphaSave=t.alpha,Ef(t,e,t.alpha)},Rm=function(t,e){_f(t,e,!1)},Lm=function(t,e,i,s,r){return!(!t||s&&!s(t,e,i)||!Vn(t,!0).contains(e,i)||r&&!r(t,e,i))};const Bm=Phaser.Utils.Objects.GetValue;let Im=class extends Cm{constructor(t,e){void 0===e&&(e={}),null==e.transitIn&&(e.transitIn=Dm.popUp),null==e.transitOut&&(e.transitOut=Dm.scaleDown),e.destroy=Bm(e,"destroy",!0),super(t,e);var i=Bm(e,"cover");this.cover=!1!==i?function(t,e){var i=t.scene,s=new Mm(i,e);return i.add.existing(s),t.isRexContainerLite?(t.pin(s,{syncPosition:!1,syncRotation:!1,syncScale:!1,syncAlpha:!1,syncScrollFactor:!1}),t.moveDepthBelow(s)):i.children.moveBelow(s,t),s}(t,i):void 0,this.cover&&(this.setCoverTransitInCallback(Bm(i,"transitIn",_m)),this.setCoverTransitOutCallback(Bm(i,"transitOut",Rm)));var s=Bm(e,"touchOutsideClose",!1),r=Bm(e,"duration.hold",-1),n=Bm(e,"timeOutClose",r>=0),a=Bm(e,"anyTouchClose",!1);Bm(e,"manualClose",!1)&&(s=!1,a=!1,n=!1),a&&(s=!1),n?this.setDisplayTime(r):this.setDisplayTime(-1),a?this.once("open",this.anyTouchClose,this):s&&this.once("open",this.touchOutsideClose,this),Bm(e,"openOnStart",!0)&&this.delayCall(0,this.requestOpen,this)}shutdown(t){this.isShutdown||(this.cover||this.scene.input.off("pointerup",this.touchCloseCallback,this),this.cover&&!t&&(this.cover.destroy(),this.cover=void 0),super.shutdown(t))}touchOutsideClose(){return this.cover?this.cover.on("pointerup",this.touchCloseCallback,this):this.scene.input.on("pointerup",this.touchCloseCallback,this),this.clickOutsideTest=!0,this}anyTouchClose(){return this.cover?this.cover.once("pointerup",this.touchCloseCallback,this):this.scene.input.once("pointerup",this.touchCloseCallback,this),this}touchCloseCallback(t){this.clickOutsideTest&&Lm(this.parent,t.worldX,t.worldY)||this.requestClose()}runTransitionInCallback(){var t=super.runTransitionInCallback(),e=this.cover;return e&&this.coverTransitInCallback&&this.coverTransitInCallback(e,t),t}runTransitionOutCallback(){var t=super.runTransitionOutCallback(),e=this.cover;return e&&this.coverTransitOutCallback&&this.coverTransitOutCallback(e,t),t}onOpen(){var t=this.displayTime;t>=0&&this.delayCall(t,this.requestClose,this),this.emit("open",this.parent,this),super.onOpen()}onClose(){this.emit("close",this.closeEventData),super.onClose()}setDisplayTime(t){return this.displayTime=t,this}setTransitInCallback(t){switch("string"==typeof t&&(t=Dm[t]),t){case Dm.popUp:t=Em.popUp;break;case Dm.fadeIn:t=Em.fadeIn}return super.setTransitInCallback(t),this}setTransitOutCallback(t){switch("string"==typeof t&&(t=Dm[t]),t){case Dm.scaleDown:t=Em.scaleDown;break;case Dm.fadeOut:t=Em.fadeOut}return super.setTransitOutCallback(t),this}setCoverTransitInCallback(t){return this.coverTransitInCallback=t,this}setCoverTransitOutCallback(t){return this.coverTransitOutCallback=t,this}};const Dm={popUp:0,fadeIn:1,scaleDown:0,fadeOut:1};var Am=function(t,e){var i=new Im(t,e);return i.on("open",(function(){t.emit("modal.open",i)})),i.on("close",(function(e){t.emit("modal.close",e,i)})),t.on("modal.requestClose",i.requestClose,i),i},jm=function(t,e){t.emit("modal.requestClose",e)},zm=function(t){return t&&"function"==typeof t},Fm={modal(t,e){return zm(t)&&(e=t,t=void 0),void 0===this._modalBehavior&&(this.onCreateModalBehavior&&this.onCreateModalBehavior(this,t),this._modalBehavior=Am(this,t)),e&&this._modalBehavior.once("close",e),this._modalBehavior.requestOpen(),this},modalPromise(t){var e=this;return new Promise((function(i,s){e.modal(t,i)}))},modalClose(t){return jm(this,t),this}},Xm=function(t,e,i,s,r){zm(e)&&(r=s,s=i,i=e,e=this);var n=this.scene.events;return this.bindEvent(e,n,t,i,s,r),this},Ym={bindEvent(t,e,i,s,r,n){return"string"==typeof e&&(n=r,r=s,s=i,i=e,e=t,t=this),function(t,e,i,s,r,n){void 0===n&&(n=!1),e[n?"once":"on"](i,s,r),t.once("destroy",(function(){e.off(i,s,r)}))}(t,e,i,s,r,n),this},bindScenePreupdateEvent(t,e,i,s){return Xm.call(this,"preupdate",t,e,i,s),this},bindSceneUpdateEvent(t,e,i,s){return Xm.call(this,"update",t,e,i,s),this},bindScenePostupdateEvent(t,e,i,s){return Xm.call(this,"postupdate",t,e,i,s),this},bindSceneRenderEvent(t,e,i,s){return Xm.call(this,"render",t,e,i,s),this},bindScenePauseEvent(t,e,i,s){return Xm.call(this,"pause",t,e,i,s),this},bindSceneResumeEvent(t,e,i,s){return Xm.call(this,"resume",t,e,i,s),this},bindSceneSleepEvent(t,e,i,s){return Xm.call(this,"sleep",t,e,i,s),this},bindSceneWakeEvent(t,e,i,s){return Xm.call(this,"wake",t,e,i,s),this},bindSceneShutdownEvent(t,e,i,s){return Xm.call(this,"shutdown",t,e,i,s),this}},Wm=function(t,e,i){var s=t.camera;return s?(void 0===i?i={}:!0===i&&(i=Vm),s===e?(i.x=t.worldX,i.y=t.worldY):s.getWorldPoint(t.x,t.y,i),i):null},Vm={},Gm=function(t,e,i,s){var r,n=t.scene.sys.cameras.main,a=0===t.scrollFactorX&&0===t.scrollFactorY;if(e)return a?Lm(t,e.x,e.y,i,s):!!(r=Wm(e,n,!0))&&Lm(t,r.x,r.y,i,s);for(var o=t.scene.input.manager,h=o.pointersTotal,l=o.pointers,d=0;d=this.dragThreshold||this.isPointerInside(t))&&this.cancel()}click(t,e){if(!this.enable)return this;if(void 0===t)return this.emit("clickoutside",this,this.parent,e),this;this.pointer=void 0;var i=this.lastClickTime;return void 0!==i&&t-i<=this.clickInterval||(this.lastClickTime=t,this.emit("clickoutside",this,this.parent,e)),this}cancel(){return this.pointer=void 0,this}}const sy={press:0,pointerdown:0,release:1,pointerup:1};var ry={onClickOutside(t,e,i,s){return t?("function"==typeof t&&(s=i,i=e,e=t,t=this),void 0===t._clickOutside&&(t._clickOutside=new iy(t,s)),t._clickOutside.on("clickoutside",e,i),this):this},offClickOutside(t,e,i){return"function"==typeof t&&(i=e,e=t,t=this),void 0===t._clickOutside||t._clickOutside.off("clickoutside",e,i),this},enableClickOutside(t,e){return"boolean"==typeof t&&(e=t,t=void 0),void 0===t&&(t=this),void 0===t._clickOutside||t._clickOutside.setEnable(e),this},disableClickOutside(t){return void 0===t&&(t=this),void 0===t._clickOutside||t._clickOutside.setEnable(!1),this}};class ny extends pm{constructor(){super({eventEmitter:!1}),this.goto("IDLE")}setCooldownTime(t){return this.cooldownTime=t,this.cooldownMode=void 0!==t,this}request(){return this.runMethod("request")}update_IDLE(){this.compensationTime=0}request_IDLE(){return this.next(),!0}next_IDLE(){if(this.cooldownMode)return"COOLDOWN"}enter_COOLDOWN(){this.remainderTime=this.cooldownTime+this.compensationTime}update_COOLDOWN(t,e){this.remainderTime-=e,this.remainderTime<0&&(this.compensationTime=this.cooldownTime>e?-this.remainderTime:0,this.goto("IDLE"))}request_COOLDOWN(){return!1}}const ay=Phaser.Utils.Objects.GetValue;class oy extends La{constructor(t,e){super(t,e),this._enable=void 0,this.cooldown=new ny,this.parent.setInteractive(ay(e,"inputConfig",void 0)),this.resetFromJSON(e),this.boot()}resetFromJSON(t){return this.pointer=void 0,this.prevIsInTouch=!1,this.isInTouching=!1,this.setEnable(ay(t,"enable",!0)),this.setCooldown(ay(t,"cooldown",void 0)),this}boot(){var t=this.parent;t.on("pointerdown",this.onPointIn,this),t.on("pointerover",this.onPointIn,this),t.on("pointerup",this.onPointOut,this),t.on("pointerout",this.onPointOut,this),this.scene.sys.events.on("preupdate",this.preupdate,this)}shutdown(t){this.isShutdown||(this.scene.sys.events.off("preupdate",this.preupdate,this),this.pointer=void 0,super.shutdown(t))}get enable(){return this._enable}set enable(t){if(this._enable!==t)return t||(this.prevIsInTouch=!1,this.isInTouching=!1,this.pointer=void 0),this._enable=t,this}setEnable(t){return void 0===t&&(t=!0),this.enable=t,this}get cooldownTime(){return this.cooldown.cooldownTime}set cooldownTime(t){this.cooldown.setCooldownTime(t)}setCooldown(t){return this.cooldownTime=t,this}toggleEnable(){return this.setEnable(!this.enable),this}onPointIn(t,e,i){this.enable&&t.isDown&&void 0===this.pointer&&(this.pointer=t,this.isInTouching=!0)}onPointOut(t){this.enable&&this.pointer===t&&(this.pointer=void 0,this.isInTouching=!1)}preupdate(t,e){this.cooldown.update(t,e),!this.prevIsInTouch&&this.isInTouching&&this.emit("touchstart",this,this.parent),this.isInTouching&&this.cooldown.request()&&this.emit("intouch",this,this.parent,this.pointer),this.prevIsInTouch&&!this.isInTouching&&this.emit("touchend",this,this.parent),this.prevIsInTouch=this.isInTouching}}var hy={isPointerInBounds(t){return void 0===t?t=this:"string"==typeof t&&(t=this.getElement(t)),!!t&&Gm(t)},onTouching(t,e,i,s){return t?("function"==typeof t&&(s=i,i=e,e=t,t=this),void 0===t._inTouching&&(t._inTouching=new oy(t,s)),t._inTouching.on("intouch",e,i),this):this},offTouching(t,e,i){return"function"==typeof t&&(i=e,e=t,t=this),void 0===t._inTouching||t._inTouching.off("intouch",e,i),this},onTouchingEnd(t,e,i,s){return t?("function"==typeof t&&(s=i,i=e,e=t,t=this),void 0===t._inTouching&&(t._inTouching=new oy(t,s)),t._inTouching.on("touchend",e,i),this):this},offTouchingEnd(t,e,i){return"function"==typeof t&&(i=e,e=t,t=this),void 0===t._inTouching||t._inTouching.off("touchend",e,i),this},enableTouching(t,e){return"boolean"==typeof t&&(e=t,t=void 0),void 0===t&&(t=this),void 0===t._inTouching||t._inTouching.setEnable(e),this},disableTouching(t){return void 0===t&&(t=this),void 0===t._inTouching||t._inTouching.setEnable(!1),this}},ly={onOver(t,e,i){return t?("function"==typeof t&&(i=e,e=t,t=this),t.setInteractive().on("pointerover",e,i),this):this},onOut(t,e,i){return t?("function"==typeof t&&(i=e,e=t,t=this),t.setInteractive().on("pointerout",e,i),this):this}},dy=function(t,e,i,s){if("parent"===t){for(var r,n=0,a=e.length;n0),this.onDragStart())}onPointerUp(t){this.enable&&(!this.bounds||this.bounds.contains(t.x,t.y))&&this.pointer===t&&(this.pointer=void 0,this.pointerCamera=void 0,this.movedState=!1,this.tracerState=Ty,this.onDragEnd())}onPointerMove(t){if(this.enable&&t.isDown){var e=!this.bounds||this.bounds.contains(t.x,t.y),i=this.pointer===t;!i&&e||(i&&!e?this.onPointerUp(t):(this.movedState||(this.movedState=t.x!==t.downX||t.y!==t.downY),this.movedState&&this.onDrag()))}}dragCancel(){return this.tracerState===Oy&&this.onDragEnd(),this.pointer=void 0,this.tracerState=Ty,this}onDragStart(){this.emit("dragstart",this)}onDragEnd(){this.emit("dragend",this)}onDrag(){this.emit("drag",this)}preUpdate(t,e){}postUpdate(t,e){}startTicking(){super.startTicking(),this.scene.sys.events.on("preupdate",this.preUpdate,this),this.scene.sys.events.on("postupdate",this.postUpdate,this)}stopTicking(){super.stopTicking(),this.scene&&(this.scene.sys.events.off("preupdate",this.preUpdate,this),this.scene.sys.events.off("postupdate",this.postUpdate,this))}setRecongizedStateObject(t){return this.recongizedState=t,this}get state(){return this.recongizedState.state}set state(t){this.recongizedState.state=t}cancel(){return this.state=My,this}isPointerInGameObject(t,e,i){var s=this.lastPointer;return!!s&&Gm(t,s,e,i)}}const Ty=0,Oy=1,My="IDLE",Ey=Phaser.Utils.Objects.GetValue,_y=Phaser.Math.Distance.Between;class Ry extends Py{constructor(t,e){super(t,e);var i=this,s={states:{IDLE:{enter:function(){i.stop(),i.tapsCount=0,i.x=0,i.y=0,i.worldX=0,i.worldY=0,i.lastPointer=void 0},exit:function(){var t=i.lastPointer;i.x=t.x,i.y=t.y,i.worldX=t.worldX,i.worldY=t.worldY}},BEGIN:{enter:function(){i.start(),i.tapsCount=0,i.emit("tappingstart",i,i.gameObject,i.lastPointer)}},RECOGNIZED:{enter:function(){i.start(),i.emit("tap",i,i.gameObject,i.lastPointer),i.emit(`${i.tapsCount}tap`,i,i.gameObject,i.lastPointer)}}},init:function(){this.state=Ly},eventEmitter:!1};this.setRecongizedStateObject(new pm(s))}resetFromJSON(t){super.resetFromJSON(t),this.setHoldTime(Ey(t,"time",250)),this.setTapInterval(Ey(t,"tapInterval",200)),this.setDragThreshold(Ey(t,"threshold",9)),this.setTapOffset(Ey(t,"tapOffset",10));var e=Ey(t,"taps",void 0);return void 0!==e?this.setTaps(e):(this.setMaxTaps(Ey(t,"maxTaps",void 0)),this.setMinTaps(Ey(t,"minTaps",void 0))),this}onDragStart(){switch(this.state){case Ly:this.state=By;break;case By:var t=this.lastPointer;_y(t.upX,t.upY,t.x,t.y)>this.tapOffset&&(this.state=Iy,this.state=By);break;case Iy:this.state=By}}onDragEnd(){this.state===By&&(this.tapsCount++,this.emit("tapping",this,this.gameObject,this.lastPointer),void 0!==this.maxTaps&&this.tapsCount===this.maxTaps&&(this.state=Iy))}onDrag(){this.state!==Ly&&this.pointer.getDistance()>this.dragThreshold&&(this.state=Ly)}preUpdate(t,e){if(this.isRunning&&this.enable&&this.state===By){var i=this.lastPointer;i.isDown?t-i.downTime>this.holdTime&&(this.state=Ly):t-i.upTime>this.tapInterval&&(void 0===this.minTaps||this.tapsCount>=this.minTaps?this.state=Iy:this.state=Ly)}}postUpdate(t,e){this.isRunning&&this.enable&&this.state===Iy&&(this.state=Ly)}get isTapped(){return this.state===Iy}setHoldTime(t){return this.holdTime=t,this}setTapInterval(t){return this.tapInterval=t,this}setDragThreshold(t){return this.dragThreshold=t,this}setTapOffset(t){return this.tapOffset=t,this}setMaxTaps(t){return this.maxTaps=t,this}setMinTaps(t){return this.minTaps=t,this}setTaps(t,e){return void 0===e&&(e=t),this.setMinTaps(t).setMaxTaps(e),this}}const Ly="IDLE",By="BEGIN",Iy="RECOGNIZED",Dy=Phaser.Utils.Objects.GetValue;class Ay extends Py{constructor(t,e){super(t,e);var i=this,s={states:{IDLE:{enter:function(){i.x=0,i.y=0,i.worldX=0,i.worldY=0,i.lastPointer=void 0},exit:function(){var t=i.lastPointer;i.x=t.x,i.y=t.y,i.worldX=t.worldX,i.worldY=t.worldY}},BEGIN:{enter:function(){i.start()},exit:function(){i.stop()}},RECOGNIZED:{enter:function(){i.emit("pressstart",i,i.gameObject,i.lastPointer)},exit:function(){i.emit("pressend",i,i.gameObject,i.lastPointer)}}},init:function(){this.state=jy},eventEmitter:!1};this.setRecongizedStateObject(new pm(s))}resetFromJSON(t){return super.resetFromJSON(t),this.setDragThreshold(Dy(t,"threshold",9)),this.setHoldTime(Dy(t,"time",251)),this}onDragStart(){this.state=zy,0===this.holdTime&&(this.state=Fy)}onDragEnd(){this.state=jy}onDrag(){this.state!==jy&&this.pointer.getDistance()>this.dragThreshold&&(this.state=jy)}preUpdate(t,e){this.isRunning&&this.enable&&this.state===zy&&t-this.pointer.downTime>=this.holdTime&&(this.state=Fy)}get isPressed(){return this.state===Fy}setHoldTime(t){return this.holdTime=t,this}setDragThreshold(t){return this.dragThreshold=t,this}}const jy="IDLE",zy="BEGIN",Fy="RECOGNIZED",Xy=Phaser.Utils.Objects.GetValue;class Yy extends Py{constructor(t,e){super(t,e);var i=this,s={states:{IDLE:{},BEGIN:{enter:function(){var t=i.pointer;i.startX=t.x,i.startY=t.y,i.startWorldX=t.worldX,i.startWorldY=t.worldY}},RECOGNIZED:{enter:function(){i.emit("panstart",i,i.gameObject,i.lastPointer)},exit:function(){var t=i.lastPointer;i.endX=t.x,i.endY=t.y;var e=Wm(t,i.pointerCamera,!0);i.endWorldX=e.x,i.endWorldY=e.y,i.emit("panend",i,i.gameObject,i.lastPointer)}}},init:function(){this.state=Wy},eventEmitter:!1};this.setRecongizedStateObject(new pm(s))}resetFromJSON(t){return super.resetFromJSON(t),this.setDragThreshold(Xy(t,"threshold",10)),this}onDragStart(){this.state=Vy,0===this.dragThreshold&&(this.state=Gy)}onDragEnd(){this.state=Wy}onDrag(){switch(this.state){case Vy:if(this.pointer.getDistance()>=this.dragThreshold){this.state=Gy,this.dx=0,this.dy=0,this.dWorldX=0,this.dWorldY=0;var t=this.pointer;this.x=t.x,this.y=t.y,this.worldX=t.worldX,this.worldY=t.worldY}break;case Gy:var e=this.pointerCamera,i=this.pointer.position,s=this.pointer.prevPosition;this.dx=i.x-s.x,this.dy=i.y-s.y,this.dWorldX=this.dx/e.zoom,this.dWorldY=this.dy/e.zoom,t=this.pointer,this.x=t.x,this.y=t.y;var r=Wm(t,e,!0);this.worldX=r.x,this.worldY=r.y,this.emit("pan",this,this.gameObject,this.lastPointer)}}get isPanned(){return this.state===Gy}setDragThreshold(t){return this.dragThreshold=t,this}}const Wy="IDLE",Vy="BEGIN",Gy="RECOGNIZED",Hy=Phaser.Math.Distance.Between,Uy=Phaser.Math.Angle.Between;var Ny={getDt:function(){return ac(this.scene)},getVelocity:function(){var t=this.pointer.position,e=this.pointer.prevPosition;return Hy(e.x,e.y,t.x,t.y)/(.001*this.getDt())},getVelocityX:function(){var t=this.pointer.position,e=this.pointer.prevPosition;return Math.abs(t.x-e.x)/(.001*this.getDt())},getVelocityY:function(){var t=this.pointer.position,e=this.pointer.prevPosition;return Math.abs(t.y-e.y)/(.001*this.getDt())},getVelocityAngle:function(){var t=this.pointer.position,e=this.pointer.prevPosition;return Uy(e.x,e.y,t.x,t.y)}},$y={"up&down":0,"left&right":1,"4dir":2,"8dir":3},Ky={};const Jy=Phaser.Utils.Objects.GetValue,qy=Phaser.Math.RadToDeg;class Zy extends Py{constructor(t,e){super(t,e);var i=this,s={states:{IDLE:{enter:function(){i.x=0,i.y=0,i.worldX=0,i.worldY=0},exit:function(){var t=i.lastPointer;i.x=t.x,i.y=t.y,i.worldX=t.worldX,i.worldY=t.worldY}},BEGIN:{enter:function(){i.validDrag=!1}},RECOGNIZED:{enter:function(){i.start(),i.updateDirectionStates(),i.emit("swipe",i,i.gameObject,i.lastPointer)},exit:function(){i.stop(),i.clearDirectionStates()}}},init:function(){this.state=Qy},eventEmitter:!1};this.setRecongizedStateObject(new pm(s)),this.clearDirectionStates()}resetFromJSON(t){return super.resetFromJSON(t),this.setDragThreshold(Jy(t,"threshold",10)),this.setVelocityThreshold(Jy(t,"velocityThreshold",1e3)),this.setDirectionMode(Jy(t,"dir","8dir")),this}onDragStart(){this.state=tb}onDragEnd(){this.state=Qy}onDrag(){this.state===tb&&(this.validDrag||(this.validDrag=0===this.dragThreshold||this.pointer.getDistance()>=this.dragThreshold),this.validDrag&&this.dragVelocity>this.velocityThreshold&&(this.state=eb))}postUpdate(t,e){this.isRunning&&this.enable&&this.state===eb&&(this.state=Qy)}get isSwiped(){return this.state===eb}get dragVelocity(){var t;switch(this.dirMode){case 0:t=this.getVelocityY();break;case 1:t=this.getVelocityX();break;default:t=this.getVelocity()}return t}setDragThreshold(t){return this.dragThreshold=t,this}setVelocityThreshold(t){return this.velocityThreshold=t,this}setDirectionMode(t){return"string"==typeof t&&(t=$y[t]),this.dirMode=t,this}updateDirectionStates(){return function(t,e,i){switch(void 0===i?i={}:!0===i&&(i=Ky),i.left=!1,i.right=!1,i.up=!1,i.down=!1,t=(t+360)%360,e){case 0:t<180?i.down=!0:i.up=!0;break;case 1:t>90&&t<=270?i.left=!0:i.right=!0;break;case 2:t>45&&t<=135?i.down=!0:t>135&&t<=225?i.left=!0:t>225&&t<=315?i.up=!0:i.right=!0;break;case 3:t>22.5&&t<=67.5?(i.down=!0,i.right=!0):t>67.5&&t<=112.5?i.down=!0:t>112.5&&t<=157.5?(i.down=!0,i.left=!0):t>157.5&&t<=202.5?i.left=!0:t>202.5&&t<=247.5?(i.left=!0,i.up=!0):t>247.5&&t<=292.5?i.up=!0:t>292.5&&t<=337.5?(i.up=!0,i.right=!0):i.right=!0}}(qy(this.getVelocityAngle()),this.dirMode,this),this}clearDirectionStates(){return this.left=!1,this.right=!1,this.up=!1,this.down=!1,this}}Object.assign(Zy.prototype,Ny);const Qy="IDLE",tb="BEGIN",eb="RECOGNIZED",ib=Phaser.Utils.Objects.GetValue,sb=Phaser.Utils.Array.SpliceOne,rb=Phaser.Math.Distance.Between,nb=Phaser.Math.Angle.Between;class ab{constructor(t,e){var i=_a(t);i===t&&(t=void 0);var s=i.input.manager.pointersTotal-1;s<2&&i.input.addPointer(2-s),this.scene=i,this.gameObject=t,t&&t.setInteractive(ib(e,"inputConfig",void 0)),this.setEventEmitter(ib(e,"eventEmitter",void 0)),this._enable=void 0,this.pointers=[],this.movedState={},this.resetFromJSON(e),this.boot()}resetFromJSON(t){return this.setEnable(ib(t,"enable",!0)),this.bounds=ib(t,"bounds",void 0),this.tracerState=hb,this.pointers.length=0,q(this.movedState),this}boot(){this.gameObject?this.gameObject.on("pointerdown",this.onPointerDown,this):this.scene.input.on("pointerdown",this.onPointerDown,this),this.scene.input.on("pointerup",this.onPointerUp,this),this.scene.input.on("gameout",this.dragCancel,this),this.scene.input.on("pointermove",this.onPointerMove,this),this.scene.sys.events.once("shutdown",this.destroy,this)}shutdown(){this.scene&&(this.destroyEventEmitter(),this.pointers.length=0,q(this.movedState),this.gameObject||this.scene.input.off("pointerdown",this.onPointerDown,this),this.scene.input.off("pointerup",this.onPointerUp,this),this.scene.input.off("gameout",this.dragCancel,this),this.scene.input.off("pointermove",this.onPointerMove,this),this.scene.sys.events.off("shutdown",this.destroy,this),this.scene=void 0,this.gameObject=void 0)}destroy(){this.shutdown()}get enable(){return this._enable}set enable(t){if(this._enable!==t)return t||this.dragCancel(),this._enable=t,this}setEnable(t){return void 0===t&&(t=!0),this.enable=t,this}toggleEnable(){return this.setEnable(!this.enable),this}onPointerDown(t){if(this.enable&&2!==this.pointers.length&&(!this.bounds||this.bounds.contains(t.x,t.y))&&-1===this.pointers.indexOf(t))switch(this.movedState[t.id]=!1,this.pointers.push(t),this.pointerCamera=t.camera,this.tracerState){case hb:this.tracerState=lb,this.onDrag1Start();break;case lb:this.tracerState=db,this.onDrag2Start()}}onPointerUp(t){if(this.enable&&(!this.bounds||this.bounds.contains(t.x,t.y))){var e=this.pointers.indexOf(t);if(-1!==e)switch(delete this.movedState[t.id],sb(this.pointers,e),this.tracerState){case lb:this.tracerState=hb,this.onDrag1End();break;case db:this.tracerState=lb,this.onDrag2End(),this.onDrag1Start()}}}onPointerMove(t){if(this.enable&&t.isDown){var e=!this.bounds||this.bounds.contains(t.x,t.y),i=-1!==this.pointers.indexOf(t);if(!i&&e);else if(i&&!e)this.onPointerUp(t);else if(this.movedState[t.id]||(this.movedState[t.id]=t.x!==t.downX||t.y!==t.downY),this.movedState[t.id])switch(this.tracerState){case lb:this.onDrag1();break;case db:this.onDrag2()}}}dragCancel(){return this.tracerState===db&&this.onDrag2End(),this.pointers.length=0,q(this.movedState),this.tracerState=hb,this}onDrag1Start(){this.emit("drag1start",this)}onDrag1End(){this.emit("drag1end",this)}onDrag1(){this.emit("drag1",this)}onDrag2Start(){this.emit("drag2start",this)}onDrag2End(){this.emit("drag2end",this)}onDrag2(){this.emit("drag2",this)}get distanceBetween(){if(this.tracerState!==db)return 0;var t=this.pointers[0],e=this.pointers[1];return rb(t.x,t.y,e.x,e.y)}get angleBetween(){if(this.tracerState!==db)return 0;var t=this.pointers[0],e=this.pointers[1];return nb(t.x,t.y,e.x,e.y)}get drag1Vector(){var t=this.pointers[0];if(t&&this.movedState[t.id]){var e=t.position,i=t.prevPosition;ob.x=e.x-i.x,ob.y=e.y-i.y}else ob.x=0,ob.y=0;return ob}get centerX(){if(this.tracerState!==db)return 0;var t=this.pointers[0].position,e=this.pointers[1].position;return(t.x+e.x)/2}get centerY(){if(this.tracerState!==db)return 0;var t=this.pointers[0].position,e=this.pointers[1].position;return(t.y+e.y)/2}get prevCenterX(){if(this.tracerState!==db)return 0;var t=this.movedState[this.pointers[0].id]?this.pointers[0].prevPosition:this.pointers[0].position,e=this.movedState[this.pointers[1].id]?this.pointers[1].prevPosition:this.pointers[1].position;return(t.x+e.x)/2}get prevCenterY(){if(this.tracerState!==db)return 0;var t=this.movedState[this.pointers[0].id]?this.pointers[0].prevPosition:this.pointers[0].position,e=this.movedState[this.pointers[1].id]?this.pointers[1].prevPosition:this.pointers[1].position;return(t.y+e.y)/2}get movementCenterX(){return this.centerX-this.prevCenterX}get movementCenterY(){return this.centerY-this.prevCenterY}setRecongizedStateObject(t){return this.recongizedState=t,this}get state(){return this.recongizedState.state}set state(t){this.recongizedState.state=t}cancel(){return this.state=cb,this}isPointer0InGameObject(t,e,i){var s=this.pointers[0];return!!s&&Gm(t,s,e,i)}isPointer1InGameObject(t,e,i){var s=this.pointers[1];return!!s&&Gm(t,s,e,i)}}Object.assign(ab.prototype,ln);var ob={};const hb=0,lb=1,db=2,cb="IDLE",ub=Phaser.Utils.Objects.GetValue;class pb extends ab{constructor(t,e){super(t,e);var i=this,s={states:{IDLE:{enter:function(){i.prevDistance=void 0,i.scaleFactor=1}},BEGIN:{},RECOGNIZED:{enter:function(){i.emit("pinchstart",i)},exit:function(){i.emit("pinchend",i)}}},init:function(){this.state=gb},eventEmitter:!1};this.setRecongizedStateObject(new pm(s))}resetFromJSON(t){return super.resetFromJSON(t),this.setDragThreshold(ub(t,"threshold",0)),this}onDrag2Start(){this.scaleFactor=1,this.prevDistance=this.distanceBetween,this.state=vb,0===this.dragThreshold&&(this.state=fb)}onDrag2End(){this.state=gb}onDrag2(){switch(this.state){case vb:if(this.pointers[0].getDistance()>=this.dragThreshold&&this.pointers[1].getDistance()>=this.dragThreshold){var t=this.distanceBetween;this.scaleFactor=t/this.prevDistance,this.prevDistance=t,this.state=fb}break;case fb:t=this.distanceBetween,this.scaleFactor=t/this.prevDistance,this.emit("pinch",this),this.prevDistance=t}}get isPinched(){return this.state===fb}setDragThreshold(t){return this.dragThreshold=t,this}}const gb="IDLE",vb="BEGIN",fb="RECOGNIZED",mb=Phaser.Math.RotateAround;var yb=function(t,e,i,s){return mb(t,e,i,s),t.rotation+=s,t},bb={};const xb=Phaser.Utils.Objects.GetValue,Cb=Phaser.Math.Angle.WrapDegrees,kb=Phaser.Math.Angle.ShortestBetween,wb=Phaser.Math.RadToDeg,Sb=Phaser.Math.DegToRad;class Pb extends ab{constructor(t,e){super(t,e);var i=this,s={states:{IDLE:{enter:function(){i.prevAngle=void 0,i.angle=0}},BEGIN:{},RECOGNIZED:{enter:function(){i.emit("rotatestart",i)},exit:function(){i.emit("rotateend",i)}}},init:function(){this.state=Ob},eventEmitter:!1};this.setRecongizedStateObject(new pm(s))}resetFromJSON(t){return super.resetFromJSON(t),this.setDragThreshold(xb(t,"threshold",0)),this}onDrag2Start(){this.prevAngle=Cb(wb(this.angleBetween)),this.state=Mb,0===this.dragThreshold&&(this.state=Eb)}onDrag2End(){this.state=Ob}onDrag2(){switch(this.state){case Mb:if(this.pointers[0].getDistance()>=this.dragThreshold&&this.pointers[1].getDistance()>=this.dragThreshold){var t=Cb(wb(this.angleBetween));this.angle=kb(this.prevAngle,t),this.prevAngle=t,this.state=Eb}break;case Eb:t=Cb(wb(this.angleBetween)),this.angle=kb(this.prevAngle,t),this.prevAngle=t,this.emit("rotate",this)}}get isRotated(){return this.state===Eb}get rotation(){return Sb(this.angle)}setDragThreshold(t){return this.dragThreshold=t,this}}var Tb={spinObject:function(t,e){if(!this.isRotation)return this;void 0===e&&(e=this.pointers[0].camera);var i=this.movementCenterX,s=this.movementCenterY,r=function(t,e,i,s){return void 0===s?s={}:!0===s&&(s=bb),i.getWorldPoint(t,e,s),s}(this.centerX,this.centerY,e,!0),n=r.x,a=r.y,o=this.rotation;if(Array.isArray(t))for(var h=t,l=0,d=h.length;l0&&(r=!0,void 0===n&&(n=0),void 0===a&&(a=0)),(u=this.getSizerConfig(t)).align=i,u.padding=Bv(s),Nb(r)?(u.expandWidth=$b(r,"width",!1),u.expandHeight=$b(r,"height",!1)):(u.expandWidth=r,u.expandHeight=r),t.isRexSizer||(u.expandWidth&&(t.minWidth=void 0===n?jn(t):n),u.expandHeight&&(t.minHeight=void 0===a?zn(t):a)),u.alignOffsetX=o,u.alignOffsetY=h,u.alignOffsetOriginX=d,u.alignOffsetOriginY=c,u.aspectRatio=l,this.sizerChildren.hasOwnProperty(e)&&this.sizerChildren[e].destroy(),this.sizerChildren[e]=t,p&&this.addChildrenMap(e,t),this}};const Zb=Zg.prototype.clear;var Qb=function(t){this.backgroundChildren&&(this.backgroundChildren.length=0);var e,i=!t&&this.sizerEventsEnable;if(i&&(e=this.getChildren([])),Zb.call(this,t),i)for(var s,r=0,n=e.length;r0&&(Hb.width=e.aspectRatio,Hb.height=1,Ub.width=l,Ub.height=d,l=(c=Yb(Hb,Ub,"FIT",!0)).width,d=c.height),t.isRexSizer?(t.runLayout(this,l,d),Gb(t,this)):af(t,l,d),s=u+i.left*this.scaleX,n=g-(i.left+i.right)*this.scaleX,r=p+i.top*this.scaleY,a=v-(i.top+i.bottom)*this.scaleY,void 0===l&&(l=jn(t)),void 0===d&&(d=zn(t)),o=(e.alignOffsetX+e.alignOffsetOriginX*l)*this.scaleX,h=(e.alignOffsetY+e.alignOffsetOriginY*d)*this.scaleY,qm.call(this,t,s,r,n,a,e.align,o,h))}};Object.assign(ex,qb,tx);var ix=function(t,e){if(Array.isArray(t))return t.indexOf(e);for(var i in t)if(t[i]===e)return i;return null};const sx=Phaser.Utils.Objects.IsPlainObject,rx=Phaser.Utils.Objects.GetValue;class nx extends Xb{constructor(t,e,i,s,r,n){sx(e)?(e=rx(n=e,"x",0),i=rx(n,"y",0),s=rx(n,"width",void 0),r=rx(n,"height",void 0)):sx(s)&&(s=rx(n=s,"width",void 0),r=rx(n,"height",void 0)),super(t,e,i,s,r,n),this.type="rexOverlapSizer",this.sizerChildren={},this.addChildrenMap("items",this.sizerChildren)}childToKey(t){if("string"!=typeof t)return ix(this.sizerChildren,t);var e=t;return this.sizerChildren.hasOwnPropery(e)?e:null}}Object.assign(nx.prototype,ex);var ax=Phaser.Math.Distance.Between,ox=function(t,e,i){var s=t.width/2;return ax(s,s,e,i)<=s};const hx=Phaser.Math.Angle.Between,lx=Phaser.Math.Angle.Normalize;var dx=function(t,e,i){if(this.enable&&t.isDown){var s=this.sizerChildren.knob;if(ox(s,e,i)){var r=s.width/2,n=s.startAngle,a=hx(r,r,e,i),o=s.anticlockwise?n-a:a-n,h=lx(o)/(2*Math.PI);this.stopEaseValue(),0===this.easeValueDuration||Math.abs(this.value-h)<.1?this.value=h:this.easeValueTo(h)}}},cx=function(){this.sizerChildren.knob.on("pointerdown",dx,this).on("pointermove",dx,this).setInteractive()};const ux=Phaser.Math.Angle.Between,px=Phaser.Math.Angle.Wrap;var gx=function(t,e,i){if(this.enable&&!this.panPointer){var s=this.sizerChildren.knob;ox(s,e,i)&&mx.call(this,t)}},vx=function(t,e,i){if(this.enable&&t.isDown){var s=this.sizerChildren.knob;switch(this.panState){case xx:ox(s,e,i)&&mx.call(this,t);break;case Cx:ox(s,e,i)?bx.call(this):yx.call(this)}}},fx=function(t,e,i){this.enable&&this.panPointer===t&&yx.call(this)},mx=function(t){this.panPointer=t,this.panState=Cx},yx=function(){this.panPointer=void 0,this.panState=xx},bx=function(){var t=this.panPointer.prevPosition,e=this.panPointer.position,i=this.sizerChildren.knob,s=ux(i.x,i.y,t.x,t.y),r=ux(i.x,i.y,e.x,e.y),n=i.anticlockwise?s-r:r-s,a=px(n)/(2*Math.PI);this.stopEaseValue(),this.value+=a};const xx=0,Cx=1;var kx=function(){this.sizerChildren.knob.on("pointerdown",gx,this).on("pointermove",vx,this).on("pointerup",fx,this).setInteractive(),this.panPointer=void 0,this.panState=xx},wx=function(t){return void 0===t&&(t=this.value),this.textFormatCallbackScope?this.textFormatCallback(t):this.textFormatCallback.call(this.textFormatCallbackScope,t)},Sx={setTextFormatCallback:function(t,e){return this.textFormatCallback=t,this.textFormatCallbackScope=e,this},getFormatText:wx,updateText:function(t){var e=this.sizerChildren.text;return e&&this.textFormatCallback&&(e.setText(wx.call(this,t)),e.layout&&e.layout()),this}};const Px=Phaser.Utils.Objects.GetValue,Tx=Phaser.Math.Snap.To;class Ox extends(Vu(nx)){constructor(t,e){void 0===e&&(e={}),super(t,e),this.type="rexKnob",this.bootProgressBase(e);var i=Px(e,"background",void 0),s=Px(e,"text",void 0);i&&this.addBackground(i),s&&(e.textColor=void 0,e.textStrokeColor=void 0,this.setTextFormatCallback(Px(e,"textFormatCallback",void 0),Px(e,"textFormatCallbackScope",void 0)),e.textFormatCallback=void 0,e.textFormatCallbackScope=void 0);var r=new op(t,e);r.setDepth(Px(e,"knobDepth",0)),r._value=-1,t.add.existing(r),this.add(r,"knob"),s&&(this.add(s,"text","center",0,!1),t.children.moveBelow(r,s)),this.addChildrenMap("background",i),this.addChildrenMap("knob",r),this.addChildrenMap("text",s),this.setEnable(Px(e,"enable",void 0)),this.setGap(Px(e,"gap",void 0)),this.setValue(Px(e,"value",0),Px(e,"min",void 0),Px(e,"max",void 0));var n=Px(e,"input",0);switch("string"==typeof n&&(n=Mx[n]),n){case 0:kx.call(this);break;case 1:cx.call(this)}}setEnable(t){return void 0===t&&(t=!0),this.enable=t,this}setGap(t){return this.gap=t,this}get value(){return this.sizerChildren.knob.value}set value(t){void 0!==this.gap&&(t=Tx(t,this.gap));var e=this.value;this.sizerChildren.knob.value=t;var i=this.value;e!==i&&(this.updateText(),this.eventEmitter.emit("valuechange",i,e,this.eventEmitter))}}const Mx={pan:0,drag:0,click:1,none:-1};Object.assign(Ox.prototype,Sx),t.register("knob",(function(t){var e=new Ox(this.scene,t);return this.scene.add.existing(e),e})),P(window,"RexPlugins.UI.Knob",Ox);const Ex={arc:wc,circle:Sc,curve:class extends Cc{constructor(t){super(),this.setCurve(t),this.setIterations(32)}get curve(){return this._curve}set curve(t){this.dirty=this.dirty||this._curve!==t,this._curve=t}setCurve(t){return this.curve=t,this}get iterations(){return this._iterations}set iterations(t){this.dirty=this.dirty||this._iterations!==t,this._iterations=t}setIterations(t){return this.iterations=t,this}updateData(){this.pathData.length=0;for(var t=this.curve.getPoints(this.iterations),e=0,i=t.length;ethis.value)for(var d=0;dthis.value&&(t+=1));for(var r=this.getShapes(),n=0,a=r.length;n0?d.pop().setTexture(u,O):r(c,u,O),h&&c.add.existing(T),l){var M=b+k*P+a*k,E=x+w*S+o*w;T.setOrigin(a,o).setPosition(M,E).setScale(v,f).setRotation(m),dk(T,b,x,m)}C.push(T)}return C}(t,e,i,s),a=0,o=n.length;a0&&(a=this.getChildLocalScaleX(s),a/=s.biasScale,this.setChildLocalScale(s,a)),r.biasScale&&(a=this.getChildLocalScaleX(r),a/=r.biasScale,this.setChildLocalScale(r,a))),e?t.call(e,i,s,r,n):t(i,s,r,n),this.scaleMode&&(s.biasScale>0&&(a=this.getChildLocalScaleX(s),a*=s.biasScale,this.setChildLocalScale(s,a)),r.biasScale&&(a=this.getChildLocalScaleX(r),a*=r.biasScale,this.setChildLocalScale(r,a))))};Object.assign(xk.prototype,pk);const kk={fit:1,FIT:1,envelop:2,ENVELOP:2};t.register("transitionImage",(function(t,e,i,s,r){var n=new xk(this.scene,t,e,i,s,r);return this.scene.add.existing(n),n})),P(window,"RexPlugins.UI.TransitionImage",xk);const wk=Phaser.Renderer.WebGL.Pipelines.PostFXPipeline,Sk=Phaser.Utils.Objects.GetValue,Pk=Phaser.Math.Clamp;class Tk extends wk{constructor(t){super({name:"rexDissolvePostFx",game:t,renderTarget:!0,fragShader:"#ifdef GL_FRAGMENT_PRECISION_HIGH\n#define highmedp highp\n#else\n#define highmedp mediump\n#endif\nprecision highmedp float;\n// Scene buffer\nuniform sampler2D uMainSampler;\nuniform sampler2D uMainSampler2;\n\nuniform int resizeMode;\nuniform float progress;\nuniform float fromRatio;\nuniform float toRatio;\nvarying vec2 outFragCoord;\n// Effect parameters\nuniform float noiseX;\nuniform float noiseY;\nuniform float noiseZ;\nuniform float fromEdgeStart;\nuniform float fromEdgeWidth;\nuniform float toEdgeStart;\nuniform float toEdgeWidth;\n\nvec3 mod289(vec3 x) { return x - floor(x * (1.0 / 289.0)) * 289.0; }\nvec4 mod289(vec4 x) { return x - floor(x * (1.0 / 289.0)) * 289.0; }\nvec4 permute(vec4 x) { return mod289(((x*34.0)+1.0)*x); }\nvec4 taylorInvSqrt(vec4 r) { return 1.79284291400159 - 0.85373472095314 * r; }\nvec3 fade(vec3 t) { return t*t*t*(t*(t*6.0-15.0)+10.0); }\nfloat Perlin(vec3 P) {\n vec3 i0 = mod289(floor(P)), i1 = mod289(i0 + vec3(1.0));\n vec3 f0 = fract(P), f1 = f0 - vec3(1.0), f = fade(f0);\n vec4 ix = vec4(i0.x, i1.x, i0.x, i1.x), iy = vec4(i0.yy, i1.yy);\n vec4 iz0 = i0.zzzz, iz1 = i1.zzzz;\n vec4 ixy = permute(permute(ix) + iy), ixy0 = permute(ixy + iz0), ixy1 = permute(ixy + iz1);\n vec4 gx0 = ixy0 * (1.0 / 7.0), gy0 = fract(floor(gx0) * (1.0 / 7.0)) - 0.5;\n vec4 gx1 = ixy1 * (1.0 / 7.0), gy1 = fract(floor(gx1) * (1.0 / 7.0)) - 0.5;\n gx0 = fract(gx0); gx1 = fract(gx1);\n vec4 gz0 = vec4(0.5) - abs(gx0) - abs(gy0), sz0 = step(gz0, vec4(0.0));\n vec4 gz1 = vec4(0.5) - abs(gx1) - abs(gy1), sz1 = step(gz1, vec4(0.0));\n gx0 -= sz0 * (step(0.0, gx0) - 0.5); gy0 -= sz0 * (step(0.0, gy0) - 0.5);\n gx1 -= sz1 * (step(0.0, gx1) - 0.5); gy1 -= sz1 * (step(0.0, gy1) - 0.5);\n vec3 g0 = vec3(gx0.x,gy0.x,gz0.x), g1 = vec3(gx0.y,gy0.y,gz0.y),\n g2 = vec3(gx0.z,gy0.z,gz0.z), g3 = vec3(gx0.w,gy0.w,gz0.w),\n g4 = vec3(gx1.x,gy1.x,gz1.x), g5 = vec3(gx1.y,gy1.y,gz1.y),\n g6 = vec3(gx1.z,gy1.z,gz1.z), g7 = vec3(gx1.w,gy1.w,gz1.w);\n vec4 norm0 = taylorInvSqrt(vec4(dot(g0,g0), dot(g2,g2), dot(g1,g1), dot(g3,g3)));\n vec4 norm1 = taylorInvSqrt(vec4(dot(g4,g4), dot(g6,g6), dot(g5,g5), dot(g7,g7)));\n g0 *= norm0.x; g2 *= norm0.y; g1 *= norm0.z; g3 *= norm0.w;\n g4 *= norm1.x; g6 *= norm1.y; g5 *= norm1.z; g7 *= norm1.w;\n vec4 nz = mix(vec4(dot(g0, vec3(f0.x, f0.y, f0.z)), dot(g1, vec3(f1.x, f0.y, f0.z)),\n dot(g2, vec3(f0.x, f1.y, f0.z)), dot(g3, vec3(f1.x, f1.y, f0.z))),\n vec4(dot(g4, vec3(f0.x, f0.y, f1.z)), dot(g5, vec3(f1.x, f0.y, f1.z)),\n dot(g6, vec3(f0.x, f1.y, f1.z)), dot(g7, vec3(f1.x, f1.y, f1.z))), f.z);\n return 2.2 * mix(mix(nz.x,nz.z,f.y), mix(nz.y,nz.w,f.y), f.x);\n}\nfloat Perlin(vec2 P) { return Perlin(vec3(P, 0.0)); }\n\n\nvec4 getFromColor (vec2 uv) {\n return texture2D(uMainSampler, uv);\n}\n\nvec4 getToColor (vec2 uv) {\n if (resizeMode == 2) {\n // cover\n return texture2D(uMainSampler2, 0.5 + (vec2(uv.x, 1.0 - uv.y) - 0.5) * vec2(min(fromRatio / toRatio, 1.0), min((toRatio / fromRatio), 1.0)));\n } else if (resizeMode == 1) {\n // contain\n return texture2D(uMainSampler2, 0.5 + (vec2(uv.x, 1.0 - uv.y) - 0.5) * vec2(max(fromRatio / toRatio, 1.0), max((toRatio / fromRatio), 1.0)));\n } else {\n // stretch\n return texture2D(uMainSampler2, vec2(uv.x, 1.0 - uv.y));\n }\n}\n\nvec4 transition (vec2 uv) { \n vec4 colorFront = getFromColor(uv);\n vec4 colorTo = getToColor(uv);\n\n float noise = (Perlin(vec3(uv.x * noiseX, uv.y * noiseY, noiseZ)) + 1.0) / 2.0\n * (1.0 - (fromEdgeStart + fromEdgeWidth + toEdgeStart + toEdgeWidth))\n + (fromEdgeStart + fromEdgeWidth + toEdgeStart + toEdgeWidth) * 0.5;\n vec4 colorResult = colorFront * smoothstep(progress - (fromEdgeStart + fromEdgeWidth), progress - fromEdgeStart, noise)\n + colorTo * smoothstep((1.0 - progress) - (toEdgeStart + toEdgeWidth), (1.0 - progress) - toEdgeStart, (1.0 - noise));\n return colorResult;\n}\n\nvoid main () {\n vec2 uv = outFragCoord;\n gl_FragColor = transition(uv);\n}\n"}),this._progress=0,this.toFrame=null,this.targetTexture=null,this.resizeMode=1,this.toRatio=1,this.noiseX=0,this.noiseY=0,this.noiseZ=0,this.fromEdgeStart=.01,this.fromEdgeWidth=.05,this.toEdgeStart=.01,this.toEdgeWidth=.05}resetFromJSON(t){return this.setProgress(Sk(t,"progress",0)),this.setTransitionTargetTexture(Sk(t,"toTexture","__DEFAULT"),Sk(t,"toFrame",void 0),Sk(t,"resizeMode",1)),this.setNoise(Sk(t,"noiseX",void 0),Sk(t,"noiseY",void 0),Sk(t,"noiseZ",void 0)),this.setFromEdge(Sk(t,"fromEdgeStart",.01),Sk(t,"fromEdgeWidth",.05)),this.setToEdge(Sk(t,"toEdgeStart",.01),Sk(t,"toEdgeWidth",.05)),this}onBoot(){}onPreRender(){this.set1f("progress",this.progress),this.set1i("resizeMode",this.resizeMode),this.set1f("noiseX",this.noiseX),this.set1f("noiseY",this.noiseY),this.set1f("noiseZ",this.noiseZ),this.set1f("fromEdgeStart",this.fromEdgeStart),this.set1f("fromEdgeWidth",this.fromEdgeWidth),this.set1f("toEdgeStart",this.toEdgeStart),this.set1f("toEdgeWidth",this.toEdgeWidth)}onDraw(t){this.set1f("fromRatio",t.width/t.height),this.set1f("toRatio",this.toRatio),this.set1i("uMainSampler2",1),this.bindTexture(this.targetTexture,1),this.bindAndDraw(t)}get progress(){return this._progress}set progress(t){this._progress=Pk(t,0,1)}setProgress(t){return this.progress=t,this}setTransitionTargetTexture(t,e,i){void 0===t&&(t="__DEFAULT");var s=this.game.textures.getFrame(t,e);return s||(s=this.game.textures.getFrame("__DEFAULT")),this.toRatio=s.width/s.height,this.toFrame=s,this.targetTexture=s.glTexture,void 0!==i&&(this.resizeMode=i),this}setResizeMode(t){return"string"==typeof t&&(t=Ok[t]),this.resizeMode=t,this}setNoise(t,e,i){return void 0===t&&(t=4+6*Math.random()),void 0===e&&(e=4+6*Math.random()),void 0===i&&(i=10*Math.random()),this.noiseX=t,this.noiseY=e,this.noiseZ=i,this}setFromEdge(t,e){return this.fromEdgeStart=t,this.fromEdgeWidth=e,this}setToEdge(t,e){return this.toEdgeStart=t,this.toEdgeWidth=e,this}}var Ok={stretch:0,contain:1,cover:2};const Mk=Phaser.Utils.Array.SpliceOne,Ek=.1,_k=[function(t){t.addTransitionMode("slideAwayRight",{ease:"Linear",dir:"out",mask:!0,onStart:function(t,e,i,s){},onProgress:function(t,e,i,s){var r=e.width*s;t.setChildLocalPosition(e,r,0)},onComplete:function(t,e,i,s){t.setChildLocalPosition(e,0,0)}}).addTransitionMode("slideAwayLeft",{ease:"Linear",dir:"out",mask:!0,onStart:function(t,e,i,s){},onProgress:function(t,e,i,s){var r=e.width*-s;t.setChildLocalPosition(e,r,0)},onComplete:function(t,e,i,s){t.setChildLocalPosition(e,0,0)}}).addTransitionMode("slideAwayDown",{ease:"Linear",dir:"out",mask:!0,onStart:function(t,e,i,s){},onProgress:function(t,e,i,s){var r=e.height*s;t.setChildLocalPosition(e,0,r)},onComplete:function(t,e,i,s){t.setChildLocalPosition(e,0,0)}}).addTransitionMode("slideAwayUp",{ease:"Linear",dir:"out",mask:!0,onStart:function(t,e,i,s){},onProgress:function(t,e,i,s){var r=e.height*-s;t.setChildLocalPosition(e,0,r)},onComplete:function(t,e,i,s){t.setChildLocalPosition(e,0,0)}})},function(t){t.addTransitionMode("slideRight",{ease:"Linear",dir:"in",mask:!0,onStart:function(t,e,i,s){},onProgress:function(t,e,i,s){var r=i.width*(s-1);t.setChildLocalPosition(i,r,0)},onComplete:function(t,e,i,s){t.setChildLocalPosition(i,0,0)}}).addTransitionMode("slideLeft",{ease:"Linear",dir:"in",mask:!0,onStart:function(t,e,i,s){},onProgress:function(t,e,i,s){var r=i.width*(1-s);t.setChildLocalPosition(i,r,0)},onComplete:function(t,e,i,s){t.setChildLocalPosition(i,0,0)}}).addTransitionMode("slideDown",{ease:"Linear",dir:"in",mask:!0,onStart:function(t,e,i,s){},onProgress:function(t,e,i,s){var r=i.height*(s-1);t.setChildLocalPosition(i,0,r)},onComplete:function(t,e,i,s){t.setChildLocalPosition(i,0,0)}}).addTransitionMode("slideUp",{ease:"Linear",dir:"in",mask:!0,onStart:function(t,e,i,s){},onProgress:function(t,e,i,s){var r=i.height*(1-s);t.setChildLocalPosition(i,0,r)},onComplete:function(t,e,i,s){t.setChildLocalPosition(i,0,0)}})},function(t){t.addTransitionMode("pushRight",{ease:"Linear",dir:"out",mask:!0,onStart:function(t,e,i,s){},onProgress:function(t,e,i,s){var r=e.width*s;t.setChildLocalPosition(e,r,0),r=i.width*(s-1),t.setChildLocalPosition(i,r,0)},onComplete:function(t,e,i,s){t.setChildLocalPosition(e,0,0),t.setChildLocalPosition(i,0,0)}}).addTransitionMode("pushLeft",{ease:"Linear",dir:"out",mask:!0,onStart:function(t,e,i,s){},onProgress:function(t,e,i,s){var r=e.width*-s;t.setChildLocalPosition(e,r,0),r=i.width*(1-s),t.setChildLocalPosition(i,r,0)},onComplete:function(t,e,i,s){t.setChildLocalPosition(e,0,0),t.setChildLocalPosition(i,0,0)}}).addTransitionMode("pushDown",{ease:"Linear",dir:"out",mask:!0,onStart:function(t,e,i,s){},onProgress:function(t,e,i,s){var r=e.height*s;t.setChildLocalPosition(e,0,r),r=i.height*(s-1),t.setChildLocalPosition(i,0,r)},onComplete:function(t,e,i,s){t.setChildLocalPosition(e,0,0),t.setChildLocalPosition(i,0,0)}}).addTransitionMode("pushUp",{ease:"Linear",dir:"out",mask:!0,onStart:function(t,e,i,s){},onProgress:function(t,e,i,s){var r=e.height*-s;t.setChildLocalPosition(e,0,r),r=i.height*(1-s),t.setChildLocalPosition(i,0,r)},onComplete:function(t,e,i,s){t.setChildLocalPosition(e,0,0),t.setChildLocalPosition(i,0,0)}})},function(t){t.addTransitionMode("zoomOut",{ease:"Linear",dir:"out",mask:!1,onStart:function(t,e,i,s){},onProgress:function(t,e,i,s){var r=1-s;t.setChildLocalScale(e,r,r)},onComplete:function(t,e,i,s){t.setChildLocalScale(e,1,1)}}).addTransitionMode("zoomIn",{ease:"Linear",dir:"in",mask:!1,onStart:function(t,e,i,s){},onProgress:function(t,e,i,s){var r=s;t.setChildLocalScale(i,r,r)},onComplete:function(t,e,i,s){t.setChildLocalScale(i,1,1)}}).addTransitionMode("zoomInOut",{ease:"Linear",dir:"out",mask:!1,onStart:function(t,e,i,s){i.tint=0},onProgress:function(t,e,i,s){var r;s<.5?(r=1-So(s),t.setChildLocalScale(e,r,r)):(e.visible&&t.setChildVisible(e,!1),r=1-So(s),t.setChildLocalScale(i,r,r))},onComplete:function(t,e,i,s){t.setChildLocalScale(e,1,1),t.setChildVisible(e,!0),e.tint=16777215,t.setChildLocalScale(i,1,1),t.setChildVisible(i,!0),i.tint=16777215}})},function(t){t.addTransitionMode("fade",{ease:"Linear",dir:"out",mask:!1,onStart:function(t,e,i,s){i.tint=0},onProgress:function(t,e,i,s){var r;s<.5?(s=So(s),r=Math.floor(255*(1-s)),e.tint=(r<<16)+(r<<8)+r):(e.visible&&t.setChildVisible(e,!1),s=So(s),r=Math.floor(255*(1-s)),i.tint=(r<<16)+(r<<8)+r)},onComplete:function(t,e,i,s){t.setChildVisible(e,!0),e.tint=16777215,t.setChildVisible(i,!0),i.tint=16777215}}).addTransitionMode("crossFade",{ease:"Linear",dir:"out",mask:!1,onStart:function(t,e,i,s){},onProgress:function(t,e,i,s){t.setChildLocalAlpha(e,1-s),t.setChildLocalAlpha(i,s)},onComplete:function(t,e,i,s){t.setChildLocalAlpha(e,1)}})},function(t){var e,i=(e=t.scene,new Gx(e,{type:"Graphics",create:[{name:"rect",type:"rectangle"}],update:function(){this.getShape("rect").fillStyle(16777215).setSize(this.width*this.value,this.height*this.value).setCenterPosition(this.centerX,this.centerY)}}));t.once("destroy",(function(){i.destroy()})).addTransitionMode("irisOut",{ease:"Linear",dir:"out",mask:i,onStart:function(t,e,i,s){t.setCurrentImageMaskEnable(!0,!0)},onProgress:function(t,e,i,s){t.maskGameObject.setValue(s)},onComplete:function(t,e,i,s){t.removeMaskGameObject(!1)}}).addTransitionMode("irisIn",{ease:"Linear",dir:"in",mask:i,onStart:function(t,e,i,s){t.setNextImageMaskEnable(!0,!0)},onProgress:function(t,e,i,s){t.maskGameObject.setValue(1-s)},onComplete:function(t,e,i,s){t.removeMaskGameObject(!1)}}).addTransitionMode("irisInOut",{ease:"Linear",dir:"out",mask:i,onStart:function(t,e,i,s){i.tint=0,t.setCurrentImageMaskEnable(!0),t.setNextImageMaskEnable(!0)},onProgress:function(t,e,i,s){var r;s<.5?(s=So(s),r=Math.floor(255*(1-s)),t.maskGameObject.setValue(1-s),e.tint=(r<<16)+(r<<8)+r):(e.visible&&t.setChildVisible(e,!1),s=So(s),r=Math.floor(255*(1-s)),t.maskGameObject.setValue(1-s),i.tint=(r<<16)+(r<<8)+r)},onComplete:function(t,e,i,s){t.removeMaskGameObject(!1),t.setChildVisible(e,!0),e.tint=16777215,t.setChildVisible(i,!0),i.tint=16777215}})},function(t){var e,i=(e=t.scene,new Gx(e,{type:"Graphics",create:[{name:"pie",type:"arc"}],update:function(){var t=2*Math.max(this.width,this.height),e=90*this.value;this.getShape("pie").fillStyle(16777215).setCenterPosition(this.centerX,0).setRadius(t).setAngle(90-e,90+e).setPie()}}));t.once("destroy",(function(){i.destroy()})).addTransitionMode("pieOut",{ease:"Linear",dir:"out",mask:i,onStart:function(t,e,i,s){t.setCurrentImageMaskEnable(!0,!0)},onProgress:function(t,e,i,s){t.maskGameObject.setValue(s)},onComplete:function(t,e,i,s){t.removeMaskGameObject(!1)}}).addTransitionMode("pieIn",{ease:"Linear",dir:"in",mask:i,onStart:function(t,e,i,s){t.setNextImageMaskEnable(!0,!0)},onProgress:function(t,e,i,s){t.maskGameObject.setValue(1-s)},onComplete:function(t,e,i,s){t.removeMaskGameObject(!1)}}).addTransitionMode("pieInOut",{ease:"Linear",dir:"out",mask:i,onStart:function(t,e,i,s){i.tint=0,t.setCurrentImageMaskEnable(!0),t.setNextImageMaskEnable(!0)},onProgress:function(t,e,i,s){var r;s<.5?(s=So(s),r=Math.floor(255*(1-s)),t.maskGameObject.setValue(1-s),e.tint=(r<<16)+(r<<8)+r):(e.visible&&t.setChildVisible(e,!1),s=So(s),r=Math.floor(255*(1-s)),t.maskGameObject.setValue(1-s),i.tint=(r<<16)+(r<<8)+r)},onComplete:function(t,e,i,s){t.removeMaskGameObject(!1),t.setChildVisible(e,!0),e.tint=16777215,t.setChildVisible(i,!0),i.tint=16777215}})},function(t){var e,i=(e=t.scene,new Gx(e,{type:"Graphics",create:[{name:"rect",type:"rectangle"}],update:function(){var t=this.getShape("rect").fillStyle(16777215),e=1-this.value;switch(this.wipeMode){case"right":t.setSize(this.width*e,this.height).setTopLeftPosition(this.width-t.width,0);break;case"left":t.setSize(this.width*e,this.height).setTopLeftPosition(0,0);break;case"down":t.setSize(this.width,this.height*e).setTopLeftPosition(0,this.height-t.height);break;case"up":t.setSize(this.width,this.height*e).setTopLeftPosition(0,0)}}}));t.once("destroy",(function(){i.destroy()})).addTransitionMode("wipeRight",{ease:"Linear",dir:"out",mask:i,onStart:function(t,e,i,s){t.setCurrentImageMaskEnable(!0),t.maskGameObject.wipeMode="right"},onProgress:function(t,e,i,s){t.maskGameObject.setValue(s)},onComplete:function(t,e,i,s){t.removeMaskGameObject(!1)}}).addTransitionMode("wipeLeft",{ease:"Linear",dir:"out",mask:i,onStart:function(t,e,i,s){t.setCurrentImageMaskEnable(!0),t.maskGameObject.wipeMode="left"},onProgress:function(t,e,i,s){t.maskGameObject.setValue(s)},onComplete:function(t,e,i,s){t.removeMaskGameObject(!1)}}).addTransitionMode("wipeDown",{ease:"Linear",dir:"out",mask:i,onStart:function(t,e,i,s){t.setCurrentImageMaskEnable(!0),t.maskGameObject.wipeMode="down"},onProgress:function(t,e,i,s){t.maskGameObject.setValue(s)},onComplete:function(t,e,i,s){t.removeMaskGameObject(!1)}}).addTransitionMode("wipeUp",{ease:"Linear",dir:"out",mask:i,onStart:function(t,e,i,s){t.setCurrentImageMaskEnable(!0),t.maskGameObject.wipeMode="up"},onProgress:function(t,e,i,s){t.maskGameObject.setValue(s)},onComplete:function(t,e,i,s){t.removeMaskGameObject(!1)}})},function(t){var e=function(t,e){var i=new Gx(t,{type:"Graphics",create:{rectangle:e},update:function(){for(var t=this.getShapes(),i=this.width/e,s=0;s=0;s--)(a=r[s])instanceof e&&(a.destroy(),Mk(r,s));else{s=0;for(var r,n=(r=t.postPipelines).length;s0}(e,Tk),delete e.effect}})},function(t){t.addTransitionMode("revealRight",{ease:"Linear",dir:"in",mask:!1,onStart:function(t,e,i,s){i.effect=i.preFX.addReveal(Ek,0,0)},onProgress:function(t,e,i,s){i.effect.progress=s},onComplete:function(t,e,i,s){i.preFX.remove(i.effect),delete i.effect}}).addTransitionMode("revealLeft",{ease:"Linear",dir:"in",mask:!1,onStart:function(t,e,i,s){i.effect=i.preFX.addReveal(Ek,1,0)},onProgress:function(t,e,i,s){i.effect.progress=s},onComplete:function(t,e,i,s){i.preFX.remove(i.effect),delete i.effect}}).addTransitionMode("revealDown",{ease:"Linear",dir:"in",mask:!1,onStart:function(t,e,i,s){i.effect=i.preFX.addReveal(Ek,0,1)},onProgress:function(t,e,i,s){i.effect.progress=s},onComplete:function(t,e,i,s){i.preFX.remove(i.effect),delete i.effect}}).addTransitionMode("revealUp",{ease:"Linear",dir:"in",mask:!1,onStart:function(t,e,i,s){i.effect=i.preFX.addReveal(Ek,1,1)},onProgress:function(t,e,i,s){i.effect.progress=s},onComplete:function(t,e,i,s){i.preFX.remove(i.effect),delete i.effect}})}];class Rk extends xk{constructor(t,e,i,s,r,n){super(t,e,i,s,r,n);for(var a=0,o=_k.length;at.dropEnable}),this.on("drop",(function(t,e){this._files=e.dataTransfer.files;var i=this._files;if(i&&this.filters)for(var s in this.filters){for(var r=this.filters[s],n=[],a=0,o=i.length;a0&&this.emit(`drop.${s}`,n)}}),this)}get files(){return this._files}}Object.assign(vw.prototype,dw),t.register("fileDropZone",(function(t){var e=new vw(this.scene,t);return this.scene.add.existing(e),e})),P(window,"RexPlugins.UI.FileDropZone",vw);const fw=Phaser.Math.Wrap;var mw=function(t,e){if(this.hasRatioFitChild){var i,s,r;0===this.orientation?i=e-(this.getInnerPadding("top")+this.getInnerPadding("bottom"))*this.scaleY:(this.getInnerPadding("left"),this.getInnerPadding("right"),this.scaleX);for(var n=this.sizerChildren,a=0,o=n.length;a(i=0===this.orientation?Math.abs(h.left-t):Math.abs(h.top-e))&&(n=i,r=a)}return h=s[s.length-1],n>(i=0===this.orientation?Math.abs(h.right-t):Math.abs(h.bottom-e))&&(n=i,r=a+1),r};const Cw=Phaser.Utils.Objects.IsPlainObject,kw=Phaser.Utils.Objects.GetValue,ww=Phaser.Display.Align.CENTER,Sw={min:0,full:-1};var Pw=function(t,e,i,s,r,n,a,o,h,l){var d,c,u,p;Dv.call(this,t);var g=t.isRexSpace,v=typeof e;if(null===e)return this;if("number"===v);else if("string"===v)e=Sw[e];else if(Cw(e)){var f;e=kw(f=e,"proportion",void 0),i=kw(f,"align",ww),s=kw(f,"padding",0),r=kw(f,"expand",!1),n=kw(f,"key",void 0),a=kw(f,"index",void 0),t.isRexSizer||(o=kw(f,"minWidth",void 0),h=kw(f,"minHeight",void 0)),l=kw(f,"fitRatio",0),d=kw(f,"offsetX",0),c=kw(f,"offsetY",0),u=kw(f,"offsetOriginX",0),p=kw(f,"offsetOriginY",0)}return"string"==typeof i&&(i=ev[i]),void 0===e&&(e=g?1:0),void 0===i&&(i=ww),void 0===s&&(s=0),void 0===r&&(r=!1),void 0===o&&(g?o=0:t.isRexSizer||(o=t._minWidth)),void 0===h&&(g?h=0:t.isRexSizer||(h=t._minHeight)),void 0===l||!1===l?l=0:!0===l&&(l=jn(t)/zn(t)),void 0===d&&(d=0),void 0===c&&(c=0),void 0===u&&(u=0),void 0===p&&(p=0),(f=this.getSizerConfig(t)).proportion=e,f.align=i,f.padding=Bv(s),f.expand=r,f.fitRatio=0===e?l:0,f.alignOffsetX=d,f.alignOffsetY=c,f.alignOffsetOriginX=u,f.alignOffsetOriginY=p,void 0===a||a>=this.sizerChildren.length?this.sizerChildren.push(t):this.sizerChildren.splice(a,0,t),t.isRexSizer||(e>0&&(0===this.orientation?t.minWidth=void 0===o?jn(t):o:t.minHeight=void 0===h?zn(t):h),r&&(0===this.orientation?t.minHeight=h:t.minWidth=o)),void 0!==n&&this.addChildrenMap(n,t),this},Tw={add:Pw,addSpace(t){return this.insertSpace(void 0,t),this},insertSpace(t,e){return void 0===e&&(e=1),Pw.call(this,new bw(this.scene),{proportion:e,minWidth:0,minHeight:0,index:t}),this},insert(t,e,i,s,r,n,a,o){return Cw(i)&&(i.index=t),Pw.call(this,e,i,s,r,n,a,t,o),this},insertAtPosition(t,e,i,s,r,n,a,o,h){var l=xw.call(this,t,e);return-1===l&&(l=void 0),this.insert(l,i,s,r,n,a,o,h),this}};const Ow=Phaser.Utils.Array.Remove;var Mw={remove(t,e){return this.getParentSizer(t)!==this||(Ow(this.sizerChildren,t),Wv.call(this,t,e)),this},removeAll(t){for(var e=this.sizerChildren.length-1;e>=0;e--)this.remove(this.sizerChildren[e],t);return this},clear(t){return this.sizerChildren.length=0,Qb.call(this,t),this}},Ew={getChildAlign(t){return this.getSizerConfig(t).align},setChildAlign(t,e){return"string"==typeof e&&(e=ev[e]),this.getSizerConfig(t).align=e,this}},_w={getChildProportion(t){return this.getSizerConfig(t).proportion},setChildProportion(t,e){return this.getSizerConfig(t).proportion=e,this}},Rw={getChildExpand(t){return this.getSizerConfig(t).expand},setChildExpand(t,e){return this.getSizerConfig(t).expand=e,this}},Lw={sortChildren(t){return this.sizerChildren.sort(t),this},sortChildrenByData(t,e){return this.sizerChildren.sort((function(i,s){var r=i.getData(t),n=s.getData(t);return e?n-r:r-n})),this},sortChildrenByProperty(t,e){return this.sizerChildren.sort((function(i,s){var r=i[t],n=s[t];return e?n-r:r-n})),this}},Bw={getChildrenWidth:function(t){if(this.rexSizer.hidden)return 0;void 0===t&&(t=!0);var e,i,s,r,n,a=0,o=this.sizerChildren,h=!1;if(this.childrenProportion,0===this.orientation)for(var l=!0,d=0,c=o.length;d0&&!i.resolved&&(n=void 0),void 0===n&&(0===s||this.hasProportion0Child?h=!0:n=0)):n=0,h||(n+=((r=e.rexSizer.padding).left+r.right)*this.scaleX,l?l=!1:n+=this.space.item*this.scaleX,a+=n)));else for(d=0,c=o.length;d0&&!i.resolved&&(n=void 0),void 0===n&&(0===s||this.hasProportion0Child?h=!0:n=0)):n=0,h||(n+=((r=i.padding).top+r.bottom)*this.scaleY,c?c=!1:n+=this.space.item*this.scaleY,a+=n)))}return h?void 0:a+(this.space.top+this.space.bottom)*this.scaleY},getExpandedChildWidth:function(t,e){var i;void 0===e&&(e=this.width*this.scaleX);var s=t.rexSizer;if(0===this.orientation)s.proportion>0&&this.proportionLength>0&&(i=s.proportion*this.proportionLength);else if(s.expand){var r=this.space,n=e-(r.left+r.right)*this.scaleX,a=s.padding;i=n-(a.left+a.right)*this.scaleX}return i},getExpandedChildHeight:function(t,e){var i;void 0===e&&(e=this.height);var s=t.rexSizer;if(0===this.orientation){if(s.expand){var r=this.space,n=e-(r.top+r.bottom)*this.scaleY,a=s.padding;i=n-(a.top+a.bottom)*this.scaleY}}else s.proportion>0&&this.proportionLength>0&&(i=s.proportion*this.proportionLength);return i},getChildrenSizers:function(t){void 0===t&&(t=[]);for(var e,i=this.sizerChildren,s=0,r=i.length;s0&&(af(t,0,0),e.resolved=!1,this.hasRatioFitChild=!0);return this._childrenProportion=void 0,this.hasProportion0Child=!1,this.proportionLength=void 0,sf.call(this),this},layoutChildren:function(){for(var t,e,i,s,r,n,a,o,h,l,d,c,u=this.sizerChildren,p=this.innerLeft,g=this.innerTop,v=this.innerWidth,f=this.innerHeight,m=p,y=g,b=this.startChildIndex,x=0,C=u.length;x0?(e=t-this.getChildrenWidth(!1),this.proportionLength=e/this.childrenProportion):this.proportionLength=0}return t},resolveHeight:function(t){if(void 0!==(t=Zv.call(this,t))&&1===this.orientation&&void 0===this.proportionLength){var e=t-this.childrenHeight;e>0?(e=t-this.getChildrenHeight(!1),this.proportionLength=e/this.childrenProportion):this.proportionLength=0}return t},hasWidthWrap:function(){return!(!this.hasRatioFitChild||1!==this.orientation)||Jv.call(this)},runWidthWrap:function(t){this.wrapResult||(1===this.orientation&&mw.call(this,t,void 0),qv.call(this,t))},hasHeightWrap:function(){return!(!this.hasRatioFitChild||0!==this.orientation)||Qv.call(this)},runHeightWrap:function(t){this.wrapResult||(0===this.orientation&&mw.call(this,void 0,t),tf.call(this,t))},setChildrenAlignMode:function(t){void 0===t&&(t="left");var e=this.sizerChildren,i=e[0],s=i&&i.isRexSpace;"right"===t||"bottom"===t||"center"===t?s||this.insertSpace(0):s&&this.remove(i,!0);var r=e.length-1,n=e[r],a=n&&n.isRexSpace;return"center"===t?a||this.insertSpace(r+1):a&&this.remove(n,!0),this}};Object.assign(Bw,Tw,Mw,Ew,_w,Rw,Lw);var Iw=function(){for(var t,e,i=0,s=this.sizerChildren,r=0,n=s.length;r0?i+=e:0===e&&(this.hasProportion0Child=!0));return i};const Dw=Phaser.Utils.Objects.IsPlainObject,Aw=Phaser.Utils.Objects.GetValue;class jw extends Xb{constructor(t,e,i,s,r,n,a){Dw(e)?(e=Aw(a=e,"x",0),i=Aw(a,"y",0),s=Aw(a,"width",void 0),r=Aw(a,"height",void 0),n=Aw(a,"orientation",0)):Dw(s)?(s=Aw(a=s,"width",void 0),r=Aw(a,"height",void 0),n=Aw(a,"orientation",0)):Dw(n)&&(n=Aw(a=n,"orientation",0)),void 0===n&&(n=0),super(t,e,i,s,r,a),this.type="rexSizer",this.sizerChildren=[],this.setOrientation(n),this.setItemSpacing(Aw(a,"space.item",0)),this.setStartChildIndex(Aw(a,"startChildIndex",0)),this.setRTL(Aw(a,"rtl",!1)),this.addChildrenMap("items",this.sizerChildren)}setOrientation(t){return this.orientation=Sp(t),this}setItemSpacing(t){return this.space.item=t,this}setStartChildIndex(t){return this.startChildIndex=t,this}setRTL(t){return void 0===t&&(t=!0),this.rtl=t,this}get childrenProportion(){return void 0===this._childrenProportion&&(this._childrenProportion=Iw.call(this)),this._childrenProportion}}Object.assign(jw.prototype,Bw);var zw=function(t,e,i){if(t){var s=null==e,r=null==i;return s&&r||(s||(t.displayWidth=e),r||(t.displayHeight=i),s&&(t.scaleX=t.scaleY),r&&(t.scaleY=t.scaleX)),t}},Fw={appendText:Mi,resetDisplayContent:function(t){void 0===t?t={}:"string"==typeof t&&(t={text:t});var e=t.text||"";this.setText(e);var i=this.childrenMap.icon;if(i){t.icon?this.show(i):this.hide(i);var s=t.iconSize;s&&(this.setChildDisplaySize(i,s,s),void 0!==this.iconWidth&&this.setIconSize(s)),!0!==t.icon&&this.setIconTexture(t.icon,t.iconFrame)}var r=this.childrenMap.action;if(r){t.action?this.show(r):this.hide(r);var n=t.actionSize;n&&(this.setChildDisplaySize(r,n,n),void 0!==this.actionWidth&&this.setActionSize(n)),!0!==t.action&&this.setActionTexture(t.action,t.actionFrame)}return this}};class Xw extends jw{get text(){var t=this.childrenMap.text;return t?t.text:""}set text(t){var e=this.childrenMap.text;e&&e.setText(t)}setText(t){return this.text=t,this}setIconTexture(t,e){var i=this.childrenMap.icon;return i&&i.setTexture?(i.setTexture(t,e),void 0!==this.iconWidth&&void 0!==this.iconHeight&&(zw(i,this.iconWidth,this.iconHeight),this.resetChildScaleState(i)),this):this}setTexture(t,e){return this.setIconTexture(t,e),this}setIconSize(t,e){return void 0===e&&(e=t),this.iconWidth=t,this.iconHeight=e,this}get texture(){var t=this.childrenMap.icon;if(t)return t.texture}get frame(){var t=this.childrenMap.icon;if(t)return t.frame}setActionTexture(t,e){var i=this.childrenMap.action;return i&&i.setTexture?(i.setTexture(t,e),void 0!==this.actionWidth&&void 0!==this.actionHeight&&(zw(i,this.actionWidth,this.actionHeight),this.resetChildScaleState(i)),this):this}get actionTexture(){var t=this.childrenMap.action;if(t)return t.texture}get actionFrame(){var t=this.childrenMap.action;if(t)return t.frame}setActionSize(t,e){return void 0===e&&(e=t),this.actionWidth=t,this.actionHeight=e,this}preLayout(){var t=this.childrenMap.icon;t&&void 0!==this.iconWidth&&void 0!==this.iconHeight&&zw(t,this.iconWidth,this.iconHeight);var e=this.childrenMap.action;e&&void 0!==this.actionWidth&&void 0!==this.actionHeight&&zw(e,this.actionWidth,this.actionHeight),super.preLayout()}postLayout(t,e,i){var s=this.childrenMap.iconMask;s&&(s.setPosition(),this.resetChildPositionState(s));var r=this.childrenMap.actionMask;return r&&(r.setPosition(),this.resetChildPositionState(r)),super.postLayout(t,e,i),this}resize(t,e){super.resize(t,e);var i=this.childrenMap.iconMask;i&&i.resize();var s=this.childrenMap.actionMask;return s&&s.resize(),this}}Object.assign(Xw.prototype,Fw);var Yw=function(t,e,i,s){var r=new rk(e,i,s);if(t&&!t.isRexSizer){var n=r.createGeometryMask();t.setMask(n),this.once("destroy",(function(){t.setMask(),n.destroy()}))}return this.pin(r),r};const Ww=Phaser.GameObjects.Text;var Vw=function(t){return t instanceof Ww};const Gw=Phaser.GameObjects.BitmapText;var Hw=function(t){return t instanceof Gw},Uw=function(t){return Hw(t)?2:Vw(t)?0:1},Nw=function(t,e){for(var i=[],s=t.split("\n"),r=e.style,n=r.wordWrapWidth,a=r.hasOwnProperty("wrapMode")?r.wrapMode:3,o=e.context,h=0,l=s.length;h0&&r.push(h.join("")),r},Kw=function(t,e){switch(Uw(t)){case 0:switch("string"==typeof e&&(e=Be[e]||0),t.style.wrapMode=e,e){case 2:case 3:t.style.wordWrapCallback=Nw;break;default:t.style.wordWrapCallback=null}break;case 1:"string"==typeof e&&(e=Be[e]||0),t.style.wrapMode=e}},Jw=function(t,e){return void 0===e&&(e=0),t._minWidth=e,t.runWidthWrap=function(t){return t instanceof hn}(t)?function(t){return function(e){return t.setFixedSize(e,0).runWordWrap(),t.minHeight=t.height,t}}(t):Hw(t)?function(t){return function(e){return t.setMaxWidth(e),t.minHeight=t.height,t}}(t):function(t){return function(e){var i=t.padding,s=e-(i.left+i.right)*t.scaleX,r=t.style;return Vw(t)?(r.wordWrapWidth=s,r.maxLines=0):(0===r.wrapMode&&(r.wrapMode=1),r.wrapWidth=s,r.maxLines=0),r.fixedWidth=e,r.fixedHeight=0,t.updateText(),t.minHeight=t.height,t}}(t),t};const qw=65535;var Zw=function(t,e,i){if(null==e)return t;if(0===e)return eS(t,0,i),t;var s=t.text.length;if(0===s)return eS(t,e,i),t;var r=Math.floor(1.5*e/s);void 0!==i&&r>i&&(r=Math.floor(i));for(var n={},a=tS(t,r,e,i,n),o=0;o<=qw&&0!==a;o++){if((r+=a)<0){r=0;break}a=tS(t,r,e,i,n)}return o===qw&&console.warn("FontSizeFit: Test count exceeds 65535"),t.setFontSize(r),eS(t,e,i),t},Qw=function(t,e,i){return void 0===i[e]&&(t.setFontSize(e),i[e]={width:t.width,height:t.height}),i[e]},tS=function(t,e,i,s,r){var n,a=Qw(t,e,r),o=Qw(t,e+1,r);if(void 0!==s)if(a.height<=s&&o.height>s)n=0;else{if(a.height>s)return-1;n=Math.floor(s-a.height)}if(a.width<=i&&o.width>i)return 0;if(a.width>i)return-1;var h=Math.floor(i-a.width);return void 0===n?h:Math.min(h,n)},eS=function(t,e,i){var s=t.style;s&&(s.fixedWidth=e,s.parent.width=e,void 0!==i&&(s.fixedHeight=i,s.parent.height=i),s.update(!1))};const iS=Phaser.Utils.Objects.GetValue;var sS=function(t,e){"number"==typeof e&&(e={minWidth:e});var i=iS(e,"minWidth",0),s=iS(e,"minHeight",0),r=iS(e,"fitHeight",!1);return t._minWidth=i,t._minHeight=s,r?(t.runWidthWrap=function(e){return t.setFixedSize&&t.setFixedSize(0,0),t.setFontSize(1),t},t.resize=function(e,i){return Zw(t,e,i),t}):(t.runWidthWrap=function(e){return t.setFixedSize&&t.setFixedSize(0,0),Zw(t,e,void 0),t},t.resize=function(e,i){return t.width===e&&t.height===i||t.setFixedSize(e,i),t}),t};const rS=Phaser.Utils.Objects.GetValue;class nS extends Xw{constructor(t,e){void 0===e&&(e={}),super(t,e),this.type="rexLabel";var i,s=rS(e,"background",void 0),r=rS(e,"icon",void 0),n=rS(e,"iconMask",void 0),a=rS(e,"text",void 0),o=rS(e,"action",void 0),h=rS(e,"actionMask",void 0),l=rS(e,"align",void 0);if(s&&this.addBackground(s),r){0===this.orientation?(a||o)&&(i={right:rS(e,"space.icon",0),top:rS(e,"space.iconTop",0),bottom:rS(e,"space.iconBottom",0),left:rS(e,"space.iconLeft",0)}):(a||o)&&(i={bottom:rS(e,"space.icon",0),left:rS(e,"space.iconLeft",0),right:rS(e,"space.iconRight",0),top:rS(e,"space.iconTop",0)});var d=rS(e,"squareFitIcon",!1)?1:0;if(this.add(r,{proportion:0,padding:i,fitRatio:d}),n&&(n=Yw.call(this,r,r,1)),!d){var c=rS(e,"iconSize",void 0);this.setIconSize(rS(e,"iconWidth",c),rS(e,"iconHeight",c))}}if(a){var u=rS(e,"wrapText",!1),p=rS(e,"adjustTextFontSize",!1);u?(!0===u&&(u="word"),Kw(a,u),e.expandTextWidth=!0,Jw(a)):p&&(e.expandTextWidth=!0,e.expandTextHeight=!0,sS(a,{fitHeight:!0}));var g,v,f=rS(e,"space.text",0),m=rS(e,"expandTextWidth",!1),y=rS(e,"expandTextHeight",!1);0===this.orientation?(g=m?1:0,o&&(i={right:f}),v=y):(g=y?1:0,o&&(i={bottom:f}),v=m),this.add(a,{proportion:g,expand:v,padding:i})}if(o&&(i=0===this.orientation?{top:rS(e,"space.actionTop",0),bottom:rS(e,"space.actionBottom",0),right:rS(e,"space.actionRight",0)}:{left:rS(e,"space.actionLeft",0),right:rS(e,"space.actionRight",0),bottom:rS(e,"space.actionBottom",0)},d=rS(e,"squareFitAction",!1)?1:0,this.add(o,{proportion:0,padding:i,fitRatio:d}),h&&(h=Yw.call(this,o,o,1)),!d)){var b=rS(e,"actionSize");this.setActionSize(rS(e,"actionWidth",b),rS(e,"actionHeight",b))}this.setChildrenAlignMode(l),this.addChildrenMap("background",s),this.addChildrenMap("icon",r),this.addChildrenMap("iconMask",n),this.addChildrenMap("text",a),this.addChildrenMap("action",o),this.addChildrenMap("actionMask",h)}}const aS=Phaser.Utils.Objects.GetValue;var oS=function(t,e){var i=aS(e,"canvas"),s=aS(i,"width",128),r=aS(i,"height",128),n=new _u(t,0,0,s,r);t.add.existing(n);var a=aS(i,"key"),o=aS(i,"frame"),h=aS(i,"fill");return void 0!==h?n.fill(h):void 0!==a&&n.loadTexture(a,o),n.setTexture=n.loadTexture.bind(n),n};const hS=Phaser.Utils.Objects.GetValue;var lS=function(t,e){var i=hS(e,"clickTarget",this);return"string"==typeof i&&(i=t.getElement(i)),i};const dS=Phaser.Utils.Objects.GetValue,cS={accept:"image/*",multiple:!1};var uS=function(t,e){if(0!==e.length){var i=t.childrenMap.icon,s=i.image,r=e[0];return s.loadFromFilePromise(r).then((function(){return i.scaleImage(),t.emit("select",r,t),Promise.resolve(r)}))}},pS={async openPromise(){var t=this;return Qk(this.scene.game,cS).then((function(e){return uS(t,e.files)}))},open(){return this.openPromise(),this},setClickOpenEnable(t){return void 0===t&&(t=!0),this.clickBehavior&&this.clickBehavior.setEnable(t),this.fileChooser&&this.fileChooser.setOpenEnable(t),this}},gS={getFileName:function(t){if(!t)return null;var e=t.name;return e.substr(0,e.lastIndexOf("."))},saveTexture:function(t){return this.childrenMap.canvas.generateTexture(t),this}};Object.assign(gS,pS);const vS=Phaser.Utils.Objects.GetValue;class fS extends nS{constructor(t,e){var i=function(t,e){var i=new Ak(t,{scaleUp:aS(e,"scaleUpIcon",!1),background:aS(e,"iconBackground"),image:oS(t,e)});return t.add.existing(i),i}(t,e);e.icon=i,super(t,e),this.type="rexImageFileInputLabel";var s=this.iconWidth,r=this.iconWidth;void 0!==s&&void 0!==r&&i.resize(s,r),this.clickTarget=lS(this,e),this.clickTarget&&(vS(e,"domButton",!0)?this.fileChooser=function(t){var e=t.scene,i=new aw(e,cS);return e.add.existing(i),t.pin(i),i.on("change",(function(){uS(t,i.files)})),i}(this):this.clickBehavior=function(t,e){var i=lS(t,e);if(i){var s=dS(e,"click"),r=new du(i,s);return r.on("click",t.open,t),r}}(this,e)),this.addChildrenMap("canvas",i.image),this.addChildrenMap("iconBackground",i.background),this.addChildrenMap("fileChooser",this.fileChooser)}postLayout(t,e,i){this.fileChooser&&(this.fileChooser.syncTo(this.clickTarget),this.resetChildState(this.fileChooser)),super.postLayout(t,e,i)}}Object.assign(fS.prototype,gS),t.register("imageInputLabel",(function(t){var e=new fS(this.scene,t);return this.scene.add.existing(e),e})),P(window,"RexPlugins.UI.ImageInputLabel",fS);let mS=class extends La{constructor(t,e){return super(t),new Proxy(this,this)}get(t,e){if(ae(t,e))return t[e];var i=t.parent;return ae(i,e)?i[e]:void 0}set(t,e,i){return ae(t,e)?t[e]=i:ae(t.parent,e)&&(t.parent[e]=i),!0}get key(){return this.parent.texture.key}set key(t){this.parent.setTexture(t,this.frame)}get frame(){return this.parent.frame.name}set frame(t){this.parent.setFrame(t)}get scale(){return this.parent.scaleX}set scale(t){this.parent.setScale(t)}};const yS=Phaser.Utils.Objects.GetValue;class bS extends La{constructor(t,e){super(t,e),this.style=yS(e,"style",this);var i=yS(e,"propertiesMap");this.activeStyle=xS(e,"active",i),this.hoverStyle=xS(e,"hover",i),this.disableStyle=xS(e,"disable",i),this.onModifyStyle=yS(e,"onModifyStyle")}getStyle(t){return Id(this.style,t)}modifyStyle(t){for(var e in t)this.style[e]=t[e];return this.onModifyStyle&&this.onModifyStyle(this.parent,t),this}applyStyle(t){if(t){var e=this.getStyle(t);return Dd(e,t)?void 0:(this.modifyStyle(t),e)}}setActiveState(t){return CS.call(this,"active",t),this}setHoverState(t){return CS.call(this,"hover",t),this}setDisableState(t){return CS.call(this,"disable",t),this}}var xS=function(t,e,i){var s=Ld(t,e);if(i)for(var r in s)i.hasOwnProperty(r)&&(s[i[r]]=s[r],delete s[r]);return s},CS=function(t,e){void 0===e&&(e=!0);var i=`${t}State`,s=`${t}Style`,r=`${t}StyleSave`;this[i]!==e&&(this[i]=e,e?this[r]=this.applyStyle(this[s]):(this.applyStyle(this[r]),this[r]=void 0))},kS={addStyleManager(t){return this.styleManager=new bS(this,t),this},setActiveState(t){return this.styleManager.setActiveState(t),this},setHoverState(t){return this.styleManager.setHoverState(t),this},setDisableState(t){return this.styleManager.setDisableState(t),this}};const wS=Phaser.GameObjects.Image,SS=Phaser.Utils.Objects.GetValue;class PS extends wS{constructor(t,e){void 0===e&&(e={}),super(t,SS(e,"x",0),SS(e,"y",0),SS(e,"key",""),SS(e,"frame",void 0)),this.type="rexStatesImage";var i=SS(e,"effects",!0);i&&Mn(this,i),this.style=new mS(this,e),e.style=this.style,this.addStyleManager(e),delete e.style}}Object.assign(PS.prototype,kS),t.register("statesImage",(function(t){var e=new PS(this.scene,t);return this.scene.add.existing(e),e})),P(window,"RexPlugins.UI.StatesImage",PS);class TS extends At{constructor(t,e){void 0===e&&(e={}),super(t,e),this.type="rexStatesRoundRectangleShape",e.style=this,e.propertiesMap=OS,this.addStyleManager(e),delete e.style,delete e.propertiesMap}}const OS={color:"fillColor",alpha:"fillAlpha",strokeWidth:"lineWidth"};Object.assign(TS.prototype,kS),t.register("statesRoundRectangle",(function(t){var e=new TS(this.scene,t);return this.scene.add.existing(e),e})),P(window,"RexPlugins.UI.StatesRoundRectangle",TS);let MS=class extends La{constructor(t,e){return super(t),new Proxy(this,this)}get(t,e){if(ae(t,e))return t[e];var i=t.parent;return ae(i,e)?i[e]:void 0}set(t,e,i){return ae(t,e)?t[e]=i:ae(t.parent,e)&&(t.parent[e]=i),!0}get key(){return this.parent.texture.key}set key(t){this.key!==t&&this.parent.setTexture(t,this.frame)}get frame(){return this.parent.frame.name}set frame(t){this.frame!==t&&this.parent.setFrame(t)}};const ES=Phaser.GameObjects.NineSlice,_S=Phaser.Utils.Objects.GetValue;class RS extends ES{constructor(t,e){void 0===e&&(e={}),super(t,_S(e,"x",0),_S(e,"y",0),_S(e,"key",null),_S(e,"frame",null),_S(e,"width",0),_S(e,"height",0),_S(e,"leftWidth",0),_S(e,"rightWidth",0),_S(e,"topHeight",0),_S(e,"bottomHeight",0)),this.type="rexStatesNineSlice";var i=_S(e,"effects",!0);i&&Mn(this,i),this.style=new MS(this,e),e.style=this.style,this.addStyleManager(e),delete e.style}}Object.assign(RS.prototype,kS),t.register("statesNineSlice",(function(t){var e=new RS(this.scene,t);return this.scene.add.existing(e),e})),P(window,"RexPlugins.UI.StatesNineSlice",RS);let LS=class extends La{constructor(t,e){return super(t),new Proxy(this,this)}get(t,e){if(ae(t,e))return t[e];var i=t.parent;return ae(i,e)?i[e]:void 0}set(t,e,i){return ae(t,e)?t[e]=i:ae(t.parent,e)&&(t.parent[e]=i),!0}get key(){return this.parent.textureKey}set key(t){this.key!==t&&this.parent.setBaseTexture(t,this.baseFrameName)}get frame(){return this.parent.baseFrameName}set frame(t){this.frame!==t&&this.parent.setBaseTexture(this.parent.textureKey,t)}};const BS=Phaser.Utils.Objects.GetValue;class IS extends k{constructor(t,e){void 0===e&&(e={}),super(t,e),this.type="rexStatesNinePatch";var i=BS(e,"effects",!0);i&&Mn(this,i),this.style=new LS(this,e),e.style=this.style,this.addStyleManager(e),delete e.style}}Object.assign(IS.prototype,kS),t.register("statesNinePatch",(function(t){var e=new IS(this.scene,t);return this.scene.add.existing(e),e})),P(window,"RexPlugins.UI.StatesNinePatch",IS);const DS=Phaser.GameObjects.Text,AS=Phaser.Utils.Objects.GetValue;class jS extends DS{constructor(t,e){void 0===e&&(e={}),super(t,AS(e,"x",0),AS(e,"y",0),AS(e,"text",""),e),this.type="rexStatesText",e.style=this.style,e.onModifyStyle=function(t,e){var i=e.hasOwnProperty("fontStyle")||e.hasOwnProperty("fontSize")||e.hasOwnProperty("fontFamily");t.style.update(i)},this.addStyleManager(e),delete e.style}}Object.assign(jS.prototype,kS),t.register("statesText",(function(t){var e=new jS(this.scene,t);return this.scene.add.existing(e),e})),P(window,"RexPlugins.UI.StatesText",jS);class zS extends La{constructor(t,e){return super(t),new Proxy(this,this)}get(t,e){if(ae(t,e))return t[e];var i=t.parent;return ae(i,e)?i[e]:void 0}set(t,e,i){return ae(t,e)?t[e]=i:ae(t.parent,e)&&(t.parent[e]=i),!0}get key(){return this.parent.texture.key}set key(t){this.parent.setTexture(t,this.frame)}get fontSize(){return this.parent.fontSize}set fontSize(t){this.parent.setFontSize(t)}get tint(){return this.parent.tintTopLeft}set tint(t){this.parent.setTint(t)}get letterSpacing(){return this.parent.letterSpacing}set letterSpacing(t){this.parent.setLetterSpacing(t)}get lineSpacing(){return this.parent.lineSpacing}set lineSpacing(t){this.parent.setLineSpacing(t)}}const FS=Phaser.GameObjects.BitmapText,XS=Phaser.Utils.Objects.GetValue;class YS extends FS{constructor(t,e){void 0===e&&(e={});var i=XS(e,"x",0),s=XS(e,"y",0),r=XS(e,"font",""),n=XS(e,"fontSize",!1),a=XS(e,"align",0),o=XS(e,"tint");super(t,i,s,r,"",n,a),this.type="rexStatesBitmapText",void 0!==o&&this.setTint(o);var h=XS(e,"effects",!0);h&&Mn(this,h),this.style=new zS(this,e),e.style=this.style,this.addStyleManager(e),delete e.style}}Object.assign(YS.prototype,kS),t.register("statesBitmapText",(function(t){var e=new YS(this.scene,t);return this.scene.add.existing(e),e})),P(window,"RexPlugins.UI.StatesBitmapText",YS);class WS extends up{constructor(t,e){void 0===e&&(e={}),e.hasOwnProperty("value")||(e.value=0),e.hasOwnProperty("hover.bar")||(e["hover.bar"]=!0),e.hasOwnProperty("easeDuration")||(e.easeDuration=200),e.hasOwnProperty("ease")||(e.ease="Quad"),P(e,"easeValue.duration",e.easeDuration),P(e,"easeValue.ease",e.ease),super(t,e),this.type="rexStatesBarRectangleShape",this.barState=!1,e.style=this,e.propertiesMap=VS,this.addStyleManager(e),delete e.style,delete e.propertiesMap}get bar(){return this.barState}set bar(t){t=!!t,this.barState!==t&&(this.barState=t,this.easeValueTo(this.barState?1:0))}}const VS={color:"trackColor",strokeColor:"trackStrokeColor",strokeWidth:"trackStrokeThickness"};Object.assign(WS.prototype,kS),t.register("statesBarRectangle",(function(t){var e=new WS(this.scene,t);return this.scene.add.existing(e),e})),P(window,"RexPlugins.UI.StatesBarRectangle",WS);var GS=function(t,e){void 0===e&&(e={}),void 0===e.options&&(e.options={});var i=e.options;i.responsive=!1,i.maintainAspectRatio=!1,i.hasOwnProperty("devicePixelRatio")||(i.devicePixelRatio=1);var s=!1;void 0===i.animation?i.animation={}:!1===i.animation&&(s=!0,i.animation={});var r=i.animation;s&&(r.duration=0);var n=r.onProgress;r.onProgress=function(e){n&&n(e),t.needRedraw()};var a=r.onComplete;return r.onComplete=function(e){a&&a(e),t.needRedraw()},e};let HS=class extends _u{constructor(t,e,i,s,r,n){super(t,e,i,s,r),this.type="rexChart",this.chart=void 0,void 0!==n&&this.setChart(n)}destroy(t){this.scene&&(this.chart&&(this.chart.destroy(),this.chart=void 0),super.destroy(t))}resize(t,e){if(t===this.width&&e===this.height)return this;if(super.resize(t,e),this.chart){var i=this.chart;i.height=this.canvas.height,i.width=this.canvas.width,i.aspectRatio=i.height?i.width/i.height:null,i.update()}return this}};var US={setChart:function(t){return window.Chart?(this.chart&&this.chart.destroy(),this.chart=new Chart(this.context,GS(this,t)),this):(console.error("Can not find chartjs! Load chartjs in preload stage.\nscene.load.script('chartjs', 'https://cdnjs.cloudflare.com/ajax/libs/Chart.js/3.8.0/Chart.min.js');"),this)},getChartDataset:function(t){if(void 0!==this.chart){if("string"!=typeof t)return this.chart.data.datasets[t];for(var e,i=this.chart.data.datasets,s=0,r=i.length;s=0;e--){var i=this.sizerChildren[e];i&&this.remove(i,t)}return this},clear(t){return tP(this.sizerChildren,null),Qb.call(this,t),this}},iP={setColumnSpace(t){if(this.space.column||(this.space.column=[]),this.space.column.length=this.columnCount-1,"number"==typeof t)tP(this.space.column,t);else for(var e=0,i=this.columnCount-1;e=0;s--){var r=s*this.columnCount+t;this.sizerChildren.splice(r,0,null)}return this.columnProportions.push(e),this.columnWidth.length+=1,this.space.column.splice(t,0,i),this},aP={getChildrenWidth:function(t){if(this.rexSizer.hidden)return 0;void 0===t&&(t=!0);var e,i,s,r,n,a=0,o=this.sizerChildren,h=!1;this.totalColumnProportions;for(var l=0;l0){var i=t-this.getChildrenWidth(!1);i>=0&&(this.proportionWidthLength=i/e)}else this.proportionWidthLength=0}return t},resolveHeight:function(t){if(void 0!==(t=Zv.call(this,t))&&void 0===this.proportionHeightLength){var e=this.totalRowProportions;if(e>0){var i=t-this.getChildrenHeight(!1);i>=0&&(this.proportionHeightLength=i/e)}else this.proportionHeightLength=0}return t},resolveChildrenWidth:function(t){var e,i,s,r;for(var n in this.sizerChildren)(e=this.sizerChildren[n])&&e.isRexSizer&&!e.ignoreLayout&&(r=this.getColumnWidth(parseInt(n)%this.columnCount),i=this.getExpandedChildWidth(e,r),void 0===(s=e.resolveWidth(i))&&(s=i),e.resolveChildrenWidth(s))},resolveChildrenHeight:function(t){var e,i,s,r;for(var n in this.sizerChildren)(e=this.sizerChildren[n])&&e.isRexSizer&&!e.ignoreLayout&&(r=this.getRowHeight(Math.floor(parseInt(n)/this.rowCount)),i=this.getExpandedChildHeight(e,r),void 0===(s=e.resolveHeight(i))&&(s=i),e.resolveChildrenHeight(s))},runWidthWrap:function(t){var e,i,s,r;for(var n in this.sizerChildren)!(e=this.sizerChildren[n])||e.isRexSizer&&e.ignoreLayout||!e.runWidthWrap||(r=this.getColumnWidth(parseInt(n)%this.columnCount),i=this.getExpandedChildWidth(e,r),e.isRexSizer&&void 0===(s=e.resolveWidth(i))&&(s=i),e.runWidthWrap(s));return this},runHeightWrap:function(t){var e,i,s,r;for(var n in this.sizerChildren)!(e=this.sizerChildren[n])||e.isRexSizer&&e.ignoreLayout||!e.runHeightWrap||(r=this.getRowHeight(Math.floor(parseInt(n)/this.rowCount)),i=this.getExpandedChildHeight(e,r),e.isRexSizer&&void 0===(s=e.resolveHeight(i))&&(s=i),e.runHeightWrap(s));return this},resetGrid:function(t,e,i,s,r){if(void 0===t&&(t=0),void 0===e&&(e=0),void 0===i&&(i=0),void 0===s&&(s=0),this.columnCount=t,this.rowCount=e,this.gridCount=t*e,this.removeAll(),this.sizerChildren.length=t*e,tP(this.sizerChildren,null),this.columnProportions=[],this.columnProportions.length=t,"number"==typeof i)tP(this.columnProportions,i);else for(var n=0;n0?e+=t:0===t&&(this.hasColumnProportion0Child=!0);return e},hP=function(){for(var t,e=0,i=0;i0?e+=t:0===t&&(this.hasRowProportion0Child=!0);return e};const lP=Phaser.Utils.Objects.IsPlainObject,dP=Phaser.Utils.Objects.GetValue;class cP extends Xb{constructor(t,e,i,s,r,n,a,o,h,l){lP(e)?(e=dP(l=e,"x",0),i=dP(l,"y",0),s=dP(l,"width",void 0),r=dP(l,"height",void 0),n=dP(l,"column",l.col||0),a=dP(l,"row",0),o=dP(l,"columnProportions",0),h=dP(l,"rowProportions",0)):lP(s)?(s=dP(l=s,"width",void 0),r=dP(l,"height",void 0),n=dP(l,"column",l.col||0),a=dP(l,"row",0),o=dP(l,"columnProportions",0),h=dP(l,"rowProportions",0)):lP(n)?(n=dP(l=n,"column",l.col||0),a=dP(l,"row",0),o=dP(l,"columnProportions",0),h=dP(l,"rowProportions",0)):lP(o)&&(o=dP(l=o,"columnProportions",0),h=dP(l,"rowProportions",0)),super(t,e,i,s,r,l),this.type="rexGridSizer",this.sizerChildren=[],this.addChildrenMap("items",this.sizerChildren),this.setCreateCellContainerCallback(dP(l,"createCellContainerCallback")),this.setIndentLeft(dP(l,"space.indentLeftOdd",0),dP(l,"space.indentLeftEven",0)),this.setIndentTop(dP(l,"space.indentTopOdd",0),dP(l,"space.indentTopEven",0)),this.resetGrid(n,a,o,h,dP(l,"space",void 0))}destroy(t){this.scene&&!this.ignoreDestroy&&(super.destroy(t),this.columnProportions=void 0,this.rowProportions=void 0,this.columnWidth=void 0,this.rowHeight=void 0,this.createCellContainerCallback=void 0)}setColumnProportion(t,e){return t>=this.columnProportions.length||(this.columnProportions[t]=e),this}setRowProportion(t,e){return t>=this.rowProportions.length||(this.rowProportions[t]=e),this}get totalColumnProportions(){return void 0===this._totalColumnProportions&&(this._totalColumnProportions=oP.call(this)),this._totalColumnProportions}get totalRowProportions(){return void 0===this._totalRowProportions&&(this._totalRowProportions=hP.call(this)),this._totalRowProportions}getChildAt(t,e){return this.sizerChildren[e*this.columnCount+t]}childToGridIndex(t,e){if(!t)return null;var i=this.sizerChildren.indexOf(t);return-1===i?null:(void 0===e&&(e={}),e.x=i%this.columnCount,e.y=Math.floor(i/this.columnCount),e)}getColumnWidth(t){var e=this.columnProportions[t];return 0===e?this.columnWidth[t]:e*this.proportionWidthLength}getRowHeight(t){var e=this.rowProportions[t];return 0===e?this.rowHeight[t]:e*this.proportionHeightLength}setCreateCellContainerCallback(t){return this.createCellContainerCallback=t,this}}Object.assign(cP.prototype,aP),t.register("gridSizer",(function(t,e,i,s,r,n,a,o,h){var l=new cP(this.scene,t,e,i,s,r,n,a,o,h);return this.scene.add.existing(l),l})),P(window,"RexPlugins.UI.GridSizer",cP);var uP=function(t,e,i,s){return e/t<=i?e/(s-1):0},pP=function(t){var e,i,s,r,n,a={lines:[],width:0,height:0},o=this.sizerChildren,h=0,l=a.lines,d=void 0;if(0===this.orientation){for(var c=0,u=o.length;co.height/2)){r>(h=gP(o.left,o.centerY,t,e))&&(r=h,s=n);var h,l=i[n+1];l&&l.y===o.y||r>(h=gP(o.right,o.centerY,t,e))&&(r=h,s=n+1)}}return s};const fP=Phaser.Utils.Objects.IsPlainObject,mP=Phaser.Utils.Objects.GetValue,yP=Phaser.Display.Align.CENTER;var bP=function(t,e,i,s){return"\n"===t?(this.addNewLine(),this):(Dv.call(this,t),fP(e)&&(e=mP(h=e,"padding",0),i=mP(h,"key",void 0),s=mP(h,"index",void 0),r=mP(h,"offsetX",0),n=mP(h,"offsetY",0),a=mP(h,"offsetOriginX",0),o=mP(h,"offsetOriginY",0)),void 0===e&&(e=0),void 0===r&&(r=0),void 0===n&&(n=0),void 0===a&&(a=0),void 0===o&&(o=0),(h=this.getSizerConfig(t)).align=yP,h.padding=Bv(e),h.alignOffsetX=r,h.alignOffsetY=n,h.alignOffsetOriginX=a,h.alignOffsetOriginY=o,void 0===s||s>=this.sizerChildren.length?this.sizerChildren.push(t):this.sizerChildren.splice(s,0,t),void 0!==i&&this.addChildrenMap(i,t),this);var r,n,a,o,h},xP={add(t,e,i){if(Hm(t))for(var s=t,r=0,n=s.length;r=0;e--)this.remove(this.sizerChildren[e],t);return this},clear(t){return this.sizerChildren.length=0,Qb.call(this,t),this}},wP={getChildrenWidth:function(t){return this.rexSizer.hidden?0:(void 0===t&&(t=!0),void 0!==(e=0===this.orientation&&t?this.maxChildWidth:this.rexSizer.resolved?this.wrapResult.width:void 0)?e+(this.space.left+this.space.right)*this.scaleX:void 0);var e},getChildrenHeight:function(t){return this.rexSizer.hidden?0:(void 0===t&&(t=!0),void 0!==(e=1===this.orientation&&t?this.maxChildHeight:this.rexSizer.resolved?this.wrapResult.height:void 0)?e+(this.space.top+this.space.bottom)*this.scaleY:void 0);var e},getChildrenSizers:function(t){void 0===t&&(t=[]);for(var e,i=this.sizerChildren,s=0,r=i.length;s=t.dragThreshold?"DRAG":"DRAGBEGIN":"IDLE"}update_DRAGBEGIN(t,e){this.next()}next_DRAG(){var t,e=this.parent;return e.dragState.isUp&&(t=e.outOfBounds?"BACK":e.slidingEnable?"SLIDE":"IDLE"),t}update_DRAG(t,e){var i=this.parent;i.dragState.justMoved&&i.dragging(),this.next()}enter_DRAG(){this.parent.onDragStart()}exit_DRAG(){this.parent.onDragEnd()}next_SLIDE(){var t,e=this.parent;return e.dragState.isDown?t="DRAG":e.isSliding||(t="IDLE"),t}enter_SLIDE(){this.parent.onSliding()}exit_SLIDE(){this.parent.stop()}update_SLIDE(t,e){this.parent.sliding(t,e),this.next()}next_BACK(){var t,e=this.parent;return e.dragState.isDown?t="DRAG":e.isPullBack||(t="IDLE"),t}enter_BACK(){this.parent.onPullBack()}exit_BACK(){this.parent.stop()}update_BACK(t,e){this.parent.pullBack(t,e),this.next()}}const pT=Phaser.Utils.Objects.GetValue,gT=Phaser.Math.Distance.Between;class vT extends La{constructor(t,e){super(t,e),this._enable=void 0,this.rectBoundsInteractive=pT(e,"rectBoundsInteractive",!1),this.rectBoundsInteractive||t.setInteractive(pT(e,"inputConfig",void 0)),this.resetFromJSON(e),this.boot()}resetFromJSON(t){return this.pointer=void 0,this.isInTouched=!1,this.holdStartTime=void 0,this.x=void 0,this.y=void 0,this.preX=void 0,this.preY=void 0,this.localX=void 0,this.localY=void 0,this.justMoved=!1,this.setEnable(pT(t,"enable",!0)),this.holdThreshold=pT(t,"holdThreshold",50),this.pointerOutReleaseEnable=pT(t,"pointerOutRelease",!0),this}boot(){var t=this.scene,e=this.parent;this.rectBoundsInteractive?(t.input.on("pointerdown",this.onPointIn,this),t.input.on("pointerup",this.onPointOut,this),t.input.on("pointermove",this.onPointerMove,this)):(e.on("pointerdown",this.onPointIn,this),e.on("pointerup",this.onPointOut,this),this.pointerOutReleaseEnable&&e.on("pointerout",this.onPointOut,this),e.on("pointermove",this.onPointerMove,this)),t.sys.events.on("preupdate",this.preupdate,this)}shutdown(t){if(!this.isShutdown){var e=this.scene;this.parent,this.rectBoundsInteractive&&(e.input.off("pointerdown",this.onPointIn,this),e.input.off("pointerup",this.onPointOut,this),e.input.off("pointermove",this.onPointerMove,this)),e.sys.events.off("preupdate",this.preupdate,this),this.pointer=void 0,super.shutdown(t)}}get enable(){return this._enable}set enable(t){this._enable!==t&&(t||(this.isInTouched=!1,this.pointer=void 0),this._enable=t)}setEnable(t){return void 0===t&&(t=!0),this.enable=t,this}toggleEnable(){return this.setEnable(!this.enable),this}setPointerOutReleaseEnable(t){return void 0===t&&(t=!0),this.pointerOutReleaseEnable=t,this}get isDown(){return this.pointer&&this.pointer.isDown}get isUp(){return!this.isDown}get dx(){return this.x-this.preX}get dy(){return this.y-this.preY}get dt(){return ac(this.scene)}get speed(){return this.x===this.preX&&this.y===this.preY?0:gT(this.preX,this.preY,this.x,this.y)/(.001*this.dt)}get speedX(){return this.dx/(.001*this.dt)}get speedY(){return this.dy/(.001*this.dt)}onPointIn(t,e,i){this.enable&&t.isDown&&void 0===this.pointer&&(this.rectBoundsInteractive&&!Gm(this.parent,t)||(this.pointer=t,this.localX=e,this.localY=i))}onPointOut(t){this.enable&&this.pointer===t&&(this.pointer=void 0)}onPointerMove(t,e,i){this.enable&&t.isDown&&this.pointer===t&&(this.rectBoundsInteractive&&this.pointerOutReleaseEnable&&!Gm(this.parent,t)?this.onPointOut(t):(this.localX=e,this.localY=i))}preupdate(t,e){if(this.enable){var i=this.pointer;this.justMoved=!1,i&&!this.isInTouched?(this.x=i.worldX,this.y=i.worldY,this.preX=i.worldX,this.preY=i.worldY,this.isInTouched=!0,this.holdStartTime=void 0,this.emit("touchstart",i,this.localX,this.localY)):i&&this.isInTouched?this.x===i.x&&this.y===i.y?void 0===this.holdStartTime?this.holdStartTime=t:t-this.holdStartTime>this.holdThreshold&&(this.preX=this.x,this.preY=this.y):(this.preX=this.x,this.preY=this.y,this.x=i.worldX,this.y=i.worldY,this.holdStartTime=void 0,this.justMoved=!0,this.emit("touchmove",i,this.localX,this.localY)):!i&&this.isInTouched&&(this.isInTouched=!1,this.holdStartTime=void 0,this.emit("touchend",i))}}}const fT=Phaser.Utils.Objects.GetValue;class mT{constructor(t){this.resetFromJSON(t)}resetFromJSON(t){return this.setValue(fT(t,"value",0)),this.setSpeed(fT(t,"speed",0)),this.setAcceleration(fT(t,"acceleration",0)),this}reset(){this.setValue(0),this.setSpeed(0),this.setAcceleration(0)}setValue(t){return this.value=t,this}setSpeed(t){return this.speed=t,this}setAcceleration(t){return this.acceleration=t,this}updateSpeed(t){return 0!==this.acceleration&&(this.speed+=this.acceleration*t,this.speed<0&&(this.speed=0)),this}getDeltaValue(t){return this.updateSpeed(t),this.speed<=0?0:this.speed*t}update(t){return this.updateSpeed(t),this.speed>0&&(this.value+=this.getDeltaValue(t)),this}get isMoving(){return this.speed>0}}class yT{constructor(){this.value,this.dir,this.movement=new mT}init(t,e,i,s,r){return this.value=t,this.end=r,this.dir=void 0!==r?tthis.end&&(this.value=this.end):this.valuethis.maxValue}overMin(t){return null!=this.minValue&&t0,Math.abs(e),i)}sliding(t,e){e*=.001;var i=this._slowDown.update(e).value;this.overMax(i)?(this.value=this.maxValue,this._slowDown.stop()):this.overMin(i)?(this.value=this.minValue,this._slowDown.stop()):this.value=i}onPullBack(){var t=this.value,e=this.outOfMinBound?this.minValue:this.maxValue,i=Math.abs(e-t),s=this.backDeceleration,r=Math.sqrt(2*s*i);this._slowDown.init(t,void 0,r,s,e)}pullBack(t,e){e*=.001,this.value=this._slowDown.update(e).value,this._slowDown.isMoving||this._state.next()}stop(){this._slowDown.stop()}}const kT={y:0,v:0,vertical:0,x:1,h:1,horizontal:1},wT=Phaser.Utils.Objects.GetValue;class ST extends La{constructor(t,e){switch(super(t,e),this.parent!==this.scene?this.focusMode=wT(e,"focus",!0):this.focusMode=!1,"boolean"==typeof this.focusMode&&(this.focusMode=this.focusMode?1:0),this.setSpeed(wT(e,"speed",.1)),this.setEnable(wT(e,"enable",!0)),this.focusMode){case 0:case 2:this.scene.input.on("wheel",this.onSceneScroll,this);break;default:t.setInteractive(wT(e,"inputConfig",void 0)).on("wheel",(function(t,e,i,s,r){this.tryScroll(i)}),this)}}destroy(){switch(this.focusMode){case 0:case 2:this.scene.input.off("wheel",this.onSceneScroll,this)}}onSceneScroll(t,e,i,s,r,n){(2!==this.focusMode||Gm(this.parent,t))&&this.tryScroll(s)}setEnable(t){return void 0===t&&(t=!0),this.enable=t,this}setSpeed(t){return this.speed=t,this}tryScroll(t){if(this.enable)return this.scroll(t),this}scroll(t){return t*=this.speed,this.emit("scroll",t,this.parent,this),this}}const PT=Phaser.Utils.Objects.GetValue;var TT=function(t,e,i,s){var r,n,a="Y"===(i=i.toUpperCase()),o=2===t.scrollMode,h=t.childrenMap.child,l=`slider${i}`;if(r=o||s.hasOwnProperty(l)?PT(s,l,void 0):PT(s,"slider",void 0)){var d,c,u;!0===r&&(r={}),r.orientation=a?1:0,n=function(t,e){void 0===e&&(e={});var i=Ve(e);(e={slider:i}).orientation=i.orientation,delete i.orientation,e.background=i.background,delete i.background,e.buttons=i.buttons,delete i.buttons,e.value=null;var s=new cT(t,e);t.add.existing(s);var r=s.childrenMap.slider;return s.addChildrenMap("track",r.childrenMap.track),s.addChildrenMap("indicator",r.childrenMap.indicator),s.addChildrenMap("thumb",r.childrenMap.thumb),s}(t.scene,r);var p=PT(r,"position",0);"string"==typeof p&&(p=OT[p]);var g,v,f=PT(s,`space.slider${i}`,void 0);void 0===f&&void 0===(f=PT(s,"space.slider",void 0))&&(o?f=0:g=PT(s,"space.child",0)),v=void 0===g?"number"==typeof f:"number"==typeof g,a?0===p?(d=2,c=1,u=void 0===g?v?{left:f}:f:{left:PT(g,"right",g)}):(d=0,c=1,u=void 0===g?v?{right:f}:f:{right:PT(g,"left",g)}):0===p?(d=1,c=2,u=void 0===g?v?{top:f}:f:{top:PT(g,"bottom",g)}):(d=1,c=0,u=void 0===g?v?{bottom:f}:f:{bottom:PT(g,"top",g)}),e.add(n,{column:d,row:c,align:"center",padding:u,expand:!0}),t[`hideUnscrollableSlider${i}`]=PT(r,"hideUnscrollableSlider",!1),t[`disableUnscrollableDrag${i}`]=PT(r,"disableUnscrollableDrag",!1),t[`adaptThumb${i}SizeMode`]=PT(r,"adaptThumbSize",!1),t[`minThumb${i}Size`]=PT(r,"minThumbSize",void 0)}else t[`hideUnscrollableSlider${i}`]=!1,t[`disableUnscrollableDrag${i}`]=!1,t[`adaptThumb${i}SizeMode`]=!1,t[`minThumb${i}Size`]=void 0;var m,y,b=PT(s,"scrollDetectionMode");"string"==typeof b&&(b=MT[b]);var x=`scroller${i}`;(m=o||s.hasOwnProperty(x)?PT(s,x,!0):PT(s,"scroller",!0))&&h&&(!0===m&&(m={}),m.orientation=a?0:1,void 0!==b&&(m.rectBoundsInteractive=1===b),y=new CT(h,m),h.isRexContainerLite&&h.sendChildToBack(h));var C,k,w,S,P,T=PT(s,o?`mouseWheelScroller${i}`:"mouseWheelScroller",!1);T&&h&&(void 0!==b&&(T.focus=1===b?2:0),C=new ST(h,T)),t.addChildrenMap(`slider${i}`,n),t.addChildrenMap(`scroller${i}`,y),t.addChildrenMap(`mouseWheelScroller${i}`,C),o&&!a||(t.hideUnscrollableSlider=t[`hideUnscrollableSlider${i}`],t.disableUnscrollableDrag=t[`disableUnscrollableDrag${i}`],t.adaptThumbSizeMode=t[`adaptThumb${i}SizeMode`],t.minThumbSize=t[`minThumb${i}Size`],t.addChildrenMap("slider",n),t.addChildrenMap("scroller",y),t.addChildrenMap("mouseWheelScroller",C)),n&&(o?(k=a?"t":"s",S=`scroll${i}`):(k="t",S="scroll"),n.on("valuechange",(function(e){t[k]=e,t.emit(S,t)}))),y&&(o?(w=`childO${i}`,S=`scroll${i}`):(w="childOY",S="scroll"),y.on("valuechange",(function(e){t[w]=e,t.emit(S,t)}))),C&&(P=o?`addChildO${i}`:"addChildOY",C.on("scroll",(function(e){t[P](-e,!0)})))};const OT={right:0,left:1,bottom:0,top:1},MT={gameObject:0,rectBounds:1},ET=Phaser.Utils.Objects.GetValue;var _T=function(t,e){var i=t.scene,s=[0,1,0],r=[0,1,0],n=ET(e,"width"),a=ET(e,"height");n||ET(e,"child.expandWidth",!0)||(s[1]=0),a||ET(e,"child.expandHeight",!0)||(r[1]=0);var o=new cP(i,{column:3,row:3,columnProportions:s,rowProportions:r});switch(function(t,e,i){var s=AP(i,"child"),r=AP(s,"gameObject",void 0);if(r){var n=AP(i,"space.child",0);t.childMargin={};var a=t.childMargin,o={};if("number"==typeof n)switch(t.scrollMode){case 0:case 1:a.top=0,a.bottom=0,a.left=0,a.right=0;break;default:a.top=n,a.bottom=n,a.left=n,a.right=n}else switch(t.scrollMode){case 0:a.top=AP(n,"top",0),a.bottom=AP(n,"bottom",0),o.left=AP(n,"left",0),o.right=AP(n,"right",0);break;case 1:a.top=AP(n,"left",0),a.bottom=AP(n,"right",0),o.top=AP(n,"top",0),o.bottom=AP(n,"bottom",0);break;default:a.top=AP(n,"top",0),a.bottom=AP(n,"bottom",0),a.left=AP(n,"left",0),a.right=AP(n,"right",0)}e.add(r,{column:1,row:1,align:AP(s,"align","center"),padding:o,expand:{width:AP(s,"expandWidth",!0),height:AP(s,"expandHeight",!0)}})}t.addChildrenMap("child",r)}(t,o,e),t.scrollMode){case 0:TT(t,o,"y",e);break;case 1:TT(t,o,"x",e);break;default:TT(t,o,"y",e),TT(t,o,"x",e)}return o},RT=function(t){var e,i,s,r;switch(this.scrollMode){case 0:case 1:e=this.topChildOY,i=this.bottomChildOY,s=this.childrenMap.scroller,r=this.childrenMap.slider,t=0===this.scrollMode?"Y":"X";break;default:"Y"===(t=t.toUpperCase())?(e=this.topChildOY,i=this.bottomChildOY):(e=this.leftChildOX,i=this.rightChildOX),s=this.childrenMap[`scroller${t}`],r=this.childrenMap[`slider${t}`]}if(s){var n="Y"===t?this.scaleY:this.scaleX;s.setBounds(e,i*n)}r&&r.setEnable(e!==i)},LT=function(t){switch(this.scrollMode){case 0:case 1:(i=this.childrenMap.slider)&&this.hideUnscrollableSlider&&this.setChildVisible(i,this.isOverflow),(r=this.childrenMap.scroller)&&this.disableUnscrollableDrag&&r.setEnable(this.isOverflow);break;default:var e=this[`isOverflow${t=t.toUpperCase()}`],i=this.childrenMap[`slider${t}`],s=this[`hideUnscrollableSlider${t}`];i&&s&&this.setChildVisible(i,e);var r=this.childrenMap.scroller,n=this[`disableUnscrollableDrag${t}`];r&&n&&r.setEnable(e)}},BT=function(t){switch(this.scrollMode){case 0:case 1:if(!this.adaptThumbSizeMode)return;if(!(o=this.childrenMap.slider))return;var e=Math.min(this.childVisibleHeight/this.childHeight,1),i=o.childrenMap.track,s=o.childrenMap.thumb,r=this.minThumbSize;if(0===this.scrollMode){var n=i.displayHeight*e;void 0!==r&&n0?t.setText(e).getTextBounds().wrappedText.split("\n"):e.split("\n")}return i},XT=function(t){return(t-this.textLineSpacing)/(this.textLineHeight+this.textLineSpacing)},YT=function(t){return t*(this.textLineHeight+this.textLineSpacing)-this.textLineSpacing},WT=function(t){var e,i=t+this.visibleLinesCount+1;switch(this.textObjectType){case 0:case 2:e=this.lines.slice(t,i).join("\n");break;case 1:var s=this.lines.getLineStartIndex(t),r=this.lines.getLineEndIndex(i-1);e=this.lines.getSliceTagText(s,r,!0)}return e},VT=function(t,e){switch(Uw(t)){case 0:var i=(r=t.style).wordWrapWidth,s=r.wordWrapCallback;r.wordWrapWidth=0,r.wordWrapCallback=void 0,t.setText(e),r.wordWrapWidth=i,r.wordWrapCallback=s;break;case 1:var r,n=(r=t.style).wrapMode;r.wrapMode=0,t.setText(e),r.wrapMode=n;break;case 2:var a=t._maxWidth;t._maxWidth=0,t.setText(e),t._maxWidth=a}},GT=function(){var t=this.textObject.rexSizer;this.textObject.y+=t.offsetY-t.preOffsetY,t.preOffsetY=t.offsetY,this.resetChildPositionState(this.textObject),this.textCropEnable&&HT.call(this)},HT=function(){if(this.textObject.setCrop){var t,e,i=this.textObject.rexSizer.offsetY;i<=0?(t=-i,e=this.height):(t=0,e=this.height-i),this.textObject.setCrop(0,t,this.width,e)}},UT=function(t,e,i){if(i+=this.textLineHeight+this.textLineSpacing,this.textObjectWidth!==e||this._textObjectRealHeight!==i){switch(this.textObjectWidth=e,this._textObjectRealHeight=i,this.textObjectType){case 0:case 1:t.setFixedSize(e,i);var s=t.style,r=Math.max(e,0);0===this.textObjectType?s.wordWrapWidth=r:(0===s.wrapMode&&(s.wrapMode=1),s.wrapWidth=r);break;case 2:t.setMaxWidth(e)}this.setText()}},NT={setText:function(t){return void 0!==t&&(this.text=t),this.lines=FT(this.textObject,this.text,this.lines),this.linesCount=this.lines.length,this._textHeight=void 0,this._textVisibleHeight=void 0,this.updateTextObject(),this},updateTextObject:function(){var t=Math.max(Math.floor(XT.call(this,-this.textOY)),0),e=YT.call(this,t)+this.textOY,i=WT.call(this,t);return VT(this.textObject,i),this.textObject.rexSizer.offsetY=e,GT.call(this),this},preLayout:function(){return this._textLineHeight=void 0,this._textLineSpacing=void 0,this._visibleLinesCount=void 0,this._textHeight=void 0,this._textVisibleHeight=void 0,sf.call(this),this},layoutChildren:function(){var t,e,i,s,r,n,a,o=this.left,h=this.top;(t=this.textObject).rexSizer.hidden||(s=o+(i=(e=t.rexSizer).padding).left*this.scaleX,r=h+i.top*this.scaleY,n=this.width*this.scaleX-(i.left+i.right)*this.scaleX,a=this.height*this.scaleY-(i.top+i.bottom)*this.scaleY,UT.call(this,t,n,a),Pv(t,s,r,n,a,e.align),e.preOffsetY=0,GT.call(this),this.textMask&&(this.textMask.setPosition().resize(),this.resetChildPositionState(this.textMask)))}};const $T=Phaser.Utils.Objects.IsPlainObject,KT=Phaser.Utils.Objects.GetValue,JT=Phaser.Display.Align.TOP_LEFT;class qT extends Xb{constructor(t,e,i,s,r,n){$T(e)?(e=KT(n=e,"x",0),i=KT(n,"y",0),s=KT(n,"width",void 0),r=KT(n,"height",void 0)):$T(s)&&(s=KT(n=s,"width",void 0),r=KT(n,"height",void 0)),super(t,e,i,s,r,n),this.type="rexTextBlock",this.textObject=void 0,this.linesCount=0,this.textMask=void 0,this.textObjectType=void 0,this._textLineHeight=void 0,this._textLineSpacing=void 0,this._visibleLinesCount=void 0,this._textHeight=void 0,this._textVisibleHeight=void 0,this._textObjectRealHeight=0,this.lines=void 0,this.text=KT(n,"content",""),this._textOY=0,this.execeedTopState=!1,this.execeedBottomState=!1,this.setClampMode(KT(n,"clampTextOY",!0)),this.alwaysScrollable=KT(n,"alwaysScrollable",!1);var a=KT(n,"background",void 0),o=KT(n,"text",void 0);void 0===o&&(o=ZT(t)),this.textCropEnable=KT(n,"textCrop",!!o.setCrop);var h=KT(n,"textMask",!this.textCropEnable);a&&this.addBackground(a),this.add(o),this.sizerChildren=[o];var l=this.getSizerConfig(o);l.align=JT,l.padding=Bv(0),l.expand=!0,this.textObject=o,this.textObjectType=Uw(o),l.preOffsetY=0,l.offsetY=0,h&&(this.textMask=Yw.call(this,this.textObject,this)),this.addChildrenMap("background",a),this.addChildrenMap("text",o)}destroy(t){if(this.scene&&!this.ignoreDestroy){if(this.textObject=void 0,this.textMask=void 0,this.lines){switch(this.textObjectType){case 0:case 2:this.lines.length=0;break;case 1:this.lines.destroy()}this.lines=void 0}super.destroy(t)}}setClampMode(t){return void 0===t&&(t=!0),this.clampTextOY=t,this}get textLineHeight(){if(void 0===this._textLineHeight){var t;switch(this.textObjectType){case 0:case 1:var e=this.textObject.style;t=e.metrics.fontSize+e.strokeThickness;break;case 2:var i=this.textObject.fontSize/this.textObject.fontData.size;t=this.textObject.fontData.lineHeight*i}this._textLineHeight=t}return this._textLineHeight}get textLineSpacing(){if(void 0===this._textLineSpacing){var t;switch(this.textObjectType){case 0:case 1:t=this.textObject.lineSpacing;break;case 2:t=0}this._textLineSpacing=t}return this._textLineSpacing}get visibleLinesCount(){return void 0===this._visibleLinesCount&&(this._visibleLinesCount=Math.floor(XT.call(this,this._textObjectRealHeight))),this._visibleLinesCount}get topTextOY(){return 0}get bottomTextOY(){return-this.textVisibleHeight}get textHeight(){return void 0===this._textHeight&&(this._textHeight=YT.call(this,this.linesCount)),this._textHeight}get textObjectHeight(){return this._textObjectRealHeight-(this.textLineHeight+this.textLineSpacing)}get textVisibleHeight(){if(void 0===this._textVisibleHeight){var t=this.textHeight-this.textObjectHeight;!this.alwaysScrollable&&t<0&&(t=0),this._textVisibleHeight=t}return this._textVisibleHeight}textOYExceedTop(t){return void 0===t&&(t=this.textOY),t>this.topTextOY}textOYExeceedBottom(t){return void 0===t&&(t=this.textOY),tthis.linesCount?t=0:s?t=e:r&&(t=i)),this._textOY!==t&&(this._textOY=t,this.updateTextObject()),s&&(this.execeedTopState||this.emit("execeedtop",this,t,e)),this.execeedTopState=s,r&&(this.execeedBottomState||this.emit("execeedbottom",this,t,i)),this.execeedBottomState=r}setTextOY(t){return this.textOY=t,this}set t(t){this.textOY=-this.textVisibleHeight*t}get t(){var t=this.textVisibleHeight;return 0===t?0:this.textOY/-t}setTextOYByPercentage(t){return this.t=t,this}}var ZT=function(t){return t.add.text(0,0,"")};Object.assign(qT.prototype,NT);var QT={setText(t){return this.childrenMap.child.setText(t),this.resizeController(),this},appendText(t){return this.setText(this.text+t),this}},tO={scrollToLine(t){return this.setChildOY(-this.lineHeight*t),this},scrollToNextLine(t){void 0===t&&(t=1);var e=this.lineIndex+t;return this.scrollToLine(e),this}};const eO=Phaser.Utils.Objects.GetValue;class iO extends jT{constructor(t,e){void 0===e&&(e={});var i=eO(e,"text",void 0),s=eO(e,"textWidth",void 0),r=eO(e,"textHeight",void 0),n=eO(e,"textCrop",!!i.setCrop),a=eO(e,"textMask",!n),o=eO(e,"content",""),h=new qT(t,{width:s,height:r,text:i,textMask:a,textCrop:n&&!a,content:o,clampTextOY:eO(e,"clampChildOY",!1),alwaysScrollable:eO(e,"alwaysScrollable",!1)});t.add.existing(h),function(t){Object.defineProperty(t,"childOY",{configurable:!0,get:function(){return t.textOY},set:function(e){t.textOY=e}}),Object.defineProperty(t,"topChildOY",{get:function(){return t.topTextOY}}),Object.defineProperty(t,"bottomChildOY",{get:function(){return t.bottomTextOY}}),Object.defineProperty(t,"childVisibleHeight",{get:function(){return t.textObjectHeight}}),Object.defineProperty(t,"childHeight",{get:function(){return t.textHeight}})}(h),e.scrollMode=0,e.type="rexTextArea",e.child={gameObject:h,expandWidth:void 0===s,expandHeight:void 0===r};var l=eO(e,"space",void 0);l&&(l.child=eO(l,"text",0)),super(t,e),this.addChildrenMap("text",i)}get text(){return this.childrenMap.child.text}get lineHeight(){var t=this.childrenMap.child;return t.textLineHeight+t.textLineSpacing}get lineIndex(){return Math.floor(-this.childOY/this.lineHeight)}get linesCount(){return this.childrenMap.child.linesCount}get contentHeight(){return this.childrenMap.child.textHeight}}Object.assign(iO.prototype,QT,tO);const sO=Phaser.Utils.Objects.GetValue;var rO=function(t,e,s){e=e?i(e):{};var r=sO(s,"background",LP),n=sO(s,"text",nO),a=sO(s,"track",LP),o=sO(s,"thumb",LP);r?e.background=r(t,e.background):delete e.background,n?e.text=n(t,e.text):delete e.text;var h=e.slider;!1!==h&&null!==h&&(void 0===h&&(h={}),a?h.track=a(t,h.track):delete h.track,o?h.thumb=o(t,h.thumb):delete h.thumb,e.slider=h);var l=new iO(t,e);return t.add.existing(l),l},nO=function(t,e){var i,s;switch(e&&(e.hasOwnProperty("$type")?i=e.$type:e.hasOwnProperty("key")&&(i="bitmaptext",e.font=e.key)),i){case"bitmaptext":case"bitmap":s=new YS(t,e);break;case"bbcodetext":case"bbcode":s=new ds(t,0,0,"",e);break;case"label":s=new lO(t,e);break;case"textarea":s=rO(t,e);break;default:s=new jS(t,e)}return RP(s,e),t.add.existing(s),s},aO=function(t,e){var i,s;switch(e&&(e.hasOwnProperty("$type")?i=e.$type:e.hasOwnProperty("leftWidth")?i="nineSlice":(e.hasOwnProperty("color")||e.hasOwnProperty("strokeColor"))&&(i="roundRectangle")),i){case"nineSlice":s=e.hasOwnProperty("stretchMode")?new IS(t,e):new RS(t,e);break;case"roundRectangle":s=new TS(t,e);break;default:s=new PS(t,e)}return RP(s,e),t.add.existing(s),s};const oO=Phaser.Utils.Objects.GetValue;var hO=function(t,e,s){e=e?i(e):{};var r=oO(s,"background",LP),n=oO(s,"text",nO),a=oO(s,"icon",aO),o=oO(s,"action",aO);return null!==e.background&&r?e.background=r(t,e.background):delete e.background,null!==e.text&&n?e.text=n(t,e.text):delete e.text,null!==e.icon&&a?e.icon=a(t,e.icon):delete e.icon,null!==e.action&&o?e.action=o(t,e.action):delete e.action,e};class lO extends nS{constructor(t,e,i){super(t,e=hO(t,e,i)),this.type="rexSimpleLabel"}setActiveState(t){return dO(this.getChildren(),"setActiveState",t),this}setHoverState(t){return dO(this.getChildren(),"setHoverState",t),this}setDisableState(t){return dO(this.getChildren(),"setDisableState",t),this}}var dO=function(t,e,i){for(var s=0,r=t.length;sthis.maxExp&&(t=this.maxExp),void 0===e&&(e=this.getLevel(t)),this._exp=t,this._level=e,this._requiredExp=this.getRequiredExpToNextLevel(e,t),this}get exp(){return this._exp}set exp(t){if(this.hasMaxLevel&&t>this.maxExp&&(t=this.maxExp),tthis.maxLevel?this.exp=this.maxExp:this.exp=this.getExp(t)}get requiredExp(){return this._requiredExp}getExp(t){return void 0===t?this._exp:this.isLevelMapFunction?this.levelTable(t):(this.hasMaxLevel&&t>this.maxLevel&&(t=this.maxLevel),this.levelTable[t])}getLevel(t,e){if(void 0===t)return this._level;for(void 0===e&&(e=0);;){var i=this.getExp(e+1);if(i>t)break;if(e++,this.hasMaxLevel&&i===this.maxExp)break}return e}getRequiredExpToNextLevel(t,e){return void 0===t&&(t=this.level),void 0===e&&(e=this.exp),this.getExp(t+1)-e}checkLevel(t,e){return e>=this.getExp(t)&&e=0;n--)s=MO(t[n],e,i);else for(var n=0,a=t.length;ns?1:it)return this;for(var e=this.commands;;){var i=e[this.index],s=i[1];if(Hm(s)||(s=Dc(BO,i,1)),MO(s,this.scope),this.emit("runcommand",s,this.scope),this.index>=e.length-1)return this.nextTime=0,this.complete(),this;if(this.index++,this.nextTime=this.getNextDt(this.nextTime),this.nextTime>t)return this}}complete(){this.clock.stop(),this.state=2,this.emit("complete",this.parent,this)}getNextDt(t){var e=this.commands[this.index][0];return 1===this.timeUnit&&(e*=1e3),1===this.dtMode&&(e+=t),e}setDtMode(t){return"string"==typeof t&&(t=DO[t]),this.dtMode=t,this}setTimeUnit(t){return"string"==typeof t&&(t=IO[t]),this.timeUnit=t,this}}var BO=[];const IO={ms:0,s:1,sec:1},DO={abs:0,absolute:0,inc:1,increment:1};var AO=function(t,e,i,s,r){var n=(i-e)/(r-s)*this.totalEaseDuration,a=i===r?t+1:t;this.player.append(0,this.setEaseValueDuration,n).append(0,this.easeValueTo,i,s,r).append(0,this.emit,"levelup.start",t,e,i,this).append(n,h).append(0,this.emit,"levelup.end",a,e,i,this),this.player.isPlaying||this.player.start()},jO={setExpTable(t){return this.levelCounter.setTable(t),this},resetExp(t){return this.levelCounter.resetExp(t),this.setValue(this.exp,this.getExp(this.level),this.getExp(this.level+1)),this},getExp(t){return this.levelCounter.getExp(t)},getLevel(t,e){return this.levelCounter.getLevel(t,e)},getRequiredExpToNextLevel(t,e){return this.levelCounter.getRequiredExpToNextLevel(t,e)},gainExp(t){return this.levelCounter.gainExp(t),this},setExp(t){return this.levelCounter.setExp(t),this},setLevel(t){return this.levelCounter.setLevel(t),this}};const zO=Phaser.Utils.Objects.GetValue;class FO extends TO{constructor(t,e){super(t,e),this.type="rexExpBar",this.setTotalEaseDuration(zO(e,"easeDuration",1e3)),this.levelCounter=new OO(zO(e,"levelCounter")),this.player=new LO(this,{scope:this,dtMode:1}),this.levelCounter.on("levelup",AO,this),this.player.on("complete",(function(){this.player.clear(),this.emit("levelup.complete",this.level,this)}),this),this.setValue(this.exp,this.getExp(this.level),this.getExp(this.level+1))}destroy(t){this.scene&&!this.ignoreDestroy&&(this.levelCounter.destroy(),this.levelCounter=void 0,this.player.destroy(),this.player=void 0,super.destroy(t))}get exp(){return this.levelCounter.exp}set exp(t){this.levelCounter.exp=t}get level(){return this.levelCounter.level}set level(t){this.levelCounter.level=t}get requiredExp(){return this.levelCounter.requiredExp}setTotalEaseDuration(t){return this.totalEaseDuration=t,this}}Object.assign(FO.prototype,jO),t.register("expBar",(function(t){var e=new FO(this.scene,t);return this.scene.add.existing(e),e})),P(window,"RexPlugins.UI.ExpBar",FO);const XO=jw.prototype.add,YO=jw.prototype.addSpace;var WO=function(t){var e=!t.isRexSpace,i=!e||this.buttonsExpand?1:0;if(0===this.sizerChildren.length)if(e){!this.buttonsExpand&&("right"===this.buttonsAlign||"center"===this.buttonsAlign||"bottom"===this.buttonsAlign)&&YO.call(this),XO.call(this,t,{proportion:i,expand:!0});var s=!this.buttonsExpand&&"center"===this.buttonsAlign;s&&YO.call(this),this.hasTailSpace=s}else XO.call(this,t,{proportion:i,expand:!0}),this.hasTailSpace=!1;else if(this.hasTailSpace){var r=this.sizerChildren.length-1;XO.call(this,t,{index:r,proportion:i,expand:!0})}else XO.call(this,t,{proportion:i,expand:!0});return e&&this.buttonGroup.add(t),this},VO={addButton(t){if(Hm(t))for(var e=t,i=0,s=e.length;i=0;i--)UO.call(this,e[i],t);return this}},$O=function(t,e,i){if(t){var s=this.setValueCallback,r=this.setValueCallbackScope;s&&(r?s.call(r,t,e,i):s(t,e,i)),this.fireEvent("button.statechange",t,e,i)}},KO=function(t){var e=this;t._selected=void 0,Object.defineProperty(t,"selected",{get:function(){return t._selected},set:function(i){if(t._selected!==i){var s=t._selected;t._selected=i,$O.call(e,t,i,s)}},enumerable:!0,configurable:!0}),t.selected=!1},JO={add(t){return this.buttons.push(t),t._click||(t._click=new du(t,this.clickConfig),t._click.on("click",(function(t,e,i,s){this.fireEvent("button.click",e,i,s)}),this).on("enable",(function(t,e){this.fireEvent("button.enable",e)}),this).on("disable",(function(t,e){this.fireEvent("button.disable",e)}),this).on("over",(function(t,e,i,s){this.fireEvent("button.over",e,i,s)}),this).on("out",(function(t,e,i,s){this.fireEvent("button.out",e,i,s)}),this).on("down",(function(t,e,i,s){this.fireEvent("button.down",e,i,s)}),this).on("up",(function(t,e,i,s){this.fireEvent("button.up",e,i,s)}),this),t.isRexContainerLite&&t.sendChildToBack(t)),this.buttonsType&&(void 0===t.name&&console.error(`${this.parent.constructor.name}: Option button miss value`),KO.call(this,t)),this},addMultiple(t){for(var e=0,i=t.length;e0},setButtonEnable(t,e){var i=this.buttons;if(void 0===t||"boolean"==typeof t){e=t;for(var s=0,r=i.length;s=0;i--)uM.call(this,e[i],t);return this}};const gM=Phaser.Utils.Objects.GetValue;class vM extends cP{constructor(t,e){void 0===e&&(e={});var i=gM(e,"row",0),s=gM(e,"column",e.col||0),r=gM(e,"createCellContainerCallback"),n=gM(e,"buttons",void 0),a=gM(e,"expand",!0),o=a?1:0;if(r&&(e.createCellContainerCallback=void 0),void 0!==n){i=Math.max(i,n.length);for(var h=0,l=n.length;hr&&fM.addNewLine(this)}else for(n=0,a=t.length;n=0;i--)CM.call(this,e[i],t);return this}};const wM=Phaser.Utils.Objects.GetValue;class SM extends MP{constructor(t,e){void 0===e&&(e={});var i=e.space;"number"==typeof i&&(e.space={item:i,line:i}),super(t,e),this.type="rexFixWidthButtons",this.buttonGroup=new sM({parent:this,eventEmitter:wM(e,"eventEmitter",this),groupName:wM(e,"groupName",void 0),clickConfig:wM(e,"click",void 0)}).setButtonsType(e);var s=wM(e,"background",void 0),r=wM(e,"buttons",void 0);this.buttonsAlign=wM(e,"align",void 0),s&&this.addBackground(s),r&&this.addButtons(r),this.addChildrenMap("background",s),this.addChildrenMap("buttons",this.buttonGroup.buttons)}destroy(t){this.scene&&!this.ignoreDestroy&&(super.destroy(t),this.buttonGroup.destroy(),this.buttonGroup=void 0)}get buttons(){return this.buttonGroup.buttons}get groupName(){return this.buttonGroup.groupName}set groupName(t){this.buttonGroup.groupName=t}get eventEmitter(){return this.buttonGroup.eventEmitter}}Object.assign(SM.prototype,yM,kM,iM,nM),t.register("fixWidthButtons",(function(t){var e=new SM(this.scene,t);return this.scene.add.existing(e),e})),P(window,"RexPlugins.UI.FixWidthButtons",SM);var PM={setAccept(t){return this.childrenMap.fileChooser.setAccept(t),this},setMultiple(t){return this.childrenMap.fileChooser.setMultiple(t),this},loadFile(t,e,i,s,r){return this.childrenMap.fileChooser.loadFile(t,e,i,s,r),this},loadFilePromise(t,e,i,s){return this.childrenMap.fileChooser.loadFilePromise(t,e,i,s)}};const TM=Phaser.Utils.Objects.GetValue;class OM extends nS{constructor(t,e){super(t,e),this.type="rexFileSelectorButton";var i=new aw(t);t.add.existing(i),this.addBackground(i),this.addChildrenMap("fileChooser",i),this.setAccept(TM(e,"accept","")),this.setMultiple(TM(e,"multiple",!1)),i.on("change",(function(t){var e=t.files;0!==e.length&&(e=Array.from(e),this.emit("select",e,this))}),this)}get files(){return this.childrenMap.fileChooser.files}}Object.assign(OM.prototype,PM),t.register("fileSelectorButton",(function(t){var e=new OM(this.scene,t);return this.scene.add.existing(e),e})),P(window,"RexPlugins.UI.FileSelectorButton",OM);var MM={getChoice(t){var e=this.childrenMap.choicesSizer;return e?e.getButton(t):void 0},getAction(t){return this.childrenMap.actionsSizer.getButton(t)},getToolbar(t){return this.childrenMap.toolbarSizer.getButton(t)},getLeftToolbar(t){return this.childrenMap.leftToolbarSizer.getButton(t)},setChoiceEnable(t,e){var i=this.childrenMap.choicesSizer;return i&&i.setButtonEnable(t,e),this},setActionEnable(t,e){return this.childrenMap.actionsSizer.setButtonEnable(t,e),this},setToolbarEnable(t,e){return this.childrenMap.toolbarSizer.setButtonEnable(t,e),this},setLeftToolbarEnable(t,e){return this.childrenMap.leftToolbarSizer.setButtonEnable(t,e),this},toggleChoiceEnable(t){var e=this.childrenMap.choicesSizer;return e&&e.toggleButtonEnable(t),this},toggleActionEnable(t){return this.childrenMap.actionsSizer.toggleButtonEnable(t),this},toggleToolbarEnable(t){return this.childrenMap.toolbarSizer.toggleButtonEnable(t),this},toggleLeftToolbarEnable(t){return this.childrenMap.leftToolbarSizer.toggleButtonEnable(t),this},getChoiceEnable(t){var e=this.childrenMap.choicesSizer;return!!e&&e.getButtonEnable(t)},getActionEnable(t){return this.childrenMap.actionsSizer.getButtonEnable(t)},getToolbarEnable(t){return this.childrenMap.toolbarSizer.getButtonEnable(t)},getLeftToolbarEnable(t){return this.childrenMap.leftToolbarSizer.getButtonEnable(t)},emitChoiceClick(t){var e=this.childrenMap.choicesSizer;return e&&e.emitButtonClick(t),this},emitActionClick(t){return this.childrenMap.actionsSizer.emitButtonClick(t),this},emitToolbarClick(t){return this.childrenMap.toolbarSizer.emitButtonClick(t),this},emitLeftToolbarClick(t){return this.childrenMap.leftToolbarSizer.emitButtonClick(t),this},showChoice(t){var e=this.childrenMap.choicesSizer;return e&&e.showButton(t),this},showAction(t){return this.childrenMap.actionsSizer.showButton(t),this},showToolbar(t){return this.childrenMap.toolbarSizer.showButton(t),this},showLeftToolbar(t){return this.childrenMap.leftToolbarSizer.showButton(t),this},hideChoice(t){var e=this.childrenMap.choicesSizer;return e&&e.hideButton(t),this},hideAction(t){return this.childrenMap.actionsSizer.hideButton(t),this},hideToolbar(t){return this.childrenMap.toolbarSizer.hideButton(t),this},hideLeftToolbar(t){return this.childrenMap.leftToolbarSizer.hideButton(t),this},addChoice(t){var e=this.childrenMap.choicesSizer;return e&&e.addButton(t),this},addAction(t){return this.childrenMap.actionsSizer.addButton(t),this},addToolbar(t){return this.childrenMap.toolbarSizer.addButton(t),this},addLeftToolbar(t){return this.childrenMap.leftToolbarSizer.addButton(t),this},removeChoice(t,e){var i=this.childrenMap.choicesSizer;return i&&i.removeButton(t,e),this},removeAction(t,e){return this.childrenMap.actionsSizer.removeButton(t,e),this},removeToolbar(t,e){return this.childrenMap.toolbarSizer.removeButton(t,e),this},removeLeftToolbar(t,e){return this.childrenMap.leftToolbarSizer.removeButton(t,e),this},clearChoices(t){var e=this.childrenMap.choicesSizer;return e&&e.clearButtons(t),this},clearActions(t){return this.childrenMap.actionsSizer.clearButtons(t),this},clearToolbar(t){return this.childrenMap.toolbarSizer.clearButtons(t),this},clearLeftToolbar(t){return this.childrenMap.leftToolbarSizer.clearButtons(t),this},forEachChoice(t,e){var i=this.childrenMap.choicesSizer;return i&&i.forEachButtton(t,e),this},forEachAction(t,e){return this.childrenMap.actionsSizer.forEachButtton(t,e),this},forEachToolbar(t,e){return this.childrenMap.toolbarSizer.forEachButtton(t,e),this},forEachLeftToolbar(t,e){return this.childrenMap.leftToolbarSizer.forEachButtton(t,e),this},setAllButtonsEnable(t){return void 0===t&&(t=!0),this.childrenMap.toolbarSizer&&this.setToolbarEnable(t),this.childrenMap.leftToolbarSizer&&this.setLeftToolbarEnable(t),this.childrenMap.actionsSizer&&this.setActionEnable(t),this.childrenMap.choicesSizer&&this.setChoiceEnable(t),this},getChoicesButtonStates(){var t=this.childrenMap.choicesSizer;return t?t.getAllButtonsState():{}},getChoicesButtonState(t){var e=this.childrenMap.choicesSizer;return void 0===t?e?e.getAllButtonsState():{}:!!e&&e.getButtonState(t)},setChoicesButtonState(t,e){var i=this.childrenMap.choicesSizer;return i&&i.setButtonState(t,e),this},clearChoicesButtonStates(){var t=this.childrenMap.choicesSizer;return t&&t.clearAllButtonsState(),this},getChoicesSelectedButtonName(){var t=this.childrenMap.choicesSizer;return t?t.getSelectedButtonName():""},setChoicesSelectedButtonName(t){var e=this.childrenMap.choicesSizer;return e&&e.setSelectedButtonName(t),this},hasAnyChoice(){var t=this.childrenMap.choicesSizer;return!!t&&t.hasAnyButton()},hasAnyAction(){var t=this.childrenMap.actionsSizer;return!!t&&t.hasAnyButton()},hasAnyToolbar(){var t=this.childrenMap.toolbarSizer;return!!t&&t.hasAnyButton()},hasAnyLeftToolbar(){var t=this.childrenMap.leftToolbarSizer;return!!t&&t.hasAnyButton()}},EM={onCreateModalBehavior(t){t.on("button.click",(function(e,i,s,r,n){var a=!1;switch(i){case"actions":a=!0;break;case"choices":t.hasAnyAction()||(a=!0)}if(a){var o={index:s,text:e.text,button:e,dialog:t};switch(t.buttonsType){case"radio":o.value=t.getChoicesSelectedButtonName();break;case"checkboxes":o.value=t.getChoicesButtonStates();break;default:o.value=void 0}t.modalClose(o)}}))},modal(t,e){return t&&!1===t.defaultBehavior?this.onCreateModalBehavior=!1:delete this.onCreateModalBehavior,Fm.modal.call(this,t,e),this}},_M={};Object.assign(_M,MM,EM);const RM=Phaser.Utils.Objects.GetValue;class LM extends jw{constructor(t,e){void 0===e&&(e={}),e.orientation=1,super(t,e),this.type="rexDialog",this.eventEmitter=RM(e,"eventEmitter",this);var i,s,r,n,a=RM(e,"background",void 0),o=RM(e,"title",void 0),h=RM(e,"toolbar",void 0),l=RM(e,"toolbarBackground",void 0),d=RM(e,"leftToolbar",void 0),c=RM(e,"leftToolbarBackground",void 0),u=RM(e,"content",void 0),p=RM(e,"description",void 0),g=RM(e,"choices",void 0),v=RM(e,"choicesBackground",void 0),f=RM(e,"actions",void 0),m=RM(e,"actionsBackground",void 0),y=RM(e,"click",void 0);if(a&&this.addBackground(a),h&&(r=new oM(t,{groupName:"toolbar",background:l,buttons:h,orientation:0,space:{item:RM(e,"space.toolbarItem",0)},click:y,eventEmitter:this.eventEmitter}),t.add.existing(r)),d&&(n=new oM(t,{groupName:"leftToolbar",background:c,buttons:d,orientation:0,space:{item:RM(e,"space.leftToolbarItem",0)},click:y,eventEmitter:this.eventEmitter}),t.add.existing(n)),o||h||d){var b,x=!!o&&RM(e,"expand.title",!0),C=RM(e,"align.title","center"),k=!(o&&!x&&"center"===C||!o&&(h||d));b=k?new jw(t,{orientation:0}):new nx(t),t.add.existing(b);var w=!!k||{height:!0};if(n&&b.add(n,{align:"left",expand:w}),o){k&&!x&&"right"===C&&b.addSpace();var S={left:RM(e,"space.titleLeft",0),right:RM(e,"space.titleRight",0)},P=x?1:0;b.add(o,{align:C,proportion:P,expand:w,padding:S}),k&&!x&&"left"===C&&b.addSpace()}r&&(k&&!o&&b.addSpace(),b.add(r,{align:"right",expand:w})),(u||p||g||f)&&(S={bottom:RM(e,"space.title",0),top:RM(e,"space.titleTop",0)}),P=RM(e,"proportion.title",0),this.add(b,{padding:S,proportion:P,expand:!0})}if(u){var T=RM(e,"align.content","center"),O=RM(e,"space.content",0),M=(S={left:RM(e,"space.contentLeft",0),right:RM(e,"space.contentRight",0),bottom:p||g||f?O:0},P=RM(e,"proportion.content",0),RM(e,"expand.content",!0));this.add(u,{align:T,padding:S,proportion:P,expand:M})}if(p){T=RM(e,"align.description","center");var E=RM(e,"space.description",0);S={left:RM(e,"space.descriptionLeft",0),right:RM(e,"space.descriptionRight",0),bottom:g||f?E:0},P=RM(e,"proportion.description",0),M=RM(e,"expand.description",!0),this.add(p,{align:T,padding:S,proportion:P,expand:M})}if(g){var _=RM(e,"choicesType","").split("-"),R=BM(_,"wrap")?SM:BM(_,"grid")?vM:oM,L=BM(_,"radio")?"radio":BM(_,"checkboxes")?"checkboxes":void 0,B={left:RM(e,"space.choicesBackgroundLeft",0),right:RM(e,"space.choicesBackgroundRight",0),top:RM(e,"space.choicesBackgroundTop",0),bottom:RM(e,"space.choicesBackgroundBottom",0)},I=RM(e,"space.choice",0);R===oM?B.item=I:R===SM?(B.item=I,B.line=RM(e,"space.choiceLine",I)):(B.column=RM(e,"space.choiceColumn",I),B.row=RM(e,"space.choiceRow",I));var D={width:RM(e,"choicesWidth",void 0),height:RM(e,"choicesHeight",void 0),groupName:"choices",buttonsType:L,background:v,buttons:g,space:B,click:y,eventEmitter:this.eventEmitter,setValueCallback:RM(e,"choicesSetValueCallback",void 0),setValueCallbackScope:RM(e,"choicesSetValueCallbackScope",void 0)};R===oM&&(D.orientation=BM(_,"x")?0:1),i=new R(t,D),t.add.existing(i);var A=RM(e,"space.choices",0);S={left:RM(e,"space.choicesLeft",0),right:RM(e,"space.choicesRight",0),bottom:f?A:0},T=RM(e,"align.choices","center"),P=RM(e,"proportion.choices",0),M=RM(e,"expand.choices",!0),this.add(i,{align:T,padding:S,proportion:P,expand:M}),this.buttonsType=L}f&&(s=new oM(t,{groupName:"actions",background:m,buttons:f,orientation:0,space:{item:RM(e,"space.action",0)},expand:RM(e,"expand.actions",!1),align:RM(e,"align.actions","center"),click:y,eventEmitter:this.eventEmitter}),t.add.existing(s),S={left:RM(e,"space.actionsLeft",0),right:RM(e,"space.actionsRight",0),bottom:RM(e,"space.actionsBottom",0)},P=RM(e,"proportion.action",0),this.add(s,{align:"center",padding:S,proportion:P,expand:!0})),DM(this,"click"),DM(this,"over"),DM(this,"out"),DM(this,"enable"),DM(this,"disable"),this.addChildrenMap("background",a),this.addChildrenMap("title",o),this.addChildrenMap("toolbar",h),this.addChildrenMap("leftToolbar",d),this.addChildrenMap("content",u),this.addChildrenMap("description",p),this.addChildrenMap("choices",i?i.buttons:void 0),this.addChildrenMap("actions",s?s.buttons:void 0),this.addChildrenMap("choicesSizer",i),this.addChildrenMap("actionsSizer",s),this.addChildrenMap("toolbarSizer",r),this.addChildrenMap("leftToolbarSizer",n)}}var BM=function(t,e){return-1!==t.indexOf(e)},IM={actions:"action",choices:"choice",toolbar:"toolbar",leftToolbar:"leftToolbar"},DM=function(t,e){t.on(`button.${e}`,(function(i,s,r,n,a){IM.hasOwnProperty(s)&&t.emit(`${IM[s]}.${e}`,i,r,n,a)}))};Object.assign(LM.prototype,_M),t.register("dialog",(function(t){var e=new LM(this.scene,t);return this.scene.add.existing(e),e})),P(window,"RexPlugins.UI.Dialog",LM);var AM=function(t,e,i){var s=new lO(t,e,i);return t.add.existing(s),s},jM=function(t){var e=this.childrenMap.title;null===(t=t.title)?e.hide():(e.show(),e.resetDisplayContent(t))},zM=function(t){var e=this.childrenMap.content;if(null===(t=t.content))e.hide();else if(e.show(),e.resetDisplayContent)e.resetDisplayContent(t);else{var i=t||"";e.setText(i)}},FM=function(t){var e=this.childrenMap.actions;if(e){var i=t.buttons;if(i){for(var s=this.scene,r=this.defaultActionConfig,n=this.defaultActionButtonCreator,a=0,o=i.length;a=0&&t=0&&i0&&s)){if(0===n)return 2===e&&(i+=1),i;if(1===e){var a=i;(s=(i+=1)>=0&&i=this.colCount?null:e*this.colCount+t}rowIndexToHeight(t,e){if(this.defaultCellHeightMode)return(e-t+1)*this.defaultCellHeight;for(var i=0,s=t;s<=e;s++)i+=this.getRowHeight(s);return i}colIndexToWidth(t,e){return(e-t+1)*this.defaultCellWidth}getRowHeight(t){var e=this.colCount;if(e<=1)return this.getCellHeight(this.colRowToCellIndex(0,t));for(var i,s=0,r=0;ri,n=tthis.leftTableOX,n=tt?this.removeCells(t,e-t):this.insertNewCells(e,t-e)),this},insertNewCells:function(t,e){return"object"==typeof t&&(t=t.index),void 0===e&&(e=1),e<=0||(t=NE(t,0,this.cellsCount),this.table.insertNewCells(t,e)),this},removeCells:function(t,e){if("object"==typeof t&&(t=t.index),void 0===e&&(e=1),t<0&&(e+=t,t=0),e<=0)return this;if(t>this.cellsCount)return this;for(var i,s=t,r=t+e;sthis.topChildOY}childOYExeceedBottom(t){return void 0===t&&(t=this.childOY),tthis.leftChildOX}childOXExeceedRight(t){return void 0===t&&(t=this.childOX),tthis.childHeight?t=0:s?t=e:r&&(t=i)),this._childOY!==t&&(this._childOY=t,this.resetChildPosition()),s&&(this.execeedTopState||this.emit("execeedtop",this,t,e)),this.execeedTopState=s,r&&(this.execeedBottomState||this.emit("execeedbottom",this,t,i)),this.execeedBottomState=r}get childOX(){return this._childOX}set childOX(t){var e=this.leftChildOX,i=this.rightChildOX,s=this.childOXExceedLeft(t),r=this.childOXExeceedRight(t);this.clampChildOX&&(this.childVisibleWidth>this.childWidth?t=0:s?t=e:r&&(t=i)),this._childOX!==t&&(this._childOX=t,this.resetChildPosition()),s&&(this.execeedLeftState||this.emit("execeedleft",this,t,e)),this.execeedLeftState=s,r&&(this.execeedRightState||this.emit("execeedright",this,t,i)),this.execeedRightState=r}setChildOY(t){return this.childOY=t,this}setChildOX(t){return this.childOX=t,this}set t(t){this.childOY=-this.visibleHeight*t}get t(){var t=this.visibleHeight;return 0===t?0:this.childOY/-t}set s(t){this.childOX=-this.visibleWidth*t}get s(){var t=this.visibleWidth;return 0===t?0:this.childOX/-t}setChildOYByPercentage(t){return this.t=t,this}setChildOXByPercentage(t){return this.s=t,this}}Object.assign(X_.prototype,A_);const Y_=["top","bottom","centerY","center"],W_=["left","right","centerX","center"];var V_=function(t,e,i){var s,r="Y"===(e=e.toUpperCase()),n=this.childrenMap.child;if(r){if(i)for(var a=0,o=Y_.length;a=0?0:Math.abs(l)<=Math.abs(d)?l:d}}else{if(i)for(a=0,o=W_.length;a=0?0:Math.abs(c)<=Math.abs(u)?c:u}}switch(this.scrollMode){case 0:case 1:this.childOY+=s;break;default:this[`childO${e}`]+=s}};const G_=Phaser.Utils.Objects.GetValue;class H_ extends jT{constructor(t,e){void 0===e&&(e={});var i=IP(e),s=G_(e,"panel",void 0);void 0===s&&(s={}),s.scrollMode=i,s.clampChildOY=G_(e,"clampChildOY",!1),s.clampChildOX=G_(e,"clampChildOX",!1);var r,n,a=new X_(t,s);switch(t.add.existing(a),i){case 0:r=G_(e,"expand.panel",!0),n=!0;break;case 1:r=!0,n=G_(e,"expand.panel",!0);break;default:r=!0,n=!0}e.type="rexScrollablePanel",e.child={gameObject:a,expandWidth:r,expandHeight:n,align:G_(e,"align.panel","center")};var o=G_(e,"space",void 0);o&&(o.child=G_(o,"panel",0)),super(t,e),this.addChildrenMap("panel",a.child),this.addChildrenMap("panelLayer",a.maskLayer),this.addChildrenMap("mask",a.maskGameObject),this.addChildrenMap("scrollableBlock",a)}setChildrenInteractive(t){return void 0===t&&(t={}),t.hasOwnProperty("eventEmitter")||(t.eventEmitter=this),t.hasOwnProperty("targets")||(t.targets=[this.childrenMap.panel]),jb(this.childrenMap.child,t),this}}var U_={scrollToChild:function(t,e){if(!this.hasChild(t))return this;switch(this.scrollMode){case 0:V_.call(this,t,"y",e);break;case 1:V_.call(this,t,"x",e);break;default:V_.call(this,t,"y",e),V_.call(this,t,"x",e)}return this}};Object.assign(H_.prototype,U_);const N_=Phaser.Utils.Objects.GetValue;var $_=function(){var t,e=this.scene,i=this.listCreateBackgroundCallback;i&&(t=i.call(this,e),e.add.existing(t));var s=[],r=this.listCreateButtonCallback;if(r)for(var n=this.options,a=0,o=n.length;a0||this.listMaxHeight>0)){if(s=K_(e,u),this.listMaxHeight>0&&(s.layout(),s.height<=this.listMaxHeight&&(d=s)),!d){0===c&&(c=this.listMaxHeight);var p=J_(e,this.listCreateSliderTrackCallback),g=J_(e,this.listCreateSliderThumbCallback);d=new H_(e,{height:c,scrollMode:0,panel:{child:s,mask:{padding:1}},slider:{track:p,thumb:g,adaptThumbSize:this.listSliderAdaptThumbSizeEnable},scrollDetectionMode:1,scroller:this.listScrollerConfig,mouseWheelScroller:this.listMouseWheelScrollerConfig,space:{panel:N_(this.listSpace,"panel",0)}}),e.add.existing(d)}}else u.height=c,s=K_(e,u),d=s;return t&&d.addBackground(t,"background"),this.listDraggable&&d.setDraggable(!0),d!==s&&s.on("button.over",(function(t,e,i,s){d.emit("button.over",t,e,i,s)})).on("button.out",(function(t,e,i,s){d.emit("button.out",t,e,i,s)})).on("button.click",(function(t,e,i,s){d.emit("button.click",t,e,i,s)})),d},K_=function(t,e,i){var s;return i?(e.orientation="x",s=new SM(t,e)):(e.orientation="y",s=new oM(t,e)),t.add.existing(s),s},J_=function(t,e,i){var s;return e&&(s=e.call(i,t),t.add.existing(s)),s};const q_=Phaser.Utils.Objects.GetValue;var Z_=function(t,e){var i=q_(e,"expandDirection",void 0);"string"==typeof i&&(i=Q_[i]);var s,r,n,a,o,h,l,d=(n="alignTargetX",Od(s=e,r="alignTarget")?J(s,r):n&&Od(s,n)?J(s,n):a&&Od(s,a)?J(s,a):o),c=q_(e,"alignTargetY",d),u=q_(e,"alignOffsetX",0),p=q_(e,"alignOffsetY",0),g=q_(e,"alignSide","").includes("right"),v=q_(e,"bounds"),f=0===i,m=!(f||1===i),y=g?1:0,b=f||m?0:1;t.setOrigin(y,b),h=g?d.getTopRight().x:d.getTopLeft().x,l=c.getBottomLeft().y,t.setPosition(h+u,l+p);var x=v;x||(x=oa(t.scene)),m&&t.getBottomLeft().y>x.bottom&&(l=c.getTopLeft().y,t.setOrigin(0,1).setPosition(h+u,l+p))};const Q_={down:0,up:1},tR=Phaser.Utils.Objects.GetValue;class eR extends Cm{constructor(t,e){void 0===e&&(e={}),null==e.transitIn&&(e.transitIn=function(t,e){yf(t,e,"y","Cubic")}),null==e.transitOut&&(e.transitOut=function(t,e){!function(t,e,i,s,r){void 0===s&&(s="Linear");var n={mode:0};switch(i){case 0:case"x":n.end={x:0};break;case 1:case"y":n.end={y:0};break;default:n.end=0}n.duration=e,n.ease=s,void 0===r?r=new ff(t,n):r.resetFromJSON(n),r.restart()}(t,e,"y","Linear")}),e.manualClose=!0,e.clickOutsideClose=!0,e.destroy=!0,super(t,e),Z_(t,e),t.isRexSizer&&t.layout();var i=tR(e,"touchOutsideClose",!1),s=tR(e,"anyTouchClose",!1);s&&(i=!1),s?this.once("open",this.anyTouchClose,this):i&&this.once("open",this.touchOutsideClose,this),this.requestOpen()}shutdown(t){this.isShutdown||(this.scene.input.off("pointerup",this.touchCloseCallback,this),super.shutdown(t))}touchOutsideClose(){return this.scene.input.on("pointerup",this.touchCloseCallback,this),this.clickOutsideTest=!0,this}anyTouchClose(){return this.scene.input.once("pointerup",this.touchCloseCallback,this),this}touchCloseCallback(t){this.clickOutsideTest&&Lm(this.parent,t.worldX,t.worldY)||this.requestClose()}onOpen(){this.emit("open",this.parent,this),super.onOpen()}onClose(){this.emit("close",this.parent,this),super.onClose()}}var iR={focusNextButton(){if(!this.isOpened)return this;var t,e=this.currentOverIndex;return t=void 0===e?0:(e+1)%this.listPanel.getButtons().length,this.emitButtonOver(t),this},focusPrevButton(){if(!this.isOpened)return this;var t,e=this.currentOverIndex;if(void 0===e)t=0;else{var i=this.listPanel.getButtons().length;t=(e-1+i)%i}return this.emitButtonOver(t),this}},sR={openListPanel:function(){if(this.listPanel)return this;if(0===this.options.length)return this;var t,e=$_.call(this);e.on("button.over",(function(t,i,s,r){this.currentOverIndex=i,this.listOnButtonOver&&this.listOnButtonOver.call(this,t,i,s,r),this.emit("button.over",this,e,t,i,s,r)}),this).on("button.out",(function(t,i,s,r){this.currentOverIndex===i&&(this.currentOverIndex=void 0),this.listOnButtonOut&&this.listOnButtonOut.call(this,t,i,s,r),this.emit("button.out",this,e,t,i,s,r)}),this),t=this.listAlignMode&&"label"!==this.listAlignMode?this.getElement(this.listAlignMode):this;var i=new eR(e,{duration:{in:this.listEaseInDuration,out:this.listEaseOutDuration},transitIn:this.listTransitInCallback,transitOut:this.listTransitOutCallback,expandDirection:this.listExpandDirection,alignTargetX:t,alignTargetY:this,alignSide:this.listAlignSide,bounds:this.listBounds}).on("open",(function(){e.on("button.click",(function(t,i,s,r){this.listOnButtonClick&&this.listOnButtonClick.call(this,t,i,s,r),this.emit("button.click",this,e,t,i,s,r),this.dropDownBehavior.requestClose()}),this),this.emit("list.open",this,e)}),this).on("close",(function(){this.listPanel=void 0,this.dropDownBehavior=void 0,this.emit("list.close",this)}),this);return e.onClickOutside((function(){i.requestClose()})),this.listPanel=e,this.dropDownBehavior=i,this.pin(e),this},closeListPanel:function(){return this.dropDownBehavior?(this.dropDownBehavior.requestClose(),this.currentOverIndex=void 0,this):this},toggleListPanel:function(){return this.listPanel?this.closeListPanel():this.openListPanel(),this},emitButtonClick:function(t){if(void 0===t&&(t=this.currentOverIndex),void 0===t)return this;var e=this.listPanel,i=e?e.getButton(t):this.options[t];return this.listOnButtonClick&&this.listOnButtonClick.call(this,i,t),this.emit("button.click",this,e,i,t),this},emitButtonOver:function(t){var e=this.listPanel;return e?(e.emitButtonOver(t),this):this}};Object.assign(sR,I_,iR);const rR=Phaser.Utils.Objects.GetValue;class nR extends nS{constructor(t,e){super(t,e),this.type="rexDropDownList",this.timer=void 0,this.listPanel=void 0,this.currentOverIndex=void 0,this.setOptions(rR(e,"options"));var i=rR(e,"list");this.setWrapEnable(rR(i,"wrap",!1)),this.setCreateButtonCallback(rR(i,"createButtonCallback")),this.setCreateListBackgroundCallback(rR(i,"createBackgroundCallback")),this.setCreateListSliderTrackCallback(rR(i,"createTrackCallback")),this.setCreateListSliderThumbCallback(rR(i,"createThumbCallback")),this.setListSliderAdaptThumbSizeEnable(rR(i,"sliderAdaptThumbSize",!1)),this.setListScrollerConfig(rR(i,"scroller")),this.setListMouseWheelScrollerConfig(rR(i,"mouseWheelScroller")),this.setButtonClickCallback(rR(i,"onButtonClick")),this.setButtonOverCallback(rR(i,"onButtonOver")),this.setButtonOutCallback(rR(i,"onButtonOut")),this.setListExpandDirection(rR(i,"expandDirection")),this.setListEaseInDuration(rR(i,"easeIn",500)),this.setListEaseOutDuration(rR(i,"easeOut",100)),this.setListTransitInCallback(rR(i,"transitIn")),this.settListTransitOutCallback(rR(i,"transitOut")),this.setListMaxHeight(rR(i,"maxHeight",0)),this.setListSize(rR(i,"width"),rR(i,"height",0)),this.setListAlignmentMode(rR(i,"alignParent","text")),this.setListAlignmentSide(rR(i,"alignSide","")),this.setListBounds(rR(i,"bounds")),this.setListSpace(rR(i,"space")),this.setListDraggable(rR(i,"draggable",!1)),this.setValueChangeCallback(rR(e,"setValueCallback"),rR(e,"setValueCallbackScope")),this.setValue(rR(e,"value")),this.onClick(this.toggleListPanel,this)}destroy(t){this.scene&&!this.ignoreDestroy&&(this.listPanel&&(this.listPanel.destroy(t),this.listPanel=void 0),super.destroy(t))}get isOpened(){return!!this.listPanel}setOptions(t){return void 0===t&&(t=[]),this.options=t,this}setValueChangeCallback(t,e){return this.valueChangeCallback=t,this.valueChangeCallbackScope=e,this}setValue(t){return this.value=t,this}get value(){return this._value}set value(t){if(this._value!==t){var e=this._value;this._value=t;var i=this.valueChangeCallback,s=this.valueChangeCallbackScope;i&&(s?i.call(s,this,t,e):i(this,t,e)),this.emit("valuechange",this,t,e)}}}Object.assign(nR.prototype,sR),t.register("dropDownList",(function(t){var e=new nR(this.scene,t);return this.scene.add.existing(e),e})),P(window,"RexPlugins.UI.DropDownList",nR);var aR=function(t,e,s){void 0===s&&(s={});var r=(e=e?i(e):{}).label||e.button,n=e.button||e.label;delete e.label,delete e.button;var a=s.label||s.button||s,o=s.button||s.label||s,h=hO(t,r,a);h.list=e.list||{},h.list.createButtonCallback=function(t,e){var i=AM(t,n,o).resetDisplayContent(e);return e.hasOwnProperty("value")&&(i.value=e.value),i};var l=e.track;l&&(h.list.createTrackCallback=function(t){return LP(t,l)},delete e.track);var d=e.thumb;return d&&(h.list.createThumbCallback=function(t){return LP(t,d)},delete e.thumb),h.list.onButtonOver=function(t,e,i,s){t.setHoverState&&t.setHoverState(!0)},h.list.onButtonOut=function(t,e,i,s){t.setHoverState&&t.setHoverState(!1)},h};class oR extends nR{constructor(t,e,i){super(t,e=aR(t,e,i)),this.type="rexSimpleDropDownList"}setOptions(t){void 0===t&&(t=[]);for(var e=0,i=t.length;e0?Math.ceil(s/this.pageLinesCount):1;for(var r=0;r0?t+i:this.totalLinesCount}var s;switch(e>this.totalLinesCount&&(e=this.totalLinesCount),this.textObjectType){case 0:case 2:s=this.lines.slice(t,e).join("\n");break;case 1:var r=this.lines.getLineStartIndex(t),n=this.lines.getLineEndIndex(e-1);((s=this.lines.getSliceTagText(r,n,!0)).match(/\n/g)||[]).length>e-t-1&&(s=s.substring(0,s.length-1))}return s}};Object.assign(uR,hR,dR,cR);const pR=Phaser.Utils.Objects.GetValue;Phaser.Math.Clamp;class gR extends La{constructor(t,e){super(t,{eventEmitter:!1}),this.textObjectType=Uw(this.parent),this.pageStartIndexes=[],this.lines=FT(this.parent,""),this.sections=[],this.resetFromJSON(e)}resetFromJSON(t){this.setMaxLines(pR(t,"maxLines",void 0)),this.setPageBreak(pR(t,"pageBreak","\f\n")),this.setText(pR(t,"text","")),this.startLineIndex=pR(t,"start",-1),this.endLineIndex=pR(t,"end",void 0);var e=pR(t,"page");return void 0===e?this.resetIndex():this.setPageIndex(e),this}toJSON(){return{maxLines:this.maxLines,text:this.content,start:this.startLineIndex,end:this.endLineIndex,page:this.pageIndex,pageBreak:this.pageBreak}}shutdown(t){if(!this.isShutdown){switch(this.textObjectType){case 0:case 2:this.lines.length=0;break;case 1:this.lines.destroy()}this.pageStartIndexes.length=0,this.sections.length=0,this.lines=void 0,this.pageStartIndexes=void 0,this.sections=void 0,super.shutdown(t)}}setMaxLines(t){return this.maxLines=t,this}setPageBreak(t){return this.pageBreak=t,this}get pageCount(){return this.pageStartIndexes.length}get lastPageIndex(){return this.pageCount-1}get isFirstPage(){return this.pageIndex<=0}get isLastPage(){return this.pageIndex>=this.pageCount-1}get totalLinesCount(){return this.lines?this.lines.length:0}get pageLinesCount(){if(void 0!==this.maxLines)return this.maxLines;var t;switch(this.textObjectType){case 0:case 1:var e=this.parent.style.maxLines;t=e>0?e:Math.floor(function(t){var e,i,s;switch(Uw(t)){case 0:case 1:e=t.height-t.padding.top-t.padding.bottom,i=t.lineSpacing,s=t.style.metrics.fontSize+t.style.strokeThickness;break;case 2:e=t.height,i=0;var r=t.fontSize/t.fontData.size;s=t.fontData.lineHeight*r}return(e-i)/(s+i)}(this.parent));break;case 2:t=this.totalLinesCount}return t}get isFirstLine(){return this.startLineIndex<=0}get isLastLine(){return this.endLineIndex===this.totalLinesCount}get content(){return this.sections.join(this.pageBreak)}}Object.assign(gR.prototype,uR);var vR={setText(t){this.setTextCallback&&(t=this.setTextCallbackScope?this.setTextCallback.call(this.setTextCallbackScope,t,this.isLastChar,this.insertIndex):this.setTextCallback(t,this.isLastChar,this.insertIndex)),this.textWrapEnable?VT(this.parent,t):this.parent.setText(t)},appendText(t){var e=this.text.concat(je(t));return this.isTyping?this.setTypingContent(e):this.start(e,void 0,this.textLength),this}},fR=function(t,e){return t.getPlainText&&(e=t.getPlainText(e)),e},mR=function(t,e){for(var i=void 0,s=0;s0?yR(n,t,a=(o=i)-d,o):"";var c,u=e-d;u>0?(o=(a=0)+u,this.insertIndex=o,c=yR(n,t,a,o)):(c="",this.insertIndex=0),r=c+l}return this.insertChar=r.charAt(this.insertIndex-1),r},xR={start:function(t,e,i,s){return void 0!==t&&this.setTypingContent(t),void 0!==e&&(this.speed=e),void 0===i&&(i=0),this.typingIndex=i+1,0===this.speed?this.stop(!0):(this.setText(""),this.startTimer(s)),this},startFromLine:function(t,e,i,s,r){var n;if(e>0){void 0===s&&(s=0);var a=fR(this.parent,t);n=mR(a,e)+s}return this.start(t,i,n,r)},stop:function(t){if(this.getTimer()&&this.freeTimer(),t){for(;!this.isLastChar;)bR.call(this,this.text,this.typingIndex,this.textLength,this.typeMode),this.emit("typechar",this.insertChar),this.typingIndex++;this.setText(this.text),this.emit("type"),this.emit("complete",this,this.parent)}return this},pause:function(){var t=this.getTimer();return t&&(t.paused=!0),this},resumeTyping:function(){var t=this.getTimer();return t&&(t.paused=!1),this}};Object.assign(xR,vR);const CR=Phaser.Utils.Objects.GetFastValue,kR=Phaser.Utils.Objects.GetValue;class wR extends La{constructor(t,e){super(t,e),this.timer=null,this.resetFromJSON(e)}resetFromJSON(t){this.setTextWrapEnable(kR(t,"wrap",!1)),this.setTypeMode(kR(t,"typeMode",0)),this.setTypingSpeed(kR(t,"speed",333)),this.setTextCallback=CR(t,"setTextCallback",null),this.setTextCallbackScope=CR(t,"setTextCallbackScope",null),this.setTypingContent(CR(t,"text","")),this.typingIndex=CR(t,"typingIndex",0),this.insertIndex=null,this.insertChar=null;var e=CR(t,"elapsed",null);return null!==e&&this.start(void 0,void 0,this.typingIndex,e),this}shutdown(t){this.isShutdown||(this.freeTimer(),super.shutdown(t))}setTypeMode(t){return"string"==typeof t&&(t=SR[t]),this.typeMode=t,this}setTypeSpeed(t){return this.speed=t,this}setTypingSpeed(t){return this.speed=t,this}setTextWrapEnable(t){return void 0===t&&(t=!0),this.textWrapEnable=t,this}set text(t){var e=je(t);this.textWrapEnable&&(e=function(t,e){switch(Uw(t)){case 0:t.style.syncFont(t.canvas,t.context),e=t.runWordWrap(e);break;case 1:e=t.getText(e,void 0,void 0,!0);break;case 2:e=t.setText(e).getTextBounds().wrappedText}return e}(this.parent,e)),this._text=e}get text(){return this._text}get isTyping(){return null!==this.getTimer()}get isLastChar(){return this.typingIndex===this.textLength}setTypingContent(t){return this.text=t,this.textLength=fR(this.parent,this.text).length,this}onTyping(){var t=bR.call(this,this.text,this.typingIndex,this.textLength,this.typeMode);this.setText(t),this.emit("typechar",this.insertChar),this.emit("type"),this.isLastChar?(this.freeTimer(),this.scene.sys.events.once("preupdate",(function(){this.emit("complete",this,this.parent)}),this)):(this.timer.delay=this.speed,this.typingIndex++)}startTimer(t){var e;return this.timer&&this.freeTimer(),void 0===t?e=0:(this.speed,e=t),this.timer=this.scene.time.addEvent({delay:1e-4,startAt:e,loop:!0,callback:this.onTyping,callbackScope:this}),this}getTimer(){return this.timer}freeTimer(){return this.timer&&(this.timer.remove(),this.timer=null),this}setText(t){this.setTextCallback&&(t=this.setTextCallbackScope?this.setTextCallback.call(this.setTextCallbackScope,t,this.isLastChar,this.insertIndex):this.setTextCallback(t,this.isLastChar,this.insertIndex)),this.textWrapEnable?VT(this.parent,t):this.parent.setText(t)}}const SR={"left-to-right":0,"right-to-left":1,"middle-to-sides":2,"sides-to-middle":3};Object.assign(wR.prototype,xR);const PR=Phaser.Utils.Objects.GetValue,TR={page:0,line:1};class OR extends(function(t,e){return void 0===e&&(e="rexTextBox"),class extends t{constructor(t,i){super(t,i),this.type=e,this.isRunning=!1,this._isPageEnd=!1;var s=this.childrenMap.text,r=PR(i,"expandTextWidth",!1),n=PR(i,"expandTextHeight",!1);if(r||n){var a=Uw(s);switch(a){case 0:case 1:if(s.resize=function(t,e){var i=r?t:0,a=n?e:0;s.setFixedSize(i,a),i>0&&s.setWordWrapWidth(i)},1===a){var o=s.style;0===o.wrapMode&&(o.wrapMode=1)}}r&&(s._minWidth=0),n&&(s._minHeight=0)}this.setTypingMode(PR(i,"typingMode","page")),this.page=new gR(s,PR(i,"page",void 0)),this.typing=new wR(s,PR(i,"typing",i.type)),this.typing.on("complete",this.onTypingComplete,this).on("type",this.onType,this).on("typechar",this.onTypeChar,this),this.textWidthSave=s.width,this.textHeightSave=s.height}setTypingMode(t){return"string"==typeof t&&(t=TR[t]),this.typingMode=t,this}start(t,e){return void 0!==e&&this.setTypingSpeed(e),this.isRunning=!0,this.page.setText(t),this.emit("start"),0===this.typingMode?this.typeNextPage():this.typeNextLine(),this}more(t,e){if(void 0!==e&&this.setTypingSpeed(e),!this.isRunning){if(this.isRunning=!0,this.page.appendText(t),this.emit("start"),0===this.typingMode){this._isPageEnd=!1;var i=this.page.getPage(),s=this.typing.textLength;this.typing.start(i,void 0,s)}return this}this.page.appendText(t),this.typing.appendText(t)}typeNextPage(){if(!this.isRunning)return this;if(this.isLastPage)this.emit("complete");else{this._isPageEnd=!1;var t=this.page.getNextPage();this.typing.start(t)}return this}typeNextLine(){if(!this.isRunning)return this;if(this.isLastLine)this.isRunning=!1,this.emit("pageend"),this.emit("complete");else{var t,e=this.page.getPageOfNextLine();t=this.isFirstLine?0:this.page.pageLinesCount-1,this.typing.startFromLine(e,t)}}pause(){return this.isRunning?(this.isTyping&&(this.typing.pause(),this.emit("pause")),this):this}resume(){return this.isRunning?(this.isTyping||(this.emit("resume"),this.typing.resume()),this):this}stop(t){return this.isRunning?(this.typing.stop(t),this):this}showLastPage(){return this.isRunning?(this.typing.stop(),0===this.typingMode?this.page.showLastPage():this.page.showLastLine(),this.emit("type"),this.onTypingComplete(),this):this}setTypeSpeed(t){return this.typing.setTypingSpeed(t),this}setTypingSpeed(t){return this.typing.setTypingSpeed(t),this}get isTyping(){return this.typing.isTyping}get isPageEnd(){return this._isPageEnd}get isLastPage(){return this.page.isLastPage}get isFirstPage(){return this.page.isFirstPage}get pageCount(){return this.page.pageCount}get pageIndex(){return this.page.pageIndex}get isLastLine(){return this.page.isLastLine}get isFirstLine(){return this.page.isFirstLine}get lineCound(){return this.page.totalLinesCount}get startLineIndex(){return this.page.startLineIndex}get endLineIndex(){return this.page.endLineIndex}get typingSpeed(){return this.typing.speed}onType(){var t=this.childrenMap.text;this.textWidthSave===t.width&&this.textHeightSave===t.height||(this.textWidthSave=t.width,this.textHeightSave=t.height,this.getTopmostSizer().layout()),this.emit("type")}onTypeChar(t){this.emit("typechar",t)}onTypingComplete(){if(0===this.typingMode){this._isPageEnd=!0;var t=this.isLastPage;this.isRunning=!t,this.emit("pageend"),t&&this.emit("complete")}else this.typeNextLine()}}}(vO)){constructor(t,e){void 0===e&&(e={}),e.hasOwnProperty("layoutMode")||(e.layoutMode=1),super(t,e)}}t.register("textBox",(function(t){var e=new OR(this.scene,t);return this.scene.add.existing(e),e})),P(window,"RexPlugins.UI.TextBox",OR);class MR extends OR{constructor(t,e,i){super(t,e=mO(t,e,i))}}t.register("simpleTextBox",(function(t){var e=new MR(this.scene,t);return this.scene.add.existing(e),e})),P(window,"RexPlugins.UI.SimpleTextBox",MR);const ER=Phaser.Utils.Objects.GetValue;class _R extends jw{constructor(t,e){super(t,e),this.type="rexNumberBar";var i,s,r,n=ER(e,"background",void 0),a=ER(e,"icon",void 0),o=ER(e,"iconMask",void 0),h=ER(e,"slider",void 0),l=ER(e,"text",void 0),d=ER(e,"space.icon",0),c=ER(e,"space.slider",0);(n&&this.addBackground(n),a&&(0===this.orientation?(h||l)&&(s={right:d}):(h||l)&&(s={bottom:d}),this.add(a,{proportion:0,align:"center",padding:s}),o&&(o=Yw.call(this,a,a,1))),h)&&(h.orientation=this.orientation,h.eventEmitter=this,h.value=null,h.hasOwnProperty("input")||(h.input=-1),i=new oT(t,h),t.add.existing(i),0===this.orientation?l&&(s={right:c}):l&&(s={bottom:c}),r=0===this.orientation?void 0===ER(h,"width",void 0)?1:0:void 0===ER(h,"height",void 0)?1:0,this.add(i,{proportion:r,align:"center",padding:s}));l&&this.add(l),this.addChildrenMap("background",n),this.addChildrenMap("icon",a),this.addChildrenMap("iconMask",o),this.addChildrenMap("slider",i),this.addChildrenMap("text",l);var u=ER(e,"valuechangeCallback",null);if(null!==u){var p=ER(e,"valuechangeCallbackScope",void 0);this.on("valuechange",u,p)}this.setEnable(ER(e,"enable",void 0)),this.setValue(ER(e,"value",0))}get enable(){return!!this.childrenMap.slider&&this.childrenMap.slider.enable}set enable(t){this.childrenMap.slider&&this.childrenMap.slider.setEnable(t)}setEnable(t){return void 0===t&&(t=!0),this.enable=t,this}get value(){return this.childrenMap.slider?this.childrenMap.slider.value:0}set value(t){this.childrenMap.slider&&(this.childrenMap.slider.value=t)}setValue(t,e,i){return this.childrenMap.slider&&this.childrenMap.slider.setValue(t,e,i),this}addValue(t,e,i){return this.childrenMap.slider&&this.childrenMap.slider.addValue(t,e,i),this}getValue(t,e){return this.childrenMap.slider?this.childrenMap.slider.getValue(t,e):0}easeValueTo(t,e,i){return this.childrenMap.slider&&this.childrenMap.slider.easeValueTo(t,e,i),this}stopEaseValue(){return this.childrenMap.slider&&this.childrenMap.slider.stopEaseValue(),this}setEaseValueDuration(t){return this.childrenMap.slider&&this.childrenMap.slider.setEaseValueDuration(t),this}setEaseValueFunction(t){return this.childrenMap.slider&&this.childrenMap.slider.setEaseValueFunction(t),this}get text(){var t=this.childrenMap.text;return void 0===t?"":t.text?t.text:t.getData("text")}set text(t){var e=this.childrenMap.text;void 0!==e&&(e.setText?e.setText(t):e.setData("text",t))}setText(t){return this.text=t,this}}t.register("numberBar",(function(t){var e=new _R(this.scene,t);return this.scene.add.existing(e),e})),P(window,"RexPlugins.UI.NumberBar",_R),t.register("scrollBar",(function(t){var e=new cT(this.scene,t);return this.scene.add.existing(e),e})),P(window,"RexPlugins.UI.ScrollBar",cT);const RR=Phaser.Utils.Objects.GetValue,LR={leftTop:"left-top",centerTop:"center-top",rightTop:"right-top",leftCenter:"left-center",center:"center",rightCenter:"right-center",leftBottom:"left-bottom",centerBottom:"center-bottom",rightBottom:"right-bottom"};class BR extends nx{constructor(t,e){super(t,e),this.type="rexBadge";var i=RR(e,"background",void 0);i&&this.addBackground(i),this.addChildrenMap("background",i);var s=RR(e,"main",void 0);for(var r in s&&this.add(s,{key:"main",align:"center",expand:!1}),this.addChildrenMap("main",s),LR){var n=RR(e,r,void 0);n&&(this.add(n,{key:r,align:LR[r],expand:!1}),this.addChildrenMap(r,n))}}}t.register("badgeLabel",(function(t){var e=new BR(this.scene,t);return this.scene.add.existing(e),e})),P(window,"RexPlugins.UI.BadgeLabel",BR);const IR=nx.prototype.add;var DR=function(t,e,i,s,r,n,a,o,h){return t.setVisible(!1),IR.call(this,t,e,i,s,r,n,a,o,h),this},AR={add:DR,addPage:DR};const jR=Zg.prototype.setChildVisible;var zR={getPage:function(t){return void 0===t?null:this.sizerChildren.hasOwnProperty(t)?this.sizerChildren[t]:null},swapPage:function(t,e){this._previousKey=this._currentKey;var i=this.previousPage;i&&(0===this.swapMode?(jR.call(this,i,!1),this.emit("pageinvisible",i,this._previousKey,this)):i.destroy()),t&&!this.sizerChildren.hasOwnProperty(t)&&this.emit("createpage",t,this),this._currentKey=t;var s=this.currentPage;return s&&(jR.call(this,s,!0),this.emit("pagevisible",s,this._currentKey,this),void 0===e&&(e=this.fadeInDuration),e>0&&s.setAlpha(0).fadeIn(e,1)),this},hasPage:function(t){return this.sizerChildren.hasOwnProperty(t)}};Object.assign(zR,AR);const FR=Phaser.Utils.Objects.GetValue;class XR extends nx{constructor(t,e){super(t,e),this.type="rexPages",this.childrenMap=this.sizerChildren,this._previousKey=void 0,this._currentKey=void 0,this.setSwapMode(FR(e,"swapMode",0)),this.setFadeInDuration(FR(e,"fadeIn",0))}setSwapMode(t){return"string"==typeof t&&(t=YR[t]),this.swapMode=t,this}setFadeInDuration(t){return this.fadeInDuration=t,this}get previousKey(){return this._previousKey}get currentKey(){return this._currentKey}set currentKey(t){this.swapPage(t)}get currentPage(){return this.getPage(this.currentKey)}get previousPage(){return this.getPage(this.previousKey)}get keys(){return Object.keys(this.sizerChildren)}}Object.assign(XR.prototype,zR);const YR={invisible:0,destroy:1};t.register("pages",(function(t){var e=new XR(this.scene,t);return this.scene.add.existing(e),e})),P(window,"RexPlugins.UI.Pages",XR);const WR=Phaser.GameObjects.Mesh;class VR extends WR{get tint(){return 0===this.vertices.length?16777215:this.vertices[0].color}forceUpdate(){return this.dirtyCache[10]=1,this}}const GR=Phaser.Math.Vector3,HR=Phaser.Math.Matrix4;var UR=new GR,NR=new GR,$R=new HR;const KR=Phaser.Utils.Objects.IsPlainObject,JR=Phaser.Utils.Objects.GetValue,qR=Phaser.Geom.Mesh.GenerateGridVerts,ZR=Phaser.Math.RadToDeg,QR=Phaser.Math.DegToRad,tL=1+1/Math.sin(QR(45));let eL=class extends VR{constructor(t,e,i,s,r,n){KR(e)&&(e=JR(n=e,"x",0),i=JR(n,"y",0),s=JR(n,"key",null),r=JR(n,"frame",null)),super(t,e,i,s,r),this.type="rexPerspectiveImage",this.setSizeToFrame(),this.resetPerspective(),this.panZ(tL),this.hideCCW=JR(n,"hideCCW",!0);var a=JR(n,"gridWidth",0),o=JR(n,"gridHeight",a);this.resetVerts(a,o),this.prevFrame=this.frame}preUpdate(t,e){this.prevFrame!==this.frame&&(this.prevFrame=this.frame,this.syncSize()),super.preUpdate(t,e)}get originX(){return.5}get originY(){return.5}resetPerspective(){return this.setPerspective(this.width,this.height,45),this}resetVerts(t,e){if(void 0!==t&&(this.gridWidth=t),void 0!==e&&(this.gridHeight=e),this.clear(),this.dirtyCache[9]=-1,0===this.width||0===this.height)return this;var i=this.frame.cutWidth,s=this.frame.cutHeight;0===this.gridWidth?t=Math.max(i/8,32):e=this.gridWidth,e=0===this.gridHeight?Math.max(s/8,32):this.gridHeight,qR({mesh:this,width:i/this.height,height:s/this.height,widthSegments:Math.ceil(i/t),heightSegments:Math.ceil(s/e)});var r=this.transformInfo;return r&&this.transformVerts(r.x,r.y,r.z,r.rotateX,r.rotateY,r.rotateZ),this}syncSize(){return this.setSizeToFrame(),this.resetPerspective(),this.resetVerts(),this}get rotationX(){return this.modelRotation.x}set rotationX(t){this.modelRotation.x=t}get angleX(){return ZR(this.rotationX)}set angleX(t){this.rotationX=QR(t)}get rotationY(){return this.modelRotation.y}set rotationY(t){this.modelRotation.y=t}get angleY(){return ZR(this.rotationY)}set angleY(t){this.rotationY=QR(t)}get rotationZ(){return this.modelRotation.z}set rotationZ(t){this.modelRotation.z=t}get angleZ(){return ZR(this.rotationZ)}set angleZ(t){this.rotationZ=QR(t)}transformVerts(t,e,i,s,r,n){return void 0===t&&(t=0),void 0===e&&(e=0),void 0===i&&(i=0),void 0===s&&(s=0),void 0===r&&(r=0),void 0===n&&(n=0),this.transformInfo||(this.transformInfo={}),this.transformInfo.x=t,this.transformInfo.y=e,this.transformInfo.rotateX=s,this.transformInfo.rotateY=r,this.transformInfo.rotateZ=n,function(t,e,i,s,r,n,a){void 0===e&&(e=0),void 0===i&&(i=0),void 0===s&&(s=0),void 0===r&&(r=0),void 0===n&&(n=0),void 0===a&&(a=0),UR.set(e,i,s),NR.set(r,n,a),$R.fromRotationXYTranslation(NR,UR,!0);for(var o=0,h=t.vertices.length;o=0;i--)this.removePage(e[i].name,t);return this}},YL={top:1,left:3,right:5,bottom:7},WL={top:"bottom",left:"right",right:"left",bottom:"top"},VL={setTabsPadding(t,e){return this.childrenMap.tabs.setOuterPadding(t,e),this},getTabsPadding(t){return this.childrenMap.tabs.getOuterPadding(t)}},GL={getPageKey:function(t){var e=this.getElement("tabs.buttons");if(!(t>=e.length))return e[t].name},getPageIndex:function(t){for(var e=this.getElement("tabs.buttons"),i=0,s=e.length;i=a.y)continue;break;case 2:if(n.x<=a.x)continue;break;case 3:if(n.x>=a.x)continue}HB.call(r,s,a.x,a.y)}}(t,s,r,i),t.transitInCallback(e,i,t)},$B={showMessage(t){var e=function(t,e,i){var s=e(t.scene,i,t);if(VB.call(s,(function(){t.removeMessage(s)})),t.displayTime){var r=t.transitInTime+t.displayTime+10;GB.call(s,r,(function(){t.removeMessage(s)}))}return s}(this,this.createMessageLabelCallback,t);return NB(this,e,this.transitInTime),this},removeMessage(t){if(this.getParentSizer(t)!==this)return this;if(!t.__isDestroying){t.__isDestroying=!0;var e=this.transitOutTime;return this.transitOutCallback(t,e,this),GB.call(t,e+10,(function(){delete t.__isDestroying,t.destroy()})),this}},removeAllMessages(){for(var t=this.childrenMap.items,e=0,i=t.length;e0&&{height:this.colorComponentsHeight,formatLabel:this.colorComponentsFormatLabelConfig,inputText:this.colorComponentsInputTextConfig,space:this.colorComponentsSpace};var a=new VI(t,{width:s,height:n,background:e,space:this.colorPickerSpace,hPalette:{position:this.colorPickerHPalettePosition},colorComponents:r,value:this.value});return t.add.existing(a),a},HI={openColorPicker:function(){if(!this.colorPicker){var t=GI.call(this).layout(),e=new eR(t,{duration:{in:this.colorPickerEaseInDuration,out:this.colorPickerEaseOutDuration},transitIn:this.colorPickerTransitInCallback,transitOut:this.colorPickerTransitOutCallback,expandDirection:this.colorPickerExpandDirection,alignTargetX:this,alignTargetY:this,bounds:this.colorPickerBounds,touchOutsideClose:!0}).on("open",(function(){t.on("valuechange",(function(t){this.setValue(t)}),this)}),this).on("close",(function(){this.colorPicker=void 0,this.dropDownBehavior=void 0}),this);return this.colorPicker=t,this.dropDownBehavior=e,this.pin(t),this}}};Object.assign(HI,uI);const UI=Phaser.Utils.Objects.GetValue;class NI extends cI{constructor(t,e){void 0===e&&(e={}),super(t,e),this.type="rexColorInput",e.hasOwnProperty("colorPicker")||(e.colorPicker={background:{color:0}});var i=e.colorPicker,s=!1!==i&&null!==i;if(s){var r;this.setColorPickerSize(UI(i,"width",160),UI(i,"height",170));var n=UI(i,"background");r=n?function(t){return LP(t,n)}:UI(i,"createBackgroundCallback"),this.setCreateColorPickerBackgroundCallback(r),this.setColorPickerHPalettePosition(UI(i,"hPalettePosition",0)),this.setColorPickerExpandDirection(UI(i,"expandDirection")),this.setColorPickerEaseInDuration(UI(i,"easeIn",200)),this.setColorPickerEaseOutDuration(UI(i,"easeOut",200)),this.setColorPickerTransitInCallback(UI(i,"transitIn")),this.setColorPickerTransitOutCallback(UI(i,"transitOut")),this.setColorPickerBounds(UI(i,"bounds"));var a=UI(i,"space");void 0===a&&(a={left:10,right:10,top:10,bottom:10,item:8}),this.setColorPickerSpace(a)}var o=e.colorComponents;if(s&&!1!==o&&null!==o){this.setColorComponentsHeight(UI(o,"height",30)),this.setColorComponentsFormatLabelConfig(UI(o,"formatLabel"));var h=UI(o,"inputText");h||(h=UI(e,"inputText")),this.setColorComponentsInputTextConfig(h);var l=UI(o,"space");void 0===l&&(l={item:8}),this.setColorComponentsSpace(l)}var d=this.childrenMap.swatch;d&&s&&this.onClick(d,this.openColorPicker,this)}}Object.assign(NI.prototype,HI),t.register("colorInput",(function(t){var e=new NI(this.scene,t);return this.scene.add.existing(e),e})),P(window,"RexPlugins.UI.ColorInput",NI),t.register("colorInputLite",(function(t){var e=new cI(this.scene,t);return this.scene.add.existing(e),e})),P(window,"RexPlugins.UI.ColorInputBase",cI),t.register("colorPicker",(function(t){var e=new II(this.scene,t);return this.scene.add.existing(e),e})),P(window,"RexPlugins.UI.ColorPicker",II),t.register("colorComponents",(function(t){var e=new YI(this.scene,t);return this.scene.add.existing(e),e})),P(window,"RexPlugins.UI.ColorComponents",YI);var $I=function(t){for(var e,i=t.scene.input,s=i.manager,r=s.pointersTotal,n=s.pointers,a=0;a0&&c0&&u0&&b0&&xh;d--){for(c=0;c0&&this.wrapMode!==_e&&0===this.wrapWidth}setStyle(t,e,i){if(void 0===e&&(e=!0),void 0===i&&(i=!1),t&&t.hasOwnProperty("wordWrap")){var s=t.wordWrap;s.hasOwnProperty("width")&&(t.wrap={mode:"word",width:s.width})}if(t&&t.hasOwnProperty("wrap")){var r=t.wrap;if(r.hasOwnProperty("mode")){var n=r.mode;"string"==typeof n&&(r.mode=Ie[n])}else r.hasOwnProperty("width")&&(r.mode=1)}t&&t.rtl&&i&&!t.hasOwnProperty("halign")&&(t.halign="right"),t&&t.hasOwnProperty("fontSize")&&"number"==typeof t.fontSize&&(t.fontSize=t.fontSize.toString()+"px");var a=this.propertyMap;for(var o in a){var h=a[o],l=h[0],d=i?h[1]:this[o],c=h[2];if("wrapCallback"===o||"wrapCallbackScope"===o)this[o]=Ae(t,l,d);else{var u=De(t,l,d);c&&(u=c(u)),this[o]=u}}var p=Ae(t,"font",null);this._font=null===p?this.fontStyle+" "+this.fontSize+" "+this.fontFamily:p;var g=Ae(t,"fill",null);null!==g&&(this.color=qt(g));var v=Ae(t,"metrics",!1);return v?this.metrics={ascent:Ae(v,"ascent",0),descent:Ae(v,"descent",0),fontSize:Ae(v,"fontSize",0)}:!e&&this.metrics||(this.metrics=Te(this)),e?this.parent.updateText():this.parent}syncFont(t,e){e.font=this._font}syncStyle(t,e){e.textBaseline="alphabetic",e.fillStyle=this.color,e.strokeStyle=this.stroke,e.lineWidth=this.strokeThickness,e.lineCap="round",e.lineJoin="round"}syncShadow(t,e){e?(t.shadowOffsetX=this.shadowOffsetX,t.shadowOffsetY=this.shadowOffsetY,t.shadowColor=this.shadowColor,t.shadowBlur=this.shadowBlur):(t.shadowOffsetX=0,t.shadowOffsetY=0,t.shadowColor=0,t.shadowBlur=0)}update(t){return t&&(this._font=`${this.fontStyle} ${this.fontSize} ${this.fontFamily}`.trim(),this.metrics=Te(this)),this.parent.updateText(t)}buildFont(){var t=`${this.fontStyle} ${this.fontSize} ${this.fontFamily}`.trim();return t!==this._font&&(this._font=t),this}setFont(t){return"string"==typeof t?(this.fontFamily=t,this.fontSize="",this.fontStyle=""):(this.fontFamily=Ae(t,"fontFamily","Courier"),this.fontSize=Ae(t,"fontSize","16px"),this.fontStyle=Ae(t,"fontStyle","")),this.update(!0)}setFontFamily(t){return this.fontFamily=t,this.update(!0)}setFontStyle(t){return this.fontStyle=t,this.update(!0)}setFontSize(t){return"number"==typeof t&&(t=t.toString()+"px"),this.fontSize=t,this.update(!0)}setTestString(t){return this.testString=t,this.update(!0)}setFixedSize(t,e){return this.fixedWidth=t,this.fixedHeight=e,t&&(this.parent.width=t),e&&(this.parent.height=e),this.update(this.isWrapFitMode)}setResolution(t){return this.resolution=t,this.update(!1)}setXOffset(t){return this.xOffset=t,this.update(!1)}setBackgroundColor(t,e,i){return void 0===i&&(i=!0),this.backgroundColor=qt(t,this.parent.canvas,this.parent.context),this.backgroundColor2=qt(e,this.parent.canvas,this.parent.context),this.backgroundHorizontalGradient=i,this.update(!1)}setBackgroundStrokeColor(t,e){return this.backgroundStrokeColor=qt(t,this.parent.canvas,this.parent.context),this.backgroundStrokeLineWidth=e,this.update(!1)}setBackgroundCornerRadius(t,e){return this.backgroundCornerRadius=t,this.backgroundCornerIteration=e,this.update(!1)}setFill(t){return this.color=qt(t,this.parent.canvas,this.parent.context),this.update(!1)}setColor(t){return this.color=qt(t,this.parent.canvas,this.parent.context),this.update(!1)}setStroke(t,e){return void 0===t?this.strokeThickness=0:(void 0===e&&(e=this.strokeThickness),this.stroke=qt(t,this.parent.canvas,this.parent.context),this.strokeThickness=e),this.update(!0)}setShadow(t,e,i,s,r,n){return void 0===t&&(t=0),void 0===e&&(e=0),void 0===i&&(i="#000"),void 0===s&&(s=0),void 0===r&&(r=!1),void 0===n&&(n=!0),this.shadowOffsetX=t,this.shadowOffsetY=e,this.shadowColor=qt(i,this.parent.canvas,this.parent.context),this.shadowBlur=s,this.shadowStroke=r,this.shadowFill=n,this.update(!1)}setShadowOffset(t,e){return void 0===t&&(t=0),void 0===e&&(e=t),this.shadowOffsetX=t,this.shadowOffsetY=e,this.update(!1)}setShadowColor(t){return void 0===t&&(t="#000"),this.shadowColor=qt(t,this.parent.canvas,this.parent.context),this.update(!1)}setShadowBlur(t){return void 0===t&&(t=0),this.shadowBlur=t,this.update(!1)}setShadowStroke(t){return this.shadowStroke=t,this.update(!1)}setShadowFill(t){return this.shadowFill=t,this.update(!1)}setUnderline(t,e,i){return void 0===t&&(t="#000"),void 0===e&&(e=0),void 0===i&&(i=0),this.underlineColor=qt(t,this.parent.canvas,this.parent.context),this.underlineThickness=e,this.underlineOffset=i,this.update(!1)}setUnderlineColor(t){return void 0===t&&(t="#000"),this.underlineColor=qt(t,this.parent.canvas,this.parent.context),this.update(!1)}setUnderlineThickness(t){return void 0===t&&(t=0),this.underlineThickness=t,this.update(!1)}setUnderlineOffset(t){return void 0===t&&(t=0),this.underlineOffset=t,this.update(!1)}setStrikethrough(t,e,i){return void 0===t&&(t="#000"),void 0===e&&(e=0),void 0===i&&(i=0),this.strikethroughColor=qt(t,this.parent.canvas,this.parent.context),this.strikethroughThickness=e,this.strikethroughOffset=i,this.update(!1)}setStrikethroughColor(t){return void 0===t&&(t="#000"),this.strikethroughColor=qt(t,this.parent.canvas,this.parent.context),this.update(!1)}setStrikethroughThickness(t){return void 0===t&&(t=0),this.strikethroughThickness=t,this.update(!1)}setStrikethroughOffset(t){return void 0===t&&(t=0),this.strikethroughOffset=t,this.update(!1)}setWrapMode(t){return"string"==typeof t&&(t=Ie[t.toLowerCase()]||0),this.wrapMode=t,this.update(!0)}setWrapWidth(t){return this.wrapWidth=t,this.update(!1)}setAlign(t,e){return void 0===t&&(t="left"),void 0===e&&(e="top"),this.halign=t,this.valign=e,this.update(!1)}setHAlign(t){return void 0===t&&(t="left"),this.halign=t,this.update(!1)}setVAlign(t){return void 0===t&&(t="top"),this.valign=t,this.update(!1)}setMaxLines(t){return void 0===t&&(t=0),this.maxLines=t,this.update(!1)}getTextMetrics(){var t=this.metrics;return{ascent:t.ascent,descent:t.descent,fontSize:t.fontSize}}setTextMetrics(t,e){return this.metrics.ascent=t.ascent,this.metrics.descent=t.descent,this.metrics.fontSize=t.fontSize,e&&("string"==typeof e?(this.fontFamily=e,this.fontSize="",this.fontStyle=""):(this.fontFamily=Ae(e,"fontFamily",this.fontFamily),this.fontSize=Ae(e,"fontSize",this.fontSize),this.fontStyle=Ae(e,"fontStyle",this.fontStyle))),this.parent.updateText(!0)}get lineHeight(){return this.metrics.fontSize+this.parent.lineSpacing}toJSON(){var t={},e=this.propertyMap;for(var i in e)t[i]=this[i];return t.metrics=this.getTextMetrics(),t}destroy(){this.parent=void 0}};var ze=function(t){return null==t?t="":Array.isArray(t)?t=t.join("\n"):"number"==typeof t&&(t=t.toString()),t},Fe={draw(t,e,i,s){var r=this.penManager;this.hitAreaManager.clear();var n=this.context;n.save();var a=this.defaultStyle;this.clear(),se(this,a.backgroundColor,a.backgroundStrokeColor,a.backgroundStrokeLineWidth,a.backgroundCornerRadius,a.backgroundColor2,a.backgroundHorizontalGradient,a.backgroundCornerIteration),t+=this.startXOffset,e+=this.startYOffset;var o,h,l,d,c,u,p=a.halign,g=a.valign,v=a.lineHeight,f=r.lines,m=f.length,y=a.maxLines;y>0&&m>y?(h=y,l="center"===g?Math.floor((m-h)/2):"bottom"===g?m-h:0):(h=m,l=0),d=l+h;var b=this.rtl,x=b?this.parent.width:void 0;u="center"===g?Math.max((s-h*v)/2,0):"bottom"===g?Math.max(s-h*v-2,0):0,u+=e;for(var C=l;C0){var o=this.defaultStyle.metrics,h=i-o.ascent,l=o.fontSize;this.drawRectangle(e,h,t.width,l,a.bgcolor,a)}if(a.underlineThickness>0&&t.width>0){var d=i+a.underlineOffset-a.underlineThickness/2;this.drawLine(e,d,t.width,a.underlineThickness,a.underlineColor,a)}if(t.isTextPen&&(a.buildFont(),a.syncFont(r,n),a.syncStyle(r,n),this.drawText(e,i,t.text,a)),t.isImagePen&&this.drawImage(e,i,t.prop.img,t.prop.color,a),a.strikethroughThickness>0&&t.width>0&&(d=i+a.strikethroughOffset-a.strikethroughThickness/2,this.drawLine(e,d,t.width,a.strikethroughThickness,a.strikethroughColor,a)),n.restore(),t.hasAreaMarker&&t.width>0){var c,u=t.prop.area;if(u)c={key:u};else{var p=t.prop.url;c={key:`url:${p}`,url:p}}this.hitAreaManager.add(e,i-this.startYOffset,t.width,this.defaultStyle.lineHeight,c)}},clear(){var t=this.canvas;this.context.clearRect(0,0,t.width,t.height)},drawRectangle(t,e,i,s,r,n){this.autoRound&&(t=Math.round(t),e=Math.round(e));var a=this.context;a.fillStyle=r,a.fillRect(t,e,i,s)},drawLine(t,e,i,s,r,n){this.autoRound&&(t=Math.round(t),e=Math.round(e));var a=this.context;n.syncShadow(a,n.shadowStroke);var o=a.lineCap;a.lineCap="butt",a.strokeStyle=r,a.lineWidth=s,a.beginPath(),a.moveTo(t,e),a.lineTo(t+i,e),a.stroke(),a.lineCap=o},drawText(t,e,i,s){this.autoRound&&(t=Math.round(t),e=Math.round(e));var r=this.context;s.stroke&&"none"!==s.stroke&&s.strokeThickness>0&&(s.syncShadow(r,s.shadowStroke),r.strokeText(i,t,e)),s.color&&"none"!==s.color&&(s.syncShadow(r,s.shadowFill),r.fillText(i,t,e))},drawImage(t,e,i,s,r){e-=this.startYOffset,this.parent.imageManager.draw(i,this.context,t,e,s,this.autoRound)}};const Xe=Phaser.Utils.Objects.GetValue,Ye=Oe,We=Me;class Ve{constructor(t){this.prop={},this.resetFromJSON(t)}resetFromJSON(t){this.text=Xe(t,"text",""),this.x=Xe(t,"x",0),this.y=Xe(t,"y",0),this.width=Xe(t,"width",0);var e=Xe(t,"prop",null);null===e&&(e={}),this.prop=e,this.newLineMode=Xe(t,"newLineMode",0),this.startIndex=Xe(t,"startIndex",0)}get plainText(){var t=this.text;return this.newLineMode===We&&(t+="\n"),t}get wrapText(){var t=this.text;return this.newLineMode!==Ye&&(t+="\n"),t}get rawTextLength(){var t=this.text.length;return this.newLineMode===We&&(t+=1),t}get endIndex(){return this.startIndex+this.rawTextLength}get lastX(){return this.x+this.width}get isTextPen(){return""!==this.text}get isImagePen(){return!!this.prop.img}get hasAreaMarker(){return!!this.prop.area||!!this.prop.url}}var Ge=function(t,e){var i=Array.isArray(t);if(void 0===e?e=i?[]:{}:q(e),i){e.length=t.length;for(var s=0,r=t.length;s=this.lines.length)return this.getLineEndIndex(t);var e=this.lines[t];return e&&e[0]?e[0].startIndex:0}getLineEndIndex(t){t>=this.lines.length&&(t=this.lines.length-1);var e,i,s=!1;for(e=t;e>=0&&!(s=null!=(i=this.lines[e])&&i.length>0);e--);return s?i[i.length-1].endIndex:0}getLineWidth(t){var e=this.lines[t];if(!e)return 0;var i=e[e.length-1];return null==i?0:i.lastX}getMaxLineWidth(){if(void 0!==this.maxLinesWidth)return this.maxLinesWidth;for(var t,e=0,i=0,s=this.lines.length;ie&&(e=t);return this.maxLinesWidth=e,e}getLineWidths(){for(var t=[],e=0,i=this.lines.length;e=t&&h<=e||(a=a.substring(t-o,e-o)),this.tagToTextScope?c+=this.tagToText.call(this.tagToTextScope,a,l,d):c+=this.tagToText(a,l,d),d=l,!(h>=e)));u++);return c}get length(){return this.lines.length}set length(t){this.clear()}}var Ke={};const Je=Phaser.Geom.Rectangle;var qe=new I;class Ze{constructor(){this.hitAreas=[]}destroy(){this.clear()}clear(){for(var t=0,e=this.hitAreas.length;ts&&gi(v)){""!==b?a.push(n.getLine(b,x,oi)):0===C&&r>0&&a.push(n.getLine("",0,oi)),a.push(...ui(v,e,di,s,0,n));var w=a.pop();b=w.text,x=w.width,n.freeLine(w)," "===b&&(b="",x=0)}else(m=x+f)>h?(a.push(n.getLine(b,x,oi)),b=v,x=f,h=s):(b+=v,x=m),C===k-1&&a.push(n.getLine(b,x,l))}return a},pi=function(t,e){var i;switch(e){case li:i=[];for(var s=0,r=(t=t.split(" ")).length;s0&&e!==fi&&i0&&t>e&&(t=e),t}get linesWidth(){return Math.ceil(this.penManager.getMaxLineWidth())}get linesHeight(){var t=this.displayLinesCount,e=this.defaultStyle.lineHeight*t;return t>0&&(e-=this.defaultStyle.lineSpacing),e}get imageManager(){return this.parent.imageManager}get rtl(){return this.parent.style.rtl}newPenManager(){return new $e({pensPool:this.pensPool,linesPool:this.linesPool,tagToText:this.parser.propToTagText,tagToTextScope:this.parser})}get tmpPenManager(){return null===this._tmpPenManager&&(this._tmpPenManager=this.newPenManager()),this._tmpPenManager}getPlainText(t,e,i){var s;if(null==t)s=this.penManager.plainText;else{var r=this.parser.splitText(t,1);s="";for(var n=0,a=r.length;n${t}`:e.hasOwnProperty("_style")?`${t}`:t}destroy(){this.tags=void 0}isTextTag(t){var e=this.tags[t];return!!e&&null==e.img}};var vs=function(t){for(var e,i,s,r={},n=0,a=(t=t.split(";")).length;n=1&&(s.color=o[0]),h>=2&&(s.thickness=parseInt(o[1].replace("px","")));break;case"shadow":o=s.split(" "),s={},(h=o.length)>=1&&(s.color=o[0]),h>=2&&(s.offsetX=parseInt(o[1].replace("px",""))),h>=3&&(s.offsetY=parseInt(o[2].replace("px",""))),h>=4&&(s.blur=parseInt(o[3].replace("px","")));break;case"u":case"underline":case"s":case"strikethrough":var h;o=s.split(" "),s={},(h=o.length)>=1&&(s.color=o[0]),h>=2&&(s.thickness=parseInt(o[1].replace("px",""))),h>=3&&(s.offset=parseInt(o[2].replace("px",""))),"underline"===i?i="u":"strikethrough"===i&&(i="s");break;case"y":s=parseFloat(s)}r[i]=s}return r},fs=function(t){return 0===(t=t.replace(ks,"")).length},ms=/<\s*class=["|']([^"|']+)["|']\s*\>([\s\S]*?)<\s*\/class\s*\>|<\s*style=["|']([^"|']+)["|']\s*\>([\s\S]*?)<\s*\/style\s*\>/g,ys=/<\s*class=/i,bs=/<\s*class=["|']([^"|']+)["|']\s*\>([\s\S]*?)<\s*\/class\s*\>/,xs=/<\s*style=/i,Cs=/<\s*style=["|']([^"|']+)["|']\s*\>([\s\S]*?)<\s*\/style\s*\>/,ks=/^\s+|\s+$/;const ws=Phaser.Utils.Objects.GetValue;class Ss extends Yi{constructor(t,e,i,s,r){var n=ws(r,"tags",void 0);super(t,e,i,s,r,"rexTagText",new gs(n))}addTag(t,e){return this.parser.addTag(t,e),this.updateText(!0)}addTags(t){for(var e in t)this.parser.addTag(e,t[e]);return this.updateText(!0)}getTag(t){return this.parser.getTag(t)}preDestroy(){super.preDestroy(),this.parser.destroy(),this.parser=void 0}}t.register("tagText",(function(t,e,i,s){var r=new Ss(this.scene,t,e,i,s);return this.scene.add.existing(r),r})),P(window,"RexPlugins.UI.TagText",Ss);const Ps=Phaser.Utils.Objects.GetValue;var Ts=function(t,e){return void 0===e?t:t[e]},Os=function(t,e,i){void 0===t&&(t={}),void 0===e&&(e=0);var s=typeof e;return"string"===s?t[e]=i:"number"===s?(t.left=e,t.right=e,t.top=e,t.bottom=e):(t.left=Ps(e,"left",0),t.right=Ps(e,"right",0),t.top=Ps(e,"top",0),t.bottom=Ps(e,"bottom",0)),t};let Ms=class{constructor(t,e){this.setParent(t),this.type=e,this.renderable=!1,this.reset().setActive()}destroy(){this.parent.removeChild(this)}setParent(t){return this.parent=t,this}get scene(){return this.parent.scene}get canvas(){return this.parent?this.parent.canvas:null}get context(){return this.parent?this.parent.context:null}setDirty(t){return t&&this.parent&&(this.parent.dirty=!0),this}get active(){return this._active}set active(t){this.setDirty(this._active!=t),this._active=t}setActive(t){return void 0===t&&(t=!0),this.active=t,this}modifyPorperties(t){return this}onFree(){this.reset().setParent()}reset(){return this}render(){}contains(t,e){return!1}};Object.assign(Ms.prototype,Z);var Es={renderContent(){},render(){if(!this.willRender)return this;var t=this.context;if(t.save(),t.globalAlpha=this.alpha,this.toLocalPosition){var e=this.drawX,i=this.drawY;this.autoRound&&(e=Math.round(e),i=Math.round(i)),t.translate(e,i),t.scale(this.scaleX,this.scaleY),t.rotate(this.rotation)}return this.drawBelowCallback&&this.drawBelowCallback(this),this.renderContent(),this.drawAboveCallback&&this.drawAboveCallback(this),t.restore(),this}};const _s=Phaser.Math.RotateAround;var Rs;const Ls=Phaser.Geom.Rectangle;var Bs,Is=function(t){void 0===Bs&&(Bs=new Ls);var e=t.drawTLX,i=t.drawTLY;return Bs.setTo(e,i,t.drawTRX-e,t.drawBLY-i),Bs};const Ds=Phaser.Math.RotateAround;var As,js=function(t,e,i,s){return void 0===s?s={}:!0===s&&(void 0===As&&(As={}),s=As),s.x=e,s.y=i,0!==t.rotation&&Ds(s,0,0,t.rotation),s.x=s.x*t.scaleX+t.drawX,s.y=s.y*t.scaleY+t.drawY,s};const zs=Phaser.GameObjects.Components.TransformMatrix;var Fs,Xs,Ys={},Ws=function(t,e,i,s,r){var n=js(e,i,s,!0),a=function(t,e,i,s){void 0===s?s={}:!0===s&&(s=Ys);var r=e-t.width*t.originX,n=i-t.height*t.originY;return void 0===Fs&&(Fs=new zs,Xs=new zs),t.parentContainer?t.getWorldTransformMatrix(Fs,Xs):Fs.applyITRS(t.x,t.y,t.rotation,t.scaleX,t.scaleY),Fs.transformPoint(r,n,s),s}(t,n.x,n.y,r);return a},Vs=function(t,e,i,s,r){"number"!=typeof i&&(r=i,i=0,s=0);var n=e.drawCenterX+i,a=e.drawCenterY+s;return Ws(t,e,n,a,r)},Gs={contains:function(t,e){if(0===this.width||0===this.height)return!1;var i=function(t,e,i,s){return void 0===s?s={}:!0===s&&(void 0===Rs&&(Rs={}),s=Rs),s.x=(t-i.drawX)/i.scaleX,s.y=(e-i.drawY)/i.scaleY,0!==i.rotation&&_s(s,0,0,-i.rotation),s}(t,e,this,!0);return Is(this).contains(i.x,i.y)},getWorldPosition:function(t,e,i){return Vs(this.parent,this,t,e,i)}};Object.assign(Gs,Es);const Hs=Phaser.Math.DegToRad,Us=Phaser.Math.RadToDeg,Ns=Phaser.Utils.Objects.GetValue;class $s extends Ms{constructor(t,e){super(t,e),this.renderable=!0,this.scrollFactorX=1,this.scrollFactorY=1,this.toLocalPosition=!0,this.originX=0,this.offsetX=0,this.offsetY=0}get visible(){return this._visible}set visible(t){this.setDirty(this._visible!=t),this._visible=t}setVisible(t){return void 0===t&&(t=!0),this.visible=t,this}get alpha(){return this._alpha}set alpha(t){this.setDirty(this._alpha!=t),this._alpha=t}setAlpha(t){return this.alpha=t,this}get x(){return this._x}set x(t){this.setDirty(this._x!=t),this._x=t}setX(t){return this.x=t,this}get y(){return this._y}set y(t){this.setDirty(this._y!=t),this._y=t}setY(t){return this.y=t,this}setPosition(t,e){return this.x=t,this.y=e,this}setInitialPosition(t,e){return this.x0=t,this.y0=e,this}setScrollFactorX(t){return this.scrollFactorX=t,this}setScrollFactorY(t){return this.scrollFactorY=t,this}setScrollFactor(t,e){return void 0===e&&(e=t),this.scrollFactorX=t,this.scrollFactorY=e,this}get rotation(){return this._rotation}set rotation(t){this.setDirty(this._rotation!=t),this._rotation=t}setRotation(t){return this.rotation=t,this}get angle(){return Us(this._rotation)}set angle(t){this.rotation=Hs(t)}setAngle(t){return this.angle=t,this}get scaleX(){return this._scaleX}set scaleX(t){this.setDirty(this._scaleX!==t),this._scaleX=t}setScaleX(t){return this.scaleX=t,this}get width(){return 0}set width(t){}setWidth(t,e){return void 0===e&&(e=!1),this.width=t,e&&(this.scaleY=this.scaleX),this}get leftSpace(){return this._leftSpace}set leftSpace(t){this.setDirty(this._leftSpace!==t),this._leftSpace=t}setLeftSpace(t){return this.leftSpace=t,this}get rightSpace(){return this._rightSpace}set rightSpace(t){this.setDirty(this._rightSpace!==t),this._rightSpace=t}setRightSpace(t){return this.rightSpace=t,this}get outerWidth(){return this.width+this.leftSpace+this.rightSpace}get scaleY(){return this._scaleY}set scaleY(t){this.setDirty(this._scaleY!==t),this._scaleY=t}setScaleY(t){return this.scaleY=t,this}get height(){return 0}set height(t){}setHeight(t,e){return void 0===e&&(e=!1),this.height=t,e&&(this.scaleX=this.scaleY),this}setScale(t,e){return void 0===e&&(e=t),this.scaleX=t,this.scaleY=e,this}setOrigin(t){return this.originX=t,this}setAlign(t){return this.align=t,this}modifyPorperties(t){if(!t)return this;t.hasOwnProperty("x")&&this.setX(t.x),t.hasOwnProperty("y")&&this.setY(t.y),t.hasOwnProperty("rotation")?this.setRotation(t.rotation):t.hasOwnProperty("angle")&&this.setAngle(t.angle),t.hasOwnProperty("alpha")&&this.setAlpha(t.alpha);var e=Ns(t,"width",void 0),i=Ns(t,"height",void 0),s=Ns(t,"scaleX",void 0),r=Ns(t,"scaleY",void 0);return void 0!==e?void 0===i&&void 0===r?this.setWidth(e,!0):this.setWidth(e):void 0!==s&&this.setScaleX(s),void 0!==i?void 0===e&&void 0===s?this.setHeight(i,!0):this.setHeight(i):void 0!==r&&this.setScaleY(r),t.hasOwnProperty("leftSpace")&&this.setLeftSpace(t.leftSpace),t.hasOwnProperty("rightSpace")&&this.setRightSpace(t.rightSpace),t.hasOwnProperty("align")&&this.setAlign(t.align),this}setDrawBelowCallback(t){return this.drawBelowCallback=t,this}setDrawAboveCallback(t){return this.drawAboveCallback=t,this}reset(){return this.setVisible().setAlpha(1).setPosition(0,0).setRotation(0).setScale(1,1).setLeftSpace(0).setRightSpace(0).setOrigin(0).setAlign().setDrawBelowCallback().setDrawAboveCallback(),this}get willRender(){return this.visible&&this.alpha>0}get drawX(){var t=this.x+this.leftSpace+this.offsetX-this.originX*this.width;return this.parent._textOX*this.scrollFactorX+t}get drawY(){var t=this.y+this.offsetY;return this.parent._textOY*this.scrollFactorY+t}get drawTLX(){return 0}get drawTLY(){return 0}get drawBLX(){return 0}get drawBLY(){return 0}get drawTRX(){return 0}get drawTRY(){return 0}get drawBRX(){return 0}get drawBRY(){return 0}get drawCenterX(){return(this.drawTRX+this.drawTLX)/2}get drawCenterY(){return(this.drawBLY+this.drawTLY)/2}}Object.assign($s.prototype,Gs);var Ks=function(t,e,i){return e.hasOwnProperty(t)?e[t]:i[t]};const Js=Phaser.Utils.Objects.GetValue;class qs extends $s{constructor(t,e){super(t,"background"),this.setScrollFactor(0),this.setColor(Js(e,"color",null),Js(e,"color2",null),Js(e,"horizontalGradient",!0)),this.setStroke(Js(e,"stroke",null),Js(e,"strokeThickness",2)),this.setCornerRadius(Js(e,"cornerRadius",0),Js(e,"cornerIteration",null))}set color(t){t=qt(t,this.canvas,this.context),this.setDirty(this._color!=t),this._color=t}get color(){return this._color}set color2(t){t=qt(t,this.canvas,this.context),this.setDirty(this._color2!=t),this._color2=t}get color2(){return this._color2}set horizontalGradient(t){this.setDirty(this._horizontalGradient!=t),this._horizontalGradient=t}get horizontalGradient(){return this._horizontalGradient}setColor(t,e,i){return void 0===i&&(i=!0),this.color=t,this.color2=e,this.horizontalGradient=i,this}set stroke(t){t=qt(t,this.canvas,this.context),this.setDirty(this._stroke!=t),this._stroke=t}get stroke(){return this._stroke}set strokeThickness(t){this.setDirty(this._strokeThickness!=t),this._strokeThickness=t}get strokeThickness(){return this._strokeThickness}setStroke(t,e){return null!=t&&void 0===e&&(e=2),this.stroke=t,this.strokeThickness=e,this}set cornerRadius(t){this.setDirty(this._cornerRadius!=t),this._cornerRadius=t}get cornerRadius(){return this._cornerRadius}set cornerIteration(t){this.setDirty(this._cornerIteration!=t),this._cornerIteration=t}get cornerIteration(){return this._cornerIteration}modifyStyle(t){return t.hasOwnProperty("color")&&this.setColor(t.color,Ks("color2",t,this),Ks("horizontalGradient",t,this)),t.hasOwnProperty("stroke")&&this.setStroke(t.stroke,Ks("strokeThickness",t,this)),t.hasOwnProperty("cornerRadius")&&this.setCornerRadius(t.cornerRadius,Ks("cornerIteration",t,this)),this}modifyPorperties(t){return super.modifyPorperties(t),this.modifyStyle(t),this}setCornerRadius(t,e){return this.cornerRadius=t,this.cornerIteration=e,this}renderContent(){se(this.parent,this.color,this.stroke,this.strokeThickness,this.cornerRadius,this.color2,this.horizontalGradient,this.cornerIteration)}}const Zs=Phaser.Utils.Objects.GetValue;class Qs extends $s{constructor(t,e){super(t,"innerbounds"),this.setScrollFactor(0),this.setColor(Zs(e,"color",null),Zs(e,"color2",null),Zs(e,"horizontalGradient",!0)),this.setStroke(Zs(e,"stroke",null),Zs(e,"strokeThickness",2))}set color(t){t=qt(t,this.canvas,this.context),this.setDirty(this._color!=t),this._color=t}get color(){return this._color}set color2(t){t=qt(t,this.canvas,this.context),this.setDirty(this._color2!=t),this._color2=t}get color2(){return this._color2}set horizontalGradient(t){this.setDirty(this._horizontalGradient!=t),this._horizontalGradient=t}get horizontalGradient(){return this._horizontalGradient}setColor(t,e,i){return void 0===i&&(i=!0),this.color=t,this.color2=e,this.horizontalGradient=i,this}set stroke(t){t=qt(t,this.canvas,this.context),this.setDirty(this._stroke!=t),this._stroke=t}get stroke(){return this._stroke}set strokeThickness(t){this.setDirty(this._strokeThickness!=t),this._strokeThickness=t}get strokeThickness(){return this._strokeThickness}setStroke(t,e){return null!=t&&void 0===e&&(e=2),this.stroke=t,this.strokeThickness=e,this}modifyPorperties(t){super.modifyPorperties(t),t.hasOwnProperty("color")&&this.setColor(t.color,Zs(t,"color2",null),Zs(t,"horizontalGradient",!0)),t.hasOwnProperty("stroke")&&this.setStroke(t.stroke,Zs(t,"strokeThickness",2))}renderContent(){var t,e,i=this.parent.padding,s=i.left,r=i.top,n=this.parent.width-i.left-i.right,a=this.parent.height-i.top-i.bottom,o=this.context;null!=this.color&&(null!=this.color2?((e=this.horizontalGradient?o.createLinearGradient(0,0,n,0):o.createLinearGradient(0,0,0,a)).addColorStop(0,this.color),e.addColorStop(1,this.color2),t=e):t=this.color,o.fillStyle=t,o.fillRect(s,r,n,a));null!=this.stroke&&this.strokeThickness>0&&(o.strokeStyle=this.stroke,o.lineWidth=this.strokeThickness,o.strokeRect(s,r,n,a))}}const tr=Phaser.Utils.Objects.GetValue;class er{constructor(t,e){this.parent=t,this.set(e)}toJSON(){return{bold:this.bold,italic:this.italic,fontSize:this.fontSize,fontFamily:this.fontFamily,color:this.color,stroke:this.stroke,strokeThickness:this.strokeThickness,shaodwColor:this.shadowColor,shadowBlur:this.shadowBlur,shadowOffsetX:this.shadowOffsetX,shadowOffsetY:this.shadowOffsetY,offsetX:this.offsetX,offsetY:this.offsetY,leftSpace:this.leftSpace,rightSpace:this.rightSpace,backgroundHeight:this.backgroundHeight,backgroundBottomY:this.backgroundBottomY,align:this.align}}set(t){return this.setBold(tr(t,"bold",!1)),this.setItalic(tr(t,"italic",!1)),this.setFontSize(tr(t,"fontSize","16px")),this.setFontFamily(tr(t,"fontFamily","Courier")),this.setColor(tr(t,"color","#fff")),this.setStrokeStyle(tr(t,"stroke",null),tr(t,"strokeThickness",0)),this.setShadow(tr(t,"shadowColor",null),tr(t,"shadowOffsetX",0),tr(t,"shadowOffsetY",0),tr(t,"shadowBlur",0)),this.setOffset(tr(t,"offsetX",0),tr(t,"offsetY",0)),this.setSpace(tr(t,"leftSpace",0),tr(t,"rightSpace",0)),this.setAlign(tr(t,"align",void 0)),this.setBackgroundColor(tr(t,"backgroundColor",null)),this.setBackgroundHeight(tr(t,"backgroundHeight",void 0)),this.setBackgroundBottomY(tr(t,"backgroundBottomY",void 0)),this.setBackgroundLeftX(tr(t,"backgroundLeftX",0)),this.setBackgroundRightX(tr(t,"backgroundRightX",0)),this}modify(t){return t.hasOwnProperty("bold")&&this.setBold(t.bold),t.hasOwnProperty("italic")&&this.setItalic(t.italic),t.hasOwnProperty("fontSize")&&this.setFontSize(t.fontSize),t.hasOwnProperty("fontFamily")&&this.setFontFamily(t.fontFamily),t.hasOwnProperty("color")&&this.setColor(t.color),(t.hasOwnProperty("stroke")||t.hasOwnProperty("strokeThickness"))&&this.setStrokeStyle(Ks("stroke",t,this),Ks("strokeThickness",t,this)),t.hasOwnProperty("shadowColor")&&this.setShadowColor(t.shadowColor),(t.hasOwnProperty("shadowOffsetX")||t.hasOwnProperty("shadowOffsetY"))&&this.setShadowOffset(Ks("shadowOffsetX",t,this),Ks("shadowOffsetY",t,this)),t.hasOwnProperty("shadowBlur")&&this.setShadowBlur(t.shaodwBlur),t.hasOwnProperty("offsetX")&&this.setOffsetX(t.offsetX),t.hasOwnProperty("offsetY")&&this.setOffsetY(t.offsetY),t.hasOwnProperty("leftSpace")&&this.setLeftSpace(t.leftSpace),t.hasOwnProperty("rightSpace")&&this.setRightSpace(t.rightSpace),t.hasOwnProperty("align")&&this.setAlign(t.align),t.hasOwnProperty("backgroundColor")&&this.setBackgroundColor(t.backgroundColor),t.hasOwnProperty("backgroundHeight")&&this.setBackgroundHeight(t.backgroundHeight),t.hasOwnProperty("backgroundBottomY")&&this.setBackgroundBottomY(t.backgroundBottomY),t.hasOwnProperty("backgroundLeftX")&&this.setBackgroundLeftX(t.backgroundLeftX),t.hasOwnProperty("backgroundRightX")&&this.setBackgroundRightX(t.backgroundRightX),this}setUpdateTextFlag(){return this.parent&&(this.parent.updateTextFlag=!0),this}clone(){return new er(null,this.toJSON())}copyFrom(t){return this.set(t.toJSON()),this}copyTo(t){return t.set(this.toJSON()),this}setBold(t){return void 0===t&&(t=!0),this.bold=t,this.setUpdateTextFlag(),this}setItalic(t){return void 0===t&&(t=!0),this.italic=t,this.setUpdateTextFlag(),this}get fontStyle(){return this.bold&&this.italic?"bold italic":this.bold?"bold":this.italic?"italic":""}setFontSize(t){return"number"==typeof t&&(t=`${t}px`),this.fontSize=t,this.setUpdateTextFlag(),this}setFontFamily(t){return this.fontFamily=t,this.setUpdateTextFlag(),this}get font(){return`${this.fontStyle} ${this.fontSize} ${this.fontFamily}`}setColor(t){return this.color=qt(t),this}get hasFill(){return null!=this.color}setStrokeStyle(t,e){return this.stroke=qt(t),void 0!==e&&(this.strokeThickness=e),this}setStrokeThickness(t){return this.strokeThickness=t,this}get hasStroke(){return null!=this.stroke&&this.strokeThickness>0}setShadowColor(t){return this.shadowColor=qt(t),this}setShadowOffset(t,e){return void 0===t&&(t=0),void 0===e&&(e=0),this.shadowOffsetX=t,this.shadowOffsetY=e,this}setShadowBlur(t){return void 0===t&&(t=0),this.shaodwBlur=t,this}setShadow(t,e,i,s){return this.setShadowColor(t).setShadowOffset(e,i).setShadowBlur(s),this}setBackgroundColor(t){return this.backgroundColor=qt(t),this}get hasBackgroundColor(){return null!=this.backgroundColor}setBackgroundHeight(t){return this.backgroundHeight=t,this}setBackgroundBottomY(t){return this.backgroundBottomY=t,this}setBackgroundLeftX(t){return this.backgroundLeftX=t,this}setBackgroundRightX(t){return this.backgroundRightX=t,this}setOffsetX(t){return void 0===t&&(t=0),this.offsetX=t,this}setOffsetY(t){return void 0===t&&(t=0),this.offsetY=t,this}setOffset(t,e){return this.setOffsetX(t).setOffsetY(e),this}setLeftSpace(t){return void 0===t&&(t=0),this.leftSpace=t,this}setRightSpace(t){return void 0===t&&(t=0),this.rightSpace=t,this}setSpace(t,e){return this.setLeftSpace(t).setRightSpace(e),this}setAlign(t){return this.align=t,this}syncFont(t){return t.font=this.font,this}syncStyle(t){t.textBaseline="alphabetic";var e=this.hasFill,i=this.hasStroke;return t.fillStyle=e?this.color:"#000",t.strokeStyle=i?this.stroke:"#000",t.lineWidth=i?this.strokeThickness:0,t.lineCap="round",t.lineJoin="round",this}syncShadow(t){null!=t.shadowColor?(t.shadowColor=this.shadowColor,t.shadowOffsetX=this.shadowOffsetX,t.shadowOffsetY=this.shadowOffsetY,t.shadowBlur=this.shadowBlur):(t.shadowColor=0,t.shadowOffsetX=0,t.shadowOffsetY=0,t.shadowBlur=0)}getTextMetrics(t,e){return this.syncFont(t).syncStyle(t),t.measureText(e)}}const ir=Phaser.Utils.Array.Remove,sr=Phaser.Utils.Array.Remove,rr="text",nr="image",ar="drawer",or="space",hr="command";var lr=function(t){return t.type===rr&&"\n"===t.text},dr=function(t){return t.type===rr&&"\f"===t.text},cr=function(t){return t.type===rr},ur=function(t){return t.type===hr};class pr extends $s{constructor(t,e,i){super(t,rr),this.updateTextFlag=!1,this.style=new er(this,i),this.setText(e)}get autoRound(){return this.parent.autoRound}get offsetX(){return this.style.offsetX}set offsetX(t){this.style&&(this.style.offsetX=t)}get offsetY(){return this.style.offsetY}set offsetY(t){this.style&&(this.style.offsetY=t)}get leftSpace(){return this.style.leftSpace*this.scaleX}set leftSpace(t){this.style&&(this.style.leftSpace=t),super.leftSpace=t}get rightSpace(){return this.style.rightSpace*this.scaleX}set rightSpace(t){this.style&&(this.style.rightSpace=t),super.rightSpace=t}get align(){return this.style.align}set align(t){this.style&&(this.style.align=t)}modifyStyle(t){return this.setDirty(!0),this.style.modify(t),this.updateTextFlag&&this.updateTextSize(),this}modifyPorperties(t){return t?(this.modifyStyle(t),super.modifyPorperties(t),this):this}setText(t){return this.setDirty(this.text!=t),this.text=t,this.updateTextSize(),this}updateTextSize(){var t=this.text;if("\n"===t||"\f"===t||""===t)this.clearTextSize();else{var e,i,s=this.style.getTextMetrics(this.context,this.text);this.textWidth=s.width,"actualBoundingBoxAscent"in s?(e=s.actualBoundingBoxAscent,i=s.actualBoundingBoxDescent):(e=0,i=0),this.textHeight=e+i,this.ascent=e,this.descent=i}return this.updateTextFlag=!1,this}clearTextSize(){return this.textWidth=0,this.textHeight=0,this.ascent=0,this.descent=0,this}copyTextSize(t){return this.textWidth=t.textWidth,this.textHeight=t.textHeight,this.ascent=t.ascent,this.descent=t.descent,this}get width(){return this.textWidth*this.scaleX}set width(t){this.textWidth>0?this.scaleX=t/this.textWidth:this.scaleX=1}get height(){return this.textHeight*this.scaleY}set height(t){this.textHeight>0?this.scaleY=t/this.textHeight:this.scaleY=1}get willRender(){return 0!==this.textWidth&&super.willRender}renderContent(){var t=this.context,e=this.style;if(e.hasBackgroundColor){t.fillStyle=e.backgroundColor;var i=this.drawTLX+e.backgroundLeftX,s=i,r=this.drawTRX+e.backgroundRightX-i+1;if(r>0){var n=e.backgroundBottomY;null==n&&(n=this.drawBLY);var a=e.backgroundHeight;null==a&&(a=n-this.drawTLY);var o=n-a;t.fillRect(s,o,r,a)}}var h=e.hasFill,l=e.hasStroke;(h||l)&&(e.syncFont(t).syncStyle(t),l&&(e.syncShadow(t),t.strokeText(this.text,0,0)),h&&(e.syncShadow(t),t.fillText(this.text,0,0)))}get drawTLX(){return-this.leftSpace}get drawTLY(){return-this.ascent}get drawBLX(){return-this.leftSpace}get drawBLY(){return this.descent}get drawTRX(){return this.textWidth+this.rightSpace}get drawTRY(){return-this.ascent}get drawBRX(){return this.textWidth+this.rightSpace}get drawBRY(){return this.descent}}var gr=function(t,e){var i=this.createCharChildren(t,e);return this.addChild(i),this};Phaser.Display.Canvas.CanvasPool;class vr extends $s{constructor(t,e,i){super(t,nr),this.setTexture(e,i),this.color=void 0}get frameWidth(){return this.frameObj?this.frameObj.cutWidth:0}get frameHeight(){return this.frameObj?this.frameObj.cutHeight:0}get offsetY(){return-this.height}set offsetY(t){}get key(){return this._key}set key(t){this.setDirty(this._key!=t),this._key=t}get frame(){return this._frame}set frame(t){this.setDirty(this._frame!=t),this._frame=t}setTexture(t,e){return this.key=t,this.frame=e,this.frameObj=this.scene.sys.textures.getFrame(t,e),this}get width(){return this.frameWidth*this.scaleX}set width(t){this.setDirty(this.width!==t),this.scaleX=t/this.frameWidth}get height(){return this.frameHeight*this.scaleY}set height(t){this.setDirty(this.height!==t),this.scaleY=t/this.frameHeight}setHeight(t,e){return void 0===e&&(e=!1),this.height=t,e&&(this.scaleX=this.scaleY),this}setColor(t){return this.color=t,this}modifyPorperties(t){return t.hasOwnProperty("color")&&this.setColor(t.color),super.modifyPorperties(t),this}renderContent(){Ti(this.frameObj,this.canvas,0,0,this.frameWidth,this.frameHeight,this.color,!1)}get drawTLX(){return-this.leftSpace}get drawTLY(){return 0}get drawBLX(){return-this.leftSpace}get drawBLY(){return this.frameHeight}get drawTRX(){return this.frameWidth+this.rightSpace}get drawTRY(){return 0}get drawBRX(){return this.frameWidth+this.rightSpace}get drawBRY(){return this.frameHeight}}var fr=function(t,e,i){var s=this.createImageChild(t,e,i);return this.addChild(s),this};class mr extends $s{constructor(t,e,i,s){super(t,ar),this.setRenderCallback(e),this.setDrawerSize(i,s)}setRenderCallback(t){return t?this.renderContent=t.bind(this):delete this.renderContent,this}setDrawerSize(t,e){return!0===t?(this.toLocalPosition=!1,t=void 0,e=void 0):this.toLocalPosition=!0,void 0===t&&(t=0),void 0===e&&(e=t),this.drawerWidth=t,this.drawerHeight=e,this}onFree(){super.onFree(),this.setRenderCallback()}get width(){return this.drawerWidth*this.scaleX}set width(t){this.setDirty(this.width!==t),this.scaleX=this.drawerWidth>0?t/this.drawerWidth:1}get height(){return this.drawerHeight*this.scaleY}set height(t){this.setDirty(this.height!==t),this.scaleY=this.drawerHeight>0?t/this.drawerHeight:1}get offsetY(){return-this.height}set offsetY(t){}get drawTLX(){return-this.leftSpace}get drawTLY(){return 0}get drawBLX(){return-this.leftSpace}get drawBLY(){return this.drawerHeight}get drawTRX(){return this.drawerWidth+this.rightSpace}get drawTRY(){return 0}get drawBRX(){return this.drawerWidth+this.rightSpace}get drawBRY(){return this.drawerHeight}}let yr=class extends $s{constructor(t,e){super(t,or),this.setSpaceWidth(e)}get width(){return this.spaceWidth*this.scaleX}set width(t){this.spaceWidth>0?this.scaleX=t/this.spaceWidth:this.scaleX=1}setSpaceWidth(t){return this.spaceWidth=t,this}};var br=function(t){var e=this.createSpaceChild(t);return this.addChild(e),this};class xr extends Ms{constructor(t,e,i,s,r){super(t,hr),this.setName(e).setParameter(s).setCallback(i,r)}setName(t){return this.name=t,this}setParameter(t){return this.param=t,this}setCallback(t,e){return this.callback=t,this.scope=e,this}exec(){return this.scope?this.callback.call(this.scope,this.param,this.name):this.callback(this.param,this.name)}onFree(){super.onFree(),this.setName().setCallback().setParameter()}}var Cr=function(t,e,i,s){var r=this.createCommandChild(t,e,i,s);return this.addChild(r),this},kr=function(t){var e={callback:void 0,start:0,isLastPage:!1,maxLines:void 0,padding:void 0,letterSpacing:void 0,hAlign:void 0,vAlign:void 0,children:[],lines:[],maxLineWidth:0,linesHeight:0,lineHeight:void 0,maxLineHeight:0,linesWidth:0,lineWidth:void 0};return Object.assign(e,t)};const wr={none:0,word:1,char:2,character:2,mix:3};var Sr=function(t,e,i,s){void 0===s&&(s={word:[],width:0}),s.word.length=0;for(var r=2===i,n=3===i,a=!r&&!n,o=t.length,h=e,l=s.word,d=0,c=!1;h0&&!o){var h=this.fixedHeight-s;i>0?n=h/i:(n=(l=Mr.call(this)).height,a=l.ascent,i=Math.floor((h-a)/n))}else{var l;n=(l=Mr.call(this)).height,a=l.ascent}}else this.fixedHeight>0?void 0===(i=_r(t,"maxLines"))&&(h=this.fixedHeight-s,i=Math.floor(h/n)):i=_r(t,"maxLines",0);void 0===a&&(a=n);var d=0===i,c=_r(t,"wrapMode");void 0===c&&(c=_r(t,"charWrap",!1)?"char":"word"),"string"==typeof c&&(c=wr[c]);var u=_r(t,"wrapWidth",void 0);void 0===u&&(this.fixedWidth>0?u=this.fixedWidth-r:(u=1/0,c=0));for(var p=_r(t,"letterSpacing",0),g=_r(t,"hAlign",0),v=_r(t,"vAlign",0),f=_r(t,"justifyPercentage",.25),m=kr({callback:"runWordWrap",start:e,padding:this.wrapPadding,letterSpacing:p,maxLines:i,hAlign:g,vAlign:v,justifyPercentage:f,ascent:a,lineHeight:n,wrapWidth:u,wrapMode:c}),y=this.children,b=0,x=y.length;b0&&(E.push({children:_,width:R}),L=Math.max(L,R)),m.start+=M.length,m.isLastPage=!B&&m.start===O,m.maxLineWidth=L,m.linesHeight=E.length*n;var X=this.fixedWidth>0?this.fixedWidth:m.maxLineWidth+r,Y=this.fixedHeight>0?this.fixedHeight:m.linesHeight+s;for(function(t,e,i){for(var s,r,n=t.hAlign,a=t.vAlign,o=t.justifyPercentage,h=t.lines,l=0,d=h.length;l0?(a=this.fixedWidth-r)/i:0;else if(this.fixedWidth>0){if(void 0===(i=Br(t,"maxLines",void 0))){var a=this.fixedWidth-r;i=Math.floor(a/n)+1}}else i=Br(t,"maxLines",0);var o=0===i,h=Br(t,"fixedCharacterHeight",void 0);if(void 0===h){var l=Br(t,"charPerLine",void 0);if(void 0!==l){var d=this.fixedHeight-s;h=Math.floor(d/l)}}var c=Br(t,"wrapHeight",void 0);void 0===c&&(c=this.fixedHeight>0?this.fixedHeight-s:1/0);for(var u=Br(t,"letterSpacing",0),p=Br(t,"rtl",!0),g=Br(t,"hAlign",p?2:0),v=Br(t,"vAlign",0),f=kr({callback:"runVerticalWrap",start:e,padding:this.wrapPadding,letterSpacing:u,maxLines:i,hAlign:g,vAlign:v,lineWidth:n,fixedCharacterHeight:h,wrapHeight:c,rtl:p}),m=this.children,y=0,b=m.length;y0&&(M.push({children:E,height:_}),R=Math.max(R,_)),f.start+=O.length,f.isLastPage=f.start===T,f.maxLineHeight=R,f.linesWidth=M.length*n;var j=this.fixedWidth>0?this.fixedWidth:f.linesWidth+r,z=this.fixedHeight>0?this.fixedHeight:f.maxLineHeight+s;for(function(t,e,i){var s,r,n=t.hAlign,a=t.vAlign,o=t.rtl,h=t.lines,l=t.lineWidth,d=t.linesWidth;switch(n){case 1:case"center":s=(e-d)/2;break;case 2:case"right":s=e-d;break;default:s=0}o&&(s+=l);for(var c=0,u=h.length;c0?t:this.width,e>0?e:this.height)),this},setPadding:function(t,e){var i=this.padding,s=i.left,r=i.right,n=i.top,a=i.bottom;return Os(i,t,e),this.dirty=this.dirty||s!=i.left||r!=i.right||n!=i.top||a!=i.bottom,this},getPadding:function(t){return Ts(this.padding,t)},modifyTextStyle:function(t){return this.textStyle.modify(t),this},modifyDefaultTextStyle:function(t){return this.defaultTextStyle.modify(t),this},resetTextStyle:function(){return this.textStyle.copyFrom(this.defaultTextStyle),this},setTestString:function(t){return this.testString=t,this},removeChild:function(t){return this.poolManager.free(t),ir(this.children,t),this.lastAppendedChildren.length=0,this.lastOverChild=null,this.dirty=!0,this},removeChildren:function(){return this.poolManager.freeMultiple(this.children),this.children.length=0,this.lastAppendedChildren.length=0,this.lastOverChild=null,this.dirty=!0,this},popChild:function(t){return sr(this.children,t),this.lastAppendedChildren.length=0,this.lastOverChild=null,this.dirty=!0,this},clearContent:function(){return this.setText(),this},addChild:function(t,e){var i=Array.isArray(t);return void 0===e||e===this.children.length?i?this.children.push(...t):this.children.push(t):i?this.children.splice(e,0,...t):this.children.splice(e,0,t),this.lastAppendedChildren.length=0,i?this.lastAppendedChildren.push(...t):this.lastAppendedChildren.push(t),this},createCharChild:function(t,e){e&&this.textStyle.modify(e);var i=this.poolManager.allocate(rr);return null===i?i=new pr(this,t,this.textStyle):i.setParent(this).setActive().modifyStyle(this.textStyle).setText(t),i},createCharChildren:function(t,e){e&&this.textStyle.modify(e);for(var i=[],s=0,r=t.length;se&&(s=e,r=t)})),r},getCharWorldPosition:function(t,e,i,s){return"number"==typeof t&&(t=this.getCharChild(t,!0)),Vs(this,t,e,i,s)},setToMinSize:function(){for(var t=this.children,e=0,i=0,s=0,r=t.length;s=i.length&&(t=i.length);for(var s=0,r=0;r>16&255},bn=function(t){return t>>8&255},xn=function(t){return 255&t};const Cn=Phaser.Events.EventEmitter;var kn=function(t,e,i,s,r,n){return void 0===n?n={}:!0===n&&(n=wn),"number"!=typeof i&&(i=0,s=0),n.x=r.x+r.width*t+i,n.y=r.y+r.height*e+s,n},wn={},Sn=function(t,e,i,s,r,n,a){if(t.hasOwnProperty("vp"))return t;"function"==typeof i&&(a=i,i=void 0),"function"==typeof r&&(a=r,r=void 0),void 0===i&&(i=.5),void 0===s&&(s=.5),void 0===r&&(r=0),void 0===n&&(n=0),void 0===a&&(a=kn),function(t){if(t.events)return t;var e=new Cn,i=t.x;Object.defineProperty(t,"x",{get:function(){return i},set:function(s){i!==s&&(i=s,e.emit("update",t))}});var s=t.y;Object.defineProperty(t,"y",{get:function(){return s},set:function(i){s!==i&&(s=i,e.emit("update",t))}});var r=t.width;Object.defineProperty(t,"width",{get:function(){return r},set:function(i){r!==i&&(r=i,e.emit("update",t))}});var n=t.height;Object.defineProperty(t,"height",{get:function(){return n},set:function(i){n!==i&&(n=i,e.emit("update",t))}}),t.events=e}(e);var o=e.events;t.vp=e;var h=function(){a(i,s,r,n,e,t)};o.on("update",h),t.once("destroy",(function(){o.off("update",h),t.vp=void 0})),Object.defineProperty(t,"vpx",{get:function(){return i},set:function(t){i!==t&&(i=t,h())}}),Object.defineProperty(t,"vpy",{get:function(){return s},set:function(t){s!==t&&(s=t,h())}}),Object.defineProperty(t,"vpxOffset",{get:function(){return r},set:function(t){r!==t&&(r=t,h())}}),Object.defineProperty(t,"vpyOffset",{get:function(){return n},set:function(t){n!==t&&(n=t,h())}}),h()},Pn=function(t){return t.preFX?t.preFX:t.postFX?t.postFX:null},Tn=function(t,e){t._effectSwitchNames||(t._effectSwitchNames=[],t.clearAllEffects=function(){for(var e=t._effectSwitchNames,i=0,s=e.length;i0&&void 0!==t.setTint},useAlphaFadeEffect(t){return(void 0===this.fadeMode||1===this.fadeMode)&&this.fadeTime>0&&void 0!==t.setAlpha},useRevealEffect(t){return this.fadeMode>=2&&this.fadeMode<=5&&this.fadeTime>0&&(t.preFX||t.postFX)},fadeBob(t,e,i,s){var r=t.gameObject;if(this.useTintFadeEffect(r))void 0!==e&&t.setProperty("tintGray",255*e),t.easeProperty({property:"tintGray",value:Math.floor(255*i),duration:this.fadeTime,delay:0,ease:"Linear",repeat:0,yoyo:!1,from:!1,complete:s});else if(this.useAlphaFadeEffect(r))void 0!==e&&t.setProperty("alpha",e),t.easeProperty({property:"alpha",value:i,duration:this.fadeTime,delay:0,ease:"Linear",repeat:0,yoyo:!1,from:!1,complete:s});else if(this.useRevealEffect(r)){var n;switch(En(r,"reveal"),this.fadeMode){case 2:n="revealUp";break;case 3:n="revealDown";break;case 4:n="revealLeft";break;case 5:n="revealRight"}void 0===e&&(e=0),r[n]=e,t.easeProperty({property:n,value:i,duration:this.fadeTime,delay:0,ease:"Linear",repeat:0,yoyo:!1,from:!1,complete:s}),t.getTweenTask(n).once("complete",(function(){r[n]=null}))}else s&&s(r);return this}},zn=function(t){return void 0!==t.displayWidth?t.displayWidth:t.width},Fn=function(t){return void 0!==t.displayHeight?t.displayHeight:t.height};const Xn=Phaser.Geom.Rectangle,Yn=Phaser.Math.Vector2,Wn=Phaser.Math.RotateAround,Vn=Phaser.GameObjects.Container;var Gn=function(t,e){if(void 0===e?e=new Xn:!0===e&&(void 0===Hn&&(Hn=new Xn),e=Hn),t.getBounds&&!(t instanceof Vn))return t.getBounds(e);var i,s,r,n,a,o,h,l;if(t.parentContainer){var d=t.parentContainer.getBoundsTransformMatrix();Un(t,e),d.transformPoint(e.x,e.y,e),i=e.x,s=e.y,Nn(t,e),d.transformPoint(e.x,e.y,e),r=e.x,n=e.y,$n(t,e),d.transformPoint(e.x,e.y,e),a=e.x,o=e.y,Kn(t,e),d.transformPoint(e.x,e.y,e),h=e.x,l=e.y}else Un(t,e),i=e.x,s=e.y,Nn(t,e),r=e.x,n=e.y,$n(t,e),a=e.x,o=e.y,Kn(t,e),h=e.x,l=e.y;return e.x=Math.min(i,r,a,h),e.y=Math.min(s,n,o,l),e.width=Math.max(i,r,a,h)-e.x,e.height=Math.max(s,n,o,l)-e.y,e},Hn=void 0,Un=function(t,e,i){return void 0===e?e=new Yn:!0===e&&(void 0===qn&&(qn=new Yn),e=qn),t.getTopLeft?t.getTopLeft(e):(e.x=t.x-zn(t)*t.originX,e.y=t.y-Fn(t)*t.originY,Zn(t,e,i))},Nn=function(t,e,i){return void 0===e?e=new Yn:!0===e&&(void 0===qn&&(qn=new Yn),e=qn),t.getTopRight?t.getTopRight(e):(e.x=t.x-zn(t)*t.originX+zn(t),e.y=t.y-Fn(t)*t.originY,Zn(t,e,i))},$n=function(t,e,i){return void 0===e?e=new Yn:!0===e&&(void 0===qn&&(qn=new Yn),e=qn),t.getBottomLeft?t.getBottomLeft(e):(e.x=t.x-zn(t)*t.originX,e.y=t.y-Fn(t)*t.originY+Fn(t),Zn(t,e,i))},Kn=function(t,e,i){return void 0===e?e=new Yn:!0===e&&(void 0===qn&&(qn=new Yn),e=qn),t.getBottomRight?t.getBottomRight(e):(e.x=t.x-zn(t)*t.originX+zn(t),e.y=t.y-Fn(t)*t.originY+Fn(t),Zn(t,e,i))},Jn=function(t,e,i){void 0===e?e=new Yn:!0===e&&(void 0===qn&&(qn=new Yn),e=qn);var s=zn(t),r=Fn(t);return e.x=t.x+s*(.5-t.originX),e.y=t.y+r*(.5-t.originY),Zn(t,e,i)},qn=void 0,Zn=function(t,e,i){return void 0===i&&(i=!1),0!==t.rotation&&Wn(e,t.x,t.y,t.rotation),i&&t.parentContainer&&t.parentContainer.getBoundsTransformMatrix().transformPoint(e.x,e.y,e),e};const Qn=Phaser.Utils.Objects.GetValue;var ta=function(t,e,i){var s,r,n,a,o;if("number"==typeof i?s=i:(s=Qn(i,"color"),r=Qn(i,"lineWidth"),n=Qn(i,"fillColor"),a=Qn(i,"fillAlpha",1),o=Qn(i,"padding",0)),Array.isArray(t))for(var h=0,l=t.length;h0?-this.delay:0,this.state=this.nowTime>=0?Ha:Ga,this.repeatCounter=0,this}stop(){return this.state=Va,this}update(t,e){this.state!==Va&&this.state!==Na&&0!==e&&0!==this.timeScale&&(this.nowTime+=e*this.timeScale,this.justRestart=!1,this.nowTime>=this.duration?-1===this.repeat||this.repeatCounter0&&(this.nowTime-=this.repeatDelay,this.state=Ua)):(this.nowTime=this.duration,this.state=Na):this.nowTime>=0&&(this.state=Ha))}get t(){var t;switch(this.state){case Va:case Ga:case Ua:t=0;break;case Ha:t=this.nowTime/this.duration;break;case Na:t=1}return Ya(t,0,1)}set t(t){(t=Ya(t,-1,1))<0?(this.state=Ga,this.nowTime=-this.delay*t):(this.state=Ha,this.nowTime=this.duration*t,1===t&&0!==this.repeat&&this.repeatCounter++)}setT(t){return this.t=t,this}get isIdle(){return this.state===Va}get isDelay(){return this.state===Ga}get isCountDown(){return this.state===Ha}get isRunning(){return this.state===Ga||this.state===Ha}get isDone(){return this.state===Na}get isOddIteration(){return!(1&~this.repeatCounter)}get isEvenIteration(){return!(1&this.repeatCounter)}};const Va=0,Ga=1,Ha=2,Ua=3,Na=-1;class $a extends za{constructor(t,e){super(t,e),this.timer=new Wa}shutdown(t){this.isShutdown||(super.shutdown(t),this.timer.destroy(),this.timer=void 0)}start(){return this.timer.start(),super.start(),this}stop(){return this.timer.stop(),super.stop(),this}complete(){return this.timer.stop(),super.complete(),this}}const Ka=Phaser.Utils.Objects.GetValue,Ja=Phaser.Utils.Objects.GetAdvancedValue,qa=Phaser.Tweens.Builders.GetEaseFunction;class Za extends $a{resetFromJSON(t){return this.timer.resetFromJSON(Ka(t,"timer")),this.setEnable(Ka(t,"enable",!0)),this.setTarget(Ka(t,"target",this.parent)),this.setDelay(Ja(t,"delay",0)),this.setDuration(Ja(t,"duration",1e3)),this.setEase(Ka(t,"ease","Linear")),this.setRepeat(Ka(t,"repeat",0)),this}setEnable(t){return null==t&&(t=!0),this.enable=t,this}setTarget(t){return void 0===t&&(t=this.parent),this.target=t,this}setDelay(t){return this.delay=t,this}setDuration(t){return this.duration=t,this}setRepeat(t){return this.repeat=t,this}setRepeatDelay(t){return this.repeatDelay=t,this}setEase(t){return void 0===t&&(t="Linear"),this.ease=t,this.easeFn=qa(t),this}start(){return this.timer.isRunning||super.start(),this}restart(){return this.timer.stop(),this.start.apply(this,arguments),this}stop(t){return void 0===t&&(t=!1),super.stop(),t&&(this.timer.setT(1),this.updateTarget(this.target,this.timer),this.complete()),this}update(t,e){if(!this.isRunning||!this.enable||this.parent.hasOwnProperty("active")&&!this.parent.active)return this;var i=this.target,s=this.timer;return s.update(t,e),s.isDelay||this.updateTarget(i,s),this.emit("update",i,this),s.isDone&&this.complete(),this}updateTarget(t,e){}}const Qa=Phaser.Sound.BaseSound;var to=function(t){return t instanceof Qa};const eo=Phaser.Utils.Objects.GetValue,io=Phaser.Utils.Objects.GetAdvancedValue,so=Phaser.Math.Linear;let ro=class extends Za{constructor(t,e,i){to(t)&&(i=e,e=t,t=void 0),e.active=!0,e.scene=t,e.game=e.manager.game,super(e,i),this.volume={},this.resetFromJSON(i)}resetFromJSON(t){return super.resetFromJSON(t),this.setMode(eo(t,"mode",0)),this.setEnable(eo(t,"enable",!0)),this.setVolumeRange(io(t,"volume.start",this.parent.volume),io(t,"volume.end",0)),this}setMode(t){return"string"==typeof t&&(t=no[t]),this.mode=t,this}setVolumeRange(t,e){return this.volume.start=t,this.volume.end=e,this}start(){return this.timer.isRunning||(this.parent.setVolume(this.volume.start),this.timer.setDelay(this.delay).setDuration(this.duration),super.start()),this}updateTarget(t,e){t.volume=so(this.volume.start,this.volume.end,e.t)}complete(){switch(super.complete(),this.mode){case 1:this.parent.stop();break;case 2:this.parent.stop(),this.parent.destroy()}return this}};const no={stop:1,destroy:2};var ao=function(t,e,i,s,r){to(t)&&(r=s,s=i,i=e,e=t,t=void 0),void 0===s&&(s=1),void 0===r&&(r=0);var n,a={mode:0,volume:{start:r,end:s},duration:i};return"string"==typeof e&&(e=t.sys.sound.add(e)),e.hasOwnProperty("_fade")?(n=e._fade).stop().resetFromJSON(a):(n=new ro(t,e,a),e._fade=n),n.start(),e.isPlaying||e.setVolume(r).play(),e},oo=function(t,e,i,s){to(t)&&(s=i,i=e,e=t,t=void 0),void 0===s&&(s=!0);var r,n={mode:s?2:1,volume:{start:e.volume,end:0},duration:i};return e.hasOwnProperty("_fade")?(r=e._fade).stop().resetFromJSON(n):(r=new ro(t,e,n),e._fade=r),r.start(),e.isPlaying||e.play(),e};const ho=Phaser.Utils.Objects.GetValue;var lo={setBackgroundMusicLoop(t){return void 0===t&&(t=!0),this.backgroundMusicLoop=t,this},setBackgroundMusicFadeTime(t){return this.backgroundMusicFadeTime=t,this},getBackgroundMusic(){return this.backgroundMusic},setCurrentBackgroundMusic(t){return this.backgroundMusic=t,t&&(t.once("complete",(function(){this.backgroundMusic===t&&(this.backgroundMusic.destroy(),this.backgroundMusic=void 0)}),this).once("destroy",(function(){this.backgroundMusic===t&&(this.backgroundMusic=void 0)}),this),t.isPlaying||t.play()),this},playBackgroundMusic(t,e){if(!this.hasAudio(t))return console.error(`[Sound manager] Audio key'${t}' is not existed`),this;if(this.backgroundMusic&&this.backgroundMusic.key===t)return this;this.stopBackgroundMusic();var i=this.sound.add(t,{loop:ho(e,"loop",this.backgroundMusicLoop),mute:ho(e,"mute",this.backgroundMusicMute),volume:ho(e,"volume",this.backgroundMusicVolume),detune:ho(e,"detune",0),rate:ho(e,"rate",1)});return this.setCurrentBackgroundMusic(i),this.backgroundMusicFadeTime>0&&this.fadeInBackgroundMusic(this.backgroundMusicFadeTime),this},pauseBackgroundMusic(){return this.backgroundMusic&&this.backgroundMusic.pause(),this},resumeBackgroundMusic(){return this.backgroundMusic&&this.backgroundMusic.resume(),this},stopBackgroundMusic(){return this.backgroundMusic&&(this.backgroundMusicFadeTime>0?this.fadeOutBackgroundMusic(this.backgroundMusicFadeTime,!0):(this.backgroundMusic.stop(),this.backgroundMusic.destroy(),this.backgroundMusic=void 0)),this},fadeInBackgroundMusic(t){return this.backgroundMusic&&ao(this.backgroundMusic,t,this.backgroundMusicVolume,0),this},fadeOutBackgroundMusic(t,e){return this.backgroundMusic&&oo(this.backgroundMusic,t,e),this},crossFadeBackgroundMusic(t,e){if(!this.hasAudio(t))return console.error(`[Sound manager] Audio key'${t}' is not existed`),this;var i=this.backgroundMusicFadeTime;return this.backgroundMusicFadeTime=0,this.fadeOutBackgroundMusic(e,!0).playBackgroundMusic(t).fadeInBackgroundMusic(e),this.backgroundMusicFadeTime=i,this},setBackgroundMusicMute(t){return void 0===t&&(t=!0),this.backgroundMusicMute=t,this},setBackgroundMusicVolume(t){return this.backgroundMusicVolume=t,this},setBackgroundMusicRate(t){return this.backgroundMusic&&this.backgroundMusic.setRate(t),this},setBackgroundMusicDetune(t){return this.backgroundMusic&&this.backgroundMusic.setDetune(t),this}};const co=Phaser.Utils.Objects.GetValue;var uo={setBackgroundMusic2Loop(t){return void 0===t&&(t=!0),this.backgroundMusic2Loop=t,this},setBackgroundMusic2FadeTime(t){return this.backgroundMusic2FadeTime=t,this},getBackgroundMusic2(){return this.backgroundMusic2},setCurrentBackgroundMusic2(t){return this.backgroundMusic2=t,t&&(t.once("complete",(function(){this.backgroundMusic2===t&&(this.backgroundMusic2.destroy(),this.backgroundMusic2=void 0)}),this).once("destroy",(function(){this.backgroundMusic2===t&&(this.backgroundMusic2=void 0)}),this),t.isPlaying||t.play()),this},playBackgroundMusic2(t,e){if(!this.hasAudio(t))return console.error(`[Sound manager] Audio key'${t}' is not existed`),this;if(this.backgroundMusic2&&this.backgroundMusic2.key===t)return this;this.stopBackgroundMusic2();var i=this.sound.add(t,{loop:co(e,"loop",this.backgroundMusicLoop),mute:co(e,"mute",this.backgroundMusic2Mute),volume:co(e,"volume",this.backgroundMusic2Volume),detune:co(e,"detune",0),rate:co(e,"rate",1)});return this.setCurrentBackgroundMusic2(i),this.backgroundMusic2FadeTime>0&&this.fadeInBackgroundMusic2(this.backgroundMusic2FadeTime),this},pauseBackgroundMusic2(){return this.backgroundMusic2&&this.backgroundMusic2.pause(),this},resumeBackgroundMusic2(){return this.backgroundMusic2&&this.backgroundMusic2.resume(),this},stopBackgroundMusic2(){return this.backgroundMusic2&&(this.backgroundMusic2FadeTime>0?this.fadeOutBackgroundMusic2(this.backgroundMusic2FadeTime,!0):(this.backgroundMusic2.stop(),this.backgroundMusic2.destroy(),this.backgroundMusic2=void 0)),this},fadeInBackgroundMusic2(t){return this.backgroundMusic2&&ao(this.backgroundMusic2,t,this.backgroundMusic2Volume,0),this},fadeOutBackgroundMusic2(t,e){return this.backgroundMusic2&&oo(this.backgroundMusic2,t,e),this},crossFadeBackgroundMusic2(t,e){if(!this.hasAudio(t))return console.error(`[Sound manager] Audio key'${t}' is not existed`),this;var i=this.backgroundMusic2FadeTime;return this.backgroundMusic2FadeTime=0,this.fadeOutBackgroundMusic2(e,!0).playBackgroundMusic2(t).fadeInBackgroundMusic2(e),this.backgroundMusic2FadeTime=i,this},setBackgroundMusic2Mute(t){return void 0===t&&(t=!0),this.backgroundMusic2Mute=t,this},setBackgroundMusic2Volume(t){return this.backgroundMusic2Volume=t,this},setBackgroundMusic2Rate(t){return this.backgroundMusic2&&this.backgroundMusic2.setRate(t),this},setBackgroundMusic2Detune(t){return this.backgroundMusic2&&this.backgroundMusic2.setDetune(t),this}};const po=Phaser.Utils.Array.Remove,go=Phaser.Utils.Objects.GetValue;var vo={getSoundEffects(){return this.soundEffects},getLastSoundEffect(){return this.soundEffects[this.soundEffects.length-1]},playSoundEffect(t,e){if(!this.hasAudio(t))return console.error(`[Sound manager] Audio key'${t}' is not existed`),this;var i=this.sound.add(t,{mute:go(e,"mute",this.soundEffectsMute),volume:go(e,"volume",this.soundEffectsVolume),detune:go(e,"detune",0),rate:go(e,"rate",1)});return this.soundEffects.push(i),i.once("complete",(function(){i.destroy(),this.sound&&po(this.soundEffects,i)}),this).once("destroy",(function(){this.sound&&po(this.soundEffects,i)}),this).play(),this},stopAllSoundEffects(){for(var t=this.soundEffects.length-1;t>=0;t--){var e=this.soundEffects[t];e.stop(),e.destroy()}return this},fadeInSoundEffect(t){var e=this.getLastSoundEffect();return e&&ao(e,t,this.soundEffectsVolume,0),this},fadeOutSoundEffect(t,e){var i=this.getLastSoundEffect();return i&&oo(i,t,e),this},fadeOutAllSoundEffects(t,e){for(var i=this.soundEffects.length-1;i>=0;i--)oo(this.soundEffects[i],t,e);return this},setSoundEffectMute(t,e){if(void 0===t&&(t=!0),void 0===e&&(e=!1),e){var i=this.getLastSoundEffect();i&&i.setMute(t)}else this.soundEffectsMute=t;return this},setSoundEffectVolume(t,e){if(void 0===e&&(e=!1),e){var i=this.getLastSoundEffect();i&&i.setVolume(t)}else this.soundEffectsVolume=t;return this},setSoundEffectDetune(t,e){var i;void 0===e&&(e=!1);for(var s=0,r=(i=e?[this.getLastSoundEffect()]:this.soundEffects).length;s=0;t--){var e=this.soundEffects[t];e.stop(),e.destroy()}return this},fadeInSoundEffect2(t){var e=this.getLastSoundEffect2();return e&&ao(e,t,this.soundEffects2Volume,0),this},fadeOutSoundEffect2(t,e){var i=this.getLastSoundEffect2();return i&&oo(i,t,e),this},fadeOutAllSoundEffects2(t,e){for(var i=this.soundEffects2.length-1;i>=0;i--)oo(this.soundEffects2[i],t,e);return this},setSoundEffect2Mute(t,e){if(void 0===t&&(t=!0),void 0===e&&(e=!1),e){var i=this.getLastSoundEffect2();i&&i.setMute(t)}else this.soundEffects2Mute=t;return this},setSoundEffect2Volume(t,e){if(void 0===e&&(e=!1),e){var i=this.getLastSoundEffect2();i&&i.setVolume(t)}else this.soundEffects2Volume=t;return this},setSoundEffect2Detune(t,e){var i;void 0===e&&(e=!1);for(var s=0,r=(i=e?[this.getLastSoundEffect2()]:this.soundEffects2).length;s=0;t--)this.soundEffects[t].destroy();if(this.soundEffects.length=0,this.soundEffects2.length)for(t=this.soundEffects2.length-1;t>=0;t--)this.soundEffects2[t].destroy();return this.soundEffects2.length=0,this.sound=void 0,this}get backgroundMusicMute(){return this._backgroundMusicMute}set backgroundMusicMute(t){this._backgroundMusicMute=t,this.backgroundMusic&&this.backgroundMusic.setMute(mute)}get backgroundMusicVolume(){return this._backgroundMusicVolume}set backgroundMusicVolume(t){this._backgroundMusicVolume=t,this.backgroundMusic&&this.backgroundMusic.setVolume(t)}get backgroundMusic2Mute(){return this._backgroundMusic2Mute}set backgroundMusic2Mute(t){this._backgroundMusic2Mute=t,this.backgroundMusic2&&this.backgroundMusic2.setMute(mute)}get backgroundMusic2Volume(){return this._backgroundMusic2Volume}set backgroundMusic2Volume(t){this._backgroundMusic2Volume=t,this.backgroundMusic2&&this.backgroundMusic2.setVolume(t)}get soundEffectsMute(){return this._soundEffectsMute}set soundEffectsMute(t){this._soundEffectsMute=t;for(var e=this.soundEffects,i=0,s=e.length;i");this.setDelimiters(e[0],e[1]),this.setTranslateTagNameCallback(J(t,"translateTagNameCallback")),this.isRunning=!1,this.isPaused=!1,this.skipEventFlag=!1,this.justCompleted=!1,this.lastTagStart=null,this.lastTagEnd=null,this.lastContent=null}shutdown(){this.destroyEventEmitter()}destroy(){this.shutdown()}setMultipleLinesTagEnable(t){return void 0===t&&(t=!0),this.multipleLinesTagEnable=t,this}setDelimiters(t,e){void 0===e&&(e=t[1],t=t[0]),this.delimiterLeft=t,this.delimiterRight=e,t=Zi(this.delimiterLeft),e=Zi(this.delimiterRight);var i=this.multipleLinesTagEnable?"gs":"gi";return this.reSplit=RegExp(`${t}(.+?)${e}`,i),this}setTranslateTagNameCallback(t){return this.translateTagNameCallback=t,this}setValueConverter(t){return!0===t?t=Qo:t||(t=eh),this.valueConverter=t,this}setLoopEnable(t){return void 0===t&&(t=!0),this.loopEnable=t,this}setSource(t){return this.source=t,this}resetIndex(t){return void 0===t&&(t=0),this.progressIndex=t,this.reSplit.lastIndex=t,this.lastTagStart=null,this.lastTagEnd=null,this.lastContent=null,this.justCompleted=!1,this.isRunning=!1,this}start(t){return this.setSource(t).restart(),this}restart(){this.resetIndex().next()}next(){if(this.isPaused&&this.onResume(),this.isRunning)return this;if(this.isRunning=!0,this.justCompleted)return this.isRunning=!1,this;0===this.reSplit.lastIndex&&this.onStart();var t=this.source,e=t.length;for(this.reSplit.lastIndex=this.progressIndex;;){var i=this.reSplit.exec(t);if(!i){if(this.progressIndex");this.setDelimiters(e[0],e[1])}setTagExpression(t){return t||(t=sh),this.tagExpression=t,this}setValueExpression(t){return t||(t=sh),this.valueExpression=t,this}setDelimiters(t,e){super.setDelimiters(t,e);var i=`(${this.tagExpression})(=(${this.valueExpression}))?`;if(this.reTag=RegExp(i,"i"),this.tagExpression!==sh||this.valueExpression!==sh){var s=`${this.tagExpression}(=${this.valueExpression})?`,r=`/${this.tagExpression}`;t=Zi(this.delimiterLeft),e=Zi(this.delimiterRight);var n=this.multipleLinesTagEnable?"gs":"gi";this.reSplit=RegExp(`${t}((${s})|(${r}))${e}`,n)}return this}onTag(t){var e=t.match(this.reTag),i=e[1],s="/"===i.charAt(0);if(s&&(i=i.substring(1,i.length)),this.translateTagNameCallback&&(i=this.translateTagNameCallback(i)),this.skipEventFlag=!1,s)this.emit(`-${i}`),this.skipEventFlag||this.emit("-",i),this.lastTagEnd=i;else{var r=function(t,e,i){if(null==t)return[];void 0===e&&(e=Qo),void 0===i&&(i=",");for(var s=t.split(i),r=0,n=s.length;r0){var n=this.timeline.addTimer({name:hl,target:s,duration:r.duration,yoyo:r.yoyo,onStart:r.onStart,onProgress:r.onProgress,onComplete:r.onComplete});this.skipTypingAnimation&&n.seek(1)}else r.onStart&&r.onStart(s,0);this.minSizeEnable&&this.textPlayer.setToMinSize(),this.textPlayer.emit("typing",s);var a=this.nextChild;if(a)if(this.skipSpaceEnable&&(e=a).type===rr&&" "===e.text);else if(i+=this.speed+t,t=0,i>0){this.typingTimer=this.timeline.addTimer({name:"delay",target:this,duration:i,onComplete:function(t,e,i){t.typingTimer=void 0,ll.call(t,i.remainder)}});break}}else ur(s)&&s.exec()}this.minSizeEnable&&this.textPlayer.setToMinSize(),this.inTypingProcessLoop=!1},dl=function(t){switch(t){case"camera.fadein":case"camera.fadeout":case"camera.flash":case"camera.shake":case"camera.zoom":case"camera.rotate":case"camera.scroll":return!0;default:return!1}},cl=function(t,e){var i=e.split(".");return t.gameObjectManagers.hasOwnProperty(i[0])},ul=function(t,e,i,s){var r=t.waitEventManager,n=e.split("."),a=n[0],o=t.getGameObjectManager(a),h=`wait.${a}`;switch(n.length){case 1:return r.waitGameObjectManagerEmpty(a),void t.emit(h);case 2:var l=n[1];return r.waitGameObjectDestroy(a,l),void t.emit(h,l);case 3:l=n[1];var d=n[2];if("number"==typeof o.getProperty(l,d))return r.waitGameObjectTweenComplete(a,l,d),void t.emit(h,l,d);var c=d,u=c.startsWith("!");return u&&(c=c.substring(1)),o.hasData(l,c)?(r.waitGameObjectDataFlag(a,l,c,!u),void t.emit(h,l,c)):void r.waitTime(0)}};const pl=Phaser.Input.Keyboard.KeyCodes;var gl=function(t,e,i,s){var r=t.waitEventManager;r.clearWaitCompleteCallbacks().addWaitCompleteCallback(i,s);for(var n=0,a=(e="string"==typeof e&&e.length>1&&-1!==e.indexOf("|")?e.split("|"):[e]).length;n0&&n.chainAnimation(i,s)},El=function(t){var e,i;[e,...i]=t,this.getGameObjectManager(e).stopAnimation(...i)},_l=function(t){var e,i;[e,...i]=t,this.getGameObjectManager(e).pauseAnimation(...i)},Rl=function(t){var e,i;[e,...i]=t,this.getGameObjectManager(e).chainAnimation(...i)};const Ll=[function(t,e,i){var s=i.name;e.on("+",(function(i,...r){if(!e.skipEventFlag){var n,a=i.split(".");Ol(a,s)&&(n=a[1],Cr.call(t,`${s}.play`,Ml,[s,n,r],t),e.skipEvent())}})).on("+",(function(i){if(!e.skipEventFlag){var r,n=i.split(".");(function(t,e){return 3===t.length&&t[0]===e&&"stop"===t[2]})(n,s)&&(r=n[1],Cr.call(t,`${s}.stop`,El,[s,r],t),e.skipEvent())}})).on("-",(function(i){if(!e.skipEventFlag){var r,n=i.split(".");Ol(n,s)&&(r=n[1],Cr.call(t,`${s}.stop`,El,[s,r],t),e.skipEvent())}}))},function(t,e,i){var s=i.name;e.on("+",(function(i){if(!e.skipEventFlag){var r,n=i.split(".");(function(t,e){return 3===t.length&&t[0]===e&&"pause"===t[2]})(n,s)&&(r=n[1],Cr.call(t,`${s}.pause`,_l,[s,r],t),e.skipEvent())}}))},function(t,e,i){var s=i.name;e.on("+",(function(i){if(!e.skipEventFlag){var r,n=i.split(".");if(function(t,e){return 3===t.length&&t[0]===e&&"chain"===t[2]}(n,s)){r=n[1];var a=Array.prototype.slice.call(arguments,1);Cr.call(t,`${s}.chain`,Rl,[s,r,a],t),e.skipEvent()}}}))}];var Bl=function(t){void 0===t&&(t={}),t.name="sprite",t.parseCallbacks=Ll,t.createGameObject=wl(t.createGameObject),this.addGameObjectManager(t,Tl)},Il=function(t,e){return 2===t.length&&t[0]===e},Dl=function(t){var e,i;[e,...i]=t,this.getGameObjectManager(e).add(...i)},Al=function(t){var e,i;[e,...i]=t,this.getGameObjectManager(e).remove(...i)},jl=function(t){this.getGameObjectManager(t).removeAll()},zl=function(t){var e,i,s,r;[e,i,s,...r]=t;var n=`${e}.${s}`;if(this.emit(n,i,...r),!(this.listenerCount(n)>0)){var a=this.getGameObjectManager(e);a.hasMethod(i,s)?a.call(i,s,...r):a.setProperty(i,s,r[0])}},Fl={to:!0,yoyo:!0,from:!0,toLeft:!0,toRight:!0,toUp:!0,toDown:!0,yoyoLeft:!0,yoyoRight:!0,yoyoUp:!0,yoyoDown:!0,fromLeft:!0,fromRight:!0,fromUp:!0,fromDown:!0},Xl=function(t){var e,i,s,r,n,a,o,h;[e,i,s,r,n,a,o,h]=t;var l=this.getGameObjectManager(e),d=l.getProperty(i,s);if("number"==typeof d){h.endsWith("Left")||h.endsWith("Up")?h.startsWith("to")||h.startsWith("yoyo")?r=d-r:h.startsWith("from")&&(l.setProperty(i,s,d-r),r=d):h.endsWith("Right")||h.endsWith("Down")?h.startsWith("to")||h.startsWith("yoyo")?r=d+r:h.startsWith("from")&&(l.setProperty(i,s,d+r),r=d):"from"===h&&(l.setProperty(i,s,r),r=d);var c=h.startsWith("yoyo");l.easeProperty(i,{property:s,value:r,duration:n,ease:a,repeat:o,yoyo:c})}};const Yl=[function(t,e,i){var s=i.name;e.on("+",(function(i,...r){if(!e.skipEventFlag){var n,a=i.split(".");Il(a,s)&&(n=a[1],Cr.call(t,`${s}.add`,Dl,[s,n,...r],t),e.skipEvent())}})).on("-",(function(i){if(!e.skipEventFlag){var r,n=i.split(".");Il(n,s)&&(r=n[1],Cr.call(t,`${s}.remove`,Al,[s,r],t),e.skipEvent())}}))},function(t,e,i){var s=i.name;e.on("-",(function(i){e.skipEventFlag||i===s&&(Cr.call(t,`${s}.removeall`,jl,s,t),e.skipEvent())}))},function(t,e,i){var s=i.name;e.on("+",(function(i,...r){if(!e.skipEventFlag){var n,a,o=i.split(".");(function(t,e){return 3===t.length&&t[0]===e})(o,s)&&(n=o[1],a=o[2],Cr.call(t,`${s}.call`,zl,[s,n,a,...r],t),e.skipEvent())}}))},function(t,e,i){var s=i.name;t.getGameObjectManager(s),e.on("+",(function(i,r,n,a,o){if(!e.skipEventFlag){var h,l,d,c=i.split(".");(function(t,e){return 4===t.length&&t[0]===e&&Fl[t[3]]})(c,s)&&(h=c[1],l=c[2],d=c[3],"number"==typeof a&&(o=a,a=void 0),Cr.call(t,`${s}.ease`,Xl,[s,h,l,r,n,a,o,d],t),e.skipEvent())}}))}],Wl=Go.addGameObjectManager;var Vl={addGameObjectManager(t,e){(t=t?Ge(t):{}).name||console.warn("[TextPlayer] Parameter 'name' is required in addGameObjectManager(config) method");var i=t.defaultLayer,s=t.createGameObject,r=this.layerManager;t.createGameObject=function(t,...e){var n=s.call(this,t,...e);return i&&r&&r.addToLayer(i,n),n},Wl.call(this,t,e);for(var n=t.parseCallbacks,a=0,o=(n=n?[...n,...Yl]:Yl).length;a0)return od.length=0,!0;return od.length=0,!1},od=[],hd=void 0;const ld=Phaser.Utils.Objects.GetValue;var dd=function(t,e,i){var s,r;for(var n in void 0===i&&(i={}),t)s=t[n],void 0!==(r=ld(e,n,s[1]))&&(i[s[0]]=r);return i},cd=function(t){t.addEventListener("touchstart",ud,!1),t.addEventListener("touchmove",ud,!1),t.addEventListener("touchend",ud,!1),t.addEventListener("mousedown",ud,!1),t.addEventListener("mouseup",ud,!1),t.addEventListener("mousemove",ud,!1)},ud=function(t){t.stopPropagation()},pd=function(){return this.close(),this.emit("keydown-ENTER",this.parent,this),this},gd=function(){this.isOpened=!0,this.initText(),this.enterCloseEnable&&this.scene.input.keyboard.once("keydown-ENTER",pd,this),this.scene.sys.events.on("postupdate",this.updateText,this),this.clickOutSideTarget?(ka.call(this.clickOutSideTarget,this.parent),Ca.call(this.clickOutSideTarget,this.parent),this.clickOutSideTarget.setInteractive().on("pointerdown",this.onClickOutside,this)):this.scene.input.on("pointerdown",this.onClickOutside,this),this.onOpenCallback&&this.onOpenCallback(this.parent,this),this.emit("open",this)},vd=function(){this.isOpened=!1,this.updateText(),this.enterCloseEnable&&this.scene.input.keyboard.off("keydown-ENTER",pd,this),this.scene.sys.events.off("postupdate",this.updateText,this),this.clickOutSideTarget?this.clickOutSideTarget.disableInteractive().off("pointerdown",this.onClickOutside,this):this.scene.input.off("pointerdown",this.onClickOutside,this),this.onCloseCallback&&this.onCloseCallback(this.parent,this),function(t){if(t){var e=t.parentElement;e&&e.removeChild(t)}}(this.node),this.node=void 0,this.emit("close",this)};const fd=Phaser.Utils.Objects.GetValue;var md=function(t,e){var i,s=fd(e,"inputType",void 0);void 0===s&&(s=fd(e,"type","text")),"textarea"===s?(i=document.createElement("textarea")).style.resize="none":(i=document.createElement("input")).type=s;var r=fd(e,"style",void 0),n=i.style;dd(sd,r,n),n.position="absolute",n.opacity=0,n.pointerEvents="none",n.zIndex=0,n.transform="scale(0)",dd(id,e,i),cd(i);var a=t.scene.sys.scale;return(a.isFullscreen?a.fullscreenTarget:document.body).appendChild(i),i.addEventListener("focus",(function(e){gd.call(t)})),i.addEventListener("blur",(function(e){vd.call(t)})),i},yd={open:function(){return this.isOpened||this.readOnly||((t=this)!==hd&&(void 0!==hd&&hd.close(),hd=t),this.node||(this.node=md(this,this.nodeConfig)),this.setFocus()),this;var t},close:function(){return this.isOpened?(this===hd&&(hd=void 0),this.setBlur(),this):this}};const bd=Phaser.Utils.Objects.GetValue;class xd extends Ba{constructor(t,e){super(t);var i=bd(e,"inputType",void 0);void 0===i&&(i=bd(e,"type","text")),this.setEnterCloseEnable(bd(e,"enterClose","textarea"!==i));var s=bd(e,"onOpen",void 0);s||(s=bd(e,"onFocus",void 0)),this.onOpenCallback=s,this.clickOutSideTarget=bd(e,"clickOutSideTarget",void 0);var r=bd(e,"onClose",void 0);r||(r=bd(e,"onBlur",void 0)),this.onCloseCallback=r,this.onUpdateCallback=bd(e,"onUpdate",void 0),this.isOpened=!1,t.on("pointerdown",(function(){this.open()}),this).setInteractive(),this.nodeConfig=function(t){void 0===t&&(t={});var e={};return rd(t,e,"inputType"),rd(t,e,"type"),rd(t,e,"style"),rd(t,e,sd),rd(t,e,id),e}(e),this.node=void 0}destroy(){this.close(),this.clickOutSideTarget&&this.clickOutSideTarget.destroy(),super.destroy()}onClickOutside(t){nd(this.parent,t)||this.close()}setEnterCloseEnable(t){return void 0===t&&(t=!0),this.enterCloseEnable=t,this}initText(){}updateText(){}get text(){return this.node?this.node.value:""}set text(t){this.node&&(this.node.value=t)}setText(t){return this.text=t,this}get maxLength(){return this.nodeConfig.maxLength}set maxLength(t){this.nodeConfig.maxLength=t,this.node&&(this.node.maxLength=t)}setMaxLength(t){return this.maxLength=t,this}get minLength(){return this.nodeConfig.minLength}set minLength(t){this.nodeConfig.minLength=t,this.node&&(this.node.minLength=t)}setMinLength(t){return this.minLength=t,this}get placeholder(){return this.node.placeholder}set placeholder(t){this.node&&(this.node.placeholder=t)}setPlaceholder(t){return this.placeholder=t,this}selectText(t,e){return this.node?(void 0===t?this.node.select():this.node.setSelectionRange(t,e),this):this}selectAll(){return this.selectText(),this}get selectionStart(){return this.node?this.node.selectionStart:0}get selectionEnd(){return this.node?this.node.selectionEnd:0}get selectedText(){if(!this.node)return"";var t=this.node;return t.value.substring(t.selectionStart,t.selectionEnd)}get cursorPosition(){return this.node?this.node.selectionStart:0}set cursorPosition(t){this.node&&this.node.setSelectionRange(t,t)}setCursorPosition(t){return void 0===t?t=this.text.length:t<0&&(t=this.text.length+t),this.cursorPosition=t,this}get tooltip(){return this.node?this.node.title:""}set tooltip(t){if(!this.node)return this;this.node.title=t}setTooltip(t){return this.tooltip=t,this}setTextChangedCallback(t){return this.onTextChanged=t,this}get readOnly(){return this.nodeConfig.readOnly}set readOnly(t){this.nodeConfig.readOnly=t,this.node&&(this.node.readOnly=t)}setReadOnly(t){return void 0===t&&(t=!0),this.readOnly=t,this}get spellCheck(){return this.node?this.node.spellcheck:""}set spellCheck(t){this.node&&(this.node.spellcheck=t)}setSpellCheck(t){return this.spellCheck=t,this}get fontColor(){if(this.node)return this.node.style.color}set fontColor(t){this.node&&(this.node.style.color=t)}setFontColor(t){return this.fontColor=t,this}setStyle(t,e){return this.node?(this.node.style[t]=e,this):this}getStyle(t){if(this.node)return this.node.style[t]}scrollToBottom(){return this.node?(this.node.scrollTop=this.node.scrollHeight,this):this}setEnabled(t){return this.node?(void 0===t&&(t=!0),this.node.disabled=!t,this):this}setBlur(){return this.node?(this.node.blur(),this):this}setFocus(){return this.node?(this.node.focus(),this):this}get isFocused(){return this.isOpened}}Object.assign(xd.prototype,yd);var Cd=function(t,e,i){t=t.replace(" ","");var s=i.previousText;if(t===s)return t;if(isNaN(t)){i.emit("nan",t,i),t=s;var r=i.cursorPosition-1;i.setText(t),i.setCursorPosition(r)}else i.previousText=t;return t},kd=function(t){var e=t.prevSelectionStart;if(null!==e){for(var i=t.prevSelectionEnd,s=t.parent,r=e;r=r&&h=i&&hi.length&&(t.prevCursorPosition=null),null!==t.prevCursorPosition&&(s=e.getCharChild(t.prevCursorPosition))&&("\n"===s.text&&s.clearTextSize(),e.emit("cursorout",s,t.prevCursorPosition,e)),null!=r&&(s=e.getCharChild(r))&&("\n"===s.text&&s.copyTextSize(e.lastInsertCursor),function(t){var e,i,s=t.parent,r=s.width,n=s.height,a=t.drawX,o=t.drawY,h=a+t.drawTLX,l=a+t.drawTRX,d=o+t.drawTLY,c=o+t.drawBLY;e=h<0?0-h:l>r?r-l:0,i=d<0?0-d:c>n?n-c:0,s._textOX+=e,s._textOY+=i}(s),e.emit("cursorin",s,r,e)),e.emit("movecursor",r,t.prevCursorPosition,e),t.prevCursorPosition=r)}(this)):(kd(this),wd(this)),this}setNumberInput(){return this.onUpdateCallback=Cd,this}setSelectAllWhenFocusEnable(t){return void 0===t&&(t=!0),this.selectAllWhenFocus=t,this}setRequestCursorPosition(t){return this.isOpened?(this.requestCursorPosition=t,this):this}};const Td=Phaser.Utils.Objects.GetValue,Od=["inputType","onOpen","clickOutSideTarget","onFocus","onClose","onBlur","onUpdate","enterClose","readOnly","maxLength","minLength","selectAll"];var Md=function(t,e){if(t&&"number"!=typeof t){if(t.hasOwnProperty(e))return!0;if(-1!==e.indexOf(".")){for(var i=e.split("."),s=t,r=0;r0))return e;return null}(e);if(i){e.setScrollFactor(0).setOrigin(.5);var s=t.sys.scale.gameSize,r=s.width,n=s.height,a=1/i.zoom,o=r/2,h=n/2,l=r*a,d=n*a;e.x===o&&e.y===h||e.setPosition(o,h),e.width===l&&e.height===d||e.setSize(l,d)}}}const Rd=Phaser.GameObjects.Zone;let Ld=class extends Rd{constructor(t){super(t,0,0,2,2),this.fullWindow=new _d(this)}};var Bd=function(t,e,i,s){if(void 0===i&&(i="."),void 0===s&&(s={}),!t)return s;if(e in t)return Object.assign(s,t[e]);for(var r in e+=i,t)r.startsWith(e)&&(s[r.replace(e,"")]=t[r]);return s},Id=function(){var t=this.scene.input.keyboard;this.textEdit.on("open",(function(){t.on("keydown-UP",this.cursorMoveUp,this).on("keydown-DOWN",this.cursorMoveDown,this)}),this).on("close",(function(){t.off("keydown-UP",this.cursorMoveUp,this).off("keydown-DOWN",this.cursorMoveDown,this)}),this)},Dd=function(t,e,i){if(void 0===i&&(i={}),Array.isArray(e))for(var s=0,r=e.length;st.length?i:t})),a.value=t.join(e)}else a.value=t.join(i.slice(o,o+a.count));o+=a.count,a.added||(h+=a.count)}}let l=e[a-1];return a>1&&"string"==typeof l.value&&(l.added||l.removed)&&t.equals("",l.value)&&(e[a-2].value+=l.value,e.pop()),e}Xd.prototype={diff(t,e,i={}){let s=i.callback;"function"==typeof i&&(s=i,i={}),this.options=i;let r=this;function n(t){return s?(setTimeout((function(){s(void 0,t)}),0),!0):t}t=this.castInput(t),e=this.castInput(e),t=this.removeEmpty(this.tokenize(t));let a=(e=this.removeEmpty(this.tokenize(e))).length,o=t.length,h=1,l=a+o;i.maxEditLength&&(l=Math.min(l,i.maxEditLength));let d=[{newPos:-1,components:[]}],c=this.extractCommon(d[0],e,t,0);if(d[0].newPos+1>=a&&c+1>=o)return n([{value:this.join(e),count:e.length}]);function u(){for(let s=-1*h;s<=h;s+=2){let h,l=d[s-1],c=d[s+1],u=(c?c.newPos:0)-s;l&&(d[s-1]=void 0);let p=l&&l.newPos+1=a&&u+1>=o)return n(Yd(r,h.components,e,t,r.useLongestToken));d[s]=h}else d[s]=void 0}var i;h++}if(s)!function t(){setTimeout((function(){if(h>l)return s();u()||t()}),0)}();else for(;h<=l;){let t=u();if(t)return t}},pushComponent(t,e,i){let s=t[t.length-1];s&&s.added===e&&s.removed===i?t[t.length-1]={count:s.count+1,added:e,removed:i}:t.push({count:1,added:e,removed:i})},extractCommon(t,e,i,s){let r=e.length,n=i.length,a=t.newPos,o=a-s,h=0;for(;a+1t,tokenize:t=>t.split(""),join:t=>t.join("")};const Wd=new Xd,Vd=/^[a-zA-Z\u{C0}-\u{FF}\u{D8}-\u{F6}\u{F8}-\u{2C6}\u{2C8}-\u{2D7}\u{2DE}-\u{2FF}\u{1E00}-\u{1EFF}]+$/u,Gd=/\S/,Hd=new Xd;Hd.equals=function(t,e){return this.options.ignoreCase&&(t=t.toLowerCase(),e=e.toLowerCase()),t===e||this.options.ignoreWhitespace&&!Gd.test(t)&&!Gd.test(e)},Hd.tokenize=function(t){let e=t.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/);for(let t=0;tvoid 0===i?e:i}=this.options;return"string"==typeof t?t:JSON.stringify(Kd(t,null,null,i),i," ")},$d.equals=function(t,e){return Xd.prototype.equals.call($d,t.replace(/,([\r\n])/g,"$1"),e.replace(/,([\r\n])/g,"$1"))};const Jd=new Xd;Jd.tokenize=function(t){return t.slice()},Jd.join=Jd.removeEmpty=function(t){return t};const qd=Phaser.Utils.Array.Remove;var Zd=function(t,e){var i=t.text;if(e!==i){if(null==i&&(i=""),qd(t.children,t.lastInsertCursor),""===e)t.removeChildren();else for(var s=(h=i,l=e,Wd.diff(h,l,d)),r=0,n=0,a=s.length;nr)i+=a;else{if(s!==r)break;i+=Math.min(e.position,a)}}return i},sc={cursorMoveLeft(){if(!this.isOpened)return this;var t=tc(this.cursorPosition-1,0,this.inputText.length);return this.setCursorPosition(t),this},cursorMoveRight(){if(!this.isOpened)return this;var t=tc(this.cursorPosition+1,0,this.inputText.length);return this.setCursorPosition(t),this},cursorMoveUp(){if(!this.isOpened)return this;var t=ec(this.characterCountOfLines,this.cursorPosition);t.lineIndex-=1;var e=tc(ic(this.characterCountOfLines,t),0,this.inputText.length);return this.setCursorPosition(e),this},cursorMoveDown(){if(!this.isOpened)return this;var t=ec(this.characterCountOfLines,this.cursorPosition);t.lineIndex+=1;var e=tc(ic(this.characterCountOfLines,t),0,this.inputText.length);return this.setCursorPosition(e),this}};const rc=Phaser.Utils.Objects.IsPlainObject;class nc extends ln{constructor(t,e,i,s,r,n){rc(e)?n=e:rc(s)&&(n=s),void 0===n&&(n={}),function(t,e){var i=!e.textArea;if(Md(e,"wrap.vAlign")||P(e,"wrap.vAlign",s=i?"center":"top"),Md(e,"wrap.wrapMode")||P(e,"wrap.wrapMode","char"),Md(e,"wrap.maxLines")||P(e,"wrap.maxLines",s=i?1:void 0),i&&P(e,"wrap.wrapWidth",1/0),Md(e,"wrap.useDefaultTextHeight")||P(e,"wrap.useDefaultTextHeight",!0),e.edit||(e.edit={}),!Md(e.edit,"inputType")){var s=i?"text":"textarea";P(e.edit,"inputType",s)}if(!0===e.clickOutSideTarget){var r=new Ld(t);t.add.existing(r),e.clickOutSideTarget=r}}(t,n);var a=n.text;a&&delete n.text;var o=Bd(n.background,"focus"),h=Bd(n.style,"cursor"),l=Bd(n.style,"range");super(t,e,i,s,r,n),this.type="rexCanvasInput",this.contentWidth=void 0,this.contentHeight=void 0,this.lineHeight=void 0,this.linesCount=void 0,this.characterCountOfLines=[],this._text,this.textEdit=function(t,e){var i=Td(e,"edit");return void 0===i&&(i={}),rd(e,i,Od),new Pd(t,i)}(this,n),Id.call(this),n.focusStyle&&Object.assign(o,n.focusStyle),Fd.call(this,o),n.cursorStyle&&Object.assign(h,n.cursorStyle),jd.call(this,h),n.rangeStyle&&Object.assign(l,n.rangeStyle),vn(l)&&Object.assign(l,h),zd.call(this,l);var d=n.onAddChar;d&&this.on("addchar",d);var c=n.onCursorIn;c&&this.on("cursorin",c);var u=n.onCursorOut;u&&this.on("cursorout",u);var p=!n.onRangeIn&&!n.onRangeOut,g=p?n.onCursorIn:n.onRangeIn;g&&this.on("rangein",g);var v=p?n.onCursorOut:n.onRangeOut;v&&this.on("rangeout",v);var f,m=n.onMoveCursor;m&&this.on("movecursor",m),this.setParseTextCallback(n.parseTextCallback),this.lastInsertCursor=((f=this.createCharChild("|")).text="",f),a||(a=""),this.setText(a)}addChild(t,e){if(super.addChild(t,e),Array.isArray(t))for(var i=t,s=0,r=i.length;s0,a=0,o=e.length;a0;this.dirty=this.dirty||this._radiusTL!==t||this._convexTL!==e,this._convexTL=e,this._radiusTL=Math.abs(t)}get radiusTR(){return this._radiusTR}set radiusTR(t){var e=t>0;this.dirty=this.dirty||this._radiusTR!==t||this._convexTR!==e,this._convexTR=e,this._radiusTR=Math.abs(t)}get radiusBL(){return this._radiusBL}set radiusBL(t){var e=t>0;this.dirty=this.dirty||this._radiusBL!==t||this._convexBL!==e,this._convexBL=e,this._radiusBL=Math.abs(t)}get radiusBR(){return this._radiusBR}set radiusBR(t){var e=t>0;this.dirty=this.dirty||this._radiusBR!==t||this._convexBR!==e,this._convexBR=e,this._radiusBR=Math.abs(t)}get radius(){return Math.max(this.radiusTL,this.radiusTR,this.radiusBL,this.radiusBR)}set radius(t){"number"==typeof t?(this.radiusTL=t,this.radiusTR=t,this.radiusBL=t,this.radiusBR=t):(this.radiusTL=qc(t,"tl",0),this.radiusTR=qc(t,"tr",0),this.radiusBL=qc(t,"bl",0),this.radiusBR=qc(t,"br",0))}setRadius(t){return void 0===t&&(t=0),this.radius=t,this}get iterations(){return this._iterations}set iterations(t){this.dirty=this.dirty||this._iterations!==t,this._iterations=t}setIterations(t){return this.iterations=t,this}updateData(){var t=this.pathData;t.length=0;var e,i=this.width,s=this.height,r=this.iterations+1;return(e=this.radiusTL)>0?this._convexTL?Bt(e,e,e,e,180,270,!1,r,t):Bt(0,0,e,e,90,0,!0,r,t):Rt(0,0,t),(e=this.radiusTR)>0?this._convexTR?Bt(i-e,e,e,e,270,360,!1,r,t):Bt(i,0,e,e,180,90,!0,r,t):Rt(i,0,t),(e=this.radiusBR)>0?this._convexBR?Bt(i-e,s-e,e,e,0,90,!1,r,t):Bt(i,s,e,e,270,180,!0,r,t):Rt(i,s,t),(e=this.radiusBL)>0?this._convexBL?Bt(e,s-e,e,e,90,180,!1,r,t):Bt(0,s,e,e,360,270,!0,r,t):Rt(0,s,t),t.push(t[0],t[1]),Lc(this.x,this.y,t),super.updateData(),this}}const Qc=Phaser.Renderer.WebGL.Utils.getTintAppendFloatAlpha;var tu={buildShapes(){this.addShape((new Zc).setName("box")).addShape((new Kc).setName("checker"))},updateShapes(){var t=this.width/2,e=this.height/2,i=Math.min(t,e),s=2*i,r=t-i,n=e-i,a=this.boxLineWidth,o=Math.max(s/10,2),h=this.getShape("box"),l=this.getShape("checker");if(this.isSizeChanged){var d=s*(1-this.boxSize)/2,c=a/2,u=s*this.boxSize-a;h.setTopLeftPosition(r+c+d,n+c+d).setSize(u,u),this.isCircleShape?h.setRadius(u/2):h.setRadius(0),d=s*(1-this.checkerSize)/2;var p=s*this.checkerSize/4,g=1*p,v=2*p,f=3*p;l.startAt(g,v).lineTo(v,f).lineTo(f,g).offset(r+d,n+d).end()}this.checked?(h.fillStyle(this.boxFillColor,this.boxFillAlpha).lineStyle(a,this.boxStrokeColor,this.boxStrokeAlpha),l.lineStyle(o,this.checkerColor)):(h.fillStyle(this.uncheckedBoxFillColor,this.uncheckedBoxFillAlpha).lineStyle(a,this.uncheckedBoxStrokeColor,this.uncheckedBoxStrokeAlpha),l.lineStyle()),this.checked&&l.setDisplayPathSegment(this.checkerAnimProgress)}};const eu=Phaser.Utils.Objects.GetValue,iu=Phaser.Math.Linear;class su extends Za{constructor(t,e){super(t,e),this.resetFromJSON(),this.boot()}start(t){if(this.timer.isRunning)return this;var e=this.target;this.propertyKey=eu(t,"key","value");var i=e[this.propertyKey];return this.fromValue=eu(t,"from",i),this.toValue=eu(t,"to",i),this.setEase(eu(t,"ease",this.ease)),this.setDuration(eu(t,"duration",this.duration)),this.setRepeat(eu(t,"repeat",0)),this.setDelay(eu(t,"delay",0)),this.setRepeatDelay(eu(t,"repeatDelay",0)),this.timer.setDuration(this.duration).setRepeat(this.repeat).setDelay(this.delay).setRepeatDelay(this.repeatDelay),e[this.propertyKey]=this.fromValue,super.start(),this}updateTarget(t,e){var i=e.t;i=this.easeFn(i),t[this.propertyKey]=iu(this.fromValue,this.toValue,i)}}var ru={setCheckerAnimationDuration(t){return void 0===t&&(t=0),this.checkerAnimDuration=t,this},playCheckerAnimation(){return void 0===this.checkerAnimProgressTask&&(this.checkerAnimProgressTask=new su(this,{eventEmitter:null})),this.checkerAnimProgressTask.restart({key:"checkerAnimProgress",from:0,to:1,duration:this.checkerAnimDuration}),this},stopCheckerAnimation(){return void 0===this.checkerAnimProgressTask||this.checkerAnimProgressTask.stop(),this}},nu={};Object.assign(nu,mc,yc,tu,ru);const au=23730,ou=Phaser.Utils.Objects.GetValue,hu=Phaser.Utils.Objects.IsPlainObject;class lu extends fc{constructor(t,e,i,s,r,n,a){hu(e)?(e=ou(a=e,"x",0),i=ou(a,"y",0),s=ou(a,"width",2),r=ou(a,"height",2),n=ou(a,"color",au)):hu(n)&&(n=ou(a=n,"color",au)),super(t,e,i,s,r),this.type="rexCheckbox",void 0===n&&(n=au),this.setBoxShape(ou(a,"circleBox",!1)),this.setBoxFillStyle(n,ou(a,"boxFillAlpha",1)),this.setUncheckedBoxFillStyle(ou(a,"uncheckedColor",null),ou(a,"uncheckedBoxFillAlpha",1)),this.setBoxStrokeStyle(ou(a,"boxLineWidth",4),ou(a,"boxStrokeColor",n),ou(a,"boxStrokeAlpha",1)),this.setUncheckedBoxStrokeStyle(this.boxLineWidth,ou(a,"uncheckedBoxStrokeColor",this.boxStrokeColor),ou(a,"uncheckedBoxStrokeAlpha",this.boxStrokeAlpha)),this.setCheckerStyle(ou(a,"checkerColor",16777215),ou(a,"checkerAlpha",1)),this.setBoxSize(ou(a,"boxSize",1)),this.setCheckerSize(ou(a,"checkerSize",1)),this.setCheckerAnimationDuration(ou(a,"animationDuration",150)),this.buildShapes();var o=ou(a,"checked");void 0===o&&(o=ou(a,"value",!1)),this.setValue(o)}get value(){return this._value}set value(t){t=!!t,this._value!==t&&(this.dirty=!0,this._value=t,t?this.playCheckerAnimation():this.stopCheckerAnimation(),this.emit("valuechange",t))}setValue(t){return this.value=t,this}toggleValue(){return this.setValue(!this.value),this}get checked(){return this.value}set checked(t){this.value=t}setChecked(t){return void 0===t&&(t=!0),this.setValue(t),this}toggleChecked(){return this.toggleValue(),this}get checkerAnimProgress(){return this._checkerAnimProgress}set checkerAnimProgress(t){this._checkerAnimProgress!==t&&(this._checkerAnimProgress=t,this.dirty=!0)}}Object.assign(lu.prototype,nu);const du=Phaser.Utils.Objects.GetValue;class cu extends Ba{constructor(t,e){super(t,e),this._enable=void 0,t.setInteractive(du(e,"inputConfig",void 0)),this.resetFromJSON(e),this.boot()}resetFromJSON(t){return this.pointer=void 0,this.lastClickTime=void 0,this.isDown=!1,this.isOver=!1,this.setEnable(du(t,"enable",!0)),this.setMode(du(t,"mode",1)),this.setClickInterval(du(t,"clickInterval",100)),this.setDragThreshold(du(t,"threshold",void 0)),this}boot(){var t=this.parent;t.on("pointerdown",this.onPress,this),t.on("pointerup",this.onRelease,this),t.on("pointerout",this.onPointOut,this),t.on("pointermove",this.onMove,this),t.on("pointerover",this.onOver,this),t.on("pointerout",this.onOut,this)}shutdown(t){this.isShutdown||(this.pointer=null,super.shutdown(t))}get enable(){return this._enable}set enable(t){if(this._enable!==t){t||this.cancel(),this._enable=t;var e=t?"enable":"disable";this.emit(e,this,this.parent)}}setEnable(t){return void 0===t&&(t=!0),this.enable=t,this}toggleEnable(){return this.setEnable(!this.enable),this}setMode(t){return"string"==typeof t&&(t=uu[t]),this.mode=t,this}setClickInterval(t){return this.clickInterval=t,this}setDragThreshold(t){return this.dragThreshold=t,this}onPress(t,e,i,s){void 0===this.pointer&&(this.pointer=t,this.isDown=!0,this.emit("down",this,this.parent,t,s),0===this.mode&&this.click(t.downTime,t,s))}onRelease(t,e,i,s){this.pointer===t&&(this.isDown=!1,this.emit("up",this,this.parent,t,s),1===this.mode&&this.click(t.upTime,t,s),this.pointer=void 0)}onPointOut(t,e){this.pointer===t&&this.cancel()}onMove(t,e,i,s){this.pointer===t&&void 0!==this.dragThreshold&&1===this.mode&&t.getDistance()>=this.dragThreshold&&this.cancel()}onOver(t,e,i,s){return this.enable?(this.isOver=!0,this.emit("over",this,this.parent,t,s),this):this}onOut(t,e){return this.enable?(this.isOver=!1,this.emit("out",this,this.parent,t,e),this):this}click(t,e,i){if(!this.enable)return this;if(void 0===t)return this.emit("click",this,this.parent,e,i),this;this.pointer=void 0;var s=this.lastClickTime;return void 0!==s&&t-s<=this.clickInterval||(this.lastClickTime=t,this.emit("click",this,this.parent,e,i)),this}cancel(){return this.pointer=void 0,this}}const uu={press:0,pointerdown:0,release:1,pointerup:1},pu=Phaser.Utils.Objects.GetValue,gu=Phaser.Utils.Objects.IsPlainObject;class vu extends lu{constructor(t,e,i,s,r,n,a){gu(e)?(e=pu(a=e,"x",0),i=pu(a,"y",0),s=pu(a,"width",2),r=pu(a,"height",2),n=pu(a,"color",au)):gu(n)&&(n=pu(a=n,"color",au)),super(t,e,i,s,r,n,a),this._click=new cu(this,pu(a,"click")),this._click.on("click",(function(){this.toggleValue()}),this),this.setReadOnly(pu(a,"readOnly",!1))}get readOnly(){return!this._click.enable}set readOnly(t){this._click.enable=!t}setReadOnly(t){return void 0===t&&(t=!0),this.readOnly=t,this}}t.register("checkbox",(function(t,e,i,s,r,n){var a=new vu(this.scene,t,e,i,s,r,n);return this.scene.add.existing(a),a})),P(window,"RexPlugins.UI.Checkbox",vu);var fu={setTrackFillStyle(t,e){return void 0===e&&(e=1),this.dirty=this.dirty||this.trackFillColor!==t||this.trackFillAlpha!==e,this.trackFillColor=t,this.trackFillAlpha=e,this},setFalseValueTrackFillStyle(t,e){return void 0===e&&(e=1),this.dirty=this.dirty||this.falseValueTrackColor!==t||this.uncheckedTrackFillAlpha!==e,this.falseValueTrackColor=t,this.falseValueTrackFillAlpha=e,this},setThumbStyle(t,e){return void 0===e&&(e=1),this.dirty=this.dirty||this.thumbColor!==t||this.checkAlpha!==e,this.thumbColor=t,this.thumbAlpha=e,this}},mu={setTrackSize(t,e){return this.dirty=this.dirty||this.trackWidth!==t||this.trackHeight!==e,this.trackWidth=t,this.trackHeight=e,this},setTrackRadius(t){return this.dirty=this.dirty||this.trackRadius!==t,this.trackRadius=t,this},setThumbSize(t,e){return void 0===e&&(e=t),this.dirty=this.dirty||this.thumbWidth!==t||this.thumbHeight!==e,this.thumbWidth=t,this.thumbHeight=e,this},setThumbRadius(t){return this.dirty=this.dirty||this.thumbRadius!==t,this.thumbRadius=t,this}},yu={setThumbPosition(t,e){return void 0===e&&(e=1-t),this.thumbLeftX=t,this.thumbRightX=e,this},setRTL(t){return void 0===t&&(t=!0),this.rtl=t,this}},bu=function(t,e,i){return(e-t)*i+t};const xu=Phaser.Math.Linear;var Cu={buildShapes(){this.addShape((new Zc).setName("track")).addShape((new Zc).setName("thumb"))},updateShapes(){var t=this.width,e=this.height,i=this.value?this.toggleAnimProgress:1-this.toggleAnimProgress,s=this.getShape("track");if(this.isSizeChanged){var r=t*this.trackWidth,n=e*this.trackHeight,a=(t-r)/2,o=(e-n)/2,h=e*this.trackRadius;s.setTopLeftPosition(a,o).setSize(r,n).setRadius(h)}var l,d,c,u=(l=this.falseValueTrackColor,d=this.trackFillColor,c=i,(255&bu(yn(l),yn(d),c))<<16|(255&bu(bn(l),bn(d),c))<<8|255&bu(xn(l),xn(d),c)),p=xu(this.falseValueTrackFillAlpha,this.trackFillAlpha,i);s.fillStyle(u,p);var g=this.getShape("thumb");if(this.isSizeChanged){var v=t*this.thumbWidth,f=e*this.thumbHeight,m=e*this.thumbRadius;g.setSize(v,f).setRadius(m)}var y=xu(this.thumbLeftX,this.thumbRightX,i)*t;this.rtl&&(y=t-y);var b=e/2;g.setCenterPosition(y,b),g.fillStyle(this.thumbColor,this.thumbAlpha)}},ku={setToggleAnimationDuration(t){return void 0===t&&(t=0),this.toggleAnimDuration=t,this},playToggleAnimation(){return void 0===this.toggleAnimProgressTask&&(this.toggleAnimProgressTask=new su(this,{eventEmitter:null})),this.toggleAnimProgressTask.restart({key:"toggleAnimProgress",from:0,to:1,duration:this.toggleAnimDuration}),this},stopToggleAnimation(){return void 0===this.toggleAnimProgressTask||this.toggleAnimProgressTask.stop(),this}},wu={};Object.assign(wu,fu,mu,yu,Cu,ku);const Su=Phaser.Utils.Objects.GetValue,Pu=Phaser.Utils.Objects.IsPlainObject,Tu=23730;class Ou extends fc{constructor(t,e,i,s,r,n,a){Pu(e)?(e=Su(a=e,"x",0),i=Su(a,"y",0),s=Su(a,"width",2),r=Su(a,"height",2),n=Su(a,"color",Tu)):Pu(n)&&(n=Su(a=n,"color",Tu)),super(t,e,i,s,r),this.type="rexToggleSwitch",void 0===n&&(n=Tu),this.setTrackFillStyle(n,Su(a,"trackFillAlpha",1)),this.setFalseValueTrackFillStyle(Su(a,"falseValueTrackColor",function(t){var e=.3*yn(t)+.59*bn(t)+.11*xn(t);return(255&e)<<16|(255&e)<<8|255&e}(n)),Su(a,"falseValueTrackFillAlpha",1)),this.setThumbStyle(Su(a,"thumbColor",16777215),Su(a,"thumbAlpha",1)),this.setTrackSize(Su(a,"trackWidth",.9),Su(a,"trackHeight",.5)),this.setTrackRadius(Su(a,"trackRadius",.5*this.trackHeight));var o=Su(a,"thumbHeight",void 0),h=Su(a,"thumbWidth",o);void 0===h&&(h=.9*this.trackHeight),this.setThumbSize(h,o),this.setThumbRadius(Su(a,"thumbRadius",.5*this.thumbHeight)),this.setThumbPosition(Su(a,"thumbLeft",.3),Su(a,"thumbRight",void 0)),this.setRTL(Su(a,"rtl",!1)),this.setToggleAnimationDuration(Su(a,"animationDuration",150)),this.buildShapes(),this.setValue(Su(a,"value",!1),0)}get value(){return this._value}set value(t){t=!!t,this._value!==t&&(this.dirty=!0,this._value=t,this.playToggleAnimation(),this.emit("valuechange",t))}setValue(t,e){void 0===e&&(e=this.toggleAnimDuration);var i=this.toggleAnimDuration;return this.toggleAnimDuration=e,this.value=t,this.toggleAnimDuration=i,this}toggleValue(t){return this.setValue(!this.value,t),this}get toggleAnimProgress(){return this._toggleAnimProgress}set toggleAnimProgress(t){this._toggleAnimProgress!==t&&(this._toggleAnimProgress=t,this.dirty=!0)}}Object.assign(Ou.prototype,wu);const Mu=Phaser.Utils.Objects.GetValue;class Eu extends Ou{constructor(t,e,i,s,r,n,a){super(t,e,i,s,r,n,a),this._click=new cu(this,Mu(a,"click")),this._click.on("click",(function(){this.toggleValue()}),this),this.setReadOnly(Mu(a,"readOnly",!1))}get readOnly(){return!this._click.enable}set readOnly(t){this._click.enable=!t}setReadOnly(t){return void 0===t&&(t=!0),this.readOnly=t,this}}t.register("toggleSwitch",(function(t,e,i,s,r,n){var a=new Eu(this.scene,t,e,i,s,r,n);return this.scene.add.existing(a),a})),P(window,"RexPlugins.UI.ToggleSwitch",Eu);var _u={loadFromURL(t,e){var i=this,s=new Image;return s.onload=function(){i.width!==s.width||i.height!==s.height?i.resize(s.width,s.height):i.clear(),i.context.drawImage(s,0,0),i.updateTexture(),e&&e(),s.onload=null,s.src="",s.remove()},s.src=t,this},loadFromURLPromise(t){var e=this;return new Promise((function(i,s){e.loadFromURL(t,i)}))},loadFromFile(t,e){var i=URL.createObjectURL(t);return this.loadFromURL(i,(function(){URL.revokeObjectURL(i),e&&e()})),this},loadFromFilePromise(t){var e=this;return new Promise((function(i,s){e.loadFromFile(t,i)}))}};class Ru extends $t{}Object.assign(Ru.prototype,_u),t.register("canvas",(function(t,e,i,s){var r=new Ru(this.scene,t,e,i,s);return this.scene.add.existing(r),r})),P(window,"RexPlugins.UI.Canvas",Ru);const Lu=Phaser.Utils.Objects.GetValue;class Bu extends $t{constructor(t,e,i,s,r,n){super(t,e,i),this.type="rexCircleMaskImage",this.setTexture(s,r,n)}setTexture(t,e,i){"object"==typeof e&&(i=e,e=void 0),"string"==typeof i&&(i={maskType:i});var s=Lu(i,"maskType",0),r=Lu(i,"backgroundColor",void 0),n=Lu(i,"strokeColor",void 0),a=Lu(i,"strokeWidth",null!=n?10:0);if(void 0===s?s=0:"string"==typeof s&&(s=Iu[s]),this._textureKey=t,this._frameName=e,null===s)return this.loadTexture(t,e),this.dirty=!0,this;var o=this.scene.sys.textures.getFrame(t,e);if(!o)return this;o.cutWidth!==this.width||o.cutHeight!==this.height?this.setCanvasSize(o.cutWidth,o.cutHeight):this.clear();var h=this.canvas,l=this.context,d=h.width,c=h.height;null!=r&&(l.fillStyle=r,l.fillRect(0,0,d,c)),l.save(),l.beginPath();var u=a/2;switch(s){case 1:var p=(m=Math.floor(d/2))-u,g=(y=Math.floor(c/2))-u;l.ellipse(m,y,p,g,0,0,2*Math.PI);break;case 2:var v=Lu(i,"radius",0),f=Lu(i,"iteration",void 0);Qt(l,u,u,d-a,c-a,v,f);break;default:var m=Math.floor(d/2),y=Math.floor(c/2),b=Math.min(m,y)-u;l.arc(m,y,b,0,2*Math.PI)}return null!=n&&(l.strokeStyle=n,l.lineWidth=a,l.stroke()),l.clip(),this.loadTexture(t,e),l.restore(),this.dirty=!0,this}resize(t,e){return this.setDisplaySize(t,e),this}}const Iu={circle:0,ellipse:1,roundRectangle:2};t.register("circleMaskImage",(function(t,e,i,s,r){var n=new Bu(this.scene,t,e,i,s,r);return this.scene.add.existing(n),n})),P(window,"RexPlugins.UI.CircleMaskImage",Bu);const Du=Phaser.Utils.Objects.GetValue;class Au extends $t{constructor(t,e,i,s,r,n){super(t,e,i),this.type="rexAlphaMaskImage",this.maskFrame=null,this.setTexture(s,r,n)}setTexture(t,e,i){"object"==typeof e&&(i=e,e=void 0),"string"==typeof i&&(i={mask:{key:i}});var s=Du(i,"mask.key"),r=Du(i,"mask.frame"),n=Du(i,"mask.invertAlpha",!1),a=Du(i,"mask.scale"),o=Du(i,"backgroundColor");if(s){this._maskKey=s,this._maskFrame=r,this._maskScale=a;var h=s?this.scene.sys.textures.get(s):null;this.maskFrame=h?h.get(r):null}this._textureKey=t,this._frameName=e;var l=this.maskFrame;if(null===l)return this.loadTexture(t,e),this.dirty=!0,this;var d=null!=o;this.loadTexture(t,e);var c,u,p=this.canvas,g=this.context,v=p.width,f=p.height;g.save(),g.globalCompositeOperation=n?"destination-out":"destination-in",null!=this._maskScale?(c=l.cutWidth*this._maskScale,u=l.cutHeight*this._maskScale):(c=v,u=f);var m=(v-c)/2,y=(f-u)/2;return this.drawFrame(this._maskKey,this._maskFrame,m,y,c,u),g.restore(),d&&(g.save(),g.globalCompositeOperation="destination-over",g.fillStyle=o,g.fillRect(0,0,v,f),g.restore()),this.dirty=!0,this}resize(t,e){return this.setDisplaySize(t,e),this}}t.register("alphaMaskImage",(function(t,e,i,s,r){var n=new Au(this.scene,t,e,i,s,r);return this.scene.add.existing(n),n})),P(window,"RexPlugins.UI.AlphaMaskImage",Au);const ju=Phaser.Math.Linear,zu=Phaser.Math.Percent;var Fu={setValue(t,e,i){return null==t||(void 0!==e&&(t=zu(t,e,i)),this.value=t),this},addValue(t,e,i){return void 0!==e&&(t=zu(t,e,i)),this.value+=t,this},getValue(t,e){var i=this.value;return void 0!==t&&(i=ju(t,e,i)),i}};const Xu=Phaser.Math.Percent;var Yu={setEaseValuePropName:function(t){return this.easeValuePropName=t,this},setEaseValueDuration:function(t){return this.easeValueDuration=t,this},setEaseValueFunction:function(t){return this.easeFunction=t,this},stopEaseValue:function(){return this.easeValueTask&&this.easeValueTask.stop(),this},easeValueTo:function(t,e,i){return null==t||(void 0!==e&&(t=Xu(t,e,i)),void 0===this.easeValueTask&&(this.easeValueTask=new su(this,{eventEmitter:null})),this.easeValueTask.restart({key:this.easeValuePropName,to:t,duration:this.easeValueDuration,ease:this.easeFunction})),this},easeValueRepeat:function(t,e,i,s){return void 0===i&&(i=-1),void 0===s&&(s=0),void 0===this.easeValueTask&&(this.easeValueTask=new su(this,{eventEmitter:null})),this.easeValueTask.restart({key:this.easeValuePropName,from:t,to:e,duration:this.easeValueDuration,ease:this.easeFunction,repeat:i,repeatDelay:s}),this}};const Wu=Phaser.Utils.Objects.GetValue,Vu=Phaser.Math.Clamp;function Gu(t){class e extends t{bootProgressBase(t){this.eventEmitter=Wu(t,"eventEmitter",this);var e=Wu(t,"valuechangeCallback",null);if(null!==e){var i=Wu(t,"valuechangeCallbackScope",void 0);this.eventEmitter.on("valuechange",e,i)}return this.setEaseValuePropName("value").setEaseValueDuration(Wu(t,"easeValue.duration",0)).setEaseValueFunction(Wu(t,"easeValue.ease","Linear")),this}get value(){return this._value}set value(t){t=Vu(t,0,1);var e=this._value,i=e!=t;this.dirty=this.dirty||i,this._value=t,i&&this.eventEmitter.emit("valuechange",this._value,e,this.eventEmitter)}}return Object.assign(e.prototype,Fu,Yu),e}const Hu=Phaser.Math.RadToDeg,Uu=Phaser.Math.DegToRad;var Nu=function(t,e,i,s,r,n,a,o){var h=360===Math.abs(a-n),l=Uu(n),d=Uu(a),c=Math.cos(l),u=Math.sin(l),p=Math.cos(d),g=Math.sin(d);return t.startAt(e+c*s,i+u*s),t.arc(e,i,s,n,a,o),h&&0===r||(t.lineTo(e+p*r,i+g*r),r>0&&t.arc(e,i,r,a,n,!o)),t.close(),t},$u={buildShapes(){var t=this.iterations;this.addShape((new Kc).setIterations(t).setName("track")).addShape((new Kc).setIterations(t).setName("bar")).addShape((new Pc).setIterations(t).setName("center"))},updateShapes(){var t=this.radius,e=this.thickness*this.radius,i=this.radius,s=i-e,r=this.getShape("track");null!=this.trackColor&&this.thickness>0?(r.fillStyle(this.trackColor),Nu(r,t,t,i,s,0,360,!1)):r.reset();var n,a,o,h=this.getShape("bar");null!=this.barColor&&this.thickness>0?(1===this.value?(n=!1,a=0,o=360):(n=this.anticlockwise,a=Hu(this.startAngle),o=360*(n?1-this.value:this.value)+a),h.fillStyle(this.barColor),Nu(h,t,t,i+1,s-1,a,o,!1)):h.reset();var l=this.getShape("center");this.centerColor&&s>0?l.setCenterPosition(t,t).setRadius(s).fillStyle(this.centerColor):l.reset()}};const Ku=Phaser.Utils.Objects.GetValue,Ju=Phaser.Utils.Objects.IsPlainObject,qu=Phaser.Math.Clamp,Zu=Phaser.Math.DegToRad(270);let Qu=class extends(Gu(fc)){constructor(t,e,i,s,r,n,a){Ju(e)&&(e=Ku(a=e,"x",0),i=Ku(a,"y",0),s=Ku(a,"radius",1),r=Ku(a,"barColor",void 0),n=Ku(a,"value",0)),void 0===s&&(s=1);var o=2*s;super(t,e,i,o,o),this.type="rexCircularProgress",this.bootProgressBase(a),this.setRadius(s),this.setTrackColor(Ku(a,"trackColor",void 0)),this.setBarColor(r),this.setCenterColor(Ku(a,"centerColor",void 0)),this.setThickness(Ku(a,"thickness",.2)),this.setStartAngle(Ku(a,"startAngle",Zu)),this.setAnticlockwise(Ku(a,"anticlockwise",!1)),this.iterations=Ku(a,"iterations",128),this.buildShapes(),this.setValue(n)}resize(t,e){return(t=Math.floor(Math.min(t,e)))===this.width||(super.resize(t,t),this.setRadius(t/2)),this}get radius(){return this._radius}set radius(t){this.dirty=this.dirty||this._radius!=t,this._radius=t;var e=2*t;this.resize(e,e)}setRadius(t){return this.radius=t,this}get trackColor(){return this._trackColor}set trackColor(t){this.dirty=this.dirty||this._trackColor!=t,this._trackColor=t}setTrackColor(t){return this.trackColor=t,this}get barColor(){return this._barColor}set barColor(t){this.dirty=this.dirty||this._barColor!=t,this._barColor=t}setBarColor(t){return this.barColor=t,this}get startAngle(){return this._startAngle}set startAngle(t){this.dirty=this.dirty||this._startAngle!=t,this._startAngle=t}setStartAngle(t){return this.startAngle=t,this}get anticlockwise(){return this._anticlockwise}set anticlockwise(t){this.dirty=this.dirty||this._anticlockwise!=t,this._anticlockwise=t}setAnticlockwise(t){return void 0===t&&(t=!0),this.anticlockwise=t,this}get thickness(){return this._thickness}set thickness(t){t=qu(t,0,1),this.dirty=this.dirty||this._thickness!=t,this._thickness=t}setThickness(t){return this.thickness=t,this}get centerColor(){return this._centerColor}set centerColor(t){this.dirty=this.dirty||this._centerColor!=t,this._centerColor=t}setCenterColor(t){return this.centerColor=t,this}};Object.assign(Qu.prototype,$u),t.register("circularProgress",(function(t,e,i,s,r,n){var a=new Qu(this.scene,t,e,i,s,r,n);return this.scene.add.existing(a),a})),P(window,"RexPlugins.UI.CircularProgress",Qu);var tp=function(t,e,i,s,r,n,a,o,h,l,d,c){void 0===l&&(l=0),void 0===d&&(d=2*Math.PI),void 0===c&&(c=!1),e.beginPath(),e.ellipse(i,s,r,n,0,l,d,c),null!=a&&(e.fillStyle=a,e.fill()),null!=o&&(e.strokeStyle=o,e.lineWidth=h,e.stroke())};const ep=Phaser.Math.PI2;var ip=function(){var t,e=this.radius,i=this.thickness*this.radius,s=this.radius-i/2,r=this.radius-i,n=(this.canvas,this.context),a=this.anticlockwise,o=this.startAngle,h=this.endAngle,l=this._deltaAngle;if(this.trackColor&&i>0&&(n.save(),tp(0,n,e,e,s,s,void 0,this.trackColor,i,o,h,a),n.restore()),this.barColor&&s>0){var d,c;if(d=this.value>=1?h:a?(o-l*this.value+ep)%ep:(o+l*this.value)%ep,n.save(),this.barColor2){var u=e+s*Math.cos(o),p=e+s*Math.sin(o),g=e+s*Math.cos(d),v=e+s*Math.sin(d),f=n.createLinearGradient(u,p,g,v);f.addColorStop(0,this.barColor2),f.addColorStop(1,this.barColor),c=f}else c=this.barColor;tp(0,n,e,e,s,s,void 0,c,i,o,d,a),n.restore()}this.centerColor&&r>0&&(this.centerColor2?((t=this.context.createRadialGradient(e,e,0,e,e,r)).addColorStop(0,this.centerColor),t.addColorStop(1,this.centerColor2)):t=this.centerColor,n.save(),tp(0,n,e,e,r,r,t),n.restore()),this.textFormatCallback&&(this.textColor||this.textStrokeColor)&&(n.save(),function(t,e,i,s,r,n,a,o,h,l,d){void 0===h&&null!=o&&(h=2),void 0===l&&(l="start"),void 0===d&&(d="alphabetic"),e.font=n,e.textAlign=l,e.textBaseline=d,e.fillStyle=a,e.strokeStyle=o,e.lineWidth=h,e.lineCap="round",e.lineJoin="round",null!=o&&"none"!==o&&h>0&&e.strokeText(r,i,s),null!=a&&"none"!==a&&e.fillText(r,i,s)}(0,n,e,e,this.getFormatText(),this.textFont,this.textColor,this.textStrokeColor,this.textStrokeThickness,"center","middle"),n.restore())};const sp=Phaser.Utils.Objects.GetValue,rp=Phaser.Utils.Objects.IsPlainObject,np=Phaser.Math.Clamp,ap=Phaser.Math.DegToRad(270),op=Phaser.Math.PI2;class hp extends(Gu($t)){constructor(t,e,i,s,r,n,a){rp(e)&&(e=sp(a=e,"x",0),i=sp(a,"y",0),s=sp(a,"radius",1),r=sp(a,"barColor",void 0),n=sp(a,"value",0));var o=2*s;super(t,e,i,o,o,sp(a,"resolution",1)),this.type="rexCircularProgressCanvas",this.bootProgressBase(a),this.setRadius(s),this.setTrackColor(sp(a,"trackColor",void 0)),this.setBarColor(r),this.setBarColor2(sp(a,"barColor2",void 0)),this.setCenterColor(sp(a,"centerColor",void 0)),this.setThickness(sp(a,"thickness",.2)),this.setStartAngle(sp(a,"startAngle",ap)),this.setEndAngle(sp(a,"endAngle",this.startAngle+op)),this.setAnticlockwise(sp(a,"anticlockwise",!1)),this.setTextColor(sp(a,"textColor",void 0)),this.setTextStrokeColor(sp(a,"textStrokeColor",void 0),sp(a,"textStrokeThickness",void 0));var h=sp(a,"textFont",void 0);h?this.setTextFont(h):this.setTextFont(sp(a,"textSize","16px"),sp(a,"textFamily","Courier"),sp(a,"textStyle","")),this.setTextFormatCallback(sp(a,"textFormatCallback",void 0),sp(a,"textFormatCallbackScope",void 0)),this.setValue(n)}resize(t,e){return(t=Math.floor(Math.min(t,e)))===this.width||(super.resize(t,t),this.setRadius(t/2)),this}get radius(){return this._radius}set radius(t){this.dirty=this.dirty||this._radius!=t,this._radius=t;var e=2*t;this.resize(e,e)}setRadius(t){return this.radius=t,this}get trackColor(){return this._trackColor}set trackColor(t){t=qt(t,this.canvas,this.context),this.dirty=this.dirty||this._trackColor!=t,this._trackColor=t}setTrackColor(t){return this.trackColor=t,this}get barColor(){return this._barColor}set barColor(t){t=qt(t,this.canvas,this.context),this.dirty=this.dirty||this._barColor!=t,this._barColor=t}setBarColor(t){return this.barColor=t,this}get barColor2(){return this._barColor2}set barColor2(t){t=qt(t,this.canvas,this.context),this.dirty=this.dirty||this._barColor2!=t,this._barColor2=t}setBarColor2(t){return this.barColor2=t,this}get startAngle(){return this._startAngle}set startAngle(t){this.dirty=this.dirty||this._startAngle!=t,this._startAngle=t,this._deltaAngle=lp(this._startAngle,this._endAngle,this._anticlockwise)}setStartAngle(t){return this.startAngle=t,this}get endAngle(){return this._endAngle}set endAngle(t){this.dirty=this.dirty||this._endAngle!=t,this._endAngle=t,this._deltaAngle=lp(this._startAngle,this._endAngle,this._anticlockwise)}setEndAngle(t){return this.endAngle=t,this}get anticlockwise(){return this._anticlockwise}set anticlockwise(t){this.dirty=this.dirty||this._anticlockwise!=t,this._anticlockwise=t,this._deltaAngle=lp(this._startAngle,this._endAngle,this._anticlockwise)}setAnticlockwise(t){return void 0===t&&(t=!0),this.anticlockwise=t,this}get thickness(){return this._thickness}set thickness(t){t=np(t,0,1),this.dirty=this.dirty||this._thickness!=t,this._thickness=t}setThickness(t){return this.thickness=t,this}get centerColor(){return this._centerColor}set centerColor(t){t=qt(t,this.canvas,this.context),this.dirty=this.dirty||this._centerColor!=t,this._centerColor=t}get centerColor2(){return this._centerColor2}set centerColor2(t){t=qt(t,this.canvas,this.context),this.dirty=this.dirty||this._centerColor2!=t,this._centerColor2=t}setCenterColor(t,e){return this.centerColor=t,this.centerColor2=e,this}get textColor(){return this._textColor}set textColor(t){t=qt(t,this.canvas,this.context),this.dirty=this.dirty||this._textColor!=t,this._textColor=t}setTextColor(t){return this.textColor=t,this}get textStrokeColor(){return this._textStrokeColor}set textStrokeColor(t){t=qt(t,this.canvas,this.context),this.dirty=this.dirty||this._textStrokeColor!=t,this._textStrokeColor=t}get textStrokeThickness(){return this._textStrokeThickness}set textStrokeThickness(t){this.dirty=this.dirty||this._textStrokeThickness!=t,this._textStrokeThickness=t}setTextStrokeColor(t,e){return void 0===e&&(e=2),this.textStrokeColor=t,this.textStrokeThickness=e,this}get textFont(){return this._textFont}set textFont(t){this.dirty=this.dirty||this._textFont!=t,this._textFont=t}setTextFont(t,e,i){var s;return s=void 0===e?t:i+" "+t+" "+e,this.textFont=s,this}setTextFormatCallback(t,e){return this.textFormatCallback=t,this.textFormatCallbackScope=e,this}updateTexture(){return super.updateTexture((function(){this.clear(),ip.call(this)}),this),this}getFormatText(t){return void 0===t&&(t=this.value),this.textFormatCallbackScope?this.textFormatCallback(t):this.textFormatCallback.call(this.textFormatCallbackScope,t)}}var lp=function(t,e,i){return i?t<=e?op+t-e:t-e:t>=e?op+e-t:e-t};t.register("circularProgressCanvas",(function(t,e,i,s,r,n){var a=new hp(this.scene,t,e,i,s,r,n);return this.scene.add.existing(a),a})),P(window,"RexPlugins.UI.CircularProgressCanvas",hp);var dp=function(t,e,i,s,r,n){var a=(e+s)/2;return n>=0?t.startAt(a+n,i).lineTo(s+n,i).lineTo(s,r).lineTo(e,r).lineTo(e+n,i).lineTo(a+n,i):t.startAt(a,i).lineTo(s,i).lineTo(s-n,r).lineTo(e-n,r).lineTo(e,i).lineTo(a,i),t.close(),t};const cp=Phaser.Utils.Objects.GetValue,up=Phaser.Utils.Objects.IsPlainObject;let pp=class extends(Gu(fc)){constructor(t,e,i,s,r,n,a,o){up(e)?(e=(o=e).x,i=o.y,s=o.width,r=o.height,n=o.barColor,a=o.value):up(s)?(s=(o=s).width,r=o.height,n=o.barColor,a=o.value):up(n)&&(n=(o=n).barColor,a=o.value),void 0===e&&(e=0),void 0===i&&(i=0),void 0===s&&(s=2),void 0===r&&(r=s),void 0===a&&(a=0),super(t,e,i,s,r,o),this.type="rexLineProgress",this.bootProgressBase(o),this.addShape((new Kc).setName("trackFill")).addShape((new Kc).setName("bar")).addShape((new Kc).setName("trackStroke")),this.setTrackColor(cp(o,"trackColor",void 0)),this.setBarColor(n),this.setTrackStroke(cp(o,"trackStrokeThickness",2),cp(o,"trackStrokeColor",void 0)),this.setSkewX(cp(o,"skewX",0)),this.setRTL(cp(o,"rtl",!1)),this.setValue(a)}get trackColor(){return this._trackColor}set trackColor(t){this.dirty=this.dirty||this._trackColor!=t,this._trackColor=t}setTrackColor(t){return this.trackColor=t,this}get trackStrokeColor(){return this._trackStrokeColor}set trackStrokeColor(t){this.dirty=this.dirty||this._trackStrokeColor!=t,this._trackStrokeColor=t}get trackStrokeThickness(){return this._trackStrokeThickness}set trackStrokeThickness(t){this.dirty=this.dirty||this._trackStrokeThickness!=t,this._trackStrokeThickness=t}setTrackStroke(t,e){return this.trackStrokeThickness=t,this.trackStrokeColor=e,this}get barColor(){return this._barColor}set barColor(t){this.dirty=this.dirty||this._barColor!=t,this._barColor=t}setBarColor(t){return this.barColor=t,this}get skewX(){return this._skewX}set skewX(t){this.dirty=this.dirty||this._skewX!=t,this._skewX=t}setSkewX(t){return this.skewX=t,this}get rtl(){return this._rtl}set rtl(t){t=!!t,this.dirty=this.dirty||this._rtl!=t,this._rtl=t}setRTL(t){return void 0===t&&(t=!0),this.rtl=t,this}};var gp={updateShapes:function(){var t=this.skewX,e=this.width-Math.abs(t),i=this.height,s=this.getShape("trackFill");s.fillStyle(this.trackColor),s.isFilled&&dp(s,0,0,e,i,t);var r,n,a=this.getShape("bar");a.fillStyle(this.barColor),a.isFilled&&(this.rtl?(r=e*(1-this.value),n=e):(r=0,n=e*this.value),dp(a,r,0,n,i,t));var o=this.getShape("trackStroke");o.lineStyle(this.trackStrokeThickness,this.trackStrokeColor),o.isStroked&&dp(o,0,0,e,i,t)}};Object.assign(pp.prototype,gp),t.register("lineProgress",(function(t,e,i,s,r,n,a){var o=new pp(this.scene,t,e,i,s,r,n,a);return this.scene.add.existing(o),o})),P(window,"RexPlugins.UI.LineProgress",pp);var vp=function(t,e,i,s,r){t.setIterations(r).start();var n=s.tl;if(_t(n))if(n.convex){var a=n.x,o=n.y;t.ellipticalArc(a,o,n.x,n.y,180,270,!1)}else a=0,o=0,t.ellipticalArc(a,o,n.x,n.y,90,0,!0);else t.lineTo(0,0);return n=s.tr,_t(n)?n.convex?(a=e-n.x,o=n.y,t.ellipticalArc(a,o,n.x,n.y,270,360,!1)):(a=e,o=0,t.ellipticalArc(a,o,n.x,n.y,180,90,!0)):t.lineTo(e,0),n=s.br,_t(n)?n.convex?(a=e-n.x,o=i-n.y,t.ellipticalArc(a,o,n.x,n.y,0,90,!1)):(a=e,o=i,t.ellipticalArc(a,o,n.x,n.y,270,180,!0)):t.lineTo(e,i),n=s.bl,_t(n)?n.convex?(a=n.x,o=i-n.y,t.ellipticalArc(a,o,n.x,n.y,90,180,!1)):(a=0,o=i,t.ellipticalArc(a,o,n.x,n.y,360,270,!0)):t.lineTo(0,i),t.close(),t},fp=Phaser.Math.RadToDeg,mp=function(t,e,i,s,r){var n=e*r,a=s.tl;if(_t(a)){l=n>a.x?90:fp(Math.acos((a.x-n)/a.x));var o=a.x,h=a.y;t.ellipticalArc(o,h,a.x,a.y,180,180+l,!1)}else t.lineTo(0,0);if(a=s.tr,_t(a)&&n>e-a.x){var l=90-fp(Math.acos((n-(e-a.x))/a.x));o=e-a.x,h=a.y,t.ellipticalArc(o,h,a.x,a.y,270,270+l,!1)}else t.lineTo(n,0);a=s.br,_t(a)&&n>e-a.x?(l=90-fp(Math.acos((n-(e-a.x))/a.x)),o=e-a.x,h=i-a.y,t.ellipticalArc(o,h,a.x,a.y,90-l,90,!1)):t.lineTo(n,i),a=s.bl,_t(a)?(l=n>a.x?90:fp(Math.acos((a.x-n)/a.x)),o=a.x,h=i-a.y,t.ellipticalArc(o,h,a.x,a.y,180-l,180,!1)):t.lineTo(0,i)},yp=Phaser.Math.RadToDeg,bp=function(t,e,i,s,r){var n=i*r,a=s.tl;if(_t(a)){l=n>a.y?90:yp(Math.acos((a.y-n)/a.y));var o=a.x,h=a.y;t.ellipticalArc(o,h,a.x,a.y,270-l,270,!1)}else t.lineTo(0,0);if(a=s.tr,_t(a)?(l=n>a.y?90:yp(Math.acos((a.y-n)/a.y)),o=e-a.x,h=a.y,t.ellipticalArc(o,h,a.x,a.y,270,270+l,!1)):t.lineTo(e,0),a=s.br,_t(a)&&n>i-a.y){var l=90-yp(Math.acos((n-(i-a.y))/a.y));o=e-a.x,h=i-a.y,t.ellipticalArc(o,h,a.x,a.y,0,0+l,!1)}else t.lineTo(e,n);a=s.bl,_t(a)&&n>i-a.y?(l=90-yp(Math.acos((n-(i-a.y))/a.y)),o=a.x,h=i-a.y,t.ellipticalArc(o,h,a.x,a.y,180-l,180,!1)):t.lineTo(0,n)},xp=Phaser.Math.RadToDeg,Cp=function(t,e,i,s,r){var n=e*r,a=s.tr;if(_t(a)){l=n>a.x?90:xp(Math.acos((a.x-n)/a.x));var o=e-a.x,h=a.y;t.ellipticalArc(o,h,a.x,a.y,360-l,360,!1)}else t.lineTo(e,0);if(a=s.br,_t(a)?(l=n>a.x?90:xp(Math.acos((a.x-n)/a.x)),o=e-a.x,h=i-a.y,t.ellipticalArc(o,h,a.x,a.y,0,0+l,!1)):t.lineTo(e,i),a=s.bl,_t(a)&&n>e-a.x){var l=90-xp(Math.acos((n-(e-a.x))/a.x));o=a.x,h=i-a.y,t.ellipticalArc(o,h,a.x,a.y,90,90+l,!1)}else t.lineTo(e-n,i);a=s.tl,_t(a)&&n>e-a.x?(l=90-xp(Math.acos((n-(e-a.x))/a.x)),o=a.x,h=a.y,t.ellipticalArc(o,h,a.x,a.y,270-l,270,!1)):t.lineTo(e-n,0)},kp=Phaser.Math.RadToDeg,wp=function(t,e,i,s,r){var n=i*r,a=s.br;if(_t(a)){l=n>a.y?90:kp(Math.acos((a.y-n)/a.y));var o=e-a.x,h=i-a.y;t.ellipticalArc(o,h,a.x,a.y,90-l,90,!1)}else t.lineTo(e,i);if(a=s.bl,_t(a)?(l=n>a.y?90:kp(Math.acos((a.y-n)/a.y)),o=a.x,h=i-a.y,t.ellipticalArc(o,h,a.x,a.y,90,90+l,!1)):t.lineTo(0,i),a=s.tl,_t(a)&&n>i-a.y){var l=90-kp(Math.acos((n-(i-a.y))/a.y));o=a.x,h=a.y,t.ellipticalArc(o,h,a.x,a.y,180,180+l,!1)}else t.lineTo(0,i-n);a=s.tr,_t(a)&&n>i-a.y?(l=90-kp(Math.acos((n-(i-a.y))/a.y)),o=e-a.x,h=a.y,t.ellipticalArc(o,h,a.x,a.y,360-l,360,!1)):t.lineTo(e,i-n)},Sp={x:0,h:0,horizontal:0,"left-to-right":0,y:1,v:1,vertical:1,"top-to-bottom":1},Pp=function(t){return"string"==typeof t&&(t=Sp[t]),t};const Tp=Phaser.Utils.Objects.GetValue,Op=Phaser.Utils.Objects.IsPlainObject;class Mp extends(Gu(fc)){constructor(t,e,i,s,r,n,a,o,h){Op(e)?(e=(h=e).x,i=h.y,s=h.width,r=h.height,n=h.radius,a=h.barColor,o=h.value):Op(s)?(s=(h=s).width,r=h.height,n=h.radius,a=h.barColor,o=h.value):Op(n)&&(n=(h=n).radius,a=h.barColor,o=h.value),void 0===e&&(e=0),void 0===i&&(i=0),void 0===s&&(s=1),void 0===r&&(r=s),void 0===n&&(n=0),void 0===o&&(o=0),super(t,e,i,s,r,h),this.type="rexRoundRectangleProgress",this.bootProgressBase(h),this.addShape((new Kc).setName("trackFill")).addShape((new Kc).setName("bar")).addShape((new Kc).setName("trackStroke")),this.setTrackColor(Tp(h,"trackColor",void 0)),this.setBarColor(a),this.setTrackStroke(Tp(h,"trackStrokeThickness",2),Tp(h,"trackStrokeColor",void 0)),this.setOrientation(Tp(h,"orientation",0)),this.setRTL(Tp(h,"rtl",!1)),this.rrGeom=new Tt,this.setRadius(n),this.setIteration(Tp(n,"iteration",void 0)),this.setValue(o)}get trackColor(){return this._trackColor}set trackColor(t){this.dirty=this.dirty||this._trackColor!=t,this._trackColor=t}setTrackColor(t){return this.trackColor=t,this}get trackStrokeColor(){return this._trackStrokeColor}set trackStrokeColor(t){this.dirty=this.dirty||this._trackStrokeColor!=t,this._trackStrokeColor=t}get trackStrokeThickness(){return this._trackStrokeThickness}set trackStrokeThickness(t){this.dirty=this.dirty||this._trackStrokeThickness!=t,this._trackStrokeThickness=t}setTrackStroke(t,e){return this.trackStrokeThickness=t,this.trackStrokeColor=e,this}get barColor(){return this._barColor}set barColor(t){this.dirty=this.dirty||this._barColor!=t,this._barColor=t}setBarColor(t){return this.barColor=t,this}get orientation(){return this._orientation}set orientation(t){t=Pp(t),this.dirty=this.dirty||this._orientation!=t,this._orientation=t}setOrientation(t){return this.orientation=t,this}get rtl(){return this._rtl}set rtl(t){t=!!t,this.dirty=this.dirty||this._rtl!=t,this._rtl=t}setRTL(t){return void 0===t&&(t=!0),this.rtl=t,this}get radius(){return this.rrGeom.radius}set radius(t){this.rrGeom.setRadius(t),this.dirty=!0}get radiusTL(){return this.rrGeom.radiusTL}set radiusTL(t){this.rrGeom.radiusTL=t,this.dirty=!0}get radiusTR(){return this.rrGeom.radiusTR}set radiusTR(t){this.rrGeom.radiusTR=t,this.dirty=!0}get radiusBL(){return this.rrGeom.radiusBL}set radiusBL(t){this.rrGeom.radiusBL=t,this.dirty=!0}get radiusBR(){return this.rrGeom.radiusBR}set radiusBR(t){this.rrGeom.radiusBR=t,this.dirty=!0}setRadius(t){return void 0===t&&(t=0),this.radius=t,this}setRadiusTL(t){return void 0===t&&(t=0),this.radiusTL=t,this}setRadiusTR(t){return void 0===t&&(t=0),this.radiusTR=t,this}setRadiusBL(t){return void 0===t&&(t=0),this.radiusBL=t,this}setRadiusBR(t){return void 0===t&&(t=0),this.radiusBR=t,this}get cornerRadius(){return this.rrGeom.cornerRadius}set cornerRadius(t){this.radius=t}setCornerRadius(t){return this.setRadius(t)}get iteration(){return this._iteration}set iteration(t){void 0!==this._iteration?this._iteration!==t&&(this._iteration=t,this.dirty=!0):this._iteration=t}setIteration(t){return void 0===t&&(t=6),this.iteration=t,this}}var Ep={updateShapes:function(){var t=this.width,e=this.height,i=this.rrGeom.cornerRadius,s=this.value,r=this.orientation,n=this.rtl,a=this.iteration+1,o=this.getShape("trackFill");o.fillStyle(this.trackColor),o.isFilled&&vp(o,t,e,i,a);var h=this.getShape("bar");h.fillStyle(this.barColor),h.isFilled&&function(t,e,i,s,r,n,a,o){t.setIterations(o).start(),0===r||(1===r?vp(t,e,i,s,o):((0===n?a?Cp:mp:a?wp:bp)(t,e,i,s,r),t.close()))}(h,t,e,i,s,r,n,a);var l=this.getShape("trackStroke");l.lineStyle(this.trackStrokeThickness,this.trackStrokeColor),l.isStroked&&vp(l,t,e,i,a)}};Object.assign(Mp.prototype,Ep),t.register("roundRectanleProgress",(function(t,e,i,s,r,n,a,o){var h=new Mp(this.scene,t,e,i,s,r,n,a,o);return this.scene.add.existing(h),h})),P(window,"RexPlugins.UI.RoundRectangleProgress",Mp);var _p=function(t,e,i,s,r,n,a){void 0===a&&(a="round"),function(t,e){t.save(),t.beginPath();var i=e[0];t.moveTo(i.x,i.y);for(var s=1,r=e.length;s0&&(n.save(),_p(0,n,this.trackPoints,void 0,this.trackStrokeColor,this.trackStrokeThickness),n.restore())},Lp=function(t,e,i,s,r,n){void 0===n&&(n=[]),n.length=4;for(var a=0;a<4;a++)n[a]||(n[a]={});var o;return r>=0?((o=n[0]).x=t+r,o.y=e,(o=n[1]).x=i+r,o.y=e,(o=n[2]).x=i,o.y=s,(o=n[3]).x=t,o.y=s):((o=n[0]).x=t,o.y=e,(o=n[1]).x=i,o.y=e,(o=n[2]).x=i-r,o.y=s,(o=n[3]).x=t-r,o.y=s),n};const Bp=Phaser.Utils.Objects.GetValue,Ip=Phaser.Utils.Objects.IsPlainObject;class Dp extends(Gu($t)){constructor(t,e,i,s,r,n,a,o){Ip(e)?(e=Bp(o=e,"x",0),i=Bp(o,"y",0),s=Bp(o,"width",2),r=Bp(o,"height",2),n=Bp(o,"barColor",void 0),a=Bp(o,"value",0)):Ip(s)?(s=Bp(o=s,"width",2),r=Bp(o,"height",2),n=Bp(o,"barColor",void 0),a=Bp(o,"value",0)):Ip(n)&&(n=Bp(o=n,"barColor",void 0),a=Bp(o,"value",0)),super(t,e,i,s,r,Bp(o,"resolution",1)),this.type="rexLineProgressCanvas",this.trackPoints=[],this.barPoints=[],this.bootProgressBase(o),this.setTrackColor(Bp(o,"trackColor",void 0)),this.setBarColor(n,Bp(o,"barColor2",void 0),Bp(o,"isHorizontalGradient",void 0)),this.setTrackStroke(Bp(o,"trackStrokeThickness",2),Bp(o,"trackStrokeColor",void 0)),this.setSkewX(Bp(o,"skewX",0)),this.setRTL(Bp(o,"rtl",!1)),this.setValue(a)}get trackColor(){return this._trackColor}set trackColor(t){t=qt(t,this.canvas,this.context),this.dirty=this.dirty||this._trackColor!=t,this._trackColor=t}setTrackColor(t){return this.trackColor=t,this}get trackStrokeColor(){return this._trackStrokeColor}set trackStrokeColor(t){t=qt(t,this.canvas,this.context),this.dirty=this.dirty||this._trackStrokeColor!=t,this._trackStrokeColor=t}get trackStrokeThickness(){return this._trackStrokeThickness}set trackStrokeThickness(t){this.dirty=this.dirty||this._trackStrokeThickness!=t,this._trackStrokeThickness=t}setTrackStroke(t,e){return this.trackStrokeThickness=t,this.trackStrokeColor=e,this}get barColor(){return this._barColor}set barColor(t){t=qt(t,this.canvas,this.context),this.dirty=this.dirty||this._barColor!=t,this._barColor=t}get barColor2(){return this._barColor2}set barColor2(t){t=qt(t,this.canvas,this.context),this.dirty=this.dirty||this._barColor2!=t,this._barColor2=t}get isHorizontalGradient(){return this._isHorizontalGradient}set isHorizontalGradient(t){this.dirty|=this._isHorizontalGradient!=t,this._isHorizontalGradient=t}setBarColor(t,e,i){return void 0===i&&(i=!0),this.barColor=t,this.barColor2=e,this.isHorizontalGradient=i,this}get skewX(){return this._skewX}set skewX(t){this.dirty=this.dirty||this._skewX!=t,this._skewX=t}setSkewX(t){return this.skewX=t,this}get rtl(){return this._rtl}set rtl(t){t=!!t,this.dirty=this.dirty||this._rtl!=t,this._rtl=t}setRTL(t){return void 0===t&&(t=!0),this.rtl=t,this}updateTexture(){return super.updateTexture((function(){this.clear(),Rp.call(this)}),this),this}}t.register("circularProgressCanvas",(function(t,e,i,s,r,n,a){var o=new Dp(this.scene,t,e,i,s,r,n,a);return this.scene.add.existing(o),o})),P(window,"RexPlugins.UI.LineProgressCanvas",Dp),Phaser.Math.Wrap;const Ap=Phaser.Math.Linear;var jp=function(){var t,e,i,s,r,n,a=this.getShape("triangle"),o=this.padding,h=this.width-o.right,l=0+o.left,d=this.height-o.bottom,c=0+o.top,u=(l+h)/2,p=(c+d)/2,g={0:{a:{x:l,y:c},b:{x:h,y:p},c:{x:l,y:d}},1:{a:{x:l,y:c},b:{x:u,y:d},c:{x:h,y:c}},2:{a:{x:h,y:c},b:{x:l,y:p},c:{x:h,y:d}},3:{a:{x:l,y:d},b:{x:u,y:c},c:{x:h,y:d}}};if(void 0===this.previousDirection){var v=g[this.direction],f=v.a,m=v.b,y=v.c;t=f.x,e=f.y,i=m.x,s=m.y,r=y.x,n=y.y}else{var b=g[this.previousDirection],x=g[this.direction],C=this.easeDirectionProgress;t=Ap(b.a.x,x.a.x,C),e=Ap(b.a.y,x.a.y,C),i=Ap(b.b.x,x.b.x,C),s=Ap(b.b.y,x.b.y,C),r=Ap(b.c.x,x.c.x,C),n=Ap(b.c.y,x.c.y,C)}a.startAt(t,e).lineTo(i,s).lineTo(r,n),this.arrowOnly?a.end():a.close()};const zp=(0,Phaser.Math.DegToRad)(120);var Fp=function(t){t=this.getShape("triangle");var e=this.width/2,i=this.height/2,s=Math.min(e,i)*this.radius,r=this.verticeRotation;t.startAt(e+s*Math.cos(r+zp),i+s*Math.sin(r+zp)).lineTo(e+s*Math.cos(r),i+s*Math.sin(r)).lineTo(e+s*Math.cos(r-zp),i+s*Math.sin(r-zp)),this.arrowOnly?t.end():t.close()},Xp={buildShapes(){this.addShape((new Kc).setName("triangle"))},updateShapes(){var t=this.getShape("triangle");this.arrowOnly?t.fillStyle().lineStyle(this.lineWidth,this.strokeColor,this.strokeAlpha):t.fillStyle(this.fillColor,this.fillAlpha).lineStyle(this.lineWidth,this.strokeColor,this.strokeAlpha),0===this.shapeMode?jp.call(this):Fp.call(this)}},Yp={setEaseDuration(t){return void 0===t&&(t=0),this.easeDuration=t,this},playEaseDirectionation(){return void 0===this.easeDirectionProgressTask&&(this.easeDirectionProgressTask=new su(this,{eventEmitter:null})),this.easeDirectionProgressTask.restart({key:"easeDirectionProgress",from:0,to:1,duration:this.easeDuration}),this},stopEaseDirection(){return void 0===this.easeDirectionProgressTask||this.easeDirectionProgressTask.stop(),this}};const Wp=Phaser.Utils.Objects.GetValue,Vp=Phaser.Utils.Objects.IsPlainObject,Gp=Phaser.Math.DegToRad,Hp=Phaser.Math.RadToDeg;class Up extends fc{constructor(t,e,i,s,r,n,a){var o,h,l,d,c,u,p,g;if(Vp(e)){var v=e;e=v.x,i=v.y,s=v.width,r=v.height,n=v.color,a=v.alpha,o=v.strokeColor,h=v.strokeAlpha,l=v.strokeWidth,d=v.arrowOnly,c=v.direction,u=v.easeDuration,p=v.padding,g=v.radius}void 0===e&&(e=0),void 0===i&&(i=0),void 0===s&&(s=1),void 0===r&&(r=s),void 0===d&&(d=!1),void 0===c&&(c=0),void 0===u&&(u=0),void 0===p&&(p=0),void 0===g&&(g=void 0),super(t,e,i,s,r),this.type="rexTriangle",this.setFillStyle(n,a),void 0!==o&&void 0===l&&(l=2),this.setStrokeStyle(l,o,h),this.setArrowOnly(d),this.setDirection(c,u),this.setPadding(p),this.setRadius(g),this.buildShapes()}get arrowOnly(){return this._arrowOnly}set arrowOnly(t){this.dirty=this.dirty||this._arrowOnly!=t,this._arrowOnly=t}setArrowOnly(t){return void 0===t&&(t=!0),this.arrowOnly=t,this}get direction(){return this._direction}set direction(t){t=$p(t),this._direction!==t&&(this.easeDuration>0&&void 0!==this._direction?this.previousDirection=this._direction:this.previousDirection=void 0,this._direction=t,this.verticeAngle=90*t,this.dirty=!0,void 0!==this.previousDirection?this.playEaseDirectionation():this.stopEaseDirection())}setDirection(t,e){return void 0!==e&&this.setEaseDuration(e),this.direction=t,this}toggleDirection(t){return this.setDirection(this.direction+2,t),this}get easeDirectionProgress(){return this._easeDirectionProgress}set easeDirectionProgress(t){this._easeDirectionProgress!==t&&(this._easeDirectionProgress=t,this.dirty=!0)}setPadding(t,e,i,s){if("object"==typeof t){var r=t,n=Wp(r,"x",null);null!==n?(t=n,i=n):(t=Wp(r,"left",0),i=Wp(r,"right",t));var a=Wp(r,"y",null);null!==a?(e=a,s=a):(e=Wp(r,"top",0),s=Wp(r,"bottom",e))}else void 0===t&&(t=0),void 0===e&&(e=t),void 0===i&&(i=t),void 0===s&&(s=e);return void 0===this.padding&&(this.padding={}),this.dirty=this.dirty||this.padding.left!=t||this.padding.top!=e||this.padding.right!=i||this.padding.bottom!=s,this.padding.left=t,this.padding.top=e,this.padding.right=i,this.padding.bottom=s,this.setRadius(),this}get radius(){return this._radius}set radius(t){this.dirty=this.dirty||this._radius!=t,this._radius=t}setRadius(t){return this.radius=t,this.shapeMode=null==t?0:1,this}get verticeRotation(){return this._verticeRotation}set verticeRotation(t){this.dirty=this.dirty||this._verticeRotation!=t,this._verticeRotation=t}setVerticeRotation(t){return this.verticeRotation=t,this}get verticeAngle(){return Hp(this.verticeRotation)}set verticeAngle(t){this.verticeRotation=Gp(t)}setVerticeAngle(t){return this.verticeAngle=t,this}}const Np={right:0,down:1,left:2,up:3};var $p=function(t){return"string"==typeof t&&(t=Np[t]),t%=4};Object.assign(Up.prototype,Xp,Yp),t.register("triangle",(function(t,e,i,s,r,n){var a=new Up(this.scene,t,e,i,s,r,n);return this.scene.add.existing(a),a})),P(window,"RexPlugins.UI.Triangle",Up),F();const Kp=Phaser.GameObjects.Zone,Jp=Phaser.Utils.Array.Add,qp=Phaser.Utils.Array.Remove;let Zp=class extends Kp{constructor(t,e,i,s,r){void 0===e&&(e=0),void 0===i&&(i=0),void 0===s&&(s=1),void 0===r&&(r=1),super(t,e,i,s,r),this.children=[]}destroy(t){if(this.scene&&!this.ignoreDestroy){if(t)for(var e,i=this.children.length-1;i>=0;i--)(e=this.children[i]).parentContainer||e.displayList||e.destroy(t);this.clear(!t),super.destroy(t)}}contains(t){return-1!==this.children.indexOf(t)}add(t){var e=this;return Jp(this.children,t,0,(function(t){t.once("destroy",e.onChildDestroy,e)}),this),this}remove(t,e){var i=this;return qp(this.children,t,(function(t){t.off("destroy",i.onChildDestroy,i),e&&t.destroy()})),this}onChildDestroy(t,e){this.remove(t,!1)}clear(t){for(var e,i=0,s=this.children.length;irg(t),resetChildState(t){return this.resetChildPositionState(t).resetChildVisibleState(t).resetChildAlphaState(t).resetChildActiveState(t),this},resetChildrenState(t){for(var e=0,i=t.length;erg(t).x,getChildLocalY:t=>rg(t).y};const xg=Phaser.Math.DegToRad;var Cg={updateChildRotation(t){var e=rg(t),i=e.parent;return e.syncRotation&&(t.rotation=i.rotation+e.rotation),this},syncRotation(){return this.syncChildrenEnable&&this.children.forEach(this.updateChildRotation,this),this},resetChildRotationState(t){var e=rg(t),i=e.parent;return e.rotation=t.rotation-i.rotation,this},setChildRotation(t,e){return t.rotation=e,this.resetChildRotationState(t),this},setChildAngle(t,e){return t.angle=e,this.resetChildRotationState(t),this},setChildLocalRotation(t,e){return rg(t).rotation=e,this.updateChildRotation(t),this},setChildLocalAngle(t,e){return rg(t).rotation=xg(e),this.updateChildRotation(t),this},resetLocalRotationState(){var t=rg(this).parent;return t&&t.resetChildRotationState(this),this},getChildLocalRotation:t=>rg(t).rotation},kg={updateChildScale(t){var e=rg(t),i=e.parent;return e.syncScale&&(t.scaleX=i.scaleX*e.scaleX,t.scaleY=i.scaleY*e.scaleY),this},syncScale(){return this.syncChildrenEnable&&this.children.forEach(this.updateChildScale,this),this},resetChildScaleState(t){var e=rg(t),i=e.parent;return e.scaleX=yg(t.scaleX,i.scaleX),e.scaleY=yg(t.scaleY,i.scaleY),this},setChildScale(t,e,i){return void 0===i&&(i=e),t.scaleX=e,t.scaleY=i,this.resetChildScaleState(t),this},setChildLocalScale(t,e,i){void 0===i&&(i=e);var s=rg(t);return s.scaleX=e,s.scaleY=i,this.updateChildScale(t),this},setChildDisplaySize(t,e,i){return t.setDisplaySize(e,i),this.resetChildScaleState(t),this},resetLocalScaleState(){var t=rg(this).parent;return t&&t.resetChildScaleState(this),this},getChildLocalScaleX:t=>rg(t).scaleX,getChildLocalScaleY:t=>rg(t).scaleY},wg={updateChildVisible(t){var e=rg(t),i=e.parent,s=!e.hasOwnProperty("maskVisible")||e.maskVisible,r=!i||i.visible;return t.visible=r&&e.visible&&s,this},syncVisible(){return this.syncChildrenEnable&&this.children.forEach(this.updateChildVisible,this),this},resetChildVisibleState(t){var e=rg(t);return e.hasOwnProperty("maskVisible")&&delete e.maskVisible,e.visible=t.visible,this},setChildVisible(t,e){return this.setChildLocalVisible(t,e),this},setChildLocalVisible(t,e){return void 0===e&&(e=!0),rg(t).visible=e,this.updateChildVisible(t),this},setChildMaskVisible(t,e){return void 0===e&&(e=!0),rg(t).maskVisible=e,this.updateChildVisible(t),this},resetLocalVisibleState(){var t=rg(this).parent;return t&&t.resetChildVisibleState(this),this},getChildLocalVisible:t=>rg(t).visible},Sg={updateChildAlpha(t){var e=rg(t),i=e.parent;return e.syncAlpha&&(t.alpha=i.alpha*e.alpha),this},syncAlpha(){return this.syncChildrenEnable&&this.children.forEach(this.updateChildAlpha,this),this},resetChildAlphaState(t){var e=rg(t),i=e.parent;return e.alpha=yg(t.alpha,i.alpha),this},setChildAlpha(t,e){return t.alpha=e,this.resetChildAlphaState(t),this},setChildLocalAlpha(t,e){return rg(t).alpha=e,this.updateChildAlpha(t),this},resetLocalAlphaState(){var t=rg(this).parent;return t&&t.resetChildAlphaState(this),this},getChildLocalAlpha:t=>rg(t).alpha},Pg={updateChildActive(t){var e=rg(t),i=e.parent;return t.active=i.active&&e.active,this},syncActive(){return this.syncChildrenEnable&&this.children.forEach(this.updateChildActive,this),this},resetChildActiveState(t){return rg(t).active=t.active,this},setChildActive(t,e){return t.active=e,this.resetChildActiveState(t),this},setChildLocalActive(t,e){return void 0===e&&(e=!0),rg(t).active=e,this.updateChildActive(t),this},resetLocalActiveState(){var t=rg(this).parent;return t&&t.resetChildActiveState(this),this},getChildLocalActive:t=>rg(t).active},Tg={updateChildScrollFactor(t){var e=rg(t),i=e.parent;return e.syncScrollFactor&&(t.scrollFactorX=i.scrollFactorX,t.scrollFactorY=i.scrollFactorY),this},syncScrollFactor(){return this.syncChildrenEnable&&this.children.forEach(this.updateChildScrollFactor,this),this}},Og={updateCameraFilter(t){var e=rg(t),i=e.parent;return e.syncCameraFilter&&(t.cameraFilter=i.cameraFilter),this},syncCameraFilter(){return this.syncChildrenEnable&&this.children.forEach(this.updateCameraFilter,this),this}},Mg={updateChildMask(t){return null==this.mask||(this.mask.hasOwnProperty("geometryMask")?this.mask.geometryMask:this.mask.bitmapMask)!==t&&(t.mask=this.mask),this},syncMask(){return this.syncChildrenEnable&&this.children.forEach(this.updateChildMask,this),this},setMask(t){return this.mask=t,this},clearMask(t){void 0===t&&(t=!1);var e=this;return this._mask=null,this.setChildMaskVisible(this),this.children.forEach((function(t){t.clearMask&&t.clearMask(!1),t.hasOwnProperty("isRexContainerLite")||e.setChildMaskVisible(t)})),t&&this.mask&&this.mask.destroy(),this}},Eg=function(t){return t.filter((function(t){return!!t.displayList||!!t.parentContainer||void 0}))},_g={setDepth(t,e){if(this.depth=t,!e&&this.children)for(var i=this.getAllChildren(),s=0,r=i.length;s=0;r--){var n=e[r];s!==n&&(n!==this&&s.displayList!==n.displayList||(s.displayList.moveBelow(n,s),s=n))}return this}},Rg=function(t,e){if(!e(t)&&t.isRexContainerLite)for(var i=t.children,s=0,r=i.length;s0;){var s=i.shift();!e(s)&&s.isRexContainerLite&&i.push(...s.children)}};const Bg=Phaser.Utils.Array;var Ig={getChildren(t){if(t)for(var e=0,i=this.children.length;e=0;e--)this.remove(this.backgroundChildren[e],t);return this}},Nv=function(t,e){if("string"==typeof t)this.childrenMap[t]=e;else{var i=t;for(t in i)this.childrenMap[t]=i[t]}return this};const $v=/(\S+)\[(\d+)\]/i;var Kv={getInnerPadding(t){return Ts(this.space,t)},setInnerPadding(t,e){return Os(this.space,t,e),this},getOuterPadding(t){return Ts(this.getSizerConfig(this).padding,t)},setOuterPadding(t,e){return Os(this.getSizerConfig(this).padding,t,e),this},getChildOuterPadding(t,e){return"string"==typeof t&&(t=this.getElement(t)),Ts(this.getSizerConfig(t).padding,e)},setChildOuterPadding(t,e,i){return"string"==typeof t&&(t=this.getElement(t)),Os(this.getSizerConfig(t).padding,e,i),this}},Jv=function(t){var e=this.childrenWidth;if(void 0!==e){var i=void 0!==this.minWidth?this.minWidth*this.scaleX:0;return void 0===t?(t=Math.max(i,e),this.layoutWarnEnable&&i>0&&e>i&&console.warn(`Layout width warn: ${this.constructor.name}'s minWidth (${i}) < childrenWidth (${e})`)):this.layoutWarnEnable&&(i>t||e>t)&&console.warn(`Layout width warn: ${this.constructor.name}'s minWidth (${i}) or childrenWidth (${e} > targetWidth ${t})`),t}},qv=function(){var t;for(var e in this.sizerChildren)if(!(!(t=this.sizerChildren[e])||t.isRexSizer&&t.ignoreLayout)&&t.runWidthWrap&&(!t.hasWidthWrap||t.hasWidthWrap()))return!0;return!1},Zv=function(t){var e,i,s;for(var r in this.sizerChildren)!(e=this.sizerChildren[r])||e.isRexSizer&&e.ignoreLayout||!e.runWidthWrap||(i=this.getExpandedChildWidth(e,t),e.isRexSizer?void 0===(s=e.resolveWidth(i))&&(s=i):s=i,e.runWidthWrap(s));return this},Qv=function(t){var e=this.childrenHeight;if(void 0!==e){var i=void 0!==this.minHeight?this.minHeight*this.scaleY:0;return void 0===t?(t=Math.max(i,e),this.layoutWarnEnable&&i>0&&e>i&&console.warn(`Layout height warn: ${this.constructor.name}'s minHeight (${i}) < childrenHeight (${e})`)):this.layoutWarnEnable&&(i>t||e>t)&&console.warn(`Layout height warn: ${this.constructor.name}'s minHeight (${i}) or childrenHeight (${e}) > targetHeight (${t})`),t}},tf=function(){var t;for(var e in this.sizerChildren)if(!(!(t=this.sizerChildren[e])||t.isRexSizer&&t.ignoreLayout)&&t.runHeightWrap&&(!t.hasHeightWrap||t.hasHeightWrap()))return!0;return!1},ef=function(t){var e,i,s;for(var r in this.sizerChildren)!(e=this.sizerChildren[r])||e.isRexSizer&&e.ignoreLayout||!e.runHeightWrap||(i=this.getExpandedChildHeight(e,t),e.isRexSizer?void 0===(s=e.resolveHeight(i))&&(s=i):s=i,e.runHeightWrap(s));return this},sf={getShownChildren(t){void 0===t&&(t=[]);for(var e,i=this.children,s=0,r=i.length;s0;){var i=e.shift();i.rexSizer&&i.rexSizer.hidden||(i!==this&&t.push(i),i.isRexContainerLite&&e.push(...i.children))}return t}},rf=function(){this._childrenWidth=void 0,this._childrenHeight=void 0;for(var t,e=this.getChildrenSizers(),i=0,s=e.length;i0){var e=t.runTransitionInCallback();t.delayCall(e,this.next,this)}else this.next()}exit_TRANS_OPNE(){this.parent.removeDelayCall()}next_OPEN(){return"TRANS_CLOSE"}enter_OPEN(){this.parent.onOpen()}exit_OPEN(){this.parent.removeDelayCall()}next_TRANS_CLOSE(){return"CLOSE"}enter_TRANS_CLOSE(){var t=this.parent;if(t.transitOutTime>0){var e=t.runTransitionOutCallback();t.delayCall(e,this.next,this)}else this.next()}exit_TRANS_CLOSE(){this.parent.removeDelayCall()}next_CLOSE(){return"TRANS_OPNE"}enter_CLOSE(){this.parent.onClose()}exit_CLOSE(){}canOpen(){return"IDLE"===this.state||"CLOSE"===this.state}canClose(){return"IDLE"===this.state||"OPEN"===this.state}};var fm={delayCall(t,e,i){return this.delayCallTimer=function(t,e,i,s,r){var n=Ra(t);return n.time.delayedCall(e,(function(){n.game.events.once("poststep",(function(){i.call(s,r)}))}))}(this,t,e,i),this},removeDelayCall(){return this.delayCallTimer&&(this.delayCallTimer.remove(!1),this.delayCallTimer=void 0),this}},mm={setTransitInTime(t){return this.transitInTime=t,this},setTransitOutTime(t){return this.transitOutTime=t,this},setTransitInCallback(t){return t||(t=h),this.transitInCallback=t,this},setTransitOutCallback(t){return t||(t=h),this.transitOutCallback=t,this}},ym={runTransitionInCallback(){return this.transitInCallback(this.parent,this.transitInTime),this.transitInTime},onOpen(){},requestOpen(t,e){if(!this._state.canOpen())return this;this.openEventData=arguments.length>0?t:this.parent;var i=this.transitInTime;return void 0!==e&&(this.transitInTime=e),this._state.goto("TRANS_OPNE"),this.transitInTime=i,this}},bm={runTransitionOutCallback(){return this.transitOutCallback(this.parent,this.transitOutTime),this.transitOutTime},onClose(){this.oneShotMode&&this.parent.destroy()},requestClose(t,e){if(!this._state.canClose)return this;this.closeEventData=arguments.length>0?t:this.parent;var i=this.transitOutTime;return void 0!==e&&(this.transitOutTime=e),this._state.goto("TRANS_CLOSE"),this.transitOutTime=i,this}},xm={};Object.assign(xm,fm,mm,ym,bm);const Cm=Phaser.Utils.Objects.GetValue;class km extends Ba{constructor(t,e){super(t,e),this.setTransitInTime(Cm(e,"duration.in",200)),this.setTransitOutTime(Cm(e,"duration.out",200)),this.setTransitInCallback(Cm(e,"transitIn")),this.setTransitOutCallback(Cm(e,"transitOut")),this.oneShotMode=Cm(e,"destroy",!1),this.delayCallTimer=void 0,this._state=new vm(this,{eventEmitter:!1,initState:Cm(e,"initState","IDLE")}),this.openEventData=void 0,this.closeEventData=void 0}get state(){return this._state.state}shutdown(t){this.isShutdown||(this.transitInCallback=void 0,this.transitOutCallback=void 0,this.openEventData=void 0,this.closeEventData=void 0,this.removeDelayCall(),super.shutdown(t))}}Object.assign(km.prototype,xm);const wm=Phaser.GameObjects.Rectangle;class Sm extends wm{constructor(t,e,i){super(t,0,0,2,2,e,1),this.fullWindow=new _d(this),this.setAlpha(i)}get tint(){return this.fillColor}set tint(t){this.setFillStyle(t,this.fillAlpha)}}const Pm=Phaser.Utils.Objects.GetValue;class Tm extends Ba{constructor(t,e){super(t,{eventEmitter:!1}),this.resetFromJSON(e),this.boot()}resetFromJSON(t){return this.setHitAreaMode(Pm(t,"hitAreaMode",0)),this.setEnable(Pm(t,"enable",!0)),this.setStopMode(Pm(t,"stopAllLevels",!0)),this}boot(){this.parent.on("pointerdown",(function(t,e,i,s){this.stopAllLevels&&s.stopPropagation()}),this).on("pointerup",(function(t,e,i,s){this.stopAllLevels&&s.stopPropagation()}),this).on("pointermove",(function(t,e,i,s){this.stopAllLevels&&s.stopPropagation()}),this).on("pointerover",(function(t,e,i,s){this.stopAllLevels&&s.stopPropagation()}),this).on("pointerout",(function(t,e){this.stopAllLevels&&e.stopPropagation()}),this)}setHitAreaMode(t){"string"==typeof t&&(t=Om[t]);var e=this.parent;return e.input&&e.removeInteractive(),0===t?e.setInteractive():e.setInteractive({hitArea:{},hitAreaCallback:function(){return!0}}),this}setEnable(t){return void 0===t&&(t=!0),t?this.parent.setInteractive():this.parent.disableInteractive(),this.enable=t,this}setStopMode(t){return void 0===t&&(t=!0),this.stopAllLevels=t,this}toggleEnable(){return this.setEnable(!this.enable),this}}var Om={default:0,fullWindow:1};const Mm=Phaser.Utils.Objects.GetValue;class Em extends Sm{constructor(t,e){super(t,Mm(e,"color",0),Mm(e,"alpha",.8)),this.touchEventStop=new Tm(this,{hitAreaMode:1})}}var _m={popUp(t,e){void 0!==t._modalScaleSave?(t.scaleX=t._modalScaleSave,t.scaleY=t._modalScaleSave):t._modalScaleSave=t.scaleX,bf(t,e)},scaleDown(t,e){xf(t,e,void 0,void 0,!1)},fadeIn(t,e){void 0!==t._modalAlphaSave?t.alpha=t._modalAlphaSave:t._modalAlphaSave=t.alpha,_f(t,e)},fadeOut(t,e){Rf(t,e,!1)}},Rm=function(t,e){void 0!==t._modalAlphaSave?t.alpha=t._modalAlphaSave:t._modalAlphaSave=t.alpha,_f(t,e,t.alpha)},Lm=function(t,e){Rf(t,e,!1)},Bm=function(t,e,i,s,r){return!(!t||s&&!s(t,e,i)||!Gn(t,!0).contains(e,i)||r&&!r(t,e,i))};const Im=Phaser.Utils.Objects.GetValue;let Dm=class extends km{constructor(t,e){void 0===e&&(e={}),null==e.transitIn&&(e.transitIn=Am.popUp),null==e.transitOut&&(e.transitOut=Am.scaleDown),e.destroy=Im(e,"destroy",!0),super(t,e);var i=Im(e,"cover");this.cover=!1!==i?function(t,e){var i=t.scene,s=new Em(i,e);return i.add.existing(s),t.isRexContainerLite?(t.pin(s,{syncPosition:!1,syncRotation:!1,syncScale:!1,syncAlpha:!1,syncScrollFactor:!1}),t.moveDepthBelow(s)):i.children.moveBelow(s,t),s}(t,i):void 0,this.cover&&(this.setCoverTransitInCallback(Im(i,"transitIn",Rm)),this.setCoverTransitOutCallback(Im(i,"transitOut",Lm)));var s=Im(e,"touchOutsideClose",!1),r=Im(e,"duration.hold",-1),n=Im(e,"timeOutClose",r>=0),a=Im(e,"anyTouchClose",!1);Im(e,"manualClose",!1)&&(s=!1,a=!1,n=!1),a&&(s=!1),n?this.setDisplayTime(r):this.setDisplayTime(-1),a?this.once("open",this.anyTouchClose,this):s&&this.once("open",this.touchOutsideClose,this),Im(e,"openOnStart",!0)&&this.delayCall(0,this.requestOpen,this)}shutdown(t){this.isShutdown||(this.cover||this.scene.input.off("pointerup",this.touchCloseCallback,this),this.cover&&!t&&(this.cover.destroy(),this.cover=void 0),super.shutdown(t))}touchOutsideClose(){return this.cover?this.cover.on("pointerup",this.touchCloseCallback,this):this.scene.input.on("pointerup",this.touchCloseCallback,this),this.clickOutsideTest=!0,this}anyTouchClose(){return this.cover?this.cover.once("pointerup",this.touchCloseCallback,this):this.scene.input.once("pointerup",this.touchCloseCallback,this),this}touchCloseCallback(t){this.clickOutsideTest&&Bm(this.parent,t.worldX,t.worldY)||this.requestClose()}runTransitionInCallback(){var t=super.runTransitionInCallback(),e=this.cover;return e&&this.coverTransitInCallback&&this.coverTransitInCallback(e,t),t}runTransitionOutCallback(){var t=super.runTransitionOutCallback(),e=this.cover;return e&&this.coverTransitOutCallback&&this.coverTransitOutCallback(e,t),t}onOpen(){var t=this.displayTime;t>=0&&this.delayCall(t,this.requestClose,this),this.emit("open",this.parent,this),super.onOpen()}onClose(){this.emit("close",this.closeEventData),super.onClose()}setDisplayTime(t){return this.displayTime=t,this}setTransitInCallback(t){switch("string"==typeof t&&(t=Am[t]),t){case Am.popUp:t=_m.popUp;break;case Am.fadeIn:t=_m.fadeIn}return super.setTransitInCallback(t),this}setTransitOutCallback(t){switch("string"==typeof t&&(t=Am[t]),t){case Am.scaleDown:t=_m.scaleDown;break;case Am.fadeOut:t=_m.fadeOut}return super.setTransitOutCallback(t),this}setCoverTransitInCallback(t){return this.coverTransitInCallback=t,this}setCoverTransitOutCallback(t){return this.coverTransitOutCallback=t,this}};const Am={popUp:0,fadeIn:1,scaleDown:0,fadeOut:1};var jm=function(t,e){var i=new Dm(t,e);return i.on("open",(function(){t.emit("modal.open",i)})),i.on("close",(function(e){t.emit("modal.close",e,i)})),t.on("modal.requestClose",i.requestClose,i),i},zm=function(t,e){t.emit("modal.requestClose",e)},Fm=function(t){return t&&"function"==typeof t},Xm={modal(t,e){return Fm(t)&&(e=t,t=void 0),void 0===this._modalBehavior&&(this.onCreateModalBehavior&&this.onCreateModalBehavior(this,t),this._modalBehavior=jm(this,t)),e&&this._modalBehavior.once("close",e),this._modalBehavior.requestOpen(),this},modalPromise(t){var e=this;return new Promise((function(i,s){e.modal(t,i)}))},modalClose(t){return zm(this,t),this}},Ym=function(t,e,i,s,r){Fm(e)&&(r=s,s=i,i=e,e=this);var n=this.scene.events;return this.bindEvent(e,n,t,i,s,r),this},Wm={bindEvent(t,e,i,s,r,n){return"string"==typeof e&&(n=r,r=s,s=i,i=e,e=t,t=this),function(t,e,i,s,r,n){void 0===n&&(n=!1),e[n?"once":"on"](i,s,r),t.once("destroy",(function(){e.off(i,s,r)}))}(t,e,i,s,r,n),this},bindScenePreupdateEvent(t,e,i,s){return Ym.call(this,"preupdate",t,e,i,s),this},bindSceneUpdateEvent(t,e,i,s){return Ym.call(this,"update",t,e,i,s),this},bindScenePostupdateEvent(t,e,i,s){return Ym.call(this,"postupdate",t,e,i,s),this},bindSceneRenderEvent(t,e,i,s){return Ym.call(this,"render",t,e,i,s),this},bindScenePauseEvent(t,e,i,s){return Ym.call(this,"pause",t,e,i,s),this},bindSceneResumeEvent(t,e,i,s){return Ym.call(this,"resume",t,e,i,s),this},bindSceneSleepEvent(t,e,i,s){return Ym.call(this,"sleep",t,e,i,s),this},bindSceneWakeEvent(t,e,i,s){return Ym.call(this,"wake",t,e,i,s),this},bindSceneShutdownEvent(t,e,i,s){return Ym.call(this,"shutdown",t,e,i,s),this}},Vm=function(t,e,i){var s=t.camera;return s?(void 0===i?i={}:!0===i&&(i=Gm),s===e?(i.x=t.worldX,i.y=t.worldY):s.getWorldPoint(t.x,t.y,i),i):null},Gm={},Hm=function(t,e,i,s){var r,n=t.scene.sys.cameras.main,a=0===t.scrollFactorX&&0===t.scrollFactorY;if(e)return a?Bm(t,e.x,e.y,i,s):!!(r=Vm(e,n,!0))&&Bm(t,r.x,r.y,i,s);for(var o=t.scene.input.manager,h=o.pointersTotal,l=o.pointers,d=0;d=this.dragThreshold||this.isPointerInside(t))&&this.cancel()}click(t,e){if(!this.enable)return this;if(void 0===t)return this.emit("clickoutside",this,this.parent,e),this;this.pointer=void 0;var i=this.lastClickTime;return void 0!==i&&t-i<=this.clickInterval||(this.lastClickTime=t,this.emit("clickoutside",this,this.parent,e)),this}cancel(){return this.pointer=void 0,this}}const ry={press:0,pointerdown:0,release:1,pointerup:1};var ny={onClickOutside(t,e,i,s){return t?("function"==typeof t&&(s=i,i=e,e=t,t=this),void 0===t._clickOutside&&(t._clickOutside=new sy(t,s)),t._clickOutside.on("clickoutside",e,i),this):this},offClickOutside(t,e,i){return"function"==typeof t&&(i=e,e=t,t=this),void 0===t._clickOutside||t._clickOutside.off("clickoutside",e,i),this},enableClickOutside(t,e){return"boolean"==typeof t&&(e=t,t=void 0),void 0===t&&(t=this),void 0===t._clickOutside||t._clickOutside.setEnable(e),this},disableClickOutside(t){return void 0===t&&(t=this),void 0===t._clickOutside||t._clickOutside.setEnable(!1),this}};class ay extends gm{constructor(){super({eventEmitter:!1}),this.goto("IDLE")}setCooldownTime(t){return this.cooldownTime=t,this.cooldownMode=void 0!==t,this}request(){return this.runMethod("request")}update_IDLE(){this.compensationTime=0}request_IDLE(){return this.next(),!0}next_IDLE(){if(this.cooldownMode)return"COOLDOWN"}enter_COOLDOWN(){this.remainderTime=this.cooldownTime+this.compensationTime}update_COOLDOWN(t,e){this.remainderTime-=e,this.remainderTime<0&&(this.compensationTime=this.cooldownTime>e?-this.remainderTime:0,this.goto("IDLE"))}request_COOLDOWN(){return!1}}const oy=Phaser.Utils.Objects.GetValue;class hy extends Ba{constructor(t,e){super(t,e),this._enable=void 0,this.cooldown=new ay,this.parent.setInteractive(oy(e,"inputConfig",void 0)),this.resetFromJSON(e),this.boot()}resetFromJSON(t){return this.pointer=void 0,this.prevIsInTouch=!1,this.isInTouching=!1,this.setEnable(oy(t,"enable",!0)),this.setCooldown(oy(t,"cooldown",void 0)),this}boot(){var t=this.parent;t.on("pointerdown",this.onPointIn,this),t.on("pointerover",this.onPointIn,this),t.on("pointerup",this.onPointOut,this),t.on("pointerout",this.onPointOut,this),this.scene.sys.events.on("preupdate",this.preupdate,this)}shutdown(t){this.isShutdown||(this.scene.sys.events.off("preupdate",this.preupdate,this),this.pointer=void 0,super.shutdown(t))}get enable(){return this._enable}set enable(t){if(this._enable!==t)return t||(this.prevIsInTouch=!1,this.isInTouching=!1,this.pointer=void 0),this._enable=t,this}setEnable(t){return void 0===t&&(t=!0),this.enable=t,this}get cooldownTime(){return this.cooldown.cooldownTime}set cooldownTime(t){this.cooldown.setCooldownTime(t)}setCooldown(t){return this.cooldownTime=t,this}toggleEnable(){return this.setEnable(!this.enable),this}onPointIn(t,e,i){this.enable&&t.isDown&&void 0===this.pointer&&(this.pointer=t,this.isInTouching=!0)}onPointOut(t){this.enable&&this.pointer===t&&(this.pointer=void 0,this.isInTouching=!1)}preupdate(t,e){this.cooldown.update(t,e),!this.prevIsInTouch&&this.isInTouching&&this.emit("touchstart",this,this.parent),this.isInTouching&&this.cooldown.request()&&this.emit("intouch",this,this.parent,this.pointer),this.prevIsInTouch&&!this.isInTouching&&this.emit("touchend",this,this.parent),this.prevIsInTouch=this.isInTouching}}var ly={isPointerInBounds(t){return void 0===t?t=this:"string"==typeof t&&(t=this.getElement(t)),!!t&&Hm(t)},onTouching(t,e,i,s){return t?("function"==typeof t&&(s=i,i=e,e=t,t=this),void 0===t._inTouching&&(t._inTouching=new hy(t,s)),t._inTouching.on("intouch",e,i),this):this},offTouching(t,e,i){return"function"==typeof t&&(i=e,e=t,t=this),void 0===t._inTouching||t._inTouching.off("intouch",e,i),this},onTouchingEnd(t,e,i,s){return t?("function"==typeof t&&(s=i,i=e,e=t,t=this),void 0===t._inTouching&&(t._inTouching=new hy(t,s)),t._inTouching.on("touchend",e,i),this):this},offTouchingEnd(t,e,i){return"function"==typeof t&&(i=e,e=t,t=this),void 0===t._inTouching||t._inTouching.off("touchend",e,i),this},enableTouching(t,e){return"boolean"==typeof t&&(e=t,t=void 0),void 0===t&&(t=this),void 0===t._inTouching||t._inTouching.setEnable(e),this},disableTouching(t){return void 0===t&&(t=this),void 0===t._inTouching||t._inTouching.setEnable(!1),this}},dy={onOver(t,e,i){return t?("function"==typeof t&&(i=e,e=t,t=this),t.setInteractive().on("pointerover",e,i),this):this},onOut(t,e,i){return t?("function"==typeof t&&(i=e,e=t,t=this),t.setInteractive().on("pointerout",e,i),this):this}},cy=function(t,e,i,s){if("parent"===t){for(var r,n=0,a=e.length;n0),this.onDragStart())}onPointerUp(t){this.enable&&(!this.bounds||this.bounds.contains(t.x,t.y))&&this.pointer===t&&(this.pointer=void 0,this.pointerCamera=void 0,this.movedState=!1,this.tracerState=Oy,this.onDragEnd())}onPointerMove(t){if(this.enable&&t.isDown){var e=!this.bounds||this.bounds.contains(t.x,t.y),i=this.pointer===t;!i&&e||(i&&!e?this.onPointerUp(t):(this.movedState||(this.movedState=t.x!==t.downX||t.y!==t.downY),this.movedState&&this.onDrag()))}}dragCancel(){return this.tracerState===My&&this.onDragEnd(),this.pointer=void 0,this.tracerState=Oy,this}onDragStart(){this.emit("dragstart",this)}onDragEnd(){this.emit("dragend",this)}onDrag(){this.emit("drag",this)}preUpdate(t,e){}postUpdate(t,e){}startTicking(){super.startTicking(),this.scene.sys.events.on("preupdate",this.preUpdate,this),this.scene.sys.events.on("postupdate",this.postUpdate,this)}stopTicking(){super.stopTicking(),this.scene&&(this.scene.sys.events.off("preupdate",this.preUpdate,this),this.scene.sys.events.off("postupdate",this.postUpdate,this))}setRecongizedStateObject(t){return this.recongizedState=t,this}get state(){return this.recongizedState.state}set state(t){this.recongizedState.state=t}cancel(){return this.state=Ey,this}isPointerInGameObject(t,e,i){var s=this.lastPointer;return!!s&&Hm(t,s,e,i)}}const Oy=0,My=1,Ey="IDLE",_y=Phaser.Utils.Objects.GetValue,Ry=Phaser.Math.Distance.Between;class Ly extends Ty{constructor(t,e){super(t,e);var i=this,s={states:{IDLE:{enter:function(){i.stop(),i.tapsCount=0,i.x=0,i.y=0,i.worldX=0,i.worldY=0,i.lastPointer=void 0},exit:function(){var t=i.lastPointer;i.x=t.x,i.y=t.y,i.worldX=t.worldX,i.worldY=t.worldY}},BEGIN:{enter:function(){i.start(),i.tapsCount=0,i.emit("tappingstart",i,i.gameObject,i.lastPointer)}},RECOGNIZED:{enter:function(){i.start(),i.emit("tap",i,i.gameObject,i.lastPointer),i.emit(`${i.tapsCount}tap`,i,i.gameObject,i.lastPointer)}}},init:function(){this.state=By},eventEmitter:!1};this.setRecongizedStateObject(new gm(s))}resetFromJSON(t){super.resetFromJSON(t),this.setHoldTime(_y(t,"time",250)),this.setTapInterval(_y(t,"tapInterval",200)),this.setDragThreshold(_y(t,"threshold",9)),this.setTapOffset(_y(t,"tapOffset",10));var e=_y(t,"taps",void 0);return void 0!==e?this.setTaps(e):(this.setMaxTaps(_y(t,"maxTaps",void 0)),this.setMinTaps(_y(t,"minTaps",void 0))),this}onDragStart(){switch(this.state){case By:this.state=Iy;break;case Iy:var t=this.lastPointer;Ry(t.upX,t.upY,t.x,t.y)>this.tapOffset&&(this.state=Dy,this.state=Iy);break;case Dy:this.state=Iy}}onDragEnd(){this.state===Iy&&(this.tapsCount++,this.emit("tapping",this,this.gameObject,this.lastPointer),void 0!==this.maxTaps&&this.tapsCount===this.maxTaps&&(this.state=Dy))}onDrag(){this.state!==By&&this.pointer.getDistance()>this.dragThreshold&&(this.state=By)}preUpdate(t,e){if(this.isRunning&&this.enable&&this.state===Iy){var i=this.lastPointer;i.isDown?t-i.downTime>this.holdTime&&(this.state=By):t-i.upTime>this.tapInterval&&(void 0===this.minTaps||this.tapsCount>=this.minTaps?this.state=Dy:this.state=By)}}postUpdate(t,e){this.isRunning&&this.enable&&this.state===Dy&&(this.state=By)}get isTapped(){return this.state===Dy}setHoldTime(t){return this.holdTime=t,this}setTapInterval(t){return this.tapInterval=t,this}setDragThreshold(t){return this.dragThreshold=t,this}setTapOffset(t){return this.tapOffset=t,this}setMaxTaps(t){return this.maxTaps=t,this}setMinTaps(t){return this.minTaps=t,this}setTaps(t,e){return void 0===e&&(e=t),this.setMinTaps(t).setMaxTaps(e),this}}const By="IDLE",Iy="BEGIN",Dy="RECOGNIZED",Ay=Phaser.Utils.Objects.GetValue;class jy extends Ty{constructor(t,e){super(t,e);var i=this,s={states:{IDLE:{enter:function(){i.x=0,i.y=0,i.worldX=0,i.worldY=0,i.lastPointer=void 0},exit:function(){var t=i.lastPointer;i.x=t.x,i.y=t.y,i.worldX=t.worldX,i.worldY=t.worldY}},BEGIN:{enter:function(){i.start()},exit:function(){i.stop()}},RECOGNIZED:{enter:function(){i.emit("pressstart",i,i.gameObject,i.lastPointer)},exit:function(){i.emit("pressend",i,i.gameObject,i.lastPointer)}}},init:function(){this.state=zy},eventEmitter:!1};this.setRecongizedStateObject(new gm(s))}resetFromJSON(t){return super.resetFromJSON(t),this.setDragThreshold(Ay(t,"threshold",9)),this.setHoldTime(Ay(t,"time",251)),this}onDragStart(){this.state=Fy,0===this.holdTime&&(this.state=Xy)}onDragEnd(){this.state=zy}onDrag(){this.state!==zy&&this.pointer.getDistance()>this.dragThreshold&&(this.state=zy)}preUpdate(t,e){this.isRunning&&this.enable&&this.state===Fy&&t-this.pointer.downTime>=this.holdTime&&(this.state=Xy)}get isPressed(){return this.state===Xy}setHoldTime(t){return this.holdTime=t,this}setDragThreshold(t){return this.dragThreshold=t,this}}const zy="IDLE",Fy="BEGIN",Xy="RECOGNIZED",Yy=Phaser.Utils.Objects.GetValue;class Wy extends Ty{constructor(t,e){super(t,e);var i=this,s={states:{IDLE:{},BEGIN:{enter:function(){var t=i.pointer;i.startX=t.x,i.startY=t.y,i.startWorldX=t.worldX,i.startWorldY=t.worldY}},RECOGNIZED:{enter:function(){i.emit("panstart",i,i.gameObject,i.lastPointer)},exit:function(){var t=i.lastPointer;i.endX=t.x,i.endY=t.y;var e=Vm(t,i.pointerCamera,!0);i.endWorldX=e.x,i.endWorldY=e.y,i.emit("panend",i,i.gameObject,i.lastPointer)}}},init:function(){this.state=Vy},eventEmitter:!1};this.setRecongizedStateObject(new gm(s))}resetFromJSON(t){return super.resetFromJSON(t),this.setDragThreshold(Yy(t,"threshold",10)),this}onDragStart(){this.state=Gy,0===this.dragThreshold&&(this.state=Hy)}onDragEnd(){this.state=Vy}onDrag(){switch(this.state){case Gy:if(this.pointer.getDistance()>=this.dragThreshold){this.state=Hy,this.dx=0,this.dy=0,this.dWorldX=0,this.dWorldY=0;var t=this.pointer;this.x=t.x,this.y=t.y,this.worldX=t.worldX,this.worldY=t.worldY}break;case Hy:var e=this.pointerCamera,i=this.pointer.position,s=this.pointer.prevPosition;this.dx=i.x-s.x,this.dy=i.y-s.y,this.dWorldX=this.dx/e.zoom,this.dWorldY=this.dy/e.zoom,t=this.pointer,this.x=t.x,this.y=t.y;var r=Vm(t,e,!0);this.worldX=r.x,this.worldY=r.y,this.emit("pan",this,this.gameObject,this.lastPointer)}}get isPanned(){return this.state===Hy}setDragThreshold(t){return this.dragThreshold=t,this}}const Vy="IDLE",Gy="BEGIN",Hy="RECOGNIZED",Uy=Phaser.Math.Distance.Between,Ny=Phaser.Math.Angle.Between;var $y={getDt:function(){return oc(this.scene)},getVelocity:function(){var t=this.pointer.position,e=this.pointer.prevPosition;return Uy(e.x,e.y,t.x,t.y)/(.001*this.getDt())},getVelocityX:function(){var t=this.pointer.position,e=this.pointer.prevPosition;return Math.abs(t.x-e.x)/(.001*this.getDt())},getVelocityY:function(){var t=this.pointer.position,e=this.pointer.prevPosition;return Math.abs(t.y-e.y)/(.001*this.getDt())},getVelocityAngle:function(){var t=this.pointer.position,e=this.pointer.prevPosition;return Ny(e.x,e.y,t.x,t.y)}},Ky={"up&down":0,"left&right":1,"4dir":2,"8dir":3},Jy={};const qy=Phaser.Utils.Objects.GetValue,Zy=Phaser.Math.RadToDeg;class Qy extends Ty{constructor(t,e){super(t,e);var i=this,s={states:{IDLE:{enter:function(){i.x=0,i.y=0,i.worldX=0,i.worldY=0},exit:function(){var t=i.lastPointer;i.x=t.x,i.y=t.y,i.worldX=t.worldX,i.worldY=t.worldY}},BEGIN:{enter:function(){i.validDrag=!1}},RECOGNIZED:{enter:function(){i.start(),i.updateDirectionStates(),i.emit("swipe",i,i.gameObject,i.lastPointer)},exit:function(){i.stop(),i.clearDirectionStates()}}},init:function(){this.state=tb},eventEmitter:!1};this.setRecongizedStateObject(new gm(s)),this.clearDirectionStates()}resetFromJSON(t){return super.resetFromJSON(t),this.setDragThreshold(qy(t,"threshold",10)),this.setVelocityThreshold(qy(t,"velocityThreshold",1e3)),this.setDirectionMode(qy(t,"dir","8dir")),this}onDragStart(){this.state=eb}onDragEnd(){this.state=tb}onDrag(){this.state===eb&&(this.validDrag||(this.validDrag=0===this.dragThreshold||this.pointer.getDistance()>=this.dragThreshold),this.validDrag&&this.dragVelocity>this.velocityThreshold&&(this.state=ib))}postUpdate(t,e){this.isRunning&&this.enable&&this.state===ib&&(this.state=tb)}get isSwiped(){return this.state===ib}get dragVelocity(){var t;switch(this.dirMode){case 0:t=this.getVelocityY();break;case 1:t=this.getVelocityX();break;default:t=this.getVelocity()}return t}setDragThreshold(t){return this.dragThreshold=t,this}setVelocityThreshold(t){return this.velocityThreshold=t,this}setDirectionMode(t){return"string"==typeof t&&(t=Ky[t]),this.dirMode=t,this}updateDirectionStates(){return function(t,e,i){switch(void 0===i?i={}:!0===i&&(i=Jy),i.left=!1,i.right=!1,i.up=!1,i.down=!1,t=(t+360)%360,e){case 0:t<180?i.down=!0:i.up=!0;break;case 1:t>90&&t<=270?i.left=!0:i.right=!0;break;case 2:t>45&&t<=135?i.down=!0:t>135&&t<=225?i.left=!0:t>225&&t<=315?i.up=!0:i.right=!0;break;case 3:t>22.5&&t<=67.5?(i.down=!0,i.right=!0):t>67.5&&t<=112.5?i.down=!0:t>112.5&&t<=157.5?(i.down=!0,i.left=!0):t>157.5&&t<=202.5?i.left=!0:t>202.5&&t<=247.5?(i.left=!0,i.up=!0):t>247.5&&t<=292.5?i.up=!0:t>292.5&&t<=337.5?(i.up=!0,i.right=!0):i.right=!0}}(Zy(this.getVelocityAngle()),this.dirMode,this),this}clearDirectionStates(){return this.left=!1,this.right=!1,this.up=!1,this.down=!1,this}}Object.assign(Qy.prototype,$y);const tb="IDLE",eb="BEGIN",ib="RECOGNIZED",sb=Phaser.Utils.Objects.GetValue,rb=Phaser.Utils.Array.SpliceOne,nb=Phaser.Math.Distance.Between,ab=Phaser.Math.Angle.Between;class ob{constructor(t,e){var i=Ra(t);i===t&&(t=void 0);var s=i.input.manager.pointersTotal-1;s<2&&i.input.addPointer(2-s),this.scene=i,this.gameObject=t,t&&t.setInteractive(sb(e,"inputConfig",void 0)),this.setEventEmitter(sb(e,"eventEmitter",void 0)),this._enable=void 0,this.pointers=[],this.movedState={},this.resetFromJSON(e),this.boot()}resetFromJSON(t){return this.setEnable(sb(t,"enable",!0)),this.bounds=sb(t,"bounds",void 0),this.tracerState=lb,this.pointers.length=0,q(this.movedState),this}boot(){this.gameObject?this.gameObject.on("pointerdown",this.onPointerDown,this):this.scene.input.on("pointerdown",this.onPointerDown,this),this.scene.input.on("pointerup",this.onPointerUp,this),this.scene.input.on("gameout",this.dragCancel,this),this.scene.input.on("pointermove",this.onPointerMove,this),this.scene.sys.events.once("shutdown",this.destroy,this)}shutdown(){this.scene&&(this.destroyEventEmitter(),this.pointers.length=0,q(this.movedState),this.gameObject||this.scene.input.off("pointerdown",this.onPointerDown,this),this.scene.input.off("pointerup",this.onPointerUp,this),this.scene.input.off("gameout",this.dragCancel,this),this.scene.input.off("pointermove",this.onPointerMove,this),this.scene.sys.events.off("shutdown",this.destroy,this),this.scene=void 0,this.gameObject=void 0)}destroy(){this.shutdown()}get enable(){return this._enable}set enable(t){if(this._enable!==t)return t||this.dragCancel(),this._enable=t,this}setEnable(t){return void 0===t&&(t=!0),this.enable=t,this}toggleEnable(){return this.setEnable(!this.enable),this}onPointerDown(t){if(this.enable&&2!==this.pointers.length&&(!this.bounds||this.bounds.contains(t.x,t.y))&&-1===this.pointers.indexOf(t))switch(this.movedState[t.id]=!1,this.pointers.push(t),this.pointerCamera=t.camera,this.tracerState){case lb:this.tracerState=db,this.onDrag1Start();break;case db:this.tracerState=cb,this.onDrag2Start()}}onPointerUp(t){if(this.enable&&(!this.bounds||this.bounds.contains(t.x,t.y))){var e=this.pointers.indexOf(t);if(-1!==e)switch(delete this.movedState[t.id],rb(this.pointers,e),this.tracerState){case db:this.tracerState=lb,this.onDrag1End();break;case cb:this.tracerState=db,this.onDrag2End(),this.onDrag1Start()}}}onPointerMove(t){if(this.enable&&t.isDown){var e=!this.bounds||this.bounds.contains(t.x,t.y),i=-1!==this.pointers.indexOf(t);if(!i&&e);else if(i&&!e)this.onPointerUp(t);else if(this.movedState[t.id]||(this.movedState[t.id]=t.x!==t.downX||t.y!==t.downY),this.movedState[t.id])switch(this.tracerState){case db:this.onDrag1();break;case cb:this.onDrag2()}}}dragCancel(){return this.tracerState===cb&&this.onDrag2End(),this.pointers.length=0,q(this.movedState),this.tracerState=lb,this}onDrag1Start(){this.emit("drag1start",this)}onDrag1End(){this.emit("drag1end",this)}onDrag1(){this.emit("drag1",this)}onDrag2Start(){this.emit("drag2start",this)}onDrag2End(){this.emit("drag2end",this)}onDrag2(){this.emit("drag2",this)}get distanceBetween(){if(this.tracerState!==cb)return 0;var t=this.pointers[0],e=this.pointers[1];return nb(t.x,t.y,e.x,e.y)}get angleBetween(){if(this.tracerState!==cb)return 0;var t=this.pointers[0],e=this.pointers[1];return ab(t.x,t.y,e.x,e.y)}get drag1Vector(){var t=this.pointers[0];if(t&&this.movedState[t.id]){var e=t.position,i=t.prevPosition;hb.x=e.x-i.x,hb.y=e.y-i.y}else hb.x=0,hb.y=0;return hb}get centerX(){if(this.tracerState!==cb)return 0;var t=this.pointers[0].position,e=this.pointers[1].position;return(t.x+e.x)/2}get centerY(){if(this.tracerState!==cb)return 0;var t=this.pointers[0].position,e=this.pointers[1].position;return(t.y+e.y)/2}get prevCenterX(){if(this.tracerState!==cb)return 0;var t=this.movedState[this.pointers[0].id]?this.pointers[0].prevPosition:this.pointers[0].position,e=this.movedState[this.pointers[1].id]?this.pointers[1].prevPosition:this.pointers[1].position;return(t.x+e.x)/2}get prevCenterY(){if(this.tracerState!==cb)return 0;var t=this.movedState[this.pointers[0].id]?this.pointers[0].prevPosition:this.pointers[0].position,e=this.movedState[this.pointers[1].id]?this.pointers[1].prevPosition:this.pointers[1].position;return(t.y+e.y)/2}get movementCenterX(){return this.centerX-this.prevCenterX}get movementCenterY(){return this.centerY-this.prevCenterY}setRecongizedStateObject(t){return this.recongizedState=t,this}get state(){return this.recongizedState.state}set state(t){this.recongizedState.state=t}cancel(){return this.state=ub,this}isPointer0InGameObject(t,e,i){var s=this.pointers[0];return!!s&&Hm(t,s,e,i)}isPointer1InGameObject(t,e,i){var s=this.pointers[1];return!!s&&Hm(t,s,e,i)}}Object.assign(ob.prototype,dn);var hb={};const lb=0,db=1,cb=2,ub="IDLE",pb=Phaser.Utils.Objects.GetValue;class gb extends ob{constructor(t,e){super(t,e);var i=this,s={states:{IDLE:{enter:function(){i.prevDistance=void 0,i.scaleFactor=1}},BEGIN:{},RECOGNIZED:{enter:function(){i.emit("pinchstart",i)},exit:function(){i.emit("pinchend",i)}}},init:function(){this.state=vb},eventEmitter:!1};this.setRecongizedStateObject(new gm(s))}resetFromJSON(t){return super.resetFromJSON(t),this.setDragThreshold(pb(t,"threshold",0)),this}onDrag2Start(){this.scaleFactor=1,this.prevDistance=this.distanceBetween,this.state=fb,0===this.dragThreshold&&(this.state=mb)}onDrag2End(){this.state=vb}onDrag2(){switch(this.state){case fb:if(this.pointers[0].getDistance()>=this.dragThreshold&&this.pointers[1].getDistance()>=this.dragThreshold){var t=this.distanceBetween;this.scaleFactor=t/this.prevDistance,this.prevDistance=t,this.state=mb}break;case mb:t=this.distanceBetween,this.scaleFactor=t/this.prevDistance,this.emit("pinch",this),this.prevDistance=t}}get isPinched(){return this.state===mb}setDragThreshold(t){return this.dragThreshold=t,this}}const vb="IDLE",fb="BEGIN",mb="RECOGNIZED",yb=Phaser.Math.RotateAround;var bb=function(t,e,i,s){return yb(t,e,i,s),t.rotation+=s,t},xb={};const Cb=Phaser.Utils.Objects.GetValue,kb=Phaser.Math.Angle.WrapDegrees,wb=Phaser.Math.Angle.ShortestBetween,Sb=Phaser.Math.RadToDeg,Pb=Phaser.Math.DegToRad;class Tb extends ob{constructor(t,e){super(t,e);var i=this,s={states:{IDLE:{enter:function(){i.prevAngle=void 0,i.angle=0}},BEGIN:{},RECOGNIZED:{enter:function(){i.emit("rotatestart",i)},exit:function(){i.emit("rotateend",i)}}},init:function(){this.state=Mb},eventEmitter:!1};this.setRecongizedStateObject(new gm(s))}resetFromJSON(t){return super.resetFromJSON(t),this.setDragThreshold(Cb(t,"threshold",0)),this}onDrag2Start(){this.prevAngle=kb(Sb(this.angleBetween)),this.state=Eb,0===this.dragThreshold&&(this.state=_b)}onDrag2End(){this.state=Mb}onDrag2(){switch(this.state){case Eb:if(this.pointers[0].getDistance()>=this.dragThreshold&&this.pointers[1].getDistance()>=this.dragThreshold){var t=kb(Sb(this.angleBetween));this.angle=wb(this.prevAngle,t),this.prevAngle=t,this.state=_b}break;case _b:t=kb(Sb(this.angleBetween)),this.angle=wb(this.prevAngle,t),this.prevAngle=t,this.emit("rotate",this)}}get isRotated(){return this.state===_b}get rotation(){return Pb(this.angle)}setDragThreshold(t){return this.dragThreshold=t,this}}var Ob={spinObject:function(t,e){if(!this.isRotation)return this;void 0===e&&(e=this.pointers[0].camera);var i=this.movementCenterX,s=this.movementCenterY,r=function(t,e,i,s){return void 0===s?s={}:!0===s&&(s=xb),i.getWorldPoint(t,e,s),s}(this.centerX,this.centerY,e,!0),n=r.x,a=r.y,o=this.rotation;if(Array.isArray(t))for(var h=t,l=0,d=h.length;l0&&(r=!0,void 0===n&&(n=0),void 0===a&&(a=0)),(u=this.getSizerConfig(t)).align=i,u.padding=Iv(s),$b(r)?(u.expandWidth=Kb(r,"width",!1),u.expandHeight=Kb(r,"height",!1)):(u.expandWidth=r,u.expandHeight=r),t.isRexSizer||(u.expandWidth&&(t.minWidth=void 0===n?zn(t):n),u.expandHeight&&(t.minHeight=void 0===a?Fn(t):a)),u.alignOffsetX=o,u.alignOffsetY=h,u.alignOffsetOriginX=d,u.alignOffsetOriginY=c,u.aspectRatio=l,this.sizerChildren.hasOwnProperty(e)&&this.sizerChildren[e].destroy(),this.sizerChildren[e]=t,p&&this.addChildrenMap(e,t),this}};const Qb=Qg.prototype.clear;var tx=function(t){this.backgroundChildren&&(this.backgroundChildren.length=0);var e,i=!t&&this.sizerEventsEnable;if(i&&(e=this.getChildren([])),Qb.call(this,t),i)for(var s,r=0,n=e.length;r0&&(Ub.width=e.aspectRatio,Ub.height=1,Nb.width=l,Nb.height=d,l=(c=Wb(Ub,Nb,"FIT",!0)).width,d=c.height),t.isRexSizer?(t.runLayout(this,l,d),Hb(t,this)):of(t,l,d),s=u+i.left*this.scaleX,n=g-(i.left+i.right)*this.scaleX,r=p+i.top*this.scaleY,a=v-(i.top+i.bottom)*this.scaleY,void 0===l&&(l=zn(t)),void 0===d&&(d=Fn(t)),o=(e.alignOffsetX+e.alignOffsetOriginX*l)*this.scaleX,h=(e.alignOffsetY+e.alignOffsetOriginY*d)*this.scaleY,Zm.call(this,t,s,r,n,a,e.align,o,h))}};Object.assign(ix,Zb,ex);var sx=function(t,e){if(Array.isArray(t))return t.indexOf(e);for(var i in t)if(t[i]===e)return i;return null};const rx=Phaser.Utils.Objects.IsPlainObject,nx=Phaser.Utils.Objects.GetValue;class ax extends Yb{constructor(t,e,i,s,r,n){rx(e)?(e=nx(n=e,"x",0),i=nx(n,"y",0),s=nx(n,"width",void 0),r=nx(n,"height",void 0)):rx(s)&&(s=nx(n=s,"width",void 0),r=nx(n,"height",void 0)),super(t,e,i,s,r,n),this.type="rexOverlapSizer",this.sizerChildren={},this.addChildrenMap("items",this.sizerChildren)}childToKey(t){if("string"!=typeof t)return sx(this.sizerChildren,t);var e=t;return this.sizerChildren.hasOwnPropery(e)?e:null}}Object.assign(ax.prototype,ix);var ox=Phaser.Math.Distance.Between,hx=function(t,e,i){var s=t.width/2;return ox(s,s,e,i)<=s};const lx=Phaser.Math.Angle.Between,dx=Phaser.Math.Angle.Normalize;var cx=function(t,e,i){if(this.enable&&t.isDown){var s=this.sizerChildren.knob;if(hx(s,e,i)){var r=s.width/2,n=s.startAngle,a=lx(r,r,e,i),o=s.anticlockwise?n-a:a-n,h=dx(o)/(2*Math.PI);this.stopEaseValue(),0===this.easeValueDuration||Math.abs(this.value-h)<.1?this.value=h:this.easeValueTo(h)}}},ux=function(){this.sizerChildren.knob.on("pointerdown",cx,this).on("pointermove",cx,this).setInteractive()};const px=Phaser.Math.Angle.Between,gx=Phaser.Math.Angle.Wrap;var vx=function(t,e,i){if(this.enable&&!this.panPointer){var s=this.sizerChildren.knob;hx(s,e,i)&&yx.call(this,t)}},fx=function(t,e,i){if(this.enable&&t.isDown){var s=this.sizerChildren.knob;switch(this.panState){case Cx:hx(s,e,i)&&yx.call(this,t);break;case kx:hx(s,e,i)?xx.call(this):bx.call(this)}}},mx=function(t,e,i){this.enable&&this.panPointer===t&&bx.call(this)},yx=function(t){this.panPointer=t,this.panState=kx},bx=function(){this.panPointer=void 0,this.panState=Cx},xx=function(){var t=this.panPointer.prevPosition,e=this.panPointer.position,i=this.sizerChildren.knob,s=px(i.x,i.y,t.x,t.y),r=px(i.x,i.y,e.x,e.y),n=i.anticlockwise?s-r:r-s,a=gx(n)/(2*Math.PI);this.stopEaseValue(),this.value+=a};const Cx=0,kx=1;var wx=function(){this.sizerChildren.knob.on("pointerdown",vx,this).on("pointermove",fx,this).on("pointerup",mx,this).setInteractive(),this.panPointer=void 0,this.panState=Cx},Sx=function(t){return void 0===t&&(t=this.value),this.textFormatCallbackScope?this.textFormatCallback(t):this.textFormatCallback.call(this.textFormatCallbackScope,t)},Px={setTextFormatCallback:function(t,e){return this.textFormatCallback=t,this.textFormatCallbackScope=e,this},getFormatText:Sx,updateText:function(t){var e=this.sizerChildren.text;return e&&this.textFormatCallback&&(e.setText(Sx.call(this,t)),e.layout&&e.layout()),this}};const Tx=Phaser.Utils.Objects.GetValue,Ox=Phaser.Math.Snap.To;class Mx extends(Gu(ax)){constructor(t,e){void 0===e&&(e={}),super(t,e),this.type="rexKnob",this.bootProgressBase(e);var i=Tx(e,"background",void 0),s=Tx(e,"text",void 0);i&&this.addBackground(i),s&&(e.textColor=void 0,e.textStrokeColor=void 0,this.setTextFormatCallback(Tx(e,"textFormatCallback",void 0),Tx(e,"textFormatCallbackScope",void 0)),e.textFormatCallback=void 0,e.textFormatCallbackScope=void 0);var r=new hp(t,e);r.setDepth(Tx(e,"knobDepth",0)),r._value=-1,t.add.existing(r),this.add(r,"knob"),s&&(this.add(s,"text","center",0,!1),t.children.moveBelow(r,s)),this.addChildrenMap("background",i),this.addChildrenMap("knob",r),this.addChildrenMap("text",s),this.setEnable(Tx(e,"enable",void 0)),this.setGap(Tx(e,"gap",void 0)),this.setValue(Tx(e,"value",0),Tx(e,"min",void 0),Tx(e,"max",void 0));var n=Tx(e,"input",0);switch("string"==typeof n&&(n=Ex[n]),n){case 0:wx.call(this);break;case 1:ux.call(this)}}setEnable(t){return void 0===t&&(t=!0),this.enable=t,this}setGap(t){return this.gap=t,this}get value(){return this.sizerChildren.knob.value}set value(t){void 0!==this.gap&&(t=Ox(t,this.gap));var e=this.value;this.sizerChildren.knob.value=t;var i=this.value;e!==i&&(this.updateText(),this.eventEmitter.emit("valuechange",i,e,this.eventEmitter))}}const Ex={pan:0,drag:0,click:1,none:-1};Object.assign(Mx.prototype,Px),t.register("knob",(function(t){var e=new Mx(this.scene,t);return this.scene.add.existing(e),e})),P(window,"RexPlugins.UI.Knob",Mx);const _x={arc:Sc,circle:Pc,curve:class extends kc{constructor(t){super(),this.setCurve(t),this.setIterations(32)}get curve(){return this._curve}set curve(t){this.dirty=this.dirty||this._curve!==t,this._curve=t}setCurve(t){return this.curve=t,this}get iterations(){return this._iterations}set iterations(t){this.dirty=this.dirty||this._iterations!==t,this._iterations=t}setIterations(t){return this.iterations=t,this}updateData(){this.pathData.length=0;for(var t=this.curve.getPoints(this.iterations),e=0,i=t.length;ethis.value)for(var d=0;dthis.value&&(t+=1));for(var r=this.getShapes(),n=0,a=r.length;n0?d.pop().setTexture(u,O):r(c,u,O),h&&c.add.existing(T),l){var M=b+k*P+a*k,E=x+w*S+o*w;T.setOrigin(a,o).setPosition(M,E).setScale(v,f).setRotation(m),ck(T,b,x,m)}C.push(T)}return C}(t,e,i,s),a=0,o=n.length;a0&&(a=this.getChildLocalScaleX(s),a/=s.biasScale,this.setChildLocalScale(s,a)),r.biasScale&&(a=this.getChildLocalScaleX(r),a/=r.biasScale,this.setChildLocalScale(r,a))),e?t.call(e,i,s,r,n):t(i,s,r,n),this.scaleMode&&(s.biasScale>0&&(a=this.getChildLocalScaleX(s),a*=s.biasScale,this.setChildLocalScale(s,a)),r.biasScale&&(a=this.getChildLocalScaleX(r),a*=r.biasScale,this.setChildLocalScale(r,a))))};Object.assign(Ck.prototype,gk);const wk={fit:1,FIT:1,envelop:2,ENVELOP:2};t.register("transitionImage",(function(t,e,i,s,r){var n=new Ck(this.scene,t,e,i,s,r);return this.scene.add.existing(n),n})),P(window,"RexPlugins.UI.TransitionImage",Ck);const Sk=Phaser.Renderer.WebGL.Pipelines.PostFXPipeline,Pk=Phaser.Utils.Objects.GetValue,Tk=Phaser.Math.Clamp;class Ok extends Sk{constructor(t){super({name:"rexDissolvePostFx",game:t,renderTarget:!0,fragShader:"#ifdef GL_FRAGMENT_PRECISION_HIGH\n#define highmedp highp\n#else\n#define highmedp mediump\n#endif\nprecision highmedp float;\n// Scene buffer\nuniform sampler2D uMainSampler;\nuniform sampler2D uMainSampler2;\n\nuniform int resizeMode;\nuniform float progress;\nuniform float fromRatio;\nuniform float toRatio;\nvarying vec2 outFragCoord;\n// Effect parameters\nuniform float noiseX;\nuniform float noiseY;\nuniform float noiseZ;\nuniform float fromEdgeStart;\nuniform float fromEdgeWidth;\nuniform float toEdgeStart;\nuniform float toEdgeWidth;\n\nvec3 mod289(vec3 x) { return x - floor(x * (1.0 / 289.0)) * 289.0; }\nvec4 mod289(vec4 x) { return x - floor(x * (1.0 / 289.0)) * 289.0; }\nvec4 permute(vec4 x) { return mod289(((x*34.0)+1.0)*x); }\nvec4 taylorInvSqrt(vec4 r) { return 1.79284291400159 - 0.85373472095314 * r; }\nvec3 fade(vec3 t) { return t*t*t*(t*(t*6.0-15.0)+10.0); }\nfloat Perlin(vec3 P) {\n vec3 i0 = mod289(floor(P)), i1 = mod289(i0 + vec3(1.0));\n vec3 f0 = fract(P), f1 = f0 - vec3(1.0), f = fade(f0);\n vec4 ix = vec4(i0.x, i1.x, i0.x, i1.x), iy = vec4(i0.yy, i1.yy);\n vec4 iz0 = i0.zzzz, iz1 = i1.zzzz;\n vec4 ixy = permute(permute(ix) + iy), ixy0 = permute(ixy + iz0), ixy1 = permute(ixy + iz1);\n vec4 gx0 = ixy0 * (1.0 / 7.0), gy0 = fract(floor(gx0) * (1.0 / 7.0)) - 0.5;\n vec4 gx1 = ixy1 * (1.0 / 7.0), gy1 = fract(floor(gx1) * (1.0 / 7.0)) - 0.5;\n gx0 = fract(gx0); gx1 = fract(gx1);\n vec4 gz0 = vec4(0.5) - abs(gx0) - abs(gy0), sz0 = step(gz0, vec4(0.0));\n vec4 gz1 = vec4(0.5) - abs(gx1) - abs(gy1), sz1 = step(gz1, vec4(0.0));\n gx0 -= sz0 * (step(0.0, gx0) - 0.5); gy0 -= sz0 * (step(0.0, gy0) - 0.5);\n gx1 -= sz1 * (step(0.0, gx1) - 0.5); gy1 -= sz1 * (step(0.0, gy1) - 0.5);\n vec3 g0 = vec3(gx0.x,gy0.x,gz0.x), g1 = vec3(gx0.y,gy0.y,gz0.y),\n g2 = vec3(gx0.z,gy0.z,gz0.z), g3 = vec3(gx0.w,gy0.w,gz0.w),\n g4 = vec3(gx1.x,gy1.x,gz1.x), g5 = vec3(gx1.y,gy1.y,gz1.y),\n g6 = vec3(gx1.z,gy1.z,gz1.z), g7 = vec3(gx1.w,gy1.w,gz1.w);\n vec4 norm0 = taylorInvSqrt(vec4(dot(g0,g0), dot(g2,g2), dot(g1,g1), dot(g3,g3)));\n vec4 norm1 = taylorInvSqrt(vec4(dot(g4,g4), dot(g6,g6), dot(g5,g5), dot(g7,g7)));\n g0 *= norm0.x; g2 *= norm0.y; g1 *= norm0.z; g3 *= norm0.w;\n g4 *= norm1.x; g6 *= norm1.y; g5 *= norm1.z; g7 *= norm1.w;\n vec4 nz = mix(vec4(dot(g0, vec3(f0.x, f0.y, f0.z)), dot(g1, vec3(f1.x, f0.y, f0.z)),\n dot(g2, vec3(f0.x, f1.y, f0.z)), dot(g3, vec3(f1.x, f1.y, f0.z))),\n vec4(dot(g4, vec3(f0.x, f0.y, f1.z)), dot(g5, vec3(f1.x, f0.y, f1.z)),\n dot(g6, vec3(f0.x, f1.y, f1.z)), dot(g7, vec3(f1.x, f1.y, f1.z))), f.z);\n return 2.2 * mix(mix(nz.x,nz.z,f.y), mix(nz.y,nz.w,f.y), f.x);\n}\nfloat Perlin(vec2 P) { return Perlin(vec3(P, 0.0)); }\n\n\nvec4 getFromColor (vec2 uv) {\n return texture2D(uMainSampler, uv);\n}\n\nvec4 getToColor (vec2 uv) {\n if (resizeMode == 2) {\n // cover\n return texture2D(uMainSampler2, 0.5 + (vec2(uv.x, 1.0 - uv.y) - 0.5) * vec2(min(fromRatio / toRatio, 1.0), min((toRatio / fromRatio), 1.0)));\n } else if (resizeMode == 1) {\n // contain\n return texture2D(uMainSampler2, 0.5 + (vec2(uv.x, 1.0 - uv.y) - 0.5) * vec2(max(fromRatio / toRatio, 1.0), max((toRatio / fromRatio), 1.0)));\n } else {\n // stretch\n return texture2D(uMainSampler2, vec2(uv.x, 1.0 - uv.y));\n }\n}\n\nvec4 transition (vec2 uv) { \n vec4 colorFront = getFromColor(uv);\n vec4 colorTo = getToColor(uv);\n\n float noise = (Perlin(vec3(uv.x * noiseX, uv.y * noiseY, noiseZ)) + 1.0) / 2.0\n * (1.0 - (fromEdgeStart + fromEdgeWidth + toEdgeStart + toEdgeWidth))\n + (fromEdgeStart + fromEdgeWidth + toEdgeStart + toEdgeWidth) * 0.5;\n vec4 colorResult = colorFront * smoothstep(progress - (fromEdgeStart + fromEdgeWidth), progress - fromEdgeStart, noise)\n + colorTo * smoothstep((1.0 - progress) - (toEdgeStart + toEdgeWidth), (1.0 - progress) - toEdgeStart, (1.0 - noise));\n return colorResult;\n}\n\nvoid main () {\n vec2 uv = outFragCoord;\n gl_FragColor = transition(uv);\n}\n"}),this._progress=0,this.toFrame=null,this.targetTexture=null,this.resizeMode=1,this.toRatio=1,this.noiseX=0,this.noiseY=0,this.noiseZ=0,this.fromEdgeStart=.01,this.fromEdgeWidth=.05,this.toEdgeStart=.01,this.toEdgeWidth=.05}resetFromJSON(t){return this.setProgress(Pk(t,"progress",0)),this.setTransitionTargetTexture(Pk(t,"toTexture","__DEFAULT"),Pk(t,"toFrame",void 0),Pk(t,"resizeMode",1)),this.setNoise(Pk(t,"noiseX",void 0),Pk(t,"noiseY",void 0),Pk(t,"noiseZ",void 0)),this.setFromEdge(Pk(t,"fromEdgeStart",.01),Pk(t,"fromEdgeWidth",.05)),this.setToEdge(Pk(t,"toEdgeStart",.01),Pk(t,"toEdgeWidth",.05)),this}onBoot(){}onPreRender(){this.set1f("progress",this.progress),this.set1i("resizeMode",this.resizeMode),this.set1f("noiseX",this.noiseX),this.set1f("noiseY",this.noiseY),this.set1f("noiseZ",this.noiseZ),this.set1f("fromEdgeStart",this.fromEdgeStart),this.set1f("fromEdgeWidth",this.fromEdgeWidth),this.set1f("toEdgeStart",this.toEdgeStart),this.set1f("toEdgeWidth",this.toEdgeWidth)}onDraw(t){this.set1f("fromRatio",t.width/t.height),this.set1f("toRatio",this.toRatio),this.set1i("uMainSampler2",1),this.bindTexture(this.targetTexture,1),this.bindAndDraw(t)}get progress(){return this._progress}set progress(t){this._progress=Tk(t,0,1)}setProgress(t){return this.progress=t,this}setTransitionTargetTexture(t,e,i){void 0===t&&(t="__DEFAULT");var s=this.game.textures.getFrame(t,e);return s||(s=this.game.textures.getFrame("__DEFAULT")),this.toRatio=s.width/s.height,this.toFrame=s,this.targetTexture=s.glTexture,void 0!==i&&(this.resizeMode=i),this}setResizeMode(t){return"string"==typeof t&&(t=Mk[t]),this.resizeMode=t,this}setNoise(t,e,i){return void 0===t&&(t=4+6*Math.random()),void 0===e&&(e=4+6*Math.random()),void 0===i&&(i=10*Math.random()),this.noiseX=t,this.noiseY=e,this.noiseZ=i,this}setFromEdge(t,e){return this.fromEdgeStart=t,this.fromEdgeWidth=e,this}setToEdge(t,e){return this.toEdgeStart=t,this.toEdgeWidth=e,this}}var Mk={stretch:0,contain:1,cover:2};const Ek=Phaser.Utils.Array.SpliceOne,_k=.1,Rk=[function(t){t.addTransitionMode("slideAwayRight",{ease:"Linear",dir:"out",mask:!0,onStart:function(t,e,i,s){},onProgress:function(t,e,i,s){var r=e.width*s;t.setChildLocalPosition(e,r,0)},onComplete:function(t,e,i,s){t.setChildLocalPosition(e,0,0)}}).addTransitionMode("slideAwayLeft",{ease:"Linear",dir:"out",mask:!0,onStart:function(t,e,i,s){},onProgress:function(t,e,i,s){var r=e.width*-s;t.setChildLocalPosition(e,r,0)},onComplete:function(t,e,i,s){t.setChildLocalPosition(e,0,0)}}).addTransitionMode("slideAwayDown",{ease:"Linear",dir:"out",mask:!0,onStart:function(t,e,i,s){},onProgress:function(t,e,i,s){var r=e.height*s;t.setChildLocalPosition(e,0,r)},onComplete:function(t,e,i,s){t.setChildLocalPosition(e,0,0)}}).addTransitionMode("slideAwayUp",{ease:"Linear",dir:"out",mask:!0,onStart:function(t,e,i,s){},onProgress:function(t,e,i,s){var r=e.height*-s;t.setChildLocalPosition(e,0,r)},onComplete:function(t,e,i,s){t.setChildLocalPosition(e,0,0)}})},function(t){t.addTransitionMode("slideRight",{ease:"Linear",dir:"in",mask:!0,onStart:function(t,e,i,s){},onProgress:function(t,e,i,s){var r=i.width*(s-1);t.setChildLocalPosition(i,r,0)},onComplete:function(t,e,i,s){t.setChildLocalPosition(i,0,0)}}).addTransitionMode("slideLeft",{ease:"Linear",dir:"in",mask:!0,onStart:function(t,e,i,s){},onProgress:function(t,e,i,s){var r=i.width*(1-s);t.setChildLocalPosition(i,r,0)},onComplete:function(t,e,i,s){t.setChildLocalPosition(i,0,0)}}).addTransitionMode("slideDown",{ease:"Linear",dir:"in",mask:!0,onStart:function(t,e,i,s){},onProgress:function(t,e,i,s){var r=i.height*(s-1);t.setChildLocalPosition(i,0,r)},onComplete:function(t,e,i,s){t.setChildLocalPosition(i,0,0)}}).addTransitionMode("slideUp",{ease:"Linear",dir:"in",mask:!0,onStart:function(t,e,i,s){},onProgress:function(t,e,i,s){var r=i.height*(1-s);t.setChildLocalPosition(i,0,r)},onComplete:function(t,e,i,s){t.setChildLocalPosition(i,0,0)}})},function(t){t.addTransitionMode("pushRight",{ease:"Linear",dir:"out",mask:!0,onStart:function(t,e,i,s){},onProgress:function(t,e,i,s){var r=e.width*s;t.setChildLocalPosition(e,r,0),r=i.width*(s-1),t.setChildLocalPosition(i,r,0)},onComplete:function(t,e,i,s){t.setChildLocalPosition(e,0,0),t.setChildLocalPosition(i,0,0)}}).addTransitionMode("pushLeft",{ease:"Linear",dir:"out",mask:!0,onStart:function(t,e,i,s){},onProgress:function(t,e,i,s){var r=e.width*-s;t.setChildLocalPosition(e,r,0),r=i.width*(1-s),t.setChildLocalPosition(i,r,0)},onComplete:function(t,e,i,s){t.setChildLocalPosition(e,0,0),t.setChildLocalPosition(i,0,0)}}).addTransitionMode("pushDown",{ease:"Linear",dir:"out",mask:!0,onStart:function(t,e,i,s){},onProgress:function(t,e,i,s){var r=e.height*s;t.setChildLocalPosition(e,0,r),r=i.height*(s-1),t.setChildLocalPosition(i,0,r)},onComplete:function(t,e,i,s){t.setChildLocalPosition(e,0,0),t.setChildLocalPosition(i,0,0)}}).addTransitionMode("pushUp",{ease:"Linear",dir:"out",mask:!0,onStart:function(t,e,i,s){},onProgress:function(t,e,i,s){var r=e.height*-s;t.setChildLocalPosition(e,0,r),r=i.height*(1-s),t.setChildLocalPosition(i,0,r)},onComplete:function(t,e,i,s){t.setChildLocalPosition(e,0,0),t.setChildLocalPosition(i,0,0)}})},function(t){t.addTransitionMode("zoomOut",{ease:"Linear",dir:"out",mask:!1,onStart:function(t,e,i,s){},onProgress:function(t,e,i,s){var r=1-s;t.setChildLocalScale(e,r,r)},onComplete:function(t,e,i,s){t.setChildLocalScale(e,1,1)}}).addTransitionMode("zoomIn",{ease:"Linear",dir:"in",mask:!1,onStart:function(t,e,i,s){},onProgress:function(t,e,i,s){var r=s;t.setChildLocalScale(i,r,r)},onComplete:function(t,e,i,s){t.setChildLocalScale(i,1,1)}}).addTransitionMode("zoomInOut",{ease:"Linear",dir:"out",mask:!1,onStart:function(t,e,i,s){i.tint=0},onProgress:function(t,e,i,s){var r;s<.5?(r=1-Po(s),t.setChildLocalScale(e,r,r)):(e.visible&&t.setChildVisible(e,!1),r=1-Po(s),t.setChildLocalScale(i,r,r))},onComplete:function(t,e,i,s){t.setChildLocalScale(e,1,1),t.setChildVisible(e,!0),e.tint=16777215,t.setChildLocalScale(i,1,1),t.setChildVisible(i,!0),i.tint=16777215}})},function(t){t.addTransitionMode("fade",{ease:"Linear",dir:"out",mask:!1,onStart:function(t,e,i,s){i.tint=0},onProgress:function(t,e,i,s){var r;s<.5?(s=Po(s),r=Math.floor(255*(1-s)),e.tint=(r<<16)+(r<<8)+r):(e.visible&&t.setChildVisible(e,!1),s=Po(s),r=Math.floor(255*(1-s)),i.tint=(r<<16)+(r<<8)+r)},onComplete:function(t,e,i,s){t.setChildVisible(e,!0),e.tint=16777215,t.setChildVisible(i,!0),i.tint=16777215}}).addTransitionMode("crossFade",{ease:"Linear",dir:"out",mask:!1,onStart:function(t,e,i,s){},onProgress:function(t,e,i,s){t.setChildLocalAlpha(e,1-s),t.setChildLocalAlpha(i,s)},onComplete:function(t,e,i,s){t.setChildLocalAlpha(e,1)}})},function(t){var e,i=(e=t.scene,new Hx(e,{type:"Graphics",create:[{name:"rect",type:"rectangle"}],update:function(){this.getShape("rect").fillStyle(16777215).setSize(this.width*this.value,this.height*this.value).setCenterPosition(this.centerX,this.centerY)}}));t.once("destroy",(function(){i.destroy()})).addTransitionMode("irisOut",{ease:"Linear",dir:"out",mask:i,onStart:function(t,e,i,s){t.setCurrentImageMaskEnable(!0,!0)},onProgress:function(t,e,i,s){t.maskGameObject.setValue(s)},onComplete:function(t,e,i,s){t.removeMaskGameObject(!1)}}).addTransitionMode("irisIn",{ease:"Linear",dir:"in",mask:i,onStart:function(t,e,i,s){t.setNextImageMaskEnable(!0,!0)},onProgress:function(t,e,i,s){t.maskGameObject.setValue(1-s)},onComplete:function(t,e,i,s){t.removeMaskGameObject(!1)}}).addTransitionMode("irisInOut",{ease:"Linear",dir:"out",mask:i,onStart:function(t,e,i,s){i.tint=0,t.setCurrentImageMaskEnable(!0),t.setNextImageMaskEnable(!0)},onProgress:function(t,e,i,s){var r;s<.5?(s=Po(s),r=Math.floor(255*(1-s)),t.maskGameObject.setValue(1-s),e.tint=(r<<16)+(r<<8)+r):(e.visible&&t.setChildVisible(e,!1),s=Po(s),r=Math.floor(255*(1-s)),t.maskGameObject.setValue(1-s),i.tint=(r<<16)+(r<<8)+r)},onComplete:function(t,e,i,s){t.removeMaskGameObject(!1),t.setChildVisible(e,!0),e.tint=16777215,t.setChildVisible(i,!0),i.tint=16777215}})},function(t){var e,i=(e=t.scene,new Hx(e,{type:"Graphics",create:[{name:"pie",type:"arc"}],update:function(){var t=2*Math.max(this.width,this.height),e=90*this.value;this.getShape("pie").fillStyle(16777215).setCenterPosition(this.centerX,0).setRadius(t).setAngle(90-e,90+e).setPie()}}));t.once("destroy",(function(){i.destroy()})).addTransitionMode("pieOut",{ease:"Linear",dir:"out",mask:i,onStart:function(t,e,i,s){t.setCurrentImageMaskEnable(!0,!0)},onProgress:function(t,e,i,s){t.maskGameObject.setValue(s)},onComplete:function(t,e,i,s){t.removeMaskGameObject(!1)}}).addTransitionMode("pieIn",{ease:"Linear",dir:"in",mask:i,onStart:function(t,e,i,s){t.setNextImageMaskEnable(!0,!0)},onProgress:function(t,e,i,s){t.maskGameObject.setValue(1-s)},onComplete:function(t,e,i,s){t.removeMaskGameObject(!1)}}).addTransitionMode("pieInOut",{ease:"Linear",dir:"out",mask:i,onStart:function(t,e,i,s){i.tint=0,t.setCurrentImageMaskEnable(!0),t.setNextImageMaskEnable(!0)},onProgress:function(t,e,i,s){var r;s<.5?(s=Po(s),r=Math.floor(255*(1-s)),t.maskGameObject.setValue(1-s),e.tint=(r<<16)+(r<<8)+r):(e.visible&&t.setChildVisible(e,!1),s=Po(s),r=Math.floor(255*(1-s)),t.maskGameObject.setValue(1-s),i.tint=(r<<16)+(r<<8)+r)},onComplete:function(t,e,i,s){t.removeMaskGameObject(!1),t.setChildVisible(e,!0),e.tint=16777215,t.setChildVisible(i,!0),i.tint=16777215}})},function(t){var e,i=(e=t.scene,new Hx(e,{type:"Graphics",create:[{name:"rect",type:"rectangle"}],update:function(){var t=this.getShape("rect").fillStyle(16777215),e=1-this.value;switch(this.wipeMode){case"right":t.setSize(this.width*e,this.height).setTopLeftPosition(this.width-t.width,0);break;case"left":t.setSize(this.width*e,this.height).setTopLeftPosition(0,0);break;case"down":t.setSize(this.width,this.height*e).setTopLeftPosition(0,this.height-t.height);break;case"up":t.setSize(this.width,this.height*e).setTopLeftPosition(0,0)}}}));t.once("destroy",(function(){i.destroy()})).addTransitionMode("wipeRight",{ease:"Linear",dir:"out",mask:i,onStart:function(t,e,i,s){t.setCurrentImageMaskEnable(!0),t.maskGameObject.wipeMode="right"},onProgress:function(t,e,i,s){t.maskGameObject.setValue(s)},onComplete:function(t,e,i,s){t.removeMaskGameObject(!1)}}).addTransitionMode("wipeLeft",{ease:"Linear",dir:"out",mask:i,onStart:function(t,e,i,s){t.setCurrentImageMaskEnable(!0),t.maskGameObject.wipeMode="left"},onProgress:function(t,e,i,s){t.maskGameObject.setValue(s)},onComplete:function(t,e,i,s){t.removeMaskGameObject(!1)}}).addTransitionMode("wipeDown",{ease:"Linear",dir:"out",mask:i,onStart:function(t,e,i,s){t.setCurrentImageMaskEnable(!0),t.maskGameObject.wipeMode="down"},onProgress:function(t,e,i,s){t.maskGameObject.setValue(s)},onComplete:function(t,e,i,s){t.removeMaskGameObject(!1)}}).addTransitionMode("wipeUp",{ease:"Linear",dir:"out",mask:i,onStart:function(t,e,i,s){t.setCurrentImageMaskEnable(!0),t.maskGameObject.wipeMode="up"},onProgress:function(t,e,i,s){t.maskGameObject.setValue(s)},onComplete:function(t,e,i,s){t.removeMaskGameObject(!1)}})},function(t){var e=function(t,e){var i=new Hx(t,{type:"Graphics",create:{rectangle:e},update:function(){for(var t=this.getShapes(),i=this.width/e,s=0;s=0;s--)(a=r[s])instanceof e&&(a.destroy(),Ek(r,s));else{s=0;for(var r,n=(r=t.postPipelines).length;s0}(e,Ok),delete e.effect}})},function(t){t.addTransitionMode("revealRight",{ease:"Linear",dir:"in",mask:!1,onStart:function(t,e,i,s){i.effect=i.preFX.addReveal(_k,0,0)},onProgress:function(t,e,i,s){i.effect.progress=s},onComplete:function(t,e,i,s){i.preFX.remove(i.effect),delete i.effect}}).addTransitionMode("revealLeft",{ease:"Linear",dir:"in",mask:!1,onStart:function(t,e,i,s){i.effect=i.preFX.addReveal(_k,1,0)},onProgress:function(t,e,i,s){i.effect.progress=s},onComplete:function(t,e,i,s){i.preFX.remove(i.effect),delete i.effect}}).addTransitionMode("revealDown",{ease:"Linear",dir:"in",mask:!1,onStart:function(t,e,i,s){i.effect=i.preFX.addReveal(_k,0,1)},onProgress:function(t,e,i,s){i.effect.progress=s},onComplete:function(t,e,i,s){i.preFX.remove(i.effect),delete i.effect}}).addTransitionMode("revealUp",{ease:"Linear",dir:"in",mask:!1,onStart:function(t,e,i,s){i.effect=i.preFX.addReveal(_k,1,1)},onProgress:function(t,e,i,s){i.effect.progress=s},onComplete:function(t,e,i,s){i.preFX.remove(i.effect),delete i.effect}})}];class Lk extends Ck{constructor(t,e,i,s,r,n){super(t,e,i,s,r,n);for(var a=0,o=Rk.length;at.dropEnable}),this.on("drop",(function(t,e){this._files=e.dataTransfer.files;var i=this._files;if(i&&this.filters)for(var s in this.filters){for(var r=this.filters[s],n=[],a=0,o=i.length;a0&&this.emit(`drop.${s}`,n)}}),this)}get files(){return this._files}}Object.assign(fw.prototype,cw),t.register("fileDropZone",(function(t){var e=new fw(this.scene,t);return this.scene.add.existing(e),e})),P(window,"RexPlugins.UI.FileDropZone",fw);const mw=Phaser.Math.Wrap;var yw=function(t,e){if(this.hasRatioFitChild){var i,s,r;0===this.orientation?i=e-(this.getInnerPadding("top")+this.getInnerPadding("bottom"))*this.scaleY:(this.getInnerPadding("left"),this.getInnerPadding("right"),this.scaleX);for(var n=this.sizerChildren,a=0,o=n.length;a(i=0===this.orientation?Math.abs(h.left-t):Math.abs(h.top-e))&&(n=i,r=a)}return h=s[s.length-1],n>(i=0===this.orientation?Math.abs(h.right-t):Math.abs(h.bottom-e))&&(n=i,r=a+1),r};const kw=Phaser.Utils.Objects.IsPlainObject,ww=Phaser.Utils.Objects.GetValue,Sw=Phaser.Display.Align.CENTER,Pw={min:0,full:-1};var Tw=function(t,e,i,s,r,n,a,o,h,l){var d,c,u,p;Av.call(this,t);var g=t.isRexSpace,v=typeof e;if(null===e)return this;if("number"===v);else if("string"===v)e=Pw[e];else if(kw(e)){var f;e=ww(f=e,"proportion",void 0),i=ww(f,"align",Sw),s=ww(f,"padding",0),r=ww(f,"expand",!1),n=ww(f,"key",void 0),a=ww(f,"index",void 0),t.isRexSizer||(o=ww(f,"minWidth",void 0),h=ww(f,"minHeight",void 0)),l=ww(f,"fitRatio",0),d=ww(f,"offsetX",0),c=ww(f,"offsetY",0),u=ww(f,"offsetOriginX",0),p=ww(f,"offsetOriginY",0)}return"string"==typeof i&&(i=iv[i]),void 0===e&&(e=g?1:0),void 0===i&&(i=Sw),void 0===s&&(s=0),void 0===r&&(r=!1),void 0===o&&(g?o=0:t.isRexSizer||(o=t._minWidth)),void 0===h&&(g?h=0:t.isRexSizer||(h=t._minHeight)),void 0===l||!1===l?l=0:!0===l&&(l=zn(t)/Fn(t)),void 0===d&&(d=0),void 0===c&&(c=0),void 0===u&&(u=0),void 0===p&&(p=0),(f=this.getSizerConfig(t)).proportion=e,f.align=i,f.padding=Iv(s),f.expand=r,f.fitRatio=0===e?l:0,f.alignOffsetX=d,f.alignOffsetY=c,f.alignOffsetOriginX=u,f.alignOffsetOriginY=p,void 0===a||a>=this.sizerChildren.length?this.sizerChildren.push(t):this.sizerChildren.splice(a,0,t),t.isRexSizer||(e>0&&(0===this.orientation?t.minWidth=void 0===o?zn(t):o:t.minHeight=void 0===h?Fn(t):h),r&&(0===this.orientation?t.minHeight=h:t.minWidth=o)),void 0!==n&&this.addChildrenMap(n,t),this},Ow={add:Tw,addSpace(t){return this.insertSpace(void 0,t),this},insertSpace(t,e){return void 0===e&&(e=1),Tw.call(this,new xw(this.scene),{proportion:e,minWidth:0,minHeight:0,index:t}),this},insert(t,e,i,s,r,n,a,o){return kw(i)&&(i.index=t),Tw.call(this,e,i,s,r,n,a,t,o),this},insertAtPosition(t,e,i,s,r,n,a,o,h){var l=Cw.call(this,t,e);return-1===l&&(l=void 0),this.insert(l,i,s,r,n,a,o,h),this}};const Mw=Phaser.Utils.Array.Remove;var Ew={remove(t,e){return this.getParentSizer(t)!==this||(Mw(this.sizerChildren,t),Vv.call(this,t,e)),this},removeAll(t){for(var e=this.sizerChildren.length-1;e>=0;e--)this.remove(this.sizerChildren[e],t);return this},clear(t){return this.sizerChildren.length=0,tx.call(this,t),this}},_w={getChildAlign(t){return this.getSizerConfig(t).align},setChildAlign(t,e){return"string"==typeof e&&(e=iv[e]),this.getSizerConfig(t).align=e,this}},Rw={getChildProportion(t){return this.getSizerConfig(t).proportion},setChildProportion(t,e){return this.getSizerConfig(t).proportion=e,this}},Lw={getChildExpand(t){return this.getSizerConfig(t).expand},setChildExpand(t,e){return this.getSizerConfig(t).expand=e,this}},Bw={sortChildren(t){return this.sizerChildren.sort(t),this},sortChildrenByData(t,e){return this.sizerChildren.sort((function(i,s){var r=i.getData(t),n=s.getData(t);return e?n-r:r-n})),this},sortChildrenByProperty(t,e){return this.sizerChildren.sort((function(i,s){var r=i[t],n=s[t];return e?n-r:r-n})),this}},Iw={getChildrenWidth:function(t){if(this.rexSizer.hidden)return 0;void 0===t&&(t=!0);var e,i,s,r,n,a=0,o=this.sizerChildren,h=!1;if(this.childrenProportion,0===this.orientation)for(var l=!0,d=0,c=o.length;d0&&!i.resolved&&(n=void 0),void 0===n&&(0===s||this.hasProportion0Child?h=!0:n=0)):n=0,h||(n+=((r=e.rexSizer.padding).left+r.right)*this.scaleX,l?l=!1:n+=this.space.item*this.scaleX,a+=n)));else for(d=0,c=o.length;d0&&!i.resolved&&(n=void 0),void 0===n&&(0===s||this.hasProportion0Child?h=!0:n=0)):n=0,h||(n+=((r=i.padding).top+r.bottom)*this.scaleY,c?c=!1:n+=this.space.item*this.scaleY,a+=n)))}return h?void 0:a+(this.space.top+this.space.bottom)*this.scaleY},getExpandedChildWidth:function(t,e){var i;void 0===e&&(e=this.width*this.scaleX);var s=t.rexSizer;if(0===this.orientation)s.proportion>0&&this.proportionLength>0&&(i=s.proportion*this.proportionLength);else if(s.expand){var r=this.space,n=e-(r.left+r.right)*this.scaleX,a=s.padding;i=n-(a.left+a.right)*this.scaleX}return i},getExpandedChildHeight:function(t,e){var i;void 0===e&&(e=this.height);var s=t.rexSizer;if(0===this.orientation){if(s.expand){var r=this.space,n=e-(r.top+r.bottom)*this.scaleY,a=s.padding;i=n-(a.top+a.bottom)*this.scaleY}}else s.proportion>0&&this.proportionLength>0&&(i=s.proportion*this.proportionLength);return i},getChildrenSizers:function(t){void 0===t&&(t=[]);for(var e,i=this.sizerChildren,s=0,r=i.length;s0&&(of(t,0,0),e.resolved=!1,this.hasRatioFitChild=!0);return this._childrenProportion=void 0,this.hasProportion0Child=!1,this.proportionLength=void 0,rf.call(this),this},layoutChildren:function(){for(var t,e,i,s,r,n,a,o,h,l,d,c,u=this.sizerChildren,p=this.innerLeft,g=this.innerTop,v=this.innerWidth,f=this.innerHeight,m=p,y=g,b=this.startChildIndex,x=0,C=u.length;x0?(e=t-this.getChildrenWidth(!1),this.proportionLength=e/this.childrenProportion):this.proportionLength=0}return t},resolveHeight:function(t){if(void 0!==(t=Qv.call(this,t))&&1===this.orientation&&void 0===this.proportionLength){var e=t-this.childrenHeight;e>0?(e=t-this.getChildrenHeight(!1),this.proportionLength=e/this.childrenProportion):this.proportionLength=0}return t},hasWidthWrap:function(){return!(!this.hasRatioFitChild||1!==this.orientation)||qv.call(this)},runWidthWrap:function(t){this.wrapResult||(1===this.orientation&&yw.call(this,t,void 0),Zv.call(this,t))},hasHeightWrap:function(){return!(!this.hasRatioFitChild||0!==this.orientation)||tf.call(this)},runHeightWrap:function(t){this.wrapResult||(0===this.orientation&&yw.call(this,void 0,t),ef.call(this,t))},setChildrenAlignMode:function(t){void 0===t&&(t="left");var e=this.sizerChildren,i=e[0],s=i&&i.isRexSpace;"right"===t||"bottom"===t||"center"===t?s||this.insertSpace(0):s&&this.remove(i,!0);var r=e.length-1,n=e[r],a=n&&n.isRexSpace;return"center"===t?a||this.insertSpace(r+1):a&&this.remove(n,!0),this}};Object.assign(Iw,Ow,Ew,_w,Rw,Lw,Bw);var Dw=function(){for(var t,e,i=0,s=this.sizerChildren,r=0,n=s.length;r0?i+=e:0===e&&(this.hasProportion0Child=!0));return i};const Aw=Phaser.Utils.Objects.IsPlainObject,jw=Phaser.Utils.Objects.GetValue;class zw extends Yb{constructor(t,e,i,s,r,n,a){Aw(e)?(e=jw(a=e,"x",0),i=jw(a,"y",0),s=jw(a,"width",void 0),r=jw(a,"height",void 0),n=jw(a,"orientation",0)):Aw(s)?(s=jw(a=s,"width",void 0),r=jw(a,"height",void 0),n=jw(a,"orientation",0)):Aw(n)&&(n=jw(a=n,"orientation",0)),void 0===n&&(n=0),super(t,e,i,s,r,a),this.type="rexSizer",this.sizerChildren=[],this.setOrientation(n),this.setItemSpacing(jw(a,"space.item",0)),this.setStartChildIndex(jw(a,"startChildIndex",0)),this.setRTL(jw(a,"rtl",!1)),this.addChildrenMap("items",this.sizerChildren)}setOrientation(t){return this.orientation=Pp(t),this}setItemSpacing(t){return this.space.item=t,this}setStartChildIndex(t){return this.startChildIndex=t,this}setRTL(t){return void 0===t&&(t=!0),this.rtl=t,this}get childrenProportion(){return void 0===this._childrenProportion&&(this._childrenProportion=Dw.call(this)),this._childrenProportion}}Object.assign(zw.prototype,Iw);var Fw=function(t,e,i){if(t){var s=null==e,r=null==i;return s&&r||(s||(t.displayWidth=e),r||(t.displayHeight=i),s&&(t.scaleX=t.scaleY),r&&(t.scaleY=t.scaleX)),t}},Xw={appendText:Ei,resetDisplayContent:function(t){void 0===t?t={}:"string"==typeof t&&(t={text:t});var e=t.text||"";this.setText(e);var i=this.childrenMap.icon;if(i){t.icon?this.show(i):this.hide(i);var s=t.iconSize;s&&(this.setChildDisplaySize(i,s,s),void 0!==this.iconWidth&&this.setIconSize(s)),!0!==t.icon&&this.setIconTexture(t.icon,t.iconFrame)}var r=this.childrenMap.action;if(r){t.action?this.show(r):this.hide(r);var n=t.actionSize;n&&(this.setChildDisplaySize(r,n,n),void 0!==this.actionWidth&&this.setActionSize(n)),!0!==t.action&&this.setActionTexture(t.action,t.actionFrame)}return this}};class Yw extends zw{get text(){var t=this.childrenMap.text;return t?t.text:""}set text(t){var e=this.childrenMap.text;e&&e.setText(t)}setText(t){return this.text=t,this}setIconTexture(t,e){var i=this.childrenMap.icon;return i&&i.setTexture?(i.setTexture(t,e),void 0!==this.iconWidth&&void 0!==this.iconHeight&&(Fw(i,this.iconWidth,this.iconHeight),this.resetChildScaleState(i)),this):this}setTexture(t,e){return this.setIconTexture(t,e),this}setIconSize(t,e){return void 0===e&&(e=t),this.iconWidth=t,this.iconHeight=e,this}get texture(){var t=this.childrenMap.icon;if(t)return t.texture}get frame(){var t=this.childrenMap.icon;if(t)return t.frame}setActionTexture(t,e){var i=this.childrenMap.action;return i&&i.setTexture?(i.setTexture(t,e),void 0!==this.actionWidth&&void 0!==this.actionHeight&&(Fw(i,this.actionWidth,this.actionHeight),this.resetChildScaleState(i)),this):this}get actionTexture(){var t=this.childrenMap.action;if(t)return t.texture}get actionFrame(){var t=this.childrenMap.action;if(t)return t.frame}setActionSize(t,e){return void 0===e&&(e=t),this.actionWidth=t,this.actionHeight=e,this}preLayout(){var t=this.childrenMap.icon;t&&void 0!==this.iconWidth&&void 0!==this.iconHeight&&Fw(t,this.iconWidth,this.iconHeight);var e=this.childrenMap.action;e&&void 0!==this.actionWidth&&void 0!==this.actionHeight&&Fw(e,this.actionWidth,this.actionHeight),super.preLayout()}postLayout(t,e,i){var s=this.childrenMap.iconMask;s&&(s.setPosition(),this.resetChildPositionState(s));var r=this.childrenMap.actionMask;return r&&(r.setPosition(),this.resetChildPositionState(r)),super.postLayout(t,e,i),this}resize(t,e){super.resize(t,e);var i=this.childrenMap.iconMask;i&&i.resize();var s=this.childrenMap.actionMask;return s&&s.resize(),this}}Object.assign(Yw.prototype,Xw);var Ww=function(t,e,i,s){var r=new nk(e,i,s);if(t&&!t.isRexSizer){var n=r.createGeometryMask();t.setMask(n),this.once("destroy",(function(){t.setMask(),n.destroy()}))}return this.pin(r),r};const Vw=Phaser.GameObjects.Text;var Gw=function(t){return t instanceof Vw};const Hw=Phaser.GameObjects.BitmapText;var Uw=function(t){return t instanceof Hw},Nw=function(t){return Uw(t)?2:Gw(t)?0:1},$w=function(t,e){for(var i=[],s=t.split("\n"),r=e.style,n=r.wordWrapWidth,a=r.hasOwnProperty("wrapMode")?r.wrapMode:3,o=e.context,h=0,l=s.length;h0&&r.push(h.join("")),r},Jw=function(t,e){switch(Nw(t)){case 0:switch("string"==typeof e&&(e=Ie[e]||0),t.style.wrapMode=e,e){case 2:case 3:t.style.wordWrapCallback=$w;break;default:t.style.wordWrapCallback=null}break;case 1:"string"==typeof e&&(e=Ie[e]||0),t.style.wrapMode=e}},qw=function(t,e){return void 0===e&&(e=0),t._minWidth=e,t.runWidthWrap=function(t){return t instanceof ln}(t)?function(t){return function(e){return t.setFixedSize(e,0).runWordWrap(),t.minHeight=t.height,t}}(t):Uw(t)?function(t){return function(e){return t.setMaxWidth(e),t.minHeight=t.height,t}}(t):function(t){return function(e){var i=t.padding,s=e-(i.left+i.right)*t.scaleX,r=t.style;return Gw(t)?(r.wordWrapWidth=s,r.maxLines=0):(0===r.wrapMode&&(r.wrapMode=1),r.wrapWidth=s,r.maxLines=0),r.fixedWidth=e,r.fixedHeight=0,t.updateText(),t.minHeight=t.height,t}}(t),t};const Zw=65535;var Qw=function(t,e,i){if(null==e)return t;if(0===e)return iS(t,0,i),t;var s=t.text.length;if(0===s)return iS(t,e,i),t;var r=Math.floor(1.5*e/s);void 0!==i&&r>i&&(r=Math.floor(i));for(var n={},a=eS(t,r,e,i,n),o=0;o<=Zw&&0!==a;o++){if((r+=a)<0){r=0;break}a=eS(t,r,e,i,n)}return o===Zw&&console.warn("FontSizeFit: Test count exceeds 65535"),t.setFontSize(r),iS(t,e,i),t},tS=function(t,e,i){return void 0===i[e]&&(t.setFontSize(e),i[e]={width:t.width,height:t.height}),i[e]},eS=function(t,e,i,s,r){var n,a=tS(t,e,r),o=tS(t,e+1,r);if(void 0!==s)if(a.height<=s&&o.height>s)n=0;else{if(a.height>s)return-1;n=Math.floor(s-a.height)}if(a.width<=i&&o.width>i)return 0;if(a.width>i)return-1;var h=Math.floor(i-a.width);return void 0===n?h:Math.min(h,n)},iS=function(t,e,i){var s=t.style;s&&(s.fixedWidth=e,s.parent.width=e,void 0!==i&&(s.fixedHeight=i,s.parent.height=i),s.update(!1))};const sS=Phaser.Utils.Objects.GetValue;var rS=function(t,e){"number"==typeof e&&(e={minWidth:e});var i=sS(e,"minWidth",0),s=sS(e,"minHeight",0),r=sS(e,"fitHeight",!1);return t._minWidth=i,t._minHeight=s,r?(t.runWidthWrap=function(e){return t.setFixedSize&&t.setFixedSize(0,0),t.setFontSize(1),t},t.resize=function(e,i){return Qw(t,e,i),t}):(t.runWidthWrap=function(e){return t.setFixedSize&&t.setFixedSize(0,0),Qw(t,e,void 0),t},t.resize=function(e,i){return t.width===e&&t.height===i||t.setFixedSize(e,i),t}),t};const nS=Phaser.Utils.Objects.GetValue;class aS extends Yw{constructor(t,e){void 0===e&&(e={}),super(t,e),this.type="rexLabel";var i,s=nS(e,"background",void 0),r=nS(e,"icon",void 0),n=nS(e,"iconMask",void 0),a=nS(e,"text",void 0),o=nS(e,"action",void 0),h=nS(e,"actionMask",void 0),l=nS(e,"align",void 0);if(s&&this.addBackground(s),r){0===this.orientation?(a||o)&&(i={right:nS(e,"space.icon",0),top:nS(e,"space.iconTop",0),bottom:nS(e,"space.iconBottom",0),left:nS(e,"space.iconLeft",0)}):(a||o)&&(i={bottom:nS(e,"space.icon",0),left:nS(e,"space.iconLeft",0),right:nS(e,"space.iconRight",0),top:nS(e,"space.iconTop",0)});var d=nS(e,"squareFitIcon",!1)?1:0;if(this.add(r,{proportion:0,padding:i,fitRatio:d}),n&&(n=Ww.call(this,r,r,1)),!d){var c=nS(e,"iconSize",void 0);this.setIconSize(nS(e,"iconWidth",c),nS(e,"iconHeight",c))}}if(a){var u=nS(e,"wrapText",!1),p=nS(e,"adjustTextFontSize",!1);u?(!0===u&&(u="word"),Jw(a,u),e.expandTextWidth=!0,qw(a)):p&&(e.expandTextWidth=!0,e.expandTextHeight=!0,rS(a,{fitHeight:!0}));var g,v,f=nS(e,"space.text",0),m=nS(e,"expandTextWidth",!1),y=nS(e,"expandTextHeight",!1);0===this.orientation?(g=m?1:0,o&&(i={right:f}),v=y):(g=y?1:0,o&&(i={bottom:f}),v=m),this.add(a,{proportion:g,expand:v,padding:i})}if(o&&(i=0===this.orientation?{top:nS(e,"space.actionTop",0),bottom:nS(e,"space.actionBottom",0),right:nS(e,"space.actionRight",0)}:{left:nS(e,"space.actionLeft",0),right:nS(e,"space.actionRight",0),bottom:nS(e,"space.actionBottom",0)},d=nS(e,"squareFitAction",!1)?1:0,this.add(o,{proportion:0,padding:i,fitRatio:d}),h&&(h=Ww.call(this,o,o,1)),!d)){var b=nS(e,"actionSize");this.setActionSize(nS(e,"actionWidth",b),nS(e,"actionHeight",b))}this.setChildrenAlignMode(l),this.addChildrenMap("background",s),this.addChildrenMap("icon",r),this.addChildrenMap("iconMask",n),this.addChildrenMap("text",a),this.addChildrenMap("action",o),this.addChildrenMap("actionMask",h)}}const oS=Phaser.Utils.Objects.GetValue;var hS=function(t,e){var i=oS(e,"canvas"),s=oS(i,"width",128),r=oS(i,"height",128),n=new Ru(t,0,0,s,r);t.add.existing(n);var a=oS(i,"key"),o=oS(i,"frame"),h=oS(i,"fill");return void 0!==h?n.fill(h):void 0!==a&&n.loadTexture(a,o),n.setTexture=n.loadTexture.bind(n),n};const lS=Phaser.Utils.Objects.GetValue;var dS=function(t,e){var i=lS(e,"clickTarget",this);return"string"==typeof i&&(i=t.getElement(i)),i};const cS=Phaser.Utils.Objects.GetValue,uS={accept:"image/*",multiple:!1};var pS=function(t,e){if(0!==e.length){var i=t.childrenMap.icon,s=i.image,r=e[0];return s.loadFromFilePromise(r).then((function(){return i.scaleImage(),t.emit("select",r,t),Promise.resolve(r)}))}},gS={async openPromise(){var t=this;return tw(this.scene.game,uS).then((function(e){return pS(t,e.files)}))},open(){return this.openPromise(),this},setClickOpenEnable(t){return void 0===t&&(t=!0),this.clickBehavior&&this.clickBehavior.setEnable(t),this.fileChooser&&this.fileChooser.setOpenEnable(t),this}},vS={getFileName:function(t){if(!t)return null;var e=t.name;return e.substr(0,e.lastIndexOf("."))},saveTexture:function(t){return this.childrenMap.canvas.generateTexture(t),this}};Object.assign(vS,gS);const fS=Phaser.Utils.Objects.GetValue;class mS extends aS{constructor(t,e){var i=function(t,e){var i=new jk(t,{scaleUp:oS(e,"scaleUpIcon",!1),background:oS(e,"iconBackground"),image:hS(t,e)});return t.add.existing(i),i}(t,e);e.icon=i,super(t,e),this.type="rexImageFileInputLabel";var s=this.iconWidth,r=this.iconWidth;void 0!==s&&void 0!==r&&i.resize(s,r),this.clickTarget=dS(this,e),this.clickTarget&&(fS(e,"domButton",!0)?this.fileChooser=function(t){var e=t.scene,i=new ow(e,uS);return e.add.existing(i),t.pin(i),i.on("change",(function(){pS(t,i.files)})),i}(this):this.clickBehavior=function(t,e){var i=dS(t,e);if(i){var s=cS(e,"click"),r=new cu(i,s);return r.on("click",t.open,t),r}}(this,e)),this.addChildrenMap("canvas",i.image),this.addChildrenMap("iconBackground",i.background),this.addChildrenMap("fileChooser",this.fileChooser)}postLayout(t,e,i){this.fileChooser&&(this.fileChooser.syncTo(this.clickTarget),this.resetChildState(this.fileChooser)),super.postLayout(t,e,i)}}Object.assign(mS.prototype,vS),t.register("imageInputLabel",(function(t){var e=new mS(this.scene,t);return this.scene.add.existing(e),e})),P(window,"RexPlugins.UI.ImageInputLabel",mS);let yS=class extends Ba{constructor(t,e){return super(t),new Proxy(this,this)}get(t,e){if(oe(t,e))return t[e];var i=t.parent;return oe(i,e)?i[e]:void 0}set(t,e,i){return oe(t,e)?t[e]=i:oe(t.parent,e)&&(t.parent[e]=i),!0}get key(){return this.parent.texture.key}set key(t){this.parent.setTexture(t,this.frame)}get frame(){return this.parent.frame.name}set frame(t){this.parent.setFrame(t)}get scale(){return this.parent.scaleX}set scale(t){this.parent.setScale(t)}};const bS=Phaser.Utils.Objects.GetValue;class xS extends Ba{constructor(t,e){super(t,e),this.style=bS(e,"style",this);var i=bS(e,"propertiesMap");this.activeStyle=CS(e,"active",i),this.hoverStyle=CS(e,"hover",i),this.disableStyle=CS(e,"disable",i),this.onModifyStyle=bS(e,"onModifyStyle")}getStyle(t){return Dd(this.style,t)}modifyStyle(t){for(var e in t)this.style[e]=t[e];return this.onModifyStyle&&this.onModifyStyle(this.parent,t),this}applyStyle(t){if(t){var e=this.getStyle(t);return Ad(e,t)?void 0:(this.modifyStyle(t),e)}}setActiveState(t){return kS.call(this,"active",t),this}setHoverState(t){return kS.call(this,"hover",t),this}setDisableState(t){return kS.call(this,"disable",t),this}}var CS=function(t,e,i){var s=Bd(t,e);if(i)for(var r in s)i.hasOwnProperty(r)&&(s[i[r]]=s[r],delete s[r]);return s},kS=function(t,e){void 0===e&&(e=!0);var i=`${t}State`,s=`${t}Style`,r=`${t}StyleSave`;this[i]!==e&&(this[i]=e,e?this[r]=this.applyStyle(this[s]):(this.applyStyle(this[r]),this[r]=void 0))},wS={addStyleManager(t){return this.styleManager=new xS(this,t),this},setActiveState(t){return this.styleManager.setActiveState(t),this},setHoverState(t){return this.styleManager.setHoverState(t),this},setDisableState(t){return this.styleManager.setDisableState(t),this}};const SS=Phaser.GameObjects.Image,PS=Phaser.Utils.Objects.GetValue;class TS extends SS{constructor(t,e){void 0===e&&(e={}),super(t,PS(e,"x",0),PS(e,"y",0),PS(e,"key",""),PS(e,"frame",void 0)),this.type="rexStatesImage";var i=PS(e,"effects",!0);i&&En(this,i),this.style=new yS(this,e),e.style=this.style,this.addStyleManager(e),delete e.style}}Object.assign(TS.prototype,wS),t.register("statesImage",(function(t){var e=new TS(this.scene,t);return this.scene.add.existing(e),e})),P(window,"RexPlugins.UI.StatesImage",TS);class OS extends jt{constructor(t,e){void 0===e&&(e={}),super(t,e),this.type="rexStatesRoundRectangleShape",e.style=this,e.propertiesMap=MS,this.addStyleManager(e),delete e.style,delete e.propertiesMap}}const MS={color:"fillColor",alpha:"fillAlpha",strokeWidth:"lineWidth"};Object.assign(OS.prototype,wS),t.register("statesRoundRectangle",(function(t){var e=new OS(this.scene,t);return this.scene.add.existing(e),e})),P(window,"RexPlugins.UI.StatesRoundRectangle",OS);let ES=class extends Ba{constructor(t,e){return super(t),new Proxy(this,this)}get(t,e){if(oe(t,e))return t[e];var i=t.parent;return oe(i,e)?i[e]:void 0}set(t,e,i){return oe(t,e)?t[e]=i:oe(t.parent,e)&&(t.parent[e]=i),!0}get key(){return this.parent.texture.key}set key(t){this.key!==t&&this.parent.setTexture(t,this.frame)}get frame(){return this.parent.frame.name}set frame(t){this.frame!==t&&this.parent.setFrame(t)}};const _S=Phaser.GameObjects.NineSlice,RS=Phaser.Utils.Objects.GetValue;class LS extends _S{constructor(t,e){void 0===e&&(e={}),super(t,RS(e,"x",0),RS(e,"y",0),RS(e,"key",null),RS(e,"frame",null),RS(e,"width",0),RS(e,"height",0),RS(e,"leftWidth",0),RS(e,"rightWidth",0),RS(e,"topHeight",0),RS(e,"bottomHeight",0)),this.type="rexStatesNineSlice";var i=RS(e,"effects",!0);i&&En(this,i),this.style=new ES(this,e),e.style=this.style,this.addStyleManager(e),delete e.style}}Object.assign(LS.prototype,wS),t.register("statesNineSlice",(function(t){var e=new LS(this.scene,t);return this.scene.add.existing(e),e})),P(window,"RexPlugins.UI.StatesNineSlice",LS);let BS=class extends Ba{constructor(t,e){return super(t),new Proxy(this,this)}get(t,e){if(oe(t,e))return t[e];var i=t.parent;return oe(i,e)?i[e]:void 0}set(t,e,i){return oe(t,e)?t[e]=i:oe(t.parent,e)&&(t.parent[e]=i),!0}get key(){return this.parent.textureKey}set key(t){this.key!==t&&this.parent.setBaseTexture(t,this.baseFrameName)}get frame(){return this.parent.baseFrameName}set frame(t){this.frame!==t&&this.parent.setBaseTexture(this.parent.textureKey,t)}};const IS=Phaser.Utils.Objects.GetValue;class DS extends k{constructor(t,e){void 0===e&&(e={}),super(t,e),this.type="rexStatesNinePatch";var i=IS(e,"effects",!0);i&&En(this,i),this.style=new BS(this,e),e.style=this.style,this.addStyleManager(e),delete e.style}}Object.assign(DS.prototype,wS),t.register("statesNinePatch",(function(t){var e=new DS(this.scene,t);return this.scene.add.existing(e),e})),P(window,"RexPlugins.UI.StatesNinePatch",DS);const AS=Phaser.GameObjects.Text,jS=Phaser.Utils.Objects.GetValue;class zS extends AS{constructor(t,e){void 0===e&&(e={}),super(t,jS(e,"x",0),jS(e,"y",0),jS(e,"text",""),e),this.type="rexStatesText",e.style=this.style,e.onModifyStyle=function(t,e){var i=e.hasOwnProperty("fontStyle")||e.hasOwnProperty("fontSize")||e.hasOwnProperty("fontFamily");t.style.update(i)},this.addStyleManager(e),delete e.style}}Object.assign(zS.prototype,wS),t.register("statesText",(function(t){var e=new zS(this.scene,t);return this.scene.add.existing(e),e})),P(window,"RexPlugins.UI.StatesText",zS);class FS extends Ba{constructor(t,e){return super(t),new Proxy(this,this)}get(t,e){if(oe(t,e))return t[e];var i=t.parent;return oe(i,e)?i[e]:void 0}set(t,e,i){return oe(t,e)?t[e]=i:oe(t.parent,e)&&(t.parent[e]=i),!0}get key(){return this.parent.texture.key}set key(t){this.parent.setTexture(t,this.frame)}get fontSize(){return this.parent.fontSize}set fontSize(t){this.parent.setFontSize(t)}get tint(){return this.parent.tintTopLeft}set tint(t){this.parent.setTint(t)}get letterSpacing(){return this.parent.letterSpacing}set letterSpacing(t){this.parent.setLetterSpacing(t)}get lineSpacing(){return this.parent.lineSpacing}set lineSpacing(t){this.parent.setLineSpacing(t)}}const XS=Phaser.GameObjects.BitmapText,YS=Phaser.Utils.Objects.GetValue;class WS extends XS{constructor(t,e){void 0===e&&(e={});var i=YS(e,"x",0),s=YS(e,"y",0),r=YS(e,"font",""),n=YS(e,"fontSize",!1),a=YS(e,"align",0),o=YS(e,"tint");super(t,i,s,r,"",n,a),this.type="rexStatesBitmapText",void 0!==o&&this.setTint(o);var h=YS(e,"effects",!0);h&&En(this,h),this.style=new FS(this,e),e.style=this.style,this.addStyleManager(e),delete e.style}}Object.assign(WS.prototype,wS),t.register("statesBitmapText",(function(t){var e=new WS(this.scene,t);return this.scene.add.existing(e),e})),P(window,"RexPlugins.UI.StatesBitmapText",WS);class VS extends pp{constructor(t,e){void 0===e&&(e={}),e.hasOwnProperty("value")||(e.value=0),e.hasOwnProperty("hover.bar")||(e["hover.bar"]=!0),e.hasOwnProperty("easeDuration")||(e.easeDuration=200),e.hasOwnProperty("ease")||(e.ease="Quad"),P(e,"easeValue.duration",e.easeDuration),P(e,"easeValue.ease",e.ease),super(t,e),this.type="rexStatesBarRectangleShape",this.barState=!1,e.style=this,e.propertiesMap=GS,this.addStyleManager(e),delete e.style,delete e.propertiesMap}get bar(){return this.barState}set bar(t){t=!!t,this.barState!==t&&(this.barState=t,this.easeValueTo(this.barState?1:0))}}const GS={color:"trackColor",strokeColor:"trackStrokeColor",strokeWidth:"trackStrokeThickness"};Object.assign(VS.prototype,wS),t.register("statesBarRectangle",(function(t){var e=new VS(this.scene,t);return this.scene.add.existing(e),e})),P(window,"RexPlugins.UI.StatesBarRectangle",VS);var HS=function(t,e){void 0===e&&(e={}),void 0===e.options&&(e.options={});var i=e.options;i.responsive=!1,i.maintainAspectRatio=!1,i.hasOwnProperty("devicePixelRatio")||(i.devicePixelRatio=1);var s=!1;void 0===i.animation?i.animation={}:!1===i.animation&&(s=!0,i.animation={});var r=i.animation;s&&(r.duration=0);var n=r.onProgress;r.onProgress=function(e){n&&n(e),t.needRedraw()};var a=r.onComplete;return r.onComplete=function(e){a&&a(e),t.needRedraw()},e};let US=class extends Ru{constructor(t,e,i,s,r,n){super(t,e,i,s,r),this.type="rexChart",this.chart=void 0,void 0!==n&&this.setChart(n)}destroy(t){this.scene&&(this.chart&&(this.chart.destroy(),this.chart=void 0),super.destroy(t))}resize(t,e){if(t===this.width&&e===this.height)return this;if(super.resize(t,e),this.chart){var i=this.chart;i.height=this.canvas.height,i.width=this.canvas.width,i.aspectRatio=i.height?i.width/i.height:null,i.update()}return this}};var NS={setChart:function(t){return window.Chart?(this.chart&&this.chart.destroy(),this.chart=new Chart(this.context,HS(this,t)),this):(console.error("Can not find chartjs! Load chartjs in preload stage.\nscene.load.script('chartjs', 'https://cdnjs.cloudflare.com/ajax/libs/Chart.js/3.8.0/Chart.min.js');"),this)},getChartDataset:function(t){if(void 0!==this.chart){if("string"!=typeof t)return this.chart.data.datasets[t];for(var e,i=this.chart.data.datasets,s=0,r=i.length;s=0;e--){var i=this.sizerChildren[e];i&&this.remove(i,t)}return this},clear(t){return eP(this.sizerChildren,null),tx.call(this,t),this}},sP={setColumnSpace(t){if(this.space.column||(this.space.column=[]),this.space.column.length=this.columnCount-1,"number"==typeof t)eP(this.space.column,t);else for(var e=0,i=this.columnCount-1;e=0;s--){var r=s*this.columnCount+t;this.sizerChildren.splice(r,0,null)}return this.columnProportions.push(e),this.columnWidth.length+=1,this.space.column.splice(t,0,i),this},oP={getChildrenWidth:function(t){if(this.rexSizer.hidden)return 0;void 0===t&&(t=!0);var e,i,s,r,n,a=0,o=this.sizerChildren,h=!1;this.totalColumnProportions;for(var l=0;l0){var i=t-this.getChildrenWidth(!1);i>=0&&(this.proportionWidthLength=i/e)}else this.proportionWidthLength=0}return t},resolveHeight:function(t){if(void 0!==(t=Qv.call(this,t))&&void 0===this.proportionHeightLength){var e=this.totalRowProportions;if(e>0){var i=t-this.getChildrenHeight(!1);i>=0&&(this.proportionHeightLength=i/e)}else this.proportionHeightLength=0}return t},resolveChildrenWidth:function(t){var e,i,s,r;for(var n in this.sizerChildren)(e=this.sizerChildren[n])&&e.isRexSizer&&!e.ignoreLayout&&(r=this.getColumnWidth(parseInt(n)%this.columnCount),i=this.getExpandedChildWidth(e,r),void 0===(s=e.resolveWidth(i))&&(s=i),e.resolveChildrenWidth(s))},resolveChildrenHeight:function(t){var e,i,s,r;for(var n in this.sizerChildren)(e=this.sizerChildren[n])&&e.isRexSizer&&!e.ignoreLayout&&(r=this.getRowHeight(Math.floor(parseInt(n)/this.rowCount)),i=this.getExpandedChildHeight(e,r),void 0===(s=e.resolveHeight(i))&&(s=i),e.resolveChildrenHeight(s))},runWidthWrap:function(t){var e,i,s,r;for(var n in this.sizerChildren)!(e=this.sizerChildren[n])||e.isRexSizer&&e.ignoreLayout||!e.runWidthWrap||(r=this.getColumnWidth(parseInt(n)%this.columnCount),i=this.getExpandedChildWidth(e,r),e.isRexSizer&&void 0===(s=e.resolveWidth(i))&&(s=i),e.runWidthWrap(s));return this},runHeightWrap:function(t){var e,i,s,r;for(var n in this.sizerChildren)!(e=this.sizerChildren[n])||e.isRexSizer&&e.ignoreLayout||!e.runHeightWrap||(r=this.getRowHeight(Math.floor(parseInt(n)/this.rowCount)),i=this.getExpandedChildHeight(e,r),e.isRexSizer&&void 0===(s=e.resolveHeight(i))&&(s=i),e.runHeightWrap(s));return this},resetGrid:function(t,e,i,s,r){if(void 0===t&&(t=0),void 0===e&&(e=0),void 0===i&&(i=0),void 0===s&&(s=0),this.columnCount=t,this.rowCount=e,this.gridCount=t*e,this.removeAll(),this.sizerChildren.length=t*e,eP(this.sizerChildren,null),this.columnProportions=[],this.columnProportions.length=t,"number"==typeof i)eP(this.columnProportions,i);else for(var n=0;n0?e+=t:0===t&&(this.hasColumnProportion0Child=!0);return e},lP=function(){for(var t,e=0,i=0;i0?e+=t:0===t&&(this.hasRowProportion0Child=!0);return e};const dP=Phaser.Utils.Objects.IsPlainObject,cP=Phaser.Utils.Objects.GetValue;class uP extends Yb{constructor(t,e,i,s,r,n,a,o,h,l){dP(e)?(e=cP(l=e,"x",0),i=cP(l,"y",0),s=cP(l,"width",void 0),r=cP(l,"height",void 0),n=cP(l,"column",l.col||0),a=cP(l,"row",0),o=cP(l,"columnProportions",0),h=cP(l,"rowProportions",0)):dP(s)?(s=cP(l=s,"width",void 0),r=cP(l,"height",void 0),n=cP(l,"column",l.col||0),a=cP(l,"row",0),o=cP(l,"columnProportions",0),h=cP(l,"rowProportions",0)):dP(n)?(n=cP(l=n,"column",l.col||0),a=cP(l,"row",0),o=cP(l,"columnProportions",0),h=cP(l,"rowProportions",0)):dP(o)&&(o=cP(l=o,"columnProportions",0),h=cP(l,"rowProportions",0)),super(t,e,i,s,r,l),this.type="rexGridSizer",this.sizerChildren=[],this.addChildrenMap("items",this.sizerChildren),this.setCreateCellContainerCallback(cP(l,"createCellContainerCallback")),this.setIndentLeft(cP(l,"space.indentLeftOdd",0),cP(l,"space.indentLeftEven",0)),this.setIndentTop(cP(l,"space.indentTopOdd",0),cP(l,"space.indentTopEven",0)),this.resetGrid(n,a,o,h,cP(l,"space",void 0))}destroy(t){this.scene&&!this.ignoreDestroy&&(super.destroy(t),this.columnProportions=void 0,this.rowProportions=void 0,this.columnWidth=void 0,this.rowHeight=void 0,this.createCellContainerCallback=void 0)}setColumnProportion(t,e){return t>=this.columnProportions.length||(this.columnProportions[t]=e),this}setRowProportion(t,e){return t>=this.rowProportions.length||(this.rowProportions[t]=e),this}get totalColumnProportions(){return void 0===this._totalColumnProportions&&(this._totalColumnProportions=hP.call(this)),this._totalColumnProportions}get totalRowProportions(){return void 0===this._totalRowProportions&&(this._totalRowProportions=lP.call(this)),this._totalRowProportions}getChildAt(t,e){return this.sizerChildren[e*this.columnCount+t]}childToGridIndex(t,e){if(!t)return null;var i=this.sizerChildren.indexOf(t);return-1===i?null:(void 0===e&&(e={}),e.x=i%this.columnCount,e.y=Math.floor(i/this.columnCount),e)}getColumnWidth(t){var e=this.columnProportions[t];return 0===e?this.columnWidth[t]:e*this.proportionWidthLength}getRowHeight(t){var e=this.rowProportions[t];return 0===e?this.rowHeight[t]:e*this.proportionHeightLength}setCreateCellContainerCallback(t){return this.createCellContainerCallback=t,this}}Object.assign(uP.prototype,oP),t.register("gridSizer",(function(t,e,i,s,r,n,a,o,h){var l=new uP(this.scene,t,e,i,s,r,n,a,o,h);return this.scene.add.existing(l),l})),P(window,"RexPlugins.UI.GridSizer",uP);var pP=function(t,e,i,s){return e/t<=i?e/(s-1):0},gP=function(t){var e,i,s,r,n,a={lines:[],width:0,height:0},o=this.sizerChildren,h=0,l=a.lines,d=void 0;if(0===this.orientation){for(var c=0,u=o.length;co.height/2)){r>(h=vP(o.left,o.centerY,t,e))&&(r=h,s=n);var h,l=i[n+1];l&&l.y===o.y||r>(h=vP(o.right,o.centerY,t,e))&&(r=h,s=n+1)}}return s};const mP=Phaser.Utils.Objects.IsPlainObject,yP=Phaser.Utils.Objects.GetValue,bP=Phaser.Display.Align.CENTER;var xP=function(t,e,i,s){return"\n"===t?(this.addNewLine(),this):(Av.call(this,t),mP(e)&&(e=yP(h=e,"padding",0),i=yP(h,"key",void 0),s=yP(h,"index",void 0),r=yP(h,"offsetX",0),n=yP(h,"offsetY",0),a=yP(h,"offsetOriginX",0),o=yP(h,"offsetOriginY",0)),void 0===e&&(e=0),void 0===r&&(r=0),void 0===n&&(n=0),void 0===a&&(a=0),void 0===o&&(o=0),(h=this.getSizerConfig(t)).align=bP,h.padding=Iv(e),h.alignOffsetX=r,h.alignOffsetY=n,h.alignOffsetOriginX=a,h.alignOffsetOriginY=o,void 0===s||s>=this.sizerChildren.length?this.sizerChildren.push(t):this.sizerChildren.splice(s,0,t),void 0!==i&&this.addChildrenMap(i,t),this);var r,n,a,o,h},CP={add(t,e,i){if(Um(t))for(var s=t,r=0,n=s.length;r=0;e--)this.remove(this.sizerChildren[e],t);return this},clear(t){return this.sizerChildren.length=0,tx.call(this,t),this}},SP={getChildrenWidth:function(t){return this.rexSizer.hidden?0:(void 0===t&&(t=!0),void 0!==(e=0===this.orientation&&t?this.maxChildWidth:this.rexSizer.resolved?this.wrapResult.width:void 0)?e+(this.space.left+this.space.right)*this.scaleX:void 0);var e},getChildrenHeight:function(t){return this.rexSizer.hidden?0:(void 0===t&&(t=!0),void 0!==(e=1===this.orientation&&t?this.maxChildHeight:this.rexSizer.resolved?this.wrapResult.height:void 0)?e+(this.space.top+this.space.bottom)*this.scaleY:void 0);var e},getChildrenSizers:function(t){void 0===t&&(t=[]);for(var e,i=this.sizerChildren,s=0,r=i.length;s=t.dragThreshold?"DRAG":"DRAGBEGIN":"IDLE"}update_DRAGBEGIN(t,e){this.next()}next_DRAG(){var t,e=this.parent;return e.dragState.isUp&&(t=e.outOfBounds?"BACK":e.slidingEnable?"SLIDE":"IDLE"),t}update_DRAG(t,e){var i=this.parent;i.dragState.justMoved&&i.dragging(),this.next()}enter_DRAG(){this.parent.onDragStart()}exit_DRAG(){this.parent.onDragEnd()}next_SLIDE(){var t,e=this.parent;return e.dragState.isDown?t="DRAG":e.isSliding||(t="IDLE"),t}enter_SLIDE(){this.parent.onSliding()}exit_SLIDE(){this.parent.stop()}update_SLIDE(t,e){this.parent.sliding(t,e),this.next()}next_BACK(){var t,e=this.parent;return e.dragState.isDown?t="DRAG":e.isPullBack||(t="IDLE"),t}enter_BACK(){this.parent.onPullBack()}exit_BACK(){this.parent.stop()}update_BACK(t,e){this.parent.pullBack(t,e),this.next()}}const gT=Phaser.Utils.Objects.GetValue,vT=Phaser.Math.Distance.Between;class fT extends Ba{constructor(t,e){super(t,e),this._enable=void 0,this.rectBoundsInteractive=gT(e,"rectBoundsInteractive",!1),this.rectBoundsInteractive||t.setInteractive(gT(e,"inputConfig",void 0)),this.resetFromJSON(e),this.boot()}resetFromJSON(t){return this.pointer=void 0,this.isInTouched=!1,this.holdStartTime=void 0,this.x=void 0,this.y=void 0,this.preX=void 0,this.preY=void 0,this.localX=void 0,this.localY=void 0,this.justMoved=!1,this.setEnable(gT(t,"enable",!0)),this.holdThreshold=gT(t,"holdThreshold",50),this.pointerOutReleaseEnable=gT(t,"pointerOutRelease",!0),this}boot(){var t=this.scene,e=this.parent;this.rectBoundsInteractive?(t.input.on("pointerdown",this.onPointIn,this),t.input.on("pointerup",this.onPointOut,this),t.input.on("pointermove",this.onPointerMove,this)):(e.on("pointerdown",this.onPointIn,this),e.on("pointerup",this.onPointOut,this),this.pointerOutReleaseEnable&&e.on("pointerout",this.onPointOut,this),e.on("pointermove",this.onPointerMove,this)),t.sys.events.on("preupdate",this.preupdate,this)}shutdown(t){if(!this.isShutdown){var e=this.scene;this.parent,this.rectBoundsInteractive&&(e.input.off("pointerdown",this.onPointIn,this),e.input.off("pointerup",this.onPointOut,this),e.input.off("pointermove",this.onPointerMove,this)),e.sys.events.off("preupdate",this.preupdate,this),this.pointer=void 0,super.shutdown(t)}}get enable(){return this._enable}set enable(t){this._enable!==t&&(t||(this.isInTouched=!1,this.pointer=void 0),this._enable=t)}setEnable(t){return void 0===t&&(t=!0),this.enable=t,this}toggleEnable(){return this.setEnable(!this.enable),this}setPointerOutReleaseEnable(t){return void 0===t&&(t=!0),this.pointerOutReleaseEnable=t,this}get isDown(){return this.pointer&&this.pointer.isDown}get isUp(){return!this.isDown}get dx(){return this.x-this.preX}get dy(){return this.y-this.preY}get dt(){return oc(this.scene)}get speed(){return this.x===this.preX&&this.y===this.preY?0:vT(this.preX,this.preY,this.x,this.y)/(.001*this.dt)}get speedX(){return this.dx/(.001*this.dt)}get speedY(){return this.dy/(.001*this.dt)}onPointIn(t,e,i){this.enable&&t.isDown&&void 0===this.pointer&&(this.rectBoundsInteractive&&!Hm(this.parent,t)||(this.pointer=t,this.localX=e,this.localY=i))}onPointOut(t){this.enable&&this.pointer===t&&(this.pointer=void 0)}onPointerMove(t,e,i){this.enable&&t.isDown&&this.pointer===t&&(this.rectBoundsInteractive&&this.pointerOutReleaseEnable&&!Hm(this.parent,t)?this.onPointOut(t):(this.localX=e,this.localY=i))}preupdate(t,e){if(this.enable){var i=this.pointer;this.justMoved=!1,i&&!this.isInTouched?(this.x=i.worldX,this.y=i.worldY,this.preX=i.worldX,this.preY=i.worldY,this.isInTouched=!0,this.holdStartTime=void 0,this.emit("touchstart",i,this.localX,this.localY)):i&&this.isInTouched?this.x===i.x&&this.y===i.y?void 0===this.holdStartTime?this.holdStartTime=t:t-this.holdStartTime>this.holdThreshold&&(this.preX=this.x,this.preY=this.y):(this.preX=this.x,this.preY=this.y,this.x=i.worldX,this.y=i.worldY,this.holdStartTime=void 0,this.justMoved=!0,this.emit("touchmove",i,this.localX,this.localY)):!i&&this.isInTouched&&(this.isInTouched=!1,this.holdStartTime=void 0,this.emit("touchend",i))}}}const mT=Phaser.Utils.Objects.GetValue;class yT{constructor(t){this.resetFromJSON(t)}resetFromJSON(t){return this.setValue(mT(t,"value",0)),this.setSpeed(mT(t,"speed",0)),this.setAcceleration(mT(t,"acceleration",0)),this}reset(){this.setValue(0),this.setSpeed(0),this.setAcceleration(0)}setValue(t){return this.value=t,this}setSpeed(t){return this.speed=t,this}setAcceleration(t){return this.acceleration=t,this}updateSpeed(t){return 0!==this.acceleration&&(this.speed+=this.acceleration*t,this.speed<0&&(this.speed=0)),this}getDeltaValue(t){return this.updateSpeed(t),this.speed<=0?0:this.speed*t}update(t){return this.updateSpeed(t),this.speed>0&&(this.value+=this.getDeltaValue(t)),this}get isMoving(){return this.speed>0}}class bT{constructor(){this.value,this.dir,this.movement=new yT}init(t,e,i,s,r){return this.value=t,this.end=r,this.dir=void 0!==r?tthis.end&&(this.value=this.end):this.valuethis.maxValue}overMin(t){return null!=this.minValue&&t0,Math.abs(e),i)}sliding(t,e){e*=.001;var i=this._slowDown.update(e).value;this.overMax(i)?(this.value=this.maxValue,this._slowDown.stop()):this.overMin(i)?(this.value=this.minValue,this._slowDown.stop()):this.value=i}onPullBack(){var t=this.value,e=this.outOfMinBound?this.minValue:this.maxValue,i=Math.abs(e-t),s=this.backDeceleration,r=Math.sqrt(2*s*i);this._slowDown.init(t,void 0,r,s,e)}pullBack(t,e){e*=.001,this.value=this._slowDown.update(e).value,this._slowDown.isMoving||this._state.next()}stop(){this._slowDown.stop()}}const wT={y:0,v:0,vertical:0,x:1,h:1,horizontal:1},ST=Phaser.Utils.Objects.GetValue;class PT extends Ba{constructor(t,e){switch(super(t,e),this.parent!==this.scene?this.focusMode=ST(e,"focus",!0):this.focusMode=!1,"boolean"==typeof this.focusMode&&(this.focusMode=this.focusMode?1:0),this.setSpeed(ST(e,"speed",.1)),this.setEnable(ST(e,"enable",!0)),this.focusMode){case 0:case 2:this.scene.input.on("wheel",this.onSceneScroll,this);break;default:t.setInteractive(ST(e,"inputConfig",void 0)).on("wheel",(function(t,e,i,s,r){this.tryScroll(i)}),this)}}destroy(){switch(this.focusMode){case 0:case 2:this.scene.input.off("wheel",this.onSceneScroll,this)}}onSceneScroll(t,e,i,s,r,n){(2!==this.focusMode||Hm(this.parent,t))&&this.tryScroll(s)}setEnable(t){return void 0===t&&(t=!0),this.enable=t,this}setSpeed(t){return this.speed=t,this}tryScroll(t){if(this.enable)return this.scroll(t),this}scroll(t){return t*=this.speed,this.emit("scroll",t,this.parent,this),this}}const TT=Phaser.Utils.Objects.GetValue;var OT=function(t,e,i,s){var r,n,a="Y"===(i=i.toUpperCase()),o=2===t.scrollMode,h=t.childrenMap.child,l=`slider${i}`;if(r=o||s.hasOwnProperty(l)?TT(s,l,void 0):TT(s,"slider",void 0)){var d,c,u;!0===r&&(r={}),r.orientation=a?1:0,n=function(t,e){void 0===e&&(e={});var i=Ge(e);(e={slider:i}).orientation=i.orientation,delete i.orientation,e.background=i.background,delete i.background,e.buttons=i.buttons,delete i.buttons,e.value=null;var s=new uT(t,e);t.add.existing(s);var r=s.childrenMap.slider;return s.addChildrenMap("track",r.childrenMap.track),s.addChildrenMap("indicator",r.childrenMap.indicator),s.addChildrenMap("thumb",r.childrenMap.thumb),s}(t.scene,r);var p=TT(r,"position",0);"string"==typeof p&&(p=MT[p]);var g,v,f=TT(s,`space.slider${i}`,void 0);void 0===f&&void 0===(f=TT(s,"space.slider",void 0))&&(o?f=0:g=TT(s,"space.child",0)),v=void 0===g?"number"==typeof f:"number"==typeof g,a?0===p?(d=2,c=1,u=void 0===g?v?{left:f}:f:{left:TT(g,"right",g)}):(d=0,c=1,u=void 0===g?v?{right:f}:f:{right:TT(g,"left",g)}):0===p?(d=1,c=2,u=void 0===g?v?{top:f}:f:{top:TT(g,"bottom",g)}):(d=1,c=0,u=void 0===g?v?{bottom:f}:f:{bottom:TT(g,"top",g)}),e.add(n,{column:d,row:c,align:"center",padding:u,expand:!0}),t[`hideUnscrollableSlider${i}`]=TT(r,"hideUnscrollableSlider",!1),t[`disableUnscrollableDrag${i}`]=TT(r,"disableUnscrollableDrag",!1),t[`adaptThumb${i}SizeMode`]=TT(r,"adaptThumbSize",!1),t[`minThumb${i}Size`]=TT(r,"minThumbSize",void 0)}else t[`hideUnscrollableSlider${i}`]=!1,t[`disableUnscrollableDrag${i}`]=!1,t[`adaptThumb${i}SizeMode`]=!1,t[`minThumb${i}Size`]=void 0;var m,y,b=TT(s,"scrollDetectionMode");"string"==typeof b&&(b=ET[b]);var x=`scroller${i}`;(m=o||s.hasOwnProperty(x)?TT(s,x,!0):TT(s,"scroller",!0))&&h&&(!0===m&&(m={}),m.orientation=a?0:1,void 0!==b&&(m.rectBoundsInteractive=1===b),y=new kT(h,m),h.isRexContainerLite&&h.sendChildToBack(h));var C,k,w,S,P,T=TT(s,o?`mouseWheelScroller${i}`:"mouseWheelScroller",!1);T&&h&&(void 0!==b&&(T.focus=1===b?2:0),C=new PT(h,T)),t.addChildrenMap(`slider${i}`,n),t.addChildrenMap(`scroller${i}`,y),t.addChildrenMap(`mouseWheelScroller${i}`,C),o&&!a||(t.hideUnscrollableSlider=t[`hideUnscrollableSlider${i}`],t.disableUnscrollableDrag=t[`disableUnscrollableDrag${i}`],t.adaptThumbSizeMode=t[`adaptThumb${i}SizeMode`],t.minThumbSize=t[`minThumb${i}Size`],t.addChildrenMap("slider",n),t.addChildrenMap("scroller",y),t.addChildrenMap("mouseWheelScroller",C)),n&&(o?(k=a?"t":"s",S=`scroll${i}`):(k="t",S="scroll"),n.on("valuechange",(function(e){t[k]=e,t.emit(S,t)}))),y&&(o?(w=`childO${i}`,S=`scroll${i}`):(w="childOY",S="scroll"),y.on("valuechange",(function(e){t[w]=e,t.emit(S,t)}))),C&&(P=o?`addChildO${i}`:"addChildOY",C.on("scroll",(function(e){t[P](-e,!0)})))};const MT={right:0,left:1,bottom:0,top:1},ET={gameObject:0,rectBounds:1},_T=Phaser.Utils.Objects.GetValue;var RT=function(t,e){var i=t.scene,s=[0,1,0],r=[0,1,0],n=_T(e,"width"),a=_T(e,"height");n||_T(e,"child.expandWidth",!0)||(s[1]=0),a||_T(e,"child.expandHeight",!0)||(r[1]=0);var o=new uP(i,{column:3,row:3,columnProportions:s,rowProportions:r});switch(function(t,e,i){var s=jP(i,"child"),r=jP(s,"gameObject",void 0);if(r){var n=jP(i,"space.child",0);t.childMargin={};var a=t.childMargin,o={};if("number"==typeof n)switch(t.scrollMode){case 0:case 1:a.top=0,a.bottom=0,a.left=0,a.right=0;break;default:a.top=n,a.bottom=n,a.left=n,a.right=n}else switch(t.scrollMode){case 0:a.top=jP(n,"top",0),a.bottom=jP(n,"bottom",0),o.left=jP(n,"left",0),o.right=jP(n,"right",0);break;case 1:a.top=jP(n,"left",0),a.bottom=jP(n,"right",0),o.top=jP(n,"top",0),o.bottom=jP(n,"bottom",0);break;default:a.top=jP(n,"top",0),a.bottom=jP(n,"bottom",0),a.left=jP(n,"left",0),a.right=jP(n,"right",0)}e.add(r,{column:1,row:1,align:jP(s,"align","center"),padding:o,expand:{width:jP(s,"expandWidth",!0),height:jP(s,"expandHeight",!0)}})}t.addChildrenMap("child",r)}(t,o,e),t.scrollMode){case 0:OT(t,o,"y",e);break;case 1:OT(t,o,"x",e);break;default:OT(t,o,"y",e),OT(t,o,"x",e)}return o},LT=function(t){var e,i,s,r;switch(this.scrollMode){case 0:case 1:e=this.topChildOY,i=this.bottomChildOY,s=this.childrenMap.scroller,r=this.childrenMap.slider,t=0===this.scrollMode?"Y":"X";break;default:"Y"===(t=t.toUpperCase())?(e=this.topChildOY,i=this.bottomChildOY):(e=this.leftChildOX,i=this.rightChildOX),s=this.childrenMap[`scroller${t}`],r=this.childrenMap[`slider${t}`]}if(s){var n="Y"===t?this.scaleY:this.scaleX;s.setBounds(e,i*n)}r&&r.setEnable(e!==i)},BT=function(t){switch(this.scrollMode){case 0:case 1:(i=this.childrenMap.slider)&&this.hideUnscrollableSlider&&this.setChildVisible(i,this.isOverflow),(r=this.childrenMap.scroller)&&this.disableUnscrollableDrag&&r.setEnable(this.isOverflow);break;default:var e=this[`isOverflow${t=t.toUpperCase()}`],i=this.childrenMap[`slider${t}`],s=this[`hideUnscrollableSlider${t}`];i&&s&&this.setChildVisible(i,e);var r=this.childrenMap.scroller,n=this[`disableUnscrollableDrag${t}`];r&&n&&r.setEnable(e)}},IT=function(t){switch(this.scrollMode){case 0:case 1:if(!this.adaptThumbSizeMode)return;if(!(o=this.childrenMap.slider))return;var e=Math.min(this.childVisibleHeight/this.childHeight,1),i=o.childrenMap.track,s=o.childrenMap.thumb,r=this.minThumbSize;if(0===this.scrollMode){var n=i.displayHeight*e;void 0!==r&&n0?t.setText(e).getTextBounds().wrappedText.split("\n"):e.split("\n")}return i},YT=function(t){return(t-this.textLineSpacing)/(this.textLineHeight+this.textLineSpacing)},WT=function(t){return t*(this.textLineHeight+this.textLineSpacing)-this.textLineSpacing},VT=function(t){var e,i=t+this.visibleLinesCount+1;switch(this.textObjectType){case 0:case 2:e=this.lines.slice(t,i).join("\n");break;case 1:var s=this.lines.getLineStartIndex(t),r=this.lines.getLineEndIndex(i-1);e=this.lines.getSliceTagText(s,r,!0)}return e},GT=function(t,e){switch(Nw(t)){case 0:var i=(r=t.style).wordWrapWidth,s=r.wordWrapCallback;r.wordWrapWidth=0,r.wordWrapCallback=void 0,t.setText(e),r.wordWrapWidth=i,r.wordWrapCallback=s;break;case 1:var r,n=(r=t.style).wrapMode;r.wrapMode=0,t.setText(e),r.wrapMode=n;break;case 2:var a=t._maxWidth;t._maxWidth=0,t.setText(e),t._maxWidth=a}},HT=function(){var t=this.textObject.rexSizer;this.textObject.y+=t.offsetY-t.preOffsetY,t.preOffsetY=t.offsetY,this.resetChildPositionState(this.textObject),this.textCropEnable&&UT.call(this)},UT=function(){if(this.textObject.setCrop){var t,e,i=this.textObject.rexSizer.offsetY;i<=0?(t=-i,e=this.height):(t=0,e=this.height-i),this.textObject.setCrop(0,t,this.width,e)}},NT=function(t,e,i){if(i+=this.textLineHeight+this.textLineSpacing,this.textObjectWidth!==e||this._textObjectRealHeight!==i){switch(this.textObjectWidth=e,this._textObjectRealHeight=i,this.textObjectType){case 0:case 1:t.setFixedSize(e,i);var s=t.style,r=Math.max(e,0);0===this.textObjectType?s.wordWrapWidth=r:(0===s.wrapMode&&(s.wrapMode=1),s.wrapWidth=r);break;case 2:t.setMaxWidth(e)}this.setText()}},$T={setText:function(t){return void 0!==t&&(this.text=t),this.lines=XT(this.textObject,this.text,this.lines),this.linesCount=this.lines.length,this._textHeight=void 0,this._textVisibleHeight=void 0,this.updateTextObject(),this},updateTextObject:function(){var t=Math.max(Math.floor(YT.call(this,-this.textOY)),0),e=WT.call(this,t)+this.textOY,i=VT.call(this,t);return GT(this.textObject,i),this.textObject.rexSizer.offsetY=e,HT.call(this),this},preLayout:function(){return this._textLineHeight=void 0,this._textLineSpacing=void 0,this._visibleLinesCount=void 0,this._textHeight=void 0,this._textVisibleHeight=void 0,rf.call(this),this},layoutChildren:function(){var t,e,i,s,r,n,a,o=this.left,h=this.top;(t=this.textObject).rexSizer.hidden||(s=o+(i=(e=t.rexSizer).padding).left*this.scaleX,r=h+i.top*this.scaleY,n=this.width*this.scaleX-(i.left+i.right)*this.scaleX,a=this.height*this.scaleY-(i.top+i.bottom)*this.scaleY,NT.call(this,t,n,a),Tv(t,s,r,n,a,e.align),e.preOffsetY=0,HT.call(this),this.textMask&&(this.textMask.setPosition().resize(),this.resetChildPositionState(this.textMask)))}};const KT=Phaser.Utils.Objects.IsPlainObject,JT=Phaser.Utils.Objects.GetValue,qT=Phaser.Display.Align.TOP_LEFT;class ZT extends Yb{constructor(t,e,i,s,r,n){KT(e)?(e=JT(n=e,"x",0),i=JT(n,"y",0),s=JT(n,"width",void 0),r=JT(n,"height",void 0)):KT(s)&&(s=JT(n=s,"width",void 0),r=JT(n,"height",void 0)),super(t,e,i,s,r,n),this.type="rexTextBlock",this.textObject=void 0,this.linesCount=0,this.textMask=void 0,this.textObjectType=void 0,this._textLineHeight=void 0,this._textLineSpacing=void 0,this._visibleLinesCount=void 0,this._textHeight=void 0,this._textVisibleHeight=void 0,this._textObjectRealHeight=0,this.lines=void 0,this.text=JT(n,"content",""),this._textOY=0,this.execeedTopState=!1,this.execeedBottomState=!1,this.setClampMode(JT(n,"clampTextOY",!0)),this.alwaysScrollable=JT(n,"alwaysScrollable",!1);var a=JT(n,"background",void 0),o=JT(n,"text",void 0);void 0===o&&(o=QT(t)),this.textCropEnable=JT(n,"textCrop",!!o.setCrop);var h=JT(n,"textMask",!this.textCropEnable);a&&this.addBackground(a),this.add(o),this.sizerChildren=[o];var l=this.getSizerConfig(o);l.align=qT,l.padding=Iv(0),l.expand=!0,this.textObject=o,this.textObjectType=Nw(o),l.preOffsetY=0,l.offsetY=0,h&&(this.textMask=Ww.call(this,this.textObject,this)),this.addChildrenMap("background",a),this.addChildrenMap("text",o)}destroy(t){if(this.scene&&!this.ignoreDestroy){if(this.textObject=void 0,this.textMask=void 0,this.lines){switch(this.textObjectType){case 0:case 2:this.lines.length=0;break;case 1:this.lines.destroy()}this.lines=void 0}super.destroy(t)}}setClampMode(t){return void 0===t&&(t=!0),this.clampTextOY=t,this}get textLineHeight(){if(void 0===this._textLineHeight){var t;switch(this.textObjectType){case 0:case 1:var e=this.textObject.style;t=e.metrics.fontSize+e.strokeThickness;break;case 2:var i=this.textObject.fontSize/this.textObject.fontData.size;t=this.textObject.fontData.lineHeight*i}this._textLineHeight=t}return this._textLineHeight}get textLineSpacing(){if(void 0===this._textLineSpacing){var t;switch(this.textObjectType){case 0:case 1:t=this.textObject.lineSpacing;break;case 2:t=0}this._textLineSpacing=t}return this._textLineSpacing}get visibleLinesCount(){return void 0===this._visibleLinesCount&&(this._visibleLinesCount=Math.floor(YT.call(this,this._textObjectRealHeight))),this._visibleLinesCount}get topTextOY(){return 0}get bottomTextOY(){return-this.textVisibleHeight}get textHeight(){return void 0===this._textHeight&&(this._textHeight=WT.call(this,this.linesCount)),this._textHeight}get textObjectHeight(){return this._textObjectRealHeight-(this.textLineHeight+this.textLineSpacing)}get textVisibleHeight(){if(void 0===this._textVisibleHeight){var t=this.textHeight-this.textObjectHeight;!this.alwaysScrollable&&t<0&&(t=0),this._textVisibleHeight=t}return this._textVisibleHeight}textOYExceedTop(t){return void 0===t&&(t=this.textOY),t>this.topTextOY}textOYExeceedBottom(t){return void 0===t&&(t=this.textOY),tthis.linesCount?t=0:s?t=e:r&&(t=i)),this._textOY!==t&&(this._textOY=t,this.updateTextObject()),s&&(this.execeedTopState||this.emit("execeedtop",this,t,e)),this.execeedTopState=s,r&&(this.execeedBottomState||this.emit("execeedbottom",this,t,i)),this.execeedBottomState=r}setTextOY(t){return this.textOY=t,this}set t(t){this.textOY=-this.textVisibleHeight*t}get t(){var t=this.textVisibleHeight;return 0===t?0:this.textOY/-t}setTextOYByPercentage(t){return this.t=t,this}}var QT=function(t){return t.add.text(0,0,"")};Object.assign(ZT.prototype,$T);var tO={setText(t){return this.childrenMap.child.setText(t),this.resizeController(),this},appendText(t){return this.setText(this.text+t),this}},eO={scrollToLine(t){return this.setChildOY(-this.lineHeight*t),this},scrollToNextLine(t){void 0===t&&(t=1);var e=this.lineIndex+t;return this.scrollToLine(e),this}};const iO=Phaser.Utils.Objects.GetValue;class sO extends zT{constructor(t,e){void 0===e&&(e={});var i=iO(e,"text",void 0),s=iO(e,"textWidth",void 0),r=iO(e,"textHeight",void 0),n=iO(e,"textCrop",!!i.setCrop),a=iO(e,"textMask",!n),o=iO(e,"content",""),h=new ZT(t,{width:s,height:r,text:i,textMask:a,textCrop:n&&!a,content:o,clampTextOY:iO(e,"clampChildOY",!1),alwaysScrollable:iO(e,"alwaysScrollable",!1)});t.add.existing(h),function(t){Object.defineProperty(t,"childOY",{configurable:!0,get:function(){return t.textOY},set:function(e){t.textOY=e}}),Object.defineProperty(t,"topChildOY",{get:function(){return t.topTextOY}}),Object.defineProperty(t,"bottomChildOY",{get:function(){return t.bottomTextOY}}),Object.defineProperty(t,"childVisibleHeight",{get:function(){return t.textObjectHeight}}),Object.defineProperty(t,"childHeight",{get:function(){return t.textHeight}})}(h),e.scrollMode=0,e.type="rexTextArea",e.child={gameObject:h,expandWidth:void 0===s,expandHeight:void 0===r};var l=iO(e,"space",void 0);l&&(l.child=iO(l,"text",0)),super(t,e),this.addChildrenMap("text",i)}get text(){return this.childrenMap.child.text}get lineHeight(){var t=this.childrenMap.child;return t.textLineHeight+t.textLineSpacing}get lineIndex(){return Math.floor(-this.childOY/this.lineHeight)}get linesCount(){return this.childrenMap.child.linesCount}get contentHeight(){return this.childrenMap.child.textHeight}}Object.assign(sO.prototype,tO,eO);const rO=Phaser.Utils.Objects.GetValue;var nO=function(t,e,s){e=e?i(e):{};var r=rO(s,"background",BP),n=rO(s,"text",aO),a=rO(s,"track",BP),o=rO(s,"thumb",BP);r?e.background=r(t,e.background):delete e.background,n?e.text=n(t,e.text):delete e.text;var h=e.slider;!1!==h&&null!==h&&(void 0===h&&(h={}),a?h.track=a(t,h.track):delete h.track,o?h.thumb=o(t,h.thumb):delete h.thumb,e.slider=h);var l=new sO(t,e);return t.add.existing(l),l},aO=function(t,e){var i,s;switch(e&&(e.hasOwnProperty("$type")?i=e.$type:e.hasOwnProperty("key")&&(i="bitmaptext",e.font=e.key)),i){case"bitmaptext":case"bitmap":s=new WS(t,e);break;case"bbcodetext":case"bbcode":s=new cs(t,0,0,"",e);break;case"label":s=new dO(t,e);break;case"textarea":s=nO(t,e);break;default:s=new zS(t,e)}return LP(s,e),t.add.existing(s),s},oO=function(t,e){var i,s;switch(e&&(e.hasOwnProperty("$type")?i=e.$type:e.hasOwnProperty("leftWidth")?i="nineSlice":(e.hasOwnProperty("color")||e.hasOwnProperty("strokeColor"))&&(i="roundRectangle")),i){case"nineSlice":s=e.hasOwnProperty("stretchMode")?new DS(t,e):new LS(t,e);break;case"roundRectangle":s=new OS(t,e);break;default:s=new TS(t,e)}return LP(s,e),t.add.existing(s),s};const hO=Phaser.Utils.Objects.GetValue;var lO=function(t,e,s){e=e?i(e):{};var r=hO(s,"background",BP),n=hO(s,"text",aO),a=hO(s,"icon",oO),o=hO(s,"action",oO);return null!==e.background&&r?e.background=r(t,e.background):delete e.background,null!==e.text&&n?e.text=n(t,e.text):delete e.text,null!==e.icon&&a?e.icon=a(t,e.icon):delete e.icon,null!==e.action&&o?e.action=o(t,e.action):delete e.action,e};class dO extends aS{constructor(t,e,i){super(t,e=lO(t,e,i)),this.type="rexSimpleLabel"}setActiveState(t){return cO(this.getChildren(),"setActiveState",t),this}setHoverState(t){return cO(this.getChildren(),"setHoverState",t),this}setDisableState(t){return cO(this.getChildren(),"setDisableState",t),this}}var cO=function(t,e,i){for(var s=0,r=t.length;sthis.maxExp&&(t=this.maxExp),void 0===e&&(e=this.getLevel(t)),this._exp=t,this._level=e,this._requiredExp=this.getRequiredExpToNextLevel(e,t),this}get exp(){return this._exp}set exp(t){if(this.hasMaxLevel&&t>this.maxExp&&(t=this.maxExp),tthis.maxLevel?this.exp=this.maxExp:this.exp=this.getExp(t)}get requiredExp(){return this._requiredExp}getExp(t){return void 0===t?this._exp:this.isLevelMapFunction?this.levelTable(t):(this.hasMaxLevel&&t>this.maxLevel&&(t=this.maxLevel),this.levelTable[t])}getLevel(t,e){if(void 0===t)return this._level;for(void 0===e&&(e=0);;){var i=this.getExp(e+1);if(i>t)break;if(e++,this.hasMaxLevel&&i===this.maxExp)break}return e}getRequiredExpToNextLevel(t,e){return void 0===t&&(t=this.level),void 0===e&&(e=this.exp),this.getExp(t+1)-e}checkLevel(t,e){return e>=this.getExp(t)&&e=0;n--)s=EO(t[n],e,i);else for(var n=0,a=t.length;ns?1:it)return this;for(var e=this.commands;;){var i=e[this.index],s=i[1];if(Um(s)||(s=Ac(IO,i,1)),EO(s,this.scope),this.emit("runcommand",s,this.scope),this.index>=e.length-1)return this.nextTime=0,this.complete(),this;if(this.index++,this.nextTime=this.getNextDt(this.nextTime),this.nextTime>t)return this}}complete(){this.clock.stop(),this.state=2,this.emit("complete",this.parent,this)}getNextDt(t){var e=this.commands[this.index][0];return 1===this.timeUnit&&(e*=1e3),1===this.dtMode&&(e+=t),e}setDtMode(t){return"string"==typeof t&&(t=AO[t]),this.dtMode=t,this}setTimeUnit(t){return"string"==typeof t&&(t=DO[t]),this.timeUnit=t,this}}var IO=[];const DO={ms:0,s:1,sec:1},AO={abs:0,absolute:0,inc:1,increment:1};var jO=function(t,e,i,s,r){var n=(i-e)/(r-s)*this.totalEaseDuration,a=i===r?t+1:t;this.player.append(0,this.setEaseValueDuration,n).append(0,this.easeValueTo,i,s,r).append(0,this.emit,"levelup.start",t,e,i,this).append(n,h).append(0,this.emit,"levelup.end",a,e,i,this),this.player.isPlaying||this.player.start()},zO={setExpTable(t){return this.levelCounter.setTable(t),this},resetExp(t){return this.levelCounter.resetExp(t),this.setValue(this.exp,this.getExp(this.level),this.getExp(this.level+1)),this},getExp(t){return this.levelCounter.getExp(t)},getLevel(t,e){return this.levelCounter.getLevel(t,e)},getRequiredExpToNextLevel(t,e){return this.levelCounter.getRequiredExpToNextLevel(t,e)},gainExp(t){return this.levelCounter.gainExp(t),this},setExp(t){return this.levelCounter.setExp(t),this},setLevel(t){return this.levelCounter.setLevel(t),this}};const FO=Phaser.Utils.Objects.GetValue;class XO extends OO{constructor(t,e){super(t,e),this.type="rexExpBar",this.setTotalEaseDuration(FO(e,"easeDuration",1e3)),this.levelCounter=new MO(FO(e,"levelCounter")),this.player=new BO(this,{scope:this,dtMode:1}),this.levelCounter.on("levelup",jO,this),this.player.on("complete",(function(){this.player.clear(),this.emit("levelup.complete",this.level,this)}),this),this.setValue(this.exp,this.getExp(this.level),this.getExp(this.level+1))}destroy(t){this.scene&&!this.ignoreDestroy&&(this.levelCounter.destroy(),this.levelCounter=void 0,this.player.destroy(),this.player=void 0,super.destroy(t))}get exp(){return this.levelCounter.exp}set exp(t){this.levelCounter.exp=t}get level(){return this.levelCounter.level}set level(t){this.levelCounter.level=t}get requiredExp(){return this.levelCounter.requiredExp}setTotalEaseDuration(t){return this.totalEaseDuration=t,this}}Object.assign(XO.prototype,zO),t.register("expBar",(function(t){var e=new XO(this.scene,t);return this.scene.add.existing(e),e})),P(window,"RexPlugins.UI.ExpBar",XO);const YO=zw.prototype.add,WO=zw.prototype.addSpace;var VO=function(t){var e=!t.isRexSpace,i=!e||this.buttonsExpand?1:0;if(0===this.sizerChildren.length)if(e){!this.buttonsExpand&&("right"===this.buttonsAlign||"center"===this.buttonsAlign||"bottom"===this.buttonsAlign)&&WO.call(this),YO.call(this,t,{proportion:i,expand:!0});var s=!this.buttonsExpand&&"center"===this.buttonsAlign;s&&WO.call(this),this.hasTailSpace=s}else YO.call(this,t,{proportion:i,expand:!0}),this.hasTailSpace=!1;else if(this.hasTailSpace){var r=this.sizerChildren.length-1;YO.call(this,t,{index:r,proportion:i,expand:!0})}else YO.call(this,t,{proportion:i,expand:!0});return e&&this.buttonGroup.add(t),this},GO={addButton(t){if(Um(t))for(var e=t,i=0,s=e.length;i=0;i--)NO.call(this,e[i],t);return this}},KO=function(t,e,i){if(t){var s=this.setValueCallback,r=this.setValueCallbackScope;s&&(r?s.call(r,t,e,i):s(t,e,i)),this.fireEvent("button.statechange",t,e,i)}},JO=function(t){var e=this;t._selected=void 0,Object.defineProperty(t,"selected",{get:function(){return t._selected},set:function(i){if(t._selected!==i){var s=t._selected;t._selected=i,KO.call(e,t,i,s)}},enumerable:!0,configurable:!0}),t.selected=!1},qO={add(t){return this.buttons.push(t),t._click||(t._click=new cu(t,this.clickConfig),t._click.on("click",(function(t,e,i,s){this.fireEvent("button.click",e,i,s)}),this).on("enable",(function(t,e){this.fireEvent("button.enable",e)}),this).on("disable",(function(t,e){this.fireEvent("button.disable",e)}),this).on("over",(function(t,e,i,s){this.fireEvent("button.over",e,i,s)}),this).on("out",(function(t,e,i,s){this.fireEvent("button.out",e,i,s)}),this).on("down",(function(t,e,i,s){this.fireEvent("button.down",e,i,s)}),this).on("up",(function(t,e,i,s){this.fireEvent("button.up",e,i,s)}),this),t.isRexContainerLite&&t.sendChildToBack(t)),this.buttonsType&&(void 0===t.name&&console.error(`${this.parent.constructor.name}: Option button miss value`),JO.call(this,t)),this},addMultiple(t){for(var e=0,i=t.length;e0},setButtonEnable(t,e){var i=this.buttons;if(void 0===t||"boolean"==typeof t){e=t;for(var s=0,r=i.length;s=0;i--)pM.call(this,e[i],t);return this}};const vM=Phaser.Utils.Objects.GetValue;class fM extends uP{constructor(t,e){void 0===e&&(e={});var i=vM(e,"row",0),s=vM(e,"column",e.col||0),r=vM(e,"createCellContainerCallback"),n=vM(e,"buttons",void 0),a=vM(e,"expand",!0),o=a?1:0;if(r&&(e.createCellContainerCallback=void 0),void 0!==n){i=Math.max(i,n.length);for(var h=0,l=n.length;hr&&mM.addNewLine(this)}else for(n=0,a=t.length;n=0;i--)kM.call(this,e[i],t);return this}};const SM=Phaser.Utils.Objects.GetValue;class PM extends EP{constructor(t,e){void 0===e&&(e={});var i=e.space;"number"==typeof i&&(e.space={item:i,line:i}),super(t,e),this.type="rexFixWidthButtons",this.buttonGroup=new rM({parent:this,eventEmitter:SM(e,"eventEmitter",this),groupName:SM(e,"groupName",void 0),clickConfig:SM(e,"click",void 0)}).setButtonsType(e);var s=SM(e,"background",void 0),r=SM(e,"buttons",void 0);this.buttonsAlign=SM(e,"align",void 0),s&&this.addBackground(s),r&&this.addButtons(r),this.addChildrenMap("background",s),this.addChildrenMap("buttons",this.buttonGroup.buttons)}destroy(t){this.scene&&!this.ignoreDestroy&&(super.destroy(t),this.buttonGroup.destroy(),this.buttonGroup=void 0)}get buttons(){return this.buttonGroup.buttons}get groupName(){return this.buttonGroup.groupName}set groupName(t){this.buttonGroup.groupName=t}get eventEmitter(){return this.buttonGroup.eventEmitter}}Object.assign(PM.prototype,bM,wM,sM,aM),t.register("fixWidthButtons",(function(t){var e=new PM(this.scene,t);return this.scene.add.existing(e),e})),P(window,"RexPlugins.UI.FixWidthButtons",PM);var TM={setAccept(t){return this.childrenMap.fileChooser.setAccept(t),this},setMultiple(t){return this.childrenMap.fileChooser.setMultiple(t),this},loadFile(t,e,i,s,r){return this.childrenMap.fileChooser.loadFile(t,e,i,s,r),this},loadFilePromise(t,e,i,s){return this.childrenMap.fileChooser.loadFilePromise(t,e,i,s)}};const OM=Phaser.Utils.Objects.GetValue;class MM extends aS{constructor(t,e){super(t,e),this.type="rexFileSelectorButton";var i=new ow(t);t.add.existing(i),this.addBackground(i),this.addChildrenMap("fileChooser",i),this.setAccept(OM(e,"accept","")),this.setMultiple(OM(e,"multiple",!1)),i.on("change",(function(t){var e=t.files;0!==e.length&&(e=Array.from(e),this.emit("select",e,this))}),this)}get files(){return this.childrenMap.fileChooser.files}}Object.assign(MM.prototype,TM),t.register("fileSelectorButton",(function(t){var e=new MM(this.scene,t);return this.scene.add.existing(e),e})),P(window,"RexPlugins.UI.FileSelectorButton",MM);var EM={getChoice(t){var e=this.childrenMap.choicesSizer;return e?e.getButton(t):void 0},getAction(t){return this.childrenMap.actionsSizer.getButton(t)},getToolbar(t){return this.childrenMap.toolbarSizer.getButton(t)},getLeftToolbar(t){return this.childrenMap.leftToolbarSizer.getButton(t)},setChoiceEnable(t,e){var i=this.childrenMap.choicesSizer;return i&&i.setButtonEnable(t,e),this},setActionEnable(t,e){return this.childrenMap.actionsSizer.setButtonEnable(t,e),this},setToolbarEnable(t,e){return this.childrenMap.toolbarSizer.setButtonEnable(t,e),this},setLeftToolbarEnable(t,e){return this.childrenMap.leftToolbarSizer.setButtonEnable(t,e),this},toggleChoiceEnable(t){var e=this.childrenMap.choicesSizer;return e&&e.toggleButtonEnable(t),this},toggleActionEnable(t){return this.childrenMap.actionsSizer.toggleButtonEnable(t),this},toggleToolbarEnable(t){return this.childrenMap.toolbarSizer.toggleButtonEnable(t),this},toggleLeftToolbarEnable(t){return this.childrenMap.leftToolbarSizer.toggleButtonEnable(t),this},getChoiceEnable(t){var e=this.childrenMap.choicesSizer;return!!e&&e.getButtonEnable(t)},getActionEnable(t){return this.childrenMap.actionsSizer.getButtonEnable(t)},getToolbarEnable(t){return this.childrenMap.toolbarSizer.getButtonEnable(t)},getLeftToolbarEnable(t){return this.childrenMap.leftToolbarSizer.getButtonEnable(t)},emitChoiceClick(t){var e=this.childrenMap.choicesSizer;return e&&e.emitButtonClick(t),this},emitActionClick(t){return this.childrenMap.actionsSizer.emitButtonClick(t),this},emitToolbarClick(t){return this.childrenMap.toolbarSizer.emitButtonClick(t),this},emitLeftToolbarClick(t){return this.childrenMap.leftToolbarSizer.emitButtonClick(t),this},showChoice(t){var e=this.childrenMap.choicesSizer;return e&&e.showButton(t),this},showAction(t){return this.childrenMap.actionsSizer.showButton(t),this},showToolbar(t){return this.childrenMap.toolbarSizer.showButton(t),this},showLeftToolbar(t){return this.childrenMap.leftToolbarSizer.showButton(t),this},hideChoice(t){var e=this.childrenMap.choicesSizer;return e&&e.hideButton(t),this},hideAction(t){return this.childrenMap.actionsSizer.hideButton(t),this},hideToolbar(t){return this.childrenMap.toolbarSizer.hideButton(t),this},hideLeftToolbar(t){return this.childrenMap.leftToolbarSizer.hideButton(t),this},addChoice(t){var e=this.childrenMap.choicesSizer;return e&&e.addButton(t),this},addAction(t){return this.childrenMap.actionsSizer.addButton(t),this},addToolbar(t){return this.childrenMap.toolbarSizer.addButton(t),this},addLeftToolbar(t){return this.childrenMap.leftToolbarSizer.addButton(t),this},removeChoice(t,e){var i=this.childrenMap.choicesSizer;return i&&i.removeButton(t,e),this},removeAction(t,e){return this.childrenMap.actionsSizer.removeButton(t,e),this},removeToolbar(t,e){return this.childrenMap.toolbarSizer.removeButton(t,e),this},removeLeftToolbar(t,e){return this.childrenMap.leftToolbarSizer.removeButton(t,e),this},clearChoices(t){var e=this.childrenMap.choicesSizer;return e&&e.clearButtons(t),this},clearActions(t){return this.childrenMap.actionsSizer.clearButtons(t),this},clearToolbar(t){return this.childrenMap.toolbarSizer.clearButtons(t),this},clearLeftToolbar(t){return this.childrenMap.leftToolbarSizer.clearButtons(t),this},forEachChoice(t,e){var i=this.childrenMap.choicesSizer;return i&&i.forEachButtton(t,e),this},forEachAction(t,e){return this.childrenMap.actionsSizer.forEachButtton(t,e),this},forEachToolbar(t,e){return this.childrenMap.toolbarSizer.forEachButtton(t,e),this},forEachLeftToolbar(t,e){return this.childrenMap.leftToolbarSizer.forEachButtton(t,e),this},setAllButtonsEnable(t){return void 0===t&&(t=!0),this.childrenMap.toolbarSizer&&this.setToolbarEnable(t),this.childrenMap.leftToolbarSizer&&this.setLeftToolbarEnable(t),this.childrenMap.actionsSizer&&this.setActionEnable(t),this.childrenMap.choicesSizer&&this.setChoiceEnable(t),this},getChoicesButtonStates(){var t=this.childrenMap.choicesSizer;return t?t.getAllButtonsState():{}},getChoicesButtonState(t){var e=this.childrenMap.choicesSizer;return void 0===t?e?e.getAllButtonsState():{}:!!e&&e.getButtonState(t)},setChoicesButtonState(t,e){var i=this.childrenMap.choicesSizer;return i&&i.setButtonState(t,e),this},clearChoicesButtonStates(){var t=this.childrenMap.choicesSizer;return t&&t.clearAllButtonsState(),this},getChoicesSelectedButtonName(){var t=this.childrenMap.choicesSizer;return t?t.getSelectedButtonName():""},setChoicesSelectedButtonName(t){var e=this.childrenMap.choicesSizer;return e&&e.setSelectedButtonName(t),this},hasAnyChoice(){var t=this.childrenMap.choicesSizer;return!!t&&t.hasAnyButton()},hasAnyAction(){var t=this.childrenMap.actionsSizer;return!!t&&t.hasAnyButton()},hasAnyToolbar(){var t=this.childrenMap.toolbarSizer;return!!t&&t.hasAnyButton()},hasAnyLeftToolbar(){var t=this.childrenMap.leftToolbarSizer;return!!t&&t.hasAnyButton()}},_M={onCreateModalBehavior(t){t.on("button.click",(function(e,i,s,r,n){var a=!1;switch(i){case"actions":a=!0;break;case"choices":t.hasAnyAction()||(a=!0)}if(a){var o={index:s,text:e.text,button:e,dialog:t};switch(t.buttonsType){case"radio":o.value=t.getChoicesSelectedButtonName();break;case"checkboxes":o.value=t.getChoicesButtonStates();break;default:o.value=void 0}t.modalClose(o)}}))},modal(t,e){return t&&!1===t.defaultBehavior?this.onCreateModalBehavior=!1:delete this.onCreateModalBehavior,Xm.modal.call(this,t,e),this}},RM={};Object.assign(RM,EM,_M);const LM=Phaser.Utils.Objects.GetValue;class BM extends zw{constructor(t,e){void 0===e&&(e={}),e.orientation=1,super(t,e),this.type="rexDialog",this.eventEmitter=LM(e,"eventEmitter",this);var i,s,r,n,a=LM(e,"background",void 0),o=LM(e,"title",void 0),h=LM(e,"toolbar",void 0),l=LM(e,"toolbarBackground",void 0),d=LM(e,"leftToolbar",void 0),c=LM(e,"leftToolbarBackground",void 0),u=LM(e,"content",void 0),p=LM(e,"description",void 0),g=LM(e,"choices",void 0),v=LM(e,"choicesBackground",void 0),f=LM(e,"actions",void 0),m=LM(e,"actionsBackground",void 0),y=LM(e,"click",void 0);if(a&&this.addBackground(a),h&&(r=new hM(t,{groupName:"toolbar",background:l,buttons:h,orientation:0,space:{item:LM(e,"space.toolbarItem",0)},click:y,eventEmitter:this.eventEmitter}),t.add.existing(r)),d&&(n=new hM(t,{groupName:"leftToolbar",background:c,buttons:d,orientation:0,space:{item:LM(e,"space.leftToolbarItem",0)},click:y,eventEmitter:this.eventEmitter}),t.add.existing(n)),o||h||d){var b,x=!!o&&LM(e,"expand.title",!0),C=LM(e,"align.title","center"),k=!(o&&!x&&"center"===C||!o&&(h||d));b=k?new zw(t,{orientation:0}):new ax(t),t.add.existing(b);var w=!!k||{height:!0};if(n&&b.add(n,{align:"left",expand:w}),o){k&&!x&&"right"===C&&b.addSpace();var S={left:LM(e,"space.titleLeft",0),right:LM(e,"space.titleRight",0)},P=x?1:0;b.add(o,{align:C,proportion:P,expand:w,padding:S}),k&&!x&&"left"===C&&b.addSpace()}r&&(k&&!o&&b.addSpace(),b.add(r,{align:"right",expand:w})),(u||p||g||f)&&(S={bottom:LM(e,"space.title",0),top:LM(e,"space.titleTop",0)}),P=LM(e,"proportion.title",0),this.add(b,{padding:S,proportion:P,expand:!0})}if(u){var T=LM(e,"align.content","center"),O=LM(e,"space.content",0),M=(S={left:LM(e,"space.contentLeft",0),right:LM(e,"space.contentRight",0),bottom:p||g||f?O:0},P=LM(e,"proportion.content",0),LM(e,"expand.content",!0));this.add(u,{align:T,padding:S,proportion:P,expand:M})}if(p){T=LM(e,"align.description","center");var E=LM(e,"space.description",0);S={left:LM(e,"space.descriptionLeft",0),right:LM(e,"space.descriptionRight",0),bottom:g||f?E:0},P=LM(e,"proportion.description",0),M=LM(e,"expand.description",!0),this.add(p,{align:T,padding:S,proportion:P,expand:M})}if(g){var _=LM(e,"choicesType","").split("-"),R=IM(_,"wrap")?PM:IM(_,"grid")?fM:hM,L=IM(_,"radio")?"radio":IM(_,"checkboxes")?"checkboxes":void 0,B={left:LM(e,"space.choicesBackgroundLeft",0),right:LM(e,"space.choicesBackgroundRight",0),top:LM(e,"space.choicesBackgroundTop",0),bottom:LM(e,"space.choicesBackgroundBottom",0)},I=LM(e,"space.choice",0);R===hM?B.item=I:R===PM?(B.item=I,B.line=LM(e,"space.choiceLine",I)):(B.column=LM(e,"space.choiceColumn",I),B.row=LM(e,"space.choiceRow",I));var D={width:LM(e,"choicesWidth",void 0),height:LM(e,"choicesHeight",void 0),groupName:"choices",buttonsType:L,background:v,buttons:g,space:B,click:y,eventEmitter:this.eventEmitter,setValueCallback:LM(e,"choicesSetValueCallback",void 0),setValueCallbackScope:LM(e,"choicesSetValueCallbackScope",void 0)};R===hM&&(D.orientation=IM(_,"x")?0:1),i=new R(t,D),t.add.existing(i);var A=LM(e,"space.choices",0);S={left:LM(e,"space.choicesLeft",0),right:LM(e,"space.choicesRight",0),bottom:f?A:0},T=LM(e,"align.choices","center"),P=LM(e,"proportion.choices",0),M=LM(e,"expand.choices",!0),this.add(i,{align:T,padding:S,proportion:P,expand:M}),this.buttonsType=L}f&&(s=new hM(t,{groupName:"actions",background:m,buttons:f,orientation:0,space:{item:LM(e,"space.action",0)},expand:LM(e,"expand.actions",!1),align:LM(e,"align.actions","center"),click:y,eventEmitter:this.eventEmitter}),t.add.existing(s),S={left:LM(e,"space.actionsLeft",0),right:LM(e,"space.actionsRight",0),bottom:LM(e,"space.actionsBottom",0)},P=LM(e,"proportion.action",0),this.add(s,{align:"center",padding:S,proportion:P,expand:!0})),AM(this,"click"),AM(this,"over"),AM(this,"out"),AM(this,"enable"),AM(this,"disable"),this.addChildrenMap("background",a),this.addChildrenMap("title",o),this.addChildrenMap("toolbar",h),this.addChildrenMap("leftToolbar",d),this.addChildrenMap("content",u),this.addChildrenMap("description",p),this.addChildrenMap("choices",i?i.buttons:void 0),this.addChildrenMap("actions",s?s.buttons:void 0),this.addChildrenMap("choicesSizer",i),this.addChildrenMap("actionsSizer",s),this.addChildrenMap("toolbarSizer",r),this.addChildrenMap("leftToolbarSizer",n)}}var IM=function(t,e){return-1!==t.indexOf(e)},DM={actions:"action",choices:"choice",toolbar:"toolbar",leftToolbar:"leftToolbar"},AM=function(t,e){t.on(`button.${e}`,(function(i,s,r,n,a){DM.hasOwnProperty(s)&&t.emit(`${DM[s]}.${e}`,i,r,n,a)}))};Object.assign(BM.prototype,RM),t.register("dialog",(function(t){var e=new BM(this.scene,t);return this.scene.add.existing(e),e})),P(window,"RexPlugins.UI.Dialog",BM);var jM=function(t,e,i){var s=new dO(t,e,i);return t.add.existing(s),s},zM=function(t){var e=this.childrenMap.title;null===(t=t.title)?e.hide():(e.show(),e.resetDisplayContent(t))},FM=function(t){var e=this.childrenMap.content;if(null===(t=t.content))e.hide();else if(e.show(),e.resetDisplayContent)e.resetDisplayContent(t);else{var i=t||"";e.setText(i)}},XM=function(t){var e=this.childrenMap.actions;if(e){var i=t.buttons;if(i){for(var s=this.scene,r=this.defaultActionConfig,n=this.defaultActionButtonCreator,a=0,o=i.length;a=0&&t=0&&i0&&s)){if(0===n)return 2===e&&(i+=1),i;if(1===e){var a=i;(s=(i+=1)>=0&&i=this.colCount?null:e*this.colCount+t}rowIndexToHeight(t,e){if(this.defaultCellHeightMode)return(e-t+1)*this.defaultCellHeight;for(var i=0,s=t;s<=e;s++)i+=this.getRowHeight(s);return i}colIndexToWidth(t,e){return(e-t+1)*this.defaultCellWidth}getRowHeight(t){var e=this.colCount;if(e<=1)return this.getCellHeight(this.colRowToCellIndex(0,t));for(var i,s=0,r=0;ri,n=tthis.leftTableOX,n=tt?this.removeCells(t,e-t):this.insertNewCells(e,t-e)),this},insertNewCells:function(t,e){return"object"==typeof t&&(t=t.index),void 0===e&&(e=1),e<=0||(t=$E(t,0,this.cellsCount),this.table.insertNewCells(t,e)),this},removeCells:function(t,e){if("object"==typeof t&&(t=t.index),void 0===e&&(e=1),t<0&&(e+=t,t=0),e<=0)return this;if(t>this.cellsCount)return this;for(var i,s=t,r=t+e;sthis.topChildOY}childOYExeceedBottom(t){return void 0===t&&(t=this.childOY),tthis.leftChildOX}childOXExeceedRight(t){return void 0===t&&(t=this.childOX),tthis.childHeight?t=0:s?t=e:r&&(t=i)),this._childOY!==t&&(this._childOY=t,this.resetChildPosition()),s&&(this.execeedTopState||this.emit("execeedtop",this,t,e)),this.execeedTopState=s,r&&(this.execeedBottomState||this.emit("execeedbottom",this,t,i)),this.execeedBottomState=r}get childOX(){return this._childOX}set childOX(t){var e=this.leftChildOX,i=this.rightChildOX,s=this.childOXExceedLeft(t),r=this.childOXExeceedRight(t);this.clampChildOX&&(this.childVisibleWidth>this.childWidth?t=0:s?t=e:r&&(t=i)),this._childOX!==t&&(this._childOX=t,this.resetChildPosition()),s&&(this.execeedLeftState||this.emit("execeedleft",this,t,e)),this.execeedLeftState=s,r&&(this.execeedRightState||this.emit("execeedright",this,t,i)),this.execeedRightState=r}setChildOY(t){return this.childOY=t,this}setChildOX(t){return this.childOX=t,this}set t(t){this.childOY=-this.visibleHeight*t}get t(){var t=this.visibleHeight;return 0===t?0:this.childOY/-t}set s(t){this.childOX=-this.visibleWidth*t}get s(){var t=this.visibleWidth;return 0===t?0:this.childOX/-t}setChildOYByPercentage(t){return this.t=t,this}setChildOXByPercentage(t){return this.s=t,this}}Object.assign(Y_.prototype,j_);const W_=["top","bottom","centerY","center"],V_=["left","right","centerX","center"];var G_=function(t,e,i){var s,r="Y"===(e=e.toUpperCase()),n=this.childrenMap.child;if(r){if(i)for(var a=0,o=W_.length;a=0?0:Math.abs(l)<=Math.abs(d)?l:d}}else{if(i)for(a=0,o=V_.length;a=0?0:Math.abs(c)<=Math.abs(u)?c:u}}switch(this.scrollMode){case 0:case 1:this.childOY+=s;break;default:this[`childO${e}`]+=s}};const H_=Phaser.Utils.Objects.GetValue;class U_ extends zT{constructor(t,e){void 0===e&&(e={});var i=DP(e),s=H_(e,"panel",void 0);void 0===s&&(s={}),s.scrollMode=i,s.clampChildOY=H_(e,"clampChildOY",!1),s.clampChildOX=H_(e,"clampChildOX",!1);var r,n,a=new Y_(t,s);switch(t.add.existing(a),i){case 0:r=H_(e,"expand.panel",!0),n=!0;break;case 1:r=!0,n=H_(e,"expand.panel",!0);break;default:r=!0,n=!0}e.type="rexScrollablePanel",e.child={gameObject:a,expandWidth:r,expandHeight:n,align:H_(e,"align.panel","center")};var o=H_(e,"space",void 0);o&&(o.child=H_(o,"panel",0)),super(t,e),this.addChildrenMap("panel",a.child),this.addChildrenMap("panelLayer",a.maskLayer),this.addChildrenMap("mask",a.maskGameObject),this.addChildrenMap("scrollableBlock",a)}setChildrenInteractive(t){return void 0===t&&(t={}),t.hasOwnProperty("eventEmitter")||(t.eventEmitter=this),t.hasOwnProperty("targets")||(t.targets=[this.childrenMap.panel]),zb(this.childrenMap.child,t),this}}var N_={scrollToChild:function(t,e){if(!this.hasChild(t))return this;switch(this.scrollMode){case 0:G_.call(this,t,"y",e);break;case 1:G_.call(this,t,"x",e);break;default:G_.call(this,t,"y",e),G_.call(this,t,"x",e)}return this}};Object.assign(U_.prototype,N_);const $_=Phaser.Utils.Objects.GetValue;var K_=function(){var t,e=this.scene,i=this.listCreateBackgroundCallback;i&&(t=i.call(this,e),e.add.existing(t));var s=[],r=this.listCreateButtonCallback;if(r)for(var n=this.options,a=0,o=n.length;a0||this.listMaxHeight>0)){if(s=J_(e,u),this.listMaxHeight>0&&(s.layout(),s.height<=this.listMaxHeight&&(d=s)),!d){0===c&&(c=this.listMaxHeight);var p=q_(e,this.listCreateSliderTrackCallback),g=q_(e,this.listCreateSliderThumbCallback);d=new U_(e,{height:c,scrollMode:0,panel:{child:s,mask:{padding:1}},slider:{track:p,thumb:g,adaptThumbSize:this.listSliderAdaptThumbSizeEnable},scrollDetectionMode:1,scroller:this.listScrollerConfig,mouseWheelScroller:this.listMouseWheelScrollerConfig,space:{panel:$_(this.listSpace,"panel",0)}}),e.add.existing(d)}}else u.height=c,s=J_(e,u),d=s;return t&&d.addBackground(t,"background"),this.listDraggable&&d.setDraggable(!0),d!==s&&s.on("button.over",(function(t,e,i,s){d.emit("button.over",t,e,i,s)})).on("button.out",(function(t,e,i,s){d.emit("button.out",t,e,i,s)})).on("button.click",(function(t,e,i,s){d.emit("button.click",t,e,i,s)})),d},J_=function(t,e,i){var s;return i?(e.orientation="x",s=new PM(t,e)):(e.orientation="y",s=new hM(t,e)),t.add.existing(s),s},q_=function(t,e,i){var s;return e&&(s=e.call(i,t),t.add.existing(s)),s};const Z_=Phaser.Utils.Objects.GetValue;var Q_=function(t,e){var i=Z_(e,"expandDirection",void 0);"string"==typeof i&&(i=tR[i]);var s,r,n,a,o,h,l,d=(n="alignTargetX",Md(s=e,r="alignTarget")?J(s,r):n&&Md(s,n)?J(s,n):a&&Md(s,a)?J(s,a):o),c=Z_(e,"alignTargetY",d),u=Z_(e,"alignOffsetX",0),p=Z_(e,"alignOffsetY",0),g=Z_(e,"alignSide","").includes("right"),v=Z_(e,"bounds"),f=0===i,m=!(f||1===i),y=g?1:0,b=f||m?0:1;t.setOrigin(y,b),h=g?d.getTopRight().x:d.getTopLeft().x,l=c.getBottomLeft().y,t.setPosition(h+u,l+p);var x=v;x||(x=ha(t.scene)),m&&t.getBottomLeft().y>x.bottom&&(l=c.getTopLeft().y,t.setOrigin(0,1).setPosition(h+u,l+p))};const tR={down:0,up:1},eR=Phaser.Utils.Objects.GetValue;class iR extends km{constructor(t,e){void 0===e&&(e={}),null==e.transitIn&&(e.transitIn=function(t,e){bf(t,e,"y","Cubic")}),null==e.transitOut&&(e.transitOut=function(t,e){!function(t,e,i,s,r){void 0===s&&(s="Linear");var n={mode:0};switch(i){case 0:case"x":n.end={x:0};break;case 1:case"y":n.end={y:0};break;default:n.end=0}n.duration=e,n.ease=s,void 0===r?r=new mf(t,n):r.resetFromJSON(n),r.restart()}(t,e,"y","Linear")}),e.manualClose=!0,e.clickOutsideClose=!0,e.destroy=!0,super(t,e),Q_(t,e),t.isRexSizer&&t.layout();var i=eR(e,"touchOutsideClose",!1),s=eR(e,"anyTouchClose",!1);s&&(i=!1),s?this.once("open",this.anyTouchClose,this):i&&this.once("open",this.touchOutsideClose,this),this.requestOpen()}shutdown(t){this.isShutdown||(this.scene.input.off("pointerup",this.touchCloseCallback,this),super.shutdown(t))}touchOutsideClose(){return this.scene.input.on("pointerup",this.touchCloseCallback,this),this.clickOutsideTest=!0,this}anyTouchClose(){return this.scene.input.once("pointerup",this.touchCloseCallback,this),this}touchCloseCallback(t){this.clickOutsideTest&&Bm(this.parent,t.worldX,t.worldY)||this.requestClose()}onOpen(){this.emit("open",this.parent,this),super.onOpen()}onClose(){this.emit("close",this.parent,this),super.onClose()}}var sR={focusNextButton(){if(!this.isOpened)return this;var t,e=this.currentOverIndex;return t=void 0===e?0:(e+1)%this.listPanel.getButtons().length,this.emitButtonOver(t),this},focusPrevButton(){if(!this.isOpened)return this;var t,e=this.currentOverIndex;if(void 0===e)t=0;else{var i=this.listPanel.getButtons().length;t=(e-1+i)%i}return this.emitButtonOver(t),this}},rR={openListPanel:function(){if(this.listPanel)return this;if(0===this.options.length)return this;var t,e=K_.call(this);e.on("button.over",(function(t,i,s,r){this.currentOverIndex=i,this.listOnButtonOver&&this.listOnButtonOver.call(this,t,i,s,r),this.emit("button.over",this,e,t,i,s,r)}),this).on("button.out",(function(t,i,s,r){this.currentOverIndex===i&&(this.currentOverIndex=void 0),this.listOnButtonOut&&this.listOnButtonOut.call(this,t,i,s,r),this.emit("button.out",this,e,t,i,s,r)}),this),t=this.listAlignMode&&"label"!==this.listAlignMode?this.getElement(this.listAlignMode):this;var i=new iR(e,{duration:{in:this.listEaseInDuration,out:this.listEaseOutDuration},transitIn:this.listTransitInCallback,transitOut:this.listTransitOutCallback,expandDirection:this.listExpandDirection,alignTargetX:t,alignTargetY:this,alignSide:this.listAlignSide,bounds:this.listBounds}).on("open",(function(){e.on("button.click",(function(t,i,s,r){this.listOnButtonClick&&this.listOnButtonClick.call(this,t,i,s,r),this.emit("button.click",this,e,t,i,s,r),this.dropDownBehavior.requestClose()}),this),this.emit("list.open",this,e)}),this).on("close",(function(){this.listPanel=void 0,this.dropDownBehavior=void 0,this.emit("list.close",this)}),this);return e.onClickOutside((function(){i.requestClose()})),this.listPanel=e,this.dropDownBehavior=i,this.pin(e),this},closeListPanel:function(){return this.dropDownBehavior?(this.dropDownBehavior.requestClose(),this.currentOverIndex=void 0,this):this},toggleListPanel:function(){return this.listPanel?this.closeListPanel():this.openListPanel(),this},emitButtonClick:function(t){if(void 0===t&&(t=this.currentOverIndex),void 0===t)return this;var e=this.listPanel,i=e?e.getButton(t):this.options[t];return this.listOnButtonClick&&this.listOnButtonClick.call(this,i,t),this.emit("button.click",this,e,i,t),this},emitButtonOver:function(t){var e=this.listPanel;return e?(e.emitButtonOver(t),this):this}};Object.assign(rR,D_,sR);const nR=Phaser.Utils.Objects.GetValue;class aR extends aS{constructor(t,e){super(t,e),this.type="rexDropDownList",this.timer=void 0,this.listPanel=void 0,this.currentOverIndex=void 0,this.setOptions(nR(e,"options"));var i=nR(e,"list");this.setWrapEnable(nR(i,"wrap",!1)),this.setCreateButtonCallback(nR(i,"createButtonCallback")),this.setCreateListBackgroundCallback(nR(i,"createBackgroundCallback")),this.setCreateListSliderTrackCallback(nR(i,"createTrackCallback")),this.setCreateListSliderThumbCallback(nR(i,"createThumbCallback")),this.setListSliderAdaptThumbSizeEnable(nR(i,"sliderAdaptThumbSize",!1)),this.setListScrollerConfig(nR(i,"scroller")),this.setListMouseWheelScrollerConfig(nR(i,"mouseWheelScroller")),this.setButtonClickCallback(nR(i,"onButtonClick")),this.setButtonOverCallback(nR(i,"onButtonOver")),this.setButtonOutCallback(nR(i,"onButtonOut")),this.setListExpandDirection(nR(i,"expandDirection")),this.setListEaseInDuration(nR(i,"easeIn",500)),this.setListEaseOutDuration(nR(i,"easeOut",100)),this.setListTransitInCallback(nR(i,"transitIn")),this.settListTransitOutCallback(nR(i,"transitOut")),this.setListMaxHeight(nR(i,"maxHeight",0)),this.setListSize(nR(i,"width"),nR(i,"height",0)),this.setListAlignmentMode(nR(i,"alignParent","text")),this.setListAlignmentSide(nR(i,"alignSide","")),this.setListBounds(nR(i,"bounds")),this.setListSpace(nR(i,"space")),this.setListDraggable(nR(i,"draggable",!1)),this.setValueChangeCallback(nR(e,"setValueCallback"),nR(e,"setValueCallbackScope")),this.setValue(nR(e,"value")),this.onClick(this.toggleListPanel,this)}destroy(t){this.scene&&!this.ignoreDestroy&&(this.listPanel&&(this.listPanel.destroy(t),this.listPanel=void 0),super.destroy(t))}get isOpened(){return!!this.listPanel}setOptions(t){return void 0===t&&(t=[]),this.options=t,this}setValueChangeCallback(t,e){return this.valueChangeCallback=t,this.valueChangeCallbackScope=e,this}setValue(t){return this.value=t,this}get value(){return this._value}set value(t){if(this._value!==t){var e=this._value;this._value=t;var i=this.valueChangeCallback,s=this.valueChangeCallbackScope;i&&(s?i.call(s,this,t,e):i(this,t,e)),this.emit("valuechange",this,t,e)}}}Object.assign(aR.prototype,rR),t.register("dropDownList",(function(t){var e=new aR(this.scene,t);return this.scene.add.existing(e),e})),P(window,"RexPlugins.UI.DropDownList",aR);var oR=function(t,e,s){void 0===s&&(s={});var r=(e=e?i(e):{}).label||e.button,n=e.button||e.label;delete e.label,delete e.button;var a=s.label||s.button||s,o=s.button||s.label||s,h=lO(t,r,a);h.list=e.list||{},h.list.createButtonCallback=function(t,e){var i=jM(t,n,o).resetDisplayContent(e);return e.hasOwnProperty("value")&&(i.value=e.value),i};var l=e.track;l&&(h.list.createTrackCallback=function(t){return BP(t,l)},delete e.track);var d=e.thumb;return d&&(h.list.createThumbCallback=function(t){return BP(t,d)},delete e.thumb),h.list.onButtonOver=function(t,e,i,s){t.setHoverState&&t.setHoverState(!0)},h.list.onButtonOut=function(t,e,i,s){t.setHoverState&&t.setHoverState(!1)},h};class hR extends aR{constructor(t,e,i){super(t,e=oR(t,e,i)),this.type="rexSimpleDropDownList"}setOptions(t){void 0===t&&(t=[]);for(var e=0,i=t.length;e0?Math.ceil(s/this.pageLinesCount):1;for(var r=0;r0?t+i:this.totalLinesCount}var s;switch(e>this.totalLinesCount&&(e=this.totalLinesCount),this.textObjectType){case 0:case 2:s=this.lines.slice(t,e).join("\n");break;case 1:var r=this.lines.getLineStartIndex(t),n=this.lines.getLineEndIndex(e-1);((s=this.lines.getSliceTagText(r,n,!0)).match(/\n/g)||[]).length>e-t-1&&(s=s.substring(0,s.length-1))}return s}};Object.assign(pR,lR,cR,uR);const gR=Phaser.Utils.Objects.GetValue;Phaser.Math.Clamp;class vR extends Ba{constructor(t,e){super(t,{eventEmitter:!1}),this.textObjectType=Nw(this.parent),this.pageStartIndexes=[],this.lines=XT(this.parent,""),this.sections=[],this.resetFromJSON(e)}resetFromJSON(t){this.setMaxLines(gR(t,"maxLines",void 0)),this.setPageBreak(gR(t,"pageBreak","\f\n")),this.setText(gR(t,"text","")),this.startLineIndex=gR(t,"start",-1),this.endLineIndex=gR(t,"end",void 0);var e=gR(t,"page");return void 0===e?this.resetIndex():this.setPageIndex(e),this}toJSON(){return{maxLines:this.maxLines,text:this.content,start:this.startLineIndex,end:this.endLineIndex,page:this.pageIndex,pageBreak:this.pageBreak}}shutdown(t){if(!this.isShutdown){switch(this.textObjectType){case 0:case 2:this.lines.length=0;break;case 1:this.lines.destroy()}this.pageStartIndexes.length=0,this.sections.length=0,this.lines=void 0,this.pageStartIndexes=void 0,this.sections=void 0,super.shutdown(t)}}setMaxLines(t){return this.maxLines=t,this}setPageBreak(t){return this.pageBreak=t,this}get pageCount(){return this.pageStartIndexes.length}get lastPageIndex(){return this.pageCount-1}get isFirstPage(){return this.pageIndex<=0}get isLastPage(){return this.pageIndex>=this.pageCount-1}get totalLinesCount(){return this.lines?this.lines.length:0}get pageLinesCount(){if(void 0!==this.maxLines)return this.maxLines;var t;switch(this.textObjectType){case 0:case 1:var e=this.parent.style.maxLines;t=e>0?e:Math.floor(function(t){var e,i,s;switch(Nw(t)){case 0:case 1:e=t.height-t.padding.top-t.padding.bottom,i=t.lineSpacing,s=t.style.metrics.fontSize+t.style.strokeThickness;break;case 2:e=t.height,i=0;var r=t.fontSize/t.fontData.size;s=t.fontData.lineHeight*r}return(e-i)/(s+i)}(this.parent));break;case 2:t=this.totalLinesCount}return t}get isFirstLine(){return this.startLineIndex<=0}get isLastLine(){return this.endLineIndex===this.totalLinesCount}get content(){return this.sections.join(this.pageBreak)}}Object.assign(vR.prototype,pR);var fR={setText(t){this.setTextCallback&&(t=this.setTextCallbackScope?this.setTextCallback.call(this.setTextCallbackScope,t,this.isLastChar,this.insertIndex):this.setTextCallback(t,this.isLastChar,this.insertIndex)),this.textWrapEnable?GT(this.parent,t):this.parent.setText(t)},appendText(t){var e=this.text.concat(ze(t));return this.isTyping?this.setTypingContent(e):this.start(e,void 0,this.textLength),this}},mR=function(t,e){return t.getPlainText&&(e=t.getPlainText(e)),e},yR=function(t,e){for(var i=void 0,s=0;s0?bR(n,t,a=(o=i)-d,o):"";var c,u=e-d;u>0?(o=(a=0)+u,this.insertIndex=o,c=bR(n,t,a,o)):(c="",this.insertIndex=0),r=c+l}return this.insertChar=r.charAt(this.insertIndex-1),r},CR={start:function(t,e,i,s){return void 0!==t&&this.setTypingContent(t),void 0!==e&&(this.speed=e),void 0===i&&(i=0),this.typingIndex=i+1,0===this.speed?this.stop(!0):(this.setText(""),this.startTimer(s)),this},startFromLine:function(t,e,i,s,r){var n;if(e>0){void 0===s&&(s=0);var a=mR(this.parent,t);n=yR(a,e)+s}return this.start(t,i,n,r)},stop:function(t){if(this.getTimer()&&this.freeTimer(),t){for(;!this.isLastChar;)xR.call(this,this.text,this.typingIndex,this.textLength,this.typeMode),this.emit("typechar",this.insertChar),this.typingIndex++;this.setText(this.text),this.emit("type"),this.emit("complete",this,this.parent)}return this},pause:function(){var t=this.getTimer();return t&&(t.paused=!0),this},resumeTyping:function(){var t=this.getTimer();return t&&(t.paused=!1),this}};Object.assign(CR,fR);const kR=Phaser.Utils.Objects.GetFastValue,wR=Phaser.Utils.Objects.GetValue;class SR extends Ba{constructor(t,e){super(t,e),this.timer=null,this.resetFromJSON(e)}resetFromJSON(t){this.setTextWrapEnable(wR(t,"wrap",!1)),this.setTypeMode(wR(t,"typeMode",0)),this.setTypingSpeed(wR(t,"speed",333)),this.setTextCallback=kR(t,"setTextCallback",null),this.setTextCallbackScope=kR(t,"setTextCallbackScope",null),this.setTypingContent(kR(t,"text","")),this.typingIndex=kR(t,"typingIndex",0),this.insertIndex=null,this.insertChar=null;var e=kR(t,"elapsed",null);return null!==e&&this.start(void 0,void 0,this.typingIndex,e),this}shutdown(t){this.isShutdown||(this.freeTimer(),super.shutdown(t))}setTypeMode(t){return"string"==typeof t&&(t=PR[t]),this.typeMode=t,this}setTypeSpeed(t){return this.speed=t,this}setTypingSpeed(t){return this.speed=t,this}setTextWrapEnable(t){return void 0===t&&(t=!0),this.textWrapEnable=t,this}set text(t){var e=ze(t);this.textWrapEnable&&(e=function(t,e){switch(Nw(t)){case 0:t.style.syncFont(t.canvas,t.context),e=t.runWordWrap(e);break;case 1:e=t.getText(e,void 0,void 0,!0);break;case 2:e=t.setText(e).getTextBounds().wrappedText}return e}(this.parent,e)),this._text=e}get text(){return this._text}get isTyping(){return null!==this.getTimer()}get isLastChar(){return this.typingIndex===this.textLength}setTypingContent(t){return this.text=t,this.textLength=mR(this.parent,this.text).length,this}onTyping(){var t=xR.call(this,this.text,this.typingIndex,this.textLength,this.typeMode);this.setText(t),this.emit("typechar",this.insertChar),this.emit("type"),this.isLastChar?(this.freeTimer(),this.scene.sys.events.once("preupdate",(function(){this.emit("complete",this,this.parent)}),this)):(this.timer.delay=this.speed,this.typingIndex++)}startTimer(t){var e;return this.timer&&this.freeTimer(),void 0===t?e=0:(this.speed,e=t),this.timer=this.scene.time.addEvent({delay:1e-4,startAt:e,loop:!0,callback:this.onTyping,callbackScope:this}),this}getTimer(){return this.timer}freeTimer(){return this.timer&&(this.timer.remove(),this.timer=null),this}setText(t){this.setTextCallback&&(t=this.setTextCallbackScope?this.setTextCallback.call(this.setTextCallbackScope,t,this.isLastChar,this.insertIndex):this.setTextCallback(t,this.isLastChar,this.insertIndex)),this.textWrapEnable?GT(this.parent,t):this.parent.setText(t)}}const PR={"left-to-right":0,"right-to-left":1,"middle-to-sides":2,"sides-to-middle":3};Object.assign(SR.prototype,CR);const TR=Phaser.Utils.Objects.GetValue,OR={page:0,line:1};class MR extends(function(t,e){return void 0===e&&(e="rexTextBox"),class extends t{constructor(t,i){super(t,i),this.type=e,this.isRunning=!1,this._isPageEnd=!1;var s=this.childrenMap.text,r=TR(i,"expandTextWidth",!1),n=TR(i,"expandTextHeight",!1);if(r||n){var a=Nw(s);switch(a){case 0:case 1:if(s.resize=function(t,e){var i=r?t:0,a=n?e:0;s.setFixedSize(i,a),i>0&&s.setWordWrapWidth(i)},1===a){var o=s.style;0===o.wrapMode&&(o.wrapMode=1)}}r&&(s._minWidth=0),n&&(s._minHeight=0)}this.setTypingMode(TR(i,"typingMode","page")),this.page=new vR(s,TR(i,"page",void 0)),this.typing=new SR(s,TR(i,"typing",i.type)),this.typing.on("complete",this.onTypingComplete,this).on("type",this.onType,this).on("typechar",this.onTypeChar,this),this.textWidthSave=s.width,this.textHeightSave=s.height}setTypingMode(t){return"string"==typeof t&&(t=OR[t]),this.typingMode=t,this}start(t,e){return void 0!==e&&this.setTypingSpeed(e),this.isRunning=!0,this.page.setText(t),this.emit("start"),0===this.typingMode?this.typeNextPage():this.typeNextLine(),this}more(t,e){if(void 0!==e&&this.setTypingSpeed(e),!this.isRunning){if(this.isRunning=!0,this.page.appendText(t),this.emit("start"),0===this.typingMode){this._isPageEnd=!1;var i=this.page.getPage(),s=this.typing.textLength;this.typing.start(i,void 0,s)}return this}this.page.appendText(t),this.typing.appendText(t)}typeNextPage(){if(!this.isRunning)return this;if(this.isLastPage)this.emit("complete");else{this._isPageEnd=!1;var t=this.page.getNextPage();this.typing.start(t)}return this}typeNextLine(){if(!this.isRunning)return this;if(this.isLastLine)this.isRunning=!1,this.emit("pageend"),this.emit("complete");else{var t,e=this.page.getPageOfNextLine();t=this.isFirstLine?0:this.page.pageLinesCount-1,this.typing.startFromLine(e,t)}}pause(){return this.isRunning?(this.isTyping&&(this.typing.pause(),this.emit("pause")),this):this}resume(){return this.isRunning?(this.isTyping||(this.emit("resume"),this.typing.resume()),this):this}stop(t){return this.isRunning?(this.typing.stop(t),this):this}showLastPage(){return this.isRunning?(this.typing.stop(),0===this.typingMode?this.page.showLastPage():this.page.showLastLine(),this.emit("type"),this.onTypingComplete(),this):this}setTypeSpeed(t){return this.typing.setTypingSpeed(t),this}setTypingSpeed(t){return this.typing.setTypingSpeed(t),this}get isTyping(){return this.typing.isTyping}get isPageEnd(){return this._isPageEnd}get isLastPage(){return this.page.isLastPage}get isFirstPage(){return this.page.isFirstPage}get pageCount(){return this.page.pageCount}get pageIndex(){return this.page.pageIndex}get isLastLine(){return this.page.isLastLine}get isFirstLine(){return this.page.isFirstLine}get lineCound(){return this.page.totalLinesCount}get startLineIndex(){return this.page.startLineIndex}get endLineIndex(){return this.page.endLineIndex}get typingSpeed(){return this.typing.speed}onType(){var t=this.childrenMap.text;this.textWidthSave===t.width&&this.textHeightSave===t.height||(this.textWidthSave=t.width,this.textHeightSave=t.height,this.getTopmostSizer().layout()),this.emit("type")}onTypeChar(t){this.emit("typechar",t)}onTypingComplete(){if(0===this.typingMode){this._isPageEnd=!0;var t=this.isLastPage;this.isRunning=!t,this.emit("pageend"),t&&this.emit("complete")}else this.typeNextLine()}}}(fO)){constructor(t,e){void 0===e&&(e={}),e.hasOwnProperty("layoutMode")||(e.layoutMode=1),super(t,e)}}t.register("textBox",(function(t){var e=new MR(this.scene,t);return this.scene.add.existing(e),e})),P(window,"RexPlugins.UI.TextBox",MR);class ER extends MR{constructor(t,e,i){super(t,e=yO(t,e,i))}}t.register("simpleTextBox",(function(t){var e=new ER(this.scene,t);return this.scene.add.existing(e),e})),P(window,"RexPlugins.UI.SimpleTextBox",ER);const _R=Phaser.Utils.Objects.GetValue;class RR extends zw{constructor(t,e){super(t,e),this.type="rexNumberBar";var i,s,r,n=_R(e,"background",void 0),a=_R(e,"icon",void 0),o=_R(e,"iconMask",void 0),h=_R(e,"slider",void 0),l=_R(e,"text",void 0),d=_R(e,"space.icon",0),c=_R(e,"space.slider",0);(n&&this.addBackground(n),a&&(0===this.orientation?(h||l)&&(s={right:d}):(h||l)&&(s={bottom:d}),this.add(a,{proportion:0,align:"center",padding:s}),o&&(o=Ww.call(this,a,a,1))),h)&&(h.orientation=this.orientation,h.eventEmitter=this,h.value=null,h.hasOwnProperty("input")||(h.input=-1),i=new hT(t,h),t.add.existing(i),0===this.orientation?l&&(s={right:c}):l&&(s={bottom:c}),r=0===this.orientation?void 0===_R(h,"width",void 0)?1:0:void 0===_R(h,"height",void 0)?1:0,this.add(i,{proportion:r,align:"center",padding:s}));l&&this.add(l),this.addChildrenMap("background",n),this.addChildrenMap("icon",a),this.addChildrenMap("iconMask",o),this.addChildrenMap("slider",i),this.addChildrenMap("text",l);var u=_R(e,"valuechangeCallback",null);if(null!==u){var p=_R(e,"valuechangeCallbackScope",void 0);this.on("valuechange",u,p)}this.setEnable(_R(e,"enable",void 0)),this.setValue(_R(e,"value",0))}get enable(){return!!this.childrenMap.slider&&this.childrenMap.slider.enable}set enable(t){this.childrenMap.slider&&this.childrenMap.slider.setEnable(t)}setEnable(t){return void 0===t&&(t=!0),this.enable=t,this}get value(){return this.childrenMap.slider?this.childrenMap.slider.value:0}set value(t){this.childrenMap.slider&&(this.childrenMap.slider.value=t)}setValue(t,e,i){return this.childrenMap.slider&&this.childrenMap.slider.setValue(t,e,i),this}addValue(t,e,i){return this.childrenMap.slider&&this.childrenMap.slider.addValue(t,e,i),this}getValue(t,e){return this.childrenMap.slider?this.childrenMap.slider.getValue(t,e):0}easeValueTo(t,e,i){return this.childrenMap.slider&&this.childrenMap.slider.easeValueTo(t,e,i),this}stopEaseValue(){return this.childrenMap.slider&&this.childrenMap.slider.stopEaseValue(),this}setEaseValueDuration(t){return this.childrenMap.slider&&this.childrenMap.slider.setEaseValueDuration(t),this}setEaseValueFunction(t){return this.childrenMap.slider&&this.childrenMap.slider.setEaseValueFunction(t),this}get text(){var t=this.childrenMap.text;return void 0===t?"":t.text?t.text:t.getData("text")}set text(t){var e=this.childrenMap.text;void 0!==e&&(e.setText?e.setText(t):e.setData("text",t))}setText(t){return this.text=t,this}}t.register("numberBar",(function(t){var e=new RR(this.scene,t);return this.scene.add.existing(e),e})),P(window,"RexPlugins.UI.NumberBar",RR),t.register("scrollBar",(function(t){var e=new uT(this.scene,t);return this.scene.add.existing(e),e})),P(window,"RexPlugins.UI.ScrollBar",uT);const LR=Phaser.Utils.Objects.GetValue,BR={leftTop:"left-top",centerTop:"center-top",rightTop:"right-top",leftCenter:"left-center",center:"center",rightCenter:"right-center",leftBottom:"left-bottom",centerBottom:"center-bottom",rightBottom:"right-bottom"};class IR extends ax{constructor(t,e){super(t,e),this.type="rexBadge";var i=LR(e,"background",void 0);i&&this.addBackground(i),this.addChildrenMap("background",i);var s=LR(e,"main",void 0);for(var r in s&&this.add(s,{key:"main",align:"center",expand:!1}),this.addChildrenMap("main",s),BR){var n=LR(e,r,void 0);n&&(this.add(n,{key:r,align:BR[r],expand:!1}),this.addChildrenMap(r,n))}}}t.register("badgeLabel",(function(t){var e=new IR(this.scene,t);return this.scene.add.existing(e),e})),P(window,"RexPlugins.UI.BadgeLabel",IR);const DR=ax.prototype.add;var AR=function(t,e,i,s,r,n,a,o,h){return t.setVisible(!1),DR.call(this,t,e,i,s,r,n,a,o,h),this},jR={add:AR,addPage:AR};const zR=Qg.prototype.setChildVisible;var FR={getPage:function(t){return void 0===t?null:this.sizerChildren.hasOwnProperty(t)?this.sizerChildren[t]:null},swapPage:function(t,e){this._previousKey=this._currentKey;var i=this.previousPage;i&&(0===this.swapMode?(zR.call(this,i,!1),this.emit("pageinvisible",i,this._previousKey,this)):i.destroy()),t&&!this.sizerChildren.hasOwnProperty(t)&&this.emit("createpage",t,this),this._currentKey=t;var s=this.currentPage;return s&&(zR.call(this,s,!0),this.emit("pagevisible",s,this._currentKey,this),void 0===e&&(e=this.fadeInDuration),e>0&&s.setAlpha(0).fadeIn(e,1)),this},hasPage:function(t){return this.sizerChildren.hasOwnProperty(t)}};Object.assign(FR,jR);const XR=Phaser.Utils.Objects.GetValue;class YR extends ax{constructor(t,e){super(t,e),this.type="rexPages",this.childrenMap=this.sizerChildren,this._previousKey=void 0,this._currentKey=void 0,this.setSwapMode(XR(e,"swapMode",0)),this.setFadeInDuration(XR(e,"fadeIn",0))}setSwapMode(t){return"string"==typeof t&&(t=WR[t]),this.swapMode=t,this}setFadeInDuration(t){return this.fadeInDuration=t,this}get previousKey(){return this._previousKey}get currentKey(){return this._currentKey}set currentKey(t){this.swapPage(t)}get currentPage(){return this.getPage(this.currentKey)}get previousPage(){return this.getPage(this.previousKey)}get keys(){return Object.keys(this.sizerChildren)}}Object.assign(YR.prototype,FR);const WR={invisible:0,destroy:1};t.register("pages",(function(t){var e=new YR(this.scene,t);return this.scene.add.existing(e),e})),P(window,"RexPlugins.UI.Pages",YR);const VR=Phaser.GameObjects.Mesh;class GR extends VR{get tint(){return 0===this.vertices.length?16777215:this.vertices[0].color}forceUpdate(){return this.dirtyCache[10]=1,this}}const HR=Phaser.Math.Vector3,UR=Phaser.Math.Matrix4;var NR=new HR,$R=new HR,KR=new UR;const JR=Phaser.Utils.Objects.IsPlainObject,qR=Phaser.Utils.Objects.GetValue,ZR=Phaser.Geom.Mesh.GenerateGridVerts,QR=Phaser.Math.RadToDeg,tL=Phaser.Math.DegToRad,eL=1+1/Math.sin(tL(45));let iL=class extends GR{constructor(t,e,i,s,r,n){JR(e)&&(e=qR(n=e,"x",0),i=qR(n,"y",0),s=qR(n,"key",null),r=qR(n,"frame",null)),super(t,e,i,s,r),this.type="rexPerspectiveImage",this.setSizeToFrame(),this.resetPerspective(),this.panZ(eL),this.hideCCW=qR(n,"hideCCW",!0);var a=qR(n,"gridWidth",0),o=qR(n,"gridHeight",a);this.resetVerts(a,o),this.prevFrame=this.frame}preUpdate(t,e){this.prevFrame!==this.frame&&(this.prevFrame=this.frame,this.syncSize()),super.preUpdate(t,e)}get originX(){return.5}get originY(){return.5}resetPerspective(){return this.setPerspective(this.width,this.height,45),this}resetVerts(t,e){if(void 0!==t&&(this.gridWidth=t),void 0!==e&&(this.gridHeight=e),this.clear(),this.dirtyCache[9]=-1,0===this.width||0===this.height)return this;var i=this.frame.cutWidth,s=this.frame.cutHeight;0===this.gridWidth?t=Math.max(i/8,32):e=this.gridWidth,e=0===this.gridHeight?Math.max(s/8,32):this.gridHeight,ZR({mesh:this,width:i/this.height,height:s/this.height,widthSegments:Math.ceil(i/t),heightSegments:Math.ceil(s/e)});var r=this.transformInfo;return r&&this.transformVerts(r.x,r.y,r.z,r.rotateX,r.rotateY,r.rotateZ),this}syncSize(){return this.setSizeToFrame(),this.resetPerspective(),this.resetVerts(),this}get rotationX(){return this.modelRotation.x}set rotationX(t){this.modelRotation.x=t}get angleX(){return QR(this.rotationX)}set angleX(t){this.rotationX=tL(t)}get rotationY(){return this.modelRotation.y}set rotationY(t){this.modelRotation.y=t}get angleY(){return QR(this.rotationY)}set angleY(t){this.rotationY=tL(t)}get rotationZ(){return this.modelRotation.z}set rotationZ(t){this.modelRotation.z=t}get angleZ(){return QR(this.rotationZ)}set angleZ(t){this.rotationZ=tL(t)}transformVerts(t,e,i,s,r,n){return void 0===t&&(t=0),void 0===e&&(e=0),void 0===i&&(i=0),void 0===s&&(s=0),void 0===r&&(r=0),void 0===n&&(n=0),this.transformInfo||(this.transformInfo={}),this.transformInfo.x=t,this.transformInfo.y=e,this.transformInfo.rotateX=s,this.transformInfo.rotateY=r,this.transformInfo.rotateZ=n,function(t,e,i,s,r,n,a){void 0===e&&(e=0),void 0===i&&(i=0),void 0===s&&(s=0),void 0===r&&(r=0),void 0===n&&(n=0),void 0===a&&(a=0),NR.set(e,i,s),$R.set(r,n,a),KR.fromRotationXYTranslation($R,NR,!0);for(var o=0,h=t.vertices.length;o=0;i--)this.removePage(e[i].name,t);return this}},WL={top:1,left:3,right:5,bottom:7},VL={top:"bottom",left:"right",right:"left",bottom:"top"},GL={setTabsPadding(t,e){return this.childrenMap.tabs.setOuterPadding(t,e),this},getTabsPadding(t){return this.childrenMap.tabs.getOuterPadding(t)}},HL={getPageKey:function(t){var e=this.getElement("tabs.buttons");if(!(t>=e.length))return e[t].name},getPageIndex:function(t){for(var e=this.getElement("tabs.buttons"),i=0,s=e.length;i=a.y)continue;break;case 2:if(n.x<=a.x)continue;break;case 3:if(n.x>=a.x)continue}UB.call(r,s,a.x,a.y)}}(t,s,r,i),t.transitInCallback(e,i,t)},KB={showMessage(t){var e=function(t,e,i){var s=e(t.scene,i,t);if(GB.call(s,(function(){t.removeMessage(s)})),t.displayTime){var r=t.transitInTime+t.displayTime+10;HB.call(s,r,(function(){t.removeMessage(s)}))}return s}(this,this.createMessageLabelCallback,t);return $B(this,e,this.transitInTime),this},removeMessage(t){if(this.getParentSizer(t)!==this)return this;if(!t.__isDestroying){t.__isDestroying=!0;var e=this.transitOutTime;return this.transitOutCallback(t,e,this),HB.call(t,e+10,(function(){delete t.__isDestroying,t.destroy()})),this}},removeAllMessages(){for(var t=this.childrenMap.items,e=0,i=t.length;e0&&{height:this.colorComponentsHeight,formatLabel:this.colorComponentsFormatLabelConfig,inputText:this.colorComponentsInputTextConfig,space:this.colorComponentsSpace};var a=new GI(t,{width:s,height:n,background:e,space:this.colorPickerSpace,hPalette:{position:this.colorPickerHPalettePosition},colorComponents:r,value:this.value});return t.add.existing(a),a},UI={openColorPicker:function(){if(!this.colorPicker){var t=HI.call(this).layout(),e=new iR(t,{duration:{in:this.colorPickerEaseInDuration,out:this.colorPickerEaseOutDuration},transitIn:this.colorPickerTransitInCallback,transitOut:this.colorPickerTransitOutCallback,expandDirection:this.colorPickerExpandDirection,alignTargetX:this,alignTargetY:this,bounds:this.colorPickerBounds,touchOutsideClose:!0}).on("open",(function(){t.on("valuechange",(function(t){this.setValue(t)}),this)}),this).on("close",(function(){this.colorPicker=void 0,this.dropDownBehavior=void 0}),this);return this.colorPicker=t,this.dropDownBehavior=e,this.pin(t),this}}};Object.assign(UI,pI);const NI=Phaser.Utils.Objects.GetValue;class $I extends uI{constructor(t,e){void 0===e&&(e={}),super(t,e),this.type="rexColorInput",e.hasOwnProperty("colorPicker")||(e.colorPicker={background:{color:0}});var i=e.colorPicker,s=!1!==i&&null!==i;if(s){var r;this.setColorPickerSize(NI(i,"width",160),NI(i,"height",170));var n=NI(i,"background");r=n?function(t){return BP(t,n)}:NI(i,"createBackgroundCallback"),this.setCreateColorPickerBackgroundCallback(r),this.setColorPickerHPalettePosition(NI(i,"hPalettePosition",0)),this.setColorPickerExpandDirection(NI(i,"expandDirection")),this.setColorPickerEaseInDuration(NI(i,"easeIn",200)),this.setColorPickerEaseOutDuration(NI(i,"easeOut",200)),this.setColorPickerTransitInCallback(NI(i,"transitIn")),this.setColorPickerTransitOutCallback(NI(i,"transitOut")),this.setColorPickerBounds(NI(i,"bounds"));var a=NI(i,"space");void 0===a&&(a={left:10,right:10,top:10,bottom:10,item:8}),this.setColorPickerSpace(a)}var o=e.colorComponents;if(s&&!1!==o&&null!==o){this.setColorComponentsHeight(NI(o,"height",30)),this.setColorComponentsFormatLabelConfig(NI(o,"formatLabel"));var h=NI(o,"inputText");h||(h=NI(e,"inputText")),this.setColorComponentsInputTextConfig(h);var l=NI(o,"space");void 0===l&&(l={item:8}),this.setColorComponentsSpace(l)}var d=this.childrenMap.swatch;d&&s&&this.onClick(d,this.openColorPicker,this)}}Object.assign($I.prototype,UI),t.register("colorInput",(function(t){var e=new $I(this.scene,t);return this.scene.add.existing(e),e})),P(window,"RexPlugins.UI.ColorInput",$I),t.register("colorInputLite",(function(t){var e=new uI(this.scene,t);return this.scene.add.existing(e),e})),P(window,"RexPlugins.UI.ColorInputBase",uI),t.register("colorPicker",(function(t){var e=new DI(this.scene,t);return this.scene.add.existing(e),e})),P(window,"RexPlugins.UI.ColorPicker",DI),t.register("colorComponents",(function(t){var e=new WI(this.scene,t);return this.scene.add.existing(e),e})),P(window,"RexPlugins.UI.ColorComponents",WI);var KI=function(t){for(var e,i=t.scene.input,s=i.manager,r=s.pointersTotal,n=s.pointers,a=0;a0&&c0&&u0&&b0&&x * @copyright 2019 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} - */var bD=function(t,e){var i=Ve(t);for(var s in e)i.hasOwnProperty(s)||(i[s]=e[s]);return i},xD=function(t,e,i){return LP(t,bD(e,i))},CD={setBindingTarget(t){return this.childrenMap.child.setBindingTarget(t),this}},kD={getMaxInputRowTitleWidth(){return this.childrenMap.child.getMaxInputRowTitleWidth()+this.getInnerPadding("left")},setInputRowTitleWidth(t){return t-=this.getInnerPadding("left"),this.childrenMap.child.setInputRowTitleWidth(t),this}};class wD extends tB{constructor(t,e){void 0===e&&(e={}),e.orientation=1,super(t,e),this.type="rexTweaker.Folder"}setTitle(t){return this.childrenMap.title.setTitle(t),this}}Object.assign(wD.prototype,CD,kD);const SD=Phaser.Utils.Objects.GetValue,PD=Phaser.Utils.Objects.GetValue;var TD={setBindingTarget(t){for(var e=this.childrenMap.pages.children,i=0,s=e.length;i0,setInputRowTitleWidth(t){return this}};const FD=Phaser.Utils.Objects.GetValue;class XD extends jw{constructor(t,e){void 0===e&&(e={}),e.orientation="y",super(t,e),this.type="rexTweaker.Wrap";var i=FD(e,"background",void 0),s=FD(e,"title",void 0);i&&this.addBackground(i),s&&this.add(s,{expand:!0,space:{bottom:FD(e,"space.title",0)}});var r=FD(e,"child",void 0);this.add(r,{expand:!0}),this.addChildrenMap("title",s),this.addChildrenMap("child",r)}setTitle(t){var e=this.childrenMap.title;return t.title||t.icon?e.show().setTitle(t):e.hide(),this}}Object.assign(XD.prototype,jD,zD);const YD=Phaser.Utils.Objects.GetValue,WD=Phaser.Utils.Objects.GetValue;var VD={setBindingTarget(t){return this.childrenMap.panel.setBindingTarget(t),this}},GD={getMaxInputRowTitleWidth(){return this.childrenMap.panel.getMaxInputRowTitleWidth()+this.getInnerPadding("left")},setInputRowTitleWidth(t){return t-=this.getInnerPadding("left"),this.childrenMap.panel.setInputRowTitleWidth(t),this}};class HD extends H_{constructor(t,e){super(t,e),this.type="rexTweaker.Scrollable"}setTitle(t){var e=this.childrenMap.header;return t.title||t.icon?e.show().setTitle(t):e.hide(),this}}Object.assign(HD.prototype,VD,GD);const UD=Phaser.Utils.Objects.GetValue,ND=Phaser.Utils.Objects.GetValue,$D=Phaser.Utils.Objects.GetValue;var KD={setupBinding(){return this.childrenMap.inputField.on("valuechange",(function(t){this.autoUpdateEnable&&this.setTargetValue(t)}),this),this},setAutoUpdateEnable(t){return void 0===t&&(t=!0),this.autoUpdateEnable=t,this},setBindingTarget(t,e){this.bindingTarget=t,void 0!==e&&this.setBindingTargetKey(e),this.syncTargetValue();var i=this.childrenMap.inputField;return i.onBindTarget&&i.onBindTarget(t,e),this},setBindingTargetKey(t){return this.bindTargetKey=t,this},setValueCallbacks(t){return this.onGetValue=$D(t,"onGetValue"),this.onSetValue=$D(t,"onSetValue"),this},getTargetValue(){if(this.bindingTarget)return null!=this.bindTargetKey?this.bindingTarget[this.bindTargetKey]:this.onGetValue?this.onGetValue(this.bindingTarget):void 0},setTargetValue(t){return this.bindingTarget?null!=this.bindTargetKey?(this.bindingTarget[this.bindTargetKey]=t,this):(this.onSetValue&&this.onSetValue(this.bindingTarget,t),this):this},syncTargetValue(){if(!this.bindingTarget)return this;var t=this.childrenMap.inputField;return t.syncValue&&t.syncValue(this.getTargetValue()),this}},JD={startMonitorTarget(){return this.isMonitoring||(this.isMonitoring=!0,this.scene.events.on("postupdate",this.onMonitorTarget,this)),this},stopMonitorTarget(){return this.isMonitoring?(this.isMonitoring=!1,this.scene.events.off("postupdate",this.onMonitorTarget,this),this):this},onMonitorTarget(){if(this.bindingTarget){var t=this.getTargetValue(),e=this.childrenMap.inputField;e.value!==t&&e.syncValue(t)}}},qD={getMinTitleWidth(){var t=this.childrenMap.title;if(!t||0!==t.orientation)return 0;var e=t.rexSizer.padding;return this.getChildWidth(this.childrenMap.title)+(e.left+e.right)*t.scaleX+this.getInnerPadding("left")},setMinTitleWidth(t){var e=this.childrenMap.title;if(!e||0!==e.orientation)return this;var i=e.rexSizer.padding;return t-=(i.left+i.right)*e.scaleX,e.minWidth=t,this}};const ZD=Phaser.Utils.Objects.GetValue;class QD extends jw{constructor(t,e){super(t,e),this.type="rexTweaker.InputRow",this.bindingTarget=void 0,this.bindTargetKey=void 0,this.autoUpdateEnable=!0;var i,s=e.inputTitle,r=e.inputField,n=e.background,a=ZD(e,"proportion.title",0),o=ZD(e,"space.title",0);i=0===this.orientation?{right:o}:{bottom:o},this.add(s,{proportion:a,expand:!0,padding:i});var h=r.defaultProportion;void 0===h&&(h=e.defaultExpandWidth?1:0),a=ZD(e,"proportion.inputField",h),this.add(r,{proportion:a,expand:!0}),n&&this.addBackground(n),this.addChildrenMap("title",s),this.addChildrenMap("inputField",r),this.addChildrenMap("background",n),this.setupBinding()}destroy(t){this.scene&&!this.ignoreDestroy&&(this.stopMonitorTarget(),super.destroy(t))}setTitle(t){return this.childrenMap.title.setTitle(t),this}preLayout(){var t=this.childrenMap.title;t&&(t.minWidth=0),super.preLayout()}}Object.assign(QD.prototype,KD,JD,qD);var tA=function(t,e,i){var s=new mD(t,i);return t.add.existing(s),s},eA=function(t){return void 0===t&&(t=jw),class extends t{get bindingTarget(){return this.getParentSizer().bindingTarget}get bindingKey(){return this.getParentSizer().bindTargetKey}get value(){return this._value}get root(){return this.getParentSizer().getParentSizer().root}onBindTarget(t,e){this.onBindTargetCallback&&this.onBindTargetCallback(this,t,e)}validate(t){return!(!this.syncValueFlag&&this.validateCallback)||this.validateCallback(t,this._value,this.bindingTarget,this.bindingKey)}getFotmatText(t){return t=this.textFormatCallback?this.textFormatCallback(t):t.toString()}set value(t){if(this._value!==t&&(this.validate(t)||(t=this._value),this.filterValueCallback&&(t=this.filterValueCallback(this,t)),this.displayValueCallback&&this.displayValueCallback(this,t),this._value!==t)){var e=this._value;if(this._value=t,!this.syncValueFlag){var i=this.bindingTarget,s=this.bindingKey;this.emit("valuechange",t,e,i,s),this.root.emit("valuechange",t,e,i,s)}}}getValue(){return this.value}setValue(t){return this.value=t,this}syncValue(t){return this.syncValueFlag=!0,this.value=t,this.syncValueFlag=!1,this}setup(t,e){return void 0===e&&(e=!1),(e||t.hasOwnProperty("format"))&&this.setTextFormatCallback(t.format),(e||t.hasOwnProperty("onValidate"))&&this.setValidateCallback(t.onValidate),this.setupCallback&&this.setupCallback(this,t,e),this}setSetupCallback(t){return this.setupCallback=t,this}setFilterValueCallback(t){return this.filterValueCallback=t,this}setDisplayValueCallback(t){return this.displayValueCallback=t,this}setOnBindTargetCallback(t){return this.onBindTargetCallback=t,this}setTextFormatCallback(t){return this.textFormatCallback=t,this}setValidateCallback(t){return this.validateCallback=t,this}}},iA=function(t,e,i){for(var s,r=this.inputHandlers,n=0,a=r.length;n0?0:1,0===n.minWidth&&n.setMinWidth(this.itemWidth)),0===n.minHeight&&n.setMinHeight(this.itemHeight),this.add(n,{proportion:r,expand:!0})),i.onValueChange&&n.childrenMap.inputField.on("valuechange",i.onValueChange),n.setAutoUpdateEnable(i.autoUpdate),n.setBindingTarget(t,e),i.monitor&&n.startMonitorTarget(),i.key&&this.root.addChildrenMap(i.key,n),this):(console.error(`[Tweaker] Can't add Input\n title: ${i.title}\n view: ${i.view}\n`),this)},addButtons:function(t){void 0===t&&(t={});var e=this.scene,i=t.bindingTarget;delete t.bindingTarget;var s=hA(this.styles,"inputRow")||{},r=oA(e,t,s);return this.add(r,{expand:!0}),i&&r.setBindingTarget(i),t.key&&this.root.addChildrenMap(t.key,r),this},addButton:function(t){return void 0===t&&(t={}),t.buttons=[{label:t.label,callback:t.callback}],delete t.label,delete t.callback,this.addButtons(t),this},addSeparator:function(t){void 0===t&&(t={});var e=function(t,e,i){return LP(t,bD(e,i))}(this.scene,t,lA(this.styles,"separator"));return this.add(e,{expand:!0}),this},addRows:function(t,e,s){return"boolean"==typeof e&&(s=e,e=void 0),void 0===s&&(s=!0),dA(this,i(t),e,s),this},setBindingTarget:function(t){for(var e=this.sizerChildren,i=0,s=e.length;it.hasOwnProperty("view")?"string"===t.view:"string"==typeof t.value,build(t,e){var i=t.scene;t.type="rexTweaker.TextInput";var s=e.inputText,r=oE(i,s);t.add(r,{proportion:1,expand:!0,key:"inputText"}),r.on("close",(function(){t.setValue(r.value)}))},setup(t,e,i){(i||e.hasOwnProperty("inputTextReadOnly"))&&function(t,e){void 0===e&&(e=!0),t.childrenMap.inputText.setReadOnly(e)}(t,!!e.inputTextReadOnly)},displayValue(t,e){t.childrenMap.inputText.setText(t.getFotmatText(e))}},vA={name:"TextAreaInput",accept:t=>!!t.hasOwnProperty("view")&&"textarea"===t.view,build(t,e){var s=t.scene;this.type="rexTweaker.TextAreaInput";var r=e.inputTextArea;void 0===r&&(r={}),r.hasOwnProperty("text")||(r.text=e.inputText),r.hasOwnProperty("slider")||(r.slider=e.slider);var n=function(t,e,s){void 0===s&&(s=!0),s?e=e?i(e):{}:e||(e={});var r=new RB(t,e);return t.add.existing(r),r}(s,r);t.add(n,{proportion:1,expand:!0,key:"inputText"}),n.on("close",(function(){t.setValue(n.value)}))},setup(t,e,i){(i||e.hasOwnProperty("inputTextReadOnly"))&&function(t,e){void 0===e&&(e=!0),t.childrenMap.inputText.setReadOnly(e)}(t,!!e.inputTextReadOnly)},displayValue(t,e){t.childrenMap.inputText.setText(t.getFotmatText(e))},onBindTarget(t){t.childrenMap.inputText.scrollToTop()}},fA={name:"NumberInput",accept:t=>t.hasOwnProperty("view")?"number"===t.view:"number"==typeof t.value,build(t,e){var i=t.scene;t.type="rexTweaker.NumberInput";var s=e.inputNumber||e.inputText,r=oE(i,s).setNumberInput();t.add(r,{proportion:1,expand:!0,key:"inputText"}),r.on("close",(function(){t.setValue(r.value)}))},setup(t,e,i){(i||e.hasOwnProperty("inputTextReadOnly"))&&function(t,e){void 0===e&&(e=!0),t.childrenMap.inputText.setReadOnly(e)}(t,!!e.inputTextReadOnly),t.isFloatType=!e.int},filterValue:(t,e)=>t.isFloatType?e:Math.floor(e),displayValue(t,e){t.childrenMap.inputText.setText(t.getFotmatText(e))}};const mA=Phaser.Utils.Objects.GetValue,yA=Phaser.Math.Linear,bA=Phaser.Math.Snap.Floor;var xA={name:"RangeInput",accept:t=>t.hasOwnProperty("view")?"range"===t.view:"number"==typeof t.value&&t.hasOwnProperty("min")&&t.hasOwnProperty("max"),build(t,e){var i=t.scene;t.type="rexTweaker.RangeInput";var s=e.slider,r=0===t.orientation?"track.height":"track.width",n=mA(s,r),a=function(t,e){var i=new oT(t,e);return t.add.existing(i),i}(i,s),o=e.defaultExpandWidth?2:0,h=mA(e,"proportion.range.slider",o),l=void 0===n;t.add(a,{proportion:h,expand:l,key:"slider"});var d=e.inputNumber||e.inputText,c=oE(i,d).setNumberInput();o=e.defaultExpandWidth?1:0,h=mA(e,"proportion.range.inputText",o),t.add(c,{proportion:h,expand:!0,key:"inputText"}),c.on("close",(function(){t.setValue(c.value)})),a.on("valuechange",(function(){var e=yA(t.minValue,t.maxValue,a.value);t.step&&(e=bA(e,t.step,t.minValue)),t.setValue(e)}))},setup(t,e,i){(i||e.hasOwnProperty("max"))&&function(t,e,i,s){t.minValue=e,t.maxValue=i,t.step=s,t.childrenMap.slider.setGap(s,e,i)}(t,e.min,e.max,e.step),(i||e.hasOwnProperty("inputTextReadOnly"))&&function(t,e){void 0===e&&(e=!0),t.childrenMap.inputText.setReadOnly(e)}(t,!!e.inputTextReadOnly)},displayValue(t,e){t.childrenMap.slider.setValue(e,t.minValue,t.maxValue),t.childrenMap.inputText.setText("").setText(t.getFotmatText(e))}},CA=function(t,e){var i=new oM(t,e);return t.add.existing(i),i};const kA=Phaser.Utils.Objects.GetValue;var wA={name:"RangeInput",accept:t=>!!t.hasOwnProperty("view")&&"incdec"===t.view,build(t,e){var s=t.scene;t.type="rexTweaker.IncDecInput";var r=kA(e,"incDec")||{},n={text:null,action:null},a=CA(s,{expand:!1}),o=e.defaultExpandWidth?1:0;t.add(a,{proportion:o,expand:!0});var h=e.inputNumber||e.inputText,l=oE(s,h).setNumberInput();l.on("close",(function(){t.setValue(l.value)}));var d=Object.assign(i(n),r.incButton||{}),c=AM(s,d),u=Object.assign(i(n),r.decButton||{}),p=AM(s,u);a.addButton(c),a.addButton(p);var g=r.inputTextIndex||0;a.insert(g,l,{proportion:1,expand:!0}),t.step=1,t.minValue=void 0,t.maxValue=void 0,a.on("button.click",(function(e,i,s,r){var n=t.value;0===i?n+=t.step:n-=t.step,void 0!==t.maxValue&&n>t.maxValue&&(n=t.maxValue),void 0!==t.minValue&&n!!t.hasOwnProperty("view")&&"color"===t.view,build(t,e){var s=t.scene;t.type="rexTweaker.ColorInput";var r=e.colorInput;void 0===r&&(r={}),r.hasOwnProperty("inputText")||(r.inputText=e.inputText);var n=function(t,e,s){void 0===s&&(s=!0),s?e=e?i(e):{}:e||(e={});var r=new NI(t,e);return t.add.existing(r),r}(s,r);t.add(n,{proportion:1,expand:!0,key:"colorInput"}),n.on("valuechange",(function(e){t.setValue(e)}))},displayValue(t,e){t.childrenMap.colorInput.setValue(e)}},PA={name:"CheckboxInput",accept:t=>t.hasOwnProperty("view")?"boolean"===t.view:"boolean"==typeof t.value,build(t,e){var i=t.scene;t.type="rexTweaker.CheckboxInput";var s=e.checkbox,r=function(t,e){var i=new gu(t,e);return t.add.existing(i),i}(i,s),n=s.size;void 0!==n&&r.setSize(n,n);var a=void 0!==n?0:1;t.add(r,{proportion:0,expand:!1,fitRatio:a,key:"checkbox"}),r.on("valuechange",(function(e){t.setValue(e)}))},displayValue(t,e){t.childrenMap.checkbox.setValue(e)}},TA={name:"ToggleSwitchInput",accept:t=>!!t.hasOwnProperty("view")&&"toggleSwitch"===t.view,build(t,e){var i=t.scene;t.type="rexTweaker.ToggleSwitchInput";var s=e.toggleSwitch,r=function(t,e){var i=new Mu(t,e);return t.add.existing(i),i}(i,s),n=s.size;void 0!==n&&r.setSize(n,n);var a=void 0!==n?0:1;t.addSpace().add(r,{proportion:0,expand:!1,fitRatio:a,key:"toggleSwitch"}),r.on("valuechange",(function(e){t.setValue(e)}))},displayValue(t,e){t.childrenMap.toggleSwitch.setValue(e)}},OA=function(t,e){for(var i=0,s=t.length;it.hasOwnProperty("view")?"list"===t.view:t.hasOwnProperty("options"),build(t,e){var i=t.scene;t.type="rexTweaker.ListInput";var s=function(t,e){e=aR(t,e);var i=new nR(t,e);return t.add.existing(i),i}(i,e.list);t.add(s,{proportion:1,expand:!0,key:"list"}),s.on("button.click",(function(e,i,s,r,n,a){t.setValue(s.value)}))},setup(t,e,i){(i||e.hasOwnProperty("options"))&&function(t,e){t.childrenMap.list.setOptions(e)}(t,e.options)},displayValue(t,e){var i=t.childrenMap.list,s=function(t,e){var i=OA(t,e);if(null!=i)return t[i]}(i.options,e);i.resetDisplayContent(s).setMinSize(i.width,i.height).layout().setMinSize(0,0)}};const EA=Phaser.Utils.Objects.GetValue;var _A={name:"ButtonsInput",accept:t=>!!t.hasOwnProperty("view")&&"buttons"===t.view,build(t,e){var s=t.scene;t.type="rexTweaker.ButtonsInput";var r=e.button?i(e.button):{},n=EA(r,"expand",!0);n&&(r.align="center"),delete r.expand;var a=CA(s,{expand:n});a.buttonConfig=r,t.add(a,{proportion:1,expand:!0,key:"list"}),a.on("button.click",(function(e,i,s,r){var n=a.options[i];n&&(t._selectedIndex=i,t.setValue(n.value),t._selectedIndex=void 0)}))},setup(t,e,i){(i||e.hasOwnProperty("options"))&&function(t,e){var i=t.childrenMap.list;i.options=e;var s=t.scene,r=i.buttonConfig;i.clearButtons(!0);for(var n=0,a=e.length;nr?n:-n),d.localY=u+(c>s?a:-a)}};const ej=Phaser.Utils.Objects.IsPlainObject,ij=Phaser.Utils.Objects.GetValue,sj=Phaser.Math.DegToRad,rj=Phaser.Math.RadToDeg;class nj extends QA{constructor(t,e,i,s,r){if(ej(e)){var n=e;e=ij(n,"x",0),i=ij(n,"y",0),s=ij(n,"key",null),r=ij(n,"frame",null)}super(t,e,i,s,r),this.type="rexSkewmage",this._skewX=0,this._skewY=0}get skewX(){return this._skewX}set skewX(t){this._skewX=t,tj(this,this._skewX,this._skewY)}get skewXDeg(){return rj(this._skewX)}set skewXDeg(t){this.skewX=sj(t)}get skewY(){return this._skewY}set skewY(t){this._skewY=t,tj(this,this._skewX,this._skewY)}get skewYDeg(){return rj(this._skewY)}set skewYDeg(t){this.skewY=sj(t)}setSkewX(t){return this.skewX=t,this}setSkewY(t){return this.skewY=t,this}setSkew(t,e){return void 0===e&&(e=t),this.skewX=t,this.skewY=e,this}setSkewXDeg(t){return this.skewXDeg=t,this}setSkewYDeg(t){return this.skewYDeg=t,this}setSkewDeg(t,e){return void 0===e&&(e=t),this.skewXDeg=t,this.skewYDeg=e,this}}const aj=Phaser.Utils.Objects.IsPlainObject,oj=Phaser.Utils.Objects.GetValue;class hj extends nj{constructor(t,e,i,s,r){if(aj(e)){var n=e;e=oj(n,"x",0),i=oj(n,"y",0),s=oj(n,"width",32),r=oj(n,"height",32)}super(t,e,i,sL(t,s,r),null),this.type="rexSkewRenderTexture",this.rt=this.texture}destroy(t){this.scene&&!this.ignoreDestroy&&(super.destroy(t),this.rt.destroy(),this.rt=null)}}class lj extends(ML(hj)){get skewState(){return this.isRunning}}t.register("skew",(function(t,e){return new lj(t,e)})),P(window,"RexPlugins.UI.Skew",lj),t.register("anchor",(function(t,e){return new uf(t,e)})),P(window,"RexPlugins.UI.Anchor",uf),t.register("textTyping",(function(t,e){return new wR(t,e)})),P(window,"RexPlugins.UI.TextTyping",wR),t.register("textPage",(function(t,e){return new gR(t,e)})),P(window,"RexPlugins.UI.TextPage",gR);var dj=void 0;const cj=Phaser.Utils.Objects.GetValue,uj=Phaser.Utils.Objects.Clone;var pj=function(t){return t.hasOwnProperty("align")?t.align:t.hasOwnProperty("halign")?t.halign:"left"};const gj=Phaser.Utils.Objects.GetValue,vj=Phaser.Utils.Objects.Merge;var fj={open:function(t,e){var i;void 0===t&&(t={}),t=vj(t,this.openConfig),(i=this)!==dj&&(void 0!==dj&&dj.close(),dj=i),zm(t)&&(e=t,t=void 0);var s=gj(t,"inputType",void 0);void 0===s&&(s=gj(t,"type","text")),void 0===e&&(e=gj(t,"onClose",void 0));var r=gj(t,"onOpen",void 0),n=gj(t,"onTextChanged",void 0);return this.inputText=function(t,e){void 0===e&&(e={}),e=uj(e);var i=t.scene,s=t.style,r=cj(e,"backgroundColor",s.backgroundColor);null===r&&(r="transparent"),e.text=cj(e,"text",t.text),e.fontFamily=cj(e,"fontFamily",s.fontFamily),e.fontSize=cj(e,"fontSize",s.fontSize),e.color=cj(e,"color",s.color),e.backgroundColor=r,e.direction=cj(e,"rtl",s.rtl)?"rtl":"ltr",e.align=cj(e,"align",pj(s)),"rtl"===e.direction&&Vw(t)&&(e.align="right");var n=t.padding;n.left>0&&(e.paddingLeft=`${n.left}px`),n.right>0&&(e.paddingRight=`${n.right}px`),s.backgroundCornerRadius&&(e.borderRadius=cj(e,"borderRadius",`${s.backgroundCornerRadius}px`));var a=new Uk(i,t.x,t.y,cj(e,"width",t.width),cj(e,"height",t.height),e);a.setScale(t.scaleX,t.scaleY).setOrigin(t.originX,t.originY).setScrollFactor(t.scrollFactorX,t.scrollFactorY);var o=t.parentContainer;return o?o.add(a):i.add.existing(a),a}(this.parent,t).on("textchange",(function(t){var e=t.text;n?n(this.parent,e):this.parent.text=e}),this).setFocus(),this.parent.setVisible(!1),this.onClose=e,gj(t,"enterClose","textarea"!==s)&&this.scene.input.keyboard.once("keydown-ENTER",this.close,this),this.delayCall=function(t,e,i){return t.time.delayedCall(0,e,[],i)}(this.scene,(function(){this.scene.input.once("pointerdown",this.close,this),r&&r(this.parent),this.emit("open",this.parent)}),this),this},close:function(){return this===dj&&(dj=void 0),this.parent.setVisible(!0),this.inputText&&(this.inputText.destroy(),this.inputText=void 0),this.delayCall&&(this.delayCall.remove(),this.delayCall=void 0),this.scene.input.keyboard.off("keydown-ENTER",this.close,this),this.scene.input.off("pointerdown",this.close,this),this.onClose&&this.onClose(this.parent),this.emit("close",this.parent),this}};const mj=Phaser.Utils.Objects.GetValue;class yj extends La{constructor(t,e){super(t),this.inputText=void 0,this.onClose=void 0,this.delayCall=void 0,this.setOpenConfig(e),mj(e,"clickEnable",!0)&&t.on("pointerdown",(function(){this.open()}),this).setInteractive()}shutdown(t){this.isShutdown||(this.close(),super.shutdown(t))}setOpenConfig(t){return void 0===t&&(t={}),this.openConfig=t,this}get isOpened(){return void 0!==this.inputText}get text(){return this.isOpened?this.inputText.text:this.parent.text}}Object.assign(yj.prototype,fj),t.register("textEdit",(function(t,e){return new yj(t,e)})),P(window,"RexPlugins.UI.TextEdit",yj),t.register("layerManager",(function(t){return new Ma(this.scene,t)})),P(window,"RexPlugins.UI.LayerManager",Ma);class bj extends Phaser.Plugins.ScenePlugin{constructor(e,i){super(e,i),this.add=new t(e)}boot(){this.scene.events.on("destroy",this.destroy,this)}destroy(){this.add.destroy(),super.destroy()}isInTouching(t,e,i,s){return!!t.visible&&Gm(t,e,i,s)}get viewport(){return oa(this.scene,this.scene.cameras.main,!0)}}var xj={getParentSizer:Qp,getTopmostSizer:tg,removeFromParent:cE,hide:nm,show:rm,isShown:am,confirmAction:tE,edit:function(t,e,i){return t._edit||(t._edit=new yj(t,{clickEnable:!1})),t._edit.open(e,i),t._edit},wrapExpandText:Jw,fontSizeExpandText:sS,fontSizeResize:Zw,setFontSizeToFitWidth:Zw,waitEvent:nl,waitComplete:al,delayPromise:Kk,setChildrenInteractive:jb,fadeIn:Ef,fadeOutDestroy:_f,easeMoveTo:Xf,easeMoveFrom:Yf,modal:Am,modalPromise:function(t,e){var i=Am(t,e);return new Promise((function(t,e){i.once("close",(function(e){t(e)}))}))},modalClose:jm,requestDrag:$I,openFileChooser:Qk};return Object.assign(bj.prototype,xj),bj},"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).rexuiplugin=e(); + */var xD=function(t,e){var i=Ge(t);for(var s in e)i.hasOwnProperty(s)||(i[s]=e[s]);return i},CD=function(t,e,i){return BP(t,xD(e,i))},kD={setBindingTarget(t){return this.childrenMap.child.setBindingTarget(t),this}},wD={getMaxInputRowTitleWidth(){return this.childrenMap.child.getMaxInputRowTitleWidth()+this.getInnerPadding("left")},setInputRowTitleWidth(t){return t-=this.getInnerPadding("left"),this.childrenMap.child.setInputRowTitleWidth(t),this}};class SD extends eB{constructor(t,e){void 0===e&&(e={}),e.orientation=1,super(t,e),this.type="rexTweaker.Folder"}setTitle(t){return this.childrenMap.title.setTitle(t),this}}Object.assign(SD.prototype,kD,wD);const PD=Phaser.Utils.Objects.GetValue,TD=Phaser.Utils.Objects.GetValue;var OD={setBindingTarget(t){for(var e=this.childrenMap.pages.children,i=0,s=e.length;i0,setInputRowTitleWidth(t){return this}};const XD=Phaser.Utils.Objects.GetValue;class YD extends zw{constructor(t,e){void 0===e&&(e={}),e.orientation="y",super(t,e),this.type="rexTweaker.Wrap";var i=XD(e,"background",void 0),s=XD(e,"title",void 0);i&&this.addBackground(i),s&&this.add(s,{expand:!0,space:{bottom:XD(e,"space.title",0)}});var r=XD(e,"child",void 0);this.add(r,{expand:!0}),this.addChildrenMap("title",s),this.addChildrenMap("child",r)}setTitle(t){var e=this.childrenMap.title;return t.title||t.icon?e.show().setTitle(t):e.hide(),this}}Object.assign(YD.prototype,zD,FD);const WD=Phaser.Utils.Objects.GetValue,VD=Phaser.Utils.Objects.GetValue;var GD={setBindingTarget(t){return this.childrenMap.panel.setBindingTarget(t),this}},HD={getMaxInputRowTitleWidth(){return this.childrenMap.panel.getMaxInputRowTitleWidth()+this.getInnerPadding("left")},setInputRowTitleWidth(t){return t-=this.getInnerPadding("left"),this.childrenMap.panel.setInputRowTitleWidth(t),this}};class UD extends U_{constructor(t,e){super(t,e),this.type="rexTweaker.Scrollable"}setTitle(t){var e=this.childrenMap.header;return t.title||t.icon?e.show().setTitle(t):e.hide(),this}}Object.assign(UD.prototype,GD,HD);const ND=Phaser.Utils.Objects.GetValue,$D=Phaser.Utils.Objects.GetValue,KD=Phaser.Utils.Objects.GetValue;var JD={setupBinding(){return this.childrenMap.inputField.on("valuechange",(function(t){this.autoUpdateEnable&&this.setTargetValue(t)}),this),this},setAutoUpdateEnable(t){return void 0===t&&(t=!0),this.autoUpdateEnable=t,this},setBindingTarget(t,e){this.bindingTarget=t,void 0!==e&&this.setBindingTargetKey(e),this.syncTargetValue();var i=this.childrenMap.inputField;return i.onBindTarget&&i.onBindTarget(t,e),this},setBindingTargetKey(t){return this.bindTargetKey=t,this},setValueCallbacks(t){return this.onGetValue=KD(t,"onGetValue"),this.onSetValue=KD(t,"onSetValue"),this},getTargetValue(){if(this.bindingTarget)return null!=this.bindTargetKey?this.bindingTarget[this.bindTargetKey]:this.onGetValue?this.onGetValue(this.bindingTarget):void 0},setTargetValue(t){return this.bindingTarget?null!=this.bindTargetKey?(this.bindingTarget[this.bindTargetKey]=t,this):(this.onSetValue&&this.onSetValue(this.bindingTarget,t),this):this},syncTargetValue(){if(!this.bindingTarget)return this;var t=this.childrenMap.inputField;return t.syncValue&&t.syncValue(this.getTargetValue()),this}},qD={startMonitorTarget(){return this.isMonitoring||(this.isMonitoring=!0,this.scene.events.on("postupdate",this.onMonitorTarget,this)),this},stopMonitorTarget(){return this.isMonitoring?(this.isMonitoring=!1,this.scene.events.off("postupdate",this.onMonitorTarget,this),this):this},onMonitorTarget(){if(this.bindingTarget){var t=this.getTargetValue(),e=this.childrenMap.inputField;e.value!==t&&e.syncValue(t)}}},ZD={getMinTitleWidth(){var t=this.childrenMap.title;if(!t||0!==t.orientation)return 0;var e=t.rexSizer.padding;return this.getChildWidth(this.childrenMap.title)+(e.left+e.right)*t.scaleX+this.getInnerPadding("left")},setMinTitleWidth(t){var e=this.childrenMap.title;if(!e||0!==e.orientation)return this;var i=e.rexSizer.padding;return t-=(i.left+i.right)*e.scaleX,e.minWidth=t,this}};const QD=Phaser.Utils.Objects.GetValue;class tA extends zw{constructor(t,e){super(t,e),this.type="rexTweaker.InputRow",this.bindingTarget=void 0,this.bindTargetKey=void 0,this.autoUpdateEnable=!0;var i,s=e.inputTitle,r=e.inputField,n=e.background,a=QD(e,"proportion.title",0),o=QD(e,"space.title",0);i=0===this.orientation?{right:o}:{bottom:o},this.add(s,{proportion:a,expand:!0,padding:i});var h=r.defaultProportion;void 0===h&&(h=e.defaultExpandWidth?1:0),a=QD(e,"proportion.inputField",h),this.add(r,{proportion:a,expand:!0}),n&&this.addBackground(n),this.addChildrenMap("title",s),this.addChildrenMap("inputField",r),this.addChildrenMap("background",n),this.setupBinding()}destroy(t){this.scene&&!this.ignoreDestroy&&(this.stopMonitorTarget(),super.destroy(t))}setTitle(t){return this.childrenMap.title.setTitle(t),this}preLayout(){var t=this.childrenMap.title;t&&(t.minWidth=0),super.preLayout()}}Object.assign(tA.prototype,JD,qD,ZD);var eA=function(t,e,i){var s=new yD(t,i);return t.add.existing(s),s},iA=function(t){return void 0===t&&(t=zw),class extends t{get bindingTarget(){return this.getParentSizer().bindingTarget}get bindingKey(){return this.getParentSizer().bindTargetKey}get value(){return this._value}get root(){return this.getParentSizer().getParentSizer().root}onBindTarget(t,e){this.onBindTargetCallback&&this.onBindTargetCallback(this,t,e)}validate(t){return!(!this.syncValueFlag&&this.validateCallback)||this.validateCallback(t,this._value,this.bindingTarget,this.bindingKey)}getFotmatText(t){return t=this.textFormatCallback?this.textFormatCallback(t):t.toString()}set value(t){if(this._value!==t&&(this.validate(t)||(t=this._value),this.filterValueCallback&&(t=this.filterValueCallback(this,t)),this.displayValueCallback&&this.displayValueCallback(this,t),this._value!==t)){var e=this._value;if(this._value=t,!this.syncValueFlag){var i=this.bindingTarget,s=this.bindingKey;this.emit("valuechange",t,e,i,s),this.root.emit("valuechange",t,e,i,s)}}}getValue(){return this.value}setValue(t){return this.value=t,this}syncValue(t){return this.syncValueFlag=!0,this.value=t,this.syncValueFlag=!1,this}setup(t,e){return void 0===e&&(e=!1),(e||t.hasOwnProperty("format"))&&this.setTextFormatCallback(t.format),(e||t.hasOwnProperty("onValidate"))&&this.setValidateCallback(t.onValidate),this.setupCallback&&this.setupCallback(this,t,e),this}setSetupCallback(t){return this.setupCallback=t,this}setFilterValueCallback(t){return this.filterValueCallback=t,this}setDisplayValueCallback(t){return this.displayValueCallback=t,this}setOnBindTargetCallback(t){return this.onBindTargetCallback=t,this}setTextFormatCallback(t){return this.textFormatCallback=t,this}setValidateCallback(t){return this.validateCallback=t,this}}},sA=function(t,e,i){for(var s,r=this.inputHandlers,n=0,a=r.length;n0?0:1,0===n.minWidth&&n.setMinWidth(this.itemWidth)),0===n.minHeight&&n.setMinHeight(this.itemHeight),this.add(n,{proportion:r,expand:!0})),i.onValueChange&&n.childrenMap.inputField.on("valuechange",i.onValueChange),n.setAutoUpdateEnable(i.autoUpdate),n.setBindingTarget(t,e),i.monitor&&n.startMonitorTarget(),i.key&&this.root.addChildrenMap(i.key,n),this):(console.error(`[Tweaker] Can't add Input\n title: ${i.title}\n view: ${i.view}\n`),this)},addButtons:function(t){void 0===t&&(t={});var e=this.scene,i=t.bindingTarget;delete t.bindingTarget;var s=lA(this.styles,"inputRow")||{},r=hA(e,t,s);return this.add(r,{expand:!0}),i&&r.setBindingTarget(i),t.key&&this.root.addChildrenMap(t.key,r),this},addButton:function(t){return void 0===t&&(t={}),t.buttons=[{label:t.label,callback:t.callback}],delete t.label,delete t.callback,this.addButtons(t),this},addSeparator:function(t){void 0===t&&(t={});var e=function(t,e,i){return BP(t,xD(e,i))}(this.scene,t,dA(this.styles,"separator"));return this.add(e,{expand:!0}),this},addRows:function(t,e,s){return"boolean"==typeof e&&(s=e,e=void 0),void 0===s&&(s=!0),cA(this,i(t),e,s),this},setBindingTarget:function(t){for(var e=this.sizerChildren,i=0,s=e.length;it.hasOwnProperty("view")?"string"===t.view:"string"==typeof t.value,build(t,e){var i=t.scene;t.type="rexTweaker.TextInput";var s=e.inputText,r=hE(i,s);t.add(r,{proportion:1,expand:!0,key:"inputText"}),r.on("close",(function(){t.setValue(r.value)}))},setup(t,e,i){(i||e.hasOwnProperty("inputTextReadOnly"))&&function(t,e){void 0===e&&(e=!0),t.childrenMap.inputText.setReadOnly(e)}(t,!!e.inputTextReadOnly)},displayValue(t,e){t.childrenMap.inputText.setText(t.getFotmatText(e))}},fA={name:"TextAreaInput",accept:t=>!!t.hasOwnProperty("view")&&"textarea"===t.view,build(t,e){var s=t.scene;this.type="rexTweaker.TextAreaInput";var r=e.inputTextArea;void 0===r&&(r={}),r.hasOwnProperty("text")||(r.text=e.inputText),r.hasOwnProperty("slider")||(r.slider=e.slider);var n=function(t,e,s){void 0===s&&(s=!0),s?e=e?i(e):{}:e||(e={});var r=new LB(t,e);return t.add.existing(r),r}(s,r);t.add(n,{proportion:1,expand:!0,key:"inputText"}),n.on("close",(function(){t.setValue(n.value)}))},setup(t,e,i){(i||e.hasOwnProperty("inputTextReadOnly"))&&function(t,e){void 0===e&&(e=!0),t.childrenMap.inputText.setReadOnly(e)}(t,!!e.inputTextReadOnly)},displayValue(t,e){t.childrenMap.inputText.setText(t.getFotmatText(e))},onBindTarget(t){t.childrenMap.inputText.scrollToTop()}},mA={name:"NumberInput",accept:t=>t.hasOwnProperty("view")?"number"===t.view:"number"==typeof t.value,build(t,e){var i=t.scene;t.type="rexTweaker.NumberInput";var s=e.inputNumber||e.inputText,r=hE(i,s).setNumberInput();t.add(r,{proportion:1,expand:!0,key:"inputText"}),r.on("close",(function(){t.setValue(r.value)}))},setup(t,e,i){(i||e.hasOwnProperty("inputTextReadOnly"))&&function(t,e){void 0===e&&(e=!0),t.childrenMap.inputText.setReadOnly(e)}(t,!!e.inputTextReadOnly),t.isFloatType=!e.int},filterValue:(t,e)=>t.isFloatType?e:Math.floor(e),displayValue(t,e){t.childrenMap.inputText.setText(t.getFotmatText(e))}};const yA=Phaser.Utils.Objects.GetValue,bA=Phaser.Math.Linear,xA=Phaser.Math.Snap.Floor;var CA={name:"RangeInput",accept:t=>t.hasOwnProperty("view")?"range"===t.view:"number"==typeof t.value&&t.hasOwnProperty("min")&&t.hasOwnProperty("max"),build(t,e){var i=t.scene;t.type="rexTweaker.RangeInput";var s=e.slider,r=0===t.orientation?"track.height":"track.width",n=yA(s,r),a=function(t,e){var i=new hT(t,e);return t.add.existing(i),i}(i,s),o=e.defaultExpandWidth?2:0,h=yA(e,"proportion.range.slider",o),l=void 0===n;t.add(a,{proportion:h,expand:l,key:"slider"});var d=e.inputNumber||e.inputText,c=hE(i,d).setNumberInput();o=e.defaultExpandWidth?1:0,h=yA(e,"proportion.range.inputText",o),t.add(c,{proportion:h,expand:!0,key:"inputText"}),c.on("close",(function(){t.setValue(c.value)})),a.on("valuechange",(function(){var e=bA(t.minValue,t.maxValue,a.value);t.step&&(e=xA(e,t.step,t.minValue)),t.setValue(e)}))},setup(t,e,i){(i||e.hasOwnProperty("max"))&&function(t,e,i,s){t.minValue=e,t.maxValue=i,t.step=s,t.childrenMap.slider.setGap(s,e,i)}(t,e.min,e.max,e.step),(i||e.hasOwnProperty("inputTextReadOnly"))&&function(t,e){void 0===e&&(e=!0),t.childrenMap.inputText.setReadOnly(e)}(t,!!e.inputTextReadOnly)},displayValue(t,e){t.childrenMap.slider.setValue(e,t.minValue,t.maxValue),t.childrenMap.inputText.setText("").setText(t.getFotmatText(e))}},kA=function(t,e){var i=new hM(t,e);return t.add.existing(i),i};const wA=Phaser.Utils.Objects.GetValue;var SA={name:"RangeInput",accept:t=>!!t.hasOwnProperty("view")&&"incdec"===t.view,build(t,e){var s=t.scene;t.type="rexTweaker.IncDecInput";var r=wA(e,"incDec")||{},n={text:null,action:null},a=kA(s,{expand:!1}),o=e.defaultExpandWidth?1:0;t.add(a,{proportion:o,expand:!0});var h=e.inputNumber||e.inputText,l=hE(s,h).setNumberInput();l.on("close",(function(){t.setValue(l.value)}));var d=Object.assign(i(n),r.incButton||{}),c=jM(s,d),u=Object.assign(i(n),r.decButton||{}),p=jM(s,u);a.addButton(c),a.addButton(p);var g=r.inputTextIndex||0;a.insert(g,l,{proportion:1,expand:!0}),t.step=1,t.minValue=void 0,t.maxValue=void 0,a.on("button.click",(function(e,i,s,r){var n=t.value;0===i?n+=t.step:n-=t.step,void 0!==t.maxValue&&n>t.maxValue&&(n=t.maxValue),void 0!==t.minValue&&n!!t.hasOwnProperty("view")&&"color"===t.view,build(t,e){var s=t.scene;t.type="rexTweaker.ColorInput";var r=e.colorInput;void 0===r&&(r={}),r.hasOwnProperty("inputText")||(r.inputText=e.inputText);var n=function(t,e,s){void 0===s&&(s=!0),s?e=e?i(e):{}:e||(e={});var r=new $I(t,e);return t.add.existing(r),r}(s,r);t.add(n,{proportion:1,expand:!0,key:"colorInput"}),n.on("valuechange",(function(e){t.setValue(e)}))},displayValue(t,e){t.childrenMap.colorInput.setValue(e)}},TA={name:"CheckboxInput",accept:t=>t.hasOwnProperty("view")?"boolean"===t.view:"boolean"==typeof t.value,build(t,e){var i=t.scene;t.type="rexTweaker.CheckboxInput";var s=e.checkbox,r=function(t,e){var i=new vu(t,e);return t.add.existing(i),i}(i,s),n=s.size;void 0!==n&&r.setSize(n,n);var a=void 0!==n?0:1;t.add(r,{proportion:0,expand:!1,fitRatio:a,key:"checkbox"}),r.on("valuechange",(function(e){t.setValue(e)}))},displayValue(t,e){t.childrenMap.checkbox.setValue(e)}},OA={name:"ToggleSwitchInput",accept:t=>!!t.hasOwnProperty("view")&&"toggleSwitch"===t.view,build(t,e){var i=t.scene;t.type="rexTweaker.ToggleSwitchInput";var s=e.toggleSwitch,r=function(t,e){var i=new Eu(t,e);return t.add.existing(i),i}(i,s),n=s.size;void 0!==n&&r.setSize(n,n);var a=void 0!==n?0:1;t.addSpace().add(r,{proportion:0,expand:!1,fitRatio:a,key:"toggleSwitch"}),r.on("valuechange",(function(e){t.setValue(e)}))},displayValue(t,e){t.childrenMap.toggleSwitch.setValue(e)}},MA=function(t,e){for(var i=0,s=t.length;it.hasOwnProperty("view")?"list"===t.view:t.hasOwnProperty("options"),build(t,e){var i=t.scene;t.type="rexTweaker.ListInput";var s=function(t,e){e=oR(t,e);var i=new aR(t,e);return t.add.existing(i),i}(i,e.list);t.add(s,{proportion:1,expand:!0,key:"list"}),s.on("button.click",(function(e,i,s,r,n,a){t.setValue(s.value)}))},setup(t,e,i){(i||e.hasOwnProperty("options"))&&function(t,e){t.childrenMap.list.setOptions(e)}(t,e.options)},displayValue(t,e){var i=t.childrenMap.list,s=function(t,e){var i=MA(t,e);if(null!=i)return t[i]}(i.options,e);i.resetDisplayContent(s).setMinSize(i.width,i.height).layout().setMinSize(0,0)}};const _A=Phaser.Utils.Objects.GetValue;var RA={name:"ButtonsInput",accept:t=>!!t.hasOwnProperty("view")&&"buttons"===t.view,build(t,e){var s=t.scene;t.type="rexTweaker.ButtonsInput";var r=e.button?i(e.button):{},n=_A(r,"expand",!0);n&&(r.align="center"),delete r.expand;var a=kA(s,{expand:n});a.buttonConfig=r,t.add(a,{proportion:1,expand:!0,key:"list"}),a.on("button.click",(function(e,i,s,r){var n=a.options[i];n&&(t._selectedIndex=i,t.setValue(n.value),t._selectedIndex=void 0)}))},setup(t,e,i){(i||e.hasOwnProperty("options"))&&function(t,e){var i=t.childrenMap.list;i.options=e;var s=t.scene,r=i.buttonConfig;i.clearButtons(!0);for(var n=0,a=e.length;nr?n:-n),d.localY=u+(c>s?a:-a)}};const ij=Phaser.Utils.Objects.IsPlainObject,sj=Phaser.Utils.Objects.GetValue,rj=Phaser.Math.DegToRad,nj=Phaser.Math.RadToDeg;class aj extends tj{constructor(t,e,i,s,r){if(ij(e)){var n=e;e=sj(n,"x",0),i=sj(n,"y",0),s=sj(n,"key",null),r=sj(n,"frame",null)}super(t,e,i,s,r),this.type="rexSkewmage",this._skewX=0,this._skewY=0}get skewX(){return this._skewX}set skewX(t){this._skewX=t,ej(this,this._skewX,this._skewY)}get skewXDeg(){return nj(this._skewX)}set skewXDeg(t){this.skewX=rj(t)}get skewY(){return this._skewY}set skewY(t){this._skewY=t,ej(this,this._skewX,this._skewY)}get skewYDeg(){return nj(this._skewY)}set skewYDeg(t){this.skewY=rj(t)}setSkewX(t){return this.skewX=t,this}setSkewY(t){return this.skewY=t,this}setSkew(t,e){return void 0===e&&(e=t),this.skewX=t,this.skewY=e,this}setSkewXDeg(t){return this.skewXDeg=t,this}setSkewYDeg(t){return this.skewYDeg=t,this}setSkewDeg(t,e){return void 0===e&&(e=t),this.skewXDeg=t,this.skewYDeg=e,this}}const oj=Phaser.Utils.Objects.IsPlainObject,hj=Phaser.Utils.Objects.GetValue;class lj extends aj{constructor(t,e,i,s,r){if(oj(e)){var n=e;e=hj(n,"x",0),i=hj(n,"y",0),s=hj(n,"width",32),r=hj(n,"height",32)}super(t,e,i,rL(t,s,r),null),this.type="rexSkewRenderTexture",this.rt=this.texture}destroy(t){this.scene&&!this.ignoreDestroy&&(super.destroy(t),this.rt.destroy(),this.rt=null)}}class dj extends(EL(lj)){get skewState(){return this.isRunning}}t.register("skew",(function(t,e){return new dj(t,e)})),P(window,"RexPlugins.UI.Skew",dj),t.register("anchor",(function(t,e){return new pf(t,e)})),P(window,"RexPlugins.UI.Anchor",pf),t.register("textTyping",(function(t,e){return new SR(t,e)})),P(window,"RexPlugins.UI.TextTyping",SR),t.register("textPage",(function(t,e){return new vR(t,e)})),P(window,"RexPlugins.UI.TextPage",vR);var cj=void 0;const uj=Phaser.Utils.Objects.GetValue,pj=Phaser.Utils.Objects.Clone;var gj=function(t){return t.hasOwnProperty("align")?t.align:t.hasOwnProperty("halign")?t.halign:"left"};const vj=Phaser.Utils.Objects.GetValue,fj=Phaser.Utils.Objects.Merge;var mj={open:function(t,e){var i;void 0===t&&(t={}),t=fj(t,this.openConfig),(i=this)!==cj&&(void 0!==cj&&cj.close(),cj=i),Fm(t)&&(e=t,t=void 0);var s=vj(t,"inputType",void 0);void 0===s&&(s=vj(t,"type","text")),void 0===e&&(e=vj(t,"onClose",void 0));var r=vj(t,"onOpen",void 0),n=vj(t,"onTextChanged",void 0);return this.inputText=function(t,e){void 0===e&&(e={}),e=pj(e);var i=t.scene,s=t.style,r=uj(e,"backgroundColor",s.backgroundColor);null===r&&(r="transparent"),e.text=uj(e,"text",t.text),e.fontFamily=uj(e,"fontFamily",s.fontFamily),e.fontSize=uj(e,"fontSize",s.fontSize),e.color=uj(e,"color",s.color),e.backgroundColor=r,e.direction=uj(e,"rtl",s.rtl)?"rtl":"ltr",e.align=uj(e,"align",gj(s)),"rtl"===e.direction&&Gw(t)&&(e.align="right");var n=t.padding;n.left>0&&(e.paddingLeft=`${n.left}px`),n.right>0&&(e.paddingRight=`${n.right}px`),s.backgroundCornerRadius&&(e.borderRadius=uj(e,"borderRadius",`${s.backgroundCornerRadius}px`));var a=new Nk(i,t.x,t.y,uj(e,"width",t.width),uj(e,"height",t.height),e);a.setScale(t.scaleX,t.scaleY).setOrigin(t.originX,t.originY).setScrollFactor(t.scrollFactorX,t.scrollFactorY);var o=t.parentContainer;return o?o.add(a):i.add.existing(a),a}(this.parent,t).on("textchange",(function(t){var e=t.text;n?n(this.parent,e):this.parent.text=e}),this).setFocus(),this.parent.setVisible(!1),this.onClose=e,vj(t,"enterClose","textarea"!==s)&&this.scene.input.keyboard.once("keydown-ENTER",this.close,this),this.delayCall=function(t,e,i){return t.time.delayedCall(0,e,[],i)}(this.scene,(function(){this.scene.input.once("pointerdown",this.close,this),r&&r(this.parent),this.emit("open",this.parent)}),this),this},close:function(){return this===cj&&(cj=void 0),this.parent.setVisible(!0),this.inputText&&(this.inputText.destroy(),this.inputText=void 0),this.delayCall&&(this.delayCall.remove(),this.delayCall=void 0),this.scene.input.keyboard.off("keydown-ENTER",this.close,this),this.scene.input.off("pointerdown",this.close,this),this.onClose&&this.onClose(this.parent),this.emit("close",this.parent),this}};const yj=Phaser.Utils.Objects.GetValue;class bj extends Ba{constructor(t,e){super(t),this.inputText=void 0,this.onClose=void 0,this.delayCall=void 0,this.setOpenConfig(e),yj(e,"clickEnable",!0)&&t.on("pointerdown",(function(){this.open()}),this).setInteractive()}shutdown(t){this.isShutdown||(this.close(),super.shutdown(t))}setOpenConfig(t){return void 0===t&&(t={}),this.openConfig=t,this}get isOpened(){return void 0!==this.inputText}get text(){return this.isOpened?this.inputText.text:this.parent.text}}Object.assign(bj.prototype,mj),t.register("textEdit",(function(t,e){return new bj(t,e)})),P(window,"RexPlugins.UI.TextEdit",bj),t.register("layerManager",(function(t){return new Ea(this.scene,t)})),P(window,"RexPlugins.UI.LayerManager",Ea);class xj extends Phaser.Plugins.ScenePlugin{constructor(e,i){super(e,i),this.add=new t(e)}boot(){this.scene.events.on("destroy",this.destroy,this)}destroy(){this.add.destroy(),super.destroy()}isInTouching(t,e,i,s){return!!t.visible&&Hm(t,e,i,s)}get viewport(){return ha(this.scene,this.scene.cameras.main,!0)}}var Cj={getParentSizer:tg,getTopmostSizer:eg,removeFromParent:uE,hide:am,show:nm,isShown:om,confirmAction:eE,edit:function(t,e,i){return t._edit||(t._edit=new bj(t,{clickEnable:!1})),t._edit.open(e,i),t._edit},wrapExpandText:qw,fontSizeExpandText:rS,fontSizeResize:Qw,setFontSizeToFitWidth:Qw,waitEvent:al,waitComplete:ol,delayPromise:Jk,setChildrenInteractive:zb,fadeIn:_f,fadeOutDestroy:Rf,easeMoveTo:Yf,easeMoveFrom:Wf,modal:jm,modalPromise:function(t,e){var i=jm(t,e);return new Promise((function(t,e){i.once("close",(function(e){t(e)}))}))},modalClose:zm,requestDrag:KI,openFileChooser:tw};return Object.assign(xj.prototype,Cj),xj},"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).rexuiplugin=e();