Simon Hunt | 3a6eec0 | 2015-02-09 21:16:43 -0800 | [diff] [blame] | 1 | /* |
Brian O'Connor | 5ab426f | 2016-04-09 01:19:45 -0700 | [diff] [blame] | 2 | * Copyright 2015-present Open Networking Laboratory |
Simon Hunt | 3a6eec0 | 2015-02-09 21:16:43 -0800 | [diff] [blame] | 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | |
| 17 | /* |
| 18 | ONOS GUI -- Topology Model Module. |
| 19 | Auxiliary functions for the model of the topology; that is, our internal |
| 20 | representations of devices, hosts, links, etc. |
| 21 | */ |
| 22 | |
| 23 | (function () { |
| 24 | 'use strict'; |
| 25 | |
| 26 | // injected refs |
Simon Hunt | 08f841d0 | 2015-02-10 14:39:20 -0800 | [diff] [blame] | 27 | var $log, fs, rnd; |
| 28 | |
| 29 | // api to topoForce |
| 30 | var api; |
| 31 | /* |
| 32 | projection() |
| 33 | network {...} |
| 34 | restyleLinkElement( ldata ) |
| 35 | removeLinkElement( ldata ) |
| 36 | */ |
Simon Hunt | 3a6eec0 | 2015-02-09 21:16:43 -0800 | [diff] [blame] | 37 | |
Simon Hunt | dc6adea | 2015-02-09 22:29:36 -0800 | [diff] [blame] | 38 | // shorthand |
Bri Prebilic Cole | aeeb33e | 2015-07-09 15:15:54 -0700 | [diff] [blame] | 39 | var lu, rlk, nodes, links, linksByDevice; |
Simon Hunt | dc6adea | 2015-02-09 22:29:36 -0800 | [diff] [blame] | 40 | |
Simon Hunt | 08f841d0 | 2015-02-10 14:39:20 -0800 | [diff] [blame] | 41 | var dim; // dimensions of layout [w,h] |
Simon Hunt | 3a6eec0 | 2015-02-09 21:16:43 -0800 | [diff] [blame] | 42 | |
| 43 | // configuration 'constants' |
| 44 | var defaultLinkType = 'direct', |
| 45 | nearDist = 15; |
| 46 | |
| 47 | |
| 48 | function coordFromLngLat(loc) { |
| 49 | var p = api.projection(); |
Simon Hunt | ffbad3b | 2017-05-16 15:37:51 -0700 | [diff] [blame] | 50 | return p ? p([loc.longOrX, loc.latOrY]) : [0, 0]; |
Simon Hunt | 3a6eec0 | 2015-02-09 21:16:43 -0800 | [diff] [blame] | 51 | } |
| 52 | |
| 53 | function lngLatFromCoord(coord) { |
| 54 | var p = api.projection(); |
| 55 | return p ? p.invert(coord) : [0, 0]; |
| 56 | } |
| 57 | |
| 58 | function positionNode(node, forUpdate) { |
| 59 | var meta = node.metaUi, |
| 60 | x = meta && meta.x, |
| 61 | y = meta && meta.y, |
| 62 | xy; |
| 63 | |
Simon Hunt | fd7106c | 2016-02-09 15:05:26 -0800 | [diff] [blame] | 64 | // if the device contains explicit LONG/LAT data, use that to position |
| 65 | if (setLongLat(node)) { |
| 66 | // indicate we want to update cached meta data... |
| 67 | return true; |
| 68 | } |
| 69 | |
| 70 | // else if we have [x,y] cached in meta data, use that... |
Simon Hunt | a5487ad | 2016-06-16 13:10:41 -0700 | [diff] [blame] | 71 | if (x !== undefined && y !== undefined) { |
Simon Hunt | 3a6eec0 | 2015-02-09 21:16:43 -0800 | [diff] [blame] | 72 | node.fixed = true; |
| 73 | node.px = node.x = x; |
| 74 | node.py = node.y = y; |
| 75 | return; |
| 76 | } |
| 77 | |
Simon Hunt | 3a6eec0 | 2015-02-09 21:16:43 -0800 | [diff] [blame] | 78 | // if this is a node update (not a node add).. skip randomizer |
| 79 | if (forUpdate) { |
| 80 | return; |
| 81 | } |
| 82 | |
| 83 | // Note: Placing incoming unpinned nodes at exactly the same point |
| 84 | // (center of the view) causes them to explode outwards when |
| 85 | // the force layout kicks in. So, we spread them out a bit |
| 86 | // initially, to provide a more serene layout convergence. |
| 87 | // Additionally, if the node is a host, we place it near |
| 88 | // the device it is connected to. |
| 89 | |
| 90 | function rand() { |
| 91 | return { |
| 92 | x: rnd.randDim(dim[0]), |
| 93 | y: rnd.randDim(dim[1]) |
| 94 | }; |
| 95 | } |
| 96 | |
| 97 | function near(node) { |
| 98 | return { |
| 99 | x: node.x + nearDist + rnd.spread(nearDist), |
| 100 | y: node.y + nearDist + rnd.spread(nearDist) |
| 101 | }; |
| 102 | } |
| 103 | |
| 104 | function getDevice(cp) { |
Simon Hunt | dc6adea | 2015-02-09 22:29:36 -0800 | [diff] [blame] | 105 | var d = lu[cp.device]; |
Simon Hunt | 3a6eec0 | 2015-02-09 21:16:43 -0800 | [diff] [blame] | 106 | return d || rand(); |
| 107 | } |
| 108 | |
| 109 | xy = (node.class === 'host') ? near(getDevice(node.cp)) : rand(); |
| 110 | angular.extend(node, xy); |
| 111 | } |
| 112 | |
Simon Hunt | fd7106c | 2016-02-09 15:05:26 -0800 | [diff] [blame] | 113 | function setLongLat(node) { |
| 114 | var loc = node.location, |
| 115 | coord; |
| 116 | |
Simon Hunt | ffbad3b | 2017-05-16 15:37:51 -0700 | [diff] [blame] | 117 | if (loc && loc.locType === 'geo') { |
Simon Hunt | fd7106c | 2016-02-09 15:05:26 -0800 | [diff] [blame] | 118 | coord = coordFromLngLat(loc); |
| 119 | node.fixed = true; |
| 120 | node.px = node.x = coord[0]; |
| 121 | node.py = node.y = coord[1]; |
| 122 | return true; |
| 123 | } |
| 124 | } |
| 125 | |
| 126 | function resetAllLocations() { |
| 127 | nodes.forEach(function (d) { |
| 128 | setLongLat(d); |
| 129 | }); |
| 130 | } |
| 131 | |
Simon Hunt | 3a6eec0 | 2015-02-09 21:16:43 -0800 | [diff] [blame] | 132 | function mkSvgCls(dh, t, on) { |
| 133 | var ndh = 'node ' + dh, |
| 134 | ndht = t ? ndh + ' ' + t : ndh; |
| 135 | return on ? ndht + ' online' : ndht; |
| 136 | } |
| 137 | |
| 138 | function createDeviceNode(device) { |
| 139 | var node = device; |
| 140 | |
| 141 | // Augment as needed... |
| 142 | node.class = 'device'; |
| 143 | node.svgClass = mkSvgCls('device', device.type, device.online); |
| 144 | positionNode(node); |
| 145 | return node; |
| 146 | } |
| 147 | |
| 148 | function createHostNode(host) { |
| 149 | var node = host; |
| 150 | |
| 151 | // Augment as needed... |
| 152 | node.class = 'host'; |
| 153 | if (!node.type) { |
| 154 | node.type = 'endstation'; |
| 155 | } |
| 156 | node.svgClass = mkSvgCls('host', node.type); |
| 157 | positionNode(node); |
| 158 | return node; |
| 159 | } |
| 160 | |
| 161 | function createHostLink(host) { |
| 162 | var src = host.id, |
| 163 | dst = host.cp.device, |
| 164 | id = host.ingress, |
| 165 | lnk = linkEndPoints(src, dst); |
| 166 | |
| 167 | if (!lnk) { |
| 168 | return null; |
| 169 | } |
| 170 | |
| 171 | // Synthesize link ... |
| 172 | angular.extend(lnk, { |
| 173 | key: id, |
| 174 | class: 'link', |
Simon Hunt | 5f36108 | 2015-02-25 11:36:38 -0800 | [diff] [blame] | 175 | // NOTE: srcPort left undefined (host end of the link) |
| 176 | tgtPort: host.cp.port, |
Simon Hunt | 3a6eec0 | 2015-02-09 21:16:43 -0800 | [diff] [blame] | 177 | |
| 178 | type: function () { return 'hostLink'; }, |
Simon Hunt | 219f077 | 2016-02-09 10:58:49 -0800 | [diff] [blame] | 179 | expected: function () { return true; }, |
Simon Hunt | 3a6eec0 | 2015-02-09 21:16:43 -0800 | [diff] [blame] | 180 | online: function () { |
| 181 | // hostlink target is edge switch |
| 182 | return lnk.target.online; |
| 183 | }, |
| 184 | linkWidth: function () { return 1; } |
| 185 | }); |
| 186 | return lnk; |
| 187 | } |
| 188 | |
| 189 | function createLink(link) { |
| 190 | var lnk = linkEndPoints(link.src, link.dst); |
| 191 | |
| 192 | if (!lnk) { |
| 193 | return null; |
| 194 | } |
| 195 | |
| 196 | angular.extend(lnk, { |
| 197 | key: link.id, |
| 198 | class: 'link', |
| 199 | fromSource: link, |
Simon Hunt | 5f36108 | 2015-02-25 11:36:38 -0800 | [diff] [blame] | 200 | srcPort: link.srcPort, |
| 201 | tgtPort: link.dstPort, |
Bri Prebilic Cole | aeeb33e | 2015-07-09 15:15:54 -0700 | [diff] [blame] | 202 | position: { |
| 203 | x1: 0, |
| 204 | y1: 0, |
| 205 | x2: 0, |
| 206 | y2: 0 |
| 207 | }, |
Simon Hunt | 3a6eec0 | 2015-02-09 21:16:43 -0800 | [diff] [blame] | 208 | |
| 209 | // functions to aggregate dual link state |
| 210 | type: function () { |
| 211 | var s = lnk.fromSource, |
| 212 | t = lnk.fromTarget; |
| 213 | return (s && s.type) || (t && t.type) || defaultLinkType; |
| 214 | }, |
Ray Milkey | b7f0f64 | 2016-01-22 16:08:14 -0800 | [diff] [blame] | 215 | expected: function () { |
| 216 | var s = lnk.fromSource, |
| 217 | t = lnk.fromTarget; |
| 218 | return (s && s.expected) && (t && t.expected); |
| 219 | }, |
Simon Hunt | 3a6eec0 | 2015-02-09 21:16:43 -0800 | [diff] [blame] | 220 | online: function () { |
| 221 | var s = lnk.fromSource, |
| 222 | t = lnk.fromTarget, |
| 223 | both = lnk.source.online && lnk.target.online; |
Simon Hunt | 15813b2 | 2016-01-29 08:29:08 -0800 | [diff] [blame] | 224 | return both && (s && s.online) && (t && t.online); |
Simon Hunt | 3a6eec0 | 2015-02-09 21:16:43 -0800 | [diff] [blame] | 225 | }, |
| 226 | linkWidth: function () { |
| 227 | var s = lnk.fromSource, |
| 228 | t = lnk.fromTarget, |
| 229 | ws = (s && s.linkWidth) || 0, |
| 230 | wt = (t && t.linkWidth) || 0; |
Bri Prebilic Cole | 038aedd | 2015-07-13 15:25:16 -0700 | [diff] [blame] | 231 | return lnk.position.multiLink ? 5 : Math.max(ws, wt); |
Simon Hunt | 5c1a938 | 2016-06-01 19:35:35 -0700 | [diff] [blame] | 232 | }, |
| 233 | extra: link.extra |
Simon Hunt | 3a6eec0 | 2015-02-09 21:16:43 -0800 | [diff] [blame] | 234 | }); |
| 235 | return lnk; |
| 236 | } |
| 237 | |
| 238 | |
| 239 | function linkEndPoints(srcId, dstId) { |
Simon Hunt | dc6adea | 2015-02-09 22:29:36 -0800 | [diff] [blame] | 240 | var srcNode = lu[srcId], |
| 241 | dstNode = lu[dstId], |
Simon Hunt | 3a6eec0 | 2015-02-09 21:16:43 -0800 | [diff] [blame] | 242 | sMiss = !srcNode ? missMsg('src', srcId) : '', |
| 243 | dMiss = !dstNode ? missMsg('dst', dstId) : ''; |
| 244 | |
| 245 | if (sMiss || dMiss) { |
| 246 | $log.error('Node(s) not on map for link:' + sMiss + dMiss); |
| 247 | //logicError('Node(s) not on map for link:\n' + sMiss + dMiss); |
| 248 | return null; |
| 249 | } |
Steven Burrows | a3fca81 | 2016-10-14 15:11:04 -0500 | [diff] [blame] | 250 | |
Simon Hunt | 3a6eec0 | 2015-02-09 21:16:43 -0800 | [diff] [blame] | 251 | return { |
| 252 | source: srcNode, |
Simon Hunt | 5f36108 | 2015-02-25 11:36:38 -0800 | [diff] [blame] | 253 | target: dstNode |
Simon Hunt | 3a6eec0 | 2015-02-09 21:16:43 -0800 | [diff] [blame] | 254 | }; |
| 255 | } |
| 256 | |
| 257 | function missMsg(what, id) { |
| 258 | return '\n[' + what + '] "' + id + '" missing'; |
| 259 | } |
| 260 | |
Simon Hunt | dc6adea | 2015-02-09 22:29:36 -0800 | [diff] [blame] | 261 | |
| 262 | function makeNodeKey(d, what) { |
| 263 | var port = what + 'Port'; |
| 264 | return d[what] + '/' + d[port]; |
| 265 | } |
| 266 | |
| 267 | function makeLinkKey(d, flipped) { |
| 268 | var one = flipped ? makeNodeKey(d, 'dst') : makeNodeKey(d, 'src'), |
| 269 | two = flipped ? makeNodeKey(d, 'src') : makeNodeKey(d, 'dst'); |
| 270 | return one + '-' + two; |
| 271 | } |
| 272 | |
| 273 | function findLinkById(id) { |
| 274 | // check to see if this is a reverse lookup, else default to given id |
| 275 | var key = rlk[id] || id; |
| 276 | return key && lu[key]; |
| 277 | } |
| 278 | |
| 279 | function findLink(linkData, op) { |
| 280 | var key = makeLinkKey(linkData), |
| 281 | keyrev = makeLinkKey(linkData, 1), |
| 282 | link = lu[key], |
| 283 | linkRev = lu[keyrev], |
| 284 | result = {}, |
| 285 | ldata = link || linkRev, |
| 286 | rawLink; |
| 287 | |
| 288 | if (op === 'add') { |
| 289 | if (link) { |
| 290 | // trying to add a link that we already know about |
| 291 | result.ldata = link; |
| 292 | result.badLogic = 'addLink: link already added'; |
| 293 | |
| 294 | } else if (linkRev) { |
| 295 | // we found the reverse of the link to be added |
| 296 | result.ldata = linkRev; |
| 297 | if (linkRev.fromTarget) { |
| 298 | result.badLogic = 'addLink: link already added'; |
| 299 | } |
| 300 | } |
| 301 | } else if (op === 'update') { |
| 302 | if (!ldata) { |
| 303 | result.badLogic = 'updateLink: link not found'; |
| 304 | } else { |
| 305 | rawLink = link ? ldata.fromSource : ldata.fromTarget; |
| 306 | result.updateWith = function (data) { |
| 307 | angular.extend(rawLink, data); |
| 308 | api.restyleLinkElement(ldata); |
| 309 | } |
| 310 | } |
| 311 | } else if (op === 'remove') { |
| 312 | if (!ldata) { |
| 313 | result.badLogic = 'removeLink: link not found'; |
| 314 | } else { |
| 315 | rawLink = link ? ldata.fromSource : ldata.fromTarget; |
| 316 | |
| 317 | if (!rawLink) { |
| 318 | result.badLogic = 'removeLink: link not found'; |
| 319 | |
| 320 | } else { |
| 321 | result.removeRawLink = function () { |
Bri Prebilic Cole | aeeb33e | 2015-07-09 15:15:54 -0700 | [diff] [blame] | 322 | // remove link out of aggregate linksByDevice list |
| 323 | var linksForDevPair = linksByDevice[ldata.devicePair], |
| 324 | rmvIdx = fs.find(ldata.key, linksForDevPair, 'key'); |
Bri Prebilic Cole | 8040176 | 2015-07-16 11:36:18 -0700 | [diff] [blame] | 325 | if (rmvIdx >= 0) { |
| 326 | linksForDevPair.splice(rmvIdx, 1); |
| 327 | } |
| 328 | ldata.position.multilink = linksForDevPair.length >= 5; |
Bri Prebilic Cole | aeeb33e | 2015-07-09 15:15:54 -0700 | [diff] [blame] | 329 | |
Simon Hunt | dc6adea | 2015-02-09 22:29:36 -0800 | [diff] [blame] | 330 | if (link) { |
| 331 | // remove fromSource |
| 332 | ldata.fromSource = null; |
| 333 | if (ldata.fromTarget) { |
| 334 | // promote target into source position |
| 335 | ldata.fromSource = ldata.fromTarget; |
| 336 | ldata.fromTarget = null; |
| 337 | ldata.key = keyrev; |
| 338 | delete lu[key]; |
| 339 | lu[keyrev] = ldata; |
| 340 | delete rlk[keyrev]; |
| 341 | } |
| 342 | } else { |
| 343 | // remove fromTarget |
| 344 | ldata.fromTarget = null; |
| 345 | delete rlk[keyrev]; |
| 346 | } |
| 347 | if (ldata.fromSource) { |
| 348 | api.restyleLinkElement(ldata); |
| 349 | } else { |
| 350 | api.removeLinkElement(ldata); |
| 351 | } |
| 352 | } |
| 353 | } |
| 354 | } |
| 355 | } |
| 356 | return result; |
| 357 | } |
| 358 | |
| 359 | function findDevices(offlineOnly) { |
| 360 | var a = []; |
| 361 | nodes.forEach(function (d) { |
| 362 | if (d.class === 'device' && !(offlineOnly && d.online)) { |
| 363 | a.push(d); |
| 364 | } |
| 365 | }); |
| 366 | return a; |
| 367 | } |
| 368 | |
| 369 | function findAttachedHosts(devId) { |
| 370 | var hosts = []; |
| 371 | nodes.forEach(function (d) { |
| 372 | if (d.class === 'host' && d.cp.device === devId) { |
| 373 | hosts.push(d); |
| 374 | } |
| 375 | }); |
| 376 | return hosts; |
| 377 | } |
| 378 | |
| 379 | function findAttachedLinks(devId) { |
Simon Hunt | 86b7c88 | 2015-04-02 23:06:08 -0700 | [diff] [blame] | 380 | var lnks = []; |
Simon Hunt | dc6adea | 2015-02-09 22:29:36 -0800 | [diff] [blame] | 381 | links.forEach(function (d) { |
| 382 | if (d.source.id === devId || d.target.id === devId) { |
Simon Hunt | 86b7c88 | 2015-04-02 23:06:08 -0700 | [diff] [blame] | 383 | lnks.push(d); |
Simon Hunt | dc6adea | 2015-02-09 22:29:36 -0800 | [diff] [blame] | 384 | } |
| 385 | }); |
Simon Hunt | 86b7c88 | 2015-04-02 23:06:08 -0700 | [diff] [blame] | 386 | return lnks; |
Simon Hunt | dc6adea | 2015-02-09 22:29:36 -0800 | [diff] [blame] | 387 | } |
| 388 | |
Simon Hunt | 86b7c88 | 2015-04-02 23:06:08 -0700 | [diff] [blame] | 389 | // returns one-way links or where the internal link types differ |
| 390 | function findBadLinks() { |
| 391 | var lnks = [], |
| 392 | src, tgt; |
| 393 | links.forEach(function (d) { |
| 394 | // NOTE: skip edge links, which are synthesized |
| 395 | if (d.type() !== 'hostLink') { |
| 396 | delete d.bad; |
| 397 | src = d.fromSource; |
| 398 | tgt = d.fromTarget; |
| 399 | if (src && !tgt) { |
| 400 | d.bad = 'missing link'; |
| 401 | } else if (src.type !== tgt.type) { |
| 402 | d.bad = 'type mismatch'; |
| 403 | } |
| 404 | if (d.bad) { |
| 405 | lnks.push(d); |
| 406 | } |
| 407 | } |
| 408 | }); |
| 409 | return lnks; |
| 410 | } |
Simon Hunt | dc6adea | 2015-02-09 22:29:36 -0800 | [diff] [blame] | 411 | |
Simon Hunt | 3a6eec0 | 2015-02-09 21:16:43 -0800 | [diff] [blame] | 412 | // ========================== |
| 413 | // Module definition |
| 414 | |
| 415 | angular.module('ovTopo') |
Simon Hunt | 75ec969 | 2015-02-11 16:40:36 -0800 | [diff] [blame] | 416 | .factory('TopoModelService', |
Simon Hunt | 3a6eec0 | 2015-02-09 21:16:43 -0800 | [diff] [blame] | 417 | ['$log', 'FnService', 'RandomService', |
| 418 | |
| 419 | function (_$log_, _fs_, _rnd_) { |
| 420 | $log = _$log_; |
| 421 | fs = _fs_; |
| 422 | rnd = _rnd_; |
| 423 | |
| 424 | function initModel(_api_, _dim_) { |
| 425 | api = _api_; |
| 426 | dim = _dim_; |
Simon Hunt | dc6adea | 2015-02-09 22:29:36 -0800 | [diff] [blame] | 427 | lu = api.network.lookup; |
| 428 | rlk = api.network.revLinkToKey; |
| 429 | nodes = api.network.nodes; |
| 430 | links = api.network.links; |
Bri Prebilic Cole | aeeb33e | 2015-07-09 15:15:54 -0700 | [diff] [blame] | 431 | linksByDevice = api.network.linksByDevice; |
Simon Hunt | 3a6eec0 | 2015-02-09 21:16:43 -0800 | [diff] [blame] | 432 | } |
| 433 | |
| 434 | function newDim(_dim_) { |
| 435 | dim = _dim_; |
| 436 | } |
| 437 | |
Simon Hunt | f542d84 | 2015-02-11 16:20:33 -0800 | [diff] [blame] | 438 | function destroyModel() { } |
| 439 | |
Simon Hunt | 3a6eec0 | 2015-02-09 21:16:43 -0800 | [diff] [blame] | 440 | return { |
| 441 | initModel: initModel, |
| 442 | newDim: newDim, |
Simon Hunt | f542d84 | 2015-02-11 16:20:33 -0800 | [diff] [blame] | 443 | destroyModel: destroyModel, |
Simon Hunt | 3a6eec0 | 2015-02-09 21:16:43 -0800 | [diff] [blame] | 444 | |
| 445 | positionNode: positionNode, |
Simon Hunt | fd7106c | 2016-02-09 15:05:26 -0800 | [diff] [blame] | 446 | resetAllLocations: resetAllLocations, |
Simon Hunt | 3a6eec0 | 2015-02-09 21:16:43 -0800 | [diff] [blame] | 447 | createDeviceNode: createDeviceNode, |
| 448 | createHostNode: createHostNode, |
| 449 | createHostLink: createHostLink, |
| 450 | createLink: createLink, |
| 451 | coordFromLngLat: coordFromLngLat, |
| 452 | lngLatFromCoord: lngLatFromCoord, |
Simon Hunt | dc6adea | 2015-02-09 22:29:36 -0800 | [diff] [blame] | 453 | findLink: findLink, |
| 454 | findLinkById: findLinkById, |
| 455 | findDevices: findDevices, |
| 456 | findAttachedHosts: findAttachedHosts, |
Simon Hunt | 86b7c88 | 2015-04-02 23:06:08 -0700 | [diff] [blame] | 457 | findAttachedLinks: findAttachedLinks, |
| 458 | findBadLinks: findBadLinks |
Simon Hunt | 3a6eec0 | 2015-02-09 21:16:43 -0800 | [diff] [blame] | 459 | } |
| 460 | }]); |
| 461 | }()); |