diff --git a/grpc-zpages/docker/static-assets/dist_channelz/3rdpartylicenses.txt b/grpc-zpages/docker/static-assets/dist_channelz/3rdpartylicenses.txt index 66dafd8..6936229 100644 --- a/grpc-zpages/docker/static-assets/dist_channelz/3rdpartylicenses.txt +++ b/grpc-zpages/docker/static-assets/dist_channelz/3rdpartylicenses.txt @@ -42,4 +42,317 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. \ No newline at end of file +THE SOFTWARE. + +style-loader@0.21.0 +MIT +Copyright JS Foundation and other contributors + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +@angular/common@6.0.3 +MIT +MIT + +@angular/compiler@6.0.3 +MIT +MIT + +@angular/core@6.0.3 +MIT +MIT + +@angular/forms@6.0.3 +MIT +MIT + +@angular/platform-browser-dynamic@6.0.3 +MIT +MIT + +@angular/platform-browser@6.0.3 +MIT +MIT + +@angular/router@6.0.3 +MIT +MIT + +rxjs@6.2.0 +Apache-2.0 +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright (c) 2015-2018 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors + + 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. + +tslib@1.9.0 +Apache-2.0 +Apache License + +Version 2.0, January 2004 + +http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + +"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + +"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + +"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + +"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + +"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + +"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + +"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + +"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + +"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + +"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + +You must give any other recipients of the Work or Derivative Works a copy of this License; and + +You must cause any modified files to carry prominent notices stating that You changed the files; and + +You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + +If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS \ No newline at end of file diff --git a/grpc-zpages/docker/static-assets/dist_channelz/index.html b/grpc-zpages/docker/static-assets/dist_channelz/index.html index 3d6af81..ec1347a 100644 --- a/grpc-zpages/docker/static-assets/dist_channelz/index.html +++ b/grpc-zpages/docker/static-assets/dist_channelz/index.html @@ -5,9 +5,8 @@ Channelz - - + - + diff --git a/grpc-zpages/docker/static-assets/dist_channelz/main.6741e11471c85e8e1ba2.js b/grpc-zpages/docker/static-assets/dist_channelz/main.6741e11471c85e8e1ba2.js deleted file mode 100644 index 3155523..0000000 --- a/grpc-zpages/docker/static-assets/dist_channelz/main.6741e11471c85e8e1ba2.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{3:function(t,e,n){t.exports=n("zUnb")},crnd:function(t,e){function n(t){return Promise.resolve().then(function(){var e=new Error('Cannot find module "'+t+'".');throw e.code="MODULE_NOT_FOUND",e})}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id="crnd"},zUnb:function(t,e,n){"use strict";n.r(e);var r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};function o(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var i=Object.assign||function(t){for(var e,n=1,r=arguments.length;n=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}function u(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),l=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)l.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return l}function a(){for(var t=[],e=0;e0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(q);function Y(t){return t}function X(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),$(Y,t)}var tt=function(t){function e(){var n=t.call(this,"object unsubscribed")||this;return n.name="ObjectUnsubscribedError",Object.setPrototypeOf(n,e.prototype),n}return o(e,t),e}(Error),et=function(t){function e(e,n){var r=t.call(this)||this;return r.subject=e,r.subscriber=n,r.closed=!1,r}return o(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},e}(w),nt=function(t){function e(e){var n=t.call(this,e)||this;return n.destination=e,n}return o(e,t),e}(k),rt=function(t){function e(){var e=t.call(this)||this;return e.observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return o(e,t),e.prototype[S]=function(){return new nt(this)},e.prototype.lift=function(t){var e=new ot(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new tt;if(!this.isStopped)for(var e=this.observers,n=e.length,r=e.slice(),o=0;o1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},e}(k),at=function(t){function e(e,n){var r=t.call(this)||this;return r.source=e,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return o(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new w).add(this.source.subscribe(new ct(this.getSubject(),this))),t.closed?(this._connection=null,t=w.EMPTY):this._connection=t),t},e.prototype.refCount=function(){return it()(this)},e}(O).prototype,st={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:at._subscribe},_isComplete:{value:at._isComplete,writable:!0},getSubject:{value:at.getSubject},connect:{value:at.connect},refCount:{value:at.refCount}},ct=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return o(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(nt);function pt(){return new rt}function ht(t){return{providedIn:t.providedIn||null,factory:t.factory,value:void 0}}var ft=function(){function t(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0!==e?ht({providedIn:e.providedIn||"root",factory:e.factory}):void 0}return t.prototype.toString=function(){return"InjectionToken "+this._desc},t}(),dt="__parameters__";function gt(t,e,n){var r=function(t){return function(){for(var e=[],n=0;n ");else if("object"==typeof e){var o=[];for(var i in e)if(e.hasOwnProperty(i)){var l=e[i];o.push(i+":"+("string"==typeof l?JSON.stringify(l):Et(l)))}r="{"+o.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+r+"]: "+t.replace(Gt,"\n ")}function Qt(t,e){return new Error($t(t,e))}var Jt=void 0;function Yt(t){var e=Jt;return Jt=t,e}String;var Xt=function(t){return t[t.Emulated=0]="Emulated",t[t.Native=1]="Native",t[t.None=2]="None",t}({}),te=new function(t){this.full="6.0.3",this.major="6.0.3".split(".")[0],this.minor="6.0.3".split(".")[1],this.patch="6.0.3".split(".").slice(2).join(".")}("6.0.3"),ee="ngDebugContext",ne="ngOriginalError",re="ngErrorLogger";function oe(t){return t[ee]}function ie(t){return t[ne]}function le(t){for(var e=[],n=1;n0&&(o=setTimeout(function(){r._callbacks=r._callbacks.filter(function(t){return t.timeoutId!==o}),t(r._didWork,r.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:o,updateCb:n})},t.prototype.whenStable=function(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()},t.prototype.getPendingRequestCount=function(){return this._pendingCount},t.prototype.findProviders=function(t,e,n){return[]},t}(),Ze=function(){function t(){this._applications=new Map,$e.addToWindow(this)}return t.prototype.registerApplication=function(t,e){this._applications.set(t,e)},t.prototype.unregisterApplication=function(t){this._applications.delete(t)},t.prototype.unregisterAllApplications=function(){this._applications.clear()},t.prototype.getTestability=function(t){return this._applications.get(t)||null},t.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},t.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},t.prototype.findTestabilityInTree=function(t,e){return void 0===e&&(e=!0),$e.findTestabilityInTree(this,t,e)},t.ctorParameters=function(){return[]},t}(),$e=new(function(){function t(){}return t.prototype.addToWindow=function(t){},t.prototype.findTestabilityInTree=function(t,e,n){return null},t}()),Qe=!0,Je=!1,Ye=new ft("AllowMultipleToken");function Xe(){return Je=!0,Qe}var tn=function(t,e){this.name=t,this.token=e};function en(t,e,n){void 0===n&&(n=[]);var r="Platform: "+e,o=new ft(r);return function(e){void 0===e&&(e=[]);var i=nn();if(!i||i.injector.get(Ye,!1))if(t)t(n.concat(e).concat({provide:o,useValue:!0}));else{var l=n.concat(e).concat({provide:o,useValue:!0});!function(t){if(Ge&&!Ge.destroyed&&!Ge.injector.get(Ye,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Ge=t.get(rn);var e=t.get(ve,null);e&&e.forEach(function(t){return t()})}(jt.create({providers:l,name:r}))}return function(t){var e=nn();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(o)}}function nn(){return Ge&&!Ge.destroyed?Ge:null}var rn=function(){function t(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return t.prototype.bootstrapModuleFactory=function(t,e){var n,r=this,o="noop"===(n=e?e.ngZone:void 0)?new Ke:("zone.js"===n?void 0:n)||new Ue({enableLongStackTrace:Xe()}),i=[{provide:Ue,useValue:o}];return o.run(function(){var e=jt.create({providers:i,parent:r.injector,name:t.moduleType.name}),n=t.create(e),l=n.injector.get(ue,null);if(!l)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy(function(){return un(r._modules,n)}),o.runOutsideAngular(function(){return o.onError.subscribe({next:function(t){l.handleError(t)}})}),function(t,e,o){try{var i=((l=n.injector.get(he)).runInitializers(),l.donePromise.then(function(){return r._moduleDoBootstrap(n),n}));return se(i)?i.catch(function(n){throw e.runOutsideAngular(function(){return t.handleError(n)}),n}):i}catch(n){throw e.runOutsideAngular(function(){return t.handleError(n)}),n}var l}(l,o)})},t.prototype.bootstrapModule=function(t,e){var n=this;void 0===e&&(e=[]);var r=this.injector.get(Ce),o=on({},e);return r.createCompiler([o]).compileModuleAsync(t).then(function(t){return n.bootstrapModuleFactory(t,o)})},t.prototype._moduleDoBootstrap=function(t){var e=t.injector.get(ln);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(function(t){return e.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+Et(t.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');t.instance.ngDoBootstrap(e)}this._modules.push(t)},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},Object.defineProperty(t.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(t){return t.destroy()}),this._destroyListeners.forEach(function(t){return t()}),this._destroyed=!0},Object.defineProperty(t.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),t}();function on(t,e){return Array.isArray(e)?e.reduce(on,t):i({},t,e)}var ln=function(){function t(t,e,n,r,o,i){var l=this;this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=o,this._initStatus=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Xe(),this._zone.onMicrotaskEmpty.subscribe({next:function(){l._zone.run(function(){l.tick()})}});var u=new O(function(t){l._stable=l._zone.isStable&&!l._zone.hasPendingMacrotasks&&!l._zone.hasPendingMicrotasks,l._zone.runOutsideAngular(function(){t.next(l._stable),t.complete()})}),a=new O(function(t){var e;l._zone.runOutsideAngular(function(){e=l._zone.onStable.subscribe(function(){Ue.assertNotInAngularZone(),kt(function(){l._stable||l._zone.hasPendingMacrotasks||l._zone.hasPendingMicrotasks||(l._stable=!0,t.next(!0))})})});var n=l._zone.onUnstable.subscribe(function(){Ue.assertInAngularZone(),l._stable&&(l._stable=!1,l._zone.runOutsideAngular(function(){t.next(!1)}))});return function(){e.unsubscribe(),n.unsubscribe()}});this.isStable=function(){for(var t=[],e=0;e1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof o&&(n=t.pop()),null===r&&1===t.length&&t[0]instanceof O?t[0]:X(n)(W(t,r))}(u,a.pipe(function(t){return it()((e=pt,function(t){var n;n="function"==typeof e?e:function(){return e};var r=Object.create(t,st);return r.source=t,r.subjectFactory=n,r})(t));var e}))}return t.prototype.bootstrap=function(t,e){var n,r=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=t instanceof Se?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);var o=n instanceof Pe?null:this._injector.get(Re),i=n.create(jt.NULL,[],e||n.selector,o);i.onDestroy(function(){r._unloadComponent(i)});var l=i.injector.get(We,null);return l&&i.injector.get(Ze).registerApplication(i.location.nativeElement,l),this._loadComponent(i),Xe()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),i},t.prototype.tick=function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=t._tickScope();try{this._runningTick=!0,this._views.forEach(function(t){return t.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(t){return t.checkNoChanges()})}catch(t){this._zone.runOutsideAngular(function(){return e._exceptionHandler.handleError(t)})}finally{this._runningTick=!1,je(n)}},t.prototype.attachView=function(t){var e=t;this._views.push(e),e.attachToAppRef(this)},t.prototype.detachView=function(t){var e=t;un(this._views,e),e.detachFromAppRef()},t.prototype._loadComponent=function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(me,[]).concat(this._bootstrapListeners).forEach(function(e){return e(t)})},t.prototype._unloadComponent=function(t){this.detachView(t.hostView),un(this.components,t)},t.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(t){return t.destroy()})},Object.defineProperty(t.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),t._tickScope=Me("ApplicationRef#tick()"),t}();function un(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var an=function(){},sn=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({}),cn=function(){},pn=function(t){this.nativeElement=t},hn=function(){},fn=function(){function t(){this.dirty=!0,this._results=[],this.changes=new Le,this.length=0}return t.prototype.map=function(t){return this._results.map(t)},t.prototype.filter=function(t){return this._results.filter(t)},t.prototype.find=function(t){return this._results.find(t)},t.prototype.reduce=function(t,e){return this._results.reduce(t,e)},t.prototype.forEach=function(t){this._results.forEach(t)},t.prototype.some=function(t){return this._results.some(t)},t.prototype.toArray=function(){return this._results.slice()},t.prototype[St()]=function(){return this._results[St()]()},t.prototype.toString=function(){return this._results.toString()},t.prototype.reset=function(t){this._results=function t(e){return e.reduce(function(e,n){var r=Array.isArray(n)?t(n):n;return e.concat(r)},[])}(t),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},t.prototype.notifyOnChanges=function(){this.changes.emit(this)},t.prototype.setDirty=function(){this.dirty=!0},t.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},t}(),dn=function(){},gn={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},vn=function(){function t(t,e){this._compiler=t,this._config=e||gn}return t.prototype.load=function(t){return this._compiler instanceof we?this.loadFactory(t):this.loadAndCompile(t)},t.prototype.loadAndCompile=function(t){var e=this,r=u(t.split("#"),2),o=r[0],i=r[1];return void 0===i&&(i="default"),n("crnd")(o).then(function(t){return t[i]}).then(function(t){return yn(t,o,i)}).then(function(t){return e._compiler.compileModuleAsync(t)})},t.prototype.loadFactory=function(t){var e=u(t.split("#"),2),r=e[0],o=e[1],i="NgFactory";return void 0===o&&(o="default",i=""),n("crnd")(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then(function(t){return t[o+i]}).then(function(t){return yn(t,r,o)})},t}();function yn(t,e,n){if(!t)throw new Error("Cannot find '"+n+"' in '"+e+"'");return t}var mn=function(){},bn=function(){},_n=function(){},wn=function(){function t(t,e,n){this._debugContext=n,this.nativeNode=t,e&&e instanceof Cn?e.addChild(this):this.parent=null,this.listeners=[]}return Object.defineProperty(t.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),t}(),Cn=function(t){function e(e,n,r){var o=t.call(this,e,n,r)||this;return o.properties={},o.attributes={},o.classes={},o.styles={},o.childNodes=[],o.nativeElement=e,o}return o(e,t),e.prototype.addChild=function(t){t&&(this.childNodes.push(t),t.parent=this)},e.prototype.removeChild=function(t){var e=this.childNodes.indexOf(t);-1!==e&&(t.parent=null,this.childNodes.splice(e,1))},e.prototype.insertChildrenAfter=function(t,e){var n,r=this,o=this.childNodes.indexOf(t);-1!==o&&((n=this.childNodes).splice.apply(n,a([o+1,0],e)),e.forEach(function(t){t.parent&&t.parent.removeChild(t),t.parent=r}))},e.prototype.insertBefore=function(t,e){var n=this.childNodes.indexOf(t);-1===n?this.addChild(e):(e.parent&&e.parent.removeChild(e),e.parent=this,this.childNodes.splice(n,0,e))},e.prototype.query=function(t){return this.queryAll(t)[0]||null},e.prototype.queryAll=function(t){var e=[];return function t(e,n,r){e.childNodes.forEach(function(e){e instanceof Cn&&(n(e)&&r.push(e),t(e,n,r))})}(this,t,e),e},e.prototype.queryAllNodes=function(t){var e=[];return function t(e,n,r){e instanceof Cn&&e.childNodes.forEach(function(e){n(e)&&r.push(e),e instanceof Cn&&t(e,n,r)})}(this,t,e),e},Object.defineProperty(e.prototype,"children",{get:function(){return this.childNodes.filter(function(t){return t instanceof e})},enumerable:!0,configurable:!0}),e.prototype.triggerEventHandler=function(t,e){this.listeners.forEach(function(n){n.name==t&&n.callback(e)})},e}(wn),Sn=new Map;function kn(t){return Sn.get(t)||null}function xn(t){Sn.set(t.nativeNode,t)}function En(t,e){var n=An(t),r=An(e);return n&&r?function(t,e,n){for(var r=t[St()](),o=e[St()]();;){var i=r.next(),l=o.next();if(i.done&&l.done)return!0;if(i.done||l.done)return!1;if(!n(i.value,l.value))return!1}}(t,e,En):!(n||!t||"object"!=typeof t&&"function"!=typeof t||r||!e||"object"!=typeof e&&"function"!=typeof e)||xt(t,e)}var Tn=function(){function t(t){this.wrapped=t}return t.wrap=function(e){return new t(e)},t.unwrap=function(e){return t.isWrapped(e)?e.wrapped:e},t.isWrapped=function(e){return e instanceof t},t}(),In=function(){function t(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}return t.prototype.isFirstChange=function(){return this.firstChange},t}();function An(t){return!!On(t)&&(Array.isArray(t)||!(t instanceof Map)&&St()in t)}function On(t){return null!==t&&("function"==typeof t||"object"==typeof t)}var Pn=function(){function t(){}return t.prototype.supports=function(t){return An(t)},t.prototype.create=function(t){return new Nn(t)},t}(),Rn=function(t,e){return e},Nn=function(){function t(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||Rn}return t.prototype.forEachItem=function(t){var e;for(e=this._itHead;null!==e;e=e._next)t(e)},t.prototype.forEachOperation=function(t){for(var e=this._itHead,n=this._removalsHead,r=0,o=null;e||n;){var i=!n||e&&e.currentIndex',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='

',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(t){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return t.prototype.getInertBodyElement_XHR=function(t){t=""+t+"";try{t=encodeURI(t)}catch(t){return null}var e=new XMLHttpRequest;e.responseType="document",e.open("GET","data:text/html;charset=utf-8,"+t,!1),e.send(null);var n=e.response.body;return n.removeChild(n.firstChild),n},t.prototype.getInertBodyElement_DOMParser=function(t){t=""+t+"";try{var e=(new window.DOMParser).parseFromString(t,"text/html").body;return e.removeChild(e.firstChild),e}catch(t){return null}},t.prototype.getInertBodyElement_InertDocument=function(t){var e=this.inertDocument.createElement("template");return"content"in e?(e.innerHTML=t,e):(this.inertBodyElement.innerHTML=t,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},t.prototype.stripCustomNsAttrs=function(t){for(var e=t.attributes,n=e.length-1;0")}else this.sanitizedSomething=!0},t.prototype.endElement=function(t){var e=t.nodeName.toLowerCase();sr.hasOwnProperty(e)&&!ir.hasOwnProperty(e)&&(this.buf.push(""))},t.prototype.chars=function(t){this.buf.push(vr(t))},t.prototype.checkClobberedElement=function(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+t.outerHTML);return e},t}(),dr=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,gr=/([^\#-~ |!])/g;function vr(t){return t.replace(/&/g,"&").replace(dr,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(gr,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}function yr(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var mr=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),br=/^url\(([^)]+)\)$/,_r=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}({}),wr=function(){};function Cr(t,e,n){var r=t.state,o=1792&r;return o===e?(t.state=-1793&r|n,t.initIndex=-1,!0):o===n}function Sr(t,e,n){return(1792&t.state)===e&&t.initIndex<=n&&(t.initIndex=n+1,!0)}function kr(t,e){return t.nodes[e]}function xr(t,e){return t.nodes[e]}function Er(t,e){return t.nodes[e]}function Tr(t,e){return t.nodes[e]}function Ir(t,e){return t.nodes[e]}var Ar={setCurrentNode:void 0,createRootView:void 0,createEmbeddedView:void 0,createComponentView:void 0,createNgModuleRef:void 0,overrideProvider:void 0,overrideComponentView:void 0,clearOverrides:void 0,checkAndUpdateView:void 0,checkNoChangesView:void 0,destroyView:void 0,resolveDep:void 0,createDebugContext:void 0,handleEvent:void 0,updateDirectives:void 0,updateRenderer:void 0,dirtyParentQueries:void 0};function Or(t,e,n,r){var o="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+e+"'. Current value: '"+n+"'.";return r&&(o+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function(t,e){var n=new Error(t);return Pr(n,e),n}(o,t)}function Pr(t,e){t[ee]=e,t[re]=e.logError.bind(e)}function Rr(t){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+t)}var Nr=function(){},Vr=new Map;function Dr(t){var e=Vr.get(t);return e||(e=Et(t)+"_"+Vr.size,Vr.set(t,e)),e}function Mr(t,e,n,r){if(Tn.isWrapped(r)){r=Tn.unwrap(r);var o=t.def.nodes[e].bindingIndex+n,i=Tn.unwrap(t.oldValues[o]);t.oldValues[o]=new Tn(i)}return r}var jr="$$undefined",Lr="$$empty";function Ur(t){return{id:jr,styles:t.styles,encapsulation:t.encapsulation,data:t.data}}var zr=0;function Fr(t,e,n,r){return!(!(2&t.state)&&xt(t.oldValues[e.bindingIndex+n],r))}function Hr(t,e,n,r){return!!Fr(t,e,n,r)&&(t.oldValues[e.bindingIndex+n]=r,!0)}function qr(t,e,n,r){var o=t.oldValues[e.bindingIndex+n];if(1&t.state||!En(o,r)){var i=e.bindings[n].name;throw Or(Ar.createDebugContext(t,e.nodeIndex),i+": "+o,i+": "+r,0!=(1&t.state))}}function Br(t){for(var e=t;e;)2&e.def.flags&&(e.state|=8),e=e.viewContainerParent||e.parent}function Gr(t,e){for(var n=t;n&&n!==e;)n.state|=64,n=n.viewContainerParent||n.parent}function Kr(t,e,n,r){try{return Br(33554432&t.def.nodes[e].flags?xr(t,e).componentView:t),Ar.handleEvent(t,e,n,r)}catch(e){t.root.errorHandler.handleError(e)}}function Wr(t){return t.parent?xr(t.parent,t.parentNodeDef.nodeIndex):null}function Zr(t){return t.parent?t.parentNodeDef.parent:null}function $r(t,e){switch(201347067&e.flags){case 1:return xr(t,e.nodeIndex).renderElement;case 2:return kr(t,e.nodeIndex).renderText}}function Qr(t){return!!t.parent&&!!(32768&t.parentNodeDef.flags)}function Jr(t){return!(!t.parent||32768&t.parentNodeDef.flags)}function Yr(t){return 1<-1}(r)||"root"===o.providedIn&&r._def.isRoot))){var s=t._providers.length;return t._def.providersByKey[e.tokenKey]={flags:5120,value:e.token.ngInjectableDef.factory,deps:[],index:s,token:e.token},t._providers[s]=wo,t._providers[s]=To(t,t._def.providersByKey[e.tokenKey])}return t._parent.get(e.token,n)}finally{Yt(i)}}function To(t,e){var n;switch(201347067&e.flags){case 512:n=function(t,e,n){var r=n.length;switch(r){case 0:return new e;case 1:return new e(Eo(t,n[0]));case 2:return new e(Eo(t,n[0]),Eo(t,n[1]));case 3:return new e(Eo(t,n[0]),Eo(t,n[1]),Eo(t,n[2]));default:for(var o=new Array(r),i=0;i=n.length)&&(e=n.length-1),e<0)return null;var r=n[e];return r.viewContainerParent=null,Ro(n,e),Ar.dirtyParentQueries(r),Oo(r),r}function Ao(t,e,n){var r=e?$r(e,e.def.lastRenderRootNode):t.renderElement;oo(n,2,n.renderer.parentNode(r),n.renderer.nextSibling(r),void 0)}function Oo(t){oo(t,3,null,null,void 0)}function Po(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Ro(t,e){e>=t.length-1?t.pop():t.splice(e,1)}var No=new Object;function Vo(t,e,n,r,o,i){return new Do(t,e,n,r,o,i)}var Do=function(t){function e(e,n,r,o,i,l){var u=t.call(this)||this;return u.selector=e,u.componentType=n,u._inputs=o,u._outputs=i,u.ngContentSelectors=l,u.viewDefFactory=r,u}return o(e,t),Object.defineProperty(e.prototype,"inputs",{get:function(){var t=[],e=this._inputs;for(var n in e)t.push({propName:n,templateName:e[n]});return t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputs",{get:function(){var t=[];for(var e in this._outputs)t.push({propName:e,templateName:this._outputs[e]});return t},enumerable:!0,configurable:!0}),e.prototype.create=function(t,e,n,r){if(!r)throw new Error("ngModule should be provided");var o=ro(this.viewDefFactory),i=o.nodes[0].element.componentProvider.nodeIndex,l=Ar.createRootView(t,e||[],n,o,r,No),u=Er(l,i).instance;return n&&l.renderer.setAttribute(xr(l,0).renderElement,"ng-version",te.full),new Mo(l,new zo(l),u)},e}(Se),Mo=function(t){function e(e,n,r){var o=t.call(this)||this;return o._view=e,o._viewRef=n,o._component=r,o._elDef=o._view.def.nodes[0],o.hostView=n,o.changeDetectorRef=n,o.instance=r,o}return o(e,t),Object.defineProperty(e.prototype,"location",{get:function(){return new pn(xr(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new Bo(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this._viewRef.destroy()},e.prototype.onDestroy=function(t){this._viewRef.onDestroy(t)},e}(function(){});function jo(t,e,n){return new Lo(t,e,n)}var Lo=function(){function t(t,e,n){this._view=t,this._elDef=e,this._data=n,this._embeddedViews=[]}return Object.defineProperty(t.prototype,"element",{get:function(){return new pn(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new Bo(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentInjector",{get:function(){for(var t=this._view,e=this._elDef.parent;!e&&t;)e=Zr(t),t=t.parent;return t?new Bo(t,e):new Bo(this._view,null)},enumerable:!0,configurable:!0}),t.prototype.clear=function(){for(var t=this._embeddedViews.length-1;t>=0;t--){var e=Io(this._data,t);Ar.destroyView(e)}},t.prototype.get=function(t){var e=this._embeddedViews[t];if(e){var n=new zo(e);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(t.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),t.prototype.createEmbeddedView=function(t,e,n){var r=t.createEmbeddedView(e||{});return this.insert(r,n),r},t.prototype.createComponent=function(t,e,n,r,o){var i=n||this.parentInjector;o||t instanceof Pe||(o=i.get(Re));var l=t.create(i,r,void 0,o);return this.insert(l.hostView,e),l},t.prototype.insert=function(t,e){if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n,r,o,i,l=t;return o=l._view,i=(n=this._data).viewContainer._embeddedViews,null!==(r=e)&&void 0!==r||(r=i.length),o.viewContainerParent=this._view,Po(i,r,o),function(t,e){var n=Wr(e);if(n&&n!==t&&!(16&e.state)){e.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(e),function(t,n){if(!(4&n.flags)){e.parent.def.nodeFlags|=4,n.flags|=4;for(var r=n.parent;r;)r.childFlags|=4,r=r.parent}}(0,e.parentNodeDef)}}(n,o),Ar.dirtyParentQueries(o),Ao(n,r>0?i[r-1]:null,o),l.attachToViewContainerRef(this),t},t.prototype.move=function(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n,r,o,i,l,u=this._embeddedViews.indexOf(t._view);return o=e,l=(i=(n=this._data).viewContainer._embeddedViews)[r=u],Ro(i,r),null==o&&(o=i.length),Po(i,o,l),Ar.dirtyParentQueries(l),Oo(l),Ao(n,o>0?i[o-1]:null,l),t},t.prototype.indexOf=function(t){return this._embeddedViews.indexOf(t._view)},t.prototype.remove=function(t){var e=Io(this._data,t);e&&Ar.destroyView(e)},t.prototype.detach=function(t){var e=Io(this._data,t);return e?new zo(e):null},t}();function Uo(t){return new zo(t)}var zo=function(){function t(t){this._view=t,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(t.prototype,"rootNodes",{get:function(){return oo(this._view,0,void 0,void 0,t=[]),t;var t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),t.prototype.markForCheck=function(){Br(this._view)},t.prototype.detach=function(){this._view.state&=-5},t.prototype.detectChanges=function(){var t=this._view.root.rendererFactory;t.begin&&t.begin();try{Ar.checkAndUpdateView(this._view)}finally{t.end&&t.end()}},t.prototype.checkNoChanges=function(){Ar.checkNoChangesView(this._view)},t.prototype.reattach=function(){this._view.state|=4},t.prototype.onDestroy=function(t){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(t)},t.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Ar.destroyView(this._view)},t.prototype.detachFromAppRef=function(){this._appRef=null,Oo(this._view),Ar.dirtyParentQueries(this._view)},t.prototype.attachToAppRef=function(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t},t.prototype.attachToViewContainerRef=function(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t},t}();function Fo(t,e){return new Ho(t,e)}var Ho=function(t){function e(e,n){var r=t.call(this)||this;return r._parentView=e,r._def=n,r}return o(e,t),e.prototype.createEmbeddedView=function(t){return new zo(Ar.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))},Object.defineProperty(e.prototype,"elementRef",{get:function(){return new pn(xr(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),e}(mn);function qo(t,e){return new Bo(t,e)}var Bo=function(){function t(t,e){this.view=t,this.elDef=e}return t.prototype.get=function(t,e){return void 0===e&&(e=jt.THROW_IF_NOT_FOUND),Ar.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:t,tokenKey:Dr(t)},e)},t}();function Go(t,e){var n=t.def.nodes[e];if(1&n.flags){var r=xr(t,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return kr(t,n.nodeIndex).renderText;if(20240&n.flags)return Er(t,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+e)}function Ko(t){return new Wo(t.renderer)}var Wo=function(){function t(t){this.delegate=t}return t.prototype.selectRootElement=function(t){return this.delegate.selectRootElement(t)},t.prototype.createElement=function(t,e){var n=u(co(e),2),r=this.delegate.createElement(n[1],n[0]);return t&&this.delegate.appendChild(t,r),r},t.prototype.createViewRoot=function(t){return t},t.prototype.createTemplateAnchor=function(t){var e=this.delegate.createComment("");return t&&this.delegate.appendChild(t,e),e},t.prototype.createText=function(t,e){var n=this.delegate.createText(e);return t&&this.delegate.appendChild(t,n),n},t.prototype.projectNodes=function(t,e){for(var n=0;n0,e.provider.value,e.provider.deps);if(e.outputs.length)for(var r=0;r0,r=e.provider;switch(201347067&e.flags){case 512:return fi(t,e.parent,n,r.value,r.deps);case 1024:return function(t,e,n,r,o){var i=o.length;switch(i){case 0:return r();case 1:return r(gi(t,e,n,o[0]));case 2:return r(gi(t,e,n,o[0]),gi(t,e,n,o[1]));case 3:return r(gi(t,e,n,o[0]),gi(t,e,n,o[1]),gi(t,e,n,o[2]));default:for(var l=Array(i),u=0;u0)s=g,Ri(g)||(c=g);else for(;s&&d===s.nodeIndex+s.childCount;){var m=s.parent;m&&(m.childFlags|=s.childFlags,m.childMatchedQueries|=s.childMatchedQueries),c=(s=m)&&Ri(s)?s.renderParent:s}}return{factory:null,nodeFlags:l,rootNodeFlags:u,nodeMatchedQueries:a,flags:t,nodes:e,updateDirectives:n||Nr,updateRenderer:r||Nr,handleEvent:function(t,n,r,o){return e[n].element.handleEvent(t,r,o)},bindingCount:o,outputCount:i,lastRenderRootNode:f}}function Ri(t){return 0!=(1&t.flags)&&null===t.element.name}function Ni(t,e,n){var r=e.element&&e.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+e.nodeIndex+"!")}if(20224&e.flags&&0==(1&(t?t.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+e.nodeIndex+"!");if(e.query){if(67108864&e.flags&&(!t||0==(16384&t.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+e.nodeIndex+"!");if(134217728&e.flags&&t)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+e.nodeIndex+"!")}if(e.childCount){var o=t?t.nodeIndex+t.childCount:n-1;if(e.nodeIndex<=o&&e.nodeIndex+e.childCount>o)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+e.nodeIndex+"!")}}function Vi(t,e,n,r){var o=ji(t.root,t.renderer,t,e,n);return Li(o,t.component,r),Ui(o),o}function Di(t,e,n){var r=ji(t,t.renderer,null,null,e);return Li(r,n,n),Ui(r),r}function Mi(t,e,n,r){var o,i=e.element.componentRendererType;return o=i?t.root.rendererFactory.createRenderer(r,i):t.root.renderer,ji(t.root,o,t,e.element.componentProvider,n)}function ji(t,e,n,r,o){var i=new Array(o.nodes.length),l=o.outputCount?new Array(o.outputCount):null;return{def:o,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:i,state:13,root:t,renderer:e,oldValues:new Array(o.bindingCount),disposables:l,initIndex:-1}}function Li(t,e,n){t.component=e,t.context=n}function Ui(t){var e;Qr(t)&&(e=xr(t.parent,t.parentNodeDef.parent.nodeIndex).renderElement);for(var n=t.def,r=t.nodes,o=0;o0&&_o(t,e,0,n)&&(f=!0),h>1&&_o(t,e,1,r)&&(f=!0),h>2&&_o(t,e,2,o)&&(f=!0),h>3&&_o(t,e,3,i)&&(f=!0),h>4&&_o(t,e,4,l)&&(f=!0),h>5&&_o(t,e,5,u)&&(f=!0),h>6&&_o(t,e,6,a)&&(f=!0),h>7&&_o(t,e,7,s)&&(f=!0),h>8&&_o(t,e,8,c)&&(f=!0),h>9&&_o(t,e,9,p)&&(f=!0),f}(t,e,n,r,o,i,l,u,a,s,c,p);case 2:return function(t,e,n,r,o,i,l,u,a,s,c,p){var h=!1,f=e.bindings,d=f.length;if(d>0&&Hr(t,e,0,n)&&(h=!0),d>1&&Hr(t,e,1,r)&&(h=!0),d>2&&Hr(t,e,2,o)&&(h=!0),d>3&&Hr(t,e,3,i)&&(h=!0),d>4&&Hr(t,e,4,l)&&(h=!0),d>5&&Hr(t,e,5,u)&&(h=!0),d>6&&Hr(t,e,6,a)&&(h=!0),d>7&&Hr(t,e,7,s)&&(h=!0),d>8&&Hr(t,e,8,c)&&(h=!0),d>9&&Hr(t,e,9,p)&&(h=!0),h){var g=e.text.prefix;d>0&&(g+=Oi(n,f[0])),d>1&&(g+=Oi(r,f[1])),d>2&&(g+=Oi(o,f[2])),d>3&&(g+=Oi(i,f[3])),d>4&&(g+=Oi(l,f[4])),d>5&&(g+=Oi(u,f[5])),d>6&&(g+=Oi(a,f[6])),d>7&&(g+=Oi(s,f[7])),d>8&&(g+=Oi(c,f[8])),d>9&&(g+=Oi(p,f[9]));var v=kr(t,e.nodeIndex).renderText;t.renderer.setValue(v,g)}return h}(t,e,n,r,o,i,l,u,a,s,c,p);case 16384:return function(t,e,n,r,o,i,l,u,a,s,c,p){var h=Er(t,e.nodeIndex),f=h.instance,d=!1,g=void 0,v=e.bindings.length;return v>0&&Fr(t,e,0,n)&&(d=!0,g=yi(t,h,e,0,n,g)),v>1&&Fr(t,e,1,r)&&(d=!0,g=yi(t,h,e,1,r,g)),v>2&&Fr(t,e,2,o)&&(d=!0,g=yi(t,h,e,2,o,g)),v>3&&Fr(t,e,3,i)&&(d=!0,g=yi(t,h,e,3,i,g)),v>4&&Fr(t,e,4,l)&&(d=!0,g=yi(t,h,e,4,l,g)),v>5&&Fr(t,e,5,u)&&(d=!0,g=yi(t,h,e,5,u,g)),v>6&&Fr(t,e,6,a)&&(d=!0,g=yi(t,h,e,6,a,g)),v>7&&Fr(t,e,7,s)&&(d=!0,g=yi(t,h,e,7,s,g)),v>8&&Fr(t,e,8,c)&&(d=!0,g=yi(t,h,e,8,c,g)),v>9&&Fr(t,e,9,p)&&(d=!0,g=yi(t,h,e,9,p,g)),g&&f.ngOnChanges(g),65536&e.flags&&Sr(t,256,e.nodeIndex)&&f.ngOnInit(),262144&e.flags&&f.ngDoCheck(),d}(t,e,n,r,o,i,l,u,a,s,c,p);case 32:case 64:case 128:return function(t,e,n,r,o,i,l,u,a,s,c,p){var h=e.bindings,f=!1,d=h.length;if(d>0&&Hr(t,e,0,n)&&(f=!0),d>1&&Hr(t,e,1,r)&&(f=!0),d>2&&Hr(t,e,2,o)&&(f=!0),d>3&&Hr(t,e,3,i)&&(f=!0),d>4&&Hr(t,e,4,l)&&(f=!0),d>5&&Hr(t,e,5,u)&&(f=!0),d>6&&Hr(t,e,6,a)&&(f=!0),d>7&&Hr(t,e,7,s)&&(f=!0),d>8&&Hr(t,e,8,c)&&(f=!0),d>9&&Hr(t,e,9,p)&&(f=!0),f){var g=Tr(t,e.nodeIndex),v=void 0;switch(201347067&e.flags){case 32:v=new Array(h.length),d>0&&(v[0]=n),d>1&&(v[1]=r),d>2&&(v[2]=o),d>3&&(v[3]=i),d>4&&(v[4]=l),d>5&&(v[5]=u),d>6&&(v[6]=a),d>7&&(v[7]=s),d>8&&(v[8]=c),d>9&&(v[9]=p);break;case 64:v={},d>0&&(v[h[0].name]=n),d>1&&(v[h[1].name]=r),d>2&&(v[h[2].name]=o),d>3&&(v[h[3].name]=i),d>4&&(v[h[4].name]=l),d>5&&(v[h[5].name]=u),d>6&&(v[h[6].name]=a),d>7&&(v[h[7].name]=s),d>8&&(v[h[8].name]=c),d>9&&(v[h[9].name]=p);break;case 128:var y=n;switch(d){case 1:v=y.transform(n);break;case 2:v=y.transform(r);break;case 3:v=y.transform(r,o);break;case 4:v=y.transform(r,o,i);break;case 5:v=y.transform(r,o,i,l);break;case 6:v=y.transform(r,o,i,l,u);break;case 7:v=y.transform(r,o,i,l,u,a);break;case 8:v=y.transform(r,o,i,l,u,a,s);break;case 9:v=y.transform(r,o,i,l,u,a,s,c);break;case 10:v=y.transform(r,o,i,l,u,a,s,c,p)}}g.value=v}return f}(t,e,n,r,o,i,l,u,a,s,c,p);default:throw"unreachable"}}(t,e,r,o,i,l,u,s,c,p,h,f):function(t,e,n){switch(201347067&e.flags){case 1:return function(t,e,n){for(var r=!1,o=0;o0&&qr(t,e,0,n),h>1&&qr(t,e,1,r),h>2&&qr(t,e,2,o),h>3&&qr(t,e,3,i),h>4&&qr(t,e,4,l),h>5&&qr(t,e,5,u),h>6&&qr(t,e,6,a),h>7&&qr(t,e,7,s),h>8&&qr(t,e,8,c),h>9&&qr(t,e,9,p)}(t,e,r,o,i,l,u,a,s,c,p,h):function(t,e,n){for(var r=0;r0){var i=new Set(t.modules);ul.forEach(function(e,r){if(i.has(r.ngInjectableDef.providedIn)){var o={token:r,flags:e.flags|(n?4096:0),deps:to(e.deps),value:e.value,index:t.providers.length};t.providers.push(o),t.providersByKey[Dr(r)]=o}})}}(t=t.factory(function(){return Nr})),t):t}(r))}var ll=new Map,ul=new Map,al=new Map;function sl(t){ll.set(t.token,t),"function"==typeof t.token&&t.token.ngInjectableDef&&"function"==typeof t.token.ngInjectableDef.providedIn&&ul.set(t.token,t)}function cl(t,e){var n=ro(ro(e.viewDefFactory).nodes[0].element.componentView);al.set(t,n)}function pl(){ll.clear(),ul.clear(),al.clear()}function hl(t){if(0===ll.size)return t;var e=function(t){for(var e=[],n=null,r=0;r=Zl.length?Zl[u]=null:d.tNode=Zl[u],Wl?($l=null,Kl.view!==ru&&2!==Kl.type||(ngDevMode&&zl(Kl.child,"previousOrParentNode's child should not have been set."),Kl.child=d)):Kl&&(ngDevMode&&zl(Kl.next,"previousOrParentNode's next property should not have been set "+u+"."),Kl.next=d,Kl.dynamicLContainerNode&&(Kl.dynamicLContainerNode.next=d))),Kl=d,Wl=!0,t=d,y=1),l=iu(t.data,t),e(y,n),uu(),pu()}finally{lu(l),Wl=g,Kl=v}return t}function pu(){for(var t=ru.child;null!==t;t=t.next)if(0!==t.dynamicViewCount&&t.views)for(var e=t,n=0;n"}(r))),ngDevMode&&Fl(o.data,"Component's host node should have an LView attached.");var i,l=o.data;8==(8&l.flags)&&6&l.flags&&(ngDevMode&&gu(t,Yl),du(l,o,ru.tView.directives[t],(i=Yl[t],Array.isArray(i)?i[0]:i)))}function fu(t){var e=vu(t);ngDevMode&&Fl(e.data,"Component host node should be attached to an LView"),du(e.data,e,e.view.tView.directives[e.tNode.flags>>13],t)}function du(t,e,n,r){var o=iu(t,e),i=n.template;try{i(1&t.flags?3:2,r),uu(),pu()}finally{lu(o)}}function gu(t,e){null==e&&(e=Jl),t>=(e?e.length:0)&&Hl("index expected to be a valid data index")}function vu(t){ngDevMode&&Fl(t,"expecting component got null");var e=t[tu];return ngDevMode&&Fl(t,"object is not a component"),e}o(function(t,e,n){var r=Xl.call(this,t.data,n)||this;return r._lViewNode=t,r},Xl=function(){function t(t,e){this._view=t,this.context=e}return t.prototype._setComponentContext=function(t,e){this._view=t,this.context=e},t.prototype.destroy=function(){},t.prototype.onDestroy=function(t){},t.prototype.markForCheck=function(){!function(t){for(var e=t;null!=e.parent;)e.flags|=4,e=e.parent;var n,r;e.flags|=4,ngDevMode&&Fl(e.context,"rootContext"),(n=e.context).clean==eu&&(n.clean=new Promise(function(t){return r=t}),n.scheduler(function(){var t,e;e=vu((t=function(t){ngDevMode&&Fl(t,"component");for(var e=vu(t).view;e.parent;)e=e.parent;return e}(n.component)).context.component),ngDevMode&&Fl(e.data,"Component host node should be attached to an LView"),function(n,r,o,i){var l=iu(t,e);try{Gl.begin&&Gl.begin(),su(),au(nu),hu(0,0)}finally{Gl.end&&Gl.end(),lu(l)}}(),r(null),n.clean=eu}))}(this._view)},t.prototype.detach=function(){this._view.flags&=-9},t.prototype.reattach=function(){this._view.flags|=8},t.prototype.detectChanges=function(){fu(this.context)},t.prototype.checkNoChanges=function(){!function(t){ou=!0;try{fu(t)}finally{ou=!1}}(this.context)},t}());var yu={production:!0,grpcRemoteAddr:window.location.origin},mu=function(){},bu=function(){this.title="Channelz"},_u=function(){},wu=new ft("Location Initialized"),Cu=function(){},Su=new ft("appBaseHref"),ku=function(){function t(e){var n=this;this._subject=new Le,this._platformStrategy=e;var r=this._platformStrategy.getBaseHref();this._baseHref=t.stripTrailingSlash(xu(r)),this._platformStrategy.onPopState(function(t){n._subject.emit({url:n.path(!0),pop:!0,state:t.state,type:t.type})})}return t.prototype.path=function(t){return void 0===t&&(t=!1),this.normalize(this._platformStrategy.path(t))},t.prototype.isCurrentPathEqualTo=function(e,n){return void 0===n&&(n=""),this.path()==this.normalize(e+t.normalizeQueryParams(n))},t.prototype.normalize=function(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,xu(e)))},t.prototype.prepareExternalUrl=function(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)},t.prototype.go=function(t,e,n){void 0===e&&(e=""),void 0===n&&(n=null),this._platformStrategy.pushState(n,"",t,e)},t.prototype.replaceState=function(t,e,n){void 0===e&&(e=""),void 0===n&&(n=null),this._platformStrategy.replaceState(n,"",t,e)},t.prototype.forward=function(){this._platformStrategy.forward()},t.prototype.back=function(){this._platformStrategy.back()},t.prototype.subscribe=function(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})},t.normalizeQueryParams=function(t){return t&&"?"!==t[0]?"?"+t:t},t.joinWithSlash=function(t,e){if(0==t.length)return e;if(0==e.length)return t;var n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e},t.stripTrailingSlash=function(t){var e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)},t}();function xu(t){return t.replace(/\/index.html$/,"")}var Eu=function(t){function e(e,n){var r=t.call(this)||this;return r._platformLocation=e,r._baseHref="",null!=n&&(r._baseHref=n),r}return o(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e},e.prototype.prepareExternalUrl=function(t){var e=ku.joinWithSlash(this._baseHref,t);return e.length>0?"#"+e:e},e.prototype.pushState=function(t,e,n,r){var o=this.prepareExternalUrl(n+ku.normalizeQueryParams(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(t,e,o)},e.prototype.replaceState=function(t,e,n,r){var o=this.prepareExternalUrl(n+ku.normalizeQueryParams(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,o)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(Cu),Tu=function(t){function e(e,n){var r=t.call(this)||this;if(r._platformLocation=e,null==n&&(n=r._platformLocation.getBaseHrefFromDOM()),null==n)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return r._baseHref=n,r}return o(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.prepareExternalUrl=function(t){return ku.joinWithSlash(this._baseHref,t)},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.pathname+ku.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?""+e+n:e},e.prototype.pushState=function(t,e,n,r){var o=this.prepareExternalUrl(n+ku.normalizeQueryParams(r));this._platformLocation.pushState(t,e,o)},e.prototype.replaceState=function(t,e,n,r){var o=this.prepareExternalUrl(n+ku.normalizeQueryParams(r));this._platformLocation.replaceState(t,e,o)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(Cu),Iu=void 0,Au=["en",[["a","p"],["AM","PM"],Iu],[["AM","PM"],Iu,Iu],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Iu,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Iu,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Iu,"{1} 'at' {0}",Iu],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",{},function(t){var e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}],Ou={},Pu=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({}),Ru=new ft("UseV4Plurals"),Nu=function(){},Vu=function(t){function e(e,n){var r=t.call(this)||this;return r.locale=e,r.deprecatedPluralFn=n,r}return o(e,t),e.prototype.getPluralCategory=function(t,e){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(e||this.locale,t):function(t){return function(t){var e=t.toLowerCase().replace(/_/g,"-"),n=Ou[e];if(n)return n;var r=e.split("-")[0];if(n=Ou[r])return n;if("en"===r)return Au;throw new Error('Missing locale data for the locale "'+t+'".')}(t)[18]}(e||this.locale)(t)){case Pu.Zero:return"zero";case Pu.One:return"one";case Pu.Two:return"two";case Pu.Few:return"few";case Pu.Many:return"many";default:return"other"}},e}(Nu);function Du(t,e){e=encodeURIComponent(e);try{for(var n=l(t.split(";")),r=n.next();!r.done;r=n.next()){var o=r.value,i=o.indexOf("="),a=u(-1==i?[o,""]:[o.slice(0,i),o.slice(i+1)],2),s=a[1];if(a[0].trim()===e)return decodeURIComponent(s)}}catch(t){c={error:t}}finally{try{r&&!r.done&&(p=n.return)&&p.call(n)}finally{if(c)throw c.error}}return null;var c,p}var Mu=function(){function t(t,e,n,r){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=r}return Object.defineProperty(t.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),t}(),ju=function(){function t(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._differ=null}return Object.defineProperty(t.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(t){Xe()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(t)+". See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTemplate",{set:function(t){t&&(this._template=t)},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){if("ngForOf"in t){var e=t.ngForOf.currentValue;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(t){throw new Error("Cannot find a differ supporting object '"+e+"' of type '"+((n=e).name||typeof n)+"'. NgFor only supports binding to Iterables such as Arrays.")}}var n},t.prototype.ngDoCheck=function(){if(this._differ){var t=this._differ.diff(this.ngForOf);t&&this._applyChanges(t)}},t.prototype._applyChanges=function(t){var e=this,n=[];t.forEachOperation(function(t,r,o){if(null==t.previousIndex){var i=e._viewContainer.createEmbeddedView(e._template,new Mu(null,e.ngForOf,-1,-1),o),l=new Lu(t,i);n.push(l)}else null==o?e._viewContainer.remove(r):(i=e._viewContainer.get(r),e._viewContainer.move(i,o),l=new Lu(t,i),n.push(l))});for(var r=0;r0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,o=0;o=2;return function(r){return r.pipe(t?Qu(function(e,n){return t(e,n,r)}):Y,ta(1),n?ua(e):ia(function(){return new Zu}))}}function pa(t){return function(e){var n=new ha(t),r=e.lift(n);return n.caught=r}}var ha=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e.subscribe(new fa(t,this.selector,this.caught))},t}(),fa=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.selector=n,o.caught=r,o}return o(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=void 0;try{n=this.selector(e,this.caught)}catch(e){return void t.prototype.error.call(this,e)}this._unsubscribeAndRecycle(),this.add(H(this,n))}},e}(q);function da(t,e){return function(n){return n.lift(new ga(t,e,n))}}var ga=function(){function t(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}return t.prototype.call=function(t,e){return e.subscribe(new va(t,this.predicate,this.thisArg,this.source))},t}(),va=function(t){function e(e,n,r,o){var i=t.call(this,e)||this;return i.predicate=n,i.thisArg=r,i.source=o,i.index=0,i.thisArg=r||i,i}return o(e,t),e.prototype.notifyComplete=function(t){this.destination.next(t),this.destination.complete()},e.prototype._next=function(t){var e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(t){return void this.destination.error(t)}e||this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(k),ya=function(){function t(t){if(this.total=t,this.total<0)throw new Xu}return t.prototype.call=function(t,e){return e.subscribe(new ma(t,this.total))},t}(),ma=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.count=0,r}return o(e,t),e.prototype._next=function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))},e}(k);function ba(t,e){var n=arguments.length>=2;return function(r){return r.pipe(t?Qu(function(e,n){return t(e,n,r)}):Y,function(t){return t.lift(new ya(1))},n?ua(e):ia(function(){return new Zu}))}}function _a(){return X(1)}function wa(t,e){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new Ca(t,e,n))}}var Ca=function(){function t(t,e,n){void 0===n&&(n=!1),this.accumulator=t,this.seed=e,this.hasSeed=n}return t.prototype.call=function(t,e){return e.subscribe(new Sa(t,this.accumulator,this.seed,this.hasSeed))},t}(),Sa=function(t){function e(e,n,r,o){var i=t.call(this,e)||this;return i.accumulator=n,i._seed=r,i.hasSeed=o,i.index=0,i}return o(e,t),Object.defineProperty(e.prototype,"seed",{get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t},enumerable:!0,configurable:!0}),e.prototype._next=function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(t){this.destination.error(t)}this.seed=e,this.destination.next(e)},e}(k),ka=null;function xa(){return ka}var Ea,Ta={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},Ia={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Aa={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"};_t.Node&&(Ea=_t.Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))});var Oa,Pa=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.parse=function(t){throw new Error("parse not implemented")},e.makeCurrent=function(){var t;t=new e,ka||(ka=t)},e.prototype.hasProperty=function(t,e){return e in t},e.prototype.setProperty=function(t,e,n){t[e]=n},e.prototype.getProperty=function(t,e){return t[e]},e.prototype.invoke=function(t,e,n){var r;(r=t)[e].apply(r,a(n))},e.prototype.logError=function(t){window.console&&(console.error?console.error(t):console.log(t))},e.prototype.log=function(t){window.console&&window.console.log&&window.console.log(t)},e.prototype.logGroup=function(t){window.console&&window.console.group&&window.console.group(t)},e.prototype.logGroupEnd=function(){window.console&&window.console.groupEnd&&window.console.groupEnd()},Object.defineProperty(e.prototype,"attrToPropMap",{get:function(){return Ta},enumerable:!0,configurable:!0}),e.prototype.contains=function(t,e){return Ea.call(t,e)},e.prototype.querySelector=function(t,e){return t.querySelector(e)},e.prototype.querySelectorAll=function(t,e){return t.querySelectorAll(e)},e.prototype.on=function(t,e,n){t.addEventListener(e,n,!1)},e.prototype.onAndCancel=function(t,e,n){return t.addEventListener(e,n,!1),function(){t.removeEventListener(e,n,!1)}},e.prototype.dispatchEvent=function(t,e){t.dispatchEvent(e)},e.prototype.createMouseEvent=function(t){var e=this.getDefaultDocument().createEvent("MouseEvent");return e.initEvent(t,!0,!0),e},e.prototype.createEvent=function(t){var e=this.getDefaultDocument().createEvent("Event");return e.initEvent(t,!0,!0),e},e.prototype.preventDefault=function(t){t.preventDefault(),t.returnValue=!1},e.prototype.isPrevented=function(t){return t.defaultPrevented||null!=t.returnValue&&!t.returnValue},e.prototype.getInnerHTML=function(t){return t.innerHTML},e.prototype.getTemplateContent=function(t){return"content"in t&&this.isTemplateElement(t)?t.content:null},e.prototype.getOuterHTML=function(t){return t.outerHTML},e.prototype.nodeName=function(t){return t.nodeName},e.prototype.nodeValue=function(t){return t.nodeValue},e.prototype.type=function(t){return t.type},e.prototype.content=function(t){return this.hasProperty(t,"content")?t.content:t},e.prototype.firstChild=function(t){return t.firstChild},e.prototype.nextSibling=function(t){return t.nextSibling},e.prototype.parentElement=function(t){return t.parentNode},e.prototype.childNodes=function(t){return t.childNodes},e.prototype.childNodesAsList=function(t){for(var e=t.childNodes,n=new Array(e.length),r=0;r0},e.prototype.tagName=function(t){return t.tagName},e.prototype.attributeMap=function(t){for(var e=new Map,n=t.attributes,r=0;r0;l||(l=t[i]=[]);var a=fs(e)?Zone.root:Zone.current;if(0===l.length)l.push({zone:a,handler:o});else{for(var s=!1,c=0;c-1},e}(Ka),_s=["alt","control","meta","shift"],ws={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},Cs=function(t){function e(e){return t.call(this,e)||this}return o(e,t),e.prototype.supports=function(t){return null!=e.parseEventName(t)},e.prototype.addEventListener=function(t,n,r){var o=e.parseEventName(n),i=e.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return xa().onAndCancel(t,o.domEventName,i)})},e.parseEventName=function(t){var n=t.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;var o=e._normalizeKey(n.pop()),i="";if(_s.forEach(function(t){var e=n.indexOf(t);e>-1&&(n.splice(e,1),i+=t+".")}),i+=o,0!=n.length||0===o.length)return null;var l={};return l.domEventName=r,l.fullKey=i,l},e.getEventFullKey=function(t){var e="",n=xa().getEventKey(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),_s.forEach(function(r){r!=n&&(0,ws[r])(t)&&(e+=r+".")}),e+=n},e.eventCallback=function(t,n,r){return function(o){e.getEventFullKey(o)===t&&r.runGuarded(function(){return n(o)})}},e._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},e}(Ka),Ss=function(){},ks=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n}return o(e,t),e.prototype.sanitize=function(t,e){if(null==e)return null;switch(t){case _r.NONE:return e;case _r.HTML:return e instanceof Es?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),function(t,e){var n=null;try{or=or||new Yn(t);var r=e?String(e):"";n=or.getInertBodyElement(r);var o=5,i=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=or.getInertBodyElement(r)}while(r!==i);var l=new fr,u=l.sanitizeChildren(yr(n)||n);return Xe()&&l.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss)."),u}finally{if(n)for(var a=yr(n)||n;a.firstChild;)a.removeChild(a.firstChild)}}(this._doc,String(e)));case _r.STYLE:return e instanceof Ts?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),function(t){if(!(t=String(t).trim()))return"";var e=t.match(br);return e&&er(e[1])===e[1]||t.match(mr)&&function(t){for(var e=!0,n=!0,r=0;rt.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||r.length0?t[t.length-1]:null}function ac(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)}function sc(t){return t.pipe(X(),da(function(t){return!0===t}))}function cc(t){return ce(t)?t:se(t)?Z(Promise.resolve(t)):Wu(t)}function pc(t,e,n){return n?function(t,e){return ic(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!gc(e.segments,n.segments))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(var r in n.children){if(!e.children[r])return!1;if(!t(e.children[r],n.children[r]))return!1}return!0}(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(function(n){return e[n]===t[n]})}(t.queryParams,e.queryParams)&&function t(e,n){return function e(n,r,o){if(n.segments.length>o.length)return!!gc(l=n.segments.slice(0,o.length),o)&&!r.hasChildren();if(n.segments.length===o.length){if(!gc(n.segments,o))return!1;for(var i in r.children){if(!n.children[i])return!1;if(!t(n.children[i],r.children[i]))return!1}return!0}var l=o.slice(0,n.segments.length),u=o.slice(n.segments.length);return!!gc(n.segments,l)&&!!n.children[Qs]&&e(n.children[Qs],r,u)}(e,n,n.segments)}(t.root,e.root)}var hc=function(){function t(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}return Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=Ys(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return bc.serialize(this)},t}(),fc=function(){function t(t,e){var n=this;this.segments=t,this.children=e,this.parent=null,ac(e,function(t,e){return t.parent=n})}return t.prototype.hasChildren=function(){return this.numberOfChildren>0},Object.defineProperty(t.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return _c(this)},t}(),dc=function(){function t(t,e){this.path=t,this.parameters=e}return Object.defineProperty(t.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=Ys(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return Ec(this)},t}();function gc(t,e){return t.length===e.length&&t.every(function(t,n){return t.path===e[n].path})}function vc(t,e){var n=[];return ac(t.children,function(t,r){r===Qs&&(n=n.concat(e(t,r)))}),ac(t.children,function(t,r){r!==Qs&&(n=n.concat(e(t,r)))}),n}var yc=function(){},mc=function(){function t(){}return t.prototype.parse=function(t){var e=new Pc(t);return new hc(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())},t.prototype.serialize=function(t){var e,n;return"/"+function t(e,n){if(!e.hasChildren())return _c(e);if(n){var r=e.children[Qs]?t(e.children[Qs],!1):"",o=[];return ac(e.children,function(e,n){n!==Qs&&o.push(n+":"+t(e,!1))}),o.length>0?r+"("+o.join("//")+")":r}var i=vc(e,function(n,r){return r===Qs?[t(e.children[Qs],!1)]:[r+":"+t(n,!1)]});return _c(e)+"/("+i.join("//")+")"}(t.root,!0)+(e=t.queryParams,(n=Object.keys(e).map(function(t){var n=e[t];return Array.isArray(n)?n.map(function(e){return Cc(t)+"="+Cc(e)}).join("&"):Cc(t)+"="+Cc(n)})).length?"?"+n.join("&"):"")+("string"==typeof t.fragment?"#"+encodeURI(t.fragment):"")},t}(),bc=new mc;function _c(t){return t.segments.map(function(t){return Ec(t)}).join("/")}function wc(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Cc(t){return wc(t).replace(/%3B/gi,";")}function Sc(t){return wc(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function kc(t){return decodeURIComponent(t)}function xc(t){return kc(t.replace(/\+/g,"%20"))}function Ec(t){return""+Sc(t.path)+(e=t.parameters,Object.keys(e).map(function(t){return";"+Sc(t)+"="+Sc(e[t])}).join(""));var e}var Tc=/^[^\/()?;=#]+/;function Ic(t){var e=t.match(Tc);return e?e[0]:""}var Ac=/^[^=?&#]+/,Oc=/^[^?&#]+/,Pc=function(){function t(t){this.url=t,this.remaining=t}return t.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new fc([],{}):new fc([],this.parseChildren())},t.prototype.parseQueryParams=function(){var t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t},t.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null},t.prototype.parseChildren=function(){if(""===this.remaining)return{};this.consumeOptional("/");var t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());var e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n[Qs]=new fc(t,e)),n},t.prototype.parseSegment=function(){var t=Ic(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(t),new dc(kc(t),this.parseMatrixParams())},t.prototype.parseMatrixParams=function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t},t.prototype.parseParam=function(t){var e=Ic(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var r=Ic(this.remaining);r&&this.capture(n=r)}t[kc(e)]=kc(n)}},t.prototype.parseQueryParam=function(t){var e,n=(e=this.remaining.match(Ac))?e[0]:"";if(n){this.capture(n);var r="";if(this.consumeOptional("=")){var o=function(t){var e=t.match(Oc);return e?e[0]:""}(this.remaining);o&&this.capture(r=o)}var i=xc(n),l=xc(r);if(t.hasOwnProperty(i)){var u=t[i];Array.isArray(u)||(t[i]=u=[u]),u.push(l)}else t[i]=l}},t.prototype.parseParens=function(t){var e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=Ic(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error("Cannot parse url '"+this.url+"'");var o=void 0;n.indexOf(":")>-1?(o=n.substr(0,n.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=Qs);var i=this.parseChildren();e[o]=1===Object.keys(i).length?i[Qs]:new fc([],i),this.consumeOptional("//")}return e},t.prototype.peekStartsWith=function(t){return this.remaining.startsWith(t)},t.prototype.consumeOptional=function(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)},t.prototype.capture=function(t){if(!this.consumeOptional(t))throw new Error('Expected "'+t+'".')},t}(),Rc=function(t){this.segmentGroup=t||null},Nc=function(t){this.urlTree=t};function Vc(t){return new O(function(e){return e.error(new Rc(t))})}function Dc(t){return new O(function(e){return e.error(new Nc(t))})}function Mc(t){return new O(function(e){return e.error(new Error("Only absolute redirects can have named outlets. redirectTo: '"+t+"'"))})}var jc=function(){function t(t,e,n,r,o){this.configLoader=e,this.urlSerializer=n,this.urlTree=r,this.config=o,this.allowRedirects=!0,this.ngModule=t.get(Re)}return t.prototype.apply=function(){var t=this;return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,Qs).pipe(B(function(e){return t.createUrlTree(e,t.urlTree.queryParams,t.urlTree.fragment)})).pipe(pa(function(e){if(e instanceof Nc)return t.allowRedirects=!1,t.match(e.urlTree);if(e instanceof Rc)throw t.noMatchError(e);throw e}))},t.prototype.match=function(t){var e=this;return this.expandSegmentGroup(this.ngModule,this.config,t.root,Qs).pipe(B(function(n){return e.createUrlTree(n,t.queryParams,t.fragment)})).pipe(pa(function(t){if(t instanceof Rc)throw e.noMatchError(t);throw t}))},t.prototype.noMatchError=function(t){return new Error("Cannot match any routes. URL Segment: '"+t.segmentGroup+"'")},t.prototype.createUrlTree=function(t,e,n){var r,o=t.segments.length>0?new fc([],((r={})[Qs]=t,r)):t;return new hc(o,e,n)},t.prototype.expandSegmentGroup=function(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(B(function(t){return new fc([],t)})):this.expandSegment(t,n,e,n.segments,r,!0)},t.prototype.expandChildren=function(t,e,n){var r=this;return function(n,o){if(0===Object.keys(n).length)return Wu({});var i=[],l=[],u={};return ac(n,function(n,o){var a,s,c=(a=o,s=n,r.expandSegmentGroup(t,e,s,a)).pipe(B(function(t){return u[o]=t}));o===Qs?i.push(c):l.push(c)}),Wu.apply(null,i.concat(l)).pipe(_a(),ca(),B(function(){return u}))}(n.children)},t.prototype.expandSegment=function(t,e,n,r,o,i){var l=this;return Wu.apply(void 0,a(n)).pipe(B(function(u){return l.expandSegmentAgainstRoute(t,e,n,u,r,o,i).pipe(pa(function(t){if(t instanceof Rc)return Wu(null);throw t}))}),_a(),ba(function(t){return!!t}),pa(function(t,n){if(t instanceof Zu||"EmptyError"===t.name){if(l.noLeftoversInUrl(e,r,o))return Wu(new fc([],{}));throw new Rc(e)}throw t}))},t.prototype.noLeftoversInUrl=function(t,e,n){return 0===e.length&&!t.children[n]},t.prototype.expandSegmentAgainstRoute=function(t,e,n,r,o,i,l){return Fc(r)!==i?Vc(e):void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,o):l&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,o,i):Vc(e)},t.prototype.expandSegmentAgainstRouteUsingRedirect=function(t,e,n,r,o,i){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,i):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,o,i)},t.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(t,e,n,r){var o=this,i=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Dc(i):this.lineralizeSegments(n,i).pipe($(function(n){var i=new fc(n,{});return o.expandSegment(t,i,e,n,r,!1)}))},t.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(t,e,n,r,o,i){var l=this,u=Lc(e,r,o),a=u.consumedSegments,s=u.lastChild,c=u.positionalParamSegments;if(!u.matched)return Vc(e);var p=this.applyRedirectCommands(a,r.redirectTo,c);return r.redirectTo.startsWith("/")?Dc(p):this.lineralizeSegments(r,p).pipe($(function(r){return l.expandSegment(t,e,n,r.concat(o.slice(s)),i,!1)}))},t.prototype.matchSegmentAgainstRoute=function(t,e,n,r){var o=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(B(function(t){return n._loadedConfig=t,new fc(r,{})})):Wu(new fc(r,{}));var u=Lc(e,n,r),a=u.consumedSegments,s=u.lastChild;if(!u.matched)return Vc(e);var c=r.slice(s);return this.getChildConfig(t,n).pipe($(function(t){var n=t.module,r=t.routes,u=function(t,e,n,r){return n.length>0&&function(t,e,n){return r.some(function(n){return zc(t,e,n)&&Fc(n)!==Qs})}(t,n)?{segmentGroup:Uc(new fc(e,function(t,e){var n,r,o={};o[Qs]=e;try{for(var i=l(t),u=i.next();!u.done;u=i.next()){var a=u.value;""===a.path&&Fc(a)!==Qs&&(o[Fc(a)]=new fc([],{}))}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return o}(r,new fc(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return r.some(function(n){return zc(t,e,n)})}(t,n)?{segmentGroup:Uc(new fc(t.segments,function(t,e,n,r){var o,u,a={};try{for(var s=l(n),c=s.next();!c.done;c=s.next()){var p=c.value;zc(t,e,p)&&!r[Fc(p)]&&(a[Fc(p)]=new fc([],{}))}}catch(t){o={error:t}}finally{try{c&&!c.done&&(u=s.return)&&u.call(s)}finally{if(o)throw o.error}}return i({},r,a)}(t,n,r,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,a,c,r),s=u.segmentGroup,p=u.slicedSegments;return 0===p.length&&s.hasChildren()?o.expandChildren(n,r,s).pipe(B(function(t){return new fc(a,t)})):0===r.length&&0===p.length?Wu(new fc(a,{})):o.expandSegment(n,s,r,p,Qs,!0).pipe(B(function(t){return new fc(a.concat(t.segments),t.children)}))}))},t.prototype.getChildConfig=function(t,e){var n=this;return e.children?Wu(new tc(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Wu(e._loadedConfig):function(t,e){var n=e.canLoad;return n&&0!==n.length?sc(Z(n).pipe(B(function(n){var r=t.get(n);return cc(r.canLoad?r.canLoad(e):r(e))}))):Wu(!0)}(t.injector,e).pipe($(function(r){return r?n.configLoader.load(t.injector,e).pipe(B(function(t){return e._loadedConfig=t,t})):function(t){return new O(function(e){return e.error(((n=Error("NavigationCancelingError: Cannot load children because the guard of the route \"path: '"+t.path+"'\" returned false")).ngNavigationCancelingError=!0,n));var n})}(e)})):Wu(new tc([],t))},t.prototype.lineralizeSegments=function(t,e){for(var n=[],r=e.root;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Wu(n);if(r.numberOfChildren>1||!r.children[Qs])return Mc(t.redirectTo);r=r.children[Qs]}},t.prototype.applyRedirectCommands=function(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)},t.prototype.applyRedirectCreatreUrlTree=function(t,e,n,r){var o=this.createSegmentGroup(t,e.root,n,r);return new hc(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)},t.prototype.createQueryParams=function(t,e){var n={};return ac(t,function(t,r){if("string"==typeof t&&t.startsWith(":")){var o=t.substring(1);n[r]=e[o]}else n[r]=t}),n},t.prototype.createSegmentGroup=function(t,e,n,r){var o=this,i=this.createSegments(t,e.segments,n,r),l={};return ac(e.children,function(e,i){l[i]=o.createSegmentGroup(t,e,n,r)}),new fc(i,l)},t.prototype.createSegments=function(t,e,n,r){var o=this;return e.map(function(e){return e.path.startsWith(":")?o.findPosParam(t,e,r):o.findOrReturn(e,n)})},t.prototype.findPosParam=function(t,e,n){var r=n[e.path.substring(1)];if(!r)throw new Error("Cannot redirect to '"+t+"'. Cannot find '"+e.path+"'.");return r},t.prototype.findOrReturn=function(t,e){var n,r,o=0;try{for(var i=l(e),u=i.next();!u.done;u=i.next()){var a=u.value;if(a.path===t.path)return e.splice(o),a;o++}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return t},t}();function Lc(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var r=(e.matcher||Xs)(n,t,e);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Uc(t){if(1===t.numberOfChildren&&t.children[Qs]){var e=t.children[Qs];return new fc(t.segments.concat(e.segments),e.children)}return t}function zc(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function Fc(t){return t.outlet||Qs}var Hc=function(){function t(t){this._root=t}return Object.defineProperty(t.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),t.prototype.parent=function(t){var e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null},t.prototype.children=function(t){var e=qc(t,this._root);return e?e.children.map(function(t){return t.value}):[]},t.prototype.firstChild=function(t){var e=qc(t,this._root);return e&&e.children.length>0?e.children[0].value:null},t.prototype.siblings=function(t){var e=Bc(t,this._root);return e.length<2?[]:e[e.length-2].children.map(function(t){return t.value}).filter(function(e){return e!==t})},t.prototype.pathFromRoot=function(t){return Bc(t,this._root).map(function(t){return t.value})},t}();function qc(t,e){if(t===e.value)return e;try{for(var n=l(e.children),r=n.next();!r.done;r=n.next()){var o=qc(t,r.value);if(o)return o}}catch(t){i={error:t}}finally{try{r&&!r.done&&(u=n.return)&&u.call(n)}finally{if(i)throw i.error}}return null;var i,u}function Bc(t,e){if(t===e.value)return[e];try{for(var n=l(e.children),r=n.next();!r.done;r=n.next()){var o=Bc(t,r.value);if(o.length)return o.unshift(e),o}}catch(t){i={error:t}}finally{try{r&&!r.done&&(u=n.return)&&u.call(n)}finally{if(i)throw i.error}}return[];var i,u}var Gc=function(){function t(t,e){this.value=t,this.children=e}return t.prototype.toString=function(){return"TreeNode("+this.value+")"},t}();function Kc(t){var e={};return t&&t.children.forEach(function(t){return e[t.value.outlet]=t}),e}var Wc=function(t){function e(e,n){var r=t.call(this,e)||this;return r.snapshot=n,Xc(r,e),r}return o(e,t),e.prototype.toString=function(){return this.snapshot.toString()},e}(Hc);function Zc(t,e){var n=function(t,e){var n=new Jc([],{},{},"",{},Qs,e,null,t.root,-1,{});return new Yc("",new Gc(n,[]))}(t,e),r=new Bu([new dc("",{})]),o=new Bu({}),i=new Bu({}),l=new Bu({}),u=new Bu(""),a=new $c(r,o,l,u,i,Qs,e,n.root);return a.snapshot=n.root,new Wc(new Gc(a,[]),n)}var $c=function(){function t(t,e,n,r,o,i,l,u){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=i,this.component=l,this._futureSnapshot=u}return Object.defineProperty(t.prototype,"routeConfig",{get:function(){return this._futureSnapshot.routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=this.params.pipe(B(function(t){return Ys(t)}))),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(B(function(t){return Ys(t)}))),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},t}();function Qc(t,e){void 0===e&&(e="emptyOnly");var n=t.pathFromRoot,r=0;if("always"!==e)for(r=n.length-1;r>=1;){var o=n[r],l=n[r-1];if(o.routeConfig&&""===o.routeConfig.path)r--;else{if(l.component)break;r--}}return function(t){return t.reduce(function(t,e){return{params:i({},t.params,e.params),data:i({},t.data,e.data),resolve:i({},t.resolve,e._resolvedData)}},{params:{},data:{},resolve:{}})}(n.slice(r))}var Jc=function(){function t(t,e,n,r,o,i,l,u,a,s,c){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=i,this.component=l,this.routeConfig=u,this._urlSegment=a,this._lastPathIndex=s,this._resolve=c}return Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=Ys(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=Ys(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return"Route(url:'"+this.url.map(function(t){return t.toString()}).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"},t}(),Yc=function(t){function e(e,n){var r=t.call(this,n)||this;return r.url=e,Xc(r,n),r}return o(e,t),e.prototype.toString=function(){return tp(this._root)},e}(Hc);function Xc(t,e){e.value._routerState=t,e.children.forEach(function(e){return Xc(t,e)})}function tp(t){var e=t.children.length>0?" { "+t.children.map(tp).join(", ")+" } ":"";return""+t.value+e}function ep(t){if(t.snapshot){var e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,ic(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),ic(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(var n=0;n0&&rp(n[0]))throw new Error("Root segment cannot have matrix parameters");var r=n.find(function(t){return"object"==typeof t&&null!=t&&t.outlets});if(r&&r!==uc(n))throw new Error("{outlets:{}} has to be the last command")}return t.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},t}(),lp=function(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n};function up(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets[Qs]:""+t}function ap(t,e,n){if(t||(t=new fc([],{})),0===t.segments.length&&t.hasChildren())return sp(t,e,n);var r=function(t,e,n){for(var r=0,o=e,i={match:!1,pathIndex:0,commandIndex:0};o=n.length)return i;var l=t.segments[o],u=up(n[r]),a=r0&&void 0===u)break;if(u&&a&&"object"==typeof a&&void 0===a.outlets){if(!fp(u,a,l))return i;r+=2}else{if(!fp(u,{},l))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}(t,e,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex=2?function(n){return I(wa(t,e),ta(1),ua(e))(n)}:function(e){return I(wa(function(e,n,r){return t(e,n,r+1)}),ta(1))(e)}}(function(t,e){return t})):Wu(null)},t.prototype.isDeactivating=function(){return 0!==this.canDeactivateChecks.length},t.prototype.isActivating=function(){return 0!==this.canActivateChecks.length},t.prototype.setupChildRouteGuards=function(t,e,n,r){var o=this,i=Kc(e);t.children.forEach(function(t){o.setupRouteGuards(t,i[t.value.outlet],n,r.concat([t.value])),delete i[t.value.outlet]}),ac(i,function(t,e){return o.deactivateRouteAndItsChildren(t,n.getContext(e))})},t.prototype.setupRouteGuards=function(t,e,n,r){var o=t.value,i=e?e.value:null,l=n?n.getContext(t.value.outlet):null;if(i&&o.routeConfig===i.routeConfig){var u=this.shouldRunGuardsAndResolvers(i,o,o.routeConfig.runGuardsAndResolvers);u?this.canActivateChecks.push(new dp(r)):(o.data=i.data,o._resolvedData=i._resolvedData),this.setupChildRouteGuards(t,e,o.component?l?l.children:null:n,r),u&&this.canDeactivateChecks.push(new gp(l.outlet.component,i))}else i&&this.deactivateRouteAndItsChildren(e,l),this.canActivateChecks.push(new dp(r)),this.setupChildRouteGuards(t,null,o.component?l?l.children:null:n,r)},t.prototype.shouldRunGuardsAndResolvers=function(t,e,n){switch(n){case"always":return!0;case"paramsOrQueryParamsChange":return!np(t,e)||!ic(t.queryParams,e.queryParams);case"paramsChange":default:return!np(t,e)}},t.prototype.deactivateRouteAndItsChildren=function(t,e){var n=this,r=Kc(t),o=t.value;ac(r,function(t,r){n.deactivateRouteAndItsChildren(t,o.component?e?e.children.getContext(r):null:e)}),this.canDeactivateChecks.push(new gp(o.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,o))},t.prototype.runCanDeactivateChecks=function(){var t=this;return Z(this.canDeactivateChecks).pipe($(function(e){return t.runCanDeactivate(e.component,e.route)}),da(function(t){return!0===t}))},t.prototype.runCanActivateChecks=function(){var t=this;return Z(this.canActivateChecks).pipe($u(function(e){return sc(Z([t.fireChildActivationStart(e.route.parent),t.fireActivationStart(e.route),t.runCanActivateChild(e.path),t.runCanActivate(e.route)]))}),da(function(t){return!0===t}))},t.prototype.fireActivationStart=function(t){return null!==t&&this.forwardEvent&&this.forwardEvent(new Zs(t)),Wu(!0)},t.prototype.fireChildActivationStart=function(t){return null!==t&&this.forwardEvent&&this.forwardEvent(new Ks(t)),Wu(!0)},t.prototype.runCanActivate=function(t){var e=this,n=t.routeConfig?t.routeConfig.canActivate:null;return n&&0!==n.length?sc(Z(n).pipe(B(function(n){var r=e.getToken(n,t);return cc(r.canActivate?r.canActivate(t,e.future):r(t,e.future)).pipe(ba())}))):Wu(!0)},t.prototype.runCanActivateChild=function(t){var e=this,n=t[t.length-1];return sc(Z(t.slice(0,t.length-1).reverse().map(function(t){return e.extractCanActivateChild(t)}).filter(function(t){return null!==t})).pipe(B(function(t){return sc(Z(t.guards).pipe(B(function(r){var o=e.getToken(r,t.node);return cc(o.canActivateChild?o.canActivateChild(n,e.future):o(n,e.future)).pipe(ba())})))})))},t.prototype.extractCanActivateChild=function(t){var e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null},t.prototype.runCanDeactivate=function(t,e){var n=this,r=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return r&&0!==r.length?Z(r).pipe($(function(r){var o=n.getToken(r,e);return cc(o.canDeactivate?o.canDeactivate(t,e,n.curr,n.future):o(t,e,n.curr,n.future)).pipe(ba())})).pipe(da(function(t){return!0===t})):Wu(!0)},t.prototype.runResolve=function(t,e){return this.resolveNode(t._resolve,t).pipe(B(function(n){return t._resolvedData=n,t.data=i({},t.data,Qc(t,e).resolve),null}))},t.prototype.resolveNode=function(t,e){var n=this,r=Object.keys(t);if(0===r.length)return Wu({});if(1===r.length){var o=r[0];return this.getResolver(t[o],e).pipe(B(function(t){return(e={})[o]=t,e;var e}))}var i={};return Z(r).pipe($(function(r){return n.getResolver(t[r],e).pipe(B(function(t){return i[r]=t,t}))})).pipe(ca(),B(function(){return i}))},t.prototype.getResolver=function(t,e){var n=this.getToken(t,e);return cc(n.resolve?n.resolve(e,this.future):n(e,this.future))},t.prototype.getToken=function(t,e){var n=function(t){if(!t)return null;for(var e=t.parent;e;e=e.parent){var n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(e);return(n?n.module.injector:this.moduleInjector).get(t)},t}(),yp=function(){},mp=function(){function t(t,e,n,r,o){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=o}return t.prototype.recognize=function(){try{var t=wp(this.urlTree.root,[],[],this.config).segmentGroup,e=this.processSegmentGroup(this.config,t,Qs),n=new Jc([],Object.freeze({}),Object.freeze(i({},this.urlTree.queryParams)),this.urlTree.fragment,{},Qs,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Gc(n,e),o=new Yc(this.url,r);return this.inheritParamsAndData(o._root),Wu(o)}catch(t){return new O(function(e){return e.error(t)})}},t.prototype.inheritParamsAndData=function(t){var e=this,n=t.value,r=Qc(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),t.children.forEach(function(t){return e.inheritParamsAndData(t)})},t.prototype.processSegmentGroup=function(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)},t.prototype.processChildren=function(t,e){var n,r=this,o=vc(e,function(e,n){return r.processSegmentGroup(t,e,n)});return n={},o.forEach(function(t){var e=n[t.value.outlet];if(e){var r=e.url.map(function(t){return t.toString()}).join("/"),o=t.value.url.map(function(t){return t.toString()}).join("/");throw new Error("Two segments cannot have the same outlet name: '"+r+"' and '"+o+"'.")}n[t.value.outlet]=t.value}),o.sort(function(t,e){return t.value.outlet===Qs?-1:e.value.outlet===Qs?1:t.value.outlet.localeCompare(e.value.outlet)}),o},t.prototype.processSegment=function(t,e,n,r){try{for(var o=l(t),i=o.next();!i.done;i=o.next()){var u=i.value;try{return this.processSegmentAgainstRoute(u,e,n,r)}catch(t){if(!(t instanceof yp))throw t}}}catch(t){a={error:t}}finally{try{i&&!i.done&&(s=o.return)&&s.call(o)}finally{if(a)throw a.error}}if(this.noLeftoversInUrl(e,n,r))return[];throw new yp;var a,s},t.prototype.noLeftoversInUrl=function(t,e,n){return 0===e.length&&!t.children[n]},t.prototype.processSegmentAgainstRoute=function(t,e,n,r){if(t.redirectTo)throw new yp;if((t.outlet||Qs)!==r)throw new yp;var o,l=[],u=[];if("**"===t.path){var a=n.length>0?uc(n).parameters:{};o=new Jc(n,a,Object.freeze(i({},this.urlTree.queryParams)),this.urlTree.fragment,kp(t),r,t.component,t,bp(e),_p(e)+n.length,xp(t))}else{var s=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new yp;return{consumedSegments:[],lastChild:0,parameters:{}}}var r=(e.matcher||Xs)(n,t,e);if(!r)throw new yp;var o={};ac(r.posParams,function(t,e){o[e]=t.path});var l=r.consumed.length>0?i({},o,r.consumed[r.consumed.length-1].parameters):o;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:l}}(e,t,n);l=s.consumedSegments,u=n.slice(s.lastChild),o=new Jc(l,s.parameters,Object.freeze(i({},this.urlTree.queryParams)),this.urlTree.fragment,kp(t),r,t.component,t,bp(e),_p(e)+l.length,xp(t))}var c=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),p=wp(e,l,u,c),h=p.segmentGroup,f=p.slicedSegments;if(0===f.length&&h.hasChildren()){var d=this.processChildren(c,h);return[new Gc(o,d)]}if(0===c.length&&0===f.length)return[new Gc(o,[])];var g=this.processSegment(c,h,f,Qs);return[new Gc(o,g)]},t}();function bp(t){for(var e=t;e._sourceSegment;)e=e._sourceSegment;return e}function _p(t){for(var e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;e._sourceSegment;)n+=(e=e._sourceSegment)._segmentIndexShift?e._segmentIndexShift:0;return n-1}function wp(t,e,n,r){if(n.length>0&&function(t,e,n){return r.some(function(n){return Cp(t,e,n)&&Sp(n)!==Qs})}(t,n)){var o=new fc(e,function(t,e,n,r){var o,i,u={};u[Qs]=r,r._sourceSegment=t,r._segmentIndexShift=e.length;try{for(var a=l(n),s=a.next();!s.done;s=a.next()){var c=s.value;if(""===c.path&&Sp(c)!==Qs){var p=new fc([],{});p._sourceSegment=t,p._segmentIndexShift=e.length,u[Sp(c)]=p}}}catch(t){o={error:t}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(o)throw o.error}}return u}(t,e,r,new fc(n,t.children)));return o._sourceSegment=t,o._segmentIndexShift=e.length,{segmentGroup:o,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return r.some(function(n){return Cp(t,e,n)})}(t,n)){var u=new fc(t.segments,function(t,e,n,r){var o,u,a={};try{for(var s=l(n),c=s.next();!c.done;c=s.next()){var p=c.value;if(Cp(t,e,p)&&!r[Sp(p)]){var h=new fc([],{});h._sourceSegment=t,h._segmentIndexShift=t.segments.length,a[Sp(p)]=h}}}catch(t){o={error:t}}finally{try{c&&!c.done&&(u=s.return)&&u.call(s)}finally{if(o)throw o.error}}return i({},r,a)}(t,n,r,t.children));return u._sourceSegment=t,u._segmentIndexShift=e.length,{segmentGroup:u,slicedSegments:n}}var a=new fc(t.segments,t.children);return a._sourceSegment=t,a._segmentIndexShift=e.length,{segmentGroup:a,slicedSegments:n}}function Cp(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function Sp(t){return t.outlet||Qs}function kp(t){return t.data||{}}function xp(t){return t.resolve||{}}var Ep=function(){},Tp=function(){function t(){}return t.prototype.shouldDetach=function(t){return!1},t.prototype.store=function(t,e){},t.prototype.shouldAttach=function(t){return!1},t.prototype.retrieve=function(t){return null},t.prototype.shouldReuseRoute=function(t,e){return t.routeConfig===e.routeConfig},t}(),Ip=new ft("ROUTES"),Ap=function(){function t(t,e,n,r){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=r}return t.prototype.load=function(t,e){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(B(function(r){n.onLoadEndListener&&n.onLoadEndListener(e);var o=r.create(t);return new tc(lc(o.injector.get(Ip)).map(oc),o)}))},t.prototype.loadModuleFactory=function(t){var e=this;return"string"==typeof t?Z(this.loader.load(t)):cc(t()).pipe($(function(t){return t instanceof Ne?Wu(t):Z(e.compiler.compileModuleAsync(t))}))},t}(),Op=function(){},Pp=function(){function t(){}return t.prototype.shouldProcessUrl=function(t){return!0},t.prototype.extract=function(t){return t},t.prototype.merge=function(t,e){return t},t}();function Rp(t){throw t}function Np(t){return Wu(null)}var Vp=function(){function t(t,e,n,r,o,i,l,u){var a=this;this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=r,this.config=u,this.navigations=new Bu(null),this.navigationId=0,this.events=new rt,this.errorHandler=Rp,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Np,afterPreactivation:Np},this.urlHandlingStrategy=new Pp,this.routeReuseStrategy=new Tp,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.ngModule=o.get(Re),this.resetConfig(u),this.currentUrlTree=new hc(new fc([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.configLoader=new Ap(i,l,function(t){return a.triggerEvent(new Bs(t))},function(t){return a.triggerEvent(new Gs(t))}),this.routerState=Zc(this.currentUrlTree,this.rootComponentType),this.processNavigations()}return t.prototype.resetRootComponentType=function(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType},t.prototype.initialNavigation=function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})},t.prototype.setUpLocationChangeListener=function(){var t=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(e){var n=t.urlSerializer.parse(e.url),r="popstate"===e.type?"popstate":"hashchange",o=e.state&&e.state.navigationId?{navigationId:e.state.navigationId}:null;setTimeout(function(){t.scheduleNavigation(n,r,o,{replaceUrl:!0})},0)}))},Object.defineProperty(t.prototype,"url",{get:function(){return this.serializeUrl(this.currentUrlTree)},enumerable:!0,configurable:!0}),t.prototype.triggerEvent=function(t){this.events.next(t)},t.prototype.resetConfig=function(t){ec(t),this.config=t.map(oc),this.navigated=!1,this.lastSuccessfulId=-1},t.prototype.ngOnDestroy=function(){this.dispose()},t.prototype.dispose=function(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)},t.prototype.createUrlTree=function(t,e){void 0===e&&(e={});var n=e.relativeTo,r=e.queryParams,o=e.fragment,l=e.preserveQueryParams,u=e.queryParamsHandling,s=e.preserveFragment;Xe()&&l&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var c=n||this.routerState.root,p=s?this.currentUrlTree.fragment:o,h=null;if(u)switch(u){case"merge":h=i({},this.currentUrlTree.queryParams,r);break;case"preserve":h=this.currentUrlTree.queryParams;break;default:h=r||null}else h=l?this.currentUrlTree.queryParams:r||null;return null!==h&&(h=this.removeEmptyProps(h)),function(t,e,n,r,o){if(0===n.length)return op(e.root,e.root,e,r,o);var i=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new ip(!0,0,t);var e=0,n=!1,r=t.reduce(function(t,r,o){if("object"==typeof r&&null!=r){if(r.outlets){var i={};return ac(r.outlets,function(t,e){i[e]="string"==typeof t?t.split("/"):t}),a(t,[{outlets:i}])}if(r.segmentPath)return a(t,[r.segmentPath])}return"string"!=typeof r?a(t,[r]):0===o?(r.split("/").forEach(function(r,o){0==o&&"."===r||(0==o&&""===r?n=!0:".."===r?e++:""!=r&&t.push(r))}),t):a(t,[r])},[]);return new ip(n,e,r)}(n);if(i.toRoot())return op(e.root,new fc([],{}),e,r,o);var l=function(t,n,r){if(t.isAbsolute)return new lp(e.root,!0,0);if(-1===r.snapshot._lastPathIndex)return new lp(r.snapshot._urlSegment,!0,0);var o=rp(t.commands[0])?0:1;return function(e,n,i){for(var l=r.snapshot._urlSegment,u=r.snapshot._lastPathIndex+o,a=t.numberOfDoubleDots;a>u;){if(a-=u,!(l=l.parent))throw new Error("Invalid number of '../'");u=l.segments.length}return new lp(l,!1,u-a)}()}(i,0,t),u=l.processChildren?sp(l.segmentGroup,l.index,i.commands):ap(l.segmentGroup,l.index,i.commands);return op(l.segmentGroup,u,e,r,o)}(c,this.currentUrlTree,t,h,p)},t.prototype.navigateByUrl=function(t,e){void 0===e&&(e={skipLocationChange:!1});var n=t instanceof hc?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,e)},t.prototype.navigate=function(t,e){return void 0===e&&(e={skipLocationChange:!1}),function(t){for(var e=0;et?{max:{max:t,actual:e.value}}:null}},t.required=function(t){return vh(t.value)?{required:!0}:null},t.requiredTrue=function(t){return!0===t.value?null:{required:!0}},t.email=function(t){return vh(t.value)?null:mh.test(t.value)?null:{email:!0}},t.minLength=function(t){return function(e){if(vh(e.value))return null;var n=e.value?e.value.length:0;return nt?{maxlength:{requiredLength:t,actualLength:n}}:null}},t.pattern=function(e){return e?("string"==typeof e?(r="","^"!==e.charAt(0)&&(r+="^"),r+=e,"$"!==e.charAt(e.length-1)&&(r+="$"),n=new RegExp(r)):(r=e.toString(),n=e),function(t){if(vh(t.value))return null;var e=t.value;return n.test(e)?null:{pattern:{requiredPattern:r,actualValue:e}}}):t.nullValidator;var n,r},t.nullValidator=function(t){return null},t.compose=function(t){if(!t)return null;var e=t.filter(_h);return 0==e.length?null:function(t){return Ch(function(t,n){return e.map(function(e){return e(t)})}(t))}},t.composeAsync=function(t){if(!t)return null;var e=t.filter(_h);return 0==e.length?null:function(t){return function t(){for(var e,n=[],r=0;r=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)},t.prototype.select=function(t){var e=this;this._accessors.forEach(function(n){e._isSameGroup(n,t)&&n[1]!==t&&n[1].fireUncheck(t.value)})},t.prototype._isSameGroup=function(t,e){return!!t[0].control&&t[0]._parent===e._control._parent&&t[1].name===e.name},t}(),Nh=function(){function t(t,e,n,r){this._renderer=t,this._elementRef=e,this._registry=n,this._injector=r,this.onChange=function(){},this.onTouched=function(){}}return t.prototype.ngOnInit=function(){this._control=this._injector.get(Ph),this._checkName(),this._registry.add(this._control,this)},t.prototype.ngOnDestroy=function(){this._registry.remove(this)},t.prototype.writeValue=function(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)},t.prototype.registerOnChange=function(t){var e=this;this._fn=t,this.onChange=function(){t(e.value),e._registry.select(e)}},t.prototype.fireUncheck=function(t){this.writeValue(t)},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._checkName=function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)},t.prototype._throwNameError=function(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: \n ')},t}(),Vh='\n

\n
\n \n
\n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',Dh='\n
\n
\n \n
\n
';function Mh(t,e){return a(e.path,[t])}function jh(t,e){t||Uh(e,"Cannot find control with"),e.valueAccessor||Uh(e,"No value accessor for form control with"),t.validator=bh.compose([t.validator,e.validator]),t.asyncValidator=bh.composeAsync([t.asyncValidator,e.asyncValidator]),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(function(n){t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&Lh(t,e)})}(t,e),function(t,e){t.registerOnChange(function(t,n){e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(function(){t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&Lh(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),e.valueAccessor.setDisabledState&&t.registerOnDisabledChange(function(t){e.valueAccessor.setDisabledState(t)}),e._rawValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(function(){return t.updateValueAndValidity()})}),e._rawAsyncValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(function(){return t.updateValueAndValidity()})})}function Lh(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Uh(t,e){var n;throw n=t.path.length>1?"path: '"+t.path.join(" -> ")+"'":t.path[0]?"name: '"+t.path+"'":"unspecified name attribute",new Error(e+" "+n)}function zh(t){return null!=t?bh.compose(t.map(Th)):null}function Fh(t){return null!=t?bh.composeAsync(t.map(Ih)):null}var Hh=[kh,function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))},t.prototype.registerOnChange=function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}(),Ah,function(){function t(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=xt}return Object.defineProperty(t.prototype,"compareWith",{set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){this.value=t;var e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=function(t,e){return null==t?""+e:(e&&"object"==typeof e&&(e="Object"),(t+": "+e).slice(0,50))}(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){e.value=e._getOptionValue(n),t(e.value)}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._registerOption=function(){return(this._idCounter++).toString()},t.prototype._getOptionId=function(t){try{for(var e=l(Array.from(this._optionMap.keys())),n=e.next();!n.done;n=e.next()){var r=n.value;if(this._compareWith(this._optionMap.get(r),t))return r}}catch(t){o={error:t}}finally{try{n&&!n.done&&(i=e.return)&&i.call(e)}finally{if(o)throw o.error}}return null;var o,i},t.prototype._getOptionValue=function(t){var e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e):t},t}(),function(){function t(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=xt}return Object.defineProperty(t.prototype,"compareWith",{set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){var e,n=this;if(this.value=t,Array.isArray(t)){var r=t.map(function(t){return n._getOptionId(t)});e=function(t,e){t._setSelected(r.indexOf(e.toString())>-1)}}else e=function(t,e){t._setSelected(!1)};this._optionMap.forEach(e)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){var r=[];if(n.hasOwnProperty("selectedOptions"))for(var o=n.selectedOptions,i=0;i0||this.disabled;var n,r},e.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control with name: '"+n+"'.")})},e}(Zh),Jh=function(t){function e(e,n,r){var o=t.call(this,Gh(n),Kh(r,n))||this;return o.controls=e,o._initObservables(),o._setUpdateStrategy(n),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return o(e,t),e.prototype.at=function(t){return this.controls[t]},e.prototype.push=function(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.insert=function(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()},e.prototype.removeAt=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),this.updateValueAndValidity()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(e.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._checkAllValuesPresent(t),t.forEach(function(t,r){n._throwIfControlMissing(r),n.at(r).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){var n=this;void 0===e&&(e={}),t.forEach(function(t,r){n.at(r)&&n.at(r).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.reset=function(t,e){void 0===t&&(t=[]),void 0===e&&(e={}),this._forEachChild(function(n,r){n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e),this._updatePristine(e),this._updateTouched(e)},e.prototype.getRawValue=function(){return this.controls.map(function(t){return t instanceof $h?t.value:t.getRawValue()})},e.prototype._syncPendingControls=function(){var t=this.controls.reduce(function(t,e){return!!e._syncPendingControls()||t},!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t},e.prototype._throwIfControlMissing=function(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error("Cannot find form control at index "+t)},e.prototype._forEachChild=function(t){this.controls.forEach(function(e,n){t(e,n)})},e.prototype._updateValue=function(){var t=this;this.value=this.controls.filter(function(e){return e.enabled||t.disabled}).map(function(t){return t.value})},e.prototype._anyControls=function(t){return this.controls.some(function(e){return e.enabled&&t(e)})},e.prototype._setUpControls=function(){var t=this;this._forEachChild(function(e){return t._registerControl(e)})},e.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control at index: "+n+".")})},e.prototype._allControlsDisabled=function(){try{for(var t=l(this.controls),e=t.next();!e.done;e=t.next())if(e.value.enabled)return!1}catch(t){n={error:t}}finally{try{e&&!e.done&&(r=t.return)&&r.call(t)}finally{if(n)throw n.error}}return this.controls.length>0||this.disabled;var n,r},e.prototype._registerControl=function(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)},e}(Zh),Yh=Promise.resolve(null),Xh=function(t){function e(e,n){var r=t.call(this)||this;return r.submitted=!1,r._directives=[],r.ngSubmit=new Le,r.form=new Qh({},zh(e),Fh(n)),r}return o(e,t),e.prototype.ngAfterViewInit=function(){this._setUpdateStrategy()},Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this;Yh.then(function(){var n=e._findContainer(t.path);t.control=n.registerControl(t.name,t.control),jh(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),e._directives.push(t)})},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){var e=this;Yh.then(function(){var n,r,o=e._findContainer(t.path);o&&o.removeControl(t.name),(r=(n=e._directives).indexOf(t))>-1&&n.splice(r,1)})},e.prototype.addFormGroup=function(t){var e=this;Yh.then(function(){var n=e._findContainer(t.path),r=new Qh({});(function(t,e){null==t&&Uh(e,"Cannot find control with"),t.validator=bh.compose([t.validator,e.validator]),t.asyncValidator=bh.composeAsync([t.asyncValidator,e.asyncValidator])})(r,t),n.registerControl(t.name,r),r.updateValueAndValidity({emitEvent:!1})})},e.prototype.removeFormGroup=function(t){var e=this;Yh.then(function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name)})},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){var n=this;Yh.then(function(){n.form.get(t.path).setValue(e)})},e.prototype.setValue=function(t){this.control.setValue(t)},e.prototype.onSubmit=function(t){return this.submitted=!0,e=this._directives,this.form._syncPendingControls(),e.forEach(function(t){var e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)}),this.ngSubmit.emit(t),!1;var e},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this.submitted=!1},e.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)},e.prototype._findContainer=function(t){return t.pop(),t.length?this.form.get(t):this.form},e}(gh),tf=function(){function t(){}return t.modelParentException=function(){throw new Error('\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup\'s partner directive "formControlName" instead. Example:\n\n \n
\n \n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });\n\n Or, if you\'d like to avoid registering this form control, indicate that it\'s standalone in ngModelOptions:\n\n Example:\n\n \n
\n \n \n
\n ')},t.formGroupNameException=function(){throw new Error("\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n "+Vh+"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n "+Dh)},t.missingNameException=function(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: \n Example 2: ')},t.modelGroupParentException=function(){throw new Error("\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n "+Vh+"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n "+Dh)},t}(),ef=function(t){function e(e,n,r){var o=t.call(this)||this;return o._parent=e,o._validators=n,o._asyncValidators=r,o}return o(e,t),e.prototype._checkParentType=function(){this._parent instanceof e||this._parent instanceof Xh||tf.modelGroupParentException()},e}(qh),nf=Promise.resolve(null),rf=function(t){function e(e,n,r,o){var i=t.call(this)||this;return i.control=new $h,i._registered=!1,i.update=new Le,i._parent=e,i._rawValidators=n||[],i._rawAsyncValidators=r||[],i.valueAccessor=function(t,e){if(!e)return null;Array.isArray(e)||Uh(t,"Value accessor was not provided as an array for form control with");var n=void 0,r=void 0,o=void 0;return e.forEach(function(e){var i;e.constructor===Eh?n=e:(i=e,Hh.some(function(t){return i.constructor===t})?(r&&Uh(t,"More than one built-in value accessor matches form control with"),r=e):(o&&Uh(t,"More than one custom value accessor matches form control with"),o=e))}),o||r||n||(Uh(t,"No valid value accessor for form control with"),null)}(i,o),i}return o(e,t),e.prototype.ngOnChanges=function(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),function(t,e){if(!t.hasOwnProperty("model"))return!1;var n=t.model;return!!n.isFirstChange()||!xt(e,n.currentValue)}(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(e.prototype,"path",{get:function(){return this._parent?Mh(this.name,this._parent):[this.name]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return zh(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return Fh(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},e.prototype._setUpControl=function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0},e.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)},e.prototype._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)},e.prototype._setUpStandalone=function(){jh(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})},e.prototype._checkForErrors=function(){this._isStandalone()||this._checkParentType(),this._checkName()},e.prototype._checkParentType=function(){!(this._parent instanceof ef)&&this._parent instanceof qh?tf.formGroupNameException():this._parent instanceof ef||this._parent instanceof Xh||tf.modelParentException()},e.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||tf.missingNameException()},e.prototype._updateValue=function(t){var e=this;nf.then(function(){e.control.setValue(t,{emitViewToModelChange:!1})})},e.prototype._updateDisabled=function(t){var e=this,n=t.isDisabled.currentValue,r=""===n||n&&"false"!==n;nf.then(function(){r&&!e.control.disabled?e.control.disable():!r&&e.control.disabled&&e.control.enable()})},e}(Ph),of=function(){function t(){}return Object.defineProperty(t.prototype,"required",{get:function(){return this._required},set:function(t){this._required=null!=t&&!1!==t&&""+t!="false",this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),t.prototype.validate=function(t){return this.required?bh.required(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t}(),lf=function(){},uf=function(){};goog.require("proto.grpc.channelz.v1.ChannelzClient"),goog.require("proto.grpc.channelz.v1.GetChannelRequest"),goog.require("proto.grpc.channelz.v1.GetServerSocketsRequest"),goog.require("proto.grpc.channelz.v1.GetServersRequest"),goog.require("proto.grpc.channelz.v1.GetSocketRequest"),goog.require("proto.grpc.channelz.v1.GetSubchannelRequest"),goog.require("proto.grpc.channelz.v1.GetTopChannelsRequest");var af=function(){function t(t){this.http=t,this.client=new proto.grpc.channelz.v1.ChannelzClient(yu.grpcRemoteAddr);var e=new Int8Array(32);window.crypto.getRandomValues(e);var n=btoa(e.toString());document.cookie="grpc-channelz-v1-channelz-token="+n+";path=/",this.xsrfMeta={"grpc-channelz-v1-channelz-token":n}}return t.prototype.functionToObserver=function(t,e){var n=this;return new O(function(r){t.bind(n.client)(e,n.xsrfMeta,function(t,e){r.next(e),r.complete()})})},t.prototype.getServers=function(t){var e=new proto.grpc.channelz.v1.GetServersRequest;return e.setStartServerId(t),this.functionToObserver(this.client.getServers,e)},t.prototype.getServerSockets=function(t,e){var n=new proto.grpc.channelz.v1.GetServerSocketsRequest;return n.setServerId(t),n.setStartSocketId(e),this.functionToObserver(this.client.getServerSockets,n)},t.prototype.getTopChannels=function(t){var e=new proto.grpc.channelz.v1.GetTopChannelsRequest;return e.setStartChannelId(t),this.functionToObserver(this.client.getTopChannels,e)},t.prototype.getSubchannel=function(t){var e=new proto.grpc.channelz.v1.GetSubchannelRequest;return e.setSubchannelId(t),this.functionToObserver(this.client.getSubchannel,e)},t.prototype.getChannel=function(t){var e=new proto.grpc.channelz.v1.GetChannelRequest;return e.setChannelId(t),this.functionToObserver(this.client.getChannel,e)},t.prototype.getSocket=function(t){var e=new proto.grpc.channelz.v1.GetSocketRequest;return e.setSocketId(t),this.functionToObserver(this.client.getSocket,e)},t}(),sf=function(){function t(t,e,n){this.route=t,this.router=e,this.channelzService=n,this.startId=0}return t.prototype.ngOnInit=function(){var t=this;this.render(),this.route.params.subscribe(function(e){return t.render()})},t.prototype.processEntry=function(){this.router.navigateByUrl("/channelz/servers/"+this.startId)},t.prototype.render=function(){var t=this,e=this.route.snapshot.paramMap.get("startId");this.startId=null==e?0:+e,this.channelzService.getServers(this.startId).subscribe(function(e){return t.handleResponse(e)})},t.prototype.handleResponse=function(t){this.serversList=t.getServerList(),this.nextId=t.getEnd()?null:this.serversList[this.serversList.length-1].getRef().getServerId()},t}(),cf=Ur({encapsulation:0,styles:[[""]],data:{}});function pf(t){return Pi(0,[(t()(),vo(0,0,null,null,3,"div",[],null,null,null,null,null)),(t()(),vo(1,0,null,null,2,"a",[],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==Go(t,2).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),oi(2,671744,null,0,jp,[Vp,$c,Cu],{routerLink:[0,"routerLink"]},null),(t()(),Ii(3,null,["","[","]"]))],function(t,e){t(e,2,0,ho(1,"/channelz/socket/",e.context.$implicit.getSocketId(),""))},function(t,e){t(e,1,0,Go(e,2).target,Go(e,2).href),t(e,3,0,e.context.$implicit.getSocketId(),e.context.$implicit.getName())})}function hf(t){return Pi(0,[(t()(),vo(0,0,null,null,16,"tr",[],null,null,null,null,null)),(t()(),vo(1,0,null,null,3,"td",[],null,null,null,null,null)),(t()(),vo(2,0,null,null,2,"a",[],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==Go(t,3).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),oi(3,671744,null,0,jp,[Vp,$c,Cu],{routerLink:[0,"routerLink"]},null),(t()(),Ii(4,null,["","[","]"])),(t()(),vo(5,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),Ii(6,null,["",""])),(t()(),vo(7,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),Ii(8,null,["",""])),(t()(),vo(9,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),Ii(10,null,["",""])),(t()(),vo(11,0,null,null,2,"td",[],null,null,null,null,null)),(t()(),Ii(12,null,["",""])),Ti(13,1),(t()(),vo(14,0,null,null,2,"td",[],null,null,null,null,null)),(t()(),go(16777216,null,null,1,null,pf)),oi(16,802816,null,0,ju,[bn,mn,Fn],{ngForOf:[0,"ngForOf"]},null)],function(t,e){t(e,3,0,ho(1,"/channelz/serversockets/",e.context.$implicit.getRef().getServerId(),"")),t(e,16,0,e.context.$implicit.getListenSocketList())},function(t,e){t(e,2,0,Go(e,3).target,Go(e,3).href),t(e,4,0,e.context.$implicit.getRef().getServerId(),e.context.$implicit.getRef().getName()),t(e,6,0,e.context.$implicit.getData().getCallsStarted()),t(e,8,0,e.context.$implicit.getData().getCallsSucceeded()),t(e,10,0,e.context.$implicit.getData().getCallsFailed()),t(e,12,0,Mr(e,12,0,t(e,13,0,Go(e.parent,0),e.context.$implicit.getData().getLastCallStartedTimestamp())))})}function ff(t){return Pi(0,[(t()(),vo(0,0,null,null,3,"div",[],null,null,null,null,null)),(t()(),vo(1,0,null,null,2,"a",[],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==Go(t,2).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),oi(2,671744,null,0,jp,[Vp,$c,Cu],{routerLink:[0,"routerLink"]},null),(t()(),Ii(-1,null,["Click here for next page"]))],function(t,e){t(e,2,0,ho(1,"/channelz/servers/",e.component.nextId,""))},function(t,e){t(e,1,0,Go(e,2).target,Go(e,2).href)})}function df(t){return Pi(0,[(t()(),vo(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),vo(1,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Ii(-1,null,["End of results"]))],null,null)}function gf(t){return Pi(0,[ii(0,ph,[]),(t()(),vo(1,0,null,null,1,"h3",[],null,null,null,null,null)),(t()(),Ii(-1,null,["Showing servers starting from:"])),(t()(),Ii(-1,null,["\nServer id:\n"])),(t()(),vo(4,0,[["textbox",1]],null,7,"input",[["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"keyup.enter"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(t,e,n){var r=!0,o=t.component;return"input"===e&&(r=!1!==Go(t,5)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==Go(t,5).onTouched()&&r),"compositionstart"===e&&(r=!1!==Go(t,5)._compositionStart()&&r),"compositionend"===e&&(r=!1!==Go(t,5)._compositionEnd(n.target.value)&&r),"ngModelChange"===e&&(r=!1!==(o.startId=n)&&r),"keyup.enter"===e&&(r=!1!==o.processEntry()&&r),r},null,null)),oi(5,16384,null,0,Eh,[cn,pn,[2,xh]],null,null),oi(6,16384,null,0,of,[],{required:[0,"required"]},null),li(1024,null,yh,function(t){return[t]},[of]),li(1024,null,Sh,function(t){return[t]},[Eh]),oi(9,671744,null,0,rf,[[8,null],[6,yh],[8,null],[6,Sh]],{model:[0,"model"]},{update:"ngModelChange"}),li(2048,null,Ph,null,[rf]),oi(11,16384,null,0,Bh,[[4,Ph]],null,null),(t()(),vo(12,0,null,null,1,"button",[],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.processEntry()&&r),r},null,null)),(t()(),Ii(-1,null,["Refresh"])),(t()(),vo(14,0,null,null,17,"div",[],null,null,null,null,null)),(t()(),vo(15,0,null,null,16,"table",[],null,null,null,null,null)),(t()(),vo(16,0,null,null,15,"tbody",[],null,null,null,null,null)),(t()(),vo(17,0,null,null,12,"tr",[],null,null,null,null,null)),(t()(),vo(18,0,null,null,1,"th",[],null,null,null,null,null)),(t()(),Ii(-1,null,["Server"])),(t()(),vo(20,0,null,null,1,"th",[],null,null,null,null,null)),(t()(),Ii(-1,null,["Calls started"])),(t()(),vo(22,0,null,null,1,"th",[],null,null,null,null,null)),(t()(),Ii(-1,null,["Calls succeeded"])),(t()(),vo(24,0,null,null,1,"th",[],null,null,null,null,null)),(t()(),Ii(-1,null,["Calls failed"])),(t()(),vo(26,0,null,null,1,"th",[],null,null,null,null,null)),(t()(),Ii(-1,null,["Last call started ts"])),(t()(),vo(28,0,null,null,1,"th",[],null,null,null,null,null)),(t()(),Ii(-1,null,["Listen Sockets"])),(t()(),go(16777216,null,null,1,null,hf)),oi(31,802816,null,0,ju,[bn,mn,Fn],{ngForOf:[0,"ngForOf"]},null),(t()(),go(16777216,null,null,1,null,ff)),oi(33,16384,null,0,Uu,[bn,mn],{ngIf:[0,"ngIf"]},null),(t()(),go(16777216,null,null,1,null,df)),oi(35,16384,null,0,Uu,[bn,mn],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,6,0,""),t(e,9,0,n.startId),t(e,31,0,n.serversList),t(e,33,0,n.nextId),t(e,35,0,!n.nextId)},function(t,e){t(e,4,0,Go(e,6).required?"":null,Go(e,11).ngClassUntouched,Go(e,11).ngClassTouched,Go(e,11).ngClassPristine,Go(e,11).ngClassDirty,Go(e,11).ngClassValid,Go(e,11).ngClassInvalid,Go(e,11).ngClassPending)})}var vf=Vo("app-servers",sf,function(t){return Pi(0,[(t()(),vo(0,0,null,null,1,"app-servers",[],null,null,null,gf,cf)),oi(1,114688,null,0,sf,[$c,Vp,af],null,null)],function(t,e){t(e,1,0)},null)},{},{},[]),yf=function(){function t(t,e,n){this.route=t,this.router=e,this.channelzService=n,this.startId=0}return t.prototype.ngOnInit=function(){var t=this;this.render(),this.route.params.subscribe(function(e){return t.render()})},t.prototype.processEntry=function(){this.router.navigateByUrl("/channelz/topchannels/"+this.startId)},t.prototype.render=function(){var t=this,e=this.route.snapshot.paramMap.get("startId");this.startId=null==e?0:+e,this.channelzService.getTopChannels(this.startId).subscribe(function(e){return t.handleResponse(e)})},t.prototype.channelDataHelperProxy=function(t){return ch(t)},t.prototype.handleResponse=function(t){this.topChannelsList=t.getChannelList(),this.nextId=t.getEnd()?null:this.topChannelsList[this.topChannelsList.length-1].getRef().getChannelId()},t}(),mf=Ur({encapsulation:0,styles:[[""]],data:{}});function bf(t){return Pi(0,[(t()(),vo(0,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),vo(1,0,null,null,2,"a",[],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==Go(t,2).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),oi(2,671744,null,0,jp,[Vp,$c,Cu],{routerLink:[0,"routerLink"]},null),(t()(),Ii(3,null,["","[","]"])),(t()(),Ii(-1,null,[", "]))],function(t,e){t(e,2,0,ho(1,"/channelz/channel/",e.context.$implicit.getChannelId(),""))},function(t,e){t(e,1,0,Go(e,2).target,Go(e,2).href),t(e,3,0,e.context.$implicit.getChannelId(),e.context.$implicit.getName())})}function _f(t){return Pi(0,[(t()(),vo(0,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),vo(1,0,null,null,2,"a",[],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==Go(t,2).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),oi(2,671744,null,0,jp,[Vp,$c,Cu],{routerLink:[0,"routerLink"]},null),(t()(),Ii(3,null,["","[","]"])),(t()(),Ii(-1,null,[", "]))],function(t,e){t(e,2,0,ho(1,"/channelz/subchannel/",e.context.$implicit.getSubchannelId(),""))},function(t,e){t(e,1,0,Go(e,2).target,Go(e,2).href),t(e,3,0,e.context.$implicit.getSubchannelId(),e.context.$implicit.getName())})}function wf(t){return Pi(0,[(t()(),vo(0,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),vo(1,0,null,null,2,"a",[],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==Go(t,2).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),oi(2,671744,null,0,jp,[Vp,$c,Cu],{routerLink:[0,"routerLink"]},null),(t()(),Ii(3,null,["","[","]"])),(t()(),Ii(-1,null,[", "]))],function(t,e){t(e,2,0,ho(1,"/channelz/socket/",e.context.$implicit.getSocketId(),""))},function(t,e){t(e,1,0,Go(e,2).target,Go(e,2).href),t(e,3,0,e.context.$implicit.getSocketId(),e.context.$implicit.getName())})}function Cf(t){return Pi(0,[(t()(),vo(0,0,null,null,16,"tr",[],null,null,null,null,null)),(t()(),vo(1,0,null,null,3,"td",[],null,null,null,null,null)),(t()(),vo(2,0,null,null,2,"a",[],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==Go(t,3).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),oi(3,671744,null,0,jp,[Vp,$c,Cu],{routerLink:[0,"routerLink"]},null),(t()(),Ii(4,null,["","[","]"])),(t()(),vo(5,0,null,null,2,"td",[],null,null,null,null,null)),(t()(),vo(6,0,null,null,1,"pre",[],null,null,null,null,null)),(t()(),Ii(7,null,["",""])),(t()(),vo(8,0,null,null,2,"td",[],null,null,null,null,null)),(t()(),go(16777216,null,null,1,null,bf)),oi(10,802816,null,0,ju,[bn,mn,Fn],{ngForOf:[0,"ngForOf"]},null),(t()(),vo(11,0,null,null,2,"td",[],null,null,null,null,null)),(t()(),go(16777216,null,null,1,null,_f)),oi(13,802816,null,0,ju,[bn,mn,Fn],{ngForOf:[0,"ngForOf"]},null),(t()(),vo(14,0,null,null,2,"td",[],null,null,null,null,null)),(t()(),go(16777216,null,null,1,null,wf)),oi(16,802816,null,0,ju,[bn,mn,Fn],{ngForOf:[0,"ngForOf"]},null)],function(t,e){t(e,3,0,ho(1,"/channelz/channel/",e.context.$implicit.getRef().getChannelId(),"")),t(e,10,0,e.context.$implicit.getChannelRefList()),t(e,13,0,e.context.$implicit.getSubchannelRefList()),t(e,16,0,e.context.$implicit.getSocketRefList())},function(t,e){var n=e.component;t(e,2,0,Go(e,3).target,Go(e,3).href),t(e,4,0,e.context.$implicit.getRef().getChannelId(),e.context.$implicit.getRef().getName()),t(e,7,0,n.channelDataHelperProxy(e.context.$implicit.getData()))})}function Sf(t){return Pi(0,[(t()(),vo(0,0,null,null,3,"div",[],null,null,null,null,null)),(t()(),vo(1,0,null,null,2,"a",[],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==Go(t,2).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),oi(2,671744,null,0,jp,[Vp,$c,Cu],{routerLink:[0,"routerLink"]},null),(t()(),Ii(-1,null,["Click here for next page"]))],function(t,e){t(e,2,0,ho(1,"/channelz/topchannels/",e.component.nextId,""))},function(t,e){t(e,1,0,Go(e,2).target,Go(e,2).href)})}function kf(t){return Pi(0,[(t()(),vo(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),vo(1,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Ii(-1,null,["End of results"]))],null,null)}function xf(t){return Pi(0,[(t()(),vo(0,0,null,null,1,"h3",[],null,null,null,null,null)),(t()(),Ii(-1,null,["Showing top level channels starting from:"])),(t()(),vo(2,0,[["textbox",1]],null,7,"input",[["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"keyup.enter"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(t,e,n){var r=!0,o=t.component;return"input"===e&&(r=!1!==Go(t,3)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==Go(t,3).onTouched()&&r),"compositionstart"===e&&(r=!1!==Go(t,3)._compositionStart()&&r),"compositionend"===e&&(r=!1!==Go(t,3)._compositionEnd(n.target.value)&&r),"ngModelChange"===e&&(r=!1!==(o.startId=n)&&r),"keyup.enter"===e&&(r=!1!==o.processEntry()&&r),r},null,null)),oi(3,16384,null,0,Eh,[cn,pn,[2,xh]],null,null),oi(4,16384,null,0,of,[],{required:[0,"required"]},null),li(1024,null,yh,function(t){return[t]},[of]),li(1024,null,Sh,function(t){return[t]},[Eh]),oi(7,671744,null,0,rf,[[8,null],[6,yh],[8,null],[6,Sh]],{model:[0,"model"]},{update:"ngModelChange"}),li(2048,null,Ph,null,[rf]),oi(9,16384,null,0,Bh,[[4,Ph]],null,null),(t()(),vo(10,0,null,null,1,"button",[],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.processEntry()&&r),r},null,null)),(t()(),Ii(-1,null,["Refresh"])),(t()(),vo(12,0,null,null,15,"div",[],null,null,null,null,null)),(t()(),vo(13,0,null,null,14,"table",[],null,null,null,null,null)),(t()(),vo(14,0,null,null,13,"tbody",[],null,null,null,null,null)),(t()(),vo(15,0,null,null,10,"tr",[],null,null,null,null,null)),(t()(),vo(16,0,null,null,1,"th",[],null,null,null,null,null)),(t()(),Ii(-1,null,["Channel"])),(t()(),vo(18,0,null,null,1,"th",[],null,null,null,null,null)),(t()(),Ii(-1,null,["Data"])),(t()(),vo(20,0,null,null,1,"th",[],null,null,null,null,null)),(t()(),Ii(-1,null,["Channels"])),(t()(),vo(22,0,null,null,1,"th",[],null,null,null,null,null)),(t()(),Ii(-1,null,["Subchannels"])),(t()(),vo(24,0,null,null,1,"th",[],null,null,null,null,null)),(t()(),Ii(-1,null,["Sockets"])),(t()(),go(16777216,null,null,1,null,Cf)),oi(27,802816,null,0,ju,[bn,mn,Fn],{ngForOf:[0,"ngForOf"]},null),(t()(),go(16777216,null,null,1,null,Sf)),oi(29,16384,null,0,Uu,[bn,mn],{ngIf:[0,"ngIf"]},null),(t()(),go(16777216,null,null,1,null,kf)),oi(31,16384,null,0,Uu,[bn,mn],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,4,0,""),t(e,7,0,n.startId),t(e,27,0,n.topChannelsList),t(e,29,0,n.nextId),t(e,31,0,!n.nextId)},function(t,e){t(e,2,0,Go(e,4).required?"":null,Go(e,9).ngClassUntouched,Go(e,9).ngClassTouched,Go(e,9).ngClassPristine,Go(e,9).ngClassDirty,Go(e,9).ngClassValid,Go(e,9).ngClassInvalid,Go(e,9).ngClassPending)})}var Ef=Vo("app-top-channels",yf,function(t){return Pi(0,[(t()(),vo(0,0,null,null,1,"app-top-channels",[],null,null,null,xf,mf)),oi(1,114688,null,0,yf,[$c,Vp,af],null,null)],function(t,e){t(e,1,0)},null)},{},{},[]),Tf=function(t,e){this.name=t,this.value=e},If=function(){function t(t,e,n){this.route=t,this.router=e,this.channelzService=n}return t.prototype.ngOnInit=function(){var t=this;this.render(),this.route.params.subscribe(function(e){return t.render()})},t.prototype.processEntry=function(){this.router.navigateByUrl("/channelz/socket/"+this.enteredData)},t.prototype.render=function(){var t=this,e=this.route.snapshot.paramMap.get("id");this.id=null==e?0:+e,this.enteredData=this.id.toString(),this.channelzService.getSocket(+this.id).subscribe(function(e){return t.handleResponse(e)})},t.prototype.handleResponse=function(t){this.socket=t.getSocket(),this.simplifiedData=this.simplifiedDataHelper(),this.securiyStr=this.securityHelper(this.socket.getSecurity())},t.prototype.simplifiedDataHelper=function(){var t=this.socket.getData();return null==t?"undefined":"Streams started: "+t.getStreamsStarted()+"\nStreams succeeded: "+t.getStreamsSucceeded()+"\nStreams failed: "+t.getStreamsFailed()+"\nMessages sent: "+t.getMessagesSent()+"\nMessages received: "+t.getMessagesReceived()+"\nKeepalives sent: "+t.getKeepAlivesSent()+"\nLast local stream created: "+ph.transform(t.getLastLocalStreamCreatedTimestamp())+"\nLast remote stream created: "+ph.transform(t.getLastRemoteStreamCreatedTimestamp())+"\nLast message sent: "+ph.transform(t.getLastMessageSentTimestamp())+"\nLast message received: "+ph.transform(t.getLastMessageReceivedTimestamp())+"\nLocal flow control window: "+t.getLocalFlowControlWindow()+"\nRemote flow control window: "+t.getRemoteFlowControlWindow()+"\n"},t.prototype.securityHelper=function(t){if(null==t)return"plaintext";if(null!=t.getTls()){var e=t.getTls();return"standard name: "+e.getStandardName()+"\nother name: "+e.getOtherName()+"\nlocal cert (base64): "+btoa(e.getLocalCertificate())+"\nremote cert (base64): "+btoa(e.getRemoteCertificate())}if(null!=t.getOther()){var n=t.getOther();return"name: "+n.getName()+"\nvalue: "+sh(n.getValue())}return"plaintext"},t.prototype.socketOptions=function(){var t=this.socket.getData();return null==t||null==t.getOptionList()?[]:t.getOptionList().map(function(t){return null!=t.getAdditional()?new Tf(t.getName(),sh(t.getAdditional())):new Tf(t.getName(),t.getValue())})},t}(),Af=Ur({encapsulation:0,styles:[[""]],data:{}});function Of(t){return Pi(0,[(t()(),vo(0,0,null,null,5,"tr",[],null,null,null,null,null)),(t()(),vo(1,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),Ii(2,null,["Socket Option: ",""])),(t()(),vo(3,0,null,null,2,"td",[],null,null,null,null,null)),(t()(),vo(4,0,null,null,1,"pre",[],null,null,null,null,null)),(t()(),Ii(5,null,["",""]))],null,function(t,e){t(e,2,0,e.context.$implicit.name),t(e,5,0,e.context.$implicit.value)})}function Pf(t){return Pi(0,[(t()(),vo(0,0,null,null,41,"div",[],null,null,null,null,null)),(t()(),vo(1,0,null,null,40,"table",[],null,null,null,null,null)),(t()(),vo(2,0,null,null,39,"tbody",[],null,null,null,null,null)),(t()(),vo(3,0,null,null,4,"tr",[],null,null,null,null,null)),(t()(),vo(4,0,null,null,1,"th",[],null,null,null,null,null)),(t()(),Ii(-1,null,["Field"])),(t()(),vo(6,0,null,null,1,"th",[],null,null,null,null,null)),(t()(),Ii(-1,null,["Value"])),(t()(),vo(8,0,null,null,5,"tr",[],null,null,null,null,null)),(t()(),vo(9,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),Ii(-1,null,["Socketref"])),(t()(),vo(11,0,null,null,2,"td",[],null,null,null,null,null)),(t()(),vo(12,0,null,null,1,"pre",[],null,null,null,null,null)),(t()(),Ii(13,null,["","[","]"])),(t()(),vo(14,0,null,null,6,"tr",[],null,null,null,null,null)),(t()(),vo(15,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),Ii(-1,null,["Local Address"])),(t()(),vo(17,0,null,null,3,"td",[],null,null,null,null,null)),(t()(),vo(18,0,null,null,2,"pre",[],null,null,null,null,null)),(t()(),Ii(19,null,["",""])),Ti(20,1),(t()(),vo(21,0,null,null,6,"tr",[],null,null,null,null,null)),(t()(),vo(22,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),Ii(-1,null,["Remote Address"])),(t()(),vo(24,0,null,null,3,"td",[],null,null,null,null,null)),(t()(),vo(25,0,null,null,2,"pre",[],null,null,null,null,null)),(t()(),Ii(26,null,["",""])),Ti(27,1),(t()(),vo(28,0,null,null,5,"tr",[],null,null,null,null,null)),(t()(),vo(29,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),Ii(-1,null,["Security"])),(t()(),vo(31,0,null,null,2,"td",[],null,null,null,null,null)),(t()(),vo(32,0,null,null,1,"pre",[],null,null,null,null,null)),(t()(),Ii(33,null,["",""])),(t()(),vo(34,0,null,null,5,"tr",[],null,null,null,null,null)),(t()(),vo(35,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),Ii(-1,null,["Data"])),(t()(),vo(37,0,null,null,2,"td",[],null,null,null,null,null)),(t()(),vo(38,0,null,null,1,"pre",[],null,null,null,null,null)),(t()(),Ii(39,null,["",""])),(t()(),go(16777216,null,null,1,null,Of)),oi(41,802816,null,0,ju,[bn,mn,Fn],{ngForOf:[0,"ngForOf"]},null)],function(t,e){t(e,41,0,e.component.socketOptions())},function(t,e){var n=e.component;t(e,13,0,n.socket.getRef().getSocketId(),n.socket.getRef().getName()),t(e,19,0,Mr(e,19,0,t(e,20,0,Go(e.parent,0),n.socket.getLocal()))),t(e,26,0,Mr(e,26,0,t(e,27,0,Go(e.parent,0),n.socket.getRemote()))),t(e,33,0,n.securiyStr),t(e,39,0,n.simplifiedData)})}function Rf(t){return Pi(0,[(t()(),vo(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),vo(1,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Ii(-1,null,["Socket does not exist"]))],null,null)}function Nf(t){return Pi(0,[ii(0,hh,[]),(t()(),vo(1,0,null,null,1,"h3",[],null,null,null,null,null)),(t()(),Ii(-1,null,["Showing socket:"])),(t()(),vo(3,0,[["textbox",1]],null,7,"input",[["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"keyup.enter"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(t,e,n){var r=!0,o=t.component;return"input"===e&&(r=!1!==Go(t,4)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==Go(t,4).onTouched()&&r),"compositionstart"===e&&(r=!1!==Go(t,4)._compositionStart()&&r),"compositionend"===e&&(r=!1!==Go(t,4)._compositionEnd(n.target.value)&&r),"ngModelChange"===e&&(r=!1!==(o.enteredData=n)&&r),"keyup.enter"===e&&(r=!1!==o.processEntry()&&r),r},null,null)),oi(4,16384,null,0,Eh,[cn,pn,[2,xh]],null,null),oi(5,16384,null,0,of,[],{required:[0,"required"]},null),li(1024,null,yh,function(t){return[t]},[of]),li(1024,null,Sh,function(t){return[t]},[Eh]),oi(8,671744,null,0,rf,[[8,null],[6,yh],[8,null],[6,Sh]],{model:[0,"model"]},{update:"ngModelChange"}),li(2048,null,Ph,null,[rf]),oi(10,16384,null,0,Bh,[[4,Ph]],null,null),(t()(),vo(11,0,null,null,1,"button",[],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.processEntry()&&r),r},null,null)),(t()(),Ii(-1,null,["Refresh"])),(t()(),vo(13,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),go(16777216,null,null,1,null,Pf)),oi(15,16384,null,0,Uu,[bn,mn],{ngIf:[0,"ngIf"]},null),(t()(),go(16777216,null,null,1,null,Rf)),oi(17,16384,null,0,Uu,[bn,mn],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,5,0,""),t(e,8,0,n.enteredData),t(e,15,0,n.socket),t(e,17,0,!n.socket)},function(t,e){t(e,3,0,Go(e,5).required?"":null,Go(e,10).ngClassUntouched,Go(e,10).ngClassTouched,Go(e,10).ngClassPristine,Go(e,10).ngClassDirty,Go(e,10).ngClassValid,Go(e,10).ngClassInvalid,Go(e,10).ngClassPending)})}var Vf=Vo("app-socket",If,function(t){return Pi(0,[(t()(),vo(0,0,null,null,1,"app-socket",[],null,null,null,Nf,Af)),oi(1,114688,null,0,If,[$c,Vp,af],null,null)],function(t,e){t(e,1,0)},null)},{},{},[]),Df=function(){function t(t,e,n){this.route=t,this.router=e,this.channelzService=n,this.enteredData="0",this.id=0}return t.prototype.ngOnInit=function(){var t=this;this.render(),this.route.params.subscribe(function(e){return t.render()})},t.prototype.processEntry=function(){this.router.navigateByUrl("/channelz/channel/"+this.enteredData)},t.prototype.render=function(){var t=this,e=this.route.snapshot.paramMap.get("id");this.id=null==e?0:+e,this.enteredData=this.id.toString(),this.channelzService.getChannel(this.id).subscribe(function(e){return t.handleResponse(e)})},t.prototype.handleResponse=function(t){this.channel=t.getChannel(),this.channelDataStr=ch(this.channel.getData())},t}(),Mf=Ur({encapsulation:0,styles:[[""]],data:{}});function jf(t){return Pi(0,[(t()(),vo(0,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),vo(1,0,null,null,2,"a",[],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==Go(t,2).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),oi(2,671744,null,0,jp,[Vp,$c,Cu],{routerLink:[0,"routerLink"]},null),(t()(),Ii(3,null,["","[","]"])),(t()(),Ii(-1,null,[", "]))],function(t,e){t(e,2,0,ho(1,"/channelz/channel/",e.context.$implicit.getChannelId(),""))},function(t,e){t(e,1,0,Go(e,2).target,Go(e,2).href),t(e,3,0,e.context.$implicit.getChannelId(),e.context.$implicit.getName())})}function Lf(t){return Pi(0,[(t()(),vo(0,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),vo(1,0,null,null,2,"a",[],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==Go(t,2).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),oi(2,671744,null,0,jp,[Vp,$c,Cu],{routerLink:[0,"routerLink"]},null),(t()(),Ii(3,null,["","[","]"])),(t()(),Ii(-1,null,[", "]))],function(t,e){t(e,2,0,ho(1,"/channelz/subchannel/",e.context.$implicit.getSubchannelId(),""))},function(t,e){t(e,1,0,Go(e,2).target,Go(e,2).href),t(e,3,0,e.context.$implicit.getSubchannelId(),e.context.$implicit.getName())})}function Uf(t){return Pi(0,[(t()(),vo(0,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),vo(1,0,null,null,2,"a",[],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==Go(t,2).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),oi(2,671744,null,0,jp,[Vp,$c,Cu],{routerLink:[0,"routerLink"]},null),(t()(),Ii(3,null,["","[","]"])),(t()(),Ii(-1,null,[", "]))],function(t,e){t(e,2,0,ho(1,"/channelz/socket/",e.context.$implicit.getSocketId(),""))},function(t,e){t(e,1,0,Go(e,2).target,Go(e,2).href),t(e,3,0,e.context.$implicit.getSocketId(),e.context.$implicit.getName())})}function zf(t){return Pi(0,[(t()(),vo(0,0,null,null,37,"div",[],null,null,null,null,null)),(t()(),vo(1,0,null,null,36,"table",[],null,null,null,null,null)),(t()(),vo(2,0,null,null,35,"tbody",[],null,null,null,null,null)),(t()(),vo(3,0,null,null,4,"tr",[],null,null,null,null,null)),(t()(),vo(4,0,null,null,1,"th",[],null,null,null,null,null)),(t()(),Ii(-1,null,["Field"])),(t()(),vo(6,0,null,null,1,"th",[],null,null,null,null,null)),(t()(),Ii(-1,null,["Value"])),(t()(),vo(8,0,null,null,5,"tr",[],null,null,null,null,null)),(t()(),vo(9,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),Ii(-1,null,["ChannelRef"])),(t()(),vo(11,0,null,null,2,"td",[],null,null,null,null,null)),(t()(),vo(12,0,null,null,1,"pre",[],null,null,null,null,null)),(t()(),Ii(13,null,["","[","]"])),(t()(),vo(14,0,null,null,5,"tr",[],null,null,null,null,null)),(t()(),vo(15,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),Ii(-1,null,["Data"])),(t()(),vo(17,0,null,null,2,"td",[],null,null,null,null,null)),(t()(),vo(18,0,null,null,1,"pre",[],null,null,null,null,null)),(t()(),Ii(19,null,["",""])),(t()(),vo(20,0,null,null,5,"tr",[],null,null,null,null,null)),(t()(),vo(21,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),Ii(-1,null,["Channels"])),(t()(),vo(23,0,null,null,2,"td",[],null,null,null,null,null)),(t()(),go(16777216,null,null,1,null,jf)),oi(25,802816,null,0,ju,[bn,mn,Fn],{ngForOf:[0,"ngForOf"]},null),(t()(),vo(26,0,null,null,5,"tr",[],null,null,null,null,null)),(t()(),vo(27,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),Ii(-1,null,["Subchannels"])),(t()(),vo(29,0,null,null,2,"td",[],null,null,null,null,null)),(t()(),go(16777216,null,null,1,null,Lf)),oi(31,802816,null,0,ju,[bn,mn,Fn],{ngForOf:[0,"ngForOf"]},null),(t()(),vo(32,0,null,null,5,"tr",[],null,null,null,null,null)),(t()(),vo(33,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),Ii(-1,null,["Sockets"])),(t()(),vo(35,0,null,null,2,"td",[],null,null,null,null,null)),(t()(),go(16777216,null,null,1,null,Uf)),oi(37,802816,null,0,ju,[bn,mn,Fn],{ngForOf:[0,"ngForOf"]},null)],function(t,e){var n=e.component;t(e,25,0,n.channel.getChannelRefList()),t(e,31,0,n.channel.getSubchannelRefList()),t(e,37,0,n.channel.getSocketRefList())},function(t,e){var n=e.component;t(e,13,0,n.channel.getRef().getChannelId(),n.channel.getRef().getName()),t(e,19,0,n.channelDataStr)})}function Ff(t){return Pi(0,[(t()(),vo(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),vo(1,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Ii(-1,null,["Channel does not exist"]))],null,null)}function Hf(t){return Pi(0,[(t()(),vo(0,0,null,null,1,"h3",[],null,null,null,null,null)),(t()(),Ii(-1,null,["Showing channel:"])),(t()(),vo(2,0,[["textbox",1]],null,7,"input",[["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"keyup.enter"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(t,e,n){var r=!0,o=t.component;return"input"===e&&(r=!1!==Go(t,3)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==Go(t,3).onTouched()&&r),"compositionstart"===e&&(r=!1!==Go(t,3)._compositionStart()&&r),"compositionend"===e&&(r=!1!==Go(t,3)._compositionEnd(n.target.value)&&r),"ngModelChange"===e&&(r=!1!==(o.enteredData=n)&&r),"keyup.enter"===e&&(r=!1!==o.processEntry()&&r),r},null,null)),oi(3,16384,null,0,Eh,[cn,pn,[2,xh]],null,null),oi(4,16384,null,0,of,[],{required:[0,"required"]},null),li(1024,null,yh,function(t){return[t]},[of]),li(1024,null,Sh,function(t){return[t]},[Eh]),oi(7,671744,null,0,rf,[[8,null],[6,yh],[8,null],[6,Sh]],{model:[0,"model"]},{update:"ngModelChange"}),li(2048,null,Ph,null,[rf]),oi(9,16384,null,0,Bh,[[4,Ph]],null,null),(t()(),vo(10,0,null,null,1,"button",[],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.processEntry()&&r),r},null,null)),(t()(),Ii(-1,null,["Refresh"])),(t()(),vo(12,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),go(16777216,null,null,1,null,zf)),oi(14,16384,null,0,Uu,[bn,mn],{ngIf:[0,"ngIf"]},null),(t()(),go(16777216,null,null,1,null,Ff)),oi(16,16384,null,0,Uu,[bn,mn],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,4,0,""),t(e,7,0,n.enteredData),t(e,14,0,n.channel),t(e,16,0,!n.channel&&n.id)},function(t,e){t(e,2,0,Go(e,4).required?"":null,Go(e,9).ngClassUntouched,Go(e,9).ngClassTouched,Go(e,9).ngClassPristine,Go(e,9).ngClassDirty,Go(e,9).ngClassValid,Go(e,9).ngClassInvalid,Go(e,9).ngClassPending)})}var qf=Vo("app-channel",Df,function(t){return Pi(0,[(t()(),vo(0,0,null,null,1,"app-channel",[],null,null,null,Hf,Mf)),oi(1,114688,null,0,Df,[$c,Vp,af],null,null)],function(t,e){t(e,1,0)},null)},{},{},[]),Bf=function(){function t(t,e,n){this.route=t,this.router=e,this.channelzService=n}return t.prototype.ngOnInit=function(){var t=this;this.render(),this.route.params.subscribe(function(e){return t.render()})},t.prototype.processEntry=function(){this.router.navigateByUrl("/channelz/subchannel/"+this.enteredData)},t.prototype.render=function(){var t=this,e=this.route.snapshot.paramMap.get("id");this.id=null==e?0:+e,this.enteredData=this.id.toString(),this.channelzService.getSubchannel(this.id).subscribe(function(e){return t.handleResponse(e)})},t.prototype.handleResponse=function(t){this.subchannel=t.getSubchannel(),this.subchannelDataStr=ch(this.subchannel.getData())},t}(),Gf=Ur({encapsulation:0,styles:[[""]],data:{}});function Kf(t){return Pi(0,[(t()(),vo(0,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),vo(1,0,null,null,2,"a",[],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==Go(t,2).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),oi(2,671744,null,0,jp,[Vp,$c,Cu],{routerLink:[0,"routerLink"]},null),(t()(),Ii(3,null,["","[","]"])),(t()(),Ii(-1,null,[", "]))],function(t,e){t(e,2,0,ho(1,"/channelz/channel/",e.context.$implicit.getChannelId(),""))},function(t,e){t(e,1,0,Go(e,2).target,Go(e,2).href),t(e,3,0,e.context.$implicit.getChannelId(),e.context.$implicit.getName())})}function Wf(t){return Pi(0,[(t()(),vo(0,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),vo(1,0,null,null,2,"a",[],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==Go(t,2).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),oi(2,671744,null,0,jp,[Vp,$c,Cu],{routerLink:[0,"routerLink"]},null),(t()(),Ii(3,null,["","[","]"])),(t()(),Ii(-1,null,[", "]))],function(t,e){t(e,2,0,ho(1,"/channelz/subchannel/",e.context.$implicit.getChannelId(),""))},function(t,e){t(e,1,0,Go(e,2).target,Go(e,2).href),t(e,3,0,e.context.$implicit.getSubchannelId(),e.context.$implicit.getName())})}function Zf(t){return Pi(0,[(t()(),vo(0,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),vo(1,0,null,null,2,"a",[],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==Go(t,2).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),oi(2,671744,null,0,jp,[Vp,$c,Cu],{routerLink:[0,"routerLink"]},null),(t()(),Ii(3,null,["","[","]"])),(t()(),Ii(-1,null,[", "]))],function(t,e){t(e,2,0,ho(1,"/channelz/socket/",e.context.$implicit.getSocketId(),""))},function(t,e){t(e,1,0,Go(e,2).target,Go(e,2).href),t(e,3,0,e.context.$implicit.getSocketId(),e.context.$implicit.getName())})}function $f(t){return Pi(0,[(t()(),vo(0,0,null,null,37,"div",[],null,null,null,null,null)),(t()(),vo(1,0,null,null,36,"table",[],null,null,null,null,null)),(t()(),vo(2,0,null,null,35,"tbody",[],null,null,null,null,null)),(t()(),vo(3,0,null,null,4,"tr",[],null,null,null,null,null)),(t()(),vo(4,0,null,null,1,"th",[],null,null,null,null,null)),(t()(),Ii(-1,null,["Field"])),(t()(),vo(6,0,null,null,1,"th",[],null,null,null,null,null)),(t()(),Ii(-1,null,["Value"])),(t()(),vo(8,0,null,null,5,"tr",[],null,null,null,null,null)),(t()(),vo(9,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),Ii(-1,null,["SubchannelRef"])),(t()(),vo(11,0,null,null,2,"td",[],null,null,null,null,null)),(t()(),vo(12,0,null,null,1,"pre",[],null,null,null,null,null)),(t()(),Ii(13,null,["","[","]"])),(t()(),vo(14,0,null,null,5,"tr",[],null,null,null,null,null)),(t()(),vo(15,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),Ii(-1,null,["Data"])),(t()(),vo(17,0,null,null,2,"td",[],null,null,null,null,null)),(t()(),vo(18,0,null,null,1,"pre",[],null,null,null,null,null)),(t()(),Ii(19,null,["",""])),(t()(),vo(20,0,null,null,5,"tr",[],null,null,null,null,null)),(t()(),vo(21,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),Ii(-1,null,["Channels"])),(t()(),vo(23,0,null,null,2,"td",[],null,null,null,null,null)),(t()(),go(16777216,null,null,1,null,Kf)),oi(25,802816,null,0,ju,[bn,mn,Fn],{ngForOf:[0,"ngForOf"]},null),(t()(),vo(26,0,null,null,5,"tr",[],null,null,null,null,null)),(t()(),vo(27,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),Ii(-1,null,["Subchannels"])),(t()(),vo(29,0,null,null,2,"td",[],null,null,null,null,null)),(t()(),go(16777216,null,null,1,null,Wf)),oi(31,802816,null,0,ju,[bn,mn,Fn],{ngForOf:[0,"ngForOf"]},null),(t()(),vo(32,0,null,null,5,"tr",[],null,null,null,null,null)),(t()(),vo(33,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),Ii(-1,null,["Sockets"])),(t()(),vo(35,0,null,null,2,"td",[],null,null,null,null,null)),(t()(),go(16777216,null,null,1,null,Zf)),oi(37,802816,null,0,ju,[bn,mn,Fn],{ngForOf:[0,"ngForOf"]},null)],function(t,e){var n=e.component;t(e,25,0,n.subchannel.getChannelRefList()),t(e,31,0,n.subchannel.getSubchannelRefList()),t(e,37,0,n.subchannel.getSocketRefList())},function(t,e){var n=e.component;t(e,13,0,n.subchannel.getRef().getSubchannelId(),n.subchannel.getRef().getName()),t(e,19,0,n.subchannelDataStr)})}function Qf(t){return Pi(0,[(t()(),vo(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),vo(1,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Ii(-1,null,["Subchannel does not exist"]))],null,null)}function Jf(t){return Pi(0,[(t()(),vo(0,0,null,null,1,"h3",[],null,null,null,null,null)),(t()(),Ii(-1,null,["Showing subchannel:"])),(t()(),vo(2,0,[["textbox",1]],null,7,"input",[["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"keyup.enter"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(t,e,n){var r=!0,o=t.component;return"input"===e&&(r=!1!==Go(t,3)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==Go(t,3).onTouched()&&r),"compositionstart"===e&&(r=!1!==Go(t,3)._compositionStart()&&r),"compositionend"===e&&(r=!1!==Go(t,3)._compositionEnd(n.target.value)&&r),"ngModelChange"===e&&(r=!1!==(o.enteredData=n)&&r),"keyup.enter"===e&&(r=!1!==o.processEntry()&&r),r},null,null)),oi(3,16384,null,0,Eh,[cn,pn,[2,xh]],null,null),oi(4,16384,null,0,of,[],{required:[0,"required"]},null),li(1024,null,yh,function(t){return[t]},[of]),li(1024,null,Sh,function(t){return[t]},[Eh]),oi(7,671744,null,0,rf,[[8,null],[6,yh],[8,null],[6,Sh]],{model:[0,"model"]},{update:"ngModelChange"}),li(2048,null,Ph,null,[rf]),oi(9,16384,null,0,Bh,[[4,Ph]],null,null),(t()(),vo(10,0,null,null,1,"button",[],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.processEntry()&&r),r},null,null)),(t()(),Ii(-1,null,["Refresh"])),(t()(),vo(12,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),go(16777216,null,null,1,null,$f)),oi(14,16384,null,0,Uu,[bn,mn],{ngIf:[0,"ngIf"]},null),(t()(),go(16777216,null,null,1,null,Qf)),oi(16,16384,null,0,Uu,[bn,mn],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,4,0,""),t(e,7,0,n.enteredData),t(e,14,0,n.subchannel),t(e,16,0,!n.subchannel&&n.id)},function(t,e){t(e,2,0,Go(e,4).required?"":null,Go(e,9).ngClassUntouched,Go(e,9).ngClassTouched,Go(e,9).ngClassPristine,Go(e,9).ngClassDirty,Go(e,9).ngClassValid,Go(e,9).ngClassInvalid,Go(e,9).ngClassPending)})}var Yf=Vo("app-subchannel",Bf,function(t){return Pi(0,[(t()(),vo(0,0,null,null,1,"app-subchannel",[],null,null,null,Jf,Gf)),oi(1,114688,null,0,Bf,[$c,Vp,af],null,null)],function(t,e){t(e,1,0)},null)},{},{},[]),Xf=function(){function t(t,e,n){this.route=t,this.router=e,this.channelzService=n}return t.prototype.ngOnInit=function(){var t=this;this.render(),this.route.params.subscribe(function(e){return t.render()})},t.prototype.processEntry=function(){this.router.navigateByUrl("/channelz/serversockets/"+this.serverId+"/"+this.socketStartId)},t.prototype.render=function(){var t=this,e=this.route.snapshot.paramMap.get("serverId");this.serverId=null==e?0:+e;var n=this.route.snapshot.paramMap.get("socketStartId");this.socketStartId=null==n?0:+n,this.channelzService.getServerSockets(this.serverId,this.socketStartId).subscribe(function(e){return t.handleResponse(e)})},t.prototype.handleResponse=function(t){this.sockets=t.getSocketRefList(),this.nextSocketId=t.getEnd()?null:this.sockets[this.sockets.length-1].getSocketId()},t}(),td=Ur({encapsulation:0,styles:[[""]],data:{}});function ed(t){return Pi(0,[(t()(),vo(0,0,null,null,4,"tr",[],null,null,null,null,null)),(t()(),vo(1,0,null,null,3,"td",[],null,null,null,null,null)),(t()(),vo(2,0,null,null,2,"a",[],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==Go(t,3).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),oi(3,671744,null,0,jp,[Vp,$c,Cu],{routerLink:[0,"routerLink"]},null),(t()(),Ii(4,null,["","[","]"]))],function(t,e){t(e,3,0,ho(1,"/channelz/socket/",e.context.$implicit.getSocketId(),""))},function(t,e){t(e,2,0,Go(e,3).target,Go(e,3).href),t(e,4,0,e.context.$implicit.getSocketId(),e.context.$implicit.getName())})}function nd(t){return Pi(0,[(t()(),vo(0,0,null,null,3,"div",[],null,null,null,null,null)),(t()(),vo(1,0,null,null,2,"a",[],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==Go(t,2).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),oi(2,671744,null,0,jp,[Vp,$c,Cu],{routerLink:[0,"routerLink"]},null),(t()(),Ii(-1,null,["Click here for next page"]))],function(t,e){var n=e.component;t(e,2,0,ho(2,"/channelz/serversockets/",n.serverId,"/",n.nextSocketId,""))},function(t,e){t(e,1,0,Go(e,2).target,Go(e,2).href)})}function rd(t){return Pi(0,[(t()(),vo(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),vo(1,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Ii(-1,null,["End of results"]))],null,null)}function od(t){return Pi(0,[(t()(),vo(0,0,null,null,1,"h3",[],null,null,null,null,null)),(t()(),Ii(-1,null,["Showing server sockets starting from:"])),(t()(),Ii(-1,null,["\nServer id:\n"])),(t()(),vo(3,0,[["serverIdTextBox",1]],null,7,"input",[["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"keyup.enter"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(t,e,n){var r=!0,o=t.component;return"input"===e&&(r=!1!==Go(t,4)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==Go(t,4).onTouched()&&r),"compositionstart"===e&&(r=!1!==Go(t,4)._compositionStart()&&r),"compositionend"===e&&(r=!1!==Go(t,4)._compositionEnd(n.target.value)&&r),"ngModelChange"===e&&(r=!1!==(o.serverId=n)&&r),"keyup.enter"===e&&(r=!1!==o.processEntry()&&r),r},null,null)),oi(4,16384,null,0,Eh,[cn,pn,[2,xh]],null,null),oi(5,16384,null,0,of,[],{required:[0,"required"]},null),li(1024,null,yh,function(t){return[t]},[of]),li(1024,null,Sh,function(t){return[t]},[Eh]),oi(8,671744,null,0,rf,[[8,null],[6,yh],[8,null],[6,Sh]],{model:[0,"model"]},{update:"ngModelChange"}),li(2048,null,Ph,null,[rf]),oi(10,16384,null,0,Bh,[[4,Ph]],null,null),(t()(),Ii(-1,null,["\nStarting socket:\n"])),(t()(),vo(12,0,[["socketStartIdTextBox",1]],null,7,"input",[["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"keyup.enter"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(t,e,n){var r=!0,o=t.component;return"input"===e&&(r=!1!==Go(t,13)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==Go(t,13).onTouched()&&r),"compositionstart"===e&&(r=!1!==Go(t,13)._compositionStart()&&r),"compositionend"===e&&(r=!1!==Go(t,13)._compositionEnd(n.target.value)&&r),"ngModelChange"===e&&(r=!1!==(o.socketStartId=n)&&r),"keyup.enter"===e&&(r=!1!==o.processEntry()&&r),r},null,null)),oi(13,16384,null,0,Eh,[cn,pn,[2,xh]],null,null),oi(14,16384,null,0,of,[],{required:[0,"required"]},null),li(1024,null,yh,function(t){return[t]},[of]),li(1024,null,Sh,function(t){return[t]},[Eh]),oi(17,671744,null,0,rf,[[8,null],[6,yh],[8,null],[6,Sh]],{model:[0,"model"]},{update:"ngModelChange"}),li(2048,null,Ph,null,[rf]),oi(19,16384,null,0,Bh,[[4,Ph]],null,null),(t()(),vo(20,0,null,null,1,"button",[],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.processEntry()&&r),r},null,null)),(t()(),Ii(-1,null,["Refresh"])),(t()(),vo(22,0,null,null,7,"div",[],null,null,null,null,null)),(t()(),vo(23,0,null,null,6,"table",[],null,null,null,null,null)),(t()(),vo(24,0,null,null,5,"tbody",[],null,null,null,null,null)),(t()(),vo(25,0,null,null,2,"tr",[],null,null,null,null,null)),(t()(),vo(26,0,null,null,1,"th",[],null,null,null,null,null)),(t()(),Ii(-1,null,["Sockets"])),(t()(),go(16777216,null,null,1,null,ed)),oi(29,802816,null,0,ju,[bn,mn,Fn],{ngForOf:[0,"ngForOf"]},null),(t()(),go(16777216,null,null,1,null,nd)),oi(31,16384,null,0,Uu,[bn,mn],{ngIf:[0,"ngIf"]},null),(t()(),go(16777216,null,null,1,null,rd)),oi(33,16384,null,0,Uu,[bn,mn],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,5,0,""),t(e,8,0,n.serverId),t(e,14,0,""),t(e,17,0,n.socketStartId),t(e,29,0,n.sockets),t(e,31,0,n.nextSocketId),t(e,33,0,!n.nextSocketId)},function(t,e){t(e,3,0,Go(e,5).required?"":null,Go(e,10).ngClassUntouched,Go(e,10).ngClassTouched,Go(e,10).ngClassPristine,Go(e,10).ngClassDirty,Go(e,10).ngClassValid,Go(e,10).ngClassInvalid,Go(e,10).ngClassPending),t(e,12,0,Go(e,14).required?"":null,Go(e,19).ngClassUntouched,Go(e,19).ngClassTouched,Go(e,19).ngClassPristine,Go(e,19).ngClassDirty,Go(e,19).ngClassValid,Go(e,19).ngClassInvalid,Go(e,19).ngClassPending)})}var id=Vo("app-server-sockets",Xf,function(t){return Pi(0,[(t()(),vo(0,0,null,null,1,"app-server-sockets",[],null,null,null,od,td)),oi(1,114688,null,0,Xf,[$c,Vp,af],null,null)],function(t,e){t(e,1,0)},null)},{},{},[]),ld=function(){function t(){}return t.prototype.ngOnInit=function(){},t}(),ud=Ur({encapsulation:0,styles:[[""]],data:{}});function ad(t){return Pi(0,[(t()(),vo(0,0,null,null,5,"div",[],null,null,null,null,null)),(t()(),vo(1,0,null,null,1,"h2",[],null,null,null,null,null)),(t()(),Ii(-1,null,["Java notes:"])),(t()(),vo(3,0,null,null,2,"ul",[],null,null,null,null,null)),(t()(),vo(4,0,null,null,1,"li",[],null,null,null,null,null)),(t()(),Ii(-1,null,["InProcessTransport is not a real socket, so in process servers and channels will not provide socket level stats. If you try to load an InProcesTransport, channelz will report that the socket is not found. This is normal. Use the provided channel, subchannel, or server level stats instead."]))],null,null)}var sd=Vo("app-help",ld,function(t){return Pi(0,[(t()(),vo(0,0,null,null,1,"app-help",[],null,null,null,ad,ud)),oi(1,114688,null,0,ld,[],null,null)],function(t,e){t(e,1,0)},null)},{},{},[]),cd=Ur({encapsulation:0,styles:[[""]],data:{}});function pd(t){return Pi(0,[(t()(),vo(0,0,null,null,1,"h2",[],null,null,null,null,null)),(t()(),Ii(-1,null,["Channelz"])),(t()(),vo(2,0,null,null,49,"nav",[],null,null,null,null,null)),(t()(),vo(3,0,null,null,5,"a",[["routerLink","/channelz/servers"],["routerLinkActive","active"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==Go(t,4).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),oi(4,671744,[[2,4]],0,jp,[Vp,$c,Cu],{routerLink:[0,"routerLink"]},null),oi(5,1720320,null,2,Up,[Vp,pn,cn,_n],{routerLinkActive:[0,"routerLinkActive"]},null),wi(603979776,1,{links:1}),wi(603979776,2,{linksWithHrefs:1}),(t()(),Ii(-1,null,["Servers"])),(t()(),Ii(-1,null,["\xa0\xa0 "])),(t()(),vo(10,0,null,null,5,"a",[["routerLink","/channelz/topchannels"],["routerLinkActive","active"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==Go(t,11).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),oi(11,671744,[[4,4]],0,jp,[Vp,$c,Cu],{routerLink:[0,"routerLink"]},null),oi(12,1720320,null,2,Up,[Vp,pn,cn,_n],{routerLinkActive:[0,"routerLinkActive"]},null),wi(603979776,3,{links:1}),wi(603979776,4,{linksWithHrefs:1}),(t()(),Ii(-1,null,["TopChannels"])),(t()(),Ii(-1,null,["\xa0\xa0 "])),(t()(),vo(17,0,null,null,5,"a",[["routerLink","/channelz/serversockets"],["routerLinkActive","active"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==Go(t,18).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),oi(18,671744,[[6,4]],0,jp,[Vp,$c,Cu],{routerLink:[0,"routerLink"]},null),oi(19,1720320,null,2,Up,[Vp,pn,cn,_n],{routerLinkActive:[0,"routerLinkActive"]},null),wi(603979776,5,{links:1}),wi(603979776,6,{linksWithHrefs:1}),(t()(),Ii(-1,null,["Server sockets"])),(t()(),Ii(-1,null,["\xa0\xa0 "])),(t()(),vo(24,0,null,null,5,"a",[["routerLink","/channelz/channel"],["routerLinkActive","active"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==Go(t,25).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),oi(25,671744,[[8,4]],0,jp,[Vp,$c,Cu],{routerLink:[0,"routerLink"]},null),oi(26,1720320,null,2,Up,[Vp,pn,cn,_n],{routerLinkActive:[0,"routerLinkActive"]},null),wi(603979776,7,{links:1}),wi(603979776,8,{linksWithHrefs:1}),(t()(),Ii(-1,null,["Channel"])),(t()(),Ii(-1,null,["\xa0\xa0 "])),(t()(),vo(31,0,null,null,5,"a",[["routerLink","/channelz/subchannel"],["routerLinkActive","active"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==Go(t,32).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),oi(32,671744,[[10,4]],0,jp,[Vp,$c,Cu],{routerLink:[0,"routerLink"]},null),oi(33,1720320,null,2,Up,[Vp,pn,cn,_n],{routerLinkActive:[0,"routerLinkActive"]},null),wi(603979776,9,{links:1}),wi(603979776,10,{linksWithHrefs:1}),(t()(),Ii(-1,null,["Subchannel"])),(t()(),Ii(-1,null,["\xa0\xa0 "])),(t()(),vo(38,0,null,null,5,"a",[["routerLink","/channelz/socket"],["routerLinkActive","active"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==Go(t,39).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),oi(39,671744,[[12,4]],0,jp,[Vp,$c,Cu],{routerLink:[0,"routerLink"]},null),oi(40,1720320,null,2,Up,[Vp,pn,cn,_n],{routerLinkActive:[0,"routerLinkActive"]},null),wi(603979776,11,{links:1}),wi(603979776,12,{linksWithHrefs:1}),(t()(),Ii(-1,null,["Socket"])),(t()(),Ii(-1,null,["\xa0\xa0 "])),(t()(),vo(45,0,null,null,5,"a",[["routerLink","/channelz/help"],["routerLinkActive","active"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==Go(t,46).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),oi(46,671744,[[14,4]],0,jp,[Vp,$c,Cu],{routerLink:[0,"routerLink"]},null),oi(47,1720320,null,2,Up,[Vp,pn,cn,_n],{routerLinkActive:[0,"routerLinkActive"]},null),wi(603979776,13,{links:1}),wi(603979776,14,{linksWithHrefs:1}),(t()(),Ii(-1,null,["Help"])),(t()(),Ii(-1,null,["\xa0\xa0\n"])),(t()(),vo(52,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),oi(53,212992,null,0,Hp,[Fp,bn,Ae,[8,null],_n],null,null)],function(t,e){t(e,4,0,"/channelz/servers"),t(e,5,0,"active"),t(e,11,0,"/channelz/topchannels"),t(e,12,0,"active"),t(e,18,0,"/channelz/serversockets"),t(e,19,0,"active"),t(e,25,0,"/channelz/channel"),t(e,26,0,"active"),t(e,32,0,"/channelz/subchannel"),t(e,33,0,"active"),t(e,39,0,"/channelz/socket"),t(e,40,0,"active"),t(e,46,0,"/channelz/help"),t(e,47,0,"active"),t(e,53,0)},function(t,e){t(e,3,0,Go(e,4).target,Go(e,4).href),t(e,10,0,Go(e,11).target,Go(e,11).href),t(e,17,0,Go(e,18).target,Go(e,18).href),t(e,24,0,Go(e,25).target,Go(e,25).href),t(e,31,0,Go(e,32).target,Go(e,32).href),t(e,38,0,Go(e,39).target,Go(e,39).href),t(e,45,0,Go(e,46).target,Go(e,46).href)})}var hd=Vo("app-root",bu,function(t){return Pi(0,[(t()(),vo(0,0,null,null,1,"app-root",[],null,null,null,pd,cd)),oi(1,49152,null,0,bu,[],null,null)],null,null)},{},{},[]),fd=function(){},dd=function(){},gd=function(){function t(t){var e=this;this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?function(){e.headers=new Map,t.split("\n").forEach(function(t){var n=t.indexOf(":");if(n>0){var r=t.slice(0,n),o=r.toLowerCase(),i=t.slice(n+1).trim();e.maybeSetNormalizedName(r,o),e.headers.has(o)?e.headers.get(o).push(i):e.headers.set(o,[i])}})}:function(){e.headers=new Map,Object.keys(t).forEach(function(n){var r=t[n],o=n.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(e.headers.set(o,r),e.maybeSetNormalizedName(n,o))})}:this.headers=new Map}return t.prototype.has=function(t){return this.init(),this.headers.has(t.toLowerCase())},t.prototype.get=function(t){this.init();var e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null},t.prototype.keys=function(){return this.init(),Array.from(this.normalizedNames.values())},t.prototype.getAll=function(t){return this.init(),this.headers.get(t.toLowerCase())||null},t.prototype.append=function(t,e){return this.clone({name:t,value:e,op:"a"})},t.prototype.set=function(t,e){return this.clone({name:t,value:e,op:"s"})},t.prototype.delete=function(t,e){return this.clone({name:t,value:e,op:"d"})},t.prototype.maybeSetNormalizedName=function(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)},t.prototype.init=function(){var e=this;this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(t){return e.applyUpdate(t)}),this.lazyUpdate=null))},t.prototype.copyFrom=function(t){var e=this;t.init(),Array.from(t.headers.keys()).forEach(function(n){e.headers.set(n,t.headers.get(n)),e.normalizedNames.set(n,t.normalizedNames.get(n))})},t.prototype.clone=function(e){var n=new t;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n},t.prototype.applyUpdate=function(t){var e=t.name.toLowerCase();switch(t.op){case"a":case"s":var n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);var r=("a"===t.op?this.headers.get(e):void 0)||[];r.push.apply(r,a(n)),this.headers.set(e,r);break;case"d":var o=t.value;if(o){var i=this.headers.get(e);if(!i)return;0===(i=i.filter(function(t){return-1===o.indexOf(t)})).length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,i)}else this.headers.delete(e),this.normalizedNames.delete(e)}},t.prototype.forEach=function(t){var e=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(n){return t(e.normalizedNames.get(n),e.headers.get(n))})},t}(),vd=function(){function t(){}return t.prototype.encodeKey=function(t){return yd(t)},t.prototype.encodeValue=function(t){return yd(t)},t.prototype.decodeKey=function(t){return decodeURIComponent(t)},t.prototype.decodeValue=function(t){return decodeURIComponent(t)},t}();function yd(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}var md=function(){function t(t){void 0===t&&(t={});var e,n,r,o=this;if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new vd,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(e=t.fromString,n=this.encoder,r=new Map,e.length>0&&e.split("&").forEach(function(t){var e=t.indexOf("="),o=u(-1==e?[n.decodeKey(t),""]:[n.decodeKey(t.slice(0,e)),n.decodeValue(t.slice(e+1))],2),i=o[0],l=o[1],a=r.get(i)||[];a.push(l),r.set(i,a)}),r)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(function(e){var n=t.fromObject[e];o.map.set(e,Array.isArray(n)?n:[n])})):this.map=null}return t.prototype.has=function(t){return this.init(),this.map.has(t)},t.prototype.get=function(t){this.init();var e=this.map.get(t);return e?e[0]:null},t.prototype.getAll=function(t){return this.init(),this.map.get(t)||null},t.prototype.keys=function(){return this.init(),Array.from(this.map.keys())},t.prototype.append=function(t,e){return this.clone({param:t,value:e,op:"a"})},t.prototype.set=function(t,e){return this.clone({param:t,value:e,op:"s"})},t.prototype.delete=function(t,e){return this.clone({param:t,value:e,op:"d"})},t.prototype.toString=function(){var t=this;return this.init(),this.keys().map(function(e){var n=t.encoder.encodeKey(e);return t.map.get(e).map(function(e){return n+"="+t.encoder.encodeValue(e)}).join("&")}).join("&")},t.prototype.clone=function(e){var n=new t({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([e]),n},t.prototype.init=function(){var t=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(e){return t.map.set(e,t.cloneFrom.map.get(e))}),this.updates.forEach(function(e){switch(e.op){case"a":case"s":var n=("a"===e.op?t.map.get(e.param):void 0)||[];n.push(e.value),t.map.set(e.param,n);break;case"d":if(void 0===e.value){t.map.delete(e.param);break}var r=t.map.get(e.param)||[],o=r.indexOf(e.value);-1!==o&&r.splice(o,1),r.length>0?t.map.set(e.param,r):t.map.delete(e.param)}}),this.cloneFrom=null)},t}();function bd(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function _d(t){return"undefined"!=typeof Blob&&t instanceof Blob}function wd(t){return"undefined"!=typeof FormData&&t instanceof FormData}var Cd=function(){function t(t,e,n,r){var o;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==n?n:null,o=r):o=n,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.params&&(this.params=o.params)),this.headers||(this.headers=new gd),this.params){var i=this.params.toString();if(0===i.length)this.urlWithParams=e;else{var l=e.indexOf("?");this.urlWithParams=e+(-1===l?"?":l=200&&this.status<300}}(),xd=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,e)||this;return n.type=Sd.ResponseHeader,n}return o(e,t),e.prototype.clone=function(t){return void 0===t&&(t={}),new e({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})},e}(kd),Ed=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,e)||this;return n.type=Sd.Response,n.body=void 0!==e.body?e.body:null,n}return o(e,t),e.prototype.clone=function(t){return void 0===t&&(t={}),new e({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})},e}(kd),Td=function(t){function e(e){var n=t.call(this,e,0,"Unknown Error")||this;return n.name="HttpErrorResponse",n.ok=!1,n.message=n.status>=200&&n.status<300?"Http failure during parsing for "+(e.url||"(unknown url)"):"Http failure response for "+(e.url||"(unknown url)")+": "+e.status+" "+e.statusText,n.error=e.error||null,n}return o(e,t),e}(kd);function Id(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}var Ad=function(){function t(t){this.handler=t}return t.prototype.request=function(t,e,n){var r,o=this;if(void 0===n&&(n={}),t instanceof Cd)r=t;else{var i;i=n.headers instanceof gd?n.headers:new gd(n.headers);var l=void 0;n.params&&(l=n.params instanceof md?n.params:new md({fromObject:n.params})),r=new Cd(t,e,void 0!==n.body?n.body:null,{headers:i,params:l,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}var u=Wu(r).pipe($u(function(t){return o.handler.handle(t)}));if(t instanceof Cd||"events"===n.observe)return u;var a=u.pipe(Qu(function(t){return t instanceof Ed}));switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return a.pipe(B(function(t){if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return a.pipe(B(function(t){if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return a.pipe(B(function(t){if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return a.pipe(B(function(t){return t.body}))}case"response":return a;default:throw new Error("Unreachable: unhandled observe type "+n.observe+"}")}},t.prototype.delete=function(t,e){return void 0===e&&(e={}),this.request("DELETE",t,e)},t.prototype.get=function(t,e){return void 0===e&&(e={}),this.request("GET",t,e)},t.prototype.head=function(t,e){return void 0===e&&(e={}),this.request("HEAD",t,e)},t.prototype.jsonp=function(t,e){return this.request("JSONP",t,{params:(new md).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})},t.prototype.options=function(t,e){return void 0===e&&(e={}),this.request("OPTIONS",t,e)},t.prototype.patch=function(t,e,n){return void 0===n&&(n={}),this.request("PATCH",t,Id(n,e))},t.prototype.post=function(t,e,n){return void 0===n&&(n={}),this.request("POST",t,Id(n,e))},t.prototype.put=function(t,e,n){return void 0===n&&(n={}),this.request("PUT",t,Id(n,e))},t}(),Od=function(){function t(t,e){this.next=t,this.interceptor=e}return t.prototype.handle=function(t){return this.interceptor.intercept(t,this.next)},t}(),Pd=new ft("HTTP_INTERCEPTORS"),Rd=function(){function t(){}return t.prototype.intercept=function(t,e){return e.handle(t)},t}(),Nd=/^\)\]\}',?\n/,Vd=function(){},Dd=function(){function t(){}return t.prototype.build=function(){return new XMLHttpRequest},t}(),Md=function(){function t(t){this.xhrFactory=t}return t.prototype.handle=function(t){var e=this;if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new O(function(n){var r=e.xhrFactory.build();if(r.open(t.method,t.urlWithParams),t.withCredentials&&(r.withCredentials=!0),t.headers.forEach(function(t,e){return r.setRequestHeader(t,e.join(","))}),t.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){var o=t.detectContentTypeHeader();null!==o&&r.setRequestHeader("Content-Type",o)}if(t.responseType){var i=t.responseType.toLowerCase();r.responseType="json"!==i?i:"text"}var l=t.serializeBody(),u=null,a=function(){if(null!==u)return u;var e=1223===r.status?204:r.status,n=r.statusText||"OK",o=new gd(r.getAllResponseHeaders()),i=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(r)||t.url;return u=new xd({headers:o,status:e,statusText:n,url:i})},s=function(){var e=a(),o=e.headers,i=e.status,l=e.statusText,u=e.url,s=null;204!==i&&(s=void 0===r.response?r.responseText:r.response),0===i&&(i=s?200:0);var c=i>=200&&i<300;if("json"===t.responseType&&"string"==typeof s){var p=s;s=s.replace(Nd,"");try{s=""!==s?JSON.parse(s):null}catch(t){s=p,c&&(c=!1,s={error:t,text:s})}}c?(n.next(new Ed({body:s,headers:o,status:i,statusText:l,url:u||void 0})),n.complete()):n.error(new Td({error:s,headers:o,status:i,statusText:l,url:u||void 0}))},c=function(t){var e=new Td({error:t,status:r.status||0,statusText:r.statusText||"Unknown Error"});n.error(e)},p=!1,h=function(e){p||(n.next(a()),p=!0);var o={type:Sd.DownloadProgress,loaded:e.loaded};e.lengthComputable&&(o.total=e.total),"text"===t.responseType&&r.responseText&&(o.partialText=r.responseText),n.next(o)},f=function(t){var e={type:Sd.UploadProgress,loaded:t.loaded};t.lengthComputable&&(e.total=t.total),n.next(e)};return r.addEventListener("load",s),r.addEventListener("error",c),t.reportProgress&&(r.addEventListener("progress",h),null!==l&&r.upload&&r.upload.addEventListener("progress",f)),r.send(l),n.next({type:Sd.Sent}),function(){r.removeEventListener("error",c),r.removeEventListener("load",s),t.reportProgress&&(r.removeEventListener("progress",h),null!==l&&r.upload&&r.upload.removeEventListener("progress",f)),r.abort()}})},t}(),jd=new ft("XSRF_COOKIE_NAME"),Ld=new ft("XSRF_HEADER_NAME"),Ud=function(){},zd=function(){function t(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return t.prototype.getToken=function(){if("server"===this.platform)return null;var t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Du(t,this.cookieName),this.lastCookieString=t),this.lastToken},t}(),Fd=function(){function t(t,e){this.tokenService=t,this.headerName=e}return t.prototype.intercept=function(t,e){var n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);var r=this.tokenService.getToken();return null===r||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,r)})),e.handle(t)},t}(),Hd=function(){function t(t,e){this.backend=t,this.injector=e,this.chain=null}return t.prototype.handle=function(t){if(null===this.chain){var e=this.injector.get(Pd,[]);this.chain=e.reduceRight(function(t,e){return new Od(t,e)},this.backend)}return this.chain.handle(t)},t}(),qd=function(){function t(){}return t.disable=function(){return{ngModule:t,providers:[{provide:Fd,useClass:Rd}]}},t.withOptions=function(e){return void 0===e&&(e={}),{ngModule:t,providers:[e.cookieName?{provide:jd,useValue:e.cookieName}:[],e.headerName?{provide:Ld,useValue:e.headerName}:[]]}},t}(),Bd=function(){},Gd=function(){},Kd=function(t,e,n){return new Ll(mu,[bu],function(t){return function(t){for(var e={},n=[],r=!1,o=0;o= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; + + + + + + + + + +var routes = [ + { path: 'channelz/servers/:startId', component: _servers_servers_component__WEBPACK_IMPORTED_MODULE_2__["ServersComponent"] }, + { path: 'channelz/servers', component: _servers_servers_component__WEBPACK_IMPORTED_MODULE_2__["ServersComponent"] }, + { path: 'channelz/servers/:startId', component: _servers_servers_component__WEBPACK_IMPORTED_MODULE_2__["ServersComponent"] }, + { path: 'channelz/servers', component: _servers_servers_component__WEBPACK_IMPORTED_MODULE_2__["ServersComponent"] }, + { path: 'channelz/topchannels/:startId', component: _top_channels_top_channels_component__WEBPACK_IMPORTED_MODULE_4__["TopChannelsComponent"] }, + { path: 'channelz/topchannels', component: _top_channels_top_channels_component__WEBPACK_IMPORTED_MODULE_4__["TopChannelsComponent"] }, + { path: 'channelz/socket/:id', component: _socket_socket_component__WEBPACK_IMPORTED_MODULE_3__["SocketComponent"] }, + { path: 'channelz/socket', component: _socket_socket_component__WEBPACK_IMPORTED_MODULE_3__["SocketComponent"] }, + { path: 'channelz/channel/:id', component: _channel_channel_component__WEBPACK_IMPORTED_MODULE_6__["ChannelComponent"] }, + { path: 'channelz/channel', component: _channel_channel_component__WEBPACK_IMPORTED_MODULE_6__["ChannelComponent"] }, + { path: 'channelz/subchannel/:id', component: _subchannel_subchannel_component__WEBPACK_IMPORTED_MODULE_5__["SubchannelComponent"] }, + { path: 'channelz/subchannel', component: _subchannel_subchannel_component__WEBPACK_IMPORTED_MODULE_5__["SubchannelComponent"] }, + { path: 'channelz/serversockets/:serverId/:socketStartId', component: _server_sockets_server_sockets_component__WEBPACK_IMPORTED_MODULE_7__["ServerSocketsComponent"] }, + { path: 'channelz/serversockets/:serverId', component: _server_sockets_server_sockets_component__WEBPACK_IMPORTED_MODULE_7__["ServerSocketsComponent"] }, + { path: 'channelz/serversockets', component: _server_sockets_server_sockets_component__WEBPACK_IMPORTED_MODULE_7__["ServerSocketsComponent"] }, + { path: 'channelz/help', component: _help_help_component__WEBPACK_IMPORTED_MODULE_8__["HelpComponent"] }, + { path: 'channelz', redirectTo: '/', pathMatch: 'full' }, + { path: '', redirectTo: '/', pathMatch: 'full' }, +]; +var AppRoutingModule = /** @class */ (function () { + function AppRoutingModule() { + } + AppRoutingModule = __decorate([ + Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({ + exports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"]], + imports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"].forRoot(routes)], + }) + ], AppRoutingModule); + return AppRoutingModule; +}()); + + + +/***/ }), + +/***/ "./src/app/app.component.css": +/*!***********************************!*\ + !*** ./src/app/app.component.css ***! + \***********************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +module.exports = "" + +/***/ }), + +/***/ "./src/app/app.component.html": +/*!************************************!*\ + !*** ./src/app/app.component.html ***! + \************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +module.exports = "

Channelz

\n\n\n" + +/***/ }), + +/***/ "./src/app/app.component.ts": +/*!**********************************!*\ + !*** ./src/app/app.component.ts ***! + \**********************************/ +/*! exports provided: AppComponent */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AppComponent", function() { return AppComponent; }); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); +/* + * @license + * Copyright 2018, gRPC Authors All rights reserved. + * + * 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. + */ +var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; + +var AppComponent = /** @class */ (function () { + function AppComponent() { + this.title = 'Channelz'; + } + AppComponent = __decorate([ + Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({ + selector: 'app-root', + template: __webpack_require__(/*! ./app.component.html */ "./src/app/app.component.html"), + styles: [__webpack_require__(/*! ./app.component.css */ "./src/app/app.component.css")] + }) + ], AppComponent); + return AppComponent; +}()); + + + +/***/ }), + +/***/ "./src/app/app.module.ts": +/*!*******************************!*\ + !*** ./src/app/app.module.ts ***! + \*******************************/ +/*! exports provided: AppModule */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AppModule", function() { return AppModule; }); +/* harmony import */ var _app_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./app.component */ "./src/app/app.component.ts"); +/* harmony import */ var _app_routing_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./app-routing.module */ "./src/app/app-routing.module.ts"); +/* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/platform-browser */ "./node_modules/@angular/platform-browser/fesm5/platform-browser.js"); +/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/fesm5/common.js"); +/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/forms */ "./node_modules/@angular/forms/fesm5/forms.js"); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); +/* harmony import */ var _servers_servers_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./servers/servers.component */ "./src/app/servers/servers.component.ts"); +/* harmony import */ var _socket_socket_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./socket/socket.component */ "./src/app/socket/socket.component.ts"); +/* harmony import */ var _channel_channel_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./channel/channel.component */ "./src/app/channel/channel.component.ts"); +/* harmony import */ var _channelz_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./channelz.service */ "./src/app/channelz.service.ts"); +/* harmony import */ var _help_help_component__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./help/help.component */ "./src/app/help/help.component.ts"); +/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./utils */ "./src/app/utils.ts"); +/* harmony import */ var _server_sockets_server_sockets_component__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./server-sockets/server-sockets.component */ "./src/app/server-sockets/server-sockets.component.ts"); +/* harmony import */ var _subchannel_subchannel_component__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./subchannel/subchannel.component */ "./src/app/subchannel/subchannel.component.ts"); +/* harmony import */ var _top_channels_top_channels_component__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./top-channels/top-channels.component */ "./src/app/top-channels/top-channels.component.ts"); +/* + * @license + * Copyright 2018, gRPC Authors All rights reserved. + * + * 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. + */ +var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; + + + + + + + + + + + + + + + +var AppModule = /** @class */ (function () { + function AppModule() { + } + AppModule = __decorate([ + Object(_angular_core__WEBPACK_IMPORTED_MODULE_5__["NgModule"])({ + declarations: [ + _app_component__WEBPACK_IMPORTED_MODULE_0__["AppComponent"], + _utils__WEBPACK_IMPORTED_MODULE_11__["AddrToString"], + _utils__WEBPACK_IMPORTED_MODULE_11__["DateFromProto"], + _channel_channel_component__WEBPACK_IMPORTED_MODULE_8__["ChannelComponent"], + _help_help_component__WEBPACK_IMPORTED_MODULE_10__["HelpComponent"], + _server_sockets_server_sockets_component__WEBPACK_IMPORTED_MODULE_12__["ServerSocketsComponent"], + _servers_servers_component__WEBPACK_IMPORTED_MODULE_6__["ServersComponent"], + _socket_socket_component__WEBPACK_IMPORTED_MODULE_7__["SocketComponent"], + _subchannel_subchannel_component__WEBPACK_IMPORTED_MODULE_13__["SubchannelComponent"], + _top_channels_top_channels_component__WEBPACK_IMPORTED_MODULE_14__["TopChannelsComponent"], + ], + imports: [ + _app_routing_module__WEBPACK_IMPORTED_MODULE_1__["AppRoutingModule"], + _angular_platform_browser__WEBPACK_IMPORTED_MODULE_2__["BrowserModule"], + _angular_common__WEBPACK_IMPORTED_MODULE_3__["CommonModule"], + _angular_forms__WEBPACK_IMPORTED_MODULE_4__["FormsModule"], + ], + providers: [_channelz_service__WEBPACK_IMPORTED_MODULE_9__["ChannelzService"]], + bootstrap: [_app_component__WEBPACK_IMPORTED_MODULE_0__["AppComponent"]] + }) + ], AppModule); + return AppModule; +}()); + + + +/***/ }), + +/***/ "./src/app/channel/channel.component.css": +/*!***********************************************!*\ + !*** ./src/app/channel/channel.component.css ***! + \***********************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +module.exports = "" + +/***/ }), + +/***/ "./src/app/channel/channel.component.html": +/*!************************************************!*\ + !*** ./src/app/channel/channel.component.html ***! + \************************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +module.exports = "

Showing channel:

\n\n\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
FieldValue
ChannelRef
{{channel.getRef().getChannelId()}}[{{channel.getRef().getName()}}]
Data
{{channelDataStr}}
Channels\n \n
Subchannels\n \n
Sockets\n \n
\n
\n
\n

Channel does not exist

\n
\n
\n" + +/***/ }), + +/***/ "./src/app/channel/channel.component.ts": +/*!**********************************************!*\ + !*** ./src/app/channel/channel.component.ts ***! + \**********************************************/ +/*! exports provided: ChannelComponent */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ChannelComponent", function() { return ChannelComponent; }); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); +/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js"); +/* harmony import */ var _channelz_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../channelz.service */ "./src/app/channelz.service.ts"); +/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils */ "./src/app/utils.ts"); +/* + * @license + * Copyright 2018, gRPC Authors All rights reserved. + * + * 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. + */ +var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (undefined && undefined.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + +var ChannelComponent = /** @class */ (function () { + function ChannelComponent(route, router, channelzService) { + this.route = route; + this.router = router; + this.channelzService = channelzService; + this.enteredData = "0"; + this.id = 0; + } + ChannelComponent.prototype.ngOnInit = function () { + var _this = this; + this.render(); + this.route.params.subscribe(function (e) { return _this.render(); }); + }; + ChannelComponent.prototype.processEntry = function () { + this.router.navigateByUrl('/channelz/channel/' + this.enteredData); + }; + ChannelComponent.prototype.render = function () { + var _this = this; + var idParam = this.route.snapshot.paramMap.get('id'); + this.id = idParam == null ? 0 : +idParam; + this.enteredData = this.id.toString(); + this.channelzService.getChannel(this.id) + .subscribe(function (response) { return _this.handleResponse(response); }); + }; + ChannelComponent.prototype.handleResponse = function (resp) { + this.channel = resp.getChannel(); + this.channelDataStr = Object(_utils__WEBPACK_IMPORTED_MODULE_3__["channelDataHelper"])(this.channel.getData()); + }; + ChannelComponent = __decorate([ + Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({ + selector: 'app-channel', + template: __webpack_require__(/*! ./channel.component.html */ "./src/app/channel/channel.component.html"), + styles: [__webpack_require__(/*! ./channel.component.css */ "./src/app/channel/channel.component.css")] + }), + __metadata("design:paramtypes", [_angular_router__WEBPACK_IMPORTED_MODULE_1__["ActivatedRoute"], + _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"], + _channelz_service__WEBPACK_IMPORTED_MODULE_2__["ChannelzService"]]) + ], ChannelComponent); + return ChannelComponent; +}()); + + + +/***/ }), + +/***/ "./src/app/channelz.service.ts": +/*!*************************************!*\ + !*** ./src/app/channelz.service.ts ***! + \*************************************/ +/*! exports provided: ChannelzService */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ChannelzService", function() { return ChannelzService; }); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); +/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ "./node_modules/rxjs/_esm5/index.js"); +/* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../environments/environment */ "./src/environments/environment.ts"); +/* + * @license + * Copyright 2018, gRPC Authors All rights reserved. + * + * 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. + */ +var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (undefined && undefined.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + +goog.require('proto.grpc.channelz.v1.ChannelzClient'); +goog.require('proto.grpc.channelz.v1.GetChannelRequest'); +goog.require('proto.grpc.channelz.v1.GetServerSocketsRequest'); +goog.require('proto.grpc.channelz.v1.GetServersRequest'); +goog.require('proto.grpc.channelz.v1.GetSocketRequest'); +goog.require('proto.grpc.channelz.v1.GetSubchannelRequest'); +goog.require('proto.grpc.channelz.v1.GetTopChannelsRequest'); +var ChannelzService = /** @class */ (function () { + function ChannelzService() { + this.xsrfMeta = ChannelzService_1.genXsrfMeta(); + this.client = new proto.grpc.channelz.v1.ChannelzClient(_environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].grpcRemoteAddr); + } + ChannelzService_1 = ChannelzService; + ChannelzService.genXsrfMeta = function () { + var arr = new Int8Array(32); // 256 bits of entropy + window.crypto.getRandomValues(arr); + var xsrfVal = btoa(arr.toString()); + document.cookie = "grpc-channelz-v1-channelz-token=" + xsrfVal + ";path=/"; + return { "grpc-channelz-v1-channelz-token": xsrfVal }; + }; + ChannelzService.prototype.functionToObserver = function (rpcMethod, req) { + var _this = this; + return new rxjs__WEBPACK_IMPORTED_MODULE_1__["Observable"](function (observer) { + // To use a method passed around as a parameter, the method must be bound + // to an instance of the object. + rpcMethod.bind(_this.client)(req, _this.xsrfMeta, function (err, response) { + observer.next(response); + observer.complete(); + }); + }); + }; + ChannelzService.prototype.getServers = function (startId) { + var req = new proto.grpc.channelz.v1.GetServersRequest(); + req.setStartServerId(startId); + return this.functionToObserver(this.client.getServers, req); + }; + ChannelzService.prototype.getServerSockets = function (serverId, startId) { + var req = new proto.grpc.channelz.v1.GetServerSocketsRequest(); + req.setServerId(serverId); + req.setStartSocketId(startId); + return this.functionToObserver(this.client.getServerSockets, req); + }; + ChannelzService.prototype.getTopChannels = function (startId) { + var req = new proto.grpc.channelz.v1.GetTopChannelsRequest(); + req.setStartChannelId(startId); + return this.functionToObserver(this.client.getTopChannels, req); + }; + ChannelzService.prototype.getSubchannel = function (id) { + var req = new proto.grpc.channelz.v1.GetSubchannelRequest(); + req.setSubchannelId(id); + return this.functionToObserver(this.client.getSubchannel, req); + }; + ChannelzService.prototype.getChannel = function (id) { + var req = new proto.grpc.channelz.v1.GetChannelRequest(); + req.setChannelId(id); + return this.functionToObserver(this.client.getChannel, req); + }; + ChannelzService.prototype.getSocket = function (id) { + var req = new proto.grpc.channelz.v1.GetSocketRequest(); + req.setSocketId(id); + return this.functionToObserver(this.client.getSocket, req); + }; + ChannelzService = ChannelzService_1 = __decorate([ + Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"])(), + __metadata("design:paramtypes", []) + ], ChannelzService); + return ChannelzService; + var ChannelzService_1; +}()); + + + +/***/ }), + +/***/ "./src/app/help/help.component.css": +/*!*****************************************!*\ + !*** ./src/app/help/help.component.css ***! + \*****************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +module.exports = "" + +/***/ }), + +/***/ "./src/app/help/help.component.html": +/*!******************************************!*\ + !*** ./src/app/help/help.component.html ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +module.exports = "
\n

Java notes:

\n
    \n
  • InProcessTransport is not a real socket, so in process servers and channels will\n not provide socket level stats. If you try to load an InProcesTransport, channelz will\n report that the socket is not found. This is normal. Use the provided channel, subchannel, or\n server level stats instead.
  • \n
\n
\n" + +/***/ }), + +/***/ "./src/app/help/help.component.ts": +/*!****************************************!*\ + !*** ./src/app/help/help.component.ts ***! + \****************************************/ +/*! exports provided: HelpComponent */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "HelpComponent", function() { return HelpComponent; }); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); +/* + * @license + * Copyright 2018, gRPC Authors All rights reserved. + * + * 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. + */ +var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (undefined && undefined.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + +var HelpComponent = /** @class */ (function () { + function HelpComponent() { + } + HelpComponent.prototype.ngOnInit = function () { }; + HelpComponent = __decorate([ + Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({ + selector: 'app-help', + template: __webpack_require__(/*! ./help.component.html */ "./src/app/help/help.component.html"), + styles: [__webpack_require__(/*! ./help.component.css */ "./src/app/help/help.component.css")] + }), + __metadata("design:paramtypes", []) + ], HelpComponent); + return HelpComponent; +}()); + + + +/***/ }), + +/***/ "./src/app/server-sockets/server-sockets.component.css": +/*!*************************************************************!*\ + !*** ./src/app/server-sockets/server-sockets.component.css ***! + \*************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +module.exports = "" + +/***/ }), + +/***/ "./src/app/server-sockets/server-sockets.component.html": +/*!**************************************************************!*\ + !*** ./src/app/server-sockets/server-sockets.component.html ***! + \**************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +module.exports = "

Showing server sockets starting from:

\nServer id:\n\nStarting socket:\n\n\n
\n \n \n \n \n \n \n \n
Sockets
\n {{s.getSocketId()}}[{{s.getName()}}]\n
\n
\n\n
\n

End of results

\n
\n" + +/***/ }), + +/***/ "./src/app/server-sockets/server-sockets.component.ts": +/*!************************************************************!*\ + !*** ./src/app/server-sockets/server-sockets.component.ts ***! + \************************************************************/ +/*! exports provided: ServerSocketsComponent */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ServerSocketsComponent", function() { return ServerSocketsComponent; }); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); +/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js"); +/* harmony import */ var _channelz_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../channelz.service */ "./src/app/channelz.service.ts"); +/* + * @license + * Copyright 2018, gRPC Authors All rights reserved. + * + * 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. + */ +var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (undefined && undefined.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + +var ServerSocketsComponent = /** @class */ (function () { + function ServerSocketsComponent(route, router, channelzService) { + this.route = route; + this.router = router; + this.channelzService = channelzService; + } + ServerSocketsComponent.prototype.ngOnInit = function () { + var _this = this; + this.render(); + this.route.params.subscribe(function (e) { return _this.render(); }); + }; + ServerSocketsComponent.prototype.processEntry = function () { + this.router.navigateByUrl("/channelz/serversockets/" + this.serverId + "/" + this.socketStartId); + }; + ServerSocketsComponent.prototype.render = function () { + var _this = this; + var serverIdParam = this.route.snapshot.paramMap.get('serverId'); + this.serverId = serverIdParam == null ? 0 : +serverIdParam; + var socketStartIdParam = this.route.snapshot.paramMap.get('socketStartId'); + this.socketStartId = socketStartIdParam == null ? 0 : +socketStartIdParam; + this.channelzService.getServerSockets(this.serverId, this.socketStartId) + .subscribe(function (resp) { return _this.handleResponse(resp); }); + }; + ServerSocketsComponent.prototype.handleResponse = function (resp) { + this.sockets = resp.getSocketRefList(); + if (!resp.getEnd()) { + var last = this.sockets[this.sockets.length - 1]; + this.nextSocketId = last.getSocketId(); + } + else { + this.nextSocketId = null; + } + }; + ServerSocketsComponent = __decorate([ + Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({ + selector: 'app-server-sockets', + template: __webpack_require__(/*! ./server-sockets.component.html */ "./src/app/server-sockets/server-sockets.component.html"), + styles: [__webpack_require__(/*! ./server-sockets.component.css */ "./src/app/server-sockets/server-sockets.component.css")] + }), + __metadata("design:paramtypes", [_angular_router__WEBPACK_IMPORTED_MODULE_1__["ActivatedRoute"], + _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"], + _channelz_service__WEBPACK_IMPORTED_MODULE_2__["ChannelzService"]]) + ], ServerSocketsComponent); + return ServerSocketsComponent; +}()); + + + +/***/ }), + +/***/ "./src/app/servers/servers.component.css": +/*!***********************************************!*\ + !*** ./src/app/servers/servers.component.css ***! + \***********************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +module.exports = "" + +/***/ }), + +/***/ "./src/app/servers/servers.component.html": +/*!************************************************!*\ + !*** ./src/app/servers/servers.component.html ***! + \************************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +module.exports = "

Showing servers starting from:

\nServer id:\n\n\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
ServerCalls startedCalls succeededCalls failedLast call started tsListen Sockets
{{server.getRef().getServerId()}}[{{server.getRef().getName()}}]{{server.getData().getCallsStarted()}}{{server.getData().getCallsSucceeded()}}{{server.getData().getCallsFailed()}}{{server.getData().getLastCallStartedTimestamp() | dateFromProto}}\n \n
\n
\n\n
\n

End of results

\n
\n" + +/***/ }), + +/***/ "./src/app/servers/servers.component.ts": +/*!**********************************************!*\ + !*** ./src/app/servers/servers.component.ts ***! + \**********************************************/ +/*! exports provided: ServersComponent */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ServersComponent", function() { return ServersComponent; }); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); +/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js"); +/* harmony import */ var _channelz_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../channelz.service */ "./src/app/channelz.service.ts"); +/* + * @license + * Copyright 2018, gRPC Authors All rights reserved. + * + * 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. + */ +var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (undefined && undefined.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + +var ServersComponent = /** @class */ (function () { + function ServersComponent(route, router, channelzService) { + this.route = route; + this.router = router; + this.channelzService = channelzService; + this.startId = 0; + } + ServersComponent.prototype.ngOnInit = function () { + var _this = this; + this.render(); + this.route.params.subscribe(function (e) { return _this.render(); }); + }; + ServersComponent.prototype.processEntry = function () { + this.router.navigateByUrl("/channelz/servers/" + this.startId); + }; + ServersComponent.prototype.render = function () { + var _this = this; + var startIdParam = this.route.snapshot.paramMap.get('startId'); + this.startId = startIdParam == null ? 0 : +startIdParam; + this.channelzService.getServers(this.startId) + .subscribe(function (resp) { return _this.handleResponse(resp); }); + }; + ServersComponent.prototype.handleResponse = function (resp) { + this.serversList = resp.getServerList(); + if (!resp.getEnd()) { + var last = this.serversList[this.serversList.length - 1]; + this.nextId = last.getRef().getServerId(); + } + else { + this.nextId = null; + } + }; + ServersComponent = __decorate([ + Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({ + selector: 'app-servers', + template: __webpack_require__(/*! ./servers.component.html */ "./src/app/servers/servers.component.html"), + styles: [__webpack_require__(/*! ./servers.component.css */ "./src/app/servers/servers.component.css")] + }), + __metadata("design:paramtypes", [_angular_router__WEBPACK_IMPORTED_MODULE_1__["ActivatedRoute"], + _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"], + _channelz_service__WEBPACK_IMPORTED_MODULE_2__["ChannelzService"]]) + ], ServersComponent); + return ServersComponent; +}()); + + + +/***/ }), + +/***/ "./src/app/socket/socket.component.css": +/*!*********************************************!*\ + !*** ./src/app/socket/socket.component.css ***! + \*********************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +module.exports = "" + +/***/ }), + +/***/ "./src/app/socket/socket.component.html": +/*!**********************************************!*\ + !*** ./src/app/socket/socket.component.html ***! + \**********************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +module.exports = "

Showing socket:

\n\n\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
FieldValue
Socketref
{{socket.getRef().getSocketId()}}[{{socket.getRef().getName()}}]
Local Address
{{socket.getLocal() | addrToString}}
Remote Address
{{socket.getRemote() | addrToString}}
Security
{{securiyStr}}
Data
{{simplifiedData}}
Socket Option: {{opt.name}}
{{opt.value}}
\n
\n
\n

Socket does not exist

\n
\n
\n" + +/***/ }), + +/***/ "./src/app/socket/socket.component.ts": +/*!********************************************!*\ + !*** ./src/app/socket/socket.component.ts ***! + \********************************************/ +/*! exports provided: SocketOpt, SocketComponent */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SocketOpt", function() { return SocketOpt; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SocketComponent", function() { return SocketComponent; }); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); +/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js"); +/* harmony import */ var _channelz_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../channelz.service */ "./src/app/channelz.service.ts"); +/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils */ "./src/app/utils.ts"); +/* + * @license + * Copyright 2018, gRPC Authors All rights reserved. + * + * 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. + */ +var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (undefined && undefined.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + +var SocketOpt = /** @class */ (function () { + function SocketOpt(name, value) { + this.name = name; + this.value = value; + } + return SocketOpt; +}()); + +var SocketComponent = /** @class */ (function () { + function SocketComponent(route, router, channelzService) { + this.route = route; + this.router = router; + this.channelzService = channelzService; + } + SocketComponent.prototype.ngOnInit = function () { + var _this = this; + this.render(); + this.route.params.subscribe(function (e) { return _this.render(); }); + }; + SocketComponent.prototype.processEntry = function () { + this.router.navigateByUrl("/channelz/socket/" + this.enteredData); + }; + SocketComponent.prototype.render = function () { + var _this = this; + var idParam = this.route.snapshot.paramMap.get('id'); + this.id = idParam == null ? 0 : +idParam; + this.enteredData = this.id.toString(); + this.channelzService.getSocket(+this.id) + .subscribe(function (response) { return _this.handleResponse(response); }); + }; + SocketComponent.prototype.handleResponse = function (socketResponse) { + this.socket = socketResponse.getSocket(); + this.simplifiedData = this.simplifiedDataHelper(); + this.securiyStr = this.securityHelper(this.socket.getSecurity()); + }; + /** + * Returns a copy of the socket data, but with socket options removed. + */ + SocketComponent.prototype.simplifiedDataHelper = function () { + var data = this.socket.getData(); + if (data == null) { + return "undefined"; + } + return "Streams started: " + data.getStreamsStarted() + "\nStreams succeeded: " + data.getStreamsSucceeded() + "\nStreams failed: " + data.getStreamsFailed() + "\nMessages sent: " + data.getMessagesSent() + "\nMessages received: " + data.getMessagesReceived() + "\nKeepalives sent: " + data.getKeepAlivesSent() + "\nLast local stream created: " + _utils__WEBPACK_IMPORTED_MODULE_3__["DateFromProto"].transform(data.getLastLocalStreamCreatedTimestamp()) + "\nLast remote stream created: " + _utils__WEBPACK_IMPORTED_MODULE_3__["DateFromProto"].transform(data.getLastRemoteStreamCreatedTimestamp()) + "\nLast message sent: " + _utils__WEBPACK_IMPORTED_MODULE_3__["DateFromProto"].transform(data.getLastMessageSentTimestamp()) + "\nLast message received: " + _utils__WEBPACK_IMPORTED_MODULE_3__["DateFromProto"].transform(data.getLastMessageReceivedTimestamp()) + "\nLocal flow control window: " + data.getLocalFlowControlWindow() + "\nRemote flow control window: " + data.getRemoteFlowControlWindow() + "\n"; + }; + SocketComponent.prototype.securityHelper = function (security) { + if (security == null) { + return "plaintext"; + } + if (security.getTls() != null) { + var tls = security.getTls(); + return "standard name: " + tls.getStandardName() + "\nother name: " + tls.getOtherName() + "\nlocal cert (base64): " + btoa(tls.getLocalCertificate()) + "\nremote cert (base64): " + btoa(tls.getRemoteCertificate()); + } + else if (security.getOther() != null) { + var other = security.getOther(); + return "name: " + other.getName() + "\nvalue: " + Object(_utils__WEBPACK_IMPORTED_MODULE_3__["protoAnyToStringHelper"])(other.getValue()); + } + else { + return "plaintext"; + } + }; + SocketComponent.prototype.socketOptions = function () { + var data = this.socket.getData(); + if (data == null || data.getOptionList() == null) { + return []; + } + return data.getOptionList().map(function (opt) { + if (opt.getAdditional() != null) { + return new SocketOpt(opt.getName(), Object(_utils__WEBPACK_IMPORTED_MODULE_3__["protoAnyToStringHelper"])(opt.getAdditional())); + } + else { + return new SocketOpt(opt.getName(), opt.getValue()); + } + }); + }; + SocketComponent = __decorate([ + Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({ + selector: 'app-socket', + template: __webpack_require__(/*! ./socket.component.html */ "./src/app/socket/socket.component.html"), + styles: [__webpack_require__(/*! ./socket.component.css */ "./src/app/socket/socket.component.css")] + }), + __metadata("design:paramtypes", [_angular_router__WEBPACK_IMPORTED_MODULE_1__["ActivatedRoute"], + _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"], + _channelz_service__WEBPACK_IMPORTED_MODULE_2__["ChannelzService"]]) + ], SocketComponent); + return SocketComponent; +}()); + + + +/***/ }), + +/***/ "./src/app/subchannel/subchannel.component.css": +/*!*****************************************************!*\ + !*** ./src/app/subchannel/subchannel.component.css ***! + \*****************************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +module.exports = "" + +/***/ }), + +/***/ "./src/app/subchannel/subchannel.component.html": +/*!******************************************************!*\ + !*** ./src/app/subchannel/subchannel.component.html ***! + \******************************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +module.exports = "

Showing subchannel:

\n\n\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
FieldValue
SubchannelRef
{{subchannel.getRef().getSubchannelId()}}[{{subchannel.getRef().getName()}}]
Data
{{subchannelDataStr}}
Channels\n \n
Subchannels\n \n
Sockets\n \n
\n
\n
\n

Subchannel does not exist

\n
\n
\n" + +/***/ }), + +/***/ "./src/app/subchannel/subchannel.component.ts": +/*!****************************************************!*\ + !*** ./src/app/subchannel/subchannel.component.ts ***! + \****************************************************/ +/*! exports provided: SubchannelComponent */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SubchannelComponent", function() { return SubchannelComponent; }); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); +/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js"); +/* harmony import */ var _channelz_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../channelz.service */ "./src/app/channelz.service.ts"); +/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils */ "./src/app/utils.ts"); +/* + * @license + * Copyright 2018, gRPC Authors All rights reserved. + * + * 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. + */ +var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (undefined && undefined.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + +var SubchannelComponent = /** @class */ (function () { + function SubchannelComponent(route, router, channelzService) { + this.route = route; + this.router = router; + this.channelzService = channelzService; + } + SubchannelComponent.prototype.ngOnInit = function () { + var _this = this; + this.render(); + this.route.params.subscribe(function (e) { return _this.render(); }); + }; + SubchannelComponent.prototype.processEntry = function () { + this.router.navigateByUrl('/channelz/subchannel/' + this.enteredData); + }; + SubchannelComponent.prototype.render = function () { + var _this = this; + var idParam = this.route.snapshot.paramMap.get('id'); + this.id = idParam == null ? 0 : +idParam; + this.enteredData = this.id.toString(); + this.channelzService.getSubchannel(this.id) + .subscribe(function (response) { return _this.handleResponse(response); }); + }; + SubchannelComponent.prototype.handleResponse = function (resp) { + this.subchannel = resp.getSubchannel(); + this.subchannelDataStr = Object(_utils__WEBPACK_IMPORTED_MODULE_3__["channelDataHelper"])(this.subchannel.getData()); + }; + SubchannelComponent = __decorate([ + Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({ + selector: 'app-subchannel', + template: __webpack_require__(/*! ./subchannel.component.html */ "./src/app/subchannel/subchannel.component.html"), + styles: [__webpack_require__(/*! ./subchannel.component.css */ "./src/app/subchannel/subchannel.component.css")] + }), + __metadata("design:paramtypes", [_angular_router__WEBPACK_IMPORTED_MODULE_1__["ActivatedRoute"], + _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"], + _channelz_service__WEBPACK_IMPORTED_MODULE_2__["ChannelzService"]]) + ], SubchannelComponent); + return SubchannelComponent; +}()); + + + +/***/ }), + +/***/ "./src/app/top-channels/top-channels.component.css": +/*!*********************************************************!*\ + !*** ./src/app/top-channels/top-channels.component.css ***! + \*********************************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +module.exports = "" + +/***/ }), + +/***/ "./src/app/top-channels/top-channels.component.html": +/*!**********************************************************!*\ + !*** ./src/app/top-channels/top-channels.component.html ***! + \**********************************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +module.exports = "

Showing top level channels starting from:

\n\n\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
ChannelDataChannelsSubchannelsSockets
{{c.getRef().getChannelId()}}[{{c.getRef().getName()}}]
{{channelDataHelperProxy(c.getData())}}
\n \n \n \n \n \n
\n
\n\n
\n

End of results

\n
\n" + +/***/ }), + +/***/ "./src/app/top-channels/top-channels.component.ts": +/*!********************************************************!*\ + !*** ./src/app/top-channels/top-channels.component.ts ***! + \********************************************************/ +/*! exports provided: TopChannelsComponent */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TopChannelsComponent", function() { return TopChannelsComponent; }); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); +/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js"); +/* harmony import */ var _channelz_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../channelz.service */ "./src/app/channelz.service.ts"); +/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils */ "./src/app/utils.ts"); +/* + * @license + * Copyright 2018, gRPC Authors All rights reserved. + * + * 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. + */ +var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (undefined && undefined.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; + + + + +var TopChannelsComponent = /** @class */ (function () { + function TopChannelsComponent(route, router, channelzService) { + this.route = route; + this.router = router; + this.channelzService = channelzService; + this.startId = 0; + } + TopChannelsComponent.prototype.ngOnInit = function () { + var _this = this; + this.render(); + this.route.params.subscribe(function (e) { return _this.render(); }); + }; + TopChannelsComponent.prototype.processEntry = function () { + this.router.navigateByUrl("/channelz/topchannels/" + this.startId); + }; + TopChannelsComponent.prototype.render = function () { + var _this = this; + var startIdParam = this.route.snapshot.paramMap.get('startId'); + this.startId = startIdParam == null ? 0 : +startIdParam; + this.channelzService.getTopChannels(this.startId) + .subscribe(function (resp) { return _this.handleResponse(resp); }); + }; + TopChannelsComponent.prototype.channelDataHelperProxy = function (channelData) { + return Object(_utils__WEBPACK_IMPORTED_MODULE_3__["channelDataHelper"])(channelData); + }; + TopChannelsComponent.prototype.handleResponse = function (resp) { + this.topChannelsList = resp.getChannelList(); + if (!resp.getEnd()) { + var last = this.topChannelsList[this.topChannelsList.length - 1]; + this.nextId = last.getRef().getChannelId(); + } + else { + this.nextId = null; + } + }; + TopChannelsComponent = __decorate([ + Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({ + selector: 'app-top-channels', + template: __webpack_require__(/*! ./top-channels.component.html */ "./src/app/top-channels/top-channels.component.html"), + styles: [__webpack_require__(/*! ./top-channels.component.css */ "./src/app/top-channels/top-channels.component.css")] + }), + __metadata("design:paramtypes", [_angular_router__WEBPACK_IMPORTED_MODULE_1__["ActivatedRoute"], + _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"], + _channelz_service__WEBPACK_IMPORTED_MODULE_2__["ChannelzService"]]) + ], TopChannelsComponent); + return TopChannelsComponent; +}()); + + + +/***/ }), + +/***/ "./src/app/utils.ts": +/*!**************************!*\ + !*** ./src/app/utils.ts ***! + \**************************/ +/*! exports provided: protoAnyToStringHelper, registerProtoAnyToStringFn, channelDataHelper, DateFromProto, AddrToString */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "protoAnyToStringHelper", function() { return protoAnyToStringHelper; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "registerProtoAnyToStringFn", function() { return registerProtoAnyToStringFn; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "channelDataHelper", function() { return channelDataHelper; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DateFromProto", function() { return DateFromProto; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AddrToString", function() { return AddrToString; }); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); +/* + * @license + * Copyright 2018, gRPC Authors All rights reserved. + * + * 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. + */ +var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; + +goog.require('proto.grpc.channelz.v1.SocketOptionLinger'); +goog.require('proto.grpc.channelz.v1.SocketOptionTimeout'); +goog.require('proto.grpc.channelz.v1.SocketOptionTcpInfo'); +goog.require('proto.grpc.channelz.v1.ChannelConnectivityState.State'); +var protoAnyToStringHelpers = { + 'type.googleapis.com/grpc.channelz.v1.SocketOptionLinger': function (protoAny) { + var solinger = proto.grpc.channelz.v1.SocketOptionLinger.deserializeBinary(protoAny.getValue()); + var duration = solinger.getDuration(); + if ('undefined' === typeof duration) { + return "active: " + solinger.getActive(); + } + return "active: " + solinger.getActive() + "\n" + + "seconds: " + duration.getSeconds() + "\n" + + "nanos: " + duration.getNanos() + "\n"; + }, + 'type.googleapis.com/grpc.channelz.v1.SocketOptionTimeout': function (protoAny) { + var sotimeout = proto.grpc.channelz.v1.SocketOptionTimeout.deserializeBinary(protoAny.getValue()); + return "seconds: " + sotimeout.getDuration().getSeconds() + "\n" + + "nanos: " + sotimeout.getDuration().getNanos() + "\n"; + }, + 'type.googleapis.com/grpc.channelz.v1.SocketOptionTcpInfo': function (protoAny) { + var tcpi = proto.grpc.channelz.v1.SocketOptionTcpInfo.deserializeBinary(protoAny.getValue()); + return "tcpi_state: " + tcpi.getTcpiState() + "\n" + + "tcpi_ca_state: " + tcpi.getTcpiCaState() + "\n" + + "tcpi_retransmits: " + tcpi.getTcpiRetransmits() + "\n" + + "tcpi_probes: " + tcpi.getTcpiProbes() + "\n" + + "tcpi_backoff: " + tcpi.getTcpiBackoff() + "\n" + + "tcpi_options: " + tcpi.getTcpiOptions() + "\n" + + "tcpi_snd_wscale: " + tcpi.getTcpiSndWscale() + "\n" + + "tcpi_rcv_wscale: " + tcpi.getTcpiRcvWscale() + "\n" + + "tcpi_rto: " + tcpi.getTcpiRto() + "\n" + + "tcpi_ato: " + tcpi.getTcpiAto() + "\n" + + "tcpi_snd_mss: " + tcpi.getTcpiSndMss() + "\n" + + "tcpi_rcv_mss: " + tcpi.getTcpiRcvMss() + "\n" + + "tcpi_unacked: " + tcpi.getTcpiUnacked() + "\n" + + "tcpi_sacked: " + tcpi.getTcpiSacked() + "\n" + + "tcpi_lost: " + tcpi.getTcpiLost() + "\n" + + "tcpi_retrans: " + tcpi.getTcpiRetrans() + "\n" + + "tcpi_fackets: " + tcpi.getTcpiFackets() + "\n" + + "tcpi_last_data_sent: " + tcpi.getTcpiLastDataSent() + "\n" + + "tcpi_last_ack_sent: " + tcpi.getTcpiLastAckSent() + "\n" + + "tcpi_last_data_recv: " + tcpi.getTcpiLastDataRecv() + "\n" + + "tcpi_last_ack_recv: " + tcpi.getTcpiLastAckRecv() + "\n" + + "tcpi_pmtu: " + tcpi.getTcpiPmtu() + "\n" + + "tcpi_rcv_ssthresh: " + tcpi.getTcpiRcvSsthresh() + "\n" + + "tcpi_rtt: " + tcpi.getTcpiRtt() + "\n" + + "tcpi_rttvar: " + tcpi.getTcpiRttvar() + "\n" + + "tcpi_snd_ssthresh: " + tcpi.getTcpiSndSsthresh() + "\n" + + "tcpi_snd_cwnd: " + tcpi.getTcpiSndCwnd() + "\n" + + "tcpi_advmss: " + tcpi.getTcpiAdvmss() + "\n" + + "tcpi_reordering: " + tcpi.getTcpiReordering() + "\n"; + } +}; +function protoAnyToStringHelper(packedAny) { + if (packedAny.getTypeUrl() in protoAnyToStringHelpers) { + return protoAnyToStringHelpers[packedAny.getTypeUrl()](packedAny); + } + else { + return "Unrecognized Any type: " + packedAny.getTypeUrl(); + } +} +// Registers a handler that can take a google.protobuf.Any for the given +// typeUrl and returns a human friendly string. +function registerProtoAnyToStringFn(typeUrl, fn) { + protoAnyToStringHelpers[typeUrl] = fn; +} +function protoEnumToString(enumClass, enumVal) { + return Object.keys(enumClass).find(function (k) { return enumClass[k] === enumVal; }); +} +function channelDataHelper(channelData) { + return "state: " + protoEnumToString(proto.grpc.channelz.v1.ChannelConnectivityState.State, channelData.getState().getState()) + "\ntarget: " + channelData.getTarget() + "\ncalls started: " + channelData.getCallsStarted() + "\ncalls succeeded: " + channelData.getCallsSucceeded() + "\ncalls failed: " + channelData.getCallsFailed() + "\nlast call started: " + DateFromProto.transform(channelData.getLastCallStartedTimestamp()); +} +var DateFromProto = /** @class */ (function () { + function DateFromProto() { + } + DateFromProto_1 = DateFromProto; + DateFromProto.prototype.transform = function (protodate) { + return DateFromProto_1.transform(protodate); + }; + DateFromProto.transform = function (protodate) { + if (protodate == null) { + return "undefined"; + } + // the 0 is required to set the initial date to unix epoch + var date = new Date(0); + date.setUTCSeconds(protodate.getSeconds()); + date.setUTCMilliseconds(protodate.getNanos() / 1000000.0); + return date.toISOString(); + }; + DateFromProto = DateFromProto_1 = __decorate([ + Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Pipe"])({ name: 'dateFromProto' }) + ], DateFromProto); + return DateFromProto; + var DateFromProto_1; +}()); + +var AddrToString = /** @class */ (function () { + function AddrToString() { + } + AddrToString_1 = AddrToString; + AddrToString.prototype.transform = function (value) { + return AddrToString_1.transform(value); + }; + AddrToString.transform = function (addr) { + if (addr == null) { + return "undefined"; + } + else if (addr.getUdsAddress() != null) { + return addr.getUdsAddress(); + } + else if (addr.getOtherAddress() != null) { + return protoAnyToStringHelper(addr.getOtherAddress().getValue()); + } + else { + var tcpAddrPort = addr.getTcpipAddress(); + var tcpAddr = tcpAddrPort.getIpAddress(); + if (tcpAddr.length === 4) { + // ipv4: turn bytes into decimal form + return tcpAddr + .join(".") + ":" + tcpAddrPort.getPort(); + } + else if (tcpAddr.length === 16) { + // ipv6: turn bytes into hex, pad with a 0 so always 2 digits long + var hex = tcpAddr + .map(function (c) { return ("0" + c.toString(16)).substr(-2); }) + .join(""); + // use regex to split into 4 character chunks + return "[" + hex.match(/..../g).join(":") + "]:" + tcpAddrPort.getPort(); + } + } + }; + AddrToString = AddrToString_1 = __decorate([ + Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Pipe"])({ name: 'addrToString' }) + ], AddrToString); + return AddrToString; + var AddrToString_1; +}()); + + + +/***/ }), + +/***/ "./src/environments/environment.ts": +/*!*****************************************!*\ + !*** ./src/environments/environment.ts ***! + \*****************************************/ +/*! exports provided: environment */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "environment", function() { return environment; }); +// The file contents for the current environment will overwrite these during build. +// The build system defaults to the dev environment which uses `environment.ts`, but if you do +// `ng build --env=prod` then `environment.prod.ts` will be used instead. +// The list of which env maps to which file can be found in `.angular-cli.json`. +var environment = { + production: false, + // window.location.origin is the reverse proxy that both serves the + // app and performs grpc-web translation + grpcRemoteAddr: window.location.origin, +}; + + +/***/ }), + +/***/ "./src/main.ts": +/*!*********************!*\ + !*** ./src/main.ts ***! + \*********************/ +/*! no exports provided */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); +/* harmony import */ var _angular_platform_browser_dynamic__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/platform-browser-dynamic */ "./node_modules/@angular/platform-browser-dynamic/fesm5/platform-browser-dynamic.js"); +/* harmony import */ var _app_app_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./app/app.module */ "./src/app/app.module.ts"); +/* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./environments/environment */ "./src/environments/environment.ts"); + + + + +if (_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].production) { + Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["enableProdMode"])(); +} +// this file differs with internal, must use instead: +// import { AppModuleNgFactory } from './app/app.module.ngfactory'; +// platformBrowser().bootstrapModuleFactory(AppModuleNgFactory) +// .catch((err: any) => console.log(err)); +Object(_angular_platform_browser_dynamic__WEBPACK_IMPORTED_MODULE_1__["platformBrowserDynamic"])().bootstrapModule(_app_app_module__WEBPACK_IMPORTED_MODULE_2__["AppModule"]) + .catch(function (err) { return console.log(err); }); + + +/***/ }), + +/***/ 0: +/*!***************************!*\ + !*** multi ./src/main.ts ***! + \***************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +module.exports = __webpack_require__(/*! /usr/local/google/home/spencerfang/git/grpc-experiments/grpc-zpages/web/channelzui/src/main.ts */"./src/main.ts"); + + +/***/ }) + +},[[0,"runtime","vendor"]]]); +//# sourceMappingURL=main.js.map \ No newline at end of file diff --git a/grpc-zpages/docker/static-assets/dist_channelz/main.js.map b/grpc-zpages/docker/static-assets/dist_channelz/main.js.map new file mode 100644 index 0000000..9679005 --- /dev/null +++ b/grpc-zpages/docker/static-assets/dist_channelz/main.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///./src/$_lazy_route_resource lazy namespace object","webpack:///./src/app/app-routing.module.ts","webpack:///./src/app/app.component.css","webpack:///./src/app/app.component.html","webpack:///./src/app/app.component.ts","webpack:///./src/app/app.module.ts","webpack:///./src/app/channel/channel.component.css","webpack:///./src/app/channel/channel.component.html","webpack:///./src/app/channel/channel.component.ts","webpack:///./src/app/channelz.service.ts","webpack:///./src/app/help/help.component.css","webpack:///./src/app/help/help.component.html","webpack:///./src/app/help/help.component.ts","webpack:///./src/app/server-sockets/server-sockets.component.css","webpack:///./src/app/server-sockets/server-sockets.component.html","webpack:///./src/app/server-sockets/server-sockets.component.ts","webpack:///./src/app/servers/servers.component.css","webpack:///./src/app/servers/servers.component.html","webpack:///./src/app/servers/servers.component.ts","webpack:///./src/app/socket/socket.component.css","webpack:///./src/app/socket/socket.component.html","webpack:///./src/app/socket/socket.component.ts","webpack:///./src/app/subchannel/subchannel.component.css","webpack:///./src/app/subchannel/subchannel.component.html","webpack:///./src/app/subchannel/subchannel.component.ts","webpack:///./src/app/top-channels/top-channels.component.css","webpack:///./src/app/top-channels/top-channels.component.html","webpack:///./src/app/top-channels/top-channels.component.ts","webpack:///./src/app/utils.ts","webpack:///./src/environments/environment.ts","webpack:///./src/main.ts"],"names":[],"mappings":";;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA,4CAA4C,WAAW;AACvD;AACA;AACA,4E;;;;;;;;;;;;;;;;;;;;;;ACZA;AAAA;;;;;;;;;;;;;;;GAeG;;;;;;;AAEkD;AACE;AACS;AACJ;AACiB;AACL;AACT;AACoB;AAC7B;AAEtD,IAAM,MAAM,GAAW;IACrB,EAAE,IAAI,EAAE,2BAA2B,EAAE,SAAS,EAAE,2EAAgB,EAAE;IAClE,EAAE,IAAI,EAAE,kBAAkB,EAAE,SAAS,EAAE,2EAAgB,EAAE;IACzD,EAAE,IAAI,EAAE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AC;AAED,qDAAqD;AACrD,mEAAmE;AACnE,+DAA+D;AAC/D,6CAA6C;AAI7C,gGAAsB,EAAE,CAAC,eAAe,CAAC,yDAAS,CAAC;KAChD,KAAK,CAAC,UAAC,GAAQ,IAAK,cAAO,CAAC,GAAG,CAAC,GAAG,CAAC,EAAhB,CAAgB,CAAC,CAAC","file":"main.js","sourcesContent":["function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(function() {\n\t\tvar e = new Error('Cannot find module \"' + req + '\".');\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t});\n}\nwebpackEmptyAsyncContext.keys = function() { return []; };\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nmodule.exports = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = \"./src/$$_lazy_route_resource lazy recursive\";","/*\n * @license\n * Copyright 2018, gRPC Authors All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { NgModule } from '@angular/core';\nimport { RouterModule, Routes } from '@angular/router';\nimport { ServersComponent } from './servers/servers.component';\nimport { SocketComponent } from './socket/socket.component';\nimport { TopChannelsComponent } from './top-channels/top-channels.component';\nimport { SubchannelComponent } from './subchannel/subchannel.component';\nimport { ChannelComponent } from './channel/channel.component';\nimport { ServerSocketsComponent } from './server-sockets/server-sockets.component';\nimport { HelpComponent } from './help/help.component';\n\nconst routes: Routes = [\n { path: 'channelz/servers/:startId', component: ServersComponent },\n { path: 'channelz/servers', component: ServersComponent },\n { path: 'channelz/servers/:startId', component: ServersComponent },\n { path: 'channelz/servers', component: ServersComponent },\n { path: 'channelz/topchannels/:startId', component: TopChannelsComponent },\n { path: 'channelz/topchannels', component: TopChannelsComponent },\n { path: 'channelz/socket/:id', component: SocketComponent},\n { path: 'channelz/socket', component: SocketComponent},\n { path: 'channelz/channel/:id', component: ChannelComponent },\n { path: 'channelz/channel', component: ChannelComponent },\n { path: 'channelz/subchannel/:id', component: SubchannelComponent },\n { path: 'channelz/subchannel', component: SubchannelComponent },\n { path: 'channelz/serversockets/:serverId/:socketStartId', component: ServerSocketsComponent },\n { path: 'channelz/serversockets/:serverId', component: ServerSocketsComponent },\n { path: 'channelz/serversockets', component: ServerSocketsComponent },\n { path: 'channelz/help', component: HelpComponent },\n { path: 'channelz', redirectTo: '/', pathMatch: 'full' },\n { path: '', redirectTo: '/', pathMatch: 'full' },\n];\n\n@NgModule({\n exports: [ RouterModule ],\n imports: [ RouterModule.forRoot(routes) ],\n})\nexport class AppRoutingModule {}\n","module.exports = \"\"","module.exports = \"

Channelz

\\n\\n\\n\"","/*\n * @license\n * Copyright 2018, gRPC Authors All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component } from '@angular/core';\n\n@Component({\n selector: 'app-root',\n templateUrl: './app.component.html',\n styleUrls: ['./app.component.css']\n})\nexport class AppComponent {\n title = 'Channelz';\n}\n","/*\n * @license\n * Copyright 2018, gRPC Authors All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { AppComponent } from './app.component';\nimport { AppRoutingModule } from './app-routing.module';\nimport { BrowserModule } from '@angular/platform-browser';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\nimport { NgModule } from '@angular/core';\nimport { ServersComponent } from './servers/servers.component';\nimport { SocketComponent } from './socket/socket.component';\n\nimport { ChannelComponent } from './channel/channel.component';\nimport { ChannelzService } from './channelz.service';\nimport { HelpComponent } from './help/help.component';\nimport { AddrToString, DateFromProto } from './utils';\nimport { ServerSocketsComponent } from './server-sockets/server-sockets.component';\nimport { SubchannelComponent } from './subchannel/subchannel.component';\nimport { TopChannelsComponent } from './top-channels/top-channels.component';\n\n\n@NgModule({\n declarations: [\n AppComponent,\n AddrToString,\n DateFromProto,\n ChannelComponent,\n HelpComponent,\n ServerSocketsComponent,\n ServersComponent,\n SocketComponent,\n SubchannelComponent,\n TopChannelsComponent,\n ],\n imports: [\n AppRoutingModule,\n BrowserModule,\n CommonModule,\n FormsModule,\n ],\n providers: [ChannelzService],\n bootstrap: [AppComponent]\n})\nexport class AppModule { }\n","module.exports = \"\"","module.exports = \"

Showing channel:

\\n\\n\\n
\\n
\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n
FieldValue
ChannelRef
{{channel.getRef().getChannelId()}}[{{channel.getRef().getName()}}]
Data
{{channelDataStr}}
Channels\\n \\n
Subchannels\\n \\n
Sockets\\n \\n
\\n
\\n
\\n

Channel does not exist

\\n
\\n
\\n\"","/*\n * @license\n * Copyright 2018, gRPC Authors All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, OnInit } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { ChannelzService } from '../channelz.service';\nimport { channelDataHelper } from '../utils';\n\n@Component({\n selector: 'app-channel',\n templateUrl: './channel.component.html',\n styleUrls: ['./channel.component.css']\n})\nexport class ChannelComponent implements OnInit {\n enteredData: string = \"0\";\n channel: any;\n id: number = 0;\n channelDataStr: string;\n\n constructor(\n private route: ActivatedRoute,\n private router: Router,\n private channelzService: ChannelzService) { }\n\n ngOnInit() {\n this.render();\n this.route.params.subscribe(e => this.render());\n }\n\n processEntry(): void {\n this.router.navigateByUrl('/channelz/channel/' + this.enteredData);\n }\n\n private render(): void {\n const idParam = this.route.snapshot.paramMap.get('id');\n this.id = idParam == null ? 0 : +idParam;\n this.enteredData = this.id.toString();\n this.channelzService.getChannel(this.id)\n .subscribe((response: any) => this.handleResponse(response));\n }\n\n private handleResponse(resp: any): void {\n this.channel = resp.getChannel();\n this.channelDataStr = channelDataHelper(this.channel.getData());\n }\n}\n","/*\n * @license\n * Copyright 2018, gRPC Authors All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Injectable } from \"@angular/core\";\nimport { Observable } from \"rxjs\";\nimport { environment } from \"../environments/environment\";\n\n// When building with angular CLI in OSS:\n// The standalone channelz.js file provides a proto symbol with the\n// client and message types. goog.require() is effectively a noop.\n// When building with closure compiler:\n// goog.require() imports the client and message libraries\ndeclare var goog: any;\ngoog.require('proto.grpc.channelz.v1.ChannelzClient');\ngoog.require('proto.grpc.channelz.v1.GetChannelRequest');\ngoog.require('proto.grpc.channelz.v1.GetServerSocketsRequest');\ngoog.require('proto.grpc.channelz.v1.GetServersRequest');\ngoog.require('proto.grpc.channelz.v1.GetSocketRequest');\ngoog.require('proto.grpc.channelz.v1.GetSubchannelRequest');\ngoog.require('proto.grpc.channelz.v1.GetTopChannelsRequest');\ndeclare var proto: any;\n\n@Injectable()\nexport class ChannelzService {\n xsrfMeta: {};\n client: any;\n\n constructor() {\n this.xsrfMeta = ChannelzService.genXsrfMeta();\n this.client = new proto.grpc.channelz.v1.ChannelzClient(\n environment.grpcRemoteAddr);\n }\n\n private static genXsrfMeta(): any {\n const arr = new Int8Array(32); // 256 bits of entropy\n window.crypto.getRandomValues(arr);\n const xsrfVal = btoa(arr.toString());\n document.cookie = `grpc-channelz-v1-channelz-token=${xsrfVal};path=/`;\n return {\"grpc-channelz-v1-channelz-token\": xsrfVal};\n }\n\n private functionToObserver(rpcMethod: any, req: any): Observable {\n return new Observable(observer => {\n // To use a method passed around as a parameter, the method must be bound\n // to an instance of the object.\n rpcMethod.bind(this.client)(req, this.xsrfMeta, function(err, response) {\n observer.next(response);\n observer.complete();\n })\n }\n )\n }\n\n getServers(startId: number): Observable<{}> {\n const req = new proto.grpc.channelz.v1.GetServersRequest();\n req.setStartServerId(startId);\n return this.functionToObserver(this.client.getServers, req);\n }\n\n getServerSockets(serverId: number, startId: number): Observable<{}> {\n const req = new proto.grpc.channelz.v1.GetServerSocketsRequest();\n req.setServerId(serverId);\n req.setStartSocketId(startId);\n return this.functionToObserver(this.client.getServerSockets, req);\n }\n\n getTopChannels(startId: number): Observable<{}> {\n const req = new proto.grpc.channelz.v1.GetTopChannelsRequest();\n req.setStartChannelId(startId);\n return this.functionToObserver(this.client.getTopChannels, req);\n }\n\n getSubchannel(id: number): Observable<{}> {\n const req = new proto.grpc.channelz.v1.GetSubchannelRequest();\n req.setSubchannelId(id);\n return this.functionToObserver(this.client.getSubchannel, req);\n }\n\n getChannel(id: number): Observable<{}> {\n const req = new proto.grpc.channelz.v1.GetChannelRequest();\n req.setChannelId(id);\n return this.functionToObserver(this.client.getChannel, req);\n }\n\n getSocket(id: number): Observable<{}> {\n const req = new proto.grpc.channelz.v1.GetSocketRequest();\n req.setSocketId(id);\n return this.functionToObserver(this.client.getSocket, req);\n }\n}\n","module.exports = \"\"","module.exports = \"
\\n

Java notes:

\\n
    \\n
  • InProcessTransport is not a real socket, so in process servers and channels will\\n not provide socket level stats. If you try to load an InProcesTransport, channelz will\\n report that the socket is not found. This is normal. Use the provided channel, subchannel, or\\n server level stats instead.
  • \\n
\\n
\\n\"","/*\n * @license\n * Copyright 2018, gRPC Authors All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'app-help',\n templateUrl: './help.component.html',\n styleUrls: ['./help.component.css']\n})\nexport class HelpComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit() {}\n}\n","module.exports = \"\"","module.exports = \"

Showing server sockets starting from:

\\nServer id:\\n\\nStarting socket:\\n\\n\\n
\\n \\n \\n \\n \\n \\n \\n \\n
Sockets
\\n {{s.getSocketId()}}[{{s.getName()}}]\\n
\\n
\\n\\n
\\n

End of results

\\n
\\n\"","/*\n * @license\n * Copyright 2018, gRPC Authors All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, OnInit } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { ChannelzService } from '../channelz.service';\n\n@Component({\n selector: 'app-server-sockets',\n templateUrl: './server-sockets.component.html',\n styleUrls: ['./server-sockets.component.css']\n})\nexport class ServerSocketsComponent implements OnInit {\n sockets: any[];\n serverId: number;\n socketStartId: number;\n nextSocketId: number;\n\n constructor(\n private route: ActivatedRoute,\n private router: Router,\n private channelzService: ChannelzService\n ) { }\n\n ngOnInit() {\n this.render();\n this.route.params.subscribe(e => this.render());\n }\n\n processEntry(): void {\n this.router.navigateByUrl(`/channelz/serversockets/${this.serverId}/${this.socketStartId}`);\n }\n\n private render(): void {\n const serverIdParam = this.route.snapshot.paramMap.get('serverId');\n this.serverId = serverIdParam == null ? 0 : +serverIdParam;\n const socketStartIdParam = this.route.snapshot.paramMap.get('socketStartId');\n this.socketStartId = socketStartIdParam == null ? 0 : +socketStartIdParam;\n this.channelzService.getServerSockets(this.serverId, this.socketStartId)\n .subscribe((resp: any) => this.handleResponse(resp));\n }\n\n private handleResponse(resp: any): void {\n this.sockets = resp.getSocketRefList();\n if (!resp.getEnd()) {\n const last = this.sockets[this.sockets.length - 1];\n this.nextSocketId = last.getSocketId();\n } else {\n this.nextSocketId = null;\n }\n }\n}\n","module.exports = \"\"","module.exports = \"

Showing servers starting from:

\\nServer id:\\n\\n\\n
\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n
ServerCalls startedCalls succeededCalls failedLast call started tsListen Sockets
{{server.getRef().getServerId()}}[{{server.getRef().getName()}}]{{server.getData().getCallsStarted()}}{{server.getData().getCallsSucceeded()}}{{server.getData().getCallsFailed()}}{{server.getData().getLastCallStartedTimestamp() | dateFromProto}}\\n \\n
\\n
\\n\\n
\\n

End of results

\\n
\\n\"","/*\n * @license\n * Copyright 2018, gRPC Authors All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, OnInit } from '@angular/core';\nimport {ActivatedRoute, Router} from '@angular/router';\nimport { ChannelzService } from '../channelz.service';\n\n@Component({\n selector: 'app-servers',\n templateUrl: './servers.component.html',\n styleUrls: ['./servers.component.css']\n})\nexport class ServersComponent implements OnInit {\n startId: number = 0;\n serversList: any[];\n nextId: string;\n constructor(\n private route: ActivatedRoute,\n private router: Router,\n private channelzService: ChannelzService) { }\n\n ngOnInit() {\n this.render();\n this.route.params.subscribe(e => this.render());\n }\n\n processEntry(): void {\n this.router.navigateByUrl(`/channelz/servers/${this.startId}`);\n }\n\n private render(): void {\n const startIdParam = this.route.snapshot.paramMap.get('startId');\n this.startId = startIdParam == null ? 0 : +startIdParam;\n this.channelzService.getServers(this.startId)\n .subscribe((resp: any) => this.handleResponse(resp));\n }\n\n private handleResponse(resp: any): void {\n this.serversList = resp.getServerList();\n if (!resp.getEnd()) {\n const last = this.serversList[this.serversList.length - 1];\n this.nextId = last.getRef().getServerId();\n } else {\n this.nextId = null;\n }\n }\n}\n","module.exports = \"\"","module.exports = \"

Showing socket:

\\n\\n\\n
\\n
\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n
FieldValue
Socketref
{{socket.getRef().getSocketId()}}[{{socket.getRef().getName()}}]
Local Address
{{socket.getLocal() | addrToString}}
Remote Address
{{socket.getRemote() | addrToString}}
Security
{{securiyStr}}
Data
{{simplifiedData}}
Socket Option: {{opt.name}}
{{opt.value}}
\\n
\\n
\\n

Socket does not exist

\\n
\\n
\\n\"","/*\n * @license\n * Copyright 2018, gRPC Authors All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, OnInit } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { ChannelzService } from '../channelz.service';\nimport { DateFromProto, protoAnyToStringHelper } from '../utils'\n\nexport class SocketOpt {\n constructor(public name: string, public value: string) {}\n}\n\n@Component({\n selector: 'app-socket',\n templateUrl: './socket.component.html',\n styleUrls: ['./socket.component.css']\n})\nexport class SocketComponent implements OnInit {\n enteredData: string;\n socket: any;\n id: number;\n simplifiedData: any;\n securiyStr: string;\n\n constructor(\n private route: ActivatedRoute,\n private router: Router,\n private channelzService: ChannelzService) { }\n\n ngOnInit() {\n this.render();\n this.route.params.subscribe(e => this.render());\n }\n\n processEntry(): void {\n this.router.navigateByUrl(`/channelz/socket/${this.enteredData}`);\n }\n\n private render(): void {\n const idParam = this.route.snapshot.paramMap.get('id');\n this.id = idParam == null ? 0 : +idParam;\n this.enteredData = this.id.toString();\n this.channelzService.getSocket(+this.id)\n .subscribe((response: any) => this.handleResponse(response));\n }\n\n private handleResponse(socketResponse: any): void {\n this.socket = socketResponse.getSocket();\n this.simplifiedData = this.simplifiedDataHelper();\n this.securiyStr = this.securityHelper(this.socket.getSecurity());\n }\n\n /**\n * Returns a copy of the socket data, but with socket options removed.\n */\n simplifiedDataHelper(): string {\n const data = this.socket.getData();\n if (data == null) {\n return \"undefined\";\n }\n return `Streams started: ${data.getStreamsStarted()}\nStreams succeeded: ${data.getStreamsSucceeded()}\nStreams failed: ${data.getStreamsFailed()}\nMessages sent: ${data.getMessagesSent()}\nMessages received: ${data.getMessagesReceived()}\nKeepalives sent: ${data.getKeepAlivesSent()}\nLast local stream created: ${DateFromProto.transform(data.getLastLocalStreamCreatedTimestamp())}\nLast remote stream created: ${DateFromProto.transform(data.getLastRemoteStreamCreatedTimestamp())}\nLast message sent: ${DateFromProto.transform(data.getLastMessageSentTimestamp())}\nLast message received: ${DateFromProto.transform(data.getLastMessageReceivedTimestamp())}\nLocal flow control window: ${data.getLocalFlowControlWindow()}\nRemote flow control window: ${data.getRemoteFlowControlWindow()}\n`\n }\n\n securityHelper(security: any): string {\n if (security == null) {\n return \"plaintext\";\n }\n if (security.getTls() != null) {\n const tls = security.getTls();\n return `standard name: ${tls.getStandardName()}\nother name: ${tls.getOtherName()}\nlocal cert (base64): ${btoa(tls.getLocalCertificate())}\nremote cert (base64): ${btoa(tls.getRemoteCertificate())}`;\n } else if (security.getOther() != null) {\n const other = security.getOther();\n return `name: ${other.getName()}\nvalue: ${protoAnyToStringHelper(other.getValue())}`;\n } else {\n return \"plaintext\"\n }\n }\n\n socketOptions(): SocketOpt[] {\n const data = this.socket.getData();\n if (data == null || data.getOptionList() == null) {\n return [];\n }\n\n return data.getOptionList().map((opt: any) => {\n if (opt.getAdditional() != null) {\n return new SocketOpt(\n opt.getName(), protoAnyToStringHelper(opt.getAdditional()));\n } else {\n return new SocketOpt(opt.getName(), opt.getValue());\n }\n });\n }\n}\n","module.exports = \"\"","module.exports = \"

Showing subchannel:

\\n\\n\\n
\\n
\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n
FieldValue
SubchannelRef
{{subchannel.getRef().getSubchannelId()}}[{{subchannel.getRef().getName()}}]
Data
{{subchannelDataStr}}
Channels\\n \\n
Subchannels\\n \\n
Sockets\\n \\n
\\n
\\n
\\n

Subchannel does not exist

\\n
\\n
\\n\"","/*\n * @license\n * Copyright 2018, gRPC Authors All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, OnInit } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { ChannelzService } from '../channelz.service';\nimport { channelDataHelper } from '../utils';\n\n@Component({\n selector: 'app-subchannel',\n templateUrl: './subchannel.component.html',\n styleUrls: ['./subchannel.component.css']\n})\nexport class SubchannelComponent implements OnInit {\n enteredData: string;\n subchannel: any;\n id: number;\n subchannelDataStr: string;\n\n constructor(\n private route: ActivatedRoute,\n private router: Router,\n private channelzService: ChannelzService) { }\n\n ngOnInit() {\n this.render();\n this.route.params.subscribe(e => this.render());\n }\n\n processEntry(): void {\n this.router.navigateByUrl('/channelz/subchannel/' + this.enteredData);\n }\n\n private render(): void {\n const idParam = this.route.snapshot.paramMap.get('id');\n this.id = idParam == null ? 0 : +idParam;\n this.enteredData = this.id.toString();\n this.channelzService.getSubchannel(this.id)\n .subscribe((response: any) => this.handleResponse(response));\n }\n\n private handleResponse(resp: any): void {\n this.subchannel = resp.getSubchannel();\n this.subchannelDataStr = channelDataHelper(this.subchannel.getData());\n }\n}\n","module.exports = \"\"","module.exports = \"

Showing top level channels starting from:

\\n\\n\\n
\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n
ChannelDataChannelsSubchannelsSockets
{{c.getRef().getChannelId()}}[{{c.getRef().getName()}}]
{{channelDataHelperProxy(c.getData())}}
\\n \\n \\n \\n \\n \\n
\\n
\\n\\n
\\n

End of results

\\n
\\n\"","/*\n * @license\n * Copyright 2018, gRPC Authors All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, OnInit } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { ChannelzService } from '../channelz.service';\nimport { channelDataHelper } from '../utils';\n\n@Component({\n selector: 'app-top-channels',\n templateUrl: './top-channels.component.html',\n styleUrls: ['./top-channels.component.css']\n})\nexport class TopChannelsComponent implements OnInit {\n startId: number = 0;\n topChannelsList: any[];\n nextId:number;\n\n constructor(\n private route: ActivatedRoute,\n private router: Router,\n private channelzService: ChannelzService) { }\n\n ngOnInit() {\n this.render();\n this.route.params.subscribe(e => this.render());\n }\n\n processEntry(): void {\n this.router.navigateByUrl(`/channelz/topchannels/${this.startId}`)\n }\n\n private render(): void {\n const startIdParam = this.route.snapshot.paramMap.get('startId');\n this.startId = startIdParam == null ? 0 : +startIdParam;\n this.channelzService.getTopChannels(this.startId)\n .subscribe((resp: any) => this.handleResponse(resp));\n }\n\n channelDataHelperProxy(channelData: any): string {\n return channelDataHelper(channelData);\n }\n\n private handleResponse(resp: any): void {\n this.topChannelsList = resp.getChannelList();\n if (!resp.getEnd()) {\n const last = this.topChannelsList[this.topChannelsList.length - 1];\n this.nextId = last.getRef().getChannelId();\n } else {\n this.nextId = null;\n }\n }\n}\n","/*\n * @license\n * Copyright 2018, gRPC Authors All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Pipe, PipeTransform } from '@angular/core';\n\n// When building with angular CLI in OSS:\n// The standalone channelz.js file provides a proto symbol with the\n// client and message types. goog.require() is effectively a noop.\n// When building with closure compiler:\n// goog.require() imports the client and message libraries\ndeclare var goog: any;\ngoog.require('proto.grpc.channelz.v1.SocketOptionLinger');\ngoog.require('proto.grpc.channelz.v1.SocketOptionTimeout');\ngoog.require('proto.grpc.channelz.v1.SocketOptionTcpInfo');\ngoog.require('proto.grpc.channelz.v1.ChannelConnectivityState.State');\ndeclare var proto: any;\n\nconst protoAnyToStringHelpers = {\n 'type.googleapis.com/grpc.channelz.v1.SocketOptionLinger': (protoAny: any) => {\n const solinger = proto.grpc.channelz.v1.SocketOptionLinger.deserializeBinary(protoAny.getValue());\n const duration = solinger.getDuration();\n if ('undefined' === typeof duration) {\n return \"active: \" + solinger.getActive();\n }\n return \"active: \" + solinger.getActive() + \"\\n\" +\n \"seconds: \" + duration.getSeconds() + \"\\n\" +\n \"nanos: \" + duration.getNanos() + \"\\n\";\n },\n 'type.googleapis.com/grpc.channelz.v1.SocketOptionTimeout': (protoAny: any) => {\n const sotimeout = proto.grpc.channelz.v1.SocketOptionTimeout.deserializeBinary(protoAny.getValue());\n return \"seconds: \" + sotimeout.getDuration().getSeconds() + \"\\n\" +\n \"nanos: \" + sotimeout.getDuration().getNanos() + \"\\n\";\n },\n 'type.googleapis.com/grpc.channelz.v1.SocketOptionTcpInfo': (protoAny: any) => {\n const tcpi = proto.grpc.channelz.v1.SocketOptionTcpInfo.deserializeBinary(protoAny.getValue());\n return \"tcpi_state: \" + tcpi.getTcpiState() + \"\\n\" +\n \"tcpi_ca_state: \" + tcpi.getTcpiCaState() + \"\\n\" +\n \"tcpi_retransmits: \" + tcpi.getTcpiRetransmits() + \"\\n\" +\n \"tcpi_probes: \" + tcpi.getTcpiProbes() + \"\\n\" +\n \"tcpi_backoff: \" + tcpi.getTcpiBackoff() + \"\\n\" +\n \"tcpi_options: \" + tcpi.getTcpiOptions() + \"\\n\" +\n \"tcpi_snd_wscale: \" + tcpi.getTcpiSndWscale() + \"\\n\" +\n \"tcpi_rcv_wscale: \" + tcpi.getTcpiRcvWscale() + \"\\n\" +\n \"tcpi_rto: \" + tcpi.getTcpiRto() + \"\\n\" +\n \"tcpi_ato: \" + tcpi.getTcpiAto() + \"\\n\" +\n \"tcpi_snd_mss: \" + tcpi.getTcpiSndMss() + \"\\n\" +\n \"tcpi_rcv_mss: \" + tcpi.getTcpiRcvMss() + \"\\n\" +\n \"tcpi_unacked: \" + tcpi.getTcpiUnacked() + \"\\n\" +\n \"tcpi_sacked: \" + tcpi.getTcpiSacked() + \"\\n\" +\n \"tcpi_lost: \" + tcpi.getTcpiLost() + \"\\n\" +\n \"tcpi_retrans: \" + tcpi.getTcpiRetrans() + \"\\n\" +\n \"tcpi_fackets: \" + tcpi.getTcpiFackets() + \"\\n\" +\n \"tcpi_last_data_sent: \" + tcpi.getTcpiLastDataSent() + \"\\n\" +\n \"tcpi_last_ack_sent: \" + tcpi.getTcpiLastAckSent() + \"\\n\" +\n \"tcpi_last_data_recv: \" + tcpi.getTcpiLastDataRecv() + \"\\n\" +\n \"tcpi_last_ack_recv: \" + tcpi.getTcpiLastAckRecv() + \"\\n\" +\n \"tcpi_pmtu: \" + tcpi.getTcpiPmtu() + \"\\n\" +\n \"tcpi_rcv_ssthresh: \" + tcpi.getTcpiRcvSsthresh() + \"\\n\" +\n \"tcpi_rtt: \" + tcpi.getTcpiRtt() + \"\\n\" +\n \"tcpi_rttvar: \" + tcpi.getTcpiRttvar() + \"\\n\" +\n \"tcpi_snd_ssthresh: \" + tcpi.getTcpiSndSsthresh() + \"\\n\" +\n \"tcpi_snd_cwnd: \" + tcpi.getTcpiSndCwnd() + \"\\n\" +\n \"tcpi_advmss: \" + tcpi.getTcpiAdvmss() + \"\\n\" +\n \"tcpi_reordering: \" + tcpi.getTcpiReordering() + \"\\n\";\n }\n};\n\nexport function protoAnyToStringHelper(packedAny: any): string {\n if (packedAny.getTypeUrl() in protoAnyToStringHelpers) {\n return protoAnyToStringHelpers[packedAny.getTypeUrl()](packedAny);\n } else {\n return \"Unrecognized Any type: \" + packedAny.getTypeUrl();\n }\n}\n\n// Registers a handler that can take a google.protobuf.Any for the given\n// typeUrl and returns a human friendly string.\nexport function registerProtoAnyToStringFn(\n typeUrl: string,\n fn: (protoAny: any) => string): void {\n protoAnyToStringHelpers[typeUrl] = fn;\n}\n\nfunction protoEnumToString(enumClass, enumVal) {\n return Object.keys(enumClass).find(k => enumClass[k] === enumVal);\n}\n\nexport function channelDataHelper(channelData: any): string {\n return `state: ${protoEnumToString(proto.grpc.channelz.v1.ChannelConnectivityState.State, channelData.getState().getState())}\ntarget: ${channelData.getTarget()}\ncalls started: ${channelData.getCallsStarted()}\ncalls succeeded: ${channelData.getCallsSucceeded()}\ncalls failed: ${channelData.getCallsFailed()}\nlast call started: ${DateFromProto.transform(channelData.getLastCallStartedTimestamp())}`;\n}\n\n@Pipe({name: 'dateFromProto'})\nexport class DateFromProto implements PipeTransform {\n transform(protodate: any): string {\n return DateFromProto.transform(protodate);\n }\n\n static transform(protodate: any): string {\n if (protodate == null) {\n return \"undefined\"\n }\n // the 0 is required to set the initial date to unix epoch\n const date = new Date(0);\n date.setUTCSeconds(protodate.getSeconds());\n date.setUTCMilliseconds(protodate.getNanos() / 1000000.0);\n return date.toISOString();\n }\n}\n\n@Pipe({name: 'addrToString'})\nexport class AddrToString implements PipeTransform {\n transform(value: any): string {\n return AddrToString.transform(value);\n }\n\n static transform(addr: any): string {\n if (addr == null) {\n return \"undefined\"\n } else if (addr.getUdsAddress() != null) {\n return addr.getUdsAddress();\n } else if (addr.getOtherAddress() != null) {\n return protoAnyToStringHelper(addr.getOtherAddress().getValue());\n } else {\n const tcpAddrPort = addr.getTcpipAddress();\n const tcpAddr = tcpAddrPort.getIpAddress();\n if (tcpAddr.length === 4) {\n // ipv4: turn bytes into decimal form\n return tcpAddr\n .join(\".\") + \":\" + tcpAddrPort.getPort();\n } else if (tcpAddr.length === 16) {\n // ipv6: turn bytes into hex, pad with a 0 so always 2 digits long\n const hex = tcpAddr\n .map((c: number) => (\"0\" + c.toString(16)).substr(-2))\n .join(\"\");\n // use regex to split into 4 character chunks\n return \"[\" + hex.match(/..../g).join(\":\") + \"]:\" + tcpAddrPort.getPort();\n }\n }\n }\n}\n","// The file contents for the current environment will overwrite these during build.\n// The build system defaults to the dev environment which uses `environment.ts`, but if you do\n// `ng build --env=prod` then `environment.prod.ts` will be used instead.\n// The list of which env maps to which file can be found in `.angular-cli.json`.\n\nexport const environment = {\n production: false,\n // window.location.origin is the reverse proxy that both serves the\n // app and performs grpc-web translation\n grpcRemoteAddr: window.location.origin,\n};\n","import { enableProdMode } from '@angular/core';\nimport { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\n\nimport { AppModule } from './app/app.module';\nimport { environment } from './environments/environment';\n\nif (environment.production) {\n enableProdMode();\n}\n\n// this file differs with internal, must use instead:\n// import { AppModuleNgFactory } from './app/app.module.ngfactory';\n// platformBrowser().bootstrapModuleFactory(AppModuleNgFactory)\n// .catch((err: any) => console.log(err));\n\n\n\nplatformBrowserDynamic().bootstrapModule(AppModule)\n .catch((err: any) => console.log(err));\n"],"sourceRoot":""} \ No newline at end of file diff --git a/grpc-zpages/docker/static-assets/dist_channelz/polyfills.001f1812942338ddb405.js b/grpc-zpages/docker/static-assets/dist_channelz/polyfills.001f1812942338ddb405.js deleted file mode 100644 index 4ca0a1d..0000000 --- a/grpc-zpages/docker/static-assets/dist_channelz/polyfills.001f1812942338ddb405.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{"+rLv":function(e,t,n){var r=n("dyZX").document;e.exports=r&&r.documentElement},"0/R4":function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},"0TWp":function(e,t,n){!function(){"use strict";!function(e){var t=e.performance;function n(e){t&&t.mark&&t.mark(e)}function r(e,n){t&&t.measure&&t.measure(e,n)}if(n("Zone"),e.Zone)throw new Error("Zone already loaded.");var o,i=function(){function t(e,t){this._properties=null,this._parent=e,this._name=t?t.name||"unnamed":"",this._properties=t&&t.properties||{},this._zoneDelegate=new c(this,this._parent&&this._parent._zoneDelegate,t)}return t.assertZonePatched=function(){if(e.Promise!==O.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")},Object.defineProperty(t,"root",{get:function(){for(var e=t.current;e.parent;)e=e.parent;return e},enumerable:!0,configurable:!0}),Object.defineProperty(t,"current",{get:function(){return D.zone},enumerable:!0,configurable:!0}),Object.defineProperty(t,"currentTask",{get:function(){return j},enumerable:!0,configurable:!0}),t.__load_patch=function(o,i){if(O.hasOwnProperty(o))throw Error("Already loaded patch: "+o);if(!e["__Zone_disable_"+o]){var a="Zone:"+o;n(a),O[o]=i(e,t,S),r(a,a)}},Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),t.prototype.get=function(e){var t=this.getZoneWith(e);if(t)return t._properties[e]},t.prototype.getZoneWith=function(e){for(var t=this;t;){if(t._properties.hasOwnProperty(e))return t;t=t._parent}return null},t.prototype.fork=function(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)},t.prototype.wrap=function(e,t){if("function"!=typeof e)throw new Error("Expecting function got: "+e);var n=this._zoneDelegate.intercept(this,e,t),r=this;return function(){return r.runGuarded(n,this,arguments,t)}},t.prototype.run=function(e,t,n,r){void 0===t&&(t=void 0),void 0===n&&(n=null),void 0===r&&(r=null),D={parent:D,zone:this};try{return this._zoneDelegate.invoke(this,e,t,n,r)}finally{D=D.parent}},t.prototype.runGuarded=function(e,t,n,r){void 0===t&&(t=null),void 0===n&&(n=null),void 0===r&&(r=null),D={parent:D,zone:this};try{try{return this._zoneDelegate.invoke(this,e,t,n,r)}catch(e){if(this._zoneDelegate.handleError(this,e))throw e}}finally{D=D.parent}},t.prototype.runTask=function(e,t,n){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||g).name+"; Execution: "+this.name+")");if(e.state!==y||e.type!==x){var r=e.state!=k;r&&e._transitionTo(k,m),e.runCount++;var o=j;j=e,D={parent:D,zone:this};try{e.type==E&&e.data&&!e.data.isPeriodic&&(e.cancelFn=null);try{return this._zoneDelegate.invokeTask(this,e,t,n)}catch(e){if(this._zoneDelegate.handleError(this,e))throw e}}finally{e.state!==y&&e.state!==T&&(e.type==x||e.data&&e.data.isPeriodic?r&&e._transitionTo(m,k):(e.runCount=0,this._updateTaskCount(e,-1),r&&e._transitionTo(y,k,y))),D=D.parent,j=o}}},t.prototype.scheduleTask=function(e){if(e.zone&&e.zone!==this)for(var t=this;t;){if(t===e.zone)throw Error("can not reschedule task to "+this.name+" which is descendants of the original zone "+e.zone.name);t=t.parent}e._transitionTo(_,y);var n=[];e._zoneDelegates=n,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(t){throw e._transitionTo(T,_,y),this._zoneDelegate.handleError(this,t),t}return e._zoneDelegates===n&&this._updateTaskCount(e,1),e.state==_&&e._transitionTo(m,_),e},t.prototype.scheduleMicroTask=function(e,t,n,r){return this.scheduleTask(new u(w,e,t,n,r,null))},t.prototype.scheduleMacroTask=function(e,t,n,r,o){return this.scheduleTask(new u(E,e,t,n,r,o))},t.prototype.scheduleEventTask=function(e,t,n,r,o){return this.scheduleTask(new u(x,e,t,n,r,o))},t.prototype.cancelTask=function(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||g).name+"; Execution: "+this.name+")");e._transitionTo(b,m,k);try{this._zoneDelegate.cancelTask(this,e)}catch(t){throw e._transitionTo(T,b),this._zoneDelegate.handleError(this,t),t}return this._updateTaskCount(e,-1),e._transitionTo(y,b),e.runCount=0,e},t.prototype._updateTaskCount=function(e,t){var n=e._zoneDelegates;-1==t&&(e._zoneDelegates=null);for(var r=0;r0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:e})},e}(),u=function(){function t(n,r,o,i,a,c){this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=n,this.source=r,this.data=i,this.scheduleFn=a,this.cancelFn=c,this.callback=o;var u=this;this.invoke=n===x&&i&&i.useG?t.invokeTask:function(){return t.invokeTask.call(e,u,this,arguments)}}return t.invokeTask=function(e,t,n){e||(e=this),P++;try{return e.runCount++,e.zone.runTask(e,t,n)}finally{1==P&&d(),P--}},Object.defineProperty(t.prototype,"zone",{get:function(){return this._zone},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"state",{get:function(){return this._state},enumerable:!0,configurable:!0}),t.prototype.cancelScheduleRequest=function(){this._transitionTo(y,_)},t.prototype._transitionTo=function(e,t,n){if(this._state!==t&&this._state!==n)throw new Error(this.type+" '"+this.source+"': can not transition to '"+e+"', expecting state '"+t+"'"+(n?" or '"+n+"'":"")+", was '"+this._state+"'.");this._state=e,e==y&&(this._zoneDelegates=null)},t.prototype.toString=function(){return this.data&&void 0!==this.data.handleId?this.data.handleId:Object.prototype.toString.call(this)},t.prototype.toJSON=function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}},t}(),s=z("setTimeout"),l=z("Promise"),f=z("then"),p=[],h=!1;function v(t){0===P&&0===p.length&&(o||e[l]&&(o=e[l].resolve(0)),o?o[f](d):e[s](d,0)),t&&p.push(t)}function d(){if(!h){for(h=!0;p.length;){var e=p;p=[];for(var t=0;t=0;n--)"function"==typeof e[n]&&(e[n]=p(e[n],t+"_"+n));return e}function b(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}var T="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,w=!("nw"in y)&&void 0!==y.process&&"[object process]"==={}.toString.call(y.process),E=!w&&!T&&!(!d||!g.HTMLElement),x=void 0!==y.process&&"[object process]"==={}.toString.call(y.process)&&!T&&!(!d||!g.HTMLElement),O={},S=function(e){if(e=e||y.event){var t=O[e.type];t||(t=O[e.type]=v("ON_PROPERTY"+e.type));var n=(this||e.target||y)[t],r=n&&n.apply(this,arguments);return void 0==r||r||e.preventDefault(),r}};function D(n,r,o){var i=e(n,r);if(!i&&o&&e(o,r)&&(i={enumerable:!0,configurable:!0}),i&&i.configurable){delete i.writable,delete i.value;var a=i.get,c=i.set,u=r.substr(2),s=O[u];s||(s=O[u]=v("ON_PROPERTY"+u)),i.set=function(e){var t=this;t||n!==y||(t=y),t&&(t[s]&&t.removeEventListener(u,S),c&&c.apply(t,m),"function"==typeof e?(t[s]=e,t.addEventListener(u,S,!1)):t[s]=null)},i.get=function(){var e=this;if(e||n!==y||(e=y),!e)return null;var t=e[s];if(t)return t;if(a){var o=a&&a.call(this);if(o)return i.set.call(this,o),"function"==typeof e[_]&&e.removeAttribute(r),o}return null},t(n,r,i)}}function j(e,t,n){if(t)for(var r=0;r1?new c(t,n):new c(t),f=e(l,"onmessage");return f&&!1===f.configurable?(u=r(l),s=l,[i,a,"send","close"].forEach(function(e){u[e]=function(){var t=o.call(arguments);if(e===i||e===a){var n=t.length>0?t[0]:void 0;if(n){var r=Zone.__symbol__("ON_PROPERTY"+n);l[r]=u[r]}}return l[e].apply(l,t)}})):u=l,j(u,["close","error","message","open"],s),u};var u=n.WebSocket;for(var s in c)u[s]=c[s]}(0,u)}}var fe=v("unbound");Zone.__load_patch("util",function(e,t,n){n.patchOnProperties=j,n.patchMethod=z,n.bindArguments=k}),Zone.__load_patch("timers",function(e){K(e,"set","clear","Timeout"),K(e,"set","clear","Interval"),K(e,"set","clear","Immediate")}),Zone.__load_patch("requestAnimationFrame",function(e){K(e,"request","cancel","AnimationFrame"),K(e,"mozRequest","mozCancel","AnimationFrame"),K(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",function(e,t){for(var n=["alert","prompt","confirm"],r=0;r=0&&"function"==typeof n[r.cbIdx]?h(r.name,n[r.cbIdx],r,i,null):e.apply(t,n)}})}()}),Zone.__load_patch("XHR",function(e,t){!function(t){var s=XMLHttpRequest.prototype,l=s[c],f=s[u];if(!l){var p=e.XMLHttpRequestEventTarget;if(p){var v=p.prototype;l=v[c],f=v[u]}}var d="readystatechange",g="scheduled";function y(e){XMLHttpRequest[i]=!1;var t=e.data,r=t.target,a=r[o];l||(l=r[c],f=r[u]),a&&f.call(r,d,a);var s=r[o]=function(){r.readyState===r.DONE&&!t.aborted&&XMLHttpRequest[i]&&e.state===g&&e.invoke()};return l.call(r,d,s),r[n]||(r[n]=e),b.apply(r,t.args),XMLHttpRequest[i]=!0,e}function _(){}function m(e){var t=e.data;return t.aborted=!0,T.apply(t.target,t.args)}var k=z(s,"open",function(){return function(e,t){return e[r]=0==t[2],e[a]=t[1],k.apply(e,t)}}),b=z(s,"send",function(){return function(e,t){return e[r]?b.apply(e,t):h("XMLHttpRequest.send",_,{target:e,url:e[a],isPeriodic:!1,delay:null,args:t,aborted:!1},y,m)}}),T=z(s,"abort",function(){return function(e){var t=e[n];if(t&&"string"==typeof t.type){if(null==t.cancelFn||t.data&&t.data.aborted)return;t.zone.cancelTask(t)}}})}();var n=v("xhrTask"),r=v("xhrSync"),o=v("xhrListener"),i=v("xhrScheduled"),a=v("xhrURL")}),Zone.__load_patch("geolocation",function(t){t.navigator&&t.navigator.geolocation&&function(t,n){for(var r=t.constructor.name,o=function(o){var i=n[o],a=t[i];if(a){if(!b(e(t,i)))return"continue";t[i]=function(e){var t=function(){return e.apply(this,k(arguments,r+"."+i))};return M(t,e),t}(a)}},i=0;i0?arguments[0]:void 0)}},{get:function(e){var t=r.getEntry(o(this,"Map"),e);return t&&t.v},set:function(e,t){return r.def(o(this,"Map"),0===e?0:e,t)}},r,!0)},"9gX7":function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},Afnz:function(e,t,n){"use strict";var r=n("LQAc"),o=n("XKFU"),i=n("KroJ"),a=n("Mukb"),c=n("hPIQ"),u=n("QaDb"),s=n("fyDq"),l=n("OP3Y"),f=n("K0xU")("iterator"),p=!([].keys&&"next"in[].keys()),h=function(){return this};e.exports=function(e,t,n,v,d,g,y){u(n,t,v);var _,m,k,b=function(e){if(!p&&e in x)return x[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},T=t+" Iterator",w="values"==d,E=!1,x=e.prototype,O=x[f]||x["@@iterator"]||d&&x[d],S=O||b(d),D=d?w?b("entries"):S:void 0,j="Array"==t&&x.entries||O;if(j&&(k=l(j.call(new e)))!==Object.prototype&&k.next&&(s(k,T,!0),r||"function"==typeof k[f]||a(k,f,h)),w&&O&&"values"!==O.name&&(E=!0,S=function(){return O.call(this)}),r&&!y||!p&&!E&&x[f]||a(x,f,S),c[t]=S,c[T]=h,d)if(_={values:w?S:b("values"),keys:g?S:b("keys"),entries:D},y)for(m in _)m in x||i(x,m,_[m]);else o(o.P+o.F*(p||E),t,_);return _}},BqfV:function(e,t,n){var r=n("N6cJ"),o=n("y3w9"),i=r.get,a=r.key;r.exp({getOwnMetadata:function(e,t){return i(e,o(t),arguments.length<3?void 0:a(arguments[2]))}})},CkkT:function(e,t,n){var r=n("m0Pp"),o=n("Ymqv"),i=n("S/j/"),a=n("ne8i"),c=n("zRwo");e.exports=function(e,t){var n=1==e,u=2==e,s=3==e,l=4==e,f=6==e,p=5==e||f,h=t||c;return function(t,c,v){for(var d,g,y=i(t),_=o(y),m=r(c,v,3),k=a(_.length),b=0,T=n?h(t,k):u?h(t,0):void 0;k>b;b++)if((p||b in _)&&(g=m(d=_[b],b,y),e))if(n)T[b]=g;else if(g)switch(e){case 3:return!0;case 5:return d;case 6:return b;case 2:T.push(d)}else if(l)return!1;return f?-1:s||l?l:T}}},DVgA:function(e,t,n){var r=n("zhAb"),o=n("4R4u");e.exports=Object.keys||function(e){return r(e,o)}},EK0E:function(e,t,n){"use strict";var r,o=n("CkkT")(0),i=n("KroJ"),a=n("Z6vF"),c=n("czNK"),u=n("ZD67"),s=n("0/R4"),l=n("eeVq"),f=n("s5qY"),p=a.getWeak,h=Object.isExtensible,v=u.ufstore,d={},g=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},y={get:function(e){if(s(e)){var t=p(e);return!0===t?v(f(this,"WeakMap")).get(e):t?t[this._i]:void 0}},set:function(e,t){return u.def(f(this,"WeakMap"),e,t)}},_=e.exports=n("4LiD")("WeakMap",g,y,u,!0,!0);l(function(){return 7!=(new _).set((Object.freeze||Object)(d),7).get(d)})&&(c((r=u.getConstructor(g,"WeakMap")).prototype,y),a.NEED=!0,o(["delete","has","get","set"],function(e){var t=_.prototype,n=t[e];i(t,e,function(t,o){if(s(t)&&!h(t)){this._f||(this._f=new r);var i=this._f[e](t,o);return"set"==e?this:i}return n.call(this,t,o)})}))},EWmC:function(e,t,n){var r=n("LZWt");e.exports=Array.isArray||function(e){return"Array"==r(e)}},EemH:function(e,t,n){var r=n("UqcF"),o=n("RjD/"),i=n("aCFj"),a=n("apmT"),c=n("aagx"),u=n("xpql"),s=Object.getOwnPropertyDescriptor;t.f=n("nh4g")?s:function(e,t){if(e=i(e),t=a(t,!0),u)try{return s(e,t)}catch(e){}if(c(e,t))return o(!r.f.call(e,t),e[t])}},FJW5:function(e,t,n){var r=n("hswa"),o=n("y3w9"),i=n("DVgA");e.exports=n("nh4g")?Object.defineProperties:function(e,t){o(e);for(var n,a=i(t),c=a.length,u=0;c>u;)r.f(e,n=a[u++],t[n]);return e}},FZcq:function(e,t,n){n("49D4"),n("zq+C"),n("45Tv"),n("uAtd"),n("BqfV"),n("fN/3"),n("iW+S"),n("7Dlh"),n("Opxb"),e.exports=n("g3g5").Reflect},H6hf:function(e,t,n){var r=n("y3w9");e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},"I8a+":function(e,t,n){var r=n("LZWt"),o=n("K0xU")("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?n:i?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},Iw71:function(e,t,n){var r=n("0/R4"),o=n("dyZX").document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},"J+6e":function(e,t,n){var r=n("I8a+"),o=n("K0xU")("iterator"),i=n("hPIQ");e.exports=n("g3g5").getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||i[r(e)]}},JiEa:function(e,t){t.f=Object.getOwnPropertySymbols},K0xU:function(e,t,n){var r=n("VTer")("wks"),o=n("ylqs"),i=n("dyZX").Symbol,a="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))}).store=r},KroJ:function(e,t,n){var r=n("dyZX"),o=n("Mukb"),i=n("aagx"),a=n("ylqs")("src"),c=Function.toString,u=(""+c).split("toString");n("g3g5").inspectSource=function(e){return c.call(e)},(e.exports=function(e,t,n,c){var s="function"==typeof n;s&&(i(n,"name")||o(n,"name",t)),e[t]!==n&&(s&&(i(n,a)||o(n,a,e[t]?""+e[t]:u.join(String(t)))),e===r?e[t]=n:c?e[t]?e[t]=n:o(e,t,n):(delete e[t],o(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||c.call(this)})},Kuth:function(e,t,n){var r=n("y3w9"),o=n("FJW5"),i=n("4R4u"),a=n("YTvA")("IE_PROTO"),c=function(){},u=function(){var e,t=n("Iw71")("iframe"),r=i.length;for(t.style.display="none",n("+rLv").appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("