From 2db754e8c9fea664fb6c52aee98f4d37943ef46c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9lian=20Veyssi=C3=A8re?= Date: Fri, 23 Jul 2021 14:16:10 +0200 Subject: [PATCH] update demo (mode prod) --- dist/ng-walkthrough/3rdpartylicenses.txt | 365 + dist/ng-walkthrough/index.html | 18 +- .../main.cc7a9c4b0f8fadfc598a.js | 1 + dist/ng-walkthrough/main.js | 2200 - dist/ng-walkthrough/main.js.map | 1 - .../polyfills-es5.15923f0eec62cefbab25.js | 1 + dist/ng-walkthrough/polyfills-es5.js | 15372 -- dist/ng-walkthrough/polyfills-es5.js.map | 1 - .../polyfills.a3ca6c66fa9f45b770c3.js | 1 + dist/ng-walkthrough/polyfills.js | 7239 - dist/ng-walkthrough/polyfills.js.map | 1 - .../runtime.7b63b9fd40098a2e8207.js | 1 + dist/ng-walkthrough/runtime.js | 155 - dist/ng-walkthrough/runtime.js.map | 1 - .../styles.59dcf5172042e7ab0177.css | 1 + dist/ng-walkthrough/styles.css | 11 - dist/ng-walkthrough/styles.css.map | 1 - dist/ng-walkthrough/vendor.js | 116508 --------------- dist/ng-walkthrough/vendor.js.map | 1 - 19 files changed, 379 insertions(+), 141500 deletions(-) create mode 100644 dist/ng-walkthrough/3rdpartylicenses.txt create mode 100644 dist/ng-walkthrough/main.cc7a9c4b0f8fadfc598a.js delete mode 100644 dist/ng-walkthrough/main.js delete mode 100644 dist/ng-walkthrough/main.js.map create mode 100644 dist/ng-walkthrough/polyfills-es5.15923f0eec62cefbab25.js delete mode 100644 dist/ng-walkthrough/polyfills-es5.js delete mode 100644 dist/ng-walkthrough/polyfills-es5.js.map create mode 100644 dist/ng-walkthrough/polyfills.a3ca6c66fa9f45b770c3.js delete mode 100644 dist/ng-walkthrough/polyfills.js delete mode 100644 dist/ng-walkthrough/polyfills.js.map create mode 100644 dist/ng-walkthrough/runtime.7b63b9fd40098a2e8207.js delete mode 100644 dist/ng-walkthrough/runtime.js delete mode 100644 dist/ng-walkthrough/runtime.js.map create mode 100644 dist/ng-walkthrough/styles.59dcf5172042e7ab0177.css delete mode 100644 dist/ng-walkthrough/styles.css delete mode 100644 dist/ng-walkthrough/styles.css.map delete mode 100644 dist/ng-walkthrough/vendor.js delete mode 100644 dist/ng-walkthrough/vendor.js.map diff --git a/dist/ng-walkthrough/3rdpartylicenses.txt b/dist/ng-walkthrough/3rdpartylicenses.txt new file mode 100644 index 0000000..ff46651 --- /dev/null +++ b/dist/ng-walkthrough/3rdpartylicenses.txt @@ -0,0 +1,365 @@ +@angular-devkit/build-angular +MIT +The MIT License + +Copyright (c) 2017 Google, Inc. + +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/cdk +MIT +The MIT License + +Copyright (c) 2021 Google LLC. + +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 +MIT + +@angular/core +MIT + +@angular/platform-browser +MIT + +@babel/runtime +MIT +MIT License + +Copyright (c) 2014-present Sebastian McKenzie 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-walkthrough +MIT + +core-js +MIT +Copyright (c) 2014-2021 Denis Pushkarev + +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. + + +regenerator-runtime +MIT +MIT License + +Copyright (c) 2014-present, Facebook, Inc. + +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. + + +rxjs +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. + + + +zone.js +MIT +The MIT License + +Copyright (c) 2010-2020 Google LLC. https://angular.io/license + +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. diff --git a/dist/ng-walkthrough/index.html b/dist/ng-walkthrough/index.html index 849d870..be9a447 100644 --- a/dist/ng-walkthrough/index.html +++ b/dist/ng-walkthrough/index.html @@ -2,16 +2,16 @@ - - NgWalkthrough - + + NgWalkthrough + - - - + + + - - + + - \ No newline at end of file + diff --git a/dist/ng-walkthrough/main.cc7a9c4b0f8fadfc598a.js b/dist/ng-walkthrough/main.cc7a9c4b0f8fadfc598a.js new file mode 100644 index 0000000..7a20187 --- /dev/null +++ b/dist/ng-walkthrough/main.cc7a9c4b0f8fadfc598a.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(t,e,n){t.exports=n("zUnb")},zUnb:function(t,e,n){"use strict";function r(t){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function i(t,e,n){return(i="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var i=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=r(t)););return t}(t,e);if(i){var o=Object.getOwnPropertyDescriptor(i,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,u=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return s=t.done,t},e:function(t){u=!0,o=t},f:function(){try{s||null==n.return||n.return()}finally{if(u)throw o}}}}function m(t){return function(t){if(Array.isArray(t))return v(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||g(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(t,e,n){return(_=c()?Reflect.construct:function(t,e,n){var r=[null];r.push.apply(r,e);var i=new(Function.bind.apply(t,r));return n&&a(i,n.prototype),i}).apply(null,arguments)}function w(t){var e="function"==typeof Map?new Map:void 0;return(w=function(t){if(null===t||-1===Function.toString.call(t).indexOf("[native code]"))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return _(t,arguments,r(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),a(n,t)})(t)}n.r(e);var b=function(){return Array.isArray||function(t){return t&&"number"==typeof t.length}}();function k(t){return null!==t&&"object"==typeof t}function C(t){return"function"==typeof t}var x=function(){function t(t){return Error.call(this),this.message=t?"".concat(t.length," errors occurred during unsubscription:\n").concat(t.map(function(t,e){return"".concat(e+1,") ").concat(t.toString())}).join("\n ")):"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t}(),S=function(){var t=function(){function t(e){o(this,t),this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}return u(t,[{key:"unsubscribe",value:function(){var e;if(!this.closed){var n=this._parentOrParents,r=this._ctorUnsubscribe,i=this._unsubscribe,o=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(var s=0;s2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof e?function(r){return r.pipe(it(function(n,r){return et(t(n,r)).pipe(Q(function(t,i){return e(n,t,r,i)}))},n))}:("number"==typeof e&&(n=e),function(e){return e.lift(new ot(t,n))})}var ot=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;o(this,t),this.project=e,this.concurrent=n}return u(t,[{key:"call",value:function(t,e){return e.subscribe(new st(t,this.project,this.concurrent))}}]),t}(),st=function(t){l(n,t);var e=p(n);function n(t,r){var i,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return o(this,n),(i=e.call(this,t)).project=r,i.concurrent=s,i.hasCompleted=!1,i.buffer=[],i.active=0,i.index=0,i}return u(n,[{key:"_next",value:function(t){this.active0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}]),n}(rt);function ut(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return it(M,t)}function at(t,e){return e?tt(t,e):new j(U(t))}function lt(){return function(t){return t.lift(new ct(t))}}var ct=function(){function t(e){o(this,t),this.connectable=e}return u(t,[{key:"call",value:function(t,e){var n=this.connectable;n._refCount++;var r=new ht(t,n),i=e.subscribe(r);return r.closed||(r.connection=n.connect()),i}}]),t}(),ht=function(t){l(n,t);var e=p(n);function n(t,r){var i;return o(this,n),(i=e.call(this,t)).connectable=r,i}return u(n,[{key:"_unsubscribe",value:function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null}}]),n}(D),ft=function(t){l(n,t);var e=p(n);function n(t,r){var i;return o(this,n),(i=e.call(this)).source=t,i.subjectFactory=r,i._refCount=0,i._isComplete=!1,i}return u(n,[{key:"_subscribe",value:function(t){return this.getSubject().subscribe(t)}},{key:"getSubject",value:function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}},{key:"connect",value:function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new S).add(this.source.subscribe(new pt(this.getSubject(),this))),t.closed&&(this._connection=null,t=S.EMPTY)),t}},{key:"refCount",value:function(){return lt()(this)}}]),n}(j),dt=function(){var t=ft.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}}(),pt=function(t){l(n,t);var e=p(n);function n(t,r){var i;return o(this,n),(i=e.call(this,t)).connectable=r,i}return u(n,[{key:"_error",value:function(t){this._unsubscribe(),i(r(n.prototype),"_error",this).call(this,t)}},{key:"_complete",value:function(){this.connectable._isComplete=!0,this._unsubscribe(),i(r(n.prototype),"_complete",this).call(this)}},{key:"_unsubscribe",value: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()}}}]),n}(L);function vt(){return new Z}function gt(t){for(var e in t)if(t[e]===gt)return e;throw Error("Could not find renamed property on target object.")}function yt(t,e){for(var n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function mt(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(mt).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return"".concat(t.overriddenName);if(t.name)return"".concat(t.name);var e=t.toString();if(null==e)return""+e;var n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function _t(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}var wt=gt({__forward_ref__:gt});function bt(t){return t.__forward_ref__=bt,t.toString=function(){return mt(this())},t}function kt(t){return Ct(t)?t():t}function Ct(t){return"function"==typeof t&&t.hasOwnProperty(wt)&&t.__forward_ref__===bt}var xt=function(t){l(n,t);var e=p(n);function n(t,r){var i;return o(this,n),(i=e.call(this,function(t,e){var n=t?"NG0".concat(t,": "):"";return"".concat(n).concat(e)}(t,r))).code=t,i}return n}(w(Error));function St(t){return"string"==typeof t?t:null==t?"":String(t)}function Et(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():St(t)}function Tt(t,e){var n=e?" in ".concat(e):"";throw new xt("201","No provider for ".concat(Et(t)," found").concat(n))}function At(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Pt(t){return{providers:t.providers||[],imports:t.imports||[]}}function It(t){return Ot(t,Rt)||Ot(t,Ht)}function Ot(t,e){return t.hasOwnProperty(e)?t[e]:null}function Dt(t){return t&&(t.hasOwnProperty(Mt)||t.hasOwnProperty(jt))?t[Mt]:null}var Nt,Rt=gt({"\u0275prov":gt}),Mt=gt({"\u0275inj":gt}),Ht=gt({ngInjectableDef:gt}),jt=gt({ngInjectorDef:gt}),Vt=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({});function Ft(){return Nt}function Bt(t){var e=Nt;return Nt=t,e}function Lt(t,e,n){var r=It(t);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&Vt.Optional?null:void 0!==e?e:void Tt(mt(t),"Injector")}function Zt(t){return{toString:t}.toString()}var qt=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}({}),zt=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({}),Qt="undefined"!=typeof globalThis&&globalThis,Wt="undefined"!=typeof window&&window,Gt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Ut="undefined"!=typeof global&&global,Jt=Qt||Ut||Wt||Gt,Yt={},Kt=[],$t=[],Xt=gt({"\u0275cmp":gt}),te=gt({"\u0275dir":gt}),ee=gt({"\u0275pipe":gt}),ne=gt({"\u0275mod":gt}),re=gt({"\u0275loc":gt}),ie=gt({"\u0275fac":gt}),oe=gt({__NG_ELEMENT_ID__:gt}),se=0;function ue(t){return Zt(function(){var e={},n={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===qt.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||$t,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||zt.Emulated,id:"c",styles:t.styles||$t,_:null,setInput:null,schemas:t.schemas||null,tView:null},r=t.directives,i=t.features,o=t.pipes;return n.id+=se++,n.inputs=fe(t.inputs,e),n.outputs=fe(t.outputs),i&&i.forEach(function(t){return t(n)}),n.directiveDefs=r?function(){return("function"==typeof r?r():r).map(ae)}:null,n.pipeDefs=o?function(){return("function"==typeof o?o():o).map(le)}:null,n})}function ae(t){return pe(t)||function(t){return t[te]||null}(t)}function le(t){return function(t){return t[ee]||null}(t)}var ce={};function he(t){var e={type:t.type,bootstrap:t.bootstrap||$t,declarations:t.declarations||$t,imports:t.imports||$t,exports:t.exports||$t,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&Zt(function(){ce[t.id]=t.type}),e}function fe(t,e){if(null==t)return Yt;var n={};for(var r in t)if(t.hasOwnProperty(r)){var i=t[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,e&&(e[i]=o)}return n}var de=ue;function pe(t){return t[Xt]||null}function ve(t,e){var n=t[ne]||null;if(!n&&!0===e)throw new Error("Type ".concat(mt(t)," does not have '\u0275mod' property."));return n}var ge=20,ye=10;function me(t){return Array.isArray(t)&&"object"==typeof t[1]}function _e(t){return Array.isArray(t)&&!0===t[1]}function we(t){return 0!=(8&t.flags)}function be(t){return 2==(2&t.flags)}function ke(t){return 1==(1&t.flags)}function Ce(t){return null!==t.template}function xe(t,e){return t.hasOwnProperty(ie)?t[ie]:null}var Se=function(){function t(e,n,r){o(this,t),this.previousValue=e,this.currentValue=n,this.firstChange=r}return u(t,[{key:"isFirstChange",value:function(){return this.firstChange}}]),t}();function Ee(){var t=Ae(this),e=null==t?void 0:t.current;if(e){var n=t.previous;if(n===Yt)t.previous=e;else for(var r in e)n[r]=e[r];t.current=null,this.ngOnChanges(e)}}function Te(t,e,n,r){var i=Ae(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:Yt,current:null}),o=i.current||(i.current={}),s=i.previous,u=this.declaredInputs[n],a=s[u];o[u]=new Se(a&&a.currentValue,e,s===Yt),t[r]=e}function Ae(t){return t.__ngSimpleChanges__||null}var Pe="http://www.w3.org/2000/svg",Ie=void 0;function Oe(t){return!!t.listen}var De={createRenderer:function(t,e){return void 0!==Ie?Ie:"undefined"!=typeof document?document:void 0}};function Ne(t){for(;Array.isArray(t);)t=t[0];return t}function Re(t,e){return Ne(e[t])}function Me(t,e){return Ne(e[t.index])}function He(t,e){return t.data[e]}function je(t,e){var n=e[t];return me(n)?n:n[0]}function Ve(t){var e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function Fe(t){return 4==(4&t[2])}function Be(t){return 128==(128&t[2])}function Le(t,e){return null==e?null:t[e]}function Ze(t){t[18]=0}function qe(t,e){t[5]+=e;for(var n=t,r=t[3];null!==r&&(1===e&&1===n[5]||-1===e&&0===n[5]);)r[5]+=e,n=r,r=r[3]}var ze={lFrame:cn(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Qe(){return ze.bindingsEnabled}function We(){return ze.lFrame.lView}function Ge(){return ze.lFrame.tView}function Ue(t){ze.lFrame.contextLView=t}function Je(){for(var t=Ye();null!==t&&64===t.type;)t=t.parent;return t}function Ye(){return ze.lFrame.currentTNode}function Ke(t,e){var n=ze.lFrame;n.currentTNode=t,n.isParent=e}function $e(){return ze.lFrame.isParent}function Xe(){return ze.isInCheckNoChangesMode}function tn(t){ze.isInCheckNoChangesMode=t}function en(){return ze.lFrame.bindingIndex++}function nn(t){ze.lFrame.currentDirectiveIndex=t}function rn(){return ze.lFrame.currentQueryIndex}function on(t){ze.lFrame.currentQueryIndex=t}function sn(t){var e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function un(t,e,n){if(n&Vt.SkipSelf){for(var r=e,i=t;!(null!==(r=r.parent)||n&Vt.Host||null===(r=sn(i))||(i=i[15],10&r.type)););if(null===r)return!1;e=r,t=i}var o=ze.lFrame=ln();return o.currentTNode=e,o.lView=t,!0}function an(t){var e=ln(),n=t[1];ze.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function ln(){var t=ze.lFrame,e=null===t?null:t.child;return null===e?cn(t):e}function cn(t){var e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function hn(){var t=ze.lFrame;return ze.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var fn=hn;function dn(){var t=hn();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function pn(t){return(ze.lFrame.contextLView=function(t,e){for(;t>0;)e=e[15],t--;return e}(t,ze.lFrame.contextLView))[8]}function vn(){return ze.lFrame.selectedIndex}function gn(t){ze.lFrame.selectedIndex=t}function yn(){var t=ze.lFrame;return He(t.tView,t.selectedIndex)}function mn(t,e){for(var n=e.directiveStart,r=e.directiveEnd;n=r)break}else e[u]<0&&(t[18]+=65536),(s>11>16&&(3&t[2])===e){t[2]+=2048;try{o.call(s)}finally{}}}else try{o.call(s)}finally{}}var xn=-1,Sn=function t(e,n,r){o(this,t),this.factory=e,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r};function En(t,e,n){for(var r=Oe(t),i=0;ie){s=o-1;break}}}for(;o>16,r=e;n>0;)r=r[15],n--;return r}var Nn=!0;function Rn(t){var e=Nn;return Nn=t,e}var Mn=0;function Hn(t,e){var n=Vn(t,e);if(-1!==n)return n;var r=e[1];r.firstCreatePass&&(t.injectorIndex=e.length,jn(r.data,t),jn(e,null),jn(r.blueprint,null));var i=Fn(t,e),o=t.injectorIndex;if(In(i))for(var s=On(i),u=Dn(i,e),a=u[1].data,l=0;l<8;l++)e[o+l]=u[s+l]|a[s+l];return e[o+8]=i,o}function jn(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Vn(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function Fn(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;for(var n=0,r=null,i=e;null!==i;){var o=i[1],s=o.type;if(null===(r=2===s?o.declTNode:1===s?i[6]:null))return xn;if(n++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return xn}function Bn(t,e,n){!function(t,e,n){var r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(oe)&&(r=n[oe]),null==r&&(r=n[oe]=Mn++);var i=255&r;e.data[t+(i>>5)]|=1<3&&void 0!==arguments[3]?arguments[3]:Vt.Default,i=arguments.length>4?arguments[4]:void 0;if(null!==t){var o=Jn(n);if("function"==typeof o){if(!un(e,t,r))return r&Vt.Host?Ln(i,n,r):Zn(e,n,r,i);try{var s=o();if(null!=s||r&Vt.Optional)return s;Tt(n)}finally{fn()}}else if("number"==typeof o){var u=null,a=Vn(t,e),l=xn,c=r&Vt.Host?e[16][6]:null;for((-1===a||r&Vt.SkipSelf)&&((l=-1===a?Fn(t,e):e[a+8])!==xn&&Kn(r,!1)?(u=e[1],a=On(l),e=Dn(l,e)):a=-1);-1!==a;){var h=e[1];if(Yn(o,a,h.data)){var f=Wn(a,e,n,u,r,c);if(f!==zn)return f}(l=e[a+8])!==xn&&Kn(r,e[1].data[a+8]===c)&&Yn(o,a,e)?(u=h,a=On(l),e=Dn(l,e)):a=-1}}}return Zn(e,n,r,i)}var zn={};function Qn(){return new $n(Je(),We())}function Wn(t,e,n,r,i,o){var s=e[1],u=s.data[t+8],a=Gn(u,s,n,null==r?be(u)&&Nn:r!=s&&0!=(3&u.type),i&Vt.Host&&o===u);return null!==a?Un(e,s,a,u):zn}function Gn(t,e,n,r,i){for(var o=t.providerIndexes,s=e.data,u=1048575&o,a=t.directiveStart,l=o>>20,c=i?u+l:t.directiveEnd,h=r?u:u+l;h=a&&f.type===n)return h}if(i){var d=s[a];if(d&&Ce(d)&&d.type===n)return a}return null}function Un(t,e,n,r){var i=t[n],o=e.data;if(i instanceof Sn){var s=i;s.resolving&&function(t,e){throw new xt("200","Circular dependency in DI detected for ".concat(t).concat(""))}(Et(o[n]));var u=Rn(s.canSeeViewProviders);s.resolving=!0;var a=s.injectImpl?Bt(s.injectImpl):null;un(t,r,Vt.Default);try{i=t[n]=s.factory(void 0,o,t,r),e.firstCreatePass&&n>=r.directiveStart&&function(t,e,n){var r,i=e.type.prototype,o=i.ngOnInit,s=i.ngDoCheck;if(i.ngOnChanges){var u=((r=e).type.prototype.ngOnChanges&&(r.setInput=Te),Ee);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,u),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,u)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,o),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,s))}(n,o[n],e)}finally{null!==a&&Bt(a),Rn(u),s.resolving=!1,fn()}}return i}function Jn(t){if("string"==typeof t)return t.charCodeAt(0)||0;var e=t.hasOwnProperty(oe)?t[oe]:void 0;return"number"==typeof e?e>=0?255&e:Qn:e}function Yn(t,e,n){return!!(n[e+(t>>5)]&1<=t.length?t.push(n):t.splice(e,0,n)}function ur(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function ar(t,e){var n=lr(t,e);if(n>=0)return t[1|n]}function lr(t,e){return function(t,e,n){for(var r=0,i=t.length>>1;i!==r;){var o=r+(i-r>>1),s=t[o<<1];if(e===s)return o<<1;s>e?i=o:r=o+1}return~(i<<1)}(t,e)}var cr={},hr=/\n/gm,fr="__source",dr=gt({provide:String,useValue:gt}),pr=void 0;function vr(t){var e=pr;return pr=t,e}function gr(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Vt.Default;if(void 0===pr)throw new Error("inject() must be called from an injection context");return null===pr?Lt(t,void 0,e):pr.get(t,e&Vt.Optional?null:void 0,e)}function yr(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Vt.Default;return(Ft()||gr)(kt(t),e)}function mr(t){for(var e=[],n=0;n3&&void 0!==arguments[3]?arguments[3]:null;t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;var i=mt(e);if(Array.isArray(e))i=e.map(mt).join(" -> ");else if("object"==typeof e){var o=[];for(var s in e)if(e.hasOwnProperty(s)){var u=e[s];o.push(s+":"+("string"==typeof u?JSON.stringify(u):mt(u)))}i="{".concat(o.join(", "),"}")}return"".concat(n).concat(r?"("+r+")":"","[").concat(i,"]: ").concat(t.replace(hr,"\n "))}("\n"+t.message,i,n,r),t.ngTokenPath=i,t.ngTempTokenPath=null,t}var br=_r(nr("Inject",function(t){return{token:t}}),-1),kr=_r(nr("Optional"),8),Cr=_r(nr("SkipSelf"),4),xr=function(){function t(e){o(this,t),this.changingThisBreaksApplicationSecurity=e}return u(t,[{key:"toString",value:function(){return"SafeValue must use [property]=binding: ".concat(this.changingThisBreaksApplicationSecurity)+" (see https://g.co/ng/security#xss)"}}]),t}();function Sr(t){return t.ngDebugContext}function Er(t){return t.ngOriginalError}function Tr(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r0&&(t[r-1][4]=i[4]);var s=ur(t,ye+e);ei(i[1],n=i,n[11],2,null,null),n[0]=null,n[6]=null;var u=s[19];null!==u&&u.detachView(s[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}}function zr(t,e){if(!(256&e[2])){var n=e[11];Oe(n)&&n.destroyNode&&ei(t,e,n,3,null,null),function(t){var e=t[13];if(!e)return Qr(t[1],t);for(;e;){var n=null;if(me(e))n=e[13];else{var r=e[10];r&&(n=r)}if(!n){for(;e&&!e[4]&&e!==t;)me(e)&&Qr(e[1],e),e=e[3];null===e&&(e=t),me(e)&&Qr(e[1],e),n=e&&e[4]}e=n}}(e)}}function Qr(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){var n;if(null!=t&&null!=(n=t.destroyHooks))for(var r=0;r=0?r[i=l]():r[i=-l].unsubscribe(),o+=2}else{var c=r[i=n[o+1]];n[o].call(c)}if(null!==r){for(var h=i+1;ho?"":i[c+1].toLowerCase();var f=8&r?h:null;if(f&&-1!==oi(f,l,0)||2&r&&l!==h){if(hi(r))return!1;s=!0}}}}else{if(!s&&!hi(r)&&!hi(a))return!1;if(s&&hi(a))continue;s=!1,r=a|1&r}}return hi(r)||s}function hi(t){return 0==(1&t)}function fi(t,e,n,r){if(null===e)return-1;var i=0;if(r||!n){for(var o=!1;i-1)for(n++;n2&&void 0!==arguments[2]&&arguments[2],r=0;r0?'="'+u+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""===i||hi(s)||(e+=pi(o,i),i=""),r=s,o=o||!hi(r);n++}return""!==i&&(e+=pi(o,i)),e}var gi={};function yi(t){mi(Ge(),We(),vn()+t,Xe())}function mi(t,e,n,r){if(!r)if(3==(3&e[2])){var i=t.preOrderCheckHooks;null!==i&&_n(e,i,n)}else{var o=t.preOrderHooks;null!==o&&wn(e,o,0,n)}gn(n)}function _i(t,e){return t<<17|e<<2}function wi(t){return t>>17&32767}function bi(t){return 2|t}function ki(t){return(131068&t)>>2}function Ci(t,e){return-131069&t|e<<2}function xi(t){return 1|t}function Si(t,e){var n=t.contentQueries;if(null!==n)for(var r=0;rge&&mi(t,e,ge,Xe()),n(r,i)}finally{gn(o)}}function Ni(t,e,n){Qe()&&(function(t,e,n,r){var i=n.directiveStart,o=n.directiveEnd;t.firstCreatePass||Hn(n,e),Pr(r,e);for(var s=n.initialInputs,u=i;u2&&void 0!==arguments[2]?arguments[2]:Me,r=e.localNames;if(null!==r)for(var i=e.index+1,o=0;o0;){var n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(u)!=a&&u.push(a),u.push(r,i,s)}}function Li(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function Zi(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function qi(t,e,n){if(n){if(e.exportAs)for(var r=0;r0&&Ki(n)}}function Ki(t){for(var e=Hr(t);null!==e;e=jr(e))for(var n=ye;n0&&Ki(r)}var o=t[1].components;if(null!==o)for(var s=0;s0&&Ki(u)}}function $i(t,e){var n=je(e,t),r=n[1];!function(t,e){for(var n=e.length;n1&&void 0!==arguments[1]?arguments[1]:cr;if(e===cr){var n=new Error("NullInjectorError: No provider for ".concat(mt(t),"!"));throw n.name="NullInjectorError",n}return e}}]),t}(),fo=new rr("Set Injector scope."),po={},vo={},go=[],yo=void 0;function mo(){return void 0===yo&&(yo=new ho),yo}function _o(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3?arguments[3]:void 0;return new wo(t,n,e||mo(),r)}var wo=function(){function t(e,n,r){var i=this,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;o(this,t),this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var u=[];n&&or(n,function(t){return i.processProvider(t,e,n)}),or([e],function(t){return i.processInjectorType(t,[],u)}),this.records.set(co,Co(void 0,this));var a=this.records.get(fo);this.scope=null!=a?a.value:null,this.source=s||("object"==typeof e?null:mt(e))}return u(t,[{key:"destroyed",get:function(){return this._destroyed}},{key:"destroy",value:function(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(function(t){return t.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}},{key:"get",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:cr,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Vt.Default;this.assertNotDestroyed();var r=vr(this);try{if(!(n&Vt.SkipSelf)){var i=this.records.get(t);if(void 0===i){var o=Eo(t)&&It(t);i=o&&this.injectableDefInScope(o)?Co(bo(t),po):null,this.records.set(t,i)}if(null!=i)return this.hydrate(t,i)}var s=n&Vt.Self?mo():this.parent;return s.get(t,e=n&Vt.Optional&&e===cr?null:e)}catch(a){if("NullInjectorError"===a.name){var u=a.ngTempTokenPath=a.ngTempTokenPath||[];if(u.unshift(mt(t)),r)throw a;return wr(a,t,"R3InjectorError",this.source)}throw a}finally{vr(r)}}},{key:"_resolveInjectorDefTypes",value:function(){var t=this;this.injectorDefTypes.forEach(function(e){return t.get(e)})}},{key:"toString",value:function(){var t=[];return this.records.forEach(function(e,n){return t.push(mt(n))}),"R3Injector[".concat(t.join(", "),"]")}},{key:"assertNotDestroyed",value:function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}},{key:"processInjectorType",value:function(t,e,n){var r=this;if(!(t=kt(t)))return!1;var i=Dt(t),o=null==i&&t.ngModule||void 0,s=void 0===o?t:o,u=-1!==n.indexOf(s);if(void 0!==o&&(i=Dt(o)),null==i)return!1;if(null!=i.imports&&!u){var a;n.push(s);try{or(i.imports,function(t){r.processInjectorType(t,e,n)&&(void 0===a&&(a=[]),a.push(t))})}finally{}if(void 0!==a)for(var l=function(t){var e=a[t],n=e.ngModule,i=e.providers;or(i,function(t){return r.processProvider(t,n,i||go)})},c=0;c0){var n=function(t,e){for(var n=[],r=0;r2&&void 0!==arguments[2]&&arguments[2];return{factory:t,value:e,multi:n?[]:void 0}}function xo(t){return null!==t&&"object"==typeof t&&dr in t}function So(t){return"function"==typeof t}function Eo(t){return"function"==typeof t||"object"==typeof t&&t instanceof rr}var To=function(t,e,n){return function(t){var e=_o(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,arguments.length>3?arguments[3]:void 0);return e._resolveInjectorDefTypes(),e}({name:n},e,t,n)},Ao=function(){var t=function(){function t(){o(this,t)}return u(t,null,[{key:"create",value:function(t,e){return Array.isArray(t)?To(t,e,""):To(t.providers,t.parent,t.name||"")}}]),t}();return t.THROW_IF_NOT_FOUND=cr,t.NULL=new ho,t.\u0275prov=At({token:t,providedIn:"any",factory:function(){return yr(co)}}),t.__NG_ELEMENT_ID__=-1,t}();function Po(t,e){mn(Ve(t)[1],Je())}function Io(t){for(var e=Object.getPrototypeOf(t.type.prototype).constructor,n=!0,r=[t];e;){var i=void 0;if(Ce(t))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");i=e.\u0275dir}if(i){if(n){r.push(i);var o=t;o.inputs=Oo(t.inputs),o.declaredInputs=Oo(t.declaredInputs),o.outputs=Oo(t.outputs);var s=i.hostBindings;s&&Ro(t,s);var u=i.viewQuery,a=i.contentQueries;if(u&&Do(t,u),a&&No(t,a),yt(t.inputs,i.inputs),yt(t.declaredInputs,i.declaredInputs),yt(t.outputs,i.outputs),Ce(i)&&i.data.animation){var l=t.data;l.animation=(l.animation||[]).concat(i.data.animation)}}var c=i.features;if(c)for(var h=0;h=0;r--){var i=t[r];i.hostVars=e+=i.hostVars,i.hostAttrs=An(i.hostAttrs,n=An(n,i.hostAttrs))}}(r)}function Oo(t){return t===Yt?{}:t===$t?[]:t}function Do(t,e){var n=t.viewQuery;t.viewQuery=n?function(t,r){e(t,r),n(t,r)}:e}function No(t,e){var n=t.contentQueries;t.contentQueries=n?function(t,r,i){e(t,r,i),n(t,r,i)}:e}function Ro(t,e){var n=t.hostBindings;t.hostBindings=n?function(t,r){e(t,r),n(t,r)}:e}var Mo=null;function Ho(){if(!Mo){var t=Jt.Symbol;if(t&&t.iterator)Mo=t.iterator;else for(var e=Object.getOwnPropertyNames(Map.prototype),n=0;n1&&void 0!==arguments[1]?arguments[1]:Vt.Default,n=We();if(null===n)return yr(t,e);var r=Je();return qn(r,n,kt(t),e)}function zo(t,e,n){var r=We();return Fo(r,en(),e)&&function(t,e,n,r,i,o,s,u){var a,l,c=Me(e,n),h=e.inputs;null!=h&&(a=h[r])?(ao(t,n,a,r,i),be(e)&&function(t,e){var n=je(e,t);16&n[2]||(n[2]|=64)}(n,e.index)):3&e.type&&(r="class"===(l=r)?"className":"for"===l?"htmlFor":"formaction"===l?"formAction":"innerHtml"===l?"innerHTML":"readonly"===l?"readOnly":"tabindex"===l?"tabIndex":l,i=null!=s?s(i,e.value||"",r):i,Oe(o)?o.setProperty(c,r,i):Tn(r)||(c.setProperty?c.setProperty(r,i):c[r]=i))}(Ge(),yn(),r,t,e,r[11],n),zo}function Qo(t,e,n,r,i){var o=i?"class":"style";ao(t,n,e.inputs[o],o,r)}function Wo(t,e,n,r){var i=We(),o=Ge(),s=ge+t,u=i[11],a=i[s]=Lr(u,e,ze.lFrame.currentNamespace),l=o.firstCreatePass?function(t,e,n,r,i,o,s){var u=e.consts,a=Ti(e,t,2,i,Le(u,o));return Fi(e,n,a,Le(u,s)),null!==a.attrs&&lo(a,a.attrs,!1),null!==a.mergedAttrs&&lo(a,a.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,a),a}(s,o,i,0,e,n,r):o.data[s];Ke(l,!0);var c=l.mergedAttrs;null!==c&&En(u,a,c);var h=l.classes;null!==h&&ii(u,a,h);var f=l.styles;null!==f&&ri(u,a,f),64!=(64&l.flags)&&Yr(o,i,a,l),0===ze.lFrame.elementDepthCount&&Pr(a,i),ze.lFrame.elementDepthCount++,ke(l)&&(Ni(o,i,l),function(t,e,n){if(we(e))for(var r=e.directiveEnd,i=e.directiveStart;i2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3?arguments[3]:void 0,i=We(),o=Ge(),s=Je();return Xo(o,i,i[11],s,t,e,n,r),Ko}function $o(t,e,n,r){var i=t.cleanup;if(null!=i)for(var o=0;oa?u[a]:null}"string"==typeof s&&(o+=2)}return null}function Xo(t,e,n,r,i,o){var s=arguments.length>6&&void 0!==arguments[6]&&arguments[6],u=arguments.length>7?arguments[7]:void 0,a=ke(r),l=t.firstCreatePass,c=l&&so(t),h=oo(e),f=!0;if(3&r.type){var d=Me(r,e),p=u?u(d):Yt,v=p.target||d,g=h.length,y=u?function(t){return u(Ne(t[r.index])).target}:r.index;if(Oe(n)){var m=null;if(!u&&a&&(m=$o(t,e,i,r.index)),null!==m){var _=m.__ngLastListenerFn__||m;_.__ngNextListenerFn__=o,m.__ngLastListenerFn__=o,f=!1}else{o=es(r,e,0,o,!1);var w=n.listen(p.name||v,i,o);h.push(o,w),c&&c.push(i,y,g,g+1)}}else o=es(r,e,0,o,!0),v.addEventListener(i,o,s),h.push(o),c&&c.push(i,y,g,s)}else o=es(r,e,0,o,!1);var b,k=r.outputs;if(f&&null!==k&&(b=k[i])){var C=b.length;if(C)for(var x=0;x0&&void 0!==arguments[0]?arguments[0]:1;return pn(t)}function rs(t,e,n,r,i){for(var o=t[n+1],s=null===e,u=r?wi(o):ki(o),a=!1;0!==u&&(!1===a||s);){var l=t[u+1];is(t[u],e)&&(a=!0,t[u+1]=r?xi(l):bi(l)),u=r?wi(l):ki(l)}a&&(t[n+1]=r?bi(o):xi(o))}function is(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&lr(t,e)>=0}function os(t,e,n){return us(t,e,n,!1),os}function ss(t,e){return us(t,e,null,!0),ss}function us(t,e,n,r){var i,o,s=We(),u=Ge(),a=(o=(i=ze.lFrame).bindingIndex,i.bindingIndex=i.bindingIndex+2,o);u.firstUpdatePass&&function(t,e,n,r){var i=t.data;if(null===i[n+1]){var o=i[vn()],s=function(t,e){return e>=t.expandoStartIndex}(t,n);(function(t,e){return 0!=(t.flags&(e?16:32))})(o,r)&&null===e&&!s&&(e=!1),e=function(t,e,n,r){var i=function(t){var e=ze.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}(t),o=r?e.residualClasses:e.residualStyles;if(null===i)0===(r?e.classBindings:e.styleBindings)&&(n=ls(n=as(null,t,e,n,r),e.attrs,r),o=null);else{var s=e.directiveStylingLast;if(-1===s||t[s]!==i)if(n=as(i,t,e,n,r),null===o){var u=function(t,e,n){var r=n?e.classBindings:e.styleBindings;if(0!==ki(r))return t[wi(r)]}(t,e,r);void 0!==u&&Array.isArray(u)&&function(t,e,n,r){t[wi(n?e.classBindings:e.styleBindings)]=r}(t,e,r,u=ls(u=as(null,t,e,u[1],r),e.attrs,r))}else o=function(t,e,n){for(var r=void 0,i=e.directiveEnd,o=1+e.directiveStylingLast;o0)&&(c=!0):l=n,i)if(0!==a){var h=wi(t[u+1]);t[r+1]=_i(h,u),0!==h&&(t[h+1]=Ci(t[h+1],r)),t[u+1]=131071&t[u+1]|r<<17}else t[r+1]=_i(u,0),0!==u&&(t[u+1]=Ci(t[u+1],r)),u=r;else t[r+1]=_i(a,0),0===u?u=r:t[a+1]=Ci(t[a+1],r),a=r;c&&(t[r+1]=bi(t[r+1])),rs(t,l,r,!0),rs(t,l,r,!1),function(t,e,n,r,i){var o=i?t.residualClasses:t.residualStyles;null!=o&&"string"==typeof e&&lr(o,e)>=0&&(n[r+1]=xi(n[r+1]))}(e,l,t,r,o),s=_i(u,a),o?e.classBindings=s:e.styleBindings=s}(i,o,e,n,s,r)}}(u,t,a,r),e!==gi&&Fo(s,a,e)&&function(t,e,n,r,i,o,s,u){if(3&e.type){var a=t.data,l=a[u+1];hs(1==(1&l)?cs(a,e,n,i,ki(l),s):void 0)||(hs(o)||2==(2&l)&&(o=cs(a,null,n,i,u,s)),function(t,e,n,r,i){var o=Oe(t);if(e)i?o?t.addClass(n,r):n.classList.add(r):o?t.removeClass(n,r):n.classList.remove(r);else{var s=-1===r.indexOf("-")?void 0:Nr.DashCase;if(null==i)o?t.removeStyle(n,r,s):n.style.removeProperty(r);else{var u="string"==typeof i&&i.endsWith("!important");u&&(i=i.slice(0,-10),s|=Nr.Important),o?t.setStyle(n,r,i,s):n.style.setProperty(r,i,u?"important":"")}}}(r,s,Re(vn(),n),i,o))}}(u,u.data[vn()],s,s[11],t,s[a+1]=function(t,e){return null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=mt(function(t){return t instanceof xr?t.changingThisBreaksApplicationSecurity:t}(t)))),t}(e,n),r,a)}function as(t,e,n,r,i){var o=null,s=n.directiveEnd,u=n.directiveStylingLast;for(-1===u?u=n.directiveStart:u++;u=0?r[1|s]=o:function(t,e,n,r){var i=t.length;if(i==e)t.push(n,r);else if(1===i)t.push(r,t[0]),t[0]=n;else{for(i--,t.push(t[i-1],t[i]);i>e;)t[i]=t[i-2],i--;t[e]=n,t[e+1]=r}}(r,s=~s,i,o))}return void 0===t?null:t}function cs(t,e,n,r,i,o){for(var s=null===e,u=void 0;i>0;){var a=t[i],l=Array.isArray(a),c=l?a[1]:a,h=null===c,f=n[i+1];f===gi&&(f=h?Kt:void 0);var d=h?ar(f,r):c===r?f:void 0;if(l&&!hs(d)&&(d=ar(a,r)),hs(d)&&(u=d,s))return u;var p=t[i+1];i=s?wi(p):ki(p)}if(null!==e){var v=o?e.residualClasses:e.residualStyles;null!=v&&(u=ar(v,r))}return u}function hs(t){return void 0!==t}function fs(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=We(),r=Ge(),i=t+ge,o=r.firstCreatePass?Ti(r,i,1,e,null):r.data[i],s=n[i]=Br(n[11],e);Yr(r,n,s,o),Ke(o,!1)}function ds(t){return ps("",t,""),ds}function ps(t,e,n){var r=We(),i=function(t,e,n,r){return Fo(t,en(),n)?e+St(n)+r:gi}(r,t,e,n);return i!==gi&&function(t,e,n){var r=Re(e,t);!function(t,e,n){Oe(t)?t.setValue(e,n):e.textContent=n}(t[11],r,n)}(r,vn(),i),ps}var vs=void 0,gs=["en",[["a","p"],["AM","PM"],vs],[["AM","PM"],vs,vs],[["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"]],vs,[["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"]],vs,[["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}",vs,"{1} 'at' {0}",vs],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){var e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}],ys={};function ms(t){return t in ys||(ys[t]=Jt.ng&&Jt.ng.common&&Jt.ng.common.locales&&Jt.ng.common.locales[t]),ys[t]}var _s=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}({}),ws="en-US";function bs(t){var e,n;n="Expected localeId to be defined",null==(e=t)&&function(t,e,n,r){throw new Error("ASSERTION ERROR: ".concat(t)+" [Expected=> ".concat(null," ").concat("!="," ").concat(e," <=Actual]"))}(n,e),"string"==typeof t&&t.toLowerCase().replace(/_/g,"-")}function ks(t,e,n){var r=Ge();if(r.firstCreatePass){var i=Ce(t);Cs(n,r.data,r.blueprint,i,!0),Cs(e,r.data,r.blueprint,i,!1)}}function Cs(t,e,n,r,i){if(t=kt(t),Array.isArray(t))for(var o=0;o>20;if(So(t)||!t.multi){var p=new Sn(l,i,qo),v=Es(a,e,i?h:h+d,f);-1===v?(Bn(Hn(c,u),s,a),xs(s,t,e.length),e.push(a),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=1048576),n.push(p),u.push(p)):(n[v]=p,u[v]=p)}else{var g=Es(a,e,h+d,f),y=Es(a,e,h,h+d),m=y>=0&&n[y];if(i&&!m||!i&&!(g>=0&&n[g])){Bn(Hn(c,u),s,a);var _=function(t,e,n,r,i){var o=new Sn(t,n,qo);return o.multi=[],o.index=e,o.componentProviders=0,Ss(o,i,r&&!n),o}(i?As:Ts,n.length,i,r,l);!i&&m&&(n[y].providerFactory=_),xs(s,t,e.length,0),e.push(a),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=1048576),n.push(_),u.push(_)}else xs(s,t,g>-1?g:y,Ss(n[i?y:g],l,!i&&r));!i&&r&&m&&n[y].componentProviders++}}}function xs(t,e,n,r){var i=So(e);if(i||e.useClass){var o=(e.useClass||e).prototype.ngOnDestroy;if(o){var s=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){var u=s.indexOf(n);-1===u?s.push(n,[r,o]):s[u+1].push(r,o)}else s.push(n,o)}}}function Ss(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function Es(t,e,n,r){for(var i=n;i1&&void 0!==arguments[1]?arguments[1]:[];return function(n){n.providersResolver=function(n,r){return ks(n,r?r(t):t,e)}}}var Os=function t(){o(this,t)},Ds=function t(){o(this,t)},Ns=function(){function t(){o(this,t)}return u(t,[{key:"resolveComponentFactory",value:function(t){throw function(t){var e=Error("No component factory found for ".concat(mt(t),". Did you add it to @NgModule.entryComponents?"));return e.ngComponent=t,e}(t)}}]),t}(),Rs=function(){var t=function t(){o(this,t)};return t.NULL=new Ns,t}();function Ms(){}function Hs(t,e){return new Vs(Me(t,e))}var js=function(){return Hs(Je(),We())},Vs=function(){var t=function t(e){o(this,t),this.nativeElement=e};return t.__NG_ELEMENT_ID__=js,t}();function Fs(t){return t instanceof Vs?t.nativeElement:t}var Bs=function t(){o(this,t)},Ls=function(){var t=function t(){o(this,t)};return t.__NG_ELEMENT_ID__=function(){return Zs()},t}(),Zs=function(){var t=We(),e=je(Je().index,t);return function(t){return t[11]}(me(e)?e:t)},qs=function(){var t=function t(){o(this,t)};return t.\u0275prov=At({token:t,providedIn:"root",factory:function(){return null}}),t}(),zs=new function t(e){o(this,t),this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}("11.2.9"),Qs=function(){function t(){o(this,t)}return u(t,[{key:"supports",value:function(t){return jo(t)}},{key:"create",value:function(t){return new Gs(t)}}]),t}(),Ws=function(t,e){return e},Gs=function(){function t(e){o(this,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=e||Ws}return u(t,[{key:"forEachItem",value:function(t){var e;for(e=this._itHead;null!==e;e=e._next)t(e)}},{key:"forEachOperation",value:function(t){for(var e=this._itHead,n=this._removalsHead,r=0,i=null;e||n;){var o=!n||e&&e.currentIndex4&&void 0!==arguments[4]&&arguments[4];null!==n;){var o=e[n.index];if(null!==o&&r.push(Ne(o)),_e(o))for(var s=ye;s-1&&(qr(t,n),ur(e,n))}this._attachedToViewContainer=!1}zr(this._lView[1],this._lView)}},{key:"onDestroy",value:function(t){ji(this._lView[1],this._lView,null,t)}},{key:"markForCheck",value:function(){to(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){eo(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function(t,e,n){tn(!0);try{eo(t,e,n)}finally{tn(!1)}}(this._lView[1],this._lView,this.context)}},{key:"attachToViewContainerRef",value:function(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}},{key:"detachFromAppRef",value:function(){var t;this._appRef=null,ei(this._lView[1],t=this._lView,t[11],2,null,null)}},{key:"attachToAppRef",value:function(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}]),t}(),uu=function(t){l(n,t);var e=p(n);function n(t){var r;return o(this,n),(r=e.call(this,t))._view=t,r}return u(n,[{key:"detectChanges",value:function(){no(this._view)}},{key:"checkNoChanges",value:function(){!function(t){tn(!0);try{no(t)}finally{tn(!1)}}(this._view)}},{key:"context",get:function(){return null}}]),n}(su),au=[new $s],lu=new nu([new Qs]),cu=new iu(au),hu=function(){return pu(Je(),We())},fu=function(){var t=function t(){o(this,t)};return t.__NG_ELEMENT_ID__=hu,t}(),du=function(t){l(n,t);var e=p(n);function n(t,r,i){var s;return o(this,n),(s=e.call(this))._declarationLView=t,s._declarationTContainer=r,s.elementRef=i,s}return u(n,[{key:"createEmbeddedView",value:function(t){var e=this._declarationTContainer.tViews,n=Ei(this._declarationLView,e,t,16,null,e.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];var r=this._declarationLView[19];return null!==r&&(n[19]=r.createEmbeddedView(e)),Pi(e,n,t),new su(n)}}]),n}(fu);function pu(t,e){return 4&t.type?new du(e,t,Hs(t,e)):null}var vu=function t(){o(this,t)},gu=function t(){o(this,t)},yu=function(){return ku(Je(),We())},mu=function(){var t=function t(){o(this,t)};return t.__NG_ELEMENT_ID__=yu,t}(),_u=function(t){l(n,t);var e=p(n);function n(t,r,i){var s;return o(this,n),(s=e.call(this))._lContainer=t,s._hostTNode=r,s._hostLView=i,s}return u(n,[{key:"element",get:function(){return Hs(this._hostTNode,this._hostLView)}},{key:"injector",get:function(){return new $n(this._hostTNode,this._hostLView)}},{key:"parentInjector",get:function(){var t=Fn(this._hostTNode,this._hostLView);if(In(t)){var e=Dn(t,this._hostLView),n=On(t);return new $n(e[1].data[n+8],e)}return new $n(null,this._hostLView)}},{key:"clear",value:function(){for(;this.length>0;)this.remove(this.length-1)}},{key:"get",value:function(t){var e=wu(this._lContainer);return null!==e&&e[t]||null}},{key:"length",get:function(){return this._lContainer.length-ye}},{key:"createEmbeddedView",value:function(t,e,n){var r=t.createEmbeddedView(e||{});return this.insert(r,n),r}},{key:"createComponent",value:function(t,e,n,r,i){var o=n||this.parentInjector;if(!i&&null==t.ngModule&&o){var s=o.get(vu,null);s&&(i=s)}var u=t.create(o,r,void 0,i);return this.insert(u.hostView,e),u}},{key:"insert",value:function(t,e){var n=t._lView,r=n[1];if(_e(n[3])){var i=this.indexOf(t);if(-1!==i)this.detach(i);else{var o=n[3],s=new _u(o,o[6],o[3]);s.detach(s.indexOf(t))}}var u=this._adjustIndex(e),a=this._lContainer;!function(t,e,n,r){var i=ye+r,o=n.length;r>0&&(n[i-1][4]=e),r1&&void 0!==arguments[1]?arguments[1]:0;return null==t?this.length+e:t}}]),n}(mu);function wu(t){return t[8]}function bu(t){return t[8]||(t[8]=[])}function ku(t,e){var n,r=e[t.index];if(_e(r))n=r;else{var i;if(8&t.type)i=Ne(r);else{var o=e[11];i=o.createComment("");var s=Me(t,e);Wr(o,Jr(o,s),i,function(t,e){return Oe(t)?t.nextSibling(e):e.nextSibling}(o,s),!1)}e[t.index]=n=Ji(r,e,i,t),Xi(e,n)}return new _u(n,t,e)}var Cu={},xu=function(t){l(n,t);var e=p(n);function n(t){var r;return o(this,n),(r=e.call(this)).ngModule=t,r}return u(n,[{key:"resolveComponentFactory",value:function(t){var e=pe(t);return new Tu(e,this.ngModule)}}]),n}(Rs);function Su(t){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}var Eu=new rr("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return Ir}}),Tu=function(t){l(n,t);var e=p(n);function n(t,r){var i;return o(this,n),(i=e.call(this)).componentDef=t,i.ngModule=r,i.componentType=t.type,i.selector=t.selectors.map(vi).join(","),i.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],i.isBoundToModule=!!r,i}return u(n,[{key:"inputs",get:function(){return Su(this.componentDef.inputs)}},{key:"outputs",get:function(){return Su(this.componentDef.outputs)}},{key:"create",value:function(t,e,n,r){var i,o,s=(r=r||this.ngModule)?function(t,e){return{get:function(n,r,i){var o=t.get(n,Cu,i);return o!==Cu||r===Cu?o:e.get(n,r,i)}}}(t,r.injector):t,u=s.get(Bs,De),a=s.get(qs,null),l=u.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",h=n?function(t,e,n){if(Oe(t))return t.selectRootElement(e,n===zt.ShadowDom);var r="string"==typeof e?t.querySelector(e):e;return r.textContent="",r}(l,n,this.componentDef.encapsulation):Lr(u.createRenderer(null,this.componentDef),c,function(t){var e=t.toLowerCase();return"svg"===e?Pe:"math"===e?"http://www.w3.org/1998/MathML/":null}(c)),f=this.componentDef.onPush?576:528,d={components:[],scheduler:Ir,clean:io,playerHandler:null,flags:0},p=Hi(0,null,null,1,0,null,null,null,null,null),v=Ei(null,p,d,f,null,null,u,l,a,s);an(v);try{var g=function(t,e,n,r,i,o){var s=n[1];n[20]=t;var u=Ti(s,20,2,"#host",null),a=u.mergedAttrs=e.hostAttrs;null!==a&&(lo(u,a,!0),null!==t&&(En(i,t,a),null!==u.classes&&ii(i,t,u.classes),null!==u.styles&&ri(i,t,u.styles)));var l=r.createRenderer(t,e),c=Ei(n,Mi(e),null,e.onPush?64:16,n[20],u,r,l,null,null);return s.firstCreatePass&&(Bn(Hn(u,n),s,e.type),Zi(s,u),zi(u,n.length,1)),Xi(n,c),n[20]=c}(h,this.componentDef,v,u,l);if(h)if(n)En(l,h,["ng-version",zs.full]);else{var y=function(t){for(var e=[],n=[],r=1,i=2;r0&&ii(l,h,_.join(" "))}if(o=He(p,ge),void 0!==e)for(var w=o.projection=[],b=0;b1&&void 0!==arguments[1]?arguments[1]:Ao.THROW_IF_NOT_FOUND,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Vt.Default;return t===Ao||t===vu||t===co?this:this._r3Injector.get(t,e,n)}},{key:"destroy",value:function(){var t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(function(t){return t()}),this.destroyCbs=null}},{key:"onDestroy",value:function(t){this.destroyCbs.push(t)}}]),n}(vu),Ou=function(t){l(n,t);var e=p(n);function n(t){var r,i,s;return o(this,n),(r=e.call(this)).moduleType=t,null!==ve(t)&&(i=t,s=new Set,function t(e){var n=ve(e,!0),r=n.id;null!==r&&(function(t,e,n){if(e&&e!==n)throw new Error("Duplicate module registered for ".concat(t," - ").concat(mt(e)," vs ").concat(mt(e.name)))}(r,Pu.get(r),e),Pu.set(r,e));var i,o=y(Dr(n.imports));try{for(o.s();!(i=o.n()).done;){var u=i.value;s.has(u)||(s.add(u),t(u))}}catch(a){o.e(a)}finally{o.f()}}(i)),r}return u(n,[{key:"create",value:function(t){return new Iu(this.moduleType,t)}}]),n}(gu),Du=function(t){l(n,t);var e=p(n);function n(){var t,r=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return o(this,n),(t=e.call(this)).__isAsync=r,t}return u(n,[{key:"emit",value:function(t){i(r(n.prototype),"next",this).call(this,t)}},{key:"subscribe",value:function(t,e,o){var s,u=function(t){return null},a=function(){return null};t&&"object"==typeof t?(s=this.__isAsync?function(e){setTimeout(function(){return t.next(e)})}:function(e){t.next(e)},t.error&&(u=this.__isAsync?function(e){setTimeout(function(){return t.error(e)})}:function(e){t.error(e)}),t.complete&&(a=this.__isAsync?function(){setTimeout(function(){return t.complete()})}:function(){t.complete()})):(s=this.__isAsync?function(e){setTimeout(function(){return t(e)})}:function(e){t(e)},e&&(u=this.__isAsync?function(t){setTimeout(function(){return e(t)})}:function(t){e(t)}),o&&(a=this.__isAsync?function(){setTimeout(function(){return o()})}:function(){o()}));var l=i(r(n.prototype),"subscribe",this).call(this,s,u,a);return t instanceof S&&t.add(l),l}}]),n}(Z);function Nu(){return this._results[Ho()]()}var Ru=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];o(this,t),this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;var n=Ho(),r=t.prototype;r[n]||(r[n]=Nu)}return u(t,[{key:"changes",get:function(){return this._changes||(this._changes=new Du)}},{key:"get",value:function(t){return this._results[t]}},{key:"map",value:function(t){return this._results.map(t)}},{key:"filter",value:function(t){return this._results.filter(t)}},{key:"find",value:function(t){return this._results.find(t)}},{key:"reduce",value:function(t,e){return this._results.reduce(t,e)}},{key:"forEach",value:function(t){this._results.forEach(t)}},{key:"some",value:function(t){return this._results.some(t)}},{key:"toArray",value:function(){return this._results.slice()}},{key:"toString",value:function(){return this._results.toString()}},{key:"reset",value:function(t,e){var n=this;n.dirty=!1;var r=ir(t);(this._changesDetected=!function(t,e,n){if(t.length!==e.length)return!1;for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:[];o(this,t),this.queries=e}return u(t,[{key:"createEmbeddedView",value:function(e){var n=e.queries;if(null!==n){for(var r=null!==e.contentQueries?e.contentQueries[0]:n.length,i=[],o=0;o2&&void 0!==arguments[2]?arguments[2]:null;o(this,t),this.predicate=e,this.flags=n,this.read=r},Vu=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];o(this,t),this.queries=e}return u(t,[{key:"elementStart",value:function(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:-1;o(this,t),this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}return u(t,[{key:"elementStart",value:function(t,e){this.isApplyingToNode(e)&&this.matchTNode(t,e)}},{key:"elementEnd",value:function(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}},{key:"template",value:function(t,e){this.elementStart(t,e)}},{key:"embeddedTView",value:function(e,n){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,n),new t(this.metadata)):null}},{key:"isApplyingToNode",value:function(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){for(var e=this._declarationNodeIndex,n=t.parent;null!==n&&8&n.type&&n.index!==e;)n=n.parent;return e===(null!==n?n.index:-1)}return this._appliesToNextNode}},{key:"matchTNode",value:function(t,e){var n=this.metadata.predicate;if(Array.isArray(n))for(var r=0;r0)r.push(s[u/2]);else{for(var l=o[u+1],c=e[-a],h=ye;h0&&(i=setTimeout(function(){r._callbacks=r._callbacks.filter(function(t){return t.timeoutId!==i}),t(r._didWork,r.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:i,updateCb:n})}},{key:"whenStable",value: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()}},{key:"getPendingRequestCount",value:function(){return this._pendingCount}},{key:"findProviders",value:function(t,e,n){return[]}}]),t}();return t.\u0275fac=function(e){return new(e||t)(yr(ma))},t.\u0275prov=At({token:t,factory:t.\u0275fac}),t}(),Ta=function(){var t=function(){function t(){o(this,t),this._applications=new Map,Aa.addToWindow(this)}return u(t,[{key:"registerApplication",value:function(t,e){this._applications.set(t,e)}},{key:"unregisterApplication",value:function(t){this._applications.delete(t)}},{key:"unregisterAllApplications",value:function(){this._applications.clear()}},{key:"getTestability",value:function(t){return this._applications.get(t)||null}},{key:"getAllTestabilities",value:function(){return Array.from(this._applications.values())}},{key:"getAllRootElements",value:function(){return Array.from(this._applications.keys())}},{key:"findTestabilityInTree",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Aa.findTestabilityInTree(this,t,e)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=At({token:t,factory:t.\u0275fac}),t}(),Aa=new(function(){function t(){o(this,t)}return u(t,[{key:"addToWindow",value:function(t){}},{key:"findTestabilityInTree",value:function(t,e,n){return null}}]),t}()),Pa=!0,Ia=!1,Oa=function(t,e,n){var r=new Ou(n);return Promise.resolve(r)},Da=new rr("AllowMultipleToken");function Na(t){if(xa&&!xa.destroyed&&!xa.injector.get(Da,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");xa=t.get(ja);var e=t.get(na,null);return e&&e.forEach(function(t){return t()}),xa}function Ra(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r="Platform: ".concat(e),i=new rr(r);return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=Ha();if(!o||o.injector.get(Da,!1))if(t)t(n.concat(e).concat({provide:i,useValue:!0}));else{var s=n.concat(e).concat({provide:i,useValue:!0},{provide:fo,useValue:"platform"});Na(Ao.create({providers:s,name:r}))}return Ma(i)}}function Ma(t){var e=Ha();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}function Ha(){return xa&&!xa.destroyed?xa:null}var ja=function(){var t=function(){function t(e){o(this,t),this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return u(t,[{key:"bootstrapModuleFactory",value:function(t,e){var n,r,i=this,o=(r={ngZoneEventCoalescing:e&&e.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:e&&e.ngZoneRunCoalescing||!1},"noop"===(n=e?e.ngZone:void 0)?new Sa:("zone.js"===n?void 0:n)||new ma({enableLongStackTrace:(Ia=!0,Pa),shouldCoalesceEventChangeDetection:!!(null==r?void 0:r.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==r?void 0:r.ngZoneRunCoalescing)})),s=[{provide:ma,useValue:o}];return o.run(function(){var e=Ao.create({providers:s,parent:i.injector,name:t.moduleType.name}),n=t.create(e),r=n.injector.get(Ar,null);if(!r)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return o.runOutsideAngular(function(){var t=o.onError.subscribe({next:function(t){r.handleError(t)}});n.onDestroy(function(){Ba(i._modules,n),t.unsubscribe()})}),function(t,e,r){try{var o=((s=n.injector.get($u)).runInitializers(),s.donePromise.then(function(){return bs(n.injector.get(sa,ws)||ws),i._moduleDoBootstrap(n),n}));return Yo(o)?o.catch(function(n){throw e.runOutsideAngular(function(){return t.handleError(n)}),n}):o}catch(u){throw e.runOutsideAngular(function(){return t.handleError(u)}),u}var s}(r,o)})}},{key:"bootstrapModule",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=Va({},n);return Oa(0,0,t).then(function(t){return e.bootstrapModuleFactory(t,r)})}},{key:"_moduleDoBootstrap",value:function(t){var e=t.injector.get(Fa);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(function(t){return e.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module ".concat(mt(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)}},{key:"onDestroy",value:function(t){this._destroyListeners.push(t)}},{key:"injector",get:function(){return this._injector}},{key:"destroy",value: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}},{key:"destroyed",get:function(){return this._destroyed}}]),t}();return t.\u0275fac=function(e){return new(e||t)(yr(Ao))},t.\u0275prov=At({token:t,factory:t.\u0275fac}),t}();function Va(t,e){return Array.isArray(e)?e.reduce(Va,t):Object.assign(Object.assign({},t),e)}var Fa=function(){var t=function(){function t(e,n,r,i,s){var u=this;o(this,t),this._zone=e,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=i,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:function(){u._zone.run(function(){u.tick()})}});var a=new j(function(t){u._stable=u._zone.isStable&&!u._zone.hasPendingMacrotasks&&!u._zone.hasPendingMicrotasks,u._zone.runOutsideAngular(function(){t.next(u._stable),t.complete()})}),l=new j(function(t){var e;u._zone.runOutsideAngular(function(){e=u._zone.onStable.subscribe(function(){ma.assertNotInAngularZone(),ya(function(){u._stable||u._zone.hasPendingMacrotasks||u._zone.hasPendingMicrotasks||(u._stable=!0,t.next(!0))})})});var n=u._zone.onUnstable.subscribe(function(){ma.assertInAngularZone(),u._stable&&(u._stable=!1,u._zone.runOutsideAngular(function(){t.next(!1)}))});return function(){e.unsubscribe(),n.unsubscribe()}});this.isStable=function(){for(var t=Number.POSITIVE_INFINITY,e=null,n=arguments.length,r=new Array(n),i=0;i1&&"number"==typeof r[r.length-1]&&(t=r.pop())):"number"==typeof o&&(t=r.pop()),null===e&&1===r.length&&r[0]instanceof j?r[0]:ut(t)(at(r,e))}(a,l.pipe(function(t){return lt()((e=vt,function(t){var n;n="function"==typeof e?e:function(){return e};var r=Object.create(t,dt);return r.source=t,r.subjectFactory=n,r})(t));var e}))}return u(t,[{key:"bootstrap",value: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 Ds?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);var i=n.isBoundToModule?void 0:this._injector.get(vu),o=n.create(Ao.NULL,[],e||n.selector,i),s=o.location.nativeElement,u=o.injector.get(Ea,null),a=u&&o.injector.get(Ta);return u&&a&&a.registerApplication(s,u),o.onDestroy(function(){r.detachView(o.hostView),Ba(r.components,o),a&&a.unregisterApplication(s)}),this._loadComponent(o),o}},{key:"tick",value:function(){var t=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;var e,n=y(this._views);try{for(n.s();!(e=n.n()).done;)e.value.detectChanges()}catch(r){n.e(r)}finally{n.f()}}catch(i){this._zone.runOutsideAngular(function(){return t._exceptionHandler.handleError(i)})}finally{this._runningTick=!1}}},{key:"attachView",value:function(t){var e=t;this._views.push(e),e.attachToAppRef(this)}},{key:"detachView",value:function(t){var e=t;Ba(this._views,e),e.detachFromAppRef()}},{key:"_loadComponent",value:function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(ia,[]).concat(this._bootstrapListeners).forEach(function(e){return e(t)})}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach(function(t){return t.destroy()}),this._onMicrotaskEmptySubscription.unsubscribe()}},{key:"viewCount",get:function(){return this._views.length}}]),t}();return t.\u0275fac=function(e){return new(e||t)(yr(ma),yr(Ao),yr(Ar),yr(Rs),yr($u))},t.\u0275prov=At({token:t,factory:t.\u0275fac}),t}();function Ba(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var La=Ra(null,"core",[{provide:ra,useValue:"unknown"},{provide:ja,deps:[Ao]},{provide:Ta,deps:[]},{provide:oa,deps:[]}]),Za=[{provide:Fa,useClass:Fa,deps:[ma,Ao,Ar,Rs,$u]},{provide:Eu,deps:[ma],useFactory:function(t){var e=[];return t.onStable.subscribe(function(){for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:$u,useClass:$u,deps:[[new kr,Ku]]},{provide:va,useClass:va,deps:[]},ta,{provide:nu,useFactory:function(){return lu},deps:[]},{provide:iu,useFactory:function(){return cu},deps:[]},{provide:sa,useFactory:function(t){return bs(t=t||"undefined"!=typeof $localize&&$localize.locale||ws),t},deps:[[new br(sa),new kr,new Cr]]},{provide:ua,useValue:"USD"}],qa=function(){var t=function t(e){o(this,t)};return t.\u0275fac=function(e){return new(e||t)(yr(Fa))},t.\u0275mod=he({type:t}),t.\u0275inj=Pt({providers:Za}),t}(),za=null;function Qa(){return za}var Wa=function t(){o(this,t)},Ga=new rr("DocumentToken"),Ua=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}({}),Ja=function t(){o(this,t)},Ya=function(){var t=function(t){l(n,t);var e=p(n);function n(t){var r;return o(this,n),(r=e.call(this)).locale=t,r}return u(n,[{key:"getPluralCategory",value:function(t,e){switch(function(t){return function(t){var e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t),n=ms(e);if(n)return n;var r=e.split("-")[0];if(n=ms(r))return n;if("en"===r)return gs;throw new Error('Missing locale data for the locale "'.concat(t,'".'))}(t)[_s.PluralCase]}(e||this.locale)(t)){case Ua.Zero:return"zero";case Ua.One:return"one";case Ua.Two:return"two";case Ua.Few:return"few";case Ua.Many:return"many";default:return"other"}}}]),n}(Ja);return t.\u0275fac=function(e){return new(e||t)(yr(sa))},t.\u0275prov=At({token:t,factory:t.\u0275fac}),t}(),Ka=function(){var t=function(){function t(e,n){o(this,t),this._viewContainer=e,this._context=new $a,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=n}return u(t,[{key:"ngIf",set:function(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}},{key:"ngIfThen",set:function(t){Xa("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}},{key:"ngIfElse",set:function(t){Xa("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}},{key:"_updateView",value:function(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}}],[{key:"ngTemplateContextGuard",value:function(t,e){return!0}}]),t}();return t.\u0275fac=function(e){return new(e||t)(qo(mu),qo(fu))},t.\u0275dir=de({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t}(),$a=function t(){o(this,t),this.$implicit=null,this.ngIf=null};function Xa(t,e){if(e&&!e.createEmbeddedView)throw new Error("".concat(t," must be a TemplateRef, but received '").concat(mt(e),"'."))}var tl,el=function(){var t=function t(){o(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=he({type:t}),t.\u0275inj=Pt({providers:[{provide:Ja,useClass:Ya}]}),t}(),nl=function(t){l(n,t);var e=p(n);function n(){return o(this,n),e.apply(this,arguments)}return u(n,[{key:"getProperty",value:function(t,e){return t[e]}},{key:"log",value:function(t){window.console&&window.console.log&&window.console.log(t)}},{key:"logGroup",value:function(t){window.console&&window.console.group&&window.console.group(t)}},{key:"logGroupEnd",value:function(){window.console&&window.console.groupEnd&&window.console.groupEnd()}},{key:"onAndCancel",value:function(t,e,n){return t.addEventListener(e,n,!1),function(){t.removeEventListener(e,n,!1)}}},{key:"dispatchEvent",value:function(t,e){t.dispatchEvent(e)}},{key:"remove",value:function(t){return t.parentNode&&t.parentNode.removeChild(t),t}},{key:"getValue",value:function(t){return t.value}},{key:"createElement",value:function(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}},{key:"createHtmlDocument",value:function(){return document.implementation.createHTMLDocument("fakeTitle")}},{key:"getDefaultDocument",value:function(){return document}},{key:"isElementNode",value:function(t){return t.nodeType===Node.ELEMENT_NODE}},{key:"isShadowRoot",value:function(t){return t instanceof DocumentFragment}},{key:"getGlobalEventTarget",value:function(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}},{key:"getHistory",value:function(){return window.history}},{key:"getLocation",value:function(){return window.location}},{key:"getBaseHref",value:function(t){var e,n=rl||(rl=document.querySelector("base"))?rl.getAttribute("href"):null;return null==n?null:(e=n,tl||(tl=document.createElement("a")),tl.setAttribute("href",e),"/"===tl.pathname.charAt(0)?tl.pathname:"/"+tl.pathname)}},{key:"resetBaseElement",value:function(){rl=null}},{key:"getUserAgent",value:function(){return window.navigator.userAgent}},{key:"performanceNow",value:function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}},{key:"supportsCookies",value:function(){return!0}},{key:"getCookie",value:function(t){return function(t,e){e=encodeURIComponent(e);var n,r,i,o=y(t.split(";"));try{for(o.s();!(n=o.n()).done;){var s=n.value,u=s.indexOf("="),a=(r=-1==u?[s,""]:[s.slice(0,u),s.slice(u+1)],i=2,function(t){if(Array.isArray(t))return t}(r)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,i=!1,o=void 0;try{for(var s,u=t[Symbol.iterator]();!(r=(s=u.next()).done)&&(n.push(s.value),!e||n.length!==e);r=!0);}catch(a){i=!0,o=a}finally{try{r||null==u.return||u.return()}finally{if(i)throw o}}return n}}(r,i)||g(r,i)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),l=a[1];if(a[0].trim()===e)return decodeURIComponent(l)}}catch(c){o.e(c)}finally{o.f()}return null}(document.cookie,t)}}],[{key:"makeCurrent",value:function(){var t;t=new n,za||(za=t)}}]),n}(function(t){l(n,t);var e=p(n);function n(){return o(this,n),e.call(this)}return u(n,[{key:"supportsDOMEvents",value:function(){return!0}}]),n}(Wa)),rl=null,il=new rr("TRANSITION_ID"),ol=[{provide:Ku,useFactory:function(t,e,n){return function(){n.get($u).donePromise.then(function(){var n=Qa();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(function(e){return e.getAttribute("ng-transition")===t}).forEach(function(t){return n.remove(t)})})}},deps:[il,Ga,Ao],multi:!0}],sl=function(){function t(){o(this,t)}return u(t,[{key:"addToWindow",value:function(t){Jt.getAngularTestability=function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=t.findTestabilityInTree(e,n);if(null==r)throw new Error("Could not find testability for element.");return r},Jt.getAllAngularTestabilities=function(){return t.getAllTestabilities()},Jt.getAllAngularRootElements=function(){return t.getAllRootElements()},Jt.frameworkStabilizers||(Jt.frameworkStabilizers=[]),Jt.frameworkStabilizers.push(function(t){var e=Jt.getAllAngularTestabilities(),n=e.length,r=!1,i=function(e){r=r||e,0==--n&&t(r)};e.forEach(function(t){t.whenStable(i)})})}},{key:"findTestabilityInTree",value:function(t,e,n){if(null==e)return null;var r=t.getTestability(e);return null!=r?r:n?Qa().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}],[{key:"init",value:function(){var e;e=new t,Aa=e}}]),t}(),ul=new rr("EventManagerPlugins"),al=function(){var t=function(){function t(e,n){var r=this;o(this,t),this._zone=n,this._eventNameToPlugin=new Map,e.forEach(function(t){return t.manager=r}),this._plugins=e.slice().reverse()}return u(t,[{key:"addEventListener",value:function(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}},{key:"addGlobalEventListener",value:function(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}},{key:"getZone",value:function(){return this._zone}},{key:"_findPluginFor",value:function(t){var e=this._eventNameToPlugin.get(t);if(e)return e;for(var n=this._plugins,r=0;r-1&&(e.splice(n,1),o+=t+".")}),o+=i,0!=e.length||0===i.length)return null;var s={};return s.domEventName=r,s.fullKey=o,s}},{key:"getEventFullKey",value:function(t){var e="",n=function(t){var e=t.key;if(null==e){if(null==(e=t.keyIdentifier))return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&El.hasOwnProperty(e)&&(e=El[e]))}return Sl[e]||e}(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),xl.forEach(function(r){r!=n&&(0,Tl[r])(t)&&(e+=r+".")}),e+=n}},{key:"eventCallback",value:function(t,e,r){return function(i){n.getEventFullKey(i)===t&&r.runGuarded(function(){return e(i)})}}},{key:"_normalizeKey",value:function(t){switch(t){case"esc":return"escape";default:return t}}}]),n}(ll);return t.\u0275fac=function(e){return new(e||t)(yr(Ga))},t.\u0275prov=At({token:t,factory:t.\u0275fac}),t}(),Pl=Ra(La,"browser",[{provide:ra,useValue:"browser"},{provide:na,useValue:function(){nl.makeCurrent(),sl.init()},multi:!0},{provide:Ga,useFactory:function(){return function(t){Ie=t}(document),document},deps:[]}]),Il=[[],{provide:fo,useValue:"root"},{provide:Ar,useFactory:function(){return new Ar},deps:[]},{provide:ul,useClass:Cl,multi:!0,deps:[Ga,ma,ra]},{provide:ul,useClass:Al,multi:!0,deps:[Ga]},[],{provide:_l,useClass:_l,deps:[al,hl,Xu]},{provide:Bs,useExisting:_l},{provide:cl,useExisting:hl},{provide:hl,useClass:hl,deps:[Ga]},{provide:Ea,useClass:Ea,deps:[ma]},{provide:al,useClass:al,deps:[ul,ma]},[]],Ol=function(){var t=function(){function t(e){if(o(this,t),e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return u(t,null,[{key:"withServerTransition",value:function(e){return{ngModule:t,providers:[{provide:Xu,useValue:e.appId},{provide:il,useExisting:Xu},ol]}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(yr(t,12))},t.\u0275mod=he({type:t}),t.\u0275inj=Pt({providers:Il,imports:[el,qa]}),t}();"undefined"!=typeof window&&window;var Dl=function(){function t(){o(this,t)}return u(t,[{key:"attach",value:function(t){return this._attachedHost=t,t.attach(this)}},{key:"detach",value:function(){var t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}},{key:"isAttached",get:function(){return null!=this._attachedHost}},{key:"setAttachedHost",value:function(t){this._attachedHost=t}}]),t}(),Nl=function(t){l(n,t);var e=p(n);function n(t,r,i,s){var u;return o(this,n),(u=e.call(this)).component=t,u.viewContainerRef=r,u.injector=i,u.componentFactoryResolver=s,u}return n}(Dl),Rl=function(t){l(n,t);var e=p(n);function n(t,r,i){var s;return o(this,n),(s=e.call(this)).templateRef=t,s.viewContainerRef=r,s.context=i,s}return u(n,[{key:"origin",get:function(){return this.templateRef.elementRef}},{key:"attach",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.context;return this.context=e,i(r(n.prototype),"attach",this).call(this,t)}},{key:"detach",value:function(){return this.context=void 0,i(r(n.prototype),"detach",this).call(this)}}]),n}(Dl),Ml=function(t){l(n,t);var e=p(n);function n(t){var r;return o(this,n),(r=e.call(this)).element=t instanceof Vs?t.nativeElement:t,r}return n}(Dl),Hl=function(){function t(){o(this,t),this._isDisposed=!1,this.attachDomPortal=null}return u(t,[{key:"hasAttached",value:function(){return!!this._attachedPortal}},{key:"attach",value:function(t){return t instanceof Nl?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof Rl?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof Ml?(this._attachedPortal=t,this.attachDomPortal(t)):void 0}},{key:"detach",value:function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}},{key:"dispose",value:function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}},{key:"setDisposeFn",value:function(t){this._disposeFn=t}},{key:"_invokeDisposeFn",value:function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}]),t}(),jl=function(t){l(n,t);var e=p(n);function n(){return o(this,n),e.apply(this,arguments)}return n}(Hl),Vl=function(){var t=function(t){l(n,t);var e=p(n);function n(t,s,u){var a,l;return o(this,n),(l=e.call(this))._componentFactoryResolver=t,l._viewContainerRef=s,l._isInitialized=!1,l.attached=new Du,l.attachDomPortal=function(t){var e=t.element,o=l._document.createComment("dom-portal");t.setAttachedHost(f(l)),e.parentNode.insertBefore(o,e),l._getRootNode().appendChild(e),l._attachedPortal=t,i((a=f(l),r(n.prototype)),"setDisposeFn",a).call(a,function(){o.parentNode&&o.parentNode.replaceChild(e,o)})},l._document=u,l}return u(n,[{key:"portal",get:function(){return this._attachedPortal},set:function(t){(!this.hasAttached()||t||this._isInitialized)&&(this.hasAttached()&&i(r(n.prototype),"detach",this).call(this),t&&i(r(n.prototype),"attach",this).call(this,t),this._attachedPortal=t)}},{key:"attachedRef",get:function(){return this._attachedRef}},{key:"ngOnInit",value:function(){this._isInitialized=!0}},{key:"ngOnDestroy",value:function(){i(r(n.prototype),"dispose",this).call(this),this._attachedPortal=null,this._attachedRef=null}},{key:"attachComponentPortal",value:function(t){t.setAttachedHost(this);var e=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,o=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),s=e.createComponent(o,e.length,t.injector||e.injector);return e!==this._viewContainerRef&&this._getRootNode().appendChild(s.hostView.rootNodes[0]),i(r(n.prototype),"setDisposeFn",this).call(this,function(){return s.destroy()}),this._attachedPortal=t,this._attachedRef=s,this.attached.emit(s),s}},{key:"attachTemplatePortal",value:function(t){var e=this;t.setAttachedHost(this);var o=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context);return i(r(n.prototype),"setDisposeFn",this).call(this,function(){return e._viewContainerRef.clear()}),this._attachedPortal=t,this._attachedRef=o,this.attached.emit(o),o}},{key:"_getRootNode",value:function(){var t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}}]),n}(Hl);return t.\u0275fac=function(e){return new(e||t)(qo(Rs),qo(mu),qo(Ga))},t.\u0275dir=de({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[Io]}),t}(),Fl=function(){var t=function(t){l(n,t);var e=p(n);function n(){return o(this,n),e.apply(this,arguments)}return n}(Vl);return t.\u0275fac=function(e){return Bl(e||t)},t.\u0275dir=de({type:t,selectors:[["","cdkPortalHost",""],["","portalHost",""]],inputs:{portal:["cdkPortalHost","portal"]},exportAs:["cdkPortalHost"],features:[Is([{provide:Vl,useExisting:t}]),Io]}),t}(),Bl=Xn(Fl),Ll=function(){var t=function t(){o(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=he({type:t}),t.\u0275inj=Pt({}),t}(),Zl=function(){return function(){this.previous="Previous",this.next="Next",this.close="Close"}}(),ql=function(t){return"true"===t||!0===t},zl=function(){return function(t,e){this.component=t,this.focusElement=e}}(),Ql=function(){function t(t,e,n,r){void 0===t&&(t=0),this.top=t,this.right=e,this.bottom=n,this.left=r,void 0===e&&(this.right=t),void 0===n&&(this.bottom=t),void 0===r&&void 0===e?this.left=t:void 0===r&&(this.left=e)}return t.parsePoints=function(e){var n;if(e.match(/^\d+(?:\s+\d+)*$/)){var r=e.split(/\s+/).map(function(t){return parseFloat(t)});n=new t(r[0],r[1],r[2],r[3])}return n||new t},t}(),Wl=function(t){l(n,t);var e=p(n);function n(t,r){var i;return o(this,n),(i=e.call(this,t,r)).scheduler=t,i.work=r,i.pending=!1,i}return u(n,[{key:"schedule",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.closed)return this;this.state=t;var n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(r,this.id,e),this}},{key:"requestAsyncId",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return setInterval(t.flush.bind(t,this),n)}},{key:"recycleAsyncId",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)}},{key:"execute",value:function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}},{key:"_execute",value:function(t,e){var n=!1,r=void 0;try{this.work(t)}catch(i){n=!0,r=!!i&&i||new Error(i)}if(n)return this.unsubscribe(),r}},{key:"_unsubscribe",value:function(){var t=this.id,e=this.scheduler,n=e.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}]),n}(function(t){l(n,t);var e=p(n);function n(t,r){return o(this,n),e.call(this)}return u(n,[{key:"schedule",value:function(t){return this}}]),n}(S)),Gl=function(){var t=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.now;o(this,t),this.SchedulerAction=e,this.now=n}return u(t,[{key:"schedule",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return new this.SchedulerAction(this,t).schedule(n,e)}}]),t}();return t.now=function(){return Date.now()},t}(),Ul=new(function(t){l(n,t);var e=p(n);function n(t){var r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Gl.now;return o(this,n),(r=e.call(this,t,function(){return n.delegate&&n.delegate!==f(r)?n.delegate.now():i()})).actions=[],r.active=!1,r.scheduled=void 0,r}return u(n,[{key:"schedule",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=arguments.length>2?arguments[2]:void 0;return n.delegate&&n.delegate!==this?n.delegate.schedule(t,e,o):i(r(n.prototype),"schedule",this).call(this,t,e,o)}},{key:"flush",value:function(t){var e=this.actions;if(this.active)e.push(t);else{var n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}}]),n}(Gl))(Wl),Jl=function(){function t(e,n){o(this,t),this.dueTime=e,this.scheduler=n}return u(t,[{key:"call",value:function(t,e){return e.subscribe(new Yl(t,this.dueTime,this.scheduler))}}]),t}(),Yl=function(t){l(n,t);var e=p(n);function n(t,r,i){var s;return o(this,n),(s=e.call(this,t)).dueTime=r,s.scheduler=i,s.debouncedSubscription=null,s.lastValue=null,s.hasValue=!1,s}return u(n,[{key:"_next",value:function(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(Kl,this.dueTime,this))}},{key:"_complete",value:function(){this.debouncedNext(),this.destination.complete()}},{key:"debouncedNext",value:function(){if(this.clearDebounce(),this.hasValue){var t=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}},{key:"clearDebounce",value:function(){var t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}]),n}(D);function Kl(t){t.debouncedNext()}var $l=function(){function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t}();function Xl(t,e){return function(n){return n.lift(new tc(t,e))}}var tc=function(){function t(e,n){o(this,t),this.predicate=e,this.thisArg=n}return u(t,[{key:"call",value:function(t,e){return e.subscribe(new ec(t,this.predicate,this.thisArg))}}]),t}(),ec=function(t){l(n,t);var e=p(n);function n(t,r,i){var s;return o(this,n),(s=e.call(this,t)).predicate=r,s.thisArg=i,s.count=0,s}return u(n,[{key:"_next",value:function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)}}]),n}(D),nc=function(){function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t}(),rc=new j(function(t){return t.complete()});function ic(t){return function(e){return 0===t?rc:e.lift(new oc(t))}}var oc=function(){function t(e){if(o(this,t),this.total=e,this.total<0)throw new nc}return u(t,[{key:"call",value:function(t,e){return e.subscribe(new sc(t,this.total))}}]),t}(),sc=function(t){l(n,t);var e=p(n);function n(t,r){var i;return o(this,n),(i=e.call(this,t)).total=r,i.count=0,i}return u(n,[{key:"_next",value:function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))}}]),n}(D);function uc(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(e){return e.lift(new ac(t))}}var ac=function(){function t(e){o(this,t),this.defaultValue=e}return u(t,[{key:"call",value:function(t,e){return e.subscribe(new lc(t,this.defaultValue))}}]),t}(),lc=function(t){l(n,t);var e=p(n);function n(t,r){var i;return o(this,n),(i=e.call(this,t)).defaultValue=r,i.isEmpty=!0,i}return u(n,[{key:"_next",value:function(t){this.isEmpty=!1,this.destination.next(t)}},{key:"_complete",value:function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}]),n}(D);function cc(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:dc;return function(e){return e.lift(new hc(t))}}var hc=function(){function t(e){o(this,t),this.errorFactory=e}return u(t,[{key:"call",value:function(t,e){return e.subscribe(new fc(t,this.errorFactory))}}]),t}(),fc=function(t){l(n,t);var e=p(n);function n(t,r){var i;return o(this,n),(i=e.call(this,t)).errorFactory=r,i.hasValue=!1,i}return u(n,[{key:"_next",value:function(t){this.hasValue=!0,this.destination.next(t)}},{key:"_complete",value:function(){if(this.hasValue)return this.destination.complete();var t;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)}}]),n}(D);function dc(){return new $l}var pc,vc=function(){function t(){this._overflowRegex=/(auto|scroll)/}return t.prototype.retrieveCoordinates=function(t,e){var n=t.getBoundingClientRect(),r=window.getComputedStyle(t),i={top:n.top-(e?e.top:0),height:n.height,width:n.width,left:n.left-(e?e.left:0),margin:{top:parseFloat(r.marginTop),right:parseFloat(r.marginRight),bottom:parseFloat(r.marginBottom),left:parseFloat(r.marginLeft)}};return i.top+=this.getTop(),i},t.prototype.getTop=function(){return window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop},t.prototype.getDocumentHeight=function(){var t=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight);return Math.max(this.getHeightOfPage()+this.getTop(),t)},t.prototype.scrollIntoViewIfOutOfView=function(t){for(var e=this.getTop(),n=this.getHeightOfPage(),r=0,i=t;i&&i!==document.body;)r+=i.offsetTop,i=i.offsetParent;if(e+ni.offsetHeight||o.offsetLeft+o.offsetWidth-i.scrollLeft>i.offsetWidth){t.scrollIntoView(),window.scrollBy(0,-30);break}o=i}},t.prototype.getScrollParent=function(t){var e,n=getComputedStyle(t),r="absolute"===n.position;if("fixed"!==n.position)for(var i=t.parentElement;i&&i!==document.body;){if(n=getComputedStyle(i),(!r||"static"!==n.position)&&this._overflowRegex.test(n.overflow+n.overflowY+n.overflowX)){e=i;break}i=i.parentElement}return e||document.body},t.prototype.getHeightOfPage=function(){return window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight},t.\u0275prov=At({token:t,factory:t.\u0275fac=function(e){return new(e||t)}}),t}(),gc=function(){return(gc=Object.assign||function(t){for(var e,n=1,r=arguments.length;n1&&void 0!==arguments[1]?arguments[1]:Ul;return function(n){return n.lift(new Jl(t,e))}}(200)).subscribe(function(){var e,n,r=s._getInstance();(null==r?void 0:r.ongoing)&&s._display&&!(null===(n=null===(e=t._walkthroughContainer)||void 0===e?void 0:e.instance)||void 0===n?void 0:n.pause)&&(s._elementLocations(),setTimeout(function(){s._elementLocations()},200))})}return Object.defineProperty(t.prototype,"marginZone",{get:function(){return this._marginZone},set:function(t){this._marginZone!==t&&(null===t&&(this._marginZone=null),this._marginZonePx=Ql.parsePoints(t),null!==this._marginZonePx&&(this._marginZone=t))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"arrowColor",{get:function(){return this._arrowColor},set:function(t){this._arrowColor!==t&&(this._arrowColor=t,this._getInstance()&&(this._getInstance().arrowColor=this._arrowColor))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"id",{get:function(){return this._id},set:function(t){this._id=t||this._uid},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"alignContent",{get:function(){return this._alignContent},set:function(t){this._alignContent!==t?(this._alignContent=t,this._updateElementPositions(this._getInstance())):this._alignContent=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"verticalAlignContent",{get:function(){return this._verticalAlignContent},set:function(t){this._verticalAlignContent!==t?(this._verticalAlignContent=t,this._updateElementPositions(this._getInstance())):this._verticalAlignContent=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"contentSpacing",{get:function(){return this._contentSpacing},set:function(e){e=Math.max(t.minimalMargin,e),this._contentSpacing!==e?(this._contentSpacing=1*e,this._updateElementPositions(this._getInstance())):this._contentSpacing=1*e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"verticalContentSpacing",{get:function(){return this._verticalContentSpacing},set:function(e){e=Math.max(t.minimalMargin,e),this._verticalContentSpacing!==e?(this._verticalContentSpacing=1*e,this._updateElementPositions(this._getInstance())):this._verticalContentSpacing=1*e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"closeButton",{get:function(){return this._hasCloseButton},set:function(t){this._hasCloseButton=ql(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"closeAnywhere",{get:function(){return this._hasCloseAnywhere},set:function(t){this._hasCloseAnywhere=ql(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showArrow",{get:function(){return this._hasArrow},set:function(t){this._hasArrow=ql(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"finishButton",{get:function(){return this._hasFinish},set:function(t){this._hasFinish=ql(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"focusHighlightAnimation",{get:function(){return this._hasHighlightAnimation},set:function(t){this._hasHighlightAnimation=ql(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"focusBackdrop",{get:function(){return this._hasBackdrop},set:function(t){this._hasBackdrop=ql(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"focusGlow",{get:function(){return this._hasGlow},set:function(t){this._hasGlow=ql(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){var e=this;this._disabled=t;var n=this._getInstance();n&&setTimeout(function(){n.hasPrevious=e._hasPreviousStep(n),n.hasNext=e._hasNextStep(n),n.hasFinish=!n.hasNext||n.parent.finishButton},50)},enumerable:!1,configurable:!0}),t.walkthroughStop=function(){t._walkthroughContainer&&t._walkthroughContainer.instance.stop()},t.walkthroughHasShow=function(){return!!t._walkthroughContainer&&t._walkthroughContainer.instance.show},t.walkthroughHasPause=function(){return!!t._walkthroughContainer&&t._walkthroughContainer.instance.pause},t.walkthroughContinue=function(){t._walkthroughContainer&&t._walkthroughContainer.instance.parent&&(t._walkthroughContainer.instance.parent._checkVisibility()?t._walkthroughContainer.instance.continue():t._walkthroughContainer.instance.ongoing=!1)},t.walkthroughNext=function(){t._walkthroughContainer&&t._walkthroughContainer.instance.next()},t.walkthroughPrevious=function(){t._walkthroughContainer&&t._walkthroughContainer.instance.previous()},t.prototype.resize=function(){this._onResize.next()},t.prototype.ngAfterViewInit=function(){var e=this;t._walkthroughContainer||t._walkthroughContainerCreating||(t._walkthroughContainerCreating=!0,setTimeout(function(){t._walkthroughContainer=e._appendComponentToBody(Mc),e._onContainerInit.next()}))},t.prototype.next=function(t,e){t&&(this.closed=t),e&&(this.finished=e),this.open()},t.prototype.refresh=function(){this._getInstance()?this._getInstance().ongoing?console.warn(_c):(t.onRefresh.next(this),this._elementLocations()):console.warn(mc)},t.prototype.open=function(){var t=this;return new Promise(function(e){t._checkVisibility()?t._getInstance()?e(t._open()):t._onContainerInit.pipe(function(t,e){var n=arguments.length>=2;return function(r){return r.pipe(t?Xl(function(e,n){return t(e,n,r)}):M,ic(1),n?uc(e):cc(function(){return new $l}))}}()).subscribe(function(){t._getInstance()?e(t._open()):(console.warn(mc),e(!1))}):e(!1)})},t.prototype.loadPrevioustStep=function(){var e=this;setTimeout(function(){t.onNavigate.next({previous:e,next:e.previousStep}),t.onNavigatePrevious.next({previous:e,next:e.previousStep}),e.previousStep._next(e.closed,e.finished)},0)},t.prototype.loadNextStep=function(){var e=this;setTimeout(function(){t.onNavigate.next({previous:e,next:e.nextStep}),t.onNavigateNext.next({previous:e,next:e.nextStep}),e.nextStep._next(e.closed,e.finished)},0)},t.prototype.hide=function(e,n){var r=this;void 0===e&&(e=!1),void 0===n&&(n=!0),this._display=!1,this.focusElementCSSClass&&this._focusElement&&this._renderer.removeClass(this._focusElement,this.focusElementCSSClass),n&&setTimeout(function(){r._getInstance().ongoing=!1,t.onClose.next(r),r.closed.emit(e),r.nextStep||(t.onFinish.next(r),r.finished.emit(new zl(r,r._focusElement)))},20)},t.prototype._checkVisibility=function(){if(this.focusElementSelector){var t=document.querySelectorAll(this.focusElementSelector);if(0===t.length)return!1;if(this.visibilityCallback)return this.visibilityCallback();for(var e=0,n=t;e0)if(t.length>1){for(var e=t.length,n=0;n=0;n--)if(t[n].offsetHeight){this._focusElementEnd=t[n],n=t.length;break}this._focusElement===this._focusElementEnd&&(this.typeSelector="element")}}else this._focusElement=t[0],this.typeSelector="element";else this._focusElement=null},t.prototype._setFocus=function(){var t=this,e=this._getInstance();if(e){var n=window.pageXOffset;this._initStylingTemplate(e),setTimeout(function(){t._focusElement&&e.zone?(e.marginZonePx=t._marginZonePx,e.hightlightZone(t._offsetCoordinates,n-window.pageXOffset,t.animation,t.animationDelays,t._setFocusContinue.bind(t))):t._setFocusContinue()},20)}},t.prototype._setFocusContinue=function(){var t=this,e=this._getInstance();this._display||(this._attachContentTemplate(),this._initContentTemplate(e)),setTimeout(function(){e.hightlightZoneStyling(t._focusElement),t._updateElementPositions(e)},0)},t.prototype._updateElementPositions=function(e){var n=this;t._walkthroughContainer&&this._getInstance()&&setTimeout(function(){e.contentBlockPosition(n._offsetCoordinates,n._alignContent,n._verticalAlignContent,n._contentSpacing,n._verticalContentSpacing),null!==n._focusElement&&n._hasArrow&&e.arrowPosition(n._offsetCoordinates),n.focusElementCSSClass&&n._focusElement&&n._renderer.addClass(n._focusElement,n.focusElementCSSClass),setTimeout(function(){n._getInstance().setHeight(),n._readyHasBeenEmited||(n._readyHasBeenEmited=!0,n.ready.emit(new zl(n,n._focusElement)));var r,i=e.contentBlock.nativeElement;if(null!=n._focusElement){var o=n._walkthroughService.retrieveCoordinates(i),s=n._walkthroughService.retrieveCoordinates(n._focusElement);o.height+s.height>window.innerHeight?(i.scrollIntoView(!0),r=o.top>s.top?-o.height/2:+o.height/2):o.top>s.top?(window.scrollTo(s.left,s.top),r=-t.minimalMargin):(i.scrollIntoView(!0),r=-t.minimalMargin)}else i.scrollIntoView(!0),r=-t.minimalMargin;window.scrollBy(0,r)},50)},0)},t.prototype._attachContentTemplate=function(){this.contentTemplate&&this._attachWalkthroughContent(this.contentTemplate,this._getInstance())},t.prototype._initStylingTemplate=function(t){var e=null!==this._focusElement;t.parent=this,t.open(),t.hasHighlightZone=e,t.hasClickable=e&&"function"==typeof this.focusClick,t.hasHighlight=e&&this._hasHighlightAnimation,t.hasBackdrop=this._hasBackdrop,t.hasGlow=e&&this._hasGlow},t.prototype._initContentTemplate=function(t){var e=null!==this._focusElement;t.hasPrevious=this._hasPreviousStep(t),t.hasNext=this._hasNextStep(t),t.hasCloseButton=this._hasCloseButton,t.hasCloseAnywhere=this._hasCloseAnywhere,t.hasFinish=this._hasFinish||!t.hasNext,t.hasArrow=e&&this._hasArrow,t.arrowColor=this.arrowColor,t.radius=this.radius,t.marginZone=this._marginZone?this._marginZone.replace(/(\d+)/g,"$1px"):null,t.marginZonePx=this._marginZonePx,t.contentText=this.contentText,t.contentStyle=this.contentStyle,t.text=this.texts?gc(gc({},new Zl),this.texts):new Zl,this._show()},t.prototype._hasPreviousStep=function(t){if(t.parent)for(var e=t.parent.previousStep;e;){if(!e.disabled)return!0;e=e.previousStep}return!1},t.prototype._hasNextStep=function(t){if(t.parent)for(var e=t.parent.nextStep;e;){if(!e.disabled)return!0;e=e.nextStep}return!1},t._walkthroughContainer=null,t._walkthroughContainerCreating=!1,t.minimalMargin=60,t.onOpen=new Z,t.onRefresh=new Z,t.onClose=new Z,t.onNavigate=new Z,t.onNavigatePrevious=new Z,t.onNavigateNext=new Z,t.onFinish=new Z,t.\u0275fac=function(e){return new(e||t)(qo(Rs),qo(Fa),qo(Ao),qo(Ls),qo(vc))},t.\u0275cmp=ue({type:t,selectors:[["ng-walkthrough"]],hostBindings:function(t,e){1&t&&Ko("resize",function(){return e.resize()},!1,Or)},inputs:{focusElementCSSClass:"focusElementCSSClass",rootElement:"rootElement",focusElementSelector:"focusElementSelector",typeSelector:"typeSelector",focusClick:"focusClick",radius:"radius",previousStep:"previousStep",nextStep:"nextStep",texts:"texts",contentTemplate:"contentTemplate",contentText:"contentText",contentStyle:"contentStyle",marginZone:"marginZone",arrowColor:"arrowColor",animation:"animation",animationDelays:"animationDelays",id:"id",alignContent:"alignContent",verticalAlignContent:"verticalAlignContent",contentSpacing:"contentSpacing",verticalContentSpacing:"verticalContentSpacing",closeButton:"closeButton",closeAnywhere:"closeAnywhere",showArrow:"showArrow",finishButton:"finishButton",focusHighlightAnimation:"focusHighlightAnimation",focusBackdrop:"focusBackdrop",focusGlow:"focusGlow",disabled:"disabled",scrollOnTarget:"scrollOnTarget",visibilityCallback:"visibilityCallback"},outputs:{closed:"closed",finished:"finished",ready:"ready"},decls:0,vars:0,template:function(t,e){},encapsulation:2}),t}(),bc=(pc=function(t,e){return(pc=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}pc(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),kc=["content"],Cc=["contentBlock"],xc=["zone"];function Sc(t,e){if(1&t){var n=Jo();Wo(0,"button",11),Ko("click",function(){return Ue(n),ns().close()}),fs(1,"\u2716"),Go()}}function Ec(t,e){if(1&t&&(Wo(0,"p"),fs(1),Go()),2&t){var n=ns();yi(1),ds(n.contentText)}}function Tc(t,e){}function Ac(t,e){if(1&t){var n=Jo();Wo(0,"button",16),Ko("click",function(){return Ue(n),ns(2).previous()}),fs(1),Go()}if(2&t){var r=ns(2);yi(1),ds(r.text.previous)}}function Pc(t,e){if(1&t){var n=Jo();Wo(0,"button",17),Ko("click",function(){return Ue(n),ns(2).next()}),fs(1),Go()}if(2&t){var r=ns(2);yi(1),ds(r.text.next)}}function Ic(t,e){if(1&t){var n=Jo();Wo(0,"button",18),Ko("click",function(){return Ue(n),ns(2).close(!0)}),fs(1),Go()}if(2&t){var r=ns(2);yi(1),ds(r.text.close)}}function Oc(t,e){if(1&t&&(Wo(0,"div",12),Lo(1,Ac,2,1,"button",13),Lo(2,Pc,2,1,"button",14),Lo(3,Ic,2,1,"button",15),Go()),2&t){var n=ns();yi(1),zo("ngIf",n.hasPrevious),yi(1),zo("ngIf",n.hasNext),yi(1),zo("ngIf",n.hasFinish)}}function Dc(t,e){if(1&t&&(Wo(0,"div"),ze.lFrame.currentNamespace=Pe,Wo(1,"svg",19),Wo(2,"defs"),Wo(3,"marker",20),Uo(4,"polyline",21),Go(),Go(),Uo(5,"path",22),Go(),Go()),2&t){var n=ns();ss("hide",n.hideOther),yi(4),Bo("fill",n.arrowColor||"#FFF"),yi(1),Bo("d",n.arrowPath)("stroke",n.arrowColor||"#FFF")("marker-end",n.markerUrl)}}function Nc(){throw Error("Attempting to attach walkthrough content after content is already attached")}var Rc=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),Mc=function(t){function e(e,n,r,i){var o=t.call(this)||this;return o.viewContainerRef=e,o._walkthroughService=n,o._renderer=r,o._el=i,o.markerUrl="url(#wkt-arrow)",o.ongoing=!1,o.show=!1,o.pause=!1,o.hasHighlightZone=!1,o.hasHighlight=!1,o.hasBackdrop=!1,o.hasGlow=!1,o.hasPrevious=!1,o.hasNext=!1,o.hasFinish=!1,o.hasCloseButton=!1,o.hasCloseAnywhere=!0,o.hasArrow=!1,o.arrowMarkerDist=7,o.marginZonePx=new Ql,o.text=new Zl,o}return bc(e,t),Object.defineProperty(e.prototype,"id",{get:function(){return this.parent?this.parent.id+"-container":null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hide",{get:function(){return!this.show},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"cursor",{get:function(){return this.hasCloseAnywhere},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"backdrop",{get:function(){return!this.hasHighlightZone&&this.hasBackdrop},enumerable:!1,configurable:!0}),e.prototype.click=function(){this.hasCloseAnywhere&&this.show&&this.close()},e.prototype.clickZone=function(t){this.parent&&this.hasClickable&&this.parent.focusClick(t,this)},e.prototype.attachComponentPortal=function(t){return this._portalHost.hasAttached()&&Nc(),this._portalHost.attachComponentPortal(t)},e.prototype.attachTemplatePortal=function(t){return this._portalHost.hasAttached()&&Nc(),this._portalHost.attachTemplatePortal(t)},e.prototype.setHeight=function(){this._renderer.setStyle(this._el.nativeElement,"height",this._walkthroughService.getDocumentHeight()+"px")},e.prototype.hightlightZone=function(t,e,n,r,i){var o=this,s=this.zone.nativeElement,u=s.style,a=window.getComputedStyle(s,null);if("linear"===n&&r>0&&"auto"!==a.left){this.hideOther=!0;var l=20,c=r/l,h=parseInt(a.left,10),f=e+parseInt(a.top,10),d=parseInt(a.width,10),p=parseInt(a.height,10),v=(t.left-h)/l,g=(t.top-f)/l,y=(t.width-d)/l,m=(t.height-p)/l,_=0;this.show=!0,u.borderRadius="50%";var w=setInterval(function(){u.left=h+v*_+"px",u.top=f+g*_+"px",u.width=d+y*_+"px",u.height=p+m*_+"px",_++>=l&&(clearInterval(w),o.hideOther=!1,i())},c)}else u.left=t.left-this.marginZonePx.left+"px",u.top=t.top-this.marginZonePx.top+"px",u.width=t.width+"px",u.height=t.height+"px",i()},e.prototype.hightlightZoneStyling=function(t){if(t){var e=this.zone.nativeElement.style;if(this.radius)if(Number(this.radius)===parseFloat(this.radius))e.borderRadius=this.radius+"%";else if("auto"===this.radius){var n=window.getComputedStyle(t,null);e.borderTopLeftRadius=n.borderTopLeftRadius,e.borderTopRightRadius=n.borderTopRightRadius,e.borderBottomLeftRadius=n.borderBottomLeftRadius,e.borderBottomRightRadius=n.borderBottomRightRadius}else e.borderRadius=this.radius;else e.borderRadius=""}},e.prototype.contentBlockPosition=function(t,e,n,r,i){var o=this.contentBlock.nativeElement,s=this._walkthroughService.retrieveCoordinates(o),u=s.width+s.margin.left+s.margin.right,a=s.height+s.margin.top+s.margin.bottom,l=JSON.parse(JSON.stringify(t));l.top-=this.marginZonePx.top,l.left-=this.marginZonePx.left,l.width+=this.marginZonePx.left+this.marginZonePx.right,l.height+=this.marginZonePx.top+this.marginZonePx.bottom;var c=!1;if(this.hasHighlightZone){var h=l.left,f=window.innerWidth-l.left-l.width;hh?"right":"left"):("left"===e&&hr&&(o.style.left=l.left-u-r+"px")}}else"center"===e?o.style.left=window.innerWidth/2-u/2+"px":"right"===e&&(o.style.right="0",this.hasHighlightZone)&&(d=window.innerWidth-l.left-l.width-u,r&&d>r&&(o.style.right="",o.style.left=l.left+l.width+r+"px"));if(this.hasHighlightZone){var p=this._walkthroughService.retrieveCoordinates(o).left+u/2;if(this._arrowPosition=p>l.left-wc.minimalMargin&&pi?l.top-a-i+"px":"0",this._arrowPosition="topBottom";break;case"top":o.style.top=l.top+"px";break;case"center":o.style.top=l.top+l.height/2-a/2+"px";break;case"bottom":o.style.top=l.top+l.height-a+"px";break;case"below":d=this._walkthroughService.getDocumentHeight()-l.top+l.height,o.style.top=d>i?l.top+l.height+i+"px":this._walkthroughService.getDocumentHeight()-a+"px",this._arrowPosition="topBottom"}else"below"===n||l.topt.left?r.left:r.left+r.width,u-=r.height/2;break;case"below":u-=r.height}if("topBottom"===this._arrowPosition)"below"===this._contentPosition?l+=o+6:l-=6,n=(s+(a+=i/2))/2,u<(e=(u+l)/2)?e-=Math.abs(u-e)/2:e+=Math.abs(u-e)/2,this.arrowPath="M"+s+","+u+" Q"+s+","+e+" "+n+","+e+" Q"+a+","+e+" "+a+","+l;else{s>t.left?a+=i+this.arrowMarkerDist:a-=this.arrowMarkerDist,e=(u+(l+=o/2))/2,s<(n=(s+a)/2)?n-=Math.abs(s-n)/2:n+=Math.abs(s-n)/2;var c=s,h=u;"top"===this._contentPosition||"bottom"===this._contentPosition?(c=r.left+r.width/2,h="top"===this._contentPosition?r.top+r.height:r.top,this.arrowPath="top"===this._contentPosition&&hl+wc.minimalMargin?"M"+c+","+h+" Q"+c+","+l+" "+a+","+l:"M"+s+","+u+" Q"+n+","+u+" "+n+","+e+" Q"+n+","+l+" "+a+","+l):this.arrowPath="M"+c+","+h+" Q"+c+","+l+" "+a+","+l}},e.prototype.stop=function(){this.parent&&!this.pause&&this.show&&(this.show=!1,this.pause=!0)},e.prototype.continue=function(){this.parent&&this.pause&&(this.show=!0,this.pause=!1,this.parent.refresh())},e.prototype.open=function(){Rc&&(this.markerUrl="url("+window.location.href+"#wkt-arrow)"),this.show=!0},e.prototype.previous=function(){this.close(!1,!1);for(var t=this.parent;t;){if(t.previousStep&&!t.previousStep.disabled)return void t.loadPrevioustStep();if(!t.previousStep)break;t=t.previousStep}this.parent=t,this.close(!0,!0)},e.prototype.next=function(){this.close(!1,!1);for(var t=this.parent;t;){if(t.nextStep&&!t.nextStep.disabled)return void t.loadNextStep();if(!t.nextStep)break;t=t.nextStep}this.parent=t,this.close(!0,!0)},e.prototype.close=function(t,e){void 0===t&&(t=!1),void 0===e&&(e=!0),this._portalHost.dispose(),this.show=!1,this.parent&&this.parent.hide(t,e)},e.\u0275fac=function(t){return new(t||e)(qo(mu),qo(vc),qo(Ls),qo(Vs))},e.\u0275cmp=ue({type:e,selectors:[["walkthrough-container"]],viewQuery:function(t,e){if(1&t&&(Qu(Fl,1),Qu(kc,1),Qu(Cc,1),Qu(xc,1)),2&t){var n=void 0;zu(n=Wu())&&(e._portalHost=n.first),zu(n=Wu())&&(e.content=n.first),zu(n=Wu())&&(e.contentBlock=n.first),zu(n=Wu())&&(e.zone=n.first)}},hostVars:7,hostBindings:function(t,e){1&t&&Ko("click",function(){return e.click()}),2&t&&(Bo("id",e.id),ss("hide",e.hide)("cursor",e.cursor)("backdrop",e.backdrop))},features:[Io],decls:11,vars:20,consts:[[1,"wkt-container"],[1,"wkt-zone",3,"click"],["zone",""],[1,"wkt-content-block"],["contentBlock",""],["type","button","class","wkt-close",3,"click",4,"ngIf"],[1,"wkt-content"],[4,"ngIf"],["cdkPortalHost",""],["class","wkt-navigate",4,"ngIf"],[3,"hide",4,"ngIf"],["type","button",1,"wkt-close",3,"click"],[1,"wkt-navigate"],["type","button","class","wkt-previous-link",3,"click",4,"ngIf"],["type","button","class","wkt-next-link",3,"click",4,"ngIf"],["type","button","class","wkt-finish-link",3,"click",4,"ngIf"],["type","button",1,"wkt-previous-link",3,"click"],["type","button",1,"wkt-next-link",3,"click"],["type","button",1,"wkt-finish-link",3,"click"],["version","1.1","xmlns","http://www.w3.org/2000/svg","width","100%","height","100%"],["id","wkt-arrow","viewBox","0 0 10 10","refX","8","refY","5","markerUnits","strokeWidth","orient","auto","markerWidth","10","markerHeight","10"],["points","0,0 10,5 0,10 5,5","stroke-width","0"],[1,"wkt-arrow-path"]],template:function(t,e){1&t&&(Wo(0,"div",0),Wo(1,"div",1,2),Ko("click",function(t){return e.clickZone(t)}),Go(),Wo(3,"div",3,4),Lo(5,Sc,2,0,"button",5),Wo(6,"div",6),Lo(7,Ec,2,1,"p",7),Lo(8,Tc,0,0,"ng-template",8),Go(),Lo(9,Oc,4,3,"div",9),Go(),Lo(10,Dc,6,6,"div",10),Go()),2&t&&(yi(1),os("padding",e.marginZone),ss("hide",!e.hasHighlightZone)("backdrop",e.hasBackdrop)("glow",e.hasGlow)("clickable",e.hasClickable)("highlight",e.hasHighlight),yi(2),ss("hide",e.hideOther)("darken","draken"===e.contentStyle),yi(2),zo("ngIf",e.hasCloseButton),yi(2),zo("ngIf",e.contentText),yi(2),zo("ngIf",e.hasPrevious||e.hasNext||e.hasFinish),yi(1),zo("ngIf",e.hasArrow))},directives:[Ka,Fl],styles:['[_nghost-%COMP%]{display:block;position:absolute;z-index:1;top:0;left:0;width:99.9%;min-height:100%}.hide[_nghost-%COMP%]{display:none}.cursor[_nghost-%COMP%]{cursor:pointer}.backdrop[_nghost-%COMP%]{background-color:rgba(0,0,0,.6)}button[_ngcontent-%COMP%]{background:none;border:0;color:#fff}.wkt-zone[_ngcontent-%COMP%]{position:absolute}.wkt-zone.hide[_ngcontent-%COMP%]{display:none}.wkt-zone.backdrop[_ngcontent-%COMP%]{box-shadow:0 0 0 2200px rgba(0,0,0,.6)}.wkt-zone.glow[_ngcontent-%COMP%]{box-shadow:0 0 4px 2px #ff6,0 0 9px 0 #ff6,0 0 36px #ff6}.wkt-zone.clickable[_ngcontent-%COMP%]{cursor:pointer}.wkt-zone.highlight[_ngcontent-%COMP%]{-webkit-animation:highlight .45s 4;animation:highlight .45s 4}.wkt-container[_ngcontent-%COMP%]{position:relative}.wkt-content-block[_ngcontent-%COMP%]{position:absolute;margin:1em;padding:6px;z-index:1;color:#fff;min-width:calc(320px - 2em)}.wkt-content-block.hide[_ngcontent-%COMP%]{display:none}.wkt-content-block.darken[_ngcontent-%COMP%]{background-color:rgba(0,0,0,.6)}.wkt-close[_ngcontent-%COMP%] + .wkt-content[_ngcontent-%COMP%]{margin-top:1.3em}.wkt-close[_ngcontent-%COMP%]{position:absolute;right:1em;cursor:pointer}.wkt-navigate[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;justify-content:center}.wkt-navigate[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]{padding:6px;font-size:120%}.wkt-navigate[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]:hover{cursor:pointer;text-decoration:underline}.wkt-previous-link[_ngcontent-%COMP%]:before{content:"<< "}.wkt-next-link[_ngcontent-%COMP%]:after{content:" >>"}div.hide[_ngcontent-%COMP%]{display:none}svg[_ngcontent-%COMP%]{overflow:visible;position:absolute;top:-1px;left:-1px;border:1px solid transparent}#wkt-arrow[_ngcontent-%COMP%] > path[_ngcontent-%COMP%]{stroke-width:0}.wkt-arrow-path[_ngcontent-%COMP%]{stroke-width:2px;fill:none}@-webkit-keyframes highlight{0%{background-color:none}50%{background-color:hsla(0,0%,100%,.8)}to{background-color:none}}@keyframes highlight{0%{background-color:none}50%{background-color:hsla(0,0%,100%,.8)}to{background-color:none}}@media screen and (min-height:1920px),screen and (min-width:1920px){.wkt-zone.backdrop[_ngcontent-%COMP%]{box-shadow:0 0 0 4400px rgba(0,0,0,.6)}}@media screen and (min-height:3840px),screen and (min-width:3840px){.wkt-zone.backdrop[_ngcontent-%COMP%]{box-shadow:0 0 0 8800px rgba(0,0,0,.6)}}.wkt-zone.backdrop[_ngcontent-%COMP%], _[_ngcontent-%COMP%]:default:not(:root:root){box-shadow:0 0 0 2000px rgba(0,0,0,.6)!important}']}),e}(jl),Hc=0,jc=function(){function t(){this.closed=new Du,this.finished=new Du,this.contentStyle="draken",this.marginZone=null,this._uid="walkthrough-flow-"+Hc++}return Object.defineProperty(t.prototype,"id",{get:function(){return this._id},set:function(t){this._id=t||this._uid},enumerable:!1,configurable:!0}),t.prototype.ngAfterViewInit=function(){var t=this;setTimeout(function(){t.init()},0)},t.prototype.init=function(){var t=this,e=null;this.walkthroughComponents.forEach(function(n){e&&(n.previousStep=e,e.nextStep=n),e=n,t.closed&&(n.closed=t.closed),t.finished&&(n.finished=t.finished),!n.contentStyle&&t.contentStyle&&(n.contentStyle=t.contentStyle),!n.arrowColor&&t.arrowColor&&(n.arrowColor=t.arrowColor),!n.marginZone&&t.marginZone&&(n.marginZone=t.marginZone),!n.showArrow&&ql(t.showArrow)&&(n.showArrow=t.showArrow),!n.rootElement&&t.rootElement&&(n.rootElement=t.rootElement),!n.closeButton&&ql(t.closeButton)&&(n.closeButton=t.closeButton),n.closeAnywhere&&!ql(t.closeAnywhere)&&(n.closeAnywhere=t.closeAnywhere),!n.finishButton&&ql(t.finishButton)&&(n.finishButton=t.finishButton),!n.focusBackdrop&&ql(t.focusBackdrop)&&(n.focusBackdrop=t.focusBackdrop),!n.focusGlow&&ql(t.focusGlow)&&(n.focusGlow=t.focusGlow),!n.radius&&t.radius&&(n.radius=t.radius),!n.texts&&t.texts&&(n.texts=t.texts)}),e.finishButton=!0},t.prototype.start=function(){this.walkthroughComponents.first.open()},t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=ue({type:t,selectors:[["ng-walkthrough-flow"]],contentQueries:function(t,e,n){var r;1&t&&function(t,e,n,r){var i=Ge();if(i.firstCreatePass){var o=Je();Uu(i,new ju(e,0,void 0),o.index),function(t,e){var n=t.contentQueries||(t.contentQueries=[]);e!==(n.length?n[n.length-1]:-1)&&n.push(t.queries.length-1,e)}(i,t)}Gu(i,We(),0)}(n,wc),2&t&&zu(r=Wu())&&(e.walkthroughComponents=r)},inputs:{id:"id",contentStyle:"contentStyle",arrowColor:"arrowColor",marginZone:"marginZone",showArrow:"showArrow",rootElement:"rootElement",closeButton:"closeButton",closeAnywhere:"closeAnywhere",finishButton:"finishButton",focusBackdrop:"focusBackdrop",focusGlow:"focusGlow",radius:"radius",texts:"texts"},outputs:{closed:"closed",finished:"finished"},decls:0,vars:0,template:function(t,e){},encapsulation:2}),t}(),Vc=function(){function t(){}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=he({type:t}),t.\u0275inj=Pt({providers:[vc],imports:[[el,Ll]]}),t}(),Fc=["walk1"];function Bc(t,e){1&t&&(Wo(0,"p"),fs(1," 1. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque varius blandit dolor, sit amet condimentum eros vulputate sed. Aenean maximus dui a lobortis pharetra. Suspendisse potenti. Nulla facilisi. Suspendisse potenti. Integer porta nec arcu molestie sodales. Pellentesque et diam tellus. Quisque at nisi id neque tempus varius. Donec vestibulum nisi ac risus laoreet lobortis. Cras tristique et sem mollis vehicula. Nulla maximus urna a leo consectetur, at fringilla odio volutpat. Praesent ultricies nunc eget tellus convallis, non hendrerit augue semper. Maecenas elit ex, lobortis at sapien sed, fermentum volutpat sem. "),Go())}function Lc(t,e){1&t&&(Wo(0,"p"),fs(1," 1b. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque varius blandit dolor, sit amet condimentum eros vulputate sed. Aenean maximus dui a lobortis pharetra. Suspendisse potenti. Nulla facilisi. Suspendisse potenti. Integer porta nec arcu molestie sodales. Pellentesque et diam tellus. Quisque at nisi id neque tempus varius. Donec vestibulum nisi ac risus laoreet lobortis. Cras tristique et sem mollis vehicula. Nulla maximus urna a leo consectetur, at fringilla odio volutpat. Praesent ultricies nunc eget tellus convallis, non hendrerit augue semper. Maecenas elit ex, lobortis at sapien sed, fermentum volutpat sem. "),Go())}function Zc(t,e){1&t&&(Wo(0,"p"),fs(1," 2. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque varius blandit dolor, sit amet condimentum eros vulputate sed. Aenean maximus dui a lobortis pharetra. Suspendisse potenti. Nulla facilisi. Suspendisse potenti. Integer porta nec arcu molestie sodales. Pellentesque et diam tellus. Quisque at nisi id neque tempus varius. Donec vestibulum nisi ac risus laoreet lobortis. Cras tristique et sem mollis vehicula. Nulla maximus urna a leo consectetur, at fringilla odio volutpat. Praesent ultricies nunc eget tellus convallis, non hendrerit augue semper. Maecenas elit ex, lobortis at sapien sed, fermentum volutpat sem. "),Go())}function qc(t,e){1&t&&(Wo(0,"p"),fs(1," 3. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque varius blandit dolor, sit amet condimentum eros vulputate sed. Aenean maximus dui a lobortis pharetra. Suspendisse potenti. Nulla facilisi. Suspendisse potenti. Integer porta nec arcu molestie sodales. Pellentesque et diam tellus. Quisque at nisi id neque tempus varius. Donec vestibulum nisi ac risus laoreet lobortis. Cras tristique et sem mollis vehicula. Nulla maximus urna a leo consectetur, at fringilla odio volutpat. Praesent ultricies nunc eget tellus convallis, non hendrerit augue semper. Maecenas elit ex, lobortis at sapien sed, fermentum volutpat sem. "),Go())}function zc(t,e){1&t&&(Wo(0,"p"),fs(1," 4. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque varius blandit dolor, sit amet condimentum eros vulputate sed. Aenean maximus dui a lobortis pharetra. Suspendisse potenti. Nulla facilisi. Suspendisse potenti. Integer porta nec arcu molestie sodales. Pellentesque et diam tellus. Quisque at nisi id neque tempus varius. Donec vestibulum nisi ac risus laoreet lobortis. Cras tristique et sem mollis vehicula. Nulla maximus urna a leo consectetur, at fringilla odio volutpat. Praesent ultricies nunc eget tellus convallis, non hendrerit augue semper. Maecenas elit ex, lobortis at sapien sed, fermentum volutpat sem. "),Go())}function Qc(t,e){if(1&t){var n=Jo();Wo(0,"div",55),Wo(1,"p"),fs(2),Go(),Wo(3,"p"),fs(4),Go(),Wo(5,"p"),fs(6,"contentSpacing "),Wo(7,"input",56,57),Ko("change",function(){Ue(n);var t=Zo(8);return ns().contentSpacing=t.value}),Go(),Go(),Wo(9,"p"),fs(10,"verticalContentSpacing "),Wo(11,"input",56,58),Ko("change",function(){Ue(n);var t=Zo(12);return ns().verticalContentSpacing=t.value}),Go(),Go(),fs(13," alignContent value : "),Wo(14,"div"),Wo(15,"button",7),Ko("click",function(){return Ue(n),ns().alignContent="left"}),fs(16,"left"),Go(),Wo(17,"button",7),Ko("click",function(){return Ue(n),ns().alignContent="center"}),fs(18,"center"),Go(),Wo(19,"button",7),Ko("click",function(){return Ue(n),ns().alignContent="right"}),fs(20,"right"),Go(),Go(),fs(21," verticalAlignContent value : "),Wo(22,"div"),Wo(23,"button",7),Ko("click",function(){return Ue(n),ns().verticalAlignContent="above"}),fs(24,"above"),Go(),Wo(25,"button",7),Ko("click",function(){return Ue(n),ns().verticalAlignContent="top"}),fs(26,"top"),Go(),Wo(27,"button",7),Ko("click",function(){return Ue(n),ns().verticalAlignContent="center"}),fs(28,"center"),Go(),Wo(29,"button",7),Ko("click",function(){return Ue(n),ns().verticalAlignContent="bottom"}),fs(30,"bottom"),Go(),Wo(31,"button",7),Ko("click",function(){return Ue(n),ns().verticalAlignContent="below"}),fs(32,"below"),Go(),Go(),Go()}if(2&t){var r=ns();yi(2),ps("alignContent ",r.alignContent,""),yi(2),ps("verticalAlignContent ",r.verticalAlignContent,""),yi(3),zo("value",r.contentSpacing),yi(4),zo("value",r.verticalContentSpacing)}}function Wc(t,e){if(1&t){var n=Jo();Wo(0,"p"),fs(1," Look this. "),Go(),Wo(2,"div"),Wo(3,"button",7),Ko("click",function(){return Ue(n),ns().buttonAction()}),fs(4),Go(),Go(),Wo(5,"div"),Wo(6,"button",7),Ko("click",function(){return Ue(n),ns().testPosition="left"}),fs(7,"Left"),Go(),Wo(8,"button",7),Ko("click",function(){return Ue(n),ns().testPosition="center"}),fs(9,"Center"),Go(),Wo(10,"button",7),Ko("click",function(){return Ue(n),ns().testPosition="right"}),fs(11,"Right"),Go(),Go()}if(2&t){var r=ns();yi(4),ds(r.testClickTexts[r.testClickCount])}}function Gc(t,e){if(1&t&&(Wo(0,"p"),fs(1," mobile: win < 768px ; desktop: win \u2265 768px "),Uo(2,"br"),fs(3),Go()),2&t){var n=ns();yi(3),ps(" current: ",n.isMobile?"mobile":"desktop"," ")}}function Uc(t,e){if(1&t){var n=Jo();Wo(0,"p"),fs(1),Go(),Wo(2,"p"),Wo(3,"button",7),Ko("click",function(){Ue(n);var t=ns();return t.step2flowDisabled=!t.step2flowDisabled}),fs(4),Go(),Go(),Wo(5,"p"),fs(6," 1f. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque varius blandit dolor, sit amet condimentum eros vulputate sed. Aenean maximus dui a lobortis pharetra. Suspendisse potenti. Nulla facilisi. Suspendisse potenti. Integer porta nec arcu molestie sodales. Pellentesque et diam tellus. Quisque at nisi id neque tempus varius. Donec vestibulum nisi ac risus laoreet lobortis. Cras tristique et sem mollis vehicula. Nulla maximus urna a leo consectetur, at fringilla odio volutpat. Praesent ultricies nunc eget tellus convallis, non hendrerit augue semper. Maecenas elit ex, lobortis at sapien sed, fermentum volutpat sem. "),Go()}if(2&t){var r=ns();yi(1),ps(" This step is ",r.step1flowDisabled?"disabled":"enabled"," "),yi(3),ps("Next step is ",r.step2flowDisabled?"disabled":"enabled","")}}function Jc(t,e){if(1&t){var n=Jo();Wo(0,"p"),fs(1),Go(),Wo(2,"p"),Wo(3,"button",7),Ko("click",function(){Ue(n);var t=ns();return t.step1flowDisabled=!t.step1flowDisabled}),fs(4),Go(),Go(),Wo(5,"p"),Wo(6,"button",7),Ko("click",function(){Ue(n);var t=ns();return t.step3flowDisabled=!t.step3flowDisabled}),fs(7),Go(),Go(),Wo(8,"p"),fs(9," 2f. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque varius blandit dolor, sit amet condimentum eros vulputate sed. Aenean maximus dui a lobortis pharetra. Suspendisse potenti. Nulla facilisi. Suspendisse potenti. Integer porta nec arcu molestie sodales. Pellentesque et diam tellus. Quisque at nisi id neque tempus varius. Donec vestibulum nisi ac risus laoreet lobortis. Cras tristique et sem mollis vehicula. Nulla maximus urna a leo consectetur, at fringilla odio volutpat. Praesent ultricies nunc eget tellus convallis, non hendrerit augue semper. Maecenas elit ex, lobortis at sapien sed, fermentum volutpat sem. "),Go()}if(2&t){var r=ns();yi(1),ps(" This step is ",r.step2flowDisabled?"disabled":"enabled"," "),yi(3),ps("Previous step is ",r.step1flowDisabled?"disabled":"enabled",""),yi(3),ps("Next step is ",r.step3flowDisabled?"disabled":"enabled","")}}function Yc(t,e){if(1&t){var n=Jo();Wo(0,"p"),fs(1),Go(),Wo(2,"p"),Wo(3,"button",7),Ko("click",function(){Ue(n);var t=ns();return t.step2flowDisabled=!t.step2flowDisabled}),fs(4),Go(),Go(),Wo(5,"p"),fs(6," 3f. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque varius blandit dolor, sit amet condimentum eros vulputate sed. Aenean maximus dui a lobortis pharetra. Suspendisse potenti. Nulla facilisi. Suspendisse potenti. Integer porta nec arcu molestie sodales. Pellentesque et diam tellus. Quisque at nisi id neque tempus varius. Donec vestibulum nisi ac risus laoreet lobortis. Cras tristique et sem mollis vehicula. Nulla maximus urna a leo consectetur, at fringilla odio volutpat. Praesent ultricies nunc eget tellus convallis, non hendrerit augue semper. Maecenas elit ex, lobortis at sapien sed, fermentum volutpat sem. "),Go()}if(2&t){var r=ns();yi(1),ps(" This step is ",r.step3flowDisabled?"disabled":"enabled"," "),yi(3),ps("Previous step is ",r.step2flowDisabled?"disabled":"enabled","")}}function Kc(t,e){if(1&t){var n=Jo();Wo(0,"p"),fs(1," No focusElementSelector "),Go(),Wo(2,"p"),fs(3),Go(),Wo(4,"p"),Wo(5,"button",7),Ko("click",function(){Ue(n);var t=ns();return t.step3flowDisabled=!t.step3flowDisabled}),fs(6),Go(),Go(),Wo(7,"p"),fs(8," 4g. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque varius blandit dolor, sit amet condimentum eros vulputate sed. Aenean maximus dui a lobortis pharetra. Suspendisse potenti. Nulla facilisi. Suspendisse potenti. Integer porta nec arcu molestie sodales. Pellentesque et diam tellus. Quisque at nisi id neque tempus varius. Donec vestibulum nisi ac risus laoreet lobortis. Cras tristique et sem mollis vehicula. Nulla maximus urna a leo consectetur, at fringilla odio volutpat. Praesent ultricies nunc eget tellus convallis, non hendrerit augue semper. Maecenas elit ex, lobortis at sapien sed, fermentum volutpat sem. "),Go()}if(2&t){var r=ns();yi(3),ps(" This step is ",r.step4flowDisabled?"disabled":"enabled"," "),yi(3),ps("Previous step is ",r.step3flowDisabled?"disabled":"enabled","")}}var $c=function(){function t(){this.frenchText={previous:"Pr\xe9c\xe9dent",next:"Suivant",close:"Fermer"},this.testClickCount=0,this.testClickTexts=["click me","it's ok!","realy ok","ok ok...","stop that!"],this.testPosition="center",this.alignContent="left",this.verticalAlignContent="top",this.valignHeight="600px",this.contentSpacing=200,this.verticalContentSpacing=50,this.step1flowDisabled=!1,this.step2flowDisabled=!1,this.step3flowDisabled=!1,this.step4flowDisabled=!1,this.hideCount=3,this._count=3,this._start=!1,this._listener=[],this._listener.push(wc.onOpen.subscribe(function(t){console.group("open"),console.log("onOpen:",t.id),console.groupEnd()}),wc.onClose.subscribe(function(t){console.group("close"),console.log("onClose:",t.id),console.groupEnd()}),wc.onFinish.subscribe(function(t){console.group("finish (close on the last step)"),console.log("onFinish:",t.id),console.groupEnd()}),wc.onRefresh.subscribe(function(t){console.group("refresh"),console.log("onRefresh:",t.id),console.groupEnd()}),wc.onNavigate.subscribe(function(t){console.group("navigate"),console.log("onNavigate:",t.previous.id,"\u2192",t.next.id)}),wc.onNavigateNext.subscribe(function(t){console.log("onNavigateNext:",t.previous.id,"\u2192",t.next.id),console.groupEnd()}),wc.onNavigatePrevious.subscribe(function(t){console.log("onNavigatePrevious:",t.previous.id,"\u2192",t.next.id),console.groupEnd()}))}return Object.defineProperty(t.prototype,"isMobile",{get:function(){return window.innerWidth<768},enumerable:!1,configurable:!0}),t.prototype.ngOnInit=function(){},t.prototype.buttonAction=function(){this.testClickCount0?"Hide walkthrough in "+e.hideCount+"s":"Continue"),yi(54),os("height",e.valignHeight),yi(10),zo("contentTemplate",f)("nextStep",o)("focusClick",e.focusClickAction),yi(4),zo("contentTemplate",s)("previousStep",i)("nextStep",u),yi(4),zo("previousStep",o)("nextStep",a)("focusClick",e.focusClickAction),yi(2),zo("contentTemplate",l)("previousStep",u)("nextStep",c),yi(4),zo("contentTemplate",h)("previousStep",a)("nextStep",r),yi(4),zo("contentTemplate",d)("previousStep",c)("texts",e.frenchText),yi(4),zo("contentTemplate",p)("verticalAlignContent",e.verticalAlignContent)("alignContent",e.alignContent)("contentSpacing",e.contentSpacing)("verticalContentSpacing",e.verticalContentSpacing),yi(4),zo("contentTemplate",v)("alignContent",e.testPosition),yi(4),zo("focusElementSelector",e.isMobile?"table th:first-child, table td:first-child":"table th:nth-child(2), table td:nth-child(2)")("contentTemplate",g)("alignContent",e.testPosition),yi(4),zo("texts",e.frenchText),yi(2),zo("contentTemplate",y)("disabled",e.step1flowDisabled),yi(3),zo("contentTemplate",m)("disabled",e.step2flowDisabled),yi(3),zo("contentTemplate",_)("disabled",e.step3flowDisabled),yi(3),zo("contentTemplate",w)("disabled",e.step4flowDisabled)}},directives:[wc,jc],styles:[".avalaible[_ngcontent-%COMP%]{position:fixed;top:0;right:0;z-index:2;display:flex;flex-direction:column}.avalaible[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]{min-width:200px;margin:0}[_nghost-%COMP%], [_nghost-%COMP%] > div[_ngcontent-%COMP%]{display:block;height:100%;width:100%}.overflow[_ngcontent-%COMP%]{overflow:auto}.overflow[_ngcontent-%COMP%], .overflow[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{height:250px}button[_ngcontent-%COMP%]{margin-left:5%}.bigger[_ngcontent-%COMP%]{height:100%;width:100%;position:relative}#test3[_ngcontent-%COMP%]{bottom:5%;right:5%;width:50px;height:50px;border-radius:25% 50% 25% 40%;z-index:1}#test3[_ngcontent-%COMP%], #test4[_ngcontent-%COMP%]{position:absolute}#test4[_ngcontent-%COMP%]{bottom:1em}.valign-container[_ngcontent-%COMP%]{position:relative;height:2000px}#valign[_ngcontent-%COMP%]{top:500px;left:30%;position:absolute}#valign-content[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:0}#increase[_ngcontent-%COMP%]{top:500px}#decrease[_ngcontent-%COMP%], #increase[_ngcontent-%COMP%]{position:absolute;left:0}#decrease[_ngcontent-%COMP%]{top:530px}.redbutton[_ngcontent-%COMP%]{background:red;color:#fff}"]}),t}(),Xc=function(){function t(){}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=he({type:t,bootstrap:[$c]}),t.\u0275inj=Pt({providers:[],imports:[[Vc,Ol]]}),t}();(function(){if(Ia)throw new Error("Cannot enable prod mode after platform setup.");Pa=!1})(),Pl().bootstrapModule(Xc).catch(function(t){return console.log(t)})},zn8P: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="zn8P"}},[[0,0]]]); \ No newline at end of file diff --git a/dist/ng-walkthrough/main.js b/dist/ng-walkthrough/main.js deleted file mode 100644 index 3b77372..0000000 --- a/dist/ng-walkthrough/main.js +++ /dev/null @@ -1,2200 +0,0 @@ -(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["main"],{ - -/***/ 0: -/*!***************************!*\ - !*** multi ./src/main.ts ***! - \***************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -module.exports = __webpack_require__(/*! C:\pitch\ng-walkthrough\src\main.ts */"zUnb"); - - -/***/ }), - -/***/ "6S10": -/*!*********************************************************************************!*\ - !*** ./projects/angular-walkthrough/src/lib/walkthrough-container.component.ts ***! - \*********************************************************************************/ -/*! exports provided: throwWalkthroughContentAlreadyAttachedError, WalkthroughContainerComponent */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "throwWalkthroughContentAlreadyAttachedError", function() { return throwWalkthroughContentAlreadyAttachedError; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "WalkthroughContainerComponent", function() { return WalkthroughContainerComponent; }); -/* harmony import */ var _walkthrough_container_component_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./walkthrough-container.component.scss */ "dqjX"); -/* harmony import */ var _raw_loader_walkthrough_container_component_html__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! raw-loader!./walkthrough-container.component.html */ "qTly"); -/* harmony import */ var _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/cdk/portal */ "+rOU"); -/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/core */ "fXoL"); -/* harmony import */ var _walkthrough_text__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./walkthrough-text */ "j1lR"); -/* harmony import */ var _walkthrough_tools__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./walkthrough-tools */ "Oyit"); -/* harmony import */ var _walkthrough_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./walkthrough.component */ "nDcv"); -/* harmony import */ var _walkthrough_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./walkthrough.service */ "P9v0"); -var __extends = (undefined && undefined.__extends) || (function () { - var extendStatics = function (d, b) { - extendStatics = Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || - function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; - return extendStatics(d, b); - }; - return function (d, b) { - extendStatics(d, b); - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; -})(); -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); -}; - - - - - - - - -function throwWalkthroughContentAlreadyAttachedError() { - throw Error('Attempting to attach walkthrough content after content is already attached'); -} -var is_safari = /^((?!chrome|android).)*safari/i.test(navigator.userAgent); -var WalkthroughContainerComponent = /** @class */ (function (_super) { - __extends(WalkthroughContainerComponent, _super); - function WalkthroughContainerComponent(viewContainerRef, _walkthroughService, _renderer, _el) { - var _this = _super.call(this) || this; - _this.viewContainerRef = viewContainerRef; - _this._walkthroughService = _walkthroughService; - _this._renderer = _renderer; - _this._el = _el; - _this.markerUrl = 'url(#wkt-arrow)'; - /* if a walkthrough is ongoing (paused or not) */ - _this.ongoing = false; - _this.show = false; - _this.pause = false; - // highlight zone - _this.hasHighlightZone = false; - _this.hasHighlight = false; - _this.hasBackdrop = false; - _this.hasGlow = false; - // navigate - _this.hasPrevious = false; - _this.hasNext = false; - _this.hasFinish = false; - _this.hasCloseButton = false; - _this.hasCloseAnywhere = true; - // arrow - _this.hasArrow = false; - _this.arrowMarkerDist = 7; - _this.marginZonePx = new _walkthrough_tools__WEBPACK_IMPORTED_MODULE_5__["WalkthroughMargin"](); - // texts change / i18n - _this.text = new _walkthrough_text__WEBPACK_IMPORTED_MODULE_4__["WalkthroughText"](); - return _this; - } - Object.defineProperty(WalkthroughContainerComponent.prototype, "id", { - // HostBinding - get: function () { - return this.parent ? this.parent.id + '-container' : null; - }, - enumerable: false, - configurable: true - }); - Object.defineProperty(WalkthroughContainerComponent.prototype, "hide", { - get: function () { - return !this.show; - }, - enumerable: false, - configurable: true - }); - Object.defineProperty(WalkthroughContainerComponent.prototype, "cursor", { - get: function () { - return this.hasCloseAnywhere; - }, - enumerable: false, - configurable: true - }); - Object.defineProperty(WalkthroughContainerComponent.prototype, "backdrop", { - get: function () { - return !this.hasHighlightZone && this.hasBackdrop; - }, - enumerable: false, - configurable: true - }); - WalkthroughContainerComponent.prototype.click = function () { - if (this.hasCloseAnywhere && this.show) { - this.close(); - } - }; - WalkthroughContainerComponent.prototype.clickZone = function (event) { - if (this.parent && this.hasClickable) { - this.parent.focusClick(event, this); - } - }; - /** - * Attach a ComponentPortal as content to this walkthrough container. - * @param portal Portal to be attached as the walkthrough content. - */ - WalkthroughContainerComponent.prototype.attachComponentPortal = function (portal) { - if (this._portalHost.hasAttached()) { - throwWalkthroughContentAlreadyAttachedError(); - } - // this._savePreviouslyFocusedElement(); - return this._portalHost.attachComponentPortal(portal); - }; - /** - * Attach a TemplatePortal as content to this walkthrough container. - * @param portal Portal to be attached as the walkthrough content. - */ - WalkthroughContainerComponent.prototype.attachTemplatePortal = function (portal) { - if (this._portalHost.hasAttached()) { - throwWalkthroughContentAlreadyAttachedError(); - } - // this._savePreviouslyFocusedElement(); - return this._portalHost.attachTemplatePortal(portal); - }; - WalkthroughContainerComponent.prototype.setHeight = function () { - this._renderer.setStyle(this._el.nativeElement, 'height', this._walkthroughService.getDocumentHeight() + 'px'); - }; - WalkthroughContainerComponent.prototype.hightlightZone = function (coordinate, scrollDiff, animation, animationDelays, continueFunction) { - var _this = this; - var element = this.zone.nativeElement; - var zoneStyle = element.style; - var style = window.getComputedStyle(element, null); - if (animation === 'linear' && animationDelays > 0 && style.left !== 'auto') { - this.hideOther = true; - var fragment_1 = 20; - var intervale = animationDelays / fragment_1; - var left_1 = parseInt(style.left, 10); - var top_1 = scrollDiff + parseInt(style.top, 10); - var width_1 = parseInt(style.width, 10); - var height_1 = parseInt(style.height, 10); - var partLeft_1 = (coordinate.left - left_1) / fragment_1; - var partTop_1 = (coordinate.top - top_1) / fragment_1; - var partWidth_1 = (coordinate.width - width_1) / fragment_1; - var partHeight_1 = (coordinate.height - height_1) / fragment_1; - var count_1 = 0; - this.show = true; - zoneStyle.borderRadius = '50%'; - var timer_1 = setInterval(function () { - zoneStyle.left = (left_1 + partLeft_1 * count_1) + 'px'; - zoneStyle.top = (top_1 + partTop_1 * count_1) + 'px'; - zoneStyle.width = (width_1 + partWidth_1 * count_1) + 'px'; - zoneStyle.height = (height_1 + partHeight_1 * count_1) + 'px'; - if (count_1++ >= fragment_1) { - clearInterval(timer_1); - _this.hideOther = false; - continueFunction(); - } - }, intervale); - } - else { - zoneStyle.left = (coordinate.left - this.marginZonePx.left) + 'px'; - zoneStyle.top = (coordinate.top - this.marginZonePx.top) + 'px'; - zoneStyle.width = coordinate.width + 'px'; - zoneStyle.height = coordinate.height + 'px'; - continueFunction(); - } - }; - WalkthroughContainerComponent.prototype.hightlightZoneStyling = function (element) { - if (element) { - var zoneStyle = this.zone.nativeElement.style; - if (this.radius) { - if (Number(this.radius) === parseFloat(this.radius)) { - // if is numeric, change in % - zoneStyle.borderRadius = this.radius + '%'; - } - else if (this.radius === 'auto') { - // if mode auto - var elementStyle = window.getComputedStyle(element, null); - // borderRadius work only on Chrome, use TopLeft, TopRight... for Firefox/Egde/IE - zoneStyle.borderTopLeftRadius = elementStyle.borderTopLeftRadius; - zoneStyle.borderTopRightRadius = elementStyle.borderTopRightRadius; - zoneStyle.borderBottomLeftRadius = elementStyle.borderBottomLeftRadius; - zoneStyle.borderBottomRightRadius = elementStyle.borderBottomRightRadius; - } - else { - // if is numeric, change in % - zoneStyle.borderRadius = this.radius; - } - } - else { - zoneStyle.borderRadius = ''; - } - } - }; - WalkthroughContainerComponent.prototype.contentBlockPosition = function (paramcoordinate, alignContent, verticalAlignContent, contentSpacing, verticalContentSpacing) { - var element = this.contentBlock.nativeElement; - var elementSize = this._walkthroughService.retrieveCoordinates(element); - var width = elementSize.width + elementSize.margin.left + elementSize.margin.right; - var height = elementSize.height + elementSize.margin.top + elementSize.margin.bottom; - var coordinate = JSON.parse(JSON.stringify(paramcoordinate)); - coordinate.top -= this.marginZonePx.top; - coordinate.left -= this.marginZonePx.left; - coordinate.width += this.marginZonePx.left + this.marginZonePx.right; - coordinate.height += this.marginZonePx.top + this.marginZonePx.bottom; - // check if we've got the space to respect the alignContent attribute - var notEnoughSpace = false; - if (this.hasHighlightZone) { - var spaceLeft = coordinate.left; - var spaceRight = window.innerWidth - coordinate.left - coordinate.width; - if (spaceLeft < width && spaceRight < width) { - notEnoughSpace = true; - } - // if not enough space to respect the alignContent, content goes above/below - if ((verticalAlignContent === 'top' || - verticalAlignContent === 'center' || - verticalAlignContent === 'bottom') && !notEnoughSpace) { - // change align center to left or right if not enough space to align center - if (alignContent === 'center') { - var maxSpace = Math.max(spaceRight, spaceLeft); - if (maxSpace < width + ((window.innerWidth - width) / 2)) { - alignContent = spaceRight > spaceLeft ? 'right' : 'left'; - } - } - else if (alignContent === 'left' && spaceLeft < width || - alignContent === 'right' && spaceRight < width) { - verticalAlignContent = verticalAlignContent === 'bottom' || coordinate.top < height ? 'below' : 'above'; - } - } - } - // if not enough space on screen width, we center the content - if (notEnoughSpace) { - alignContent = 'center'; - } - // position of content left/center/right - element.style.right = ''; - element.style.left = ''; - if (alignContent === 'left') { - element.style.left = '0'; - if (this.hasHighlightZone) { - var space = coordinate.left - width; - // handle contentSpacing - if (contentSpacing && space > contentSpacing) { - element.style.left = (coordinate.left - - width - - contentSpacing) + 'px'; - } - } - } - else if (alignContent === 'center') { - element.style.left = (window.innerWidth / 2 - width / 2) + 'px'; - } - else if (alignContent === 'right') { - element.style.right = '0'; - if (this.hasHighlightZone) { - var space = window.innerWidth - coordinate.left - coordinate.width - width; - // handle contentSpacing - if (contentSpacing && space > contentSpacing) { - element.style.right = ''; - element.style.left = (coordinate.left + - coordinate.width + - contentSpacing) + 'px'; - } - } - } - if (this.hasHighlightZone) { - // for arrow position - var startLeft = this._walkthroughService.retrieveCoordinates(element).left + width / 2; - this._arrowPosition = startLeft > (coordinate.left - _walkthrough_component__WEBPACK_IMPORTED_MODULE_6__["WalkthroughComponent"].minimalMargin) - && startLeft < (coordinate.left + coordinate.width + _walkthrough_component__WEBPACK_IMPORTED_MODULE_6__["WalkthroughComponent"].minimalMargin) - ? 'topBottom' : 'leftRight'; - // if there is enough place on the left or on the right, we consider verticalAlignContent, otherwise, we ignore it - if (verticalAlignContent && !notEnoughSpace) { - var space = 0; - this._contentPosition = verticalAlignContent; - switch (verticalAlignContent) { - case 'above': - space = coordinate.top; - if (space > verticalContentSpacing) { - element.style.top = (coordinate.top - height - verticalContentSpacing) + 'px'; - } - else { - element.style.top = '0'; - } - this._arrowPosition = 'topBottom'; - break; - case 'top': - element.style.top = (coordinate.top) + 'px'; - break; - case 'center': - element.style.top = (coordinate.top + (coordinate.height / 2) - (height / 2)) + 'px'; - break; - case 'bottom': - element.style.top = (coordinate.top + coordinate.height - height) + 'px'; - break; - case 'below': - space = this._walkthroughService.getDocumentHeight() - coordinate.top + coordinate.height; - if (space > verticalContentSpacing) { - element.style.top = (coordinate.top + coordinate.height + verticalContentSpacing) + 'px'; - } - else { - element.style.top = (this._walkthroughService.getDocumentHeight() - height) + 'px'; - } - this._arrowPosition = 'topBottom'; - break; - } - } - else { - // position of content top/bottom - if (verticalAlignContent === 'below' || coordinate.top < height) { - element.style.top = (coordinate.top + coordinate.height + _walkthrough_component__WEBPACK_IMPORTED_MODULE_6__["WalkthroughComponent"].minimalMargin) + 'px'; - this._contentPosition = 'below'; - } - else { - element.style.top = (coordinate.top - height - _walkthrough_component__WEBPACK_IMPORTED_MODULE_6__["WalkthroughComponent"].minimalMargin) + 'px'; - this._contentPosition = 'above'; - } - } - } - else { - element.style.top = (this._walkthroughService.getHeightOfPage() / 2 - height / 2) + 'px'; - } - }; - WalkthroughContainerComponent.prototype.arrowPosition = function (coordinate) { - var contentBlockElement = this.contentBlock.nativeElement; - var contentBlockCoordinates = this._walkthroughService.retrieveCoordinates(contentBlockElement); - var realwidth = coordinate.width + this.marginZonePx.left + this.marginZonePx.right; - var realheight = coordinate.height + this.marginZonePx.top + this.marginZonePx.bottom; - // start point of the arrow (tail) - var startLeft = contentBlockCoordinates.left + contentBlockCoordinates.width / 2; - var startTop = contentBlockCoordinates.top + contentBlockCoordinates.height; - // start point of the curve of the arrow - var centerTop; - var centerLeft; - // end point of the arrow (head) - var endLeft = coordinate.left - this.marginZonePx.left; - var endTop = coordinate.top - this.marginZonePx.top; - switch (this._contentPosition) { - case 'top': - case 'center': - case 'bottom': - if (contentBlockCoordinates.left > coordinate.left) { - startLeft = contentBlockCoordinates.left; - } - else { - startLeft = contentBlockCoordinates.left + contentBlockCoordinates.width; - } - startTop -= contentBlockCoordinates.height / 2; - break; - case 'below': - startTop -= contentBlockCoordinates.height; - break; - } - if (this._arrowPosition === 'topBottom') { - endLeft += realwidth / 2; - if (this._contentPosition === 'below') { - endTop += realheight + 6; - } - else { - endTop -= 6; - } - centerLeft = (startLeft + endLeft) / 2; - centerTop = (startTop + endTop) / 2; - // we make the curve start nearer the tail of the arrow - if (startTop < centerTop) { - centerTop = centerTop - Math.abs(startTop - centerTop) / 2; - } - else { - centerTop = centerTop + Math.abs(startTop - centerTop) / 2; - } - this.arrowPath = "M" + startLeft + "," + startTop + " Q" + startLeft + "," + centerTop + " " + centerLeft + "," + centerTop + " " - + ("Q" + endLeft + "," + centerTop + " " + endLeft + "," + endTop); - } - else { - if (startLeft > coordinate.left) { - endLeft += realwidth + this.arrowMarkerDist; - } - else { - endLeft -= this.arrowMarkerDist; - } - endTop += realheight / 2; - centerLeft = (startLeft + endLeft) / 2; - centerTop = (startTop + endTop) / 2; - // we make the curve start nearer the tail of the arrow - if (startLeft < centerLeft) { - centerLeft = centerLeft - Math.abs(startLeft - centerLeft) / 2; - } - else { - centerLeft = centerLeft + Math.abs(startLeft - centerLeft) / 2; - } - var directStartLeft = startLeft; - var directStartTop = startTop; - if (this._contentPosition === 'top' || this._contentPosition === 'bottom') { - directStartLeft = contentBlockCoordinates.left + (contentBlockCoordinates.width / 2); - directStartTop = (this._contentPosition === 'top') ? - (contentBlockCoordinates.top + contentBlockCoordinates.height) : - (contentBlockCoordinates.top); - // we use direct curve only if the arrow don't cross the content, otherwise, we use double curved - if ((this._contentPosition === 'top' && directStartTop < (endTop - _walkthrough_component__WEBPACK_IMPORTED_MODULE_6__["WalkthroughComponent"].minimalMargin)) || - (this._contentPosition === 'bottom' && directStartTop > (endTop + _walkthrough_component__WEBPACK_IMPORTED_MODULE_6__["WalkthroughComponent"].minimalMargin))) { - this.arrowPath = "M" + directStartLeft + "," + directStartTop + " Q" + directStartLeft + "," + endTop + " " + endLeft + "," + endTop; - } - else { - this.arrowPath = "M" + startLeft + "," + startTop + " Q" + centerLeft + "," + startTop + " " + centerLeft + "," + centerTop + " " - + ("Q" + centerLeft + "," + endTop + " " + endLeft + "," + endTop); - } - } - else { - this.arrowPath = "M" + directStartLeft + "," + directStartTop + " Q" + directStartLeft + "," + endTop + " " + endLeft + "," + endTop; - } - } - }; - /** - * stop the walkthrough : hide the container and change to pause at true - */ - WalkthroughContainerComponent.prototype.stop = function () { - if (this.parent && !this.pause && this.show) { - this.show = false; - this.pause = true; - } - }; - /** - * continue the walkthrough if is stopped : show the container and change to pause at false - */ - WalkthroughContainerComponent.prototype.continue = function () { - if (this.parent && this.pause) { - this.show = true; - this.pause = false; - this.parent.refresh(); - } - }; - WalkthroughContainerComponent.prototype.open = function () { - // change markerUrl on Safari - // related to - // https://gist.github.com/leonderijke/c5cf7c5b2e424c0061d2 - // http://stackoverflow.com/a/18265336/796152 - // http://www.w3.org/TR/SVG/linking.html - if (is_safari) { - this.markerUrl = 'url(' + window.location.href + '#wkt-arrow)'; - } - this.show = true; - }; - WalkthroughContainerComponent.prototype.previous = function () { - this.close(false, false); - // we check if previous walkthrough is not disabled - var current = this.parent; - while (current) { - if (current.previousStep && !current.previousStep.disabled) { - current.loadPrevioustStep(); - return; - } - else { - if (!current.previousStep) { - break; - } - current = current.previousStep; - } - } - // no more previous walkthrough enabled, we quit the walkthrough - this.parent = current; - this.close(true, true); - }; - WalkthroughContainerComponent.prototype.next = function () { - this.close(false, false); - // we check if next walkthrough is not disabled - var current = this.parent; - while (current) { - if (current.nextStep && !current.nextStep.disabled) { - current.loadNextStep(); - return; - } - else { - if (!current.nextStep) { - break; - } - current = current.nextStep; - } - } - // no more next walkthrough enabled, we quit the walkthrough - this.parent = current; - this.close(true, true); - }; - WalkthroughContainerComponent.prototype.close = function (finishLink, closeWalkthrough) { - if (finishLink === void 0) { finishLink = false; } - if (closeWalkthrough === void 0) { closeWalkthrough = true; } - // remove content - this._portalHost.dispose(); - // hide - this.show = false; - if (this.parent) { - this.parent.hide(finishLink, closeWalkthrough); - } - }; - WalkthroughContainerComponent.ctorParameters = function () { return [ - { type: _angular_core__WEBPACK_IMPORTED_MODULE_3__["ViewContainerRef"] }, - { type: _walkthrough_service__WEBPACK_IMPORTED_MODULE_7__["WalkthroughService"] }, - { type: _angular_core__WEBPACK_IMPORTED_MODULE_3__["Renderer2"] }, - { type: _angular_core__WEBPACK_IMPORTED_MODULE_3__["ElementRef"] } - ]; }; - WalkthroughContainerComponent.propDecorators = { - _portalHost: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__["ViewChild"], args: [_angular_cdk_portal__WEBPACK_IMPORTED_MODULE_2__["PortalHostDirective"],] }], - content: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__["ViewChild"], args: ['content',] }], - contentBlock: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__["ViewChild"], args: ['contentBlock',] }], - zone: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__["ViewChild"], args: ['zone',] }], - id: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__["HostBinding"], args: ['attr.id',] }], - hide: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__["HostBinding"], args: ['class.hide',] }], - cursor: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__["HostBinding"], args: ['class.cursor',] }], - backdrop: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__["HostBinding"], args: ['class.backdrop',] }], - click: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_3__["HostListener"], args: ['click',] }] - }; - WalkthroughContainerComponent = __decorate([ - Object(_angular_core__WEBPACK_IMPORTED_MODULE_3__["Component"])({ - selector: 'walkthrough-container', - template: _raw_loader_walkthrough_container_component_html__WEBPACK_IMPORTED_MODULE_1__["default"], - styles: [_walkthrough_container_component_scss__WEBPACK_IMPORTED_MODULE_0__["default"]] - }), - __metadata("design:paramtypes", [_angular_core__WEBPACK_IMPORTED_MODULE_3__["ViewContainerRef"], - _walkthrough_service__WEBPACK_IMPORTED_MODULE_7__["WalkthroughService"], - _angular_core__WEBPACK_IMPORTED_MODULE_3__["Renderer2"], - _angular_core__WEBPACK_IMPORTED_MODULE_3__["ElementRef"]]) - ], WalkthroughContainerComponent); - return WalkthroughContainerComponent; -}(_angular_cdk_portal__WEBPACK_IMPORTED_MODULE_2__["BasePortalHost"])); - - - -/***/ }), - -/***/ "AytR": -/*!*****************************************!*\ - !*** ./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; }); -// This file can be replaced during build by using the `fileReplacements` array. -// `ng build ---prod` replaces `environment.ts` with `environment.prod.ts`. -// The list of file replacements can be found in `angular.json`. -var environment = { - production: false -}; -/* - * In development mode, to ignore zone related error stack frames such as - * `zone.run`, `zoneDelegate.invokeTask` for easier debugging, you can - * import the following file, but please comment it out in production mode - * because it will have performance impact when throw error - */ -// import 'zone.js/dist/zone-error'; // Included with Angular CLI. - - -/***/ }), - -/***/ "HM+k": -/*!****************************************************************************!*\ - !*** ./projects/angular-walkthrough/src/lib/walkthrough-flow.component.ts ***! - \****************************************************************************/ -/*! exports provided: WalkthroughFlowComponent */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "WalkthroughFlowComponent", function() { return WalkthroughFlowComponent; }); -/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL"); -/* harmony import */ var _walkthrough_tools__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./walkthrough-tools */ "Oyit"); -/* harmony import */ var _walkthrough_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./walkthrough.component */ "nDcv"); -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 nextUniqueId = 0; -var WalkthroughFlowComponent = /** @class */ (function () { - function WalkthroughFlowComponent() { - this.closed = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"](); - this.finished = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"](); - this.contentStyle = 'draken'; - this.marginZone = null; - this._uid = "walkthrough-flow-" + nextUniqueId++; - } - Object.defineProperty(WalkthroughFlowComponent.prototype, "id", { - get: function () { return this._id; }, - set: function (value) { this._id = value || this._uid; }, - enumerable: false, - configurable: true - }); - WalkthroughFlowComponent.prototype.ngAfterViewInit = function () { - var _this = this; - setTimeout(function () { - _this.init(); - }, 0); - }; - WalkthroughFlowComponent.prototype.init = function () { - var _this = this; - var prevComp = null; - this.walkthroughComponents.forEach(function (walkthrough) { - // navigation auto (ignore previousStep/nextStep on the WalkthroughComponent) - if (prevComp) { - walkthrough.previousStep = prevComp; - prevComp.nextStep = walkthrough; - } - prevComp = walkthrough; - // transmition (only if different from default) - if (_this.closed) { - walkthrough.closed = _this.closed; - } - if (_this.finished) { - walkthrough.finished = _this.finished; - } - if (!walkthrough.contentStyle && _this.contentStyle) { - walkthrough.contentStyle = _this.contentStyle; - } - if (!walkthrough.arrowColor && _this.arrowColor) { - walkthrough.arrowColor = _this.arrowColor; - } - if (!walkthrough.marginZone && _this.marginZone) { - walkthrough.marginZone = _this.marginZone; - } - if (!walkthrough.showArrow && Object(_walkthrough_tools__WEBPACK_IMPORTED_MODULE_1__["booleanValue"])(_this.showArrow)) { - walkthrough.showArrow = _this.showArrow; - } - if (!walkthrough.rootElement && _this.rootElement) { - walkthrough.rootElement = _this.rootElement; - } - if (!walkthrough.closeButton && Object(_walkthrough_tools__WEBPACK_IMPORTED_MODULE_1__["booleanValue"])(_this.closeButton)) { - walkthrough.closeButton = _this.closeButton; - } - if (walkthrough.closeAnywhere && !Object(_walkthrough_tools__WEBPACK_IMPORTED_MODULE_1__["booleanValue"])(_this.closeAnywhere)) { - walkthrough.closeAnywhere = _this.closeAnywhere; - } - if (!walkthrough.finishButton && Object(_walkthrough_tools__WEBPACK_IMPORTED_MODULE_1__["booleanValue"])(_this.finishButton)) { - walkthrough.finishButton = _this.finishButton; - } - if (!walkthrough.focusBackdrop && Object(_walkthrough_tools__WEBPACK_IMPORTED_MODULE_1__["booleanValue"])(_this.focusBackdrop)) { - walkthrough.focusBackdrop = _this.focusBackdrop; - } - if (!walkthrough.focusGlow && Object(_walkthrough_tools__WEBPACK_IMPORTED_MODULE_1__["booleanValue"])(_this.focusGlow)) { - walkthrough.focusGlow = _this.focusGlow; - } - if (!walkthrough.radius && _this.radius) { - walkthrough.radius = _this.radius; - } - if (!walkthrough.texts && _this.texts) { - walkthrough.texts = _this.texts; - } - }); - // navigation auto (close on last step) - prevComp.finishButton = true; - }; - WalkthroughFlowComponent.prototype.start = function () { - this.walkthroughComponents.first.open(); - }; - WalkthroughFlowComponent.ctorParameters = function () { return []; }; - WalkthroughFlowComponent.propDecorators = { - walkthroughComponents: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChildren"], args: [_walkthrough_component__WEBPACK_IMPORTED_MODULE_2__["WalkthroughComponent"],] }], - id: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"] }], - closed: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"] }], - finished: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"] }], - contentStyle: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"] }], - arrowColor: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"] }], - marginZone: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"] }], - showArrow: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"] }], - rootElement: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"] }], - closeButton: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"] }], - closeAnywhere: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"] }], - finishButton: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"] }], - focusBackdrop: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"] }], - focusGlow: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"] }], - radius: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"] }], - texts: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"] }] - }; - WalkthroughFlowComponent = __decorate([ - Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({ - selector: 'ng-walkthrough-flow', - template: '' - }), - __metadata("design:paramtypes", []) - ], WalkthroughFlowComponent); - return WalkthroughFlowComponent; -}()); - - - -/***/ }), - -/***/ "Oyit": -/*!*******************************************************************!*\ - !*** ./projects/angular-walkthrough/src/lib/walkthrough-tools.ts ***! - \*******************************************************************/ -/*! exports provided: booleanValue, WalkthroughEvent, WalkthroughMargin */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "booleanValue", function() { return booleanValue; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "WalkthroughEvent", function() { return WalkthroughEvent; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "WalkthroughMargin", function() { return WalkthroughMargin; }); -var booleanValue = function (value) { - return value === 'true' || value === true; -}; -var WalkthroughEvent = /** @class */ (function () { - function WalkthroughEvent(component, focusElement) { - this.component = component; - this.focusElement = focusElement; - } - return WalkthroughEvent; -}()); - -var WalkthroughMargin = /** @class */ (function () { - function WalkthroughMargin(top, right, bottom, left) { - if (top === void 0) { top = 0; } - this.top = top; - this.right = right; - this.bottom = bottom; - this.left = left; - if (right === undefined) { - this.right = top; - } - if (bottom === undefined) { - this.bottom = top; - } - if (left === undefined && right === undefined) { - this.left = top; - } - else if (left === undefined) { - this.left = right; - } - } - WalkthroughMargin.parsePoints = function (points) { - var pointsPx; - if (points.match(/^\d+(?:\s+\d+)*$/)) { - var split = points.split(/\s+/).map(function (i) { return parseFloat(i); }); - pointsPx = new WalkthroughMargin(split[0], split[1], split[2], split[3]); - } - return pointsPx || new WalkthroughMargin(); - }; - return WalkthroughMargin; -}()); - - - -/***/ }), - -/***/ "P9v0": -/*!*********************************************************************!*\ - !*** ./projects/angular-walkthrough/src/lib/walkthrough.service.ts ***! - \*********************************************************************/ -/*! exports provided: WalkthroughService */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "WalkthroughService", function() { return WalkthroughService; }); -/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL"); -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 WalkthroughService = /** @class */ (function () { - function WalkthroughService() { - this._overflowRegex = /(auto|scroll)/; - } - WalkthroughService.prototype.retrieveCoordinates = function (element, margin) { - var clientrect = element.getBoundingClientRect(); - var style = window.getComputedStyle(element); - var coordinates = { - top: clientrect.top - (margin ? margin.top : 0), - height: clientrect.height, - width: clientrect.width, - left: clientrect.left - (margin ? margin.left : 0), - margin: { - top: parseFloat(style.marginTop), - right: parseFloat(style.marginRight), - bottom: parseFloat(style.marginBottom), - left: parseFloat(style.marginLeft), - } - }; - coordinates.top += this.getTop(); - return coordinates; - }; - WalkthroughService.prototype.getTop = function () { - return window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop; - }; - WalkthroughService.prototype.getDocumentHeight = function () { - // Height of entire body : https://stackoverflow.com/a/1147768 - var body_height = Math.max(document.body.scrollHeight, document.body.offsetHeight, document.documentElement.clientHeight, document.documentElement.scrollHeight, document.documentElement.offsetHeight); - return Math.max(this.getHeightOfPage() + this.getTop(), body_height); - }; - WalkthroughService.prototype.scrollIntoViewIfOutOfView = function (element) { - var topOfPage = this.getTop(); - var heightOfPage = this.getHeightOfPage(); - var elementY = 0; - var elementH = 0; - var parent = element; - while (parent && parent !== document.body) { - elementY += parent.offsetTop; - parent = parent.offsetParent; - } - elementH = element.offsetHeight; - if ((topOfPage + heightOfPage) < (elementY + elementH)) { - element.scrollIntoView(false); - } - else if (elementY < topOfPage) { - element.scrollIntoView(true); - window.scrollBy(0, -30); - } - else { - // test of overflow element - var current = element; - while (current && current !== document.body) { - parent = this.getScrollParent(current); - if (current.offsetTop + current.offsetHeight - parent.scrollTop > parent.offsetHeight || - current.offsetLeft + current.offsetWidth - parent.scrollLeft > parent.offsetWidth) { - element.scrollIntoView(); - window.scrollBy(0, -30); - break; - } - current = parent; - } - } - }; - WalkthroughService.prototype.getScrollParent = function (element) { - var scrollParent; - var style = getComputedStyle(element); - var excludeStaticParent = style.position === 'absolute'; - if (style.position !== 'fixed') { - var parent_1 = element.parentElement; - while (parent_1 && parent_1 !== document.body) { - style = getComputedStyle(parent_1); - if (!(excludeStaticParent && style.position === 'static') && - this._overflowRegex.test(style.overflow + style.overflowY + style.overflowX)) { - scrollParent = parent_1; - break; - } - parent_1 = parent_1.parentElement; - } - } - return scrollParent || document.body; - }; - WalkthroughService.prototype.getHeightOfPage = function () { - return window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight; - }; - WalkthroughService = __decorate([ - Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"])() - ], WalkthroughService); - return WalkthroughService; -}()); - - - -/***/ }), - -/***/ "RqY2": -/*!****************************************************************************!*\ - !*** ./projects/angular-walkthrough/src/lib/angular-walkthrough.module.ts ***! - \****************************************************************************/ -/*! exports provided: WalkthroughModule */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "WalkthroughModule", function() { return WalkthroughModule; }); -/* harmony import */ var _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/cdk/portal */ "+rOU"); -/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ "ofXK"); -/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ "fXoL"); -/* harmony import */ var _walkthrough_container_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./walkthrough-container.component */ "6S10"); -/* harmony import */ var _walkthrough_flow_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./walkthrough-flow.component */ "HM+k"); -/* harmony import */ var _walkthrough_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./walkthrough.component */ "nDcv"); -/* harmony import */ var _walkthrough_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./walkthrough.service */ "P9v0"); -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 WalkthroughModule = /** @class */ (function () { - function WalkthroughModule() { - } - WalkthroughModule = __decorate([ - Object(_angular_core__WEBPACK_IMPORTED_MODULE_2__["NgModule"])({ - imports: [ - _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"], - _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_0__["PortalModule"] - ], - declarations: [ - _walkthrough_flow_component__WEBPACK_IMPORTED_MODULE_4__["WalkthroughFlowComponent"], - _walkthrough_component__WEBPACK_IMPORTED_MODULE_5__["WalkthroughComponent"], - _walkthrough_container_component__WEBPACK_IMPORTED_MODULE_3__["WalkthroughContainerComponent"] - ], - exports: [ - _walkthrough_flow_component__WEBPACK_IMPORTED_MODULE_4__["WalkthroughFlowComponent"], - _walkthrough_component__WEBPACK_IMPORTED_MODULE_5__["WalkthroughComponent"], - _walkthrough_container_component__WEBPACK_IMPORTED_MODULE_3__["WalkthroughContainerComponent"] - ], - entryComponents: [ - _walkthrough_container_component__WEBPACK_IMPORTED_MODULE_3__["WalkthroughContainerComponent"] - ], - providers: [ - _walkthrough_service__WEBPACK_IMPORTED_MODULE_6__["WalkthroughService"] - ] - }) - ], WalkthroughModule); - return WalkthroughModule; -}()); - - - -/***/ }), - -/***/ "Sy1n": -/*!**********************************!*\ - !*** ./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 _raw_loader_app_component_html__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! raw-loader!./app.component.html */ "VzVu"); -/* harmony import */ var _app_component_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./app.component.scss */ "ynWL"); -/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ "fXoL"); -/* harmony import */ var projects_angular_walkthrough_src_public_api__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! projects/angular-walkthrough/src/public_api */ "T+kr"); -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 AppComponent = /** @class */ (function () { - function AppComponent() { - this.frenchText = { - previous: 'Précédent', - next: 'Suivant', - close: 'Fermer' - }; - this.testClickCount = 0; - this.testClickTexts = ['click me', 'it\'s ok!', 'realy ok', 'ok ok...', 'stop that!']; - this.testPosition = 'center'; - this.alignContent = 'left'; - this.verticalAlignContent = 'top'; - this.valignHeight = '600px'; - this.contentSpacing = 200; - this.verticalContentSpacing = 50; - // disabled flags - this.step1flowDisabled = false; - this.step2flowDisabled = false; - this.step3flowDisabled = false; - this.step4flowDisabled = false; - this.hideCount = 3; - this._count = 3; - this._start = false; - this._listener = []; - this._listener.push(projects_angular_walkthrough_src_public_api__WEBPACK_IMPORTED_MODULE_3__["WalkthroughComponent"].onOpen.subscribe(function (compt) { - console.group('open'); - console.log('onOpen:', compt.id); - console.groupEnd(); - }), projects_angular_walkthrough_src_public_api__WEBPACK_IMPORTED_MODULE_3__["WalkthroughComponent"].onClose.subscribe(function (compt) { - console.group('close'); - console.log('onClose:', compt.id); - console.groupEnd(); - }), projects_angular_walkthrough_src_public_api__WEBPACK_IMPORTED_MODULE_3__["WalkthroughComponent"].onFinish.subscribe(function (compt) { - console.group('finish (close on the last step)'); - console.log('onFinish:', compt.id); - console.groupEnd(); - }), projects_angular_walkthrough_src_public_api__WEBPACK_IMPORTED_MODULE_3__["WalkthroughComponent"].onRefresh.subscribe(function (compt) { - console.group('refresh'); - console.log('onRefresh:', compt.id); - console.groupEnd(); - }), projects_angular_walkthrough_src_public_api__WEBPACK_IMPORTED_MODULE_3__["WalkthroughComponent"].onNavigate.subscribe(function (compt) { - console.group('navigate'); - console.log('onNavigate:', compt.previous.id, '→', compt.next.id); - }), projects_angular_walkthrough_src_public_api__WEBPACK_IMPORTED_MODULE_3__["WalkthroughComponent"].onNavigateNext.subscribe(function (compt) { - console.log('onNavigateNext:', compt.previous.id, '→', compt.next.id); - console.groupEnd(); - }), projects_angular_walkthrough_src_public_api__WEBPACK_IMPORTED_MODULE_3__["WalkthroughComponent"].onNavigatePrevious.subscribe(function (compt) { - console.log('onNavigatePrevious:', compt.previous.id, '→', compt.next.id); - console.groupEnd(); - })); - } - Object.defineProperty(AppComponent.prototype, "isMobile", { - get: function () { - return window.innerWidth < 768; - }, - enumerable: false, - configurable: true - }); - AppComponent.prototype.ngOnInit = function () { - // for test: onContainerInit - // this.walk1.open(); - }; - AppComponent.prototype.buttonAction = function () { - if (this.testClickCount < this.testClickTexts.length - 1) { - this.testClickCount++; - } - }; - AppComponent.prototype.focusClickAction = function (event, contenaire) { - contenaire.next(); - }; - AppComponent.prototype.walk3IsReady = function (event) { - // tslint:disable-next-line:no-console - console.log('walk3IsReady', event); - setTimeout(function () { - event.component.arrowColor = 'red'; - }, 1000); - setTimeout(function () { - event.component.arrowColor = 'blue'; - }, 2000); - setTimeout(function () { - event.component.arrowColor = 'yellow'; - }, 3000); - }; - AppComponent.prototype.hideWalkthrough = function () { - var _this = this; - if (this.hideCount === this._count && !this._start) { - this._start = true; - var int_1 = setInterval(function () { - _this.hideCount--; - if (_this.hideCount === 0) { - clearInterval(int_1); - if (projects_angular_walkthrough_src_public_api__WEBPACK_IMPORTED_MODULE_3__["WalkthroughComponent"].walkthroughHasShow() && !projects_angular_walkthrough_src_public_api__WEBPACK_IMPORTED_MODULE_3__["WalkthroughComponent"].walkthroughHasPause()) { - projects_angular_walkthrough_src_public_api__WEBPACK_IMPORTED_MODULE_3__["WalkthroughComponent"].walkthroughStop(); - } - else { - console.warn('Not walkthrough showing'); - _this._start = false; - _this.hideCount = _this._count; - } - } - }, 1000); - } - else if (this.hideCount === 0) { - this._start = false; - this.hideCount = this._count; - projects_angular_walkthrough_src_public_api__WEBPACK_IMPORTED_MODULE_3__["WalkthroughComponent"].walkthroughContinue(); - } - }; - AppComponent.prototype.walk1Closed = function (finishButton) { - // tslint:disable-next-line:no-console - console.log('walk1 has been closed with value : ' + (finishButton ? 'true' : 'false')); - }; - AppComponent.prototype.walk1Finished = function () { - // tslint:disable-next-line:no-console - console.log('walk1 has been finished'); - }; - AppComponent.prototype.flowClosed = function (finishButton) { - // tslint:disable-next-line:no-console - console.log('flow has been closed with value : ' + (finishButton ? 'true' : 'false')); - }; - AppComponent.prototype.flowFinished = function () { - // tslint:disable-next-line:no-console - console.log('flow has been finished'); - }; - AppComponent.prototype.pause = function () { - projects_angular_walkthrough_src_public_api__WEBPACK_IMPORTED_MODULE_3__["WalkthroughComponent"].walkthroughStop(); - }; - AppComponent.prototype.continue = function () { - projects_angular_walkthrough_src_public_api__WEBPACK_IMPORTED_MODULE_3__["WalkthroughComponent"].walkthroughContinue(); - }; - AppComponent.prototype.rename = function () { - var list = document.querySelectorAll('.rename'); - list.forEach(function (elt) { - if (elt.id.endsWith('-rename')) { - elt.id = elt.id.replace('-rename', ''); - } - else { - elt.id += '-rename'; - } - }); - }; - AppComponent.prototype.ngOnDestroy = function () { - for (var _i = 0, _a = this._listener; _i < _a.length; _i++) { - var list = _a[_i]; - list.unsubscribe(); - } - }; - AppComponent.ctorParameters = function () { return []; }; - AppComponent.propDecorators = { - walk1: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_2__["ViewChild"], args: ['walk1',] }] - }; - AppComponent = __decorate([ - Object(_angular_core__WEBPACK_IMPORTED_MODULE_2__["Component"])({ - selector: 'app-root', - template: _raw_loader_app_component_html__WEBPACK_IMPORTED_MODULE_0__["default"], - styles: [_app_component_scss__WEBPACK_IMPORTED_MODULE_1__["default"]] - }), - __metadata("design:paramtypes", []) - ], AppComponent); - return AppComponent; -}()); - - - -/***/ }), - -/***/ "T+kr": -/*!********************************************************!*\ - !*** ./projects/angular-walkthrough/src/public_api.ts ***! - \********************************************************/ -/*! exports provided: throwWalkthroughContentAlreadyAttachedError, WalkthroughContainerComponent, WalkthroughFlowComponent, WalkthroughText, booleanValue, WalkthroughEvent, WalkthroughMargin, WalkthroughComponent, WalkthroughService, WalkthroughModule */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony import */ var _lib_walkthrough_container_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./lib/walkthrough-container.component */ "6S10"); -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "throwWalkthroughContentAlreadyAttachedError", function() { return _lib_walkthrough_container_component__WEBPACK_IMPORTED_MODULE_0__["throwWalkthroughContentAlreadyAttachedError"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "WalkthroughContainerComponent", function() { return _lib_walkthrough_container_component__WEBPACK_IMPORTED_MODULE_0__["WalkthroughContainerComponent"]; }); - -/* harmony import */ var _lib_walkthrough_flow_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./lib/walkthrough-flow.component */ "HM+k"); -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "WalkthroughFlowComponent", function() { return _lib_walkthrough_flow_component__WEBPACK_IMPORTED_MODULE_1__["WalkthroughFlowComponent"]; }); - -/* harmony import */ var _lib_walkthrough_text__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./lib/walkthrough-text */ "j1lR"); -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "WalkthroughText", function() { return _lib_walkthrough_text__WEBPACK_IMPORTED_MODULE_2__["WalkthroughText"]; }); - -/* harmony import */ var _lib_walkthrough_tools__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./lib/walkthrough-tools */ "Oyit"); -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "booleanValue", function() { return _lib_walkthrough_tools__WEBPACK_IMPORTED_MODULE_3__["booleanValue"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "WalkthroughEvent", function() { return _lib_walkthrough_tools__WEBPACK_IMPORTED_MODULE_3__["WalkthroughEvent"]; }); - -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "WalkthroughMargin", function() { return _lib_walkthrough_tools__WEBPACK_IMPORTED_MODULE_3__["WalkthroughMargin"]; }); - -/* harmony import */ var _lib_walkthrough_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./lib/walkthrough.component */ "nDcv"); -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "WalkthroughComponent", function() { return _lib_walkthrough_component__WEBPACK_IMPORTED_MODULE_4__["WalkthroughComponent"]; }); - -/* harmony import */ var _lib_walkthrough_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./lib/walkthrough.service */ "P9v0"); -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "WalkthroughService", function() { return _lib_walkthrough_service__WEBPACK_IMPORTED_MODULE_5__["WalkthroughService"]; }); - -/* harmony import */ var _lib_angular_walkthrough_module__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./lib/angular-walkthrough.module */ "RqY2"); -/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "WalkthroughModule", function() { return _lib_angular_walkthrough_module__WEBPACK_IMPORTED_MODULE_6__["WalkthroughModule"]; }); - -/* - * Public API Surface of angular-walkthrough - */ - - - - - - - - - -/***/ }), - -/***/ "VzVu": -/*!**************************************************************************!*\ - !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/app.component.html ***! - \**************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony default export */ __webpack_exports__["default"] = ("
\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 \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Col 1Col 2Col 3
123
butternutbutterflybuttermilk
doubeurrepapillon de jourbabeurre
\n\n
\n \n
\n\n
\n \n\n \n \n
\n
\n\n\n \n

\n 1. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque varius blandit dolor, sit amet condimentum eros vulputate\n sed. Aenean maximus dui a lobortis pharetra. Suspendisse potenti. Nulla facilisi. Suspendisse potenti. Integer porta\n nec arcu molestie sodales. Pellentesque et diam tellus. Quisque at nisi id neque tempus varius. Donec vestibulum nisi\n ac risus laoreet lobortis. Cras tristique et sem mollis vehicula. Nulla maximus urna a leo consectetur, at fringilla\n odio volutpat. Praesent ultricies nunc eget tellus convallis, non hendrerit augue semper. Maecenas elit ex, lobortis\n at sapien sed, fermentum volutpat sem.\n

\n
\n
\n\n \n

\n 1b. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque varius blandit dolor, sit amet condimentum eros vulputate\n sed. Aenean maximus dui a lobortis pharetra. Suspendisse potenti. Nulla facilisi. Suspendisse potenti. Integer porta\n nec arcu molestie sodales. Pellentesque et diam tellus. Quisque at nisi id neque tempus varius. Donec vestibulum nisi\n ac risus laoreet lobortis. Cras tristique et sem mollis vehicula. Nulla maximus urna a leo consectetur, at fringilla\n odio volutpat. Praesent ultricies nunc eget tellus convallis, non hendrerit augue semper. Maecenas elit ex, lobortis\n at sapien sed, fermentum volutpat sem.\n

\n
\n
\n\n\n\n \n

\n 2. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque varius blandit dolor, sit amet condimentum eros vulputate\n sed. Aenean maximus dui a lobortis pharetra. Suspendisse potenti. Nulla facilisi. Suspendisse potenti. Integer porta\n nec arcu molestie sodales. Pellentesque et diam tellus. Quisque at nisi id neque tempus varius. Donec vestibulum nisi\n ac risus laoreet lobortis. Cras tristique et sem mollis vehicula. Nulla maximus urna a leo consectetur, at fringilla\n odio volutpat. Praesent ultricies nunc eget tellus convallis, non hendrerit augue semper. Maecenas elit ex, lobortis\n at sapien sed, fermentum volutpat sem.\n

\n
\n
\n\n \n

\n 3. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque varius blandit dolor, sit amet condimentum eros vulputate\n sed. Aenean maximus dui a lobortis pharetra. Suspendisse potenti. Nulla facilisi. Suspendisse potenti. Integer porta\n nec arcu molestie sodales. Pellentesque et diam tellus. Quisque at nisi id neque tempus varius. Donec vestibulum nisi\n ac risus laoreet lobortis. Cras tristique et sem mollis vehicula. Nulla maximus urna a leo consectetur, at fringilla\n odio volutpat. Praesent ultricies nunc eget tellus convallis, non hendrerit augue semper. Maecenas elit ex, lobortis\n at sapien sed, fermentum volutpat sem.\n

\n
\n
\n\n \n

\n 4. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque varius blandit dolor, sit amet condimentum eros vulputate\n sed. Aenean maximus dui a lobortis pharetra. Suspendisse potenti. Nulla facilisi. Suspendisse potenti. Integer porta\n nec arcu molestie sodales. Pellentesque et diam tellus. Quisque at nisi id neque tempus varius. Donec vestibulum nisi\n ac risus laoreet lobortis. Cras tristique et sem mollis vehicula. Nulla maximus urna a leo consectetur, at fringilla\n odio volutpat. Praesent ultricies nunc eget tellus convallis, non hendrerit augue semper. Maecenas elit ex, lobortis\n at sapien sed, fermentum volutpat sem.\n

\n
\n
\n\n\n \n
\n

alignContent {{ alignContent }}

\n

verticalAlignContent {{ verticalAlignContent }}

\n

contentSpacing\n \n

\n

verticalContentSpacing\n \n

\n alignContent value :\n
\n \n \n \n
\n verticalAlignContent value :\n
\n \n \n \n \n \n
\n
\n
\n
\n\n\n \n

\n Look this.\n

\n
\n \n
\n
\n \n \n \n
\n
\n
\n\n\n \n

\n mobile: win < 768px ; desktop: win ≥ 768px\n
current: {{isMobile ? 'mobile' : 'desktop' }}\n

\n
\n
\n\n\n \n \n

\n This step is {{ step1flowDisabled ? 'disabled' : 'enabled' }}\n

\n

\n \n

\n

\n 1f. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque varius blandit dolor, sit amet condimentum eros vulputate\n sed. Aenean maximus dui a lobortis pharetra. Suspendisse potenti. Nulla facilisi. Suspendisse potenti. Integer porta\n nec arcu molestie sodales. Pellentesque et diam tellus. Quisque at nisi id neque tempus varius. Donec vestibulum\n nisi ac risus laoreet lobortis. Cras tristique et sem mollis vehicula. Nulla maximus urna a leo consectetur, at fringilla\n odio volutpat. Praesent ultricies nunc eget tellus convallis, non hendrerit augue semper. Maecenas elit ex, lobortis\n at sapien sed, fermentum volutpat sem.\n

\n
\n
\n \n \n

\n This step is {{ step2flowDisabled ? 'disabled' : 'enabled' }}\n

\n

\n \n

\n

\n \n

\n

\n 2f. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque varius blandit dolor, sit amet condimentum eros vulputate\n sed. Aenean maximus dui a lobortis pharetra. Suspendisse potenti. Nulla facilisi. Suspendisse potenti. Integer porta\n nec arcu molestie sodales. Pellentesque et diam tellus. Quisque at nisi id neque tempus varius. Donec vestibulum\n nisi ac risus laoreet lobortis. Cras tristique et sem mollis vehicula. Nulla maximus urna a leo consectetur, at fringilla\n odio volutpat. Praesent ultricies nunc eget tellus convallis, non hendrerit augue semper. Maecenas elit ex, lobortis\n at sapien sed, fermentum volutpat sem.\n

\n
\n
\n \n \n

\n This step is {{ step3flowDisabled ? 'disabled' : 'enabled' }}\n

\n

\n \n

\n

\n 3f. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque varius blandit dolor, sit amet condimentum eros vulputate\n sed. Aenean maximus dui a lobortis pharetra. Suspendisse potenti. Nulla facilisi. Suspendisse potenti. Integer porta\n nec arcu molestie sodales. Pellentesque et diam tellus. Quisque at nisi id neque tempus varius. Donec vestibulum\n nisi ac risus laoreet lobortis. Cras tristique et sem mollis vehicula. Nulla maximus urna a leo consectetur, at fringilla\n odio volutpat. Praesent ultricies nunc eget tellus convallis, non hendrerit augue semper. Maecenas elit ex, lobortis\n at sapien sed, fermentum volutpat sem.\n

\n
\n
\n \n \n

\n No focusElementSelector\n

\n

\n This step is {{ step4flowDisabled ? 'disabled' : 'enabled' }}\n

\n

\n \n

\n

\n 4g. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque varius blandit dolor, sit amet condimentum eros vulputate\n sed. Aenean maximus dui a lobortis pharetra. Suspendisse potenti. Nulla facilisi. Suspendisse potenti. Integer porta\n nec arcu molestie sodales. Pellentesque et diam tellus. Quisque at nisi id neque tempus varius. Donec vestibulum\n nisi ac risus laoreet lobortis. Cras tristique et sem mollis vehicula. Nulla maximus urna a leo consectetur, at fringilla\n odio volutpat. Praesent ultricies nunc eget tellus convallis, non hendrerit augue semper. Maecenas elit ex, lobortis\n at sapien sed, fermentum volutpat sem.\n

\n
\n
\n
"); - -/***/ }), - -/***/ "ZAI4": -/*!*******************************!*\ - !*** ./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 _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "fXoL"); -/* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/platform-browser */ "jhN1"); -/* harmony import */ var projects_angular_walkthrough_src_public_api__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! projects/angular-walkthrough/src/public_api */ "T+kr"); -/* harmony import */ var _app_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./app.component */ "Sy1n"); -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_0__["NgModule"])({ - declarations: [ - _app_component__WEBPACK_IMPORTED_MODULE_3__["AppComponent"] - ], - imports: [ - projects_angular_walkthrough_src_public_api__WEBPACK_IMPORTED_MODULE_2__["WalkthroughModule"], - _angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__["BrowserModule"] - ], - providers: [], - bootstrap: [_app_component__WEBPACK_IMPORTED_MODULE_3__["AppComponent"]] - }) - ], AppModule); - return AppModule; -}()); - - - -/***/ }), - -/***/ "dqjX": -/*!***********************************************************************************!*\ - !*** ./projects/angular-walkthrough/src/lib/walkthrough-container.component.scss ***! - \***********************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony default export */ __webpack_exports__["default"] = (":host {\n display: block;\n position: absolute;\n z-index: 1;\n top: 0;\n left: 0;\n width: 99.9%;\n min-height: 100%;\n}\n:host.hide {\n display: none;\n}\n:host.cursor {\n cursor: pointer;\n}\n:host.backdrop {\n background-color: rgba(0, 0, 0, 0.6);\n}\nbutton {\n background: none;\n border: 0;\n color: #FFF;\n}\n.wkt-zone {\n position: absolute;\n}\n.wkt-zone.hide {\n display: none;\n}\n.wkt-zone.backdrop {\n box-shadow: 0 0 0 2200px rgba(0, 0, 0, 0.6);\n}\n.wkt-zone.glow {\n box-shadow: 0 0 4px 2px #FFFF66, 0 0 9px 0 #FFFF66, 0 0 36px #FFFF66;\n}\n.wkt-zone.clickable {\n cursor: pointer;\n}\n.wkt-zone.highlight {\n -webkit-animation: highlight 0.45s 4;\n animation: highlight 0.45s 4;\n}\n.wkt-container {\n position: relative;\n}\n.wkt-content-block {\n position: absolute;\n margin: 1em;\n padding: 6px;\n z-index: 1;\n color: #FFF;\n min-width: calc(320px - 2em);\n}\n.wkt-content-block.hide {\n display: none;\n}\n.wkt-content-block.darken {\n background-color: rgba(0, 0, 0, 0.6);\n}\n.wkt-close + .wkt-content {\n margin-top: 1.3em;\n}\n.wkt-close {\n position: absolute;\n right: 1em;\n cursor: pointer;\n}\n.wkt-navigate {\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n}\n.wkt-navigate > button {\n padding: 6px;\n font-size: 120%;\n}\n.wkt-navigate > button:hover {\n cursor: pointer;\n text-decoration: underline;\n}\n.wkt-previous-link::before {\n content: \"<< \";\n}\n.wkt-next-link::after {\n content: \" >>\";\n}\ndiv.hide {\n display: none;\n}\nsvg {\n overflow: visible;\n position: absolute;\n top: -1px;\n left: -1px;\n border: 1px solid transparent;\n}\n#wkt-arrow > path {\n stroke-width: 0;\n}\n.wkt-arrow-path {\n stroke-width: 2px;\n fill: none;\n}\n@-webkit-keyframes highlight {\n 0% {\n background-color: none;\n }\n 50% {\n background-color: rgba(255, 255, 255, 0.8);\n }\n 100% {\n background-color: none;\n }\n}\n@keyframes highlight {\n 0% {\n background-color: none;\n }\n 50% {\n background-color: rgba(255, 255, 255, 0.8);\n }\n 100% {\n background-color: none;\n }\n}\n@media screen and (min-width: 1920px), screen and (min-height: 1920px) {\n .wkt-zone.backdrop {\n box-shadow: 0 0 0 4400px rgba(0, 0, 0, 0.6);\n }\n}\n@media screen and (min-width: 3840px), screen and (min-height: 3840px) {\n .wkt-zone.backdrop {\n box-shadow: 0 0 0 8800px rgba(0, 0, 0, 0.6);\n }\n}\n_:default:not(:root:root), .wkt-zone.backdrop {\n box-shad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GFkb3c6IDAgMCAwIDg4MDBweCByZ2JhKDAsIDAsIDAsIDAuNik7XG4gICAgfVxufVxuXG4vLyBbSEFDS10gU2FmYXJpIDkrIChub24taU9TKSA6IGJveC1zaGFkb3cgc2l6ZXMgb3ZlciAyMDAwcHggY2FuIGJlIHVucHJlZGljdGFibGVcblxuXzpkZWZhdWx0Om5vdCg6cm9vdDpyb290KSwgLndrdC16b25lLmJhY2tkcm9wIHtcbiAgICBib3gtc2hhZG93OiAwIDAgMCAyMDAwcHggcmdiYSgwLCAwLCAwLCAwLjYpICFpbXBvcnRhbnQ7XG59XG4iXX0= */"); - -/***/ }), - -/***/ "j1lR": -/*!******************************************************************!*\ - !*** ./projects/angular-walkthrough/src/lib/walkthrough-text.ts ***! - \******************************************************************/ -/*! exports provided: WalkthroughText */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "WalkthroughText", function() { return WalkthroughText; }); -var WalkthroughText = /** @class */ (function () { - function WalkthroughText() { - this.previous = 'Previous'; - this.next = 'Next'; - this.close = 'Close'; - } - return WalkthroughText; -}()); - - - -/***/ }), - -/***/ "nDcv": -/*!***********************************************************************!*\ - !*** ./projects/angular-walkthrough/src/lib/walkthrough.component.ts ***! - \***********************************************************************/ -/*! exports provided: WalkthroughComponent */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "WalkthroughComponent", function() { return WalkthroughComponent; }); -/* harmony import */ var _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/cdk/portal */ "+rOU"); -/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "fXoL"); -/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs */ "qCKp"); -/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/operators */ "kU1M"); -/* harmony import */ var _walkthrough_container_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./walkthrough-container.component */ "6S10"); -/* harmony import */ var _walkthrough_text__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./walkthrough-text */ "j1lR"); -/* harmony import */ var _walkthrough_tools__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./walkthrough-tools */ "Oyit"); -/* harmony import */ var _walkthrough_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./walkthrough.service */ "P9v0"); -var __assign = (undefined && undefined.__assign) || function () { - __assign = Object.assign || function(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); -}; -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 nextUniqueId = 0; -var noInstanceWarn = 'No instance of walkthroughContainer.'; -var anoterWktOnGoing = 'Another walkthrough is ongoing. Please close it before opening a new one.'; -var WalkthroughComponent = /** @class */ (function () { - function WalkthroughComponent(_componentFactoryResolver, _applicationRef, _injector, _renderer, _walkthroughService) { - var _this = this; - this._componentFactoryResolver = _componentFactoryResolver; - this._applicationRef = _applicationRef; - this._injector = _injector; - this._renderer = _renderer; - this._walkthroughService = _walkthroughService; - this.closed = new _angular_core__WEBPACK_IMPORTED_MODULE_1__["EventEmitter"](); - this.finished = new _angular_core__WEBPACK_IMPORTED_MODULE_1__["EventEmitter"](); - this.ready = new _angular_core__WEBPACK_IMPORTED_MODULE_1__["EventEmitter"](); - this.typeSelector = 'element'; - this.contentStyle = 'draken'; - this.animation = 'none'; - this.animationDelays = 0; - this.scrollOnTarget = true; - this._uid = "walkthrough-" + nextUniqueId++; - this._readyHasBeenEmited = false; - this._display = false; - this._hasHighlightAnimation = false; - this._hasBackdrop = false; - this._hasGlow = false; - this._hasFinish = false; - this._hasArrow = false; - this._hasCloseButton = false; - this._hasCloseAnywhere = true; - this._disabled = false; - this._marginZonePx = new _walkthrough_tools__WEBPACK_IMPORTED_MODULE_6__["WalkthroughMargin"](); - this._alignContent = 'left'; - this._verticalAlignContent = 'top'; - this._contentSpacing = 0; - this._verticalContentSpacing = 50; - this._onContainerInit = new rxjs__WEBPACK_IMPORTED_MODULE_2__["Subject"](); - this._onResize = new rxjs__WEBPACK_IMPORTED_MODULE_2__["Subject"](); - this._onResize.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["debounceTime"])(200)).subscribe(function () { - var instance = _this._getInstance(); - if (instance && instance.ongoing && _this._display) { - _this._elementLocations(); - setTimeout(function () { - _this._elementLocations(); - }, 200); - } - }); - } - WalkthroughComponent_1 = WalkthroughComponent; - Object.defineProperty(WalkthroughComponent.prototype, "marginZone", { - get: function () { return this._marginZone; }, - set: function (points) { - if (this._marginZone !== points) { - if (points === null) { - this._marginZone = null; - } - this._marginZonePx = _walkthrough_tools__WEBPACK_IMPORTED_MODULE_6__["WalkthroughMargin"].parsePoints(points); - if (this._marginZonePx !== null) { - this._marginZone = points; - } - } - }, - enumerable: false, - configurable: true - }); - Object.defineProperty(WalkthroughComponent.prototype, "arrowColor", { - get: function () { return this._arrowColor; }, - set: function (color) { - if (this._arrowColor !== color) { - this._arrowColor = color; - if (this._getInstance()) { - this._getInstance().arrowColor = this._arrowColor; - } - } - }, - enumerable: false, - configurable: true - }); - Object.defineProperty(WalkthroughComponent.prototype, "id", { - get: function () { return this._id; }, - set: function (value) { this._id = value || this._uid; }, - enumerable: false, - configurable: true - }); - Object.defineProperty(WalkthroughComponent.prototype, "alignContent", { - get: function () { - return this._alignContent; - }, - set: function (value) { - if (this._alignContent !== value) { - this._alignContent = value; - this._updateElementPositions(this._getInstance()); - } - else { - this._alignContent = value; - } - }, - enumerable: false, - configurable: true - }); - Object.defineProperty(WalkthroughComponent.prototype, "verticalAlignContent", { - get: function () { - return this._verticalAlignContent; - }, - set: function (value) { - if (this._verticalAlignContent !== value) { - this._verticalAlignContent = value; - this._updateElementPositions(this._getInstance()); - } - else { - this._verticalAlignContent = value; - } - }, - enumerable: false, - configurable: true - }); - Object.defineProperty(WalkthroughComponent.prototype, "contentSpacing", { - get: function () { - return this._contentSpacing; - }, - set: function (value) { - value = Math.max(WalkthroughComponent_1.minimalMargin, value); - if (this._contentSpacing !== value) { - this._contentSpacing = value * 1; - this._updateElementPositions(this._getInstance()); - } - else { - this._contentSpacing = value * 1; - } - }, - enumerable: false, - configurable: true - }); - Object.defineProperty(WalkthroughComponent.prototype, "verticalContentSpacing", { - get: function () { - return this._verticalContentSpacing; - }, - set: function (value) { - value = Math.max(WalkthroughComponent_1.minimalMargin, value); - if (this._verticalContentSpacing !== value) { - this._verticalContentSpacing = value * 1; - this._updateElementPositions(this._getInstance()); - } - else { - this._verticalContentSpacing = value * 1; - } - }, - enumerable: false, - configurable: true - }); - Object.defineProperty(WalkthroughComponent.prototype, "closeButton", { - get: function () { - return this._hasCloseButton; - }, - set: function (value) { - this._hasCloseButton = Object(_walkthrough_tools__WEBPACK_IMPORTED_MODULE_6__["booleanValue"])(value); - }, - enumerable: false, - configurable: true - }); - Object.defineProperty(WalkthroughComponent.prototype, "closeAnywhere", { - get: function () { - return this._hasCloseAnywhere; - }, - set: function (value) { - this._hasCloseAnywhere = Object(_walkthrough_tools__WEBPACK_IMPORTED_MODULE_6__["booleanValue"])(value); - }, - enumerable: false, - configurable: true - }); - Object.defineProperty(WalkthroughComponent.prototype, "showArrow", { - get: function () { - return this._hasArrow; - }, - set: function (value) { - this._hasArrow = Object(_walkthrough_tools__WEBPACK_IMPORTED_MODULE_6__["booleanValue"])(value); - }, - enumerable: false, - configurable: true - }); - Object.defineProperty(WalkthroughComponent.prototype, "finishButton", { - get: function () { - return this._hasFinish; - }, - set: function (value) { - this._hasFinish = Object(_walkthrough_tools__WEBPACK_IMPORTED_MODULE_6__["booleanValue"])(value); - }, - enumerable: false, - configurable: true - }); - Object.defineProperty(WalkthroughComponent.prototype, "focusHighlightAnimation", { - get: function () { - return this._hasHighlightAnimation; - }, - set: function (value) { - this._hasHighlightAnimation = Object(_walkthrough_tools__WEBPACK_IMPORTED_MODULE_6__["booleanValue"])(value); - }, - enumerable: false, - configurable: true - }); - Object.defineProperty(WalkthroughComponent.prototype, "focusBackdrop", { - get: function () { - return this._hasBackdrop; - }, - set: function (value) { - this._hasBackdrop = Object(_walkthrough_tools__WEBPACK_IMPORTED_MODULE_6__["booleanValue"])(value); - }, - enumerable: false, - configurable: true - }); - Object.defineProperty(WalkthroughComponent.prototype, "focusGlow", { - get: function () { - return this._hasGlow; - }, - set: function (value) { - this._hasGlow = Object(_walkthrough_tools__WEBPACK_IMPORTED_MODULE_6__["booleanValue"])(value); - }, - enumerable: false, - configurable: true - }); - Object.defineProperty(WalkthroughComponent.prototype, "disabled", { - get: function () { - return this._disabled; - }, - set: function (value) { - var _this = this; - this._disabled = value; - var instance = this._getInstance(); - if (instance) { - setTimeout(function () { - instance.hasPrevious = _this._hasPreviousStep(instance); - instance.hasNext = _this._hasNextStep(instance); - if (!instance.hasNext) { - instance.hasFinish = true; - } - else { - instance.hasFinish = instance.parent.finishButton; - } - }, 50); - } - }, - enumerable: false, - configurable: true - }); - WalkthroughComponent.walkthroughStop = function () { - if (WalkthroughComponent_1._walkthroughContainer) { - WalkthroughComponent_1._walkthroughContainer.instance.stop(); - } - }; - WalkthroughComponent.walkthroughHasShow = function () { - return WalkthroughComponent_1._walkthroughContainer - ? WalkthroughComponent_1._walkthroughContainer.instance.show - : false; - }; - WalkthroughComponent.walkthroughHasPause = function () { - return WalkthroughComponent_1._walkthroughContainer - ? WalkthroughComponent_1._walkthroughContainer.instance.pause - : false; - }; - WalkthroughComponent.walkthroughContinue = function () { - if (WalkthroughComponent_1._walkthroughContainer && - WalkthroughComponent_1._walkthroughContainer.instance.parent) { - var visible = WalkthroughComponent_1._walkthroughContainer.instance.parent._checkVisibility(); - if (visible) { - WalkthroughComponent_1._walkthroughContainer.instance.continue(); - } - else { - // we can't open the walkthrough anymore, the focusElementSelector is no more visible - // so we update the flag "ongoing" - WalkthroughComponent_1._walkthroughContainer.instance.ongoing = false; - } - } - }; - WalkthroughComponent.walkthroughNext = function () { - if (WalkthroughComponent_1._walkthroughContainer) { - WalkthroughComponent_1._walkthroughContainer.instance.next(); - } - }; - WalkthroughComponent.walkthroughPrevious = function () { - if (WalkthroughComponent_1._walkthroughContainer) { - WalkthroughComponent_1._walkthroughContainer.instance.previous(); - } - }; - WalkthroughComponent.prototype.resize = function () { - this._onResize.next(); - }; - WalkthroughComponent.prototype.ngAfterViewInit = function () { - var _this = this; - // init the Walkthrough element container - if (!WalkthroughComponent_1._walkthroughContainer && !WalkthroughComponent_1._walkthroughContainerCreating) { - WalkthroughComponent_1._walkthroughContainerCreating = true; - setTimeout(function () { - WalkthroughComponent_1._walkthroughContainer = - _this._appendComponentToBody(_walkthrough_container_component__WEBPACK_IMPORTED_MODULE_4__["WalkthroughContainerComponent"]); - _this._onContainerInit.next(); - }); - } - }; - WalkthroughComponent.prototype.next = function (closedEvent, finishedEvent) { - if (closedEvent) { - this.closed = closedEvent; - } - if (finishedEvent) { - this.finished = finishedEvent; - } - this.open(); - }; - WalkthroughComponent.prototype.refresh = function () { - if (this._getInstance()) { - if (!this._getInstance().ongoing) { - WalkthroughComponent_1.onRefresh.next(this); - this._elementLocations(); - } - else { - console.warn(anoterWktOnGoing); - } - } - else { - console.warn(noInstanceWarn); - } - }; - WalkthroughComponent.prototype.open = function () { - var _this = this; - return new Promise(function (resolve) { - if (_this._checkVisibility()) { - if (_this._getInstance()) { - resolve(_this._open()); - } - else { - _this._onContainerInit.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["first"])()).subscribe(function () { - if (_this._getInstance()) { - resolve(_this._open()); - } - else { - console.warn(noInstanceWarn); - resolve(false); - } - }); - } - } - else { - resolve(false); - } - }); - }; - /** - * Do not use this method outside of the library - */ - WalkthroughComponent.prototype.loadPrevioustStep = function () { - var _this = this; - setTimeout(function () { - WalkthroughComponent_1.onNavigate.next({ previous: _this, next: _this.previousStep }); - WalkthroughComponent_1.onNavigatePrevious.next({ previous: _this, next: _this.previousStep }); - _this.previousStep._next(_this.closed, _this.finished); - }, 0); - }; - /** - * Do not use this method outside of the library - */ - WalkthroughComponent.prototype.loadNextStep = function () { - var _this = this; - setTimeout(function () { - WalkthroughComponent_1.onNavigate.next({ previous: _this, next: _this.nextStep }); - WalkthroughComponent_1.onNavigateNext.next({ previous: _this, next: _this.nextStep }); - _this.nextStep._next(_this.closed, _this.finished); - }, 0); - }; - /** - * Do not use this method outside of the library - */ - WalkthroughComponent.prototype.hide = function (finishLink, closeWalkthrough) { - var _this = this; - if (finishLink === void 0) { finishLink = false; } - if (closeWalkthrough === void 0) { closeWalkthrough = true; } - this._display = false; - // add CSS to focusElement - if (this.focusElementCSSClass && this._focusElement) { - this._renderer.removeClass(this._focusElement, this.focusElementCSSClass); - } - if (closeWalkthrough) { - setTimeout(function () { - _this._getInstance().ongoing = false; - WalkthroughComponent_1.onClose.next(_this); - // emit closed event - _this.closed.emit(finishLink); - if (!_this.nextStep) { - // emit finished event - WalkthroughComponent_1.onFinish.next(_this); - _this.finished.emit(new _walkthrough_tools__WEBPACK_IMPORTED_MODULE_6__["WalkthroughEvent"](_this, _this._focusElement)); - } - }, 20); - } - }; - WalkthroughComponent.prototype._checkVisibility = function () { - if (this.focusElementSelector) { - var elements = document.querySelectorAll(this.focusElementSelector); - if (elements.length === 0) { - return false; - } - if (this.visibilityCallback) { - return this.visibilityCallback(); - } - for (var _i = 0, _a = elements; _i < _a.length; _i++) { - var el = _a[_i]; - if (el.offsetParent === null) { - return false; - } - } - } - return true; - }; - WalkthroughComponent.prototype._open = function () { - if (!this._getInstance().ongoing) { - this._getInstance().ongoing = true; - WalkthroughComponent_1.onOpen.next(this); - this._elementLocations(); - return true; - } - else { - console.warn(anoterWktOnGoing); - return false; - } - }; - WalkthroughComponent.prototype._show = function () { - this._display = true; - }; - WalkthroughComponent.prototype._next = function (closedEvent, finishedEvent) { - if (closedEvent) { - this.closed = closedEvent; - } - if (finishedEvent) { - this.finished = finishedEvent; - } - var instance = this._getInstance(); - if (instance && instance.ongoing) { - instance.ongoing = false; - } - this.open(); - }; - WalkthroughComponent.prototype._getInstance = function () { - return WalkthroughComponent_1._walkthroughContainer - ? WalkthroughComponent_1._walkthroughContainer.instance - : null; - }; - WalkthroughComponent.prototype._appendComponentToBody = function (component) { - // create a component reference - var componentRef = this._componentFactoryResolver.resolveComponentFactory(component).create(this._injector); - // attach component to the appRef so that so that it will be dirty checked. - this._applicationRef.attachView(componentRef.hostView); - // get DOM element from component - var domElem = componentRef.hostView.rootNodes[0]; - document.body.appendChild(domElem); - return componentRef; - }; - WalkthroughComponent.prototype._attachWalkthroughContent = function (componentOrTemplateRef, walkthroughContainer) { - if (componentOrTemplateRef instanceof _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]) { - walkthroughContainer.attachTemplatePortal(new _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_0__["TemplatePortal"](componentOrTemplateRef, null)); - } - else { - walkthroughContainer.attachComponentPortal(new _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_0__["ComponentPortal"](componentOrTemplateRef)); - } - }; - WalkthroughComponent.prototype._elementLocations = function () { - this._getFocusElement(); - var element = this._focusElement; - if (element) { - if (this.scrollOnTarget) { - this._walkthroughService.scrollIntoViewIfOutOfView(element); - } - // if there is a root element defined (in some cases when position fixed is used, we need to scroll on it) - if (this.rootElement) { - document.querySelector(this.rootElement).scrollIntoView(true); - } - this._offsetCoordinates = this._walkthroughService.retrieveCoordinates(element); - if (this.typeSelector === 'zone') { - var offsetEndCoordinatesEnd = this._walkthroughService.retrieveCoordinates(this._focusElementEnd); - this._offsetCoordinates.height = offsetEndCoordinatesEnd.top - - this._offsetCoordinates.top - + offsetEndCoordinatesEnd.height; - this._offsetCoordinates.width = offsetEndCoordinatesEnd.left - - this._offsetCoordinates.left - + offsetEndCoordinatesEnd.width; - } - } - else { - this._offsetCoordinates = null; - } - this._setFocus(); - }; - /** - * - */ - WalkthroughComponent.prototype._getFocusElement = function () { - var focusElements; - try { - focusElements = this.focusElementSelector - ? document.querySelectorAll(this.focusElementSelector) - : null; - } - catch (error) { - console.error("#" + this.id + "@focusElementSelector: '" + this.focusElementSelector + "' is not a valid selector.\n", error); - } - // getting focus element - if (focusElements && focusElements.length > 0) { - if (focusElements.length > 1) { - // Multiple items fit selector, displaying first visible as focus item in 'element' mode - var l = focusElements.length; - for (var i = 0; i < l; i++) { - // offsetHeight not of 0 means visible - if (focusElements[i].offsetHeight) { - this._focusElement = focusElements[i]; - i = focusElements.length; - break; - } - } - // if typeSelector is by zone, get also the last element - if (this.typeSelector === 'zone') { - for (var i = l - 1; i >= 0; i--) { - // offsetHeight not of 0 means visible - if (focusElements[i].offsetHeight) { - this._focusElementEnd = focusElements[i]; - i = focusElements.length; - break; - } - } - // this the zone this just a unique element, change mode for 'element' - if (this._focusElement === this._focusElementEnd) { - this.typeSelector = 'element'; - } - } - } - else { - this._focusElement = focusElements[0]; - this.typeSelector = 'element'; - } - } - else { - this._focusElement = null; - } - }; - /** - * get instance, hightlight the focused element et show the template - */ - WalkthroughComponent.prototype._setFocus = function () { - var _this = this; - var instance = this._getInstance(); - if (instance) { - var scrollY_1 = window.pageXOffset; - this._initStylingTemplate(instance); - setTimeout(function () { - if (_this._focusElement && instance.zone) { - instance.marginZonePx = _this._marginZonePx; - instance.hightlightZone(_this._offsetCoordinates, scrollY_1 - window.pageXOffset, _this.animation, _this.animationDelays, _this._setFocusContinue.bind(_this)); - } - else { - _this._setFocusContinue(); - } - }, 20); - } - }; - WalkthroughComponent.prototype._setFocusContinue = function () { - var _this = this; - var instance = this._getInstance(); - if (!this._display) { - this._attachContentTemplate(); - this._initContentTemplate(instance); - } - setTimeout(function () { - instance.hightlightZoneStyling(_this._focusElement); - _this._updateElementPositions(instance); - }, 0); - }; - WalkthroughComponent.prototype._updateElementPositions = function (instance) { - var _this = this; - if (WalkthroughComponent_1._walkthroughContainer && this._getInstance()) { - setTimeout(function () { - instance.contentBlockPosition(_this._offsetCoordinates, _this._alignContent, _this._verticalAlignContent, _this._contentSpacing, _this._verticalContentSpacing); - if (_this._focusElement !== null && _this._hasArrow) { - instance.arrowPosition(_this._offsetCoordinates); - } - // add CSS to focusElement - if (_this.focusElementCSSClass && _this._focusElement) { - _this._renderer.addClass(_this._focusElement, _this.focusElementCSSClass); - } - setTimeout(function () { - _this._getInstance().setHeight(); - if (!_this._readyHasBeenEmited) { - _this._readyHasBeenEmited = true; - _this.ready.emit(new _walkthrough_tools__WEBPACK_IMPORTED_MODULE_6__["WalkthroughEvent"](_this, _this._focusElement)); - } - var contentBlockNative = instance.contentBlock.nativeElement; - var scrollPos; - if (_this._focusElement != null) { - var coordinatesContent = _this._walkthroughService.retrieveCoordinates(contentBlockNative); - var coordinatesFocus = _this._walkthroughService.retrieveCoordinates(_this._focusElement); - // is content + focus higher than window ? - if (coordinatesContent.height + coordinatesFocus.height > window.innerHeight) { - // we scroll on content - contentBlockNative.scrollIntoView(true); - // we offset the window half of the content height - if (coordinatesContent.top > coordinatesFocus.top) { - // content below focusZone - scrollPos = -(coordinatesContent.height / 2); - } - else { - // content above focusZone - scrollPos = +(coordinatesContent.height / 2); - } - } - else { - // scroll on element higher minus minimal margin - if (coordinatesContent.top > coordinatesFocus.top) { - window.scrollTo(coordinatesFocus.left, coordinatesFocus.top); - scrollPos = -WalkthroughComponent_1.minimalMargin; - } - else { - contentBlockNative.scrollIntoView(true); - scrollPos = -WalkthroughComponent_1.minimalMargin; - } - } - } - else { - // no focus zone, scroll on content minus margin - contentBlockNative.scrollIntoView(true); - scrollPos = -WalkthroughComponent_1.minimalMargin; - } - window.scrollBy(0, scrollPos); - }, 50); - }, 0); - } - }; - /** - * Attache the template in the contener, if a template is linked. - */ - WalkthroughComponent.prototype._attachContentTemplate = function () { - if (this.contentTemplate) { - this._attachWalkthroughContent(this.contentTemplate, this._getInstance()); - } - }; - /** - * init a partof styles of the contenaire - */ - WalkthroughComponent.prototype._initStylingTemplate = function (instance) { - var hasHighlightZone = this._focusElement !== null; - instance.parent = this; - instance.open(); - instance.hasHighlightZone = hasHighlightZone; - instance.hasClickable = hasHighlightZone && typeof this.focusClick === 'function'; - instance.hasHighlight = hasHighlightZone && this._hasHighlightAnimation; - instance.hasBackdrop = this._hasBackdrop; - instance.hasGlow = hasHighlightZone && this._hasGlow; - }; - /** - * init all datas of the contenaire - */ - WalkthroughComponent.prototype._initContentTemplate = function (instance) { - var hasHighlightZone = this._focusElement !== null; - instance.hasPrevious = this._hasPreviousStep(instance); - instance.hasNext = this._hasNextStep(instance); - instance.hasCloseButton = this._hasCloseButton; - instance.hasCloseAnywhere = this._hasCloseAnywhere; - instance.hasFinish = this._hasFinish || !instance.hasNext; - instance.hasArrow = hasHighlightZone && this._hasArrow; - instance.arrowColor = this.arrowColor; - instance.radius = this.radius; - instance.marginZone = this._marginZone ? this._marginZone.replace(/(\d+)/g, '$1px') : null; - instance.marginZonePx = this._marginZonePx; - instance.contentText = this.contentText; - instance.contentStyle = this.contentStyle; - instance.text = this.texts - ? __assign(__assign({}, new _walkthrough_text__WEBPACK_IMPORTED_MODULE_5__["WalkthroughText"]()), this.texts) : new _walkthrough_text__WEBPACK_IMPORTED_MODULE_5__["WalkthroughText"](); - this._show(); - }; - /** - * check if there is a previous step enabled - */ - WalkthroughComponent.prototype._hasPreviousStep = function (instance) { - if (instance.parent) { - var current = instance.parent.previousStep; - while (current) { - if (!current.disabled) { - return true; - } - current = current.previousStep; - } - } - return false; - }; - /** - * check if there is a next step enabled - */ - WalkthroughComponent.prototype._hasNextStep = function (instance) { - if (instance.parent) { - var current = instance.parent.nextStep; - while (current) { - if (!current.disabled) { - return true; - } - current = current.nextStep; - } - } - return false; - }; - var WalkthroughComponent_1; - WalkthroughComponent._walkthroughContainer = null; - WalkthroughComponent._walkthroughContainerCreating = false; - WalkthroughComponent.minimalMargin = 60; - WalkthroughComponent.onOpen = new rxjs__WEBPACK_IMPORTED_MODULE_2__["Subject"](); - WalkthroughComponent.onRefresh = new rxjs__WEBPACK_IMPORTED_MODULE_2__["Subject"](); - WalkthroughComponent.onClose = new rxjs__WEBPACK_IMPORTED_MODULE_2__["Subject"](); - WalkthroughComponent.onNavigate = new rxjs__WEBPACK_IMPORTED_MODULE_2__["Subject"](); - WalkthroughComponent.onNavigatePrevious = new rxjs__WEBPACK_IMPORTED_MODULE_2__["Subject"](); - WalkthroughComponent.onNavigateNext = new rxjs__WEBPACK_IMPORTED_MODULE_2__["Subject"](); - WalkthroughComponent.onFinish = new rxjs__WEBPACK_IMPORTED_MODULE_2__["Subject"](); - WalkthroughComponent.ctorParameters = function () { return [ - { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ComponentFactoryResolver"] }, - { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ApplicationRef"] }, - { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Injector"] }, - { type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"] }, - { type: _walkthrough_service__WEBPACK_IMPORTED_MODULE_7__["WalkthroughService"] } - ]; }; - WalkthroughComponent.propDecorators = { - closed: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Output"] }], - finished: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Output"] }], - ready: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Output"] }], - focusElementCSSClass: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"] }], - rootElement: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"] }], - focusElementSelector: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"] }], - typeSelector: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"] }], - focusClick: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"] }], - radius: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"] }], - previousStep: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"] }], - nextStep: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"] }], - texts: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"] }], - contentTemplate: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"] }], - contentText: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"] }], - contentStyle: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"] }], - marginZone: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"] }], - arrowColor: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"] }], - animation: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"] }], - animationDelays: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"] }], - id: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"] }], - alignContent: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"] }], - verticalAlignContent: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"] }], - contentSpacing: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"] }], - verticalContentSpacing: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"] }], - closeButton: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"] }], - closeAnywhere: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"] }], - showArrow: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"] }], - finishButton: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"] }], - focusHighlightAnimation: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"] }], - focusBackdrop: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"] }], - focusGlow: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"] }], - disabled: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"] }], - scrollOnTarget: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"] }], - visibilityCallback: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"] }], - resize: [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["HostListener"], args: ['window:resize',] }] - }; - WalkthroughComponent = WalkthroughComponent_1 = __decorate([ - Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({ - selector: 'ng-walkthrough', - template: '' - }), - __metadata("design:paramtypes", [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ComponentFactoryResolver"], - _angular_core__WEBPACK_IMPORTED_MODULE_1__["ApplicationRef"], - _angular_core__WEBPACK_IMPORTED_MODULE_1__["Injector"], - _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], - _walkthrough_service__WEBPACK_IMPORTED_MODULE_7__["WalkthroughService"]]) - ], WalkthroughComponent); - return WalkthroughComponent; -}()); - - - -/***/ }), - -/***/ "qTly": -/*!*************************************************************************************************************************!*\ - !*** ./node_modules/raw-loader/dist/cjs.js!./projects/angular-walkthrough/src/lib/walkthrough-container.component.html ***! - \*************************************************************************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony default export */ __webpack_exports__["default"] = ("
\n
\n
\n \n
\n

{{contentText}}

\n \n
\n
\n \n \n \n
\n
\n
\n \n \n \n \n \n \n \n \n
\n
"); - -/***/ }), - -/***/ "ynWL": -/*!************************************!*\ - !*** ./src/app/app.component.scss ***! - \************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony default export */ __webpack_exports__["default"] = (".avalaible {\n position: fixed;\n top: 0;\n right: 0;\n z-index: 2;\n display: flex;\n flex-direction: column;\n}\n.avalaible > button {\n min-width: 200px;\n margin: 0;\n}\n:host,\n:host > div {\n display: block;\n height: 100%;\n width: 100%;\n}\n.overflow {\n height: 250px;\n overflow: auto;\n}\n.overflow div {\n height: 250px;\n}\nbutton {\n margin-left: 5%;\n}\n.bigger {\n height: 100%;\n width: 100%;\n position: relative;\n}\n#test3 {\n position: absolute;\n bottom: 5%;\n right: 5%;\n width: 50px;\n height: 50px;\n border-radius: 25% 50% 25% 40%;\n z-index: 1;\n}\n#test4 {\n bottom: 1em;\n position: absolute;\n}\n.valign-container {\n position: relative;\n height: 2000px;\n}\n#valign {\n top: 500px;\n left: 30%;\n position: absolute;\n}\n#valign-content button {\n margin: 0;\n}\n#increase {\n top: 500px;\n position: absolute;\n left: 0;\n}\n#decrease {\n top: 530px;\n position: absolute;\n left: 0;\n}\n.redbutton {\n background: #F00;\n color: #FFF;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uXFwuLlxcYXBwLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0ksZUFBQTtFQUNBLE1BQUE7RUFDQSxRQUFBO0VBQ0EsVUFBQTtFQUNBLGFBQUE7RUFDQSxzQkFBQTtB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gbGVmdDogMDtcbn1cblxuLnJlZGJ1dHRvbiB7XG4gICAgYmFja2dyb3VuZDogI0YwMDtcbiAgICBjb2xvcjogI0ZGRjtcbn1cbiJdfQ== */"); - -/***/ }), - -/***/ "zUnb": -/*!*********************!*\ - !*** ./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 */ "fXoL"); -/* harmony import */ var _angular_platform_browser_dynamic__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/platform-browser-dynamic */ "a3Wg"); -/* harmony import */ var _app_app_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./app/app.module */ "ZAI4"); -/* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./environments/environment */ "AytR"); - - - - -if (_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].production) { - Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["enableProdMode"])(); -} -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); }); - - -/***/ }), - -/***/ "zn8P": -/*!******************************************************!*\ - !*** ./$$_lazy_route_resource lazy namespace object ***! - \******************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -function webpackEmptyAsyncContext(req) { - // Here Promise.resolve().then() is used instead of new Promise() to prevent - // uncaught exception popping up in devtools - return Promise.resolve().then(function() { - var e = new Error("Cannot find module '" + req + "'"); - e.code = 'MODULE_NOT_FOUND'; - throw e; - }); -} -webpackEmptyAsyncContext.keys = function() { return []; }; -webpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext; -module.exports = webpackEmptyAsyncContext; -webpackEmptyAsyncContext.id = "zn8P"; - -/***/ }) - -},[[0,"runtime","vendor"]]]); -//# sourceMappingURL=main.js.map \ No newline at end of file diff --git a/dist/ng-walkthrough/main.js.map b/dist/ng-walkthrough/main.js.map deleted file mode 100644 index a4a5b10..0000000 --- a/dist/ng-walkthrough/main.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["./projects/angular-walkthrough/src/lib/walkthrough-container.component.ts","./src/environments/environment.ts","./projects/angular-walkthrough/src/lib/walkthrough-flow.component.ts","./projects/angular-walkthrough/src/lib/walkthrough-tools.ts","./projects/angular-walkthrough/src/lib/walkthrough.service.ts","./projects/angular-walkthrough/src/lib/angular-walkthrough.module.ts","./src/app/app.component.ts","./projects/angular-walkthrough/src/public_api.ts","./src/app/app.component.html","./src/app/app.module.ts","./projects/angular-walkthrough/src/lib/walkthrough-container.component.scss","./projects/angular-walkthrough/src/lib/walkthrough-text.ts","./projects/angular-walkthrough/src/lib/walkthrough.component.ts","./projects/angular-walkthrough/src/lib/walkthrough-container.component.html","./src/app/app.component.scss","./src/main.ts","./$_lazy_route_resource lazy namespace object"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAA2G;AAIpF;AAE8B;AACiC;AACvB;AACJ;AAEpD,SAAS,2CAA2C;IACvD,MAAM,KAAK,CAAC,4EAA4E,CAAC,CAAC;AAC9F,CAAC;AAED,IAAM,SAAS,GAAG,gCAAgC,CAAC,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC;;IAO1B,iDAAc;IAkF7D,uCACW,gBAAkC,EACjC,mBAAuC,EACvC,SAAoB,EACpB,GAAe;QAJ3B,YAMI,iBAAO,SACV;QANU,sBAAgB,GAAhB,gBAAgB,CAAkB;QACjC,yBAAmB,GAAnB,mBAAmB,CAAoB;QACvC,eAAS,GAAT,SAAS,CAAW;QACpB,SAAG,GAAH,GAAG,CAAY;QApF3B,eAAS,GAAG,iBAAiB,C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VAAyV,eAAe,6KAA6K,WAAW,sLAAsL,YAAY,kjCAAkjC,E;;;;;;;;;;;;ACAjjF;AAAe,4EAAa,oBAAoB,WAAW,aAAa,eAAe,kBAAkB,2BAA2B,GAAG,uBAAuB,qBAAqB,cAAc,GAAG,uBAAuB,mBAAmB,iBAAiB,gBAAgB,GAAG,aAAa,kBAAkB,mBAAmB,GAAG,iBAAiB,kBAAkB,GAAG,UAAU,oBAAoB,GAAG,WAAW,iBAAiB,gBAAgB,uBAAuB,GAAG,UAAU,uBAAuB,eAAe,cAAc,gBAAgB,iBAAiB,mCAAmC,eAAe,GAAG,UAAU,gBAAgB,uBAAuB,GAAG,qBAAqB,uBAAuB,mBAAmB,GAAG,WAAW,eAAe,cAAc,uBAAuB,GAAG,0BAA0B,cAAc,GAAG,aAAa,eAAe,uBAAuB,YAAY,GAAG,aAAa,eAAe,uBAAuB,YAAY,GAAG,cAAc,qBAAqB,gBAAgB,GAAG,6CAA6C,25EAA25E,E;;;;;;;;;;;;ACA78G;AAAA;AAAA;AAAA;AAAA;AAA+C;AAC4B;AAE9B;AACY;AAEzD,IAAI,qEAAW,CAAC,UAAU,EAAE;IAC1B,oEAAc,EAAE,CAAC;CAClB;AAED,gGAAsB,EAAE,CAAC,eAAe,CAAC,yDAAS,CAAC;KAChD,KAAK,CAAC,aAAG,IAAI,cAAO,CAAC,GAAG,CAAC,GAAG,CAAC,EAAhB,CAAgB,CAAC,CAAC;;;;;;;;;;;;ACXlC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA,4CAA4C,WAAW;AACvD;AACA;AACA,qC","file":"main.js","sourcesContent":["import { BasePortalHost, ComponentPortal, PortalHostDirective, TemplatePortal } from '@angular/cdk/portal';\nimport {\n Component, ComponentRef, ElementRef, EmbeddedViewRef, HostBinding, HostListener, Renderer2, TemplateRef, ViewChild,\n ViewContainerRef\n} from '@angular/core';\n\nimport { WalkthroughText } from './walkthrough-text';\nimport { WalkthroughElementCoordinate, WalkthroughMargin } from './walkthrough-tools';\nimport { WalkthroughComponent } from './walkthrough.component';\nimport { WalkthroughService } from './walkthrough.service';\n\nexport function throwWalkthroughContentAlreadyAttachedError() {\n throw Error('Attempting to attach walkthrough content after content is already attached');\n}\n\nconst is_safari = /^((?!chrome|android).)*safari/i.test(navigator.userAgent);\n\n@Component({\n selector: 'walkthrough-container',\n styleUrls: ['./walkthrough-container.component.scss'],\n templateUrl: './walkthrough-container.component.html'\n})\nexport class WalkthroughContainerComponent extends BasePortalHost {\n\n markerUrl = 'url(#wkt-arrow)';\n\n /* if a walkthrough is ongoing (paused or not) */\n ongoing = false;\n\n show = false;\n pause = false;\n parent: WalkthroughComponent;\n\n // highlight zone\n\n hasHighlightZone = false;\n hasHighlight = false;\n hasBackdrop = false;\n hasGlow = false;\n hasClickable: boolean;\n hideOther: boolean;\n\n // navigate\n\n hasPrevious = false;\n hasNext = false;\n hasFinish = false;\n hasCloseButton = false;\n hasCloseAnywhere = true;\n\n // arrow\n\n hasArrow = false;\n arrowPath: string;\n arrowMarkerDist = 7;\n\n // styling\n\n contentStyle: string;\n radius: string;\n arrowColor: string;\n marginZone: string | null;\n marginZonePx = new WalkthroughMargin();\n\n // content\n\n contentText: string;\n\n // texts change / i18n\n\n text = new WalkthroughText();\n\n // elements\n\n @ViewChild(PortalHostDirective) _portalHost: PortalHostDirective;\n @ViewChild('content') content: TemplateRef;\n @ViewChild('contentBlock') contentBlock: ElementRef;\n @ViewChild('zone') zone: ElementRef;\n\n // HostBinding\n\n @HostBinding('attr.id')\n get id() {\n return this.parent ? this.parent.id + '-container' : null;\n }\n\n @HostBinding('class.hide')\n get hide() {\n return !this.show;\n }\n\n @HostBinding('class.cursor')\n get cursor() {\n return this.hasCloseAnywhere;\n }\n\n @HostBinding('class.backdrop')\n get backdrop() {\n return !this.hasHighlightZone && this.hasBackdrop;\n }\n\n private _contentPosition: 'above' | 'top' | 'center' | 'bottom' | 'below';\n private _arrowPosition: 'topBottom' | 'leftRight';\n\n constructor(\n public viewContainerRef: ViewContainerRef,\n private _walkthroughService: WalkthroughService,\n private _renderer: Renderer2,\n private _el: ElementRef\n ) {\n super();\n }\n\n @HostListener('click')\n click() {\n if (this.hasCloseAnywhere && this.show) {\n this.close();\n }\n }\n\n clickZone(event: Event) {\n if (this.parent && this.hasClickable) {\n this.parent.focusClick(event, this);\n }\n }\n\n /**\n * Attach a ComponentPortal as content to this walkthrough container.\n * @param portal Portal to be attached as the walkthrough content.\n */\n attachComponentPortal(portal: ComponentPortal): ComponentRef {\n if (this._portalHost.hasAttached()) {\n throwWalkthroughContentAlreadyAttachedError();\n }\n\n // this._savePreviouslyFocusedElement();\n return this._portalHost.attachComponentPortal(portal);\n }\n\n /**\n * Attach a TemplatePortal as content to this walkthrough container.\n * @param portal Portal to be attached as the walkthrough content.\n */\n attachTemplatePortal(portal: TemplatePortal): EmbeddedViewRef {\n if (this._portalHost.hasAttached()) {\n throwWalkthroughContentAlreadyAttachedError();\n }\n\n // this._savePreviouslyFocusedElement();\n return this._portalHost.attachTemplatePortal(portal);\n }\n\n setHeight(): void {\n this._renderer.setStyle(this._el.nativeElement, 'height', this._walkthroughService.getDocumentHeight() + 'px');\n }\n\n hightlightZone(\n coordinate: WalkthroughElementCoordinate,\n scrollDiff: number,\n animation: 'none' | 'linear',\n animationDelays: number,\n continueFunction: () => {}\n ) {\n\n const element = (this.zone.nativeElement as HTMLElement);\n const zoneStyle = element.style;\n const style = window.getComputedStyle(element, null);\n\n if (animation === 'linear' && animationDelays > 0 && style.left !== 'auto') {\n this.hideOther = true;\n const fragment = 20;\n const intervale = animationDelays / fragment;\n const left = parseInt(style.left, 10);\n const top = scrollDiff + parseInt(style.top, 10);\n const width = parseInt(style.width, 10);\n const height = parseInt(style.height, 10);\n const partLeft = (coordinate.left - left) / fragment;\n const partTop = (coordinate.top - top) / fragment;\n const partWidth = (coordinate.width - width) / fragment;\n const partHeight = (coordinate.height - height) / fragment;\n let count = 0;\n\n this.show = true;\n zoneStyle.borderRadius = '50%';\n const timer = setInterval(() => {\n\n zoneStyle.left = (left + partLeft * count) + 'px';\n zoneStyle.top = (top + partTop * count) + 'px';\n zoneStyle.width = (width + partWidth * count) + 'px';\n zoneStyle.height = (height + partHeight * count) + 'px';\n if (count++ >= fragment) {\n clearInterval(timer);\n this.hideOther = false;\n continueFunction();\n }\n }, intervale);\n\n } else {\n zoneStyle.left = (coordinate.left - this.marginZonePx.left) + 'px';\n zoneStyle.top = (coordinate.top - this.marginZonePx.top) + 'px';\n zoneStyle.width = coordinate.width + 'px';\n zoneStyle.height = coordinate.height + 'px';\n\n continueFunction();\n }\n }\n\n hightlightZoneStyling(element: HTMLElement) {\n if (element) {\n const zoneStyle = (this.zone.nativeElement as HTMLElement).style;\n if (this.radius) {\n if (Number(this.radius) === parseFloat(this.radius)) {\n // if is numeric, change in %\n zoneStyle.borderRadius = this.radius + '%';\n } else if (this.radius === 'auto') {\n // if mode auto\n const elementStyle = window.getComputedStyle(element, null);\n // borderRadius work only on Chrome, use TopLeft, TopRight... for Firefox/Egde/IE\n zoneStyle.borderTopLeftRadius = elementStyle.borderTopLeftRadius;\n zoneStyle.borderTopRightRadius = elementStyle.borderTopRightRadius;\n zoneStyle.borderBottomLeftRadius = elementStyle.borderBottomLeftRadius;\n zoneStyle.borderBottomRightRadius = elementStyle.borderBottomRightRadius;\n } else {\n // if is numeric, change in %\n zoneStyle.borderRadius = this.radius;\n }\n } else {\n zoneStyle.borderRadius = '';\n }\n }\n }\n\n contentBlockPosition(\n paramcoordinate: WalkthroughElementCoordinate,\n alignContent: 'left' | 'center' | 'right',\n verticalAlignContent: 'above' | 'top' | 'center' | 'bottom' | 'below',\n contentSpacing: number,\n verticalContentSpacing: number) {\n const element = this.contentBlock.nativeElement as HTMLElement;\n\n const elementSize = this._walkthroughService.retrieveCoordinates(element);\n const width = elementSize.width + elementSize.margin.left + elementSize.margin.right;\n const height = elementSize.height + elementSize.margin.top + elementSize.margin.bottom;\n\n const coordinate = JSON.parse(JSON.stringify(paramcoordinate));\n coordinate.top -= this.marginZonePx.top;\n coordinate.left -= this.marginZonePx.left;\n coordinate.width += this.marginZonePx.left + this.marginZonePx.right;\n coordinate.height += this.marginZonePx.top + this.marginZonePx.bottom;\n\n // check if we've got the space to respect the alignContent attribute\n let notEnoughSpace = false;\n if (this.hasHighlightZone) {\n const spaceLeft = coordinate.left;\n const spaceRight = window.innerWidth - coordinate.left - coordinate.width;\n if (spaceLeft < width && spaceRight < width) {\n notEnoughSpace = true;\n }\n // if not enough space to respect the alignContent, content goes above/below\n if ((verticalAlignContent === 'top' ||\n verticalAlignContent === 'center' ||\n verticalAlignContent === 'bottom') && !notEnoughSpace) {\n\n // change align center to left or right if not enough space to align center\n if (alignContent === 'center') {\n const maxSpace = Math.max(spaceRight, spaceLeft);\n if (maxSpace < width + ((window.innerWidth - width) / 2)) {\n alignContent = spaceRight > spaceLeft ? 'right' : 'left';\n }\n } else if (alignContent === 'left' && spaceLeft < width ||\n alignContent === 'right' && spaceRight < width) {\n verticalAlignContent = verticalAlignContent === 'bottom' || coordinate.top < height ? 'below' : 'above';\n }\n }\n }\n\n // if not enough space on screen width, we center the content\n if (notEnoughSpace) {\n alignContent = 'center';\n }\n\n // position of content left/center/right\n element.style.right = '';\n element.style.left = '';\n if (alignContent === 'left') {\n element.style.left = '0';\n if (this.hasHighlightZone) {\n const space = coordinate.left - width;\n // handle contentSpacing\n if (contentSpacing && space > contentSpacing) {\n element.style.left = (\n coordinate.left -\n width -\n contentSpacing\n ) + 'px';\n }\n }\n } else if (alignContent === 'center') {\n element.style.left = (window.innerWidth / 2 - width / 2) + 'px';\n } else if (alignContent === 'right') {\n element.style.right = '0';\n if (this.hasHighlightZone) {\n const space = window.innerWidth - coordinate.left - coordinate.width - width;\n // handle contentSpacing\n if (contentSpacing && space > contentSpacing) {\n element.style.right = '';\n element.style.left = (\n coordinate.left +\n coordinate.width +\n contentSpacing\n ) + 'px';\n }\n }\n }\n\n if (this.hasHighlightZone) {\n // for arrow position\n const startLeft = this._walkthroughService.retrieveCoordinates(element).left + width / 2;\n\n this._arrowPosition = startLeft > (coordinate.left - WalkthroughComponent.minimalMargin)\n && startLeft < (coordinate.left + coordinate.width + WalkthroughComponent.minimalMargin)\n ? 'topBottom' : 'leftRight';\n\n // if there is enough place on the left or on the right, we consider verticalAlignContent, otherwise, we ignore it\n if (verticalAlignContent && !notEnoughSpace) {\n let space = 0;\n this._contentPosition = verticalAlignContent;\n switch (verticalAlignContent) {\n case 'above':\n space = coordinate.top;\n if (space > verticalContentSpacing) {\n element.style.top = (coordinate.top - height - verticalContentSpacing) + 'px';\n } else {\n element.style.top = '0';\n }\n this._arrowPosition = 'topBottom';\n break;\n case 'top':\n element.style.top = (coordinate.top) + 'px';\n break;\n case 'center':\n element.style.top = (coordinate.top + (coordinate.height / 2) - (height / 2)) + 'px';\n break;\n case 'bottom':\n element.style.top = (coordinate.top + coordinate.height - height) + 'px';\n break;\n case 'below':\n space = this._walkthroughService.getDocumentHeight() - coordinate.top + coordinate.height;\n if (space > verticalContentSpacing) {\n element.style.top = (coordinate.top + coordinate.height + verticalContentSpacing) + 'px';\n } else {\n element.style.top = (this._walkthroughService.getDocumentHeight() - height) + 'px';\n }\n this._arrowPosition = 'topBottom';\n break;\n }\n } else {\n // position of content top/bottom\n if (verticalAlignContent === 'below' || coordinate.top < height) {\n element.style.top = (coordinate.top + coordinate.height + WalkthroughComponent.minimalMargin) + 'px';\n this._contentPosition = 'below';\n } else {\n element.style.top = (coordinate.top - height - WalkthroughComponent.minimalMargin) + 'px';\n this._contentPosition = 'above';\n }\n }\n } else {\n element.style.top = (this._walkthroughService.getHeightOfPage() / 2 - height / 2) + 'px';\n }\n\n }\n\n arrowPosition(coordinate: WalkthroughElementCoordinate) {\n\n const contentBlockElement = this.contentBlock.nativeElement as HTMLElement;\n const contentBlockCoordinates = this._walkthroughService.retrieveCoordinates(contentBlockElement);\n\n const realwidth = coordinate.width + this.marginZonePx.left + this.marginZonePx.right;\n const realheight = coordinate.height + this.marginZonePx.top + this.marginZonePx.bottom;\n\n // start point of the arrow (tail)\n let startLeft = contentBlockCoordinates.left + contentBlockCoordinates.width / 2;\n let startTop = contentBlockCoordinates.top + contentBlockCoordinates.height;\n\n // start point of the curve of the arrow\n let centerTop: number;\n let centerLeft: number;\n\n // end point of the arrow (head)\n let endLeft = coordinate.left - this.marginZonePx.left;\n let endTop = coordinate.top - this.marginZonePx.top;\n\n switch (this._contentPosition) {\n case 'top':\n case 'center':\n case 'bottom':\n if (contentBlockCoordinates.left > coordinate.left) {\n startLeft = contentBlockCoordinates.left;\n } else {\n startLeft = contentBlockCoordinates.left + contentBlockCoordinates.width;\n }\n startTop -= contentBlockCoordinates.height / 2;\n break;\n case 'below':\n startTop -= contentBlockCoordinates.height;\n break;\n }\n\n if (this._arrowPosition === 'topBottom') {\n endLeft += realwidth / 2;\n\n if (this._contentPosition === 'below') {\n endTop += realheight + 6;\n } else {\n endTop -= 6;\n }\n\n centerLeft = (startLeft + endLeft) / 2;\n centerTop = (startTop + endTop) / 2;\n\n // we make the curve start nearer the tail of the arrow\n if (startTop < centerTop) {\n centerTop = centerTop - Math.abs(startTop - centerTop) / 2;\n } else {\n centerTop = centerTop + Math.abs(startTop - centerTop) / 2;\n }\n\n this.arrowPath = `M${startLeft},${startTop} Q${startLeft},${centerTop} ${centerLeft},${centerTop} `\n + `Q${endLeft},${centerTop} ${endLeft},${endTop}`;\n\n } else {\n if (startLeft > coordinate.left) {\n endLeft += realwidth + this.arrowMarkerDist;\n } else {\n endLeft -= this.arrowMarkerDist;\n }\n\n endTop += realheight / 2;\n\n centerLeft = (startLeft + endLeft) / 2;\n centerTop = (startTop + endTop) / 2;\n\n // we make the curve start nearer the tail of the arrow\n if (startLeft < centerLeft) {\n centerLeft = centerLeft - Math.abs(startLeft - centerLeft) / 2;\n } else {\n centerLeft = centerLeft + Math.abs(startLeft - centerLeft) / 2;\n }\n\n let directStartLeft: number = startLeft;\n let directStartTop: number = startTop;\n if (this._contentPosition === 'top' || this._contentPosition === 'bottom') {\n directStartLeft = contentBlockCoordinates.left + (contentBlockCoordinates.width / 2);\n directStartTop = (this._contentPosition === 'top') ?\n (contentBlockCoordinates.top + contentBlockCoordinates.height) :\n (contentBlockCoordinates.top);\n\n // we use direct curve only if the arrow don't cross the content, otherwise, we use double curved\n if (\n (this._contentPosition === 'top' && directStartTop < (endTop - WalkthroughComponent.minimalMargin)) ||\n (this._contentPosition === 'bottom' && directStartTop > (endTop + WalkthroughComponent.minimalMargin))\n ) {\n this.arrowPath = `M${directStartLeft},${directStartTop} Q${directStartLeft},${endTop} ${endLeft},${endTop}`;\n } else {\n this.arrowPath = `M${startLeft},${startTop} Q${centerLeft},${startTop} ${centerLeft},${centerTop} `\n + `Q${centerLeft},${endTop} ${endLeft},${endTop}`;\n }\n } else {\n this.arrowPath = `M${directStartLeft},${directStartTop} Q${directStartLeft},${endTop} ${endLeft},${endTop}`;\n }\n }\n }\n\n /**\n * stop the walkthrough : hide the container and change to pause at true\n */\n stop() {\n if (this.parent && !this.pause && this.show) {\n this.show = false;\n this.pause = true;\n }\n }\n\n /**\n * continue the walkthrough if is stopped : show the container and change to pause at false\n */\n continue() {\n if (this.parent && this.pause) {\n this.show = true;\n this.pause = false;\n this.parent.refresh();\n }\n }\n\n open() {\n // change markerUrl on Safari\n // related to\n // https://gist.github.com/leonderijke/c5cf7c5b2e424c0061d2\n // http://stackoverflow.com/a/18265336/796152\n // http://www.w3.org/TR/SVG/linking.html\n if (is_safari) {\n this.markerUrl = 'url(' + window.location.href + '#wkt-arrow)';\n }\n this.show = true;\n }\n\n previous() {\n this.close(false, false);\n\n // we check if previous walkthrough is not disabled\n let current = this.parent;\n while (current) {\n if (current.previousStep && !current.previousStep.disabled) {\n current.loadPrevioustStep();\n return;\n } else {\n if (!current.previousStep) {\n break;\n }\n current = current.previousStep;\n }\n }\n // no more previous walkthrough enabled, we quit the walkthrough\n this.parent = current;\n this.close(true, true);\n }\n\n next() {\n this.close(false, false);\n\n // we check if next walkthrough is not disabled\n let current = this.parent;\n while (current) {\n if (current.nextStep && !current.nextStep.disabled) {\n current.loadNextStep();\n return;\n } else {\n if (!current.nextStep) {\n break;\n }\n current = current.nextStep;\n }\n }\n // no more next walkthrough enabled, we quit the walkthrough\n this.parent = current;\n this.close(true, true);\n }\n\n close(finishLink = false, closeWalkthrough = true) {\n // remove content\n this._portalHost.dispose();\n // hide\n this.show = false;\n if (this.parent) {\n this.parent.hide(finishLink, closeWalkthrough);\n }\n }\n\n}\n","// This file can be replaced during build by using the `fileReplacements` array.\n// `ng build ---prod` replaces `environment.ts` with `environment.prod.ts`.\n// The list of file replacements can be found in `angular.json`.\n\nexport const environment = {\n production: false\n};\n\n/*\n * In development mode, to ignore zone related error stack frames such as\n * `zone.run`, `zoneDelegate.invokeTask` for easier debugging, you can\n * import the following file, but please comment it out in production mode\n * because it will have performance impact when throw error\n */\n// import 'zone.js/dist/zone-error'; // Included with Angular CLI.\n","import { AfterViewInit, Component, ContentChildren, EventEmitter, Input, Output, QueryList } from '@angular/core';\n\nimport { WalkthroughTextI } from './walkthrough-text';\nimport { booleanValue, WalkthroughEvent } from './walkthrough-tools';\nimport { WalkthroughComponent } from './walkthrough.component';\n\nlet nextUniqueId = 0;\n\n@Component({\n selector: 'ng-walkthrough-flow',\n template: ''\n})\nexport class WalkthroughFlowComponent implements AfterViewInit {\n\n @ContentChildren(WalkthroughComponent) walkthroughComponents: QueryList;\n\n @Input()\n get id() { return this._id; }\n set id(value: string) { this._id = value || this._uid; }\n\n @Output() closed: EventEmitter = new EventEmitter();\n @Output() finished: EventEmitter = new EventEmitter();\n @Input() contentStyle: 'none' | 'draken' = 'draken';\n\n @Input() arrowColor: string;\n @Input() marginZone: string | null = null;\n @Input() showArrow: string | boolean;\n\n @Input() rootElement: string;\n\n @Input() closeButton: string | boolean;\n @Input() closeAnywhere: string | boolean;\n @Input() finishButton: string | boolean;\n\n @Input() focusBackdrop: string | boolean;\n @Input() focusGlow: string | boolean;\n @Input() radius: string;\n\n @Input() texts: WalkthroughTextI;\n\n private _id: string;\n private _uid = `walkthrough-flow-${nextUniqueId++}`;\n\n constructor() { }\n\n ngAfterViewInit() {\n setTimeout(() => {\n this.init();\n }, 0);\n }\n\n init() {\n let prevComp: WalkthroughComponent = null;\n this.walkthroughComponents.forEach((walkthrough: WalkthroughComponent) => {\n\n // navigation auto (ignore previousStep/nextStep on the WalkthroughComponent)\n\n if (prevComp) {\n walkthrough.previousStep = prevComp;\n prevComp.nextStep = walkthrough;\n }\n prevComp = walkthrough;\n\n // transmition (only if different from default)\n\n if (this.closed) {\n walkthrough.closed = this.closed;\n }\n if (this.finished) {\n walkthrough.finished = this.finished;\n }\n if (!walkthrough.contentStyle && this.contentStyle) {\n walkthrough.contentStyle = this.contentStyle;\n }\n if (!walkthrough.arrowColor && this.arrowColor) {\n walkthrough.arrowColor = this.arrowColor;\n }\n if (!walkthrough.marginZone && this.marginZone) {\n walkthrough.marginZone = this.marginZone;\n }\n if (!walkthrough.showArrow && booleanValue(this.showArrow)) {\n walkthrough.showArrow = this.showArrow;\n }\n if (!walkthrough.rootElement && this.rootElement) {\n walkthrough.rootElement = this.rootElement;\n }\n if (!walkthrough.closeButton && booleanValue(this.closeButton)) {\n walkthrough.closeButton = this.closeButton;\n }\n if (walkthrough.closeAnywhere && !booleanValue(this.closeAnywhere)) {\n walkthrough.closeAnywhere = this.closeAnywhere;\n }\n if (!walkthrough.finishButton && booleanValue(this.finishButton)) {\n walkthrough.finishButton = this.finishButton;\n }\n if (!walkthrough.focusBackdrop && booleanValue(this.focusBackdrop)) {\n walkthrough.focusBackdrop = this.focusBackdrop;\n }\n if (!walkthrough.focusGlow && booleanValue(this.focusGlow)) {\n walkthrough.focusGlow = this.focusGlow;\n }\n if (!walkthrough.radius && this.radius) {\n walkthrough.radius = this.radius;\n }\n if (!walkthrough.texts && this.texts) {\n walkthrough.texts = this.texts;\n }\n\n });\n // navigation auto (close on last step)\n prevComp.finishButton = true;\n }\n\n start() {\n this.walkthroughComponents.first.open();\n }\n}\n","import { WalkthroughComponent } from './walkthrough.component';\n\nexport interface WalkthroughElementCoordinate {\n top: number;\n left: number;\n height: number;\n width: number;\n margin: Margin;\n}\nexport interface Margin {\n top: number;\n left: number;\n right: number;\n bottom: number;\n}\n\nexport const booleanValue = (value: string | boolean) => {\n return value === 'true' || value === true;\n};\n\nexport class WalkthroughEvent {\n constructor(\n public component: WalkthroughComponent,\n public focusElement: HTMLElement\n ) { }\n}\n\nexport class WalkthroughMargin {\n\n static parsePoints(points: string): WalkthroughMargin {\n let pointsPx: WalkthroughMargin;\n if (points.match(/^\\d+(?:\\s+\\d+)*$/)) {\n const split = points.split(/\\s+/).map(i => parseFloat(i));\n pointsPx = new WalkthroughMargin(split[0], split[1], split[2], split[3]);\n }\n return pointsPx || new WalkthroughMargin();\n }\n\n constructor(\n public top = 0,\n public right?: number,\n public bottom?: number,\n public left?: number,\n ) {\n if (right === undefined) {\n this.right = top;\n }\n if (bottom === undefined) {\n this.bottom = top;\n }\n if (left === undefined && right === undefined) {\n this.left = top;\n } else if (left === undefined) {\n this.left = right;\n }\n }\n}\n","import { Injectable } from '@angular/core';\n\nimport { WalkthroughElementCoordinate, WalkthroughMargin } from './walkthrough-tools';\n\n@Injectable()\nexport class WalkthroughService {\n\n private _overflowRegex = /(auto|scroll)/;\n\n retrieveCoordinates(element: HTMLElement, margin?: WalkthroughMargin): WalkthroughElementCoordinate {\n const clientrect: ClientRect = element.getBoundingClientRect();\n const style = window.getComputedStyle(element);\n\n const coordinates = {\n top: clientrect.top - (margin ? margin.top : 0),\n height: clientrect.height,\n width: clientrect.width,\n left: clientrect.left - (margin ? margin.left : 0),\n margin: {\n top: parseFloat(style.marginTop),\n right: parseFloat(style.marginRight),\n bottom: parseFloat(style.marginBottom),\n left: parseFloat(style.marginLeft),\n }\n };\n coordinates.top += this.getTop();\n return coordinates;\n }\n\n getTop(): number {\n return window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop;\n }\n\n getDocumentHeight() {\n // Height of entire body : https://stackoverflow.com/a/1147768\n const body_height = Math.max(\n document.body.scrollHeight,\n document.body.offsetHeight,\n document.documentElement.clientHeight,\n document.documentElement.scrollHeight,\n document.documentElement.offsetHeight\n );\n\n return Math.max(this.getHeightOfPage() + this.getTop(), body_height);\n }\n\n scrollIntoViewIfOutOfView(element: HTMLElement) {\n const topOfPage = this.getTop();\n const heightOfPage = this.getHeightOfPage();\n let elementY = 0;\n let elementH = 0;\n\n let parent = element;\n while (parent && parent !== document.body) {\n elementY += parent.offsetTop;\n parent = parent.offsetParent as HTMLElement;\n }\n elementH = element.offsetHeight;\n\n if ((topOfPage + heightOfPage) < (elementY + elementH)) {\n element.scrollIntoView(false);\n } else if (elementY < topOfPage) {\n element.scrollIntoView(true);\n window.scrollBy(0, -30);\n } else {\n // test of overflow element\n let current = element;\n while (current && current !== document.body) {\n parent = this.getScrollParent(current);\n if (current.offsetTop + current.offsetHeight - parent.scrollTop > parent.offsetHeight ||\n current.offsetLeft + current.offsetWidth - parent.scrollLeft > parent.offsetWidth) {\n\n element.scrollIntoView();\n window.scrollBy(0, -30);\n break;\n }\n current = parent;\n }\n }\n }\n\n getScrollParent(element: HTMLElement): HTMLElement {\n let scrollParent;\n let style = getComputedStyle(element);\n const excludeStaticParent = style.position === 'absolute';\n\n if (style.position !== 'fixed') {\n\n let parent = element.parentElement;\n while (parent && parent !== document.body) {\n style = getComputedStyle(parent);\n if (\n !(excludeStaticParent && style.position === 'static') &&\n this._overflowRegex.test(style.overflow + style.overflowY + style.overflowX)\n ) {\n scrollParent = parent;\n break;\n }\n parent = parent.parentElement;\n }\n }\n return scrollParent || document.body;\n }\n\n getHeightOfPage() {\n return window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight;\n }\n\n}\n","import { PortalModule } from '@angular/cdk/portal';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { WalkthroughContainerComponent } from './walkthrough-container.component';\nimport { WalkthroughFlowComponent } from './walkthrough-flow.component';\nimport { WalkthroughComponent } from './walkthrough.component';\nimport { WalkthroughService } from './walkthrough.service';\n\n@NgModule({\n imports: [\n CommonModule,\n PortalModule\n ],\n declarations: [\n WalkthroughFlowComponent,\n WalkthroughComponent,\n WalkthroughContainerComponent\n ],\n exports: [\n WalkthroughFlowComponent,\n WalkthroughComponent,\n WalkthroughContainerComponent\n ],\n entryComponents: [\n WalkthroughContainerComponent\n ],\n providers: [\n WalkthroughService\n ]\n})\nexport class WalkthroughModule { }\n","import { Component, OnDestroy, OnInit, ViewChild } from '@angular/core';\n\nimport { Subscription } from 'rxjs';\n\nimport {\n WalkthroughComponent, WalkthroughContainerComponent, WalkthroughEvent, WalkthroughNavigate, WalkthroughTextI\n} from 'projects/angular-walkthrough/src/public_api';\n\n@Component({\n selector: 'app-root',\n templateUrl: './app.component.html',\n styleUrls: ['./app.component.scss']\n})\nexport class AppComponent implements OnInit, OnDestroy {\n frenchText: WalkthroughTextI = {\n previous: 'Précédent',\n next: 'Suivant',\n close: 'Fermer'\n };\n\n testClickCount = 0;\n testClickTexts = ['click me', 'it\\'s ok!', 'realy ok', 'ok ok...', 'stop that!'];\n testPosition = 'center';\n alignContent = 'left';\n verticalAlignContent = 'top';\n valignHeight = '600px';\n contentSpacing = 200;\n verticalContentSpacing = 50;\n\n @ViewChild('walk1') walk1: WalkthroughComponent;\n\n // disabled flags\n step1flowDisabled = false;\n step2flowDisabled = false;\n step3flowDisabled = false;\n step4flowDisabled = false;\n\n hideCount = 3;\n private _count = 3;\n private _start = false;\n\n get isMobile(): boolean {\n return window.innerWidth < 768;\n }\n\n private _listener: Subscription[] = [];\n\n constructor() {\n this._listener.push(\n WalkthroughComponent.onOpen.subscribe((compt: WalkthroughComponent) => {\n console.group('open');\n console.log('onOpen:', compt.id);\n console.groupEnd();\n }),\n WalkthroughComponent.onClose.subscribe((compt: WalkthroughComponent) => {\n console.group('close');\n console.log('onClose:', compt.id);\n console.groupEnd();\n }),\n WalkthroughComponent.onFinish.subscribe((compt: WalkthroughComponent) => {\n console.group('finish (close on the last step)');\n console.log('onFinish:', compt.id);\n console.groupEnd();\n }),\n WalkthroughComponent.onRefresh.subscribe((compt: WalkthroughComponent) => {\n console.group('refresh');\n console.log('onRefresh:', compt.id);\n console.groupEnd();\n }),\n WalkthroughComponent.onNavigate.subscribe((compt: WalkthroughNavigate) => {\n console.group('navigate');\n console.log('onNavigate:', compt.previous.id, '→', compt.next.id);\n }),\n WalkthroughComponent.onNavigateNext.subscribe((compt: WalkthroughNavigate) => {\n console.log('onNavigateNext:', compt.previous.id, '→', compt.next.id);\n console.groupEnd();\n }),\n WalkthroughComponent.onNavigatePrevious.subscribe((compt: WalkthroughNavigate) => {\n console.log('onNavigatePrevious:', compt.previous.id, '→', compt.next.id);\n console.groupEnd();\n })\n );\n }\n\n ngOnInit() {\n // for test: onContainerInit\n // this.walk1.open();\n }\n\n buttonAction() {\n if (this.testClickCount < this.testClickTexts.length - 1) {\n this.testClickCount++;\n }\n }\n\n focusClickAction(event: Event, contenaire: WalkthroughContainerComponent) {\n contenaire.next();\n }\n\n walk3IsReady(event: WalkthroughEvent) {\n // tslint:disable-next-line:no-console\n console.log('walk3IsReady', event);\n setTimeout(() => {\n event.component.arrowColor = 'red';\n }, 1000);\n setTimeout(() => {\n event.component.arrowColor = 'blue';\n }, 2000);\n setTimeout(() => {\n event.component.arrowColor = 'yellow';\n }, 3000);\n }\n\n hideWalkthrough() {\n if (this.hideCount === this._count && !this._start) {\n this._start = true;\n const int = setInterval(() => {\n this.hideCount--;\n if (this.hideCount === 0) {\n clearInterval(int);\n if (WalkthroughComponent.walkthroughHasShow() && !WalkthroughComponent.walkthroughHasPause()) {\n WalkthroughComponent.walkthroughStop();\n } else {\n console.warn('Not walkthrough showing');\n this._start = false;\n this.hideCount = this._count;\n }\n }\n }, 1000);\n } else if (this.hideCount === 0) {\n this._start = false;\n this.hideCount = this._count;\n WalkthroughComponent.walkthroughContinue();\n }\n }\n\n walk1Closed(finishButton: boolean) {\n // tslint:disable-next-line:no-console\n console.log('walk1 has been closed with value : ' + (finishButton ? 'true' : 'false'));\n }\n\n walk1Finished() {\n // tslint:disable-next-line:no-console\n console.log('walk1 has been finished');\n }\n\n flowClosed(finishButton: boolean) {\n // tslint:disable-next-line:no-console\n console.log('flow has been closed with value : ' + (finishButton ? 'true' : 'false'));\n }\n\n flowFinished() {\n // tslint:disable-next-line:no-console\n console.log('flow has been finished');\n }\n\n pause() {\n WalkthroughComponent.walkthroughStop();\n }\n\n continue() {\n WalkthroughComponent.walkthroughContinue();\n }\n\n rename() {\n const list: any = document.querySelectorAll('.rename');\n list.forEach((elt: HTMLElement) => {\n if (elt.id.endsWith('-rename')) {\n elt.id = elt.id.replace('-rename', '');\n } else {\n elt.id += '-rename';\n }\n });\n }\n\n ngOnDestroy(): void {\n for (const list of this._listener) {\n list.unsubscribe();\n }\n }\n}\n","/*\n * Public API Surface of angular-walkthrough\n */\n\nexport * from './lib/walkthrough-container.component';\nexport * from './lib/walkthrough-flow.component';\nexport * from './lib/walkthrough-text';\nexport * from './lib/walkthrough-tools';\nexport * from './lib/walkthrough.component';\nexport * from './lib/walkthrough.service';\nexport * from './lib/angular-walkthrough.module';\n","export default \"
\\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 \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n
Col 1Col 2Col 3
123
butternutbutterflybuttermilk
doubeurrepapillon de jourbabeurre
\\n\\n
\\n \\n
\\n\\n
\\n \\n\\n \\n \\n
\\n
\\n\\n\\n \\n

\\n 1. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque varius blandit dolor, sit amet condimentum eros vulputate\\n sed. Aenean maximus dui a lobortis pharetra. Suspendisse potenti. Nulla facilisi. Suspendisse potenti. Integer porta\\n nec arcu molestie sodales. Pellentesque et diam tellus. Quisque at nisi id neque tempus varius. Donec vestibulum nisi\\n ac risus laoreet lobortis. Cras tristique et sem mollis vehicula. Nulla maximus urna a leo consectetur, at fringilla\\n odio volutpat. Praesent ultricies nunc eget tellus convallis, non hendrerit augue semper. Maecenas elit ex, lobortis\\n at sapien sed, fermentum volutpat sem.\\n

\\n
\\n
\\n\\n \\n

\\n 1b. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque varius blandit dolor, sit amet condimentum eros vulputate\\n sed. Aenean maximus dui a lobortis pharetra. Suspendisse potenti. Nulla facilisi. Suspendisse potenti. Integer porta\\n nec arcu molestie sodales. Pellentesque et diam tellus. Quisque at nisi id neque tempus varius. Donec vestibulum nisi\\n ac risus laoreet lobortis. Cras tristique et sem mollis vehicula. Nulla maximus urna a leo consectetur, at fringilla\\n odio volutpat. Praesent ultricies nunc eget tellus convallis, non hendrerit augue semper. Maecenas elit ex, lobortis\\n at sapien sed, fermentum volutpat sem.\\n

\\n
\\n
\\n\\n\\n\\n \\n

\\n 2. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque varius blandit dolor, sit amet condimentum eros vulputate\\n sed. Aenean maximus dui a lobortis pharetra. Suspendisse potenti. Nulla facilisi. Suspendisse potenti. Integer porta\\n nec arcu molestie sodales. Pellentesque et diam tellus. Quisque at nisi id neque tempus varius. Donec vestibulum nisi\\n ac risus laoreet lobortis. Cras tristique et sem mollis vehicula. Nulla maximus urna a leo consectetur, at fringilla\\n odio volutpat. Praesent ultricies nunc eget tellus convallis, non hendrerit augue semper. Maecenas elit ex, lobortis\\n at sapien sed, fermentum volutpat sem.\\n

\\n
\\n
\\n\\n \\n

\\n 3. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque varius blandit dolor, sit amet condimentum eros vulputate\\n sed. Aenean maximus dui a lobortis pharetra. Suspendisse potenti. Nulla facilisi. Suspendisse potenti. Integer porta\\n nec arcu molestie sodales. Pellentesque et diam tellus. Quisque at nisi id neque tempus varius. Donec vestibulum nisi\\n ac risus laoreet lobortis. Cras tristique et sem mollis vehicula. Nulla maximus urna a leo consectetur, at fringilla\\n odio volutpat. Praesent ultricies nunc eget tellus convallis, non hendrerit augue semper. Maecenas elit ex, lobortis\\n at sapien sed, fermentum volutpat sem.\\n

\\n
\\n
\\n\\n \\n

\\n 4. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque varius blandit dolor, sit amet condimentum eros vulputate\\n sed. Aenean maximus dui a lobortis pharetra. Suspendisse potenti. Nulla facilisi. Suspendisse potenti. Integer porta\\n nec arcu molestie sodales. Pellentesque et diam tellus. Quisque at nisi id neque tempus varius. Donec vestibulum nisi\\n ac risus laoreet lobortis. Cras tristique et sem mollis vehicula. Nulla maximus urna a leo consectetur, at fringilla\\n odio volutpat. Praesent ultricies nunc eget tellus convallis, non hendrerit augue semper. Maecenas elit ex, lobortis\\n at sapien sed, fermentum volutpat sem.\\n

\\n
\\n
\\n\\n\\n \\n
\\n

alignContent {{ alignContent }}

\\n

verticalAlignContent {{ verticalAlignContent }}

\\n

contentSpacing\\n \\n

\\n

verticalContentSpacing\\n \\n

\\n alignContent value :\\n
\\n \\n \\n \\n
\\n verticalAlignContent value :\\n
\\n \\n \\n \\n \\n \\n
\\n
\\n
\\n
\\n\\n\\n \\n

\\n Look this.\\n

\\n
\\n \\n
\\n
\\n \\n \\n \\n
\\n
\\n
\\n\\n\\n \\n

\\n mobile: win < 768px ; desktop: win ≥ 768px\\n
current: {{isMobile ? 'mobile' : 'desktop' }}\\n

\\n
\\n
\\n\\n\\n \\n \\n

\\n This step is {{ step1flowDisabled ? 'disabled' : 'enabled' }}\\n

\\n

\\n \\n

\\n

\\n 1f. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque varius blandit dolor, sit amet condimentum eros vulputate\\n sed. Aenean maximus dui a lobortis pharetra. Suspendisse potenti. Nulla facilisi. Suspendisse potenti. Integer porta\\n nec arcu molestie sodales. Pellentesque et diam tellus. Quisque at nisi id neque tempus varius. Donec vestibulum\\n nisi ac risus laoreet lobortis. Cras tristique et sem mollis vehicula. Nulla maximus urna a leo consectetur, at fringilla\\n odio volutpat. Praesent ultricies nunc eget tellus convallis, non hendrerit augue semper. Maecenas elit ex, lobortis\\n at sapien sed, fermentum volutpat sem.\\n

\\n
\\n
\\n \\n \\n

\\n This step is {{ step2flowDisabled ? 'disabled' : 'enabled' }}\\n

\\n

\\n \\n

\\n

\\n \\n

\\n

\\n 2f. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque varius blandit dolor, sit amet condimentum eros vulputate\\n sed. Aenean maximus dui a lobortis pharetra. Suspendisse potenti. Nulla facilisi. Suspendisse potenti. Integer porta\\n nec arcu molestie sodales. Pellentesque et diam tellus. Quisque at nisi id neque tempus varius. Donec vestibulum\\n nisi ac risus laoreet lobortis. Cras tristique et sem mollis vehicula. Nulla maximus urna a leo consectetur, at fringilla\\n odio volutpat. Praesent ultricies nunc eget tellus convallis, non hendrerit augue semper. Maecenas elit ex, lobortis\\n at sapien sed, fermentum volutpat sem.\\n

\\n
\\n
\\n \\n \\n

\\n This step is {{ step3flowDisabled ? 'disabled' : 'enabled' }}\\n

\\n

\\n \\n

\\n

\\n 3f. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque varius blandit dolor, sit amet condimentum eros vulputate\\n sed. Aenean maximus dui a lobortis pharetra. Suspendisse potenti. Nulla facilisi. Suspendisse potenti. Integer porta\\n nec arcu molestie sodales. Pellentesque et diam tellus. Quisque at nisi id neque tempus varius. Donec vestibulum\\n nisi ac risus laoreet lobortis. Cras tristique et sem mollis vehicula. Nulla maximus urna a leo consectetur, at fringilla\\n odio volutpat. Praesent ultricies nunc eget tellus convallis, non hendrerit augue semper. Maecenas elit ex, lobortis\\n at sapien sed, fermentum volutpat sem.\\n

\\n
\\n
\\n \\n \\n

\\n No focusElementSelector\\n

\\n

\\n This step is {{ step4flowDisabled ? 'disabled' : 'enabled' }}\\n

\\n

\\n \\n

\\n

\\n 4g. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque varius blandit dolor, sit amet condimentum eros vulputate\\n sed. Aenean maximus dui a lobortis pharetra. Suspendisse potenti. Nulla facilisi. Suspendisse potenti. Integer porta\\n nec arcu molestie sodales. Pellentesque et diam tellus. Quisque at nisi id neque tempus varius. Donec vestibulum\\n nisi ac risus laoreet lobortis. Cras tristique et sem mollis vehicula. Nulla maximus urna a leo consectetur, at fringilla\\n odio volutpat. Praesent ultricies nunc eget tellus convallis, non hendrerit augue semper. Maecenas elit ex, lobortis\\n at sapien sed, fermentum volutpat sem.\\n

\\n
\\n
\\n
\";","import { NgModule } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\n\nimport { WalkthroughModule } from 'projects/angular-walkthrough/src/public_api';\n\nimport { AppComponent } from './app.component';\n\n@NgModule({\n declarations: [\n AppComponent\n ],\n imports: [\n WalkthroughModule,\n BrowserModule\n ],\n providers: [],\n bootstrap: [AppComponent]\n})\nexport class AppModule { }\n","export default \":host {\\n display: block;\\n position: absolute;\\n z-index: 1;\\n top: 0;\\n left: 0;\\n width: 99.9%;\\n min-height: 100%;\\n}\\n:host.hide {\\n display: none;\\n}\\n:host.cursor {\\n cursor: pointer;\\n}\\n:host.backdrop {\\n background-color: rgba(0, 0, 0, 0.6);\\n}\\nbutton {\\n background: none;\\n border: 0;\\n color: #FFF;\\n}\\n.wkt-zone {\\n position: absolute;\\n}\\n.wkt-zone.hide {\\n display: none;\\n}\\n.wkt-zone.backdrop {\\n box-shadow: 0 0 0 2200px rgba(0, 0, 0, 0.6);\\n}\\n.wkt-zone.glow {\\n box-shadow: 0 0 4px 2px #FFFF66, 0 0 9px 0 #FFFF66, 0 0 36px #FFFF66;\\n}\\n.wkt-zone.clickable {\\n cursor: pointer;\\n}\\n.wkt-zone.highlight {\\n -webkit-animation: highlight 0.45s 4;\\n animation: highlight 0.45s 4;\\n}\\n.wkt-container {\\n position: relative;\\n}\\n.wkt-content-block {\\n position: absolute;\\n margin: 1em;\\n padding: 6px;\\n z-index: 1;\\n color: #FFF;\\n min-width: calc(320px - 2em);\\n}\\n.wkt-content-block.hide {\\n display: none;\\n}\\n.wkt-content-block.darken {\\n background-color: rgba(0, 0, 0, 0.6);\\n}\\n.wkt-close + .wkt-content {\\n margin-top: 1.3em;\\n}\\n.wkt-close {\\n position: absolute;\\n right: 1em;\\n cursor: pointer;\\n}\\n.wkt-navigate {\\n display: flex;\\n flex-wrap: wrap;\\n justify-content: center;\\n}\\n.wkt-navigate > button {\\n padding: 6px;\\n font-size: 120%;\\n}\\n.wkt-navigate > button:hover {\\n cursor: pointer;\\n text-decoration: underline;\\n}\\n.wkt-previous-link::before {\\n content: \\\"<< \\\";\\n}\\n.wkt-next-link::after {\\n content: \\\" >>\\\";\\n}\\ndiv.hide {\\n display: none;\\n}\\nsvg {\\n overflow: visible;\\n position: absolute;\\n top: -1px;\\n left: -1px;\\n border: 1px solid transparent;\\n}\\n#wkt-arrow > path {\\n stroke-width: 0;\\n}\\n.wkt-arrow-path {\\n stroke-width: 2px;\\n fill: none;\\n}\\n@-webkit-keyframes highlight {\\n 0% {\\n background-color: none;\\n }\\n 50% {\\n background-color: rgba(255, 255, 255, 0.8);\\n }\\n 100% {\\n background-color: none;\\n }\\n}\\n@keyframes highlight {\\n 0% {\\n background-color: none;\\n }\\n 50% {\\n background-color: rgba(255, 255, 255, 0.8);\\n }\\n 100% {\\n background-color: none;\\n }\\n}\\n@media screen and (min-width: 1920px), screen and (min-height: 1920px) {\\n .wkt-zone.backdrop {\\n box-shadow: 0 0 0 4400px rgba(0, 0, 0, 0.6);\\n }\\n}\\n@media screen and (min-width: 3840px), screen and (min-height: 3840px) {\\n .wkt-zone.backdrop {\\n box-shadow: 0 0 0 8800px rgba(0, 0, 0, 0.6);\\n }\\n}\\n_:default:not(:root:root), .wkt-zone.backdrop {\\n box-shadow: 0 0 0 2000px rgba(0, 0, 0, 0.6) !important;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ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uXG4vLyBbSEFDS10gU2FmYXJpIDkrIChub24taU9TKSA6IGJveC1zaGFkb3cgc2l6ZXMgb3ZlciAyMDAwcHggY2FuIGJlIHVucHJlZGljdGFibGVcblxuXzpkZWZhdWx0Om5vdCg6cm9vdDpyb290KSwgLndrdC16b25lLmJhY2tkcm9wIHtcbiAgICBib3gtc2hhZG93OiAwIDAgMCAyMDAwcHggcmdiYSgwLCAwLCAwLCAwLjYpICFpbXBvcnRhbnQ7XG59XG4iXX0= */\";","export interface WalkthroughTextI {\n previous?: string;\n next?: string;\n close?: string;\n}\n\nexport class WalkthroughText implements WalkthroughTextI {\n previous = 'Previous';\n next = 'Next';\n close = 'Close';\n}\n","import { ComponentPortal, ComponentType, TemplatePortal } from '@angular/cdk/portal';\nimport {\n AfterViewInit, ApplicationRef, Component, ComponentFactoryResolver, ComponentRef, EmbeddedViewRef, EventEmitter,\n HostListener, Injector, Input, Output, Renderer2, TemplateRef, Type\n} from '@angular/core';\n\nimport { Subject } from 'rxjs';\nimport { debounceTime, first } from 'rxjs/operators';\n\nimport { WalkthroughContainerComponent } from './walkthrough-container.component';\nimport { WalkthroughText, WalkthroughTextI } from './walkthrough-text';\nimport { booleanValue, WalkthroughElementCoordinate, WalkthroughEvent, WalkthroughMargin } from './walkthrough-tools';\nimport { WalkthroughService } from './walkthrough.service';\n\nlet nextUniqueId = 0;\n\nconst noInstanceWarn = 'No instance of walkthroughContainer.';\nconst anoterWktOnGoing = 'Another walkthrough is ongoing. Please close it before opening a new one.';\n\nexport interface WalkthroughNavigate {\n previous: WalkthroughComponent;\n next: WalkthroughComponent;\n}\n\n@Component({\n selector: 'ng-walkthrough',\n template: ''\n})\nexport class WalkthroughComponent implements AfterViewInit {\n\n private static _walkthroughContainer: ComponentRef = null;\n private static _walkthroughContainerCreating = false;\n public static minimalMargin = 60;\n\n public static onOpen = new Subject();\n public static onRefresh = new Subject();\n public static onClose = new Subject();\n public static onNavigate = new Subject();\n public static onNavigatePrevious = new Subject();\n public static onNavigateNext = new Subject();\n public static onFinish = new Subject();\n\n @Output() closed: EventEmitter = new EventEmitter();\n @Output() finished: EventEmitter = new EventEmitter();\n @Output() ready: EventEmitter = new EventEmitter();\n\n @Input() focusElementCSSClass: string;\n @Input() rootElement: string;\n\n @Input() focusElementSelector: string;\n @Input() typeSelector: 'element' | 'zone' = 'element';\n @Input() focusClick: (event: Event, content: WalkthroughContainerComponent) => {};\n @Input() radius: string;\n\n @Input() previousStep: WalkthroughComponent;\n @Input() nextStep: WalkthroughComponent;\n @Input() texts: WalkthroughTextI;\n\n @Input() contentTemplate: TemplateRef;\n @Input() contentText: string;\n @Input() contentStyle: 'none' | 'draken' = 'draken';\n\n @Input()\n get marginZone() { return this._marginZone; }\n set marginZone(points: string | null) {\n if (this._marginZone !== points) {\n if (points === null) {\n this._marginZone = null;\n }\n\n this._marginZonePx = WalkthroughMargin.parsePoints(points);\n if (this._marginZonePx !== null) {\n this._marginZone = points;\n }\n }\n }\n\n @Input()\n get arrowColor() { return this._arrowColor; }\n set arrowColor(color: string) {\n if (this._arrowColor !== color) {\n this._arrowColor = color;\n if (this._getInstance()) {\n this._getInstance().arrowColor = this._arrowColor;\n }\n }\n }\n\n @Input() animation: 'none' | 'linear' = 'none';\n @Input() animationDelays = 0;\n\n @Input()\n get id() { return this._id; }\n set id(value: string) { this._id = value || this._uid; }\n\n @Input()\n get alignContent() {\n return this._alignContent;\n }\n set alignContent(value: 'left' | 'center' | 'right') {\n if (this._alignContent !== value) {\n this._alignContent = value;\n this._updateElementPositions(this._getInstance());\n\n } else {\n this._alignContent = value;\n }\n }\n\n @Input()\n get verticalAlignContent() {\n return this._verticalAlignContent;\n }\n set verticalAlignContent(value: 'above' | 'top' | 'center' | 'bottom' | 'below') {\n if (this._verticalAlignContent !== value) {\n this._verticalAlignContent = value;\n this._updateElementPositions(this._getInstance());\n } else {\n this._verticalAlignContent = value;\n }\n }\n\n @Input()\n get contentSpacing() {\n return this._contentSpacing;\n }\n set contentSpacing(value: number) {\n value = Math.max(WalkthroughComponent.minimalMargin, value);\n if (this._contentSpacing !== value) {\n this._contentSpacing = value * 1;\n this._updateElementPositions(this._getInstance());\n } else {\n this._contentSpacing = value * 1;\n }\n }\n\n @Input()\n get verticalContentSpacing() {\n return this._verticalContentSpacing;\n }\n set verticalContentSpacing(value: number) {\n value = Math.max(WalkthroughComponent.minimalMargin, value);\n if (this._verticalContentSpacing !== value) {\n this._verticalContentSpacing = value * 1;\n this._updateElementPositions(this._getInstance());\n } else {\n this._verticalContentSpacing = value * 1;\n }\n }\n\n @Input()\n get closeButton() {\n return this._hasCloseButton;\n }\n set closeButton(value: string | boolean) {\n this._hasCloseButton = booleanValue(value);\n }\n\n @Input()\n get closeAnywhere() {\n return this._hasCloseAnywhere;\n }\n set closeAnywhere(value: string | boolean) {\n this._hasCloseAnywhere = booleanValue(value);\n }\n\n @Input()\n get showArrow() {\n return this._hasArrow;\n }\n set showArrow(value: string | boolean) {\n this._hasArrow = booleanValue(value);\n }\n\n @Input()\n get finishButton() {\n return this._hasFinish;\n }\n set finishButton(value: string | boolean) {\n this._hasFinish = booleanValue(value);\n }\n\n @Input()\n get focusHighlightAnimation() {\n return this._hasHighlightAnimation;\n }\n set focusHighlightAnimation(value: string | boolean) {\n this._hasHighlightAnimation = booleanValue(value);\n }\n\n @Input()\n get focusBackdrop() {\n return this._hasBackdrop;\n }\n set focusBackdrop(value: string | boolean) {\n this._hasBackdrop = booleanValue(value);\n }\n\n @Input()\n get focusGlow() {\n return this._hasGlow;\n }\n set focusGlow(value: string | boolean) {\n this._hasGlow = booleanValue(value);\n }\n\n @Input()\n get disabled() {\n return this._disabled;\n }\n set disabled(value: boolean) {\n this._disabled = value;\n\n const instance = this._getInstance();\n if (instance) {\n setTimeout(() => {\n instance.hasPrevious = this._hasPreviousStep(instance);\n instance.hasNext = this._hasNextStep(instance);\n if (!instance.hasNext) {\n instance.hasFinish = true;\n } else {\n instance.hasFinish = instance.parent.finishButton;\n }\n }, 50);\n }\n }\n\n @Input() scrollOnTarget = true;\n @Input() visibilityCallback: Function;\n\n private _id: string;\n private _uid = `walkthrough-${nextUniqueId++}`;\n private _readyHasBeenEmited = false;\n private _display = false;\n private _hasHighlightAnimation = false;\n private _hasBackdrop = false;\n private _hasGlow = false;\n private _hasFinish = false;\n private _hasArrow = false;\n private _hasCloseButton = false;\n private _hasCloseAnywhere = true;\n private _disabled = false;\n private _arrowColor: string;\n private _marginZone: string;\n private _marginZonePx = new WalkthroughMargin();\n private _alignContent: 'left' | 'center' | 'right' = 'left';\n private _verticalAlignContent: 'above' | 'top' | 'center' | 'bottom' | 'below' = 'top';\n private _contentSpacing = 0;\n private _verticalContentSpacing = 50;\n private _focusElement: HTMLElement;\n private _focusElementEnd: HTMLElement;\n private _offsetCoordinates: WalkthroughElementCoordinate;\n private _onContainerInit = new Subject();\n private _onResize = new Subject();\n\n static walkthroughStop() {\n if (WalkthroughComponent._walkthroughContainer) {\n WalkthroughComponent._walkthroughContainer.instance.stop();\n }\n }\n\n static walkthroughHasShow(): boolean {\n return WalkthroughComponent._walkthroughContainer\n ? WalkthroughComponent._walkthroughContainer.instance.show\n : false;\n }\n\n static walkthroughHasPause(): boolean {\n return WalkthroughComponent._walkthroughContainer\n ? WalkthroughComponent._walkthroughContainer.instance.pause\n : false;\n }\n\n static walkthroughContinue() {\n if (WalkthroughComponent._walkthroughContainer &&\n WalkthroughComponent._walkthroughContainer.instance.parent) {\n const visible = WalkthroughComponent._walkthroughContainer.instance.parent._checkVisibility();\n if (visible) {\n WalkthroughComponent._walkthroughContainer.instance.continue();\n } else {\n // we can't open the walkthrough anymore, the focusElementSelector is no more visible\n // so we update the flag \"ongoing\"\n WalkthroughComponent._walkthroughContainer.instance.ongoing = false;\n }\n }\n }\n\n static walkthroughNext() {\n if (WalkthroughComponent._walkthroughContainer) {\n WalkthroughComponent._walkthroughContainer.instance.next();\n }\n }\n\n static walkthroughPrevious() {\n if (WalkthroughComponent._walkthroughContainer) {\n WalkthroughComponent._walkthroughContainer.instance.previous();\n }\n }\n\n constructor(\n private _componentFactoryResolver: ComponentFactoryResolver,\n private _applicationRef: ApplicationRef,\n private _injector: Injector,\n private _renderer: Renderer2,\n private _walkthroughService: WalkthroughService\n ) {\n this._onResize.pipe(\n debounceTime(200)\n ).subscribe(() => {\n const instance = this._getInstance();\n if (instance && instance.ongoing && this._display) {\n this._elementLocations();\n setTimeout(() => {\n this._elementLocations();\n }, 200);\n }\n });\n }\n\n @HostListener('window:resize')\n resize() {\n this._onResize.next();\n }\n\n ngAfterViewInit() {\n // init the Walkthrough element container\n if (!WalkthroughComponent._walkthroughContainer && !WalkthroughComponent._walkthroughContainerCreating) {\n WalkthroughComponent._walkthroughContainerCreating = true;\n setTimeout(() => {\n WalkthroughComponent._walkthroughContainer =\n this._appendComponentToBody(WalkthroughContainerComponent);\n this._onContainerInit.next();\n });\n }\n }\n\n next(\n closedEvent?: EventEmitter,\n finishedEvent?: EventEmitter\n ) {\n if (closedEvent) {\n this.closed = closedEvent;\n }\n if (finishedEvent) {\n this.finished = finishedEvent;\n }\n this.open();\n }\n\n refresh() {\n if (this._getInstance()) {\n if (!this._getInstance().ongoing) {\n WalkthroughComponent.onRefresh.next(this);\n this._elementLocations();\n } else {\n console.warn(anoterWktOnGoing);\n }\n } else {\n console.warn(noInstanceWarn);\n }\n }\n\n open(): Promise {\n return new Promise((resolve) => {\n if (this._checkVisibility()) {\n if (this._getInstance()) {\n resolve(this._open());\n } else {\n this._onContainerInit.pipe(first()).subscribe(() => {\n if (this._getInstance()) {\n resolve(this._open());\n } else {\n console.warn(noInstanceWarn);\n resolve(false);\n }\n });\n }\n } else {\n resolve(false);\n }\n });\n }\n\n /**\n * Do not use this method outside of the library\n */\n loadPrevioustStep() {\n setTimeout(() => {\n WalkthroughComponent.onNavigate.next({ previous: this, next: this.previousStep });\n WalkthroughComponent.onNavigatePrevious.next({ previous: this, next: this.previousStep });\n this.previousStep._next(this.closed, this.finished);\n }, 0);\n }\n\n /**\n * Do not use this method outside of the library\n */\n loadNextStep() {\n setTimeout(() => {\n WalkthroughComponent.onNavigate.next({ previous: this, next: this.nextStep });\n WalkthroughComponent.onNavigateNext.next({ previous: this, next: this.nextStep });\n this.nextStep._next(this.closed, this.finished);\n }, 0);\n }\n\n /**\n * Do not use this method outside of the library\n */\n hide(finishLink = false, closeWalkthrough = true) {\n this._display = false;\n\n // add CSS to focusElement\n if (this.focusElementCSSClass && this._focusElement) {\n this._renderer.removeClass(this._focusElement, this.focusElementCSSClass);\n }\n\n if (closeWalkthrough) {\n setTimeout(() => {\n\n this._getInstance().ongoing = false;\n WalkthroughComponent.onClose.next(this);\n\n // emit closed event\n this.closed.emit(finishLink);\n if (!this.nextStep) {\n // emit finished event\n WalkthroughComponent.onFinish.next(this);\n this.finished.emit(new WalkthroughEvent(this, this._focusElement));\n }\n }, 20);\n }\n }\n\n private _checkVisibility(): boolean {\n if (this.focusElementSelector) {\n const elements = document.querySelectorAll(this.focusElementSelector);\n if (elements.length === 0) {\n return false;\n }\n if (this.visibilityCallback) {\n return this.visibilityCallback();\n }\n for (const el of elements) {\n if (el.offsetParent === null) {\n return false;\n }\n }\n }\n return true;\n }\n\n private _open(): boolean {\n if (!this._getInstance().ongoing) {\n this._getInstance().ongoing = true;\n WalkthroughComponent.onOpen.next(this);\n this._elementLocations();\n return true;\n } else {\n console.warn(anoterWktOnGoing);\n return false;\n }\n }\n\n private _show() {\n this._display = true;\n }\n\n private _next(\n closedEvent?: EventEmitter,\n finishedEvent?: EventEmitter\n ) {\n if (closedEvent) {\n this.closed = closedEvent;\n }\n if (finishedEvent) {\n this.finished = finishedEvent;\n }\n const instance = this._getInstance();\n if (instance && instance.ongoing) {\n instance.ongoing = false;\n }\n this.open();\n }\n\n private _getInstance(): WalkthroughContainerComponent {\n return WalkthroughComponent._walkthroughContainer\n ? WalkthroughComponent._walkthroughContainer.instance\n : null;\n }\n\n private _appendComponentToBody(component: Type): ComponentRef {\n // create a component reference\n const componentRef = this._componentFactoryResolver.resolveComponentFactory(component).create(this._injector);\n\n // attach component to the appRef so that so that it will be dirty checked.\n this._applicationRef.attachView(componentRef.hostView);\n\n // get DOM element from component\n const domElem = (componentRef.hostView as EmbeddedViewRef).rootNodes[0] as HTMLElement;\n\n document.body.appendChild(domElem);\n\n return componentRef;\n }\n\n private _attachWalkthroughContent(\n componentOrTemplateRef: ComponentType | TemplateRef,\n walkthroughContainer: WalkthroughContainerComponent\n ) {\n if (componentOrTemplateRef instanceof TemplateRef) {\n walkthroughContainer.attachTemplatePortal(new TemplatePortal(componentOrTemplateRef, null));\n } else {\n walkthroughContainer.attachComponentPortal(new ComponentPortal(componentOrTemplateRef));\n }\n\n }\n\n private _elementLocations(): void {\n\n this._getFocusElement();\n\n const element = this._focusElement;\n if (element) {\n if (this.scrollOnTarget) {\n this._walkthroughService.scrollIntoViewIfOutOfView(element);\n }\n\n // if there is a root element defined (in some cases when position fixed is used, we need to scroll on it)\n if (this.rootElement) {\n document.querySelector(this.rootElement).scrollIntoView(true);\n }\n\n this._offsetCoordinates = this._walkthroughService.retrieveCoordinates(element);\n\n if (this.typeSelector === 'zone') {\n const offsetEndCoordinatesEnd = this._walkthroughService.retrieveCoordinates(this._focusElementEnd);\n\n this._offsetCoordinates.height = offsetEndCoordinatesEnd.top\n - this._offsetCoordinates.top\n + offsetEndCoordinatesEnd.height;\n this._offsetCoordinates.width = offsetEndCoordinatesEnd.left\n - this._offsetCoordinates.left\n + offsetEndCoordinatesEnd.width;\n }\n } else {\n this._offsetCoordinates = null;\n }\n this._setFocus();\n }\n\n /**\n *\n */\n private _getFocusElement() {\n let focusElements: NodeListOf;\n try {\n focusElements = this.focusElementSelector\n ? document.querySelectorAll(this.focusElementSelector) as NodeListOf\n : null;\n } catch (error) {\n console.error(\n `#${this.id}@focusElementSelector: '${this.focusElementSelector}' is not a valid selector.\\n`,\n error\n );\n }\n\n // getting focus element\n\n if (focusElements && focusElements.length > 0) {\n if (focusElements.length > 1) {\n // Multiple items fit selector, displaying first visible as focus item in 'element' mode\n\n const l = focusElements.length;\n for (let i = 0; i < l; i++) {\n // offsetHeight not of 0 means visible\n if (focusElements[i].offsetHeight) {\n this._focusElement = focusElements[i];\n i = focusElements.length;\n break;\n }\n }\n\n // if typeSelector is by zone, get also the last element\n if (this.typeSelector === 'zone') {\n\n for (let i = l - 1; i >= 0; i--) {\n // offsetHeight not of 0 means visible\n if (focusElements[i].offsetHeight) {\n this._focusElementEnd = focusElements[i];\n i = focusElements.length;\n break;\n }\n }\n\n // this the zone this just a unique element, change mode for 'element'\n if (this._focusElement === this._focusElementEnd) {\n this.typeSelector = 'element';\n }\n }\n\n } else {\n this._focusElement = focusElements[0];\n this.typeSelector = 'element';\n }\n } else {\n this._focusElement = null;\n }\n }\n\n /**\n * get instance, hightlight the focused element et show the template\n */\n private _setFocus() {\n const instance = this._getInstance();\n if (instance) {\n const scrollY = window.pageXOffset;\n this._initStylingTemplate(instance);\n setTimeout(() => {\n if (this._focusElement && instance.zone) {\n instance.marginZonePx = this._marginZonePx;\n instance.hightlightZone(\n this._offsetCoordinates,\n scrollY - window.pageXOffset,\n this.animation,\n this.animationDelays,\n this._setFocusContinue.bind(this)\n );\n } else {\n this._setFocusContinue();\n }\n }, 20);\n }\n }\n\n private _setFocusContinue() {\n const instance = this._getInstance();\n if (!this._display) {\n this._attachContentTemplate();\n\n this._initContentTemplate(instance);\n }\n setTimeout(() => {\n instance.hightlightZoneStyling(this._focusElement);\n this._updateElementPositions(instance);\n }, 0);\n }\n\n private _updateElementPositions(instance: WalkthroughContainerComponent) {\n if (WalkthroughComponent._walkthroughContainer && this._getInstance()) {\n setTimeout(() => {\n instance.contentBlockPosition(\n this._offsetCoordinates,\n this._alignContent,\n this._verticalAlignContent,\n this._contentSpacing,\n this._verticalContentSpacing\n );\n if (this._focusElement !== null && this._hasArrow) {\n instance.arrowPosition(\n this._offsetCoordinates\n );\n }\n\n // add CSS to focusElement\n if (this.focusElementCSSClass && this._focusElement) {\n this._renderer.addClass(this._focusElement, this.focusElementCSSClass);\n }\n\n setTimeout(() => {\n this._getInstance().setHeight();\n\n if (!this._readyHasBeenEmited) {\n this._readyHasBeenEmited = true;\n this.ready.emit(new WalkthroughEvent(this, this._focusElement));\n }\n\n const contentBlockNative = instance.contentBlock.nativeElement as HTMLElement;\n let scrollPos;\n\n if (this._focusElement != null) {\n const coordinatesContent = this._walkthroughService.retrieveCoordinates(contentBlockNative);\n const coordinatesFocus = this._walkthroughService.retrieveCoordinates(this._focusElement);\n // is content + focus higher than window ?\n if (coordinatesContent.height + coordinatesFocus.height > window.innerHeight) {\n // we scroll on content\n contentBlockNative.scrollIntoView(true);\n // we offset the window half of the content height\n if (coordinatesContent.top > coordinatesFocus.top) {\n // content below focusZone\n scrollPos = -(coordinatesContent.height / 2);\n } else {\n // content above focusZone\n scrollPos = +(coordinatesContent.height / 2);\n }\n } else {\n // scroll on element higher minus minimal margin\n if (coordinatesContent.top > coordinatesFocus.top) {\n window.scrollTo(coordinatesFocus.left, coordinatesFocus.top);\n scrollPos = -WalkthroughComponent.minimalMargin;\n } else {\n contentBlockNative.scrollIntoView(true);\n scrollPos = -WalkthroughComponent.minimalMargin;\n }\n }\n } else {\n // no focus zone, scroll on content minus margin\n contentBlockNative.scrollIntoView(true);\n scrollPos = -WalkthroughComponent.minimalMargin;\n }\n\n window.scrollBy(0, scrollPos);\n }, 50);\n }, 0);\n }\n }\n\n /**\n * Attache the template in the contener, if a template is linked.\n */\n private _attachContentTemplate() {\n if (this.contentTemplate) {\n this._attachWalkthroughContent(\n this.contentTemplate,\n this._getInstance()\n );\n }\n }\n\n /**\n * init a partof styles of the contenaire\n */\n private _initStylingTemplate(instance: WalkthroughContainerComponent) {\n const hasHighlightZone = this._focusElement !== null;\n\n instance.parent = this;\n instance.open();\n instance.hasHighlightZone = hasHighlightZone;\n instance.hasClickable = hasHighlightZone && typeof this.focusClick === 'function';\n instance.hasHighlight = hasHighlightZone && this._hasHighlightAnimation;\n instance.hasBackdrop = this._hasBackdrop;\n instance.hasGlow = hasHighlightZone && this._hasGlow;\n\n }\n\n\n /**\n * init all datas of the contenaire\n */\n private _initContentTemplate(instance: WalkthroughContainerComponent) {\n const hasHighlightZone = this._focusElement !== null;\n\n instance.hasPrevious = this._hasPreviousStep(instance);\n instance.hasNext = this._hasNextStep(instance);\n instance.hasCloseButton = this._hasCloseButton;\n instance.hasCloseAnywhere = this._hasCloseAnywhere;\n instance.hasFinish = this._hasFinish || !instance.hasNext;\n instance.hasArrow = hasHighlightZone && this._hasArrow;\n instance.arrowColor = this.arrowColor;\n instance.radius = this.radius;\n instance.marginZone = this._marginZone ? this._marginZone.replace(/(\\d+)/g, '$1px') : null;\n instance.marginZonePx = this._marginZonePx;\n instance.contentText = this.contentText;\n instance.contentStyle = this.contentStyle;\n instance.text = this.texts\n ? { ...new WalkthroughText(), ...this.texts }\n : new WalkthroughText();\n\n this._show();\n }\n\n /**\n * check if there is a previous step enabled\n */\n private _hasPreviousStep(instance: WalkthroughContainerComponent): boolean {\n if (instance.parent) {\n let current = instance.parent.previousStep;\n while (current) {\n if (!current.disabled) {\n return true;\n }\n current = current.previousStep;\n }\n }\n\n return false;\n }\n\n /**\n * check if there is a next step enabled\n */\n private _hasNextStep(instance: WalkthroughContainerComponent): boolean {\n if (instance.parent) {\n let current = instance.parent.nextStep;\n while (current) {\n if (!current.disabled) {\n return true;\n }\n current = current.nextStep;\n }\n }\n\n return false;\n }\n}\n","export default \"
\\n
\\n
\\n \\n
\\n

{{contentText}}

\\n \\n
\\n
\\n \\n \\n \\n
\\n
\\n
\\n \\n \\n \\n \\n \\n \\n \\n \\n
\\n
\";","export default \".avalaible {\\n position: fixed;\\n top: 0;\\n right: 0;\\n z-index: 2;\\n display: flex;\\n flex-direction: column;\\n}\\n.avalaible > button {\\n min-width: 200px;\\n margin: 0;\\n}\\n:host,\\n:host > div {\\n display: block;\\n height: 100%;\\n width: 100%;\\n}\\n.overflow {\\n height: 250px;\\n overflow: auto;\\n}\\n.overflow div {\\n height: 250px;\\n}\\nbutton {\\n margin-left: 5%;\\n}\\n.bigger {\\n height: 100%;\\n width: 100%;\\n position: relative;\\n}\\n#test3 {\\n position: absolute;\\n bottom: 5%;\\n right: 5%;\\n width: 50px;\\n height: 50px;\\n border-radius: 25% 50% 25% 40%;\\n z-index: 1;\\n}\\n#test4 {\\n bottom: 1em;\\n position: absolute;\\n}\\n.valign-container {\\n position: relative;\\n height: 2000px;\\n}\\n#valign {\\n top: 500px;\\n left: 30%;\\n position: absolute;\\n}\\n#valign-content button {\\n margin: 0;\\n}\\n#increase {\\n top: 500px;\\n position: absolute;\\n left: 0;\\n}\\n#decrease {\\n top: 530px;\\n position: absolute;\\n left: 0;\\n}\\n.redbutton {\\n background: #F00;\\n color: #FFF;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uXFwuLlxcYXBwLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0ksZUFBQTtFQUNBLE1BQUE7RUFDQSxRQUFBO0VBQ0EsVUFBQTtFQUNBLGFBQUE7RUFDQSxzQkFBQTtBQUNKO0FBQ0k7RUFDSSxnQkFBQTtFQUNBLFNBQUE7QUFDUjtBQUdBOztFQUVJLGNBQUE7RUFDQSxZQUFBO0VBQ0EsV0FBQTtBQUFKO0FBR0E7RUFDSSxhQUFBO0VBQ0EsY0FBQTtBQUFKO0FBRUk7RUFDSSxhQUFBO0FBQVI7QUFJQTtFQUNJLGVBQUE7QUFESjtBQUlBO0VBQ0ksWUFBQTtFQUNBLFdBQUE7RUFDQSxrQkFBQTtBQURKO0FBSUE7RUFDSSxrQkFBQTtFQUNBLFVBQUE7RUFDQSxTQUFBO0VBQ0EsV0FBQTtFQUNBLFlBQUE7RUFDQSw4QkFBQTtFQUNBLFVBQUE7QUFESjtBQUlBO0VBQ0ksV0FBQTtFQUNBLGtCQUFBO0FBREo7QUFJQTtFQUNJLGtCQ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Q6IDUlO1xuICAgIHdpZHRoOiA1MHB4O1xuICAgIGhlaWdodDogNTBweDtcbiAgICBib3JkZXItcmFkaXVzOiAyNSUgNTAlIDI1JSA0MCU7XG4gICAgei1pbmRleDogMTtcbn1cblxuI3Rlc3Q0IHtcbiAgICBib3R0b206IDFlbTtcbiAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG59XG5cbi52YWxpZ24tY29udGFpbmVyIHtcbiAgICBwb3NpdGlvbjogcmVsYXRpdmU7XG4gICAgaGVpZ2h0OiAyMDAwcHg7XG59XG5cbiN2YWxpZ24ge1xuICAgIHRvcDogNTAwcHg7XG4gICAgbGVmdDogMzAlO1xuICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbn1cblxuI3ZhbGlnbi1jb250ZW50IGJ1dHRvbiB7XG4gICAgbWFyZ2luOiAwO1xufVxuXG4jaW5jcmVhc2Uge1xuICAgIHRvcDogNTAwcHg7XG4gICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgIGxlZnQ6IDA7XG59XG5cbiNkZWNyZWFzZSB7XG4gICAgdG9wOiA1MzBweDtcbiAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgbGVmdDogMDtcbn1cblxuLnJlZGJ1dHRvbiB7XG4gICAgYmFja2dyb3VuZDogI0YwMDtcbiAgICBjb2xvcjogI0ZGRjtcbn1cbiJdfQ== */\";","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\nplatformBrowserDynamic().bootstrapModule(AppModule)\n .catch(err => console.log(err));\n","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 = \"zn8P\";"],"sourceRoot":"webpack:///"} \ No newline at end of file diff --git a/dist/ng-walkthrough/polyfills-es5.15923f0eec62cefbab25.js b/dist/ng-walkthrough/polyfills-es5.15923f0eec62cefbab25.js new file mode 100644 index 0000000..2f8b7f8 --- /dev/null +++ b/dist/ng-walkthrough/polyfills-es5.15923f0eec62cefbab25.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{"+5Eg":function(t,e,n){var r=n("wA6s"),o=n("6XUM"),i=n("M7Xk").onFreeze,a=n("cZY6"),c=n("rG8t"),u=Object.seal;r({target:"Object",stat:!0,forced:c(function(){u(1)}),sham:!a},{seal:function(t){return u&&o(t)?u(i(t)):t}})},"+IJR":function(t,e,n){n("wA6s")({target:"Number",stat:!0},{isNaN:function(t){return t!=t}})},"/AsP":function(t,e,n){var r=n("yIiL"),o=n("SDMg"),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},"/Ybd":function(t,e,n){var r=n("T69T"),o=n("XdSI"),i=n("F26l"),a=n("LdO1"),c=Object.defineProperty;e.f=r?c:function(t,e,n){if(i(t),e=a(e,!0),i(n),o)try{return c(t,e,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},"0Ds2":function(t,e,n){var r=n("m41k")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,"/./"[t](e)}catch(o){}}return!1}},"0TWp":function(t,e,n){"use strict";var r,o;void 0===(o="function"==typeof(r=function(){!function(t){var e=t.performance;function n(t){e&&e.mark&&e.mark(t)}function r(t,n){e&&e.measure&&e.measure(t,n)}n("Zone");var o=t.__Zone_symbol_prefix||"__zone_symbol__";function i(t){return o+t}var a=!0===t[i("forceDuplicateZoneCheck")];if(t.Zone){if(a||"function"!=typeof t.Zone.__symbol__)throw new Error("Zone already loaded.");return t.Zone}var c=function(){function e(t,e){this._parent=t,this._name=e?e.name||"unnamed":"",this._properties=e&&e.properties||{},this._zoneDelegate=new f(this,this._parent&&this._parent._zoneDelegate,e)}return e.assertZonePatched=function(){if(t.Promise!==M.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(e,"root",{get:function(){for(var t=e.current;t.parent;)t=t.parent;return t},enumerable:!1,configurable:!0}),Object.defineProperty(e,"current",{get:function(){return P.zone},enumerable:!1,configurable:!0}),Object.defineProperty(e,"currentTask",{get:function(){return I},enumerable:!1,configurable:!0}),e.__load_patch=function(o,i,c){if(void 0===c&&(c=!1),M.hasOwnProperty(o)){if(!c&&a)throw Error("Already loaded patch: "+o)}else if(!t["__Zone_disable_"+o]){var u="Zone:"+o;n(u),M[o]=i(t,e,j),r(u,u)}},Object.defineProperty(e.prototype,"parent",{get:function(){return this._parent},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this._name},enumerable:!1,configurable:!0}),e.prototype.get=function(t){var e=this.getZoneWith(t);if(e)return e._properties[t]},e.prototype.getZoneWith=function(t){for(var e=this;e;){if(e._properties.hasOwnProperty(t))return e;e=e._parent}return null},e.prototype.fork=function(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)},e.prototype.wrap=function(t,e){if("function"!=typeof t)throw new Error("Expecting function got: "+t);var n=this._zoneDelegate.intercept(this,t,e),r=this;return function(){return r.runGuarded(n,this,arguments,e)}},e.prototype.run=function(t,e,n,r){P={parent:P,zone:this};try{return this._zoneDelegate.invoke(this,t,e,n,r)}finally{P=P.parent}},e.prototype.runGuarded=function(t,e,n,r){void 0===e&&(e=null),P={parent:P,zone:this};try{try{return this._zoneDelegate.invoke(this,t,e,n,r)}catch(o){if(this._zoneDelegate.handleError(this,o))throw o}}finally{P=P.parent}},e.prototype.runTask=function(t,e,n){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||b).name+"; Execution: "+this.name+")");if(t.state!==w||t.type!==A&&t.type!==O){var r=t.state!=x;r&&t._transitionTo(x,E),t.runCount++;var o=I;I=t,P={parent:P,zone:this};try{t.type==O&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,e,n)}catch(i){if(this._zoneDelegate.handleError(this,i))throw i}}finally{t.state!==w&&t.state!==_&&(t.type==A||t.data&&t.data.isPeriodic?r&&t._transitionTo(E,x):(t.runCount=0,this._updateTaskCount(t,-1),r&&t._transitionTo(w,x,w))),P=P.parent,I=o}}},e.prototype.scheduleTask=function(t){if(t.zone&&t.zone!==this)for(var e=this;e;){if(e===t.zone)throw Error("can not reschedule task to "+this.name+" which is descendants of the original zone "+t.zone.name);e=e.parent}t._transitionTo(k,w);var n=[];t._zoneDelegates=n,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(r){throw t._transitionTo(_,k,w),this._zoneDelegate.handleError(this,r),r}return t._zoneDelegates===n&&this._updateTaskCount(t,1),t.state==k&&t._transitionTo(E,k),t},e.prototype.scheduleMicroTask=function(t,e,n,r){return this.scheduleTask(new l(T,t,e,n,r,void 0))},e.prototype.scheduleMacroTask=function(t,e,n,r,o){return this.scheduleTask(new l(O,t,e,n,r,o))},e.prototype.scheduleEventTask=function(t,e,n,r,o){return this.scheduleTask(new l(A,t,e,n,r,o))},e.prototype.cancelTask=function(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||b).name+"; Execution: "+this.name+")");t._transitionTo(S,E,x);try{this._zoneDelegate.cancelTask(this,t)}catch(e){throw t._transitionTo(_,S),this._zoneDelegate.handleError(this,e),e}return this._updateTaskCount(t,-1),t._transitionTo(w,S),t.runCount=0,t},e.prototype._updateTaskCount=function(t,e){var n=t._zoneDelegates;-1==e&&(t._zoneDelegates=null);for(var r=0;r0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:t})},t}(),l=function(){function e(n,r,o,i,a,c){if(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,!o)throw new Error("callback is not defined");this.callback=o;var u=this;this.invoke=n===A&&i&&i.useG?e.invokeTask:function(){return e.invokeTask.call(t,u,this,arguments)}}return e.invokeTask=function(t,e,n){t||(t=this),C++;try{return t.runCount++,t.zone.runTask(t,e,n)}finally{1==C&&m(),C--}},Object.defineProperty(e.prototype,"zone",{get:function(){return this._zone},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),e.prototype.cancelScheduleRequest=function(){this._transitionTo(w,k)},e.prototype._transitionTo=function(t,e,n){if(this._state!==e&&this._state!==n)throw new Error(this.type+" '"+this.source+"': can not transition to '"+t+"', expecting state '"+e+"'"+(n?" or '"+n+"'":"")+", was '"+this._state+"'.");this._state=t,t==w&&(this._zoneDelegates=null)},e.prototype.toString=function(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)},e.prototype.toJSON=function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}},e}(),p=i("setTimeout"),h=i("Promise"),v=i("then"),d=[],g=!1;function y(e){if(0===C&&0===d.length)if(u||t[h]&&(u=t[h].resolve(0)),u){var n=u[v];n||(n=u.then),n.call(u,m)}else t[p](m,0);e&&d.push(e)}function m(){if(!g){for(g=!0;d.length;){var t=d;d=[];for(var e=0;e=0;n--)"function"==typeof t[n]&&(t[n]=p(t[n],e+"_"+n));return t}function w(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&void 0===t.set)}var k="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,E=!("nw"in y)&&void 0!==y.process&&"[object process]"==={}.toString.call(y.process),x=!E&&!k&&!(!d||!g.HTMLElement),S=void 0!==y.process&&"[object process]"==={}.toString.call(y.process)&&!k&&!(!d||!g.HTMLElement),_={},T=function(t){if(t=t||y.event){var e=_[t.type];e||(e=_[t.type]=v("ON_PROPERTY"+t.type));var n,r=this||t.target||y,o=r[e];return x&&r===g&&"error"===t.type?!0===(n=o&&o.call(this,t.message,t.filename,t.lineno,t.colno,t.error))&&t.preventDefault():null==(n=o&&o.apply(this,arguments))||n||t.preventDefault(),n}};function O(n,r,o){var i=t(n,r);if(!i&&o&&t(o,r)&&(i={enumerable:!0,configurable:!0}),i&&i.configurable){var a=v("on"+r+"patched");if(!n.hasOwnProperty(a)||!n[a]){delete i.writable,delete i.value;var c=i.get,u=i.set,s=r.substr(2),f=_[s];f||(f=_[s]=v("ON_PROPERTY"+s)),i.set=function(t){var e=this;e||n!==y||(e=y),e&&(e[f]&&e.removeEventListener(s,T),u&&u.apply(e,m),"function"==typeof t?(e[f]=t,e.addEventListener(s,T,!1)):e[f]=null)},i.get=function(){var t=this;if(t||n!==y||(t=y),!t)return null;var e=t[f];if(e)return e;if(c){var o=c&&c.call(this);if(o)return i.set.call(this,o),"function"==typeof t.removeAttribute&&t.removeAttribute(r),o}return null},e(n,r,i),n[a]=!0}}}function A(t,e,n){if(e)for(var r=0;r=0&&"function"==typeof r[i.cbIdx]?h(i.name,r[i.cbIdx],i,o):t.apply(e,r)}})}function C(t,e){t[v("OriginalDelegate")]=e}var D=!1,N=!1;function R(){if(D)return N;D=!0;try{var t=g.navigator.userAgent;-1===t.indexOf("MSIE ")&&-1===t.indexOf("Trident/")&&-1===t.indexOf("Edge/")||(N=!0)}catch(e){}return N}Zone.__load_patch("ZoneAwarePromise",function(t,e,n){var r=Object.getOwnPropertyDescriptor,o=Object.defineProperty,i=n.symbol,a=[],c=!0===t[i("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],u=i("Promise"),s=i("then");n.onUnhandledError=function(t){if(n.showUncaughtError()){var e=t&&t.rejection;e?console.error("Unhandled Promise rejection:",e instanceof Error?e.message:e,"; Zone:",t.zone.name,"; Task:",t.task&&t.task.source,"; Value:",e,e instanceof Error?e.stack:void 0):console.error(t)}},n.microtaskDrainDone=function(){for(var t=function(){var t=a.shift();try{t.zone.runGuarded(function(){if(t.throwOriginal)throw t.rejection;throw t})}catch(r){!function(t){n.onUnhandledError(t);try{var r=e[f];"function"==typeof r&&r.call(this,t)}catch(o){}}(r)}};a.length;)t()};var f=i("unhandledPromiseRejectionHandler");function l(t){return t&&t.then}function p(t){return t}function h(t){return M.reject(t)}var v=i("state"),d=i("value"),g=i("finally"),y=i("parentPromiseValue"),m=i("parentPromiseState"),b=null,w=!0,k=!1;function E(t,e){return function(n){try{S(t,e,n)}catch(r){S(t,!1,r)}}}var x=i("currentTaskTrace");function S(t,r,i){var u,s,f=(u=!1,function(t){return function(){u||(u=!0,t.apply(null,arguments))}});if(t===i)throw new TypeError("Promise resolved with itself");if(t[v]===b){var l=null;try{"object"!=typeof i&&"function"!=typeof i||(l=i&&i.then)}catch(j){return f(function(){S(t,!1,j)})(),t}if(r!==k&&i instanceof M&&i.hasOwnProperty(v)&&i.hasOwnProperty(d)&&i[v]!==b)T(i),S(t,i[v],i[d]);else if(r!==k&&"function"==typeof l)try{l.call(i,f(E(t,r)),f(E(t,!1)))}catch(j){f(function(){S(t,!1,j)})()}else{t[v]=r;var p=t[d];if(t[d]=i,t[g]===g&&r===w&&(t[v]=t[m],t[d]=t[y]),r===k&&i instanceof Error){var h=e.currentTask&&e.currentTask.data&&e.currentTask.data.__creationTrace__;h&&o(i,x,{configurable:!0,enumerable:!1,writable:!0,value:h})}for(var _=0;_1?new i(e,n):new i(e),s=t.ObjectGetOwnPropertyDescriptor(u,"onmessage");return s&&!1===s.configurable?(a=t.ObjectCreate(u),c=u,[r,o,"send","close"].forEach(function(e){a[e]=function(){var n=t.ArraySlice.call(arguments);if(e===r||e===o){var i=n.length>0?n[0]:void 0;if(i){var c=Zone.__symbol__("ON_PROPERTY"+i);u[c]=a[c]}}return u[e].apply(u,n)}})):a=u,t.patchOnProperties(a,["close","error","message","open"],c),a};var a=e.WebSocket;for(var c in i)a[c]=i[c]}(t,e),Zone[t.symbol("patchEvents")]=!0}}Zone.__load_patch("util",function(n,c,u){u.patchOnProperties=A,u.patchMethod=P,u.bindArguments=b,u.patchMacroTask=I;var h=c.__symbol__("BLACK_LISTED_EVENTS"),v=c.__symbol__("UNPATCHED_EVENTS");n[v]&&(n[h]=n[v]),n[h]&&(c[h]=c[v]=n[h]),u.patchEventPrototype=V,u.patchEventTarget=U,u.isIEOrEdge=R,u.ObjectDefineProperty=e,u.ObjectGetOwnPropertyDescriptor=t,u.ObjectCreate=r,u.ArraySlice=o,u.patchClass=j,u.wrapWithCurrentZone=p,u.filterProperties=ft,u.attachOriginToPatched=C,u._redefineProperty=Object.defineProperty,u.patchCallbacks=H,u.getGlobalObjects=function(){return{globalSources:F,zoneSymbolEventNames:z,eventNames:st,isBrowser:x,isMix:S,isNode:E,TRUE_STR:s,FALSE_STR:f,ZONE_SYMBOL_PREFIX:l,ADD_EVENT_LISTENER_STR:i,REMOVE_EVENT_LISTENER_STR:a}}}),function(t){t[("legacyPatch",(t.__Zone_symbol_prefix||"__zone_symbol__")+"legacyPatch")]=function(){var e=t.Zone;e.__load_patch("defineProperty",function(t,e,n){n._redefineProperty=vt,ht()}),e.__load_patch("registerElement",function(t,e,n){!function(t,e){var n=e.getGlobalObjects();(n.isBrowser||n.isMix)&&"registerElement"in t.document&&e.patchCallbacks(e,document,"Document","registerElement",["createdCallback","attachedCallback","detachedCallback","attributeChangedCallback"])}(t,n)}),e.__load_patch("EventTargetLegacy",function(t,e,n){mt(t,n),bt(n,t)})}}("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{});var wt=v("zoneTask");function kt(t,e,n,r){var o=null,i=null;n+=r;var a={};function c(e){var n=e.data;return n.args[0]=function(){return e.invoke.apply(this,arguments)},n.handleId=o.apply(t,n.args),e}function u(e){return i.call(t,e.data.handleId)}o=P(t,e+=r,function(n){return function(o,i){if("function"==typeof i[0]){var s={isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?i[1]||0:void 0,args:i},f=i[0];i[0]=function(){try{return f.apply(this,arguments)}finally{s.isPeriodic||("number"==typeof s.handleId?delete a[s.handleId]:s.handleId&&(s.handleId[wt]=null))}};var l=h(e,i[0],s,c,u);if(!l)return l;var p=l.data.handleId;return"number"==typeof p?a[p]=l:p&&(p[wt]=l),p&&p.ref&&p.unref&&"function"==typeof p.ref&&"function"==typeof p.unref&&(l.ref=p.ref.bind(p),l.unref=p.unref.bind(p)),"number"==typeof p||p?p:l}return n.apply(t,i)}}),i=P(t,n,function(e){return function(n,r){var o,i=r[0];"number"==typeof i?o=a[i]:(o=i&&i[wt])||(o=i),o&&"string"==typeof o.type?"notScheduled"!==o.state&&(o.cancelFn&&o.data.isPeriodic||0===o.runCount)&&("number"==typeof i?delete a[i]:i&&(i[wt]=null),o.zone.cancelTask(o)):e.apply(t,r)}})}function Et(t,e){if(!Zone[e.symbol("patchEventTarget")]){for(var n=e.getGlobalObjects(),r=n.eventNames,o=n.zoneSymbolEventNames,i=n.TRUE_STR,a=n.FALSE_STR,c=n.ZONE_SYMBOL_PREFIX,u=0;u0){var o=t.invoke;t.invoke=function(){for(var n=a[e.__symbol__("loadfalse")],i=0;i"+t+"<\/script>"},h=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(o){}var t,e;h=r?function(t){t.write(p("")),t.close();var e=t.parentWindow.Object;return t=null,e}(r):((e=s("iframe")).style.display="none",u.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(p("document.F=Object")),t.close(),t.F);for(var n=a.length;n--;)delete h.prototype[a[n]];return h()};c[f]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(l.prototype=o(t),n=new l,l.prototype=null,n[f]=t):n=h(),void 0===e?n:i(n,e)}},"3caY":function(t,e,n){var r=n("wA6s"),o=Math.asinh,i=Math.log,a=Math.sqrt;r({target:"Math",stat:!0,forced:!(o&&1/o(0)>0)},{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):i(e+a(e*e+1)):e}})},"3vMK":function(t,e,n){"use strict";var r=n("6XUM"),o=n("/Ybd"),i=n("wIVT"),a=n("m41k")("hasInstance"),c=Function.prototype;a in c||o.f(c,a,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;for(;t=i(t);)if(this.prototype===t)return!0;return!1}})},"3xQm":function(t,e,n){var r,o,i,a,c,u,s,f,l=n("ocAm"),p=n("7gGY").f,h=n("Ox9q").set,v=n("tuHh"),d=n("3xgG"),g=n("B43K"),y=l.MutationObserver||l.WebKitMutationObserver,m=l.document,b=l.process,w=l.Promise,k=p(l,"queueMicrotask"),E=k&&k.value;E||(r=function(){var t,e;for(g&&(t=b.domain)&&t.exit();o;){e=o.fn,o=o.next;try{e()}catch(n){throw o?a():i=void 0,n}}i=void 0,t&&t.enter()},v||g||d||!y||!m?w&&w.resolve?(s=w.resolve(void 0),f=s.then,a=function(){f.call(s,r)}):a=g?function(){b.nextTick(r)}:function(){h.call(l,r)}:(c=!0,u=m.createTextNode(""),new y(r).observe(u,{characterData:!0}),a=function(){u.data=c=!c})),t.exports=E||function(t){var e={fn:t,next:void 0};i&&(i.next=e),o||(o=e,a()),i=e}},"3xgG":function(t,e,n){var r=n("T/Kj");t.exports=/web0s(?!.*chrome)/i.test(r)},"48xZ":function(t,e,n){var r=n("n/2t"),o=Math.abs,i=Math.pow,a=i(2,-52),c=i(2,-23),u=i(2,127)*(2-c),s=i(2,-126);t.exports=Math.fround||function(t){var e,n,i=o(t),f=r(t);return iu||n!=n?f*(1/0):f*n}},"4GtL":function(t,e,n){"use strict";var r=n("VCQ8"),o=n("7Oj1"),i=n("xpLY"),a=Math.min;t.exports=[].copyWithin||function(t,e){var n=r(this),c=i(n.length),u=o(t,c),s=o(e,c),f=arguments.length>2?arguments[2]:void 0,l=a((void 0===f?c:o(f,c))-s,c-u),p=1;for(s0;)s in n?n[u]=n[s]:delete n[u],u+=p,s+=p;return n}},"4Kt7":function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("sub")},{sub:function(){return o(this,"sub","","")}})},"4NCC":function(t,e,n){var r=n("ocAm"),o=n("jnLS").trim,i=n("xFZC"),a=r.parseInt,c=/^[+-]?0[Xx]/,u=8!==a(i+"08")||22!==a(i+"0x16");t.exports=u?function(t,e){var n=o(String(t));return a(n,e>>>0||(c.test(n)?16:10))}:a},"4PyY":function(t,e,n){var r={};r[n("m41k")("toStringTag")]="z",t.exports="[object z]"===String(r)},"4Ym5":function(t,e,n){var r=n("T69T"),o=n("ZRqE"),i=n("EMtK"),a=n("gn9T").f,c=function(t){return function(e){for(var n,c=i(e),u=o(c),s=u.length,f=0,l=[];s>f;)n=u[f++],r&&!a.call(c,n)||l.push(t?[n,c[n]]:c[n]);return l}};t.exports={entries:c(!0),values:c(!1)}},"4axp":function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("blink")},{blink:function(){return o(this,"blink","","")}})},"54C3":function(t,e,n){"use strict";var r=n("wA6s"),o=n("IUBq"),i=n("VCQ8"),a=n("xpLY"),c=n("Neub"),u=n("JafA");r({target:"Array",proto:!0},{flatMap:function(t){var e,n=i(this),r=a(n.length);return c(t),(e=u(n,0)).length=o(e,n,n,r,0,1,t,arguments.length>1?arguments[1]:void 0),e}})},"5MmU":function(t,e,n){var r=n("m41k"),o=n("pz+c"),i=r("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||a[i]===t)}},"5eAq":function(t,e,n){var r=n("wA6s"),o=n("vZCr");r({target:"Number",stat:!0,forced:Number.parseFloat!=o},{parseFloat:o})},"5y2d":function(t,e,n){var r=n("T69T"),o=n("/Ybd"),i=n("F26l"),a=n("ZRqE");t.exports=r?Object.defineProperties:function(t,e){i(t);for(var n,r=a(e),c=r.length,u=0;c>u;)o.f(t,n=r[u++],e[n]);return t}},"5zDw":function(t,e,n){var r=n("wA6s"),o=n("4NCC");r({target:"Number",stat:!0,forced:Number.parseInt!=o},{parseInt:o})},"5zQ0":function(t,e,n){var r=n("F26l");t.exports=function(t){var e=t.return;if(void 0!==e)return r(e.call(t)).value}},"68Yi":function(t,e,n){"use strict";var r=n("wA6s"),o=n("IUBq"),i=n("VCQ8"),a=n("xpLY"),c=n("vDBE"),u=n("JafA");r({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,e=i(this),n=a(e.length),r=u(e,0);return r.length=o(r,e,e,n,0,void 0===t?1:c(t)),r}})},"6CEi":function(t,e,n){"use strict";var r=n("wA6s"),o=n("kk6e").find,i=n("A1Hp"),a=n("w2hq"),c="find",u=!0,s=a(c);c in[]&&Array(1).find(function(){u=!1}),r({target:"Array",proto:!0,forced:u||!s},{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i(c)},"6CJb":function(t,e,n){"use strict";var r=n("rG8t");t.exports=function(t,e){var n=[][t];return!!n&&r(function(){n.call(null,e||function(){throw 1},1)})}},"6XUM":function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},"6fhQ":function(t,e,n){"use strict";var r=n("wA6s"),o=n("Neub"),i=n("VCQ8"),a=n("rG8t"),c=n("6CJb"),u=[],s=u.sort,f=a(function(){u.sort(void 0)}),l=a(function(){u.sort(null)}),p=c("sort");r({target:"Array",proto:!0,forced:f||!l||!p},{sort:function(t){return void 0===t?s.call(i(this)):s.call(i(this),o(t))}})},"6lQQ":function(t,e,n){"use strict";var r=n("wA6s"),o=n("OXtp").indexOf,i=n("6CJb"),a=n("w2hq"),c=[].indexOf,u=!!c&&1/[1].indexOf(1,-0)<0,s=i("indexOf"),f=a("indexOf",{ACCESSORS:!0,1:0});r({target:"Array",proto:!0,forced:u||!s||!f},{indexOf:function(t){return u?c.apply(this,arguments)||0:o(this,t,arguments.length>1?arguments[1]:void 0)}})},"6oxo":function(t,e,n){var r=n("wA6s"),o=Math.log,i=Math.LN2;r({target:"Math",stat:!0},{log2:function(t){return o(t)/i}})},"6q6p":function(t,e,n){"use strict";var r=n("wA6s"),o=n("6XUM"),i=n("erNl"),a=n("7Oj1"),c=n("xpLY"),u=n("EMtK"),s=n("DYg9"),f=n("m41k"),l=n("lRyB"),p=n("w2hq"),h=l("slice"),v=p("slice",{ACCESSORS:!0,0:0,1:2}),d=f("species"),g=[].slice,y=Math.max;r({target:"Array",proto:!0,forced:!h||!v},{slice:function(t,e){var n,r,f,l=u(this),p=c(l.length),h=a(t,p),v=a(void 0===e?p:e,p);if(i(l)&&("function"!=typeof(n=l.constructor)||n!==Array&&!i(n.prototype)?o(n)&&null===(n=n[d])&&(n=void 0):n=void 0,n===Array||void 0===n))return g.call(l,h,v);for(r=new(void 0===n?Array:n)(y(v-h,0)),f=0;h=0;)p[e]=s((n+=p[e])/t),n=n%t*1e7},y=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==p[t]){var n=String(p[t]);e=""===e?n:e+a.call("0",7-n.length)+n}return e};if(l<0||l>20)throw RangeError("Incorrect fraction digits");if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(h="-",u=-u),u>1e-21)if(n=(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(u*f(2,69,1))-69)<0?u*f(2,-e,1):u/f(2,e,1),n*=4503599627370496,(e=52-e)>0){for(d(0,n),r=l;r>=7;)d(1e7,0),r-=7;for(d(f(10,r,1),0),r=e-1;r>=23;)g(1<<23),r-=23;g(1<0?h+((c=v.length)<=l?"0."+a.call("0",l-c)+v:v.slice(0,c-l)+"."+v.slice(c-l)):h+v}})},"8ydS":function(t,e,n){n("wA6s")({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},"94Vg":function(t,e,n){var r=n("E7aN"),o=n("OG5q"),i=n("aGCb"),a=n("/Ybd").f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});o(e,t)||a(e,t,{value:i.f(t)})}},"9kNm":function(t,e,n){n("94Vg")("toPrimitive")},A1Hp:function(t,e,n){var r=n("m41k"),o=n("2RDa"),i=n("/Ybd"),a=r("unscopables"),c=Array.prototype;null==c[a]&&i.f(c,a,{configurable:!0,value:o(null)}),t.exports=function(t){c[a][t]=!0}},A7hN:function(t,e,n){var r=n("wA6s"),o=n("rG8t"),i=n("VCQ8"),a=n("wIVT"),c=n("cwa4");r({target:"Object",stat:!0,forced:o(function(){a(1)}),sham:!c},{getPrototypeOf:function(t){return a(i(t))}})},"Ay+M":function(t,e,n){var r=n("wA6s"),o=n("vZCr");r({global:!0,forced:parseFloat!=o},{parseFloat:o})},B43K:function(t,e,n){var r=n("ezU2"),o=n("ocAm");t.exports="process"==r(o.process)},BaTD:function(t,e,n){n("wA6s")({target:"String",proto:!0},{repeat:n("EMWV")})},BcWx:function(t,e,n){"use strict";var r=n("wA6s"),o=n("rG8t"),i=n("DYg9");r({target:"Array",stat:!0,forced:o(function(){function t(){}return!(Array.of.call(t)instanceof t)})},{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);e>t;)i(n,t,arguments[t++]);return n.length=e,n}})},BnCb:function(t,e,n){n("wA6s")({target:"Math",stat:!0},{sign:n("n/2t")})},COcp:function(t,e,n){n("wA6s")({target:"Number",stat:!0},{isInteger:n("Nvxz")})},CW9j:function(t,e,n){"use strict";var r=n("F26l"),o=n("LdO1");t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return o(r(this),"number"!==t)}},CwIO:function(t,e,n){var r=n("wA6s"),o=Math.hypot,i=Math.abs,a=Math.sqrt;r({target:"Math",stat:!0,forced:!!o&&o(1/0,NaN)!==1/0},{hypot:function(t,e){for(var n,r,o=0,c=0,u=arguments.length,s=0;c0?(r=n/s)*r:n;return s===1/0?1/0:s*a(o)}})},"D+RQ":function(t,e,n){"use strict";var r=n("T69T"),o=n("ocAm"),i=n("MkZA"),a=n("2MGJ"),c=n("OG5q"),u=n("ezU2"),s=n("K6ZX"),f=n("LdO1"),l=n("rG8t"),p=n("2RDa"),h=n("KkqW").f,v=n("7gGY").f,d=n("/Ybd").f,g=n("jnLS").trim,y="Number",m=o.Number,b=m.prototype,w=u(p(b))==y,k=function(t){var e,n,r,o,i,a,c,u,s=f(t,!1);if("string"==typeof s&&s.length>2)if(43===(e=(s=g(s)).charCodeAt(0))||45===e){if(88===(n=s.charCodeAt(2))||120===n)return NaN}else if(48===e){switch(s.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+s}for(a=(i=s.slice(2)).length,c=0;co)return NaN;return parseInt(i,r)}return+s};if(i(y,!m(" 0o1")||!m("0b1")||m("+0x1"))){for(var E,x=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof x&&(w?l(function(){b.valueOf.call(n)}):u(n)!=y)?s(new m(k(e)),n,x):k(e)},S=r?h(m):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),_=0;S.length>_;_++)c(m,E=S[_])&&!c(x,E)&&d(x,E,v(m,E));x.prototype=b,b.constructor=x,a(o,y,x)}},D3bo:function(t,e,n){var r,o,i=n("ocAm"),a=n("T/Kj"),c=i.process,u=c&&c.versions,s=u&&u.v8;s?o=(r=s.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=r[1]),t.exports=o&&+o},D94X:function(t,e,n){var r=n("wA6s"),o=n("n/2t"),i=Math.abs,a=Math.pow;r({target:"Math",stat:!0},{cbrt:function(t){return o(t=+t)*a(i(t),1/3)}})},DAme:function(t,e,n){"use strict";var r=n("8aNu"),o=n("M7Xk").getWeakData,i=n("F26l"),a=n("6XUM"),c=n("SM6+"),u=n("Rn6E"),s=n("kk6e"),f=n("OG5q"),l=n("XH/I"),p=l.set,h=l.getterFor,v=s.find,d=s.findIndex,g=0,y=function(t){return t.frozen||(t.frozen=new m)},m=function(){this.entries=[]},b=function(t,e){return v(t.entries,function(t){return t[0]===e})};m.prototype={get:function(t){var e=b(this,t);if(e)return e[1]},has:function(t){return!!b(this,t)},set:function(t,e){var n=b(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=d(this.entries,function(e){return e[0]===t});return~e&&this.entries.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,s){var l=t(function(t,r){c(t,l,e),p(t,{type:e,id:g++,frozen:void 0}),null!=r&&u(r,t[s],{that:t,AS_ENTRIES:n})}),v=h(e),d=function(t,e,n){var r=v(t),a=o(i(e),!0);return!0===a?y(r).set(e,n):a[r.id]=n,t};return r(l.prototype,{delete:function(t){var e=v(this);if(!a(t))return!1;var n=o(t);return!0===n?y(e).delete(t):n&&f(n,e.id)&&delete n[e.id]},has:function(t){var e=v(this);if(!a(t))return!1;var n=o(t);return!0===n?y(e).has(t):n&&f(n,e.id)}}),r(l.prototype,n?{get:function(t){var e=v(this);if(a(t)){var n=o(t);return!0===n?y(e).get(t):n?n[e.id]:void 0}},set:function(t,e){return d(this,t,e)}}:{add:function(t){return d(this,t,!0)}}),l}}},DGHb:function(t,e,n){"use strict";var r=n("wA6s"),o=n("rG8t"),i=n("VCQ8"),a=n("LdO1");r({target:"Date",proto:!0,forced:o(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})},{toJSON:function(t){var e=i(this),n=a(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},DYg9:function(t,e,n){"use strict";var r=n("LdO1"),o=n("/Ybd"),i=n("uSMZ");t.exports=function(t,e,n){var a=r(e);a in t?o.f(t,a,i(0,n)):t[a]=n}},Djps:function(t,e,n){n("wA6s")({target:"Math",stat:!0},{log1p:n("O3xq")})},DscF:function(t,e,n){var r=n("wA6s"),o=n("w4Hq"),i=n("A1Hp");r({target:"Array",proto:!0},{fill:o}),i("fill")},E7aN:function(t,e,n){var r=n("ocAm");t.exports=r},E8Ab:function(t,e,n){"use strict";var r=n("Neub"),o=n("6XUM"),i=[].slice,a={},c=function(t,e,n){if(!(e in a)){for(var r=[],o=0;o0;(i>>>=1)&&(e+=e))1&i&&(n+=e);return n}},EMtK:function(t,e,n){var r=n("tUdv"),o=n("hmpk");t.exports=function(t){return r(o(t))}},EQZg:function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},ERXZ:function(t,e,n){n("94Vg")("match")},EntM:function(t,e,n){var r=n("wA6s"),o=n("T69T");r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:n("5y2d")})},"Ew/G":function(t,e,n){var r=n("E7aN"),o=n("ocAm"),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t])||i(o[t]):r[t]&&r[t][e]||o[t]&&o[t][e]}},"F/TS":function(t,e,n){var r=n("mN5b"),o=n("pz+c"),i=n("m41k")("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[r(t)]}},F26l:function(t,e,n){var r=n("6XUM");t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},F4rZ:function(t,e,n){"use strict";var r=n("wA6s"),o=n("rG8t"),i=n("erNl"),a=n("6XUM"),c=n("VCQ8"),u=n("xpLY"),s=n("DYg9"),f=n("JafA"),l=n("lRyB"),p=n("m41k"),h=n("D3bo"),v=p("isConcatSpreadable"),d=9007199254740991,g="Maximum allowed index exceeded",y=h>=51||!o(function(){var t=[];return t[v]=!1,t.concat()[0]!==t}),m=l("concat"),b=function(t){if(!a(t))return!1;var e=t[v];return void 0!==e?!!e:i(t)};r({target:"Array",proto:!0,forced:!y||!m},{concat:function(t){var e,n,r,o,i,a=c(this),l=f(a,0),p=0;for(e=-1,r=arguments.length;ed)throw TypeError(g);for(n=0;n=d)throw TypeError(g);s(l,p++,i)}return l.length=p,l}})},FU1i:function(t,e,n){"use strict";var r=n("wA6s"),o=n("kk6e").map,i=n("lRyB"),a=n("w2hq"),c=i("map"),u=a("map");r({target:"Array",proto:!0,forced:!c||!u},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},"FeI/":function(t,e,n){"use strict";var r=n("wA6s"),o=n("kk6e").every,i=n("6CJb"),a=n("w2hq"),c=i("every"),u=a("every");r({target:"Array",proto:!0,forced:!c||!u},{every:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},Fqhe:function(t,e,n){var r=n("ocAm"),o=n("aJMj");t.exports=function(t,e){try{o(r,t,e)}catch(n){r[t]=e}return e}},G1Vw:function(t,e,n){"use strict";var r,o,i,a=n("rG8t"),c=n("wIVT"),u=n("aJMj"),s=n("OG5q"),f=n("m41k"),l=n("g9hI"),p=f("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=c(c(i)))!==Object.prototype&&(r=o):h=!0);var v=null==r||a(function(){var t={};return r[p].call(t)!==t});v&&(r={}),l&&!v||s(r,p)||u(r,p,function(){return this}),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},G7bs:function(t,e,n){var r=n("vDBE"),o=n("hmpk"),i=function(t){return function(e,n){var i,a,c=String(o(e)),u=r(n),s=c.length;return u<0||u>=s?t?"":void 0:(i=c.charCodeAt(u))<55296||i>56319||u+1===s||(a=c.charCodeAt(u+1))<56320||a>57343?t?c.charAt(u):i:t?c.slice(u,u+2):a-56320+(i-55296<<10)+65536}};t.exports={codeAt:i(!1),charAt:i(!0)}},HSQg:function(t,e,n){"use strict";n("SC6u");var r=n("2MGJ"),o=n("rG8t"),i=n("m41k"),a=n("qjkP"),c=n("aJMj"),u=i("species"),s=!o(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")}),f="$0"==="a".replace(/./,"$0"),l=i("replace"),p=!!/./[l]&&""===/./[l]("a","$0"),h=!o(function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]});t.exports=function(t,e,n,l){var v=i(t),d=!o(function(){var e={};return e[v]=function(){return 7},7!=""[t](e)}),g=d&&!o(function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[u]=function(){return n},n.flags="",n[v]=/./[v]),n.exec=function(){return e=!0,null},n[v](""),!e});if(!d||!g||"replace"===t&&(!s||!f||p)||"split"===t&&!h){var y=/./[v],m=n(v,""[t],function(t,e,n,r,o){return e.exec===a?d&&!o?{done:!0,value:y.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}},{REPLACE_KEEPS_$0:f,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),b=m[1];r(String.prototype,t,m[0]),r(RegExp.prototype,v,2==e?function(t,e){return b.call(t,this,e)}:function(t){return b.call(t,this)})}l&&c(RegExp.prototype[v],"sham",!0)}},IBH3:function(t,e,n){"use strict";var r=n("tcQx"),o=n("VCQ8"),i=n("ipMl"),a=n("5MmU"),c=n("xpLY"),u=n("DYg9"),s=n("F/TS");t.exports=function(t){var e,n,f,l,p,h,v=o(t),d="function"==typeof this?this:Array,g=arguments.length,y=g>1?arguments[1]:void 0,m=void 0!==y,b=s(v),w=0;if(m&&(y=r(y,g>2?arguments[2]:void 0,2)),null==b||d==Array&&a(b))for(n=new d(e=c(v.length));e>w;w++)h=m?y(v[w],w):v[w],u(n,w,h);else for(p=(l=b.call(v)).next,n=new d;!(f=p.call(l)).done;w++)h=m?i(l,y,[f.value,w],!0):f.value,u(n,w,h);return n.length=w,n}},IPby:function(t,e,n){var r=n("wA6s"),o=n("EMtK"),i=n("xpLY");r({target:"String",stat:!0},{raw:function(t){for(var e=o(t.raw),n=i(e.length),r=arguments.length,a=[],c=0;n>c;)a.push(String(e[c++])),c79&&c<83},{reduceRight:function(t){return o(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},IUBq:function(t,e,n){"use strict";var r=n("erNl"),o=n("xpLY"),i=n("tcQx"),a=function(t,e,n,c,u,s,f,l){for(var p,h=u,v=0,d=!!f&&i(f,l,3);v0&&r(p))h=a(t,e,p,o(p.length),h,s-1)-1;else{if(h>=9007199254740991)throw TypeError("Exceed the acceptable array length");t[h]=p}h++}v++}return h};t.exports=a},IXlp:function(t,e,n){var r=n("wA6s"),o=n("O3xq"),i=Math.acosh,a=Math.log,c=Math.sqrt,u=Math.LN2;r({target:"Math",stat:!0,forced:!i||710!=Math.floor(i(Number.MAX_VALUE))||i(1/0)!=1/0},{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?a(t)+u:o(t-1+c(t-1)*c(t+1))}})},IzYO:function(t,e,n){var r=n("wA6s"),o=n("cZY6"),i=n("rG8t"),a=n("6XUM"),c=n("M7Xk").onFreeze,u=Object.freeze;r({target:"Object",stat:!0,forced:i(function(){u(1)}),sham:!o},{freeze:function(t){return u&&a(t)?u(c(t)):t}})},J4zY:function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("fixed")},{fixed:function(){return o(this,"tt","","")}})},JHhb:function(t,e,n){"use strict";var r=n("Ew/G"),o=n("/Ybd"),i=n("m41k"),a=n("T69T"),c=i("species");t.exports=function(t){var e=r(t);a&&e&&!e[c]&&(0,o.f)(e,c,{configurable:!0,get:function(){return this}})}},JI1L:function(t,e,n){var r=n("6XUM");t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},JafA:function(t,e,n){var r=n("6XUM"),o=n("erNl"),i=n("m41k")("species");t.exports=function(t,e){var n;return o(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},JhPs:function(t,e,n){var r=n("wA6s"),o=n("pn4C");r({target:"Math",stat:!0,forced:o!=Math.expm1},{expm1:o})},JkSk:function(t,e,n){"use strict";var r=n("rG8t");function o(t,e){return RegExp(t,e)}e.UNSUPPORTED_Y=r(function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd")}),e.BROKEN_CARET=r(function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")})},"Jt/z":function(t,e,n){"use strict";var r=n("wA6s"),o=n("kk6e").findIndex,i=n("A1Hp"),a=n("w2hq"),c="findIndex",u=!0,s=a(c);c in[]&&Array(1).findIndex(function(){u=!1}),r({target:"Array",proto:!0,forced:u||!s},{findIndex:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i(c)},K1Z7:function(t,e,n){"use strict";var r=n("HSQg"),o=n("F26l"),i=n("xpLY"),a=n("hmpk"),c=n("dPn5"),u=n("unYP");r("match",1,function(t,e,n){return[function(e){var n=a(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var a=o(t),s=String(this);if(!a.global)return u(a,s);var f=a.unicode;a.lastIndex=0;for(var l,p=[],h=0;null!==(l=u(a,s));){var v=String(l[0]);p[h]=v,""===v&&(a.lastIndex=c(s,i(a.lastIndex),f)),h++}return 0===h?null:p}]})},K1dl:function(t,e,n){var r=n("ocAm");t.exports=r.Promise},K6ZX:function(t,e,n){var r=n("6XUM"),o=n("7/lX");t.exports=function(t,e,n){var i,a;return o&&"function"==typeof(i=e.constructor)&&i!==n&&r(a=i.prototype)&&a!==n.prototype&&o(t,a),t}},KBkW:function(t,e,n){var r=n("ocAm"),o=n("Fqhe"),i="__core-js_shared__",a=r[i]||o(i,{});t.exports=a},KMug:function(t,e,n){var r=n("wA6s"),o=n("rG8t"),i=n("6XUM"),a=Object.isFrozen;r({target:"Object",stat:!0,forced:o(function(){a(1)})},{isFrozen:function(t){return!i(t)||!!a&&a(t)}})},KkqW:function(t,e,n){var r=n("vVmn"),o=n("aAjO").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},KlhL:function(t,e,n){"use strict";var r=n("T69T"),o=n("rG8t"),i=n("ZRqE"),a=n("busr"),c=n("gn9T"),u=n("VCQ8"),s=n("tUdv"),f=Object.assign,l=Object.defineProperty;t.exports=!f||o(function(){if(r&&1!==f({b:1},f(l({},"a",{enumerable:!0,get:function(){l(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol(),o="abcdefghijklmnopqrst";return t[n]=7,o.split("").forEach(function(t){e[t]=t}),7!=f({},t)[n]||i(f({},e)).join("")!=o})?function(t,e){for(var n=u(t),o=arguments.length,f=1,l=a.f,p=c.f;o>f;)for(var h,v=s(arguments[f++]),d=l?i(v).concat(l(v)):i(v),g=d.length,y=0;g>y;)h=d[y++],r&&!p.call(v,h)||(n[h]=v[h]);return n}:f},KsdI:function(t,e,n){n("94Vg")("iterator")},L4l2:function(t,e,n){"use strict";var r=n("wA6s"),o=n("s8qp"),i=n("hmpk");r({target:"String",proto:!0,forced:!n("0Ds2")("includes")},{includes:function(t){return!!~String(i(this)).indexOf(o(t),arguments.length>1?arguments[1]:void 0)}})},LRWt:function(t,e,n){n("F4rZ"),n("NX+v"),n("SNUk"),n("c/8x"),n("0luR"),n("Pfbg"),n("V+F/"),n("KsdI"),n("ERXZ"),n("YOJ4"),n("S3W2"),n("8+YH"),n("uKyN"),n("Vi1R"),n("9kNm"),n("ZQqA"),n("815a"),n("8CeQ"),n("OVXS"),n("zglh");var r=n("E7aN");t.exports=r.Symbol},LdO1:function(t,e,n){var r=n("6XUM");t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},M1AK:function(t,e,n){var r=n("wA6s"),o=Math.floor,i=Math.log,a=Math.LOG2E;r({target:"Math",stat:!0},{clz32:function(t){return(t>>>=0)?31-o(i(t+.5)*a):32}})},M7Xk:function(t,e,n){var r=n("yQMY"),o=n("6XUM"),i=n("OG5q"),a=n("/Ybd").f,c=n("SDMg"),u=n("cZY6"),s=c("meta"),f=0,l=Object.isExtensible||function(){return!0},p=function(t){a(t,s,{value:{objectID:"O"+ ++f,weakData:{}}})},h=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,s)){if(!l(t))return"F";if(!e)return"E";p(t)}return t[s].objectID},getWeakData:function(t,e){if(!i(t,s)){if(!l(t))return!0;if(!e)return!1;p(t)}return t[s].weakData},onFreeze:function(t){return u&&h.REQUIRED&&l(t)&&!i(t,s)&&p(t),t}};r[s]=!0},MjoC:function(t,e,n){var r=n("T69T"),o=n("/Ybd").f,i=Function.prototype,a=i.toString,c=/^\s*function ([^ (]*)/,u="name";r&&!(u in i)&&o(i,u,{configurable:!0,get:function(){try{return a.call(this).match(c)[1]}catch(t){return""}}})},MkZA:function(t,e,n){var r=n("rG8t"),o=/#|\.prototype\./,i=function(t,e){var n=c[a(t)];return n==s||n!=u&&("function"==typeof e?r(e):!!e)},a=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=i.data={},u=i.NATIVE="N",s=i.POLYFILL="P";t.exports=i},NIlc:function(t,e,n){var r=n("OG5q"),o=n("76gj"),i=n("7gGY"),a=n("/Ybd");t.exports=function(t,e){for(var n=o(e),c=a.f,u=i.f,s=0;s-1e-8&&t<1e-8?t-t*t/2:n(1+t)}},OG5q:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},OOEz:function(t,e,n){var r=n("wA6s"),o=n("Rn6E"),i=n("DYg9");r({target:"Object",stat:!0},{fromEntries:function(t){var e={};return o(t,function(t,n){i(e,t,n)},{AS_ENTRIES:!0}),e}})},OVXS:function(t,e,n){n("shqn")(Math,"Math",!0)},OXtp:function(t,e,n){var r=n("EMtK"),o=n("xpLY"),i=n("7Oj1"),a=function(t){return function(e,n,a){var c,u=r(e),s=o(u.length),f=i(a,s);if(t&&n!=n){for(;s>f;)if((c=u[f++])!=c)return!0}else for(;s>f;f++)if((t||f in u)&&u[f]===n)return t||f||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},OjQg:function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},Ox9q:function(t,e,n){var r,o,i,a=n("ocAm"),c=n("rG8t"),u=n("tcQx"),s=n("149L"),f=n("qx7X"),l=n("tuHh"),p=n("B43K"),h=a.location,v=a.setImmediate,d=a.clearImmediate,g=a.process,y=a.MessageChannel,m=a.Dispatch,b=0,w={},k=function(t){if(w.hasOwnProperty(t)){var e=w[t];delete w[t],e()}},E=function(t){return function(){k(t)}},x=function(t){k(t.data)},S=function(t){a.postMessage(t+"",h.protocol+"//"+h.host)};v&&d||(v=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return w[++b]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},r(b),b},d=function(t){delete w[t]},p?r=function(t){g.nextTick(E(t))}:m&&m.now?r=function(t){m.now(E(t))}:y&&!l?(i=(o=new y).port2,o.port1.onmessage=x,r=u(i.postMessage,i,1)):a.addEventListener&&"function"==typeof postMessage&&!a.importScripts&&h&&"file:"!==h.protocol&&!c(S)?(r=S,a.addEventListener("message",x,!1)):r="onreadystatechange"in f("script")?function(t){s.appendChild(f("script")).onreadystatechange=function(){s.removeChild(this),k(t)}}:function(t){setTimeout(E(t),0)}),t.exports={set:v,clear:d}},PbJR:function(t,e,n){var r=n("wA6s"),o=n("4NCC");r({global:!0,forced:parseInt!=o},{parseInt:o})},Pf6x:function(t,e,n){n("wA6s")({target:"Math",stat:!0},{fround:n("48xZ")})},Pfbg:function(t,e,n){n("94Vg")("hasInstance")},PmIt:function(t,e,n){"use strict";var r=n("HSQg"),o=n("1p6F"),i=n("F26l"),a=n("hmpk"),c=n("p82S"),u=n("dPn5"),s=n("xpLY"),f=n("unYP"),l=n("qjkP"),p=n("rG8t"),h=[].push,v=Math.min,d=4294967295,g=!p(function(){return!RegExp(d,"y")});r("split",2,function(t,e,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var r=String(a(this)),i=void 0===n?d:n>>>0;if(0===i)return[];if(void 0===t)return[r];if(!o(t))return e.call(r,t,i);for(var c,u,s,f=[],p=0,v=new RegExp(t.source,(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":"")+"g");(c=l.call(v,r))&&!((u=v.lastIndex)>p&&(f.push(r.slice(p,c.index)),c.length>1&&c.index=i));)v.lastIndex===c.index&&v.lastIndex++;return p===r.length?!s&&v.test("")||f.push(""):f.push(r.slice(p)),f.length>i?f.slice(0,i):f}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var o=a(this),i=null==e?void 0:e[t];return void 0!==i?i.call(e,o,n):r.call(String(o),e,n)},function(t,o){var a=n(r,t,this,o,r!==e);if(a.done)return a.value;var l=i(t),p=String(this),h=c(l,RegExp),y=l.unicode,m=new h(g?l:"^(?:"+l.source+")",(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(g?"y":"g")),b=void 0===o?d:o>>>0;if(0===b)return[];if(0===p.length)return null===f(m,p)?[p]:[];for(var w=0,k=0,E=[];k79&&c<83},{reduce:function(t){return o(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},QFgE:function(t,e,n){var r=n("wA6s"),o=n("rG8t"),i=Math.imul;r({target:"Math",stat:!0,forced:o(function(){return-5!=i(4294967295,5)||2!=i.length})},{imul:function(t,e){var n=65535,r=+t,o=+e,i=n&r,a=n&o;return 0|i*a+((n&r>>>16)*a+i*(n&o>>>16)<<16>>>0)}})},QUoj:function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("anchor")},{anchor:function(t){return o(this,"a","name",t)}})},"QVG+":function(t,e,n){var r=n("wA6s"),o=n("rG8t"),i=n("6XUM"),a=Object.isSealed;r({target:"Object",stat:!0,forced:o(function(){a(1)})},{isSealed:function(t){return!i(t)||!!a&&a(t)}})},QcXc:function(t,e,n){var r=n("xpLY"),o=n("EMWV"),i=n("hmpk"),a=Math.ceil,c=function(t){return function(e,n,c){var u,s,f=String(i(e)),l=f.length,p=void 0===c?" ":String(c),h=r(n);return h<=l||""==p?f:((s=o.call(p,a((u=h-l)/p.length))).length>u&&(s=s.slice(0,u)),t?f+s:s+f)}};t.exports={start:c(!1),end:c(!0)}},RCvO:function(t,e,n){n("wA6s")({target:"Object",stat:!0,sham:!n("T69T")},{create:n("2RDa")})},"Rj+b":function(t,e,n){"use strict";var r=n("2MGJ"),o=n("F26l"),i=n("rG8t"),a=n("x0kV"),c="toString",u=RegExp.prototype,s=u.toString;(i(function(){return"/a/b"!=s.call({source:"a",flags:"b"})})||s.name!=c)&&r(RegExp.prototype,c,function(){var t=o(this),e=String(t.source),n=t.flags;return"/"+e+"/"+String(void 0===n&&t instanceof RegExp&&!("flags"in u)?a.call(t):n)},{unsafe:!0})},Rn6E:function(t,e,n){var r=n("F26l"),o=n("5MmU"),i=n("xpLY"),a=n("tcQx"),c=n("F/TS"),u=n("5zQ0"),s=function(t,e){this.stopped=t,this.result=e};t.exports=function(t,e,n){var f,l,p,h,v,d,g,y=!(!n||!n.AS_ENTRIES),m=!(!n||!n.IS_ITERATOR),b=!(!n||!n.INTERRUPTED),w=a(e,n&&n.that,1+y+b),k=function(t){return f&&u(f),new s(!0,t)},E=function(t){return y?(r(t),b?w(t[0],t[1],k):w(t[0],t[1])):b?w(t,k):w(t)};if(m)f=t;else{if("function"!=typeof(l=c(t)))throw TypeError("Target is not iterable");if(o(l)){for(p=0,h=i(t.length);h>p;p++)if((v=E(t[p]))&&v instanceof s)return v;return new s(!1)}f=l.call(t)}for(d=f.next;!(g=d.call(f)).done;){try{v=E(g.value)}catch(x){throw u(f),x}if("object"==typeof v&&v&&v instanceof s)return v}return new s(!1)}},S3W2:function(t,e,n){n("94Vg")("replace")},S3Yw:function(t,e,n){"use strict";var r=n("HSQg"),o=n("F26l"),i=n("xpLY"),a=n("vDBE"),c=n("hmpk"),u=n("dPn5"),s=n("x+GC"),f=n("unYP"),l=Math.max,p=Math.min;r("replace",2,function(t,e,n,r){var h=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,v=r.REPLACE_KEEPS_$0,d=h?"$":"$0";return[function(n,r){var o=c(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,o,r):e.call(String(o),n,r)},function(t,r){if(!h&&v||"string"==typeof r&&-1===r.indexOf(d)){var c=n(e,t,this,r);if(c.done)return c.value}var g=o(t),y=String(this),m="function"==typeof r;m||(r=String(r));var b=g.global;if(b){var w=g.unicode;g.lastIndex=0}for(var k=[];;){var E=f(g,y);if(null===E)break;if(k.push(E),!b)break;""===String(E[0])&&(g.lastIndex=u(y,i(g.lastIndex),w))}for(var x,S="",_=0,T=0;T=_&&(S+=y.slice(_,A)+C,_=A+O.length)}return S+y.slice(_)}]})},S58s:function(t,e,n){var r=n("wA6s"),o=n("pn4C"),i=Math.cosh,a=Math.abs,c=Math.E;r({target:"Math",stat:!0,forced:!i||i(710)===1/0},{cosh:function(t){var e=o(a(t)-1)+1;return(e+1/(e*c*c))*(c/2)}})},SC6u:function(t,e,n){"use strict";var r=n("wA6s"),o=n("qjkP");r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},SDMg:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+r).toString(36)}},"SM6+":function(t,e){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},SNUk:function(t,e,n){"use strict";var r=n("wA6s"),o=n("ocAm"),i=n("Ew/G"),a=n("g9hI"),c=n("T69T"),u=n("U+kB"),s=n("i85Z"),f=n("rG8t"),l=n("OG5q"),p=n("erNl"),h=n("6XUM"),v=n("F26l"),d=n("VCQ8"),g=n("EMtK"),y=n("LdO1"),m=n("uSMZ"),b=n("2RDa"),w=n("ZRqE"),k=n("KkqW"),E=n("TzEA"),x=n("busr"),S=n("7gGY"),_=n("/Ybd"),T=n("gn9T"),O=n("aJMj"),A=n("2MGJ"),M=n("yIiL"),j=n("/AsP"),P=n("yQMY"),I=n("SDMg"),C=n("m41k"),D=n("aGCb"),N=n("94Vg"),R=n("shqn"),L=n("XH/I"),Z=n("kk6e").forEach,G=j("hidden"),z="Symbol",F=C("toPrimitive"),q=L.set,X=L.getterFor(z),Y=Object.prototype,U=o.Symbol,W=i("JSON","stringify"),V=S.f,H=_.f,B=E.f,Q=T.f,K=M("symbols"),J=M("op-symbols"),$=M("string-to-symbol-registry"),tt=M("symbol-to-string-registry"),et=M("wks"),nt=o.QObject,rt=!nt||!nt.prototype||!nt.prototype.findChild,ot=c&&f(function(){return 7!=b(H({},"a",{get:function(){return H(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=V(Y,e);r&&delete Y[e],H(t,e,n),r&&t!==Y&&H(Y,e,r)}:H,it=function(t,e){var n=K[t]=b(U.prototype);return q(n,{type:z,tag:t,description:e}),c||(n.description=e),n},at=s?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof U},ct=function(t,e,n){t===Y&&ct(J,e,n),v(t);var r=y(e,!0);return v(n),l(K,r)?(n.enumerable?(l(t,G)&&t[G][r]&&(t[G][r]=!1),n=b(n,{enumerable:m(0,!1)})):(l(t,G)||H(t,G,m(1,{})),t[G][r]=!0),ot(t,r,n)):H(t,r,n)},ut=function(t,e){v(t);var n=g(e),r=w(n).concat(pt(n));return Z(r,function(e){c&&!st.call(n,e)||ct(t,e,n[e])}),t},st=function(t){var e=y(t,!0),n=Q.call(this,e);return!(this===Y&&l(K,e)&&!l(J,e))&&(!(n||!l(this,e)||!l(K,e)||l(this,G)&&this[G][e])||n)},ft=function(t,e){var n=g(t),r=y(e,!0);if(n!==Y||!l(K,r)||l(J,r)){var o=V(n,r);return!o||!l(K,r)||l(n,G)&&n[G][r]||(o.enumerable=!0),o}},lt=function(t){var e=B(g(t)),n=[];return Z(e,function(t){l(K,t)||l(P,t)||n.push(t)}),n},pt=function(t){var e=t===Y,n=B(e?J:g(t)),r=[];return Z(n,function(t){!l(K,t)||e&&!l(Y,t)||r.push(K[t])}),r};u||(A((U=function(){if(this instanceof U)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=I(t),n=function(t){this===Y&&n.call(J,t),l(this,G)&&l(this[G],e)&&(this[G][e]=!1),ot(this,e,m(1,t))};return c&&rt&&ot(Y,e,{configurable:!0,set:n}),it(e,t)}).prototype,"toString",function(){return X(this).tag}),A(U,"withoutSetter",function(t){return it(I(t),t)}),T.f=st,_.f=ct,S.f=ft,k.f=E.f=lt,x.f=pt,D.f=function(t){return it(C(t),t)},c&&(H(U.prototype,"description",{configurable:!0,get:function(){return X(this).description}}),a||A(Y,"propertyIsEnumerable",st,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!u,sham:!u},{Symbol:U}),Z(w(et),function(t){N(t)}),r({target:z,stat:!0,forced:!u},{for:function(t){var e=String(t);if(l($,e))return $[e];var n=U(e);return $[e]=n,tt[n]=e,n},keyFor:function(t){if(!at(t))throw TypeError(t+" is not a symbol");if(l(tt,t))return tt[t]},useSetter:function(){rt=!0},useSimple:function(){rt=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!c},{create:function(t,e){return void 0===e?b(t):ut(b(t),e)},defineProperty:ct,defineProperties:ut,getOwnPropertyDescriptor:ft}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:lt,getOwnPropertySymbols:pt}),r({target:"Object",stat:!0,forced:f(function(){x.f(1)})},{getOwnPropertySymbols:function(t){return x.f(d(t))}}),W&&r({target:"JSON",stat:!0,forced:!u||f(function(){var t=U();return"[null]"!=W([t])||"{}"!=W({a:t})||"{}"!=W(Object(t))})},{stringify:function(t,e,n){for(var r,o=[t],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=e,(h(e)||void 0!==t)&&!at(t))return p(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!at(e))return e}),o[1]=e,W.apply(null,o)}}),U.prototype[F]||O(U.prototype,F,U.prototype.valueOf),R(U,z),P[G]=!0},SdaC:function(t,e,n){var r=n("wA6s"),o=Math.ceil,i=Math.floor;r({target:"Math",stat:!0},{trunc:function(t){return(t>0?i:o)(t)}})},"T/Kj":function(t,e,n){var r=n("Ew/G");t.exports=r("navigator","userAgent")||""},T4tC:function(t,e,n){var r=n("T69T"),o=n("ocAm"),i=n("MkZA"),a=n("K6ZX"),c=n("/Ybd").f,u=n("KkqW").f,s=n("1p6F"),f=n("x0kV"),l=n("JkSk"),p=n("2MGJ"),h=n("rG8t"),v=n("XH/I").set,d=n("JHhb"),g=n("m41k")("match"),y=o.RegExp,m=y.prototype,b=/a/g,w=/a/g,k=new y(b)!==b,E=l.UNSUPPORTED_Y;if(r&&i("RegExp",!k||E||h(function(){return w[g]=!1,y(b)!=b||y(w)==w||"/a/i"!=y(b,"i")}))){for(var x=function(t,e){var n,r=this instanceof x,o=s(t),i=void 0===e;if(!r&&o&&t.constructor===x&&i)return t;k?o&&!i&&(t=t.source):t instanceof x&&(i&&(e=f.call(t)),t=t.source),E&&(n=!!e&&e.indexOf("y")>-1)&&(e=e.replace(/y/g,""));var c=a(k?new y(t,e):y(t,e),r?this:m,x);return E&&n&&v(c,{sticky:n}),c},S=function(t){t in x||c(x,t,{configurable:!0,get:function(){return y[t]},set:function(e){y[t]=e}})},_=u(y),T=0;_.length>T;)S(_[T++]);m.constructor=x,x.prototype=m,p(o,"RegExp",x)}d("RegExp")},T69T:function(t,e,n){var r=n("rG8t");t.exports=!r(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},TzEA:function(t,e,n){var r=n("EMtK"),o=n("KkqW").f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(e){return a.slice()}}(t):o(r(t))}},"U+kB":function(t,e,n){var r=n("rG8t");t.exports=!!Object.getOwnPropertySymbols&&!r(function(){return!String(Symbol())})},"V+F/":function(t,e,n){n("94Vg")("isConcatSpreadable")},VCQ8:function(t,e,n){var r=n("hmpk");t.exports=function(t){return Object(r(t))}},Vi1R:function(t,e,n){n("94Vg")("split")},ViWx:function(t,e,n){"use strict";var r=n("wdMf"),o=n("nIH4");t.exports=r("Set",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},o)},VmbE:function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("strike")},{strike:function(){return o(this,"strike","","")}})},W0ke:function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("fontsize")},{fontsize:function(t){return o(this,"font","size",t)}})},WEX0:function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("link")},{link:function(t){return o(this,"a","href",t)}})},WEpO:function(t,e,n){var r=n("wA6s"),o=Math.log,i=Math.LOG10E;r({target:"Math",stat:!0},{log10:function(t){return o(t)*i}})},WKvG:function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("fontcolor")},{fontcolor:function(t){return o(this,"font","color",t)}})},WLa2:function(t,e,n){var r=n("wA6s"),o=n("6XUM"),i=n("M7Xk").onFreeze,a=n("cZY6"),c=n("rG8t"),u=Object.preventExtensions;r({target:"Object",stat:!0,forced:c(function(){u(1)}),sham:!a},{preventExtensions:function(t){return u&&o(t)?u(i(t)):t}})},WijE:function(t,e,n){"use strict";var r=n("wA6s"),o=n("ZJLg"),i=n("wIVT"),a=n("7/lX"),c=n("shqn"),u=n("aJMj"),s=n("2MGJ"),f=n("m41k"),l=n("g9hI"),p=n("pz+c"),h=n("G1Vw"),v=h.IteratorPrototype,d=h.BUGGY_SAFARI_ITERATORS,g=f("iterator"),y="keys",m="values",b="entries",w=function(){return this};t.exports=function(t,e,n,f,h,k,E){o(n,e,f);var x,S,_,T=function(t){if(t===h&&P)return P;if(!d&&t in M)return M[t];switch(t){case y:case m:case b:return function(){return new n(this,t)}}return function(){return new n(this)}},O=e+" Iterator",A=!1,M=t.prototype,j=M[g]||M["@@iterator"]||h&&M[h],P=!d&&j||T(h),I="Array"==e&&M.entries||j;if(I&&(x=i(I.call(new t)),v!==Object.prototype&&x.next&&(l||i(x)===v||(a?a(x,v):"function"!=typeof x[g]&&u(x,g,w)),c(x,O,!0,!0),l&&(p[O]=w))),h==m&&j&&j.name!==m&&(A=!0,P=function(){return j.call(this)}),l&&!E||M[g]===P||u(M,g,P),p[e]=P,h)if(S={values:T(m),keys:k?P:T(y),entries:T(b)},E)for(_ in S)(d||A||!(_ in M))&&s(M,_,S[_]);else r({target:e,proto:!0,forced:d||A},S);return S}},WnNu:function(t,e,n){n("wA6s")({target:"Object",stat:!0},{setPrototypeOf:n("7/lX")})},XEin:function(t,e,n){"use strict";var r=n("wA6s"),o=n("kk6e").some,i=n("6CJb"),a=n("w2hq"),c=i("some"),u=a("some");r({target:"Array",proto:!0,forced:!c||!u},{some:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},"XH/I":function(t,e,n){var r,o,i,a=n("yaK9"),c=n("ocAm"),u=n("6XUM"),s=n("aJMj"),f=n("OG5q"),l=n("KBkW"),p=n("/AsP"),h=n("yQMY");if(a){var v=l.state||(l.state=new(0,c.WeakMap)),d=v.get,g=v.has,y=v.set;r=function(t,e){return e.facade=t,y.call(v,t,e),e},o=function(t){return d.call(v,t)||{}},i=function(t){return g.call(v,t)}}else{var m=p("state");h[m]=!0,r=function(t,e){return e.facade=t,s(t,m,e),e},o=function(t){return f(t,m)?t[m]:{}},i=function(t){return f(t,m)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!u(e)||(n=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},XdSI:function(t,e,n){var r=n("T69T"),o=n("rG8t"),i=n("qx7X");t.exports=!r&&!o(function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},Xm88:function(t,e,n){var r=n("wA6s"),o=n("rCRE");r({target:"Array",proto:!0,forced:o!==[].lastIndexOf},{lastIndexOf:o})},Y5OV:function(t,e,n){var r=n("aJMj"),o=n("CW9j"),i=n("m41k")("toPrimitive"),a=Date.prototype;i in a||r(a,i,o)},YOJ4:function(t,e,n){n("94Vg")("matchAll")},Yg8j:function(t,e,n){var r=n("ocAm").isFinite;t.exports=Number.isFinite||function(t){return"number"==typeof t&&r(t)}},Yu3F:function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("bold")},{bold:function(){return o(this,"b","","")}})},ZBUp:function(t,e,n){n("wA6s")({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},ZJLg:function(t,e,n){"use strict";var r=n("G1Vw").IteratorPrototype,o=n("2RDa"),i=n("uSMZ"),a=n("shqn"),c=n("pz+c"),u=function(){return this};t.exports=function(t,e,n){var s=e+" Iterator";return t.prototype=o(r,{next:i(1,n)}),a(t,s,!1,!0),c[s]=u,t}},ZQqA:function(t,e,n){n("94Vg")("toStringTag")},ZRqE:function(t,e,n){var r=n("vVmn"),o=n("aAjO");t.exports=Object.keys||function(t){return r(t,o)}},aAjO:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},aGCb:function(t,e,n){var r=n("m41k");e.f=r},aJMj:function(t,e,n){var r=n("T69T"),o=n("/Ybd"),i=n("uSMZ");t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},aTTg:function(t,e,n){var r=n("wA6s"),o=n("pn4C"),i=Math.exp;r({target:"Math",stat:!0},{tanh:function(t){var e=o(t=+t),n=o(-t);return e==1/0?1:n==1/0?-1:(e-n)/(i(t)+i(-t))}})},ane6:function(t,e,n){"use strict";var r=n("wA6s"),o=n("rG8t"),i=n("hH+7"),a=1..toPrecision;r({target:"Number",proto:!0,forced:o(function(){return"1"!==a.call(1,void 0)})||!o(function(){a.call({})})},{toPrecision:function(t){return void 0===t?a.call(i(this)):a.call(i(this),t)}})},azxr:function(t,e,n){"use strict";var r=n("4PyY"),o=n("mN5b");t.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},bHwr:function(t,e,n){"use strict";var r,o,i,a,c=n("wA6s"),u=n("g9hI"),s=n("ocAm"),f=n("Ew/G"),l=n("K1dl"),p=n("2MGJ"),h=n("8aNu"),v=n("shqn"),d=n("JHhb"),g=n("6XUM"),y=n("Neub"),m=n("SM6+"),b=n("6urC"),w=n("Rn6E"),k=n("EIBq"),E=n("p82S"),x=n("Ox9q").set,S=n("3xQm"),_=n("7aOP"),T=n("ktmr"),O=n("oB0/"),A=n("pd8B"),M=n("XH/I"),j=n("MkZA"),P=n("m41k"),I=n("B43K"),C=n("D3bo"),D=P("species"),N="Promise",R=M.get,L=M.set,Z=M.getterFor(N),G=l,z=s.TypeError,F=s.document,q=s.process,X=f("fetch"),Y=O.f,U=Y,W=!!(F&&F.createEvent&&s.dispatchEvent),V="function"==typeof PromiseRejectionEvent,H="unhandledrejection",B=j(N,function(){if(b(G)===String(G)){if(66===C)return!0;if(!I&&!V)return!0}if(u&&!G.prototype.finally)return!0;if(C>=51&&/native code/.test(G))return!1;var t=G.resolve(1),e=function(t){t(function(){},function(){})};return(t.constructor={})[D]=e,!(t.then(function(){})instanceof e)}),Q=B||!k(function(t){G.all(t).catch(function(){})}),K=function(t){var e;return!(!g(t)||"function"!=typeof(e=t.then))&&e},J=function(t,e){if(!t.notified){t.notified=!0;var n=t.reactions;S(function(){for(var r=t.value,o=1==t.state,i=0;n.length>i;){var a,c,u,s=n[i++],f=o?s.ok:s.fail,l=s.resolve,p=s.reject,h=s.domain;try{f?(o||(2===t.rejection&&nt(t),t.rejection=1),!0===f?a=r:(h&&h.enter(),a=f(r),h&&(h.exit(),u=!0)),a===s.promise?p(z("Promise-chain cycle")):(c=K(a))?c.call(a,l,p):l(a)):p(r)}catch(v){h&&!u&&h.exit(),p(v)}}t.reactions=[],t.notified=!1,e&&!t.rejection&&tt(t)})}},$=function(t,e,n){var r,o;W?((r=F.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),s.dispatchEvent(r)):r={promise:e,reason:n},!V&&(o=s["on"+t])?o(r):t===H&&T("Unhandled promise rejection",n)},tt=function(t){x.call(s,function(){var e,n=t.facade,r=t.value;if(et(t)&&(e=A(function(){I?q.emit("unhandledRejection",r,n):$(H,n,r)}),t.rejection=I||et(t)?2:1,e.error))throw e.value})},et=function(t){return 1!==t.rejection&&!t.parent},nt=function(t){x.call(s,function(){var e=t.facade;I?q.emit("rejectionHandled",e):$("rejectionhandled",e,t.value)})},rt=function(t,e,n){return function(r){t(e,r,n)}},ot=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,J(t,!0))},it=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw z("Promise can't be resolved itself");var r=K(e);r?S(function(){var n={done:!1};try{r.call(e,rt(it,n,t),rt(ot,n,t))}catch(o){ot(n,o,t)}}):(t.value=e,t.state=1,J(t,!1))}catch(o){ot({done:!1},o,t)}}};B&&(G=function(t){m(this,G,N),y(t),r.call(this);var e=R(this);try{t(rt(it,e),rt(ot,e))}catch(n){ot(e,n)}},(r=function(t){L(this,{type:N,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=h(G.prototype,{then:function(t,e){var n=Z(this),r=Y(E(this,G));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=I?q.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&J(n,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r,e=R(t);this.promise=t,this.resolve=rt(it,e),this.reject=rt(ot,e)},O.f=Y=function(t){return t===G||t===i?new o(t):U(t)},u||"function"!=typeof l||(a=l.prototype.then,p(l.prototype,"then",function(t,e){var n=this;return new G(function(t,e){a.call(n,t,e)}).then(t,e)},{unsafe:!0}),"function"==typeof X&&c({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return _(G,X.apply(s,arguments))}}))),c({global:!0,wrap:!0,forced:B},{Promise:G}),v(G,N,!1,!0),d(N),i=f(N),c({target:N,stat:!0,forced:B},{reject:function(t){var e=Y(this);return e.reject.call(void 0,t),e.promise}}),c({target:N,stat:!0,forced:u||B},{resolve:function(t){return _(u&&this===i?G:this,t)}}),c({target:N,stat:!0,forced:Q},{all:function(t){var e=this,n=Y(e),r=n.resolve,o=n.reject,i=A(function(){var n=y(e.resolve),i=[],a=0,c=1;w(t,function(t){var u=a++,s=!1;i.push(void 0),c++,n.call(e,t).then(function(t){s||(s=!0,i[u]=t,--c||r(i))},o)}),--c||r(i)});return i.error&&o(i.value),n.promise},race:function(t){var e=this,n=Y(e),r=n.reject,o=A(function(){var o=y(e.resolve);w(t,function(t){o.call(e,t).then(n.resolve,r)})});return o.error&&r(o.value),n.promise}})},busr:function(t,e){e.f=Object.getOwnPropertySymbols},"c/8x":function(t,e,n){n("94Vg")("asyncIterator")},cJLW:function(t,e,n){var r=n("wA6s"),o=n("T69T");r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:n("/Ybd").f})},cZY6:function(t,e,n){var r=n("rG8t");t.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},cwa4:function(t,e,n){var r=n("rG8t");t.exports=!r(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})},d8Sw:function(t,e,n){var r=n("rG8t");t.exports=function(t){return r(function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3})}},dI74:function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("sup")},{sup:function(){return o(this,"sup","","")}})},dPn5:function(t,e,n){"use strict";var r=n("G7bs").charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},e271:function(t,e,n){var r=n("wA6s"),o=n("T69T"),i=n("76gj"),a=n("EMtK"),c=n("7gGY"),u=n("DYg9");r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(t){for(var e,n,r=a(t),o=c.f,s=i(r),f={},l=0;s.length>l;)void 0!==(n=o(r,e=s[l++]))&&u(f,e,n);return f}})},eC89:function(t,e,n){"use strict";var r=n("wA6s"),o=n("OXtp").includes,i=n("A1Hp");r({target:"Array",proto:!0,forced:!n("w2hq")("indexOf",{ACCESSORS:!0,1:0})},{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("includes")},erNl:function(t,e,n){var r=n("ezU2");t.exports=Array.isArray||function(t){return"Array"==r(t)}},ezU2:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},fMvl:function(t,e,n){"use strict";var r=n("HSQg"),o=n("F26l"),i=n("hmpk"),a=n("EQZg"),c=n("unYP");r("search",1,function(t,e,n){return[function(e){var n=i(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var i=o(t),u=String(this),s=i.lastIndex;a(s,0)||(i.lastIndex=0);var f=c(i,u);return a(i.lastIndex,s)||(i.lastIndex=s),null===f?-1:f.index}]})},g69M:function(t,e,n){var r=n("wA6s"),o=n("rG8t"),i=n("TzEA").f;r({target:"Object",stat:!0,forced:o(function(){return!Object.getOwnPropertyNames(1)})},{getOwnPropertyNames:i})},g9hI:function(t,e){t.exports=!1},gQgS:function(t,e,n){var r=n("wA6s"),o=n("4Ym5").values;r({target:"Object",stat:!0},{values:function(t){return o(t)}})},gXAK:function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("big")},{big:function(){return o(this,"big","","")}})},gke3:function(t,e,n){"use strict";var r=n("wA6s"),o=n("kk6e").filter,i=n("lRyB"),a=n("w2hq"),c=i("filter"),u=a("filter");r({target:"Array",proto:!0,forced:!c||!u},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},gn9T:function(t,e,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:r},"hH+7":function(t,e,n){var r=n("ezU2");t.exports=function(t){if("number"!=typeof t&&"Number"!=r(t))throw TypeError("Incorrect invocation");return+t}},"hN/g":function(t,e,n){"use strict";n.r(e),n("0TWp")},hdsk:function(t,e,n){"use strict";var r,o=n("ocAm"),i=n("8aNu"),a=n("M7Xk"),c=n("wdMf"),u=n("DAme"),s=n("6XUM"),f=n("XH/I").enforce,l=n("yaK9"),p=!o.ActiveXObject&&"ActiveXObject"in o,h=Object.isExtensible,v=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},d=t.exports=c("WeakMap",v,u);if(l&&p){r=u.getConstructor(v,"WeakMap",!0),a.REQUIRED=!0;var g=d.prototype,y=g.delete,m=g.has,b=g.get,w=g.set;i(g,{delete:function(t){if(s(t)&&!h(t)){var e=f(this);return e.frozen||(e.frozen=new r),y.call(this,t)||e.frozen.delete(t)}return y.call(this,t)},has:function(t){if(s(t)&&!h(t)){var e=f(this);return e.frozen||(e.frozen=new r),m.call(this,t)||e.frozen.has(t)}return m.call(this,t)},get:function(t){if(s(t)&&!h(t)){var e=f(this);return e.frozen||(e.frozen=new r),m.call(this,t)?b.call(this,t):e.frozen.get(t)}return b.call(this,t)},set:function(t,e){if(s(t)&&!h(t)){var n=f(this);n.frozen||(n.frozen=new r),m.call(this,t)?w.call(this,t,e):n.frozen.set(t,e)}else w.call(this,t,e);return this}})}},hmpk:function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},i85Z:function(t,e,n){var r=n("U+kB");t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},ipMl:function(t,e,n){var r=n("F26l"),o=n("5zQ0");t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(a){throw o(t),a}}},jnLS:function(t,e,n){var r=n("hmpk"),o="["+n("xFZC")+"]",i=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$"),c=function(t){return function(e){var n=String(r(e));return 1&t&&(n=n.replace(i,"")),2&t&&(n=n.replace(a,"")),n}};t.exports={start:c(1),end:c(2),trim:c(3)}},kIOX:function(t,e,n){var r=n("ocAm"),o=n("OjQg"),i=n("nP0K"),a=n("aJMj");for(var c in o){var u=r[c],s=u&&u.prototype;if(s&&s.forEach!==i)try{a(s,"forEach",i)}catch(f){s.forEach=i}}},kP9Y:function(t,e,n){var r=n("wA6s"),o=n("4GtL"),i=n("A1Hp");r({target:"Array",proto:!0},{copyWithin:o}),i("copyWithin")},kcGo:function(t,e,n){var r=n("wA6s"),o=n("qc/G");r({target:"Date",proto:!0,forced:Date.prototype.toISOString!==o},{toISOString:o})},kk6e:function(t,e,n){var r=n("tcQx"),o=n("tUdv"),i=n("VCQ8"),a=n("xpLY"),c=n("JafA"),u=[].push,s=function(t){var e=1==t,n=2==t,s=3==t,f=4==t,l=6==t,p=7==t,h=5==t||l;return function(v,d,g,y){for(var m,b,w=i(v),k=o(w),E=r(d,g,3),x=a(k.length),S=0,_=y||c,T=e?_(v,x):n||p?_(v,0):void 0;x>S;S++)if((h||S in k)&&(b=E(m=k[S],S,w),t))if(e)T[S]=b;else if(b)switch(t){case 3:return!0;case 5:return m;case 6:return S;case 2:u.call(T,m)}else switch(t){case 4:return!1;case 7:u.call(T,m)}return l?-1:s||f?f:T}};t.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterOut:s(7)}},kpca:function(t,e,n){var r=n("wA6s"),o=n("Nvxz"),i=Math.abs;r({target:"Number",stat:!0},{isSafeInteger:function(t){return o(t)&&i(t)<=9007199254740991}})},ktmr:function(t,e,n){var r=n("ocAm");t.exports=function(t,e){var n=r.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}},lPAZ:function(t,e,n){n("8ydS"),n("DGHb"),n("kcGo"),n("n43T"),n("Y5OV");var r=n("E7aN");t.exports=r.Date},lRyB:function(t,e,n){var r=n("rG8t"),o=n("m41k"),i=n("D3bo"),a=o("species");t.exports=function(t){return i>=51||!r(function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo})}},ls82:function(t,e,n){var r=function(t){"use strict";var e,n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(P){u=function(t,e,n){return t[e]=n}}function s(t,e,n,r){var o=Object.create((e&&e.prototype instanceof g?e:g).prototype),i=new A(r||[]);return o._invoke=function(t,e,n){var r=l;return function(o,i){if(r===h)throw new Error("Generator is already running");if(r===v){if("throw"===o)throw i;return j()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=_(a,n);if(c){if(c===d)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===l)throw r=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=h;var u=f(t,e,n);if("normal"===u.type){if(r=n.done?v:p,u.arg===d)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=v,n.method="throw",n.arg=u.arg)}}}(t,n,i),o}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(P){return{type:"throw",arg:P}}}t.wrap=s;var l="suspendedStart",p="suspendedYield",h="executing",v="completed",d={};function g(){}function y(){}function m(){}var b={};b[i]=function(){return this};var w=Object.getPrototypeOf,k=w&&w(w(M([])));k&&k!==n&&r.call(k,i)&&(b=k);var E=m.prototype=g.prototype=Object.create(b);function x(t){["next","throw","return"].forEach(function(e){u(t,e,function(t){return this._invoke(e,t)})})}function S(t,e){function n(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==typeof l&&r.call(l,"__await")?e.resolve(l.__await).then(function(t){n("next",t,a,c)},function(t){n("throw",t,a,c)}):e.resolve(l).then(function(t){s.value=t,a(s)},function(t){return n("throw",t,a,c)})}c(u.arg)}var o;this._invoke=function(t,r){function i(){return new e(function(e,o){n(t,r,e,o)})}return o=o?o.then(i,i):i()}}function _(t,n){var r=t.iterator[n.method];if(r===e){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=e,_(t,n),"throw"===n.method))return d;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var o=f(r,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,d;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,d):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,d)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function M(t){if(t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function n(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(u&&s){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),O(n),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;O(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:M(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),d}},t}(t.exports);try{regeneratorRuntime=r}catch(o){Function("r","regeneratorRuntime = r")(r)}},m2tE:function(t,e,n){var r=n("wA6s"),o=n("IBH3");r({target:"Array",stat:!0,forced:!n("EIBq")(function(t){Array.from(t)})},{from:o})},m41k:function(t,e,n){var r=n("ocAm"),o=n("yIiL"),i=n("OG5q"),a=n("SDMg"),c=n("U+kB"),u=n("i85Z"),s=o("wks"),f=r.Symbol,l=u?f:f&&f.withoutSetter||a;t.exports=function(t){return i(s,t)||(s[t]=c&&i(f,t)?f[t]:l("Symbol."+t)),s[t]}},mA9f:function(t,e,n){n("wA6s")({target:"Function",proto:!0},{bind:n("E8Ab")})},mN5b:function(t,e,n){var r=n("4PyY"),o=n("ezU2"),i=n("m41k")("toStringTag"),a="Arguments"==o(function(){return arguments}());t.exports=r?o:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(n){}}(e=Object(t),i))?n:a?o(e):"Object"==(r=o(e))&&"function"==typeof e.callee?"Arguments":r}},"n/2t":function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},n1Kw:function(t,e,n){var r=n("wA6s"),o=n("rG8t"),i=n("pn4C"),a=Math.abs,c=Math.exp,u=Math.E;r({target:"Math",stat:!0,forced:o(function(){return-2e-17!=Math.sinh(-2e-17)})},{sinh:function(t){return a(t=+t)<1?(i(t)-i(-t))/2:(c(t-1)-c(-t-1))*(u/2)}})},n43T:function(t,e,n){var r=n("2MGJ"),o=Date.prototype,i="Invalid Date",a=o.toString,c=o.getTime;new Date(NaN)+""!=i&&r(o,"toString",function(){var t=c.call(this);return t==t?a.call(this):i})},n9Wl:function(t,e,n){var r=n("wA6s"),o=n("4Ym5").entries;r({target:"Object",stat:!0},{entries:function(t){return o(t)}})},nIH4:function(t,e,n){"use strict";var r=n("/Ybd").f,o=n("2RDa"),i=n("8aNu"),a=n("tcQx"),c=n("SM6+"),u=n("Rn6E"),s=n("WijE"),f=n("JHhb"),l=n("T69T"),p=n("M7Xk").fastKey,h=n("XH/I"),v=h.set,d=h.getterFor;t.exports={getConstructor:function(t,e,n,s){var f=t(function(t,r){c(t,f,e),v(t,{type:e,index:o(null),first:void 0,last:void 0,size:0}),l||(t.size=0),null!=r&&u(r,t[s],{that:t,AS_ENTRIES:n})}),h=d(e),g=function(t,e,n){var r,o,i=h(t),a=y(t,e);return a?a.value=n:(i.last=a={index:o=p(e,!0),key:e,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),l?i.size++:t.size++,"F"!==o&&(i.index[o]=a)),t},y=function(t,e){var n,r=h(t),o=p(e);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==e)return n};return i(f.prototype,{clear:function(){for(var t=h(this),e=t.index,n=t.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete e[n.index],n=n.next;t.first=t.last=void 0,l?t.size=0:this.size=0},delete:function(t){var e=this,n=h(e),r=y(e,t);if(r){var o=r.next,i=r.previous;delete n.index[r.index],r.removed=!0,i&&(i.next=o),o&&(o.previous=i),n.first==r&&(n.first=o),n.last==r&&(n.last=i),l?n.size--:e.size--}return!!r},forEach:function(t){for(var e,n=h(this),r=a(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:n.first;)for(r(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!y(this,t)}}),i(f.prototype,n?{get:function(t){var e=y(this,t);return e&&e.value},set:function(t,e){return g(this,0===t?0:t,e)}}:{add:function(t){return g(this,t=0===t?0:t,t)}}),l&&r(f.prototype,"size",{get:function(){return h(this).size}}),f},setStrong:function(t,e,n){var r=e+" Iterator",o=d(e),i=d(r);s(t,e,function(t,e){v(this,{type:r,target:t,state:o(t),kind:e,last:void 0})},function(){for(var t=i(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?"keys"==e?{value:n.key,done:!1}:"values"==e?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})},n?"entries":"values",!n,!0),f(e)}}},nP0K:function(t,e,n){"use strict";var r=n("kk6e").forEach,o=n("6CJb"),i=n("w2hq"),a=o("forEach"),c=i("forEach");t.exports=a&&c?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},ntzx:function(t,e,n){"use strict";var r=n("wA6s"),o=n("tUdv"),i=n("EMtK"),a=n("6CJb"),c=[].join,u=o!=Object,s=a("join",",");r({target:"Array",proto:!0,forced:u||!s},{join:function(t){return c.call(i(this),void 0===t?",":t)}})},nuqZ:function(t,e,n){var r=n("wA6s"),o=n("KlhL");r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},"oB0/":function(t,e,n){"use strict";var r=n("Neub"),o=function(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=r(e),this.reject=r(n)};t.exports.f=function(t){return new o(t)}},oatR:function(t,e,n){"use strict";var r,o=n("wA6s"),i=n("7gGY").f,a=n("xpLY"),c=n("s8qp"),u=n("hmpk"),s=n("0Ds2"),f=n("g9hI"),l="".startsWith,p=Math.min,h=s("startsWith");o({target:"String",proto:!0,forced:!(!f&&!h&&(r=i(String.prototype,"startsWith"),r&&!r.writable)||h)},{startsWith:function(t){var e=String(u(this));c(t);var n=a(p(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return l?l.call(e,r,n):e.slice(n,n+r.length)===r}})},ocAm:function(t,e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof global&&global)||function(){return this}()||Function("return this")()},ow8b:function(t,e,n){n("wA6s")({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})},p82S:function(t,e,n){var r=n("F26l"),o=n("Neub"),i=n("m41k")("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||null==(n=r(a)[i])?e:o(n)}},pWza:function(t,e,n){var r=n("T69T"),o=n("/Ybd"),i=n("x0kV"),a=n("JkSk").UNSUPPORTED_Y;r&&("g"!=/./g.flags||a)&&o.f(RegExp.prototype,"flags",{configurable:!0,get:i})},pd8B:function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(e){return{error:!0,value:e}}}},pn4C:function(t,e){var n=Math.expm1,r=Math.exp;t.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:r(t)-1}:n},"pz+c":function(t,e){t.exports={}},qaQR:function(t,e,n){n("D+RQ"),n("ZBUp"),n("s5r0"),n("COcp"),n("+IJR"),n("kpca"),n("yI8t"),n("ow8b"),n("5eAq"),n("5zDw"),n("8xKV"),n("ane6");var r=n("E7aN");t.exports=r.Number},"qc/G":function(t,e,n){"use strict";var r=n("rG8t"),o=n("QcXc").start,i=Math.abs,a=Date.prototype,c=a.getTime,u=a.toISOString;t.exports=r(function(){return"0385-07-25T07:06:39.999Z"!=u.call(new Date(-50000000000001))})||!r(function(){u.call(new Date(NaN))})?function(){if(!isFinite(c.call(this)))throw RangeError("Invalid time value");var t=this,e=t.getUTCFullYear(),n=t.getUTCMilliseconds(),r=e<0?"-":e>9999?"+":"";return r+o(i(e),r?6:4,0)+"-"+o(t.getUTCMonth()+1,2,0)+"-"+o(t.getUTCDate(),2,0)+"T"+o(t.getUTCHours(),2,0)+":"+o(t.getUTCMinutes(),2,0)+":"+o(t.getUTCSeconds(),2,0)+"."+o(n,3,0)+"Z"}:u},qjkP:function(t,e,n){"use strict";var r,o,i=n("x0kV"),a=n("JkSk"),c=RegExp.prototype.exec,u=String.prototype.replace,s=c,f=(o=/b*/g,c.call(r=/a/,"a"),c.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),l=a.UNSUPPORTED_Y||a.BROKEN_CARET,p=void 0!==/()??/.exec("")[1];(f||p||l)&&(s=function(t){var e,n,r,o,a=this,s=l&&a.sticky,h=i.call(a),v=a.source,d=0,g=t;return s&&(-1===(h=h.replace("y","")).indexOf("g")&&(h+="g"),g=String(t).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==t[a.lastIndex-1])&&(v="(?: "+v+")",g=" "+g,d++),n=new RegExp("^(?:"+v+")",h)),p&&(n=new RegExp("^"+v+"$(?!\\s)",h)),f&&(e=a.lastIndex),r=c.call(s?n:a,g),s?r?(r.input=r.input.slice(d),r[0]=r[0].slice(d),r.index=a.lastIndex,a.lastIndex+=r[0].length):a.lastIndex=0:f&&r&&(a.lastIndex=a.global?r.index+r[0].length:e),p&&r&&r.length>1&&u.call(r[0],n,function(){for(o=1;oa;){if(e=+arguments[a++],o(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?i(e):i(55296+((e-=65536)>>10),e%1024+56320))}return n.join("")}})},rCRE:function(t,e,n){"use strict";var r=n("EMtK"),o=n("vDBE"),i=n("xpLY"),a=n("6CJb"),c=n("w2hq"),u=Math.min,s=[].lastIndexOf,f=!!s&&1/[1].lastIndexOf(1,-0)<0,l=a("lastIndexOf"),p=c("indexOf",{ACCESSORS:!0,1:0});t.exports=!f&&l&&p?s:function(t){if(f)return s.apply(this,arguments)||0;var e=r(this),n=i(e.length),a=n-1;for(arguments.length>1&&(a=u(a,o(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in e&&e[a]===t)return a||0;return-1}},rG8t:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},rH3X:function(t,e,n){"use strict";var r=n("EMtK"),o=n("A1Hp"),i=n("pz+c"),a=n("XH/I"),c=n("WijE"),u="Array Iterator",s=a.set,f=a.getterFor(u);t.exports=c(Array,"Array",function(t,e){s(this,{type:u,target:r(t),index:0,kind:e})},function(){var t=f(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}},"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},riHj:function(t,e,n){var r=n("ocAm"),o=n("OjQg"),i=n("rH3X"),a=n("aJMj"),c=n("m41k"),u=c("iterator"),s=c("toStringTag"),f=i.values;for(var l in o){var p=r[l],h=p&&p.prototype;if(h){if(h[u]!==f)try{a(h,u,f)}catch(d){h[u]=f}if(h[s]||a(h,s,l),o[l])for(var v in i)if(h[v]!==i[v])try{a(h,v,i[v])}catch(d){h[v]=i[v]}}}},rwGd:function(t,e,n){var r=n("rG8t"),o=n("xFZC");t.exports=function(t){return r(function(){return!!o[t]()||"\u200b\x85\u180e"!="\u200b\x85\u180e"[t]()||o[t].name!==t})}},s1IR:function(t,e,n){"use strict";var r=n("wA6s"),o=n("jnLS").trim;r({target:"String",proto:!0,forced:n("rwGd")("trim")},{trim:function(){return o(this)}})},s5r0:function(t,e,n){n("wA6s")({target:"Number",stat:!0},{isFinite:n("Yg8j")})},s8qp:function(t,e,n){var r=n("1p6F");t.exports=function(t){if(r(t))throw TypeError("The method doesn't accept regular expressions");return t}},sQrk:function(t,e,n){"use strict";var r=n("wA6s"),o=n("7Oj1"),i=n("vDBE"),a=n("xpLY"),c=n("VCQ8"),u=n("JafA"),s=n("DYg9"),f=n("lRyB"),l=n("w2hq"),p=f("splice"),h=l("splice",{ACCESSORS:!0,0:0,1:2}),v=Math.max,d=Math.min,g=9007199254740991,y="Maximum allowed length exceeded";r({target:"Array",proto:!0,forced:!p||!h},{splice:function(t,e){var n,r,f,l,p,h,m=c(this),b=a(m.length),w=o(t,b),k=arguments.length;if(0===k?n=r=0:1===k?(n=0,r=b-w):(n=k-2,r=d(v(i(e),0),b-w)),b+n-r>g)throw TypeError(y);for(f=u(m,r),l=0;lb-r+n;l--)delete m[l-1]}else if(n>r)for(l=b-r;l>w;l--)h=l+n-1,(p=l+r-1)in m?m[h]=m[p]:delete m[h];for(l=0;l=n.length?{value:void 0,done:!0}:(t=r(n,o),e.index+=t.length,{value:t,done:!1})})},tuHh:function(t,e,n){var r=n("T/Kj");t.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},u5Nv:function(t,e,n){n("wA6s")({target:"Object",stat:!0},{is:n("EQZg")})},uKyN:function(t,e,n){n("94Vg")("species")},uSMZ:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},unYP:function(t,e,n){var r=n("ezU2"),o=n("qjkP");t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var i=n.call(t,e);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(t))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},uoca:function(t,e,n){var r=n("hmpk"),o=/"/g;t.exports=function(t,e,n,i){var a=String(r(t)),c="<"+e;return""!==n&&(c+=" "+n+'="'+String(i).replace(o,""")+'"'),c+">"+a+""}},v5if:function(t,e,n){"use strict";var r=n("wA6s"),o=n("nP0K");r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},vDBE:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},vRoz:function(t,e,n){"use strict";var r=n("wdMf"),o=n("nIH4");t.exports=r("Map",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},o)},vVmn:function(t,e,n){var r=n("OG5q"),o=n("EMtK"),i=n("OXtp").indexOf,a=n("yQMY");t.exports=function(t,e){var n,c=o(t),u=0,s=[];for(n in c)!r(a,n)&&r(c,n)&&s.push(n);for(;e.length>u;)r(c,n=e[u++])&&(~i(s,n)||s.push(n));return s}},vZCr:function(t,e,n){var r=n("ocAm"),o=n("jnLS").trim,i=n("xFZC"),a=r.parseFloat,c=1/a(i+"-0")!=-1/0;t.exports=c?function(t){var e=o(String(t)),n=a(e);return 0===n&&"-"==e.charAt(0)?-0:n}:a},vipS:function(t,e,n){"use strict";var r,o=n("wA6s"),i=n("7gGY").f,a=n("xpLY"),c=n("s8qp"),u=n("hmpk"),s=n("0Ds2"),f=n("g9hI"),l="".endsWith,p=Math.min,h=s("endsWith");o({target:"String",proto:!0,forced:!(!f&&!h&&(r=i(String.prototype,"endsWith"),r&&!r.writable)||h)},{endsWith:function(t){var e=String(u(this));c(t);var n=arguments.length>1?arguments[1]:void 0,r=a(e.length),o=void 0===n?r:p(a(n),r),i=String(t);return l?l.call(e,i,o):e.slice(o-i.length,o)===i}})},voQr:function(t,e,n){"use strict";n.r(e),n("LRWt"),n("mA9f"),n("MjoC"),n("3vMK"),n("RCvO"),n("cJLW"),n("EntM"),n("znfk"),n("A7hN"),n("wqfI"),n("g69M"),n("IzYO"),n("+5Eg"),n("WLa2"),n("KMug"),n("QVG+"),n("wVAr"),n("nuqZ"),n("u5Nv"),n("WnNu"),n("NX+v"),n("n9Wl"),n("gQgS"),n("e271"),n("OOEz"),n("F4rZ"),n("wZP2"),n("m2tE"),n("BcWx"),n("ntzx"),n("6q6p"),n("sQrk"),n("6fhQ"),n("v5if"),n("FU1i"),n("gke3"),n("XEin"),n("FeI/"),n("Q4jj"),n("IQbc"),n("6lQQ"),n("Xm88"),n("kP9Y"),n("DscF"),n("6CEi"),n("Jt/z"),n("rH3X"),n("eC89"),n("68Yi"),n("54C3"),n("r8F+"),n("IPby"),n("s1IR"),n("tkWj"),n("tNyX"),n("vipS"),n("L4l2"),n("BaTD"),n("oatR"),n("QUoj"),n("gXAK"),n("4axp"),n("Yu3F"),n("J4zY"),n("WKvG"),n("W0ke"),n("zTQA"),n("WEX0"),n("qpIG"),n("VmbE"),n("4Kt7"),n("dI74"),n("K1Z7"),n("S3Yw"),n("fMvl"),n("PmIt"),n("PbJR"),n("Ay+M"),n("qaQR"),n("tXU5"),n("lPAZ"),n("T4tC"),n("Rj+b"),n("pWza"),n("vRoz"),n("hdsk"),n("ViWx"),n("kIOX"),n("riHj"),n("bHwr"),n("8CeQ"),n("ls82")},vyNX:function(t,e,n){var r=n("Neub"),o=n("VCQ8"),i=n("tUdv"),a=n("xpLY"),c=function(t){return function(e,n,c,u){r(n);var s=o(e),f=i(s),l=a(s.length),p=t?l-1:0,h=t?-1:1;if(c<2)for(;;){if(p in f){u=f[p],p+=h;break}if(p+=h,t?p<0:l<=p)throw TypeError("Reduce of empty array with no initial value")}for(;t?p>=0:l>p;p+=h)p in f&&(u=n(u,f[p],p,s));return u}};t.exports={left:c(!1),right:c(!0)}},w2hq:function(t,e,n){var r=n("T69T"),o=n("rG8t"),i=n("OG5q"),a=Object.defineProperty,c={},u=function(t){throw t};t.exports=function(t,e){if(i(c,t))return c[t];e||(e={});var n=[][t],s=!!i(e,"ACCESSORS")&&e.ACCESSORS,f=i(e,0)?e[0]:u,l=i(e,1)?e[1]:void 0;return c[t]=!!n&&!o(function(){if(s&&!r)return!0;var t={length:-1};s?a(t,1,{enumerable:!0,get:u}):t[1]=1,n.call(t,f,l)})}},w4Hq:function(t,e,n){"use strict";var r=n("VCQ8"),o=n("7Oj1"),i=n("xpLY");t.exports=function(t){for(var e=r(this),n=i(e.length),a=arguments.length,c=o(a>1?arguments[1]:void 0,n),u=a>2?arguments[2]:void 0,s=void 0===u?n:o(u,n);s>c;)e[c++]=t;return e}},wA6s:function(t,e,n){var r=n("ocAm"),o=n("7gGY").f,i=n("aJMj"),a=n("2MGJ"),c=n("Fqhe"),u=n("NIlc"),s=n("MkZA");t.exports=function(t,e){var n,f,l,p,h,v=t.target,d=t.global,g=t.stat;if(n=d?r:g?r[v]||c(v,{}):(r[v]||{}).prototype)for(f in e){if(p=e[f],l=t.noTargetGet?(h=o(n,f))&&h.value:n[f],!s(d?f:v+(g?".":"#")+f,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;u(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),a(n,f,p,t)}}},wIVT:function(t,e,n){var r=n("OG5q"),o=n("VCQ8"),i=n("/AsP"),a=n("cwa4"),c=i("IE_PROTO"),u=Object.prototype;t.exports=a?Object.getPrototypeOf:function(t){return t=o(t),r(t,c)?t[c]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},wVAr:function(t,e,n){var r=n("wA6s"),o=n("rG8t"),i=n("6XUM"),a=Object.isExtensible;r({target:"Object",stat:!0,forced:o(function(){a(1)})},{isExtensible:function(t){return!!i(t)&&(!a||a(t))}})},wZP2:function(t,e,n){n("wA6s")({target:"Array",stat:!0},{isArray:n("erNl")})},wdMf:function(t,e,n){"use strict";var r=n("wA6s"),o=n("ocAm"),i=n("MkZA"),a=n("2MGJ"),c=n("M7Xk"),u=n("Rn6E"),s=n("SM6+"),f=n("6XUM"),l=n("rG8t"),p=n("EIBq"),h=n("shqn"),v=n("K6ZX");t.exports=function(t,e,n){var d=-1!==t.indexOf("Map"),g=-1!==t.indexOf("Weak"),y=d?"set":"add",m=o[t],b=m&&m.prototype,w=m,k={},E=function(t){var e=b[t];a(b,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(g&&!f(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return g&&!f(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(g&&!f(t))&&e.call(this,0===t?0:t)}:function(t,n){return e.call(this,0===t?0:t,n),this})};if(i(t,"function"!=typeof m||!(g||b.forEach&&!l(function(){(new m).entries().next()}))))w=n.getConstructor(e,t,d,y),c.REQUIRED=!0;else if(i(t,!0)){var x=new w,S=x[y](g?{}:-0,1)!=x,_=l(function(){x.has(1)}),T=p(function(t){new m(t)}),O=!g&&l(function(){for(var t=new m,e=5;e--;)t[y](e,e);return!t.has(-0)});T||((w=e(function(e,n){s(e,w,t);var r=v(new m,e,w);return null!=n&&u(n,r[y],{that:r,AS_ENTRIES:d}),r})).prototype=b,b.constructor=w),(_||O)&&(E("delete"),E("has"),d&&E("get")),(O||S)&&E(y),g&&b.clear&&delete b.clear}return k[t]=w,r({global:!0,forced:w!=m},k),h(w,t),g||n.setStrong(w,t,d),w}},wqfI:function(t,e,n){var r=n("wA6s"),o=n("VCQ8"),i=n("ZRqE");r({target:"Object",stat:!0,forced:n("rG8t")(function(){i(1)})},{keys:function(t){return i(o(t))}})},"x+GC":function(t,e,n){var r=n("VCQ8"),o=Math.floor,i="".replace,a=/\$([$&'`]|\d\d?|<[^>]*>)/g,c=/\$([$&'`]|\d\d?)/g;t.exports=function(t,e,n,u,s,f){var l=n+t.length,p=u.length,h=c;return void 0!==s&&(s=r(s),h=a),i.call(f,h,function(r,i){var a;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,n);case"'":return e.slice(l);case"<":a=s[i.slice(1,-1)];break;default:var c=+i;if(0===c)return r;if(c>p){var f=o(c/10);return 0===f?r:f<=p?void 0===u[f-1]?i.charAt(1):u[f-1]+i.charAt(1):r}a=u[c-1]}return void 0===a?"":a})}},x0kV:function(t,e,n){"use strict";var r=n("F26l");t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},xFZC:function(t,e){t.exports="\t\n\v\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},xpLY:function(t,e,n){var r=n("vDBE"),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},yI8t:function(t,e,n){n("wA6s")({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},yIiL:function(t,e,n){var r=n("g9hI"),o=n("KBkW");(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.8.3",mode:r?"pure":"global",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"})},yQMY:function(t,e){t.exports={}},yaK9:function(t,e,n){var r=n("ocAm"),o=n("6urC"),i=r.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},zTQA:function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("italics")},{italics:function(){return o(this,"i","","")}})},zglh:function(t,e,n){var r=n("wA6s"),o=n("ocAm"),i=n("shqn");r({global:!0},{Reflect:{}}),i(o.Reflect,"Reflect",!0)},znfk:function(t,e,n){var r=n("wA6s"),o=n("rG8t"),i=n("EMtK"),a=n("7gGY").f,c=n("T69T"),u=o(function(){a(1)});r({target:"Object",stat:!0,forced:!c||u,sham:!c},{getOwnPropertyDescriptor:function(t,e){return a(i(t),e)}})}},[[1,0]]]); \ No newline at end of file diff --git a/dist/ng-walkthrough/polyfills-es5.js b/dist/ng-walkthrough/polyfills-es5.js deleted file mode 100644 index e059c7c..0000000 --- a/dist/ng-walkthrough/polyfills-es5.js +++ /dev/null @@ -1,15372 +0,0 @@ -(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["polyfills-es5"],{ - -/***/ "+5Eg": -/*!***************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.object.seal.js ***! - \***************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var isObject = __webpack_require__(/*! ../internals/is-object */ "6XUM"); -var onFreeze = __webpack_require__(/*! ../internals/internal-metadata */ "M7Xk").onFreeze; -var FREEZING = __webpack_require__(/*! ../internals/freezing */ "cZY6"); -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); - -var nativeSeal = Object.seal; -var FAILS_ON_PRIMITIVES = fails(function () { nativeSeal(1); }); - -// `Object.seal` method -// https://tc39.es/ecma262/#sec-object.seal -$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING }, { - seal: function seal(it) { - return nativeSeal && isObject(it) ? nativeSeal(onFreeze(it)) : it; - } -}); - - -/***/ }), - -/***/ "+IJR": -/*!*****************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.number.is-nan.js ***! - \*****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); - -// `Number.isNaN` method -// https://tc39.es/ecma262/#sec-number.isnan -$({ target: 'Number', stat: true }, { - isNaN: function isNaN(number) { - // eslint-disable-next-line no-self-compare - return number != number; - } -}); - - -/***/ }), - -/***/ "/AsP": -/*!*************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/shared-key.js ***! - \*************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var shared = __webpack_require__(/*! ../internals/shared */ "yIiL"); -var uid = __webpack_require__(/*! ../internals/uid */ "SDMg"); - -var keys = shared('keys'); - -module.exports = function (key) { - return keys[key] || (keys[key] = uid(key)); -}; - - -/***/ }), - -/***/ "/Ybd": -/*!*************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/object-define-property.js ***! - \*************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "T69T"); -var IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ "XdSI"); -var anObject = __webpack_require__(/*! ../internals/an-object */ "F26l"); -var toPrimitive = __webpack_require__(/*! ../internals/to-primitive */ "LdO1"); - -var nativeDefineProperty = Object.defineProperty; - -// `Object.defineProperty` method -// https://tc39.es/ecma262/#sec-object.defineproperty -exports.f = DESCRIPTORS ? nativeDefineProperty : function defineProperty(O, P, Attributes) { - anObject(O); - P = toPrimitive(P, true); - anObject(Attributes); - if (IE8_DOM_DEFINE) try { - return nativeDefineProperty(O, P, Attributes); - } catch (error) { /* empty */ } - if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported'); - if ('value' in Attributes) O[P] = Attributes.value; - return O; -}; - - -/***/ }), - -/***/ "0Ds2": -/*!**************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/correct-is-regexp-logic.js ***! - \**************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "m41k"); - -var MATCH = wellKnownSymbol('match'); - -module.exports = function (METHOD_NAME) { - var regexp = /./; - try { - '/./'[METHOD_NAME](regexp); - } catch (error1) { - try { - regexp[MATCH] = false; - return '/./'[METHOD_NAME](regexp); - } catch (error2) { /* empty */ } - } return false; -}; - - -/***/ }), - -/***/ "0TWp": -/*!*******************************************!*\ - !*** ./node_modules/zone.js/dist/zone.js ***! - \*******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__; -/** - * @license Angular v12.0.0-next.0 - * (c) 2010-2020 Google LLC. https://angular.io/ - * License: MIT - */ - -(function (factory) { - true ? !(__WEBPACK_AMD_DEFINE_FACTORY__ = (factory), - __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? - (__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) : - __WEBPACK_AMD_DEFINE_FACTORY__), - __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined; -})(function () { - 'use strict'; - /** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - var Zone$1 = function (global) { - var performance = global['performance']; - - function mark(name) { - performance && performance['mark'] && performance['mark'](name); - } - - function performanceMeasure(name, label) { - performance && performance['measure'] && performance['measure'](name, label); - } - - mark('Zone'); // Initialize before it's accessed below. - // __Zone_symbol_prefix global can be used to override the default zone - // symbol prefix with a custom one if needed. - - var symbolPrefix = global['__Zone_symbol_prefix'] || '__zone_symbol__'; - - function __symbol__(name) { - return symbolPrefix + name; - } - - var checkDuplicate = global[__symbol__('forceDuplicateZoneCheck')] === true; - - if (global['Zone']) { - // if global['Zone'] already exists (maybe zone.js was already loaded or - // some other lib also registered a global object named Zone), we may need - // to throw an error, but sometimes user may not want this error. - // For example, - // we have two web pages, page1 includes zone.js, page2 doesn't. - // and the 1st time user load page1 and page2, everything work fine, - // but when user load page2 again, error occurs because global['Zone'] already exists. - // so we add a flag to let user choose whether to throw this error or not. - // By default, if existing Zone is from zone.js, we will not throw the error. - if (checkDuplicate || typeof global['Zone'].__symbol__ !== 'function') { - throw new Error('Zone already loaded.'); - } else { - return global['Zone']; - } - } - - var Zone = - /** @class */ - function () { - function Zone(parent, zoneSpec) { - this._parent = parent; - this._name = zoneSpec ? zoneSpec.name || 'unnamed' : ''; - this._properties = zoneSpec && zoneSpec.properties || {}; - this._zoneDelegate = new ZoneDelegate(this, this._parent && this._parent._zoneDelegate, zoneSpec); - } - - Zone.assertZonePatched = function () { - if (global['Promise'] !== patches['ZoneAwarePromise']) { - throw new Error('Zone.js has detected that ZoneAwarePromise `(window|global).Promise` ' + 'has been overwritten.\n' + 'Most 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(Zone, "root", { - get: function get() { - var zone = Zone.current; - - while (zone.parent) { - zone = zone.parent; - } - - return zone; - }, - enumerable: false, - configurable: true - }); - Object.defineProperty(Zone, "current", { - get: function get() { - return _currentZoneFrame.zone; - }, - enumerable: false, - configurable: true - }); - Object.defineProperty(Zone, "currentTask", { - get: function get() { - return _currentTask; - }, - enumerable: false, - configurable: true - }); // tslint:disable-next-line:require-internal-with-underscore - - Zone.__load_patch = function (name, fn, ignoreDuplicate) { - if (ignoreDuplicate === void 0) { - ignoreDuplicate = false; - } - - if (patches.hasOwnProperty(name)) { - // `checkDuplicate` option is defined from global variable - // so it works for all modules. - // `ignoreDuplicate` can work for the specified module - if (!ignoreDuplicate && checkDuplicate) { - throw Error('Already loaded patch: ' + name); - } - } else if (!global['__Zone_disable_' + name]) { - var perfName = 'Zone:' + name; - mark(perfName); - patches[name] = fn(global, Zone, _api); - performanceMeasure(perfName, perfName); - } - }; - - Object.defineProperty(Zone.prototype, "parent", { - get: function get() { - return this._parent; - }, - enumerable: false, - configurable: true - }); - Object.defineProperty(Zone.prototype, "name", { - get: function get() { - return this._name; - }, - enumerable: false, - configurable: true - }); - - Zone.prototype.get = function (key) { - var zone = this.getZoneWith(key); - if (zone) return zone._properties[key]; - }; - - Zone.prototype.getZoneWith = function (key) { - var current = this; - - while (current) { - if (current._properties.hasOwnProperty(key)) { - return current; - } - - current = current._parent; - } - - return null; - }; - - Zone.prototype.fork = function (zoneSpec) { - if (!zoneSpec) throw new Error('ZoneSpec required!'); - return this._zoneDelegate.fork(this, zoneSpec); - }; - - Zone.prototype.wrap = function (callback, source) { - if (typeof callback !== 'function') { - throw new Error('Expecting function got: ' + callback); - } - - var _callback = this._zoneDelegate.intercept(this, callback, source); - - var zone = this; - return function () { - return zone.runGuarded(_callback, this, arguments, source); - }; - }; - - Zone.prototype.run = function (callback, applyThis, applyArgs, source) { - _currentZoneFrame = { - parent: _currentZoneFrame, - zone: this - }; - - try { - return this._zoneDelegate.invoke(this, callback, applyThis, applyArgs, source); - } finally { - _currentZoneFrame = _currentZoneFrame.parent; - } - }; - - Zone.prototype.runGuarded = function (callback, applyThis, applyArgs, source) { - if (applyThis === void 0) { - applyThis = null; - } - - _currentZoneFrame = { - parent: _currentZoneFrame, - zone: this - }; - - try { - try { - return this._zoneDelegate.invoke(this, callback, applyThis, applyArgs, source); - } catch (error) { - if (this._zoneDelegate.handleError(this, error)) { - throw error; - } - } - } finally { - _currentZoneFrame = _currentZoneFrame.parent; - } - }; - - Zone.prototype.runTask = function (task, applyThis, applyArgs) { - if (task.zone != this) { - throw new Error('A task can only be run in the zone of creation! (Creation: ' + (task.zone || NO_ZONE).name + '; Execution: ' + this.name + ')'); - } // https://github.com/angular/zone.js/issues/778, sometimes eventTask - // will run in notScheduled(canceled) state, we should not try to - // run such kind of task but just return - - - if (task.state === notScheduled && (task.type === eventTask || task.type === macroTask)) { - return; - } - - var reEntryGuard = task.state != running; - reEntryGuard && task._transitionTo(running, scheduled); - task.runCount++; - var previousTask = _currentTask; - _currentTask = task; - _currentZoneFrame = { - parent: _currentZoneFrame, - zone: this - }; - - try { - if (task.type == macroTask && task.data && !task.data.isPeriodic) { - task.cancelFn = undefined; - } - - try { - return this._zoneDelegate.invokeTask(this, task, applyThis, applyArgs); - } catch (error) { - if (this._zoneDelegate.handleError(this, error)) { - throw error; - } - } - } finally { - // if the task's state is notScheduled or unknown, then it has already been cancelled - // we should not reset the state to scheduled - if (task.state !== notScheduled && task.state !== unknown) { - if (task.type == eventTask || task.data && task.data.isPeriodic) { - reEntryGuard && task._transitionTo(scheduled, running); - } else { - task.runCount = 0; - - this._updateTaskCount(task, -1); - - reEntryGuard && task._transitionTo(notScheduled, running, notScheduled); - } - } - - _currentZoneFrame = _currentZoneFrame.parent; - _currentTask = previousTask; - } - }; - - Zone.prototype.scheduleTask = function (task) { - if (task.zone && task.zone !== this) { - // check if the task was rescheduled, the newZone - // should not be the children of the original zone - var newZone = this; - - while (newZone) { - if (newZone === task.zone) { - throw Error("can not reschedule task to " + this.name + " which is descendants of the original zone " + task.zone.name); - } - - newZone = newZone.parent; - } - } - - task._transitionTo(scheduling, notScheduled); - - var zoneDelegates = []; - task._zoneDelegates = zoneDelegates; - task._zone = this; - - try { - task = this._zoneDelegate.scheduleTask(this, task); - } catch (err) { - // should set task's state to unknown when scheduleTask throw error - // because the err may from reschedule, so the fromState maybe notScheduled - task._transitionTo(unknown, scheduling, notScheduled); // TODO: @JiaLiPassion, should we check the result from handleError? - - - this._zoneDelegate.handleError(this, err); - - throw err; - } - - if (task._zoneDelegates === zoneDelegates) { - // we have to check because internally the delegate can reschedule the task. - this._updateTaskCount(task, 1); - } - - if (task.state == scheduling) { - task._transitionTo(scheduled, scheduling); - } - - return task; - }; - - Zone.prototype.scheduleMicroTask = function (source, callback, data, customSchedule) { - return this.scheduleTask(new ZoneTask(microTask, source, callback, data, customSchedule, undefined)); - }; - - Zone.prototype.scheduleMacroTask = function (source, callback, data, customSchedule, customCancel) { - return this.scheduleTask(new ZoneTask(macroTask, source, callback, data, customSchedule, customCancel)); - }; - - Zone.prototype.scheduleEventTask = function (source, callback, data, customSchedule, customCancel) { - return this.scheduleTask(new ZoneTask(eventTask, source, callback, data, customSchedule, customCancel)); - }; - - Zone.prototype.cancelTask = function (task) { - if (task.zone != this) throw new Error('A task can only be cancelled in the zone of creation! (Creation: ' + (task.zone || NO_ZONE).name + '; Execution: ' + this.name + ')'); - - task._transitionTo(canceling, scheduled, running); - - try { - this._zoneDelegate.cancelTask(this, task); - } catch (err) { - // if error occurs when cancelTask, transit the state to unknown - task._transitionTo(unknown, canceling); - - this._zoneDelegate.handleError(this, err); - - throw err; - } - - this._updateTaskCount(task, -1); - - task._transitionTo(notScheduled, canceling); - - task.runCount = 0; - return task; - }; - - Zone.prototype._updateTaskCount = function (task, count) { - var zoneDelegates = task._zoneDelegates; - - if (count == -1) { - task._zoneDelegates = null; - } - - for (var i = 0; i < zoneDelegates.length; i++) { - zoneDelegates[i]._updateTaskCount(task.type, count); - } - }; - - return Zone; - }(); // tslint:disable-next-line:require-internal-with-underscore - - - Zone.__symbol__ = __symbol__; - var DELEGATE_ZS = { - name: '', - onHasTask: function onHasTask(delegate, _, target, hasTaskState) { - return delegate.hasTask(target, hasTaskState); - }, - onScheduleTask: function onScheduleTask(delegate, _, target, task) { - return delegate.scheduleTask(target, task); - }, - onInvokeTask: function onInvokeTask(delegate, _, target, task, applyThis, applyArgs) { - return delegate.invokeTask(target, task, applyThis, applyArgs); - }, - onCancelTask: function onCancelTask(delegate, _, target, task) { - return delegate.cancelTask(target, task); - } - }; - - var ZoneDelegate = - /** @class */ - function () { - function ZoneDelegate(zone, parentDelegate, zoneSpec) { - this._taskCounts = { - 'microTask': 0, - 'macroTask': 0, - 'eventTask': 0 - }; - this.zone = zone; - this._parentDelegate = parentDelegate; - this._forkZS = zoneSpec && (zoneSpec && zoneSpec.onFork ? zoneSpec : parentDelegate._forkZS); - this._forkDlgt = zoneSpec && (zoneSpec.onFork ? parentDelegate : parentDelegate._forkDlgt); - this._forkCurrZone = zoneSpec && (zoneSpec.onFork ? this.zone : parentDelegate._forkCurrZone); - this._interceptZS = zoneSpec && (zoneSpec.onIntercept ? zoneSpec : parentDelegate._interceptZS); - this._interceptDlgt = zoneSpec && (zoneSpec.onIntercept ? parentDelegate : parentDelegate._interceptDlgt); - this._interceptCurrZone = zoneSpec && (zoneSpec.onIntercept ? this.zone : parentDelegate._interceptCurrZone); - this._invokeZS = zoneSpec && (zoneSpec.onInvoke ? zoneSpec : parentDelegate._invokeZS); - this._invokeDlgt = zoneSpec && (zoneSpec.onInvoke ? parentDelegate : parentDelegate._invokeDlgt); - this._invokeCurrZone = zoneSpec && (zoneSpec.onInvoke ? this.zone : parentDelegate._invokeCurrZone); - this._handleErrorZS = zoneSpec && (zoneSpec.onHandleError ? zoneSpec : parentDelegate._handleErrorZS); - this._handleErrorDlgt = zoneSpec && (zoneSpec.onHandleError ? parentDelegate : parentDelegate._handleErrorDlgt); - this._handleErrorCurrZone = zoneSpec && (zoneSpec.onHandleError ? this.zone : parentDelegate._handleErrorCurrZone); - this._scheduleTaskZS = zoneSpec && (zoneSpec.onScheduleTask ? zoneSpec : parentDelegate._scheduleTaskZS); - this._scheduleTaskDlgt = zoneSpec && (zoneSpec.onScheduleTask ? parentDelegate : parentDelegate._scheduleTaskDlgt); - this._scheduleTaskCurrZone = zoneSpec && (zoneSpec.onScheduleTask ? this.zone : parentDelegate._scheduleTaskCurrZone); - this._invokeTaskZS = zoneSpec && (zoneSpec.onInvokeTask ? zoneSpec : parentDelegate._invokeTaskZS); - this._invokeTaskDlgt = zoneSpec && (zoneSpec.onInvokeTask ? parentDelegate : parentDelegate._invokeTaskDlgt); - this._invokeTaskCurrZone = zoneSpec && (zoneSpec.onInvokeTask ? this.zone : parentDelegate._invokeTaskCurrZone); - this._cancelTaskZS = zoneSpec && (zoneSpec.onCancelTask ? zoneSpec : parentDelegate._cancelTaskZS); - this._cancelTaskDlgt = zoneSpec && (zoneSpec.onCancelTask ? parentDelegate : parentDelegate._cancelTaskDlgt); - this._cancelTaskCurrZone = zoneSpec && (zoneSpec.onCancelTask ? this.zone : parentDelegate._cancelTaskCurrZone); - this._hasTaskZS = null; - this._hasTaskDlgt = null; - this._hasTaskDlgtOwner = null; - this._hasTaskCurrZone = null; - var zoneSpecHasTask = zoneSpec && zoneSpec.onHasTask; - var parentHasTask = parentDelegate && parentDelegate._hasTaskZS; - - if (zoneSpecHasTask || parentHasTask) { - // If we need to report hasTask, than this ZS needs to do ref counting on tasks. In such - // a case all task related interceptors must go through this ZD. We can't short circuit it. - this._hasTaskZS = zoneSpecHasTask ? zoneSpec : DELEGATE_ZS; - this._hasTaskDlgt = parentDelegate; - this._hasTaskDlgtOwner = this; - this._hasTaskCurrZone = zone; - - if (!zoneSpec.onScheduleTask) { - this._scheduleTaskZS = DELEGATE_ZS; - this._scheduleTaskDlgt = parentDelegate; - this._scheduleTaskCurrZone = this.zone; - } - - if (!zoneSpec.onInvokeTask) { - this._invokeTaskZS = DELEGATE_ZS; - this._invokeTaskDlgt = parentDelegate; - this._invokeTaskCurrZone = this.zone; - } - - if (!zoneSpec.onCancelTask) { - this._cancelTaskZS = DELEGATE_ZS; - this._cancelTaskDlgt = parentDelegate; - this._cancelTaskCurrZone = this.zone; - } - } - } - - ZoneDelegate.prototype.fork = function (targetZone, zoneSpec) { - return this._forkZS ? this._forkZS.onFork(this._forkDlgt, this.zone, targetZone, zoneSpec) : new Zone(targetZone, zoneSpec); - }; - - ZoneDelegate.prototype.intercept = function (targetZone, callback, source) { - return this._interceptZS ? this._interceptZS.onIntercept(this._interceptDlgt, this._interceptCurrZone, targetZone, callback, source) : callback; - }; - - ZoneDelegate.prototype.invoke = function (targetZone, callback, applyThis, applyArgs, source) { - return this._invokeZS ? this._invokeZS.onInvoke(this._invokeDlgt, this._invokeCurrZone, targetZone, callback, applyThis, applyArgs, source) : callback.apply(applyThis, applyArgs); - }; - - ZoneDelegate.prototype.handleError = function (targetZone, error) { - return this._handleErrorZS ? this._handleErrorZS.onHandleError(this._handleErrorDlgt, this._handleErrorCurrZone, targetZone, error) : true; - }; - - ZoneDelegate.prototype.scheduleTask = function (targetZone, task) { - var returnTask = task; - - if (this._scheduleTaskZS) { - if (this._hasTaskZS) { - returnTask._zoneDelegates.push(this._hasTaskDlgtOwner); - } // clang-format off - - - returnTask = this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt, this._scheduleTaskCurrZone, targetZone, task); // clang-format on - - if (!returnTask) returnTask = task; - } else { - if (task.scheduleFn) { - task.scheduleFn(task); - } else if (task.type == microTask) { - scheduleMicroTask(task); - } else { - throw new Error('Task is missing scheduleFn.'); - } - } - - return returnTask; - }; - - ZoneDelegate.prototype.invokeTask = function (targetZone, task, applyThis, applyArgs) { - return this._invokeTaskZS ? this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt, this._invokeTaskCurrZone, targetZone, task, applyThis, applyArgs) : task.callback.apply(applyThis, applyArgs); - }; - - ZoneDelegate.prototype.cancelTask = function (targetZone, task) { - var value; - - if (this._cancelTaskZS) { - value = this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt, this._cancelTaskCurrZone, targetZone, task); - } else { - if (!task.cancelFn) { - throw Error('Task is not cancelable'); - } - - value = task.cancelFn(task); - } - - return value; - }; - - ZoneDelegate.prototype.hasTask = function (targetZone, isEmpty) { - // hasTask should not throw error so other ZoneDelegate - // can still trigger hasTask callback - try { - this._hasTaskZS && this._hasTaskZS.onHasTask(this._hasTaskDlgt, this._hasTaskCurrZone, targetZone, isEmpty); - } catch (err) { - this.handleError(targetZone, err); - } - }; // tslint:disable-next-line:require-internal-with-underscore - - - ZoneDelegate.prototype._updateTaskCount = function (type, count) { - var counts = this._taskCounts; - var prev = counts[type]; - var next = counts[type] = prev + count; - - if (next < 0) { - throw new Error('More tasks executed then were scheduled.'); - } - - if (prev == 0 || next == 0) { - var isEmpty = { - microTask: counts['microTask'] > 0, - macroTask: counts['macroTask'] > 0, - eventTask: counts['eventTask'] > 0, - change: type - }; - this.hasTask(this.zone, isEmpty); - } - }; - - return ZoneDelegate; - }(); - - var ZoneTask = - /** @class */ - function () { - function ZoneTask(type, source, callback, options, scheduleFn, cancelFn) { - // tslint:disable-next-line:require-internal-with-underscore - this._zone = null; - this.runCount = 0; // tslint:disable-next-line:require-internal-with-underscore - - this._zoneDelegates = null; // tslint:disable-next-line:require-internal-with-underscore - - this._state = 'notScheduled'; - this.type = type; - this.source = source; - this.data = options; - this.scheduleFn = scheduleFn; - this.cancelFn = cancelFn; - - if (!callback) { - throw new Error('callback is not defined'); - } - - this.callback = callback; - var self = this; // TODO: @JiaLiPassion options should have interface - - if (type === eventTask && options && options.useG) { - this.invoke = ZoneTask.invokeTask; - } else { - this.invoke = function () { - return ZoneTask.invokeTask.call(global, self, this, arguments); - }; - } - } - - ZoneTask.invokeTask = function (task, target, args) { - if (!task) { - task = this; - } - - _numberOfNestedTaskFrames++; - - try { - task.runCount++; - return task.zone.runTask(task, target, args); - } finally { - if (_numberOfNestedTaskFrames == 1) { - drainMicroTaskQueue(); - } - - _numberOfNestedTaskFrames--; - } - }; - - Object.defineProperty(ZoneTask.prototype, "zone", { - get: function get() { - return this._zone; - }, - enumerable: false, - configurable: true - }); - Object.defineProperty(ZoneTask.prototype, "state", { - get: function get() { - return this._state; - }, - enumerable: false, - configurable: true - }); - - ZoneTask.prototype.cancelScheduleRequest = function () { - this._transitionTo(notScheduled, scheduling); - }; // tslint:disable-next-line:require-internal-with-underscore - - - ZoneTask.prototype._transitionTo = function (toState, fromState1, fromState2) { - if (this._state === fromState1 || this._state === fromState2) { - this._state = toState; - - if (toState == notScheduled) { - this._zoneDelegates = null; - } - } else { - throw new Error(this.type + " '" + this.source + "': can not transition to '" + toState + "', expecting state '" + fromState1 + "'" + (fromState2 ? ' or \'' + fromState2 + '\'' : '') + ", was '" + this._state + "'."); - } - }; - - ZoneTask.prototype.toString = function () { - if (this.data && typeof this.data.handleId !== 'undefined') { - return this.data.handleId.toString(); - } else { - return Object.prototype.toString.call(this); - } - }; // add toJSON method to prevent cyclic error when - // call JSON.stringify(zoneTask) - - - ZoneTask.prototype.toJSON = function () { - return { - type: this.type, - state: this.state, - source: this.source, - zone: this.zone.name, - runCount: this.runCount - }; - }; - - return ZoneTask; - }(); ////////////////////////////////////////////////////// - ////////////////////////////////////////////////////// - /// MICROTASK QUEUE - ////////////////////////////////////////////////////// - ////////////////////////////////////////////////////// - - - var symbolSetTimeout = __symbol__('setTimeout'); - - var symbolPromise = __symbol__('Promise'); - - var symbolThen = __symbol__('then'); - - var _microTaskQueue = []; - var _isDrainingMicrotaskQueue = false; - var nativeMicroTaskQueuePromise; - - function scheduleMicroTask(task) { - // if we are not running in any task, and there has not been anything scheduled - // we must bootstrap the initial task creation by manually scheduling the drain - if (_numberOfNestedTaskFrames === 0 && _microTaskQueue.length === 0) { - // We are not running in Task, so we need to kickstart the microtask queue. - if (!nativeMicroTaskQueuePromise) { - if (global[symbolPromise]) { - nativeMicroTaskQueuePromise = global[symbolPromise].resolve(0); - } - } - - if (nativeMicroTaskQueuePromise) { - var nativeThen = nativeMicroTaskQueuePromise[symbolThen]; - - if (!nativeThen) { - // native Promise is not patchable, we need to use `then` directly - // issue 1078 - nativeThen = nativeMicroTaskQueuePromise['then']; - } - - nativeThen.call(nativeMicroTaskQueuePromise, drainMicroTaskQueue); - } else { - global[symbolSetTimeout](drainMicroTaskQueue, 0); - } - } - - task && _microTaskQueue.push(task); - } - - function drainMicroTaskQueue() { - if (!_isDrainingMicrotaskQueue) { - _isDrainingMicrotaskQueue = true; - - while (_microTaskQueue.length) { - var queue = _microTaskQueue; - _microTaskQueue = []; - - for (var i = 0; i < queue.length; i++) { - var task = queue[i]; - - try { - task.zone.runTask(task, null, null); - } catch (error) { - _api.onUnhandledError(error); - } - } - } - - _api.microtaskDrainDone(); - - _isDrainingMicrotaskQueue = false; - } - } ////////////////////////////////////////////////////// - ////////////////////////////////////////////////////// - /// BOOTSTRAP - ////////////////////////////////////////////////////// - ////////////////////////////////////////////////////// - - - var NO_ZONE = { - name: 'NO ZONE' - }; - var notScheduled = 'notScheduled', - scheduling = 'scheduling', - scheduled = 'scheduled', - running = 'running', - canceling = 'canceling', - unknown = 'unknown'; - var microTask = 'microTask', - macroTask = 'macroTask', - eventTask = 'eventTask'; - var patches = {}; - var _api = { - symbol: __symbol__, - currentZoneFrame: function currentZoneFrame() { - return _currentZoneFrame; - }, - onUnhandledError: noop, - microtaskDrainDone: noop, - scheduleMicroTask: scheduleMicroTask, - showUncaughtError: function showUncaughtError() { - return !Zone[__symbol__('ignoreConsoleErrorUncaughtError')]; - }, - patchEventTarget: function patchEventTarget() { - return []; - }, - patchOnProperties: noop, - patchMethod: function patchMethod() { - return noop; - }, - bindArguments: function bindArguments() { - return []; - }, - patchThen: function patchThen() { - return noop; - }, - patchMacroTask: function patchMacroTask() { - return noop; - }, - patchEventPrototype: function patchEventPrototype() { - return noop; - }, - isIEOrEdge: function isIEOrEdge() { - return false; - }, - getGlobalObjects: function getGlobalObjects() { - return undefined; - }, - ObjectDefineProperty: function ObjectDefineProperty() { - return noop; - }, - ObjectGetOwnPropertyDescriptor: function ObjectGetOwnPropertyDescriptor() { - return undefined; - }, - ObjectCreate: function ObjectCreate() { - return undefined; - }, - ArraySlice: function ArraySlice() { - return []; - }, - patchClass: function patchClass() { - return noop; - }, - wrapWithCurrentZone: function wrapWithCurrentZone() { - return noop; - }, - filterProperties: function filterProperties() { - return []; - }, - attachOriginToPatched: function attachOriginToPatched() { - return noop; - }, - _redefineProperty: function _redefineProperty() { - return noop; - }, - patchCallbacks: function patchCallbacks() { - return noop; - } - }; - var _currentZoneFrame = { - parent: null, - zone: new Zone(null, null) - }; - var _currentTask = null; - var _numberOfNestedTaskFrames = 0; - - function noop() {} - - performanceMeasure('Zone', 'Zone'); - return global['Zone'] = Zone; - }(typeof window !== 'undefined' && window || typeof self !== 'undefined' && self || global); - /** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - /** - * Suppress closure compiler errors about unknown 'Zone' variable - * @fileoverview - * @suppress {undefinedVars,globalThis,missingRequire} - */ - /// - // issue #989, to reduce bundle size, use short name - - /** Object.getOwnPropertyDescriptor */ - - - var ObjectGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; - /** Object.defineProperty */ - - var ObjectDefineProperty = Object.defineProperty; - /** Object.getPrototypeOf */ - - var ObjectGetPrototypeOf = Object.getPrototypeOf; - /** Object.create */ - - var ObjectCreate = Object.create; - /** Array.prototype.slice */ - - var ArraySlice = Array.prototype.slice; - /** addEventListener string const */ - - var ADD_EVENT_LISTENER_STR = 'addEventListener'; - /** removeEventListener string const */ - - var REMOVE_EVENT_LISTENER_STR = 'removeEventListener'; - /** zoneSymbol addEventListener */ - - var ZONE_SYMBOL_ADD_EVENT_LISTENER = Zone.__symbol__(ADD_EVENT_LISTENER_STR); - /** zoneSymbol removeEventListener */ - - - var ZONE_SYMBOL_REMOVE_EVENT_LISTENER = Zone.__symbol__(REMOVE_EVENT_LISTENER_STR); - /** true string const */ - - - var TRUE_STR = 'true'; - /** false string const */ - - var FALSE_STR = 'false'; - /** Zone symbol prefix string const. */ - - var ZONE_SYMBOL_PREFIX = Zone.__symbol__(''); - - function wrapWithCurrentZone(callback, source) { - return Zone.current.wrap(callback, source); - } - - function scheduleMacroTaskWithCurrentZone(source, callback, data, customSchedule, customCancel) { - return Zone.current.scheduleMacroTask(source, callback, data, customSchedule, customCancel); - } - - var zoneSymbol = Zone.__symbol__; - var isWindowExists = typeof window !== 'undefined'; - var internalWindow = isWindowExists ? window : undefined; - - var _global = isWindowExists && internalWindow || typeof self === 'object' && self || global; - - var REMOVE_ATTRIBUTE = 'removeAttribute'; - var NULL_ON_PROP_VALUE = [null]; - - function bindArguments(args, source) { - for (var i = args.length - 1; i >= 0; i--) { - if (typeof args[i] === 'function') { - args[i] = wrapWithCurrentZone(args[i], source + '_' + i); - } - } - - return args; - } - - function patchPrototype(prototype, fnNames) { - var source = prototype.constructor['name']; - - var _loop_1 = function _loop_1(i) { - var name_1 = fnNames[i]; - var delegate = prototype[name_1]; - - if (delegate) { - var prototypeDesc = ObjectGetOwnPropertyDescriptor(prototype, name_1); - - if (!isPropertyWritable(prototypeDesc)) { - return "continue"; - } - - prototype[name_1] = function (delegate) { - var patched = function patched() { - return delegate.apply(this, bindArguments(arguments, source + '.' + name_1)); - }; - - attachOriginToPatched(patched, delegate); - return patched; - }(delegate); - } - }; - - for (var i = 0; i < fnNames.length; i++) { - _loop_1(i); - } - } - - function isPropertyWritable(propertyDesc) { - if (!propertyDesc) { - return true; - } - - if (propertyDesc.writable === false) { - return false; - } - - return !(typeof propertyDesc.get === 'function' && typeof propertyDesc.set === 'undefined'); - } - - var isWebWorker = typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope; // Make sure to access `process` through `_global` so that WebPack does not accidentally browserify - // this code. - - var isNode = !('nw' in _global) && typeof _global.process !== 'undefined' && {}.toString.call(_global.process) === '[object process]'; - var isBrowser = !isNode && !isWebWorker && !!(isWindowExists && internalWindow['HTMLElement']); // we are in electron of nw, so we are both browser and nodejs - // Make sure to access `process` through `_global` so that WebPack does not accidentally browserify - // this code. - - var isMix = typeof _global.process !== 'undefined' && {}.toString.call(_global.process) === '[object process]' && !isWebWorker && !!(isWindowExists && internalWindow['HTMLElement']); - var zoneSymbolEventNames = {}; - - var wrapFn = function wrapFn(event) { - // https://github.com/angular/zone.js/issues/911, in IE, sometimes - // event will be undefined, so we need to use window.event - event = event || _global.event; - - if (!event) { - return; - } - - var eventNameSymbol = zoneSymbolEventNames[event.type]; - - if (!eventNameSymbol) { - eventNameSymbol = zoneSymbolEventNames[event.type] = zoneSymbol('ON_PROPERTY' + event.type); - } - - var target = this || event.target || _global; - var listener = target[eventNameSymbol]; - var result; - - if (isBrowser && target === internalWindow && event.type === 'error') { - // window.onerror have different signiture - // https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror#window.onerror - // and onerror callback will prevent default when callback return true - var errorEvent = event; - result = listener && listener.call(this, errorEvent.message, errorEvent.filename, errorEvent.lineno, errorEvent.colno, errorEvent.error); - - if (result === true) { - event.preventDefault(); - } - } else { - result = listener && listener.apply(this, arguments); - - if (result != undefined && !result) { - event.preventDefault(); - } - } - - return result; - }; - - function patchProperty(obj, prop, prototype) { - var desc = ObjectGetOwnPropertyDescriptor(obj, prop); - - if (!desc && prototype) { - // when patch window object, use prototype to check prop exist or not - var prototypeDesc = ObjectGetOwnPropertyDescriptor(prototype, prop); - - if (prototypeDesc) { - desc = { - enumerable: true, - configurable: true - }; - } - } // if the descriptor not exists or is not configurable - // just return - - - if (!desc || !desc.configurable) { - return; - } - - var onPropPatchedSymbol = zoneSymbol('on' + prop + 'patched'); - - if (obj.hasOwnProperty(onPropPatchedSymbol) && obj[onPropPatchedSymbol]) { - return; - } // A property descriptor cannot have getter/setter and be writable - // deleting the writable and value properties avoids this error: - // - // TypeError: property descriptors must not specify a value or be writable when a - // getter or setter has been specified - - - delete desc.writable; - delete desc.value; - var originalDescGet = desc.get; - var originalDescSet = desc.set; // substr(2) cuz 'onclick' -> 'click', etc - - var eventName = prop.substr(2); - var eventNameSymbol = zoneSymbolEventNames[eventName]; - - if (!eventNameSymbol) { - eventNameSymbol = zoneSymbolEventNames[eventName] = zoneSymbol('ON_PROPERTY' + eventName); - } - - desc.set = function (newValue) { - // in some of windows's onproperty callback, this is undefined - // so we need to check it - var target = this; - - if (!target && obj === _global) { - target = _global; - } - - if (!target) { - return; - } - - var previousValue = target[eventNameSymbol]; - - if (previousValue) { - target.removeEventListener(eventName, wrapFn); - } // issue #978, when onload handler was added before loading zone.js - // we should remove it with originalDescSet - - - if (originalDescSet) { - originalDescSet.apply(target, NULL_ON_PROP_VALUE); - } - - if (typeof newValue === 'function') { - target[eventNameSymbol] = newValue; - target.addEventListener(eventName, wrapFn, false); - } else { - target[eventNameSymbol] = null; - } - }; // The getter would return undefined for unassigned properties but the default value of an - // unassigned property is null - - - desc.get = function () { - // in some of windows's onproperty callback, this is undefined - // so we need to check it - var target = this; - - if (!target && obj === _global) { - target = _global; - } - - if (!target) { - return null; - } - - var listener = target[eventNameSymbol]; - - if (listener) { - return listener; - } else if (originalDescGet) { - // result will be null when use inline event attribute, - // such as - // because the onclick function is internal raw uncompiled handler - // the onclick will be evaluated when first time event was triggered or - // the property is accessed, https://github.com/angular/zone.js/issues/525 - // so we should use original native get to retrieve the handler - var value = originalDescGet && originalDescGet.call(this); - - if (value) { - desc.set.call(this, value); - - if (typeof target[REMOVE_ATTRIBUTE] === 'function') { - target.removeAttribute(prop); - } - - return value; - } - } - - return null; - }; - - ObjectDefineProperty(obj, prop, desc); - obj[onPropPatchedSymbol] = true; - } - - function patchOnProperties(obj, properties, prototype) { - if (properties) { - for (var i = 0; i < properties.length; i++) { - patchProperty(obj, 'on' + properties[i], prototype); - } - } else { - var onProperties = []; - - for (var prop in obj) { - if (prop.substr(0, 2) == 'on') { - onProperties.push(prop); - } - } - - for (var j = 0; j < onProperties.length; j++) { - patchProperty(obj, onProperties[j], prototype); - } - } - } - - var originalInstanceKey = zoneSymbol('originalInstance'); // wrap some native API on `window` - - function patchClass(className) { - var OriginalClass = _global[className]; - if (!OriginalClass) return; // keep original class in global - - _global[zoneSymbol(className)] = OriginalClass; - - _global[className] = function () { - var a = bindArguments(arguments, className); - - switch (a.length) { - case 0: - this[originalInstanceKey] = new OriginalClass(); - break; - - case 1: - this[originalInstanceKey] = new OriginalClass(a[0]); - break; - - case 2: - this[originalInstanceKey] = new OriginalClass(a[0], a[1]); - break; - - case 3: - this[originalInstanceKey] = new OriginalClass(a[0], a[1], a[2]); - break; - - case 4: - this[originalInstanceKey] = new OriginalClass(a[0], a[1], a[2], a[3]); - break; - - default: - throw new Error('Arg list too long.'); - } - }; // attach original delegate to patched function - - - attachOriginToPatched(_global[className], OriginalClass); - var instance = new OriginalClass(function () {}); - var prop; - - for (prop in instance) { - // https://bugs.webkit.org/show_bug.cgi?id=44721 - if (className === 'XMLHttpRequest' && prop === 'responseBlob') continue; - - (function (prop) { - if (typeof instance[prop] === 'function') { - _global[className].prototype[prop] = function () { - return this[originalInstanceKey][prop].apply(this[originalInstanceKey], arguments); - }; - } else { - ObjectDefineProperty(_global[className].prototype, prop, { - set: function set(fn) { - if (typeof fn === 'function') { - this[originalInstanceKey][prop] = wrapWithCurrentZone(fn, className + '.' + prop); // keep callback in wrapped function so we can - // use it in Function.prototype.toString to return - // the native one. - - attachOriginToPatched(this[originalInstanceKey][prop], fn); - } else { - this[originalInstanceKey][prop] = fn; - } - }, - get: function get() { - return this[originalInstanceKey][prop]; - } - }); - } - })(prop); - } - - for (prop in OriginalClass) { - if (prop !== 'prototype' && OriginalClass.hasOwnProperty(prop)) { - _global[className][prop] = OriginalClass[prop]; - } - } - } - - function patchMethod(target, name, patchFn) { - var proto = target; - - while (proto && !proto.hasOwnProperty(name)) { - proto = ObjectGetPrototypeOf(proto); - } - - if (!proto && target[name]) { - // somehow we did not find it, but we can see it. This happens on IE for Window properties. - proto = target; - } - - var delegateName = zoneSymbol(name); - var delegate = null; - - if (proto && (!(delegate = proto[delegateName]) || !proto.hasOwnProperty(delegateName))) { - delegate = proto[delegateName] = proto[name]; // check whether proto[name] is writable - // some property is readonly in safari, such as HtmlCanvasElement.prototype.toBlob - - var desc = proto && ObjectGetOwnPropertyDescriptor(proto, name); - - if (isPropertyWritable(desc)) { - var patchDelegate_1 = patchFn(delegate, delegateName, name); - - proto[name] = function () { - return patchDelegate_1(this, arguments); - }; - - attachOriginToPatched(proto[name], delegate); - } - } - - return delegate; - } // TODO: @JiaLiPassion, support cancel task later if necessary - - - function patchMacroTask(obj, funcName, metaCreator) { - var setNative = null; - - function scheduleTask(task) { - var data = task.data; - - data.args[data.cbIdx] = function () { - task.invoke.apply(this, arguments); - }; - - setNative.apply(data.target, data.args); - return task; - } - - setNative = patchMethod(obj, funcName, function (delegate) { - return function (self, args) { - var meta = metaCreator(self, args); - - if (meta.cbIdx >= 0 && typeof args[meta.cbIdx] === 'function') { - return scheduleMacroTaskWithCurrentZone(meta.name, args[meta.cbIdx], meta, scheduleTask); - } else { - // cause an error by calling it directly. - return delegate.apply(self, args); - } - }; - }); - } - - function attachOriginToPatched(patched, original) { - patched[zoneSymbol('OriginalDelegate')] = original; - } - - var isDetectedIEOrEdge = false; - var ieOrEdge = false; - - function isIE() { - try { - var ua = internalWindow.navigator.userAgent; - - if (ua.indexOf('MSIE ') !== -1 || ua.indexOf('Trident/') !== -1) { - return true; - } - } catch (error) {} - - return false; - } - - function isIEOrEdge() { - if (isDetectedIEOrEdge) { - return ieOrEdge; - } - - isDetectedIEOrEdge = true; - - try { - var ua = internalWindow.navigator.userAgent; - - if (ua.indexOf('MSIE ') !== -1 || ua.indexOf('Trident/') !== -1 || ua.indexOf('Edge/') !== -1) { - ieOrEdge = true; - } - } catch (error) {} - - return ieOrEdge; - } - /** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - - Zone.__load_patch('ZoneAwarePromise', function (global, Zone, api) { - var ObjectGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; - var ObjectDefineProperty = Object.defineProperty; - - function readableObjectToString(obj) { - if (obj && obj.toString === Object.prototype.toString) { - var className = obj.constructor && obj.constructor.name; - return (className ? className : '') + ': ' + JSON.stringify(obj); - } - - return obj ? obj.toString() : Object.prototype.toString.call(obj); - } - - var __symbol__ = api.symbol; - var _uncaughtPromiseErrors = []; - var isDisableWrappingUncaughtPromiseRejection = global[__symbol__('DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION')] === true; - - var symbolPromise = __symbol__('Promise'); - - var symbolThen = __symbol__('then'); - - var creationTrace = '__creationTrace__'; - - api.onUnhandledError = function (e) { - if (api.showUncaughtError()) { - var rejection = e && e.rejection; - - if (rejection) { - console.error('Unhandled Promise rejection:', rejection instanceof Error ? rejection.message : rejection, '; Zone:', e.zone.name, '; Task:', e.task && e.task.source, '; Value:', rejection, rejection instanceof Error ? rejection.stack : undefined); - } else { - console.error(e); - } - } - }; - - api.microtaskDrainDone = function () { - var _loop_2 = function _loop_2() { - var uncaughtPromiseError = _uncaughtPromiseErrors.shift(); - - try { - uncaughtPromiseError.zone.runGuarded(function () { - if (uncaughtPromiseError.throwOriginal) { - throw uncaughtPromiseError.rejection; - } - - throw uncaughtPromiseError; - }); - } catch (error) { - handleUnhandledRejection(error); - } - }; - - while (_uncaughtPromiseErrors.length) { - _loop_2(); - } - }; - - var UNHANDLED_PROMISE_REJECTION_HANDLER_SYMBOL = __symbol__('unhandledPromiseRejectionHandler'); - - function handleUnhandledRejection(e) { - api.onUnhandledError(e); - - try { - var handler = Zone[UNHANDLED_PROMISE_REJECTION_HANDLER_SYMBOL]; - - if (typeof handler === 'function') { - handler.call(this, e); - } - } catch (err) {} - } - - function isThenable(value) { - return value && value.then; - } - - function forwardResolution(value) { - return value; - } - - function forwardRejection(rejection) { - return ZoneAwarePromise.reject(rejection); - } - - var symbolState = __symbol__('state'); - - var symbolValue = __symbol__('value'); - - var symbolFinally = __symbol__('finally'); - - var symbolParentPromiseValue = __symbol__('parentPromiseValue'); - - var symbolParentPromiseState = __symbol__('parentPromiseState'); - - var source = 'Promise.then'; - var UNRESOLVED = null; - var RESOLVED = true; - var REJECTED = false; - var REJECTED_NO_CATCH = 0; - - function makeResolver(promise, state) { - return function (v) { - try { - resolvePromise(promise, state, v); - } catch (err) { - resolvePromise(promise, false, err); - } // Do not return value or you will break the Promise spec. - - }; - } - - var once = function once() { - var wasCalled = false; - return function wrapper(wrappedFunction) { - return function () { - if (wasCalled) { - return; - } - - wasCalled = true; - wrappedFunction.apply(null, arguments); - }; - }; - }; - - var TYPE_ERROR = 'Promise resolved with itself'; - - var CURRENT_TASK_TRACE_SYMBOL = __symbol__('currentTaskTrace'); // Promise Resolution - - - function resolvePromise(promise, state, value) { - var onceWrapper = once(); - - if (promise === value) { - throw new TypeError(TYPE_ERROR); - } - - if (promise[symbolState] === UNRESOLVED) { - // should only get value.then once based on promise spec. - var then = null; - - try { - if (typeof value === 'object' || typeof value === 'function') { - then = value && value.then; - } - } catch (err) { - onceWrapper(function () { - resolvePromise(promise, false, err); - })(); - return promise; - } // if (value instanceof ZoneAwarePromise) { - - - if (state !== REJECTED && value instanceof ZoneAwarePromise && value.hasOwnProperty(symbolState) && value.hasOwnProperty(symbolValue) && value[symbolState] !== UNRESOLVED) { - clearRejectedNoCatch(value); - resolvePromise(promise, value[symbolState], value[symbolValue]); - } else if (state !== REJECTED && typeof then === 'function') { - try { - then.call(value, onceWrapper(makeResolver(promise, state)), onceWrapper(makeResolver(promise, false))); - } catch (err) { - onceWrapper(function () { - resolvePromise(promise, false, err); - })(); - } - } else { - promise[symbolState] = state; - var queue = promise[symbolValue]; - promise[symbolValue] = value; - - if (promise[symbolFinally] === symbolFinally) { - // the promise is generated by Promise.prototype.finally - if (state === RESOLVED) { - // the state is resolved, should ignore the value - // and use parent promise value - promise[symbolState] = promise[symbolParentPromiseState]; - promise[symbolValue] = promise[symbolParentPromiseValue]; - } - } // record task information in value when error occurs, so we can - // do some additional work such as render longStackTrace - - - if (state === REJECTED && value instanceof Error) { - // check if longStackTraceZone is here - var trace = Zone.currentTask && Zone.currentTask.data && Zone.currentTask.data[creationTrace]; - - if (trace) { - // only keep the long stack trace into error when in longStackTraceZone - ObjectDefineProperty(value, CURRENT_TASK_TRACE_SYMBOL, { - configurable: true, - enumerable: false, - writable: true, - value: trace - }); - } - } - - for (var i = 0; i < queue.length;) { - scheduleResolveOrReject(promise, queue[i++], queue[i++], queue[i++], queue[i++]); - } - - if (queue.length == 0 && state == REJECTED) { - promise[symbolState] = REJECTED_NO_CATCH; - var uncaughtPromiseError = value; - - try { - // Here we throws a new Error to print more readable error log - // and if the value is not an error, zone.js builds an `Error` - // Object here to attach the stack information. - throw new Error('Uncaught (in promise): ' + readableObjectToString(value) + (value && value.stack ? '\n' + value.stack : '')); - } catch (err) { - uncaughtPromiseError = err; - } - - if (isDisableWrappingUncaughtPromiseRejection) { - // If disable wrapping uncaught promise reject - // use the value instead of wrapping it. - uncaughtPromiseError.throwOriginal = true; - } - - uncaughtPromiseError.rejection = value; - uncaughtPromiseError.promise = promise; - uncaughtPromiseError.zone = Zone.current; - uncaughtPromiseError.task = Zone.currentTask; - - _uncaughtPromiseErrors.push(uncaughtPromiseError); - - api.scheduleMicroTask(); // to make sure that it is running - } - } - } // Resolving an already resolved promise is a noop. - - - return promise; - } - - var REJECTION_HANDLED_HANDLER = __symbol__('rejectionHandledHandler'); - - function clearRejectedNoCatch(promise) { - if (promise[symbolState] === REJECTED_NO_CATCH) { - // if the promise is rejected no catch status - // and queue.length > 0, means there is a error handler - // here to handle the rejected promise, we should trigger - // windows.rejectionhandled eventHandler or nodejs rejectionHandled - // eventHandler - try { - var handler = Zone[REJECTION_HANDLED_HANDLER]; - - if (handler && typeof handler === 'function') { - handler.call(this, { - rejection: promise[symbolValue], - promise: promise - }); - } - } catch (err) {} - - promise[symbolState] = REJECTED; - - for (var i = 0; i < _uncaughtPromiseErrors.length; i++) { - if (promise === _uncaughtPromiseErrors[i].promise) { - _uncaughtPromiseErrors.splice(i, 1); - } - } - } - } - - function scheduleResolveOrReject(promise, zone, chainPromise, onFulfilled, onRejected) { - clearRejectedNoCatch(promise); - var promiseState = promise[symbolState]; - var delegate = promiseState ? typeof onFulfilled === 'function' ? onFulfilled : forwardResolution : typeof onRejected === 'function' ? onRejected : forwardRejection; - zone.scheduleMicroTask(source, function () { - try { - var parentPromiseValue = promise[symbolValue]; - var isFinallyPromise = !!chainPromise && symbolFinally === chainPromise[symbolFinally]; - - if (isFinallyPromise) { - // if the promise is generated from finally call, keep parent promise's state and value - chainPromise[symbolParentPromiseValue] = parentPromiseValue; - chainPromise[symbolParentPromiseState] = promiseState; - } // should not pass value to finally callback - - - var value = zone.run(delegate, undefined, isFinallyPromise && delegate !== forwardRejection && delegate !== forwardResolution ? [] : [parentPromiseValue]); - resolvePromise(chainPromise, true, value); - } catch (error) { - // if error occurs, should always return this error - resolvePromise(chainPromise, false, error); - } - }, chainPromise); - } - - var ZONE_AWARE_PROMISE_TO_STRING = 'function ZoneAwarePromise() { [native code] }'; - - var noop = function noop() {}; - - var ZoneAwarePromise = - /** @class */ - function () { - function ZoneAwarePromise(executor) { - var promise = this; - - if (!(promise instanceof ZoneAwarePromise)) { - throw new Error('Must be an instanceof Promise.'); - } - - promise[symbolState] = UNRESOLVED; - promise[symbolValue] = []; // queue; - - try { - executor && executor(makeResolver(promise, RESOLVED), makeResolver(promise, REJECTED)); - } catch (error) { - resolvePromise(promise, false, error); - } - } - - ZoneAwarePromise.toString = function () { - return ZONE_AWARE_PROMISE_TO_STRING; - }; - - ZoneAwarePromise.resolve = function (value) { - return resolvePromise(new this(null), RESOLVED, value); - }; - - ZoneAwarePromise.reject = function (error) { - return resolvePromise(new this(null), REJECTED, error); - }; - - ZoneAwarePromise.race = function (values) { - var resolve; - var reject; - var promise = new this(function (res, rej) { - resolve = res; - reject = rej; - }); - - function onResolve(value) { - resolve(value); - } - - function onReject(error) { - reject(error); - } - - for (var _i = 0, values_1 = values; _i < values_1.length; _i++) { - var value = values_1[_i]; - - if (!isThenable(value)) { - value = this.resolve(value); - } - - value.then(onResolve, onReject); - } - - return promise; - }; - - ZoneAwarePromise.all = function (values) { - return ZoneAwarePromise.allWithCallback(values); - }; - - ZoneAwarePromise.allSettled = function (values) { - var P = this && this.prototype instanceof ZoneAwarePromise ? this : ZoneAwarePromise; - return P.allWithCallback(values, { - thenCallback: function thenCallback(value) { - return { - status: 'fulfilled', - value: value - }; - }, - errorCallback: function errorCallback(err) { - return { - status: 'rejected', - reason: err - }; - } - }); - }; - - ZoneAwarePromise.allWithCallback = function (values, callback) { - var resolve; - var reject; - var promise = new this(function (res, rej) { - resolve = res; - reject = rej; - }); // Start at 2 to prevent prematurely resolving if .then is called immediately. - - var unresolvedCount = 2; - var valueIndex = 0; - var resolvedValues = []; - - var _loop_3 = function _loop_3(value) { - if (!isThenable(value)) { - value = this_1.resolve(value); - } - - var curValueIndex = valueIndex; - - try { - value.then(function (value) { - resolvedValues[curValueIndex] = callback ? callback.thenCallback(value) : value; - unresolvedCount--; - - if (unresolvedCount === 0) { - resolve(resolvedValues); - } - }, function (err) { - if (!callback) { - reject(err); - } else { - resolvedValues[curValueIndex] = callback.errorCallback(err); - unresolvedCount--; - - if (unresolvedCount === 0) { - resolve(resolvedValues); - } - } - }); - } catch (thenErr) { - reject(thenErr); - } - - unresolvedCount++; - valueIndex++; - }; - - var this_1 = this; - - for (var _i = 0, values_2 = values; _i < values_2.length; _i++) { - var value = values_2[_i]; - - _loop_3(value); - } // Make the unresolvedCount zero-based again. - - - unresolvedCount -= 2; - - if (unresolvedCount === 0) { - resolve(resolvedValues); - } - - return promise; - }; - - Object.defineProperty(ZoneAwarePromise.prototype, Symbol.toStringTag, { - get: function get() { - return 'Promise'; - }, - enumerable: false, - configurable: true - }); - Object.defineProperty(ZoneAwarePromise.prototype, Symbol.species, { - get: function get() { - return ZoneAwarePromise; - }, - enumerable: false, - configurable: true - }); - - ZoneAwarePromise.prototype.then = function (onFulfilled, onRejected) { - var C = this.constructor[Symbol.species]; - - if (!C || typeof C !== 'function') { - C = this.constructor || ZoneAwarePromise; - } - - var chainPromise = new C(noop); - var zone = Zone.current; - - if (this[symbolState] == UNRESOLVED) { - this[symbolValue].push(zone, chainPromise, onFulfilled, onRejected); - } else { - scheduleResolveOrReject(this, zone, chainPromise, onFulfilled, onRejected); - } - - return chainPromise; - }; - - ZoneAwarePromise.prototype.catch = function (onRejected) { - return this.then(null, onRejected); - }; - - ZoneAwarePromise.prototype.finally = function (onFinally) { - var C = this.constructor[Symbol.species]; - - if (!C || typeof C !== 'function') { - C = ZoneAwarePromise; - } - - var chainPromise = new C(noop); - chainPromise[symbolFinally] = symbolFinally; - var zone = Zone.current; - - if (this[symbolState] == UNRESOLVED) { - this[symbolValue].push(zone, chainPromise, onFinally, onFinally); - } else { - scheduleResolveOrReject(this, zone, chainPromise, onFinally, onFinally); - } - - return chainPromise; - }; - - return ZoneAwarePromise; - }(); // Protect against aggressive optimizers dropping seemingly unused properties. - // E.g. Closure Compiler in advanced mode. - - - ZoneAwarePromise['resolve'] = ZoneAwarePromise.resolve; - ZoneAwarePromise['reject'] = ZoneAwarePromise.reject; - ZoneAwarePromise['race'] = ZoneAwarePromise.race; - ZoneAwarePromise['all'] = ZoneAwarePromise.all; - var NativePromise = global[symbolPromise] = global['Promise']; - global['Promise'] = ZoneAwarePromise; - - var symbolThenPatched = __symbol__('thenPatched'); - - function patchThen(Ctor) { - var proto = Ctor.prototype; - var prop = ObjectGetOwnPropertyDescriptor(proto, 'then'); - - if (prop && (prop.writable === false || !prop.configurable)) { - // check Ctor.prototype.then propertyDescriptor is writable or not - // in meteor env, writable is false, we should ignore such case - return; - } - - var originalThen = proto.then; // Keep a reference to the original method. - - proto[symbolThen] = originalThen; - - Ctor.prototype.then = function (onResolve, onReject) { - var _this = this; - - var wrapped = new ZoneAwarePromise(function (resolve, reject) { - originalThen.call(_this, resolve, reject); - }); - return wrapped.then(onResolve, onReject); - }; - - Ctor[symbolThenPatched] = true; - } - - api.patchThen = patchThen; - - function zoneify(fn) { - return function (self, args) { - var resultPromise = fn.apply(self, args); - - if (resultPromise instanceof ZoneAwarePromise) { - return resultPromise; - } - - var ctor = resultPromise.constructor; - - if (!ctor[symbolThenPatched]) { - patchThen(ctor); - } - - return resultPromise; - }; - } - - if (NativePromise) { - patchThen(NativePromise); - patchMethod(global, 'fetch', function (delegate) { - return zoneify(delegate); - }); - } // This is not part of public API, but it is useful for tests, so we expose it. - - - Promise[Zone.__symbol__('uncaughtPromiseErrors')] = _uncaughtPromiseErrors; - return ZoneAwarePromise; - }); - /** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - // override Function.prototype.toString to make zone.js patched function - // look like native function - - - Zone.__load_patch('toString', function (global) { - // patch Func.prototype.toString to let them look like native - var originalFunctionToString = Function.prototype.toString; - var ORIGINAL_DELEGATE_SYMBOL = zoneSymbol('OriginalDelegate'); - var PROMISE_SYMBOL = zoneSymbol('Promise'); - var ERROR_SYMBOL = zoneSymbol('Error'); - - var newFunctionToString = function toString() { - if (typeof this === 'function') { - var originalDelegate = this[ORIGINAL_DELEGATE_SYMBOL]; - - if (originalDelegate) { - if (typeof originalDelegate === 'function') { - return originalFunctionToString.call(originalDelegate); - } else { - return Object.prototype.toString.call(originalDelegate); - } - } - - if (this === Promise) { - var nativePromise = global[PROMISE_SYMBOL]; - - if (nativePromise) { - return originalFunctionToString.call(nativePromise); - } - } - - if (this === Error) { - var nativeError = global[ERROR_SYMBOL]; - - if (nativeError) { - return originalFunctionToString.call(nativeError); - } - } - } - - return originalFunctionToString.call(this); - }; - - newFunctionToString[ORIGINAL_DELEGATE_SYMBOL] = originalFunctionToString; - Function.prototype.toString = newFunctionToString; // patch Object.prototype.toString to let them look like native - - var originalObjectToString = Object.prototype.toString; - var PROMISE_OBJECT_TO_STRING = '[object Promise]'; - - Object.prototype.toString = function () { - if (typeof Promise === 'function' && this instanceof Promise) { - return PROMISE_OBJECT_TO_STRING; - } - - return originalObjectToString.call(this); - }; - }); - /** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - - var passiveSupported = false; - - if (typeof window !== 'undefined') { - try { - var options = Object.defineProperty({}, 'passive', { - get: function get() { - passiveSupported = true; - } - }); - window.addEventListener('test', options, options); - window.removeEventListener('test', options, options); - } catch (err) { - passiveSupported = false; - } - } // an identifier to tell ZoneTask do not create a new invoke closure - - - var OPTIMIZED_ZONE_EVENT_TASK_DATA = { - useG: true - }; - var zoneSymbolEventNames$1 = {}; - var globalSources = {}; - var EVENT_NAME_SYMBOL_REGX = new RegExp('^' + ZONE_SYMBOL_PREFIX + '(\\w+)(true|false)$'); - var IMMEDIATE_PROPAGATION_SYMBOL = zoneSymbol('propagationStopped'); - - function prepareEventNames(eventName, eventNameToString) { - var falseEventName = (eventNameToString ? eventNameToString(eventName) : eventName) + FALSE_STR; - var trueEventName = (eventNameToString ? eventNameToString(eventName) : eventName) + TRUE_STR; - var symbol = ZONE_SYMBOL_PREFIX + falseEventName; - var symbolCapture = ZONE_SYMBOL_PREFIX + trueEventName; - zoneSymbolEventNames$1[eventName] = {}; - zoneSymbolEventNames$1[eventName][FALSE_STR] = symbol; - zoneSymbolEventNames$1[eventName][TRUE_STR] = symbolCapture; - } - - function patchEventTarget(_global, apis, patchOptions) { - var ADD_EVENT_LISTENER = patchOptions && patchOptions.add || ADD_EVENT_LISTENER_STR; - var REMOVE_EVENT_LISTENER = patchOptions && patchOptions.rm || REMOVE_EVENT_LISTENER_STR; - var LISTENERS_EVENT_LISTENER = patchOptions && patchOptions.listeners || 'eventListeners'; - var REMOVE_ALL_LISTENERS_EVENT_LISTENER = patchOptions && patchOptions.rmAll || 'removeAllListeners'; - var zoneSymbolAddEventListener = zoneSymbol(ADD_EVENT_LISTENER); - var ADD_EVENT_LISTENER_SOURCE = '.' + ADD_EVENT_LISTENER + ':'; - var PREPEND_EVENT_LISTENER = 'prependListener'; - var PREPEND_EVENT_LISTENER_SOURCE = '.' + PREPEND_EVENT_LISTENER + ':'; - - var invokeTask = function invokeTask(task, target, event) { - // for better performance, check isRemoved which is set - // by removeEventListener - if (task.isRemoved) { - return; - } - - var delegate = task.callback; - - if (typeof delegate === 'object' && delegate.handleEvent) { - // create the bind version of handleEvent when invoke - task.callback = function (event) { - return delegate.handleEvent(event); - }; - - task.originalDelegate = delegate; - } // invoke static task.invoke - - - task.invoke(task, target, [event]); - var options = task.options; - - if (options && typeof options === 'object' && options.once) { - // if options.once is true, after invoke once remove listener here - // only browser need to do this, nodejs eventEmitter will cal removeListener - // inside EventEmitter.once - var delegate_1 = task.originalDelegate ? task.originalDelegate : task.callback; - target[REMOVE_EVENT_LISTENER].call(target, event.type, delegate_1, options); - } - }; // global shared zoneAwareCallback to handle all event callback with capture = false - - - var globalZoneAwareCallback = function globalZoneAwareCallback(event) { - // https://github.com/angular/zone.js/issues/911, in IE, sometimes - // event will be undefined, so we need to use window.event - event = event || _global.event; - - if (!event) { - return; - } // event.target is needed for Samsung TV and SourceBuffer - // || global is needed https://github.com/angular/zone.js/issues/190 - - - var target = this || event.target || _global; - var tasks = target[zoneSymbolEventNames$1[event.type][FALSE_STR]]; - - if (tasks) { - // invoke all tasks which attached to current target with given event.type and capture = false - // for performance concern, if task.length === 1, just invoke - if (tasks.length === 1) { - invokeTask(tasks[0], target, event); - } else { - // https://github.com/angular/zone.js/issues/836 - // copy the tasks array before invoke, to avoid - // the callback will remove itself or other listener - var copyTasks = tasks.slice(); - - for (var i = 0; i < copyTasks.length; i++) { - if (event && event[IMMEDIATE_PROPAGATION_SYMBOL] === true) { - break; - } - - invokeTask(copyTasks[i], target, event); - } - } - } - }; // global shared zoneAwareCallback to handle all event callback with capture = true - - - var globalZoneAwareCaptureCallback = function globalZoneAwareCaptureCallback(event) { - // https://github.com/angular/zone.js/issues/911, in IE, sometimes - // event will be undefined, so we need to use window.event - event = event || _global.event; - - if (!event) { - return; - } // event.target is needed for Samsung TV and SourceBuffer - // || global is needed https://github.com/angular/zone.js/issues/190 - - - var target = this || event.target || _global; - var tasks = target[zoneSymbolEventNames$1[event.type][TRUE_STR]]; - - if (tasks) { - // invoke all tasks which attached to current target with given event.type and capture = false - // for performance concern, if task.length === 1, just invoke - if (tasks.length === 1) { - invokeTask(tasks[0], target, event); - } else { - // https://github.com/angular/zone.js/issues/836 - // copy the tasks array before invoke, to avoid - // the callback will remove itself or other listener - var copyTasks = tasks.slice(); - - for (var i = 0; i < copyTasks.length; i++) { - if (event && event[IMMEDIATE_PROPAGATION_SYMBOL] === true) { - break; - } - - invokeTask(copyTasks[i], target, event); - } - } - } - }; - - function patchEventTargetMethods(obj, patchOptions) { - if (!obj) { - return false; - } - - var useGlobalCallback = true; - - if (patchOptions && patchOptions.useG !== undefined) { - useGlobalCallback = patchOptions.useG; - } - - var validateHandler = patchOptions && patchOptions.vh; - var checkDuplicate = true; - - if (patchOptions && patchOptions.chkDup !== undefined) { - checkDuplicate = patchOptions.chkDup; - } - - var returnTarget = false; - - if (patchOptions && patchOptions.rt !== undefined) { - returnTarget = patchOptions.rt; - } - - var proto = obj; - - while (proto && !proto.hasOwnProperty(ADD_EVENT_LISTENER)) { - proto = ObjectGetPrototypeOf(proto); - } - - if (!proto && obj[ADD_EVENT_LISTENER]) { - // somehow we did not find it, but we can see it. This happens on IE for Window properties. - proto = obj; - } - - if (!proto) { - return false; - } - - if (proto[zoneSymbolAddEventListener]) { - return false; - } - - var eventNameToString = patchOptions && patchOptions.eventNameToString; // a shared global taskData to pass data for scheduleEventTask - // so we do not need to create a new object just for pass some data - - var taskData = {}; - var nativeAddEventListener = proto[zoneSymbolAddEventListener] = proto[ADD_EVENT_LISTENER]; - var nativeRemoveEventListener = proto[zoneSymbol(REMOVE_EVENT_LISTENER)] = proto[REMOVE_EVENT_LISTENER]; - var nativeListeners = proto[zoneSymbol(LISTENERS_EVENT_LISTENER)] = proto[LISTENERS_EVENT_LISTENER]; - var nativeRemoveAllListeners = proto[zoneSymbol(REMOVE_ALL_LISTENERS_EVENT_LISTENER)] = proto[REMOVE_ALL_LISTENERS_EVENT_LISTENER]; - var nativePrependEventListener; - - if (patchOptions && patchOptions.prepend) { - nativePrependEventListener = proto[zoneSymbol(patchOptions.prepend)] = proto[patchOptions.prepend]; - } - /** - * This util function will build an option object with passive option - * to handle all possible input from the user. - */ - - - function buildEventListenerOptions(options, passive) { - if (!passiveSupported && typeof options === 'object' && options) { - // doesn't support passive but user want to pass an object as options. - // this will not work on some old browser, so we just pass a boolean - // as useCapture parameter - return !!options.capture; - } - - if (!passiveSupported || !passive) { - return options; - } - - if (typeof options === 'boolean') { - return { - capture: options, - passive: true - }; - } - - if (!options) { - return { - passive: true - }; - } - - if (typeof options === 'object' && options.passive !== false) { - return Object.assign(Object.assign({}, options), { - passive: true - }); - } - - return options; - } - - var customScheduleGlobal = function customScheduleGlobal(task) { - // if there is already a task for the eventName + capture, - // just return, because we use the shared globalZoneAwareCallback here. - if (taskData.isExisting) { - return; - } - - return nativeAddEventListener.call(taskData.target, taskData.eventName, taskData.capture ? globalZoneAwareCaptureCallback : globalZoneAwareCallback, taskData.options); - }; - - var customCancelGlobal = function customCancelGlobal(task) { - // if task is not marked as isRemoved, this call is directly - // from Zone.prototype.cancelTask, we should remove the task - // from tasksList of target first - if (!task.isRemoved) { - var symbolEventNames = zoneSymbolEventNames$1[task.eventName]; - var symbolEventName = void 0; - - if (symbolEventNames) { - symbolEventName = symbolEventNames[task.capture ? TRUE_STR : FALSE_STR]; - } - - var existingTasks = symbolEventName && task.target[symbolEventName]; - - if (existingTasks) { - for (var i = 0; i < existingTasks.length; i++) { - var existingTask = existingTasks[i]; - - if (existingTask === task) { - existingTasks.splice(i, 1); // set isRemoved to data for faster invokeTask check - - task.isRemoved = true; - - if (existingTasks.length === 0) { - // all tasks for the eventName + capture have gone, - // remove globalZoneAwareCallback and remove the task cache from target - task.allRemoved = true; - task.target[symbolEventName] = null; - } - - break; - } - } - } - } // if all tasks for the eventName + capture have gone, - // we will really remove the global event callback, - // if not, return - - - if (!task.allRemoved) { - return; - } - - return nativeRemoveEventListener.call(task.target, task.eventName, task.capture ? globalZoneAwareCaptureCallback : globalZoneAwareCallback, task.options); - }; - - var customScheduleNonGlobal = function customScheduleNonGlobal(task) { - return nativeAddEventListener.call(taskData.target, taskData.eventName, task.invoke, taskData.options); - }; - - var customSchedulePrepend = function customSchedulePrepend(task) { - return nativePrependEventListener.call(taskData.target, taskData.eventName, task.invoke, taskData.options); - }; - - var customCancelNonGlobal = function customCancelNonGlobal(task) { - return nativeRemoveEventListener.call(task.target, task.eventName, task.invoke, task.options); - }; - - var customSchedule = useGlobalCallback ? customScheduleGlobal : customScheduleNonGlobal; - var customCancel = useGlobalCallback ? customCancelGlobal : customCancelNonGlobal; - - var compareTaskCallbackVsDelegate = function compareTaskCallbackVsDelegate(task, delegate) { - var typeOfDelegate = typeof delegate; - return typeOfDelegate === 'function' && task.callback === delegate || typeOfDelegate === 'object' && task.originalDelegate === delegate; - }; - - var compare = patchOptions && patchOptions.diff ? patchOptions.diff : compareTaskCallbackVsDelegate; - var unpatchedEvents = Zone[zoneSymbol('UNPATCHED_EVENTS')]; - - var passiveEvents = _global[zoneSymbol('PASSIVE_EVENTS')]; - - var makeAddListener = function makeAddListener(nativeListener, addSource, customScheduleFn, customCancelFn, returnTarget, prepend) { - if (returnTarget === void 0) { - returnTarget = false; - } - - if (prepend === void 0) { - prepend = false; - } - - return function () { - var target = this || _global; - var eventName = arguments[0]; - - if (patchOptions && patchOptions.transferEventName) { - eventName = patchOptions.transferEventName(eventName); - } - - var delegate = arguments[1]; - - if (!delegate) { - return nativeListener.apply(this, arguments); - } - - if (isNode && eventName === 'uncaughtException') { - // don't patch uncaughtException of nodejs to prevent endless loop - return nativeListener.apply(this, arguments); - } // don't create the bind delegate function for handleEvent - // case here to improve addEventListener performance - // we will create the bind delegate when invoke - - - var isHandleEvent = false; - - if (typeof delegate !== 'function') { - if (!delegate.handleEvent) { - return nativeListener.apply(this, arguments); - } - - isHandleEvent = true; - } - - if (validateHandler && !validateHandler(nativeListener, delegate, target, arguments)) { - return; - } - - var passive = passiveSupported && !!passiveEvents && passiveEvents.indexOf(eventName) !== -1; - var options = buildEventListenerOptions(arguments[2], passive); - - if (unpatchedEvents) { - // check upatched list - for (var i = 0; i < unpatchedEvents.length; i++) { - if (eventName === unpatchedEvents[i]) { - if (passive) { - return nativeListener.call(target, eventName, delegate, options); - } else { - return nativeListener.apply(this, arguments); - } - } - } - } - - var capture = !options ? false : typeof options === 'boolean' ? true : options.capture; - var once = options && typeof options === 'object' ? options.once : false; - var zone = Zone.current; - var symbolEventNames = zoneSymbolEventNames$1[eventName]; - - if (!symbolEventNames) { - prepareEventNames(eventName, eventNameToString); - symbolEventNames = zoneSymbolEventNames$1[eventName]; - } - - var symbolEventName = symbolEventNames[capture ? TRUE_STR : FALSE_STR]; - var existingTasks = target[symbolEventName]; - var isExisting = false; - - if (existingTasks) { - // already have task registered - isExisting = true; - - if (checkDuplicate) { - for (var i = 0; i < existingTasks.length; i++) { - if (compare(existingTasks[i], delegate)) { - // same callback, same capture, same event name, just return - return; - } - } - } - } else { - existingTasks = target[symbolEventName] = []; - } - - var source; - var constructorName = target.constructor['name']; - var targetSource = globalSources[constructorName]; - - if (targetSource) { - source = targetSource[eventName]; - } - - if (!source) { - source = constructorName + addSource + (eventNameToString ? eventNameToString(eventName) : eventName); - } // do not create a new object as task.data to pass those things - // just use the global shared one - - - taskData.options = options; - - if (once) { - // if addEventListener with once options, we don't pass it to - // native addEventListener, instead we keep the once setting - // and handle ourselves. - taskData.options.once = false; - } - - taskData.target = target; - taskData.capture = capture; - taskData.eventName = eventName; - taskData.isExisting = isExisting; - var data = useGlobalCallback ? OPTIMIZED_ZONE_EVENT_TASK_DATA : undefined; // keep taskData into data to allow onScheduleEventTask to access the task information - - if (data) { - data.taskData = taskData; - } - - var task = zone.scheduleEventTask(source, delegate, data, customScheduleFn, customCancelFn); // should clear taskData.target to avoid memory leak - // issue, https://github.com/angular/angular/issues/20442 - - taskData.target = null; // need to clear up taskData because it is a global object - - if (data) { - data.taskData = null; - } // have to save those information to task in case - // application may call task.zone.cancelTask() directly - - - if (once) { - options.once = true; - } - - if (!(!passiveSupported && typeof task.options === 'boolean')) { - // if not support passive, and we pass an option object - // to addEventListener, we should save the options to task - task.options = options; - } - - task.target = target; - task.capture = capture; - task.eventName = eventName; - - if (isHandleEvent) { - // save original delegate for compare to check duplicate - task.originalDelegate = delegate; - } - - if (!prepend) { - existingTasks.push(task); - } else { - existingTasks.unshift(task); - } - - if (returnTarget) { - return target; - } - }; - }; - - proto[ADD_EVENT_LISTENER] = makeAddListener(nativeAddEventListener, ADD_EVENT_LISTENER_SOURCE, customSchedule, customCancel, returnTarget); - - if (nativePrependEventListener) { - proto[PREPEND_EVENT_LISTENER] = makeAddListener(nativePrependEventListener, PREPEND_EVENT_LISTENER_SOURCE, customSchedulePrepend, customCancel, returnTarget, true); - } - - proto[REMOVE_EVENT_LISTENER] = function () { - var target = this || _global; - var eventName = arguments[0]; - - if (patchOptions && patchOptions.transferEventName) { - eventName = patchOptions.transferEventName(eventName); - } - - var options = arguments[2]; - var capture = !options ? false : typeof options === 'boolean' ? true : options.capture; - var delegate = arguments[1]; - - if (!delegate) { - return nativeRemoveEventListener.apply(this, arguments); - } - - if (validateHandler && !validateHandler(nativeRemoveEventListener, delegate, target, arguments)) { - return; - } - - var symbolEventNames = zoneSymbolEventNames$1[eventName]; - var symbolEventName; - - if (symbolEventNames) { - symbolEventName = symbolEventNames[capture ? TRUE_STR : FALSE_STR]; - } - - var existingTasks = symbolEventName && target[symbolEventName]; - - if (existingTasks) { - for (var i = 0; i < existingTasks.length; i++) { - var existingTask = existingTasks[i]; - - if (compare(existingTask, delegate)) { - existingTasks.splice(i, 1); // set isRemoved to data for faster invokeTask check - - existingTask.isRemoved = true; - - if (existingTasks.length === 0) { - // all tasks for the eventName + capture have gone, - // remove globalZoneAwareCallback and remove the task cache from target - existingTask.allRemoved = true; - target[symbolEventName] = null; // in the target, we have an event listener which is added by on_property - // such as target.onclick = function() {}, so we need to clear this internal - // property too if all delegates all removed - - if (typeof eventName === 'string') { - var onPropertySymbol = ZONE_SYMBOL_PREFIX + 'ON_PROPERTY' + eventName; - target[onPropertySymbol] = null; - } - } - - existingTask.zone.cancelTask(existingTask); - - if (returnTarget) { - return target; - } - - return; - } - } - } // issue 930, didn't find the event name or callback - // from zone kept existingTasks, the callback maybe - // added outside of zone, we need to call native removeEventListener - // to try to remove it. - - - return nativeRemoveEventListener.apply(this, arguments); - }; - - proto[LISTENERS_EVENT_LISTENER] = function () { - var target = this || _global; - var eventName = arguments[0]; - - if (patchOptions && patchOptions.transferEventName) { - eventName = patchOptions.transferEventName(eventName); - } - - var listeners = []; - var tasks = findEventTasks(target, eventNameToString ? eventNameToString(eventName) : eventName); - - for (var i = 0; i < tasks.length; i++) { - var task = tasks[i]; - var delegate = task.originalDelegate ? task.originalDelegate : task.callback; - listeners.push(delegate); - } - - return listeners; - }; - - proto[REMOVE_ALL_LISTENERS_EVENT_LISTENER] = function () { - var target = this || _global; - var eventName = arguments[0]; - - if (!eventName) { - var keys = Object.keys(target); - - for (var i = 0; i < keys.length; i++) { - var prop = keys[i]; - var match = EVENT_NAME_SYMBOL_REGX.exec(prop); - var evtName = match && match[1]; // in nodejs EventEmitter, removeListener event is - // used for monitoring the removeListener call, - // so just keep removeListener eventListener until - // all other eventListeners are removed - - if (evtName && evtName !== 'removeListener') { - this[REMOVE_ALL_LISTENERS_EVENT_LISTENER].call(this, evtName); - } - } // remove removeListener listener finally - - - this[REMOVE_ALL_LISTENERS_EVENT_LISTENER].call(this, 'removeListener'); - } else { - if (patchOptions && patchOptions.transferEventName) { - eventName = patchOptions.transferEventName(eventName); - } - - var symbolEventNames = zoneSymbolEventNames$1[eventName]; - - if (symbolEventNames) { - var symbolEventName = symbolEventNames[FALSE_STR]; - var symbolCaptureEventName = symbolEventNames[TRUE_STR]; - var tasks = target[symbolEventName]; - var captureTasks = target[symbolCaptureEventName]; - - if (tasks) { - var removeTasks = tasks.slice(); - - for (var i = 0; i < removeTasks.length; i++) { - var task = removeTasks[i]; - var delegate = task.originalDelegate ? task.originalDelegate : task.callback; - this[REMOVE_EVENT_LISTENER].call(this, eventName, delegate, task.options); - } - } - - if (captureTasks) { - var removeTasks = captureTasks.slice(); - - for (var i = 0; i < removeTasks.length; i++) { - var task = removeTasks[i]; - var delegate = task.originalDelegate ? task.originalDelegate : task.callback; - this[REMOVE_EVENT_LISTENER].call(this, eventName, delegate, task.options); - } - } - } - } - - if (returnTarget) { - return this; - } - }; // for native toString patch - - - attachOriginToPatched(proto[ADD_EVENT_LISTENER], nativeAddEventListener); - attachOriginToPatched(proto[REMOVE_EVENT_LISTENER], nativeRemoveEventListener); - - if (nativeRemoveAllListeners) { - attachOriginToPatched(proto[REMOVE_ALL_LISTENERS_EVENT_LISTENER], nativeRemoveAllListeners); - } - - if (nativeListeners) { - attachOriginToPatched(proto[LISTENERS_EVENT_LISTENER], nativeListeners); - } - - return true; - } - - var results = []; - - for (var i = 0; i < apis.length; i++) { - results[i] = patchEventTargetMethods(apis[i], patchOptions); - } - - return results; - } - - function findEventTasks(target, eventName) { - if (!eventName) { - var foundTasks = []; - - for (var prop in target) { - var match = EVENT_NAME_SYMBOL_REGX.exec(prop); - var evtName = match && match[1]; - - if (evtName && (!eventName || evtName === eventName)) { - var tasks = target[prop]; - - if (tasks) { - for (var i = 0; i < tasks.length; i++) { - foundTasks.push(tasks[i]); - } - } - } - } - - return foundTasks; - } - - var symbolEventName = zoneSymbolEventNames$1[eventName]; - - if (!symbolEventName) { - prepareEventNames(eventName); - symbolEventName = zoneSymbolEventNames$1[eventName]; - } - - var captureFalseTasks = target[symbolEventName[FALSE_STR]]; - var captureTrueTasks = target[symbolEventName[TRUE_STR]]; - - if (!captureFalseTasks) { - return captureTrueTasks ? captureTrueTasks.slice() : []; - } else { - return captureTrueTasks ? captureFalseTasks.concat(captureTrueTasks) : captureFalseTasks.slice(); - } - } - - function patchEventPrototype(global, api) { - var Event = global['Event']; - - if (Event && Event.prototype) { - api.patchMethod(Event.prototype, 'stopImmediatePropagation', function (delegate) { - return function (self, args) { - self[IMMEDIATE_PROPAGATION_SYMBOL] = true; // we need to call the native stopImmediatePropagation - // in case in some hybrid application, some part of - // application will be controlled by zone, some are not - - delegate && delegate.apply(self, args); - }; - }); - } - } - /** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - - function patchCallbacks(api, target, targetName, method, callbacks) { - var symbol = Zone.__symbol__(method); - - if (target[symbol]) { - return; - } - - var nativeDelegate = target[symbol] = target[method]; - - target[method] = function (name, opts, options) { - if (opts && opts.prototype) { - callbacks.forEach(function (callback) { - var source = targetName + "." + method + "::" + callback; - var prototype = opts.prototype; - - if (prototype.hasOwnProperty(callback)) { - var descriptor = api.ObjectGetOwnPropertyDescriptor(prototype, callback); - - if (descriptor && descriptor.value) { - descriptor.value = api.wrapWithCurrentZone(descriptor.value, source); - - api._redefineProperty(opts.prototype, callback, descriptor); - } else if (prototype[callback]) { - prototype[callback] = api.wrapWithCurrentZone(prototype[callback], source); - } - } else if (prototype[callback]) { - prototype[callback] = api.wrapWithCurrentZone(prototype[callback], source); - } - }); - } - - return nativeDelegate.call(target, name, opts, options); - }; - - api.attachOriginToPatched(target[method], nativeDelegate); - } - /** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - - var globalEventHandlersEventNames = ['abort', 'animationcancel', 'animationend', 'animationiteration', 'auxclick', 'beforeinput', 'blur', 'cancel', 'canplay', 'canplaythrough', 'change', 'compositionstart', 'compositionupdate', 'compositionend', 'cuechange', 'click', 'close', 'contextmenu', 'curechange', 'dblclick', 'drag', 'dragend', 'dragenter', 'dragexit', 'dragleave', 'dragover', 'drop', 'durationchange', 'emptied', 'ended', 'error', 'focus', 'focusin', 'focusout', 'gotpointercapture', 'input', 'invalid', 'keydown', 'keypress', 'keyup', 'load', 'loadstart', 'loadeddata', 'loadedmetadata', 'lostpointercapture', 'mousedown', 'mouseenter', 'mouseleave', 'mousemove', 'mouseout', 'mouseover', 'mouseup', 'mousewheel', 'orientationchange', 'pause', 'play', 'playing', 'pointercancel', 'pointerdown', 'pointerenter', 'pointerleave', 'pointerlockchange', 'mozpointerlockchange', 'webkitpointerlockerchange', 'pointerlockerror', 'mozpointerlockerror', 'webkitpointerlockerror', 'pointermove', 'pointout', 'pointerover', 'pointerup', 'progress', 'ratechange', 'reset', 'resize', 'scroll', 'seeked', 'seeking', 'select', 'selectionchange', 'selectstart', 'show', 'sort', 'stalled', 'submit', 'suspend', 'timeupdate', 'volumechange', 'touchcancel', 'touchmove', 'touchstart', 'touchend', 'transitioncancel', 'transitionend', 'waiting', 'wheel']; - var documentEventNames = ['afterscriptexecute', 'beforescriptexecute', 'DOMContentLoaded', 'freeze', 'fullscreenchange', 'mozfullscreenchange', 'webkitfullscreenchange', 'msfullscreenchange', 'fullscreenerror', 'mozfullscreenerror', 'webkitfullscreenerror', 'msfullscreenerror', 'readystatechange', 'visibilitychange', 'resume']; - var windowEventNames = ['absolutedeviceorientation', 'afterinput', 'afterprint', 'appinstalled', 'beforeinstallprompt', 'beforeprint', 'beforeunload', 'devicelight', 'devicemotion', 'deviceorientation', 'deviceorientationabsolute', 'deviceproximity', 'hashchange', 'languagechange', 'message', 'mozbeforepaint', 'offline', 'online', 'paint', 'pageshow', 'pagehide', 'popstate', 'rejectionhandled', 'storage', 'unhandledrejection', 'unload', 'userproximity', 'vrdisplayconnected', 'vrdisplaydisconnected', 'vrdisplaypresentchange']; - var htmlElementEventNames = ['beforecopy', 'beforecut', 'beforepaste', 'copy', 'cut', 'paste', 'dragstart', 'loadend', 'animationstart', 'search', 'transitionrun', 'transitionstart', 'webkitanimationend', 'webkitanimationiteration', 'webkitanimationstart', 'webkittransitionend']; - var mediaElementEventNames = ['encrypted', 'waitingforkey', 'msneedkey', 'mozinterruptbegin', 'mozinterruptend']; - var ieElementEventNames = ['activate', 'afterupdate', 'ariarequest', 'beforeactivate', 'beforedeactivate', 'beforeeditfocus', 'beforeupdate', 'cellchange', 'controlselect', 'dataavailable', 'datasetchanged', 'datasetcomplete', 'errorupdate', 'filterchange', 'layoutcomplete', 'losecapture', 'move', 'moveend', 'movestart', 'propertychange', 'resizeend', 'resizestart', 'rowenter', 'rowexit', 'rowsdelete', 'rowsinserted', 'command', 'compassneedscalibration', 'deactivate', 'help', 'mscontentzoom', 'msmanipulationstatechanged', 'msgesturechange', 'msgesturedoubletap', 'msgestureend', 'msgesturehold', 'msgesturestart', 'msgesturetap', 'msgotpointercapture', 'msinertiastart', 'mslostpointercapture', 'mspointercancel', 'mspointerdown', 'mspointerenter', 'mspointerhover', 'mspointerleave', 'mspointermove', 'mspointerout', 'mspointerover', 'mspointerup', 'pointerout', 'mssitemodejumplistitemremoved', 'msthumbnailclick', 'stop', 'storagecommit']; - var webglEventNames = ['webglcontextrestored', 'webglcontextlost', 'webglcontextcreationerror']; - var formEventNames = ['autocomplete', 'autocompleteerror']; - var detailEventNames = ['toggle']; - var frameEventNames = ['load']; - var frameSetEventNames = ['blur', 'error', 'focus', 'load', 'resize', 'scroll', 'messageerror']; - var marqueeEventNames = ['bounce', 'finish', 'start']; - var XMLHttpRequestEventNames = ['loadstart', 'progress', 'abort', 'error', 'load', 'progress', 'timeout', 'loadend', 'readystatechange']; - var IDBIndexEventNames = ['upgradeneeded', 'complete', 'abort', 'success', 'error', 'blocked', 'versionchange', 'close']; - var websocketEventNames = ['close', 'error', 'open', 'message']; - var workerEventNames = ['error', 'message']; - var eventNames = globalEventHandlersEventNames.concat(webglEventNames, formEventNames, detailEventNames, documentEventNames, windowEventNames, htmlElementEventNames, ieElementEventNames); - - function filterProperties(target, onProperties, ignoreProperties) { - if (!ignoreProperties || ignoreProperties.length === 0) { - return onProperties; - } - - var tip = ignoreProperties.filter(function (ip) { - return ip.target === target; - }); - - if (!tip || tip.length === 0) { - return onProperties; - } - - var targetIgnoreProperties = tip[0].ignoreProperties; - return onProperties.filter(function (op) { - return targetIgnoreProperties.indexOf(op) === -1; - }); - } - - function patchFilteredProperties(target, onProperties, ignoreProperties, prototype) { - // check whether target is available, sometimes target will be undefined - // because different browser or some 3rd party plugin. - if (!target) { - return; - } - - var filteredProperties = filterProperties(target, onProperties, ignoreProperties); - patchOnProperties(target, filteredProperties, prototype); - } - - function propertyDescriptorPatch(api, _global) { - if (isNode && !isMix) { - return; - } - - if (Zone[api.symbol('patchEvents')]) { - // events are already been patched by legacy patch. - return; - } - - var supportsWebSocket = typeof WebSocket !== 'undefined'; - var ignoreProperties = _global['__Zone_ignore_on_properties']; // for browsers that we can patch the descriptor: Chrome & Firefox - - if (isBrowser) { - var internalWindow_1 = window; - var ignoreErrorProperties = isIE() ? [{ - target: internalWindow_1, - ignoreProperties: ['error'] - }] : []; // in IE/Edge, onProp not exist in window object, but in WindowPrototype - // so we need to pass WindowPrototype to check onProp exist or not - - patchFilteredProperties(internalWindow_1, eventNames.concat(['messageerror']), ignoreProperties ? ignoreProperties.concat(ignoreErrorProperties) : ignoreProperties, ObjectGetPrototypeOf(internalWindow_1)); - patchFilteredProperties(Document.prototype, eventNames, ignoreProperties); - - if (typeof internalWindow_1['SVGElement'] !== 'undefined') { - patchFilteredProperties(internalWindow_1['SVGElement'].prototype, eventNames, ignoreProperties); - } - - patchFilteredProperties(Element.prototype, eventNames, ignoreProperties); - patchFilteredProperties(HTMLElement.prototype, eventNames, ignoreProperties); - patchFilteredProperties(HTMLMediaElement.prototype, mediaElementEventNames, ignoreProperties); - patchFilteredProperties(HTMLFrameSetElement.prototype, windowEventNames.concat(frameSetEventNames), ignoreProperties); - patchFilteredProperties(HTMLBodyElement.prototype, windowEventNames.concat(frameSetEventNames), ignoreProperties); - patchFilteredProperties(HTMLFrameElement.prototype, frameEventNames, ignoreProperties); - patchFilteredProperties(HTMLIFrameElement.prototype, frameEventNames, ignoreProperties); - var HTMLMarqueeElement_1 = internalWindow_1['HTMLMarqueeElement']; - - if (HTMLMarqueeElement_1) { - patchFilteredProperties(HTMLMarqueeElement_1.prototype, marqueeEventNames, ignoreProperties); - } - - var Worker_1 = internalWindow_1['Worker']; - - if (Worker_1) { - patchFilteredProperties(Worker_1.prototype, workerEventNames, ignoreProperties); - } - } - - var XMLHttpRequest = _global['XMLHttpRequest']; - - if (XMLHttpRequest) { - // XMLHttpRequest is not available in ServiceWorker, so we need to check here - patchFilteredProperties(XMLHttpRequest.prototype, XMLHttpRequestEventNames, ignoreProperties); - } - - var XMLHttpRequestEventTarget = _global['XMLHttpRequestEventTarget']; - - if (XMLHttpRequestEventTarget) { - patchFilteredProperties(XMLHttpRequestEventTarget && XMLHttpRequestEventTarget.prototype, XMLHttpRequestEventNames, ignoreProperties); - } - - if (typeof IDBIndex !== 'undefined') { - patchFilteredProperties(IDBIndex.prototype, IDBIndexEventNames, ignoreProperties); - patchFilteredProperties(IDBRequest.prototype, IDBIndexEventNames, ignoreProperties); - patchFilteredProperties(IDBOpenDBRequest.prototype, IDBIndexEventNames, ignoreProperties); - patchFilteredProperties(IDBDatabase.prototype, IDBIndexEventNames, ignoreProperties); - patchFilteredProperties(IDBTransaction.prototype, IDBIndexEventNames, ignoreProperties); - patchFilteredProperties(IDBCursor.prototype, IDBIndexEventNames, ignoreProperties); - } - - if (supportsWebSocket) { - patchFilteredProperties(WebSocket.prototype, websocketEventNames, ignoreProperties); - } - } - /** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - - Zone.__load_patch('util', function (global, Zone, api) { - api.patchOnProperties = patchOnProperties; - api.patchMethod = patchMethod; - api.bindArguments = bindArguments; - api.patchMacroTask = patchMacroTask; // In earlier version of zone.js (<0.9.0), we use env name `__zone_symbol__BLACK_LISTED_EVENTS` to - // define which events will not be patched by `Zone.js`. - // In newer version (>=0.9.0), we change the env name to `__zone_symbol__UNPATCHED_EVENTS` to keep - // the name consistent with angular repo. - // The `__zone_symbol__BLACK_LISTED_EVENTS` is deprecated, but it is still be supported for - // backwards compatibility. - - var SYMBOL_BLACK_LISTED_EVENTS = Zone.__symbol__('BLACK_LISTED_EVENTS'); - - var SYMBOL_UNPATCHED_EVENTS = Zone.__symbol__('UNPATCHED_EVENTS'); - - if (global[SYMBOL_UNPATCHED_EVENTS]) { - global[SYMBOL_BLACK_LISTED_EVENTS] = global[SYMBOL_UNPATCHED_EVENTS]; - } - - if (global[SYMBOL_BLACK_LISTED_EVENTS]) { - Zone[SYMBOL_BLACK_LISTED_EVENTS] = Zone[SYMBOL_UNPATCHED_EVENTS] = global[SYMBOL_BLACK_LISTED_EVENTS]; - } - - api.patchEventPrototype = patchEventPrototype; - api.patchEventTarget = patchEventTarget; - api.isIEOrEdge = isIEOrEdge; - api.ObjectDefineProperty = ObjectDefineProperty; - api.ObjectGetOwnPropertyDescriptor = ObjectGetOwnPropertyDescriptor; - api.ObjectCreate = ObjectCreate; - api.ArraySlice = ArraySlice; - api.patchClass = patchClass; - api.wrapWithCurrentZone = wrapWithCurrentZone; - api.filterProperties = filterProperties; - api.attachOriginToPatched = attachOriginToPatched; - api._redefineProperty = Object.defineProperty; - api.patchCallbacks = patchCallbacks; - - api.getGlobalObjects = function () { - return { - globalSources: globalSources, - zoneSymbolEventNames: zoneSymbolEventNames$1, - eventNames: eventNames, - isBrowser: isBrowser, - isMix: isMix, - isNode: isNode, - TRUE_STR: TRUE_STR, - FALSE_STR: FALSE_STR, - ZONE_SYMBOL_PREFIX: ZONE_SYMBOL_PREFIX, - ADD_EVENT_LISTENER_STR: ADD_EVENT_LISTENER_STR, - REMOVE_EVENT_LISTENER_STR: REMOVE_EVENT_LISTENER_STR - }; - }; - }); - /** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - /* - * This is necessary for Chrome and Chrome mobile, to enable - * things like redefining `createdCallback` on an element. - */ - - - var zoneSymbol$1; - - var _defineProperty; - - var _getOwnPropertyDescriptor; - - var _create; - - var unconfigurablesKey; - - function propertyPatch() { - zoneSymbol$1 = Zone.__symbol__; - _defineProperty = Object[zoneSymbol$1('defineProperty')] = Object.defineProperty; - _getOwnPropertyDescriptor = Object[zoneSymbol$1('getOwnPropertyDescriptor')] = Object.getOwnPropertyDescriptor; - _create = Object.create; - unconfigurablesKey = zoneSymbol$1('unconfigurables'); - - Object.defineProperty = function (obj, prop, desc) { - if (isUnconfigurable(obj, prop)) { - throw new TypeError('Cannot assign to read only property \'' + prop + '\' of ' + obj); - } - - var originalConfigurableFlag = desc.configurable; - - if (prop !== 'prototype') { - desc = rewriteDescriptor(obj, prop, desc); - } - - return _tryDefineProperty(obj, prop, desc, originalConfigurableFlag); - }; - - Object.defineProperties = function (obj, props) { - Object.keys(props).forEach(function (prop) { - Object.defineProperty(obj, prop, props[prop]); - }); - return obj; - }; - - Object.create = function (obj, proto) { - if (typeof proto === 'object' && !Object.isFrozen(proto)) { - Object.keys(proto).forEach(function (prop) { - proto[prop] = rewriteDescriptor(obj, prop, proto[prop]); - }); - } - - return _create(obj, proto); - }; - - Object.getOwnPropertyDescriptor = function (obj, prop) { - var desc = _getOwnPropertyDescriptor(obj, prop); - - if (desc && isUnconfigurable(obj, prop)) { - desc.configurable = false; - } - - return desc; - }; - } - - function _redefineProperty(obj, prop, desc) { - var originalConfigurableFlag = desc.configurable; - desc = rewriteDescriptor(obj, prop, desc); - return _tryDefineProperty(obj, prop, desc, originalConfigurableFlag); - } - - function isUnconfigurable(obj, prop) { - return obj && obj[unconfigurablesKey] && obj[unconfigurablesKey][prop]; - } - - function rewriteDescriptor(obj, prop, desc) { - // issue-927, if the desc is frozen, don't try to change the desc - if (!Object.isFrozen(desc)) { - desc.configurable = true; - } - - if (!desc.configurable) { - // issue-927, if the obj is frozen, don't try to set the desc to obj - if (!obj[unconfigurablesKey] && !Object.isFrozen(obj)) { - _defineProperty(obj, unconfigurablesKey, { - writable: true, - value: {} - }); - } - - if (obj[unconfigurablesKey]) { - obj[unconfigurablesKey][prop] = true; - } - } - - return desc; - } - - function _tryDefineProperty(obj, prop, desc, originalConfigurableFlag) { - try { - return _defineProperty(obj, prop, desc); - } catch (error) { - if (desc.configurable) { - // In case of errors, when the configurable flag was likely set by rewriteDescriptor(), let's - // retry with the original flag value - if (typeof originalConfigurableFlag == 'undefined') { - delete desc.configurable; - } else { - desc.configurable = originalConfigurableFlag; - } - - try { - return _defineProperty(obj, prop, desc); - } catch (error) { - var swallowError = false; - - if (prop === 'createdCallback' || prop === 'attachedCallback' || prop === 'detachedCallback' || prop === 'attributeChangedCallback') { - // We only swallow the error in registerElement patch - // this is the work around since some applications - // fail if we throw the error - swallowError = true; - } - - if (!swallowError) { - throw error; - } // TODO: @JiaLiPassion, Some application such as `registerElement` patch - // still need to swallow the error, in the future after these applications - // are updated, the following logic can be removed. - - - var descJson = null; - - try { - descJson = JSON.stringify(desc); - } catch (error) { - descJson = desc.toString(); - } - - console.log("Attempting to configure '" + prop + "' with descriptor '" + descJson + "' on object '" + obj + "' and got error, giving up: " + error); - } - } else { - throw error; - } - } - } - /** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - - function eventTargetLegacyPatch(_global, api) { - var _a = api.getGlobalObjects(), - eventNames = _a.eventNames, - globalSources = _a.globalSources, - zoneSymbolEventNames = _a.zoneSymbolEventNames, - TRUE_STR = _a.TRUE_STR, - FALSE_STR = _a.FALSE_STR, - ZONE_SYMBOL_PREFIX = _a.ZONE_SYMBOL_PREFIX; - - var WTF_ISSUE_555 = 'Anchor,Area,Audio,BR,Base,BaseFont,Body,Button,Canvas,Content,DList,Directory,Div,Embed,FieldSet,Font,Form,Frame,FrameSet,HR,Head,Heading,Html,IFrame,Image,Input,Keygen,LI,Label,Legend,Link,Map,Marquee,Media,Menu,Meta,Meter,Mod,OList,Object,OptGroup,Option,Output,Paragraph,Pre,Progress,Quote,Script,Select,Source,Span,Style,TableCaption,TableCell,TableCol,Table,TableRow,TableSection,TextArea,Title,Track,UList,Unknown,Video'; - var NO_EVENT_TARGET = 'ApplicationCache,EventSource,FileReader,InputMethodContext,MediaController,MessagePort,Node,Performance,SVGElementInstance,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebKitNamedFlow,Window,Worker,WorkerGlobalScope,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload,IDBRequest,IDBOpenDBRequest,IDBDatabase,IDBTransaction,IDBCursor,DBIndex,WebSocket'.split(','); - var EVENT_TARGET = 'EventTarget'; - var apis = []; - var isWtf = _global['wtf']; - var WTF_ISSUE_555_ARRAY = WTF_ISSUE_555.split(','); - - if (isWtf) { - // Workaround for: https://github.com/google/tracing-framework/issues/555 - apis = WTF_ISSUE_555_ARRAY.map(function (v) { - return 'HTML' + v + 'Element'; - }).concat(NO_EVENT_TARGET); - } else if (_global[EVENT_TARGET]) { - apis.push(EVENT_TARGET); - } else { - // Note: EventTarget is not available in all browsers, - // if it's not available, we instead patch the APIs in the IDL that inherit from EventTarget - apis = NO_EVENT_TARGET; - } - - var isDisableIECheck = _global['__Zone_disable_IE_check'] || false; - var isEnableCrossContextCheck = _global['__Zone_enable_cross_context_check'] || false; - var ieOrEdge = api.isIEOrEdge(); - var ADD_EVENT_LISTENER_SOURCE = '.addEventListener:'; - var FUNCTION_WRAPPER = '[object FunctionWrapper]'; - var BROWSER_TOOLS = 'function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }'; - var pointerEventsMap = { - 'MSPointerCancel': 'pointercancel', - 'MSPointerDown': 'pointerdown', - 'MSPointerEnter': 'pointerenter', - 'MSPointerHover': 'pointerhover', - 'MSPointerLeave': 'pointerleave', - 'MSPointerMove': 'pointermove', - 'MSPointerOut': 'pointerout', - 'MSPointerOver': 'pointerover', - 'MSPointerUp': 'pointerup' - }; // predefine all __zone_symbol__ + eventName + true/false string - - for (var i = 0; i < eventNames.length; i++) { - var eventName = eventNames[i]; - var falseEventName = eventName + FALSE_STR; - var trueEventName = eventName + TRUE_STR; - var symbol = ZONE_SYMBOL_PREFIX + falseEventName; - var symbolCapture = ZONE_SYMBOL_PREFIX + trueEventName; - zoneSymbolEventNames[eventName] = {}; - zoneSymbolEventNames[eventName][FALSE_STR] = symbol; - zoneSymbolEventNames[eventName][TRUE_STR] = symbolCapture; - } // predefine all task.source string - - - for (var i = 0; i < WTF_ISSUE_555_ARRAY.length; i++) { - var target = WTF_ISSUE_555_ARRAY[i]; - var targets = globalSources[target] = {}; - - for (var j = 0; j < eventNames.length; j++) { - var eventName = eventNames[j]; - targets[eventName] = target + ADD_EVENT_LISTENER_SOURCE + eventName; - } - } - - var checkIEAndCrossContext = function checkIEAndCrossContext(nativeDelegate, delegate, target, args) { - if (!isDisableIECheck && ieOrEdge) { - if (isEnableCrossContextCheck) { - try { - var testString = delegate.toString(); - - if (testString === FUNCTION_WRAPPER || testString == BROWSER_TOOLS) { - nativeDelegate.apply(target, args); - return false; - } - } catch (error) { - nativeDelegate.apply(target, args); - return false; - } - } else { - var testString = delegate.toString(); - - if (testString === FUNCTION_WRAPPER || testString == BROWSER_TOOLS) { - nativeDelegate.apply(target, args); - return false; - } - } - } else if (isEnableCrossContextCheck) { - try { - delegate.toString(); - } catch (error) { - nativeDelegate.apply(target, args); - return false; - } - } - - return true; - }; - - var apiTypes = []; - - for (var i = 0; i < apis.length; i++) { - var type = _global[apis[i]]; - apiTypes.push(type && type.prototype); - } // vh is validateHandler to check event handler - // is valid or not(for security check) - - - api.patchEventTarget(_global, apiTypes, { - vh: checkIEAndCrossContext, - transferEventName: function transferEventName(eventName) { - var pointerEventName = pointerEventsMap[eventName]; - return pointerEventName || eventName; - } - }); - Zone[api.symbol('patchEventTarget')] = !!_global[EVENT_TARGET]; - return true; - } - /** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - // we have to patch the instance since the proto is non-configurable - - - function apply(api, _global) { - var _a = api.getGlobalObjects(), - ADD_EVENT_LISTENER_STR = _a.ADD_EVENT_LISTENER_STR, - REMOVE_EVENT_LISTENER_STR = _a.REMOVE_EVENT_LISTENER_STR; - - var WS = _global.WebSocket; // On Safari window.EventTarget doesn't exist so need to patch WS add/removeEventListener - // On older Chrome, no need since EventTarget was already patched - - if (!_global.EventTarget) { - api.patchEventTarget(_global, [WS.prototype]); - } - - _global.WebSocket = function (x, y) { - var socket = arguments.length > 1 ? new WS(x, y) : new WS(x); - var proxySocket; - var proxySocketProto; // Safari 7.0 has non-configurable own 'onmessage' and friends properties on the socket instance - - var onmessageDesc = api.ObjectGetOwnPropertyDescriptor(socket, 'onmessage'); - - if (onmessageDesc && onmessageDesc.configurable === false) { - proxySocket = api.ObjectCreate(socket); // socket have own property descriptor 'onopen', 'onmessage', 'onclose', 'onerror' - // but proxySocket not, so we will keep socket as prototype and pass it to - // patchOnProperties method - - proxySocketProto = socket; - [ADD_EVENT_LISTENER_STR, REMOVE_EVENT_LISTENER_STR, 'send', 'close'].forEach(function (propName) { - proxySocket[propName] = function () { - var args = api.ArraySlice.call(arguments); - - if (propName === ADD_EVENT_LISTENER_STR || propName === REMOVE_EVENT_LISTENER_STR) { - var eventName = args.length > 0 ? args[0] : undefined; - - if (eventName) { - var propertySymbol = Zone.__symbol__('ON_PROPERTY' + eventName); - - socket[propertySymbol] = proxySocket[propertySymbol]; - } - } - - return socket[propName].apply(socket, args); - }; - }); - } else { - // we can patch the real socket - proxySocket = socket; - } - - api.patchOnProperties(proxySocket, ['close', 'error', 'message', 'open'], proxySocketProto); - return proxySocket; - }; - - var globalWebSocket = _global['WebSocket']; - - for (var prop in WS) { - globalWebSocket[prop] = WS[prop]; - } - } - /** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - - function propertyDescriptorLegacyPatch(api, _global) { - var _a = api.getGlobalObjects(), - isNode = _a.isNode, - isMix = _a.isMix; - - if (isNode && !isMix) { - return; - } - - if (!canPatchViaPropertyDescriptor(api, _global)) { - var supportsWebSocket = typeof WebSocket !== 'undefined'; // Safari, Android browsers (Jelly Bean) - - patchViaCapturingAllTheEvents(api); - api.patchClass('XMLHttpRequest'); - - if (supportsWebSocket) { - apply(api, _global); - } - - Zone[api.symbol('patchEvents')] = true; - } - } - - function canPatchViaPropertyDescriptor(api, _global) { - var _a = api.getGlobalObjects(), - isBrowser = _a.isBrowser, - isMix = _a.isMix; - - if ((isBrowser || isMix) && !api.ObjectGetOwnPropertyDescriptor(HTMLElement.prototype, 'onclick') && typeof Element !== 'undefined') { - // WebKit https://bugs.webkit.org/show_bug.cgi?id=134364 - // IDL interface attributes are not configurable - var desc = api.ObjectGetOwnPropertyDescriptor(Element.prototype, 'onclick'); - if (desc && !desc.configurable) return false; // try to use onclick to detect whether we can patch via propertyDescriptor - // because XMLHttpRequest is not available in service worker - - if (desc) { - api.ObjectDefineProperty(Element.prototype, 'onclick', { - enumerable: true, - configurable: true, - get: function get() { - return true; - } - }); - var div = document.createElement('div'); - var result = !!div.onclick; - api.ObjectDefineProperty(Element.prototype, 'onclick', desc); - return result; - } - } - - var XMLHttpRequest = _global['XMLHttpRequest']; - - if (!XMLHttpRequest) { - // XMLHttpRequest is not available in service worker - return false; - } - - var ON_READY_STATE_CHANGE = 'onreadystatechange'; - var XMLHttpRequestPrototype = XMLHttpRequest.prototype; - var xhrDesc = api.ObjectGetOwnPropertyDescriptor(XMLHttpRequestPrototype, ON_READY_STATE_CHANGE); // add enumerable and configurable here because in opera - // by default XMLHttpRequest.prototype.onreadystatechange is undefined - // without adding enumerable and configurable will cause onreadystatechange - // non-configurable - // and if XMLHttpRequest.prototype.onreadystatechange is undefined, - // we should set a real desc instead a fake one - - if (xhrDesc) { - api.ObjectDefineProperty(XMLHttpRequestPrototype, ON_READY_STATE_CHANGE, { - enumerable: true, - configurable: true, - get: function get() { - return true; - } - }); - var req = new XMLHttpRequest(); - var result = !!req.onreadystatechange; // restore original desc - - api.ObjectDefineProperty(XMLHttpRequestPrototype, ON_READY_STATE_CHANGE, xhrDesc || {}); - return result; - } else { - var SYMBOL_FAKE_ONREADYSTATECHANGE_1 = api.symbol('fake'); - api.ObjectDefineProperty(XMLHttpRequestPrototype, ON_READY_STATE_CHANGE, { - enumerable: true, - configurable: true, - get: function get() { - return this[SYMBOL_FAKE_ONREADYSTATECHANGE_1]; - }, - set: function set(value) { - this[SYMBOL_FAKE_ONREADYSTATECHANGE_1] = value; - } - }); - var req = new XMLHttpRequest(); - - var detectFunc = function detectFunc() {}; - - req.onreadystatechange = detectFunc; - var result = req[SYMBOL_FAKE_ONREADYSTATECHANGE_1] === detectFunc; - req.onreadystatechange = null; - return result; - } - } // Whenever any eventListener fires, we check the eventListener target and all parents - // for `onwhatever` properties and replace them with zone-bound functions - // - Chrome (for now) - - - function patchViaCapturingAllTheEvents(api) { - var eventNames = api.getGlobalObjects().eventNames; - var unboundKey = api.symbol('unbound'); - - var _loop_4 = function _loop_4(i) { - var property = eventNames[i]; - var onproperty = 'on' + property; - self.addEventListener(property, function (event) { - var elt = event.target, - bound, - source; - - if (elt) { - source = elt.constructor['name'] + '.' + onproperty; - } else { - source = 'unknown.' + onproperty; - } - - while (elt) { - if (elt[onproperty] && !elt[onproperty][unboundKey]) { - bound = api.wrapWithCurrentZone(elt[onproperty], source); - bound[unboundKey] = elt[onproperty]; - elt[onproperty] = bound; - } - - elt = elt.parentElement; - } - }, true); - }; - - for (var i = 0; i < eventNames.length; i++) { - _loop_4(i); - } - } - /** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - - function registerElementPatch(_global, api) { - var _a = api.getGlobalObjects(), - isBrowser = _a.isBrowser, - isMix = _a.isMix; - - if (!isBrowser && !isMix || !('registerElement' in _global.document)) { - return; - } - - var callbacks = ['createdCallback', 'attachedCallback', 'detachedCallback', 'attributeChangedCallback']; - api.patchCallbacks(api, document, 'Document', 'registerElement', callbacks); - } - /** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - - (function (_global) { - var symbolPrefix = _global['__Zone_symbol_prefix'] || '__zone_symbol__'; - - function __symbol__(name) { - return symbolPrefix + name; - } - - _global[__symbol__('legacyPatch')] = function () { - var Zone = _global['Zone']; - - Zone.__load_patch('defineProperty', function (global, Zone, api) { - api._redefineProperty = _redefineProperty; - propertyPatch(); - }); - - Zone.__load_patch('registerElement', function (global, Zone, api) { - registerElementPatch(global, api); - }); - - Zone.__load_patch('EventTargetLegacy', function (global, Zone, api) { - eventTargetLegacyPatch(global, api); - propertyDescriptorLegacyPatch(api, global); - }); - }; - })(typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {}); - /** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - - var taskSymbol = zoneSymbol('zoneTask'); - - function patchTimer(window, setName, cancelName, nameSuffix) { - var setNative = null; - var clearNative = null; - setName += nameSuffix; - cancelName += nameSuffix; - var tasksByHandleId = {}; - - function scheduleTask(task) { - var data = task.data; - - data.args[0] = function () { - return task.invoke.apply(this, arguments); - }; - - data.handleId = setNative.apply(window, data.args); - return task; - } - - function clearTask(task) { - return clearNative.call(window, task.data.handleId); - } - - setNative = patchMethod(window, setName, function (delegate) { - return function (self, args) { - if (typeof args[0] === 'function') { - var options_1 = { - isPeriodic: nameSuffix === 'Interval', - delay: nameSuffix === 'Timeout' || nameSuffix === 'Interval' ? args[1] || 0 : undefined, - args: args - }; - var callback_1 = args[0]; - - args[0] = function timer() { - try { - return callback_1.apply(this, arguments); - } finally { - // issue-934, task will be cancelled - // even it is a periodic task such as - // setInterval - // https://github.com/angular/angular/issues/40387 - // Cleanup tasksByHandleId should be handled before scheduleTask - // Since some zoneSpec may intercept and doesn't trigger - // scheduleFn(scheduleTask) provided here. - if (!options_1.isPeriodic) { - if (typeof options_1.handleId === 'number') { - // in non-nodejs env, we remove timerId - // from local cache - delete tasksByHandleId[options_1.handleId]; - } else if (options_1.handleId) { - // Node returns complex objects as handleIds - // we remove task reference from timer object - options_1.handleId[taskSymbol] = null; - } - } - } - }; - - var task = scheduleMacroTaskWithCurrentZone(setName, args[0], options_1, scheduleTask, clearTask); - - if (!task) { - return task; - } // Node.js must additionally support the ref and unref functions. - - - var handle = task.data.handleId; - - if (typeof handle === 'number') { - // for non nodejs env, we save handleId: task - // mapping in local cache for clearTimeout - tasksByHandleId[handle] = task; - } else if (handle) { - // for nodejs env, we save task - // reference in timerId Object for clearTimeout - handle[taskSymbol] = task; - } // check whether handle is null, because some polyfill or browser - // may return undefined from setTimeout/setInterval/setImmediate/requestAnimationFrame - - - if (handle && handle.ref && handle.unref && typeof handle.ref === 'function' && typeof handle.unref === 'function') { - task.ref = handle.ref.bind(handle); - task.unref = handle.unref.bind(handle); - } - - if (typeof handle === 'number' || handle) { - return handle; - } - - return task; - } else { - // cause an error by calling it directly. - return delegate.apply(window, args); - } - }; - }); - clearNative = patchMethod(window, cancelName, function (delegate) { - return function (self, args) { - var id = args[0]; - var task; - - if (typeof id === 'number') { - // non nodejs env. - task = tasksByHandleId[id]; - } else { - // nodejs env. - task = id && id[taskSymbol]; // other environments. - - if (!task) { - task = id; - } - } - - if (task && typeof task.type === 'string') { - if (task.state !== 'notScheduled' && (task.cancelFn && task.data.isPeriodic || task.runCount === 0)) { - if (typeof id === 'number') { - delete tasksByHandleId[id]; - } else if (id) { - id[taskSymbol] = null; - } // Do not cancel already canceled functions - - - task.zone.cancelTask(task); - } - } else { - // cause an error by calling it directly. - delegate.apply(window, args); - } - }; - }); - } - /** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - - function patchCustomElements(_global, api) { - var _a = api.getGlobalObjects(), - isBrowser = _a.isBrowser, - isMix = _a.isMix; - - if (!isBrowser && !isMix || !_global['customElements'] || !('customElements' in _global)) { - return; - } - - var callbacks = ['connectedCallback', 'disconnectedCallback', 'adoptedCallback', 'attributeChangedCallback']; - api.patchCallbacks(api, _global.customElements, 'customElements', 'define', callbacks); - } - /** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - - function eventTargetPatch(_global, api) { - if (Zone[api.symbol('patchEventTarget')]) { - // EventTarget is already patched. - return; - } - - var _a = api.getGlobalObjects(), - eventNames = _a.eventNames, - zoneSymbolEventNames = _a.zoneSymbolEventNames, - TRUE_STR = _a.TRUE_STR, - FALSE_STR = _a.FALSE_STR, - ZONE_SYMBOL_PREFIX = _a.ZONE_SYMBOL_PREFIX; // predefine all __zone_symbol__ + eventName + true/false string - - - for (var i = 0; i < eventNames.length; i++) { - var eventName = eventNames[i]; - var falseEventName = eventName + FALSE_STR; - var trueEventName = eventName + TRUE_STR; - var symbol = ZONE_SYMBOL_PREFIX + falseEventName; - var symbolCapture = ZONE_SYMBOL_PREFIX + trueEventName; - zoneSymbolEventNames[eventName] = {}; - zoneSymbolEventNames[eventName][FALSE_STR] = symbol; - zoneSymbolEventNames[eventName][TRUE_STR] = symbolCapture; - } - - var EVENT_TARGET = _global['EventTarget']; - - if (!EVENT_TARGET || !EVENT_TARGET.prototype) { - return; - } - - api.patchEventTarget(_global, [EVENT_TARGET && EVENT_TARGET.prototype]); - return true; - } - - function patchEvent(global, api) { - api.patchEventPrototype(global, api); - } - /** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - - Zone.__load_patch('legacy', function (global) { - var legacyPatch = global[Zone.__symbol__('legacyPatch')]; - - if (legacyPatch) { - legacyPatch(); - } - }); - - Zone.__load_patch('queueMicrotask', function (global, Zone, api) { - api.patchMethod(global, 'queueMicrotask', function (delegate) { - return function (self, args) { - Zone.current.scheduleMicroTask('queueMicrotask', args[0]); - }; - }); - }); - - Zone.__load_patch('timers', function (global) { - var set = 'set'; - var clear = 'clear'; - patchTimer(global, set, clear, 'Timeout'); - patchTimer(global, set, clear, 'Interval'); - patchTimer(global, set, clear, 'Immediate'); - }); - - Zone.__load_patch('requestAnimationFrame', function (global) { - patchTimer(global, 'request', 'cancel', 'AnimationFrame'); - patchTimer(global, 'mozRequest', 'mozCancel', 'AnimationFrame'); - patchTimer(global, 'webkitRequest', 'webkitCancel', 'AnimationFrame'); - }); - - Zone.__load_patch('blocking', function (global, Zone) { - var blockingMethods = ['alert', 'prompt', 'confirm']; - - for (var i = 0; i < blockingMethods.length; i++) { - var name_2 = blockingMethods[i]; - patchMethod(global, name_2, function (delegate, symbol, name) { - return function (s, args) { - return Zone.current.run(delegate, global, args, name); - }; - }); - } - }); - - Zone.__load_patch('EventTarget', function (global, Zone, api) { - patchEvent(global, api); - eventTargetPatch(global, api); // patch XMLHttpRequestEventTarget's addEventListener/removeEventListener - - var XMLHttpRequestEventTarget = global['XMLHttpRequestEventTarget']; - - if (XMLHttpRequestEventTarget && XMLHttpRequestEventTarget.prototype) { - api.patchEventTarget(global, [XMLHttpRequestEventTarget.prototype]); - } - }); - - Zone.__load_patch('MutationObserver', function (global, Zone, api) { - patchClass('MutationObserver'); - patchClass('WebKitMutationObserver'); - }); - - Zone.__load_patch('IntersectionObserver', function (global, Zone, api) { - patchClass('IntersectionObserver'); - }); - - Zone.__load_patch('FileReader', function (global, Zone, api) { - patchClass('FileReader'); - }); - - Zone.__load_patch('on_property', function (global, Zone, api) { - propertyDescriptorPatch(api, global); - }); - - Zone.__load_patch('customElements', function (global, Zone, api) { - patchCustomElements(global, api); - }); - - Zone.__load_patch('XHR', function (global, Zone) { - // Treat XMLHttpRequest as a macrotask. - patchXHR(global); - var XHR_TASK = zoneSymbol('xhrTask'); - var XHR_SYNC = zoneSymbol('xhrSync'); - var XHR_LISTENER = zoneSymbol('xhrListener'); - var XHR_SCHEDULED = zoneSymbol('xhrScheduled'); - var XHR_URL = zoneSymbol('xhrURL'); - var XHR_ERROR_BEFORE_SCHEDULED = zoneSymbol('xhrErrorBeforeScheduled'); - - function patchXHR(window) { - var XMLHttpRequest = window['XMLHttpRequest']; - - if (!XMLHttpRequest) { - // XMLHttpRequest is not available in service worker - return; - } - - var XMLHttpRequestPrototype = XMLHttpRequest.prototype; - - function findPendingTask(target) { - return target[XHR_TASK]; - } - - var oriAddListener = XMLHttpRequestPrototype[ZONE_SYMBOL_ADD_EVENT_LISTENER]; - var oriRemoveListener = XMLHttpRequestPrototype[ZONE_SYMBOL_REMOVE_EVENT_LISTENER]; - - if (!oriAddListener) { - var XMLHttpRequestEventTarget_1 = window['XMLHttpRequestEventTarget']; - - if (XMLHttpRequestEventTarget_1) { - var XMLHttpRequestEventTargetPrototype = XMLHttpRequestEventTarget_1.prototype; - oriAddListener = XMLHttpRequestEventTargetPrototype[ZONE_SYMBOL_ADD_EVENT_LISTENER]; - oriRemoveListener = XMLHttpRequestEventTargetPrototype[ZONE_SYMBOL_REMOVE_EVENT_LISTENER]; - } - } - - var READY_STATE_CHANGE = 'readystatechange'; - var SCHEDULED = 'scheduled'; - - function scheduleTask(task) { - var data = task.data; - var target = data.target; - target[XHR_SCHEDULED] = false; - target[XHR_ERROR_BEFORE_SCHEDULED] = false; // remove existing event listener - - var listener = target[XHR_LISTENER]; - - if (!oriAddListener) { - oriAddListener = target[ZONE_SYMBOL_ADD_EVENT_LISTENER]; - oriRemoveListener = target[ZONE_SYMBOL_REMOVE_EVENT_LISTENER]; - } - - if (listener) { - oriRemoveListener.call(target, READY_STATE_CHANGE, listener); - } - - var newListener = target[XHR_LISTENER] = function () { - if (target.readyState === target.DONE) { - // sometimes on some browsers XMLHttpRequest will fire onreadystatechange with - // readyState=4 multiple times, so we need to check task state here - if (!data.aborted && target[XHR_SCHEDULED] && task.state === SCHEDULED) { - // check whether the xhr has registered onload listener - // if that is the case, the task should invoke after all - // onload listeners finish. - // Also if the request failed without response (status = 0), the load event handler - // will not be triggered, in that case, we should also invoke the placeholder callback - // to close the XMLHttpRequest::send macroTask. - // https://github.com/angular/angular/issues/38795 - var loadTasks = target[Zone.__symbol__('loadfalse')]; - - if (target.status !== 0 && loadTasks && loadTasks.length > 0) { - var oriInvoke_1 = task.invoke; - - task.invoke = function () { - // need to load the tasks again, because in other - // load listener, they may remove themselves - var loadTasks = target[Zone.__symbol__('loadfalse')]; - - for (var i = 0; i < loadTasks.length; i++) { - if (loadTasks[i] === task) { - loadTasks.splice(i, 1); - } - } - - if (!data.aborted && task.state === SCHEDULED) { - oriInvoke_1.call(task); - } - }; - - loadTasks.push(task); - } else { - task.invoke(); - } - } else if (!data.aborted && target[XHR_SCHEDULED] === false) { - // error occurs when xhr.send() - target[XHR_ERROR_BEFORE_SCHEDULED] = true; - } - } - }; - - oriAddListener.call(target, READY_STATE_CHANGE, newListener); - var storedTask = target[XHR_TASK]; - - if (!storedTask) { - target[XHR_TASK] = task; - } - - sendNative.apply(target, data.args); - target[XHR_SCHEDULED] = true; - return task; - } - - function placeholderCallback() {} - - function clearTask(task) { - var data = task.data; // Note - ideally, we would call data.target.removeEventListener here, but it's too late - // to prevent it from firing. So instead, we store info for the event listener. - - data.aborted = true; - return abortNative.apply(data.target, data.args); - } - - var openNative = patchMethod(XMLHttpRequestPrototype, 'open', function () { - return function (self, args) { - self[XHR_SYNC] = args[2] == false; - self[XHR_URL] = args[1]; - return openNative.apply(self, args); - }; - }); - var XMLHTTPREQUEST_SOURCE = 'XMLHttpRequest.send'; - var fetchTaskAborting = zoneSymbol('fetchTaskAborting'); - var fetchTaskScheduling = zoneSymbol('fetchTaskScheduling'); - var sendNative = patchMethod(XMLHttpRequestPrototype, 'send', function () { - return function (self, args) { - if (Zone.current[fetchTaskScheduling] === true) { - // a fetch is scheduling, so we are using xhr to polyfill fetch - // and because we already schedule macroTask for fetch, we should - // not schedule a macroTask for xhr again - return sendNative.apply(self, args); - } - - if (self[XHR_SYNC]) { - // if the XHR is sync there is no task to schedule, just execute the code. - return sendNative.apply(self, args); - } else { - var options = { - target: self, - url: self[XHR_URL], - isPeriodic: false, - args: args, - aborted: false - }; - var task = scheduleMacroTaskWithCurrentZone(XMLHTTPREQUEST_SOURCE, placeholderCallback, options, scheduleTask, clearTask); - - if (self && self[XHR_ERROR_BEFORE_SCHEDULED] === true && !options.aborted && task.state === SCHEDULED) { - // xhr request throw error when send - // we should invoke task instead of leaving a scheduled - // pending macroTask - task.invoke(); - } - } - }; - }); - var abortNative = patchMethod(XMLHttpRequestPrototype, 'abort', function () { - return function (self, args) { - var task = findPendingTask(self); - - if (task && typeof task.type == 'string') { - // If the XHR has already completed, do nothing. - // If the XHR has already been aborted, do nothing. - // Fix #569, call abort multiple times before done will cause - // macroTask task count be negative number - if (task.cancelFn == null || task.data && task.data.aborted) { - return; - } - - task.zone.cancelTask(task); - } else if (Zone.current[fetchTaskAborting] === true) { - // the abort is called from fetch polyfill, we need to call native abort of XHR. - return abortNative.apply(self, args); - } // Otherwise, we are trying to abort an XHR which has not yet been sent, so there is no - // task - // to cancel. Do nothing. - - }; - }); - } - }); - - Zone.__load_patch('geolocation', function (global) { - /// GEO_LOCATION - if (global['navigator'] && global['navigator'].geolocation) { - patchPrototype(global['navigator'].geolocation, ['getCurrentPosition', 'watchPosition']); - } - }); - - Zone.__load_patch('PromiseRejectionEvent', function (global, Zone) { - // handle unhandled promise rejection - function findPromiseRejectionHandler(evtName) { - return function (e) { - var eventTasks = findEventTasks(global, evtName); - eventTasks.forEach(function (eventTask) { - // windows has added unhandledrejection event listener - // trigger the event listener - var PromiseRejectionEvent = global['PromiseRejectionEvent']; - - if (PromiseRejectionEvent) { - var evt = new PromiseRejectionEvent(evtName, { - promise: e.promise, - reason: e.rejection - }); - eventTask.invoke(evt); - } - }); - }; - } - - if (global['PromiseRejectionEvent']) { - Zone[zoneSymbol('unhandledPromiseRejectionHandler')] = findPromiseRejectionHandler('unhandledrejection'); - Zone[zoneSymbol('rejectionHandledHandler')] = findPromiseRejectionHandler('rejectionhandled'); - } - }); -}); - -/***/ }), - -/***/ "0luR": -/*!**********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.symbol.description.js ***! - \**********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -// `Symbol.prototype.description` getter -// https://tc39.es/ecma262/#sec-symbol.prototype.description - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "T69T"); -var global = __webpack_require__(/*! ../internals/global */ "ocAm"); -var has = __webpack_require__(/*! ../internals/has */ "OG5q"); -var isObject = __webpack_require__(/*! ../internals/is-object */ "6XUM"); -var defineProperty = __webpack_require__(/*! ../internals/object-define-property */ "/Ybd").f; -var copyConstructorProperties = __webpack_require__(/*! ../internals/copy-constructor-properties */ "NIlc"); - -var NativeSymbol = global.Symbol; - -if (DESCRIPTORS && typeof NativeSymbol == 'function' && (!('description' in NativeSymbol.prototype) || - // Safari 12 bug - NativeSymbol().description !== undefined -)) { - var EmptyStringDescriptionStore = {}; - // wrap Symbol constructor for correct work with undefined description - var SymbolWrapper = function Symbol() { - var description = arguments.length < 1 || arguments[0] === undefined ? undefined : String(arguments[0]); - var result = this instanceof SymbolWrapper - ? new NativeSymbol(description) - // in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)' - : description === undefined ? NativeSymbol() : NativeSymbol(description); - if (description === '') EmptyStringDescriptionStore[result] = true; - return result; - }; - copyConstructorProperties(SymbolWrapper, NativeSymbol); - var symbolPrototype = SymbolWrapper.prototype = NativeSymbol.prototype; - symbolPrototype.constructor = SymbolWrapper; - - var symbolToString = symbolPrototype.toString; - var native = String(NativeSymbol('test')) == 'Symbol(test)'; - var regexp = /^Symbol\((.*)\)[^)]+$/; - defineProperty(symbolPrototype, 'description', { - configurable: true, - get: function description() { - var symbol = isObject(this) ? this.valueOf() : this; - var string = symbolToString.call(symbol); - if (has(EmptyStringDescriptionStore, symbol)) return ''; - var desc = native ? string.slice(7, -1) : string.replace(regexp, '$1'); - return desc === '' ? undefined : desc; - } - }); - - $({ global: true, forced: true }, { - Symbol: SymbolWrapper - }); -} - - -/***/ }), - -/***/ 1: -/*!****************************************************************************************************************************************************************************************!*\ - !*** multi ./node_modules/@angular-devkit/build-angular/src/webpack/es5-polyfills.js ./node_modules/@angular-devkit/build-angular/src/webpack/es5-jit-polyfills.js ./src/polyfills.ts ***! - \****************************************************************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -__webpack_require__(/*! C:\pitch\ng-walkthrough\node_modules\@angular-devkit\build-angular\src\webpack\es5-polyfills.js */"voQr"); -__webpack_require__(/*! C:\pitch\ng-walkthrough\node_modules\@angular-devkit\build-angular\src\webpack\es5-jit-polyfills.js */"aYjs"); -module.exports = __webpack_require__(/*! C:\pitch\ng-walkthrough\src\polyfills.ts */"hN/g"); - - -/***/ }), - -/***/ "149L": -/*!*******************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/html.js ***! - \*******************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "Ew/G"); - -module.exports = getBuiltIn('document', 'documentElement'); - - -/***/ }), - -/***/ "1p6F": -/*!************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/is-regexp.js ***! - \************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var isObject = __webpack_require__(/*! ../internals/is-object */ "6XUM"); -var classof = __webpack_require__(/*! ../internals/classof-raw */ "ezU2"); -var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "m41k"); - -var MATCH = wellKnownSymbol('match'); - -// `IsRegExp` abstract operation -// https://tc39.es/ecma262/#sec-isregexp -module.exports = function (it) { - var isRegExp; - return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) == 'RegExp'); -}; - - -/***/ }), - -/***/ "2MGJ": -/*!***********************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/redefine.js ***! - \***********************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var global = __webpack_require__(/*! ../internals/global */ "ocAm"); -var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "aJMj"); -var has = __webpack_require__(/*! ../internals/has */ "OG5q"); -var setGlobal = __webpack_require__(/*! ../internals/set-global */ "Fqhe"); -var inspectSource = __webpack_require__(/*! ../internals/inspect-source */ "6urC"); -var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "XH/I"); - -var getInternalState = InternalStateModule.get; -var enforceInternalState = InternalStateModule.enforce; -var TEMPLATE = String(String).split('String'); - -(module.exports = function (O, key, value, options) { - var unsafe = options ? !!options.unsafe : false; - var simple = options ? !!options.enumerable : false; - var noTargetGet = options ? !!options.noTargetGet : false; - var state; - if (typeof value == 'function') { - if (typeof key == 'string' && !has(value, 'name')) { - createNonEnumerableProperty(value, 'name', key); - } - state = enforceInternalState(value); - if (!state.source) { - state.source = TEMPLATE.join(typeof key == 'string' ? key : ''); - } - } - if (O === global) { - if (simple) O[key] = value; - else setGlobal(key, value); - return; - } else if (!unsafe) { - delete O[key]; - } else if (!noTargetGet && O[key]) { - simple = true; - } - if (simple) O[key] = value; - else createNonEnumerableProperty(O, key, value); -// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative -})(Function.prototype, 'toString', function toString() { - return typeof this == 'function' && getInternalState(this).source || inspectSource(this); -}); - - -/***/ }), - -/***/ "2RDa": -/*!****************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/object-create.js ***! - \****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var anObject = __webpack_require__(/*! ../internals/an-object */ "F26l"); -var defineProperties = __webpack_require__(/*! ../internals/object-define-properties */ "5y2d"); -var enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ "aAjO"); -var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ "yQMY"); -var html = __webpack_require__(/*! ../internals/html */ "149L"); -var documentCreateElement = __webpack_require__(/*! ../internals/document-create-element */ "qx7X"); -var sharedKey = __webpack_require__(/*! ../internals/shared-key */ "/AsP"); - -var GT = '>'; -var LT = '<'; -var PROTOTYPE = 'prototype'; -var SCRIPT = 'script'; -var IE_PROTO = sharedKey('IE_PROTO'); - -var EmptyConstructor = function () { /* empty */ }; - -var scriptTag = function (content) { - return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT; -}; - -// Create object with fake `null` prototype: use ActiveX Object with cleared prototype -var NullProtoObjectViaActiveX = function (activeXDocument) { - activeXDocument.write(scriptTag('')); - activeXDocument.close(); - var temp = activeXDocument.parentWindow.Object; - activeXDocument = null; // avoid memory leak - return temp; -}; - -// Create object with fake `null` prototype: use iframe Object with cleared prototype -var NullProtoObjectViaIFrame = function () { - // Thrash, waste and sodomy: IE GC bug - var iframe = documentCreateElement('iframe'); - var JS = 'java' + SCRIPT + ':'; - var iframeDocument; - iframe.style.display = 'none'; - html.appendChild(iframe); - // https://github.com/zloirock/core-js/issues/475 - iframe.src = String(JS); - iframeDocument = iframe.contentWindow.document; - iframeDocument.open(); - iframeDocument.write(scriptTag('document.F=Object')); - iframeDocument.close(); - return iframeDocument.F; -}; - -// Check for document.domain and active x support -// No need to use active x approach when document.domain is not set -// see https://github.com/es-shims/es5-shim/issues/150 -// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346 -// avoid IE GC bug -var activeXDocument; -var NullProtoObject = function () { - try { - /* global ActiveXObject */ - activeXDocument = document.domain && new ActiveXObject('htmlfile'); - } catch (error) { /* ignore */ } - NullProtoObject = activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame(); - var length = enumBugKeys.length; - while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]]; - return NullProtoObject(); -}; - -hiddenKeys[IE_PROTO] = true; - -// `Object.create` method -// https://tc39.es/ecma262/#sec-object.create -module.exports = Object.create || function create(O, Properties) { - var result; - if (O !== null) { - EmptyConstructor[PROTOTYPE] = anObject(O); - result = new EmptyConstructor(); - EmptyConstructor[PROTOTYPE] = null; - // add "__proto__" for Object.getPrototypeOf polyfill - result[IE_PROTO] = O; - } else result = NullProtoObject(); - return Properties === undefined ? result : defineProperties(result, Properties); -}; - - -/***/ }), - -/***/ "3caY": -/*!**************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.math.asinh.js ***! - \**************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); - -var nativeAsinh = Math.asinh; -var log = Math.log; -var sqrt = Math.sqrt; - -function asinh(x) { - return !isFinite(x = +x) || x == 0 ? x : x < 0 ? -asinh(-x) : log(x + sqrt(x * x + 1)); -} - -// `Math.asinh` method -// https://tc39.es/ecma262/#sec-math.asinh -// Tor Browser bug: Math.asinh(0) -> -0 -$({ target: 'Math', stat: true, forced: !(nativeAsinh && 1 / nativeAsinh(0) > 0) }, { - asinh: asinh -}); - - -/***/ }), - -/***/ "3vMK": -/*!*************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.function.has-instance.js ***! - \*************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var isObject = __webpack_require__(/*! ../internals/is-object */ "6XUM"); -var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "/Ybd"); -var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ "wIVT"); -var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "m41k"); - -var HAS_INSTANCE = wellKnownSymbol('hasInstance'); -var FunctionPrototype = Function.prototype; - -// `Function.prototype[@@hasInstance]` method -// https://tc39.es/ecma262/#sec-function.prototype-@@hasinstance -if (!(HAS_INSTANCE in FunctionPrototype)) { - definePropertyModule.f(FunctionPrototype, HAS_INSTANCE, { value: function (O) { - if (typeof this != 'function' || !isObject(O)) return false; - if (!isObject(this.prototype)) return O instanceof this; - // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this: - while (O = getPrototypeOf(O)) if (this.prototype === O) return true; - return false; - } }); -} - - -/***/ }), - -/***/ "3xQm": -/*!************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/microtask.js ***! - \************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var global = __webpack_require__(/*! ../internals/global */ "ocAm"); -var getOwnPropertyDescriptor = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "7gGY").f; -var macrotask = __webpack_require__(/*! ../internals/task */ "Ox9q").set; -var IS_IOS = __webpack_require__(/*! ../internals/engine-is-ios */ "tuHh"); -var IS_WEBOS_WEBKIT = __webpack_require__(/*! ../internals/engine-is-webos-webkit */ "3xgG"); -var IS_NODE = __webpack_require__(/*! ../internals/engine-is-node */ "B43K"); - -var MutationObserver = global.MutationObserver || global.WebKitMutationObserver; -var document = global.document; -var process = global.process; -var Promise = global.Promise; -// Node.js 11 shows ExperimentalWarning on getting `queueMicrotask` -var queueMicrotaskDescriptor = getOwnPropertyDescriptor(global, 'queueMicrotask'); -var queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value; - -var flush, head, last, notify, toggle, node, promise, then; - -// modern engines have queueMicrotask method -if (!queueMicrotask) { - flush = function () { - var parent, fn; - if (IS_NODE && (parent = process.domain)) parent.exit(); - while (head) { - fn = head.fn; - head = head.next; - try { - fn(); - } catch (error) { - if (head) notify(); - else last = undefined; - throw error; - } - } last = undefined; - if (parent) parent.enter(); - }; - - // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339 - // also except WebOS Webkit https://github.com/zloirock/core-js/issues/898 - if (!IS_IOS && !IS_NODE && !IS_WEBOS_WEBKIT && MutationObserver && document) { - toggle = true; - node = document.createTextNode(''); - new MutationObserver(flush).observe(node, { characterData: true }); - notify = function () { - node.data = toggle = !toggle; - }; - // environments with maybe non-completely correct, but existent Promise - } else if (Promise && Promise.resolve) { - // Promise.resolve without an argument throws an error in LG WebOS 2 - promise = Promise.resolve(undefined); - then = promise.then; - notify = function () { - then.call(promise, flush); - }; - // Node.js without promises - } else if (IS_NODE) { - notify = function () { - process.nextTick(flush); - }; - // for other environments - macrotask based on: - // - setImmediate - // - MessageChannel - // - window.postMessag - // - onreadystatechange - // - setTimeout - } else { - notify = function () { - // strange IE + webpack dev server bug - use .call(global) - macrotask.call(global, flush); - }; - } -} - -module.exports = queueMicrotask || function (fn) { - var task = { fn: fn, next: undefined }; - if (last) last.next = task; - if (!head) { - head = task; - notify(); - } last = task; -}; - - -/***/ }), - -/***/ "3xgG": -/*!*************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/engine-is-webos-webkit.js ***! - \*************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var userAgent = __webpack_require__(/*! ../internals/engine-user-agent */ "T/Kj"); - -module.exports = /web0s(?!.*chrome)/i.test(userAgent); - - -/***/ }), - -/***/ "48xZ": -/*!**************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/math-fround.js ***! - \**************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var sign = __webpack_require__(/*! ../internals/math-sign */ "n/2t"); - -var abs = Math.abs; -var pow = Math.pow; -var EPSILON = pow(2, -52); -var EPSILON32 = pow(2, -23); -var MAX32 = pow(2, 127) * (2 - EPSILON32); -var MIN32 = pow(2, -126); - -var roundTiesToEven = function (n) { - return n + 1 / EPSILON - 1 / EPSILON; -}; - -// `Math.fround` method implementation -// https://tc39.es/ecma262/#sec-math.fround -module.exports = Math.fround || function fround(x) { - var $abs = abs(x); - var $sign = sign(x); - var a, result; - if ($abs < MIN32) return $sign * roundTiesToEven($abs / MIN32 / EPSILON32) * MIN32 * EPSILON32; - a = (1 + EPSILON32 / EPSILON) * $abs; - result = a - (a - $abs); - // eslint-disable-next-line no-self-compare - if (result > MAX32 || result != result) return $sign * Infinity; - return $sign * result; -}; - - -/***/ }), - -/***/ "4GtL": -/*!********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/array-copy-within.js ***! - \********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var toObject = __webpack_require__(/*! ../internals/to-object */ "VCQ8"); -var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ "7Oj1"); -var toLength = __webpack_require__(/*! ../internals/to-length */ "xpLY"); - -var min = Math.min; - -// `Array.prototype.copyWithin` method implementation -// https://tc39.es/ecma262/#sec-array.prototype.copywithin -module.exports = [].copyWithin || function copyWithin(target /* = 0 */, start /* = 0, end = @length */) { - var O = toObject(this); - var len = toLength(O.length); - var to = toAbsoluteIndex(target, len); - var from = toAbsoluteIndex(start, len); - var end = arguments.length > 2 ? arguments[2] : undefined; - var count = min((end === undefined ? len : toAbsoluteIndex(end, len)) - from, len - to); - var inc = 1; - if (from < to && to < from + count) { - inc = -1; - from += count - 1; - to += count - 1; - } - while (count-- > 0) { - if (from in O) O[to] = O[from]; - else delete O[to]; - to += inc; - from += inc; - } return O; -}; - - -/***/ }), - -/***/ "4Kt7": -/*!**************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.string.sub.js ***! - \**************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var createHTML = __webpack_require__(/*! ../internals/create-html */ "uoca"); -var forcedStringHTMLMethod = __webpack_require__(/*! ../internals/string-html-forced */ "d8Sw"); - -// `String.prototype.sub` method -// https://tc39.es/ecma262/#sec-string.prototype.sub -$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('sub') }, { - sub: function sub() { - return createHTML(this, 'sub', '', ''); - } -}); - - -/***/ }), - -/***/ "4NCC": -/*!*******************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/number-parse-int.js ***! - \*******************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var global = __webpack_require__(/*! ../internals/global */ "ocAm"); -var trim = __webpack_require__(/*! ../internals/string-trim */ "jnLS").trim; -var whitespaces = __webpack_require__(/*! ../internals/whitespaces */ "xFZC"); - -var $parseInt = global.parseInt; -var hex = /^[+-]?0[Xx]/; -var FORCED = $parseInt(whitespaces + '08') !== 8 || $parseInt(whitespaces + '0x16') !== 22; - -// `parseInt` method -// https://tc39.es/ecma262/#sec-parseint-string-radix -module.exports = FORCED ? function parseInt(string, radix) { - var S = trim(String(string)); - return $parseInt(S, (radix >>> 0) || (hex.test(S) ? 16 : 10)); -} : $parseInt; - - -/***/ }), - -/***/ "4PyY": -/*!************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/to-string-tag-support.js ***! - \************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "m41k"); - -var TO_STRING_TAG = wellKnownSymbol('toStringTag'); -var test = {}; - -test[TO_STRING_TAG] = 'z'; - -module.exports = String(test) === '[object z]'; - - -/***/ }), - -/***/ "4Ym5": -/*!******************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/object-to-array.js ***! - \******************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "T69T"); -var objectKeys = __webpack_require__(/*! ../internals/object-keys */ "ZRqE"); -var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "EMtK"); -var propertyIsEnumerable = __webpack_require__(/*! ../internals/object-property-is-enumerable */ "gn9T").f; - -// `Object.{ entries, values }` methods implementation -var createMethod = function (TO_ENTRIES) { - return function (it) { - var O = toIndexedObject(it); - var keys = objectKeys(O); - var length = keys.length; - var i = 0; - var result = []; - var key; - while (length > i) { - key = keys[i++]; - if (!DESCRIPTORS || propertyIsEnumerable.call(O, key)) { - result.push(TO_ENTRIES ? [key, O[key]] : O[key]); - } - } - return result; - }; -}; - -module.exports = { - // `Object.entries` method - // https://tc39.es/ecma262/#sec-object.entries - entries: createMethod(true), - // `Object.values` method - // https://tc39.es/ecma262/#sec-object.values - values: createMethod(false) -}; - - -/***/ }), - -/***/ "4axp": -/*!****************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.string.blink.js ***! - \****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var createHTML = __webpack_require__(/*! ../internals/create-html */ "uoca"); -var forcedStringHTMLMethod = __webpack_require__(/*! ../internals/string-html-forced */ "d8Sw"); - -// `String.prototype.blink` method -// https://tc39.es/ecma262/#sec-string.prototype.blink -$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('blink') }, { - blink: function blink() { - return createHTML(this, 'blink', '', ''); - } -}); - - -/***/ }), - -/***/ "54C3": -/*!******************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.array.flat-map.js ***! - \******************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var flattenIntoArray = __webpack_require__(/*! ../internals/flatten-into-array */ "IUBq"); -var toObject = __webpack_require__(/*! ../internals/to-object */ "VCQ8"); -var toLength = __webpack_require__(/*! ../internals/to-length */ "xpLY"); -var aFunction = __webpack_require__(/*! ../internals/a-function */ "Neub"); -var arraySpeciesCreate = __webpack_require__(/*! ../internals/array-species-create */ "JafA"); - -// `Array.prototype.flatMap` method -// https://tc39.es/ecma262/#sec-array.prototype.flatmap -$({ target: 'Array', proto: true }, { - flatMap: function flatMap(callbackfn /* , thisArg */) { - var O = toObject(this); - var sourceLen = toLength(O.length); - var A; - aFunction(callbackfn); - A = arraySpeciesCreate(O, 0); - A.length = flattenIntoArray(A, O, O, sourceLen, 0, 1, callbackfn, arguments.length > 1 ? arguments[1] : undefined); - return A; - } -}); - - -/***/ }), - -/***/ "5MmU": -/*!***************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/is-array-iterator-method.js ***! - \***************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "m41k"); -var Iterators = __webpack_require__(/*! ../internals/iterators */ "pz+c"); - -var ITERATOR = wellKnownSymbol('iterator'); -var ArrayPrototype = Array.prototype; - -// check on default Array iterator -module.exports = function (it) { - return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it); -}; - - -/***/ }), - -/***/ "5eAq": -/*!**********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.number.parse-float.js ***! - \**********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var parseFloat = __webpack_require__(/*! ../internals/number-parse-float */ "vZCr"); - -// `Number.parseFloat` method -// https://tc39.es/ecma262/#sec-number.parseFloat -$({ target: 'Number', stat: true, forced: Number.parseFloat != parseFloat }, { - parseFloat: parseFloat -}); - - -/***/ }), - -/***/ "5y2d": -/*!***************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/object-define-properties.js ***! - \***************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "T69T"); -var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "/Ybd"); -var anObject = __webpack_require__(/*! ../internals/an-object */ "F26l"); -var objectKeys = __webpack_require__(/*! ../internals/object-keys */ "ZRqE"); - -// `Object.defineProperties` method -// https://tc39.es/ecma262/#sec-object.defineproperties -module.exports = DESCRIPTORS ? Object.defineProperties : function defineProperties(O, Properties) { - anObject(O); - var keys = objectKeys(Properties); - var length = keys.length; - var index = 0; - var key; - while (length > index) definePropertyModule.f(O, key = keys[index++], Properties[key]); - return O; -}; - - -/***/ }), - -/***/ "5zDw": -/*!********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.number.parse-int.js ***! - \********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var parseInt = __webpack_require__(/*! ../internals/number-parse-int */ "4NCC"); - -// `Number.parseInt` method -// https://tc39.es/ecma262/#sec-number.parseint -$({ target: 'Number', stat: true, forced: Number.parseInt != parseInt }, { - parseInt: parseInt -}); - - -/***/ }), - -/***/ "5zQ0": -/*!*****************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/iterator-close.js ***! - \*****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var anObject = __webpack_require__(/*! ../internals/an-object */ "F26l"); - -module.exports = function (iterator) { - var returnMethod = iterator['return']; - if (returnMethod !== undefined) { - return anObject(returnMethod.call(iterator)).value; - } -}; - - -/***/ }), - -/***/ "68Yi": -/*!**************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.array.flat.js ***! - \**************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var flattenIntoArray = __webpack_require__(/*! ../internals/flatten-into-array */ "IUBq"); -var toObject = __webpack_require__(/*! ../internals/to-object */ "VCQ8"); -var toLength = __webpack_require__(/*! ../internals/to-length */ "xpLY"); -var toInteger = __webpack_require__(/*! ../internals/to-integer */ "vDBE"); -var arraySpeciesCreate = __webpack_require__(/*! ../internals/array-species-create */ "JafA"); - -// `Array.prototype.flat` method -// https://tc39.es/ecma262/#sec-array.prototype.flat -$({ target: 'Array', proto: true }, { - flat: function flat(/* depthArg = 1 */) { - var depthArg = arguments.length ? arguments[0] : undefined; - var O = toObject(this); - var sourceLen = toLength(O.length); - var A = arraySpeciesCreate(O, 0); - A.length = flattenIntoArray(A, O, O, sourceLen, 0, depthArg === undefined ? 1 : toInteger(depthArg)); - return A; - } -}); - - -/***/ }), - -/***/ "6CEi": -/*!**************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.array.find.js ***! - \**************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var $find = __webpack_require__(/*! ../internals/array-iteration */ "kk6e").find; -var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ "A1Hp"); -var arrayMethodUsesToLength = __webpack_require__(/*! ../internals/array-method-uses-to-length */ "w2hq"); - -var FIND = 'find'; -var SKIPS_HOLES = true; - -var USES_TO_LENGTH = arrayMethodUsesToLength(FIND); - -// Shouldn't skip holes -if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; }); - -// `Array.prototype.find` method -// https://tc39.es/ecma262/#sec-array.prototype.find -$({ target: 'Array', proto: true, forced: SKIPS_HOLES || !USES_TO_LENGTH }, { - find: function find(callbackfn /* , that = undefined */) { - return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); - } -}); - -// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables -addToUnscopables(FIND); - - -/***/ }), - -/***/ "6CJb": -/*!*************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/array-method-is-strict.js ***! - \*************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); - -module.exports = function (METHOD_NAME, argument) { - var method = [][METHOD_NAME]; - return !!method && fails(function () { - // eslint-disable-next-line no-useless-call,no-throw-literal - method.call(null, argument || function () { throw 1; }, 1); - }); -}; - - -/***/ }), - -/***/ "6XUM": -/*!************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/is-object.js ***! - \************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -module.exports = function (it) { - return typeof it === 'object' ? it !== null : typeof it === 'function'; -}; - - -/***/ }), - -/***/ "6fhQ": -/*!**************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.array.sort.js ***! - \**************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var aFunction = __webpack_require__(/*! ../internals/a-function */ "Neub"); -var toObject = __webpack_require__(/*! ../internals/to-object */ "VCQ8"); -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); -var arrayMethodIsStrict = __webpack_require__(/*! ../internals/array-method-is-strict */ "6CJb"); - -var test = []; -var nativeSort = test.sort; - -// IE8- -var FAILS_ON_UNDEFINED = fails(function () { - test.sort(undefined); -}); -// V8 bug -var FAILS_ON_NULL = fails(function () { - test.sort(null); -}); -// Old WebKit -var STRICT_METHOD = arrayMethodIsStrict('sort'); - -var FORCED = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD; - -// `Array.prototype.sort` method -// https://tc39.es/ecma262/#sec-array.prototype.sort -$({ target: 'Array', proto: true, forced: FORCED }, { - sort: function sort(comparefn) { - return comparefn === undefined - ? nativeSort.call(toObject(this)) - : nativeSort.call(toObject(this), aFunction(comparefn)); - } -}); - - -/***/ }), - -/***/ "6lQQ": -/*!******************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.array.index-of.js ***! - \******************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var $indexOf = __webpack_require__(/*! ../internals/array-includes */ "OXtp").indexOf; -var arrayMethodIsStrict = __webpack_require__(/*! ../internals/array-method-is-strict */ "6CJb"); -var arrayMethodUsesToLength = __webpack_require__(/*! ../internals/array-method-uses-to-length */ "w2hq"); - -var nativeIndexOf = [].indexOf; - -var NEGATIVE_ZERO = !!nativeIndexOf && 1 / [1].indexOf(1, -0) < 0; -var STRICT_METHOD = arrayMethodIsStrict('indexOf'); -var USES_TO_LENGTH = arrayMethodUsesToLength('indexOf', { ACCESSORS: true, 1: 0 }); - -// `Array.prototype.indexOf` method -// https://tc39.es/ecma262/#sec-array.prototype.indexof -$({ target: 'Array', proto: true, forced: NEGATIVE_ZERO || !STRICT_METHOD || !USES_TO_LENGTH }, { - indexOf: function indexOf(searchElement /* , fromIndex = 0 */) { - return NEGATIVE_ZERO - // convert -0 to +0 - ? nativeIndexOf.apply(this, arguments) || 0 - : $indexOf(this, searchElement, arguments.length > 1 ? arguments[1] : undefined); - } -}); - - -/***/ }), - -/***/ "6oxo": -/*!*************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.math.log2.js ***! - \*************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); - -var log = Math.log; -var LN2 = Math.LN2; - -// `Math.log2` method -// https://tc39.es/ecma262/#sec-math.log2 -$({ target: 'Math', stat: true }, { - log2: function log2(x) { - return log(x) / LN2; - } -}); - - -/***/ }), - -/***/ "6q6p": -/*!***************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.array.slice.js ***! - \***************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var isObject = __webpack_require__(/*! ../internals/is-object */ "6XUM"); -var isArray = __webpack_require__(/*! ../internals/is-array */ "erNl"); -var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ "7Oj1"); -var toLength = __webpack_require__(/*! ../internals/to-length */ "xpLY"); -var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "EMtK"); -var createProperty = __webpack_require__(/*! ../internals/create-property */ "DYg9"); -var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "m41k"); -var arrayMethodHasSpeciesSupport = __webpack_require__(/*! ../internals/array-method-has-species-support */ "lRyB"); -var arrayMethodUsesToLength = __webpack_require__(/*! ../internals/array-method-uses-to-length */ "w2hq"); - -var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice'); -var USES_TO_LENGTH = arrayMethodUsesToLength('slice', { ACCESSORS: true, 0: 0, 1: 2 }); - -var SPECIES = wellKnownSymbol('species'); -var nativeSlice = [].slice; -var max = Math.max; - -// `Array.prototype.slice` method -// https://tc39.es/ecma262/#sec-array.prototype.slice -// fallback for not array-like ES3 strings and DOM objects -$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, { - slice: function slice(start, end) { - var O = toIndexedObject(this); - var length = toLength(O.length); - var k = toAbsoluteIndex(start, length); - var fin = toAbsoluteIndex(end === undefined ? length : end, length); - // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible - var Constructor, result, n; - if (isArray(O)) { - Constructor = O.constructor; - // cross-realm fallback - if (typeof Constructor == 'function' && (Constructor === Array || isArray(Constructor.prototype))) { - Constructor = undefined; - } else if (isObject(Constructor)) { - Constructor = Constructor[SPECIES]; - if (Constructor === null) Constructor = undefined; - } - if (Constructor === Array || Constructor === undefined) { - return nativeSlice.call(O, k, fin); - } - } - result = new (Constructor === undefined ? Array : Constructor)(max(fin - k, 0)); - for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]); - result.length = n; - return result; - } -}); - - -/***/ }), - -/***/ "6urC": -/*!*****************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/inspect-source.js ***! - \*****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var store = __webpack_require__(/*! ../internals/shared-store */ "KBkW"); - -var functionToString = Function.toString; - -// this helper broken in `3.4.1-3.4.4`, so we can't use `shared` helper -if (typeof store.inspectSource != 'function') { - store.inspectSource = function (it) { - return functionToString.call(it); - }; -} - -module.exports = store.inspectSource; - - -/***/ }), - -/***/ "7/lX": -/*!**************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/object-set-prototype-of.js ***! - \**************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var anObject = __webpack_require__(/*! ../internals/an-object */ "F26l"); -var aPossiblePrototype = __webpack_require__(/*! ../internals/a-possible-prototype */ "JI1L"); - -// `Object.setPrototypeOf` method -// https://tc39.es/ecma262/#sec-object.setprototypeof -// Works with __proto__ only. Old v8 can't work with null proto objects. -/* eslint-disable no-proto */ -module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () { - var CORRECT_SETTER = false; - var test = {}; - var setter; - try { - setter = Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set; - setter.call(test, []); - CORRECT_SETTER = test instanceof Array; - } catch (error) { /* empty */ } - return function setPrototypeOf(O, proto) { - anObject(O); - aPossiblePrototype(proto); - if (CORRECT_SETTER) setter.call(O, proto); - else O.__proto__ = proto; - return O; - }; -}() : undefined); - - -/***/ }), - -/***/ "76gj": -/*!***********************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/own-keys.js ***! - \***********************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "Ew/G"); -var getOwnPropertyNamesModule = __webpack_require__(/*! ../internals/object-get-own-property-names */ "KkqW"); -var getOwnPropertySymbolsModule = __webpack_require__(/*! ../internals/object-get-own-property-symbols */ "busr"); -var anObject = __webpack_require__(/*! ../internals/an-object */ "F26l"); - -// all object keys, includes non-enumerable and symbols -module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) { - var keys = getOwnPropertyNamesModule.f(anObject(it)); - var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; - return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys; -}; - - -/***/ }), - -/***/ "7Oj1": -/*!********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/to-absolute-index.js ***! - \********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var toInteger = __webpack_require__(/*! ../internals/to-integer */ "vDBE"); - -var max = Math.max; -var min = Math.min; - -// Helper for a popular repeating case of the spec: -// Let integer be ? ToInteger(index). -// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length). -module.exports = function (index, length) { - var integer = toInteger(index); - return integer < 0 ? max(integer + length, 0) : min(integer, length); -}; - - -/***/ }), - -/***/ "7aOP": -/*!******************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/promise-resolve.js ***! - \******************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var anObject = __webpack_require__(/*! ../internals/an-object */ "F26l"); -var isObject = __webpack_require__(/*! ../internals/is-object */ "6XUM"); -var newPromiseCapability = __webpack_require__(/*! ../internals/new-promise-capability */ "oB0/"); - -module.exports = function (C, x) { - anObject(C); - if (isObject(x) && x.constructor === C) return x; - var promiseCapability = newPromiseCapability.f(C); - var resolve = promiseCapability.resolve; - resolve(x); - return promiseCapability.promise; -}; - - -/***/ }), - -/***/ "7gGY": -/*!*************************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/object-get-own-property-descriptor.js ***! - \*************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "T69T"); -var propertyIsEnumerableModule = __webpack_require__(/*! ../internals/object-property-is-enumerable */ "gn9T"); -var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "uSMZ"); -var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "EMtK"); -var toPrimitive = __webpack_require__(/*! ../internals/to-primitive */ "LdO1"); -var has = __webpack_require__(/*! ../internals/has */ "OG5q"); -var IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ "XdSI"); - -var nativeGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; - -// `Object.getOwnPropertyDescriptor` method -// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor -exports.f = DESCRIPTORS ? nativeGetOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) { - O = toIndexedObject(O); - P = toPrimitive(P, true); - if (IE8_DOM_DEFINE) try { - return nativeGetOwnPropertyDescriptor(O, P); - } catch (error) { /* empty */ } - if (has(O, P)) return createPropertyDescriptor(!propertyIsEnumerableModule.f.call(O, P), O[P]); -}; - - -/***/ }), - -/***/ "8+YH": -/*!*****************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.symbol.search.js ***! - \*****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var defineWellKnownSymbol = __webpack_require__(/*! ../internals/define-well-known-symbol */ "94Vg"); - -// `Symbol.search` well-known symbol -// https://tc39.es/ecma262/#sec-symbol.search -defineWellKnownSymbol('search'); - - -/***/ }), - -/***/ "815a": -/*!**********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.symbol.unscopables.js ***! - \**********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var defineWellKnownSymbol = __webpack_require__(/*! ../internals/define-well-known-symbol */ "94Vg"); - -// `Symbol.unscopables` well-known symbol -// https://tc39.es/ecma262/#sec-symbol.unscopables -defineWellKnownSymbol('unscopables'); - - -/***/ }), - -/***/ "8B3Q": -/*!****************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.reflect.set-prototype-of.js ***! - \****************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var anObject = __webpack_require__(/*! ../internals/an-object */ "F26l"); -var aPossiblePrototype = __webpack_require__(/*! ../internals/a-possible-prototype */ "JI1L"); -var objectSetPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ "7/lX"); - -// `Reflect.setPrototypeOf` method -// https://tc39.es/ecma262/#sec-reflect.setprototypeof -if (objectSetPrototypeOf) $({ target: 'Reflect', stat: true }, { - setPrototypeOf: function setPrototypeOf(target, proto) { - anObject(target); - aPossiblePrototype(proto); - try { - objectSetPrototypeOf(target, proto); - return true; - } catch (error) { - return false; - } - } -}); - - -/***/ }), - -/***/ "8CeQ": -/*!**********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.json.to-string-tag.js ***! - \**********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var global = __webpack_require__(/*! ../internals/global */ "ocAm"); -var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ "shqn"); - -// JSON[@@toStringTag] property -// https://tc39.es/ecma262/#sec-json-@@tostringtag -setToStringTag(global.JSON, 'JSON', true); - - -/***/ }), - -/***/ "8aNu": -/*!***************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/redefine-all.js ***! - \***************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var redefine = __webpack_require__(/*! ../internals/redefine */ "2MGJ"); - -module.exports = function (target, src, options) { - for (var key in src) redefine(target, key, src[key], options); - return target; -}; - - -/***/ }), - -/***/ "8iOR": -/*!**************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.math.atanh.js ***! - \**************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); - -var nativeAtanh = Math.atanh; -var log = Math.log; - -// `Math.atanh` method -// https://tc39.es/ecma262/#sec-math.atanh -// Tor Browser bug: Math.atanh(-0) -> 0 -$({ target: 'Math', stat: true, forced: !(nativeAtanh && 1 / nativeAtanh(-0) < 0) }, { - atanh: function atanh(x) { - return (x = +x) == 0 ? x : log((1 + x) / (1 - x)) / 2; - } -}); - - -/***/ }), - -/***/ "8xKV": -/*!*******************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.number.to-fixed.js ***! - \*******************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var toInteger = __webpack_require__(/*! ../internals/to-integer */ "vDBE"); -var thisNumberValue = __webpack_require__(/*! ../internals/this-number-value */ "hH+7"); -var repeat = __webpack_require__(/*! ../internals/string-repeat */ "EMWV"); -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); - -var nativeToFixed = 1.0.toFixed; -var floor = Math.floor; - -var pow = function (x, n, acc) { - return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc); -}; - -var log = function (x) { - var n = 0; - var x2 = x; - while (x2 >= 4096) { - n += 12; - x2 /= 4096; - } - while (x2 >= 2) { - n += 1; - x2 /= 2; - } return n; -}; - -var FORCED = nativeToFixed && ( - 0.00008.toFixed(3) !== '0.000' || - 0.9.toFixed(0) !== '1' || - 1.255.toFixed(2) !== '1.25' || - 1000000000000000128.0.toFixed(0) !== '1000000000000000128' -) || !fails(function () { - // V8 ~ Android 4.3- - nativeToFixed.call({}); -}); - -// `Number.prototype.toFixed` method -// https://tc39.es/ecma262/#sec-number.prototype.tofixed -$({ target: 'Number', proto: true, forced: FORCED }, { - // eslint-disable-next-line max-statements - toFixed: function toFixed(fractionDigits) { - var number = thisNumberValue(this); - var fractDigits = toInteger(fractionDigits); - var data = [0, 0, 0, 0, 0, 0]; - var sign = ''; - var result = '0'; - var e, z, j, k; - - var multiply = function (n, c) { - var index = -1; - var c2 = c; - while (++index < 6) { - c2 += n * data[index]; - data[index] = c2 % 1e7; - c2 = floor(c2 / 1e7); - } - }; - - var divide = function (n) { - var index = 6; - var c = 0; - while (--index >= 0) { - c += data[index]; - data[index] = floor(c / n); - c = (c % n) * 1e7; - } - }; - - var dataToString = function () { - var index = 6; - var s = ''; - while (--index >= 0) { - if (s !== '' || index === 0 || data[index] !== 0) { - var t = String(data[index]); - s = s === '' ? t : s + repeat.call('0', 7 - t.length) + t; - } - } return s; - }; - - if (fractDigits < 0 || fractDigits > 20) throw RangeError('Incorrect fraction digits'); - // eslint-disable-next-line no-self-compare - if (number != number) return 'NaN'; - if (number <= -1e21 || number >= 1e21) return String(number); - if (number < 0) { - sign = '-'; - number = -number; - } - if (number > 1e-21) { - e = log(number * pow(2, 69, 1)) - 69; - z = e < 0 ? number * pow(2, -e, 1) : number / pow(2, e, 1); - z *= 0x10000000000000; - e = 52 - e; - if (e > 0) { - multiply(0, z); - j = fractDigits; - while (j >= 7) { - multiply(1e7, 0); - j -= 7; - } - multiply(pow(10, j, 1), 0); - j = e - 1; - while (j >= 23) { - divide(1 << 23); - j -= 23; - } - divide(1 << j); - multiply(1, 1); - divide(2); - result = dataToString(); - } else { - multiply(0, z); - multiply(1 << -e, 0); - result = dataToString() + repeat.call('0', fractDigits); - } - } - if (fractDigits > 0) { - k = result.length; - result = sign + (k <= fractDigits - ? '0.' + repeat.call('0', fractDigits - k) + result - : result.slice(0, k - fractDigits) + '.' + result.slice(k - fractDigits)); - } else { - result = sign + result; - } return result; - } -}); - - -/***/ }), - -/***/ "8ydS": -/*!************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.date.now.js ***! - \************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); - -// `Date.now` method -// https://tc39.es/ecma262/#sec-date.now -$({ target: 'Date', stat: true }, { - now: function now() { - return new Date().getTime(); - } -}); - - -/***/ }), - -/***/ "94Vg": -/*!***************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/define-well-known-symbol.js ***! - \***************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var path = __webpack_require__(/*! ../internals/path */ "E7aN"); -var has = __webpack_require__(/*! ../internals/has */ "OG5q"); -var wrappedWellKnownSymbolModule = __webpack_require__(/*! ../internals/well-known-symbol-wrapped */ "aGCb"); -var defineProperty = __webpack_require__(/*! ../internals/object-define-property */ "/Ybd").f; - -module.exports = function (NAME) { - var Symbol = path.Symbol || (path.Symbol = {}); - if (!has(Symbol, NAME)) defineProperty(Symbol, NAME, { - value: wrappedWellKnownSymbolModule.f(NAME) - }); -}; - - -/***/ }), - -/***/ "9kNm": -/*!***********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.symbol.to-primitive.js ***! - \***********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var defineWellKnownSymbol = __webpack_require__(/*! ../internals/define-well-known-symbol */ "94Vg"); - -// `Symbol.toPrimitive` well-known symbol -// https://tc39.es/ecma262/#sec-symbol.toprimitive -defineWellKnownSymbol('toPrimitive'); - - -/***/ }), - -/***/ "A1Hp": -/*!*********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/add-to-unscopables.js ***! - \*********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "m41k"); -var create = __webpack_require__(/*! ../internals/object-create */ "2RDa"); -var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "/Ybd"); - -var UNSCOPABLES = wellKnownSymbol('unscopables'); -var ArrayPrototype = Array.prototype; - -// Array.prototype[@@unscopables] -// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables -if (ArrayPrototype[UNSCOPABLES] == undefined) { - definePropertyModule.f(ArrayPrototype, UNSCOPABLES, { - configurable: true, - value: create(null) - }); -} - -// add a key to Array.prototype[@@unscopables] -module.exports = function (key) { - ArrayPrototype[UNSCOPABLES][key] = true; -}; - - -/***/ }), - -/***/ "A7hN": -/*!***************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.object.get-prototype-of.js ***! - \***************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); -var toObject = __webpack_require__(/*! ../internals/to-object */ "VCQ8"); -var nativeGetPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ "wIVT"); -var CORRECT_PROTOTYPE_GETTER = __webpack_require__(/*! ../internals/correct-prototype-getter */ "cwa4"); - -var FAILS_ON_PRIMITIVES = fails(function () { nativeGetPrototypeOf(1); }); - -// `Object.getPrototypeOf` method -// https://tc39.es/ecma262/#sec-object.getprototypeof -$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !CORRECT_PROTOTYPE_GETTER }, { - getPrototypeOf: function getPrototypeOf(it) { - return nativeGetPrototypeOf(toObject(it)); - } -}); - - - -/***/ }), - -/***/ "Ay+M": -/*!***************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.parse-float.js ***! - \***************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var parseFloatImplementation = __webpack_require__(/*! ../internals/number-parse-float */ "vZCr"); - -// `parseFloat` method -// https://tc39.es/ecma262/#sec-parsefloat-string -$({ global: true, forced: parseFloat != parseFloatImplementation }, { - parseFloat: parseFloatImplementation -}); - - -/***/ }), - -/***/ "B43K": -/*!*****************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/engine-is-node.js ***! - \*****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var classof = __webpack_require__(/*! ../internals/classof-raw */ "ezU2"); -var global = __webpack_require__(/*! ../internals/global */ "ocAm"); - -module.exports = classof(global.process) == 'process'; - - -/***/ }), - -/***/ "BaTD": -/*!*****************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.string.repeat.js ***! - \*****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var repeat = __webpack_require__(/*! ../internals/string-repeat */ "EMWV"); - -// `String.prototype.repeat` method -// https://tc39.es/ecma262/#sec-string.prototype.repeat -$({ target: 'String', proto: true }, { - repeat: repeat -}); - - -/***/ }), - -/***/ "BcWx": -/*!************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.array.of.js ***! - \************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); -var createProperty = __webpack_require__(/*! ../internals/create-property */ "DYg9"); - -var ISNT_GENERIC = fails(function () { - function F() { /* empty */ } - return !(Array.of.call(F) instanceof F); -}); - -// `Array.of` method -// https://tc39.es/ecma262/#sec-array.of -// WebKit Array.of isn't generic -$({ target: 'Array', stat: true, forced: ISNT_GENERIC }, { - of: function of(/* ...args */) { - var index = 0; - var argumentsLength = arguments.length; - var result = new (typeof this == 'function' ? this : Array)(argumentsLength); - while (argumentsLength > index) createProperty(result, index, arguments[index++]); - result.length = argumentsLength; - return result; - } -}); - - -/***/ }), - -/***/ "BlSG": -/*!*************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.reflect.is-extensible.js ***! - \*************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var anObject = __webpack_require__(/*! ../internals/an-object */ "F26l"); - -var objectIsExtensible = Object.isExtensible; - -// `Reflect.isExtensible` method -// https://tc39.es/ecma262/#sec-reflect.isextensible -$({ target: 'Reflect', stat: true }, { - isExtensible: function isExtensible(target) { - anObject(target); - return objectIsExtensible ? objectIsExtensible(target) : true; - } -}); - - -/***/ }), - -/***/ "BnCb": -/*!*************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.math.sign.js ***! - \*************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var sign = __webpack_require__(/*! ../internals/math-sign */ "n/2t"); - -// `Math.sign` method -// https://tc39.es/ecma262/#sec-math.sign -$({ target: 'Math', stat: true }, { - sign: sign -}); - - -/***/ }), - -/***/ "COcp": -/*!*********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.number.is-integer.js ***! - \*********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var isInteger = __webpack_require__(/*! ../internals/is-integer */ "Nvxz"); - -// `Number.isInteger` method -// https://tc39.es/ecma262/#sec-number.isinteger -$({ target: 'Number', stat: true }, { - isInteger: isInteger -}); - - -/***/ }), - -/***/ "CW9j": -/*!********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/date-to-primitive.js ***! - \********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var anObject = __webpack_require__(/*! ../internals/an-object */ "F26l"); -var toPrimitive = __webpack_require__(/*! ../internals/to-primitive */ "LdO1"); - -module.exports = function (hint) { - if (hint !== 'string' && hint !== 'number' && hint !== 'default') { - throw TypeError('Incorrect hint'); - } return toPrimitive(anObject(this), hint !== 'number'); -}; - - -/***/ }), - -/***/ "Cme9": -/*!***************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.reflect.set.js ***! - \***************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var anObject = __webpack_require__(/*! ../internals/an-object */ "F26l"); -var isObject = __webpack_require__(/*! ../internals/is-object */ "6XUM"); -var has = __webpack_require__(/*! ../internals/has */ "OG5q"); -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); -var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "/Ybd"); -var getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "7gGY"); -var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ "wIVT"); -var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "uSMZ"); - -// `Reflect.set` method -// https://tc39.es/ecma262/#sec-reflect.set -function set(target, propertyKey, V /* , receiver */) { - var receiver = arguments.length < 4 ? target : arguments[3]; - var ownDescriptor = getOwnPropertyDescriptorModule.f(anObject(target), propertyKey); - var existingDescriptor, prototype; - if (!ownDescriptor) { - if (isObject(prototype = getPrototypeOf(target))) { - return set(prototype, propertyKey, V, receiver); - } - ownDescriptor = createPropertyDescriptor(0); - } - if (has(ownDescriptor, 'value')) { - if (ownDescriptor.writable === false || !isObject(receiver)) return false; - if (existingDescriptor = getOwnPropertyDescriptorModule.f(receiver, propertyKey)) { - if (existingDescriptor.get || existingDescriptor.set || existingDescriptor.writable === false) return false; - existingDescriptor.value = V; - definePropertyModule.f(receiver, propertyKey, existingDescriptor); - } else definePropertyModule.f(receiver, propertyKey, createPropertyDescriptor(0, V)); - return true; - } - return ownDescriptor.set === undefined ? false : (ownDescriptor.set.call(receiver, V), true); -} - -// MS Edge 17-18 Reflect.set allows setting the property to object -// with non-writable property on the prototype -var MS_EDGE_BUG = fails(function () { - var Constructor = function () { /* empty */ }; - var object = definePropertyModule.f(new Constructor(), 'a', { configurable: true }); - // eslint-disable-next-line no-undef - return Reflect.set(Constructor.prototype, 'a', 1, object) !== false; -}); - -$({ target: 'Reflect', stat: true, forced: MS_EDGE_BUG }, { - set: set -}); - - -/***/ }), - -/***/ "CwIO": -/*!**************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.math.hypot.js ***! - \**************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); - -var $hypot = Math.hypot; -var abs = Math.abs; -var sqrt = Math.sqrt; - -// Chrome 77 bug -// https://bugs.chromium.org/p/v8/issues/detail?id=9546 -var BUGGY = !!$hypot && $hypot(Infinity, NaN) !== Infinity; - -// `Math.hypot` method -// https://tc39.es/ecma262/#sec-math.hypot -$({ target: 'Math', stat: true, forced: BUGGY }, { - hypot: function hypot(value1, value2) { // eslint-disable-line no-unused-vars - var sum = 0; - var i = 0; - var aLen = arguments.length; - var larg = 0; - var arg, div; - while (i < aLen) { - arg = abs(arguments[i++]); - if (larg < arg) { - div = larg / arg; - sum = sum * div * div + 1; - larg = arg; - } else if (arg > 0) { - div = arg / larg; - sum += div * div; - } else sum += arg; - } - return larg === Infinity ? Infinity : larg * sqrt(sum); - } -}); - - -/***/ }), - -/***/ "D+RQ": -/*!**********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.number.constructor.js ***! - \**********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "T69T"); -var global = __webpack_require__(/*! ../internals/global */ "ocAm"); -var isForced = __webpack_require__(/*! ../internals/is-forced */ "MkZA"); -var redefine = __webpack_require__(/*! ../internals/redefine */ "2MGJ"); -var has = __webpack_require__(/*! ../internals/has */ "OG5q"); -var classof = __webpack_require__(/*! ../internals/classof-raw */ "ezU2"); -var inheritIfRequired = __webpack_require__(/*! ../internals/inherit-if-required */ "K6ZX"); -var toPrimitive = __webpack_require__(/*! ../internals/to-primitive */ "LdO1"); -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); -var create = __webpack_require__(/*! ../internals/object-create */ "2RDa"); -var getOwnPropertyNames = __webpack_require__(/*! ../internals/object-get-own-property-names */ "KkqW").f; -var getOwnPropertyDescriptor = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "7gGY").f; -var defineProperty = __webpack_require__(/*! ../internals/object-define-property */ "/Ybd").f; -var trim = __webpack_require__(/*! ../internals/string-trim */ "jnLS").trim; - -var NUMBER = 'Number'; -var NativeNumber = global[NUMBER]; -var NumberPrototype = NativeNumber.prototype; - -// Opera ~12 has broken Object#toString -var BROKEN_CLASSOF = classof(create(NumberPrototype)) == NUMBER; - -// `ToNumber` abstract operation -// https://tc39.es/ecma262/#sec-tonumber -var toNumber = function (argument) { - var it = toPrimitive(argument, false); - var first, third, radix, maxCode, digits, length, index, code; - if (typeof it == 'string' && it.length > 2) { - it = trim(it); - first = it.charCodeAt(0); - if (first === 43 || first === 45) { - third = it.charCodeAt(2); - if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix - } else if (first === 48) { - switch (it.charCodeAt(1)) { - case 66: case 98: radix = 2; maxCode = 49; break; // fast equal of /^0b[01]+$/i - case 79: case 111: radix = 8; maxCode = 55; break; // fast equal of /^0o[0-7]+$/i - default: return +it; - } - digits = it.slice(2); - length = digits.length; - for (index = 0; index < length; index++) { - code = digits.charCodeAt(index); - // parseInt parses a string to a first unavailable symbol - // but ToNumber should return NaN if a string contains unavailable symbols - if (code < 48 || code > maxCode) return NaN; - } return parseInt(digits, radix); - } - } return +it; -}; - -// `Number` constructor -// https://tc39.es/ecma262/#sec-number-constructor -if (isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1'))) { - var NumberWrapper = function Number(value) { - var it = arguments.length < 1 ? 0 : value; - var dummy = this; - return dummy instanceof NumberWrapper - // check on 1..constructor(foo) case - && (BROKEN_CLASSOF ? fails(function () { NumberPrototype.valueOf.call(dummy); }) : classof(dummy) != NUMBER) - ? inheritIfRequired(new NativeNumber(toNumber(it)), dummy, NumberWrapper) : toNumber(it); - }; - for (var keys = DESCRIPTORS ? getOwnPropertyNames(NativeNumber) : ( - // ES3: - 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' + - // ES2015 (in case, if modules with ES2015 Number statics required before): - 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' + - 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,' + - // ESNext - 'fromString,range' - ).split(','), j = 0, key; keys.length > j; j++) { - if (has(NativeNumber, key = keys[j]) && !has(NumberWrapper, key)) { - defineProperty(NumberWrapper, key, getOwnPropertyDescriptor(NativeNumber, key)); - } - } - NumberWrapper.prototype = NumberPrototype; - NumberPrototype.constructor = NumberWrapper; - redefine(global, NUMBER, NumberWrapper); -} - - -/***/ }), - -/***/ "D3bo": -/*!********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/engine-v8-version.js ***! - \********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var global = __webpack_require__(/*! ../internals/global */ "ocAm"); -var userAgent = __webpack_require__(/*! ../internals/engine-user-agent */ "T/Kj"); - -var process = global.process; -var versions = process && process.versions; -var v8 = versions && versions.v8; -var match, version; - -if (v8) { - match = v8.split('.'); - version = match[0] + match[1]; -} else if (userAgent) { - match = userAgent.match(/Edge\/(\d+)/); - if (!match || match[1] >= 74) { - match = userAgent.match(/Chrome\/(\d+)/); - if (match) version = match[1]; - } -} - -module.exports = version && +version; - - -/***/ }), - -/***/ "D94X": -/*!*************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.math.cbrt.js ***! - \*************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var sign = __webpack_require__(/*! ../internals/math-sign */ "n/2t"); - -var abs = Math.abs; -var pow = Math.pow; - -// `Math.cbrt` method -// https://tc39.es/ecma262/#sec-math.cbrt -$({ target: 'Math', stat: true }, { - cbrt: function cbrt(x) { - return sign(x = +x) * pow(abs(x), 1 / 3); - } -}); - - -/***/ }), - -/***/ "DAme": -/*!******************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/collection-weak.js ***! - \******************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var redefineAll = __webpack_require__(/*! ../internals/redefine-all */ "8aNu"); -var getWeakData = __webpack_require__(/*! ../internals/internal-metadata */ "M7Xk").getWeakData; -var anObject = __webpack_require__(/*! ../internals/an-object */ "F26l"); -var isObject = __webpack_require__(/*! ../internals/is-object */ "6XUM"); -var anInstance = __webpack_require__(/*! ../internals/an-instance */ "SM6+"); -var iterate = __webpack_require__(/*! ../internals/iterate */ "Rn6E"); -var ArrayIterationModule = __webpack_require__(/*! ../internals/array-iteration */ "kk6e"); -var $has = __webpack_require__(/*! ../internals/has */ "OG5q"); -var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "XH/I"); - -var setInternalState = InternalStateModule.set; -var internalStateGetterFor = InternalStateModule.getterFor; -var find = ArrayIterationModule.find; -var findIndex = ArrayIterationModule.findIndex; -var id = 0; - -// fallback for uncaught frozen keys -var uncaughtFrozenStore = function (store) { - return store.frozen || (store.frozen = new UncaughtFrozenStore()); -}; - -var UncaughtFrozenStore = function () { - this.entries = []; -}; - -var findUncaughtFrozen = function (store, key) { - return find(store.entries, function (it) { - return it[0] === key; - }); -}; - -UncaughtFrozenStore.prototype = { - get: function (key) { - var entry = findUncaughtFrozen(this, key); - if (entry) return entry[1]; - }, - has: function (key) { - return !!findUncaughtFrozen(this, key); - }, - set: function (key, value) { - var entry = findUncaughtFrozen(this, key); - if (entry) entry[1] = value; - else this.entries.push([key, value]); - }, - 'delete': function (key) { - var index = findIndex(this.entries, function (it) { - return it[0] === key; - }); - if (~index) this.entries.splice(index, 1); - return !!~index; - } -}; - -module.exports = { - getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) { - var C = wrapper(function (that, iterable) { - anInstance(that, C, CONSTRUCTOR_NAME); - setInternalState(that, { - type: CONSTRUCTOR_NAME, - id: id++, - frozen: undefined - }); - if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP }); - }); - - var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME); - - var define = function (that, key, value) { - var state = getInternalState(that); - var data = getWeakData(anObject(key), true); - if (data === true) uncaughtFrozenStore(state).set(key, value); - else data[state.id] = value; - return that; - }; - - redefineAll(C.prototype, { - // 23.3.3.2 WeakMap.prototype.delete(key) - // 23.4.3.3 WeakSet.prototype.delete(value) - 'delete': function (key) { - var state = getInternalState(this); - if (!isObject(key)) return false; - var data = getWeakData(key); - if (data === true) return uncaughtFrozenStore(state)['delete'](key); - return data && $has(data, state.id) && delete data[state.id]; - }, - // 23.3.3.4 WeakMap.prototype.has(key) - // 23.4.3.4 WeakSet.prototype.has(value) - has: function has(key) { - var state = getInternalState(this); - if (!isObject(key)) return false; - var data = getWeakData(key); - if (data === true) return uncaughtFrozenStore(state).has(key); - return data && $has(data, state.id); - } - }); - - redefineAll(C.prototype, IS_MAP ? { - // 23.3.3.3 WeakMap.prototype.get(key) - get: function get(key) { - var state = getInternalState(this); - if (isObject(key)) { - var data = getWeakData(key); - if (data === true) return uncaughtFrozenStore(state).get(key); - return data ? data[state.id] : undefined; - } - }, - // 23.3.3.5 WeakMap.prototype.set(key, value) - set: function set(key, value) { - return define(this, key, value); - } - } : { - // 23.4.3.1 WeakSet.prototype.add(value) - add: function add(value) { - return define(this, value, true); - } - }); - - return C; - } -}; - - -/***/ }), - -/***/ "DGHb": -/*!****************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.date.to-json.js ***! - \****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); -var toObject = __webpack_require__(/*! ../internals/to-object */ "VCQ8"); -var toPrimitive = __webpack_require__(/*! ../internals/to-primitive */ "LdO1"); - -var FORCED = fails(function () { - return new Date(NaN).toJSON() !== null - || Date.prototype.toJSON.call({ toISOString: function () { return 1; } }) !== 1; -}); - -// `Date.prototype.toJSON` method -// https://tc39.es/ecma262/#sec-date.prototype.tojson -$({ target: 'Date', proto: true, forced: FORCED }, { - // eslint-disable-next-line no-unused-vars - toJSON: function toJSON(key) { - var O = toObject(this); - var pv = toPrimitive(O); - return typeof pv == 'number' && !isFinite(pv) ? null : O.toISOString(); - } -}); - - -/***/ }), - -/***/ "DYg9": -/*!******************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/create-property.js ***! - \******************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var toPrimitive = __webpack_require__(/*! ../internals/to-primitive */ "LdO1"); -var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "/Ybd"); -var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "uSMZ"); - -module.exports = function (object, key, value) { - var propertyKey = toPrimitive(key); - if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value)); - else object[propertyKey] = value; -}; - - -/***/ }), - -/***/ "Djps": -/*!**************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.math.log1p.js ***! - \**************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var log1p = __webpack_require__(/*! ../internals/math-log1p */ "O3xq"); - -// `Math.log1p` method -// https://tc39.es/ecma262/#sec-math.log1p -$({ target: 'Math', stat: true }, { log1p: log1p }); - - -/***/ }), - -/***/ "DscF": -/*!**************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.array.fill.js ***! - \**************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var fill = __webpack_require__(/*! ../internals/array-fill */ "w4Hq"); -var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ "A1Hp"); - -// `Array.prototype.fill` method -// https://tc39.es/ecma262/#sec-array.prototype.fill -$({ target: 'Array', proto: true }, { - fill: fill -}); - -// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables -addToUnscopables('fill'); - - -/***/ }), - -/***/ "E7aN": -/*!*******************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/path.js ***! - \*******************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var global = __webpack_require__(/*! ../internals/global */ "ocAm"); - -module.exports = global; - - -/***/ }), - -/***/ "E8Ab": -/*!****************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/function-bind.js ***! - \****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var aFunction = __webpack_require__(/*! ../internals/a-function */ "Neub"); -var isObject = __webpack_require__(/*! ../internals/is-object */ "6XUM"); - -var slice = [].slice; -var factories = {}; - -var construct = function (C, argsLength, args) { - if (!(argsLength in factories)) { - for (var list = [], i = 0; i < argsLength; i++) list[i] = 'a[' + i + ']'; - // eslint-disable-next-line no-new-func - factories[argsLength] = Function('C,a', 'return new C(' + list.join(',') + ')'); - } return factories[argsLength](C, args); -}; - -// `Function.prototype.bind` method implementation -// https://tc39.es/ecma262/#sec-function.prototype.bind -module.exports = Function.bind || function bind(that /* , ...args */) { - var fn = aFunction(this); - var partArgs = slice.call(arguments, 1); - var boundFunction = function bound(/* args... */) { - var args = partArgs.concat(slice.call(arguments)); - return this instanceof boundFunction ? construct(fn, args.length, args) : fn.apply(that, args); - }; - if (isObject(fn.prototype)) boundFunction.prototype = fn.prototype; - return boundFunction; -}; - - -/***/ }), - -/***/ "EIBq": -/*!*********************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/check-correctness-of-iteration.js ***! - \*********************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "m41k"); - -var ITERATOR = wellKnownSymbol('iterator'); -var SAFE_CLOSING = false; - -try { - var called = 0; - var iteratorWithReturn = { - next: function () { - return { done: !!called++ }; - }, - 'return': function () { - SAFE_CLOSING = true; - } - }; - iteratorWithReturn[ITERATOR] = function () { - return this; - }; - // eslint-disable-next-line no-throw-literal - Array.from(iteratorWithReturn, function () { throw 2; }); -} catch (error) { /* empty */ } - -module.exports = function (exec, SKIP_CLOSING) { - if (!SKIP_CLOSING && !SAFE_CLOSING) return false; - var ITERATION_SUPPORT = false; - try { - var object = {}; - object[ITERATOR] = function () { - return { - next: function () { - return { done: ITERATION_SUPPORT = true }; - } - }; - }; - exec(object); - } catch (error) { /* empty */ } - return ITERATION_SUPPORT; -}; - - -/***/ }), - -/***/ "EMWV": -/*!****************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/string-repeat.js ***! - \****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var toInteger = __webpack_require__(/*! ../internals/to-integer */ "vDBE"); -var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "hmpk"); - -// `String.prototype.repeat` method implementation -// https://tc39.es/ecma262/#sec-string.prototype.repeat -module.exports = ''.repeat || function repeat(count) { - var str = String(requireObjectCoercible(this)); - var result = ''; - var n = toInteger(count); - if (n < 0 || n == Infinity) throw RangeError('Wrong number of repetitions'); - for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str; - return result; -}; - - -/***/ }), - -/***/ "EMtK": -/*!********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/to-indexed-object.js ***! - \********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -// toObject with fallback for non-array-like ES3 strings -var IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ "tUdv"); -var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "hmpk"); - -module.exports = function (it) { - return IndexedObject(requireObjectCoercible(it)); -}; - - -/***/ }), - -/***/ "EQZg": -/*!*************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/same-value.js ***! - \*************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -// `SameValue` abstract operation -// https://tc39.es/ecma262/#sec-samevalue -module.exports = Object.is || function is(x, y) { - // eslint-disable-next-line no-self-compare - return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y; -}; - - -/***/ }), - -/***/ "ERXZ": -/*!****************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.symbol.match.js ***! - \****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var defineWellKnownSymbol = __webpack_require__(/*! ../internals/define-well-known-symbol */ "94Vg"); - -// `Symbol.match` well-known symbol -// https://tc39.es/ecma262/#sec-symbol.match -defineWellKnownSymbol('match'); - - -/***/ }), - -/***/ "EiAZ": -/*!*********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.reflect.construct.js ***! - \*********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "Ew/G"); -var aFunction = __webpack_require__(/*! ../internals/a-function */ "Neub"); -var anObject = __webpack_require__(/*! ../internals/an-object */ "F26l"); -var isObject = __webpack_require__(/*! ../internals/is-object */ "6XUM"); -var create = __webpack_require__(/*! ../internals/object-create */ "2RDa"); -var bind = __webpack_require__(/*! ../internals/function-bind */ "E8Ab"); -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); - -var nativeConstruct = getBuiltIn('Reflect', 'construct'); - -// `Reflect.construct` method -// https://tc39.es/ecma262/#sec-reflect.construct -// MS Edge supports only 2 arguments and argumentsList argument is optional -// FF Nightly sets third argument as `new.target`, but does not create `this` from it -var NEW_TARGET_BUG = fails(function () { - function F() { /* empty */ } - return !(nativeConstruct(function () { /* empty */ }, [], F) instanceof F); -}); -var ARGS_BUG = !fails(function () { - nativeConstruct(function () { /* empty */ }); -}); -var FORCED = NEW_TARGET_BUG || ARGS_BUG; - -$({ target: 'Reflect', stat: true, forced: FORCED, sham: FORCED }, { - construct: function construct(Target, args /* , newTarget */) { - aFunction(Target); - anObject(args); - var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]); - if (ARGS_BUG && !NEW_TARGET_BUG) return nativeConstruct(Target, args, newTarget); - if (Target == newTarget) { - // w/o altered newTarget, optimization for 0-4 arguments - switch (args.length) { - case 0: return new Target(); - case 1: return new Target(args[0]); - case 2: return new Target(args[0], args[1]); - case 3: return new Target(args[0], args[1], args[2]); - case 4: return new Target(args[0], args[1], args[2], args[3]); - } - // w/o altered newTarget, lot of arguments case - var $args = [null]; - $args.push.apply($args, args); - return new (bind.apply(Target, $args))(); - } - // with altered newTarget, not support built-in constructors - var proto = newTarget.prototype; - var instance = create(isObject(proto) ? proto : Object.prototype); - var result = Function.apply.call(Target, instance, args); - return isObject(result) ? result : instance; - } -}); - - -/***/ }), - -/***/ "Ejw8": -/*!*****************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.reflect.apply.js ***! - \*****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "Ew/G"); -var aFunction = __webpack_require__(/*! ../internals/a-function */ "Neub"); -var anObject = __webpack_require__(/*! ../internals/an-object */ "F26l"); -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); - -var nativeApply = getBuiltIn('Reflect', 'apply'); -var functionApply = Function.apply; - -// MS Edge argumentsList argument is optional -var OPTIONAL_ARGUMENTS_LIST = !fails(function () { - nativeApply(function () { /* empty */ }); -}); - -// `Reflect.apply` method -// https://tc39.es/ecma262/#sec-reflect.apply -$({ target: 'Reflect', stat: true, forced: OPTIONAL_ARGUMENTS_LIST }, { - apply: function apply(target, thisArgument, argumentsList) { - aFunction(target); - anObject(argumentsList); - return nativeApply - ? nativeApply(target, thisArgument, argumentsList) - : functionApply.call(target, thisArgument, argumentsList); - } -}); - - -/***/ }), - -/***/ "EntM": -/*!****************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.object.define-properties.js ***! - \****************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "T69T"); -var defineProperties = __webpack_require__(/*! ../internals/object-define-properties */ "5y2d"); - -// `Object.defineProperties` method -// https://tc39.es/ecma262/#sec-object.defineproperties -$({ target: 'Object', stat: true, forced: !DESCRIPTORS, sham: !DESCRIPTORS }, { - defineProperties: defineProperties -}); - - -/***/ }), - -/***/ "Ew/G": -/*!***************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/get-built-in.js ***! - \***************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var path = __webpack_require__(/*! ../internals/path */ "E7aN"); -var global = __webpack_require__(/*! ../internals/global */ "ocAm"); - -var aFunction = function (variable) { - return typeof variable == 'function' ? variable : undefined; -}; - -module.exports = function (namespace, method) { - return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global[namespace]) - : path[namespace] && path[namespace][method] || global[namespace] && global[namespace][method]; -}; - - -/***/ }), - -/***/ "F/TS": -/*!**********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/get-iterator-method.js ***! - \**********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var classof = __webpack_require__(/*! ../internals/classof */ "mN5b"); -var Iterators = __webpack_require__(/*! ../internals/iterators */ "pz+c"); -var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "m41k"); - -var ITERATOR = wellKnownSymbol('iterator'); - -module.exports = function (it) { - if (it != undefined) return it[ITERATOR] - || it['@@iterator'] - || Iterators[classof(it)]; -}; - - -/***/ }), - -/***/ "F26l": -/*!************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/an-object.js ***! - \************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var isObject = __webpack_require__(/*! ../internals/is-object */ "6XUM"); - -module.exports = function (it) { - if (!isObject(it)) { - throw TypeError(String(it) + ' is not an object'); - } return it; -}; - - -/***/ }), - -/***/ "F4rZ": -/*!****************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.array.concat.js ***! - \****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); -var isArray = __webpack_require__(/*! ../internals/is-array */ "erNl"); -var isObject = __webpack_require__(/*! ../internals/is-object */ "6XUM"); -var toObject = __webpack_require__(/*! ../internals/to-object */ "VCQ8"); -var toLength = __webpack_require__(/*! ../internals/to-length */ "xpLY"); -var createProperty = __webpack_require__(/*! ../internals/create-property */ "DYg9"); -var arraySpeciesCreate = __webpack_require__(/*! ../internals/array-species-create */ "JafA"); -var arrayMethodHasSpeciesSupport = __webpack_require__(/*! ../internals/array-method-has-species-support */ "lRyB"); -var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "m41k"); -var V8_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ "D3bo"); - -var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable'); -var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; -var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded'; - -// We can't use this feature detection in V8 since it causes -// deoptimization and serious performance degradation -// https://github.com/zloirock/core-js/issues/679 -var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () { - var array = []; - array[IS_CONCAT_SPREADABLE] = false; - return array.concat()[0] !== array; -}); - -var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat'); - -var isConcatSpreadable = function (O) { - if (!isObject(O)) return false; - var spreadable = O[IS_CONCAT_SPREADABLE]; - return spreadable !== undefined ? !!spreadable : isArray(O); -}; - -var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT; - -// `Array.prototype.concat` method -// https://tc39.es/ecma262/#sec-array.prototype.concat -// with adding support of @@isConcatSpreadable and @@species -$({ target: 'Array', proto: true, forced: FORCED }, { - concat: function concat(arg) { // eslint-disable-line no-unused-vars - var O = toObject(this); - var A = arraySpeciesCreate(O, 0); - var n = 0; - var i, k, length, len, E; - for (i = -1, length = arguments.length; i < length; i++) { - E = i === -1 ? O : arguments[i]; - if (isConcatSpreadable(E)) { - len = toLength(E.length); - if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED); - for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]); - } else { - if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED); - createProperty(A, n++, E); - } - } - A.length = n; - return A; - } -}); - - -/***/ }), - -/***/ "FU1i": -/*!*************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.array.map.js ***! - \*************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var $map = __webpack_require__(/*! ../internals/array-iteration */ "kk6e").map; -var arrayMethodHasSpeciesSupport = __webpack_require__(/*! ../internals/array-method-has-species-support */ "lRyB"); -var arrayMethodUsesToLength = __webpack_require__(/*! ../internals/array-method-uses-to-length */ "w2hq"); - -var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map'); -// FF49- issue -var USES_TO_LENGTH = arrayMethodUsesToLength('map'); - -// `Array.prototype.map` method -// https://tc39.es/ecma262/#sec-array.prototype.map -// with adding support of @@species -$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, { - map: function map(callbackfn /* , thisArg */) { - return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); - } -}); - - -/***/ }), - -/***/ "FeI/": -/*!***************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.array.every.js ***! - \***************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var $every = __webpack_require__(/*! ../internals/array-iteration */ "kk6e").every; -var arrayMethodIsStrict = __webpack_require__(/*! ../internals/array-method-is-strict */ "6CJb"); -var arrayMethodUsesToLength = __webpack_require__(/*! ../internals/array-method-uses-to-length */ "w2hq"); - -var STRICT_METHOD = arrayMethodIsStrict('every'); -var USES_TO_LENGTH = arrayMethodUsesToLength('every'); - -// `Array.prototype.every` method -// https://tc39.es/ecma262/#sec-array.prototype.every -$({ target: 'Array', proto: true, forced: !STRICT_METHOD || !USES_TO_LENGTH }, { - every: function every(callbackfn /* , thisArg */) { - return $every(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); - } -}); - - -/***/ }), - -/***/ "Fqhe": -/*!*************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/set-global.js ***! - \*************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var global = __webpack_require__(/*! ../internals/global */ "ocAm"); -var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "aJMj"); - -module.exports = function (key, value) { - try { - createNonEnumerableProperty(global, key, value); - } catch (error) { - global[key] = value; - } return value; -}; - - -/***/ }), - -/***/ "G1Vw": -/*!*****************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/iterators-core.js ***! - \*****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); -var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ "wIVT"); -var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "aJMj"); -var has = __webpack_require__(/*! ../internals/has */ "OG5q"); -var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "m41k"); -var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "g9hI"); - -var ITERATOR = wellKnownSymbol('iterator'); -var BUGGY_SAFARI_ITERATORS = false; - -var returnThis = function () { return this; }; - -// `%IteratorPrototype%` object -// https://tc39.es/ecma262/#sec-%iteratorprototype%-object -var IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator; - -if ([].keys) { - arrayIterator = [].keys(); - // Safari 8 has buggy iterators w/o `next` - if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true; - else { - PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator)); - if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype; - } -} - -var NEW_ITERATOR_PROTOTYPE = IteratorPrototype == undefined || fails(function () { - var test = {}; - // FF44- legacy iterators case - return IteratorPrototype[ITERATOR].call(test) !== test; -}); - -if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {}; - -// 25.1.2.1.1 %IteratorPrototype%[@@iterator]() -if ((!IS_PURE || NEW_ITERATOR_PROTOTYPE) && !has(IteratorPrototype, ITERATOR)) { - createNonEnumerableProperty(IteratorPrototype, ITERATOR, returnThis); -} - -module.exports = { - IteratorPrototype: IteratorPrototype, - BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS -}; - - -/***/ }), - -/***/ "G7bs": -/*!*******************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/string-multibyte.js ***! - \*******************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var toInteger = __webpack_require__(/*! ../internals/to-integer */ "vDBE"); -var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "hmpk"); - -// `String.prototype.{ codePointAt, at }` methods implementation -var createMethod = function (CONVERT_TO_STRING) { - return function ($this, pos) { - var S = String(requireObjectCoercible($this)); - var position = toInteger(pos); - var size = S.length; - var first, second; - if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined; - first = S.charCodeAt(position); - return first < 0xD800 || first > 0xDBFF || position + 1 === size - || (second = S.charCodeAt(position + 1)) < 0xDC00 || second > 0xDFFF - ? CONVERT_TO_STRING ? S.charAt(position) : first - : CONVERT_TO_STRING ? S.slice(position, position + 2) : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000; - }; -}; - -module.exports = { - // `String.prototype.codePointAt` method - // https://tc39.es/ecma262/#sec-string.prototype.codepointat - codeAt: createMethod(false), - // `String.prototype.at` method - // https://github.com/mathiasbynens/String.prototype.at - charAt: createMethod(true) -}; - - -/***/ }), - -/***/ "HSQg": -/*!*************************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js ***! - \*************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -// TODO: Remove from `core-js@4` since it's moved to entry points -__webpack_require__(/*! ../modules/es.regexp.exec */ "SC6u"); -var redefine = __webpack_require__(/*! ../internals/redefine */ "2MGJ"); -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); -var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "m41k"); -var regexpExec = __webpack_require__(/*! ../internals/regexp-exec */ "qjkP"); -var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "aJMj"); - -var SPECIES = wellKnownSymbol('species'); - -var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () { - // #replace needs built-in support for named groups. - // #match works fine because it just return the exec results, even if it has - // a "grops" property. - var re = /./; - re.exec = function () { - var result = []; - result.groups = { a: '7' }; - return result; - }; - return ''.replace(re, '$') !== '7'; -}); - -// IE <= 11 replaces $0 with the whole match, as if it was $& -// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0 -var REPLACE_KEEPS_$0 = (function () { - return 'a'.replace(/./, '$0') === '$0'; -})(); - -var REPLACE = wellKnownSymbol('replace'); -// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string -var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () { - if (/./[REPLACE]) { - return /./[REPLACE]('a', '$0') === ''; - } - return false; -})(); - -// Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec -// Weex JS has frozen built-in prototypes, so use try / catch wrapper -var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () { - var re = /(?:)/; - var originalExec = re.exec; - re.exec = function () { return originalExec.apply(this, arguments); }; - var result = 'ab'.split(re); - return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b'; -}); - -module.exports = function (KEY, length, exec, sham) { - var SYMBOL = wellKnownSymbol(KEY); - - var DELEGATES_TO_SYMBOL = !fails(function () { - // String methods call symbol-named RegEp methods - var O = {}; - O[SYMBOL] = function () { return 7; }; - return ''[KEY](O) != 7; - }); - - var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () { - // Symbol-named RegExp methods call .exec - var execCalled = false; - var re = /a/; - - if (KEY === 'split') { - // We can't use real regex here since it causes deoptimization - // and serious performance degradation in V8 - // https://github.com/zloirock/core-js/issues/306 - re = {}; - // RegExp[@@split] doesn't call the regex's exec method, but first creates - // a new one. We need to return the patched regex when creating the new one. - re.constructor = {}; - re.constructor[SPECIES] = function () { return re; }; - re.flags = ''; - re[SYMBOL] = /./[SYMBOL]; - } - - re.exec = function () { execCalled = true; return null; }; - - re[SYMBOL](''); - return !execCalled; - }); - - if ( - !DELEGATES_TO_SYMBOL || - !DELEGATES_TO_EXEC || - (KEY === 'replace' && !( - REPLACE_SUPPORTS_NAMED_GROUPS && - REPLACE_KEEPS_$0 && - !REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE - )) || - (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC) - ) { - var nativeRegExpMethod = /./[SYMBOL]; - var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) { - if (regexp.exec === regexpExec) { - if (DELEGATES_TO_SYMBOL && !forceStringMethod) { - // The native String method already delegates to @@method (this - // polyfilled function), leasing to infinite recursion. - // We avoid it by directly calling the native @@method method. - return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) }; - } - return { done: true, value: nativeMethod.call(str, regexp, arg2) }; - } - return { done: false }; - }, { - REPLACE_KEEPS_$0: REPLACE_KEEPS_$0, - REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE: REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE - }); - var stringMethod = methods[0]; - var regexMethod = methods[1]; - - redefine(String.prototype, KEY, stringMethod); - redefine(RegExp.prototype, SYMBOL, length == 2 - // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue) - // 21.2.5.11 RegExp.prototype[@@split](string, limit) - ? function (string, arg) { return regexMethod.call(string, this, arg); } - // 21.2.5.6 RegExp.prototype[@@match](string) - // 21.2.5.9 RegExp.prototype[@@search](string) - : function (string) { return regexMethod.call(string, this); } - ); - } - - if (sham) createNonEnumerableProperty(RegExp.prototype[SYMBOL], 'sham', true); -}; - - -/***/ }), - -/***/ "IBH3": -/*!*************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/array-from.js ***! - \*************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var bind = __webpack_require__(/*! ../internals/function-bind-context */ "tcQx"); -var toObject = __webpack_require__(/*! ../internals/to-object */ "VCQ8"); -var callWithSafeIterationClosing = __webpack_require__(/*! ../internals/call-with-safe-iteration-closing */ "ipMl"); -var isArrayIteratorMethod = __webpack_require__(/*! ../internals/is-array-iterator-method */ "5MmU"); -var toLength = __webpack_require__(/*! ../internals/to-length */ "xpLY"); -var createProperty = __webpack_require__(/*! ../internals/create-property */ "DYg9"); -var getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ "F/TS"); - -// `Array.from` method implementation -// https://tc39.es/ecma262/#sec-array.from -module.exports = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) { - var O = toObject(arrayLike); - var C = typeof this == 'function' ? this : Array; - var argumentsLength = arguments.length; - var mapfn = argumentsLength > 1 ? arguments[1] : undefined; - var mapping = mapfn !== undefined; - var iteratorMethod = getIteratorMethod(O); - var index = 0; - var length, result, step, iterator, next, value; - if (mapping) mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : undefined, 2); - // if the target is not iterable or it's an array with the default iterator - use a simple case - if (iteratorMethod != undefined && !(C == Array && isArrayIteratorMethod(iteratorMethod))) { - iterator = iteratorMethod.call(O); - next = iterator.next; - result = new C(); - for (;!(step = next.call(iterator)).done; index++) { - value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value; - createProperty(result, index, value); - } - } else { - length = toLength(O.length); - result = new C(length); - for (;length > index; index++) { - value = mapping ? mapfn(O[index], index) : O[index]; - createProperty(result, index, value); - } - } - result.length = index; - return result; -}; - - -/***/ }), - -/***/ "IPby": -/*!**************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.string.raw.js ***! - \**************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "EMtK"); -var toLength = __webpack_require__(/*! ../internals/to-length */ "xpLY"); - -// `String.raw` method -// https://tc39.es/ecma262/#sec-string.raw -$({ target: 'String', stat: true }, { - raw: function raw(template) { - var rawTemplate = toIndexedObject(template.raw); - var literalSegments = toLength(rawTemplate.length); - var argumentsLength = arguments.length; - var elements = []; - var i = 0; - while (literalSegments > i) { - elements.push(String(rawTemplate[i++])); - if (i < argumentsLength) elements.push(String(arguments[i])); - } return elements.join(''); - } -}); - - -/***/ }), - -/***/ "IQbc": -/*!**********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.array.reduce-right.js ***! - \**********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var $reduceRight = __webpack_require__(/*! ../internals/array-reduce */ "vyNX").right; -var arrayMethodIsStrict = __webpack_require__(/*! ../internals/array-method-is-strict */ "6CJb"); -var arrayMethodUsesToLength = __webpack_require__(/*! ../internals/array-method-uses-to-length */ "w2hq"); -var CHROME_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ "D3bo"); -var IS_NODE = __webpack_require__(/*! ../internals/engine-is-node */ "B43K"); - -var STRICT_METHOD = arrayMethodIsStrict('reduceRight'); -// For preventing possible almost infinite loop in non-standard implementations, test the forward version of the method -var USES_TO_LENGTH = arrayMethodUsesToLength('reduce', { 1: 0 }); -// Chrome 80-82 has a critical bug -// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982 -var CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83; - -// `Array.prototype.reduceRight` method -// https://tc39.es/ecma262/#sec-array.prototype.reduceright -$({ target: 'Array', proto: true, forced: !STRICT_METHOD || !USES_TO_LENGTH || CHROME_BUG }, { - reduceRight: function reduceRight(callbackfn /* , initialValue */) { - return $reduceRight(this, callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined); - } -}); - - -/***/ }), - -/***/ "IUBq": -/*!*********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/flatten-into-array.js ***! - \*********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var isArray = __webpack_require__(/*! ../internals/is-array */ "erNl"); -var toLength = __webpack_require__(/*! ../internals/to-length */ "xpLY"); -var bind = __webpack_require__(/*! ../internals/function-bind-context */ "tcQx"); - -// `FlattenIntoArray` abstract operation -// https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray -var flattenIntoArray = function (target, original, source, sourceLen, start, depth, mapper, thisArg) { - var targetIndex = start; - var sourceIndex = 0; - var mapFn = mapper ? bind(mapper, thisArg, 3) : false; - var element; - - while (sourceIndex < sourceLen) { - if (sourceIndex in source) { - element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex]; - - if (depth > 0 && isArray(element)) { - targetIndex = flattenIntoArray(target, original, element, toLength(element.length), targetIndex, depth - 1) - 1; - } else { - if (targetIndex >= 0x1FFFFFFFFFFFFF) throw TypeError('Exceed the acceptable array length'); - target[targetIndex] = element; - } - - targetIndex++; - } - sourceIndex++; - } - return targetIndex; -}; - -module.exports = flattenIntoArray; - - -/***/ }), - -/***/ "IXlp": -/*!**************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.math.acosh.js ***! - \**************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var log1p = __webpack_require__(/*! ../internals/math-log1p */ "O3xq"); - -var nativeAcosh = Math.acosh; -var log = Math.log; -var sqrt = Math.sqrt; -var LN2 = Math.LN2; - -var FORCED = !nativeAcosh - // V8 bug: https://code.google.com/p/v8/issues/detail?id=3509 - || Math.floor(nativeAcosh(Number.MAX_VALUE)) != 710 - // Tor Browser bug: Math.acosh(Infinity) -> NaN - || nativeAcosh(Infinity) != Infinity; - -// `Math.acosh` method -// https://tc39.es/ecma262/#sec-math.acosh -$({ target: 'Math', stat: true, forced: FORCED }, { - acosh: function acosh(x) { - return (x = +x) < 1 ? NaN : x > 94906265.62425156 - ? log(x) + LN2 - : log1p(x - 1 + sqrt(x - 1) * sqrt(x + 1)); - } -}); - - -/***/ }), - -/***/ "IzYO": -/*!*****************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.object.freeze.js ***! - \*****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var FREEZING = __webpack_require__(/*! ../internals/freezing */ "cZY6"); -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); -var isObject = __webpack_require__(/*! ../internals/is-object */ "6XUM"); -var onFreeze = __webpack_require__(/*! ../internals/internal-metadata */ "M7Xk").onFreeze; - -var nativeFreeze = Object.freeze; -var FAILS_ON_PRIMITIVES = fails(function () { nativeFreeze(1); }); - -// `Object.freeze` method -// https://tc39.es/ecma262/#sec-object.freeze -$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING }, { - freeze: function freeze(it) { - return nativeFreeze && isObject(it) ? nativeFreeze(onFreeze(it)) : it; - } -}); - - -/***/ }), - -/***/ "J4zY": -/*!****************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.string.fixed.js ***! - \****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var createHTML = __webpack_require__(/*! ../internals/create-html */ "uoca"); -var forcedStringHTMLMethod = __webpack_require__(/*! ../internals/string-html-forced */ "d8Sw"); - -// `String.prototype.fixed` method -// https://tc39.es/ecma262/#sec-string.prototype.fixed -$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('fixed') }, { - fixed: function fixed() { - return createHTML(this, 'tt', '', ''); - } -}); - - -/***/ }), - -/***/ "JHhb": -/*!**************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/set-species.js ***! - \**************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "Ew/G"); -var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "/Ybd"); -var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "m41k"); -var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "T69T"); - -var SPECIES = wellKnownSymbol('species'); - -module.exports = function (CONSTRUCTOR_NAME) { - var Constructor = getBuiltIn(CONSTRUCTOR_NAME); - var defineProperty = definePropertyModule.f; - - if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) { - defineProperty(Constructor, SPECIES, { - configurable: true, - get: function () { return this; } - }); - } -}; - - -/***/ }), - -/***/ "JI1L": -/*!***********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/a-possible-prototype.js ***! - \***********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var isObject = __webpack_require__(/*! ../internals/is-object */ "6XUM"); - -module.exports = function (it) { - if (!isObject(it) && it !== null) { - throw TypeError("Can't set " + String(it) + ' as a prototype'); - } return it; -}; - - -/***/ }), - -/***/ "JafA": -/*!***********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/array-species-create.js ***! - \***********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var isObject = __webpack_require__(/*! ../internals/is-object */ "6XUM"); -var isArray = __webpack_require__(/*! ../internals/is-array */ "erNl"); -var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "m41k"); - -var SPECIES = wellKnownSymbol('species'); - -// `ArraySpeciesCreate` abstract operation -// https://tc39.es/ecma262/#sec-arrayspeciescreate -module.exports = function (originalArray, length) { - var C; - if (isArray(originalArray)) { - C = originalArray.constructor; - // cross-realm fallback - if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined; - else if (isObject(C)) { - C = C[SPECIES]; - if (C === null) C = undefined; - } - } return new (C === undefined ? Array : C)(length === 0 ? 0 : length); -}; - - -/***/ }), - -/***/ "JhPs": -/*!**************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.math.expm1.js ***! - \**************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var expm1 = __webpack_require__(/*! ../internals/math-expm1 */ "pn4C"); - -// `Math.expm1` method -// https://tc39.es/ecma262/#sec-math.expm1 -$({ target: 'Math', stat: true, forced: expm1 != Math.expm1 }, { expm1: expm1 }); - - -/***/ }), - -/***/ "JkSk": -/*!************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/regexp-sticky-helpers.js ***! - \************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var fails = __webpack_require__(/*! ./fails */ "rG8t"); - -// babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError, -// so we use an intermediate function. -function RE(s, f) { - return RegExp(s, f); -} - -exports.UNSUPPORTED_Y = fails(function () { - // babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError - var re = RE('a', 'y'); - re.lastIndex = 2; - return re.exec('abcd') != null; -}); - -exports.BROKEN_CARET = fails(function () { - // https://bugzilla.mozilla.org/show_bug.cgi?id=773687 - var re = RE('^r', 'gy'); - re.lastIndex = 2; - return re.exec('str') != null; -}); - - -/***/ }), - -/***/ "Jt/z": -/*!********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.array.find-index.js ***! - \********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var $findIndex = __webpack_require__(/*! ../internals/array-iteration */ "kk6e").findIndex; -var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ "A1Hp"); -var arrayMethodUsesToLength = __webpack_require__(/*! ../internals/array-method-uses-to-length */ "w2hq"); - -var FIND_INDEX = 'findIndex'; -var SKIPS_HOLES = true; - -var USES_TO_LENGTH = arrayMethodUsesToLength(FIND_INDEX); - -// Shouldn't skip holes -if (FIND_INDEX in []) Array(1)[FIND_INDEX](function () { SKIPS_HOLES = false; }); - -// `Array.prototype.findIndex` method -// https://tc39.es/ecma262/#sec-array.prototype.findindex -$({ target: 'Array', proto: true, forced: SKIPS_HOLES || !USES_TO_LENGTH }, { - findIndex: function findIndex(callbackfn /* , that = undefined */) { - return $findIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); - } -}); - -// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables -addToUnscopables(FIND_INDEX); - - -/***/ }), - -/***/ "K1Z7": -/*!****************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.string.match.js ***! - \****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var fixRegExpWellKnownSymbolLogic = __webpack_require__(/*! ../internals/fix-regexp-well-known-symbol-logic */ "HSQg"); -var anObject = __webpack_require__(/*! ../internals/an-object */ "F26l"); -var toLength = __webpack_require__(/*! ../internals/to-length */ "xpLY"); -var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "hmpk"); -var advanceStringIndex = __webpack_require__(/*! ../internals/advance-string-index */ "dPn5"); -var regExpExec = __webpack_require__(/*! ../internals/regexp-exec-abstract */ "unYP"); - -// @@match logic -fixRegExpWellKnownSymbolLogic('match', 1, function (MATCH, nativeMatch, maybeCallNative) { - return [ - // `String.prototype.match` method - // https://tc39.es/ecma262/#sec-string.prototype.match - function match(regexp) { - var O = requireObjectCoercible(this); - var matcher = regexp == undefined ? undefined : regexp[MATCH]; - return matcher !== undefined ? matcher.call(regexp, O) : new RegExp(regexp)[MATCH](String(O)); - }, - // `RegExp.prototype[@@match]` method - // https://tc39.es/ecma262/#sec-regexp.prototype-@@match - function (regexp) { - var res = maybeCallNative(nativeMatch, regexp, this); - if (res.done) return res.value; - - var rx = anObject(regexp); - var S = String(this); - - if (!rx.global) return regExpExec(rx, S); - - var fullUnicode = rx.unicode; - rx.lastIndex = 0; - var A = []; - var n = 0; - var result; - while ((result = regExpExec(rx, S)) !== null) { - var matchStr = String(result[0]); - A[n] = matchStr; - if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode); - n++; - } - return n === 0 ? null : A; - } - ]; -}); - - -/***/ }), - -/***/ "K1dl": -/*!*****************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/native-promise-constructor.js ***! - \*****************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var global = __webpack_require__(/*! ../internals/global */ "ocAm"); - -module.exports = global.Promise; - - -/***/ }), - -/***/ "K6ZX": -/*!**********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/inherit-if-required.js ***! - \**********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var isObject = __webpack_require__(/*! ../internals/is-object */ "6XUM"); -var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ "7/lX"); - -// makes subclassing work correct for wrapped built-ins -module.exports = function ($this, dummy, Wrapper) { - var NewTarget, NewTargetPrototype; - if ( - // it can work only with native `setPrototypeOf` - setPrototypeOf && - // we haven't completely correct pre-ES6 way for getting `new.target`, so use this - typeof (NewTarget = dummy.constructor) == 'function' && - NewTarget !== Wrapper && - isObject(NewTargetPrototype = NewTarget.prototype) && - NewTargetPrototype !== Wrapper.prototype - ) setPrototypeOf($this, NewTargetPrototype); - return $this; -}; - - -/***/ }), - -/***/ "KBkW": -/*!***************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/shared-store.js ***! - \***************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var global = __webpack_require__(/*! ../internals/global */ "ocAm"); -var setGlobal = __webpack_require__(/*! ../internals/set-global */ "Fqhe"); - -var SHARED = '__core-js_shared__'; -var store = global[SHARED] || setGlobal(SHARED, {}); - -module.exports = store; - - -/***/ }), - -/***/ "KMug": -/*!********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.object.is-frozen.js ***! - \********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); -var isObject = __webpack_require__(/*! ../internals/is-object */ "6XUM"); - -var nativeIsFrozen = Object.isFrozen; -var FAILS_ON_PRIMITIVES = fails(function () { nativeIsFrozen(1); }); - -// `Object.isFrozen` method -// https://tc39.es/ecma262/#sec-object.isfrozen -$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, { - isFrozen: function isFrozen(it) { - return isObject(it) ? nativeIsFrozen ? nativeIsFrozen(it) : false : true; - } -}); - - -/***/ }), - -/***/ "KXK2": -/*!***************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.reflect.delete-property.js ***! - \***************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var anObject = __webpack_require__(/*! ../internals/an-object */ "F26l"); -var getOwnPropertyDescriptor = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "7gGY").f; - -// `Reflect.deleteProperty` method -// https://tc39.es/ecma262/#sec-reflect.deleteproperty -$({ target: 'Reflect', stat: true }, { - deleteProperty: function deleteProperty(target, propertyKey) { - var descriptor = getOwnPropertyDescriptor(anObject(target), propertyKey); - return descriptor && !descriptor.configurable ? false : delete target[propertyKey]; - } -}); - - -/***/ }), - -/***/ "KkqW": -/*!********************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/object-get-own-property-names.js ***! - \********************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var internalObjectKeys = __webpack_require__(/*! ../internals/object-keys-internal */ "vVmn"); -var enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ "aAjO"); - -var hiddenKeys = enumBugKeys.concat('length', 'prototype'); - -// `Object.getOwnPropertyNames` method -// https://tc39.es/ecma262/#sec-object.getownpropertynames -exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { - return internalObjectKeys(O, hiddenKeys); -}; - - -/***/ }), - -/***/ "KlhL": -/*!****************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/object-assign.js ***! - \****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "T69T"); -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); -var objectKeys = __webpack_require__(/*! ../internals/object-keys */ "ZRqE"); -var getOwnPropertySymbolsModule = __webpack_require__(/*! ../internals/object-get-own-property-symbols */ "busr"); -var propertyIsEnumerableModule = __webpack_require__(/*! ../internals/object-property-is-enumerable */ "gn9T"); -var toObject = __webpack_require__(/*! ../internals/to-object */ "VCQ8"); -var IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ "tUdv"); - -var nativeAssign = Object.assign; -var defineProperty = Object.defineProperty; - -// `Object.assign` method -// https://tc39.es/ecma262/#sec-object.assign -module.exports = !nativeAssign || fails(function () { - // should have correct order of operations (Edge bug) - if (DESCRIPTORS && nativeAssign({ b: 1 }, nativeAssign(defineProperty({}, 'a', { - enumerable: true, - get: function () { - defineProperty(this, 'b', { - value: 3, - enumerable: false - }); - } - }), { b: 2 })).b !== 1) return true; - // should work with symbols and should have deterministic property order (V8 bug) - var A = {}; - var B = {}; - // eslint-disable-next-line no-undef - var symbol = Symbol(); - var alphabet = 'abcdefghijklmnopqrst'; - A[symbol] = 7; - alphabet.split('').forEach(function (chr) { B[chr] = chr; }); - return nativeAssign({}, A)[symbol] != 7 || objectKeys(nativeAssign({}, B)).join('') != alphabet; -}) ? function assign(target, source) { // eslint-disable-line no-unused-vars - var T = toObject(target); - var argumentsLength = arguments.length; - var index = 1; - var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; - var propertyIsEnumerable = propertyIsEnumerableModule.f; - while (argumentsLength > index) { - var S = IndexedObject(arguments[index++]); - var keys = getOwnPropertySymbols ? objectKeys(S).concat(getOwnPropertySymbols(S)) : objectKeys(S); - var length = keys.length; - var j = 0; - var key; - while (length > j) { - key = keys[j++]; - if (!DESCRIPTORS || propertyIsEnumerable.call(S, key)) T[key] = S[key]; - } - } return T; -} : nativeAssign; - - -/***/ }), - -/***/ "KsdI": -/*!*******************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.symbol.iterator.js ***! - \*******************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var defineWellKnownSymbol = __webpack_require__(/*! ../internals/define-well-known-symbol */ "94Vg"); - -// `Symbol.iterator` well-known symbol -// https://tc39.es/ecma262/#sec-symbol.iterator -defineWellKnownSymbol('iterator'); - - -/***/ }), - -/***/ "L4l2": -/*!*******************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.string.includes.js ***! - \*******************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var notARegExp = __webpack_require__(/*! ../internals/not-a-regexp */ "s8qp"); -var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "hmpk"); -var correctIsRegExpLogic = __webpack_require__(/*! ../internals/correct-is-regexp-logic */ "0Ds2"); - -// `String.prototype.includes` method -// https://tc39.es/ecma262/#sec-string.prototype.includes -$({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, { - includes: function includes(searchString /* , position = 0 */) { - return !!~String(requireObjectCoercible(this)) - .indexOf(notARegExp(searchString), arguments.length > 1 ? arguments[1] : undefined); - } -}); - - -/***/ }), - -/***/ "LRWt": -/*!********************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/es/symbol/index.js ***! - \********************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -__webpack_require__(/*! ../../modules/es.array.concat */ "F4rZ"); -__webpack_require__(/*! ../../modules/es.object.to-string */ "NX+v"); -__webpack_require__(/*! ../../modules/es.symbol */ "SNUk"); -__webpack_require__(/*! ../../modules/es.symbol.async-iterator */ "c/8x"); -__webpack_require__(/*! ../../modules/es.symbol.description */ "0luR"); -__webpack_require__(/*! ../../modules/es.symbol.has-instance */ "Pfbg"); -__webpack_require__(/*! ../../modules/es.symbol.is-concat-spreadable */ "V+F/"); -__webpack_require__(/*! ../../modules/es.symbol.iterator */ "KsdI"); -__webpack_require__(/*! ../../modules/es.symbol.match */ "ERXZ"); -__webpack_require__(/*! ../../modules/es.symbol.match-all */ "YOJ4"); -__webpack_require__(/*! ../../modules/es.symbol.replace */ "S3W2"); -__webpack_require__(/*! ../../modules/es.symbol.search */ "8+YH"); -__webpack_require__(/*! ../../modules/es.symbol.species */ "uKyN"); -__webpack_require__(/*! ../../modules/es.symbol.split */ "Vi1R"); -__webpack_require__(/*! ../../modules/es.symbol.to-primitive */ "9kNm"); -__webpack_require__(/*! ../../modules/es.symbol.to-string-tag */ "ZQqA"); -__webpack_require__(/*! ../../modules/es.symbol.unscopables */ "815a"); -__webpack_require__(/*! ../../modules/es.json.to-string-tag */ "8CeQ"); -__webpack_require__(/*! ../../modules/es.math.to-string-tag */ "OVXS"); -__webpack_require__(/*! ../../modules/es.reflect.to-string-tag */ "zglh"); -var path = __webpack_require__(/*! ../../internals/path */ "E7aN"); - -module.exports = path.Symbol; - - -/***/ }), - -/***/ "LdO1": -/*!***************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/to-primitive.js ***! - \***************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var isObject = __webpack_require__(/*! ../internals/is-object */ "6XUM"); - -// `ToPrimitive` abstract operation -// https://tc39.es/ecma262/#sec-toprimitive -// instead of the ES6 spec version, we didn't implement @@toPrimitive case -// and the second argument - flag - preferred type is a string -module.exports = function (input, PREFERRED_STRING) { - if (!isObject(input)) return input; - var fn, val; - if (PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val; - if (typeof (fn = input.valueOf) == 'function' && !isObject(val = fn.call(input))) return val; - if (!PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val; - throw TypeError("Can't convert object to primitive value"); -}; - - -/***/ }), - -/***/ "M1AK": -/*!**************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.math.clz32.js ***! - \**************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); - -var floor = Math.floor; -var log = Math.log; -var LOG2E = Math.LOG2E; - -// `Math.clz32` method -// https://tc39.es/ecma262/#sec-math.clz32 -$({ target: 'Math', stat: true }, { - clz32: function clz32(x) { - return (x >>>= 0) ? 31 - floor(log(x + 0.5) * LOG2E) : 32; - } -}); - - -/***/ }), - -/***/ "M7Xk": -/*!********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/internal-metadata.js ***! - \********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ "yQMY"); -var isObject = __webpack_require__(/*! ../internals/is-object */ "6XUM"); -var has = __webpack_require__(/*! ../internals/has */ "OG5q"); -var defineProperty = __webpack_require__(/*! ../internals/object-define-property */ "/Ybd").f; -var uid = __webpack_require__(/*! ../internals/uid */ "SDMg"); -var FREEZING = __webpack_require__(/*! ../internals/freezing */ "cZY6"); - -var METADATA = uid('meta'); -var id = 0; - -var isExtensible = Object.isExtensible || function () { - return true; -}; - -var setMetadata = function (it) { - defineProperty(it, METADATA, { value: { - objectID: 'O' + ++id, // object ID - weakData: {} // weak collections IDs - } }); -}; - -var fastKey = function (it, create) { - // return a primitive with prefix - if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it; - if (!has(it, METADATA)) { - // can't set metadata to uncaught frozen object - if (!isExtensible(it)) return 'F'; - // not necessary to add metadata - if (!create) return 'E'; - // add missing metadata - setMetadata(it); - // return object ID - } return it[METADATA].objectID; -}; - -var getWeakData = function (it, create) { - if (!has(it, METADATA)) { - // can't set metadata to uncaught frozen object - if (!isExtensible(it)) return true; - // not necessary to add metadata - if (!create) return false; - // add missing metadata - setMetadata(it); - // return the store of weak collections IDs - } return it[METADATA].weakData; -}; - -// add metadata on freeze-family methods calling -var onFreeze = function (it) { - if (FREEZING && meta.REQUIRED && isExtensible(it) && !has(it, METADATA)) setMetadata(it); - return it; -}; - -var meta = module.exports = { - REQUIRED: false, - fastKey: fastKey, - getWeakData: getWeakData, - onFreeze: onFreeze -}; - -hiddenKeys[METADATA] = true; - - -/***/ }), - -/***/ "MjoC": -/*!*****************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.function.name.js ***! - \*****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "T69T"); -var defineProperty = __webpack_require__(/*! ../internals/object-define-property */ "/Ybd").f; - -var FunctionPrototype = Function.prototype; -var FunctionPrototypeToString = FunctionPrototype.toString; -var nameRE = /^\s*function ([^ (]*)/; -var NAME = 'name'; - -// Function instances `.name` property -// https://tc39.es/ecma262/#sec-function-instances-name -if (DESCRIPTORS && !(NAME in FunctionPrototype)) { - defineProperty(FunctionPrototype, NAME, { - configurable: true, - get: function () { - try { - return FunctionPrototypeToString.call(this).match(nameRE)[1]; - } catch (error) { - return ''; - } - } - }); -} - - -/***/ }), - -/***/ "MkZA": -/*!************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/is-forced.js ***! - \************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); - -var replacement = /#|\.prototype\./; - -var isForced = function (feature, detection) { - var value = data[normalize(feature)]; - return value == POLYFILL ? true - : value == NATIVE ? false - : typeof detection == 'function' ? fails(detection) - : !!detection; -}; - -var normalize = isForced.normalize = function (string) { - return String(string).replace(replacement, '.').toLowerCase(); -}; - -var data = isForced.data = {}; -var NATIVE = isForced.NATIVE = 'N'; -var POLYFILL = isForced.POLYFILL = 'P'; - -module.exports = isForced; - - -/***/ }), - -/***/ "NIlc": -/*!******************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/copy-constructor-properties.js ***! - \******************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var has = __webpack_require__(/*! ../internals/has */ "OG5q"); -var ownKeys = __webpack_require__(/*! ../internals/own-keys */ "76gj"); -var getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "7gGY"); -var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "/Ybd"); - -module.exports = function (target, source) { - var keys = ownKeys(source); - var defineProperty = definePropertyModule.f; - var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; - for (var i = 0; i < keys.length; i++) { - var key = keys[i]; - if (!has(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key)); - } -}; - - -/***/ }), - -/***/ "NX+v": -/*!********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.object.to-string.js ***! - \********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var TO_STRING_TAG_SUPPORT = __webpack_require__(/*! ../internals/to-string-tag-support */ "4PyY"); -var redefine = __webpack_require__(/*! ../internals/redefine */ "2MGJ"); -var toString = __webpack_require__(/*! ../internals/object-to-string */ "azxr"); - -// `Object.prototype.toString` method -// https://tc39.es/ecma262/#sec-object.prototype.tostring -if (!TO_STRING_TAG_SUPPORT) { - redefine(Object.prototype, 'toString', toString, { unsafe: true }); -} - - -/***/ }), - -/***/ "Neub": -/*!*************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/a-function.js ***! - \*************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -module.exports = function (it) { - if (typeof it != 'function') { - throw TypeError(String(it) + ' is not a function'); - } return it; -}; - - -/***/ }), - -/***/ "Nvxz": -/*!*************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/is-integer.js ***! - \*************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var isObject = __webpack_require__(/*! ../internals/is-object */ "6XUM"); - -var floor = Math.floor; - -// `Number.isInteger` method implementation -// https://tc39.es/ecma262/#sec-number.isinteger -module.exports = function isInteger(it) { - return !isObject(it) && isFinite(it) && floor(it) === it; -}; - - -/***/ }), - -/***/ "O3xq": -/*!*************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/math-log1p.js ***! - \*************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -var log = Math.log; - -// `Math.log1p` method implementation -// https://tc39.es/ecma262/#sec-math.log1p -module.exports = Math.log1p || function log1p(x) { - return (x = +x) > -1e-8 && x < 1e-8 ? x - x * x / 2 : log(1 + x); -}; - - -/***/ }), - -/***/ "OG5q": -/*!******************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/has.js ***! - \******************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -var hasOwnProperty = {}.hasOwnProperty; - -module.exports = function (it, key) { - return hasOwnProperty.call(it, key); -}; - - -/***/ }), - -/***/ "OOEz": -/*!***********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.object.from-entries.js ***! - \***********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var iterate = __webpack_require__(/*! ../internals/iterate */ "Rn6E"); -var createProperty = __webpack_require__(/*! ../internals/create-property */ "DYg9"); - -// `Object.fromEntries` method -// https://github.com/tc39/proposal-object-from-entries -$({ target: 'Object', stat: true }, { - fromEntries: function fromEntries(iterable) { - var obj = {}; - iterate(iterable, function (k, v) { - createProperty(obj, k, v); - }, { AS_ENTRIES: true }); - return obj; - } -}); - - -/***/ }), - -/***/ "OVXS": -/*!**********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.math.to-string-tag.js ***! - \**********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ "shqn"); - -// Math[@@toStringTag] property -// https://tc39.es/ecma262/#sec-math-@@tostringtag -setToStringTag(Math, 'Math', true); - - -/***/ }), - -/***/ "OXtp": -/*!*****************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/array-includes.js ***! - \*****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "EMtK"); -var toLength = __webpack_require__(/*! ../internals/to-length */ "xpLY"); -var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ "7Oj1"); - -// `Array.prototype.{ indexOf, includes }` methods implementation -var createMethod = function (IS_INCLUDES) { - return function ($this, el, fromIndex) { - var O = toIndexedObject($this); - var length = toLength(O.length); - var index = toAbsoluteIndex(fromIndex, length); - var value; - // Array#includes uses SameValueZero equality algorithm - // eslint-disable-next-line no-self-compare - if (IS_INCLUDES && el != el) while (length > index) { - value = O[index++]; - // eslint-disable-next-line no-self-compare - if (value != value) return true; - // Array#indexOf ignores holes, Array#includes - not - } else for (;length > index; index++) { - if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0; - } return !IS_INCLUDES && -1; - }; -}; - -module.exports = { - // `Array.prototype.includes` method - // https://tc39.es/ecma262/#sec-array.prototype.includes - includes: createMethod(true), - // `Array.prototype.indexOf` method - // https://tc39.es/ecma262/#sec-array.prototype.indexof - indexOf: createMethod(false) -}; - - -/***/ }), - -/***/ "OjQg": -/*!****************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/dom-iterables.js ***! - \****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -// iterable DOM collections -// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods -module.exports = { - CSSRuleList: 0, - CSSStyleDeclaration: 0, - CSSValueList: 0, - ClientRectList: 0, - DOMRectList: 0, - DOMStringList: 0, - DOMTokenList: 1, - DataTransferItemList: 0, - FileList: 0, - HTMLAllCollection: 0, - HTMLCollection: 0, - HTMLFormElement: 0, - HTMLSelectElement: 0, - MediaList: 0, - MimeTypeArray: 0, - NamedNodeMap: 0, - NodeList: 1, - PaintRequestList: 0, - Plugin: 0, - PluginArray: 0, - SVGLengthList: 0, - SVGNumberList: 0, - SVGPathSegList: 0, - SVGPointList: 0, - SVGStringList: 0, - SVGTransformList: 0, - SourceBufferList: 0, - StyleSheetList: 0, - TextTrackCueList: 0, - TextTrackList: 0, - TouchList: 0 -}; - - -/***/ }), - -/***/ "Ox9q": -/*!*******************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/task.js ***! - \*******************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var global = __webpack_require__(/*! ../internals/global */ "ocAm"); -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); -var bind = __webpack_require__(/*! ../internals/function-bind-context */ "tcQx"); -var html = __webpack_require__(/*! ../internals/html */ "149L"); -var createElement = __webpack_require__(/*! ../internals/document-create-element */ "qx7X"); -var IS_IOS = __webpack_require__(/*! ../internals/engine-is-ios */ "tuHh"); -var IS_NODE = __webpack_require__(/*! ../internals/engine-is-node */ "B43K"); - -var location = global.location; -var set = global.setImmediate; -var clear = global.clearImmediate; -var process = global.process; -var MessageChannel = global.MessageChannel; -var Dispatch = global.Dispatch; -var counter = 0; -var queue = {}; -var ONREADYSTATECHANGE = 'onreadystatechange'; -var defer, channel, port; - -var run = function (id) { - // eslint-disable-next-line no-prototype-builtins - if (queue.hasOwnProperty(id)) { - var fn = queue[id]; - delete queue[id]; - fn(); - } -}; - -var runner = function (id) { - return function () { - run(id); - }; -}; - -var listener = function (event) { - run(event.data); -}; - -var post = function (id) { - // old engines have not location.origin - global.postMessage(id + '', location.protocol + '//' + location.host); -}; - -// Node.js 0.9+ & IE10+ has setImmediate, otherwise: -if (!set || !clear) { - set = function setImmediate(fn) { - var args = []; - var i = 1; - while (arguments.length > i) args.push(arguments[i++]); - queue[++counter] = function () { - // eslint-disable-next-line no-new-func - (typeof fn == 'function' ? fn : Function(fn)).apply(undefined, args); - }; - defer(counter); - return counter; - }; - clear = function clearImmediate(id) { - delete queue[id]; - }; - // Node.js 0.8- - if (IS_NODE) { - defer = function (id) { - process.nextTick(runner(id)); - }; - // Sphere (JS game engine) Dispatch API - } else if (Dispatch && Dispatch.now) { - defer = function (id) { - Dispatch.now(runner(id)); - }; - // Browsers with MessageChannel, includes WebWorkers - // except iOS - https://github.com/zloirock/core-js/issues/624 - } else if (MessageChannel && !IS_IOS) { - channel = new MessageChannel(); - port = channel.port2; - channel.port1.onmessage = listener; - defer = bind(port.postMessage, port, 1); - // Browsers with postMessage, skip WebWorkers - // IE8 has postMessage, but it's sync & typeof its postMessage is 'object' - } else if ( - global.addEventListener && - typeof postMessage == 'function' && - !global.importScripts && - location && location.protocol !== 'file:' && - !fails(post) - ) { - defer = post; - global.addEventListener('message', listener, false); - // IE8- - } else if (ONREADYSTATECHANGE in createElement('script')) { - defer = function (id) { - html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function () { - html.removeChild(this); - run(id); - }; - }; - // Rest old browsers - } else { - defer = function (id) { - setTimeout(runner(id), 0); - }; - } -} - -module.exports = { - set: set, - clear: clear -}; - - -/***/ }), - -/***/ "PbJR": -/*!*************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.parse-int.js ***! - \*************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var parseIntImplementation = __webpack_require__(/*! ../internals/number-parse-int */ "4NCC"); - -// `parseInt` method -// https://tc39.es/ecma262/#sec-parseint-string-radix -$({ global: true, forced: parseInt != parseIntImplementation }, { - parseInt: parseIntImplementation -}); - - -/***/ }), - -/***/ "Pf6x": -/*!***************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.math.fround.js ***! - \***************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var fround = __webpack_require__(/*! ../internals/math-fround */ "48xZ"); - -// `Math.fround` method -// https://tc39.es/ecma262/#sec-math.fround -$({ target: 'Math', stat: true }, { fround: fround }); - - -/***/ }), - -/***/ "Pfbg": -/*!***********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.symbol.has-instance.js ***! - \***********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var defineWellKnownSymbol = __webpack_require__(/*! ../internals/define-well-known-symbol */ "94Vg"); - -// `Symbol.hasInstance` well-known symbol -// https://tc39.es/ecma262/#sec-symbol.hasinstance -defineWellKnownSymbol('hasInstance'); - - -/***/ }), - -/***/ "PmIt": -/*!****************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.string.split.js ***! - \****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var fixRegExpWellKnownSymbolLogic = __webpack_require__(/*! ../internals/fix-regexp-well-known-symbol-logic */ "HSQg"); -var isRegExp = __webpack_require__(/*! ../internals/is-regexp */ "1p6F"); -var anObject = __webpack_require__(/*! ../internals/an-object */ "F26l"); -var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "hmpk"); -var speciesConstructor = __webpack_require__(/*! ../internals/species-constructor */ "p82S"); -var advanceStringIndex = __webpack_require__(/*! ../internals/advance-string-index */ "dPn5"); -var toLength = __webpack_require__(/*! ../internals/to-length */ "xpLY"); -var callRegExpExec = __webpack_require__(/*! ../internals/regexp-exec-abstract */ "unYP"); -var regexpExec = __webpack_require__(/*! ../internals/regexp-exec */ "qjkP"); -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); - -var arrayPush = [].push; -var min = Math.min; -var MAX_UINT32 = 0xFFFFFFFF; - -// babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError -var SUPPORTS_Y = !fails(function () { return !RegExp(MAX_UINT32, 'y'); }); - -// @@split logic -fixRegExpWellKnownSymbolLogic('split', 2, function (SPLIT, nativeSplit, maybeCallNative) { - var internalSplit; - if ( - 'abbc'.split(/(b)*/)[1] == 'c' || - 'test'.split(/(?:)/, -1).length != 4 || - 'ab'.split(/(?:ab)*/).length != 2 || - '.'.split(/(.?)(.?)/).length != 4 || - '.'.split(/()()/).length > 1 || - ''.split(/.?/).length - ) { - // based on es5-shim implementation, need to rework it - internalSplit = function (separator, limit) { - var string = String(requireObjectCoercible(this)); - var lim = limit === undefined ? MAX_UINT32 : limit >>> 0; - if (lim === 0) return []; - if (separator === undefined) return [string]; - // If `separator` is not a regex, use native split - if (!isRegExp(separator)) { - return nativeSplit.call(string, separator, lim); - } - var output = []; - var flags = (separator.ignoreCase ? 'i' : '') + - (separator.multiline ? 'm' : '') + - (separator.unicode ? 'u' : '') + - (separator.sticky ? 'y' : ''); - var lastLastIndex = 0; - // Make `global` and avoid `lastIndex` issues by working with a copy - var separatorCopy = new RegExp(separator.source, flags + 'g'); - var match, lastIndex, lastLength; - while (match = regexpExec.call(separatorCopy, string)) { - lastIndex = separatorCopy.lastIndex; - if (lastIndex > lastLastIndex) { - output.push(string.slice(lastLastIndex, match.index)); - if (match.length > 1 && match.index < string.length) arrayPush.apply(output, match.slice(1)); - lastLength = match[0].length; - lastLastIndex = lastIndex; - if (output.length >= lim) break; - } - if (separatorCopy.lastIndex === match.index) separatorCopy.lastIndex++; // Avoid an infinite loop - } - if (lastLastIndex === string.length) { - if (lastLength || !separatorCopy.test('')) output.push(''); - } else output.push(string.slice(lastLastIndex)); - return output.length > lim ? output.slice(0, lim) : output; - }; - // Chakra, V8 - } else if ('0'.split(undefined, 0).length) { - internalSplit = function (separator, limit) { - return separator === undefined && limit === 0 ? [] : nativeSplit.call(this, separator, limit); - }; - } else internalSplit = nativeSplit; - - return [ - // `String.prototype.split` method - // https://tc39.es/ecma262/#sec-string.prototype.split - function split(separator, limit) { - var O = requireObjectCoercible(this); - var splitter = separator == undefined ? undefined : separator[SPLIT]; - return splitter !== undefined - ? splitter.call(separator, O, limit) - : internalSplit.call(String(O), separator, limit); - }, - // `RegExp.prototype[@@split]` method - // https://tc39.es/ecma262/#sec-regexp.prototype-@@split - // - // NOTE: This cannot be properly polyfilled in engines that don't support - // the 'y' flag. - function (regexp, limit) { - var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== nativeSplit); - if (res.done) return res.value; - - var rx = anObject(regexp); - var S = String(this); - var C = speciesConstructor(rx, RegExp); - - var unicodeMatching = rx.unicode; - var flags = (rx.ignoreCase ? 'i' : '') + - (rx.multiline ? 'm' : '') + - (rx.unicode ? 'u' : '') + - (SUPPORTS_Y ? 'y' : 'g'); - - // ^(? + rx + ) is needed, in combination with some S slicing, to - // simulate the 'y' flag. - var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags); - var lim = limit === undefined ? MAX_UINT32 : limit >>> 0; - if (lim === 0) return []; - if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : []; - var p = 0; - var q = 0; - var A = []; - while (q < S.length) { - splitter.lastIndex = SUPPORTS_Y ? q : 0; - var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q)); - var e; - if ( - z === null || - (e = min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p - ) { - q = advanceStringIndex(S, q, unicodeMatching); - } else { - A.push(S.slice(p, q)); - if (A.length === lim) return A; - for (var i = 1; i <= z.length - 1; i++) { - A.push(z[i]); - if (A.length === lim) return A; - } - q = p = e; - } - } - A.push(S.slice(p)); - return A; - } - ]; -}, !SUPPORTS_Y); - - -/***/ }), - -/***/ "Q4jj": -/*!****************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.array.reduce.js ***! - \****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var $reduce = __webpack_require__(/*! ../internals/array-reduce */ "vyNX").left; -var arrayMethodIsStrict = __webpack_require__(/*! ../internals/array-method-is-strict */ "6CJb"); -var arrayMethodUsesToLength = __webpack_require__(/*! ../internals/array-method-uses-to-length */ "w2hq"); -var CHROME_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ "D3bo"); -var IS_NODE = __webpack_require__(/*! ../internals/engine-is-node */ "B43K"); - -var STRICT_METHOD = arrayMethodIsStrict('reduce'); -var USES_TO_LENGTH = arrayMethodUsesToLength('reduce', { 1: 0 }); -// Chrome 80-82 has a critical bug -// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982 -var CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83; - -// `Array.prototype.reduce` method -// https://tc39.es/ecma262/#sec-array.prototype.reduce -$({ target: 'Array', proto: true, forced: !STRICT_METHOD || !USES_TO_LENGTH || CHROME_BUG }, { - reduce: function reduce(callbackfn /* , initialValue */) { - return $reduce(this, callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined); - } -}); - - -/***/ }), - -/***/ "QFgE": -/*!*************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.math.imul.js ***! - \*************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); - -var nativeImul = Math.imul; - -var FORCED = fails(function () { - return nativeImul(0xFFFFFFFF, 5) != -5 || nativeImul.length != 2; -}); - -// `Math.imul` method -// https://tc39.es/ecma262/#sec-math.imul -// some WebKit versions fails with big numbers, some has wrong arity -$({ target: 'Math', stat: true, forced: FORCED }, { - imul: function imul(x, y) { - var UINT16 = 0xFFFF; - var xn = +x; - var yn = +y; - var xl = UINT16 & xn; - var yl = UINT16 & yn; - return 0 | xl * yl + ((UINT16 & xn >>> 16) * yl + xl * (UINT16 & yn >>> 16) << 16 >>> 0); - } -}); - - -/***/ }), - -/***/ "QPoQ": -/*!*********************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/es/reflect/index.js ***! - \*********************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -__webpack_require__(/*! ../../modules/es.reflect.apply */ "Ejw8"); -__webpack_require__(/*! ../../modules/es.reflect.construct */ "EiAZ"); -__webpack_require__(/*! ../../modules/es.reflect.define-property */ "yUZX"); -__webpack_require__(/*! ../../modules/es.reflect.delete-property */ "KXK2"); -__webpack_require__(/*! ../../modules/es.reflect.get */ "u7HS"); -__webpack_require__(/*! ../../modules/es.reflect.get-own-property-descriptor */ "jGBA"); -__webpack_require__(/*! ../../modules/es.reflect.get-prototype-of */ "fquo"); -__webpack_require__(/*! ../../modules/es.reflect.has */ "jO7L"); -__webpack_require__(/*! ../../modules/es.reflect.is-extensible */ "BlSG"); -__webpack_require__(/*! ../../modules/es.reflect.own-keys */ "b1ja"); -__webpack_require__(/*! ../../modules/es.reflect.prevent-extensions */ "YdMc"); -__webpack_require__(/*! ../../modules/es.reflect.set */ "Cme9"); -__webpack_require__(/*! ../../modules/es.reflect.set-prototype-of */ "8B3Q"); -__webpack_require__(/*! ../../modules/es.reflect.to-string-tag */ "zglh"); -var path = __webpack_require__(/*! ../../internals/path */ "E7aN"); - -module.exports = path.Reflect; - - -/***/ }), - -/***/ "QUoj": -/*!*****************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.string.anchor.js ***! - \*****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var createHTML = __webpack_require__(/*! ../internals/create-html */ "uoca"); -var forcedStringHTMLMethod = __webpack_require__(/*! ../internals/string-html-forced */ "d8Sw"); - -// `String.prototype.anchor` method -// https://tc39.es/ecma262/#sec-string.prototype.anchor -$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('anchor') }, { - anchor: function anchor(name) { - return createHTML(this, 'a', 'name', name); - } -}); - - -/***/ }), - -/***/ "QVG+": -/*!********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.object.is-sealed.js ***! - \********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); -var isObject = __webpack_require__(/*! ../internals/is-object */ "6XUM"); - -var nativeIsSealed = Object.isSealed; -var FAILS_ON_PRIMITIVES = fails(function () { nativeIsSealed(1); }); - -// `Object.isSealed` method -// https://tc39.es/ecma262/#sec-object.issealed -$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, { - isSealed: function isSealed(it) { - return isObject(it) ? nativeIsSealed ? nativeIsSealed(it) : false : true; - } -}); - - -/***/ }), - -/***/ "QcXc": -/*!*************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/string-pad.js ***! - \*************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -// https://github.com/tc39/proposal-string-pad-start-end -var toLength = __webpack_require__(/*! ../internals/to-length */ "xpLY"); -var repeat = __webpack_require__(/*! ../internals/string-repeat */ "EMWV"); -var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "hmpk"); - -var ceil = Math.ceil; - -// `String.prototype.{ padStart, padEnd }` methods implementation -var createMethod = function (IS_END) { - return function ($this, maxLength, fillString) { - var S = String(requireObjectCoercible($this)); - var stringLength = S.length; - var fillStr = fillString === undefined ? ' ' : String(fillString); - var intMaxLength = toLength(maxLength); - var fillLen, stringFiller; - if (intMaxLength <= stringLength || fillStr == '') return S; - fillLen = intMaxLength - stringLength; - stringFiller = repeat.call(fillStr, ceil(fillLen / fillStr.length)); - if (stringFiller.length > fillLen) stringFiller = stringFiller.slice(0, fillLen); - return IS_END ? S + stringFiller : stringFiller + S; - }; -}; - -module.exports = { - // `String.prototype.padStart` method - // https://tc39.es/ecma262/#sec-string.prototype.padstart - start: createMethod(false), - // `String.prototype.padEnd` method - // https://tc39.es/ecma262/#sec-string.prototype.padend - end: createMethod(true) -}; - - -/***/ }), - -/***/ "RCvO": -/*!*****************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.object.create.js ***! - \*****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "T69T"); -var create = __webpack_require__(/*! ../internals/object-create */ "2RDa"); - -// `Object.create` method -// https://tc39.es/ecma262/#sec-object.create -$({ target: 'Object', stat: true, sham: !DESCRIPTORS }, { - create: create -}); - - -/***/ }), - -/***/ "Rj+b": -/*!********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.regexp.to-string.js ***! - \********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var redefine = __webpack_require__(/*! ../internals/redefine */ "2MGJ"); -var anObject = __webpack_require__(/*! ../internals/an-object */ "F26l"); -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); -var flags = __webpack_require__(/*! ../internals/regexp-flags */ "x0kV"); - -var TO_STRING = 'toString'; -var RegExpPrototype = RegExp.prototype; -var nativeToString = RegExpPrototype[TO_STRING]; - -var NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) != '/a/b'; }); -// FF44- RegExp#toString has a wrong name -var INCORRECT_NAME = nativeToString.name != TO_STRING; - -// `RegExp.prototype.toString` method -// https://tc39.es/ecma262/#sec-regexp.prototype.tostring -if (NOT_GENERIC || INCORRECT_NAME) { - redefine(RegExp.prototype, TO_STRING, function toString() { - var R = anObject(this); - var p = String(R.source); - var rf = R.flags; - var f = String(rf === undefined && R instanceof RegExp && !('flags' in RegExpPrototype) ? flags.call(R) : rf); - return '/' + p + '/' + f; - }, { unsafe: true }); -} - - -/***/ }), - -/***/ "Rn6E": -/*!**********************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/iterate.js ***! - \**********************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var anObject = __webpack_require__(/*! ../internals/an-object */ "F26l"); -var isArrayIteratorMethod = __webpack_require__(/*! ../internals/is-array-iterator-method */ "5MmU"); -var toLength = __webpack_require__(/*! ../internals/to-length */ "xpLY"); -var bind = __webpack_require__(/*! ../internals/function-bind-context */ "tcQx"); -var getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ "F/TS"); -var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "5zQ0"); - -var Result = function (stopped, result) { - this.stopped = stopped; - this.result = result; -}; - -module.exports = function (iterable, unboundFunction, options) { - var that = options && options.that; - var AS_ENTRIES = !!(options && options.AS_ENTRIES); - var IS_ITERATOR = !!(options && options.IS_ITERATOR); - var INTERRUPTED = !!(options && options.INTERRUPTED); - var fn = bind(unboundFunction, that, 1 + AS_ENTRIES + INTERRUPTED); - var iterator, iterFn, index, length, result, next, step; - - var stop = function (condition) { - if (iterator) iteratorClose(iterator); - return new Result(true, condition); - }; - - var callFn = function (value) { - if (AS_ENTRIES) { - anObject(value); - return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]); - } return INTERRUPTED ? fn(value, stop) : fn(value); - }; - - if (IS_ITERATOR) { - iterator = iterable; - } else { - iterFn = getIteratorMethod(iterable); - if (typeof iterFn != 'function') throw TypeError('Target is not iterable'); - // optimisation for array iterators - if (isArrayIteratorMethod(iterFn)) { - for (index = 0, length = toLength(iterable.length); length > index; index++) { - result = callFn(iterable[index]); - if (result && result instanceof Result) return result; - } return new Result(false); - } - iterator = iterFn.call(iterable); - } - - next = iterator.next; - while (!(step = next.call(iterator)).done) { - try { - result = callFn(step.value); - } catch (error) { - iteratorClose(iterator); - throw error; - } - if (typeof result == 'object' && result && result instanceof Result) return result; - } return new Result(false); -}; - - -/***/ }), - -/***/ "S3W2": -/*!******************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.symbol.replace.js ***! - \******************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var defineWellKnownSymbol = __webpack_require__(/*! ../internals/define-well-known-symbol */ "94Vg"); - -// `Symbol.replace` well-known symbol -// https://tc39.es/ecma262/#sec-symbol.replace -defineWellKnownSymbol('replace'); - - -/***/ }), - -/***/ "S3Yw": -/*!******************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.string.replace.js ***! - \******************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var fixRegExpWellKnownSymbolLogic = __webpack_require__(/*! ../internals/fix-regexp-well-known-symbol-logic */ "HSQg"); -var anObject = __webpack_require__(/*! ../internals/an-object */ "F26l"); -var toLength = __webpack_require__(/*! ../internals/to-length */ "xpLY"); -var toInteger = __webpack_require__(/*! ../internals/to-integer */ "vDBE"); -var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "hmpk"); -var advanceStringIndex = __webpack_require__(/*! ../internals/advance-string-index */ "dPn5"); -var getSubstitution = __webpack_require__(/*! ../internals/get-substitution */ "x+GC"); -var regExpExec = __webpack_require__(/*! ../internals/regexp-exec-abstract */ "unYP"); - -var max = Math.max; -var min = Math.min; - -var maybeToString = function (it) { - return it === undefined ? it : String(it); -}; - -// @@replace logic -fixRegExpWellKnownSymbolLogic('replace', 2, function (REPLACE, nativeReplace, maybeCallNative, reason) { - var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = reason.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE; - var REPLACE_KEEPS_$0 = reason.REPLACE_KEEPS_$0; - var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0'; - - return [ - // `String.prototype.replace` method - // https://tc39.es/ecma262/#sec-string.prototype.replace - function replace(searchValue, replaceValue) { - var O = requireObjectCoercible(this); - var replacer = searchValue == undefined ? undefined : searchValue[REPLACE]; - return replacer !== undefined - ? replacer.call(searchValue, O, replaceValue) - : nativeReplace.call(String(O), searchValue, replaceValue); - }, - // `RegExp.prototype[@@replace]` method - // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace - function (regexp, replaceValue) { - if ( - (!REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE && REPLACE_KEEPS_$0) || - (typeof replaceValue === 'string' && replaceValue.indexOf(UNSAFE_SUBSTITUTE) === -1) - ) { - var res = maybeCallNative(nativeReplace, regexp, this, replaceValue); - if (res.done) return res.value; - } - - var rx = anObject(regexp); - var S = String(this); - - var functionalReplace = typeof replaceValue === 'function'; - if (!functionalReplace) replaceValue = String(replaceValue); - - var global = rx.global; - if (global) { - var fullUnicode = rx.unicode; - rx.lastIndex = 0; - } - var results = []; - while (true) { - var result = regExpExec(rx, S); - if (result === null) break; - - results.push(result); - if (!global) break; - - var matchStr = String(result[0]); - if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode); - } - - var accumulatedResult = ''; - var nextSourcePosition = 0; - for (var i = 0; i < results.length; i++) { - result = results[i]; - - var matched = String(result[0]); - var position = max(min(toInteger(result.index), S.length), 0); - var captures = []; - // NOTE: This is equivalent to - // captures = result.slice(1).map(maybeToString) - // but for some reason `nativeSlice.call(result, 1, result.length)` (called in - // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and - // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it. - for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j])); - var namedCaptures = result.groups; - if (functionalReplace) { - var replacerArgs = [matched].concat(captures, position, S); - if (namedCaptures !== undefined) replacerArgs.push(namedCaptures); - var replacement = String(replaceValue.apply(undefined, replacerArgs)); - } else { - replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue); - } - if (position >= nextSourcePosition) { - accumulatedResult += S.slice(nextSourcePosition, position) + replacement; - nextSourcePosition = position + matched.length; - } - } - return accumulatedResult + S.slice(nextSourcePosition); - } - ]; -}); - - -/***/ }), - -/***/ "S58s": -/*!*************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.math.cosh.js ***! - \*************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var expm1 = __webpack_require__(/*! ../internals/math-expm1 */ "pn4C"); - -var nativeCosh = Math.cosh; -var abs = Math.abs; -var E = Math.E; - -// `Math.cosh` method -// https://tc39.es/ecma262/#sec-math.cosh -$({ target: 'Math', stat: true, forced: !nativeCosh || nativeCosh(710) === Infinity }, { - cosh: function cosh(x) { - var t = expm1(abs(x) - 1) + 1; - return (t + 1 / (t * E * E)) * (E / 2); - } -}); - - -/***/ }), - -/***/ "SC6u": -/*!***************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.regexp.exec.js ***! - \***************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var exec = __webpack_require__(/*! ../internals/regexp-exec */ "qjkP"); - -// `RegExp.prototype.exec` method -// https://tc39.es/ecma262/#sec-regexp.prototype.exec -$({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, { - exec: exec -}); - - -/***/ }), - -/***/ "SDMg": -/*!******************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/uid.js ***! - \******************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -var id = 0; -var postfix = Math.random(); - -module.exports = function (key) { - return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36); -}; - - -/***/ }), - -/***/ "SM6+": -/*!**************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/an-instance.js ***! - \**************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -module.exports = function (it, Constructor, name) { - if (!(it instanceof Constructor)) { - throw TypeError('Incorrect ' + (name ? name + ' ' : '') + 'invocation'); - } return it; -}; - - -/***/ }), - -/***/ "SNUk": -/*!**********************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.symbol.js ***! - \**********************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var global = __webpack_require__(/*! ../internals/global */ "ocAm"); -var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "Ew/G"); -var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "g9hI"); -var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "T69T"); -var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/native-symbol */ "U+kB"); -var USE_SYMBOL_AS_UID = __webpack_require__(/*! ../internals/use-symbol-as-uid */ "i85Z"); -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); -var has = __webpack_require__(/*! ../internals/has */ "OG5q"); -var isArray = __webpack_require__(/*! ../internals/is-array */ "erNl"); -var isObject = __webpack_require__(/*! ../internals/is-object */ "6XUM"); -var anObject = __webpack_require__(/*! ../internals/an-object */ "F26l"); -var toObject = __webpack_require__(/*! ../internals/to-object */ "VCQ8"); -var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "EMtK"); -var toPrimitive = __webpack_require__(/*! ../internals/to-primitive */ "LdO1"); -var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "uSMZ"); -var nativeObjectCreate = __webpack_require__(/*! ../internals/object-create */ "2RDa"); -var objectKeys = __webpack_require__(/*! ../internals/object-keys */ "ZRqE"); -var getOwnPropertyNamesModule = __webpack_require__(/*! ../internals/object-get-own-property-names */ "KkqW"); -var getOwnPropertyNamesExternal = __webpack_require__(/*! ../internals/object-get-own-property-names-external */ "TzEA"); -var getOwnPropertySymbolsModule = __webpack_require__(/*! ../internals/object-get-own-property-symbols */ "busr"); -var getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "7gGY"); -var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "/Ybd"); -var propertyIsEnumerableModule = __webpack_require__(/*! ../internals/object-property-is-enumerable */ "gn9T"); -var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "aJMj"); -var redefine = __webpack_require__(/*! ../internals/redefine */ "2MGJ"); -var shared = __webpack_require__(/*! ../internals/shared */ "yIiL"); -var sharedKey = __webpack_require__(/*! ../internals/shared-key */ "/AsP"); -var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ "yQMY"); -var uid = __webpack_require__(/*! ../internals/uid */ "SDMg"); -var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "m41k"); -var wrappedWellKnownSymbolModule = __webpack_require__(/*! ../internals/well-known-symbol-wrapped */ "aGCb"); -var defineWellKnownSymbol = __webpack_require__(/*! ../internals/define-well-known-symbol */ "94Vg"); -var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ "shqn"); -var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "XH/I"); -var $forEach = __webpack_require__(/*! ../internals/array-iteration */ "kk6e").forEach; - -var HIDDEN = sharedKey('hidden'); -var SYMBOL = 'Symbol'; -var PROTOTYPE = 'prototype'; -var TO_PRIMITIVE = wellKnownSymbol('toPrimitive'); -var setInternalState = InternalStateModule.set; -var getInternalState = InternalStateModule.getterFor(SYMBOL); -var ObjectPrototype = Object[PROTOTYPE]; -var $Symbol = global.Symbol; -var $stringify = getBuiltIn('JSON', 'stringify'); -var nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; -var nativeDefineProperty = definePropertyModule.f; -var nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f; -var nativePropertyIsEnumerable = propertyIsEnumerableModule.f; -var AllSymbols = shared('symbols'); -var ObjectPrototypeSymbols = shared('op-symbols'); -var StringToSymbolRegistry = shared('string-to-symbol-registry'); -var SymbolToStringRegistry = shared('symbol-to-string-registry'); -var WellKnownSymbolsStore = shared('wks'); -var QObject = global.QObject; -// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173 -var USE_SETTER = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild; - -// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687 -var setSymbolDescriptor = DESCRIPTORS && fails(function () { - return nativeObjectCreate(nativeDefineProperty({}, 'a', { - get: function () { return nativeDefineProperty(this, 'a', { value: 7 }).a; } - })).a != 7; -}) ? function (O, P, Attributes) { - var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor(ObjectPrototype, P); - if (ObjectPrototypeDescriptor) delete ObjectPrototype[P]; - nativeDefineProperty(O, P, Attributes); - if (ObjectPrototypeDescriptor && O !== ObjectPrototype) { - nativeDefineProperty(ObjectPrototype, P, ObjectPrototypeDescriptor); - } -} : nativeDefineProperty; - -var wrap = function (tag, description) { - var symbol = AllSymbols[tag] = nativeObjectCreate($Symbol[PROTOTYPE]); - setInternalState(symbol, { - type: SYMBOL, - tag: tag, - description: description - }); - if (!DESCRIPTORS) symbol.description = description; - return symbol; -}; - -var isSymbol = USE_SYMBOL_AS_UID ? function (it) { - return typeof it == 'symbol'; -} : function (it) { - return Object(it) instanceof $Symbol; -}; - -var $defineProperty = function defineProperty(O, P, Attributes) { - if (O === ObjectPrototype) $defineProperty(ObjectPrototypeSymbols, P, Attributes); - anObject(O); - var key = toPrimitive(P, true); - anObject(Attributes); - if (has(AllSymbols, key)) { - if (!Attributes.enumerable) { - if (!has(O, HIDDEN)) nativeDefineProperty(O, HIDDEN, createPropertyDescriptor(1, {})); - O[HIDDEN][key] = true; - } else { - if (has(O, HIDDEN) && O[HIDDEN][key]) O[HIDDEN][key] = false; - Attributes = nativeObjectCreate(Attributes, { enumerable: createPropertyDescriptor(0, false) }); - } return setSymbolDescriptor(O, key, Attributes); - } return nativeDefineProperty(O, key, Attributes); -}; - -var $defineProperties = function defineProperties(O, Properties) { - anObject(O); - var properties = toIndexedObject(Properties); - var keys = objectKeys(properties).concat($getOwnPropertySymbols(properties)); - $forEach(keys, function (key) { - if (!DESCRIPTORS || $propertyIsEnumerable.call(properties, key)) $defineProperty(O, key, properties[key]); - }); - return O; -}; - -var $create = function create(O, Properties) { - return Properties === undefined ? nativeObjectCreate(O) : $defineProperties(nativeObjectCreate(O), Properties); -}; - -var $propertyIsEnumerable = function propertyIsEnumerable(V) { - var P = toPrimitive(V, true); - var enumerable = nativePropertyIsEnumerable.call(this, P); - if (this === ObjectPrototype && has(AllSymbols, P) && !has(ObjectPrototypeSymbols, P)) return false; - return enumerable || !has(this, P) || !has(AllSymbols, P) || has(this, HIDDEN) && this[HIDDEN][P] ? enumerable : true; -}; - -var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(O, P) { - var it = toIndexedObject(O); - var key = toPrimitive(P, true); - if (it === ObjectPrototype && has(AllSymbols, key) && !has(ObjectPrototypeSymbols, key)) return; - var descriptor = nativeGetOwnPropertyDescriptor(it, key); - if (descriptor && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) { - descriptor.enumerable = true; - } - return descriptor; -}; - -var $getOwnPropertyNames = function getOwnPropertyNames(O) { - var names = nativeGetOwnPropertyNames(toIndexedObject(O)); - var result = []; - $forEach(names, function (key) { - if (!has(AllSymbols, key) && !has(hiddenKeys, key)) result.push(key); - }); - return result; -}; - -var $getOwnPropertySymbols = function getOwnPropertySymbols(O) { - var IS_OBJECT_PROTOTYPE = O === ObjectPrototype; - var names = nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject(O)); - var result = []; - $forEach(names, function (key) { - if (has(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || has(ObjectPrototype, key))) { - result.push(AllSymbols[key]); - } - }); - return result; -}; - -// `Symbol` constructor -// https://tc39.es/ecma262/#sec-symbol-constructor -if (!NATIVE_SYMBOL) { - $Symbol = function Symbol() { - if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor'); - var description = !arguments.length || arguments[0] === undefined ? undefined : String(arguments[0]); - var tag = uid(description); - var setter = function (value) { - if (this === ObjectPrototype) setter.call(ObjectPrototypeSymbols, value); - if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false; - setSymbolDescriptor(this, tag, createPropertyDescriptor(1, value)); - }; - if (DESCRIPTORS && USE_SETTER) setSymbolDescriptor(ObjectPrototype, tag, { configurable: true, set: setter }); - return wrap(tag, description); - }; - - redefine($Symbol[PROTOTYPE], 'toString', function toString() { - return getInternalState(this).tag; - }); - - redefine($Symbol, 'withoutSetter', function (description) { - return wrap(uid(description), description); - }); - - propertyIsEnumerableModule.f = $propertyIsEnumerable; - definePropertyModule.f = $defineProperty; - getOwnPropertyDescriptorModule.f = $getOwnPropertyDescriptor; - getOwnPropertyNamesModule.f = getOwnPropertyNamesExternal.f = $getOwnPropertyNames; - getOwnPropertySymbolsModule.f = $getOwnPropertySymbols; - - wrappedWellKnownSymbolModule.f = function (name) { - return wrap(wellKnownSymbol(name), name); - }; - - if (DESCRIPTORS) { - // https://github.com/tc39/proposal-Symbol-description - nativeDefineProperty($Symbol[PROTOTYPE], 'description', { - configurable: true, - get: function description() { - return getInternalState(this).description; - } - }); - if (!IS_PURE) { - redefine(ObjectPrototype, 'propertyIsEnumerable', $propertyIsEnumerable, { unsafe: true }); - } - } -} - -$({ global: true, wrap: true, forced: !NATIVE_SYMBOL, sham: !NATIVE_SYMBOL }, { - Symbol: $Symbol -}); - -$forEach(objectKeys(WellKnownSymbolsStore), function (name) { - defineWellKnownSymbol(name); -}); - -$({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL }, { - // `Symbol.for` method - // https://tc39.es/ecma262/#sec-symbol.for - 'for': function (key) { - var string = String(key); - if (has(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string]; - var symbol = $Symbol(string); - StringToSymbolRegistry[string] = symbol; - SymbolToStringRegistry[symbol] = string; - return symbol; - }, - // `Symbol.keyFor` method - // https://tc39.es/ecma262/#sec-symbol.keyfor - keyFor: function keyFor(sym) { - if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol'); - if (has(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym]; - }, - useSetter: function () { USE_SETTER = true; }, - useSimple: function () { USE_SETTER = false; } -}); - -$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL, sham: !DESCRIPTORS }, { - // `Object.create` method - // https://tc39.es/ecma262/#sec-object.create - create: $create, - // `Object.defineProperty` method - // https://tc39.es/ecma262/#sec-object.defineproperty - defineProperty: $defineProperty, - // `Object.defineProperties` method - // https://tc39.es/ecma262/#sec-object.defineproperties - defineProperties: $defineProperties, - // `Object.getOwnPropertyDescriptor` method - // https://tc39.es/ecma262/#sec-object.getownpropertydescriptors - getOwnPropertyDescriptor: $getOwnPropertyDescriptor -}); - -$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL }, { - // `Object.getOwnPropertyNames` method - // https://tc39.es/ecma262/#sec-object.getownpropertynames - getOwnPropertyNames: $getOwnPropertyNames, - // `Object.getOwnPropertySymbols` method - // https://tc39.es/ecma262/#sec-object.getownpropertysymbols - getOwnPropertySymbols: $getOwnPropertySymbols -}); - -// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives -// https://bugs.chromium.org/p/v8/issues/detail?id=3443 -$({ target: 'Object', stat: true, forced: fails(function () { getOwnPropertySymbolsModule.f(1); }) }, { - getOwnPropertySymbols: function getOwnPropertySymbols(it) { - return getOwnPropertySymbolsModule.f(toObject(it)); - } -}); - -// `JSON.stringify` method behavior with symbols -// https://tc39.es/ecma262/#sec-json.stringify -if ($stringify) { - var FORCED_JSON_STRINGIFY = !NATIVE_SYMBOL || fails(function () { - var symbol = $Symbol(); - // MS Edge converts symbol values to JSON as {} - return $stringify([symbol]) != '[null]' - // WebKit converts symbol values to JSON as null - || $stringify({ a: symbol }) != '{}' - // V8 throws on boxed symbols - || $stringify(Object(symbol)) != '{}'; - }); - - $({ target: 'JSON', stat: true, forced: FORCED_JSON_STRINGIFY }, { - // eslint-disable-next-line no-unused-vars - stringify: function stringify(it, replacer, space) { - var args = [it]; - var index = 1; - var $replacer; - while (arguments.length > index) args.push(arguments[index++]); - $replacer = replacer; - if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined - if (!isArray(replacer)) replacer = function (key, value) { - if (typeof $replacer == 'function') value = $replacer.call(this, key, value); - if (!isSymbol(value)) return value; - }; - args[1] = replacer; - return $stringify.apply(null, args); - } - }); -} - -// `Symbol.prototype[@@toPrimitive]` method -// https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive -if (!$Symbol[PROTOTYPE][TO_PRIMITIVE]) { - createNonEnumerableProperty($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf); -} -// `Symbol.prototype[@@toStringTag]` property -// https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag -setToStringTag($Symbol, SYMBOL); - -hiddenKeys[HIDDEN] = true; - - -/***/ }), - -/***/ "SdaC": -/*!**************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.math.trunc.js ***! - \**************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); - -var ceil = Math.ceil; -var floor = Math.floor; - -// `Math.trunc` method -// https://tc39.es/ecma262/#sec-math.trunc -$({ target: 'Math', stat: true }, { - trunc: function trunc(it) { - return (it > 0 ? floor : ceil)(it); - } -}); - - -/***/ }), - -/***/ "T/Kj": -/*!********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/engine-user-agent.js ***! - \********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "Ew/G"); - -module.exports = getBuiltIn('navigator', 'userAgent') || ''; - - -/***/ }), - -/***/ "T4tC": -/*!**********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.regexp.constructor.js ***! - \**********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "T69T"); -var global = __webpack_require__(/*! ../internals/global */ "ocAm"); -var isForced = __webpack_require__(/*! ../internals/is-forced */ "MkZA"); -var inheritIfRequired = __webpack_require__(/*! ../internals/inherit-if-required */ "K6ZX"); -var defineProperty = __webpack_require__(/*! ../internals/object-define-property */ "/Ybd").f; -var getOwnPropertyNames = __webpack_require__(/*! ../internals/object-get-own-property-names */ "KkqW").f; -var isRegExp = __webpack_require__(/*! ../internals/is-regexp */ "1p6F"); -var getFlags = __webpack_require__(/*! ../internals/regexp-flags */ "x0kV"); -var stickyHelpers = __webpack_require__(/*! ../internals/regexp-sticky-helpers */ "JkSk"); -var redefine = __webpack_require__(/*! ../internals/redefine */ "2MGJ"); -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); -var setInternalState = __webpack_require__(/*! ../internals/internal-state */ "XH/I").set; -var setSpecies = __webpack_require__(/*! ../internals/set-species */ "JHhb"); -var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "m41k"); - -var MATCH = wellKnownSymbol('match'); -var NativeRegExp = global.RegExp; -var RegExpPrototype = NativeRegExp.prototype; -var re1 = /a/g; -var re2 = /a/g; - -// "new" should create a new object, old webkit bug -var CORRECT_NEW = new NativeRegExp(re1) !== re1; - -var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y; - -var FORCED = DESCRIPTORS && isForced('RegExp', (!CORRECT_NEW || UNSUPPORTED_Y || fails(function () { - re2[MATCH] = false; - // RegExp constructor can alter flags and IsRegExp works correct with @@match - return NativeRegExp(re1) != re1 || NativeRegExp(re2) == re2 || NativeRegExp(re1, 'i') != '/a/i'; -}))); - -// `RegExp` constructor -// https://tc39.es/ecma262/#sec-regexp-constructor -if (FORCED) { - var RegExpWrapper = function RegExp(pattern, flags) { - var thisIsRegExp = this instanceof RegExpWrapper; - var patternIsRegExp = isRegExp(pattern); - var flagsAreUndefined = flags === undefined; - var sticky; - - if (!thisIsRegExp && patternIsRegExp && pattern.constructor === RegExpWrapper && flagsAreUndefined) { - return pattern; - } - - if (CORRECT_NEW) { - if (patternIsRegExp && !flagsAreUndefined) pattern = pattern.source; - } else if (pattern instanceof RegExpWrapper) { - if (flagsAreUndefined) flags = getFlags.call(pattern); - pattern = pattern.source; - } - - if (UNSUPPORTED_Y) { - sticky = !!flags && flags.indexOf('y') > -1; - if (sticky) flags = flags.replace(/y/g, ''); - } - - var result = inheritIfRequired( - CORRECT_NEW ? new NativeRegExp(pattern, flags) : NativeRegExp(pattern, flags), - thisIsRegExp ? this : RegExpPrototype, - RegExpWrapper - ); - - if (UNSUPPORTED_Y && sticky) setInternalState(result, { sticky: sticky }); - - return result; - }; - var proxy = function (key) { - key in RegExpWrapper || defineProperty(RegExpWrapper, key, { - configurable: true, - get: function () { return NativeRegExp[key]; }, - set: function (it) { NativeRegExp[key] = it; } - }); - }; - var keys = getOwnPropertyNames(NativeRegExp); - var index = 0; - while (keys.length > index) proxy(keys[index++]); - RegExpPrototype.constructor = RegExpWrapper; - RegExpWrapper.prototype = RegExpPrototype; - redefine(global, 'RegExp', RegExpWrapper); -} - -// https://tc39.es/ecma262/#sec-get-regexp-@@species -setSpecies('RegExp'); - - -/***/ }), - -/***/ "T69T": -/*!**************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/descriptors.js ***! - \**************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); - -// Detect IE8's incomplete defineProperty implementation -module.exports = !fails(function () { - return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7; -}); - - -/***/ }), - -/***/ "TzEA": -/*!*****************************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/object-get-own-property-names-external.js ***! - \*****************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "EMtK"); -var nativeGetOwnPropertyNames = __webpack_require__(/*! ../internals/object-get-own-property-names */ "KkqW").f; - -var toString = {}.toString; - -var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames - ? Object.getOwnPropertyNames(window) : []; - -var getWindowNames = function (it) { - try { - return nativeGetOwnPropertyNames(it); - } catch (error) { - return windowNames.slice(); - } -}; - -// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window -module.exports.f = function getOwnPropertyNames(it) { - return windowNames && toString.call(it) == '[object Window]' - ? getWindowNames(it) - : nativeGetOwnPropertyNames(toIndexedObject(it)); -}; - - -/***/ }), - -/***/ "U+kB": -/*!****************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/native-symbol.js ***! - \****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); - -module.exports = !!Object.getOwnPropertySymbols && !fails(function () { - // Chrome 38 Symbol has incorrect toString conversion - // eslint-disable-next-line no-undef - return !String(Symbol()); -}); - - -/***/ }), - -/***/ "V+F/": -/*!*******************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.symbol.is-concat-spreadable.js ***! - \*******************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var defineWellKnownSymbol = __webpack_require__(/*! ../internals/define-well-known-symbol */ "94Vg"); - -// `Symbol.isConcatSpreadable` well-known symbol -// https://tc39.es/ecma262/#sec-symbol.isconcatspreadable -defineWellKnownSymbol('isConcatSpreadable'); - - -/***/ }), - -/***/ "VCQ8": -/*!************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/to-object.js ***! - \************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "hmpk"); - -// `ToObject` abstract operation -// https://tc39.es/ecma262/#sec-toobject -module.exports = function (argument) { - return Object(requireObjectCoercible(argument)); -}; - - -/***/ }), - -/***/ "Vi1R": -/*!****************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.symbol.split.js ***! - \****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var defineWellKnownSymbol = __webpack_require__(/*! ../internals/define-well-known-symbol */ "94Vg"); - -// `Symbol.split` well-known symbol -// https://tc39.es/ecma262/#sec-symbol.split -defineWellKnownSymbol('split'); - - -/***/ }), - -/***/ "ViWx": -/*!*******************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.set.js ***! - \*******************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var collection = __webpack_require__(/*! ../internals/collection */ "wdMf"); -var collectionStrong = __webpack_require__(/*! ../internals/collection-strong */ "nIH4"); - -// `Set` constructor -// https://tc39.es/ecma262/#sec-set-objects -module.exports = collection('Set', function (init) { - return function Set() { return init(this, arguments.length ? arguments[0] : undefined); }; -}, collectionStrong); - - -/***/ }), - -/***/ "VmbE": -/*!*****************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.string.strike.js ***! - \*****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var createHTML = __webpack_require__(/*! ../internals/create-html */ "uoca"); -var forcedStringHTMLMethod = __webpack_require__(/*! ../internals/string-html-forced */ "d8Sw"); - -// `String.prototype.strike` method -// https://tc39.es/ecma262/#sec-string.prototype.strike -$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('strike') }, { - strike: function strike() { - return createHTML(this, 'strike', '', ''); - } -}); - - -/***/ }), - -/***/ "W0ke": -/*!*******************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.string.fontsize.js ***! - \*******************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var createHTML = __webpack_require__(/*! ../internals/create-html */ "uoca"); -var forcedStringHTMLMethod = __webpack_require__(/*! ../internals/string-html-forced */ "d8Sw"); - -// `String.prototype.fontsize` method -// https://tc39.es/ecma262/#sec-string.prototype.fontsize -$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('fontsize') }, { - fontsize: function fontsize(size) { - return createHTML(this, 'font', 'size', size); - } -}); - - -/***/ }), - -/***/ "WEX0": -/*!***************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.string.link.js ***! - \***************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var createHTML = __webpack_require__(/*! ../internals/create-html */ "uoca"); -var forcedStringHTMLMethod = __webpack_require__(/*! ../internals/string-html-forced */ "d8Sw"); - -// `String.prototype.link` method -// https://tc39.es/ecma262/#sec-string.prototype.link -$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('link') }, { - link: function link(url) { - return createHTML(this, 'a', 'href', url); - } -}); - - -/***/ }), - -/***/ "WEpO": -/*!**************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.math.log10.js ***! - \**************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); - -var log = Math.log; -var LOG10E = Math.LOG10E; - -// `Math.log10` method -// https://tc39.es/ecma262/#sec-math.log10 -$({ target: 'Math', stat: true }, { - log10: function log10(x) { - return log(x) * LOG10E; - } -}); - - -/***/ }), - -/***/ "WKvG": -/*!********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.string.fontcolor.js ***! - \********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var createHTML = __webpack_require__(/*! ../internals/create-html */ "uoca"); -var forcedStringHTMLMethod = __webpack_require__(/*! ../internals/string-html-forced */ "d8Sw"); - -// `String.prototype.fontcolor` method -// https://tc39.es/ecma262/#sec-string.prototype.fontcolor -$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('fontcolor') }, { - fontcolor: function fontcolor(color) { - return createHTML(this, 'font', 'color', color); - } -}); - - -/***/ }), - -/***/ "WLa2": -/*!*****************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.object.prevent-extensions.js ***! - \*****************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var isObject = __webpack_require__(/*! ../internals/is-object */ "6XUM"); -var onFreeze = __webpack_require__(/*! ../internals/internal-metadata */ "M7Xk").onFreeze; -var FREEZING = __webpack_require__(/*! ../internals/freezing */ "cZY6"); -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); - -var nativePreventExtensions = Object.preventExtensions; -var FAILS_ON_PRIMITIVES = fails(function () { nativePreventExtensions(1); }); - -// `Object.preventExtensions` method -// https://tc39.es/ecma262/#sec-object.preventextensions -$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING }, { - preventExtensions: function preventExtensions(it) { - return nativePreventExtensions && isObject(it) ? nativePreventExtensions(onFreeze(it)) : it; - } -}); - - -/***/ }), - -/***/ "WijE": -/*!******************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/define-iterator.js ***! - \******************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var createIteratorConstructor = __webpack_require__(/*! ../internals/create-iterator-constructor */ "ZJLg"); -var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ "wIVT"); -var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ "7/lX"); -var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ "shqn"); -var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "aJMj"); -var redefine = __webpack_require__(/*! ../internals/redefine */ "2MGJ"); -var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "m41k"); -var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "g9hI"); -var Iterators = __webpack_require__(/*! ../internals/iterators */ "pz+c"); -var IteratorsCore = __webpack_require__(/*! ../internals/iterators-core */ "G1Vw"); - -var IteratorPrototype = IteratorsCore.IteratorPrototype; -var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS; -var ITERATOR = wellKnownSymbol('iterator'); -var KEYS = 'keys'; -var VALUES = 'values'; -var ENTRIES = 'entries'; - -var returnThis = function () { return this; }; - -module.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) { - createIteratorConstructor(IteratorConstructor, NAME, next); - - var getIterationMethod = function (KIND) { - if (KIND === DEFAULT && defaultIterator) return defaultIterator; - if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND]; - switch (KIND) { - case KEYS: return function keys() { return new IteratorConstructor(this, KIND); }; - case VALUES: return function values() { return new IteratorConstructor(this, KIND); }; - case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); }; - } return function () { return new IteratorConstructor(this); }; - }; - - var TO_STRING_TAG = NAME + ' Iterator'; - var INCORRECT_VALUES_NAME = false; - var IterablePrototype = Iterable.prototype; - var nativeIterator = IterablePrototype[ITERATOR] - || IterablePrototype['@@iterator'] - || DEFAULT && IterablePrototype[DEFAULT]; - var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT); - var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator; - var CurrentIteratorPrototype, methods, KEY; - - // fix native - if (anyNativeIterator) { - CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable())); - if (IteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) { - if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) { - if (setPrototypeOf) { - setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype); - } else if (typeof CurrentIteratorPrototype[ITERATOR] != 'function') { - createNonEnumerableProperty(CurrentIteratorPrototype, ITERATOR, returnThis); - } - } - // Set @@toStringTag to native iterators - setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true); - if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis; - } - } - - // fix Array#{values, @@iterator}.name in V8 / FF - if (DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) { - INCORRECT_VALUES_NAME = true; - defaultIterator = function values() { return nativeIterator.call(this); }; - } - - // define iterator - if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) { - createNonEnumerableProperty(IterablePrototype, ITERATOR, defaultIterator); - } - Iterators[NAME] = defaultIterator; - - // export additional methods - if (DEFAULT) { - methods = { - values: getIterationMethod(VALUES), - keys: IS_SET ? defaultIterator : getIterationMethod(KEYS), - entries: getIterationMethod(ENTRIES) - }; - if (FORCED) for (KEY in methods) { - if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) { - redefine(IterablePrototype, KEY, methods[KEY]); - } - } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods); - } - - return methods; -}; - - -/***/ }), - -/***/ "WnNu": -/*!***************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.object.set-prototype-of.js ***! - \***************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ "7/lX"); - -// `Object.setPrototypeOf` method -// https://tc39.es/ecma262/#sec-object.setprototypeof -$({ target: 'Object', stat: true }, { - setPrototypeOf: setPrototypeOf -}); - - -/***/ }), - -/***/ "XEin": -/*!**************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.array.some.js ***! - \**************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var $some = __webpack_require__(/*! ../internals/array-iteration */ "kk6e").some; -var arrayMethodIsStrict = __webpack_require__(/*! ../internals/array-method-is-strict */ "6CJb"); -var arrayMethodUsesToLength = __webpack_require__(/*! ../internals/array-method-uses-to-length */ "w2hq"); - -var STRICT_METHOD = arrayMethodIsStrict('some'); -var USES_TO_LENGTH = arrayMethodUsesToLength('some'); - -// `Array.prototype.some` method -// https://tc39.es/ecma262/#sec-array.prototype.some -$({ target: 'Array', proto: true, forced: !STRICT_METHOD || !USES_TO_LENGTH }, { - some: function some(callbackfn /* , thisArg */) { - return $some(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); - } -}); - - -/***/ }), - -/***/ "XH/I": -/*!*****************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/internal-state.js ***! - \*****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var NATIVE_WEAK_MAP = __webpack_require__(/*! ../internals/native-weak-map */ "yaK9"); -var global = __webpack_require__(/*! ../internals/global */ "ocAm"); -var isObject = __webpack_require__(/*! ../internals/is-object */ "6XUM"); -var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "aJMj"); -var objectHas = __webpack_require__(/*! ../internals/has */ "OG5q"); -var shared = __webpack_require__(/*! ../internals/shared-store */ "KBkW"); -var sharedKey = __webpack_require__(/*! ../internals/shared-key */ "/AsP"); -var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ "yQMY"); - -var WeakMap = global.WeakMap; -var set, get, has; - -var enforce = function (it) { - return has(it) ? get(it) : set(it, {}); -}; - -var getterFor = function (TYPE) { - return function (it) { - var state; - if (!isObject(it) || (state = get(it)).type !== TYPE) { - throw TypeError('Incompatible receiver, ' + TYPE + ' required'); - } return state; - }; -}; - -if (NATIVE_WEAK_MAP) { - var store = shared.state || (shared.state = new WeakMap()); - var wmget = store.get; - var wmhas = store.has; - var wmset = store.set; - set = function (it, metadata) { - metadata.facade = it; - wmset.call(store, it, metadata); - return metadata; - }; - get = function (it) { - return wmget.call(store, it) || {}; - }; - has = function (it) { - return wmhas.call(store, it); - }; -} else { - var STATE = sharedKey('state'); - hiddenKeys[STATE] = true; - set = function (it, metadata) { - metadata.facade = it; - createNonEnumerableProperty(it, STATE, metadata); - return metadata; - }; - get = function (it) { - return objectHas(it, STATE) ? it[STATE] : {}; - }; - has = function (it) { - return objectHas(it, STATE); - }; -} - -module.exports = { - set: set, - get: get, - has: has, - enforce: enforce, - getterFor: getterFor -}; - - -/***/ }), - -/***/ "XdSI": -/*!*****************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/ie8-dom-define.js ***! - \*****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "T69T"); -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); -var createElement = __webpack_require__(/*! ../internals/document-create-element */ "qx7X"); - -// Thank's IE8 for his funny defineProperty -module.exports = !DESCRIPTORS && !fails(function () { - return Object.defineProperty(createElement('div'), 'a', { - get: function () { return 7; } - }).a != 7; -}); - - -/***/ }), - -/***/ "Xm88": -/*!***********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.array.last-index-of.js ***! - \***********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var lastIndexOf = __webpack_require__(/*! ../internals/array-last-index-of */ "rCRE"); - -// `Array.prototype.lastIndexOf` method -// https://tc39.es/ecma262/#sec-array.prototype.lastindexof -$({ target: 'Array', proto: true, forced: lastIndexOf !== [].lastIndexOf }, { - lastIndexOf: lastIndexOf -}); - - -/***/ }), - -/***/ "Y5OV": -/*!*********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.date.to-primitive.js ***! - \*********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "aJMj"); -var dateToPrimitive = __webpack_require__(/*! ../internals/date-to-primitive */ "CW9j"); -var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "m41k"); - -var TO_PRIMITIVE = wellKnownSymbol('toPrimitive'); -var DatePrototype = Date.prototype; - -// `Date.prototype[@@toPrimitive]` method -// https://tc39.es/ecma262/#sec-date.prototype-@@toprimitive -if (!(TO_PRIMITIVE in DatePrototype)) { - createNonEnumerableProperty(DatePrototype, TO_PRIMITIVE, dateToPrimitive); -} - - -/***/ }), - -/***/ "YOJ4": -/*!********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.symbol.match-all.js ***! - \********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var defineWellKnownSymbol = __webpack_require__(/*! ../internals/define-well-known-symbol */ "94Vg"); - -// `Symbol.matchAll` well-known symbol -// https://tc39.es/ecma262/#sec-symbol.matchall -defineWellKnownSymbol('matchAll'); - - -/***/ }), - -/***/ "YdMc": -/*!******************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.reflect.prevent-extensions.js ***! - \******************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "Ew/G"); -var anObject = __webpack_require__(/*! ../internals/an-object */ "F26l"); -var FREEZING = __webpack_require__(/*! ../internals/freezing */ "cZY6"); - -// `Reflect.preventExtensions` method -// https://tc39.es/ecma262/#sec-reflect.preventextensions -$({ target: 'Reflect', stat: true, sham: !FREEZING }, { - preventExtensions: function preventExtensions(target) { - anObject(target); - try { - var objectPreventExtensions = getBuiltIn('Object', 'preventExtensions'); - if (objectPreventExtensions) objectPreventExtensions(target); - return true; - } catch (error) { - return false; - } - } -}); - - -/***/ }), - -/***/ "Yg8j": -/*!*******************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/number-is-finite.js ***! - \*******************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var global = __webpack_require__(/*! ../internals/global */ "ocAm"); - -var globalIsFinite = global.isFinite; - -// `Number.isFinite` method -// https://tc39.es/ecma262/#sec-number.isfinite -module.exports = Number.isFinite || function isFinite(it) { - return typeof it == 'number' && globalIsFinite(it); -}; - - -/***/ }), - -/***/ "Yu3F": -/*!***************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.string.bold.js ***! - \***************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var createHTML = __webpack_require__(/*! ../internals/create-html */ "uoca"); -var forcedStringHTMLMethod = __webpack_require__(/*! ../internals/string-html-forced */ "d8Sw"); - -// `String.prototype.bold` method -// https://tc39.es/ecma262/#sec-string.prototype.bold -$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('bold') }, { - bold: function bold() { - return createHTML(this, 'b', '', ''); - } -}); - - -/***/ }), - -/***/ "ZBUp": -/*!******************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.number.epsilon.js ***! - \******************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); - -// `Number.EPSILON` constant -// https://tc39.es/ecma262/#sec-number.epsilon -$({ target: 'Number', stat: true }, { - EPSILON: Math.pow(2, -52) -}); - - -/***/ }), - -/***/ "ZJLg": -/*!******************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/create-iterator-constructor.js ***! - \******************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var IteratorPrototype = __webpack_require__(/*! ../internals/iterators-core */ "G1Vw").IteratorPrototype; -var create = __webpack_require__(/*! ../internals/object-create */ "2RDa"); -var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "uSMZ"); -var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ "shqn"); -var Iterators = __webpack_require__(/*! ../internals/iterators */ "pz+c"); - -var returnThis = function () { return this; }; - -module.exports = function (IteratorConstructor, NAME, next) { - var TO_STRING_TAG = NAME + ' Iterator'; - IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(1, next) }); - setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true); - Iterators[TO_STRING_TAG] = returnThis; - return IteratorConstructor; -}; - - -/***/ }), - -/***/ "ZQqA": -/*!************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.symbol.to-string-tag.js ***! - \************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var defineWellKnownSymbol = __webpack_require__(/*! ../internals/define-well-known-symbol */ "94Vg"); - -// `Symbol.toStringTag` well-known symbol -// https://tc39.es/ecma262/#sec-symbol.tostringtag -defineWellKnownSymbol('toStringTag'); - - -/***/ }), - -/***/ "ZRqE": -/*!**************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/object-keys.js ***! - \**************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var internalObjectKeys = __webpack_require__(/*! ../internals/object-keys-internal */ "vVmn"); -var enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ "aAjO"); - -// `Object.keys` method -// https://tc39.es/ecma262/#sec-object.keys -module.exports = Object.keys || function keys(O) { - return internalObjectKeys(O, enumBugKeys); -}; - - -/***/ }), - -/***/ "aAjO": -/*!****************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/enum-bug-keys.js ***! - \****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -// IE8- don't enum bug keys -module.exports = [ - 'constructor', - 'hasOwnProperty', - 'isPrototypeOf', - 'propertyIsEnumerable', - 'toLocaleString', - 'toString', - 'valueOf' -]; - - -/***/ }), - -/***/ "aGCb": -/*!****************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/well-known-symbol-wrapped.js ***! - \****************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "m41k"); - -exports.f = wellKnownSymbol; - - -/***/ }), - -/***/ "aJMj": -/*!*********************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/create-non-enumerable-property.js ***! - \*********************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "T69T"); -var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "/Ybd"); -var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "uSMZ"); - -module.exports = DESCRIPTORS ? function (object, key, value) { - return definePropertyModule.f(object, key, createPropertyDescriptor(1, value)); -} : function (object, key, value) { - object[key] = value; - return object; -}; - - -/***/ }), - -/***/ "aTTg": -/*!*************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.math.tanh.js ***! - \*************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var expm1 = __webpack_require__(/*! ../internals/math-expm1 */ "pn4C"); - -var exp = Math.exp; - -// `Math.tanh` method -// https://tc39.es/ecma262/#sec-math.tanh -$({ target: 'Math', stat: true }, { - tanh: function tanh(x) { - var a = expm1(x = +x); - var b = expm1(-x); - return a == Infinity ? 1 : b == Infinity ? -1 : (a - b) / (exp(x) + exp(-x)); - } -}); - - -/***/ }), - -/***/ "aYjs": -/*!*************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/src/webpack/es5-jit-polyfills.js ***! - \*************************************************************************************/ -/*! no exports provided */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony import */ var core_js_es_reflect__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/es/reflect */ "QPoQ"); -/* harmony import */ var core_js_es_reflect__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_es_reflect__WEBPACK_IMPORTED_MODULE_0__); -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - -/***/ }), - -/***/ "ane6": -/*!***********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.number.to-precision.js ***! - \***********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); -var thisNumberValue = __webpack_require__(/*! ../internals/this-number-value */ "hH+7"); - -var nativeToPrecision = 1.0.toPrecision; - -var FORCED = fails(function () { - // IE7- - return nativeToPrecision.call(1, undefined) !== '1'; -}) || !fails(function () { - // V8 ~ Android 4.3- - nativeToPrecision.call({}); -}); - -// `Number.prototype.toPrecision` method -// https://tc39.es/ecma262/#sec-number.prototype.toprecision -$({ target: 'Number', proto: true, forced: FORCED }, { - toPrecision: function toPrecision(precision) { - return precision === undefined - ? nativeToPrecision.call(thisNumberValue(this)) - : nativeToPrecision.call(thisNumberValue(this), precision); - } -}); - - -/***/ }), - -/***/ "azxr": -/*!*******************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/object-to-string.js ***! - \*******************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var TO_STRING_TAG_SUPPORT = __webpack_require__(/*! ../internals/to-string-tag-support */ "4PyY"); -var classof = __webpack_require__(/*! ../internals/classof */ "mN5b"); - -// `Object.prototype.toString` method implementation -// https://tc39.es/ecma262/#sec-object.prototype.tostring -module.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() { - return '[object ' + classof(this) + ']'; -}; - - -/***/ }), - -/***/ "b1ja": -/*!********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.reflect.own-keys.js ***! - \********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var ownKeys = __webpack_require__(/*! ../internals/own-keys */ "76gj"); - -// `Reflect.ownKeys` method -// https://tc39.es/ecma262/#sec-reflect.ownkeys -$({ target: 'Reflect', stat: true }, { - ownKeys: ownKeys -}); - - -/***/ }), - -/***/ "bHwr": -/*!***********************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.promise.js ***! - \***********************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "g9hI"); -var global = __webpack_require__(/*! ../internals/global */ "ocAm"); -var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "Ew/G"); -var NativePromise = __webpack_require__(/*! ../internals/native-promise-constructor */ "K1dl"); -var redefine = __webpack_require__(/*! ../internals/redefine */ "2MGJ"); -var redefineAll = __webpack_require__(/*! ../internals/redefine-all */ "8aNu"); -var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ "shqn"); -var setSpecies = __webpack_require__(/*! ../internals/set-species */ "JHhb"); -var isObject = __webpack_require__(/*! ../internals/is-object */ "6XUM"); -var aFunction = __webpack_require__(/*! ../internals/a-function */ "Neub"); -var anInstance = __webpack_require__(/*! ../internals/an-instance */ "SM6+"); -var inspectSource = __webpack_require__(/*! ../internals/inspect-source */ "6urC"); -var iterate = __webpack_require__(/*! ../internals/iterate */ "Rn6E"); -var checkCorrectnessOfIteration = __webpack_require__(/*! ../internals/check-correctness-of-iteration */ "EIBq"); -var speciesConstructor = __webpack_require__(/*! ../internals/species-constructor */ "p82S"); -var task = __webpack_require__(/*! ../internals/task */ "Ox9q").set; -var microtask = __webpack_require__(/*! ../internals/microtask */ "3xQm"); -var promiseResolve = __webpack_require__(/*! ../internals/promise-resolve */ "7aOP"); -var hostReportErrors = __webpack_require__(/*! ../internals/host-report-errors */ "ktmr"); -var newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ "oB0/"); -var perform = __webpack_require__(/*! ../internals/perform */ "pd8B"); -var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "XH/I"); -var isForced = __webpack_require__(/*! ../internals/is-forced */ "MkZA"); -var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "m41k"); -var IS_NODE = __webpack_require__(/*! ../internals/engine-is-node */ "B43K"); -var V8_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ "D3bo"); - -var SPECIES = wellKnownSymbol('species'); -var PROMISE = 'Promise'; -var getInternalState = InternalStateModule.get; -var setInternalState = InternalStateModule.set; -var getInternalPromiseState = InternalStateModule.getterFor(PROMISE); -var PromiseConstructor = NativePromise; -var TypeError = global.TypeError; -var document = global.document; -var process = global.process; -var $fetch = getBuiltIn('fetch'); -var newPromiseCapability = newPromiseCapabilityModule.f; -var newGenericPromiseCapability = newPromiseCapability; -var DISPATCH_EVENT = !!(document && document.createEvent && global.dispatchEvent); -var NATIVE_REJECTION_EVENT = typeof PromiseRejectionEvent == 'function'; -var UNHANDLED_REJECTION = 'unhandledrejection'; -var REJECTION_HANDLED = 'rejectionhandled'; -var PENDING = 0; -var FULFILLED = 1; -var REJECTED = 2; -var HANDLED = 1; -var UNHANDLED = 2; -var Internal, OwnPromiseCapability, PromiseWrapper, nativeThen; - -var FORCED = isForced(PROMISE, function () { - var GLOBAL_CORE_JS_PROMISE = inspectSource(PromiseConstructor) !== String(PromiseConstructor); - if (!GLOBAL_CORE_JS_PROMISE) { - // V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables - // https://bugs.chromium.org/p/chromium/issues/detail?id=830565 - // We can't detect it synchronously, so just check versions - if (V8_VERSION === 66) return true; - // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test - if (!IS_NODE && !NATIVE_REJECTION_EVENT) return true; - } - // We need Promise#finally in the pure version for preventing prototype pollution - if (IS_PURE && !PromiseConstructor.prototype['finally']) return true; - // We can't use @@species feature detection in V8 since it causes - // deoptimization and performance degradation - // https://github.com/zloirock/core-js/issues/679 - if (V8_VERSION >= 51 && /native code/.test(PromiseConstructor)) return false; - // Detect correctness of subclassing with @@species support - var promise = PromiseConstructor.resolve(1); - var FakePromise = function (exec) { - exec(function () { /* empty */ }, function () { /* empty */ }); - }; - var constructor = promise.constructor = {}; - constructor[SPECIES] = FakePromise; - return !(promise.then(function () { /* empty */ }) instanceof FakePromise); -}); - -var INCORRECT_ITERATION = FORCED || !checkCorrectnessOfIteration(function (iterable) { - PromiseConstructor.all(iterable)['catch'](function () { /* empty */ }); -}); - -// helpers -var isThenable = function (it) { - var then; - return isObject(it) && typeof (then = it.then) == 'function' ? then : false; -}; - -var notify = function (state, isReject) { - if (state.notified) return; - state.notified = true; - var chain = state.reactions; - microtask(function () { - var value = state.value; - var ok = state.state == FULFILLED; - var index = 0; - // variable length - can't use forEach - while (chain.length > index) { - var reaction = chain[index++]; - var handler = ok ? reaction.ok : reaction.fail; - var resolve = reaction.resolve; - var reject = reaction.reject; - var domain = reaction.domain; - var result, then, exited; - try { - if (handler) { - if (!ok) { - if (state.rejection === UNHANDLED) onHandleUnhandled(state); - state.rejection = HANDLED; - } - if (handler === true) result = value; - else { - if (domain) domain.enter(); - result = handler(value); // can throw - if (domain) { - domain.exit(); - exited = true; - } - } - if (result === reaction.promise) { - reject(TypeError('Promise-chain cycle')); - } else if (then = isThenable(result)) { - then.call(result, resolve, reject); - } else resolve(result); - } else reject(value); - } catch (error) { - if (domain && !exited) domain.exit(); - reject(error); - } - } - state.reactions = []; - state.notified = false; - if (isReject && !state.rejection) onUnhandled(state); - }); -}; - -var dispatchEvent = function (name, promise, reason) { - var event, handler; - if (DISPATCH_EVENT) { - event = document.createEvent('Event'); - event.promise = promise; - event.reason = reason; - event.initEvent(name, false, true); - global.dispatchEvent(event); - } else event = { promise: promise, reason: reason }; - if (!NATIVE_REJECTION_EVENT && (handler = global['on' + name])) handler(event); - else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason); -}; - -var onUnhandled = function (state) { - task.call(global, function () { - var promise = state.facade; - var value = state.value; - var IS_UNHANDLED = isUnhandled(state); - var result; - if (IS_UNHANDLED) { - result = perform(function () { - if (IS_NODE) { - process.emit('unhandledRejection', value, promise); - } else dispatchEvent(UNHANDLED_REJECTION, promise, value); - }); - // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should - state.rejection = IS_NODE || isUnhandled(state) ? UNHANDLED : HANDLED; - if (result.error) throw result.value; - } - }); -}; - -var isUnhandled = function (state) { - return state.rejection !== HANDLED && !state.parent; -}; - -var onHandleUnhandled = function (state) { - task.call(global, function () { - var promise = state.facade; - if (IS_NODE) { - process.emit('rejectionHandled', promise); - } else dispatchEvent(REJECTION_HANDLED, promise, state.value); - }); -}; - -var bind = function (fn, state, unwrap) { - return function (value) { - fn(state, value, unwrap); - }; -}; - -var internalReject = function (state, value, unwrap) { - if (state.done) return; - state.done = true; - if (unwrap) state = unwrap; - state.value = value; - state.state = REJECTED; - notify(state, true); -}; - -var internalResolve = function (state, value, unwrap) { - if (state.done) return; - state.done = true; - if (unwrap) state = unwrap; - try { - if (state.facade === value) throw TypeError("Promise can't be resolved itself"); - var then = isThenable(value); - if (then) { - microtask(function () { - var wrapper = { done: false }; - try { - then.call(value, - bind(internalResolve, wrapper, state), - bind(internalReject, wrapper, state) - ); - } catch (error) { - internalReject(wrapper, error, state); - } - }); - } else { - state.value = value; - state.state = FULFILLED; - notify(state, false); - } - } catch (error) { - internalReject({ done: false }, error, state); - } -}; - -// constructor polyfill -if (FORCED) { - // 25.4.3.1 Promise(executor) - PromiseConstructor = function Promise(executor) { - anInstance(this, PromiseConstructor, PROMISE); - aFunction(executor); - Internal.call(this); - var state = getInternalState(this); - try { - executor(bind(internalResolve, state), bind(internalReject, state)); - } catch (error) { - internalReject(state, error); - } - }; - // eslint-disable-next-line no-unused-vars - Internal = function Promise(executor) { - setInternalState(this, { - type: PROMISE, - done: false, - notified: false, - parent: false, - reactions: [], - rejection: false, - state: PENDING, - value: undefined - }); - }; - Internal.prototype = redefineAll(PromiseConstructor.prototype, { - // `Promise.prototype.then` method - // https://tc39.es/ecma262/#sec-promise.prototype.then - then: function then(onFulfilled, onRejected) { - var state = getInternalPromiseState(this); - var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor)); - reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true; - reaction.fail = typeof onRejected == 'function' && onRejected; - reaction.domain = IS_NODE ? process.domain : undefined; - state.parent = true; - state.reactions.push(reaction); - if (state.state != PENDING) notify(state, false); - return reaction.promise; - }, - // `Promise.prototype.catch` method - // https://tc39.es/ecma262/#sec-promise.prototype.catch - 'catch': function (onRejected) { - return this.then(undefined, onRejected); - } - }); - OwnPromiseCapability = function () { - var promise = new Internal(); - var state = getInternalState(promise); - this.promise = promise; - this.resolve = bind(internalResolve, state); - this.reject = bind(internalReject, state); - }; - newPromiseCapabilityModule.f = newPromiseCapability = function (C) { - return C === PromiseConstructor || C === PromiseWrapper - ? new OwnPromiseCapability(C) - : newGenericPromiseCapability(C); - }; - - if (!IS_PURE && typeof NativePromise == 'function') { - nativeThen = NativePromise.prototype.then; - - // wrap native Promise#then for native async functions - redefine(NativePromise.prototype, 'then', function then(onFulfilled, onRejected) { - var that = this; - return new PromiseConstructor(function (resolve, reject) { - nativeThen.call(that, resolve, reject); - }).then(onFulfilled, onRejected); - // https://github.com/zloirock/core-js/issues/640 - }, { unsafe: true }); - - // wrap fetch result - if (typeof $fetch == 'function') $({ global: true, enumerable: true, forced: true }, { - // eslint-disable-next-line no-unused-vars - fetch: function fetch(input /* , init */) { - return promiseResolve(PromiseConstructor, $fetch.apply(global, arguments)); - } - }); - } -} - -$({ global: true, wrap: true, forced: FORCED }, { - Promise: PromiseConstructor -}); - -setToStringTag(PromiseConstructor, PROMISE, false, true); -setSpecies(PROMISE); - -PromiseWrapper = getBuiltIn(PROMISE); - -// statics -$({ target: PROMISE, stat: true, forced: FORCED }, { - // `Promise.reject` method - // https://tc39.es/ecma262/#sec-promise.reject - reject: function reject(r) { - var capability = newPromiseCapability(this); - capability.reject.call(undefined, r); - return capability.promise; - } -}); - -$({ target: PROMISE, stat: true, forced: IS_PURE || FORCED }, { - // `Promise.resolve` method - // https://tc39.es/ecma262/#sec-promise.resolve - resolve: function resolve(x) { - return promiseResolve(IS_PURE && this === PromiseWrapper ? PromiseConstructor : this, x); - } -}); - -$({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, { - // `Promise.all` method - // https://tc39.es/ecma262/#sec-promise.all - all: function all(iterable) { - var C = this; - var capability = newPromiseCapability(C); - var resolve = capability.resolve; - var reject = capability.reject; - var result = perform(function () { - var $promiseResolve = aFunction(C.resolve); - var values = []; - var counter = 0; - var remaining = 1; - iterate(iterable, function (promise) { - var index = counter++; - var alreadyCalled = false; - values.push(undefined); - remaining++; - $promiseResolve.call(C, promise).then(function (value) { - if (alreadyCalled) return; - alreadyCalled = true; - values[index] = value; - --remaining || resolve(values); - }, reject); - }); - --remaining || resolve(values); - }); - if (result.error) reject(result.value); - return capability.promise; - }, - // `Promise.race` method - // https://tc39.es/ecma262/#sec-promise.race - race: function race(iterable) { - var C = this; - var capability = newPromiseCapability(C); - var reject = capability.reject; - var result = perform(function () { - var $promiseResolve = aFunction(C.resolve); - iterate(iterable, function (promise) { - $promiseResolve.call(C, promise).then(capability.resolve, reject); - }); - }); - if (result.error) reject(result.value); - return capability.promise; - } -}); - - -/***/ }), - -/***/ "busr": -/*!**********************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/object-get-own-property-symbols.js ***! - \**********************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -exports.f = Object.getOwnPropertySymbols; - - -/***/ }), - -/***/ "c/8x": -/*!*************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.symbol.async-iterator.js ***! - \*************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var defineWellKnownSymbol = __webpack_require__(/*! ../internals/define-well-known-symbol */ "94Vg"); - -// `Symbol.asyncIterator` well-known symbol -// https://tc39.es/ecma262/#sec-symbol.asynciterator -defineWellKnownSymbol('asyncIterator'); - - -/***/ }), - -/***/ "cJLW": -/*!**************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.object.define-property.js ***! - \**************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "T69T"); -var objectDefinePropertyModile = __webpack_require__(/*! ../internals/object-define-property */ "/Ybd"); - -// `Object.defineProperty` method -// https://tc39.es/ecma262/#sec-object.defineproperty -$({ target: 'Object', stat: true, forced: !DESCRIPTORS, sham: !DESCRIPTORS }, { - defineProperty: objectDefinePropertyModile.f -}); - - -/***/ }), - -/***/ "cZY6": -/*!***********************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/freezing.js ***! - \***********************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); - -module.exports = !fails(function () { - return Object.isExtensible(Object.preventExtensions({})); -}); - - -/***/ }), - -/***/ "cwa4": -/*!***************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/correct-prototype-getter.js ***! - \***************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); - -module.exports = !fails(function () { - function F() { /* empty */ } - F.prototype.constructor = null; - return Object.getPrototypeOf(new F()) !== F.prototype; -}); - - -/***/ }), - -/***/ "d8Sw": -/*!*********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/string-html-forced.js ***! - \*********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); - -// check the existence of a method, lowercase -// of a tag and escaping quotes in arguments -module.exports = function (METHOD_NAME) { - return fails(function () { - var test = ''[METHOD_NAME]('"'); - return test !== test.toLowerCase() || test.split('"').length > 3; - }); -}; - - -/***/ }), - -/***/ "dI74": -/*!**************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.string.sup.js ***! - \**************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var createHTML = __webpack_require__(/*! ../internals/create-html */ "uoca"); -var forcedStringHTMLMethod = __webpack_require__(/*! ../internals/string-html-forced */ "d8Sw"); - -// `String.prototype.sup` method -// https://tc39.es/ecma262/#sec-string.prototype.sup -$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('sup') }, { - sup: function sup() { - return createHTML(this, 'sup', '', ''); - } -}); - - -/***/ }), - -/***/ "dPn5": -/*!***********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/advance-string-index.js ***! - \***********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var charAt = __webpack_require__(/*! ../internals/string-multibyte */ "G7bs").charAt; - -// `AdvanceStringIndex` abstract operation -// https://tc39.es/ecma262/#sec-advancestringindex -module.exports = function (S, index, unicode) { - return index + (unicode ? charAt(S, index).length : 1); -}; - - -/***/ }), - -/***/ "e271": -/*!***************************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.object.get-own-property-descriptors.js ***! - \***************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "T69T"); -var ownKeys = __webpack_require__(/*! ../internals/own-keys */ "76gj"); -var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "EMtK"); -var getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "7gGY"); -var createProperty = __webpack_require__(/*! ../internals/create-property */ "DYg9"); - -// `Object.getOwnPropertyDescriptors` method -// https://tc39.es/ecma262/#sec-object.getownpropertydescriptors -$({ target: 'Object', stat: true, sham: !DESCRIPTORS }, { - getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) { - var O = toIndexedObject(object); - var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; - var keys = ownKeys(O); - var result = {}; - var index = 0; - var key, descriptor; - while (keys.length > index) { - descriptor = getOwnPropertyDescriptor(O, key = keys[index++]); - if (descriptor !== undefined) createProperty(result, key, descriptor); - } - return result; - } -}); - - -/***/ }), - -/***/ "eC89": -/*!******************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.array.includes.js ***! - \******************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var $includes = __webpack_require__(/*! ../internals/array-includes */ "OXtp").includes; -var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ "A1Hp"); -var arrayMethodUsesToLength = __webpack_require__(/*! ../internals/array-method-uses-to-length */ "w2hq"); - -var USES_TO_LENGTH = arrayMethodUsesToLength('indexOf', { ACCESSORS: true, 1: 0 }); - -// `Array.prototype.includes` method -// https://tc39.es/ecma262/#sec-array.prototype.includes -$({ target: 'Array', proto: true, forced: !USES_TO_LENGTH }, { - includes: function includes(el /* , fromIndex = 0 */) { - return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined); - } -}); - -// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables -addToUnscopables('includes'); - - -/***/ }), - -/***/ "erNl": -/*!***********************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/is-array.js ***! - \***********************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var classof = __webpack_require__(/*! ../internals/classof-raw */ "ezU2"); - -// `IsArray` abstract operation -// https://tc39.es/ecma262/#sec-isarray -module.exports = Array.isArray || function isArray(arg) { - return classof(arg) == 'Array'; -}; - - -/***/ }), - -/***/ "ezU2": -/*!**************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/classof-raw.js ***! - \**************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -var toString = {}.toString; - -module.exports = function (it) { - return toString.call(it).slice(8, -1); -}; - - -/***/ }), - -/***/ "fMvl": -/*!*****************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.string.search.js ***! - \*****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var fixRegExpWellKnownSymbolLogic = __webpack_require__(/*! ../internals/fix-regexp-well-known-symbol-logic */ "HSQg"); -var anObject = __webpack_require__(/*! ../internals/an-object */ "F26l"); -var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "hmpk"); -var sameValue = __webpack_require__(/*! ../internals/same-value */ "EQZg"); -var regExpExec = __webpack_require__(/*! ../internals/regexp-exec-abstract */ "unYP"); - -// @@search logic -fixRegExpWellKnownSymbolLogic('search', 1, function (SEARCH, nativeSearch, maybeCallNative) { - return [ - // `String.prototype.search` method - // https://tc39.es/ecma262/#sec-string.prototype.search - function search(regexp) { - var O = requireObjectCoercible(this); - var searcher = regexp == undefined ? undefined : regexp[SEARCH]; - return searcher !== undefined ? searcher.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O)); - }, - // `RegExp.prototype[@@search]` method - // https://tc39.es/ecma262/#sec-regexp.prototype-@@search - function (regexp) { - var res = maybeCallNative(nativeSearch, regexp, this); - if (res.done) return res.value; - - var rx = anObject(regexp); - var S = String(this); - - var previousLastIndex = rx.lastIndex; - if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0; - var result = regExpExec(rx, S); - if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex; - return result === null ? -1 : result.index; - } - ]; -}); - - -/***/ }), - -/***/ "fquo": -/*!****************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.reflect.get-prototype-of.js ***! - \****************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var anObject = __webpack_require__(/*! ../internals/an-object */ "F26l"); -var objectGetPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ "wIVT"); -var CORRECT_PROTOTYPE_GETTER = __webpack_require__(/*! ../internals/correct-prototype-getter */ "cwa4"); - -// `Reflect.getPrototypeOf` method -// https://tc39.es/ecma262/#sec-reflect.getprototypeof -$({ target: 'Reflect', stat: true, sham: !CORRECT_PROTOTYPE_GETTER }, { - getPrototypeOf: function getPrototypeOf(target) { - return objectGetPrototypeOf(anObject(target)); - } -}); - - -/***/ }), - -/***/ "g69M": -/*!*********************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.object.get-own-property-names.js ***! - \*********************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); -var nativeGetOwnPropertyNames = __webpack_require__(/*! ../internals/object-get-own-property-names-external */ "TzEA").f; - -var FAILS_ON_PRIMITIVES = fails(function () { return !Object.getOwnPropertyNames(1); }); - -// `Object.getOwnPropertyNames` method -// https://tc39.es/ecma262/#sec-object.getownpropertynames -$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, { - getOwnPropertyNames: nativeGetOwnPropertyNames -}); - - -/***/ }), - -/***/ "g9hI": -/*!**********************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/is-pure.js ***! - \**********************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -module.exports = false; - - -/***/ }), - -/***/ "gQgS": -/*!*****************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.object.values.js ***! - \*****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var $values = __webpack_require__(/*! ../internals/object-to-array */ "4Ym5").values; - -// `Object.values` method -// https://tc39.es/ecma262/#sec-object.values -$({ target: 'Object', stat: true }, { - values: function values(O) { - return $values(O); - } -}); - - -/***/ }), - -/***/ "gXAK": -/*!**************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.string.big.js ***! - \**************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var createHTML = __webpack_require__(/*! ../internals/create-html */ "uoca"); -var forcedStringHTMLMethod = __webpack_require__(/*! ../internals/string-html-forced */ "d8Sw"); - -// `String.prototype.big` method -// https://tc39.es/ecma262/#sec-string.prototype.big -$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('big') }, { - big: function big() { - return createHTML(this, 'big', '', ''); - } -}); - - -/***/ }), - -/***/ "gke3": -/*!****************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.array.filter.js ***! - \****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var $filter = __webpack_require__(/*! ../internals/array-iteration */ "kk6e").filter; -var arrayMethodHasSpeciesSupport = __webpack_require__(/*! ../internals/array-method-has-species-support */ "lRyB"); -var arrayMethodUsesToLength = __webpack_require__(/*! ../internals/array-method-uses-to-length */ "w2hq"); - -var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter'); -// Edge 14- issue -var USES_TO_LENGTH = arrayMethodUsesToLength('filter'); - -// `Array.prototype.filter` method -// https://tc39.es/ecma262/#sec-array.prototype.filter -// with adding support of @@species -$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, { - filter: function filter(callbackfn /* , thisArg */) { - return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); - } -}); - - -/***/ }), - -/***/ "gn9T": -/*!********************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/object-property-is-enumerable.js ***! - \********************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var nativePropertyIsEnumerable = {}.propertyIsEnumerable; -var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; - -// Nashorn ~ JDK8 bug -var NASHORN_BUG = getOwnPropertyDescriptor && !nativePropertyIsEnumerable.call({ 1: 2 }, 1); - -// `Object.prototype.propertyIsEnumerable` method implementation -// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable -exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) { - var descriptor = getOwnPropertyDescriptor(this, V); - return !!descriptor && descriptor.enumerable; -} : nativePropertyIsEnumerable; - - -/***/ }), - -/***/ "hH+7": -/*!********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/this-number-value.js ***! - \********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var classof = __webpack_require__(/*! ../internals/classof-raw */ "ezU2"); - -// `thisNumberValue` abstract operation -// https://tc39.es/ecma262/#sec-thisnumbervalue -module.exports = function (value) { - if (typeof value != 'number' && classof(value) != 'Number') { - throw TypeError('Incorrect invocation'); - } - return +value; -}; - - -/***/ }), - -/***/ "hN/g": -/*!**************************!*\ - !*** ./src/polyfills.ts ***! - \**************************/ -/*! no exports provided */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony import */ var zone_js_dist_zone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! zone.js/dist/zone */ "0TWp"); -/* harmony import */ var zone_js_dist_zone__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(zone_js_dist_zone__WEBPACK_IMPORTED_MODULE_0__); -/** - * This file includes polyfills needed by Angular and is loaded before the app. - * You can add your own extra polyfills to this file. - * - * This file is divided into 2 sections: - * 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers. - * 2. Application imports. Files imported after ZoneJS that should be loaded before your main - * file. - * - * The current setup is for so-called "evergreen" browsers; the last versions of browsers that - * automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera), - * Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile. - * - * Learn more in https://angular.io/docs/ts/latest/guide/browser-support.html - */ -/*************************************************************************************************** - * BROWSER POLYFILLS - */ -/** IE9, IE10 and IE11 requires all of the following polyfills. **/ -// import 'core-js/es6/symbol'; -// import 'core-js/es6/object'; -// import 'core-js/es6/function'; -// import 'core-js/es6/parse-int'; -// import 'core-js/es6/parse-float'; -// import 'core-js/es6/number'; -// import 'core-js/es6/math'; -// import 'core-js/es6/string'; -// import 'core-js/es6/date'; -// import 'core-js/es6/array'; -// import 'core-js/es6/regexp'; -// import 'core-js/es6/map'; -// import 'core-js/es6/weak-map'; -// import 'core-js/es6/set'; -/** IE10 and IE11 requires the following for NgClass support on SVG elements */ -// import 'classlist.js'; // Run `npm install --save classlist.js`. -/** IE10 and IE11 requires the following for the Reflect API. */ -// import 'core-js/es6/reflect'; -/** Evergreen browsers require these. **/ -// Used for reflect-metadata in JIT. If you use AOT (and only Angular decorators), you can remove. -// import 'core-js/es7/reflect'; -/** - * Web Animations `@angular/platform-browser/animations` - * Only required if AnimationBuilder is used within the application and using IE/Edge or Safari. - * Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0). - **/ -// import 'web-animations-js'; // Run `npm install --save web-animations-js`. -/** - * By default, zone.js will patch all possible macroTask and DomEvents - * user can disable parts of macroTask/DomEvents patch by setting following flags - */ -// (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame -// (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick -// (window as any).__zone_symbol__BLACK_LISTED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames -/* -* in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js -* with the following flag, it will bypass `zone.js` patch for IE/Edge -*/ -// (window as any).__Zone_enable_cross_context_check = true; -/*************************************************************************************************** - * Zone JS is required by default for Angular itself. - */ - // Included with Angular CLI. -/*************************************************************************************************** - * APPLICATION IMPORTS - */ - - -/***/ }), - -/***/ "hdsk": -/*!************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.weak-map.js ***! - \************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var global = __webpack_require__(/*! ../internals/global */ "ocAm"); -var redefineAll = __webpack_require__(/*! ../internals/redefine-all */ "8aNu"); -var InternalMetadataModule = __webpack_require__(/*! ../internals/internal-metadata */ "M7Xk"); -var collection = __webpack_require__(/*! ../internals/collection */ "wdMf"); -var collectionWeak = __webpack_require__(/*! ../internals/collection-weak */ "DAme"); -var isObject = __webpack_require__(/*! ../internals/is-object */ "6XUM"); -var enforceIternalState = __webpack_require__(/*! ../internals/internal-state */ "XH/I").enforce; -var NATIVE_WEAK_MAP = __webpack_require__(/*! ../internals/native-weak-map */ "yaK9"); - -var IS_IE11 = !global.ActiveXObject && 'ActiveXObject' in global; -var isExtensible = Object.isExtensible; -var InternalWeakMap; - -var wrapper = function (init) { - return function WeakMap() { - return init(this, arguments.length ? arguments[0] : undefined); - }; -}; - -// `WeakMap` constructor -// https://tc39.es/ecma262/#sec-weakmap-constructor -var $WeakMap = module.exports = collection('WeakMap', wrapper, collectionWeak); - -// IE11 WeakMap frozen keys fix -// We can't use feature detection because it crash some old IE builds -// https://github.com/zloirock/core-js/issues/485 -if (NATIVE_WEAK_MAP && IS_IE11) { - InternalWeakMap = collectionWeak.getConstructor(wrapper, 'WeakMap', true); - InternalMetadataModule.REQUIRED = true; - var WeakMapPrototype = $WeakMap.prototype; - var nativeDelete = WeakMapPrototype['delete']; - var nativeHas = WeakMapPrototype.has; - var nativeGet = WeakMapPrototype.get; - var nativeSet = WeakMapPrototype.set; - redefineAll(WeakMapPrototype, { - 'delete': function (key) { - if (isObject(key) && !isExtensible(key)) { - var state = enforceIternalState(this); - if (!state.frozen) state.frozen = new InternalWeakMap(); - return nativeDelete.call(this, key) || state.frozen['delete'](key); - } return nativeDelete.call(this, key); - }, - has: function has(key) { - if (isObject(key) && !isExtensible(key)) { - var state = enforceIternalState(this); - if (!state.frozen) state.frozen = new InternalWeakMap(); - return nativeHas.call(this, key) || state.frozen.has(key); - } return nativeHas.call(this, key); - }, - get: function get(key) { - if (isObject(key) && !isExtensible(key)) { - var state = enforceIternalState(this); - if (!state.frozen) state.frozen = new InternalWeakMap(); - return nativeHas.call(this, key) ? nativeGet.call(this, key) : state.frozen.get(key); - } return nativeGet.call(this, key); - }, - set: function set(key, value) { - if (isObject(key) && !isExtensible(key)) { - var state = enforceIternalState(this); - if (!state.frozen) state.frozen = new InternalWeakMap(); - nativeHas.call(this, key) ? nativeSet.call(this, key, value) : state.frozen.set(key, value); - } else nativeSet.call(this, key, value); - return this; - } - }); -} - - -/***/ }), - -/***/ "hmpk": -/*!***************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/require-object-coercible.js ***! - \***************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -// `RequireObjectCoercible` abstract operation -// https://tc39.es/ecma262/#sec-requireobjectcoercible -module.exports = function (it) { - if (it == undefined) throw TypeError("Can't call method on " + it); - return it; -}; - - -/***/ }), - -/***/ "i85Z": -/*!********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/use-symbol-as-uid.js ***! - \********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/native-symbol */ "U+kB"); - -module.exports = NATIVE_SYMBOL - // eslint-disable-next-line no-undef - && !Symbol.sham - // eslint-disable-next-line no-undef - && typeof Symbol.iterator == 'symbol'; - - -/***/ }), - -/***/ "ipMl": -/*!***********************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/call-with-safe-iteration-closing.js ***! - \***********************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var anObject = __webpack_require__(/*! ../internals/an-object */ "F26l"); -var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "5zQ0"); - -// call something on iterator step with safe closing on error -module.exports = function (iterator, fn, value, ENTRIES) { - try { - return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value); - // 7.4.6 IteratorClose(iterator, completion) - } catch (error) { - iteratorClose(iterator); - throw error; - } -}; - - -/***/ }), - -/***/ "jGBA": -/*!***************************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.reflect.get-own-property-descriptor.js ***! - \***************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "T69T"); -var anObject = __webpack_require__(/*! ../internals/an-object */ "F26l"); -var getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "7gGY"); - -// `Reflect.getOwnPropertyDescriptor` method -// https://tc39.es/ecma262/#sec-reflect.getownpropertydescriptor -$({ target: 'Reflect', stat: true, sham: !DESCRIPTORS }, { - getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey) { - return getOwnPropertyDescriptorModule.f(anObject(target), propertyKey); - } -}); - - -/***/ }), - -/***/ "jO7L": -/*!***************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.reflect.has.js ***! - \***************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); - -// `Reflect.has` method -// https://tc39.es/ecma262/#sec-reflect.has -$({ target: 'Reflect', stat: true }, { - has: function has(target, propertyKey) { - return propertyKey in target; - } -}); - - -/***/ }), - -/***/ "jnLS": -/*!**************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/string-trim.js ***! - \**************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "hmpk"); -var whitespaces = __webpack_require__(/*! ../internals/whitespaces */ "xFZC"); - -var whitespace = '[' + whitespaces + ']'; -var ltrim = RegExp('^' + whitespace + whitespace + '*'); -var rtrim = RegExp(whitespace + whitespace + '*$'); - -// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation -var createMethod = function (TYPE) { - return function ($this) { - var string = String(requireObjectCoercible($this)); - if (TYPE & 1) string = string.replace(ltrim, ''); - if (TYPE & 2) string = string.replace(rtrim, ''); - return string; - }; -}; - -module.exports = { - // `String.prototype.{ trimLeft, trimStart }` methods - // https://tc39.es/ecma262/#sec-string.prototype.trimstart - start: createMethod(1), - // `String.prototype.{ trimRight, trimEnd }` methods - // https://tc39.es/ecma262/#sec-string.prototype.trimend - end: createMethod(2), - // `String.prototype.trim` method - // https://tc39.es/ecma262/#sec-string.prototype.trim - trim: createMethod(3) -}; - - -/***/ }), - -/***/ "kIOX": -/*!*****************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/web.dom-collections.for-each.js ***! - \*****************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var global = __webpack_require__(/*! ../internals/global */ "ocAm"); -var DOMIterables = __webpack_require__(/*! ../internals/dom-iterables */ "OjQg"); -var forEach = __webpack_require__(/*! ../internals/array-for-each */ "nP0K"); -var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "aJMj"); - -for (var COLLECTION_NAME in DOMIterables) { - var Collection = global[COLLECTION_NAME]; - var CollectionPrototype = Collection && Collection.prototype; - // some Chrome versions have non-configurable methods on DOMTokenList - if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try { - createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach); - } catch (error) { - CollectionPrototype.forEach = forEach; - } -} - - -/***/ }), - -/***/ "kP9Y": -/*!*********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.array.copy-within.js ***! - \*********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var copyWithin = __webpack_require__(/*! ../internals/array-copy-within */ "4GtL"); -var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ "A1Hp"); - -// `Array.prototype.copyWithin` method -// https://tc39.es/ecma262/#sec-array.prototype.copywithin -$({ target: 'Array', proto: true }, { - copyWithin: copyWithin -}); - -// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables -addToUnscopables('copyWithin'); - - -/***/ }), - -/***/ "kcGo": -/*!**********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.date.to-iso-string.js ***! - \**********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var toISOString = __webpack_require__(/*! ../internals/date-to-iso-string */ "qc/G"); - -// `Date.prototype.toISOString` method -// https://tc39.es/ecma262/#sec-date.prototype.toisostring -// PhantomJS / old WebKit has a broken implementations -$({ target: 'Date', proto: true, forced: Date.prototype.toISOString !== toISOString }, { - toISOString: toISOString -}); - - -/***/ }), - -/***/ "kk6e": -/*!******************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/array-iteration.js ***! - \******************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var bind = __webpack_require__(/*! ../internals/function-bind-context */ "tcQx"); -var IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ "tUdv"); -var toObject = __webpack_require__(/*! ../internals/to-object */ "VCQ8"); -var toLength = __webpack_require__(/*! ../internals/to-length */ "xpLY"); -var arraySpeciesCreate = __webpack_require__(/*! ../internals/array-species-create */ "JafA"); - -var push = [].push; - -// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterOut }` methods implementation -var createMethod = function (TYPE) { - var IS_MAP = TYPE == 1; - var IS_FILTER = TYPE == 2; - var IS_SOME = TYPE == 3; - var IS_EVERY = TYPE == 4; - var IS_FIND_INDEX = TYPE == 6; - var IS_FILTER_OUT = TYPE == 7; - var NO_HOLES = TYPE == 5 || IS_FIND_INDEX; - return function ($this, callbackfn, that, specificCreate) { - var O = toObject($this); - var self = IndexedObject(O); - var boundFunction = bind(callbackfn, that, 3); - var length = toLength(self.length); - var index = 0; - var create = specificCreate || arraySpeciesCreate; - var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_OUT ? create($this, 0) : undefined; - var value, result; - for (;length > index; index++) if (NO_HOLES || index in self) { - value = self[index]; - result = boundFunction(value, index, O); - if (TYPE) { - if (IS_MAP) target[index] = result; // map - else if (result) switch (TYPE) { - case 3: return true; // some - case 5: return value; // find - case 6: return index; // findIndex - case 2: push.call(target, value); // filter - } else switch (TYPE) { - case 4: return false; // every - case 7: push.call(target, value); // filterOut - } - } - } - return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target; - }; -}; - -module.exports = { - // `Array.prototype.forEach` method - // https://tc39.es/ecma262/#sec-array.prototype.foreach - forEach: createMethod(0), - // `Array.prototype.map` method - // https://tc39.es/ecma262/#sec-array.prototype.map - map: createMethod(1), - // `Array.prototype.filter` method - // https://tc39.es/ecma262/#sec-array.prototype.filter - filter: createMethod(2), - // `Array.prototype.some` method - // https://tc39.es/ecma262/#sec-array.prototype.some - some: createMethod(3), - // `Array.prototype.every` method - // https://tc39.es/ecma262/#sec-array.prototype.every - every: createMethod(4), - // `Array.prototype.find` method - // https://tc39.es/ecma262/#sec-array.prototype.find - find: createMethod(5), - // `Array.prototype.findIndex` method - // https://tc39.es/ecma262/#sec-array.prototype.findIndex - findIndex: createMethod(6), - // `Array.prototype.filterOut` method - // https://github.com/tc39/proposal-array-filtering - filterOut: createMethod(7) -}; - - -/***/ }), - -/***/ "kpca": -/*!**************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.number.is-safe-integer.js ***! - \**************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var isInteger = __webpack_require__(/*! ../internals/is-integer */ "Nvxz"); - -var abs = Math.abs; - -// `Number.isSafeInteger` method -// https://tc39.es/ecma262/#sec-number.issafeinteger -$({ target: 'Number', stat: true }, { - isSafeInteger: function isSafeInteger(number) { - return isInteger(number) && abs(number) <= 0x1FFFFFFFFFFFFF; - } -}); - - -/***/ }), - -/***/ "ktmr": -/*!*********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/host-report-errors.js ***! - \*********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var global = __webpack_require__(/*! ../internals/global */ "ocAm"); - -module.exports = function (a, b) { - var console = global.console; - if (console && console.error) { - arguments.length === 1 ? console.error(a) : console.error(a, b); - } -}; - - -/***/ }), - -/***/ "lPAZ": -/*!******************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/es/date/index.js ***! - \******************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -__webpack_require__(/*! ../../modules/es.date.now */ "8ydS"); -__webpack_require__(/*! ../../modules/es.date.to-json */ "DGHb"); -__webpack_require__(/*! ../../modules/es.date.to-iso-string */ "kcGo"); -__webpack_require__(/*! ../../modules/es.date.to-string */ "n43T"); -__webpack_require__(/*! ../../modules/es.date.to-primitive */ "Y5OV"); -var path = __webpack_require__(/*! ../../internals/path */ "E7aN"); - -module.exports = path.Date; - - -/***/ }), - -/***/ "lRyB": -/*!***********************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/array-method-has-species-support.js ***! - \***********************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); -var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "m41k"); -var V8_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ "D3bo"); - -var SPECIES = wellKnownSymbol('species'); - -module.exports = function (METHOD_NAME) { - // We can't use this feature detection in V8 since it causes - // deoptimization and serious performance degradation - // https://github.com/zloirock/core-js/issues/677 - return V8_VERSION >= 51 || !fails(function () { - var array = []; - var constructor = array.constructor = {}; - constructor[SPECIES] = function () { - return { foo: 1 }; - }; - return array[METHOD_NAME](Boolean).foo !== 1; - }); -}; - - -/***/ }), - -/***/ "ls82": -/*!*****************************************************!*\ - !*** ./node_modules/regenerator-runtime/runtime.js ***! - \*****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -/** - * Copyright (c) 2014-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ -var runtime = function (exports) { - "use strict"; - - var Op = Object.prototype; - var hasOwn = Op.hasOwnProperty; - var undefined; // More compressible than void 0. - - var $Symbol = typeof Symbol === "function" ? Symbol : {}; - var iteratorSymbol = $Symbol.iterator || "@@iterator"; - var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator"; - var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; - - function define(obj, key, value) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - return obj[key]; - } - - try { - // IE 8 has a broken Object.defineProperty that only works on DOM objects. - define({}, ""); - } catch (err) { - define = function define(obj, key, value) { - return obj[key] = value; - }; - } - - function wrap(innerFn, outerFn, self, tryLocsList) { - // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator. - var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator; - var generator = Object.create(protoGenerator.prototype); - var context = new Context(tryLocsList || []); // The ._invoke method unifies the implementations of the .next, - // .throw, and .return methods. - - generator._invoke = makeInvokeMethod(innerFn, self, context); - return generator; - } - - exports.wrap = wrap; // Try/catch helper to minimize deoptimizations. Returns a completion - // record like context.tryEntries[i].completion. This interface could - // have been (and was previously) designed to take a closure to be - // invoked without arguments, but in all the cases we care about we - // already have an existing method we want to call, so there's no need - // to create a new function object. We can even get away with assuming - // the method takes exactly one argument, since that happens to be true - // in every case, so we don't have to touch the arguments object. The - // only additional allocation required is the completion record, which - // has a stable shape and so hopefully should be cheap to allocate. - - function tryCatch(fn, obj, arg) { - try { - return { - type: "normal", - arg: fn.call(obj, arg) - }; - } catch (err) { - return { - type: "throw", - arg: err - }; - } - } - - var GenStateSuspendedStart = "suspendedStart"; - var GenStateSuspendedYield = "suspendedYield"; - var GenStateExecuting = "executing"; - var GenStateCompleted = "completed"; // Returning this object from the innerFn has the same effect as - // breaking out of the dispatch switch statement. - - var ContinueSentinel = {}; // Dummy constructor functions that we use as the .constructor and - // .constructor.prototype properties for functions that return Generator - // objects. For full spec compliance, you may wish to configure your - // minifier not to mangle the names of these two functions. - - function Generator() {} - - function GeneratorFunction() {} - - function GeneratorFunctionPrototype() {} // This is a polyfill for %IteratorPrototype% for environments that - // don't natively support it. - - - var IteratorPrototype = {}; - - IteratorPrototype[iteratorSymbol] = function () { - return this; - }; - - var getProto = Object.getPrototypeOf; - var NativeIteratorPrototype = getProto && getProto(getProto(values([]))); - - if (NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) { - // This environment has a native %IteratorPrototype%; use it instead - // of the polyfill. - IteratorPrototype = NativeIteratorPrototype; - } - - var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); - GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype; - GeneratorFunctionPrototype.constructor = GeneratorFunction; - GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"); // Helper for defining the .next, .throw, and .return methods of the - // Iterator interface in terms of a single ._invoke method. - - function defineIteratorMethods(prototype) { - ["next", "throw", "return"].forEach(function (method) { - define(prototype, method, function (arg) { - return this._invoke(method, arg); - }); - }); - } - - exports.isGeneratorFunction = function (genFun) { - var ctor = typeof genFun === "function" && genFun.constructor; - return ctor ? ctor === GeneratorFunction || // For the native GeneratorFunction constructor, the best we can - // do is to check its .name property. - (ctor.displayName || ctor.name) === "GeneratorFunction" : false; - }; - - exports.mark = function (genFun) { - if (Object.setPrototypeOf) { - Object.setPrototypeOf(genFun, GeneratorFunctionPrototype); - } else { - genFun.__proto__ = GeneratorFunctionPrototype; - define(genFun, toStringTagSymbol, "GeneratorFunction"); - } - - genFun.prototype = Object.create(Gp); - return genFun; - }; // Within the body of any async function, `await x` is transformed to - // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test - // `hasOwn.call(value, "__await")` to determine if the yielded value is - // meant to be awaited. - - - exports.awrap = function (arg) { - return { - __await: arg - }; - }; - - function AsyncIterator(generator, PromiseImpl) { - function invoke(method, arg, resolve, reject) { - var record = tryCatch(generator[method], generator, arg); - - if (record.type === "throw") { - reject(record.arg); - } else { - var result = record.arg; - var value = result.value; - - if (value && typeof value === "object" && hasOwn.call(value, "__await")) { - return PromiseImpl.resolve(value.__await).then(function (value) { - invoke("next", value, resolve, reject); - }, function (err) { - invoke("throw", err, resolve, reject); - }); - } - - return PromiseImpl.resolve(value).then(function (unwrapped) { - // When a yielded Promise is resolved, its final value becomes - // the .value of the Promise<{value,done}> result for the - // current iteration. - result.value = unwrapped; - resolve(result); - }, function (error) { - // If a rejected Promise was yielded, throw the rejection back - // into the async generator function so it can be handled there. - return invoke("throw", error, resolve, reject); - }); - } - } - - var previousPromise; - - function enqueue(method, arg) { - function callInvokeWithMethodAndArg() { - return new PromiseImpl(function (resolve, reject) { - invoke(method, arg, resolve, reject); - }); - } - - return previousPromise = // If enqueue has been called before, then we want to wait until - // all previous Promises have been resolved before calling invoke, - // so that results are always delivered in the correct order. If - // enqueue has not been called before, then it is important to - // call invoke immediately, without waiting on a callback to fire, - // so that the async generator function has the opportunity to do - // any necessary setup in a predictable way. This predictability - // is why the Promise constructor synchronously invokes its - // executor callback, and why async functions synchronously - // execute code before the first await. Since we implement simple - // async functions in terms of async generators, it is especially - // important to get this right, even though it requires care. - previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, // Avoid propagating failures to Promises returned by later - // invocations of the iterator. - callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); - } // Define the unified helper method that is used to implement .next, - // .throw, and .return (see defineIteratorMethods). - - - this._invoke = enqueue; - } - - defineIteratorMethods(AsyncIterator.prototype); - - AsyncIterator.prototype[asyncIteratorSymbol] = function () { - return this; - }; - - exports.AsyncIterator = AsyncIterator; // Note that simple async functions are implemented on top of - // AsyncIterator objects; they just return a Promise for the value of - // the final result produced by the iterator. - - exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { - if (PromiseImpl === void 0) PromiseImpl = Promise; - var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); - return exports.isGeneratorFunction(outerFn) ? iter // If outerFn is a generator, return the full iterator. - : iter.next().then(function (result) { - return result.done ? result.value : iter.next(); - }); - }; - - function makeInvokeMethod(innerFn, self, context) { - var state = GenStateSuspendedStart; - return function invoke(method, arg) { - if (state === GenStateExecuting) { - throw new Error("Generator is already running"); - } - - if (state === GenStateCompleted) { - if (method === "throw") { - throw arg; - } // Be forgiving, per 25.3.3.3.3 of the spec: - // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume - - - return doneResult(); - } - - context.method = method; - context.arg = arg; - - while (true) { - var delegate = context.delegate; - - if (delegate) { - var delegateResult = maybeInvokeDelegate(delegate, context); - - if (delegateResult) { - if (delegateResult === ContinueSentinel) continue; - return delegateResult; - } - } - - if (context.method === "next") { - // Setting context._sent for legacy support of Babel's - // function.sent implementation. - context.sent = context._sent = context.arg; - } else if (context.method === "throw") { - if (state === GenStateSuspendedStart) { - state = GenStateCompleted; - throw context.arg; - } - - context.dispatchException(context.arg); - } else if (context.method === "return") { - context.abrupt("return", context.arg); - } - - state = GenStateExecuting; - var record = tryCatch(innerFn, self, context); - - if (record.type === "normal") { - // If an exception is thrown from innerFn, we leave state === - // GenStateExecuting and loop back for another invocation. - state = context.done ? GenStateCompleted : GenStateSuspendedYield; - - if (record.arg === ContinueSentinel) { - continue; - } - - return { - value: record.arg, - done: context.done - }; - } else if (record.type === "throw") { - state = GenStateCompleted; // Dispatch the exception by looping back around to the - // context.dispatchException(context.arg) call above. - - context.method = "throw"; - context.arg = record.arg; - } - } - }; - } // Call delegate.iterator[context.method](context.arg) and handle the - // result, either by returning a { value, done } result from the - // delegate iterator, or by modifying context.method and context.arg, - // setting context.delegate to null, and returning the ContinueSentinel. - - - function maybeInvokeDelegate(delegate, context) { - var method = delegate.iterator[context.method]; - - if (method === undefined) { - // A .throw or .return when the delegate iterator has no .throw - // method always terminates the yield* loop. - context.delegate = null; - - if (context.method === "throw") { - // Note: ["return"] must be used for ES3 parsing compatibility. - if (delegate.iterator["return"]) { - // If the delegate iterator has a return method, give it a - // chance to clean up. - context.method = "return"; - context.arg = undefined; - maybeInvokeDelegate(delegate, context); - - if (context.method === "throw") { - // If maybeInvokeDelegate(context) changed context.method from - // "return" to "throw", let that override the TypeError below. - return ContinueSentinel; - } - } - - context.method = "throw"; - context.arg = new TypeError("The iterator does not provide a 'throw' method"); - } - - return ContinueSentinel; - } - - var record = tryCatch(method, delegate.iterator, context.arg); - - if (record.type === "throw") { - context.method = "throw"; - context.arg = record.arg; - context.delegate = null; - return ContinueSentinel; - } - - var info = record.arg; - - if (!info) { - context.method = "throw"; - context.arg = new TypeError("iterator result is not an object"); - context.delegate = null; - return ContinueSentinel; - } - - if (info.done) { - // Assign the result of the finished delegate to the temporary - // variable specified by delegate.resultName (see delegateYield). - context[delegate.resultName] = info.value; // Resume execution at the desired location (see delegateYield). - - context.next = delegate.nextLoc; // If context.method was "throw" but the delegate handled the - // exception, let the outer generator proceed normally. If - // context.method was "next", forget context.arg since it has been - // "consumed" by the delegate iterator. If context.method was - // "return", allow the original .return call to continue in the - // outer generator. - - if (context.method !== "return") { - context.method = "next"; - context.arg = undefined; - } - } else { - // Re-yield the result returned by the delegate method. - return info; - } // The delegate iterator is finished, so forget it and continue with - // the outer generator. - - - context.delegate = null; - return ContinueSentinel; - } // Define Generator.prototype.{next,throw,return} in terms of the - // unified ._invoke helper method. - - - defineIteratorMethods(Gp); - define(Gp, toStringTagSymbol, "Generator"); // A Generator should always return itself as the iterator object when the - // @@iterator function is called on it. Some browsers' implementations of the - // iterator prototype chain incorrectly implement this, causing the Generator - // object to not be returned from this call. This ensures that doesn't happen. - // See https://github.com/facebook/regenerator/issues/274 for more details. - - Gp[iteratorSymbol] = function () { - return this; - }; - - Gp.toString = function () { - return "[object Generator]"; - }; - - function pushTryEntry(locs) { - var entry = { - tryLoc: locs[0] - }; - - if (1 in locs) { - entry.catchLoc = locs[1]; - } - - if (2 in locs) { - entry.finallyLoc = locs[2]; - entry.afterLoc = locs[3]; - } - - this.tryEntries.push(entry); - } - - function resetTryEntry(entry) { - var record = entry.completion || {}; - record.type = "normal"; - delete record.arg; - entry.completion = record; - } - - function Context(tryLocsList) { - // The root entry object (effectively a try statement without a catch - // or a finally block) gives us a place to store values thrown from - // locations where there is no enclosing try statement. - this.tryEntries = [{ - tryLoc: "root" - }]; - tryLocsList.forEach(pushTryEntry, this); - this.reset(true); - } - - exports.keys = function (object) { - var keys = []; - - for (var key in object) { - keys.push(key); - } - - keys.reverse(); // Rather than returning an object with a next method, we keep - // things simple and return the next function itself. - - return function next() { - while (keys.length) { - var key = keys.pop(); - - if (key in object) { - next.value = key; - next.done = false; - return next; - } - } // To avoid creating an additional object, we just hang the .value - // and .done properties off the next function object itself. This - // also ensures that the minifier will not anonymize the function. - - - next.done = true; - return next; - }; - }; - - function values(iterable) { - if (iterable) { - var iteratorMethod = iterable[iteratorSymbol]; - - if (iteratorMethod) { - return iteratorMethod.call(iterable); - } - - if (typeof iterable.next === "function") { - return iterable; - } - - if (!isNaN(iterable.length)) { - var i = -1, - next = function next() { - while (++i < iterable.length) { - if (hasOwn.call(iterable, i)) { - next.value = iterable[i]; - next.done = false; - return next; - } - } - - next.value = undefined; - next.done = true; - return next; - }; - - return next.next = next; - } - } // Return an iterator with no values. - - - return { - next: doneResult - }; - } - - exports.values = values; - - function doneResult() { - return { - value: undefined, - done: true - }; - } - - Context.prototype = { - constructor: Context, - reset: function reset(skipTempReset) { - this.prev = 0; - this.next = 0; // Resetting context._sent for legacy support of Babel's - // function.sent implementation. - - this.sent = this._sent = undefined; - this.done = false; - this.delegate = null; - this.method = "next"; - this.arg = undefined; - this.tryEntries.forEach(resetTryEntry); - - if (!skipTempReset) { - for (var name in this) { - // Not sure about the optimal order of these conditions: - if (name.charAt(0) === "t" && hasOwn.call(this, name) && !isNaN(+name.slice(1))) { - this[name] = undefined; - } - } - } - }, - stop: function stop() { - this.done = true; - var rootEntry = this.tryEntries[0]; - var rootRecord = rootEntry.completion; - - if (rootRecord.type === "throw") { - throw rootRecord.arg; - } - - return this.rval; - }, - dispatchException: function dispatchException(exception) { - if (this.done) { - throw exception; - } - - var context = this; - - function handle(loc, caught) { - record.type = "throw"; - record.arg = exception; - context.next = loc; - - if (caught) { - // If the dispatched exception was caught by a catch block, - // then let that catch block handle the exception normally. - context.method = "next"; - context.arg = undefined; - } - - return !!caught; - } - - for (var i = this.tryEntries.length - 1; i >= 0; --i) { - var entry = this.tryEntries[i]; - var record = entry.completion; - - if (entry.tryLoc === "root") { - // Exception thrown outside of any try block that could handle - // it, so set the completion value of the entire function to - // throw the exception. - return handle("end"); - } - - if (entry.tryLoc <= this.prev) { - var hasCatch = hasOwn.call(entry, "catchLoc"); - var hasFinally = hasOwn.call(entry, "finallyLoc"); - - if (hasCatch && hasFinally) { - if (this.prev < entry.catchLoc) { - return handle(entry.catchLoc, true); - } else if (this.prev < entry.finallyLoc) { - return handle(entry.finallyLoc); - } - } else if (hasCatch) { - if (this.prev < entry.catchLoc) { - return handle(entry.catchLoc, true); - } - } else if (hasFinally) { - if (this.prev < entry.finallyLoc) { - return handle(entry.finallyLoc); - } - } else { - throw new Error("try statement without catch or finally"); - } - } - } - }, - abrupt: function abrupt(type, arg) { - for (var i = this.tryEntries.length - 1; i >= 0; --i) { - var entry = this.tryEntries[i]; - - if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { - var finallyEntry = entry; - break; - } - } - - if (finallyEntry && (type === "break" || type === "continue") && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc) { - // Ignore the finally entry if control is not jumping to a - // location outside the try/catch block. - finallyEntry = null; - } - - var record = finallyEntry ? finallyEntry.completion : {}; - record.type = type; - record.arg = arg; - - if (finallyEntry) { - this.method = "next"; - this.next = finallyEntry.finallyLoc; - return ContinueSentinel; - } - - return this.complete(record); - }, - complete: function complete(record, afterLoc) { - if (record.type === "throw") { - throw record.arg; - } - - if (record.type === "break" || record.type === "continue") { - this.next = record.arg; - } else if (record.type === "return") { - this.rval = this.arg = record.arg; - this.method = "return"; - this.next = "end"; - } else if (record.type === "normal" && afterLoc) { - this.next = afterLoc; - } - - return ContinueSentinel; - }, - finish: function finish(finallyLoc) { - for (var i = this.tryEntries.length - 1; i >= 0; --i) { - var entry = this.tryEntries[i]; - - if (entry.finallyLoc === finallyLoc) { - this.complete(entry.completion, entry.afterLoc); - resetTryEntry(entry); - return ContinueSentinel; - } - } - }, - "catch": function _catch(tryLoc) { - for (var i = this.tryEntries.length - 1; i >= 0; --i) { - var entry = this.tryEntries[i]; - - if (entry.tryLoc === tryLoc) { - var record = entry.completion; - - if (record.type === "throw") { - var thrown = record.arg; - resetTryEntry(entry); - } - - return thrown; - } - } // The context.catch method must only be called with a location - // argument that corresponds to a known catch block. - - - throw new Error("illegal catch attempt"); - }, - delegateYield: function delegateYield(iterable, resultName, nextLoc) { - this.delegate = { - iterator: values(iterable), - resultName: resultName, - nextLoc: nextLoc - }; - - if (this.method === "next") { - // Deliberately forget the last sent value so that we don't - // accidentally pass it on to the delegate. - this.arg = undefined; - } - - return ContinueSentinel; - } - }; // Regardless of whether this script is executing as a CommonJS module - // or not, return the runtime object so that we can declare the variable - // regeneratorRuntime in the outer scope, which allows this module to be - // injected easily by `bin/regenerator --include-runtime script.js`. - - return exports; -}( // If this script is executing as a CommonJS module, use module.exports -// as the regeneratorRuntime namespace. Otherwise create a new empty -// object. Either way, the resulting object will be used to initialize -// the regeneratorRuntime variable at the top of this file. - true ? module.exports : undefined); - -try { - regeneratorRuntime = runtime; -} catch (accidentalStrictMode) { - // This module should not be running in strict mode, so the above - // assignment should always work unless something is misconfigured. Just - // in case runtime.js accidentally runs in strict mode, we can escape - // strict mode using a global Function call. This could conceivably fail - // if a Content Security Policy forbids using Function, but in that case - // the proper solution is to fix the accidental strict mode problem. If - // you've misconfigured your bundler to force strict mode and applied a - // CSP to forbid Function, and you're not willing to fix either of those - // problems, please detail your unique predicament in a GitHub issue. - Function("r", "regeneratorRuntime = r")(runtime); -} - -/***/ }), - -/***/ "m2tE": -/*!**************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.array.from.js ***! - \**************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var from = __webpack_require__(/*! ../internals/array-from */ "IBH3"); -var checkCorrectnessOfIteration = __webpack_require__(/*! ../internals/check-correctness-of-iteration */ "EIBq"); - -var INCORRECT_ITERATION = !checkCorrectnessOfIteration(function (iterable) { - Array.from(iterable); -}); - -// `Array.from` method -// https://tc39.es/ecma262/#sec-array.from -$({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, { - from: from -}); - - -/***/ }), - -/***/ "m41k": -/*!********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/well-known-symbol.js ***! - \********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var global = __webpack_require__(/*! ../internals/global */ "ocAm"); -var shared = __webpack_require__(/*! ../internals/shared */ "yIiL"); -var has = __webpack_require__(/*! ../internals/has */ "OG5q"); -var uid = __webpack_require__(/*! ../internals/uid */ "SDMg"); -var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/native-symbol */ "U+kB"); -var USE_SYMBOL_AS_UID = __webpack_require__(/*! ../internals/use-symbol-as-uid */ "i85Z"); - -var WellKnownSymbolsStore = shared('wks'); -var Symbol = global.Symbol; -var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid; - -module.exports = function (name) { - if (!has(WellKnownSymbolsStore, name)) { - if (NATIVE_SYMBOL && has(Symbol, name)) WellKnownSymbolsStore[name] = Symbol[name]; - else WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name); - } return WellKnownSymbolsStore[name]; -}; - - -/***/ }), - -/***/ "mA9f": -/*!*****************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.function.bind.js ***! - \*****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var bind = __webpack_require__(/*! ../internals/function-bind */ "E8Ab"); - -// `Function.prototype.bind` method -// https://tc39.es/ecma262/#sec-function.prototype.bind -$({ target: 'Function', proto: true }, { - bind: bind -}); - - -/***/ }), - -/***/ "mN5b": -/*!**********************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/classof.js ***! - \**********************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var TO_STRING_TAG_SUPPORT = __webpack_require__(/*! ../internals/to-string-tag-support */ "4PyY"); -var classofRaw = __webpack_require__(/*! ../internals/classof-raw */ "ezU2"); -var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "m41k"); - -var TO_STRING_TAG = wellKnownSymbol('toStringTag'); -// ES3 wrong here -var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments'; - -// fallback for IE11 Script Access Denied error -var tryGet = function (it, key) { - try { - return it[key]; - } catch (error) { /* empty */ } -}; - -// getting tag from ES6+ `Object.prototype.toString` -module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) { - var O, tag, result; - return it === undefined ? 'Undefined' : it === null ? 'Null' - // @@toStringTag case - : typeof (tag = tryGet(O = Object(it), TO_STRING_TAG)) == 'string' ? tag - // builtinTag case - : CORRECT_ARGUMENTS ? classofRaw(O) - // ES3 arguments fallback - : (result = classofRaw(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : result; -}; - - -/***/ }), - -/***/ "n/2t": -/*!************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/math-sign.js ***! - \************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -// `Math.sign` method implementation -// https://tc39.es/ecma262/#sec-math.sign -module.exports = Math.sign || function sign(x) { - // eslint-disable-next-line no-self-compare - return (x = +x) == 0 || x != x ? x : x < 0 ? -1 : 1; -}; - - -/***/ }), - -/***/ "n1Kw": -/*!*************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.math.sinh.js ***! - \*************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); -var expm1 = __webpack_require__(/*! ../internals/math-expm1 */ "pn4C"); - -var abs = Math.abs; -var exp = Math.exp; -var E = Math.E; - -var FORCED = fails(function () { - return Math.sinh(-2e-17) != -2e-17; -}); - -// `Math.sinh` method -// https://tc39.es/ecma262/#sec-math.sinh -// V8 near Chromium 38 has a problem with very small numbers -$({ target: 'Math', stat: true, forced: FORCED }, { - sinh: function sinh(x) { - return abs(x = +x) < 1 ? (expm1(x) - expm1(-x)) / 2 : (exp(x - 1) - exp(-x - 1)) * (E / 2); - } -}); - - -/***/ }), - -/***/ "n43T": -/*!******************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.date.to-string.js ***! - \******************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var redefine = __webpack_require__(/*! ../internals/redefine */ "2MGJ"); - -var DatePrototype = Date.prototype; -var INVALID_DATE = 'Invalid Date'; -var TO_STRING = 'toString'; -var nativeDateToString = DatePrototype[TO_STRING]; -var getTime = DatePrototype.getTime; - -// `Date.prototype.toString` method -// https://tc39.es/ecma262/#sec-date.prototype.tostring -if (new Date(NaN) + '' != INVALID_DATE) { - redefine(DatePrototype, TO_STRING, function toString() { - var value = getTime.call(this); - // eslint-disable-next-line no-self-compare - return value === value ? nativeDateToString.call(this) : INVALID_DATE; - }); -} - - -/***/ }), - -/***/ "n9Wl": -/*!******************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.object.entries.js ***! - \******************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var $entries = __webpack_require__(/*! ../internals/object-to-array */ "4Ym5").entries; - -// `Object.entries` method -// https://tc39.es/ecma262/#sec-object.entries -$({ target: 'Object', stat: true }, { - entries: function entries(O) { - return $entries(O); - } -}); - - -/***/ }), - -/***/ "nIH4": -/*!********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/collection-strong.js ***! - \********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var defineProperty = __webpack_require__(/*! ../internals/object-define-property */ "/Ybd").f; -var create = __webpack_require__(/*! ../internals/object-create */ "2RDa"); -var redefineAll = __webpack_require__(/*! ../internals/redefine-all */ "8aNu"); -var bind = __webpack_require__(/*! ../internals/function-bind-context */ "tcQx"); -var anInstance = __webpack_require__(/*! ../internals/an-instance */ "SM6+"); -var iterate = __webpack_require__(/*! ../internals/iterate */ "Rn6E"); -var defineIterator = __webpack_require__(/*! ../internals/define-iterator */ "WijE"); -var setSpecies = __webpack_require__(/*! ../internals/set-species */ "JHhb"); -var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "T69T"); -var fastKey = __webpack_require__(/*! ../internals/internal-metadata */ "M7Xk").fastKey; -var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "XH/I"); - -var setInternalState = InternalStateModule.set; -var internalStateGetterFor = InternalStateModule.getterFor; - -module.exports = { - getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) { - var C = wrapper(function (that, iterable) { - anInstance(that, C, CONSTRUCTOR_NAME); - setInternalState(that, { - type: CONSTRUCTOR_NAME, - index: create(null), - first: undefined, - last: undefined, - size: 0 - }); - if (!DESCRIPTORS) that.size = 0; - if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP }); - }); - - var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME); - - var define = function (that, key, value) { - var state = getInternalState(that); - var entry = getEntry(that, key); - var previous, index; - // change existing entry - if (entry) { - entry.value = value; - // create new entry - } else { - state.last = entry = { - index: index = fastKey(key, true), - key: key, - value: value, - previous: previous = state.last, - next: undefined, - removed: false - }; - if (!state.first) state.first = entry; - if (previous) previous.next = entry; - if (DESCRIPTORS) state.size++; - else that.size++; - // add to index - if (index !== 'F') state.index[index] = entry; - } return that; - }; - - var getEntry = function (that, key) { - var state = getInternalState(that); - // fast case - var index = fastKey(key); - var entry; - if (index !== 'F') return state.index[index]; - // frozen object case - for (entry = state.first; entry; entry = entry.next) { - if (entry.key == key) return entry; - } - }; - - redefineAll(C.prototype, { - // 23.1.3.1 Map.prototype.clear() - // 23.2.3.2 Set.prototype.clear() - clear: function clear() { - var that = this; - var state = getInternalState(that); - var data = state.index; - var entry = state.first; - while (entry) { - entry.removed = true; - if (entry.previous) entry.previous = entry.previous.next = undefined; - delete data[entry.index]; - entry = entry.next; - } - state.first = state.last = undefined; - if (DESCRIPTORS) state.size = 0; - else that.size = 0; - }, - // 23.1.3.3 Map.prototype.delete(key) - // 23.2.3.4 Set.prototype.delete(value) - 'delete': function (key) { - var that = this; - var state = getInternalState(that); - var entry = getEntry(that, key); - if (entry) { - var next = entry.next; - var prev = entry.previous; - delete state.index[entry.index]; - entry.removed = true; - if (prev) prev.next = next; - if (next) next.previous = prev; - if (state.first == entry) state.first = next; - if (state.last == entry) state.last = prev; - if (DESCRIPTORS) state.size--; - else that.size--; - } return !!entry; - }, - // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined) - // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined) - forEach: function forEach(callbackfn /* , that = undefined */) { - var state = getInternalState(this); - var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); - var entry; - while (entry = entry ? entry.next : state.first) { - boundFunction(entry.value, entry.key, this); - // revert to the last existing entry - while (entry && entry.removed) entry = entry.previous; - } - }, - // 23.1.3.7 Map.prototype.has(key) - // 23.2.3.7 Set.prototype.has(value) - has: function has(key) { - return !!getEntry(this, key); - } - }); - - redefineAll(C.prototype, IS_MAP ? { - // 23.1.3.6 Map.prototype.get(key) - get: function get(key) { - var entry = getEntry(this, key); - return entry && entry.value; - }, - // 23.1.3.9 Map.prototype.set(key, value) - set: function set(key, value) { - return define(this, key === 0 ? 0 : key, value); - } - } : { - // 23.2.3.1 Set.prototype.add(value) - add: function add(value) { - return define(this, value = value === 0 ? 0 : value, value); - } - }); - if (DESCRIPTORS) defineProperty(C.prototype, 'size', { - get: function () { - return getInternalState(this).size; - } - }); - return C; - }, - setStrong: function (C, CONSTRUCTOR_NAME, IS_MAP) { - var ITERATOR_NAME = CONSTRUCTOR_NAME + ' Iterator'; - var getInternalCollectionState = internalStateGetterFor(CONSTRUCTOR_NAME); - var getInternalIteratorState = internalStateGetterFor(ITERATOR_NAME); - // add .keys, .values, .entries, [@@iterator] - // 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11 - defineIterator(C, CONSTRUCTOR_NAME, function (iterated, kind) { - setInternalState(this, { - type: ITERATOR_NAME, - target: iterated, - state: getInternalCollectionState(iterated), - kind: kind, - last: undefined - }); - }, function () { - var state = getInternalIteratorState(this); - var kind = state.kind; - var entry = state.last; - // revert to the last existing entry - while (entry && entry.removed) entry = entry.previous; - // get next entry - if (!state.target || !(state.last = entry = entry ? entry.next : state.state.first)) { - // or finish the iteration - state.target = undefined; - return { value: undefined, done: true }; - } - // return step by kind - if (kind == 'keys') return { value: entry.key, done: false }; - if (kind == 'values') return { value: entry.value, done: false }; - return { value: [entry.key, entry.value], done: false }; - }, IS_MAP ? 'entries' : 'values', !IS_MAP, true); - - // add [@@species], 23.1.2.2, 23.2.2.2 - setSpecies(CONSTRUCTOR_NAME); - } -}; - - -/***/ }), - -/***/ "nP0K": -/*!*****************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/array-for-each.js ***! - \*****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $forEach = __webpack_require__(/*! ../internals/array-iteration */ "kk6e").forEach; -var arrayMethodIsStrict = __webpack_require__(/*! ../internals/array-method-is-strict */ "6CJb"); -var arrayMethodUsesToLength = __webpack_require__(/*! ../internals/array-method-uses-to-length */ "w2hq"); - -var STRICT_METHOD = arrayMethodIsStrict('forEach'); -var USES_TO_LENGTH = arrayMethodUsesToLength('forEach'); - -// `Array.prototype.forEach` method implementation -// https://tc39.es/ecma262/#sec-array.prototype.foreach -module.exports = (!STRICT_METHOD || !USES_TO_LENGTH) ? function forEach(callbackfn /* , thisArg */) { - return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); -} : [].forEach; - - -/***/ }), - -/***/ "ntzx": -/*!**************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.array.join.js ***! - \**************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ "tUdv"); -var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "EMtK"); -var arrayMethodIsStrict = __webpack_require__(/*! ../internals/array-method-is-strict */ "6CJb"); - -var nativeJoin = [].join; - -var ES3_STRINGS = IndexedObject != Object; -var STRICT_METHOD = arrayMethodIsStrict('join', ','); - -// `Array.prototype.join` method -// https://tc39.es/ecma262/#sec-array.prototype.join -$({ target: 'Array', proto: true, forced: ES3_STRINGS || !STRICT_METHOD }, { - join: function join(separator) { - return nativeJoin.call(toIndexedObject(this), separator === undefined ? ',' : separator); - } -}); - - -/***/ }), - -/***/ "nuqZ": -/*!*****************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.object.assign.js ***! - \*****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var assign = __webpack_require__(/*! ../internals/object-assign */ "KlhL"); - -// `Object.assign` method -// https://tc39.es/ecma262/#sec-object.assign -$({ target: 'Object', stat: true, forced: Object.assign !== assign }, { - assign: assign -}); - - -/***/ }), - -/***/ "oB0/": -/*!*************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/new-promise-capability.js ***! - \*************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var aFunction = __webpack_require__(/*! ../internals/a-function */ "Neub"); - -var PromiseCapability = function (C) { - var resolve, reject; - this.promise = new C(function ($$resolve, $$reject) { - if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor'); - resolve = $$resolve; - reject = $$reject; - }); - this.resolve = aFunction(resolve); - this.reject = aFunction(reject); -}; - -// 25.4.1.5 NewPromiseCapability(C) -module.exports.f = function (C) { - return new PromiseCapability(C); -}; - - -/***/ }), - -/***/ "oatR": -/*!**********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.string.starts-with.js ***! - \**********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var getOwnPropertyDescriptor = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "7gGY").f; -var toLength = __webpack_require__(/*! ../internals/to-length */ "xpLY"); -var notARegExp = __webpack_require__(/*! ../internals/not-a-regexp */ "s8qp"); -var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "hmpk"); -var correctIsRegExpLogic = __webpack_require__(/*! ../internals/correct-is-regexp-logic */ "0Ds2"); -var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "g9hI"); - -var nativeStartsWith = ''.startsWith; -var min = Math.min; - -var CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('startsWith'); -// https://github.com/zloirock/core-js/pull/702 -var MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () { - var descriptor = getOwnPropertyDescriptor(String.prototype, 'startsWith'); - return descriptor && !descriptor.writable; -}(); - -// `String.prototype.startsWith` method -// https://tc39.es/ecma262/#sec-string.prototype.startswith -$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, { - startsWith: function startsWith(searchString /* , position = 0 */) { - var that = String(requireObjectCoercible(this)); - notARegExp(searchString); - var index = toLength(min(arguments.length > 1 ? arguments[1] : undefined, that.length)); - var search = String(searchString); - return nativeStartsWith - ? nativeStartsWith.call(that, search, index) - : that.slice(index, index + search.length) === search; - } -}); - - -/***/ }), - -/***/ "ocAm": -/*!*********************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/global.js ***! - \*********************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -var check = function (it) { - return it && it.Math == Math && it; -}; - -// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 -module.exports = - // eslint-disable-next-line no-undef - check(typeof globalThis == 'object' && globalThis) || - check(typeof window == 'object' && window) || - check(typeof self == 'object' && self) || - check(typeof global == 'object' && global) || - // eslint-disable-next-line no-new-func - (function () { return this; })() || Function('return this')(); - - -/***/ }), - -/***/ "ow8b": -/*!***************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.number.min-safe-integer.js ***! - \***************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); - -// `Number.MIN_SAFE_INTEGER` constant -// https://tc39.es/ecma262/#sec-number.min_safe_integer -$({ target: 'Number', stat: true }, { - MIN_SAFE_INTEGER: -0x1FFFFFFFFFFFFF -}); - - -/***/ }), - -/***/ "p82S": -/*!**********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/species-constructor.js ***! - \**********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var anObject = __webpack_require__(/*! ../internals/an-object */ "F26l"); -var aFunction = __webpack_require__(/*! ../internals/a-function */ "Neub"); -var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "m41k"); - -var SPECIES = wellKnownSymbol('species'); - -// `SpeciesConstructor` abstract operation -// https://tc39.es/ecma262/#sec-speciesconstructor -module.exports = function (O, defaultConstructor) { - var C = anObject(O).constructor; - var S; - return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? defaultConstructor : aFunction(S); -}; - - -/***/ }), - -/***/ "pWza": -/*!****************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.regexp.flags.js ***! - \****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "T69T"); -var objectDefinePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "/Ybd"); -var regExpFlags = __webpack_require__(/*! ../internals/regexp-flags */ "x0kV"); -var UNSUPPORTED_Y = __webpack_require__(/*! ../internals/regexp-sticky-helpers */ "JkSk").UNSUPPORTED_Y; - -// `RegExp.prototype.flags` getter -// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags -if (DESCRIPTORS && (/./g.flags != 'g' || UNSUPPORTED_Y)) { - objectDefinePropertyModule.f(RegExp.prototype, 'flags', { - configurable: true, - get: regExpFlags - }); -} - - -/***/ }), - -/***/ "pd8B": -/*!**********************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/perform.js ***! - \**********************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -module.exports = function (exec) { - try { - return { error: false, value: exec() }; - } catch (error) { - return { error: true, value: error }; - } -}; - - -/***/ }), - -/***/ "pn4C": -/*!*************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/math-expm1.js ***! - \*************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -var nativeExpm1 = Math.expm1; -var exp = Math.exp; - -// `Math.expm1` method implementation -// https://tc39.es/ecma262/#sec-math.expm1 -module.exports = (!nativeExpm1 - // Old FF bug - || nativeExpm1(10) > 22025.465794806719 || nativeExpm1(10) < 22025.4657948067165168 - // Tor Browser bug - || nativeExpm1(-2e-17) != -2e-17 -) ? function expm1(x) { - return (x = +x) == 0 ? x : x > -1e-6 && x < 1e-6 ? x + x * x / 2 : exp(x) - 1; -} : nativeExpm1; - - -/***/ }), - -/***/ "pz+c": -/*!************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/iterators.js ***! - \************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -module.exports = {}; - - -/***/ }), - -/***/ "qaQR": -/*!********************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/es/number/index.js ***! - \********************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -__webpack_require__(/*! ../../modules/es.number.constructor */ "D+RQ"); -__webpack_require__(/*! ../../modules/es.number.epsilon */ "ZBUp"); -__webpack_require__(/*! ../../modules/es.number.is-finite */ "s5r0"); -__webpack_require__(/*! ../../modules/es.number.is-integer */ "COcp"); -__webpack_require__(/*! ../../modules/es.number.is-nan */ "+IJR"); -__webpack_require__(/*! ../../modules/es.number.is-safe-integer */ "kpca"); -__webpack_require__(/*! ../../modules/es.number.max-safe-integer */ "yI8t"); -__webpack_require__(/*! ../../modules/es.number.min-safe-integer */ "ow8b"); -__webpack_require__(/*! ../../modules/es.number.parse-float */ "5eAq"); -__webpack_require__(/*! ../../modules/es.number.parse-int */ "5zDw"); -__webpack_require__(/*! ../../modules/es.number.to-fixed */ "8xKV"); -__webpack_require__(/*! ../../modules/es.number.to-precision */ "ane6"); -var path = __webpack_require__(/*! ../../internals/path */ "E7aN"); - -module.exports = path.Number; - - -/***/ }), - -/***/ "qc/G": -/*!*********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/date-to-iso-string.js ***! - \*********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); -var padStart = __webpack_require__(/*! ../internals/string-pad */ "QcXc").start; - -var abs = Math.abs; -var DatePrototype = Date.prototype; -var getTime = DatePrototype.getTime; -var nativeDateToISOString = DatePrototype.toISOString; - -// `Date.prototype.toISOString` method implementation -// https://tc39.es/ecma262/#sec-date.prototype.toisostring -// PhantomJS / old WebKit fails here: -module.exports = (fails(function () { - return nativeDateToISOString.call(new Date(-5e13 - 1)) != '0385-07-25T07:06:39.999Z'; -}) || !fails(function () { - nativeDateToISOString.call(new Date(NaN)); -})) ? function toISOString() { - if (!isFinite(getTime.call(this))) throw RangeError('Invalid time value'); - var date = this; - var year = date.getUTCFullYear(); - var milliseconds = date.getUTCMilliseconds(); - var sign = year < 0 ? '-' : year > 9999 ? '+' : ''; - return sign + padStart(abs(year), sign ? 6 : 4, 0) + - '-' + padStart(date.getUTCMonth() + 1, 2, 0) + - '-' + padStart(date.getUTCDate(), 2, 0) + - 'T' + padStart(date.getUTCHours(), 2, 0) + - ':' + padStart(date.getUTCMinutes(), 2, 0) + - ':' + padStart(date.getUTCSeconds(), 2, 0) + - '.' + padStart(milliseconds, 3, 0) + - 'Z'; -} : nativeDateToISOString; - - -/***/ }), - -/***/ "qjkP": -/*!**************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/regexp-exec.js ***! - \**************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var regexpFlags = __webpack_require__(/*! ./regexp-flags */ "x0kV"); -var stickyHelpers = __webpack_require__(/*! ./regexp-sticky-helpers */ "JkSk"); - -var nativeExec = RegExp.prototype.exec; -// This always refers to the native implementation, because the -// String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js, -// which loads this file before patching the method. -var nativeReplace = String.prototype.replace; - -var patchedExec = nativeExec; - -var UPDATES_LAST_INDEX_WRONG = (function () { - var re1 = /a/; - var re2 = /b*/g; - nativeExec.call(re1, 'a'); - nativeExec.call(re2, 'a'); - return re1.lastIndex !== 0 || re2.lastIndex !== 0; -})(); - -var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y || stickyHelpers.BROKEN_CARET; - -// nonparticipating capturing group, copied from es5-shim's String#split patch. -var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined; - -var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y; - -if (PATCH) { - patchedExec = function exec(str) { - var re = this; - var lastIndex, reCopy, match, i; - var sticky = UNSUPPORTED_Y && re.sticky; - var flags = regexpFlags.call(re); - var source = re.source; - var charsAdded = 0; - var strCopy = str; - - if (sticky) { - flags = flags.replace('y', ''); - if (flags.indexOf('g') === -1) { - flags += 'g'; - } - - strCopy = String(str).slice(re.lastIndex); - // Support anchored sticky behavior. - if (re.lastIndex > 0 && (!re.multiline || re.multiline && str[re.lastIndex - 1] !== '\n')) { - source = '(?: ' + source + ')'; - strCopy = ' ' + strCopy; - charsAdded++; - } - // ^(? + rx + ) is needed, in combination with some str slicing, to - // simulate the 'y' flag. - reCopy = new RegExp('^(?:' + source + ')', flags); - } - - if (NPCG_INCLUDED) { - reCopy = new RegExp('^' + source + '$(?!\\s)', flags); - } - if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex; - - match = nativeExec.call(sticky ? reCopy : re, strCopy); - - if (sticky) { - if (match) { - match.input = match.input.slice(charsAdded); - match[0] = match[0].slice(charsAdded); - match.index = re.lastIndex; - re.lastIndex += match[0].length; - } else re.lastIndex = 0; - } else if (UPDATES_LAST_INDEX_WRONG && match) { - re.lastIndex = re.global ? match.index + match[0].length : lastIndex; - } - if (NPCG_INCLUDED && match && match.length > 1) { - // Fix browsers whose `exec` methods don't consistently return `undefined` - // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/ - nativeReplace.call(match[0], reCopy, function () { - for (i = 1; i < arguments.length - 2; i++) { - if (arguments[i] === undefined) match[i] = undefined; - } - }); - } - - return match; - }; -} - -module.exports = patchedExec; - - -/***/ }), - -/***/ "qpIG": -/*!****************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.string.small.js ***! - \****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var createHTML = __webpack_require__(/*! ../internals/create-html */ "uoca"); -var forcedStringHTMLMethod = __webpack_require__(/*! ../internals/string-html-forced */ "d8Sw"); - -// `String.prototype.small` method -// https://tc39.es/ecma262/#sec-string.prototype.small -$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('small') }, { - small: function small() { - return createHTML(this, 'small', '', ''); - } -}); - - -/***/ }), - -/***/ "qx7X": -/*!**************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/document-create-element.js ***! - \**************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var global = __webpack_require__(/*! ../internals/global */ "ocAm"); -var isObject = __webpack_require__(/*! ../internals/is-object */ "6XUM"); - -var document = global.document; -// typeof document.createElement is 'object' in old IE -var EXISTS = isObject(document) && isObject(document.createElement); - -module.exports = function (it) { - return EXISTS ? document.createElement(it) : {}; -}; - - -/***/ }), - -/***/ "r8F+": -/*!**************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.string.from-code-point.js ***! - \**************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ "7Oj1"); - -var fromCharCode = String.fromCharCode; -var nativeFromCodePoint = String.fromCodePoint; - -// length should be 1, old FF problem -var INCORRECT_LENGTH = !!nativeFromCodePoint && nativeFromCodePoint.length != 1; - -// `String.fromCodePoint` method -// https://tc39.es/ecma262/#sec-string.fromcodepoint -$({ target: 'String', stat: true, forced: INCORRECT_LENGTH }, { - fromCodePoint: function fromCodePoint(x) { // eslint-disable-line no-unused-vars - var elements = []; - var length = arguments.length; - var i = 0; - var code; - while (length > i) { - code = +arguments[i++]; - if (toAbsoluteIndex(code, 0x10FFFF) !== code) throw RangeError(code + ' is not a valid code point'); - elements.push(code < 0x10000 - ? fromCharCode(code) - : fromCharCode(((code -= 0x10000) >> 10) + 0xD800, code % 0x400 + 0xDC00) - ); - } return elements.join(''); - } -}); - - -/***/ }), - -/***/ "rCRE": -/*!**********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/array-last-index-of.js ***! - \**********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "EMtK"); -var toInteger = __webpack_require__(/*! ../internals/to-integer */ "vDBE"); -var toLength = __webpack_require__(/*! ../internals/to-length */ "xpLY"); -var arrayMethodIsStrict = __webpack_require__(/*! ../internals/array-method-is-strict */ "6CJb"); -var arrayMethodUsesToLength = __webpack_require__(/*! ../internals/array-method-uses-to-length */ "w2hq"); - -var min = Math.min; -var nativeLastIndexOf = [].lastIndexOf; -var NEGATIVE_ZERO = !!nativeLastIndexOf && 1 / [1].lastIndexOf(1, -0) < 0; -var STRICT_METHOD = arrayMethodIsStrict('lastIndexOf'); -// For preventing possible almost infinite loop in non-standard implementations, test the forward version of the method -var USES_TO_LENGTH = arrayMethodUsesToLength('indexOf', { ACCESSORS: true, 1: 0 }); -var FORCED = NEGATIVE_ZERO || !STRICT_METHOD || !USES_TO_LENGTH; - -// `Array.prototype.lastIndexOf` method implementation -// https://tc39.es/ecma262/#sec-array.prototype.lastindexof -module.exports = FORCED ? function lastIndexOf(searchElement /* , fromIndex = @[*-1] */) { - // convert -0 to +0 - if (NEGATIVE_ZERO) return nativeLastIndexOf.apply(this, arguments) || 0; - var O = toIndexedObject(this); - var length = toLength(O.length); - var index = length - 1; - if (arguments.length > 1) index = min(index, toInteger(arguments[1])); - if (index < 0) index = length + index; - for (;index >= 0; index--) if (index in O && O[index] === searchElement) return index || 0; - return -1; -} : nativeLastIndexOf; - - -/***/ }), - -/***/ "rG8t": -/*!********************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/fails.js ***! - \********************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -module.exports = function (exec) { - try { - return !!exec(); - } catch (error) { - return true; - } -}; - - -/***/ }), - -/***/ "rH3X": -/*!******************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.array.iterator.js ***! - \******************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "EMtK"); -var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ "A1Hp"); -var Iterators = __webpack_require__(/*! ../internals/iterators */ "pz+c"); -var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "XH/I"); -var defineIterator = __webpack_require__(/*! ../internals/define-iterator */ "WijE"); - -var ARRAY_ITERATOR = 'Array Iterator'; -var setInternalState = InternalStateModule.set; -var getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR); - -// `Array.prototype.entries` method -// https://tc39.es/ecma262/#sec-array.prototype.entries -// `Array.prototype.keys` method -// https://tc39.es/ecma262/#sec-array.prototype.keys -// `Array.prototype.values` method -// https://tc39.es/ecma262/#sec-array.prototype.values -// `Array.prototype[@@iterator]` method -// https://tc39.es/ecma262/#sec-array.prototype-@@iterator -// `CreateArrayIterator` internal method -// https://tc39.es/ecma262/#sec-createarrayiterator -module.exports = defineIterator(Array, 'Array', function (iterated, kind) { - setInternalState(this, { - type: ARRAY_ITERATOR, - target: toIndexedObject(iterated), // target - index: 0, // next index - kind: kind // kind - }); -// `%ArrayIteratorPrototype%.next` method -// https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next -}, function () { - var state = getInternalState(this); - var target = state.target; - var kind = state.kind; - var index = state.index++; - if (!target || index >= target.length) { - state.target = undefined; - return { value: undefined, done: true }; - } - if (kind == 'keys') return { value: index, done: false }; - if (kind == 'values') return { value: target[index], done: false }; - return { value: [index, target[index]], done: false }; -}, 'values'); - -// argumentsList[@@iterator] is %ArrayProto_values% -// https://tc39.es/ecma262/#sec-createunmappedargumentsobject -// https://tc39.es/ecma262/#sec-createmappedargumentsobject -Iterators.Arguments = Iterators.Array; - -// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables -addToUnscopables('keys'); -addToUnscopables('values'); -addToUnscopables('entries'); - - -/***/ }), - -/***/ "riHj": -/*!*****************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/web.dom-collections.iterator.js ***! - \*****************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var global = __webpack_require__(/*! ../internals/global */ "ocAm"); -var DOMIterables = __webpack_require__(/*! ../internals/dom-iterables */ "OjQg"); -var ArrayIteratorMethods = __webpack_require__(/*! ../modules/es.array.iterator */ "rH3X"); -var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "aJMj"); -var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "m41k"); - -var ITERATOR = wellKnownSymbol('iterator'); -var TO_STRING_TAG = wellKnownSymbol('toStringTag'); -var ArrayValues = ArrayIteratorMethods.values; - -for (var COLLECTION_NAME in DOMIterables) { - var Collection = global[COLLECTION_NAME]; - var CollectionPrototype = Collection && Collection.prototype; - if (CollectionPrototype) { - // some Chrome versions have non-configurable methods on DOMTokenList - if (CollectionPrototype[ITERATOR] !== ArrayValues) try { - createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues); - } catch (error) { - CollectionPrototype[ITERATOR] = ArrayValues; - } - if (!CollectionPrototype[TO_STRING_TAG]) { - createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME); - } - if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) { - // some Chrome versions have non-configurable methods on DOMTokenList - if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try { - createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]); - } catch (error) { - CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME]; - } - } - } -} - - -/***/ }), - -/***/ "rwGd": -/*!*********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/string-trim-forced.js ***! - \*********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); -var whitespaces = __webpack_require__(/*! ../internals/whitespaces */ "xFZC"); - -var non = '\u200B\u0085\u180E'; - -// check that a method works with the correct list -// of whitespaces and has a correct name -module.exports = function (METHOD_NAME) { - return fails(function () { - return !!whitespaces[METHOD_NAME]() || non[METHOD_NAME]() != non || whitespaces[METHOD_NAME].name !== METHOD_NAME; - }); -}; - - -/***/ }), - -/***/ "s1IR": -/*!***************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.string.trim.js ***! - \***************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var $trim = __webpack_require__(/*! ../internals/string-trim */ "jnLS").trim; -var forcedStringTrimMethod = __webpack_require__(/*! ../internals/string-trim-forced */ "rwGd"); - -// `String.prototype.trim` method -// https://tc39.es/ecma262/#sec-string.prototype.trim -$({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, { - trim: function trim() { - return $trim(this); - } -}); - - -/***/ }), - -/***/ "s5r0": -/*!********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.number.is-finite.js ***! - \********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var numberIsFinite = __webpack_require__(/*! ../internals/number-is-finite */ "Yg8j"); - -// `Number.isFinite` method -// https://tc39.es/ecma262/#sec-number.isfinite -$({ target: 'Number', stat: true }, { isFinite: numberIsFinite }); - - -/***/ }), - -/***/ "s8qp": -/*!***************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/not-a-regexp.js ***! - \***************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var isRegExp = __webpack_require__(/*! ../internals/is-regexp */ "1p6F"); - -module.exports = function (it) { - if (isRegExp(it)) { - throw TypeError("The method doesn't accept regular expressions"); - } return it; -}; - - -/***/ }), - -/***/ "sQrk": -/*!****************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.array.splice.js ***! - \****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ "7Oj1"); -var toInteger = __webpack_require__(/*! ../internals/to-integer */ "vDBE"); -var toLength = __webpack_require__(/*! ../internals/to-length */ "xpLY"); -var toObject = __webpack_require__(/*! ../internals/to-object */ "VCQ8"); -var arraySpeciesCreate = __webpack_require__(/*! ../internals/array-species-create */ "JafA"); -var createProperty = __webpack_require__(/*! ../internals/create-property */ "DYg9"); -var arrayMethodHasSpeciesSupport = __webpack_require__(/*! ../internals/array-method-has-species-support */ "lRyB"); -var arrayMethodUsesToLength = __webpack_require__(/*! ../internals/array-method-uses-to-length */ "w2hq"); - -var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice'); -var USES_TO_LENGTH = arrayMethodUsesToLength('splice', { ACCESSORS: true, 0: 0, 1: 2 }); - -var max = Math.max; -var min = Math.min; -var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; -var MAXIMUM_ALLOWED_LENGTH_EXCEEDED = 'Maximum allowed length exceeded'; - -// `Array.prototype.splice` method -// https://tc39.es/ecma262/#sec-array.prototype.splice -// with adding support of @@species -$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, { - splice: function splice(start, deleteCount /* , ...items */) { - var O = toObject(this); - var len = toLength(O.length); - var actualStart = toAbsoluteIndex(start, len); - var argumentsLength = arguments.length; - var insertCount, actualDeleteCount, A, k, from, to; - if (argumentsLength === 0) { - insertCount = actualDeleteCount = 0; - } else if (argumentsLength === 1) { - insertCount = 0; - actualDeleteCount = len - actualStart; - } else { - insertCount = argumentsLength - 2; - actualDeleteCount = min(max(toInteger(deleteCount), 0), len - actualStart); - } - if (len + insertCount - actualDeleteCount > MAX_SAFE_INTEGER) { - throw TypeError(MAXIMUM_ALLOWED_LENGTH_EXCEEDED); - } - A = arraySpeciesCreate(O, actualDeleteCount); - for (k = 0; k < actualDeleteCount; k++) { - from = actualStart + k; - if (from in O) createProperty(A, k, O[from]); - } - A.length = actualDeleteCount; - if (insertCount < actualDeleteCount) { - for (k = actualStart; k < len - actualDeleteCount; k++) { - from = k + actualDeleteCount; - to = k + insertCount; - if (from in O) O[to] = O[from]; - else delete O[to]; - } - for (k = len; k > len - actualDeleteCount + insertCount; k--) delete O[k - 1]; - } else if (insertCount > actualDeleteCount) { - for (k = len - actualDeleteCount; k > actualStart; k--) { - from = k + actualDeleteCount - 1; - to = k + insertCount - 1; - if (from in O) O[to] = O[from]; - else delete O[to]; - } - } - for (k = 0; k < insertCount; k++) { - O[k + actualStart] = arguments[k + 2]; - } - O.length = len - actualDeleteCount + insertCount; - return A; - } -}); - - -/***/ }), - -/***/ "shqn": -/*!********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/set-to-string-tag.js ***! - \********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var defineProperty = __webpack_require__(/*! ../internals/object-define-property */ "/Ybd").f; -var has = __webpack_require__(/*! ../internals/has */ "OG5q"); -var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "m41k"); - -var TO_STRING_TAG = wellKnownSymbol('toStringTag'); - -module.exports = function (it, TAG, STATIC) { - if (it && !has(it = STATIC ? it : it.prototype, TO_STRING_TAG)) { - defineProperty(it, TO_STRING_TAG, { configurable: true, value: TAG }); - } -}; - - -/***/ }), - -/***/ "tNyX": -/*!************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.string.code-point-at.js ***! - \************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var codeAt = __webpack_require__(/*! ../internals/string-multibyte */ "G7bs").codeAt; - -// `String.prototype.codePointAt` method -// https://tc39.es/ecma262/#sec-string.prototype.codepointat -$({ target: 'String', proto: true }, { - codePointAt: function codePointAt(pos) { - return codeAt(this, pos); - } -}); - - -/***/ }), - -/***/ "tUdv": -/*!*****************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/indexed-object.js ***! - \*****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); -var classof = __webpack_require__(/*! ../internals/classof-raw */ "ezU2"); - -var split = ''.split; - -// fallback for non-array-like ES3 and non-enumerable old V8 strings -module.exports = fails(function () { - // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346 - // eslint-disable-next-line no-prototype-builtins - return !Object('z').propertyIsEnumerable(0); -}) ? function (it) { - return classof(it) == 'String' ? split.call(it, '') : Object(it); -} : Object; - - -/***/ }), - -/***/ "tXU5": -/*!******************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/es/math/index.js ***! - \******************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -__webpack_require__(/*! ../../modules/es.math.acosh */ "IXlp"); -__webpack_require__(/*! ../../modules/es.math.asinh */ "3caY"); -__webpack_require__(/*! ../../modules/es.math.atanh */ "8iOR"); -__webpack_require__(/*! ../../modules/es.math.cbrt */ "D94X"); -__webpack_require__(/*! ../../modules/es.math.clz32 */ "M1AK"); -__webpack_require__(/*! ../../modules/es.math.cosh */ "S58s"); -__webpack_require__(/*! ../../modules/es.math.expm1 */ "JhPs"); -__webpack_require__(/*! ../../modules/es.math.fround */ "Pf6x"); -__webpack_require__(/*! ../../modules/es.math.hypot */ "CwIO"); -__webpack_require__(/*! ../../modules/es.math.imul */ "QFgE"); -__webpack_require__(/*! ../../modules/es.math.log10 */ "WEpO"); -__webpack_require__(/*! ../../modules/es.math.log1p */ "Djps"); -__webpack_require__(/*! ../../modules/es.math.log2 */ "6oxo"); -__webpack_require__(/*! ../../modules/es.math.sign */ "BnCb"); -__webpack_require__(/*! ../../modules/es.math.sinh */ "n1Kw"); -__webpack_require__(/*! ../../modules/es.math.tanh */ "aTTg"); -__webpack_require__(/*! ../../modules/es.math.to-string-tag */ "OVXS"); -__webpack_require__(/*! ../../modules/es.math.trunc */ "SdaC"); -var path = __webpack_require__(/*! ../../internals/path */ "E7aN"); - -module.exports = path.Math; - - -/***/ }), - -/***/ "tcQx": -/*!************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/function-bind-context.js ***! - \************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var aFunction = __webpack_require__(/*! ../internals/a-function */ "Neub"); - -// optional / simple context binding -module.exports = function (fn, that, length) { - aFunction(fn); - if (that === undefined) return fn; - switch (length) { - case 0: return function () { - return fn.call(that); - }; - case 1: return function (a) { - return fn.call(that, a); - }; - case 2: return function (a, b) { - return fn.call(that, a, b); - }; - case 3: return function (a, b, c) { - return fn.call(that, a, b, c); - }; - } - return function (/* ...args */) { - return fn.apply(that, arguments); - }; -}; - - -/***/ }), - -/***/ "tkWj": -/*!*******************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.string.iterator.js ***! - \*******************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var charAt = __webpack_require__(/*! ../internals/string-multibyte */ "G7bs").charAt; -var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "XH/I"); -var defineIterator = __webpack_require__(/*! ../internals/define-iterator */ "WijE"); - -var STRING_ITERATOR = 'String Iterator'; -var setInternalState = InternalStateModule.set; -var getInternalState = InternalStateModule.getterFor(STRING_ITERATOR); - -// `String.prototype[@@iterator]` method -// https://tc39.es/ecma262/#sec-string.prototype-@@iterator -defineIterator(String, 'String', function (iterated) { - setInternalState(this, { - type: STRING_ITERATOR, - string: String(iterated), - index: 0 - }); -// `%StringIteratorPrototype%.next` method -// https://tc39.es/ecma262/#sec-%stringiteratorprototype%.next -}, function next() { - var state = getInternalState(this); - var string = state.string; - var index = state.index; - var point; - if (index >= string.length) return { value: undefined, done: true }; - point = charAt(string, index); - state.index += point.length; - return { value: point, done: false }; -}); - - -/***/ }), - -/***/ "tuHh": -/*!****************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/engine-is-ios.js ***! - \****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var userAgent = __webpack_require__(/*! ../internals/engine-user-agent */ "T/Kj"); - -module.exports = /(iphone|ipod|ipad).*applewebkit/i.test(userAgent); - - -/***/ }), - -/***/ "u5Nv": -/*!*************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.object.is.js ***! - \*************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var is = __webpack_require__(/*! ../internals/same-value */ "EQZg"); - -// `Object.is` method -// https://tc39.es/ecma262/#sec-object.is -$({ target: 'Object', stat: true }, { - is: is -}); - - -/***/ }), - -/***/ "u7HS": -/*!***************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.reflect.get.js ***! - \***************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var isObject = __webpack_require__(/*! ../internals/is-object */ "6XUM"); -var anObject = __webpack_require__(/*! ../internals/an-object */ "F26l"); -var has = __webpack_require__(/*! ../internals/has */ "OG5q"); -var getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "7gGY"); -var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ "wIVT"); - -// `Reflect.get` method -// https://tc39.es/ecma262/#sec-reflect.get -function get(target, propertyKey /* , receiver */) { - var receiver = arguments.length < 3 ? target : arguments[2]; - var descriptor, prototype; - if (anObject(target) === receiver) return target[propertyKey]; - if (descriptor = getOwnPropertyDescriptorModule.f(target, propertyKey)) return has(descriptor, 'value') - ? descriptor.value - : descriptor.get === undefined - ? undefined - : descriptor.get.call(receiver); - if (isObject(prototype = getPrototypeOf(target))) return get(prototype, propertyKey, receiver); -} - -$({ target: 'Reflect', stat: true }, { - get: get -}); - - -/***/ }), - -/***/ "uKyN": -/*!******************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.symbol.species.js ***! - \******************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var defineWellKnownSymbol = __webpack_require__(/*! ../internals/define-well-known-symbol */ "94Vg"); - -// `Symbol.species` well-known symbol -// https://tc39.es/ecma262/#sec-symbol.species -defineWellKnownSymbol('species'); - - -/***/ }), - -/***/ "uSMZ": -/*!*****************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/create-property-descriptor.js ***! - \*****************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -module.exports = function (bitmap, value) { - return { - enumerable: !(bitmap & 1), - configurable: !(bitmap & 2), - writable: !(bitmap & 4), - value: value - }; -}; - - -/***/ }), - -/***/ "unYP": -/*!***********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/regexp-exec-abstract.js ***! - \***********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var classof = __webpack_require__(/*! ./classof-raw */ "ezU2"); -var regexpExec = __webpack_require__(/*! ./regexp-exec */ "qjkP"); - -// `RegExpExec` abstract operation -// https://tc39.es/ecma262/#sec-regexpexec -module.exports = function (R, S) { - var exec = R.exec; - if (typeof exec === 'function') { - var result = exec.call(R, S); - if (typeof result !== 'object') { - throw TypeError('RegExp exec method returned something other than an Object or null'); - } - return result; - } - - if (classof(R) !== 'RegExp') { - throw TypeError('RegExp#exec called on incompatible receiver'); - } - - return regexpExec.call(R, S); -}; - - - -/***/ }), - -/***/ "uoca": -/*!**************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/create-html.js ***! - \**************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "hmpk"); - -var quot = /"/g; - -// B.2.3.2.1 CreateHTML(string, tag, attribute, value) -// https://tc39.es/ecma262/#sec-createhtml -module.exports = function (string, tag, attribute, value) { - var S = String(requireObjectCoercible(string)); - var p1 = '<' + tag; - if (attribute !== '') p1 += ' ' + attribute + '="' + String(value).replace(quot, '"') + '"'; - return p1 + '>' + S + ''; -}; - - -/***/ }), - -/***/ "v5if": -/*!******************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.array.for-each.js ***! - \******************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var forEach = __webpack_require__(/*! ../internals/array-for-each */ "nP0K"); - -// `Array.prototype.forEach` method -// https://tc39.es/ecma262/#sec-array.prototype.foreach -$({ target: 'Array', proto: true, forced: [].forEach != forEach }, { - forEach: forEach -}); - - -/***/ }), - -/***/ "vDBE": -/*!*************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/to-integer.js ***! - \*************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -var ceil = Math.ceil; -var floor = Math.floor; - -// `ToInteger` abstract operation -// https://tc39.es/ecma262/#sec-tointeger -module.exports = function (argument) { - return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument); -}; - - -/***/ }), - -/***/ "vRoz": -/*!*******************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.map.js ***! - \*******************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var collection = __webpack_require__(/*! ../internals/collection */ "wdMf"); -var collectionStrong = __webpack_require__(/*! ../internals/collection-strong */ "nIH4"); - -// `Map` constructor -// https://tc39.es/ecma262/#sec-map-objects -module.exports = collection('Map', function (init) { - return function Map() { return init(this, arguments.length ? arguments[0] : undefined); }; -}, collectionStrong); - - -/***/ }), - -/***/ "vVmn": -/*!***********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/object-keys-internal.js ***! - \***********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var has = __webpack_require__(/*! ../internals/has */ "OG5q"); -var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "EMtK"); -var indexOf = __webpack_require__(/*! ../internals/array-includes */ "OXtp").indexOf; -var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ "yQMY"); - -module.exports = function (object, names) { - var O = toIndexedObject(object); - var i = 0; - var result = []; - var key; - for (key in O) !has(hiddenKeys, key) && has(O, key) && result.push(key); - // Don't enum bug & hidden keys - while (names.length > i) if (has(O, key = names[i++])) { - ~indexOf(result, key) || result.push(key); - } - return result; -}; - - -/***/ }), - -/***/ "vZCr": -/*!*********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/number-parse-float.js ***! - \*********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var global = __webpack_require__(/*! ../internals/global */ "ocAm"); -var trim = __webpack_require__(/*! ../internals/string-trim */ "jnLS").trim; -var whitespaces = __webpack_require__(/*! ../internals/whitespaces */ "xFZC"); - -var $parseFloat = global.parseFloat; -var FORCED = 1 / $parseFloat(whitespaces + '-0') !== -Infinity; - -// `parseFloat` method -// https://tc39.es/ecma262/#sec-parsefloat-string -module.exports = FORCED ? function parseFloat(string) { - var trimmedString = trim(String(string)); - var result = $parseFloat(trimmedString); - return result === 0 && trimmedString.charAt(0) == '-' ? -0 : result; -} : $parseFloat; - - -/***/ }), - -/***/ "vipS": -/*!********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.string.ends-with.js ***! - \********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var getOwnPropertyDescriptor = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "7gGY").f; -var toLength = __webpack_require__(/*! ../internals/to-length */ "xpLY"); -var notARegExp = __webpack_require__(/*! ../internals/not-a-regexp */ "s8qp"); -var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "hmpk"); -var correctIsRegExpLogic = __webpack_require__(/*! ../internals/correct-is-regexp-logic */ "0Ds2"); -var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "g9hI"); - -var nativeEndsWith = ''.endsWith; -var min = Math.min; - -var CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('endsWith'); -// https://github.com/zloirock/core-js/pull/702 -var MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () { - var descriptor = getOwnPropertyDescriptor(String.prototype, 'endsWith'); - return descriptor && !descriptor.writable; -}(); - -// `String.prototype.endsWith` method -// https://tc39.es/ecma262/#sec-string.prototype.endswith -$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, { - endsWith: function endsWith(searchString /* , endPosition = @length */) { - var that = String(requireObjectCoercible(this)); - notARegExp(searchString); - var endPosition = arguments.length > 1 ? arguments[1] : undefined; - var len = toLength(that.length); - var end = endPosition === undefined ? len : min(toLength(endPosition), len); - var search = String(searchString); - return nativeEndsWith - ? nativeEndsWith.call(that, search, end) - : that.slice(end - search.length, end) === search; - } -}); - - -/***/ }), - -/***/ "voQr": -/*!*********************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/src/webpack/es5-polyfills.js ***! - \*********************************************************************************/ -/*! no exports provided */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony import */ var core_js_es_symbol__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/es/symbol */ "LRWt"); -/* harmony import */ var core_js_es_symbol__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_es_symbol__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var core_js_modules_es_function_bind__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.function.bind */ "mA9f"); -/* harmony import */ var core_js_modules_es_function_bind__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_bind__WEBPACK_IMPORTED_MODULE_1__); -/* harmony import */ var core_js_modules_es_function_name__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.function.name */ "MjoC"); -/* harmony import */ var core_js_modules_es_function_name__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name__WEBPACK_IMPORTED_MODULE_2__); -/* harmony import */ var core_js_modules_es_function_has_instance__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.function.has-instance */ "3vMK"); -/* harmony import */ var core_js_modules_es_function_has_instance__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_has_instance__WEBPACK_IMPORTED_MODULE_3__); -/* harmony import */ var core_js_modules_es_object_create__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.object.create */ "RCvO"); -/* harmony import */ var core_js_modules_es_object_create__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_create__WEBPACK_IMPORTED_MODULE_4__); -/* harmony import */ var core_js_modules_es_object_define_property__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es.object.define-property */ "cJLW"); -/* harmony import */ var core_js_modules_es_object_define_property__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_define_property__WEBPACK_IMPORTED_MODULE_5__); -/* harmony import */ var core_js_modules_es_object_define_properties__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/es.object.define-properties */ "EntM"); -/* harmony import */ var core_js_modules_es_object_define_properties__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_define_properties__WEBPACK_IMPORTED_MODULE_6__); -/* harmony import */ var core_js_modules_es_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor */ "znfk"); -/* harmony import */ var core_js_modules_es_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_7__); -/* harmony import */ var core_js_modules_es_object_get_prototype_of__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! core-js/modules/es.object.get-prototype-of */ "A7hN"); -/* harmony import */ var core_js_modules_es_object_get_prototype_of__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_get_prototype_of__WEBPACK_IMPORTED_MODULE_8__); -/* harmony import */ var core_js_modules_es_object_keys__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! core-js/modules/es.object.keys */ "wqfI"); -/* harmony import */ var core_js_modules_es_object_keys__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_keys__WEBPACK_IMPORTED_MODULE_9__); -/* harmony import */ var core_js_modules_es_object_get_own_property_names__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! core-js/modules/es.object.get-own-property-names */ "g69M"); -/* harmony import */ var core_js_modules_es_object_get_own_property_names__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_get_own_property_names__WEBPACK_IMPORTED_MODULE_10__); -/* harmony import */ var core_js_modules_es_object_freeze__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! core-js/modules/es.object.freeze */ "IzYO"); -/* harmony import */ var core_js_modules_es_object_freeze__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_freeze__WEBPACK_IMPORTED_MODULE_11__); -/* harmony import */ var core_js_modules_es_object_seal__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! core-js/modules/es.object.seal */ "+5Eg"); -/* harmony import */ var core_js_modules_es_object_seal__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_seal__WEBPACK_IMPORTED_MODULE_12__); -/* harmony import */ var core_js_modules_es_object_prevent_extensions__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! core-js/modules/es.object.prevent-extensions */ "WLa2"); -/* harmony import */ var core_js_modules_es_object_prevent_extensions__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_prevent_extensions__WEBPACK_IMPORTED_MODULE_13__); -/* harmony import */ var core_js_modules_es_object_is_frozen__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! core-js/modules/es.object.is-frozen */ "KMug"); -/* harmony import */ var core_js_modules_es_object_is_frozen__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_is_frozen__WEBPACK_IMPORTED_MODULE_14__); -/* harmony import */ var core_js_modules_es_object_is_sealed__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! core-js/modules/es.object.is-sealed */ "QVG+"); -/* harmony import */ var core_js_modules_es_object_is_sealed__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_is_sealed__WEBPACK_IMPORTED_MODULE_15__); -/* harmony import */ var core_js_modules_es_object_is_extensible__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! core-js/modules/es.object.is-extensible */ "wVAr"); -/* harmony import */ var core_js_modules_es_object_is_extensible__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_is_extensible__WEBPACK_IMPORTED_MODULE_16__); -/* harmony import */ var core_js_modules_es_object_assign__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! core-js/modules/es.object.assign */ "nuqZ"); -/* harmony import */ var core_js_modules_es_object_assign__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign__WEBPACK_IMPORTED_MODULE_17__); -/* harmony import */ var core_js_modules_es_object_is__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! core-js/modules/es.object.is */ "u5Nv"); -/* harmony import */ var core_js_modules_es_object_is__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_is__WEBPACK_IMPORTED_MODULE_18__); -/* harmony import */ var core_js_modules_es_object_set_prototype_of__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! core-js/modules/es.object.set-prototype-of */ "WnNu"); -/* harmony import */ var core_js_modules_es_object_set_prototype_of__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_set_prototype_of__WEBPACK_IMPORTED_MODULE_19__); -/* harmony import */ var core_js_modules_es_object_to_string__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! core-js/modules/es.object.to-string */ "NX+v"); -/* harmony import */ var core_js_modules_es_object_to_string__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string__WEBPACK_IMPORTED_MODULE_20__); -/* harmony import */ var core_js_modules_es_object_entries__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! core-js/modules/es.object.entries */ "n9Wl"); -/* harmony import */ var core_js_modules_es_object_entries__WEBPACK_IMPORTED_MODULE_21___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_entries__WEBPACK_IMPORTED_MODULE_21__); -/* harmony import */ var core_js_modules_es_object_values__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! core-js/modules/es.object.values */ "gQgS"); -/* harmony import */ var core_js_modules_es_object_values__WEBPACK_IMPORTED_MODULE_22___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_values__WEBPACK_IMPORTED_MODULE_22__); -/* harmony import */ var core_js_modules_es_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptors */ "e271"); -/* harmony import */ var core_js_modules_es_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_23___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_23__); -/* harmony import */ var core_js_modules_es_object_from_entries__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! core-js/modules/es.object.from-entries */ "OOEz"); -/* harmony import */ var core_js_modules_es_object_from_entries__WEBPACK_IMPORTED_MODULE_24___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_from_entries__WEBPACK_IMPORTED_MODULE_24__); -/* harmony import */ var core_js_modules_es_array_concat__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! core-js/modules/es.array.concat */ "F4rZ"); -/* harmony import */ var core_js_modules_es_array_concat__WEBPACK_IMPORTED_MODULE_25___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_concat__WEBPACK_IMPORTED_MODULE_25__); -/* harmony import */ var core_js_modules_es_array_is_array__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! core-js/modules/es.array.is-array */ "wZP2"); -/* harmony import */ var core_js_modules_es_array_is_array__WEBPACK_IMPORTED_MODULE_26___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_is_array__WEBPACK_IMPORTED_MODULE_26__); -/* harmony import */ var core_js_modules_es_array_from__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! core-js/modules/es.array.from */ "m2tE"); -/* harmony import */ var core_js_modules_es_array_from__WEBPACK_IMPORTED_MODULE_27___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_from__WEBPACK_IMPORTED_MODULE_27__); -/* harmony import */ var core_js_modules_es_array_of__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! core-js/modules/es.array.of */ "BcWx"); -/* harmony import */ var core_js_modules_es_array_of__WEBPACK_IMPORTED_MODULE_28___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_of__WEBPACK_IMPORTED_MODULE_28__); -/* harmony import */ var core_js_modules_es_array_join__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! core-js/modules/es.array.join */ "ntzx"); -/* harmony import */ var core_js_modules_es_array_join__WEBPACK_IMPORTED_MODULE_29___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_join__WEBPACK_IMPORTED_MODULE_29__); -/* harmony import */ var core_js_modules_es_array_slice__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! core-js/modules/es.array.slice */ "6q6p"); -/* harmony import */ var core_js_modules_es_array_slice__WEBPACK_IMPORTED_MODULE_30___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_slice__WEBPACK_IMPORTED_MODULE_30__); -/* harmony import */ var core_js_modules_es_array_splice__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! core-js/modules/es.array.splice */ "sQrk"); -/* harmony import */ var core_js_modules_es_array_splice__WEBPACK_IMPORTED_MODULE_31___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_splice__WEBPACK_IMPORTED_MODULE_31__); -/* harmony import */ var core_js_modules_es_array_sort__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! core-js/modules/es.array.sort */ "6fhQ"); -/* harmony import */ var core_js_modules_es_array_sort__WEBPACK_IMPORTED_MODULE_32___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_sort__WEBPACK_IMPORTED_MODULE_32__); -/* harmony import */ var core_js_modules_es_array_for_each__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! core-js/modules/es.array.for-each */ "v5if"); -/* harmony import */ var core_js_modules_es_array_for_each__WEBPACK_IMPORTED_MODULE_33___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_for_each__WEBPACK_IMPORTED_MODULE_33__); -/* harmony import */ var core_js_modules_es_array_map__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! core-js/modules/es.array.map */ "FU1i"); -/* harmony import */ var core_js_modules_es_array_map__WEBPACK_IMPORTED_MODULE_34___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_map__WEBPACK_IMPORTED_MODULE_34__); -/* harmony import */ var core_js_modules_es_array_filter__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! core-js/modules/es.array.filter */ "gke3"); -/* harmony import */ var core_js_modules_es_array_filter__WEBPACK_IMPORTED_MODULE_35___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_filter__WEBPACK_IMPORTED_MODULE_35__); -/* harmony import */ var core_js_modules_es_array_some__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! core-js/modules/es.array.some */ "XEin"); -/* harmony import */ var core_js_modules_es_array_some__WEBPACK_IMPORTED_MODULE_36___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_some__WEBPACK_IMPORTED_MODULE_36__); -/* harmony import */ var core_js_modules_es_array_every__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! core-js/modules/es.array.every */ "FeI/"); -/* harmony import */ var core_js_modules_es_array_every__WEBPACK_IMPORTED_MODULE_37___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_every__WEBPACK_IMPORTED_MODULE_37__); -/* harmony import */ var core_js_modules_es_array_reduce__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! core-js/modules/es.array.reduce */ "Q4jj"); -/* harmony import */ var core_js_modules_es_array_reduce__WEBPACK_IMPORTED_MODULE_38___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_reduce__WEBPACK_IMPORTED_MODULE_38__); -/* harmony import */ var core_js_modules_es_array_reduce_right__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! core-js/modules/es.array.reduce-right */ "IQbc"); -/* harmony import */ var core_js_modules_es_array_reduce_right__WEBPACK_IMPORTED_MODULE_39___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_reduce_right__WEBPACK_IMPORTED_MODULE_39__); -/* harmony import */ var core_js_modules_es_array_index_of__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! core-js/modules/es.array.index-of */ "6lQQ"); -/* harmony import */ var core_js_modules_es_array_index_of__WEBPACK_IMPORTED_MODULE_40___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_index_of__WEBPACK_IMPORTED_MODULE_40__); -/* harmony import */ var core_js_modules_es_array_last_index_of__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! core-js/modules/es.array.last-index-of */ "Xm88"); -/* harmony import */ var core_js_modules_es_array_last_index_of__WEBPACK_IMPORTED_MODULE_41___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_last_index_of__WEBPACK_IMPORTED_MODULE_41__); -/* harmony import */ var core_js_modules_es_array_copy_within__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! core-js/modules/es.array.copy-within */ "kP9Y"); -/* harmony import */ var core_js_modules_es_array_copy_within__WEBPACK_IMPORTED_MODULE_42___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_copy_within__WEBPACK_IMPORTED_MODULE_42__); -/* harmony import */ var core_js_modules_es_array_fill__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! core-js/modules/es.array.fill */ "DscF"); -/* harmony import */ var core_js_modules_es_array_fill__WEBPACK_IMPORTED_MODULE_43___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_fill__WEBPACK_IMPORTED_MODULE_43__); -/* harmony import */ var core_js_modules_es_array_find__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! core-js/modules/es.array.find */ "6CEi"); -/* harmony import */ var core_js_modules_es_array_find__WEBPACK_IMPORTED_MODULE_44___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_find__WEBPACK_IMPORTED_MODULE_44__); -/* harmony import */ var core_js_modules_es_array_find_index__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! core-js/modules/es.array.find-index */ "Jt/z"); -/* harmony import */ var core_js_modules_es_array_find_index__WEBPACK_IMPORTED_MODULE_45___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_find_index__WEBPACK_IMPORTED_MODULE_45__); -/* harmony import */ var core_js_modules_es_array_iterator__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! core-js/modules/es.array.iterator */ "rH3X"); -/* harmony import */ var core_js_modules_es_array_iterator__WEBPACK_IMPORTED_MODULE_46___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator__WEBPACK_IMPORTED_MODULE_46__); -/* harmony import */ var core_js_modules_es_array_includes__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! core-js/modules/es.array.includes */ "eC89"); -/* harmony import */ var core_js_modules_es_array_includes__WEBPACK_IMPORTED_MODULE_47___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes__WEBPACK_IMPORTED_MODULE_47__); -/* harmony import */ var core_js_modules_es_array_flat__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! core-js/modules/es.array.flat */ "68Yi"); -/* harmony import */ var core_js_modules_es_array_flat__WEBPACK_IMPORTED_MODULE_48___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_flat__WEBPACK_IMPORTED_MODULE_48__); -/* harmony import */ var core_js_modules_es_array_flat_map__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! core-js/modules/es.array.flat-map */ "54C3"); -/* harmony import */ var core_js_modules_es_array_flat_map__WEBPACK_IMPORTED_MODULE_49___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_flat_map__WEBPACK_IMPORTED_MODULE_49__); -/* harmony import */ var core_js_modules_es_string_from_code_point__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! core-js/modules/es.string.from-code-point */ "r8F+"); -/* harmony import */ var core_js_modules_es_string_from_code_point__WEBPACK_IMPORTED_MODULE_50___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_from_code_point__WEBPACK_IMPORTED_MODULE_50__); -/* harmony import */ var core_js_modules_es_string_raw__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! core-js/modules/es.string.raw */ "IPby"); -/* harmony import */ var core_js_modules_es_string_raw__WEBPACK_IMPORTED_MODULE_51___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_raw__WEBPACK_IMPORTED_MODULE_51__); -/* harmony import */ var core_js_modules_es_string_trim__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! core-js/modules/es.string.trim */ "s1IR"); -/* harmony import */ var core_js_modules_es_string_trim__WEBPACK_IMPORTED_MODULE_52___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_trim__WEBPACK_IMPORTED_MODULE_52__); -/* harmony import */ var core_js_modules_es_string_iterator__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! core-js/modules/es.string.iterator */ "tkWj"); -/* harmony import */ var core_js_modules_es_string_iterator__WEBPACK_IMPORTED_MODULE_53___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_iterator__WEBPACK_IMPORTED_MODULE_53__); -/* harmony import */ var core_js_modules_es_string_code_point_at__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! core-js/modules/es.string.code-point-at */ "tNyX"); -/* harmony import */ var core_js_modules_es_string_code_point_at__WEBPACK_IMPORTED_MODULE_54___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_code_point_at__WEBPACK_IMPORTED_MODULE_54__); -/* harmony import */ var core_js_modules_es_string_ends_with__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! core-js/modules/es.string.ends-with */ "vipS"); -/* harmony import */ var core_js_modules_es_string_ends_with__WEBPACK_IMPORTED_MODULE_55___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_ends_with__WEBPACK_IMPORTED_MODULE_55__); -/* harmony import */ var core_js_modules_es_string_includes__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! core-js/modules/es.string.includes */ "L4l2"); -/* harmony import */ var core_js_modules_es_string_includes__WEBPACK_IMPORTED_MODULE_56___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes__WEBPACK_IMPORTED_MODULE_56__); -/* harmony import */ var core_js_modules_es_string_repeat__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! core-js/modules/es.string.repeat */ "BaTD"); -/* harmony import */ var core_js_modules_es_string_repeat__WEBPACK_IMPORTED_MODULE_57___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_repeat__WEBPACK_IMPORTED_MODULE_57__); -/* harmony import */ var core_js_modules_es_string_starts_with__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! core-js/modules/es.string.starts-with */ "oatR"); -/* harmony import */ var core_js_modules_es_string_starts_with__WEBPACK_IMPORTED_MODULE_58___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_starts_with__WEBPACK_IMPORTED_MODULE_58__); -/* harmony import */ var core_js_modules_es_string_anchor__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! core-js/modules/es.string.anchor */ "QUoj"); -/* harmony import */ var core_js_modules_es_string_anchor__WEBPACK_IMPORTED_MODULE_59___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_anchor__WEBPACK_IMPORTED_MODULE_59__); -/* harmony import */ var core_js_modules_es_string_big__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! core-js/modules/es.string.big */ "gXAK"); -/* harmony import */ var core_js_modules_es_string_big__WEBPACK_IMPORTED_MODULE_60___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_big__WEBPACK_IMPORTED_MODULE_60__); -/* harmony import */ var core_js_modules_es_string_blink__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! core-js/modules/es.string.blink */ "4axp"); -/* harmony import */ var core_js_modules_es_string_blink__WEBPACK_IMPORTED_MODULE_61___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_blink__WEBPACK_IMPORTED_MODULE_61__); -/* harmony import */ var core_js_modules_es_string_bold__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! core-js/modules/es.string.bold */ "Yu3F"); -/* harmony import */ var core_js_modules_es_string_bold__WEBPACK_IMPORTED_MODULE_62___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_bold__WEBPACK_IMPORTED_MODULE_62__); -/* harmony import */ var core_js_modules_es_string_fixed__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! core-js/modules/es.string.fixed */ "J4zY"); -/* harmony import */ var core_js_modules_es_string_fixed__WEBPACK_IMPORTED_MODULE_63___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_fixed__WEBPACK_IMPORTED_MODULE_63__); -/* harmony import */ var core_js_modules_es_string_fontcolor__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! core-js/modules/es.string.fontcolor */ "WKvG"); -/* harmony import */ var core_js_modules_es_string_fontcolor__WEBPACK_IMPORTED_MODULE_64___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_fontcolor__WEBPACK_IMPORTED_MODULE_64__); -/* harmony import */ var core_js_modules_es_string_fontsize__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(/*! core-js/modules/es.string.fontsize */ "W0ke"); -/* harmony import */ var core_js_modules_es_string_fontsize__WEBPACK_IMPORTED_MODULE_65___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_fontsize__WEBPACK_IMPORTED_MODULE_65__); -/* harmony import */ var core_js_modules_es_string_italics__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(/*! core-js/modules/es.string.italics */ "zTQA"); -/* harmony import */ var core_js_modules_es_string_italics__WEBPACK_IMPORTED_MODULE_66___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_italics__WEBPACK_IMPORTED_MODULE_66__); -/* harmony import */ var core_js_modules_es_string_link__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__(/*! core-js/modules/es.string.link */ "WEX0"); -/* harmony import */ var core_js_modules_es_string_link__WEBPACK_IMPORTED_MODULE_67___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_link__WEBPACK_IMPORTED_MODULE_67__); -/* harmony import */ var core_js_modules_es_string_small__WEBPACK_IMPORTED_MODULE_68__ = __webpack_require__(/*! core-js/modules/es.string.small */ "qpIG"); -/* harmony import */ var core_js_modules_es_string_small__WEBPACK_IMPORTED_MODULE_68___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_small__WEBPACK_IMPORTED_MODULE_68__); -/* harmony import */ var core_js_modules_es_string_strike__WEBPACK_IMPORTED_MODULE_69__ = __webpack_require__(/*! core-js/modules/es.string.strike */ "VmbE"); -/* harmony import */ var core_js_modules_es_string_strike__WEBPACK_IMPORTED_MODULE_69___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_strike__WEBPACK_IMPORTED_MODULE_69__); -/* harmony import */ var core_js_modules_es_string_sub__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__(/*! core-js/modules/es.string.sub */ "4Kt7"); -/* harmony import */ var core_js_modules_es_string_sub__WEBPACK_IMPORTED_MODULE_70___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_sub__WEBPACK_IMPORTED_MODULE_70__); -/* harmony import */ var core_js_modules_es_string_sup__WEBPACK_IMPORTED_MODULE_71__ = __webpack_require__(/*! core-js/modules/es.string.sup */ "dI74"); -/* harmony import */ var core_js_modules_es_string_sup__WEBPACK_IMPORTED_MODULE_71___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_sup__WEBPACK_IMPORTED_MODULE_71__); -/* harmony import */ var core_js_modules_es_string_match__WEBPACK_IMPORTED_MODULE_72__ = __webpack_require__(/*! core-js/modules/es.string.match */ "K1Z7"); -/* harmony import */ var core_js_modules_es_string_match__WEBPACK_IMPORTED_MODULE_72___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_match__WEBPACK_IMPORTED_MODULE_72__); -/* harmony import */ var core_js_modules_es_string_replace__WEBPACK_IMPORTED_MODULE_73__ = __webpack_require__(/*! core-js/modules/es.string.replace */ "S3Yw"); -/* harmony import */ var core_js_modules_es_string_replace__WEBPACK_IMPORTED_MODULE_73___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_replace__WEBPACK_IMPORTED_MODULE_73__); -/* harmony import */ var core_js_modules_es_string_search__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__(/*! core-js/modules/es.string.search */ "fMvl"); -/* harmony import */ var core_js_modules_es_string_search__WEBPACK_IMPORTED_MODULE_74___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_search__WEBPACK_IMPORTED_MODULE_74__); -/* harmony import */ var core_js_modules_es_string_split__WEBPACK_IMPORTED_MODULE_75__ = __webpack_require__(/*! core-js/modules/es.string.split */ "PmIt"); -/* harmony import */ var core_js_modules_es_string_split__WEBPACK_IMPORTED_MODULE_75___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_split__WEBPACK_IMPORTED_MODULE_75__); -/* harmony import */ var core_js_modules_es_parse_int__WEBPACK_IMPORTED_MODULE_76__ = __webpack_require__(/*! core-js/modules/es.parse-int */ "PbJR"); -/* harmony import */ var core_js_modules_es_parse_int__WEBPACK_IMPORTED_MODULE_76___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_parse_int__WEBPACK_IMPORTED_MODULE_76__); -/* harmony import */ var core_js_modules_es_parse_float__WEBPACK_IMPORTED_MODULE_77__ = __webpack_require__(/*! core-js/modules/es.parse-float */ "Ay+M"); -/* harmony import */ var core_js_modules_es_parse_float__WEBPACK_IMPORTED_MODULE_77___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_parse_float__WEBPACK_IMPORTED_MODULE_77__); -/* harmony import */ var core_js_es_number__WEBPACK_IMPORTED_MODULE_78__ = __webpack_require__(/*! core-js/es/number */ "qaQR"); -/* harmony import */ var core_js_es_number__WEBPACK_IMPORTED_MODULE_78___default = /*#__PURE__*/__webpack_require__.n(core_js_es_number__WEBPACK_IMPORTED_MODULE_78__); -/* harmony import */ var core_js_es_math__WEBPACK_IMPORTED_MODULE_79__ = __webpack_require__(/*! core-js/es/math */ "tXU5"); -/* harmony import */ var core_js_es_math__WEBPACK_IMPORTED_MODULE_79___default = /*#__PURE__*/__webpack_require__.n(core_js_es_math__WEBPACK_IMPORTED_MODULE_79__); -/* harmony import */ var core_js_es_date__WEBPACK_IMPORTED_MODULE_80__ = __webpack_require__(/*! core-js/es/date */ "lPAZ"); -/* harmony import */ var core_js_es_date__WEBPACK_IMPORTED_MODULE_80___default = /*#__PURE__*/__webpack_require__.n(core_js_es_date__WEBPACK_IMPORTED_MODULE_80__); -/* harmony import */ var core_js_modules_es_regexp_constructor__WEBPACK_IMPORTED_MODULE_81__ = __webpack_require__(/*! core-js/modules/es.regexp.constructor */ "T4tC"); -/* harmony import */ var core_js_modules_es_regexp_constructor__WEBPACK_IMPORTED_MODULE_81___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_constructor__WEBPACK_IMPORTED_MODULE_81__); -/* harmony import */ var core_js_modules_es_regexp_to_string__WEBPACK_IMPORTED_MODULE_82__ = __webpack_require__(/*! core-js/modules/es.regexp.to-string */ "Rj+b"); -/* harmony import */ var core_js_modules_es_regexp_to_string__WEBPACK_IMPORTED_MODULE_82___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string__WEBPACK_IMPORTED_MODULE_82__); -/* harmony import */ var core_js_modules_es_regexp_flags__WEBPACK_IMPORTED_MODULE_83__ = __webpack_require__(/*! core-js/modules/es.regexp.flags */ "pWza"); -/* harmony import */ var core_js_modules_es_regexp_flags__WEBPACK_IMPORTED_MODULE_83___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_flags__WEBPACK_IMPORTED_MODULE_83__); -/* harmony import */ var core_js_modules_es_map__WEBPACK_IMPORTED_MODULE_84__ = __webpack_require__(/*! core-js/modules/es.map */ "vRoz"); -/* harmony import */ var core_js_modules_es_map__WEBPACK_IMPORTED_MODULE_84___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_map__WEBPACK_IMPORTED_MODULE_84__); -/* harmony import */ var core_js_modules_es_weak_map__WEBPACK_IMPORTED_MODULE_85__ = __webpack_require__(/*! core-js/modules/es.weak-map */ "hdsk"); -/* harmony import */ var core_js_modules_es_weak_map__WEBPACK_IMPORTED_MODULE_85___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_weak_map__WEBPACK_IMPORTED_MODULE_85__); -/* harmony import */ var core_js_modules_es_set__WEBPACK_IMPORTED_MODULE_86__ = __webpack_require__(/*! core-js/modules/es.set */ "ViWx"); -/* harmony import */ var core_js_modules_es_set__WEBPACK_IMPORTED_MODULE_86___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_set__WEBPACK_IMPORTED_MODULE_86__); -/* harmony import */ var core_js_modules_web_dom_collections_for_each__WEBPACK_IMPORTED_MODULE_87__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each */ "kIOX"); -/* harmony import */ var core_js_modules_web_dom_collections_for_each__WEBPACK_IMPORTED_MODULE_87___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each__WEBPACK_IMPORTED_MODULE_87__); -/* harmony import */ var core_js_modules_web_dom_collections_iterator__WEBPACK_IMPORTED_MODULE_88__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator */ "riHj"); -/* harmony import */ var core_js_modules_web_dom_collections_iterator__WEBPACK_IMPORTED_MODULE_88___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator__WEBPACK_IMPORTED_MODULE_88__); -/* harmony import */ var core_js_modules_es_promise__WEBPACK_IMPORTED_MODULE_89__ = __webpack_require__(/*! core-js/modules/es.promise */ "bHwr"); -/* harmony import */ var core_js_modules_es_promise__WEBPACK_IMPORTED_MODULE_89___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise__WEBPACK_IMPORTED_MODULE_89__); -/* harmony import */ var core_js_modules_es_json_to_string_tag__WEBPACK_IMPORTED_MODULE_90__ = __webpack_require__(/*! core-js/modules/es.json.to-string-tag */ "8CeQ"); -/* harmony import */ var core_js_modules_es_json_to_string_tag__WEBPACK_IMPORTED_MODULE_90___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_json_to_string_tag__WEBPACK_IMPORTED_MODULE_90__); -/* harmony import */ var regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_91__ = __webpack_require__(/*! regenerator-runtime/runtime */ "ls82"); -/* harmony import */ var regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_91___default = /*#__PURE__*/__webpack_require__.n(regenerator_runtime_runtime__WEBPACK_IMPORTED_MODULE_91__); -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -// ES2015 symbol capabilities - // ES2015 function capabilities - - - - // ES2015 object capabilities - - - - - - - - - - - - - - - - - - - - - - // ES2015 array capabilities - - - - - - - - - - - - - - - - - - - - - - - - - - // ES2015 string capabilities - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -/***/ }), - -/***/ "vyNX": -/*!***************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/array-reduce.js ***! - \***************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var aFunction = __webpack_require__(/*! ../internals/a-function */ "Neub"); -var toObject = __webpack_require__(/*! ../internals/to-object */ "VCQ8"); -var IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ "tUdv"); -var toLength = __webpack_require__(/*! ../internals/to-length */ "xpLY"); - -// `Array.prototype.{ reduce, reduceRight }` methods implementation -var createMethod = function (IS_RIGHT) { - return function (that, callbackfn, argumentsLength, memo) { - aFunction(callbackfn); - var O = toObject(that); - var self = IndexedObject(O); - var length = toLength(O.length); - var index = IS_RIGHT ? length - 1 : 0; - var i = IS_RIGHT ? -1 : 1; - if (argumentsLength < 2) while (true) { - if (index in self) { - memo = self[index]; - index += i; - break; - } - index += i; - if (IS_RIGHT ? index < 0 : length <= index) { - throw TypeError('Reduce of empty array with no initial value'); - } - } - for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) { - memo = callbackfn(memo, self[index], index, O); - } - return memo; - }; -}; - -module.exports = { - // `Array.prototype.reduce` method - // https://tc39.es/ecma262/#sec-array.prototype.reduce - left: createMethod(false), - // `Array.prototype.reduceRight` method - // https://tc39.es/ecma262/#sec-array.prototype.reduceright - right: createMethod(true) -}; - - -/***/ }), - -/***/ "w2hq": -/*!******************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/array-method-uses-to-length.js ***! - \******************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "T69T"); -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); -var has = __webpack_require__(/*! ../internals/has */ "OG5q"); - -var defineProperty = Object.defineProperty; -var cache = {}; - -var thrower = function (it) { throw it; }; - -module.exports = function (METHOD_NAME, options) { - if (has(cache, METHOD_NAME)) return cache[METHOD_NAME]; - if (!options) options = {}; - var method = [][METHOD_NAME]; - var ACCESSORS = has(options, 'ACCESSORS') ? options.ACCESSORS : false; - var argument0 = has(options, 0) ? options[0] : thrower; - var argument1 = has(options, 1) ? options[1] : undefined; - - return cache[METHOD_NAME] = !!method && !fails(function () { - if (ACCESSORS && !DESCRIPTORS) return true; - var O = { length: -1 }; - - if (ACCESSORS) defineProperty(O, 1, { enumerable: true, get: thrower }); - else O[1] = 1; - - method.call(O, argument0, argument1); - }); -}; - - -/***/ }), - -/***/ "w4Hq": -/*!*************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/array-fill.js ***! - \*************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var toObject = __webpack_require__(/*! ../internals/to-object */ "VCQ8"); -var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ "7Oj1"); -var toLength = __webpack_require__(/*! ../internals/to-length */ "xpLY"); - -// `Array.prototype.fill` method implementation -// https://tc39.es/ecma262/#sec-array.prototype.fill -module.exports = function fill(value /* , start = 0, end = @length */) { - var O = toObject(this); - var length = toLength(O.length); - var argumentsLength = arguments.length; - var index = toAbsoluteIndex(argumentsLength > 1 ? arguments[1] : undefined, length); - var end = argumentsLength > 2 ? arguments[2] : undefined; - var endPos = end === undefined ? length : toAbsoluteIndex(end, length); - while (endPos > index) O[index++] = value; - return O; -}; - - -/***/ }), - -/***/ "wA6s": -/*!*********************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/export.js ***! - \*********************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var global = __webpack_require__(/*! ../internals/global */ "ocAm"); -var getOwnPropertyDescriptor = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "7gGY").f; -var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "aJMj"); -var redefine = __webpack_require__(/*! ../internals/redefine */ "2MGJ"); -var setGlobal = __webpack_require__(/*! ../internals/set-global */ "Fqhe"); -var copyConstructorProperties = __webpack_require__(/*! ../internals/copy-constructor-properties */ "NIlc"); -var isForced = __webpack_require__(/*! ../internals/is-forced */ "MkZA"); - -/* - options.target - name of the target object - options.global - target is the global object - options.stat - export as static methods of target - options.proto - export as prototype methods of target - options.real - real prototype method for the `pure` version - options.forced - export even if the native feature is available - options.bind - bind methods to the target, required for the `pure` version - options.wrap - wrap constructors to preventing global pollution, required for the `pure` version - options.unsafe - use the simple assignment of property instead of delete + defineProperty - options.sham - add a flag to not completely full polyfills - options.enumerable - export as enumerable property - options.noTargetGet - prevent calling a getter on target -*/ -module.exports = function (options, source) { - var TARGET = options.target; - var GLOBAL = options.global; - var STATIC = options.stat; - var FORCED, target, key, targetProperty, sourceProperty, descriptor; - if (GLOBAL) { - target = global; - } else if (STATIC) { - target = global[TARGET] || setGlobal(TARGET, {}); - } else { - target = (global[TARGET] || {}).prototype; - } - if (target) for (key in source) { - sourceProperty = source[key]; - if (options.noTargetGet) { - descriptor = getOwnPropertyDescriptor(target, key); - targetProperty = descriptor && descriptor.value; - } else targetProperty = target[key]; - FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced); - // contained in target - if (!FORCED && targetProperty !== undefined) { - if (typeof sourceProperty === typeof targetProperty) continue; - copyConstructorProperties(sourceProperty, targetProperty); - } - // add a flag to not completely full polyfills - if (options.sham || (targetProperty && targetProperty.sham)) { - createNonEnumerableProperty(sourceProperty, 'sham', true); - } - // extend global - redefine(target, key, sourceProperty, options); - } -}; - - -/***/ }), - -/***/ "wIVT": -/*!**************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/object-get-prototype-of.js ***! - \**************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var has = __webpack_require__(/*! ../internals/has */ "OG5q"); -var toObject = __webpack_require__(/*! ../internals/to-object */ "VCQ8"); -var sharedKey = __webpack_require__(/*! ../internals/shared-key */ "/AsP"); -var CORRECT_PROTOTYPE_GETTER = __webpack_require__(/*! ../internals/correct-prototype-getter */ "cwa4"); - -var IE_PROTO = sharedKey('IE_PROTO'); -var ObjectPrototype = Object.prototype; - -// `Object.getPrototypeOf` method -// https://tc39.es/ecma262/#sec-object.getprototypeof -module.exports = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function (O) { - O = toObject(O); - if (has(O, IE_PROTO)) return O[IE_PROTO]; - if (typeof O.constructor == 'function' && O instanceof O.constructor) { - return O.constructor.prototype; - } return O instanceof Object ? ObjectPrototype : null; -}; - - -/***/ }), - -/***/ "wVAr": -/*!************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.object.is-extensible.js ***! - \************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); -var isObject = __webpack_require__(/*! ../internals/is-object */ "6XUM"); - -var nativeIsExtensible = Object.isExtensible; -var FAILS_ON_PRIMITIVES = fails(function () { nativeIsExtensible(1); }); - -// `Object.isExtensible` method -// https://tc39.es/ecma262/#sec-object.isextensible -$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, { - isExtensible: function isExtensible(it) { - return isObject(it) ? nativeIsExtensible ? nativeIsExtensible(it) : true : false; - } -}); - - -/***/ }), - -/***/ "wZP2": -/*!******************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.array.is-array.js ***! - \******************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var isArray = __webpack_require__(/*! ../internals/is-array */ "erNl"); - -// `Array.isArray` method -// https://tc39.es/ecma262/#sec-array.isarray -$({ target: 'Array', stat: true }, { - isArray: isArray -}); - - -/***/ }), - -/***/ "wdMf": -/*!*************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/collection.js ***! - \*************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var global = __webpack_require__(/*! ../internals/global */ "ocAm"); -var isForced = __webpack_require__(/*! ../internals/is-forced */ "MkZA"); -var redefine = __webpack_require__(/*! ../internals/redefine */ "2MGJ"); -var InternalMetadataModule = __webpack_require__(/*! ../internals/internal-metadata */ "M7Xk"); -var iterate = __webpack_require__(/*! ../internals/iterate */ "Rn6E"); -var anInstance = __webpack_require__(/*! ../internals/an-instance */ "SM6+"); -var isObject = __webpack_require__(/*! ../internals/is-object */ "6XUM"); -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); -var checkCorrectnessOfIteration = __webpack_require__(/*! ../internals/check-correctness-of-iteration */ "EIBq"); -var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ "shqn"); -var inheritIfRequired = __webpack_require__(/*! ../internals/inherit-if-required */ "K6ZX"); - -module.exports = function (CONSTRUCTOR_NAME, wrapper, common) { - var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1; - var IS_WEAK = CONSTRUCTOR_NAME.indexOf('Weak') !== -1; - var ADDER = IS_MAP ? 'set' : 'add'; - var NativeConstructor = global[CONSTRUCTOR_NAME]; - var NativePrototype = NativeConstructor && NativeConstructor.prototype; - var Constructor = NativeConstructor; - var exported = {}; - - var fixMethod = function (KEY) { - var nativeMethod = NativePrototype[KEY]; - redefine(NativePrototype, KEY, - KEY == 'add' ? function add(value) { - nativeMethod.call(this, value === 0 ? 0 : value); - return this; - } : KEY == 'delete' ? function (key) { - return IS_WEAK && !isObject(key) ? false : nativeMethod.call(this, key === 0 ? 0 : key); - } : KEY == 'get' ? function get(key) { - return IS_WEAK && !isObject(key) ? undefined : nativeMethod.call(this, key === 0 ? 0 : key); - } : KEY == 'has' ? function has(key) { - return IS_WEAK && !isObject(key) ? false : nativeMethod.call(this, key === 0 ? 0 : key); - } : function set(key, value) { - nativeMethod.call(this, key === 0 ? 0 : key, value); - return this; - } - ); - }; - - // eslint-disable-next-line max-len - if (isForced(CONSTRUCTOR_NAME, typeof NativeConstructor != 'function' || !(IS_WEAK || NativePrototype.forEach && !fails(function () { - new NativeConstructor().entries().next(); - })))) { - // create collection constructor - Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER); - InternalMetadataModule.REQUIRED = true; - } else if (isForced(CONSTRUCTOR_NAME, true)) { - var instance = new Constructor(); - // early implementations not supports chaining - var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance; - // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false - var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); }); - // most early implementations doesn't supports iterables, most modern - not close it correctly - // eslint-disable-next-line no-new - var ACCEPT_ITERABLES = checkCorrectnessOfIteration(function (iterable) { new NativeConstructor(iterable); }); - // for early implementations -0 and +0 not the same - var BUGGY_ZERO = !IS_WEAK && fails(function () { - // V8 ~ Chromium 42- fails only with 5+ elements - var $instance = new NativeConstructor(); - var index = 5; - while (index--) $instance[ADDER](index, index); - return !$instance.has(-0); - }); - - if (!ACCEPT_ITERABLES) { - Constructor = wrapper(function (dummy, iterable) { - anInstance(dummy, Constructor, CONSTRUCTOR_NAME); - var that = inheritIfRequired(new NativeConstructor(), dummy, Constructor); - if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP }); - return that; - }); - Constructor.prototype = NativePrototype; - NativePrototype.constructor = Constructor; - } - - if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) { - fixMethod('delete'); - fixMethod('has'); - IS_MAP && fixMethod('get'); - } - - if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER); - - // weak collections should not contains .clear method - if (IS_WEAK && NativePrototype.clear) delete NativePrototype.clear; - } - - exported[CONSTRUCTOR_NAME] = Constructor; - $({ global: true, forced: Constructor != NativeConstructor }, exported); - - setToStringTag(Constructor, CONSTRUCTOR_NAME); - - if (!IS_WEAK) common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP); - - return Constructor; -}; - - -/***/ }), - -/***/ "wqfI": -/*!***************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.object.keys.js ***! - \***************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var toObject = __webpack_require__(/*! ../internals/to-object */ "VCQ8"); -var nativeKeys = __webpack_require__(/*! ../internals/object-keys */ "ZRqE"); -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); - -var FAILS_ON_PRIMITIVES = fails(function () { nativeKeys(1); }); - -// `Object.keys` method -// https://tc39.es/ecma262/#sec-object.keys -$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, { - keys: function keys(it) { - return nativeKeys(toObject(it)); - } -}); - - -/***/ }), - -/***/ "x+GC": -/*!*******************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/get-substitution.js ***! - \*******************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var toObject = __webpack_require__(/*! ../internals/to-object */ "VCQ8"); - -var floor = Math.floor; -var replace = ''.replace; -var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d\d?|<[^>]*>)/g; -var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d\d?)/g; - -// https://tc39.es/ecma262/#sec-getsubstitution -module.exports = function (matched, str, position, captures, namedCaptures, replacement) { - var tailPos = position + matched.length; - var m = captures.length; - var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED; - if (namedCaptures !== undefined) { - namedCaptures = toObject(namedCaptures); - symbols = SUBSTITUTION_SYMBOLS; - } - return replace.call(replacement, symbols, function (match, ch) { - var capture; - switch (ch.charAt(0)) { - case '$': return '$'; - case '&': return matched; - case '`': return str.slice(0, position); - case "'": return str.slice(tailPos); - case '<': - capture = namedCaptures[ch.slice(1, -1)]; - break; - default: // \d\d? - var n = +ch; - if (n === 0) return match; - if (n > m) { - var f = floor(n / 10); - if (f === 0) return match; - if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1); - return match; - } - capture = captures[n - 1]; - } - return capture === undefined ? '' : capture; - }); -}; - - -/***/ }), - -/***/ "x0kV": -/*!***************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/regexp-flags.js ***! - \***************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var anObject = __webpack_require__(/*! ../internals/an-object */ "F26l"); - -// `RegExp.prototype.flags` getter implementation -// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags -module.exports = function () { - var that = anObject(this); - var result = ''; - if (that.global) result += 'g'; - if (that.ignoreCase) result += 'i'; - if (that.multiline) result += 'm'; - if (that.dotAll) result += 's'; - if (that.unicode) result += 'u'; - if (that.sticky) result += 'y'; - return result; -}; - - -/***/ }), - -/***/ "xFZC": -/*!**************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/whitespaces.js ***! - \**************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -// a string of all valid unicode whitespaces -// eslint-disable-next-line max-len -module.exports = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF'; - - -/***/ }), - -/***/ "xpLY": -/*!************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/to-length.js ***! - \************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var toInteger = __webpack_require__(/*! ../internals/to-integer */ "vDBE"); - -var min = Math.min; - -// `ToLength` abstract operation -// https://tc39.es/ecma262/#sec-tolength -module.exports = function (argument) { - return argument > 0 ? min(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 -}; - - -/***/ }), - -/***/ "yI8t": -/*!***************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.number.max-safe-integer.js ***! - \***************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); - -// `Number.MAX_SAFE_INTEGER` constant -// https://tc39.es/ecma262/#sec-number.max_safe_integer -$({ target: 'Number', stat: true }, { - MAX_SAFE_INTEGER: 0x1FFFFFFFFFFFFF -}); - - -/***/ }), - -/***/ "yIiL": -/*!*********************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/shared.js ***! - \*********************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "g9hI"); -var store = __webpack_require__(/*! ../internals/shared-store */ "KBkW"); - -(module.exports = function (key, value) { - return store[key] || (store[key] = value !== undefined ? value : {}); -})('versions', []).push({ - version: '3.8.3', - mode: IS_PURE ? 'pure' : 'global', - copyright: '© 2021 Denis Pushkarev (zloirock.ru)' -}); - - -/***/ }), - -/***/ "yQMY": -/*!**************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/hidden-keys.js ***! - \**************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -module.exports = {}; - - -/***/ }), - -/***/ "yUZX": -/*!***************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.reflect.define-property.js ***! - \***************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "T69T"); -var anObject = __webpack_require__(/*! ../internals/an-object */ "F26l"); -var toPrimitive = __webpack_require__(/*! ../internals/to-primitive */ "LdO1"); -var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "/Ybd"); -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); - -// MS Edge has broken Reflect.defineProperty - throwing instead of returning false -var ERROR_INSTEAD_OF_FALSE = fails(function () { - // eslint-disable-next-line no-undef - Reflect.defineProperty(definePropertyModule.f({}, 1, { value: 1 }), 1, { value: 2 }); -}); - -// `Reflect.defineProperty` method -// https://tc39.es/ecma262/#sec-reflect.defineproperty -$({ target: 'Reflect', stat: true, forced: ERROR_INSTEAD_OF_FALSE, sham: !DESCRIPTORS }, { - defineProperty: function defineProperty(target, propertyKey, attributes) { - anObject(target); - var key = toPrimitive(propertyKey, true); - anObject(attributes); - try { - definePropertyModule.f(target, key, attributes); - return true; - } catch (error) { - return false; - } - } -}); - - -/***/ }), - -/***/ "yaK9": -/*!******************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/native-weak-map.js ***! - \******************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var global = __webpack_require__(/*! ../internals/global */ "ocAm"); -var inspectSource = __webpack_require__(/*! ../internals/inspect-source */ "6urC"); - -var WeakMap = global.WeakMap; - -module.exports = typeof WeakMap === 'function' && /native code/.test(inspectSource(WeakMap)); - - -/***/ }), - -/***/ "zTQA": -/*!******************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.string.italics.js ***! - \******************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var createHTML = __webpack_require__(/*! ../internals/create-html */ "uoca"); -var forcedStringHTMLMethod = __webpack_require__(/*! ../internals/string-html-forced */ "d8Sw"); - -// `String.prototype.italics` method -// https://tc39.es/ecma262/#sec-string.prototype.italics -$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('italics') }, { - italics: function italics() { - return createHTML(this, 'i', '', ''); - } -}); - - -/***/ }), - -/***/ "zglh": -/*!*************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.reflect.to-string-tag.js ***! - \*************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var global = __webpack_require__(/*! ../internals/global */ "ocAm"); -var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ "shqn"); - -$({ global: true }, { Reflect: {} }); - -// Reflect[@@toStringTag] property -// https://tc39.es/ecma262/#sec-reflect-@@tostringtag -setToStringTag(global.Reflect, 'Reflect', true); - - -/***/ }), - -/***/ "znfk": -/*!**************************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.object.get-own-property-descriptor.js ***! - \**************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); -var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "EMtK"); -var nativeGetOwnPropertyDescriptor = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "7gGY").f; -var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "T69T"); - -var FAILS_ON_PRIMITIVES = fails(function () { nativeGetOwnPropertyDescriptor(1); }); -var FORCED = !DESCRIPTORS || FAILS_ON_PRIMITIVES; - -// `Object.getOwnPropertyDescriptor` method -// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor -$({ target: 'Object', stat: true, forced: FORCED, sham: !DESCRIPTORS }, { - getOwnPropertyDescriptor: function getOwnPropertyDescriptor(it, key) { - return nativeGetOwnPropertyDescriptor(toIndexedObject(it), key); - } -}); - - -/***/ }) - -},[[1,"runtime"]]]); -//# sourceMappingURL=polyfills-es5.js.map \ No newline at end of file diff --git a/dist/ng-walkthrough/polyfills-es5.js.map b/dist/ng-walkthrough/polyfills-es5.js.map deleted file mode 100644 index 0856b1f..0000000 --- a/dist/ng-walkthrough/polyfills-es5.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.object.seal.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.number.is-nan.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/shared-key.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/object-define-property.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/correct-is-regexp-logic.js","./node_modules/zone.js/dist/zone.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.symbol.description.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/html.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/is-regexp.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/redefine.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/object-create.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.math.asinh.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.function.has-instance.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/microtask.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/engine-is-webos-webkit.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/math-fround.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/array-copy-within.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.string.sub.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/number-parse-int.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/to-string-tag-support.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/object-to-array.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.string.blink.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.array.flat-map.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/is-array-iterator-method.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.number.parse-float.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/object-define-properties.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.number.parse-int.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/iterator-close.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.array.flat.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.array.find.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/array-method-is-strict.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/is-object.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.array.sort.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.array.index-of.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.math.log2.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.array.slice.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/inspect-source.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/object-set-prototype-of.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/own-keys.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/to-absolute-index.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/promise-resolve.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/object-get-own-property-descriptor.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.symbol.search.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.symbol.unscopables.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.reflect.set-prototype-of.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.json.to-string-tag.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/redefine-all.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.math.atanh.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.number.to-fixed.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.date.now.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/define-well-known-symbol.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.symbol.to-primitive.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/add-to-unscopables.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.object.get-prototype-of.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.parse-float.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/engine-is-node.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.string.repeat.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.array.of.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.reflect.is-extensible.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.math.sign.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.number.is-integer.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/date-to-primitive.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.reflect.set.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.math.hypot.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.number.constructor.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/engine-v8-version.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.math.cbrt.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/collection-weak.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.date.to-json.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/create-property.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.math.log1p.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.array.fill.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/path.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/function-bind.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/check-correctness-of-iteration.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/string-repeat.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/to-indexed-object.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/same-value.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.symbol.match.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.reflect.construct.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.reflect.apply.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.object.define-properties.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/get-built-in.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/get-iterator-method.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/an-object.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.array.concat.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.array.map.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.array.every.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/set-global.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/iterators-core.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/string-multibyte.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/array-from.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.string.raw.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.array.reduce-right.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/flatten-into-array.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.math.acosh.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.object.freeze.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.string.fixed.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/set-species.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/a-possible-prototype.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/array-species-create.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.math.expm1.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/regexp-sticky-helpers.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.array.find-index.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.string.match.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/native-promise-constructor.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/inherit-if-required.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/shared-store.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.object.is-frozen.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.reflect.delete-property.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/object-get-own-property-names.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/object-assign.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.symbol.iterator.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.string.includes.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/es/symbol/index.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/to-primitive.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.math.clz32.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/internal-metadata.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.function.name.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/is-forced.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/copy-constructor-properties.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.object.to-string.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/a-function.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/is-integer.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/math-log1p.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/has.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.object.from-entries.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.math.to-string-tag.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/array-includes.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/dom-iterables.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/task.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.parse-int.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.math.fround.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.symbol.has-instance.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.string.split.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.array.reduce.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.math.imul.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/es/reflect/index.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.string.anchor.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.object.is-sealed.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/string-pad.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.object.create.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.regexp.to-string.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/iterate.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.symbol.replace.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.string.replace.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.math.cosh.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.regexp.exec.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/uid.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/an-instance.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.symbol.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.math.trunc.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/engine-user-agent.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.regexp.constructor.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/descriptors.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/object-get-own-property-names-external.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/native-symbol.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.symbol.is-concat-spreadable.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/to-object.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.symbol.split.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.set.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.string.strike.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.string.fontsize.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.string.link.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.math.log10.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.string.fontcolor.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.object.prevent-extensions.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/define-iterator.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.object.set-prototype-of.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.array.some.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/internal-state.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/ie8-dom-define.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.array.last-index-of.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.date.to-primitive.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.symbol.match-all.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.reflect.prevent-extensions.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/number-is-finite.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.string.bold.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.number.epsilon.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/create-iterator-constructor.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.symbol.to-string-tag.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/object-keys.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/enum-bug-keys.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/well-known-symbol-wrapped.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/create-non-enumerable-property.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.math.tanh.js","./node_modules/@angular-devkit/build-angular/src/webpack/es5-jit-polyfills.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.number.to-precision.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/object-to-string.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.reflect.own-keys.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.promise.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/object-get-own-property-symbols.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.symbol.async-iterator.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.object.define-property.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/freezing.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/correct-prototype-getter.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/string-html-forced.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.string.sup.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/advance-string-index.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.object.get-own-property-descriptors.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.array.includes.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/is-array.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/classof-raw.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.string.search.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.reflect.get-prototype-of.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.object.get-own-property-names.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/is-pure.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.object.values.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.string.big.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.array.filter.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/object-property-is-enumerable.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/this-number-value.js","./src/polyfills.ts","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.weak-map.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/require-object-coercible.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/use-symbol-as-uid.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/call-with-safe-iteration-closing.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.reflect.get-own-property-descriptor.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.reflect.has.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/string-trim.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/web.dom-collections.for-each.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.array.copy-within.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.date.to-iso-string.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/array-iteration.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.number.is-safe-integer.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/host-report-errors.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/es/date/index.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/array-method-has-species-support.js","./node_modules/regenerator-runtime/runtime.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.array.from.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/well-known-symbol.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.function.bind.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/classof.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/math-sign.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.math.sinh.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.date.to-string.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.object.entries.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/collection-strong.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/array-for-each.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.array.join.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.object.assign.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/new-promise-capability.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.string.starts-with.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/global.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.number.min-safe-integer.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/species-constructor.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.regexp.flags.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/perform.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/math-expm1.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/iterators.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/es/number/index.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/date-to-iso-string.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/regexp-exec.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.string.small.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/document-create-element.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.string.from-code-point.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/array-last-index-of.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/fails.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.array.iterator.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/web.dom-collections.iterator.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/string-trim-forced.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.string.trim.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.number.is-finite.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/not-a-regexp.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.array.splice.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/set-to-string-tag.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.string.code-point-at.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/indexed-object.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/es/math/index.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/function-bind-context.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.string.iterator.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/engine-is-ios.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.object.is.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.reflect.get.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.symbol.species.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/create-property-descriptor.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/regexp-exec-abstract.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/create-html.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.array.for-each.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/to-integer.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.map.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/object-keys-internal.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/number-parse-float.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.string.ends-with.js","./node_modules/@angular-devkit/build-angular/src/webpack/es5-polyfills.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/array-reduce.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/array-method-uses-to-length.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/array-fill.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/export.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/object-get-prototype-of.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.object.is-extensible.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.array.is-array.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/collection.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.object.keys.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/get-substitution.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/regexp-flags.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/whitespaces.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/to-length.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.number.max-safe-integer.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/shared.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/hidden-keys.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.reflect.define-property.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/native-weak-map.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.string.italics.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.reflect.to-string-tag.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.object.get-own-property-descriptor.js"],"names":["factory","define","Zone$1","global","performance","mark","name","performanceMeasure","label","symbolPrefix","__symbol__","checkDuplicate","Error","Zone","parent","zoneSpec","_parent","_name","_properties","properties","_zoneDelegate","ZoneDelegate","assertZonePatched","patches","Object","defineProperty","get","zone","current","enumerable","configurable","_currentZoneFrame","_currentTask","__load_patch","fn","ignoreDuplicate","hasOwnProperty","perfName","_api","prototype","key","getZoneWith","fork","wrap","callback","source","_callback","intercept","runGuarded","arguments","run","applyThis","applyArgs","invoke","error","handleError","runTask","task","NO_ZONE","state","notScheduled","type","eventTask","macroTask","reEntryGuard","running","_transitionTo","scheduled","runCount","previousTask","data","isPeriodic","cancelFn","undefined","invokeTask","unknown","_updateTaskCount","scheduleTask","newZone","scheduling","zoneDelegates","_zoneDelegates","_zone","err","scheduleMicroTask","customSchedule","ZoneTask","microTask","scheduleMacroTask","customCancel","scheduleEventTask","cancelTask","canceling","count","i","length","DELEGATE_ZS","onHasTask","delegate","_","target","hasTaskState","hasTask","onScheduleTask","onInvokeTask","onCancelTask","parentDelegate","_taskCounts","_parentDelegate","_forkZS","onFork","_forkDlgt","_forkCurrZone","_interceptZS","onIntercept","_interceptDlgt","_interceptCurrZone","_invokeZS","onInvoke","_invokeDlgt","_invokeCurrZone","_handleErrorZS","onHandleError","_handleErrorDlgt","_handleErrorCurrZone","_scheduleTaskZS","_scheduleTaskDlgt","_scheduleTaskCurrZone","_invokeTaskZS","_invokeTaskDlgt","_invokeTaskCurrZone","_cancelTaskZS","_cancelTaskDlgt","_cancelTaskCurrZone","_hasTaskZS","_hasTaskDlgt","_hasTaskDlgtOwner","_hasTaskCurrZone","zoneSpecHasTask","parentHasTask","targetZone","apply","returnTask","push","scheduleFn","value","isEmpty","counts","prev","next","change","options","_state","self","useG","call","args","_numberOfNestedTaskFrames","drainMicroTaskQueue","cancelScheduleRequest","toState","fromState1","fromState2","toString","handleId","toJSON","symbolSetTimeout","symbolPromise","symbolThen","_microTaskQueue","_isDrainingMicrotaskQueue","nativeMicroTaskQueuePromise","resolve","nativeThen","queue","onUnhandledError","microtaskDrainDone","symbol","currentZoneFrame","noop","showUncaughtError","patchEventTarget","patchOnProperties","patchMethod","bindArguments","patchThen","patchMacroTask","patchEventPrototype","isIEOrEdge","getGlobalObjects","ObjectDefineProperty","ObjectGetOwnPropertyDescriptor","ObjectCreate","ArraySlice","patchClass","wrapWithCurrentZone","filterProperties","attachOriginToPatched","_redefineProperty","patchCallbacks","window","getOwnPropertyDescriptor","ObjectGetPrototypeOf","getPrototypeOf","create","Array","slice","ADD_EVENT_LISTENER_STR","REMOVE_EVENT_LISTENER_STR","ZONE_SYMBOL_ADD_EVENT_LISTENER","ZONE_SYMBOL_REMOVE_EVENT_LISTENER","TRUE_STR","FALSE_STR","ZONE_SYMBOL_PREFIX","scheduleMacroTaskWithCurrentZone","zoneSymbol","isWindowExists","internalWindow","_global","REMOVE_ATTRIBUTE","NULL_ON_PROP_VALUE","patchPrototype","fnNames","constructor","_loop_1","name_1","prototypeDesc","isPropertyWritable","patched","propertyDesc","writable","set","isWebWorker","WorkerGlobalScope","isNode","process","isBrowser","isMix","zoneSymbolEventNames","wrapFn","event","eventNameSymbol","listener","result","errorEvent","message","filename","lineno","colno","preventDefault","patchProperty","obj","prop","desc","onPropPatchedSymbol","originalDescGet","originalDescSet","eventName","substr","newValue","previousValue","removeEventListener","addEventListener","removeAttribute","onProperties","j","originalInstanceKey","className","OriginalClass","a","instance","patchFn","proto","delegateName","patchDelegate_1","funcName","metaCreator","setNative","cbIdx","meta","original","isDetectedIEOrEdge","ieOrEdge","isIE","ua","navigator","userAgent","indexOf","api","readableObjectToString","JSON","stringify","_uncaughtPromiseErrors","isDisableWrappingUncaughtPromiseRejection","creationTrace","e","rejection","console","stack","_loop_2","uncaughtPromiseError","shift","throwOriginal","handleUnhandledRejection","UNHANDLED_PROMISE_REJECTION_HANDLER_SYMBOL","handler","isThenable","then","forwardResolution","forwardRejection","ZoneAwarePromise","reject","symbolState","symbolValue","symbolFinally","symbolParentPromiseValue","symbolParentPromiseState","UNRESOLVED","RESOLVED","REJECTED","REJECTED_NO_CATCH","makeResolver","promise","v","resolvePromise","once","wasCalled","wrapper","wrappedFunction","TYPE_ERROR","CURRENT_TASK_TRACE_SYMBOL","onceWrapper","TypeError","clearRejectedNoCatch","trace","currentTask","scheduleResolveOrReject","REJECTION_HANDLED_HANDLER","splice","chainPromise","onFulfilled","onRejected","promiseState","parentPromiseValue","isFinallyPromise","ZONE_AWARE_PROMISE_TO_STRING","executor","race","values","res","rej","onResolve","onReject","_i","values_1","all","allWithCallback","allSettled","P","thenCallback","status","errorCallback","reason","unresolvedCount","valueIndex","resolvedValues","_loop_3","this_1","curValueIndex","thenErr","values_2","Symbol","toStringTag","species","C","catch","finally","onFinally","NativePromise","symbolThenPatched","Ctor","originalThen","_this","wrapped","zoneify","resultPromise","ctor","Promise","originalFunctionToString","Function","ORIGINAL_DELEGATE_SYMBOL","PROMISE_SYMBOL","ERROR_SYMBOL","newFunctionToString","originalDelegate","nativePromise","nativeError","originalObjectToString","PROMISE_OBJECT_TO_STRING","passiveSupported","OPTIMIZED_ZONE_EVENT_TASK_DATA","zoneSymbolEventNames$1","globalSources","EVENT_NAME_SYMBOL_REGX","RegExp","IMMEDIATE_PROPAGATION_SYMBOL","prepareEventNames","eventNameToString","falseEventName","trueEventName","symbolCapture","apis","patchOptions","ADD_EVENT_LISTENER","add","REMOVE_EVENT_LISTENER","rm","LISTENERS_EVENT_LISTENER","listeners","REMOVE_ALL_LISTENERS_EVENT_LISTENER","rmAll","zoneSymbolAddEventListener","ADD_EVENT_LISTENER_SOURCE","PREPEND_EVENT_LISTENER","PREPEND_EVENT_LISTENER_SOURCE","isRemoved","handleEvent","delegate_1","globalZoneAwareCallback","tasks","copyTasks","globalZoneAwareCaptureCallback","patchEventTargetMethods","useGlobalCallback","validateHandler","vh","chkDup","returnTarget","rt","taskData","nativeAddEventListener","nativeRemoveEventListener","nativeListeners","nativeRemoveAllListeners","nativePrependEventListener","prepend","buildEventListenerOptions","passive","capture","assign","customScheduleGlobal","isExisting","customCancelGlobal","symbolEventNames","symbolEventName","existingTasks","existingTask","allRemoved","customScheduleNonGlobal","customSchedulePrepend","customCancelNonGlobal","compareTaskCallbackVsDelegate","typeOfDelegate","compare","diff","unpatchedEvents","passiveEvents","makeAddListener","nativeListener","addSource","customScheduleFn","customCancelFn","transferEventName","isHandleEvent","constructorName","targetSource","unshift","onPropertySymbol","findEventTasks","keys","match","exec","evtName","symbolCaptureEventName","captureTasks","removeTasks","results","foundTasks","captureFalseTasks","captureTrueTasks","concat","Event","targetName","method","callbacks","nativeDelegate","opts","forEach","descriptor","globalEventHandlersEventNames","documentEventNames","windowEventNames","htmlElementEventNames","mediaElementEventNames","ieElementEventNames","webglEventNames","formEventNames","detailEventNames","frameEventNames","frameSetEventNames","marqueeEventNames","XMLHttpRequestEventNames","IDBIndexEventNames","websocketEventNames","workerEventNames","eventNames","ignoreProperties","tip","filter","ip","targetIgnoreProperties","op","patchFilteredProperties","filteredProperties","propertyDescriptorPatch","supportsWebSocket","WebSocket","internalWindow_1","ignoreErrorProperties","Document","Element","HTMLElement","HTMLMediaElement","HTMLFrameSetElement","HTMLBodyElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement_1","Worker_1","XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","SYMBOL_BLACK_LISTED_EVENTS","SYMBOL_UNPATCHED_EVENTS","zoneSymbol$1","_defineProperty","_getOwnPropertyDescriptor","_create","unconfigurablesKey","propertyPatch","isUnconfigurable","originalConfigurableFlag","rewriteDescriptor","_tryDefineProperty","defineProperties","props","isFrozen","swallowError","descJson","log","eventTargetLegacyPatch","_a","WTF_ISSUE_555","NO_EVENT_TARGET","split","EVENT_TARGET","isWtf","WTF_ISSUE_555_ARRAY","map","isDisableIECheck","isEnableCrossContextCheck","FUNCTION_WRAPPER","BROWSER_TOOLS","pointerEventsMap","targets","checkIEAndCrossContext","testString","apiTypes","pointerEventName","WS","EventTarget","x","y","socket","proxySocket","proxySocketProto","onmessageDesc","propName","propertySymbol","globalWebSocket","propertyDescriptorLegacyPatch","canPatchViaPropertyDescriptor","patchViaCapturingAllTheEvents","div","document","createElement","onclick","ON_READY_STATE_CHANGE","XMLHttpRequestPrototype","xhrDesc","req","onreadystatechange","SYMBOL_FAKE_ONREADYSTATECHANGE_1","detectFunc","unboundKey","_loop_4","property","onproperty","elt","bound","parentElement","registerElementPatch","taskSymbol","patchTimer","setName","cancelName","nameSuffix","clearNative","tasksByHandleId","clearTask","options_1","delay","callback_1","timer","handle","ref","unref","bind","id","patchCustomElements","customElements","eventTargetPatch","patchEvent","legacyPatch","clear","blockingMethods","name_2","s","patchXHR","XHR_TASK","XHR_SYNC","XHR_LISTENER","XHR_SCHEDULED","XHR_URL","XHR_ERROR_BEFORE_SCHEDULED","findPendingTask","oriAddListener","oriRemoveListener","XMLHttpRequestEventTarget_1","XMLHttpRequestEventTargetPrototype","READY_STATE_CHANGE","SCHEDULED","newListener","readyState","DONE","aborted","loadTasks","oriInvoke_1","storedTask","sendNative","placeholderCallback","abortNative","openNative","XMLHTTPREQUEST_SOURCE","fetchTaskAborting","fetchTaskScheduling","url","geolocation","findPromiseRejectionHandler","eventTasks","PromiseRejectionEvent","evt","runtime","exports","Op","hasOwn","$Symbol","iteratorSymbol","iterator","asyncIteratorSymbol","asyncIterator","toStringTagSymbol","innerFn","outerFn","tryLocsList","protoGenerator","Generator","generator","context","Context","_invoke","makeInvokeMethod","tryCatch","arg","GenStateSuspendedStart","GenStateSuspendedYield","GenStateExecuting","GenStateCompleted","ContinueSentinel","GeneratorFunction","GeneratorFunctionPrototype","IteratorPrototype","getProto","NativeIteratorPrototype","Gp","displayName","defineIteratorMethods","isGeneratorFunction","genFun","setPrototypeOf","__proto__","awrap","__await","AsyncIterator","PromiseImpl","record","unwrapped","previousPromise","enqueue","callInvokeWithMethodAndArg","async","iter","done","doneResult","delegateResult","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","info","resultName","nextLoc","pushTryEntry","locs","entry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","resetTryEntry","completion","reset","object","reverse","pop","iterable","iteratorMethod","isNaN","skipTempReset","charAt","stop","rootEntry","rootRecord","rval","exception","loc","caught","hasCatch","hasFinally","finallyEntry","complete","finish","thrown","delegateYield","module","regeneratorRuntime","accidentalStrictMode"],"mappings":";;;;;;;;;AAAA,QAAQ,mBAAO,CAAC,iCAAqB;AACrC,eAAe,mBAAO,CAAC,oCAAwB;AAC/C,e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ACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACXA,aAAa,mBAAO,CAAC,iCAAqB;AAC1C,kCAAkC,mBAAO,CAAC,yDAA6C;AACvF,UAAU,mBAAO,CAAC,8BAAkB;AACpC,gBAAgB,mBAAO,CAAC,qCAAyB;AACjD,oBAAoB,mBAAO,CAAC,yCAA6B;AACzD,0BAA0B,mBAAO,CAAC,yCAA6B;;AAE/D;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA,CAAC;;;;;;;;;;;;ACvCD,eAAe,mBAAO,CAAC,oCAAwB;AAC/C,uBAAuB,mBAAO,CAAC,mDAAuC;AACtE,kBAAkB,mBAAO,CAAC,wCAA4B;AACtD,iBAAiB,mBAAO,CAAC,sCAA0B;AACnD,WAAW,mBAAO,CAAC,+BAAmB;AACtC,4BAA4B,mBAAO,CAAC,kDAAsC;AAC1E,gBAAgB,mBAAO,CAAC,qCAAyB;;AAEjD;AACA;AACA;AACA;AACA;;AAEA,oCAAoC;;AAEpC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG,gBAAgB;AACnB;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;;;;;;;;;;;AC7EA,QAAQ,mBAAO,CAAC,iCAAqB;;AAErC;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG,+EAA+E;AAClF;AACA,CAAC;;;;;;;;;;;;;ACfY;AACb,eAAe,mBAAO,CAAC,oCAAwB;AAC/C,2BAA2B,mBAAO,CAAC,iDAAqC;AACxE,qBAAqB,mBAAO,CAAC,kDAAsC;AACnE,sBAAsB,mBAAO,CAAC,4CAAgC;;AAE9D;AACA;;AAEA;AACA;AACA;AACA,2DAA2D;AAC3D;AACA;AACA;AACA;AACA;AACA,GAAG,EAAE;AACL;;;;;;;;;;;;ACnBA,aAAa,mBAAO,CAAC,iCAAqB;AAC1C,+BAA+B,mBAAO,CAAC,6DAAiD;AACxF,gBAAgB,mBAAO,CAAC,+BAAmB;AAC3C,aAAa,mBAAO,CAAC,wCAA4B;AACjD,sBAAsB,mBAAO,CAAC,iDAAqC;AACnE,cAAc,mBAAO,CAAC,yCAA6B;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,+CAA+C,sBAAsB;AACrE;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,cAAc;AACd;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;AC/EA,gBAAgB,mBAAO,CAAC,4CAAgC;;AAExD;;;;;;;;;;;;ACFA,WAAW,mBAAO,CAAC,oCAAwB;;AAE3C;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACzBa;AACb,eAAe,mBAAO,CAAC,oCAAwB;AAC/C,sBAAsB,mBAAO,CAAC,4CAAgC;AAC9D,eAAe,mBAAO,CAAC,oCAAwB;;AAE/C;;AAEA;AACA;AACA;AACA;AACA;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AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB;AACvB,CAAC;;AAED;AACA;AACA,GAAG,gDAAgD;AACnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA,CAAC;;;;;;;;;;;;AC7HD,QAAQ,mBAAO,CAAC,iCAAqB;;AAErC;AACA;AACA,GAAG,6BAA6B;AAChC;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACRD,WAAW,mBAAO,CAAC,+BAAmB;AACtC,UAAU,mBAAO,CAAC,8BAAkB;AACpC,mCAAmC,mBAAO,CAAC,oDAAwC;AACnF,qBAAqB,mBAAO,CAAC,iDAAqC;;AAElE;AACA,+CAA+C;AAC/C;AACA;AACA,GAAG;AACH;;;;;;;;;;;;ACVA,4BAA4B,mBAAO,CAAC,mDAAuC;;AAE3E;AACA;AACA;;;;;;;;;;;;ACJA,sBAAsB,mBAAO,CAAC,4CAAgC;AAC9D,aAAa,mBAAO,CAAC,wCAA4B;AACjD,2BAA2B,mBAAO,CAAC,iDAAqC;;AAExE;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;ACnBA,QAAQ,mBAAO,CAAC,iCAAqB;AACrC,YAAY,mB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0CAA8B;AACjE,WAAW,mBAAO,CAAC,8BAAkB;AACrC,0BAA0B,mBAAO,CAAC,yCAA6B;;AAE/D;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,iEAAiE,iCAAiC;AAClG,KAAK;;AAEL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;;;;;;;;;;;;;ACxHa;AACb,QAAQ,mBAAO,CAAC,iCAAqB;AACrC,YAAY,mBAAO,CAAC,gCAAoB;AACxC,eAAe,mBAAO,CAAC,oCAAwB;AAC/C,kBAAkB,mBAAO,CAAC,uCAA2B;;AAErD;AACA;AACA,mCAAmC,2BAA2B,UAAU,EAAE,EAAE;AAC5E,CAAC;;AAED;AACA;AACA,GAAG,8CAA8C;AACjD;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;ACpBY;AACb,kBAAkB,mBAAO,CAAC,uCAA2B;AACrD,2BAA2B,mBAAO,CAAC,iDAAqC;AACxE,+BAA+B,mBAAO,CAAC,qDAAyC;;AAEhF;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACTA,QAAQ,mBAAO,CAAC,iCAAqB;AACrC,YAAY,mBAAO,CAAC,qCAAyB;;AAE7C;AACA;AACA,GA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AACA;AACA;AACA,yBAAyB,4CAA4C;AACrE;AACA;AACA,CAAC;;AAED;AACA;;AAEA;AACA;AACA;AACA,6BAA6B,UAAU;AACvC;AACA,GAAG;;AAEH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6CAA6C,WAAW;AACxD;AACA;AACA;;AAEA,2BAA2B,mBAAmB,aAAa;;AAE3D;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB;AAClB;AACA,gBAAgB;AAChB;AACA,cAAc;AACd,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA,gCAAgC,4CAA4C;AAC5E;AACA;AACA,2BAA2B,uCAAuC;AAClE;AACA;;AAEA;AACA;;;;;;;;;;;;;AC5Ha;AACb,WAAW,mBAAO,CAAC,gDAAoC;AACvD,eAAe,mBAAO,CAAC,oCAAwB;AAC/C,mCAAmC,mBAAO,CAAC,2DAA+C;AAC1F,4BAA4B,mBAAO,CAAC,mDAAuC;AAC3E,eAAe,mBAAO,CAAC,oCAAwB;AAC/C,qBAAqB,mBAAO,CAAC,0CAA8B;AAC3D,wBAAwB,mBAAO,CAAC,8CAAkC;;AAElE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,mCAAmC;AAC7C;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,UAAU,eAAe;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACxCA,QAAQ,mBAAO,CAAC,iCAAqB;AACrC,sBAAsB,mBAAO,CAAC,4CAAgC;AAC9D,eAAe,mBAAO,CAAC,oCAAwB;;AAE/C;AACA;AACA,GAAG,+BAA+B;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,CAAC;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;;;;;;;;;;AC/BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;AClCA,aAAa,mBAAO,CAAC,iCAAqB;AAC1C,YAAY,mBAAO,CAAC,gCAAoB;AACxC,WAAW,mBAAO,CAAC,gDAAoC;AACvD,WAAW,mBAAO,CAAC,+BAAmB;AACtC,oBAAoB,mBAAO,CAAC,kDAAsC;AAClE,aAAa,mBAAO,CAAC,wCAA4B;AACjD,cAAc,mBAAO,CAAC,yCAA6B;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;AC1GA,QAAQ,mBAAO,CAAC,iCAAqB;AACrC,6BAA6B,mBAAO,CAAC,2CAA+B;;AAEpE;AACA;AACA,GAAG,2DAA2D;AAC9D;AACA,CAAC;;;;;;;;;;;;ACPD,QAAQ,mBAAO,CAAC,iCAAqB;AACrC,aAAa,mBAAO,CAAC,sCAA0B;;AAE/C;AACA;AACA,GAAG,6BAA6B,GAAG,iBAAiB;;;;;;;;;;;;ACLpD,4BAA4B,mBAAO,CAAC,mDAAuC;;AAE3E;AACA;AACA;;;;;;;;;;;;;ACJa;AACb,oCAAoC,mBAAO,CAAC,6DAAiD;AAC7F,eAAe,mBAAO,CAAC,oCAAwB;AAC/C,eAAe,mBAAO,CAAC,oCAAwB;AAC/C,6BAA6B,mBAAO,CAAC,mDAAuC;AAC5E,yBAAyB,mBAAO,CAAC,8CAAkC;AACnE,yBAAyB,mBAAO,CAAC,+CAAmC;AACpE,eAAe,mBAAO,CAAC,oCAAwB;AAC/C,qBAAqB,mBAAO,CAAC,+CAAmC;AAChE,iBAAiB,mBAAO,CAAC,sCAA0B;AACnD,YAAY,mBAAO,CAAC,gCAAoB;;AAExC;AACA;AACA;;AAEA;AACA,qCAAqC,iCAAiC,EAAE;;AAExE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+EAA+E;AAC/E;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,yBAAyB,mBAAmB;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;ACrIY;AACb,QAAQ,mBAAO,CAAC,iCAAqB;AACrC,cAAc,mBAAO,CAAC,uCAA2B;AACjD,0BAA0B,mBAAO,CAAC,iDAAqC;AACvE,8BAA8B,mBAAO,CAAC,sDAA0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C;AAC7D,0BAA0B,mBAAO,CAAC,yCAA6B;AAC/D,eAAe,mBAAO,CAAC,0CAA8B;;AAErD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,mDAAmD;AACnD,sBAAsB,yCAAyC,WAAW,IAAI;AAC9E,GAAG;AACH,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA,CAAC;AACD;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yFAAyF;AACzF;AACA,KAAK;AACL;AACA,mDAAmD,iDAAiD;AACpG,KAAK;AACL,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8EAA8E,kCAAkC;AAChH;AACA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,gFAAgF,eAAe;AAC/F;AACA;AACA;;AAEA,GAAG,yEAAyE;AAC5E;AACA,CAAC;;AAED;AACA;AACA,CAAC;;AAED,GAAG,qDAAqD;AACxD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,0BAA0B,mBAAmB,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O,CAAC,+BAAmB;AACtC,gBAAgB,mBAAO,CAAC,oCAAwB;AAChD,qBAAqB,mBAAO,CAAC,0CAA8B;AAC3D,uBAAuB,mBAAO,CAAC,6CAAiC;AAChE,iCAAiC,mBAAO,CAAC,iDAAqC;AAC9E,cAAc,mBAAO,CAAC,kCAAsB;AAC5C,0BAA0B,mBAAO,CAAC,yCAA6B;AAC/D,eAAe,mBAAO,CAAC,oCAAwB;AAC/C,sBAAsB,mBAAO,CAAC,4CAAgC;AAC9D,cAAc,mBAAO,CAAC,yCAA6B;AACnD,iBAAiB,mBAAO,CAAC,4CAAgC;;AAEzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB,cAAc,eAAe,cAAc;AACjE;AACA;AACA;AACA,qCAAqC,cAAc;AACnD,CAAC;;AAED;AACA,yDAAyD,cAAc;AACvE,CAAC;;AAED;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oCAAoC;AACpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA,WAAW;AACX,SAAS;AACT,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG,eAAe;AAClB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,OAAO;AACP;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB;AACvB;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA;AACA;AACA;AACA,GAAG;AACH,oBAAoB,cAAc;AAClC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,KAAK,GAAG,eAAe;;AAEvB;AACA,wCAAwC,+CAA+C;AACvF;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA,GAAG,2CAA2C;AAC9C;AACA,CAAC;;AAED;AACA;;AAEA;;AAEA;AACA,GAAG,8CAA8C;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED,GAAG,yDAAyD;AAC5D;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED,GAAG,2DAA2D;AAC9D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,OAAO;AACP;AACA,KAAK;AACL;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA;AACA;AACA,CAAC;;;;;;;;;;;;AC5XD;;;;;;;;;;;;ACAA,4B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AC,mCAAuB;;AAE9C;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;AChBA,QAAQ,mBAAO,CAAC,iCAAqB;AACrC,eAAe,mBAAO,CAAC,0CAA8B;;AAErD;AACA;AACA,GAAG,+BAA+B;AAClC;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;ACTY;AACb,qBAAqB,mBAAO,CAAC,iDAAqC;AAClE,aAAa,mBAAO,CAAC,wCAA4B;AACjD,kBAAkB,mBAAO,CAAC,uCAA2B;AACrD,WAAW,mBAAO,CAAC,gDAAoC;AACvD,iBAAiB,mBAAO,CAAC,sCAA0B;AACnD,cAAc,mBAAO,CAAC,kCAAsB;AAC5C,qBAAqB,mBAAO,CAAC,0CAA8B;AAC3D,iBAAiB,mBAAO,CAAC,sCAA0B;AACnD,kBAAkB,mBAAO,CAAC,sCAA0B;AACpD,cAAc,mBAAO,CAAC,4CAAgC;AACtD,0BAA0B,mBAAO,CAAC,yCAA6B;;AAE/D;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,iEAAiE,iCAAiC;AAClG,KAAK;;AAEL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B,OAAO;AACtC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP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;AACA;AACA;CAGA;;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;CAGA;;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;CAGA;;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;AC/GA,gBAAgB,mBAAO,CAAC,qCAAyB;AACjD,eAAe,mBAAO,CAAC,oCAAwB;AAC/C,oBAAoB,mBAAO,CAAC,yCAA6B;AACzD,eAAe,mBAAO,CAAC,oCAAwB;;AAE/C,qBAAqB,sBAAsB;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,uCAAuC;AACjD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACvCA,kBAAkB,mBAAO,CAAC,sCAA0B;AACpD,YAAY,mBAAO,CAAC,gCAAoB;AACxC,UAAU,mBAAO,CAAC,8BAAkB;;AAEpC;AACA;;AAEA,6BAA6B,UAAU;;AAEvC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa;;AAEb,yCAAyC,iCAAiC;AAC1E;;AAEA;AACA,GAAG;AACH;;;;;;;;;;;;;AC1Ba;AACb,eAAe,mBAAO,CAAC,oCAAwB;AAC/C,sBAAsB,mBAAO,CAAC,4CAAgC;AAC9D,eAAe,mBAAO,CAAC,oCAAwB;;AAE/C;AACA;AACA;AACA;AACA;AACA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;AACA,GAAG,2EAA2E;AAC9E;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACXD,QAAQ,mBAAO,CAAC,iCAAqB;AACrC,aAAa,mBAAO,CAAC,iCAAqB;AAC1C,qBAAqB,mBAAO,CAAC,4CAAgC;;AAE7D,GAAG,eAAe,GAAG,YAAY,EAAE;;AAEnC;AACA;AACA;;;;;;;;;;;;ACRA,QAAQ,mBAAO,CAAC,iCAAqB;AACrC,YAAY,mBAAO,CAAC,gCAAoB;AACxC,sBAAsB,mBAAO,CAAC,4CAAgC;AAC9D,qCAAqC,mBAAO,CAAC,6DAAiD;AAC9F,kBAAkB,mBAAO,CAAC,sCAA0B;;AAEpD,6CAA6C,mCAAmC,EAAE;AAClF;;AAEA;AACA;AACA,GAAG,mEAAmE;AACtE;AACA;AACA;AACA,CAAC","file":"polyfills-es5.js","sourcesContent":["var $ = require('../internals/export');\nvar isObject = require('../internals/is-object');\nvar onFreeze = require('../internals/internal-metadata').onFreeze;\nvar FREEZING = require('../internals/freezing');\nvar fails = require('../internals/fails');\n\nvar nativeSeal = Object.seal;\nvar FAILS_ON_PRIMITIVES = fails(function () { nativeSeal(1); });\n\n// `Object.seal` method\n// https://tc39.es/ecma262/#sec-object.seal\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING }, {\n seal: function seal(it) {\n return nativeSeal && isObject(it) ? nativeSeal(onFreeze(it)) : it;\n }\n});\n","var $ = require('../internals/export');\n\n// `Number.isNaN` method\n// https://tc39.es/ecma262/#sec-number.isnan\n$({ target: 'Number', stat: true }, {\n isNaN: function isNaN(number) {\n // eslint-disable-next-line no-self-compare\n return number != number;\n }\n});\n","var shared = require('../internals/shared');\nvar uid = require('../internals/uid');\n\nvar keys = shared('keys');\n\nmodule.exports = function (key) {\n return keys[key] || (keys[key] = uid(key));\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar anObject = require('../internals/an-object');\nvar toPrimitive = require('../internals/to-primitive');\n\nvar nativeDefineProperty = Object.defineProperty;\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? nativeDefineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return nativeDefineProperty(O, P, Attributes);\n } catch (error) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\n\nmodule.exports = function (METHOD_NAME) {\n var regexp = /./;\n try {\n '/./'[METHOD_NAME](regexp);\n } catch (error1) {\n try {\n regexp[MATCH] = false;\n return '/./'[METHOD_NAME](regexp);\n } catch (error2) { /* empty */ }\n } return false;\n};\n","'use strict';\n/**\n * @license Angular v12.0.0-next.0\n * (c) 2010-2020 Google LLC. https://angular.io/\n * License: MIT\n */\n(function (factory) {\n typeof define === 'function' && define.amd ? define(factory) :\n factory();\n}((function () {\n 'use strict';\n /**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var Zone$1 = (function (global) {\n var performance = global['performance'];\n function mark(name) {\n performance && performance['mark'] && performance['mark'](name);\n }\n function performanceMeasure(name, label) {\n performance && performance['measure'] && performance['measure'](name, label);\n }\n mark('Zone');\n // Initialize before it's accessed below.\n // __Zone_symbol_prefix global can be used to override the default zone\n // symbol prefix with a custom one if needed.\n var symbolPrefix = global['__Zone_symbol_prefix'] || '__zone_symbol__';\n function __symbol__(name) {\n return symbolPrefix + name;\n }\n var checkDuplicate = global[__symbol__('forceDuplicateZoneCheck')] === true;\n if (global['Zone']) {\n // if global['Zone'] already exists (maybe zone.js was already loaded or\n // some other lib also registered a global object named Zone), we may need\n // to throw an error, but sometimes user may not want this error.\n // For example,\n // we have two web pages, page1 includes zone.js, page2 doesn't.\n // and the 1st time user load page1 and page2, everything work fine,\n // but when user load page2 again, error occurs because global['Zone'] already exists.\n // so we add a flag to let user choose whether to throw this error or not.\n // By default, if existing Zone is from zone.js, we will not throw the error.\n if (checkDuplicate || typeof global['Zone'].__symbol__ !== 'function') {\n throw new Error('Zone already loaded.');\n }\n else {\n return global['Zone'];\n }\n }\n var Zone = /** @class */ (function () {\n function Zone(parent, zoneSpec) {\n this._parent = parent;\n this._name = zoneSpec ? zoneSpec.name || 'unnamed' : '';\n this._properties = zoneSpec && zoneSpec.properties || {};\n this._zoneDelegate =\n new ZoneDelegate(this, this._parent && this._parent._zoneDelegate, zoneSpec);\n }\n Zone.assertZonePatched = function () {\n if (global['Promise'] !== patches['ZoneAwarePromise']) {\n throw new Error('Zone.js has detected that ZoneAwarePromise `(window|global).Promise` ' +\n 'has been overwritten.\\n' +\n 'Most likely cause is that a Promise polyfill has been loaded ' +\n 'after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. ' +\n 'If you must load one, do so before loading zone.js.)');\n }\n };\n Object.defineProperty(Zone, \"root\", {\n get: function () {\n var zone = Zone.current;\n while (zone.parent) {\n zone = zone.parent;\n }\n return zone;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(Zone, \"current\", {\n get: function () {\n return _currentZoneFrame.zone;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(Zone, \"currentTask\", {\n get: function () {\n return _currentTask;\n },\n enumerable: false,\n configurable: true\n });\n // tslint:disable-next-line:require-internal-with-underscore\n Zone.__load_patch = function (name, fn, ignoreDuplicate) {\n if (ignoreDuplicate === void 0) { ignoreDuplicate = false; }\n if (patches.hasOwnProperty(name)) {\n // `checkDuplicate` option is defined from global variable\n // so it works for all modules.\n // `ignoreDuplicate` can work for the specified module\n if (!ignoreDuplicate && checkDuplicate) {\n throw Error('Already loaded patch: ' + name);\n }\n }\n else if (!global['__Zone_disable_' + name]) {\n var perfName = 'Zone:' + name;\n mark(perfName);\n patches[name] = fn(global, Zone, _api);\n performanceMeasure(perfName, perfName);\n }\n };\n Object.defineProperty(Zone.prototype, \"parent\", {\n get: function () {\n return this._parent;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(Zone.prototype, \"name\", {\n get: function () {\n return this._name;\n },\n enumerable: false,\n configurable: true\n });\n Zone.prototype.get = function (key) {\n var zone = this.getZoneWith(key);\n if (zone)\n return zone._properties[key];\n };\n Zone.prototype.getZoneWith = function (key) {\n var current = this;\n while (current) {\n if (current._properties.hasOwnProperty(key)) {\n return current;\n }\n current = current._parent;\n }\n return null;\n };\n Zone.prototype.fork = function (zoneSpec) {\n if (!zoneSpec)\n throw new Error('ZoneSpec required!');\n return this._zoneDelegate.fork(this, zoneSpec);\n };\n Zone.prototype.wrap = function (callback, source) {\n if (typeof callback !== 'function') {\n throw new Error('Expecting function got: ' + callback);\n }\n var _callback = this._zoneDelegate.intercept(this, callback, source);\n var zone = this;\n return function () {\n return zone.runGuarded(_callback, this, arguments, source);\n };\n };\n Zone.prototype.run = function (callback, applyThis, applyArgs, source) {\n _currentZoneFrame = { parent: _currentZoneFrame, zone: this };\n try {\n return this._zoneDelegate.invoke(this, callback, applyThis, applyArgs, source);\n }\n finally {\n _currentZoneFrame = _currentZoneFrame.parent;\n }\n };\n Zone.prototype.runGuarded = function (callback, applyThis, applyArgs, source) {\n if (applyThis === void 0) { applyThis = null; }\n _currentZoneFrame = { parent: _currentZoneFrame, zone: this };\n try {\n try {\n return this._zoneDelegate.invoke(this, callback, applyThis, applyArgs, source);\n }\n catch (error) {\n if (this._zoneDelegate.handleError(this, error)) {\n throw error;\n }\n }\n }\n finally {\n _currentZoneFrame = _currentZoneFrame.parent;\n }\n };\n Zone.prototype.runTask = function (task, applyThis, applyArgs) {\n if (task.zone != this) {\n throw new Error('A task can only be run in the zone of creation! (Creation: ' +\n (task.zone || NO_ZONE).name + '; Execution: ' + this.name + ')');\n }\n // https://github.com/angular/zone.js/issues/778, sometimes eventTask\n // will run in notScheduled(canceled) state, we should not try to\n // run such kind of task but just return\n if (task.state === notScheduled && (task.type === eventTask || task.type === macroTask)) {\n return;\n }\n var reEntryGuard = task.state != running;\n reEntryGuard && task._transitionTo(running, scheduled);\n task.runCount++;\n var previousTask = _currentTask;\n _currentTask = task;\n _currentZoneFrame = { parent: _currentZoneFrame, zone: this };\n try {\n if (task.type == macroTask && task.data && !task.data.isPeriodic) {\n task.cancelFn = undefined;\n }\n try {\n return this._zoneDelegate.invokeTask(this, task, applyThis, applyArgs);\n }\n catch (error) {\n if (this._zoneDelegate.handleError(this, error)) {\n throw error;\n }\n }\n }\n finally {\n // if the task's state is notScheduled or unknown, then it has already been cancelled\n // we should not reset the state to scheduled\n if (task.state !== notScheduled && task.state !== unknown) {\n if (task.type == eventTask || (task.data && task.data.isPeriodic)) {\n reEntryGuard && task._transitionTo(scheduled, running);\n }\n else {\n task.runCount = 0;\n this._updateTaskCount(task, -1);\n reEntryGuard &&\n task._transitionTo(notScheduled, running, notScheduled);\n }\n }\n _currentZoneFrame = _currentZoneFrame.parent;\n _currentTask = previousTask;\n }\n };\n Zone.prototype.scheduleTask = function (task) {\n if (task.zone && task.zone !== this) {\n // check if the task was rescheduled, the newZone\n // should not be the children of the original zone\n var newZone = this;\n while (newZone) {\n if (newZone === task.zone) {\n throw Error(\"can not reschedule task to \" + this.name + \" which is descendants of the original zone \" + task.zone.name);\n }\n newZone = newZone.parent;\n }\n }\n task._transitionTo(scheduling, notScheduled);\n var zoneDelegates = [];\n task._zoneDelegates = zoneDelegates;\n task._zone = this;\n try {\n task = this._zoneDelegate.scheduleTask(this, task);\n }\n catch (err) {\n // should set task's state to unknown when scheduleTask throw error\n // because the err may from reschedule, so the fromState maybe notScheduled\n task._transitionTo(unknown, scheduling, notScheduled);\n // TODO: @JiaLiPassion, should we check the result from handleError?\n this._zoneDelegate.handleError(this, err);\n throw err;\n }\n if (task._zoneDelegates === zoneDelegates) {\n // we have to check because internally the delegate can reschedule the task.\n this._updateTaskCount(task, 1);\n }\n if (task.state == scheduling) {\n task._transitionTo(scheduled, scheduling);\n }\n return task;\n };\n Zone.prototype.scheduleMicroTask = function (source, callback, data, customSchedule) {\n return this.scheduleTask(new ZoneTask(microTask, source, callback, data, customSchedule, undefined));\n };\n Zone.prototype.scheduleMacroTask = function (source, callback, data, customSchedule, customCancel) {\n return this.scheduleTask(new ZoneTask(macroTask, source, callback, data, customSchedule, customCancel));\n };\n Zone.prototype.scheduleEventTask = function (source, callback, data, customSchedule, customCancel) {\n return this.scheduleTask(new ZoneTask(eventTask, source, callback, data, customSchedule, customCancel));\n };\n Zone.prototype.cancelTask = function (task) {\n if (task.zone != this)\n throw new Error('A task can only be cancelled in the zone of creation! (Creation: ' +\n (task.zone || NO_ZONE).name + '; Execution: ' + this.name + ')');\n task._transitionTo(canceling, scheduled, running);\n try {\n this._zoneDelegate.cancelTask(this, task);\n }\n catch (err) {\n // if error occurs when cancelTask, transit the state to unknown\n task._transitionTo(unknown, canceling);\n this._zoneDelegate.handleError(this, err);\n throw err;\n }\n this._updateTaskCount(task, -1);\n task._transitionTo(notScheduled, canceling);\n task.runCount = 0;\n return task;\n };\n Zone.prototype._updateTaskCount = function (task, count) {\n var zoneDelegates = task._zoneDelegates;\n if (count == -1) {\n task._zoneDelegates = null;\n }\n for (var i = 0; i < zoneDelegates.length; i++) {\n zoneDelegates[i]._updateTaskCount(task.type, count);\n }\n };\n return Zone;\n }());\n // tslint:disable-next-line:require-internal-with-underscore\n Zone.__symbol__ = __symbol__;\n var DELEGATE_ZS = {\n name: '',\n onHasTask: function (delegate, _, target, hasTaskState) { return delegate.hasTask(target, hasTaskState); },\n onScheduleTask: function (delegate, _, target, task) { return delegate.scheduleTask(target, task); },\n onInvokeTask: function (delegate, _, target, task, applyThis, applyArgs) { return delegate.invokeTask(target, task, applyThis, applyArgs); },\n onCancelTask: function (delegate, _, target, task) { return delegate.cancelTask(target, task); }\n };\n var ZoneDelegate = /** @class */ (function () {\n function ZoneDelegate(zone, parentDelegate, zoneSpec) {\n this._taskCounts = { 'microTask': 0, 'macroTask': 0, 'eventTask': 0 };\n this.zone = zone;\n this._parentDelegate = parentDelegate;\n this._forkZS = zoneSpec && (zoneSpec && zoneSpec.onFork ? zoneSpec : parentDelegate._forkZS);\n this._forkDlgt = zoneSpec && (zoneSpec.onFork ? parentDelegate : parentDelegate._forkDlgt);\n this._forkCurrZone =\n zoneSpec && (zoneSpec.onFork ? this.zone : parentDelegate._forkCurrZone);\n this._interceptZS =\n zoneSpec && (zoneSpec.onIntercept ? zoneSpec : parentDelegate._interceptZS);\n this._interceptDlgt =\n zoneSpec && (zoneSpec.onIntercept ? parentDelegate : parentDelegate._interceptDlgt);\n this._interceptCurrZone =\n zoneSpec && (zoneSpec.onIntercept ? this.zone : parentDelegate._interceptCurrZone);\n this._invokeZS = zoneSpec && (zoneSpec.onInvoke ? zoneSpec : parentDelegate._invokeZS);\n this._invokeDlgt =\n zoneSpec && (zoneSpec.onInvoke ? parentDelegate : parentDelegate._invokeDlgt);\n this._invokeCurrZone =\n zoneSpec && (zoneSpec.onInvoke ? this.zone : parentDelegate._invokeCurrZone);\n this._handleErrorZS =\n zoneSpec && (zoneSpec.onHandleError ? zoneSpec : parentDelegate._handleErrorZS);\n this._handleErrorDlgt =\n zoneSpec && (zoneSpec.onHandleError ? parentDelegate : parentDelegate._handleErrorDlgt);\n this._handleErrorCurrZone =\n zoneSpec && (zoneSpec.onHandleError ? this.zone : parentDelegate._handleErrorCurrZone);\n this._scheduleTaskZS =\n zoneSpec && (zoneSpec.onScheduleTask ? zoneSpec : parentDelegate._scheduleTaskZS);\n this._scheduleTaskDlgt = zoneSpec &&\n (zoneSpec.onScheduleTask ? parentDelegate : parentDelegate._scheduleTaskDlgt);\n this._scheduleTaskCurrZone =\n zoneSpec && (zoneSpec.onScheduleTask ? this.zone : parentDelegate._scheduleTaskCurrZone);\n this._invokeTaskZS =\n zoneSpec && (zoneSpec.onInvokeTask ? zoneSpec : parentDelegate._invokeTaskZS);\n this._invokeTaskDlgt =\n zoneSpec && (zoneSpec.onInvokeTask ? parentDelegate : parentDelegate._invokeTaskDlgt);\n this._invokeTaskCurrZone =\n zoneSpec && (zoneSpec.onInvokeTask ? this.zone : parentDelegate._invokeTaskCurrZone);\n this._cancelTaskZS =\n zoneSpec && (zoneSpec.onCancelTask ? zoneSpec : parentDelegate._cancelTaskZS);\n this._cancelTaskDlgt =\n zoneSpec && (zoneSpec.onCancelTask ? parentDelegate : parentDelegate._cancelTaskDlgt);\n this._cancelTaskCurrZone =\n zoneSpec && (zoneSpec.onCancelTask ? this.zone : parentDelegate._cancelTaskCurrZone);\n this._hasTaskZS = null;\n this._hasTaskDlgt = null;\n this._hasTaskDlgtOwner = null;\n this._hasTaskCurrZone = null;\n var zoneSpecHasTask = zoneSpec && zoneSpec.onHasTask;\n var parentHasTask = parentDelegate && parentDelegate._hasTaskZS;\n if (zoneSpecHasTask || parentHasTask) {\n // If we need to report hasTask, than this ZS needs to do ref counting on tasks. In such\n // a case all task related interceptors must go through this ZD. We can't short circuit it.\n this._hasTaskZS = zoneSpecHasTask ? zoneSpec : DELEGATE_ZS;\n this._hasTaskDlgt = parentDelegate;\n this._hasTaskDlgtOwner = this;\n this._hasTaskCurrZone = zone;\n if (!zoneSpec.onScheduleTask) {\n this._scheduleTaskZS = DELEGATE_ZS;\n this._scheduleTaskDlgt = parentDelegate;\n this._scheduleTaskCurrZone = this.zone;\n }\n if (!zoneSpec.onInvokeTask) {\n this._invokeTaskZS = DELEGATE_ZS;\n this._invokeTaskDlgt = parentDelegate;\n this._invokeTaskCurrZone = this.zone;\n }\n if (!zoneSpec.onCancelTask) {\n this._cancelTaskZS = DELEGATE_ZS;\n this._cancelTaskDlgt = parentDelegate;\n this._cancelTaskCurrZone = this.zone;\n }\n }\n }\n ZoneDelegate.prototype.fork = function (targetZone, zoneSpec) {\n return this._forkZS ? this._forkZS.onFork(this._forkDlgt, this.zone, targetZone, zoneSpec) :\n new Zone(targetZone, zoneSpec);\n };\n ZoneDelegate.prototype.intercept = function (targetZone, callback, source) {\n return this._interceptZS ?\n this._interceptZS.onIntercept(this._interceptDlgt, this._interceptCurrZone, targetZone, callback, source) :\n callback;\n };\n ZoneDelegate.prototype.invoke = function (targetZone, callback, applyThis, applyArgs, source) {\n return this._invokeZS ? this._invokeZS.onInvoke(this._invokeDlgt, this._invokeCurrZone, targetZone, callback, applyThis, applyArgs, source) :\n callback.apply(applyThis, applyArgs);\n };\n ZoneDelegate.prototype.handleError = function (targetZone, error) {\n return this._handleErrorZS ?\n this._handleErrorZS.onHandleError(this._handleErrorDlgt, this._handleErrorCurrZone, targetZone, error) :\n true;\n };\n ZoneDelegate.prototype.scheduleTask = function (targetZone, task) {\n var returnTask = task;\n if (this._scheduleTaskZS) {\n if (this._hasTaskZS) {\n returnTask._zoneDelegates.push(this._hasTaskDlgtOwner);\n }\n // clang-format off\n returnTask = this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt, this._scheduleTaskCurrZone, targetZone, task);\n // clang-format on\n if (!returnTask)\n returnTask = task;\n }\n else {\n if (task.scheduleFn) {\n task.scheduleFn(task);\n }\n else if (task.type == microTask) {\n scheduleMicroTask(task);\n }\n else {\n throw new Error('Task is missing scheduleFn.');\n }\n }\n return returnTask;\n };\n ZoneDelegate.prototype.invokeTask = function (targetZone, task, applyThis, applyArgs) {\n return this._invokeTaskZS ? this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt, this._invokeTaskCurrZone, targetZone, task, applyThis, applyArgs) :\n task.callback.apply(applyThis, applyArgs);\n };\n ZoneDelegate.prototype.cancelTask = function (targetZone, task) {\n var value;\n if (this._cancelTaskZS) {\n value = this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt, this._cancelTaskCurrZone, targetZone, task);\n }\n else {\n if (!task.cancelFn) {\n throw Error('Task is not cancelable');\n }\n value = task.cancelFn(task);\n }\n return value;\n };\n ZoneDelegate.prototype.hasTask = function (targetZone, isEmpty) {\n // hasTask should not throw error so other ZoneDelegate\n // can still trigger hasTask callback\n try {\n this._hasTaskZS &&\n this._hasTaskZS.onHasTask(this._hasTaskDlgt, this._hasTaskCurrZone, targetZone, isEmpty);\n }\n catch (err) {\n this.handleError(targetZone, err);\n }\n };\n // tslint:disable-next-line:require-internal-with-underscore\n ZoneDelegate.prototype._updateTaskCount = function (type, count) {\n var counts = this._taskCounts;\n var prev = counts[type];\n var next = counts[type] = prev + count;\n if (next < 0) {\n throw new Error('More tasks executed then were scheduled.');\n }\n if (prev == 0 || next == 0) {\n var isEmpty = {\n microTask: counts['microTask'] > 0,\n macroTask: counts['macroTask'] > 0,\n eventTask: counts['eventTask'] > 0,\n change: type\n };\n this.hasTask(this.zone, isEmpty);\n }\n };\n return ZoneDelegate;\n }());\n var ZoneTask = /** @class */ (function () {\n function ZoneTask(type, source, callback, options, scheduleFn, cancelFn) {\n // tslint:disable-next-line:require-internal-with-underscore\n this._zone = null;\n this.runCount = 0;\n // tslint:disable-next-line:require-internal-with-underscore\n this._zoneDelegates = null;\n // tslint:disable-next-line:require-internal-with-underscore\n this._state = 'notScheduled';\n this.type = type;\n this.source = source;\n this.data = options;\n this.scheduleFn = scheduleFn;\n this.cancelFn = cancelFn;\n if (!callback) {\n throw new Error('callback is not defined');\n }\n this.callback = callback;\n var self = this;\n // TODO: @JiaLiPassion options should have interface\n if (type === eventTask && options && options.useG) {\n this.invoke = ZoneTask.invokeTask;\n }\n else {\n this.invoke = function () {\n return ZoneTask.invokeTask.call(global, self, this, arguments);\n };\n }\n }\n ZoneTask.invokeTask = function (task, target, args) {\n if (!task) {\n task = this;\n }\n _numberOfNestedTaskFrames++;\n try {\n task.runCount++;\n return task.zone.runTask(task, target, args);\n }\n finally {\n if (_numberOfNestedTaskFrames == 1) {\n drainMicroTaskQueue();\n }\n _numberOfNestedTaskFrames--;\n }\n };\n Object.defineProperty(ZoneTask.prototype, \"zone\", {\n get: function () {\n return this._zone;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(ZoneTask.prototype, \"state\", {\n get: function () {\n return this._state;\n },\n enumerable: false,\n configurable: true\n });\n ZoneTask.prototype.cancelScheduleRequest = function () {\n this._transitionTo(notScheduled, scheduling);\n };\n // tslint:disable-next-line:require-internal-with-underscore\n ZoneTask.prototype._transitionTo = function (toState, fromState1, fromState2) {\n if (this._state === fromState1 || this._state === fromState2) {\n this._state = toState;\n if (toState == notScheduled) {\n this._zoneDelegates = null;\n }\n }\n else {\n throw new Error(this.type + \" '\" + this.source + \"': can not transition to '\" + toState + \"', expecting state '\" + fromState1 + \"'\" + (fromState2 ? ' or \\'' + fromState2 + '\\'' : '') + \", was '\" + this._state + \"'.\");\n }\n };\n ZoneTask.prototype.toString = function () {\n if (this.data && typeof this.data.handleId !== 'undefined') {\n return this.data.handleId.toString();\n }\n else {\n return Object.prototype.toString.call(this);\n }\n };\n // add toJSON method to prevent cyclic error when\n // call JSON.stringify(zoneTask)\n ZoneTask.prototype.toJSON = function () {\n return {\n type: this.type,\n state: this.state,\n source: this.source,\n zone: this.zone.name,\n runCount: this.runCount\n };\n };\n return ZoneTask;\n }());\n //////////////////////////////////////////////////////\n //////////////////////////////////////////////////////\n /// MICROTASK QUEUE\n //////////////////////////////////////////////////////\n //////////////////////////////////////////////////////\n var symbolSetTimeout = __symbol__('setTimeout');\n var symbolPromise = __symbol__('Promise');\n var symbolThen = __symbol__('then');\n var _microTaskQueue = [];\n var _isDrainingMicrotaskQueue = false;\n var nativeMicroTaskQueuePromise;\n function scheduleMicroTask(task) {\n // if we are not running in any task, and there has not been anything scheduled\n // we must bootstrap the initial task creation by manually scheduling the drain\n if (_numberOfNestedTaskFrames === 0 && _microTaskQueue.length === 0) {\n // We are not running in Task, so we need to kickstart the microtask queue.\n if (!nativeMicroTaskQueuePromise) {\n if (global[symbolPromise]) {\n nativeMicroTaskQueuePromise = global[symbolPromise].resolve(0);\n }\n }\n if (nativeMicroTaskQueuePromise) {\n var nativeThen = nativeMicroTaskQueuePromise[symbolThen];\n if (!nativeThen) {\n // native Promise is not patchable, we need to use `then` directly\n // issue 1078\n nativeThen = nativeMicroTaskQueuePromise['then'];\n }\n nativeThen.call(nativeMicroTaskQueuePromise, drainMicroTaskQueue);\n }\n else {\n global[symbolSetTimeout](drainMicroTaskQueue, 0);\n }\n }\n task && _microTaskQueue.push(task);\n }\n function drainMicroTaskQueue() {\n if (!_isDrainingMicrotaskQueue) {\n _isDrainingMicrotaskQueue = true;\n while (_microTaskQueue.length) {\n var queue = _microTaskQueue;\n _microTaskQueue = [];\n for (var i = 0; i < queue.length; i++) {\n var task = queue[i];\n try {\n task.zone.runTask(task, null, null);\n }\n catch (error) {\n _api.onUnhandledError(error);\n }\n }\n }\n _api.microtaskDrainDone();\n _isDrainingMicrotaskQueue = false;\n }\n }\n //////////////////////////////////////////////////////\n //////////////////////////////////////////////////////\n /// BOOTSTRAP\n //////////////////////////////////////////////////////\n //////////////////////////////////////////////////////\n var NO_ZONE = { name: 'NO ZONE' };\n var notScheduled = 'notScheduled', scheduling = 'scheduling', scheduled = 'scheduled', running = 'running', canceling = 'canceling', unknown = 'unknown';\n var microTask = 'microTask', macroTask = 'macroTask', eventTask = 'eventTask';\n var patches = {};\n var _api = {\n symbol: __symbol__,\n currentZoneFrame: function () { return _currentZoneFrame; },\n onUnhandledError: noop,\n microtaskDrainDone: noop,\n scheduleMicroTask: scheduleMicroTask,\n showUncaughtError: function () { return !Zone[__symbol__('ignoreConsoleErrorUncaughtError')]; },\n patchEventTarget: function () { return []; },\n patchOnProperties: noop,\n patchMethod: function () { return noop; },\n bindArguments: function () { return []; },\n patchThen: function () { return noop; },\n patchMacroTask: function () { return noop; },\n patchEventPrototype: function () { return noop; },\n isIEOrEdge: function () { return false; },\n getGlobalObjects: function () { return undefined; },\n ObjectDefineProperty: function () { return noop; },\n ObjectGetOwnPropertyDescriptor: function () { return undefined; },\n ObjectCreate: function () { return undefined; },\n ArraySlice: function () { return []; },\n patchClass: function () { return noop; },\n wrapWithCurrentZone: function () { return noop; },\n filterProperties: function () { return []; },\n attachOriginToPatched: function () { return noop; },\n _redefineProperty: function () { return noop; },\n patchCallbacks: function () { return noop; }\n };\n var _currentZoneFrame = { parent: null, zone: new Zone(null, null) };\n var _currentTask = null;\n var _numberOfNestedTaskFrames = 0;\n function noop() { }\n performanceMeasure('Zone', 'Zone');\n return global['Zone'] = Zone;\n })(typeof window !== 'undefined' && window || typeof self !== 'undefined' && self || global);\n /**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n /**\n * Suppress closure compiler errors about unknown 'Zone' variable\n * @fileoverview\n * @suppress {undefinedVars,globalThis,missingRequire}\n */\n /// \n // issue #989, to reduce bundle size, use short name\n /** Object.getOwnPropertyDescriptor */\n var ObjectGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n /** Object.defineProperty */\n var ObjectDefineProperty = Object.defineProperty;\n /** Object.getPrototypeOf */\n var ObjectGetPrototypeOf = Object.getPrototypeOf;\n /** Object.create */\n var ObjectCreate = Object.create;\n /** Array.prototype.slice */\n var ArraySlice = Array.prototype.slice;\n /** addEventListener string const */\n var ADD_EVENT_LISTENER_STR = 'addEventListener';\n /** removeEventListener string const */\n var REMOVE_EVENT_LISTENER_STR = 'removeEventListener';\n /** zoneSymbol addEventListener */\n var ZONE_SYMBOL_ADD_EVENT_LISTENER = Zone.__symbol__(ADD_EVENT_LISTENER_STR);\n /** zoneSymbol removeEventListener */\n var ZONE_SYMBOL_REMOVE_EVENT_LISTENER = Zone.__symbol__(REMOVE_EVENT_LISTENER_STR);\n /** true string const */\n var TRUE_STR = 'true';\n /** false string const */\n var FALSE_STR = 'false';\n /** Zone symbol prefix string const. */\n var ZONE_SYMBOL_PREFIX = Zone.__symbol__('');\n function wrapWithCurrentZone(callback, source) {\n return Zone.current.wrap(callback, source);\n }\n function scheduleMacroTaskWithCurrentZone(source, callback, data, customSchedule, customCancel) {\n return Zone.current.scheduleMacroTask(source, callback, data, customSchedule, customCancel);\n }\n var zoneSymbol = Zone.__symbol__;\n var isWindowExists = typeof window !== 'undefined';\n var internalWindow = isWindowExists ? window : undefined;\n var _global = isWindowExists && internalWindow || typeof self === 'object' && self || global;\n var REMOVE_ATTRIBUTE = 'removeAttribute';\n var NULL_ON_PROP_VALUE = [null];\n function bindArguments(args, source) {\n for (var i = args.length - 1; i >= 0; i--) {\n if (typeof args[i] === 'function') {\n args[i] = wrapWithCurrentZone(args[i], source + '_' + i);\n }\n }\n return args;\n }\n function patchPrototype(prototype, fnNames) {\n var source = prototype.constructor['name'];\n var _loop_1 = function (i) {\n var name_1 = fnNames[i];\n var delegate = prototype[name_1];\n if (delegate) {\n var prototypeDesc = ObjectGetOwnPropertyDescriptor(prototype, name_1);\n if (!isPropertyWritable(prototypeDesc)) {\n return \"continue\";\n }\n prototype[name_1] = (function (delegate) {\n var patched = function () {\n return delegate.apply(this, bindArguments(arguments, source + '.' + name_1));\n };\n attachOriginToPatched(patched, delegate);\n return patched;\n })(delegate);\n }\n };\n for (var i = 0; i < fnNames.length; i++) {\n _loop_1(i);\n }\n }\n function isPropertyWritable(propertyDesc) {\n if (!propertyDesc) {\n return true;\n }\n if (propertyDesc.writable === false) {\n return false;\n }\n return !(typeof propertyDesc.get === 'function' && typeof propertyDesc.set === 'undefined');\n }\n var isWebWorker = (typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope);\n // Make sure to access `process` through `_global` so that WebPack does not accidentally browserify\n // this code.\n var isNode = (!('nw' in _global) && typeof _global.process !== 'undefined' &&\n {}.toString.call(_global.process) === '[object process]');\n var isBrowser = !isNode && !isWebWorker && !!(isWindowExists && internalWindow['HTMLElement']);\n // we are in electron of nw, so we are both browser and nodejs\n // Make sure to access `process` through `_global` so that WebPack does not accidentally browserify\n // this code.\n var isMix = typeof _global.process !== 'undefined' &&\n {}.toString.call(_global.process) === '[object process]' && !isWebWorker &&\n !!(isWindowExists && internalWindow['HTMLElement']);\n var zoneSymbolEventNames = {};\n var wrapFn = function (event) {\n // https://github.com/angular/zone.js/issues/911, in IE, sometimes\n // event will be undefined, so we need to use window.event\n event = event || _global.event;\n if (!event) {\n return;\n }\n var eventNameSymbol = zoneSymbolEventNames[event.type];\n if (!eventNameSymbol) {\n eventNameSymbol = zoneSymbolEventNames[event.type] = zoneSymbol('ON_PROPERTY' + event.type);\n }\n var target = this || event.target || _global;\n var listener = target[eventNameSymbol];\n var result;\n if (isBrowser && target === internalWindow && event.type === 'error') {\n // window.onerror have different signiture\n // https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror#window.onerror\n // and onerror callback will prevent default when callback return true\n var errorEvent = event;\n result = listener &&\n listener.call(this, errorEvent.message, errorEvent.filename, errorEvent.lineno, errorEvent.colno, errorEvent.error);\n if (result === true) {\n event.preventDefault();\n }\n }\n else {\n result = listener && listener.apply(this, arguments);\n if (result != undefined && !result) {\n event.preventDefault();\n }\n }\n return result;\n };\n function patchProperty(obj, prop, prototype) {\n var desc = ObjectGetOwnPropertyDescriptor(obj, prop);\n if (!desc && prototype) {\n // when patch window object, use prototype to check prop exist or not\n var prototypeDesc = ObjectGetOwnPropertyDescriptor(prototype, prop);\n if (prototypeDesc) {\n desc = { enumerable: true, configurable: true };\n }\n }\n // if the descriptor not exists or is not configurable\n // just return\n if (!desc || !desc.configurable) {\n return;\n }\n var onPropPatchedSymbol = zoneSymbol('on' + prop + 'patched');\n if (obj.hasOwnProperty(onPropPatchedSymbol) && obj[onPropPatchedSymbol]) {\n return;\n }\n // A property descriptor cannot have getter/setter and be writable\n // deleting the writable and value properties avoids this error:\n //\n // TypeError: property descriptors must not specify a value or be writable when a\n // getter or setter has been specified\n delete desc.writable;\n delete desc.value;\n var originalDescGet = desc.get;\n var originalDescSet = desc.set;\n // substr(2) cuz 'onclick' -> 'click', etc\n var eventName = prop.substr(2);\n var eventNameSymbol = zoneSymbolEventNames[eventName];\n if (!eventNameSymbol) {\n eventNameSymbol = zoneSymbolEventNames[eventName] = zoneSymbol('ON_PROPERTY' + eventName);\n }\n desc.set = function (newValue) {\n // in some of windows's onproperty callback, this is undefined\n // so we need to check it\n var target = this;\n if (!target && obj === _global) {\n target = _global;\n }\n if (!target) {\n return;\n }\n var previousValue = target[eventNameSymbol];\n if (previousValue) {\n target.removeEventListener(eventName, wrapFn);\n }\n // issue #978, when onload handler was added before loading zone.js\n // we should remove it with originalDescSet\n if (originalDescSet) {\n originalDescSet.apply(target, NULL_ON_PROP_VALUE);\n }\n if (typeof newValue === 'function') {\n target[eventNameSymbol] = newValue;\n target.addEventListener(eventName, wrapFn, false);\n }\n else {\n target[eventNameSymbol] = null;\n }\n };\n // The getter would return undefined for unassigned properties but the default value of an\n // unassigned property is null\n desc.get = function () {\n // in some of windows's onproperty callback, this is undefined\n // so we need to check it\n var target = this;\n if (!target && obj === _global) {\n target = _global;\n }\n if (!target) {\n return null;\n }\n var listener = target[eventNameSymbol];\n if (listener) {\n return listener;\n }\n else if (originalDescGet) {\n // result will be null when use inline event attribute,\n // such as \n // because the onclick function is internal raw uncompiled handler\n // the onclick will be evaluated when first time event was triggered or\n // the property is accessed, https://github.com/angular/zone.js/issues/525\n // so we should use original native get to retrieve the handler\n var value = originalDescGet && originalDescGet.call(this);\n if (value) {\n desc.set.call(this, value);\n if (typeof target[REMOVE_ATTRIBUTE] === 'function') {\n target.removeAttribute(prop);\n }\n return value;\n }\n }\n return null;\n };\n ObjectDefineProperty(obj, prop, desc);\n obj[onPropPatchedSymbol] = true;\n }\n function patchOnProperties(obj, properties, prototype) {\n if (properties) {\n for (var i = 0; i < properties.length; i++) {\n patchProperty(obj, 'on' + properties[i], prototype);\n }\n }\n else {\n var onProperties = [];\n for (var prop in obj) {\n if (prop.substr(0, 2) == 'on') {\n onProperties.push(prop);\n }\n }\n for (var j = 0; j < onProperties.length; j++) {\n patchProperty(obj, onProperties[j], prototype);\n }\n }\n }\n var originalInstanceKey = zoneSymbol('originalInstance');\n // wrap some native API on `window`\n function patchClass(className) {\n var OriginalClass = _global[className];\n if (!OriginalClass)\n return;\n // keep original class in global\n _global[zoneSymbol(className)] = OriginalClass;\n _global[className] = function () {\n var a = bindArguments(arguments, className);\n switch (a.length) {\n case 0:\n this[originalInstanceKey] = new OriginalClass();\n break;\n case 1:\n this[originalInstanceKey] = new OriginalClass(a[0]);\n break;\n case 2:\n this[originalInstanceKey] = new OriginalClass(a[0], a[1]);\n break;\n case 3:\n this[originalInstanceKey] = new OriginalClass(a[0], a[1], a[2]);\n break;\n case 4:\n this[originalInstanceKey] = new OriginalClass(a[0], a[1], a[2], a[3]);\n break;\n default:\n throw new Error('Arg list too long.');\n }\n };\n // attach original delegate to patched function\n attachOriginToPatched(_global[className], OriginalClass);\n var instance = new OriginalClass(function () { });\n var prop;\n for (prop in instance) {\n // https://bugs.webkit.org/show_bug.cgi?id=44721\n if (className === 'XMLHttpRequest' && prop === 'responseBlob')\n continue;\n (function (prop) {\n if (typeof instance[prop] === 'function') {\n _global[className].prototype[prop] = function () {\n return this[originalInstanceKey][prop].apply(this[originalInstanceKey], arguments);\n };\n }\n else {\n ObjectDefineProperty(_global[className].prototype, prop, {\n set: function (fn) {\n if (typeof fn === 'function') {\n this[originalInstanceKey][prop] = wrapWithCurrentZone(fn, className + '.' + prop);\n // keep callback in wrapped function so we can\n // use it in Function.prototype.toString to return\n // the native one.\n attachOriginToPatched(this[originalInstanceKey][prop], fn);\n }\n else {\n this[originalInstanceKey][prop] = fn;\n }\n },\n get: function () {\n return this[originalInstanceKey][prop];\n }\n });\n }\n }(prop));\n }\n for (prop in OriginalClass) {\n if (prop !== 'prototype' && OriginalClass.hasOwnProperty(prop)) {\n _global[className][prop] = OriginalClass[prop];\n }\n }\n }\n function patchMethod(target, name, patchFn) {\n var proto = target;\n while (proto && !proto.hasOwnProperty(name)) {\n proto = ObjectGetPrototypeOf(proto);\n }\n if (!proto && target[name]) {\n // somehow we did not find it, but we can see it. This happens on IE for Window properties.\n proto = target;\n }\n var delegateName = zoneSymbol(name);\n var delegate = null;\n if (proto && (!(delegate = proto[delegateName]) || !proto.hasOwnProperty(delegateName))) {\n delegate = proto[delegateName] = proto[name];\n // check whether proto[name] is writable\n // some property is readonly in safari, such as HtmlCanvasElement.prototype.toBlob\n var desc = proto && ObjectGetOwnPropertyDescriptor(proto, name);\n if (isPropertyWritable(desc)) {\n var patchDelegate_1 = patchFn(delegate, delegateName, name);\n proto[name] = function () {\n return patchDelegate_1(this, arguments);\n };\n attachOriginToPatched(proto[name], delegate);\n }\n }\n return delegate;\n }\n // TODO: @JiaLiPassion, support cancel task later if necessary\n function patchMacroTask(obj, funcName, metaCreator) {\n var setNative = null;\n function scheduleTask(task) {\n var data = task.data;\n data.args[data.cbIdx] = function () {\n task.invoke.apply(this, arguments);\n };\n setNative.apply(data.target, data.args);\n return task;\n }\n setNative = patchMethod(obj, funcName, function (delegate) { return function (self, args) {\n var meta = metaCreator(self, args);\n if (meta.cbIdx >= 0 && typeof args[meta.cbIdx] === 'function') {\n return scheduleMacroTaskWithCurrentZone(meta.name, args[meta.cbIdx], meta, scheduleTask);\n }\n else {\n // cause an error by calling it directly.\n return delegate.apply(self, args);\n }\n }; });\n }\n function attachOriginToPatched(patched, original) {\n patched[zoneSymbol('OriginalDelegate')] = original;\n }\n var isDetectedIEOrEdge = false;\n var ieOrEdge = false;\n function isIE() {\n try {\n var ua = internalWindow.navigator.userAgent;\n if (ua.indexOf('MSIE ') !== -1 || ua.indexOf('Trident/') !== -1) {\n return true;\n }\n }\n catch (error) {\n }\n return false;\n }\n function isIEOrEdge() {\n if (isDetectedIEOrEdge) {\n return ieOrEdge;\n }\n isDetectedIEOrEdge = true;\n try {\n var ua = internalWindow.navigator.userAgent;\n if (ua.indexOf('MSIE ') !== -1 || ua.indexOf('Trident/') !== -1 || ua.indexOf('Edge/') !== -1) {\n ieOrEdge = true;\n }\n }\n catch (error) {\n }\n return ieOrEdge;\n }\n /**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n Zone.__load_patch('ZoneAwarePromise', function (global, Zone, api) {\n var ObjectGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n var ObjectDefineProperty = Object.defineProperty;\n function readableObjectToString(obj) {\n if (obj && obj.toString === Object.prototype.toString) {\n var className = obj.constructor && obj.constructor.name;\n return (className ? className : '') + ': ' + JSON.stringify(obj);\n }\n return obj ? obj.toString() : Object.prototype.toString.call(obj);\n }\n var __symbol__ = api.symbol;\n var _uncaughtPromiseErrors = [];\n var isDisableWrappingUncaughtPromiseRejection = global[__symbol__('DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION')] === true;\n var symbolPromise = __symbol__('Promise');\n var symbolThen = __symbol__('then');\n var creationTrace = '__creationTrace__';\n api.onUnhandledError = function (e) {\n if (api.showUncaughtError()) {\n var rejection = e && e.rejection;\n if (rejection) {\n console.error('Unhandled Promise rejection:', rejection instanceof Error ? rejection.message : rejection, '; Zone:', e.zone.name, '; Task:', e.task && e.task.source, '; Value:', rejection, rejection instanceof Error ? rejection.stack : undefined);\n }\n else {\n console.error(e);\n }\n }\n };\n api.microtaskDrainDone = function () {\n var _loop_2 = function () {\n var uncaughtPromiseError = _uncaughtPromiseErrors.shift();\n try {\n uncaughtPromiseError.zone.runGuarded(function () {\n if (uncaughtPromiseError.throwOriginal) {\n throw uncaughtPromiseError.rejection;\n }\n throw uncaughtPromiseError;\n });\n }\n catch (error) {\n handleUnhandledRejection(error);\n }\n };\n while (_uncaughtPromiseErrors.length) {\n _loop_2();\n }\n };\n var UNHANDLED_PROMISE_REJECTION_HANDLER_SYMBOL = __symbol__('unhandledPromiseRejectionHandler');\n function handleUnhandledRejection(e) {\n api.onUnhandledError(e);\n try {\n var handler = Zone[UNHANDLED_PROMISE_REJECTION_HANDLER_SYMBOL];\n if (typeof handler === 'function') {\n handler.call(this, e);\n }\n }\n catch (err) {\n }\n }\n function isThenable(value) {\n return value && value.then;\n }\n function forwardResolution(value) {\n return value;\n }\n function forwardRejection(rejection) {\n return ZoneAwarePromise.reject(rejection);\n }\n var symbolState = __symbol__('state');\n var symbolValue = __symbol__('value');\n var symbolFinally = __symbol__('finally');\n var symbolParentPromiseValue = __symbol__('parentPromiseValue');\n var symbolParentPromiseState = __symbol__('parentPromiseState');\n var source = 'Promise.then';\n var UNRESOLVED = null;\n var RESOLVED = true;\n var REJECTED = false;\n var REJECTED_NO_CATCH = 0;\n function makeResolver(promise, state) {\n return function (v) {\n try {\n resolvePromise(promise, state, v);\n }\n catch (err) {\n resolvePromise(promise, false, err);\n }\n // Do not return value or you will break the Promise spec.\n };\n }\n var once = function () {\n var wasCalled = false;\n return function wrapper(wrappedFunction) {\n return function () {\n if (wasCalled) {\n return;\n }\n wasCalled = true;\n wrappedFunction.apply(null, arguments);\n };\n };\n };\n var TYPE_ERROR = 'Promise resolved with itself';\n var CURRENT_TASK_TRACE_SYMBOL = __symbol__('currentTaskTrace');\n // Promise Resolution\n function resolvePromise(promise, state, value) {\n var onceWrapper = once();\n if (promise === value) {\n throw new TypeError(TYPE_ERROR);\n }\n if (promise[symbolState] === UNRESOLVED) {\n // should only get value.then once based on promise spec.\n var then = null;\n try {\n if (typeof value === 'object' || typeof value === 'function') {\n then = value && value.then;\n }\n }\n catch (err) {\n onceWrapper(function () {\n resolvePromise(promise, false, err);\n })();\n return promise;\n }\n // if (value instanceof ZoneAwarePromise) {\n if (state !== REJECTED && value instanceof ZoneAwarePromise &&\n value.hasOwnProperty(symbolState) && value.hasOwnProperty(symbolValue) &&\n value[symbolState] !== UNRESOLVED) {\n clearRejectedNoCatch(value);\n resolvePromise(promise, value[symbolState], value[symbolValue]);\n }\n else if (state !== REJECTED && typeof then === 'function') {\n try {\n then.call(value, onceWrapper(makeResolver(promise, state)), onceWrapper(makeResolver(promise, false)));\n }\n catch (err) {\n onceWrapper(function () {\n resolvePromise(promise, false, err);\n })();\n }\n }\n else {\n promise[symbolState] = state;\n var queue = promise[symbolValue];\n promise[symbolValue] = value;\n if (promise[symbolFinally] === symbolFinally) {\n // the promise is generated by Promise.prototype.finally\n if (state === RESOLVED) {\n // the state is resolved, should ignore the value\n // and use parent promise value\n promise[symbolState] = promise[symbolParentPromiseState];\n promise[symbolValue] = promise[symbolParentPromiseValue];\n }\n }\n // record task information in value when error occurs, so we can\n // do some additional work such as render longStackTrace\n if (state === REJECTED && value instanceof Error) {\n // check if longStackTraceZone is here\n var trace = Zone.currentTask && Zone.currentTask.data &&\n Zone.currentTask.data[creationTrace];\n if (trace) {\n // only keep the long stack trace into error when in longStackTraceZone\n ObjectDefineProperty(value, CURRENT_TASK_TRACE_SYMBOL, { configurable: true, enumerable: false, writable: true, value: trace });\n }\n }\n for (var i = 0; i < queue.length;) {\n scheduleResolveOrReject(promise, queue[i++], queue[i++], queue[i++], queue[i++]);\n }\n if (queue.length == 0 && state == REJECTED) {\n promise[symbolState] = REJECTED_NO_CATCH;\n var uncaughtPromiseError = value;\n try {\n // Here we throws a new Error to print more readable error log\n // and if the value is not an error, zone.js builds an `Error`\n // Object here to attach the stack information.\n throw new Error('Uncaught (in promise): ' + readableObjectToString(value) +\n (value && value.stack ? '\\n' + value.stack : ''));\n }\n catch (err) {\n uncaughtPromiseError = err;\n }\n if (isDisableWrappingUncaughtPromiseRejection) {\n // If disable wrapping uncaught promise reject\n // use the value instead of wrapping it.\n uncaughtPromiseError.throwOriginal = true;\n }\n uncaughtPromiseError.rejection = value;\n uncaughtPromiseError.promise = promise;\n uncaughtPromiseError.zone = Zone.current;\n uncaughtPromiseError.task = Zone.currentTask;\n _uncaughtPromiseErrors.push(uncaughtPromiseError);\n api.scheduleMicroTask(); // to make sure that it is running\n }\n }\n }\n // Resolving an already resolved promise is a noop.\n return promise;\n }\n var REJECTION_HANDLED_HANDLER = __symbol__('rejectionHandledHandler');\n function clearRejectedNoCatch(promise) {\n if (promise[symbolState] === REJECTED_NO_CATCH) {\n // if the promise is rejected no catch status\n // and queue.length > 0, means there is a error handler\n // here to handle the rejected promise, we should trigger\n // windows.rejectionhandled eventHandler or nodejs rejectionHandled\n // eventHandler\n try {\n var handler = Zone[REJECTION_HANDLED_HANDLER];\n if (handler && typeof handler === 'function') {\n handler.call(this, { rejection: promise[symbolValue], promise: promise });\n }\n }\n catch (err) {\n }\n promise[symbolState] = REJECTED;\n for (var i = 0; i < _uncaughtPromiseErrors.length; i++) {\n if (promise === _uncaughtPromiseErrors[i].promise) {\n _uncaughtPromiseErrors.splice(i, 1);\n }\n }\n }\n }\n function scheduleResolveOrReject(promise, zone, chainPromise, onFulfilled, onRejected) {\n clearRejectedNoCatch(promise);\n var promiseState = promise[symbolState];\n var delegate = promiseState ?\n (typeof onFulfilled === 'function') ? onFulfilled : forwardResolution :\n (typeof onRejected === 'function') ? onRejected : forwardRejection;\n zone.scheduleMicroTask(source, function () {\n try {\n var parentPromiseValue = promise[symbolValue];\n var isFinallyPromise = !!chainPromise && symbolFinally === chainPromise[symbolFinally];\n if (isFinallyPromise) {\n // if the promise is generated from finally call, keep parent promise's state and value\n chainPromise[symbolParentPromiseValue] = parentPromiseValue;\n chainPromise[symbolParentPromiseState] = promiseState;\n }\n // should not pass value to finally callback\n var value = zone.run(delegate, undefined, isFinallyPromise && delegate !== forwardRejection && delegate !== forwardResolution ?\n [] :\n [parentPromiseValue]);\n resolvePromise(chainPromise, true, value);\n }\n catch (error) {\n // if error occurs, should always return this error\n resolvePromise(chainPromise, false, error);\n }\n }, chainPromise);\n }\n var ZONE_AWARE_PROMISE_TO_STRING = 'function ZoneAwarePromise() { [native code] }';\n var noop = function () { };\n var ZoneAwarePromise = /** @class */ (function () {\n function ZoneAwarePromise(executor) {\n var promise = this;\n if (!(promise instanceof ZoneAwarePromise)) {\n throw new Error('Must be an instanceof Promise.');\n }\n promise[symbolState] = UNRESOLVED;\n promise[symbolValue] = []; // queue;\n try {\n executor && executor(makeResolver(promise, RESOLVED), makeResolver(promise, REJECTED));\n }\n catch (error) {\n resolvePromise(promise, false, error);\n }\n }\n ZoneAwarePromise.toString = function () {\n return ZONE_AWARE_PROMISE_TO_STRING;\n };\n ZoneAwarePromise.resolve = function (value) {\n return resolvePromise(new this(null), RESOLVED, value);\n };\n ZoneAwarePromise.reject = function (error) {\n return resolvePromise(new this(null), REJECTED, error);\n };\n ZoneAwarePromise.race = function (values) {\n var resolve;\n var reject;\n var promise = new this(function (res, rej) {\n resolve = res;\n reject = rej;\n });\n function onResolve(value) {\n resolve(value);\n }\n function onReject(error) {\n reject(error);\n }\n for (var _i = 0, values_1 = values; _i < values_1.length; _i++) {\n var value = values_1[_i];\n if (!isThenable(value)) {\n value = this.resolve(value);\n }\n value.then(onResolve, onReject);\n }\n return promise;\n };\n ZoneAwarePromise.all = function (values) {\n return ZoneAwarePromise.allWithCallback(values);\n };\n ZoneAwarePromise.allSettled = function (values) {\n var P = this && this.prototype instanceof ZoneAwarePromise ? this : ZoneAwarePromise;\n return P.allWithCallback(values, {\n thenCallback: function (value) { return ({ status: 'fulfilled', value: value }); },\n errorCallback: function (err) { return ({ status: 'rejected', reason: err }); }\n });\n };\n ZoneAwarePromise.allWithCallback = function (values, callback) {\n var resolve;\n var reject;\n var promise = new this(function (res, rej) {\n resolve = res;\n reject = rej;\n });\n // Start at 2 to prevent prematurely resolving if .then is called immediately.\n var unresolvedCount = 2;\n var valueIndex = 0;\n var resolvedValues = [];\n var _loop_3 = function (value) {\n if (!isThenable(value)) {\n value = this_1.resolve(value);\n }\n var curValueIndex = valueIndex;\n try {\n value.then(function (value) {\n resolvedValues[curValueIndex] = callback ? callback.thenCallback(value) : value;\n unresolvedCount--;\n if (unresolvedCount === 0) {\n resolve(resolvedValues);\n }\n }, function (err) {\n if (!callback) {\n reject(err);\n }\n else {\n resolvedValues[curValueIndex] = callback.errorCallback(err);\n unresolvedCount--;\n if (unresolvedCount === 0) {\n resolve(resolvedValues);\n }\n }\n });\n }\n catch (thenErr) {\n reject(thenErr);\n }\n unresolvedCount++;\n valueIndex++;\n };\n var this_1 = this;\n for (var _i = 0, values_2 = values; _i < values_2.length; _i++) {\n var value = values_2[_i];\n _loop_3(value);\n }\n // Make the unresolvedCount zero-based again.\n unresolvedCount -= 2;\n if (unresolvedCount === 0) {\n resolve(resolvedValues);\n }\n return promise;\n };\n Object.defineProperty(ZoneAwarePromise.prototype, Symbol.toStringTag, {\n get: function () {\n return 'Promise';\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(ZoneAwarePromise.prototype, Symbol.species, {\n get: function () {\n return ZoneAwarePromise;\n },\n enumerable: false,\n configurable: true\n });\n ZoneAwarePromise.prototype.then = function (onFulfilled, onRejected) {\n var C = this.constructor[Symbol.species];\n if (!C || typeof C !== 'function') {\n C = this.constructor || ZoneAwarePromise;\n }\n var chainPromise = new C(noop);\n var zone = Zone.current;\n if (this[symbolState] == UNRESOLVED) {\n this[symbolValue].push(zone, chainPromise, onFulfilled, onRejected);\n }\n else {\n scheduleResolveOrReject(this, zone, chainPromise, onFulfilled, onRejected);\n }\n return chainPromise;\n };\n ZoneAwarePromise.prototype.catch = function (onRejected) {\n return this.then(null, onRejected);\n };\n ZoneAwarePromise.prototype.finally = function (onFinally) {\n var C = this.constructor[Symbol.species];\n if (!C || typeof C !== 'function') {\n C = ZoneAwarePromise;\n }\n var chainPromise = new C(noop);\n chainPromise[symbolFinally] = symbolFinally;\n var zone = Zone.current;\n if (this[symbolState] == UNRESOLVED) {\n this[symbolValue].push(zone, chainPromise, onFinally, onFinally);\n }\n else {\n scheduleResolveOrReject(this, zone, chainPromise, onFinally, onFinally);\n }\n return chainPromise;\n };\n return ZoneAwarePromise;\n }());\n // Protect against aggressive optimizers dropping seemingly unused properties.\n // E.g. Closure Compiler in advanced mode.\n ZoneAwarePromise['resolve'] = ZoneAwarePromise.resolve;\n ZoneAwarePromise['reject'] = ZoneAwarePromise.reject;\n ZoneAwarePromise['race'] = ZoneAwarePromise.race;\n ZoneAwarePromise['all'] = ZoneAwarePromise.all;\n var NativePromise = global[symbolPromise] = global['Promise'];\n global['Promise'] = ZoneAwarePromise;\n var symbolThenPatched = __symbol__('thenPatched');\n function patchThen(Ctor) {\n var proto = Ctor.prototype;\n var prop = ObjectGetOwnPropertyDescriptor(proto, 'then');\n if (prop && (prop.writable === false || !prop.configurable)) {\n // check Ctor.prototype.then propertyDescriptor is writable or not\n // in meteor env, writable is false, we should ignore such case\n return;\n }\n var originalThen = proto.then;\n // Keep a reference to the original method.\n proto[symbolThen] = originalThen;\n Ctor.prototype.then = function (onResolve, onReject) {\n var _this = this;\n var wrapped = new ZoneAwarePromise(function (resolve, reject) {\n originalThen.call(_this, resolve, reject);\n });\n return wrapped.then(onResolve, onReject);\n };\n Ctor[symbolThenPatched] = true;\n }\n api.patchThen = patchThen;\n function zoneify(fn) {\n return function (self, args) {\n var resultPromise = fn.apply(self, args);\n if (resultPromise instanceof ZoneAwarePromise) {\n return resultPromise;\n }\n var ctor = resultPromise.constructor;\n if (!ctor[symbolThenPatched]) {\n patchThen(ctor);\n }\n return resultPromise;\n };\n }\n if (NativePromise) {\n patchThen(NativePromise);\n patchMethod(global, 'fetch', function (delegate) { return zoneify(delegate); });\n }\n // This is not part of public API, but it is useful for tests, so we expose it.\n Promise[Zone.__symbol__('uncaughtPromiseErrors')] = _uncaughtPromiseErrors;\n return ZoneAwarePromise;\n });\n /**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n // override Function.prototype.toString to make zone.js patched function\n // look like native function\n Zone.__load_patch('toString', function (global) {\n // patch Func.prototype.toString to let them look like native\n var originalFunctionToString = Function.prototype.toString;\n var ORIGINAL_DELEGATE_SYMBOL = zoneSymbol('OriginalDelegate');\n var PROMISE_SYMBOL = zoneSymbol('Promise');\n var ERROR_SYMBOL = zoneSymbol('Error');\n var newFunctionToString = function toString() {\n if (typeof this === 'function') {\n var originalDelegate = this[ORIGINAL_DELEGATE_SYMBOL];\n if (originalDelegate) {\n if (typeof originalDelegate === 'function') {\n return originalFunctionToString.call(originalDelegate);\n }\n else {\n return Object.prototype.toString.call(originalDelegate);\n }\n }\n if (this === Promise) {\n var nativePromise = global[PROMISE_SYMBOL];\n if (nativePromise) {\n return originalFunctionToString.call(nativePromise);\n }\n }\n if (this === Error) {\n var nativeError = global[ERROR_SYMBOL];\n if (nativeError) {\n return originalFunctionToString.call(nativeError);\n }\n }\n }\n return originalFunctionToString.call(this);\n };\n newFunctionToString[ORIGINAL_DELEGATE_SYMBOL] = originalFunctionToString;\n Function.prototype.toString = newFunctionToString;\n // patch Object.prototype.toString to let them look like native\n var originalObjectToString = Object.prototype.toString;\n var PROMISE_OBJECT_TO_STRING = '[object Promise]';\n Object.prototype.toString = function () {\n if (typeof Promise === 'function' && this instanceof Promise) {\n return PROMISE_OBJECT_TO_STRING;\n }\n return originalObjectToString.call(this);\n };\n });\n /**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var passiveSupported = false;\n if (typeof window !== 'undefined') {\n try {\n var options = Object.defineProperty({}, 'passive', {\n get: function () {\n passiveSupported = true;\n }\n });\n window.addEventListener('test', options, options);\n window.removeEventListener('test', options, options);\n }\n catch (err) {\n passiveSupported = false;\n }\n }\n // an identifier to tell ZoneTask do not create a new invoke closure\n var OPTIMIZED_ZONE_EVENT_TASK_DATA = {\n useG: true\n };\n var zoneSymbolEventNames$1 = {};\n var globalSources = {};\n var EVENT_NAME_SYMBOL_REGX = new RegExp('^' + ZONE_SYMBOL_PREFIX + '(\\\\w+)(true|false)$');\n var IMMEDIATE_PROPAGATION_SYMBOL = zoneSymbol('propagationStopped');\n function prepareEventNames(eventName, eventNameToString) {\n var falseEventName = (eventNameToString ? eventNameToString(eventName) : eventName) + FALSE_STR;\n var trueEventName = (eventNameToString ? eventNameToString(eventName) : eventName) + TRUE_STR;\n var symbol = ZONE_SYMBOL_PREFIX + falseEventName;\n var symbolCapture = ZONE_SYMBOL_PREFIX + trueEventName;\n zoneSymbolEventNames$1[eventName] = {};\n zoneSymbolEventNames$1[eventName][FALSE_STR] = symbol;\n zoneSymbolEventNames$1[eventName][TRUE_STR] = symbolCapture;\n }\n function patchEventTarget(_global, apis, patchOptions) {\n var ADD_EVENT_LISTENER = (patchOptions && patchOptions.add) || ADD_EVENT_LISTENER_STR;\n var REMOVE_EVENT_LISTENER = (patchOptions && patchOptions.rm) || REMOVE_EVENT_LISTENER_STR;\n var LISTENERS_EVENT_LISTENER = (patchOptions && patchOptions.listeners) || 'eventListeners';\n var REMOVE_ALL_LISTENERS_EVENT_LISTENER = (patchOptions && patchOptions.rmAll) || 'removeAllListeners';\n var zoneSymbolAddEventListener = zoneSymbol(ADD_EVENT_LISTENER);\n var ADD_EVENT_LISTENER_SOURCE = '.' + ADD_EVENT_LISTENER + ':';\n var PREPEND_EVENT_LISTENER = 'prependListener';\n var PREPEND_EVENT_LISTENER_SOURCE = '.' + PREPEND_EVENT_LISTENER + ':';\n var invokeTask = function (task, target, event) {\n // for better performance, check isRemoved which is set\n // by removeEventListener\n if (task.isRemoved) {\n return;\n }\n var delegate = task.callback;\n if (typeof delegate === 'object' && delegate.handleEvent) {\n // create the bind version of handleEvent when invoke\n task.callback = function (event) { return delegate.handleEvent(event); };\n task.originalDelegate = delegate;\n }\n // invoke static task.invoke\n task.invoke(task, target, [event]);\n var options = task.options;\n if (options && typeof options === 'object' && options.once) {\n // if options.once is true, after invoke once remove listener here\n // only browser need to do this, nodejs eventEmitter will cal removeListener\n // inside EventEmitter.once\n var delegate_1 = task.originalDelegate ? task.originalDelegate : task.callback;\n target[REMOVE_EVENT_LISTENER].call(target, event.type, delegate_1, options);\n }\n };\n // global shared zoneAwareCallback to handle all event callback with capture = false\n var globalZoneAwareCallback = function (event) {\n // https://github.com/angular/zone.js/issues/911, in IE, sometimes\n // event will be undefined, so we need to use window.event\n event = event || _global.event;\n if (!event) {\n return;\n }\n // event.target is needed for Samsung TV and SourceBuffer\n // || global is needed https://github.com/angular/zone.js/issues/190\n var target = this || event.target || _global;\n var tasks = target[zoneSymbolEventNames$1[event.type][FALSE_STR]];\n if (tasks) {\n // invoke all tasks which attached to current target with given event.type and capture = false\n // for performance concern, if task.length === 1, just invoke\n if (tasks.length === 1) {\n invokeTask(tasks[0], target, event);\n }\n else {\n // https://github.com/angular/zone.js/issues/836\n // copy the tasks array before invoke, to avoid\n // the callback will remove itself or other listener\n var copyTasks = tasks.slice();\n for (var i = 0; i < copyTasks.length; i++) {\n if (event && event[IMMEDIATE_PROPAGATION_SYMBOL] === true) {\n break;\n }\n invokeTask(copyTasks[i], target, event);\n }\n }\n }\n };\n // global shared zoneAwareCallback to handle all event callback with capture = true\n var globalZoneAwareCaptureCallback = function (event) {\n // https://github.com/angular/zone.js/issues/911, in IE, sometimes\n // event will be undefined, so we need to use window.event\n event = event || _global.event;\n if (!event) {\n return;\n }\n // event.target is needed for Samsung TV and SourceBuffer\n // || global is needed https://github.com/angular/zone.js/issues/190\n var target = this || event.target || _global;\n var tasks = target[zoneSymbolEventNames$1[event.type][TRUE_STR]];\n if (tasks) {\n // invoke all tasks which attached to current target with given event.type and capture = false\n // for performance concern, if task.length === 1, just invoke\n if (tasks.length === 1) {\n invokeTask(tasks[0], target, event);\n }\n else {\n // https://github.com/angular/zone.js/issues/836\n // copy the tasks array before invoke, to avoid\n // the callback will remove itself or other listener\n var copyTasks = tasks.slice();\n for (var i = 0; i < copyTasks.length; i++) {\n if (event && event[IMMEDIATE_PROPAGATION_SYMBOL] === true) {\n break;\n }\n invokeTask(copyTasks[i], target, event);\n }\n }\n }\n };\n function patchEventTargetMethods(obj, patchOptions) {\n if (!obj) {\n return false;\n }\n var useGlobalCallback = true;\n if (patchOptions && patchOptions.useG !== undefined) {\n useGlobalCallback = patchOptions.useG;\n }\n var validateHandler = patchOptions && patchOptions.vh;\n var checkDuplicate = true;\n if (patchOptions && patchOptions.chkDup !== undefined) {\n checkDuplicate = patchOptions.chkDup;\n }\n var returnTarget = false;\n if (patchOptions && patchOptions.rt !== undefined) {\n returnTarget = patchOptions.rt;\n }\n var proto = obj;\n while (proto && !proto.hasOwnProperty(ADD_EVENT_LISTENER)) {\n proto = ObjectGetPrototypeOf(proto);\n }\n if (!proto && obj[ADD_EVENT_LISTENER]) {\n // somehow we did not find it, but we can see it. This happens on IE for Window properties.\n proto = obj;\n }\n if (!proto) {\n return false;\n }\n if (proto[zoneSymbolAddEventListener]) {\n return false;\n }\n var eventNameToString = patchOptions && patchOptions.eventNameToString;\n // a shared global taskData to pass data for scheduleEventTask\n // so we do not need to create a new object just for pass some data\n var taskData = {};\n var nativeAddEventListener = proto[zoneSymbolAddEventListener] = proto[ADD_EVENT_LISTENER];\n var nativeRemoveEventListener = proto[zoneSymbol(REMOVE_EVENT_LISTENER)] =\n proto[REMOVE_EVENT_LISTENER];\n var nativeListeners = proto[zoneSymbol(LISTENERS_EVENT_LISTENER)] =\n proto[LISTENERS_EVENT_LISTENER];\n var nativeRemoveAllListeners = proto[zoneSymbol(REMOVE_ALL_LISTENERS_EVENT_LISTENER)] =\n proto[REMOVE_ALL_LISTENERS_EVENT_LISTENER];\n var nativePrependEventListener;\n if (patchOptions && patchOptions.prepend) {\n nativePrependEventListener = proto[zoneSymbol(patchOptions.prepend)] =\n proto[patchOptions.prepend];\n }\n /**\n * This util function will build an option object with passive option\n * to handle all possible input from the user.\n */\n function buildEventListenerOptions(options, passive) {\n if (!passiveSupported && typeof options === 'object' && options) {\n // doesn't support passive but user want to pass an object as options.\n // this will not work on some old browser, so we just pass a boolean\n // as useCapture parameter\n return !!options.capture;\n }\n if (!passiveSupported || !passive) {\n return options;\n }\n if (typeof options === 'boolean') {\n return { capture: options, passive: true };\n }\n if (!options) {\n return { passive: true };\n }\n if (typeof options === 'object' && options.passive !== false) {\n return Object.assign(Object.assign({}, options), { passive: true });\n }\n return options;\n }\n var customScheduleGlobal = function (task) {\n // if there is already a task for the eventName + capture,\n // just return, because we use the shared globalZoneAwareCallback here.\n if (taskData.isExisting) {\n return;\n }\n return nativeAddEventListener.call(taskData.target, taskData.eventName, taskData.capture ? globalZoneAwareCaptureCallback : globalZoneAwareCallback, taskData.options);\n };\n var customCancelGlobal = function (task) {\n // if task is not marked as isRemoved, this call is directly\n // from Zone.prototype.cancelTask, we should remove the task\n // from tasksList of target first\n if (!task.isRemoved) {\n var symbolEventNames = zoneSymbolEventNames$1[task.eventName];\n var symbolEventName = void 0;\n if (symbolEventNames) {\n symbolEventName = symbolEventNames[task.capture ? TRUE_STR : FALSE_STR];\n }\n var existingTasks = symbolEventName && task.target[symbolEventName];\n if (existingTasks) {\n for (var i = 0; i < existingTasks.length; i++) {\n var existingTask = existingTasks[i];\n if (existingTask === task) {\n existingTasks.splice(i, 1);\n // set isRemoved to data for faster invokeTask check\n task.isRemoved = true;\n if (existingTasks.length === 0) {\n // all tasks for the eventName + capture have gone,\n // remove globalZoneAwareCallback and remove the task cache from target\n task.allRemoved = true;\n task.target[symbolEventName] = null;\n }\n break;\n }\n }\n }\n }\n // if all tasks for the eventName + capture have gone,\n // we will really remove the global event callback,\n // if not, return\n if (!task.allRemoved) {\n return;\n }\n return nativeRemoveEventListener.call(task.target, task.eventName, task.capture ? globalZoneAwareCaptureCallback : globalZoneAwareCallback, task.options);\n };\n var customScheduleNonGlobal = function (task) {\n return nativeAddEventListener.call(taskData.target, taskData.eventName, task.invoke, taskData.options);\n };\n var customSchedulePrepend = function (task) {\n return nativePrependEventListener.call(taskData.target, taskData.eventName, task.invoke, taskData.options);\n };\n var customCancelNonGlobal = function (task) {\n return nativeRemoveEventListener.call(task.target, task.eventName, task.invoke, task.options);\n };\n var customSchedule = useGlobalCallback ? customScheduleGlobal : customScheduleNonGlobal;\n var customCancel = useGlobalCallback ? customCancelGlobal : customCancelNonGlobal;\n var compareTaskCallbackVsDelegate = function (task, delegate) {\n var typeOfDelegate = typeof delegate;\n return (typeOfDelegate === 'function' && task.callback === delegate) ||\n (typeOfDelegate === 'object' && task.originalDelegate === delegate);\n };\n var compare = (patchOptions && patchOptions.diff) ? patchOptions.diff : compareTaskCallbackVsDelegate;\n var unpatchedEvents = Zone[zoneSymbol('UNPATCHED_EVENTS')];\n var passiveEvents = _global[zoneSymbol('PASSIVE_EVENTS')];\n var makeAddListener = function (nativeListener, addSource, customScheduleFn, customCancelFn, returnTarget, prepend) {\n if (returnTarget === void 0) { returnTarget = false; }\n if (prepend === void 0) { prepend = false; }\n return function () {\n var target = this || _global;\n var eventName = arguments[0];\n if (patchOptions && patchOptions.transferEventName) {\n eventName = patchOptions.transferEventName(eventName);\n }\n var delegate = arguments[1];\n if (!delegate) {\n return nativeListener.apply(this, arguments);\n }\n if (isNode && eventName === 'uncaughtException') {\n // don't patch uncaughtException of nodejs to prevent endless loop\n return nativeListener.apply(this, arguments);\n }\n // don't create the bind delegate function for handleEvent\n // case here to improve addEventListener performance\n // we will create the bind delegate when invoke\n var isHandleEvent = false;\n if (typeof delegate !== 'function') {\n if (!delegate.handleEvent) {\n return nativeListener.apply(this, arguments);\n }\n isHandleEvent = true;\n }\n if (validateHandler && !validateHandler(nativeListener, delegate, target, arguments)) {\n return;\n }\n var passive = passiveSupported && !!passiveEvents && passiveEvents.indexOf(eventName) !== -1;\n var options = buildEventListenerOptions(arguments[2], passive);\n if (unpatchedEvents) {\n // check upatched list\n for (var i = 0; i < unpatchedEvents.length; i++) {\n if (eventName === unpatchedEvents[i]) {\n if (passive) {\n return nativeListener.call(target, eventName, delegate, options);\n }\n else {\n return nativeListener.apply(this, arguments);\n }\n }\n }\n }\n var capture = !options ? false : typeof options === 'boolean' ? true : options.capture;\n var once = options && typeof options === 'object' ? options.once : false;\n var zone = Zone.current;\n var symbolEventNames = zoneSymbolEventNames$1[eventName];\n if (!symbolEventNames) {\n prepareEventNames(eventName, eventNameToString);\n symbolEventNames = zoneSymbolEventNames$1[eventName];\n }\n var symbolEventName = symbolEventNames[capture ? TRUE_STR : FALSE_STR];\n var existingTasks = target[symbolEventName];\n var isExisting = false;\n if (existingTasks) {\n // already have task registered\n isExisting = true;\n if (checkDuplicate) {\n for (var i = 0; i < existingTasks.length; i++) {\n if (compare(existingTasks[i], delegate)) {\n // same callback, same capture, same event name, just return\n return;\n }\n }\n }\n }\n else {\n existingTasks = target[symbolEventName] = [];\n }\n var source;\n var constructorName = target.constructor['name'];\n var targetSource = globalSources[constructorName];\n if (targetSource) {\n source = targetSource[eventName];\n }\n if (!source) {\n source = constructorName + addSource +\n (eventNameToString ? eventNameToString(eventName) : eventName);\n }\n // do not create a new object as task.data to pass those things\n // just use the global shared one\n taskData.options = options;\n if (once) {\n // if addEventListener with once options, we don't pass it to\n // native addEventListener, instead we keep the once setting\n // and handle ourselves.\n taskData.options.once = false;\n }\n taskData.target = target;\n taskData.capture = capture;\n taskData.eventName = eventName;\n taskData.isExisting = isExisting;\n var data = useGlobalCallback ? OPTIMIZED_ZONE_EVENT_TASK_DATA : undefined;\n // keep taskData into data to allow onScheduleEventTask to access the task information\n if (data) {\n data.taskData = taskData;\n }\n var task = zone.scheduleEventTask(source, delegate, data, customScheduleFn, customCancelFn);\n // should clear taskData.target to avoid memory leak\n // issue, https://github.com/angular/angular/issues/20442\n taskData.target = null;\n // need to clear up taskData because it is a global object\n if (data) {\n data.taskData = null;\n }\n // have to save those information to task in case\n // application may call task.zone.cancelTask() directly\n if (once) {\n options.once = true;\n }\n if (!(!passiveSupported && typeof task.options === 'boolean')) {\n // if not support passive, and we pass an option object\n // to addEventListener, we should save the options to task\n task.options = options;\n }\n task.target = target;\n task.capture = capture;\n task.eventName = eventName;\n if (isHandleEvent) {\n // save original delegate for compare to check duplicate\n task.originalDelegate = delegate;\n }\n if (!prepend) {\n existingTasks.push(task);\n }\n else {\n existingTasks.unshift(task);\n }\n if (returnTarget) {\n return target;\n }\n };\n };\n proto[ADD_EVENT_LISTENER] = makeAddListener(nativeAddEventListener, ADD_EVENT_LISTENER_SOURCE, customSchedule, customCancel, returnTarget);\n if (nativePrependEventListener) {\n proto[PREPEND_EVENT_LISTENER] = makeAddListener(nativePrependEventListener, PREPEND_EVENT_LISTENER_SOURCE, customSchedulePrepend, customCancel, returnTarget, true);\n }\n proto[REMOVE_EVENT_LISTENER] = function () {\n var target = this || _global;\n var eventName = arguments[0];\n if (patchOptions && patchOptions.transferEventName) {\n eventName = patchOptions.transferEventName(eventName);\n }\n var options = arguments[2];\n var capture = !options ? false : typeof options === 'boolean' ? true : options.capture;\n var delegate = arguments[1];\n if (!delegate) {\n return nativeRemoveEventListener.apply(this, arguments);\n }\n if (validateHandler &&\n !validateHandler(nativeRemoveEventListener, delegate, target, arguments)) {\n return;\n }\n var symbolEventNames = zoneSymbolEventNames$1[eventName];\n var symbolEventName;\n if (symbolEventNames) {\n symbolEventName = symbolEventNames[capture ? TRUE_STR : FALSE_STR];\n }\n var existingTasks = symbolEventName && target[symbolEventName];\n if (existingTasks) {\n for (var i = 0; i < existingTasks.length; i++) {\n var existingTask = existingTasks[i];\n if (compare(existingTask, delegate)) {\n existingTasks.splice(i, 1);\n // set isRemoved to data for faster invokeTask check\n existingTask.isRemoved = true;\n if (existingTasks.length === 0) {\n // all tasks for the eventName + capture have gone,\n // remove globalZoneAwareCallback and remove the task cache from target\n existingTask.allRemoved = true;\n target[symbolEventName] = null;\n // in the target, we have an event listener which is added by on_property\n // such as target.onclick = function() {}, so we need to clear this internal\n // property too if all delegates all removed\n if (typeof eventName === 'string') {\n var onPropertySymbol = ZONE_SYMBOL_PREFIX + 'ON_PROPERTY' + eventName;\n target[onPropertySymbol] = null;\n }\n }\n existingTask.zone.cancelTask(existingTask);\n if (returnTarget) {\n return target;\n }\n return;\n }\n }\n }\n // issue 930, didn't find the event name or callback\n // from zone kept existingTasks, the callback maybe\n // added outside of zone, we need to call native removeEventListener\n // to try to remove it.\n return nativeRemoveEventListener.apply(this, arguments);\n };\n proto[LISTENERS_EVENT_LISTENER] = function () {\n var target = this || _global;\n var eventName = arguments[0];\n if (patchOptions && patchOptions.transferEventName) {\n eventName = patchOptions.transferEventName(eventName);\n }\n var listeners = [];\n var tasks = findEventTasks(target, eventNameToString ? eventNameToString(eventName) : eventName);\n for (var i = 0; i < tasks.length; i++) {\n var task = tasks[i];\n var delegate = task.originalDelegate ? task.originalDelegate : task.callback;\n listeners.push(delegate);\n }\n return listeners;\n };\n proto[REMOVE_ALL_LISTENERS_EVENT_LISTENER] = function () {\n var target = this || _global;\n var eventName = arguments[0];\n if (!eventName) {\n var keys = Object.keys(target);\n for (var i = 0; i < keys.length; i++) {\n var prop = keys[i];\n var match = EVENT_NAME_SYMBOL_REGX.exec(prop);\n var evtName = match && match[1];\n // in nodejs EventEmitter, removeListener event is\n // used for monitoring the removeListener call,\n // so just keep removeListener eventListener until\n // all other eventListeners are removed\n if (evtName && evtName !== 'removeListener') {\n this[REMOVE_ALL_LISTENERS_EVENT_LISTENER].call(this, evtName);\n }\n }\n // remove removeListener listener finally\n this[REMOVE_ALL_LISTENERS_EVENT_LISTENER].call(this, 'removeListener');\n }\n else {\n if (patchOptions && patchOptions.transferEventName) {\n eventName = patchOptions.transferEventName(eventName);\n }\n var symbolEventNames = zoneSymbolEventNames$1[eventName];\n if (symbolEventNames) {\n var symbolEventName = symbolEventNames[FALSE_STR];\n var symbolCaptureEventName = symbolEventNames[TRUE_STR];\n var tasks = target[symbolEventName];\n var captureTasks = target[symbolCaptureEventName];\n if (tasks) {\n var removeTasks = tasks.slice();\n for (var i = 0; i < removeTasks.length; i++) {\n var task = removeTasks[i];\n var delegate = task.originalDelegate ? task.originalDelegate : task.callback;\n this[REMOVE_EVENT_LISTENER].call(this, eventName, delegate, task.options);\n }\n }\n if (captureTasks) {\n var removeTasks = captureTasks.slice();\n for (var i = 0; i < removeTasks.length; i++) {\n var task = removeTasks[i];\n var delegate = task.originalDelegate ? task.originalDelegate : task.callback;\n this[REMOVE_EVENT_LISTENER].call(this, eventName, delegate, task.options);\n }\n }\n }\n }\n if (returnTarget) {\n return this;\n }\n };\n // for native toString patch\n attachOriginToPatched(proto[ADD_EVENT_LISTENER], nativeAddEventListener);\n attachOriginToPatched(proto[REMOVE_EVENT_LISTENER], nativeRemoveEventListener);\n if (nativeRemoveAllListeners) {\n attachOriginToPatched(proto[REMOVE_ALL_LISTENERS_EVENT_LISTENER], nativeRemoveAllListeners);\n }\n if (nativeListeners) {\n attachOriginToPatched(proto[LISTENERS_EVENT_LISTENER], nativeListeners);\n }\n return true;\n }\n var results = [];\n for (var i = 0; i < apis.length; i++) {\n results[i] = patchEventTargetMethods(apis[i], patchOptions);\n }\n return results;\n }\n function findEventTasks(target, eventName) {\n if (!eventName) {\n var foundTasks = [];\n for (var prop in target) {\n var match = EVENT_NAME_SYMBOL_REGX.exec(prop);\n var evtName = match && match[1];\n if (evtName && (!eventName || evtName === eventName)) {\n var tasks = target[prop];\n if (tasks) {\n for (var i = 0; i < tasks.length; i++) {\n foundTasks.push(tasks[i]);\n }\n }\n }\n }\n return foundTasks;\n }\n var symbolEventName = zoneSymbolEventNames$1[eventName];\n if (!symbolEventName) {\n prepareEventNames(eventName);\n symbolEventName = zoneSymbolEventNames$1[eventName];\n }\n var captureFalseTasks = target[symbolEventName[FALSE_STR]];\n var captureTrueTasks = target[symbolEventName[TRUE_STR]];\n if (!captureFalseTasks) {\n return captureTrueTasks ? captureTrueTasks.slice() : [];\n }\n else {\n return captureTrueTasks ? captureFalseTasks.concat(captureTrueTasks) :\n captureFalseTasks.slice();\n }\n }\n function patchEventPrototype(global, api) {\n var Event = global['Event'];\n if (Event && Event.prototype) {\n api.patchMethod(Event.prototype, 'stopImmediatePropagation', function (delegate) { return function (self, args) {\n self[IMMEDIATE_PROPAGATION_SYMBOL] = true;\n // we need to call the native stopImmediatePropagation\n // in case in some hybrid application, some part of\n // application will be controlled by zone, some are not\n delegate && delegate.apply(self, args);\n }; });\n }\n }\n /**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n function patchCallbacks(api, target, targetName, method, callbacks) {\n var symbol = Zone.__symbol__(method);\n if (target[symbol]) {\n return;\n }\n var nativeDelegate = target[symbol] = target[method];\n target[method] = function (name, opts, options) {\n if (opts && opts.prototype) {\n callbacks.forEach(function (callback) {\n var source = targetName + \".\" + method + \"::\" + callback;\n var prototype = opts.prototype;\n if (prototype.hasOwnProperty(callback)) {\n var descriptor = api.ObjectGetOwnPropertyDescriptor(prototype, callback);\n if (descriptor && descriptor.value) {\n descriptor.value = api.wrapWithCurrentZone(descriptor.value, source);\n api._redefineProperty(opts.prototype, callback, descriptor);\n }\n else if (prototype[callback]) {\n prototype[callback] = api.wrapWithCurrentZone(prototype[callback], source);\n }\n }\n else if (prototype[callback]) {\n prototype[callback] = api.wrapWithCurrentZone(prototype[callback], source);\n }\n });\n }\n return nativeDelegate.call(target, name, opts, options);\n };\n api.attachOriginToPatched(target[method], nativeDelegate);\n }\n /**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var globalEventHandlersEventNames = [\n 'abort',\n 'animationcancel',\n 'animationend',\n 'animationiteration',\n 'auxclick',\n 'beforeinput',\n 'blur',\n 'cancel',\n 'canplay',\n 'canplaythrough',\n 'change',\n 'compositionstart',\n 'compositionupdate',\n 'compositionend',\n 'cuechange',\n 'click',\n 'close',\n 'contextmenu',\n 'curechange',\n 'dblclick',\n 'drag',\n 'dragend',\n 'dragenter',\n 'dragexit',\n 'dragleave',\n 'dragover',\n 'drop',\n 'durationchange',\n 'emptied',\n 'ended',\n 'error',\n 'focus',\n 'focusin',\n 'focusout',\n 'gotpointercapture',\n 'input',\n 'invalid',\n 'keydown',\n 'keypress',\n 'keyup',\n 'load',\n 'loadstart',\n 'loadeddata',\n 'loadedmetadata',\n 'lostpointercapture',\n 'mousedown',\n 'mouseenter',\n 'mouseleave',\n 'mousemove',\n 'mouseout',\n 'mouseover',\n 'mouseup',\n 'mousewheel',\n 'orientationchange',\n 'pause',\n 'play',\n 'playing',\n 'pointercancel',\n 'pointerdown',\n 'pointerenter',\n 'pointerleave',\n 'pointerlockchange',\n 'mozpointerlockchange',\n 'webkitpointerlockerchange',\n 'pointerlockerror',\n 'mozpointerlockerror',\n 'webkitpointerlockerror',\n 'pointermove',\n 'pointout',\n 'pointerover',\n 'pointerup',\n 'progress',\n 'ratechange',\n 'reset',\n 'resize',\n 'scroll',\n 'seeked',\n 'seeking',\n 'select',\n 'selectionchange',\n 'selectstart',\n 'show',\n 'sort',\n 'stalled',\n 'submit',\n 'suspend',\n 'timeupdate',\n 'volumechange',\n 'touchcancel',\n 'touchmove',\n 'touchstart',\n 'touchend',\n 'transitioncancel',\n 'transitionend',\n 'waiting',\n 'wheel'\n ];\n var documentEventNames = [\n 'afterscriptexecute', 'beforescriptexecute', 'DOMContentLoaded', 'freeze', 'fullscreenchange',\n 'mozfullscreenchange', 'webkitfullscreenchange', 'msfullscreenchange', 'fullscreenerror',\n 'mozfullscreenerror', 'webkitfullscreenerror', 'msfullscreenerror', 'readystatechange',\n 'visibilitychange', 'resume'\n ];\n var windowEventNames = [\n 'absolutedeviceorientation',\n 'afterinput',\n 'afterprint',\n 'appinstalled',\n 'beforeinstallprompt',\n 'beforeprint',\n 'beforeunload',\n 'devicelight',\n 'devicemotion',\n 'deviceorientation',\n 'deviceorientationabsolute',\n 'deviceproximity',\n 'hashchange',\n 'languagechange',\n 'message',\n 'mozbeforepaint',\n 'offline',\n 'online',\n 'paint',\n 'pageshow',\n 'pagehide',\n 'popstate',\n 'rejectionhandled',\n 'storage',\n 'unhandledrejection',\n 'unload',\n 'userproximity',\n 'vrdisplayconnected',\n 'vrdisplaydisconnected',\n 'vrdisplaypresentchange'\n ];\n var htmlElementEventNames = [\n 'beforecopy', 'beforecut', 'beforepaste', 'copy', 'cut', 'paste', 'dragstart', 'loadend',\n 'animationstart', 'search', 'transitionrun', 'transitionstart', 'webkitanimationend',\n 'webkitanimationiteration', 'webkitanimationstart', 'webkittransitionend'\n ];\n var mediaElementEventNames = ['encrypted', 'waitingforkey', 'msneedkey', 'mozinterruptbegin', 'mozinterruptend'];\n var ieElementEventNames = [\n 'activate',\n 'afterupdate',\n 'ariarequest',\n 'beforeactivate',\n 'beforedeactivate',\n 'beforeeditfocus',\n 'beforeupdate',\n 'cellchange',\n 'controlselect',\n 'dataavailable',\n 'datasetchanged',\n 'datasetcomplete',\n 'errorupdate',\n 'filterchange',\n 'layoutcomplete',\n 'losecapture',\n 'move',\n 'moveend',\n 'movestart',\n 'propertychange',\n 'resizeend',\n 'resizestart',\n 'rowenter',\n 'rowexit',\n 'rowsdelete',\n 'rowsinserted',\n 'command',\n 'compassneedscalibration',\n 'deactivate',\n 'help',\n 'mscontentzoom',\n 'msmanipulationstatechanged',\n 'msgesturechange',\n 'msgesturedoubletap',\n 'msgestureend',\n 'msgesturehold',\n 'msgesturestart',\n 'msgesturetap',\n 'msgotpointercapture',\n 'msinertiastart',\n 'mslostpointercapture',\n 'mspointercancel',\n 'mspointerdown',\n 'mspointerenter',\n 'mspointerhover',\n 'mspointerleave',\n 'mspointermove',\n 'mspointerout',\n 'mspointerover',\n 'mspointerup',\n 'pointerout',\n 'mssitemodejumplistitemremoved',\n 'msthumbnailclick',\n 'stop',\n 'storagecommit'\n ];\n var webglEventNames = ['webglcontextrestored', 'webglcontextlost', 'webglcontextcreationerror'];\n var formEventNames = ['autocomplete', 'autocompleteerror'];\n var detailEventNames = ['toggle'];\n var frameEventNames = ['load'];\n var frameSetEventNames = ['blur', 'error', 'focus', 'load', 'resize', 'scroll', 'messageerror'];\n var marqueeEventNames = ['bounce', 'finish', 'start'];\n var XMLHttpRequestEventNames = [\n 'loadstart', 'progress', 'abort', 'error', 'load', 'progress', 'timeout', 'loadend',\n 'readystatechange'\n ];\n var IDBIndexEventNames = ['upgradeneeded', 'complete', 'abort', 'success', 'error', 'blocked', 'versionchange', 'close'];\n var websocketEventNames = ['close', 'error', 'open', 'message'];\n var workerEventNames = ['error', 'message'];\n var eventNames = globalEventHandlersEventNames.concat(webglEventNames, formEventNames, detailEventNames, documentEventNames, windowEventNames, htmlElementEventNames, ieElementEventNames);\n function filterProperties(target, onProperties, ignoreProperties) {\n if (!ignoreProperties || ignoreProperties.length === 0) {\n return onProperties;\n }\n var tip = ignoreProperties.filter(function (ip) { return ip.target === target; });\n if (!tip || tip.length === 0) {\n return onProperties;\n }\n var targetIgnoreProperties = tip[0].ignoreProperties;\n return onProperties.filter(function (op) { return targetIgnoreProperties.indexOf(op) === -1; });\n }\n function patchFilteredProperties(target, onProperties, ignoreProperties, prototype) {\n // check whether target is available, sometimes target will be undefined\n // because different browser or some 3rd party plugin.\n if (!target) {\n return;\n }\n var filteredProperties = filterProperties(target, onProperties, ignoreProperties);\n patchOnProperties(target, filteredProperties, prototype);\n }\n function propertyDescriptorPatch(api, _global) {\n if (isNode && !isMix) {\n return;\n }\n if (Zone[api.symbol('patchEvents')]) {\n // events are already been patched by legacy patch.\n return;\n }\n var supportsWebSocket = typeof WebSocket !== 'undefined';\n var ignoreProperties = _global['__Zone_ignore_on_properties'];\n // for browsers that we can patch the descriptor: Chrome & Firefox\n if (isBrowser) {\n var internalWindow_1 = window;\n var ignoreErrorProperties = isIE() ? [{ target: internalWindow_1, ignoreProperties: ['error'] }] : [];\n // in IE/Edge, onProp not exist in window object, but in WindowPrototype\n // so we need to pass WindowPrototype to check onProp exist or not\n patchFilteredProperties(internalWindow_1, eventNames.concat(['messageerror']), ignoreProperties ? ignoreProperties.concat(ignoreErrorProperties) : ignoreProperties, ObjectGetPrototypeOf(internalWindow_1));\n patchFilteredProperties(Document.prototype, eventNames, ignoreProperties);\n if (typeof internalWindow_1['SVGElement'] !== 'undefined') {\n patchFilteredProperties(internalWindow_1['SVGElement'].prototype, eventNames, ignoreProperties);\n }\n patchFilteredProperties(Element.prototype, eventNames, ignoreProperties);\n patchFilteredProperties(HTMLElement.prototype, eventNames, ignoreProperties);\n patchFilteredProperties(HTMLMediaElement.prototype, mediaElementEventNames, ignoreProperties);\n patchFilteredProperties(HTMLFrameSetElement.prototype, windowEventNames.concat(frameSetEventNames), ignoreProperties);\n patchFilteredProperties(HTMLBodyElement.prototype, windowEventNames.concat(frameSetEventNames), ignoreProperties);\n patchFilteredProperties(HTMLFrameElement.prototype, frameEventNames, ignoreProperties);\n patchFilteredProperties(HTMLIFrameElement.prototype, frameEventNames, ignoreProperties);\n var HTMLMarqueeElement_1 = internalWindow_1['HTMLMarqueeElement'];\n if (HTMLMarqueeElement_1) {\n patchFilteredProperties(HTMLMarqueeElement_1.prototype, marqueeEventNames, ignoreProperties);\n }\n var Worker_1 = internalWindow_1['Worker'];\n if (Worker_1) {\n patchFilteredProperties(Worker_1.prototype, workerEventNames, ignoreProperties);\n }\n }\n var XMLHttpRequest = _global['XMLHttpRequest'];\n if (XMLHttpRequest) {\n // XMLHttpRequest is not available in ServiceWorker, so we need to check here\n patchFilteredProperties(XMLHttpRequest.prototype, XMLHttpRequestEventNames, ignoreProperties);\n }\n var XMLHttpRequestEventTarget = _global['XMLHttpRequestEventTarget'];\n if (XMLHttpRequestEventTarget) {\n patchFilteredProperties(XMLHttpRequestEventTarget && XMLHttpRequestEventTarget.prototype, XMLHttpRequestEventNames, ignoreProperties);\n }\n if (typeof IDBIndex !== 'undefined') {\n patchFilteredProperties(IDBIndex.prototype, IDBIndexEventNames, ignoreProperties);\n patchFilteredProperties(IDBRequest.prototype, IDBIndexEventNames, ignoreProperties);\n patchFilteredProperties(IDBOpenDBRequest.prototype, IDBIndexEventNames, ignoreProperties);\n patchFilteredProperties(IDBDatabase.prototype, IDBIndexEventNames, ignoreProperties);\n patchFilteredProperties(IDBTransaction.prototype, IDBIndexEventNames, ignoreProperties);\n patchFilteredProperties(IDBCursor.prototype, IDBIndexEventNames, ignoreProperties);\n }\n if (supportsWebSocket) {\n patchFilteredProperties(WebSocket.prototype, websocketEventNames, ignoreProperties);\n }\n }\n /**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n Zone.__load_patch('util', function (global, Zone, api) {\n api.patchOnProperties = patchOnProperties;\n api.patchMethod = patchMethod;\n api.bindArguments = bindArguments;\n api.patchMacroTask = patchMacroTask;\n // In earlier version of zone.js (<0.9.0), we use env name `__zone_symbol__BLACK_LISTED_EVENTS` to\n // define which events will not be patched by `Zone.js`.\n // In newer version (>=0.9.0), we change the env name to `__zone_symbol__UNPATCHED_EVENTS` to keep\n // the name consistent with angular repo.\n // The `__zone_symbol__BLACK_LISTED_EVENTS` is deprecated, but it is still be supported for\n // backwards compatibility.\n var SYMBOL_BLACK_LISTED_EVENTS = Zone.__symbol__('BLACK_LISTED_EVENTS');\n var SYMBOL_UNPATCHED_EVENTS = Zone.__symbol__('UNPATCHED_EVENTS');\n if (global[SYMBOL_UNPATCHED_EVENTS]) {\n global[SYMBOL_BLACK_LISTED_EVENTS] = global[SYMBOL_UNPATCHED_EVENTS];\n }\n if (global[SYMBOL_BLACK_LISTED_EVENTS]) {\n Zone[SYMBOL_BLACK_LISTED_EVENTS] = Zone[SYMBOL_UNPATCHED_EVENTS] =\n global[SYMBOL_BLACK_LISTED_EVENTS];\n }\n api.patchEventPrototype = patchEventPrototype;\n api.patchEventTarget = patchEventTarget;\n api.isIEOrEdge = isIEOrEdge;\n api.ObjectDefineProperty = ObjectDefineProperty;\n api.ObjectGetOwnPropertyDescriptor = ObjectGetOwnPropertyDescriptor;\n api.ObjectCreate = ObjectCreate;\n api.ArraySlice = ArraySlice;\n api.patchClass = patchClass;\n api.wrapWithCurrentZone = wrapWithCurrentZone;\n api.filterProperties = filterProperties;\n api.attachOriginToPatched = attachOriginToPatched;\n api._redefineProperty = Object.defineProperty;\n api.patchCallbacks = patchCallbacks;\n api.getGlobalObjects = function () { return ({\n globalSources: globalSources,\n zoneSymbolEventNames: zoneSymbolEventNames$1,\n eventNames: eventNames,\n isBrowser: isBrowser,\n isMix: isMix,\n isNode: isNode,\n TRUE_STR: TRUE_STR,\n FALSE_STR: FALSE_STR,\n ZONE_SYMBOL_PREFIX: ZONE_SYMBOL_PREFIX,\n ADD_EVENT_LISTENER_STR: ADD_EVENT_LISTENER_STR,\n REMOVE_EVENT_LISTENER_STR: REMOVE_EVENT_LISTENER_STR\n }); };\n });\n /**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n /*\n * This is necessary for Chrome and Chrome mobile, to enable\n * things like redefining `createdCallback` on an element.\n */\n var zoneSymbol$1;\n var _defineProperty;\n var _getOwnPropertyDescriptor;\n var _create;\n var unconfigurablesKey;\n function propertyPatch() {\n zoneSymbol$1 = Zone.__symbol__;\n _defineProperty = Object[zoneSymbol$1('defineProperty')] = Object.defineProperty;\n _getOwnPropertyDescriptor = Object[zoneSymbol$1('getOwnPropertyDescriptor')] =\n Object.getOwnPropertyDescriptor;\n _create = Object.create;\n unconfigurablesKey = zoneSymbol$1('unconfigurables');\n Object.defineProperty = function (obj, prop, desc) {\n if (isUnconfigurable(obj, prop)) {\n throw new TypeError('Cannot assign to read only property \\'' + prop + '\\' of ' + obj);\n }\n var originalConfigurableFlag = desc.configurable;\n if (prop !== 'prototype') {\n desc = rewriteDescriptor(obj, prop, desc);\n }\n return _tryDefineProperty(obj, prop, desc, originalConfigurableFlag);\n };\n Object.defineProperties = function (obj, props) {\n Object.keys(props).forEach(function (prop) {\n Object.defineProperty(obj, prop, props[prop]);\n });\n return obj;\n };\n Object.create = function (obj, proto) {\n if (typeof proto === 'object' && !Object.isFrozen(proto)) {\n Object.keys(proto).forEach(function (prop) {\n proto[prop] = rewriteDescriptor(obj, prop, proto[prop]);\n });\n }\n return _create(obj, proto);\n };\n Object.getOwnPropertyDescriptor = function (obj, prop) {\n var desc = _getOwnPropertyDescriptor(obj, prop);\n if (desc && isUnconfigurable(obj, prop)) {\n desc.configurable = false;\n }\n return desc;\n };\n }\n function _redefineProperty(obj, prop, desc) {\n var originalConfigurableFlag = desc.configurable;\n desc = rewriteDescriptor(obj, prop, desc);\n return _tryDefineProperty(obj, prop, desc, originalConfigurableFlag);\n }\n function isUnconfigurable(obj, prop) {\n return obj && obj[unconfigurablesKey] && obj[unconfigurablesKey][prop];\n }\n function rewriteDescriptor(obj, prop, desc) {\n // issue-927, if the desc is frozen, don't try to change the desc\n if (!Object.isFrozen(desc)) {\n desc.configurable = true;\n }\n if (!desc.configurable) {\n // issue-927, if the obj is frozen, don't try to set the desc to obj\n if (!obj[unconfigurablesKey] && !Object.isFrozen(obj)) {\n _defineProperty(obj, unconfigurablesKey, { writable: true, value: {} });\n }\n if (obj[unconfigurablesKey]) {\n obj[unconfigurablesKey][prop] = true;\n }\n }\n return desc;\n }\n function _tryDefineProperty(obj, prop, desc, originalConfigurableFlag) {\n try {\n return _defineProperty(obj, prop, desc);\n }\n catch (error) {\n if (desc.configurable) {\n // In case of errors, when the configurable flag was likely set by rewriteDescriptor(), let's\n // retry with the original flag value\n if (typeof originalConfigurableFlag == 'undefined') {\n delete desc.configurable;\n }\n else {\n desc.configurable = originalConfigurableFlag;\n }\n try {\n return _defineProperty(obj, prop, desc);\n }\n catch (error) {\n var swallowError = false;\n if (prop === 'createdCallback' || prop === 'attachedCallback' ||\n prop === 'detachedCallback' || prop === 'attributeChangedCallback') {\n // We only swallow the error in registerElement patch\n // this is the work around since some applications\n // fail if we throw the error\n swallowError = true;\n }\n if (!swallowError) {\n throw error;\n }\n // TODO: @JiaLiPassion, Some application such as `registerElement` patch\n // still need to swallow the error, in the future after these applications\n // are updated, the following logic can be removed.\n var descJson = null;\n try {\n descJson = JSON.stringify(desc);\n }\n catch (error) {\n descJson = desc.toString();\n }\n console.log(\"Attempting to configure '\" + prop + \"' with descriptor '\" + descJson + \"' on object '\" + obj + \"' and got error, giving up: \" + error);\n }\n }\n else {\n throw error;\n }\n }\n }\n /**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n function eventTargetLegacyPatch(_global, api) {\n var _a = api.getGlobalObjects(), eventNames = _a.eventNames, globalSources = _a.globalSources, zoneSymbolEventNames = _a.zoneSymbolEventNames, TRUE_STR = _a.TRUE_STR, FALSE_STR = _a.FALSE_STR, ZONE_SYMBOL_PREFIX = _a.ZONE_SYMBOL_PREFIX;\n var WTF_ISSUE_555 = 'Anchor,Area,Audio,BR,Base,BaseFont,Body,Button,Canvas,Content,DList,Directory,Div,Embed,FieldSet,Font,Form,Frame,FrameSet,HR,Head,Heading,Html,IFrame,Image,Input,Keygen,LI,Label,Legend,Link,Map,Marquee,Media,Menu,Meta,Meter,Mod,OList,Object,OptGroup,Option,Output,Paragraph,Pre,Progress,Quote,Script,Select,Source,Span,Style,TableCaption,TableCell,TableCol,Table,TableRow,TableSection,TextArea,Title,Track,UList,Unknown,Video';\n var NO_EVENT_TARGET = 'ApplicationCache,EventSource,FileReader,InputMethodContext,MediaController,MessagePort,Node,Performance,SVGElementInstance,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebKitNamedFlow,Window,Worker,WorkerGlobalScope,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload,IDBRequest,IDBOpenDBRequest,IDBDatabase,IDBTransaction,IDBCursor,DBIndex,WebSocket'\n .split(',');\n var EVENT_TARGET = 'EventTarget';\n var apis = [];\n var isWtf = _global['wtf'];\n var WTF_ISSUE_555_ARRAY = WTF_ISSUE_555.split(',');\n if (isWtf) {\n // Workaround for: https://github.com/google/tracing-framework/issues/555\n apis = WTF_ISSUE_555_ARRAY.map(function (v) { return 'HTML' + v + 'Element'; }).concat(NO_EVENT_TARGET);\n }\n else if (_global[EVENT_TARGET]) {\n apis.push(EVENT_TARGET);\n }\n else {\n // Note: EventTarget is not available in all browsers,\n // if it's not available, we instead patch the APIs in the IDL that inherit from EventTarget\n apis = NO_EVENT_TARGET;\n }\n var isDisableIECheck = _global['__Zone_disable_IE_check'] || false;\n var isEnableCrossContextCheck = _global['__Zone_enable_cross_context_check'] || false;\n var ieOrEdge = api.isIEOrEdge();\n var ADD_EVENT_LISTENER_SOURCE = '.addEventListener:';\n var FUNCTION_WRAPPER = '[object FunctionWrapper]';\n var BROWSER_TOOLS = 'function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }';\n var pointerEventsMap = {\n 'MSPointerCancel': 'pointercancel',\n 'MSPointerDown': 'pointerdown',\n 'MSPointerEnter': 'pointerenter',\n 'MSPointerHover': 'pointerhover',\n 'MSPointerLeave': 'pointerleave',\n 'MSPointerMove': 'pointermove',\n 'MSPointerOut': 'pointerout',\n 'MSPointerOver': 'pointerover',\n 'MSPointerUp': 'pointerup'\n };\n // predefine all __zone_symbol__ + eventName + true/false string\n for (var i = 0; i < eventNames.length; i++) {\n var eventName = eventNames[i];\n var falseEventName = eventName + FALSE_STR;\n var trueEventName = eventName + TRUE_STR;\n var symbol = ZONE_SYMBOL_PREFIX + falseEventName;\n var symbolCapture = ZONE_SYMBOL_PREFIX + trueEventName;\n zoneSymbolEventNames[eventName] = {};\n zoneSymbolEventNames[eventName][FALSE_STR] = symbol;\n zoneSymbolEventNames[eventName][TRUE_STR] = symbolCapture;\n }\n // predefine all task.source string\n for (var i = 0; i < WTF_ISSUE_555_ARRAY.length; i++) {\n var target = WTF_ISSUE_555_ARRAY[i];\n var targets = globalSources[target] = {};\n for (var j = 0; j < eventNames.length; j++) {\n var eventName = eventNames[j];\n targets[eventName] = target + ADD_EVENT_LISTENER_SOURCE + eventName;\n }\n }\n var checkIEAndCrossContext = function (nativeDelegate, delegate, target, args) {\n if (!isDisableIECheck && ieOrEdge) {\n if (isEnableCrossContextCheck) {\n try {\n var testString = delegate.toString();\n if ((testString === FUNCTION_WRAPPER || testString == BROWSER_TOOLS)) {\n nativeDelegate.apply(target, args);\n return false;\n }\n }\n catch (error) {\n nativeDelegate.apply(target, args);\n return false;\n }\n }\n else {\n var testString = delegate.toString();\n if ((testString === FUNCTION_WRAPPER || testString == BROWSER_TOOLS)) {\n nativeDelegate.apply(target, args);\n return false;\n }\n }\n }\n else if (isEnableCrossContextCheck) {\n try {\n delegate.toString();\n }\n catch (error) {\n nativeDelegate.apply(target, args);\n return false;\n }\n }\n return true;\n };\n var apiTypes = [];\n for (var i = 0; i < apis.length; i++) {\n var type = _global[apis[i]];\n apiTypes.push(type && type.prototype);\n }\n // vh is validateHandler to check event handler\n // is valid or not(for security check)\n api.patchEventTarget(_global, apiTypes, {\n vh: checkIEAndCrossContext,\n transferEventName: function (eventName) {\n var pointerEventName = pointerEventsMap[eventName];\n return pointerEventName || eventName;\n }\n });\n Zone[api.symbol('patchEventTarget')] = !!_global[EVENT_TARGET];\n return true;\n }\n /**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n // we have to patch the instance since the proto is non-configurable\n function apply(api, _global) {\n var _a = api.getGlobalObjects(), ADD_EVENT_LISTENER_STR = _a.ADD_EVENT_LISTENER_STR, REMOVE_EVENT_LISTENER_STR = _a.REMOVE_EVENT_LISTENER_STR;\n var WS = _global.WebSocket;\n // On Safari window.EventTarget doesn't exist so need to patch WS add/removeEventListener\n // On older Chrome, no need since EventTarget was already patched\n if (!_global.EventTarget) {\n api.patchEventTarget(_global, [WS.prototype]);\n }\n _global.WebSocket = function (x, y) {\n var socket = arguments.length > 1 ? new WS(x, y) : new WS(x);\n var proxySocket;\n var proxySocketProto;\n // Safari 7.0 has non-configurable own 'onmessage' and friends properties on the socket instance\n var onmessageDesc = api.ObjectGetOwnPropertyDescriptor(socket, 'onmessage');\n if (onmessageDesc && onmessageDesc.configurable === false) {\n proxySocket = api.ObjectCreate(socket);\n // socket have own property descriptor 'onopen', 'onmessage', 'onclose', 'onerror'\n // but proxySocket not, so we will keep socket as prototype and pass it to\n // patchOnProperties method\n proxySocketProto = socket;\n [ADD_EVENT_LISTENER_STR, REMOVE_EVENT_LISTENER_STR, 'send', 'close'].forEach(function (propName) {\n proxySocket[propName] = function () {\n var args = api.ArraySlice.call(arguments);\n if (propName === ADD_EVENT_LISTENER_STR || propName === REMOVE_EVENT_LISTENER_STR) {\n var eventName = args.length > 0 ? args[0] : undefined;\n if (eventName) {\n var propertySymbol = Zone.__symbol__('ON_PROPERTY' + eventName);\n socket[propertySymbol] = proxySocket[propertySymbol];\n }\n }\n return socket[propName].apply(socket, args);\n };\n });\n }\n else {\n // we can patch the real socket\n proxySocket = socket;\n }\n api.patchOnProperties(proxySocket, ['close', 'error', 'message', 'open'], proxySocketProto);\n return proxySocket;\n };\n var globalWebSocket = _global['WebSocket'];\n for (var prop in WS) {\n globalWebSocket[prop] = WS[prop];\n }\n }\n /**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n function propertyDescriptorLegacyPatch(api, _global) {\n var _a = api.getGlobalObjects(), isNode = _a.isNode, isMix = _a.isMix;\n if (isNode && !isMix) {\n return;\n }\n if (!canPatchViaPropertyDescriptor(api, _global)) {\n var supportsWebSocket = typeof WebSocket !== 'undefined';\n // Safari, Android browsers (Jelly Bean)\n patchViaCapturingAllTheEvents(api);\n api.patchClass('XMLHttpRequest');\n if (supportsWebSocket) {\n apply(api, _global);\n }\n Zone[api.symbol('patchEvents')] = true;\n }\n }\n function canPatchViaPropertyDescriptor(api, _global) {\n var _a = api.getGlobalObjects(), isBrowser = _a.isBrowser, isMix = _a.isMix;\n if ((isBrowser || isMix) &&\n !api.ObjectGetOwnPropertyDescriptor(HTMLElement.prototype, 'onclick') &&\n typeof Element !== 'undefined') {\n // WebKit https://bugs.webkit.org/show_bug.cgi?id=134364\n // IDL interface attributes are not configurable\n var desc = api.ObjectGetOwnPropertyDescriptor(Element.prototype, 'onclick');\n if (desc && !desc.configurable)\n return false;\n // try to use onclick to detect whether we can patch via propertyDescriptor\n // because XMLHttpRequest is not available in service worker\n if (desc) {\n api.ObjectDefineProperty(Element.prototype, 'onclick', {\n enumerable: true,\n configurable: true,\n get: function () {\n return true;\n }\n });\n var div = document.createElement('div');\n var result = !!div.onclick;\n api.ObjectDefineProperty(Element.prototype, 'onclick', desc);\n return result;\n }\n }\n var XMLHttpRequest = _global['XMLHttpRequest'];\n if (!XMLHttpRequest) {\n // XMLHttpRequest is not available in service worker\n return false;\n }\n var ON_READY_STATE_CHANGE = 'onreadystatechange';\n var XMLHttpRequestPrototype = XMLHttpRequest.prototype;\n var xhrDesc = api.ObjectGetOwnPropertyDescriptor(XMLHttpRequestPrototype, ON_READY_STATE_CHANGE);\n // add enumerable and configurable here because in opera\n // by default XMLHttpRequest.prototype.onreadystatechange is undefined\n // without adding enumerable and configurable will cause onreadystatechange\n // non-configurable\n // and if XMLHttpRequest.prototype.onreadystatechange is undefined,\n // we should set a real desc instead a fake one\n if (xhrDesc) {\n api.ObjectDefineProperty(XMLHttpRequestPrototype, ON_READY_STATE_CHANGE, {\n enumerable: true,\n configurable: true,\n get: function () {\n return true;\n }\n });\n var req = new XMLHttpRequest();\n var result = !!req.onreadystatechange;\n // restore original desc\n api.ObjectDefineProperty(XMLHttpRequestPrototype, ON_READY_STATE_CHANGE, xhrDesc || {});\n return result;\n }\n else {\n var SYMBOL_FAKE_ONREADYSTATECHANGE_1 = api.symbol('fake');\n api.ObjectDefineProperty(XMLHttpRequestPrototype, ON_READY_STATE_CHANGE, {\n enumerable: true,\n configurable: true,\n get: function () {\n return this[SYMBOL_FAKE_ONREADYSTATECHANGE_1];\n },\n set: function (value) {\n this[SYMBOL_FAKE_ONREADYSTATECHANGE_1] = value;\n }\n });\n var req = new XMLHttpRequest();\n var detectFunc = function () { };\n req.onreadystatechange = detectFunc;\n var result = req[SYMBOL_FAKE_ONREADYSTATECHANGE_1] === detectFunc;\n req.onreadystatechange = null;\n return result;\n }\n }\n // Whenever any eventListener fires, we check the eventListener target and all parents\n // for `onwhatever` properties and replace them with zone-bound functions\n // - Chrome (for now)\n function patchViaCapturingAllTheEvents(api) {\n var eventNames = api.getGlobalObjects().eventNames;\n var unboundKey = api.symbol('unbound');\n var _loop_4 = function (i) {\n var property = eventNames[i];\n var onproperty = 'on' + property;\n self.addEventListener(property, function (event) {\n var elt = event.target, bound, source;\n if (elt) {\n source = elt.constructor['name'] + '.' + onproperty;\n }\n else {\n source = 'unknown.' + onproperty;\n }\n while (elt) {\n if (elt[onproperty] && !elt[onproperty][unboundKey]) {\n bound = api.wrapWithCurrentZone(elt[onproperty], source);\n bound[unboundKey] = elt[onproperty];\n elt[onproperty] = bound;\n }\n elt = elt.parentElement;\n }\n }, true);\n };\n for (var i = 0; i < eventNames.length; i++) {\n _loop_4(i);\n }\n }\n /**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n function registerElementPatch(_global, api) {\n var _a = api.getGlobalObjects(), isBrowser = _a.isBrowser, isMix = _a.isMix;\n if ((!isBrowser && !isMix) || !('registerElement' in _global.document)) {\n return;\n }\n var callbacks = ['createdCallback', 'attachedCallback', 'detachedCallback', 'attributeChangedCallback'];\n api.patchCallbacks(api, document, 'Document', 'registerElement', callbacks);\n }\n /**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n (function (_global) {\n var symbolPrefix = _global['__Zone_symbol_prefix'] || '__zone_symbol__';\n function __symbol__(name) {\n return symbolPrefix + name;\n }\n _global[__symbol__('legacyPatch')] = function () {\n var Zone = _global['Zone'];\n Zone.__load_patch('defineProperty', function (global, Zone, api) {\n api._redefineProperty = _redefineProperty;\n propertyPatch();\n });\n Zone.__load_patch('registerElement', function (global, Zone, api) {\n registerElementPatch(global, api);\n });\n Zone.__load_patch('EventTargetLegacy', function (global, Zone, api) {\n eventTargetLegacyPatch(global, api);\n propertyDescriptorLegacyPatch(api, global);\n });\n };\n })(typeof window !== 'undefined' ?\n window :\n typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {});\n /**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var taskSymbol = zoneSymbol('zoneTask');\n function patchTimer(window, setName, cancelName, nameSuffix) {\n var setNative = null;\n var clearNative = null;\n setName += nameSuffix;\n cancelName += nameSuffix;\n var tasksByHandleId = {};\n function scheduleTask(task) {\n var data = task.data;\n data.args[0] = function () {\n return task.invoke.apply(this, arguments);\n };\n data.handleId = setNative.apply(window, data.args);\n return task;\n }\n function clearTask(task) {\n return clearNative.call(window, task.data.handleId);\n }\n setNative =\n patchMethod(window, setName, function (delegate) { return function (self, args) {\n if (typeof args[0] === 'function') {\n var options_1 = {\n isPeriodic: nameSuffix === 'Interval',\n delay: (nameSuffix === 'Timeout' || nameSuffix === 'Interval') ? args[1] || 0 :\n undefined,\n args: args\n };\n var callback_1 = args[0];\n args[0] = function timer() {\n try {\n return callback_1.apply(this, arguments);\n }\n finally {\n // issue-934, task will be cancelled\n // even it is a periodic task such as\n // setInterval\n // https://github.com/angular/angular/issues/40387\n // Cleanup tasksByHandleId should be handled before scheduleTask\n // Since some zoneSpec may intercept and doesn't trigger\n // scheduleFn(scheduleTask) provided here.\n if (!(options_1.isPeriodic)) {\n if (typeof options_1.handleId === 'number') {\n // in non-nodejs env, we remove timerId\n // from local cache\n delete tasksByHandleId[options_1.handleId];\n }\n else if (options_1.handleId) {\n // Node returns complex objects as handleIds\n // we remove task reference from timer object\n options_1.handleId[taskSymbol] = null;\n }\n }\n }\n };\n var task = scheduleMacroTaskWithCurrentZone(setName, args[0], options_1, scheduleTask, clearTask);\n if (!task) {\n return task;\n }\n // Node.js must additionally support the ref and unref functions.\n var handle = task.data.handleId;\n if (typeof handle === 'number') {\n // for non nodejs env, we save handleId: task\n // mapping in local cache for clearTimeout\n tasksByHandleId[handle] = task;\n }\n else if (handle) {\n // for nodejs env, we save task\n // reference in timerId Object for clearTimeout\n handle[taskSymbol] = task;\n }\n // check whether handle is null, because some polyfill or browser\n // may return undefined from setTimeout/setInterval/setImmediate/requestAnimationFrame\n if (handle && handle.ref && handle.unref && typeof handle.ref === 'function' &&\n typeof handle.unref === 'function') {\n task.ref = handle.ref.bind(handle);\n task.unref = handle.unref.bind(handle);\n }\n if (typeof handle === 'number' || handle) {\n return handle;\n }\n return task;\n }\n else {\n // cause an error by calling it directly.\n return delegate.apply(window, args);\n }\n }; });\n clearNative =\n patchMethod(window, cancelName, function (delegate) { return function (self, args) {\n var id = args[0];\n var task;\n if (typeof id === 'number') {\n // non nodejs env.\n task = tasksByHandleId[id];\n }\n else {\n // nodejs env.\n task = id && id[taskSymbol];\n // other environments.\n if (!task) {\n task = id;\n }\n }\n if (task && typeof task.type === 'string') {\n if (task.state !== 'notScheduled' &&\n (task.cancelFn && task.data.isPeriodic || task.runCount === 0)) {\n if (typeof id === 'number') {\n delete tasksByHandleId[id];\n }\n else if (id) {\n id[taskSymbol] = null;\n }\n // Do not cancel already canceled functions\n task.zone.cancelTask(task);\n }\n }\n else {\n // cause an error by calling it directly.\n delegate.apply(window, args);\n }\n }; });\n }\n /**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n function patchCustomElements(_global, api) {\n var _a = api.getGlobalObjects(), isBrowser = _a.isBrowser, isMix = _a.isMix;\n if ((!isBrowser && !isMix) || !_global['customElements'] || !('customElements' in _global)) {\n return;\n }\n var callbacks = ['connectedCallback', 'disconnectedCallback', 'adoptedCallback', 'attributeChangedCallback'];\n api.patchCallbacks(api, _global.customElements, 'customElements', 'define', callbacks);\n }\n /**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n function eventTargetPatch(_global, api) {\n if (Zone[api.symbol('patchEventTarget')]) {\n // EventTarget is already patched.\n return;\n }\n var _a = api.getGlobalObjects(), eventNames = _a.eventNames, zoneSymbolEventNames = _a.zoneSymbolEventNames, TRUE_STR = _a.TRUE_STR, FALSE_STR = _a.FALSE_STR, ZONE_SYMBOL_PREFIX = _a.ZONE_SYMBOL_PREFIX;\n // predefine all __zone_symbol__ + eventName + true/false string\n for (var i = 0; i < eventNames.length; i++) {\n var eventName = eventNames[i];\n var falseEventName = eventName + FALSE_STR;\n var trueEventName = eventName + TRUE_STR;\n var symbol = ZONE_SYMBOL_PREFIX + falseEventName;\n var symbolCapture = ZONE_SYMBOL_PREFIX + trueEventName;\n zoneSymbolEventNames[eventName] = {};\n zoneSymbolEventNames[eventName][FALSE_STR] = symbol;\n zoneSymbolEventNames[eventName][TRUE_STR] = symbolCapture;\n }\n var EVENT_TARGET = _global['EventTarget'];\n if (!EVENT_TARGET || !EVENT_TARGET.prototype) {\n return;\n }\n api.patchEventTarget(_global, [EVENT_TARGET && EVENT_TARGET.prototype]);\n return true;\n }\n function patchEvent(global, api) {\n api.patchEventPrototype(global, api);\n }\n /**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n Zone.__load_patch('legacy', function (global) {\n var legacyPatch = global[Zone.__symbol__('legacyPatch')];\n if (legacyPatch) {\n legacyPatch();\n }\n });\n Zone.__load_patch('queueMicrotask', function (global, Zone, api) {\n api.patchMethod(global, 'queueMicrotask', function (delegate) {\n return function (self, args) {\n Zone.current.scheduleMicroTask('queueMicrotask', args[0]);\n };\n });\n });\n Zone.__load_patch('timers', function (global) {\n var set = 'set';\n var clear = 'clear';\n patchTimer(global, set, clear, 'Timeout');\n patchTimer(global, set, clear, 'Interval');\n patchTimer(global, set, clear, 'Immediate');\n });\n Zone.__load_patch('requestAnimationFrame', function (global) {\n patchTimer(global, 'request', 'cancel', 'AnimationFrame');\n patchTimer(global, 'mozRequest', 'mozCancel', 'AnimationFrame');\n patchTimer(global, 'webkitRequest', 'webkitCancel', 'AnimationFrame');\n });\n Zone.__load_patch('blocking', function (global, Zone) {\n var blockingMethods = ['alert', 'prompt', 'confirm'];\n for (var i = 0; i < blockingMethods.length; i++) {\n var name_2 = blockingMethods[i];\n patchMethod(global, name_2, function (delegate, symbol, name) {\n return function (s, args) {\n return Zone.current.run(delegate, global, args, name);\n };\n });\n }\n });\n Zone.__load_patch('EventTarget', function (global, Zone, api) {\n patchEvent(global, api);\n eventTargetPatch(global, api);\n // patch XMLHttpRequestEventTarget's addEventListener/removeEventListener\n var XMLHttpRequestEventTarget = global['XMLHttpRequestEventTarget'];\n if (XMLHttpRequestEventTarget && XMLHttpRequestEventTarget.prototype) {\n api.patchEventTarget(global, [XMLHttpRequestEventTarget.prototype]);\n }\n });\n Zone.__load_patch('MutationObserver', function (global, Zone, api) {\n patchClass('MutationObserver');\n patchClass('WebKitMutationObserver');\n });\n Zone.__load_patch('IntersectionObserver', function (global, Zone, api) {\n patchClass('IntersectionObserver');\n });\n Zone.__load_patch('FileReader', function (global, Zone, api) {\n patchClass('FileReader');\n });\n Zone.__load_patch('on_property', function (global, Zone, api) {\n propertyDescriptorPatch(api, global);\n });\n Zone.__load_patch('customElements', function (global, Zone, api) {\n patchCustomElements(global, api);\n });\n Zone.__load_patch('XHR', function (global, Zone) {\n // Treat XMLHttpRequest as a macrotask.\n patchXHR(global);\n var XHR_TASK = zoneSymbol('xhrTask');\n var XHR_SYNC = zoneSymbol('xhrSync');\n var XHR_LISTENER = zoneSymbol('xhrListener');\n var XHR_SCHEDULED = zoneSymbol('xhrScheduled');\n var XHR_URL = zoneSymbol('xhrURL');\n var XHR_ERROR_BEFORE_SCHEDULED = zoneSymbol('xhrErrorBeforeScheduled');\n function patchXHR(window) {\n var XMLHttpRequest = window['XMLHttpRequest'];\n if (!XMLHttpRequest) {\n // XMLHttpRequest is not available in service worker\n return;\n }\n var XMLHttpRequestPrototype = XMLHttpRequest.prototype;\n function findPendingTask(target) {\n return target[XHR_TASK];\n }\n var oriAddListener = XMLHttpRequestPrototype[ZONE_SYMBOL_ADD_EVENT_LISTENER];\n var oriRemoveListener = XMLHttpRequestPrototype[ZONE_SYMBOL_REMOVE_EVENT_LISTENER];\n if (!oriAddListener) {\n var XMLHttpRequestEventTarget_1 = window['XMLHttpRequestEventTarget'];\n if (XMLHttpRequestEventTarget_1) {\n var XMLHttpRequestEventTargetPrototype = XMLHttpRequestEventTarget_1.prototype;\n oriAddListener = XMLHttpRequestEventTargetPrototype[ZONE_SYMBOL_ADD_EVENT_LISTENER];\n oriRemoveListener = XMLHttpRequestEventTargetPrototype[ZONE_SYMBOL_REMOVE_EVENT_LISTENER];\n }\n }\n var READY_STATE_CHANGE = 'readystatechange';\n var SCHEDULED = 'scheduled';\n function scheduleTask(task) {\n var data = task.data;\n var target = data.target;\n target[XHR_SCHEDULED] = false;\n target[XHR_ERROR_BEFORE_SCHEDULED] = false;\n // remove existing event listener\n var listener = target[XHR_LISTENER];\n if (!oriAddListener) {\n oriAddListener = target[ZONE_SYMBOL_ADD_EVENT_LISTENER];\n oriRemoveListener = target[ZONE_SYMBOL_REMOVE_EVENT_LISTENER];\n }\n if (listener) {\n oriRemoveListener.call(target, READY_STATE_CHANGE, listener);\n }\n var newListener = target[XHR_LISTENER] = function () {\n if (target.readyState === target.DONE) {\n // sometimes on some browsers XMLHttpRequest will fire onreadystatechange with\n // readyState=4 multiple times, so we need to check task state here\n if (!data.aborted && target[XHR_SCHEDULED] && task.state === SCHEDULED) {\n // check whether the xhr has registered onload listener\n // if that is the case, the task should invoke after all\n // onload listeners finish.\n // Also if the request failed without response (status = 0), the load event handler\n // will not be triggered, in that case, we should also invoke the placeholder callback\n // to close the XMLHttpRequest::send macroTask.\n // https://github.com/angular/angular/issues/38795\n var loadTasks = target[Zone.__symbol__('loadfalse')];\n if (target.status !== 0 && loadTasks && loadTasks.length > 0) {\n var oriInvoke_1 = task.invoke;\n task.invoke = function () {\n // need to load the tasks again, because in other\n // load listener, they may remove themselves\n var loadTasks = target[Zone.__symbol__('loadfalse')];\n for (var i = 0; i < loadTasks.length; i++) {\n if (loadTasks[i] === task) {\n loadTasks.splice(i, 1);\n }\n }\n if (!data.aborted && task.state === SCHEDULED) {\n oriInvoke_1.call(task);\n }\n };\n loadTasks.push(task);\n }\n else {\n task.invoke();\n }\n }\n else if (!data.aborted && target[XHR_SCHEDULED] === false) {\n // error occurs when xhr.send()\n target[XHR_ERROR_BEFORE_SCHEDULED] = true;\n }\n }\n };\n oriAddListener.call(target, READY_STATE_CHANGE, newListener);\n var storedTask = target[XHR_TASK];\n if (!storedTask) {\n target[XHR_TASK] = task;\n }\n sendNative.apply(target, data.args);\n target[XHR_SCHEDULED] = true;\n return task;\n }\n function placeholderCallback() { }\n function clearTask(task) {\n var data = task.data;\n // Note - ideally, we would call data.target.removeEventListener here, but it's too late\n // to prevent it from firing. So instead, we store info for the event listener.\n data.aborted = true;\n return abortNative.apply(data.target, data.args);\n }\n var openNative = patchMethod(XMLHttpRequestPrototype, 'open', function () { return function (self, args) {\n self[XHR_SYNC] = args[2] == false;\n self[XHR_URL] = args[1];\n return openNative.apply(self, args);\n }; });\n var XMLHTTPREQUEST_SOURCE = 'XMLHttpRequest.send';\n var fetchTaskAborting = zoneSymbol('fetchTaskAborting');\n var fetchTaskScheduling = zoneSymbol('fetchTaskScheduling');\n var sendNative = patchMethod(XMLHttpRequestPrototype, 'send', function () { return function (self, args) {\n if (Zone.current[fetchTaskScheduling] === true) {\n // a fetch is scheduling, so we are using xhr to polyfill fetch\n // and because we already schedule macroTask for fetch, we should\n // not schedule a macroTask for xhr again\n return sendNative.apply(self, args);\n }\n if (self[XHR_SYNC]) {\n // if the XHR is sync there is no task to schedule, just execute the code.\n return sendNative.apply(self, args);\n }\n else {\n var options = { target: self, url: self[XHR_URL], isPeriodic: false, args: args, aborted: false };\n var task = scheduleMacroTaskWithCurrentZone(XMLHTTPREQUEST_SOURCE, placeholderCallback, options, scheduleTask, clearTask);\n if (self && self[XHR_ERROR_BEFORE_SCHEDULED] === true && !options.aborted &&\n task.state === SCHEDULED) {\n // xhr request throw error when send\n // we should invoke task instead of leaving a scheduled\n // pending macroTask\n task.invoke();\n }\n }\n }; });\n var abortNative = patchMethod(XMLHttpRequestPrototype, 'abort', function () { return function (self, args) {\n var task = findPendingTask(self);\n if (task && typeof task.type == 'string') {\n // If the XHR has already completed, do nothing.\n // If the XHR has already been aborted, do nothing.\n // Fix #569, call abort multiple times before done will cause\n // macroTask task count be negative number\n if (task.cancelFn == null || (task.data && task.data.aborted)) {\n return;\n }\n task.zone.cancelTask(task);\n }\n else if (Zone.current[fetchTaskAborting] === true) {\n // the abort is called from fetch polyfill, we need to call native abort of XHR.\n return abortNative.apply(self, args);\n }\n // Otherwise, we are trying to abort an XHR which has not yet been sent, so there is no\n // task\n // to cancel. Do nothing.\n }; });\n }\n });\n Zone.__load_patch('geolocation', function (global) {\n /// GEO_LOCATION\n if (global['navigator'] && global['navigator'].geolocation) {\n patchPrototype(global['navigator'].geolocation, ['getCurrentPosition', 'watchPosition']);\n }\n });\n Zone.__load_patch('PromiseRejectionEvent', function (global, Zone) {\n // handle unhandled promise rejection\n function findPromiseRejectionHandler(evtName) {\n return function (e) {\n var eventTasks = findEventTasks(global, evtName);\n eventTasks.forEach(function (eventTask) {\n // windows has added unhandledrejection event listener\n // trigger the event listener\n var PromiseRejectionEvent = global['PromiseRejectionEvent'];\n if (PromiseRejectionEvent) {\n var evt = new PromiseRejectionEvent(evtName, { promise: e.promise, reason: e.rejection });\n eventTask.invoke(evt);\n }\n });\n };\n }\n if (global['PromiseRejectionEvent']) {\n Zone[zoneSymbol('unhandledPromiseRejectionHandler')] =\n findPromiseRejectionHandler('unhandledrejection');\n Zone[zoneSymbol('rejectionHandledHandler')] =\n findPromiseRejectionHandler('rejectionhandled');\n }\n });\n})));\n","// `Symbol.prototype.description` getter\n// https://tc39.es/ecma262/#sec-symbol.prototype.description\n'use strict';\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar global = require('../internals/global');\nvar has = require('../internals/has');\nvar isObject = require('../internals/is-object');\nvar defineProperty = require('../internals/object-define-property').f;\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\n\nvar NativeSymbol = global.Symbol;\n\nif (DESCRIPTORS && typeof NativeSymbol == 'function' && (!('description' in NativeSymbol.prototype) ||\n // Safari 12 bug\n NativeSymbol().description !== undefined\n)) {\n var EmptyStringDescriptionStore = {};\n // wrap Symbol constructor for correct work with undefined description\n var SymbolWrapper = function Symbol() {\n var description = arguments.length < 1 || arguments[0] === undefined ? undefined : String(arguments[0]);\n var result = this instanceof SymbolWrapper\n ? new NativeSymbol(description)\n // in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)'\n : description === undefined ? NativeSymbol() : NativeSymbol(description);\n if (description === '') EmptyStringDescriptionStore[result] = true;\n return result;\n };\n copyConstructorProperties(SymbolWrapper, NativeSymbol);\n var symbolPrototype = SymbolWrapper.prototype = NativeSymbol.prototype;\n symbolPrototype.constructor = SymbolWrapper;\n\n var symbolToString = symbolPrototype.toString;\n var native = String(NativeSymbol('test')) == 'Symbol(test)';\n var regexp = /^Symbol\\((.*)\\)[^)]+$/;\n defineProperty(symbolPrototype, 'description', {\n configurable: true,\n get: function description() {\n var symbol = isObject(this) ? this.valueOf() : this;\n var string = symbolToString.call(symbol);\n if (has(EmptyStringDescriptionStore, symbol)) return '';\n var desc = native ? string.slice(7, -1) : string.replace(regexp, '$1');\n return desc === '' ? undefined : desc;\n }\n });\n\n $({ global: true, forced: true }, {\n Symbol: SymbolWrapper\n });\n}\n","var getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('document', 'documentElement');\n","var isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\n\n// `IsRegExp` abstract operation\n// https://tc39.es/ecma262/#sec-isregexp\nmodule.exports = function (it) {\n var isRegExp;\n return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) == 'RegExp');\n};\n","var global = require('../internals/global');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar has = require('../internals/has');\nvar setGlobal = require('../internals/set-global');\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar getInternalState = InternalStateModule.get;\nvar enforceInternalState = InternalStateModule.enforce;\nvar TEMPLATE = String(String).split('String');\n\n(module.exports = function (O, key, value, options) {\n var unsafe = options ? !!options.unsafe : false;\n var simple = options ? !!options.enumerable : false;\n var noTargetGet = options ? !!options.noTargetGet : false;\n var state;\n if (typeof value == 'function') {\n if (typeof key == 'string' && !has(value, 'name')) {\n createNonEnumerableProperty(value, 'name', key);\n }\n state = enforceInternalState(value);\n if (!state.source) {\n state.source = TEMPLATE.join(typeof key == 'string' ? key : '');\n }\n }\n if (O === global) {\n if (simple) O[key] = value;\n else setGlobal(key, value);\n return;\n } else if (!unsafe) {\n delete O[key];\n } else if (!noTargetGet && O[key]) {\n simple = true;\n }\n if (simple) O[key] = value;\n else createNonEnumerableProperty(O, key, value);\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n})(Function.prototype, 'toString', function toString() {\n return typeof this == 'function' && getInternalState(this).source || inspectSource(this);\n});\n","var anObject = require('../internals/an-object');\nvar defineProperties = require('../internals/object-define-properties');\nvar enumBugKeys = require('../internals/enum-bug-keys');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar html = require('../internals/html');\nvar documentCreateElement = require('../internals/document-create-element');\nvar sharedKey = require('../internals/shared-key');\n\nvar GT = '>';\nvar LT = '<';\nvar PROTOTYPE = 'prototype';\nvar SCRIPT = 'script';\nvar IE_PROTO = sharedKey('IE_PROTO');\n\nvar EmptyConstructor = function () { /* empty */ };\n\nvar scriptTag = function (content) {\n return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;\n};\n\n// Create object with fake `null` prototype: use ActiveX Object with cleared prototype\nvar NullProtoObjectViaActiveX = function (activeXDocument) {\n activeXDocument.write(scriptTag(''));\n activeXDocument.close();\n var temp = activeXDocument.parentWindow.Object;\n activeXDocument = null; // avoid memory leak\n return temp;\n};\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar NullProtoObjectViaIFrame = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = documentCreateElement('iframe');\n var JS = 'java' + SCRIPT + ':';\n var iframeDocument;\n iframe.style.display = 'none';\n html.appendChild(iframe);\n // https://github.com/zloirock/core-js/issues/475\n iframe.src = String(JS);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(scriptTag('document.F=Object'));\n iframeDocument.close();\n return iframeDocument.F;\n};\n\n// Check for document.domain and active x support\n// No need to use active x approach when document.domain is not set\n// see https://github.com/es-shims/es5-shim/issues/150\n// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346\n// avoid IE GC bug\nvar activeXDocument;\nvar NullProtoObject = function () {\n try {\n /* global ActiveXObject */\n activeXDocument = document.domain && new ActiveXObject('htmlfile');\n } catch (error) { /* ignore */ }\n NullProtoObject = activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame();\n var length = enumBugKeys.length;\n while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];\n return NullProtoObject();\n};\n\nhiddenKeys[IE_PROTO] = true;\n\n// `Object.create` method\n// https://tc39.es/ecma262/#sec-object.create\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n EmptyConstructor[PROTOTYPE] = anObject(O);\n result = new EmptyConstructor();\n EmptyConstructor[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = NullProtoObject();\n return Properties === undefined ? result : defineProperties(result, Properties);\n};\n","var $ = require('../internals/export');\n\nvar nativeAsinh = Math.asinh;\nvar log = Math.log;\nvar sqrt = Math.sqrt;\n\nfunction asinh(x) {\n return !isFinite(x = +x) || x == 0 ? x : x < 0 ? -asinh(-x) : log(x + sqrt(x * x + 1));\n}\n\n// `Math.asinh` method\n// https://tc39.es/ecma262/#sec-math.asinh\n// Tor Browser bug: Math.asinh(0) -> -0\n$({ target: 'Math', stat: true, forced: !(nativeAsinh && 1 / nativeAsinh(0) > 0) }, {\n asinh: asinh\n});\n","'use strict';\nvar isObject = require('../internals/is-object');\nvar definePropertyModule = require('../internals/object-define-property');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar HAS_INSTANCE = wellKnownSymbol('hasInstance');\nvar FunctionPrototype = Function.prototype;\n\n// `Function.prototype[@@hasInstance]` method\n// https://tc39.es/ecma262/#sec-function.prototype-@@hasinstance\nif (!(HAS_INSTANCE in FunctionPrototype)) {\n definePropertyModule.f(FunctionPrototype, HAS_INSTANCE, { value: function (O) {\n if (typeof this != 'function' || !isObject(O)) return false;\n if (!isObject(this.prototype)) return O instanceof this;\n // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this:\n while (O = getPrototypeOf(O)) if (this.prototype === O) return true;\n return false;\n } });\n}\n","var global = require('../internals/global');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar macrotask = require('../internals/task').set;\nvar IS_IOS = require('../internals/engine-is-ios');\nvar IS_WEBOS_WEBKIT = require('../internals/engine-is-webos-webkit');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar MutationObserver = global.MutationObserver || global.WebKitMutationObserver;\nvar document = global.document;\nvar process = global.process;\nvar Promise = global.Promise;\n// Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`\nvar queueMicrotaskDescriptor = getOwnPropertyDescriptor(global, 'queueMicrotask');\nvar queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;\n\nvar flush, head, last, notify, toggle, node, promise, then;\n\n// modern engines have queueMicrotask method\nif (!queueMicrotask) {\n flush = function () {\n var parent, fn;\n if (IS_NODE && (parent = process.domain)) parent.exit();\n while (head) {\n fn = head.fn;\n head = head.next;\n try {\n fn();\n } catch (error) {\n if (head) notify();\n else last = undefined;\n throw error;\n }\n } last = undefined;\n if (parent) parent.enter();\n };\n\n // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339\n // also except WebOS Webkit https://github.com/zloirock/core-js/issues/898\n if (!IS_IOS && !IS_NODE && !IS_WEBOS_WEBKIT && MutationObserver && document) {\n toggle = true;\n node = document.createTextNode('');\n new MutationObserver(flush).observe(node, { characterData: true });\n notify = function () {\n node.data = toggle = !toggle;\n };\n // environments with maybe non-completely correct, but existent Promise\n } else if (Promise && Promise.resolve) {\n // Promise.resolve without an argument throws an error in LG WebOS 2\n promise = Promise.resolve(undefined);\n then = promise.then;\n notify = function () {\n then.call(promise, flush);\n };\n // Node.js without promises\n } else if (IS_NODE) {\n notify = function () {\n process.nextTick(flush);\n };\n // for other environments - macrotask based on:\n // - setImmediate\n // - MessageChannel\n // - window.postMessag\n // - onreadystatechange\n // - setTimeout\n } else {\n notify = function () {\n // strange IE + webpack dev server bug - use .call(global)\n macrotask.call(global, flush);\n };\n }\n}\n\nmodule.exports = queueMicrotask || function (fn) {\n var task = { fn: fn, next: undefined };\n if (last) last.next = task;\n if (!head) {\n head = task;\n notify();\n } last = task;\n};\n","var userAgent = require('../internals/engine-user-agent');\n\nmodule.exports = /web0s(?!.*chrome)/i.test(userAgent);\n","var sign = require('../internals/math-sign');\n\nvar abs = Math.abs;\nvar pow = Math.pow;\nvar EPSILON = pow(2, -52);\nvar EPSILON32 = pow(2, -23);\nvar MAX32 = pow(2, 127) * (2 - EPSILON32);\nvar MIN32 = pow(2, -126);\n\nvar roundTiesToEven = function (n) {\n return n + 1 / EPSILON - 1 / EPSILON;\n};\n\n// `Math.fround` method implementation\n// https://tc39.es/ecma262/#sec-math.fround\nmodule.exports = Math.fround || function fround(x) {\n var $abs = abs(x);\n var $sign = sign(x);\n var a, result;\n if ($abs < MIN32) return $sign * roundTiesToEven($abs / MIN32 / EPSILON32) * MIN32 * EPSILON32;\n a = (1 + EPSILON32 / EPSILON) * $abs;\n result = a - (a - $abs);\n // eslint-disable-next-line no-self-compare\n if (result > MAX32 || result != result) return $sign * Infinity;\n return $sign * result;\n};\n","'use strict';\nvar toObject = require('../internals/to-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar toLength = require('../internals/to-length');\n\nvar min = Math.min;\n\n// `Array.prototype.copyWithin` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.copywithin\nmodule.exports = [].copyWithin || function copyWithin(target /* = 0 */, start /* = 0, end = @length */) {\n var O = toObject(this);\n var len = toLength(O.length);\n var to = toAbsoluteIndex(target, len);\n var from = toAbsoluteIndex(start, len);\n var end = arguments.length > 2 ? arguments[2] : undefined;\n var count = min((end === undefined ? len : toAbsoluteIndex(end, len)) - from, len - to);\n var inc = 1;\n if (from < to && to < from + count) {\n inc = -1;\n from += count - 1;\n to += count - 1;\n }\n while (count-- > 0) {\n if (from in O) O[to] = O[from];\n else delete O[to];\n to += inc;\n from += inc;\n } return O;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.sub` method\n// https://tc39.es/ecma262/#sec-string.prototype.sub\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('sub') }, {\n sub: function sub() {\n return createHTML(this, 'sub', '', '');\n }\n});\n","var global = require('../internals/global');\nvar trim = require('../internals/string-trim').trim;\nvar whitespaces = require('../internals/whitespaces');\n\nvar $parseInt = global.parseInt;\nvar hex = /^[+-]?0[Xx]/;\nvar FORCED = $parseInt(whitespaces + '08') !== 8 || $parseInt(whitespaces + '0x16') !== 22;\n\n// `parseInt` method\n// https://tc39.es/ecma262/#sec-parseint-string-radix\nmodule.exports = FORCED ? function parseInt(string, radix) {\n var S = trim(String(string));\n return $parseInt(S, (radix >>> 0) || (hex.test(S) ? 16 : 10));\n} : $parseInt;\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar test = {};\n\ntest[TO_STRING_TAG] = 'z';\n\nmodule.exports = String(test) === '[object z]';\n","var DESCRIPTORS = require('../internals/descriptors');\nvar objectKeys = require('../internals/object-keys');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar propertyIsEnumerable = require('../internals/object-property-is-enumerable').f;\n\n// `Object.{ entries, values }` methods implementation\nvar createMethod = function (TO_ENTRIES) {\n return function (it) {\n var O = toIndexedObject(it);\n var keys = objectKeys(O);\n var length = keys.length;\n var i = 0;\n var result = [];\n var key;\n while (length > i) {\n key = keys[i++];\n if (!DESCRIPTORS || propertyIsEnumerable.call(O, key)) {\n result.push(TO_ENTRIES ? [key, O[key]] : O[key]);\n }\n }\n return result;\n };\n};\n\nmodule.exports = {\n // `Object.entries` method\n // https://tc39.es/ecma262/#sec-object.entries\n entries: createMethod(true),\n // `Object.values` method\n // https://tc39.es/ecma262/#sec-object.values\n values: createMethod(false)\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.blink` method\n// https://tc39.es/ecma262/#sec-string.prototype.blink\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('blink') }, {\n blink: function blink() {\n return createHTML(this, 'blink', '', '');\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar flattenIntoArray = require('../internals/flatten-into-array');\nvar toObject = require('../internals/to-object');\nvar toLength = require('../internals/to-length');\nvar aFunction = require('../internals/a-function');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\n// `Array.prototype.flatMap` method\n// https://tc39.es/ecma262/#sec-array.prototype.flatmap\n$({ target: 'Array', proto: true }, {\n flatMap: function flatMap(callbackfn /* , thisArg */) {\n var O = toObject(this);\n var sourceLen = toLength(O.length);\n var A;\n aFunction(callbackfn);\n A = arraySpeciesCreate(O, 0);\n A.length = flattenIntoArray(A, O, O, sourceLen, 0, 1, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n return A;\n }\n});\n","var wellKnownSymbol = require('../internals/well-known-symbol');\nvar Iterators = require('../internals/iterators');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar ArrayPrototype = Array.prototype;\n\n// check on default Array iterator\nmodule.exports = function (it) {\n return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);\n};\n","var $ = require('../internals/export');\nvar parseFloat = require('../internals/number-parse-float');\n\n// `Number.parseFloat` method\n// https://tc39.es/ecma262/#sec-number.parseFloat\n$({ target: 'Number', stat: true, forced: Number.parseFloat != parseFloat }, {\n parseFloat: parseFloat\n});\n","var DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar anObject = require('../internals/an-object');\nvar objectKeys = require('../internals/object-keys');\n\n// `Object.defineProperties` method\n// https://tc39.es/ecma262/#sec-object.defineproperties\nmodule.exports = DESCRIPTORS ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var keys = objectKeys(Properties);\n var length = keys.length;\n var index = 0;\n var key;\n while (length > index) definePropertyModule.f(O, key = keys[index++], Properties[key]);\n return O;\n};\n","var $ = require('../internals/export');\nvar parseInt = require('../internals/number-parse-int');\n\n// `Number.parseInt` method\n// https://tc39.es/ecma262/#sec-number.parseint\n$({ target: 'Number', stat: true, forced: Number.parseInt != parseInt }, {\n parseInt: parseInt\n});\n","var anObject = require('../internals/an-object');\n\nmodule.exports = function (iterator) {\n var returnMethod = iterator['return'];\n if (returnMethod !== undefined) {\n return anObject(returnMethod.call(iterator)).value;\n }\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar flattenIntoArray = require('../internals/flatten-into-array');\nvar toObject = require('../internals/to-object');\nvar toLength = require('../internals/to-length');\nvar toInteger = require('../internals/to-integer');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\n// `Array.prototype.flat` method\n// https://tc39.es/ecma262/#sec-array.prototype.flat\n$({ target: 'Array', proto: true }, {\n flat: function flat(/* depthArg = 1 */) {\n var depthArg = arguments.length ? arguments[0] : undefined;\n var O = toObject(this);\n var sourceLen = toLength(O.length);\n var A = arraySpeciesCreate(O, 0);\n A.length = flattenIntoArray(A, O, O, sourceLen, 0, depthArg === undefined ? 1 : toInteger(depthArg));\n return A;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $find = require('../internals/array-iteration').find;\nvar addToUnscopables = require('../internals/add-to-unscopables');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar FIND = 'find';\nvar SKIPS_HOLES = true;\n\nvar USES_TO_LENGTH = arrayMethodUsesToLength(FIND);\n\n// Shouldn't skip holes\nif (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });\n\n// `Array.prototype.find` method\n// https://tc39.es/ecma262/#sec-array.prototype.find\n$({ target: 'Array', proto: true, forced: SKIPS_HOLES || !USES_TO_LENGTH }, {\n find: function find(callbackfn /* , that = undefined */) {\n return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables(FIND);\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = function (METHOD_NAME, argument) {\n var method = [][METHOD_NAME];\n return !!method && fails(function () {\n // eslint-disable-next-line no-useless-call,no-throw-literal\n method.call(null, argument || function () { throw 1; }, 1);\n });\n};\n","module.exports = function (it) {\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar aFunction = require('../internals/a-function');\nvar toObject = require('../internals/to-object');\nvar fails = require('../internals/fails');\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar test = [];\nvar nativeSort = test.sort;\n\n// IE8-\nvar FAILS_ON_UNDEFINED = fails(function () {\n test.sort(undefined);\n});\n// V8 bug\nvar FAILS_ON_NULL = fails(function () {\n test.sort(null);\n});\n// Old WebKit\nvar STRICT_METHOD = arrayMethodIsStrict('sort');\n\nvar FORCED = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD;\n\n// `Array.prototype.sort` method\n// https://tc39.es/ecma262/#sec-array.prototype.sort\n$({ target: 'Array', proto: true, forced: FORCED }, {\n sort: function sort(comparefn) {\n return comparefn === undefined\n ? nativeSort.call(toObject(this))\n : nativeSort.call(toObject(this), aFunction(comparefn));\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $indexOf = require('../internals/array-includes').indexOf;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar nativeIndexOf = [].indexOf;\n\nvar NEGATIVE_ZERO = !!nativeIndexOf && 1 / [1].indexOf(1, -0) < 0;\nvar STRICT_METHOD = arrayMethodIsStrict('indexOf');\nvar USES_TO_LENGTH = arrayMethodUsesToLength('indexOf', { ACCESSORS: true, 1: 0 });\n\n// `Array.prototype.indexOf` method\n// https://tc39.es/ecma262/#sec-array.prototype.indexof\n$({ target: 'Array', proto: true, forced: NEGATIVE_ZERO || !STRICT_METHOD || !USES_TO_LENGTH }, {\n indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {\n return NEGATIVE_ZERO\n // convert -0 to +0\n ? nativeIndexOf.apply(this, arguments) || 0\n : $indexOf(this, searchElement, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","var $ = require('../internals/export');\n\nvar log = Math.log;\nvar LN2 = Math.LN2;\n\n// `Math.log2` method\n// https://tc39.es/ecma262/#sec-math.log2\n$({ target: 'Math', stat: true }, {\n log2: function log2(x) {\n return log(x) / LN2;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar isObject = require('../internals/is-object');\nvar isArray = require('../internals/is-array');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar toLength = require('../internals/to-length');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar createProperty = require('../internals/create-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice');\nvar USES_TO_LENGTH = arrayMethodUsesToLength('slice', { ACCESSORS: true, 0: 0, 1: 2 });\n\nvar SPECIES = wellKnownSymbol('species');\nvar nativeSlice = [].slice;\nvar max = Math.max;\n\n// `Array.prototype.slice` method\n// https://tc39.es/ecma262/#sec-array.prototype.slice\n// fallback for not array-like ES3 strings and DOM objects\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, {\n slice: function slice(start, end) {\n var O = toIndexedObject(this);\n var length = toLength(O.length);\n var k = toAbsoluteIndex(start, length);\n var fin = toAbsoluteIndex(end === undefined ? length : end, length);\n // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible\n var Constructor, result, n;\n if (isArray(O)) {\n Constructor = O.constructor;\n // cross-realm fallback\n if (typeof Constructor == 'function' && (Constructor === Array || isArray(Constructor.prototype))) {\n Constructor = undefined;\n } else if (isObject(Constructor)) {\n Constructor = Constructor[SPECIES];\n if (Constructor === null) Constructor = undefined;\n }\n if (Constructor === Array || Constructor === undefined) {\n return nativeSlice.call(O, k, fin);\n }\n }\n result = new (Constructor === undefined ? Array : Constructor)(max(fin - k, 0));\n for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);\n result.length = n;\n return result;\n }\n});\n","var store = require('../internals/shared-store');\n\nvar functionToString = Function.toString;\n\n// this helper broken in `3.4.1-3.4.4`, so we can't use `shared` helper\nif (typeof store.inspectSource != 'function') {\n store.inspectSource = function (it) {\n return functionToString.call(it);\n };\n}\n\nmodule.exports = store.inspectSource;\n","var anObject = require('../internals/an-object');\nvar aPossiblePrototype = require('../internals/a-possible-prototype');\n\n// `Object.setPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.setprototypeof\n// Works with __proto__ only. Old v8 can't work with null proto objects.\n/* eslint-disable no-proto */\nmodule.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {\n var CORRECT_SETTER = false;\n var test = {};\n var setter;\n try {\n setter = Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set;\n setter.call(test, []);\n CORRECT_SETTER = test instanceof Array;\n } catch (error) { /* empty */ }\n return function setPrototypeOf(O, proto) {\n anObject(O);\n aPossiblePrototype(proto);\n if (CORRECT_SETTER) setter.call(O, proto);\n else O.__proto__ = proto;\n return O;\n };\n}() : undefined);\n","var getBuiltIn = require('../internals/get-built-in');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar anObject = require('../internals/an-object');\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n var keys = getOwnPropertyNamesModule.f(anObject(it));\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;\n};\n","var toInteger = require('../internals/to-integer');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n var integer = toInteger(index);\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","var anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar newPromiseCapability = require('../internals/new-promise-capability');\n\nmodule.exports = function (C, x) {\n anObject(C);\n if (isObject(x) && x.constructor === C) return x;\n var promiseCapability = newPromiseCapability.f(C);\n var resolve = promiseCapability.resolve;\n resolve(x);\n return promiseCapability.promise;\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPrimitive = require('../internals/to-primitive');\nvar has = require('../internals/has');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\n\nvar nativeGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? nativeGetOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n O = toIndexedObject(O);\n P = toPrimitive(P, true);\n if (IE8_DOM_DEFINE) try {\n return nativeGetOwnPropertyDescriptor(O, P);\n } catch (error) { /* empty */ }\n if (has(O, P)) return createPropertyDescriptor(!propertyIsEnumerableModule.f.call(O, P), O[P]);\n};\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.search` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.search\ndefineWellKnownSymbol('search');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.unscopables` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.unscopables\ndefineWellKnownSymbol('unscopables');\n","var $ = require('../internals/export');\nvar anObject = require('../internals/an-object');\nvar aPossiblePrototype = require('../internals/a-possible-prototype');\nvar objectSetPrototypeOf = require('../internals/object-set-prototype-of');\n\n// `Reflect.setPrototypeOf` method\n// https://tc39.es/ecma262/#sec-reflect.setprototypeof\nif (objectSetPrototypeOf) $({ target: 'Reflect', stat: true }, {\n setPrototypeOf: function setPrototypeOf(target, proto) {\n anObject(target);\n aPossiblePrototype(proto);\n try {\n objectSetPrototypeOf(target, proto);\n return true;\n } catch (error) {\n return false;\n }\n }\n});\n","var global = require('../internals/global');\nvar setToStringTag = require('../internals/set-to-string-tag');\n\n// JSON[@@toStringTag] property\n// https://tc39.es/ecma262/#sec-json-@@tostringtag\nsetToStringTag(global.JSON, 'JSON', true);\n","var redefine = require('../internals/redefine');\n\nmodule.exports = function (target, src, options) {\n for (var key in src) redefine(target, key, src[key], options);\n return target;\n};\n","var $ = require('../internals/export');\n\nvar nativeAtanh = Math.atanh;\nvar log = Math.log;\n\n// `Math.atanh` method\n// https://tc39.es/ecma262/#sec-math.atanh\n// Tor Browser bug: Math.atanh(-0) -> 0\n$({ target: 'Math', stat: true, forced: !(nativeAtanh && 1 / nativeAtanh(-0) < 0) }, {\n atanh: function atanh(x) {\n return (x = +x) == 0 ? x : log((1 + x) / (1 - x)) / 2;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar toInteger = require('../internals/to-integer');\nvar thisNumberValue = require('../internals/this-number-value');\nvar repeat = require('../internals/string-repeat');\nvar fails = require('../internals/fails');\n\nvar nativeToFixed = 1.0.toFixed;\nvar floor = Math.floor;\n\nvar pow = function (x, n, acc) {\n return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc);\n};\n\nvar log = function (x) {\n var n = 0;\n var x2 = x;\n while (x2 >= 4096) {\n n += 12;\n x2 /= 4096;\n }\n while (x2 >= 2) {\n n += 1;\n x2 /= 2;\n } return n;\n};\n\nvar FORCED = nativeToFixed && (\n 0.00008.toFixed(3) !== '0.000' ||\n 0.9.toFixed(0) !== '1' ||\n 1.255.toFixed(2) !== '1.25' ||\n 1000000000000000128.0.toFixed(0) !== '1000000000000000128'\n) || !fails(function () {\n // V8 ~ Android 4.3-\n nativeToFixed.call({});\n});\n\n// `Number.prototype.toFixed` method\n// https://tc39.es/ecma262/#sec-number.prototype.tofixed\n$({ target: 'Number', proto: true, forced: FORCED }, {\n // eslint-disable-next-line max-statements\n toFixed: function toFixed(fractionDigits) {\n var number = thisNumberValue(this);\n var fractDigits = toInteger(fractionDigits);\n var data = [0, 0, 0, 0, 0, 0];\n var sign = '';\n var result = '0';\n var e, z, j, k;\n\n var multiply = function (n, c) {\n var index = -1;\n var c2 = c;\n while (++index < 6) {\n c2 += n * data[index];\n data[index] = c2 % 1e7;\n c2 = floor(c2 / 1e7);\n }\n };\n\n var divide = function (n) {\n var index = 6;\n var c = 0;\n while (--index >= 0) {\n c += data[index];\n data[index] = floor(c / n);\n c = (c % n) * 1e7;\n }\n };\n\n var dataToString = function () {\n var index = 6;\n var s = '';\n while (--index >= 0) {\n if (s !== '' || index === 0 || data[index] !== 0) {\n var t = String(data[index]);\n s = s === '' ? t : s + repeat.call('0', 7 - t.length) + t;\n }\n } return s;\n };\n\n if (fractDigits < 0 || fractDigits > 20) throw RangeError('Incorrect fraction digits');\n // eslint-disable-next-line no-self-compare\n if (number != number) return 'NaN';\n if (number <= -1e21 || number >= 1e21) return String(number);\n if (number < 0) {\n sign = '-';\n number = -number;\n }\n if (number > 1e-21) {\n e = log(number * pow(2, 69, 1)) - 69;\n z = e < 0 ? number * pow(2, -e, 1) : number / pow(2, e, 1);\n z *= 0x10000000000000;\n e = 52 - e;\n if (e > 0) {\n multiply(0, z);\n j = fractDigits;\n while (j >= 7) {\n multiply(1e7, 0);\n j -= 7;\n }\n multiply(pow(10, j, 1), 0);\n j = e - 1;\n while (j >= 23) {\n divide(1 << 23);\n j -= 23;\n }\n divide(1 << j);\n multiply(1, 1);\n divide(2);\n result = dataToString();\n } else {\n multiply(0, z);\n multiply(1 << -e, 0);\n result = dataToString() + repeat.call('0', fractDigits);\n }\n }\n if (fractDigits > 0) {\n k = result.length;\n result = sign + (k <= fractDigits\n ? '0.' + repeat.call('0', fractDigits - k) + result\n : result.slice(0, k - fractDigits) + '.' + result.slice(k - fractDigits));\n } else {\n result = sign + result;\n } return result;\n }\n});\n","var $ = require('../internals/export');\n\n// `Date.now` method\n// https://tc39.es/ecma262/#sec-date.now\n$({ target: 'Date', stat: true }, {\n now: function now() {\n return new Date().getTime();\n }\n});\n","var path = require('../internals/path');\nvar has = require('../internals/has');\nvar wrappedWellKnownSymbolModule = require('../internals/well-known-symbol-wrapped');\nvar defineProperty = require('../internals/object-define-property').f;\n\nmodule.exports = function (NAME) {\n var Symbol = path.Symbol || (path.Symbol = {});\n if (!has(Symbol, NAME)) defineProperty(Symbol, NAME, {\n value: wrappedWellKnownSymbolModule.f(NAME)\n });\n};\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.toPrimitive` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.toprimitive\ndefineWellKnownSymbol('toPrimitive');\n","var wellKnownSymbol = require('../internals/well-known-symbol');\nvar create = require('../internals/object-create');\nvar definePropertyModule = require('../internals/object-define-property');\n\nvar UNSCOPABLES = wellKnownSymbol('unscopables');\nvar ArrayPrototype = Array.prototype;\n\n// Array.prototype[@@unscopables]\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\nif (ArrayPrototype[UNSCOPABLES] == undefined) {\n definePropertyModule.f(ArrayPrototype, UNSCOPABLES, {\n configurable: true,\n value: create(null)\n });\n}\n\n// add a key to Array.prototype[@@unscopables]\nmodule.exports = function (key) {\n ArrayPrototype[UNSCOPABLES][key] = true;\n};\n","var $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar toObject = require('../internals/to-object');\nvar nativeGetPrototypeOf = require('../internals/object-get-prototype-of');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar FAILS_ON_PRIMITIVES = fails(function () { nativeGetPrototypeOf(1); });\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !CORRECT_PROTOTYPE_GETTER }, {\n getPrototypeOf: function getPrototypeOf(it) {\n return nativeGetPrototypeOf(toObject(it));\n }\n});\n\n","var $ = require('../internals/export');\nvar parseFloatImplementation = require('../internals/number-parse-float');\n\n// `parseFloat` method\n// https://tc39.es/ecma262/#sec-parsefloat-string\n$({ global: true, forced: parseFloat != parseFloatImplementation }, {\n parseFloat: parseFloatImplementation\n});\n","var classof = require('../internals/classof-raw');\nvar global = require('../internals/global');\n\nmodule.exports = classof(global.process) == 'process';\n","var $ = require('../internals/export');\nvar repeat = require('../internals/string-repeat');\n\n// `String.prototype.repeat` method\n// https://tc39.es/ecma262/#sec-string.prototype.repeat\n$({ target: 'String', proto: true }, {\n repeat: repeat\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar createProperty = require('../internals/create-property');\n\nvar ISNT_GENERIC = fails(function () {\n function F() { /* empty */ }\n return !(Array.of.call(F) instanceof F);\n});\n\n// `Array.of` method\n// https://tc39.es/ecma262/#sec-array.of\n// WebKit Array.of isn't generic\n$({ target: 'Array', stat: true, forced: ISNT_GENERIC }, {\n of: function of(/* ...args */) {\n var index = 0;\n var argumentsLength = arguments.length;\n var result = new (typeof this == 'function' ? this : Array)(argumentsLength);\n while (argumentsLength > index) createProperty(result, index, arguments[index++]);\n result.length = argumentsLength;\n return result;\n }\n});\n","var $ = require('../internals/export');\nvar anObject = require('../internals/an-object');\n\nvar objectIsExtensible = Object.isExtensible;\n\n// `Reflect.isExtensible` method\n// https://tc39.es/ecma262/#sec-reflect.isextensible\n$({ target: 'Reflect', stat: true }, {\n isExtensible: function isExtensible(target) {\n anObject(target);\n return objectIsExtensible ? objectIsExtensible(target) : true;\n }\n});\n","var $ = require('../internals/export');\nvar sign = require('../internals/math-sign');\n\n// `Math.sign` method\n// https://tc39.es/ecma262/#sec-math.sign\n$({ target: 'Math', stat: true }, {\n sign: sign\n});\n","var $ = require('../internals/export');\nvar isInteger = require('../internals/is-integer');\n\n// `Number.isInteger` method\n// https://tc39.es/ecma262/#sec-number.isinteger\n$({ target: 'Number', stat: true }, {\n isInteger: isInteger\n});\n","'use strict';\nvar anObject = require('../internals/an-object');\nvar toPrimitive = require('../internals/to-primitive');\n\nmodule.exports = function (hint) {\n if (hint !== 'string' && hint !== 'number' && hint !== 'default') {\n throw TypeError('Incorrect hint');\n } return toPrimitive(anObject(this), hint !== 'number');\n};\n","var $ = require('../internals/export');\nvar anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar has = require('../internals/has');\nvar fails = require('../internals/fails');\nvar definePropertyModule = require('../internals/object-define-property');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\n// `Reflect.set` method\n// https://tc39.es/ecma262/#sec-reflect.set\nfunction set(target, propertyKey, V /* , receiver */) {\n var receiver = arguments.length < 4 ? target : arguments[3];\n var ownDescriptor = getOwnPropertyDescriptorModule.f(anObject(target), propertyKey);\n var existingDescriptor, prototype;\n if (!ownDescriptor) {\n if (isObject(prototype = getPrototypeOf(target))) {\n return set(prototype, propertyKey, V, receiver);\n }\n ownDescriptor = createPropertyDescriptor(0);\n }\n if (has(ownDescriptor, 'value')) {\n if (ownDescriptor.writable === false || !isObject(receiver)) return false;\n if (existingDescriptor = getOwnPropertyDescriptorModule.f(receiver, propertyKey)) {\n if (existingDescriptor.get || existingDescriptor.set || existingDescriptor.writable === false) return false;\n existingDescriptor.value = V;\n definePropertyModule.f(receiver, propertyKey, existingDescriptor);\n } else definePropertyModule.f(receiver, propertyKey, createPropertyDescriptor(0, V));\n return true;\n }\n return ownDescriptor.set === undefined ? false : (ownDescriptor.set.call(receiver, V), true);\n}\n\n// MS Edge 17-18 Reflect.set allows setting the property to object\n// with non-writable property on the prototype\nvar MS_EDGE_BUG = fails(function () {\n var Constructor = function () { /* empty */ };\n var object = definePropertyModule.f(new Constructor(), 'a', { configurable: true });\n // eslint-disable-next-line no-undef\n return Reflect.set(Constructor.prototype, 'a', 1, object) !== false;\n});\n\n$({ target: 'Reflect', stat: true, forced: MS_EDGE_BUG }, {\n set: set\n});\n","var $ = require('../internals/export');\n\nvar $hypot = Math.hypot;\nvar abs = Math.abs;\nvar sqrt = Math.sqrt;\n\n// Chrome 77 bug\n// https://bugs.chromium.org/p/v8/issues/detail?id=9546\nvar BUGGY = !!$hypot && $hypot(Infinity, NaN) !== Infinity;\n\n// `Math.hypot` method\n// https://tc39.es/ecma262/#sec-math.hypot\n$({ target: 'Math', stat: true, forced: BUGGY }, {\n hypot: function hypot(value1, value2) { // eslint-disable-line no-unused-vars\n var sum = 0;\n var i = 0;\n var aLen = arguments.length;\n var larg = 0;\n var arg, div;\n while (i < aLen) {\n arg = abs(arguments[i++]);\n if (larg < arg) {\n div = larg / arg;\n sum = sum * div * div + 1;\n larg = arg;\n } else if (arg > 0) {\n div = arg / larg;\n sum += div * div;\n } else sum += arg;\n }\n return larg === Infinity ? Infinity : larg * sqrt(sum);\n }\n});\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar global = require('../internals/global');\nvar isForced = require('../internals/is-forced');\nvar redefine = require('../internals/redefine');\nvar has = require('../internals/has');\nvar classof = require('../internals/classof-raw');\nvar inheritIfRequired = require('../internals/inherit-if-required');\nvar toPrimitive = require('../internals/to-primitive');\nvar fails = require('../internals/fails');\nvar create = require('../internals/object-create');\nvar getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar defineProperty = require('../internals/object-define-property').f;\nvar trim = require('../internals/string-trim').trim;\n\nvar NUMBER = 'Number';\nvar NativeNumber = global[NUMBER];\nvar NumberPrototype = NativeNumber.prototype;\n\n// Opera ~12 has broken Object#toString\nvar BROKEN_CLASSOF = classof(create(NumberPrototype)) == NUMBER;\n\n// `ToNumber` abstract operation\n// https://tc39.es/ecma262/#sec-tonumber\nvar toNumber = function (argument) {\n var it = toPrimitive(argument, false);\n var first, third, radix, maxCode, digits, length, index, code;\n if (typeof it == 'string' && it.length > 2) {\n it = trim(it);\n first = it.charCodeAt(0);\n if (first === 43 || first === 45) {\n third = it.charCodeAt(2);\n if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix\n } else if (first === 48) {\n switch (it.charCodeAt(1)) {\n case 66: case 98: radix = 2; maxCode = 49; break; // fast equal of /^0b[01]+$/i\n case 79: case 111: radix = 8; maxCode = 55; break; // fast equal of /^0o[0-7]+$/i\n default: return +it;\n }\n digits = it.slice(2);\n length = digits.length;\n for (index = 0; index < length; index++) {\n code = digits.charCodeAt(index);\n // parseInt parses a string to a first unavailable symbol\n // but ToNumber should return NaN if a string contains unavailable symbols\n if (code < 48 || code > maxCode) return NaN;\n } return parseInt(digits, radix);\n }\n } return +it;\n};\n\n// `Number` constructor\n// https://tc39.es/ecma262/#sec-number-constructor\nif (isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1'))) {\n var NumberWrapper = function Number(value) {\n var it = arguments.length < 1 ? 0 : value;\n var dummy = this;\n return dummy instanceof NumberWrapper\n // check on 1..constructor(foo) case\n && (BROKEN_CLASSOF ? fails(function () { NumberPrototype.valueOf.call(dummy); }) : classof(dummy) != NUMBER)\n ? inheritIfRequired(new NativeNumber(toNumber(it)), dummy, NumberWrapper) : toNumber(it);\n };\n for (var keys = DESCRIPTORS ? getOwnPropertyNames(NativeNumber) : (\n // ES3:\n 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +\n // ES2015 (in case, if modules with ES2015 Number statics required before):\n 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' +\n 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,' +\n // ESNext\n 'fromString,range'\n ).split(','), j = 0, key; keys.length > j; j++) {\n if (has(NativeNumber, key = keys[j]) && !has(NumberWrapper, key)) {\n defineProperty(NumberWrapper, key, getOwnPropertyDescriptor(NativeNumber, key));\n }\n }\n NumberWrapper.prototype = NumberPrototype;\n NumberPrototype.constructor = NumberWrapper;\n redefine(global, NUMBER, NumberWrapper);\n}\n","var global = require('../internals/global');\nvar userAgent = require('../internals/engine-user-agent');\n\nvar process = global.process;\nvar versions = process && process.versions;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n match = v8.split('.');\n version = match[0] + match[1];\n} else if (userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = match[1];\n }\n}\n\nmodule.exports = version && +version;\n","var $ = require('../internals/export');\nvar sign = require('../internals/math-sign');\n\nvar abs = Math.abs;\nvar pow = Math.pow;\n\n// `Math.cbrt` method\n// https://tc39.es/ecma262/#sec-math.cbrt\n$({ target: 'Math', stat: true }, {\n cbrt: function cbrt(x) {\n return sign(x = +x) * pow(abs(x), 1 / 3);\n }\n});\n","'use strict';\nvar redefineAll = require('../internals/redefine-all');\nvar getWeakData = require('../internals/internal-metadata').getWeakData;\nvar anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar anInstance = require('../internals/an-instance');\nvar iterate = require('../internals/iterate');\nvar ArrayIterationModule = require('../internals/array-iteration');\nvar $has = require('../internals/has');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar setInternalState = InternalStateModule.set;\nvar internalStateGetterFor = InternalStateModule.getterFor;\nvar find = ArrayIterationModule.find;\nvar findIndex = ArrayIterationModule.findIndex;\nvar id = 0;\n\n// fallback for uncaught frozen keys\nvar uncaughtFrozenStore = function (store) {\n return store.frozen || (store.frozen = new UncaughtFrozenStore());\n};\n\nvar UncaughtFrozenStore = function () {\n this.entries = [];\n};\n\nvar findUncaughtFrozen = function (store, key) {\n return find(store.entries, function (it) {\n return it[0] === key;\n });\n};\n\nUncaughtFrozenStore.prototype = {\n get: function (key) {\n var entry = findUncaughtFrozen(this, key);\n if (entry) return entry[1];\n },\n has: function (key) {\n return !!findUncaughtFrozen(this, key);\n },\n set: function (key, value) {\n var entry = findUncaughtFrozen(this, key);\n if (entry) entry[1] = value;\n else this.entries.push([key, value]);\n },\n 'delete': function (key) {\n var index = findIndex(this.entries, function (it) {\n return it[0] === key;\n });\n if (~index) this.entries.splice(index, 1);\n return !!~index;\n }\n};\n\nmodule.exports = {\n getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {\n var C = wrapper(function (that, iterable) {\n anInstance(that, C, CONSTRUCTOR_NAME);\n setInternalState(that, {\n type: CONSTRUCTOR_NAME,\n id: id++,\n frozen: undefined\n });\n if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });\n });\n\n var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);\n\n var define = function (that, key, value) {\n var state = getInternalState(that);\n var data = getWeakData(anObject(key), true);\n if (data === true) uncaughtFrozenStore(state).set(key, value);\n else data[state.id] = value;\n return that;\n };\n\n redefineAll(C.prototype, {\n // 23.3.3.2 WeakMap.prototype.delete(key)\n // 23.4.3.3 WeakSet.prototype.delete(value)\n 'delete': function (key) {\n var state = getInternalState(this);\n if (!isObject(key)) return false;\n var data = getWeakData(key);\n if (data === true) return uncaughtFrozenStore(state)['delete'](key);\n return data && $has(data, state.id) && delete data[state.id];\n },\n // 23.3.3.4 WeakMap.prototype.has(key)\n // 23.4.3.4 WeakSet.prototype.has(value)\n has: function has(key) {\n var state = getInternalState(this);\n if (!isObject(key)) return false;\n var data = getWeakData(key);\n if (data === true) return uncaughtFrozenStore(state).has(key);\n return data && $has(data, state.id);\n }\n });\n\n redefineAll(C.prototype, IS_MAP ? {\n // 23.3.3.3 WeakMap.prototype.get(key)\n get: function get(key) {\n var state = getInternalState(this);\n if (isObject(key)) {\n var data = getWeakData(key);\n if (data === true) return uncaughtFrozenStore(state).get(key);\n return data ? data[state.id] : undefined;\n }\n },\n // 23.3.3.5 WeakMap.prototype.set(key, value)\n set: function set(key, value) {\n return define(this, key, value);\n }\n } : {\n // 23.4.3.1 WeakSet.prototype.add(value)\n add: function add(value) {\n return define(this, value, true);\n }\n });\n\n return C;\n }\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar toObject = require('../internals/to-object');\nvar toPrimitive = require('../internals/to-primitive');\n\nvar FORCED = fails(function () {\n return new Date(NaN).toJSON() !== null\n || Date.prototype.toJSON.call({ toISOString: function () { return 1; } }) !== 1;\n});\n\n// `Date.prototype.toJSON` method\n// https://tc39.es/ecma262/#sec-date.prototype.tojson\n$({ target: 'Date', proto: true, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars\n toJSON: function toJSON(key) {\n var O = toObject(this);\n var pv = toPrimitive(O);\n return typeof pv == 'number' && !isFinite(pv) ? null : O.toISOString();\n }\n});\n","'use strict';\nvar toPrimitive = require('../internals/to-primitive');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = function (object, key, value) {\n var propertyKey = toPrimitive(key);\n if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));\n else object[propertyKey] = value;\n};\n","var $ = require('../internals/export');\nvar log1p = require('../internals/math-log1p');\n\n// `Math.log1p` method\n// https://tc39.es/ecma262/#sec-math.log1p\n$({ target: 'Math', stat: true }, { log1p: log1p });\n","var $ = require('../internals/export');\nvar fill = require('../internals/array-fill');\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// `Array.prototype.fill` method\n// https://tc39.es/ecma262/#sec-array.prototype.fill\n$({ target: 'Array', proto: true }, {\n fill: fill\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('fill');\n","var global = require('../internals/global');\n\nmodule.exports = global;\n","'use strict';\nvar aFunction = require('../internals/a-function');\nvar isObject = require('../internals/is-object');\n\nvar slice = [].slice;\nvar factories = {};\n\nvar construct = function (C, argsLength, args) {\n if (!(argsLength in factories)) {\n for (var list = [], i = 0; i < argsLength; i++) list[i] = 'a[' + i + ']';\n // eslint-disable-next-line no-new-func\n factories[argsLength] = Function('C,a', 'return new C(' + list.join(',') + ')');\n } return factories[argsLength](C, args);\n};\n\n// `Function.prototype.bind` method implementation\n// https://tc39.es/ecma262/#sec-function.prototype.bind\nmodule.exports = Function.bind || function bind(that /* , ...args */) {\n var fn = aFunction(this);\n var partArgs = slice.call(arguments, 1);\n var boundFunction = function bound(/* args... */) {\n var args = partArgs.concat(slice.call(arguments));\n return this instanceof boundFunction ? construct(fn, args.length, args) : fn.apply(that, args);\n };\n if (isObject(fn.prototype)) boundFunction.prototype = fn.prototype;\n return boundFunction;\n};\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar SAFE_CLOSING = false;\n\ntry {\n var called = 0;\n var iteratorWithReturn = {\n next: function () {\n return { done: !!called++ };\n },\n 'return': function () {\n SAFE_CLOSING = true;\n }\n };\n iteratorWithReturn[ITERATOR] = function () {\n return this;\n };\n // eslint-disable-next-line no-throw-literal\n Array.from(iteratorWithReturn, function () { throw 2; });\n} catch (error) { /* empty */ }\n\nmodule.exports = function (exec, SKIP_CLOSING) {\n if (!SKIP_CLOSING && !SAFE_CLOSING) return false;\n var ITERATION_SUPPORT = false;\n try {\n var object = {};\n object[ITERATOR] = function () {\n return {\n next: function () {\n return { done: ITERATION_SUPPORT = true };\n }\n };\n };\n exec(object);\n } catch (error) { /* empty */ }\n return ITERATION_SUPPORT;\n};\n","'use strict';\nvar toInteger = require('../internals/to-integer');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\n// `String.prototype.repeat` method implementation\n// https://tc39.es/ecma262/#sec-string.prototype.repeat\nmodule.exports = ''.repeat || function repeat(count) {\n var str = String(requireObjectCoercible(this));\n var result = '';\n var n = toInteger(count);\n if (n < 0 || n == Infinity) throw RangeError('Wrong number of repetitions');\n for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str;\n return result;\n};\n","// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = require('../internals/indexed-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nmodule.exports = function (it) {\n return IndexedObject(requireObjectCoercible(it));\n};\n","// `SameValue` abstract operation\n// https://tc39.es/ecma262/#sec-samevalue\nmodule.exports = Object.is || function is(x, y) {\n // eslint-disable-next-line no-self-compare\n return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;\n};\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.match` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.match\ndefineWellKnownSymbol('match');\n","var $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar aFunction = require('../internals/a-function');\nvar anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar create = require('../internals/object-create');\nvar bind = require('../internals/function-bind');\nvar fails = require('../internals/fails');\n\nvar nativeConstruct = getBuiltIn('Reflect', 'construct');\n\n// `Reflect.construct` method\n// https://tc39.es/ecma262/#sec-reflect.construct\n// MS Edge supports only 2 arguments and argumentsList argument is optional\n// FF Nightly sets third argument as `new.target`, but does not create `this` from it\nvar NEW_TARGET_BUG = fails(function () {\n function F() { /* empty */ }\n return !(nativeConstruct(function () { /* empty */ }, [], F) instanceof F);\n});\nvar ARGS_BUG = !fails(function () {\n nativeConstruct(function () { /* empty */ });\n});\nvar FORCED = NEW_TARGET_BUG || ARGS_BUG;\n\n$({ target: 'Reflect', stat: true, forced: FORCED, sham: FORCED }, {\n construct: function construct(Target, args /* , newTarget */) {\n aFunction(Target);\n anObject(args);\n var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]);\n if (ARGS_BUG && !NEW_TARGET_BUG) return nativeConstruct(Target, args, newTarget);\n if (Target == newTarget) {\n // w/o altered newTarget, optimization for 0-4 arguments\n switch (args.length) {\n case 0: return new Target();\n case 1: return new Target(args[0]);\n case 2: return new Target(args[0], args[1]);\n case 3: return new Target(args[0], args[1], args[2]);\n case 4: return new Target(args[0], args[1], args[2], args[3]);\n }\n // w/o altered newTarget, lot of arguments case\n var $args = [null];\n $args.push.apply($args, args);\n return new (bind.apply(Target, $args))();\n }\n // with altered newTarget, not support built-in constructors\n var proto = newTarget.prototype;\n var instance = create(isObject(proto) ? proto : Object.prototype);\n var result = Function.apply.call(Target, instance, args);\n return isObject(result) ? result : instance;\n }\n});\n","var $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar aFunction = require('../internals/a-function');\nvar anObject = require('../internals/an-object');\nvar fails = require('../internals/fails');\n\nvar nativeApply = getBuiltIn('Reflect', 'apply');\nvar functionApply = Function.apply;\n\n// MS Edge argumentsList argument is optional\nvar OPTIONAL_ARGUMENTS_LIST = !fails(function () {\n nativeApply(function () { /* empty */ });\n});\n\n// `Reflect.apply` method\n// https://tc39.es/ecma262/#sec-reflect.apply\n$({ target: 'Reflect', stat: true, forced: OPTIONAL_ARGUMENTS_LIST }, {\n apply: function apply(target, thisArgument, argumentsList) {\n aFunction(target);\n anObject(argumentsList);\n return nativeApply\n ? nativeApply(target, thisArgument, argumentsList)\n : functionApply.call(target, thisArgument, argumentsList);\n }\n});\n","var $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar defineProperties = require('../internals/object-define-properties');\n\n// `Object.defineProperties` method\n// https://tc39.es/ecma262/#sec-object.defineproperties\n$({ target: 'Object', stat: true, forced: !DESCRIPTORS, sham: !DESCRIPTORS }, {\n defineProperties: defineProperties\n});\n","var path = require('../internals/path');\nvar global = require('../internals/global');\n\nvar aFunction = function (variable) {\n return typeof variable == 'function' ? variable : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global[namespace])\n : path[namespace] && path[namespace][method] || global[namespace] && global[namespace][method];\n};\n","var classof = require('../internals/classof');\nvar Iterators = require('../internals/iterators');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\n\nmodule.exports = function (it) {\n if (it != undefined) return it[ITERATOR]\n || it['@@iterator']\n || Iterators[classof(it)];\n};\n","var isObject = require('../internals/is-object');\n\nmodule.exports = function (it) {\n if (!isObject(it)) {\n throw TypeError(String(it) + ' is not an object');\n } return it;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar isArray = require('../internals/is-array');\nvar isObject = require('../internals/is-object');\nvar toObject = require('../internals/to-object');\nvar toLength = require('../internals/to-length');\nvar createProperty = require('../internals/create-property');\nvar arraySpeciesCreate = require('../internals/array-species-create');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;\nvar MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';\n\n// We can't use this feature detection in V8 since it causes\n// deoptimization and serious performance degradation\n// https://github.com/zloirock/core-js/issues/679\nvar IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {\n var array = [];\n array[IS_CONCAT_SPREADABLE] = false;\n return array.concat()[0] !== array;\n});\n\nvar SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat');\n\nvar isConcatSpreadable = function (O) {\n if (!isObject(O)) return false;\n var spreadable = O[IS_CONCAT_SPREADABLE];\n return spreadable !== undefined ? !!spreadable : isArray(O);\n};\n\nvar FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;\n\n// `Array.prototype.concat` method\n// https://tc39.es/ecma262/#sec-array.prototype.concat\n// with adding support of @@isConcatSpreadable and @@species\n$({ target: 'Array', proto: true, forced: FORCED }, {\n concat: function concat(arg) { // eslint-disable-line no-unused-vars\n var O = toObject(this);\n var A = arraySpeciesCreate(O, 0);\n var n = 0;\n var i, k, length, len, E;\n for (i = -1, length = arguments.length; i < length; i++) {\n E = i === -1 ? O : arguments[i];\n if (isConcatSpreadable(E)) {\n len = toLength(E.length);\n if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);\n for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);\n } else {\n if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);\n createProperty(A, n++, E);\n }\n }\n A.length = n;\n return A;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $map = require('../internals/array-iteration').map;\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map');\n// FF49- issue\nvar USES_TO_LENGTH = arrayMethodUsesToLength('map');\n\n// `Array.prototype.map` method\n// https://tc39.es/ecma262/#sec-array.prototype.map\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, {\n map: function map(callbackfn /* , thisArg */) {\n return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $every = require('../internals/array-iteration').every;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar STRICT_METHOD = arrayMethodIsStrict('every');\nvar USES_TO_LENGTH = arrayMethodUsesToLength('every');\n\n// `Array.prototype.every` method\n// https://tc39.es/ecma262/#sec-array.prototype.every\n$({ target: 'Array', proto: true, forced: !STRICT_METHOD || !USES_TO_LENGTH }, {\n every: function every(callbackfn /* , thisArg */) {\n return $every(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","var global = require('../internals/global');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nmodule.exports = function (key, value) {\n try {\n createNonEnumerableProperty(global, key, value);\n } catch (error) {\n global[key] = value;\n } return value;\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar has = require('../internals/has');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar BUGGY_SAFARI_ITERATORS = false;\n\nvar returnThis = function () { return this; };\n\n// `%IteratorPrototype%` object\n// https://tc39.es/ecma262/#sec-%iteratorprototype%-object\nvar IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;\n\nif ([].keys) {\n arrayIterator = [].keys();\n // Safari 8 has buggy iterators w/o `next`\n if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;\n else {\n PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));\n if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;\n }\n}\n\nvar NEW_ITERATOR_PROTOTYPE = IteratorPrototype == undefined || fails(function () {\n var test = {};\n // FF44- legacy iterators case\n return IteratorPrototype[ITERATOR].call(test) !== test;\n});\n\nif (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {};\n\n// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\nif ((!IS_PURE || NEW_ITERATOR_PROTOTYPE) && !has(IteratorPrototype, ITERATOR)) {\n createNonEnumerableProperty(IteratorPrototype, ITERATOR, returnThis);\n}\n\nmodule.exports = {\n IteratorPrototype: IteratorPrototype,\n BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS\n};\n","var toInteger = require('../internals/to-integer');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\n// `String.prototype.{ codePointAt, at }` methods implementation\nvar createMethod = function (CONVERT_TO_STRING) {\n return function ($this, pos) {\n var S = String(requireObjectCoercible($this));\n var position = toInteger(pos);\n var size = S.length;\n var first, second;\n if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;\n first = S.charCodeAt(position);\n return first < 0xD800 || first > 0xDBFF || position + 1 === size\n || (second = S.charCodeAt(position + 1)) < 0xDC00 || second > 0xDFFF\n ? CONVERT_TO_STRING ? S.charAt(position) : first\n : CONVERT_TO_STRING ? S.slice(position, position + 2) : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;\n };\n};\n\nmodule.exports = {\n // `String.prototype.codePointAt` method\n // https://tc39.es/ecma262/#sec-string.prototype.codepointat\n codeAt: createMethod(false),\n // `String.prototype.at` method\n // https://github.com/mathiasbynens/String.prototype.at\n charAt: createMethod(true)\n};\n","'use strict';\n// TODO: Remove from `core-js@4` since it's moved to entry points\nrequire('../modules/es.regexp.exec');\nvar redefine = require('../internals/redefine');\nvar fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar regexpExec = require('../internals/regexp-exec');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nvar SPECIES = wellKnownSymbol('species');\n\nvar REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {\n // #replace needs built-in support for named groups.\n // #match works fine because it just return the exec results, even if it has\n // a \"grops\" property.\n var re = /./;\n re.exec = function () {\n var result = [];\n result.groups = { a: '7' };\n return result;\n };\n return ''.replace(re, '$') !== '7';\n});\n\n// IE <= 11 replaces $0 with the whole match, as if it was $&\n// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0\nvar REPLACE_KEEPS_$0 = (function () {\n return 'a'.replace(/./, '$0') === '$0';\n})();\n\nvar REPLACE = wellKnownSymbol('replace');\n// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string\nvar REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {\n if (/./[REPLACE]) {\n return /./[REPLACE]('a', '$0') === '';\n }\n return false;\n})();\n\n// Chrome 51 has a buggy \"split\" implementation when RegExp#exec !== nativeExec\n// Weex JS has frozen built-in prototypes, so use try / catch wrapper\nvar SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () {\n var re = /(?:)/;\n var originalExec = re.exec;\n re.exec = function () { return originalExec.apply(this, arguments); };\n var result = 'ab'.split(re);\n return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b';\n});\n\nmodule.exports = function (KEY, length, exec, sham) {\n var SYMBOL = wellKnownSymbol(KEY);\n\n var DELEGATES_TO_SYMBOL = !fails(function () {\n // String methods call symbol-named RegEp methods\n var O = {};\n O[SYMBOL] = function () { return 7; };\n return ''[KEY](O) != 7;\n });\n\n var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () {\n // Symbol-named RegExp methods call .exec\n var execCalled = false;\n var re = /a/;\n\n if (KEY === 'split') {\n // We can't use real regex here since it causes deoptimization\n // and serious performance degradation in V8\n // https://github.com/zloirock/core-js/issues/306\n re = {};\n // RegExp[@@split] doesn't call the regex's exec method, but first creates\n // a new one. We need to return the patched regex when creating the new one.\n re.constructor = {};\n re.constructor[SPECIES] = function () { return re; };\n re.flags = '';\n re[SYMBOL] = /./[SYMBOL];\n }\n\n re.exec = function () { execCalled = true; return null; };\n\n re[SYMBOL]('');\n return !execCalled;\n });\n\n if (\n !DELEGATES_TO_SYMBOL ||\n !DELEGATES_TO_EXEC ||\n (KEY === 'replace' && !(\n REPLACE_SUPPORTS_NAMED_GROUPS &&\n REPLACE_KEEPS_$0 &&\n !REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE\n )) ||\n (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC)\n ) {\n var nativeRegExpMethod = /./[SYMBOL];\n var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {\n if (regexp.exec === regexpExec) {\n if (DELEGATES_TO_SYMBOL && !forceStringMethod) {\n // The native String method already delegates to @@method (this\n // polyfilled function), leasing to infinite recursion.\n // We avoid it by directly calling the native @@method method.\n return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) };\n }\n return { done: true, value: nativeMethod.call(str, regexp, arg2) };\n }\n return { done: false };\n }, {\n REPLACE_KEEPS_$0: REPLACE_KEEPS_$0,\n REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE: REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE\n });\n var stringMethod = methods[0];\n var regexMethod = methods[1];\n\n redefine(String.prototype, KEY, stringMethod);\n redefine(RegExp.prototype, SYMBOL, length == 2\n // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)\n // 21.2.5.11 RegExp.prototype[@@split](string, limit)\n ? function (string, arg) { return regexMethod.call(string, this, arg); }\n // 21.2.5.6 RegExp.prototype[@@match](string)\n // 21.2.5.9 RegExp.prototype[@@search](string)\n : function (string) { return regexMethod.call(string, this); }\n );\n }\n\n if (sham) createNonEnumerableProperty(RegExp.prototype[SYMBOL], 'sham', true);\n};\n","'use strict';\nvar bind = require('../internals/function-bind-context');\nvar toObject = require('../internals/to-object');\nvar callWithSafeIterationClosing = require('../internals/call-with-safe-iteration-closing');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar toLength = require('../internals/to-length');\nvar createProperty = require('../internals/create-property');\nvar getIteratorMethod = require('../internals/get-iterator-method');\n\n// `Array.from` method implementation\n// https://tc39.es/ecma262/#sec-array.from\nmodule.exports = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {\n var O = toObject(arrayLike);\n var C = typeof this == 'function' ? this : Array;\n var argumentsLength = arguments.length;\n var mapfn = argumentsLength > 1 ? arguments[1] : undefined;\n var mapping = mapfn !== undefined;\n var iteratorMethod = getIteratorMethod(O);\n var index = 0;\n var length, result, step, iterator, next, value;\n if (mapping) mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : undefined, 2);\n // if the target is not iterable or it's an array with the default iterator - use a simple case\n if (iteratorMethod != undefined && !(C == Array && isArrayIteratorMethod(iteratorMethod))) {\n iterator = iteratorMethod.call(O);\n next = iterator.next;\n result = new C();\n for (;!(step = next.call(iterator)).done; index++) {\n value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value;\n createProperty(result, index, value);\n }\n } else {\n length = toLength(O.length);\n result = new C(length);\n for (;length > index; index++) {\n value = mapping ? mapfn(O[index], index) : O[index];\n createProperty(result, index, value);\n }\n }\n result.length = index;\n return result;\n};\n","var $ = require('../internals/export');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toLength = require('../internals/to-length');\n\n// `String.raw` method\n// https://tc39.es/ecma262/#sec-string.raw\n$({ target: 'String', stat: true }, {\n raw: function raw(template) {\n var rawTemplate = toIndexedObject(template.raw);\n var literalSegments = toLength(rawTemplate.length);\n var argumentsLength = arguments.length;\n var elements = [];\n var i = 0;\n while (literalSegments > i) {\n elements.push(String(rawTemplate[i++]));\n if (i < argumentsLength) elements.push(String(arguments[i]));\n } return elements.join('');\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $reduceRight = require('../internals/array-reduce').right;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\nvar CHROME_VERSION = require('../internals/engine-v8-version');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar STRICT_METHOD = arrayMethodIsStrict('reduceRight');\n// For preventing possible almost infinite loop in non-standard implementations, test the forward version of the method\nvar USES_TO_LENGTH = arrayMethodUsesToLength('reduce', { 1: 0 });\n// Chrome 80-82 has a critical bug\n// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982\nvar CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83;\n\n// `Array.prototype.reduceRight` method\n// https://tc39.es/ecma262/#sec-array.prototype.reduceright\n$({ target: 'Array', proto: true, forced: !STRICT_METHOD || !USES_TO_LENGTH || CHROME_BUG }, {\n reduceRight: function reduceRight(callbackfn /* , initialValue */) {\n return $reduceRight(this, callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar isArray = require('../internals/is-array');\nvar toLength = require('../internals/to-length');\nvar bind = require('../internals/function-bind-context');\n\n// `FlattenIntoArray` abstract operation\n// https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray\nvar flattenIntoArray = function (target, original, source, sourceLen, start, depth, mapper, thisArg) {\n var targetIndex = start;\n var sourceIndex = 0;\n var mapFn = mapper ? bind(mapper, thisArg, 3) : false;\n var element;\n\n while (sourceIndex < sourceLen) {\n if (sourceIndex in source) {\n element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex];\n\n if (depth > 0 && isArray(element)) {\n targetIndex = flattenIntoArray(target, original, element, toLength(element.length), targetIndex, depth - 1) - 1;\n } else {\n if (targetIndex >= 0x1FFFFFFFFFFFFF) throw TypeError('Exceed the acceptable array length');\n target[targetIndex] = element;\n }\n\n targetIndex++;\n }\n sourceIndex++;\n }\n return targetIndex;\n};\n\nmodule.exports = flattenIntoArray;\n","var $ = require('../internals/export');\nvar log1p = require('../internals/math-log1p');\n\nvar nativeAcosh = Math.acosh;\nvar log = Math.log;\nvar sqrt = Math.sqrt;\nvar LN2 = Math.LN2;\n\nvar FORCED = !nativeAcosh\n // V8 bug: https://code.google.com/p/v8/issues/detail?id=3509\n || Math.floor(nativeAcosh(Number.MAX_VALUE)) != 710\n // Tor Browser bug: Math.acosh(Infinity) -> NaN\n || nativeAcosh(Infinity) != Infinity;\n\n// `Math.acosh` method\n// https://tc39.es/ecma262/#sec-math.acosh\n$({ target: 'Math', stat: true, forced: FORCED }, {\n acosh: function acosh(x) {\n return (x = +x) < 1 ? NaN : x > 94906265.62425156\n ? log(x) + LN2\n : log1p(x - 1 + sqrt(x - 1) * sqrt(x + 1));\n }\n});\n","var $ = require('../internals/export');\nvar FREEZING = require('../internals/freezing');\nvar fails = require('../internals/fails');\nvar isObject = require('../internals/is-object');\nvar onFreeze = require('../internals/internal-metadata').onFreeze;\n\nvar nativeFreeze = Object.freeze;\nvar FAILS_ON_PRIMITIVES = fails(function () { nativeFreeze(1); });\n\n// `Object.freeze` method\n// https://tc39.es/ecma262/#sec-object.freeze\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING }, {\n freeze: function freeze(it) {\n return nativeFreeze && isObject(it) ? nativeFreeze(onFreeze(it)) : it;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.fixed` method\n// https://tc39.es/ecma262/#sec-string.prototype.fixed\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('fixed') }, {\n fixed: function fixed() {\n return createHTML(this, 'tt', '', '');\n }\n});\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar definePropertyModule = require('../internals/object-define-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (CONSTRUCTOR_NAME) {\n var Constructor = getBuiltIn(CONSTRUCTOR_NAME);\n var defineProperty = definePropertyModule.f;\n\n if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) {\n defineProperty(Constructor, SPECIES, {\n configurable: true,\n get: function () { return this; }\n });\n }\n};\n","var isObject = require('../internals/is-object');\n\nmodule.exports = function (it) {\n if (!isObject(it) && it !== null) {\n throw TypeError(\"Can't set \" + String(it) + ' as a prototype');\n } return it;\n};\n","var isObject = require('../internals/is-object');\nvar isArray = require('../internals/is-array');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\n\n// `ArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray, length) {\n var C;\n if (isArray(originalArray)) {\n C = originalArray.constructor;\n // cross-realm fallback\n if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;\n else if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return new (C === undefined ? Array : C)(length === 0 ? 0 : length);\n};\n","var $ = require('../internals/export');\nvar expm1 = require('../internals/math-expm1');\n\n// `Math.expm1` method\n// https://tc39.es/ecma262/#sec-math.expm1\n$({ target: 'Math', stat: true, forced: expm1 != Math.expm1 }, { expm1: expm1 });\n","'use strict';\n\nvar fails = require('./fails');\n\n// babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError,\n// so we use an intermediate function.\nfunction RE(s, f) {\n return RegExp(s, f);\n}\n\nexports.UNSUPPORTED_Y = fails(function () {\n // babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError\n var re = RE('a', 'y');\n re.lastIndex = 2;\n return re.exec('abcd') != null;\n});\n\nexports.BROKEN_CARET = fails(function () {\n // https://bugzilla.mozilla.org/show_bug.cgi?id=773687\n var re = RE('^r', 'gy');\n re.lastIndex = 2;\n return re.exec('str') != null;\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $findIndex = require('../internals/array-iteration').findIndex;\nvar addToUnscopables = require('../internals/add-to-unscopables');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar FIND_INDEX = 'findIndex';\nvar SKIPS_HOLES = true;\n\nvar USES_TO_LENGTH = arrayMethodUsesToLength(FIND_INDEX);\n\n// Shouldn't skip holes\nif (FIND_INDEX in []) Array(1)[FIND_INDEX](function () { SKIPS_HOLES = false; });\n\n// `Array.prototype.findIndex` method\n// https://tc39.es/ecma262/#sec-array.prototype.findindex\n$({ target: 'Array', proto: true, forced: SKIPS_HOLES || !USES_TO_LENGTH }, {\n findIndex: function findIndex(callbackfn /* , that = undefined */) {\n return $findIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables(FIND_INDEX);\n","'use strict';\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar anObject = require('../internals/an-object');\nvar toLength = require('../internals/to-length');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar regExpExec = require('../internals/regexp-exec-abstract');\n\n// @@match logic\nfixRegExpWellKnownSymbolLogic('match', 1, function (MATCH, nativeMatch, maybeCallNative) {\n return [\n // `String.prototype.match` method\n // https://tc39.es/ecma262/#sec-string.prototype.match\n function match(regexp) {\n var O = requireObjectCoercible(this);\n var matcher = regexp == undefined ? undefined : regexp[MATCH];\n return matcher !== undefined ? matcher.call(regexp, O) : new RegExp(regexp)[MATCH](String(O));\n },\n // `RegExp.prototype[@@match]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@match\n function (regexp) {\n var res = maybeCallNative(nativeMatch, regexp, this);\n if (res.done) return res.value;\n\n var rx = anObject(regexp);\n var S = String(this);\n\n if (!rx.global) return regExpExec(rx, S);\n\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n var A = [];\n var n = 0;\n var result;\n while ((result = regExpExec(rx, S)) !== null) {\n var matchStr = String(result[0]);\n A[n] = matchStr;\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n n++;\n }\n return n === 0 ? null : A;\n }\n ];\n});\n","var global = require('../internals/global');\n\nmodule.exports = global.Promise;\n","var isObject = require('../internals/is-object');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\n\n// makes subclassing work correct for wrapped built-ins\nmodule.exports = function ($this, dummy, Wrapper) {\n var NewTarget, NewTargetPrototype;\n if (\n // it can work only with native `setPrototypeOf`\n setPrototypeOf &&\n // we haven't completely correct pre-ES6 way for getting `new.target`, so use this\n typeof (NewTarget = dummy.constructor) == 'function' &&\n NewTarget !== Wrapper &&\n isObject(NewTargetPrototype = NewTarget.prototype) &&\n NewTargetPrototype !== Wrapper.prototype\n ) setPrototypeOf($this, NewTargetPrototype);\n return $this;\n};\n","var global = require('../internals/global');\nvar setGlobal = require('../internals/set-global');\n\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || setGlobal(SHARED, {});\n\nmodule.exports = store;\n","var $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar isObject = require('../internals/is-object');\n\nvar nativeIsFrozen = Object.isFrozen;\nvar FAILS_ON_PRIMITIVES = fails(function () { nativeIsFrozen(1); });\n\n// `Object.isFrozen` method\n// https://tc39.es/ecma262/#sec-object.isfrozen\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {\n isFrozen: function isFrozen(it) {\n return isObject(it) ? nativeIsFrozen ? nativeIsFrozen(it) : false : true;\n }\n});\n","var $ = require('../internals/export');\nvar anObject = require('../internals/an-object');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\n\n// `Reflect.deleteProperty` method\n// https://tc39.es/ecma262/#sec-reflect.deleteproperty\n$({ target: 'Reflect', stat: true }, {\n deleteProperty: function deleteProperty(target, propertyKey) {\n var descriptor = getOwnPropertyDescriptor(anObject(target), propertyKey);\n return descriptor && !descriptor.configurable ? false : delete target[propertyKey];\n }\n});\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar objectKeys = require('../internals/object-keys');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar toObject = require('../internals/to-object');\nvar IndexedObject = require('../internals/indexed-object');\n\nvar nativeAssign = Object.assign;\nvar defineProperty = Object.defineProperty;\n\n// `Object.assign` method\n// https://tc39.es/ecma262/#sec-object.assign\nmodule.exports = !nativeAssign || fails(function () {\n // should have correct order of operations (Edge bug)\n if (DESCRIPTORS && nativeAssign({ b: 1 }, nativeAssign(defineProperty({}, 'a', {\n enumerable: true,\n get: function () {\n defineProperty(this, 'b', {\n value: 3,\n enumerable: false\n });\n }\n }), { b: 2 })).b !== 1) return true;\n // should work with symbols and should have deterministic property order (V8 bug)\n var A = {};\n var B = {};\n // eslint-disable-next-line no-undef\n var symbol = Symbol();\n var alphabet = 'abcdefghijklmnopqrst';\n A[symbol] = 7;\n alphabet.split('').forEach(function (chr) { B[chr] = chr; });\n return nativeAssign({}, A)[symbol] != 7 || objectKeys(nativeAssign({}, B)).join('') != alphabet;\n}) ? function assign(target, source) { // eslint-disable-line no-unused-vars\n var T = toObject(target);\n var argumentsLength = arguments.length;\n var index = 1;\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n var propertyIsEnumerable = propertyIsEnumerableModule.f;\n while (argumentsLength > index) {\n var S = IndexedObject(arguments[index++]);\n var keys = getOwnPropertySymbols ? objectKeys(S).concat(getOwnPropertySymbols(S)) : objectKeys(S);\n var length = keys.length;\n var j = 0;\n var key;\n while (length > j) {\n key = keys[j++];\n if (!DESCRIPTORS || propertyIsEnumerable.call(S, key)) T[key] = S[key];\n }\n } return T;\n} : nativeAssign;\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.iterator` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.iterator\ndefineWellKnownSymbol('iterator');\n","'use strict';\nvar $ = require('../internals/export');\nvar notARegExp = require('../internals/not-a-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar correctIsRegExpLogic = require('../internals/correct-is-regexp-logic');\n\n// `String.prototype.includes` method\n// https://tc39.es/ecma262/#sec-string.prototype.includes\n$({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {\n includes: function includes(searchString /* , position = 0 */) {\n return !!~String(requireObjectCoercible(this))\n .indexOf(notARegExp(searchString), arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","require('../../modules/es.array.concat');\nrequire('../../modules/es.object.to-string');\nrequire('../../modules/es.symbol');\nrequire('../../modules/es.symbol.async-iterator');\nrequire('../../modules/es.symbol.description');\nrequire('../../modules/es.symbol.has-instance');\nrequire('../../modules/es.symbol.is-concat-spreadable');\nrequire('../../modules/es.symbol.iterator');\nrequire('../../modules/es.symbol.match');\nrequire('../../modules/es.symbol.match-all');\nrequire('../../modules/es.symbol.replace');\nrequire('../../modules/es.symbol.search');\nrequire('../../modules/es.symbol.species');\nrequire('../../modules/es.symbol.split');\nrequire('../../modules/es.symbol.to-primitive');\nrequire('../../modules/es.symbol.to-string-tag');\nrequire('../../modules/es.symbol.unscopables');\nrequire('../../modules/es.json.to-string-tag');\nrequire('../../modules/es.math.to-string-tag');\nrequire('../../modules/es.reflect.to-string-tag');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Symbol;\n","var isObject = require('../internals/is-object');\n\n// `ToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-toprimitive\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (input, PREFERRED_STRING) {\n if (!isObject(input)) return input;\n var fn, val;\n if (PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;\n if (typeof (fn = input.valueOf) == 'function' && !isObject(val = fn.call(input))) return val;\n if (!PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n","var $ = require('../internals/export');\n\nvar floor = Math.floor;\nvar log = Math.log;\nvar LOG2E = Math.LOG2E;\n\n// `Math.clz32` method\n// https://tc39.es/ecma262/#sec-math.clz32\n$({ target: 'Math', stat: true }, {\n clz32: function clz32(x) {\n return (x >>>= 0) ? 31 - floor(log(x + 0.5) * LOG2E) : 32;\n }\n});\n","var hiddenKeys = require('../internals/hidden-keys');\nvar isObject = require('../internals/is-object');\nvar has = require('../internals/has');\nvar defineProperty = require('../internals/object-define-property').f;\nvar uid = require('../internals/uid');\nvar FREEZING = require('../internals/freezing');\n\nvar METADATA = uid('meta');\nvar id = 0;\n\nvar isExtensible = Object.isExtensible || function () {\n return true;\n};\n\nvar setMetadata = function (it) {\n defineProperty(it, METADATA, { value: {\n objectID: 'O' + ++id, // object ID\n weakData: {} // weak collections IDs\n } });\n};\n\nvar fastKey = function (it, create) {\n // return a primitive with prefix\n if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if (!has(it, METADATA)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return 'F';\n // not necessary to add metadata\n if (!create) return 'E';\n // add missing metadata\n setMetadata(it);\n // return object ID\n } return it[METADATA].objectID;\n};\n\nvar getWeakData = function (it, create) {\n if (!has(it, METADATA)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return true;\n // not necessary to add metadata\n if (!create) return false;\n // add missing metadata\n setMetadata(it);\n // return the store of weak collections IDs\n } return it[METADATA].weakData;\n};\n\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n if (FREEZING && meta.REQUIRED && isExtensible(it) && !has(it, METADATA)) setMetadata(it);\n return it;\n};\n\nvar meta = module.exports = {\n REQUIRED: false,\n fastKey: fastKey,\n getWeakData: getWeakData,\n onFreeze: onFreeze\n};\n\nhiddenKeys[METADATA] = true;\n","var DESCRIPTORS = require('../internals/descriptors');\nvar defineProperty = require('../internals/object-define-property').f;\n\nvar FunctionPrototype = Function.prototype;\nvar FunctionPrototypeToString = FunctionPrototype.toString;\nvar nameRE = /^\\s*function ([^ (]*)/;\nvar NAME = 'name';\n\n// Function instances `.name` property\n// https://tc39.es/ecma262/#sec-function-instances-name\nif (DESCRIPTORS && !(NAME in FunctionPrototype)) {\n defineProperty(FunctionPrototype, NAME, {\n configurable: true,\n get: function () {\n try {\n return FunctionPrototypeToString.call(this).match(nameRE)[1];\n } catch (error) {\n return '';\n }\n }\n });\n}\n","var fails = require('../internals/fails');\n\nvar replacement = /#|\\.prototype\\./;\n\nvar isForced = function (feature, detection) {\n var value = data[normalize(feature)];\n return value == POLYFILL ? true\n : value == NATIVE ? false\n : typeof detection == 'function' ? fails(detection)\n : !!detection;\n};\n\nvar normalize = isForced.normalize = function (string) {\n return String(string).replace(replacement, '.').toLowerCase();\n};\n\nvar data = isForced.data = {};\nvar NATIVE = isForced.NATIVE = 'N';\nvar POLYFILL = isForced.POLYFILL = 'P';\n\nmodule.exports = isForced;\n","var has = require('../internals/has');\nvar ownKeys = require('../internals/own-keys');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\n\nmodule.exports = function (target, source) {\n var keys = ownKeys(source);\n var defineProperty = definePropertyModule.f;\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n if (!has(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n};\n","var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar redefine = require('../internals/redefine');\nvar toString = require('../internals/object-to-string');\n\n// `Object.prototype.toString` method\n// https://tc39.es/ecma262/#sec-object.prototype.tostring\nif (!TO_STRING_TAG_SUPPORT) {\n redefine(Object.prototype, 'toString', toString, { unsafe: true });\n}\n","module.exports = function (it) {\n if (typeof it != 'function') {\n throw TypeError(String(it) + ' is not a function');\n } return it;\n};\n","var isObject = require('../internals/is-object');\n\nvar floor = Math.floor;\n\n// `Number.isInteger` method implementation\n// https://tc39.es/ecma262/#sec-number.isinteger\nmodule.exports = function isInteger(it) {\n return !isObject(it) && isFinite(it) && floor(it) === it;\n};\n","var log = Math.log;\n\n// `Math.log1p` method implementation\n// https://tc39.es/ecma262/#sec-math.log1p\nmodule.exports = Math.log1p || function log1p(x) {\n return (x = +x) > -1e-8 && x < 1e-8 ? x - x * x / 2 : log(1 + x);\n};\n","var hasOwnProperty = {}.hasOwnProperty;\n\nmodule.exports = function (it, key) {\n return hasOwnProperty.call(it, key);\n};\n","var $ = require('../internals/export');\nvar iterate = require('../internals/iterate');\nvar createProperty = require('../internals/create-property');\n\n// `Object.fromEntries` method\n// https://github.com/tc39/proposal-object-from-entries\n$({ target: 'Object', stat: true }, {\n fromEntries: function fromEntries(iterable) {\n var obj = {};\n iterate(iterable, function (k, v) {\n createProperty(obj, k, v);\n }, { AS_ENTRIES: true });\n return obj;\n }\n});\n","var setToStringTag = require('../internals/set-to-string-tag');\n\n// Math[@@toStringTag] property\n// https://tc39.es/ecma262/#sec-math-@@tostringtag\nsetToStringTag(Math, 'Math', true);\n","var toIndexedObject = require('../internals/to-indexed-object');\nvar toLength = require('../internals/to-length');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIndexedObject($this);\n var length = toLength(O.length);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) {\n if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.includes` method\n // https://tc39.es/ecma262/#sec-array.prototype.includes\n includes: createMethod(true),\n // `Array.prototype.indexOf` method\n // https://tc39.es/ecma262/#sec-array.prototype.indexof\n indexOf: createMethod(false)\n};\n","// iterable DOM collections\n// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods\nmodule.exports = {\n CSSRuleList: 0,\n CSSStyleDeclaration: 0,\n CSSValueList: 0,\n ClientRectList: 0,\n DOMRectList: 0,\n DOMStringList: 0,\n DOMTokenList: 1,\n DataTransferItemList: 0,\n FileList: 0,\n HTMLAllCollection: 0,\n HTMLCollection: 0,\n HTMLFormElement: 0,\n HTMLSelectElement: 0,\n MediaList: 0,\n MimeTypeArray: 0,\n NamedNodeMap: 0,\n NodeList: 1,\n PaintRequestList: 0,\n Plugin: 0,\n PluginArray: 0,\n SVGLengthList: 0,\n SVGNumberList: 0,\n SVGPathSegList: 0,\n SVGPointList: 0,\n SVGStringList: 0,\n SVGTransformList: 0,\n SourceBufferList: 0,\n StyleSheetList: 0,\n TextTrackCueList: 0,\n TextTrackList: 0,\n TouchList: 0\n};\n","var global = require('../internals/global');\nvar fails = require('../internals/fails');\nvar bind = require('../internals/function-bind-context');\nvar html = require('../internals/html');\nvar createElement = require('../internals/document-create-element');\nvar IS_IOS = require('../internals/engine-is-ios');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar location = global.location;\nvar set = global.setImmediate;\nvar clear = global.clearImmediate;\nvar process = global.process;\nvar MessageChannel = global.MessageChannel;\nvar Dispatch = global.Dispatch;\nvar counter = 0;\nvar queue = {};\nvar ONREADYSTATECHANGE = 'onreadystatechange';\nvar defer, channel, port;\n\nvar run = function (id) {\n // eslint-disable-next-line no-prototype-builtins\n if (queue.hasOwnProperty(id)) {\n var fn = queue[id];\n delete queue[id];\n fn();\n }\n};\n\nvar runner = function (id) {\n return function () {\n run(id);\n };\n};\n\nvar listener = function (event) {\n run(event.data);\n};\n\nvar post = function (id) {\n // old engines have not location.origin\n global.postMessage(id + '', location.protocol + '//' + location.host);\n};\n\n// Node.js 0.9+ & IE10+ has setImmediate, otherwise:\nif (!set || !clear) {\n set = function setImmediate(fn) {\n var args = [];\n var i = 1;\n while (arguments.length > i) args.push(arguments[i++]);\n queue[++counter] = function () {\n // eslint-disable-next-line no-new-func\n (typeof fn == 'function' ? fn : Function(fn)).apply(undefined, args);\n };\n defer(counter);\n return counter;\n };\n clear = function clearImmediate(id) {\n delete queue[id];\n };\n // Node.js 0.8-\n if (IS_NODE) {\n defer = function (id) {\n process.nextTick(runner(id));\n };\n // Sphere (JS game engine) Dispatch API\n } else if (Dispatch && Dispatch.now) {\n defer = function (id) {\n Dispatch.now(runner(id));\n };\n // Browsers with MessageChannel, includes WebWorkers\n // except iOS - https://github.com/zloirock/core-js/issues/624\n } else if (MessageChannel && !IS_IOS) {\n channel = new MessageChannel();\n port = channel.port2;\n channel.port1.onmessage = listener;\n defer = bind(port.postMessage, port, 1);\n // Browsers with postMessage, skip WebWorkers\n // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'\n } else if (\n global.addEventListener &&\n typeof postMessage == 'function' &&\n !global.importScripts &&\n location && location.protocol !== 'file:' &&\n !fails(post)\n ) {\n defer = post;\n global.addEventListener('message', listener, false);\n // IE8-\n } else if (ONREADYSTATECHANGE in createElement('script')) {\n defer = function (id) {\n html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function () {\n html.removeChild(this);\n run(id);\n };\n };\n // Rest old browsers\n } else {\n defer = function (id) {\n setTimeout(runner(id), 0);\n };\n }\n}\n\nmodule.exports = {\n set: set,\n clear: clear\n};\n","var $ = require('../internals/export');\nvar parseIntImplementation = require('../internals/number-parse-int');\n\n// `parseInt` method\n// https://tc39.es/ecma262/#sec-parseint-string-radix\n$({ global: true, forced: parseInt != parseIntImplementation }, {\n parseInt: parseIntImplementation\n});\n","var $ = require('../internals/export');\nvar fround = require('../internals/math-fround');\n\n// `Math.fround` method\n// https://tc39.es/ecma262/#sec-math.fround\n$({ target: 'Math', stat: true }, { fround: fround });\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.hasInstance` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.hasinstance\ndefineWellKnownSymbol('hasInstance');\n","'use strict';\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar isRegExp = require('../internals/is-regexp');\nvar anObject = require('../internals/an-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar speciesConstructor = require('../internals/species-constructor');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar toLength = require('../internals/to-length');\nvar callRegExpExec = require('../internals/regexp-exec-abstract');\nvar regexpExec = require('../internals/regexp-exec');\nvar fails = require('../internals/fails');\n\nvar arrayPush = [].push;\nvar min = Math.min;\nvar MAX_UINT32 = 0xFFFFFFFF;\n\n// babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError\nvar SUPPORTS_Y = !fails(function () { return !RegExp(MAX_UINT32, 'y'); });\n\n// @@split logic\nfixRegExpWellKnownSymbolLogic('split', 2, function (SPLIT, nativeSplit, maybeCallNative) {\n var internalSplit;\n if (\n 'abbc'.split(/(b)*/)[1] == 'c' ||\n 'test'.split(/(?:)/, -1).length != 4 ||\n 'ab'.split(/(?:ab)*/).length != 2 ||\n '.'.split(/(.?)(.?)/).length != 4 ||\n '.'.split(/()()/).length > 1 ||\n ''.split(/.?/).length\n ) {\n // based on es5-shim implementation, need to rework it\n internalSplit = function (separator, limit) {\n var string = String(requireObjectCoercible(this));\n var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;\n if (lim === 0) return [];\n if (separator === undefined) return [string];\n // If `separator` is not a regex, use native split\n if (!isRegExp(separator)) {\n return nativeSplit.call(string, separator, lim);\n }\n var output = [];\n var flags = (separator.ignoreCase ? 'i' : '') +\n (separator.multiline ? 'm' : '') +\n (separator.unicode ? 'u' : '') +\n (separator.sticky ? 'y' : '');\n var lastLastIndex = 0;\n // Make `global` and avoid `lastIndex` issues by working with a copy\n var separatorCopy = new RegExp(separator.source, flags + 'g');\n var match, lastIndex, lastLength;\n while (match = regexpExec.call(separatorCopy, string)) {\n lastIndex = separatorCopy.lastIndex;\n if (lastIndex > lastLastIndex) {\n output.push(string.slice(lastLastIndex, match.index));\n if (match.length > 1 && match.index < string.length) arrayPush.apply(output, match.slice(1));\n lastLength = match[0].length;\n lastLastIndex = lastIndex;\n if (output.length >= lim) break;\n }\n if (separatorCopy.lastIndex === match.index) separatorCopy.lastIndex++; // Avoid an infinite loop\n }\n if (lastLastIndex === string.length) {\n if (lastLength || !separatorCopy.test('')) output.push('');\n } else output.push(string.slice(lastLastIndex));\n return output.length > lim ? output.slice(0, lim) : output;\n };\n // Chakra, V8\n } else if ('0'.split(undefined, 0).length) {\n internalSplit = function (separator, limit) {\n return separator === undefined && limit === 0 ? [] : nativeSplit.call(this, separator, limit);\n };\n } else internalSplit = nativeSplit;\n\n return [\n // `String.prototype.split` method\n // https://tc39.es/ecma262/#sec-string.prototype.split\n function split(separator, limit) {\n var O = requireObjectCoercible(this);\n var splitter = separator == undefined ? undefined : separator[SPLIT];\n return splitter !== undefined\n ? splitter.call(separator, O, limit)\n : internalSplit.call(String(O), separator, limit);\n },\n // `RegExp.prototype[@@split]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@split\n //\n // NOTE: This cannot be properly polyfilled in engines that don't support\n // the 'y' flag.\n function (regexp, limit) {\n var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== nativeSplit);\n if (res.done) return res.value;\n\n var rx = anObject(regexp);\n var S = String(this);\n var C = speciesConstructor(rx, RegExp);\n\n var unicodeMatching = rx.unicode;\n var flags = (rx.ignoreCase ? 'i' : '') +\n (rx.multiline ? 'm' : '') +\n (rx.unicode ? 'u' : '') +\n (SUPPORTS_Y ? 'y' : 'g');\n\n // ^(? + rx + ) is needed, in combination with some S slicing, to\n // simulate the 'y' flag.\n var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags);\n var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;\n if (lim === 0) return [];\n if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : [];\n var p = 0;\n var q = 0;\n var A = [];\n while (q < S.length) {\n splitter.lastIndex = SUPPORTS_Y ? q : 0;\n var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q));\n var e;\n if (\n z === null ||\n (e = min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p\n ) {\n q = advanceStringIndex(S, q, unicodeMatching);\n } else {\n A.push(S.slice(p, q));\n if (A.length === lim) return A;\n for (var i = 1; i <= z.length - 1; i++) {\n A.push(z[i]);\n if (A.length === lim) return A;\n }\n q = p = e;\n }\n }\n A.push(S.slice(p));\n return A;\n }\n ];\n}, !SUPPORTS_Y);\n","'use strict';\nvar $ = require('../internals/export');\nvar $reduce = require('../internals/array-reduce').left;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\nvar CHROME_VERSION = require('../internals/engine-v8-version');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar STRICT_METHOD = arrayMethodIsStrict('reduce');\nvar USES_TO_LENGTH = arrayMethodUsesToLength('reduce', { 1: 0 });\n// Chrome 80-82 has a critical bug\n// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982\nvar CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83;\n\n// `Array.prototype.reduce` method\n// https://tc39.es/ecma262/#sec-array.prototype.reduce\n$({ target: 'Array', proto: true, forced: !STRICT_METHOD || !USES_TO_LENGTH || CHROME_BUG }, {\n reduce: function reduce(callbackfn /* , initialValue */) {\n return $reduce(this, callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","var $ = require('../internals/export');\nvar fails = require('../internals/fails');\n\nvar nativeImul = Math.imul;\n\nvar FORCED = fails(function () {\n return nativeImul(0xFFFFFFFF, 5) != -5 || nativeImul.length != 2;\n});\n\n// `Math.imul` method\n// https://tc39.es/ecma262/#sec-math.imul\n// some WebKit versions fails with big numbers, some has wrong arity\n$({ target: 'Math', stat: true, forced: FORCED }, {\n imul: function imul(x, y) {\n var UINT16 = 0xFFFF;\n var xn = +x;\n var yn = +y;\n var xl = UINT16 & xn;\n var yl = UINT16 & yn;\n return 0 | xl * yl + ((UINT16 & xn >>> 16) * yl + xl * (UINT16 & yn >>> 16) << 16 >>> 0);\n }\n});\n","require('../../modules/es.reflect.apply');\nrequire('../../modules/es.reflect.construct');\nrequire('../../modules/es.reflect.define-property');\nrequire('../../modules/es.reflect.delete-property');\nrequire('../../modules/es.reflect.get');\nrequire('../../modules/es.reflect.get-own-property-descriptor');\nrequire('../../modules/es.reflect.get-prototype-of');\nrequire('../../modules/es.reflect.has');\nrequire('../../modules/es.reflect.is-extensible');\nrequire('../../modules/es.reflect.own-keys');\nrequire('../../modules/es.reflect.prevent-extensions');\nrequire('../../modules/es.reflect.set');\nrequire('../../modules/es.reflect.set-prototype-of');\nrequire('../../modules/es.reflect.to-string-tag');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Reflect;\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.anchor` method\n// https://tc39.es/ecma262/#sec-string.prototype.anchor\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('anchor') }, {\n anchor: function anchor(name) {\n return createHTML(this, 'a', 'name', name);\n }\n});\n","var $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar isObject = require('../internals/is-object');\n\nvar nativeIsSealed = Object.isSealed;\nvar FAILS_ON_PRIMITIVES = fails(function () { nativeIsSealed(1); });\n\n// `Object.isSealed` method\n// https://tc39.es/ecma262/#sec-object.issealed\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {\n isSealed: function isSealed(it) {\n return isObject(it) ? nativeIsSealed ? nativeIsSealed(it) : false : true;\n }\n});\n","// https://github.com/tc39/proposal-string-pad-start-end\nvar toLength = require('../internals/to-length');\nvar repeat = require('../internals/string-repeat');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar ceil = Math.ceil;\n\n// `String.prototype.{ padStart, padEnd }` methods implementation\nvar createMethod = function (IS_END) {\n return function ($this, maxLength, fillString) {\n var S = String(requireObjectCoercible($this));\n var stringLength = S.length;\n var fillStr = fillString === undefined ? ' ' : String(fillString);\n var intMaxLength = toLength(maxLength);\n var fillLen, stringFiller;\n if (intMaxLength <= stringLength || fillStr == '') return S;\n fillLen = intMaxLength - stringLength;\n stringFiller = repeat.call(fillStr, ceil(fillLen / fillStr.length));\n if (stringFiller.length > fillLen) stringFiller = stringFiller.slice(0, fillLen);\n return IS_END ? S + stringFiller : stringFiller + S;\n };\n};\n\nmodule.exports = {\n // `String.prototype.padStart` method\n // https://tc39.es/ecma262/#sec-string.prototype.padstart\n start: createMethod(false),\n // `String.prototype.padEnd` method\n // https://tc39.es/ecma262/#sec-string.prototype.padend\n end: createMethod(true)\n};\n","var $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar create = require('../internals/object-create');\n\n// `Object.create` method\n// https://tc39.es/ecma262/#sec-object.create\n$({ target: 'Object', stat: true, sham: !DESCRIPTORS }, {\n create: create\n});\n","'use strict';\nvar redefine = require('../internals/redefine');\nvar anObject = require('../internals/an-object');\nvar fails = require('../internals/fails');\nvar flags = require('../internals/regexp-flags');\n\nvar TO_STRING = 'toString';\nvar RegExpPrototype = RegExp.prototype;\nvar nativeToString = RegExpPrototype[TO_STRING];\n\nvar NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) != '/a/b'; });\n// FF44- RegExp#toString has a wrong name\nvar INCORRECT_NAME = nativeToString.name != TO_STRING;\n\n// `RegExp.prototype.toString` method\n// https://tc39.es/ecma262/#sec-regexp.prototype.tostring\nif (NOT_GENERIC || INCORRECT_NAME) {\n redefine(RegExp.prototype, TO_STRING, function toString() {\n var R = anObject(this);\n var p = String(R.source);\n var rf = R.flags;\n var f = String(rf === undefined && R instanceof RegExp && !('flags' in RegExpPrototype) ? flags.call(R) : rf);\n return '/' + p + '/' + f;\n }, { unsafe: true });\n}\n","var anObject = require('../internals/an-object');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar toLength = require('../internals/to-length');\nvar bind = require('../internals/function-bind-context');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar iteratorClose = require('../internals/iterator-close');\n\nvar Result = function (stopped, result) {\n this.stopped = stopped;\n this.result = result;\n};\n\nmodule.exports = function (iterable, unboundFunction, options) {\n var that = options && options.that;\n var AS_ENTRIES = !!(options && options.AS_ENTRIES);\n var IS_ITERATOR = !!(options && options.IS_ITERATOR);\n var INTERRUPTED = !!(options && options.INTERRUPTED);\n var fn = bind(unboundFunction, that, 1 + AS_ENTRIES + INTERRUPTED);\n var iterator, iterFn, index, length, result, next, step;\n\n var stop = function (condition) {\n if (iterator) iteratorClose(iterator);\n return new Result(true, condition);\n };\n\n var callFn = function (value) {\n if (AS_ENTRIES) {\n anObject(value);\n return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);\n } return INTERRUPTED ? fn(value, stop) : fn(value);\n };\n\n if (IS_ITERATOR) {\n iterator = iterable;\n } else {\n iterFn = getIteratorMethod(iterable);\n if (typeof iterFn != 'function') throw TypeError('Target is not iterable');\n // optimisation for array iterators\n if (isArrayIteratorMethod(iterFn)) {\n for (index = 0, length = toLength(iterable.length); length > index; index++) {\n result = callFn(iterable[index]);\n if (result && result instanceof Result) return result;\n } return new Result(false);\n }\n iterator = iterFn.call(iterable);\n }\n\n next = iterator.next;\n while (!(step = next.call(iterator)).done) {\n try {\n result = callFn(step.value);\n } catch (error) {\n iteratorClose(iterator);\n throw error;\n }\n if (typeof result == 'object' && result && result instanceof Result) return result;\n } return new Result(false);\n};\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.replace` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.replace\ndefineWellKnownSymbol('replace');\n","'use strict';\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar anObject = require('../internals/an-object');\nvar toLength = require('../internals/to-length');\nvar toInteger = require('../internals/to-integer');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar getSubstitution = require('../internals/get-substitution');\nvar regExpExec = require('../internals/regexp-exec-abstract');\n\nvar max = Math.max;\nvar min = Math.min;\n\nvar maybeToString = function (it) {\n return it === undefined ? it : String(it);\n};\n\n// @@replace logic\nfixRegExpWellKnownSymbolLogic('replace', 2, function (REPLACE, nativeReplace, maybeCallNative, reason) {\n var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = reason.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE;\n var REPLACE_KEEPS_$0 = reason.REPLACE_KEEPS_$0;\n var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';\n\n return [\n // `String.prototype.replace` method\n // https://tc39.es/ecma262/#sec-string.prototype.replace\n function replace(searchValue, replaceValue) {\n var O = requireObjectCoercible(this);\n var replacer = searchValue == undefined ? undefined : searchValue[REPLACE];\n return replacer !== undefined\n ? replacer.call(searchValue, O, replaceValue)\n : nativeReplace.call(String(O), searchValue, replaceValue);\n },\n // `RegExp.prototype[@@replace]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace\n function (regexp, replaceValue) {\n if (\n (!REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE && REPLACE_KEEPS_$0) ||\n (typeof replaceValue === 'string' && replaceValue.indexOf(UNSAFE_SUBSTITUTE) === -1)\n ) {\n var res = maybeCallNative(nativeReplace, regexp, this, replaceValue);\n if (res.done) return res.value;\n }\n\n var rx = anObject(regexp);\n var S = String(this);\n\n var functionalReplace = typeof replaceValue === 'function';\n if (!functionalReplace) replaceValue = String(replaceValue);\n\n var global = rx.global;\n if (global) {\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n }\n var results = [];\n while (true) {\n var result = regExpExec(rx, S);\n if (result === null) break;\n\n results.push(result);\n if (!global) break;\n\n var matchStr = String(result[0]);\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n }\n\n var accumulatedResult = '';\n var nextSourcePosition = 0;\n for (var i = 0; i < results.length; i++) {\n result = results[i];\n\n var matched = String(result[0]);\n var position = max(min(toInteger(result.index), S.length), 0);\n var captures = [];\n // NOTE: This is equivalent to\n // captures = result.slice(1).map(maybeToString)\n // but for some reason `nativeSlice.call(result, 1, result.length)` (called in\n // the slice polyfill when slicing native arrays) \"doesn't work\" in safari 9 and\n // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.\n for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j]));\n var namedCaptures = result.groups;\n if (functionalReplace) {\n var replacerArgs = [matched].concat(captures, position, S);\n if (namedCaptures !== undefined) replacerArgs.push(namedCaptures);\n var replacement = String(replaceValue.apply(undefined, replacerArgs));\n } else {\n replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);\n }\n if (position >= nextSourcePosition) {\n accumulatedResult += S.slice(nextSourcePosition, position) + replacement;\n nextSourcePosition = position + matched.length;\n }\n }\n return accumulatedResult + S.slice(nextSourcePosition);\n }\n ];\n});\n","var $ = require('../internals/export');\nvar expm1 = require('../internals/math-expm1');\n\nvar nativeCosh = Math.cosh;\nvar abs = Math.abs;\nvar E = Math.E;\n\n// `Math.cosh` method\n// https://tc39.es/ecma262/#sec-math.cosh\n$({ target: 'Math', stat: true, forced: !nativeCosh || nativeCosh(710) === Infinity }, {\n cosh: function cosh(x) {\n var t = expm1(abs(x) - 1) + 1;\n return (t + 1 / (t * E * E)) * (E / 2);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar exec = require('../internals/regexp-exec');\n\n// `RegExp.prototype.exec` method\n// https://tc39.es/ecma262/#sec-regexp.prototype.exec\n$({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {\n exec: exec\n});\n","var id = 0;\nvar postfix = Math.random();\n\nmodule.exports = function (key) {\n return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36);\n};\n","module.exports = function (it, Constructor, name) {\n if (!(it instanceof Constructor)) {\n throw TypeError('Incorrect ' + (name ? name + ' ' : '') + 'invocation');\n } return it;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar getBuiltIn = require('../internals/get-built-in');\nvar IS_PURE = require('../internals/is-pure');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar NATIVE_SYMBOL = require('../internals/native-symbol');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\nvar fails = require('../internals/fails');\nvar has = require('../internals/has');\nvar isArray = require('../internals/is-array');\nvar isObject = require('../internals/is-object');\nvar anObject = require('../internals/an-object');\nvar toObject = require('../internals/to-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPrimitive = require('../internals/to-primitive');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar nativeObjectCreate = require('../internals/object-create');\nvar objectKeys = require('../internals/object-keys');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertyNamesExternal = require('../internals/object-get-own-property-names-external');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar redefine = require('../internals/redefine');\nvar shared = require('../internals/shared');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar uid = require('../internals/uid');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar wrappedWellKnownSymbolModule = require('../internals/well-known-symbol-wrapped');\nvar defineWellKnownSymbol = require('../internals/define-well-known-symbol');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar InternalStateModule = require('../internals/internal-state');\nvar $forEach = require('../internals/array-iteration').forEach;\n\nvar HIDDEN = sharedKey('hidden');\nvar SYMBOL = 'Symbol';\nvar PROTOTYPE = 'prototype';\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(SYMBOL);\nvar ObjectPrototype = Object[PROTOTYPE];\nvar $Symbol = global.Symbol;\nvar $stringify = getBuiltIn('JSON', 'stringify');\nvar nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\nvar nativeDefineProperty = definePropertyModule.f;\nvar nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f;\nvar nativePropertyIsEnumerable = propertyIsEnumerableModule.f;\nvar AllSymbols = shared('symbols');\nvar ObjectPrototypeSymbols = shared('op-symbols');\nvar StringToSymbolRegistry = shared('string-to-symbol-registry');\nvar SymbolToStringRegistry = shared('symbol-to-string-registry');\nvar WellKnownSymbolsStore = shared('wks');\nvar QObject = global.QObject;\n// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173\nvar USE_SETTER = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;\n\n// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687\nvar setSymbolDescriptor = DESCRIPTORS && fails(function () {\n return nativeObjectCreate(nativeDefineProperty({}, 'a', {\n get: function () { return nativeDefineProperty(this, 'a', { value: 7 }).a; }\n })).a != 7;\n}) ? function (O, P, Attributes) {\n var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor(ObjectPrototype, P);\n if (ObjectPrototypeDescriptor) delete ObjectPrototype[P];\n nativeDefineProperty(O, P, Attributes);\n if (ObjectPrototypeDescriptor && O !== ObjectPrototype) {\n nativeDefineProperty(ObjectPrototype, P, ObjectPrototypeDescriptor);\n }\n} : nativeDefineProperty;\n\nvar wrap = function (tag, description) {\n var symbol = AllSymbols[tag] = nativeObjectCreate($Symbol[PROTOTYPE]);\n setInternalState(symbol, {\n type: SYMBOL,\n tag: tag,\n description: description\n });\n if (!DESCRIPTORS) symbol.description = description;\n return symbol;\n};\n\nvar isSymbol = USE_SYMBOL_AS_UID ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n return Object(it) instanceof $Symbol;\n};\n\nvar $defineProperty = function defineProperty(O, P, Attributes) {\n if (O === ObjectPrototype) $defineProperty(ObjectPrototypeSymbols, P, Attributes);\n anObject(O);\n var key = toPrimitive(P, true);\n anObject(Attributes);\n if (has(AllSymbols, key)) {\n if (!Attributes.enumerable) {\n if (!has(O, HIDDEN)) nativeDefineProperty(O, HIDDEN, createPropertyDescriptor(1, {}));\n O[HIDDEN][key] = true;\n } else {\n if (has(O, HIDDEN) && O[HIDDEN][key]) O[HIDDEN][key] = false;\n Attributes = nativeObjectCreate(Attributes, { enumerable: createPropertyDescriptor(0, false) });\n } return setSymbolDescriptor(O, key, Attributes);\n } return nativeDefineProperty(O, key, Attributes);\n};\n\nvar $defineProperties = function defineProperties(O, Properties) {\n anObject(O);\n var properties = toIndexedObject(Properties);\n var keys = objectKeys(properties).concat($getOwnPropertySymbols(properties));\n $forEach(keys, function (key) {\n if (!DESCRIPTORS || $propertyIsEnumerable.call(properties, key)) $defineProperty(O, key, properties[key]);\n });\n return O;\n};\n\nvar $create = function create(O, Properties) {\n return Properties === undefined ? nativeObjectCreate(O) : $defineProperties(nativeObjectCreate(O), Properties);\n};\n\nvar $propertyIsEnumerable = function propertyIsEnumerable(V) {\n var P = toPrimitive(V, true);\n var enumerable = nativePropertyIsEnumerable.call(this, P);\n if (this === ObjectPrototype && has(AllSymbols, P) && !has(ObjectPrototypeSymbols, P)) return false;\n return enumerable || !has(this, P) || !has(AllSymbols, P) || has(this, HIDDEN) && this[HIDDEN][P] ? enumerable : true;\n};\n\nvar $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(O, P) {\n var it = toIndexedObject(O);\n var key = toPrimitive(P, true);\n if (it === ObjectPrototype && has(AllSymbols, key) && !has(ObjectPrototypeSymbols, key)) return;\n var descriptor = nativeGetOwnPropertyDescriptor(it, key);\n if (descriptor && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) {\n descriptor.enumerable = true;\n }\n return descriptor;\n};\n\nvar $getOwnPropertyNames = function getOwnPropertyNames(O) {\n var names = nativeGetOwnPropertyNames(toIndexedObject(O));\n var result = [];\n $forEach(names, function (key) {\n if (!has(AllSymbols, key) && !has(hiddenKeys, key)) result.push(key);\n });\n return result;\n};\n\nvar $getOwnPropertySymbols = function getOwnPropertySymbols(O) {\n var IS_OBJECT_PROTOTYPE = O === ObjectPrototype;\n var names = nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject(O));\n var result = [];\n $forEach(names, function (key) {\n if (has(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || has(ObjectPrototype, key))) {\n result.push(AllSymbols[key]);\n }\n });\n return result;\n};\n\n// `Symbol` constructor\n// https://tc39.es/ecma262/#sec-symbol-constructor\nif (!NATIVE_SYMBOL) {\n $Symbol = function Symbol() {\n if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor');\n var description = !arguments.length || arguments[0] === undefined ? undefined : String(arguments[0]);\n var tag = uid(description);\n var setter = function (value) {\n if (this === ObjectPrototype) setter.call(ObjectPrototypeSymbols, value);\n if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;\n setSymbolDescriptor(this, tag, createPropertyDescriptor(1, value));\n };\n if (DESCRIPTORS && USE_SETTER) setSymbolDescriptor(ObjectPrototype, tag, { configurable: true, set: setter });\n return wrap(tag, description);\n };\n\n redefine($Symbol[PROTOTYPE], 'toString', function toString() {\n return getInternalState(this).tag;\n });\n\n redefine($Symbol, 'withoutSetter', function (description) {\n return wrap(uid(description), description);\n });\n\n propertyIsEnumerableModule.f = $propertyIsEnumerable;\n definePropertyModule.f = $defineProperty;\n getOwnPropertyDescriptorModule.f = $getOwnPropertyDescriptor;\n getOwnPropertyNamesModule.f = getOwnPropertyNamesExternal.f = $getOwnPropertyNames;\n getOwnPropertySymbolsModule.f = $getOwnPropertySymbols;\n\n wrappedWellKnownSymbolModule.f = function (name) {\n return wrap(wellKnownSymbol(name), name);\n };\n\n if (DESCRIPTORS) {\n // https://github.com/tc39/proposal-Symbol-description\n nativeDefineProperty($Symbol[PROTOTYPE], 'description', {\n configurable: true,\n get: function description() {\n return getInternalState(this).description;\n }\n });\n if (!IS_PURE) {\n redefine(ObjectPrototype, 'propertyIsEnumerable', $propertyIsEnumerable, { unsafe: true });\n }\n }\n}\n\n$({ global: true, wrap: true, forced: !NATIVE_SYMBOL, sham: !NATIVE_SYMBOL }, {\n Symbol: $Symbol\n});\n\n$forEach(objectKeys(WellKnownSymbolsStore), function (name) {\n defineWellKnownSymbol(name);\n});\n\n$({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL }, {\n // `Symbol.for` method\n // https://tc39.es/ecma262/#sec-symbol.for\n 'for': function (key) {\n var string = String(key);\n if (has(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string];\n var symbol = $Symbol(string);\n StringToSymbolRegistry[string] = symbol;\n SymbolToStringRegistry[symbol] = string;\n return symbol;\n },\n // `Symbol.keyFor` method\n // https://tc39.es/ecma262/#sec-symbol.keyfor\n keyFor: function keyFor(sym) {\n if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol');\n if (has(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym];\n },\n useSetter: function () { USE_SETTER = true; },\n useSimple: function () { USE_SETTER = false; }\n});\n\n$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL, sham: !DESCRIPTORS }, {\n // `Object.create` method\n // https://tc39.es/ecma262/#sec-object.create\n create: $create,\n // `Object.defineProperty` method\n // https://tc39.es/ecma262/#sec-object.defineproperty\n defineProperty: $defineProperty,\n // `Object.defineProperties` method\n // https://tc39.es/ecma262/#sec-object.defineproperties\n defineProperties: $defineProperties,\n // `Object.getOwnPropertyDescriptor` method\n // https://tc39.es/ecma262/#sec-object.getownpropertydescriptors\n getOwnPropertyDescriptor: $getOwnPropertyDescriptor\n});\n\n$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL }, {\n // `Object.getOwnPropertyNames` method\n // https://tc39.es/ecma262/#sec-object.getownpropertynames\n getOwnPropertyNames: $getOwnPropertyNames,\n // `Object.getOwnPropertySymbols` method\n // https://tc39.es/ecma262/#sec-object.getownpropertysymbols\n getOwnPropertySymbols: $getOwnPropertySymbols\n});\n\n// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives\n// https://bugs.chromium.org/p/v8/issues/detail?id=3443\n$({ target: 'Object', stat: true, forced: fails(function () { getOwnPropertySymbolsModule.f(1); }) }, {\n getOwnPropertySymbols: function getOwnPropertySymbols(it) {\n return getOwnPropertySymbolsModule.f(toObject(it));\n }\n});\n\n// `JSON.stringify` method behavior with symbols\n// https://tc39.es/ecma262/#sec-json.stringify\nif ($stringify) {\n var FORCED_JSON_STRINGIFY = !NATIVE_SYMBOL || fails(function () {\n var symbol = $Symbol();\n // MS Edge converts symbol values to JSON as {}\n return $stringify([symbol]) != '[null]'\n // WebKit converts symbol values to JSON as null\n || $stringify({ a: symbol }) != '{}'\n // V8 throws on boxed symbols\n || $stringify(Object(symbol)) != '{}';\n });\n\n $({ target: 'JSON', stat: true, forced: FORCED_JSON_STRINGIFY }, {\n // eslint-disable-next-line no-unused-vars\n stringify: function stringify(it, replacer, space) {\n var args = [it];\n var index = 1;\n var $replacer;\n while (arguments.length > index) args.push(arguments[index++]);\n $replacer = replacer;\n if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined\n if (!isArray(replacer)) replacer = function (key, value) {\n if (typeof $replacer == 'function') value = $replacer.call(this, key, value);\n if (!isSymbol(value)) return value;\n };\n args[1] = replacer;\n return $stringify.apply(null, args);\n }\n });\n}\n\n// `Symbol.prototype[@@toPrimitive]` method\n// https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive\nif (!$Symbol[PROTOTYPE][TO_PRIMITIVE]) {\n createNonEnumerableProperty($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);\n}\n// `Symbol.prototype[@@toStringTag]` property\n// https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag\nsetToStringTag($Symbol, SYMBOL);\n\nhiddenKeys[HIDDEN] = true;\n","var $ = require('../internals/export');\n\nvar ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `Math.trunc` method\n// https://tc39.es/ecma262/#sec-math.trunc\n$({ target: 'Math', stat: true }, {\n trunc: function trunc(it) {\n return (it > 0 ? floor : ceil)(it);\n }\n});\n","var getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('navigator', 'userAgent') || '';\n","var DESCRIPTORS = require('../internals/descriptors');\nvar global = require('../internals/global');\nvar isForced = require('../internals/is-forced');\nvar inheritIfRequired = require('../internals/inherit-if-required');\nvar defineProperty = require('../internals/object-define-property').f;\nvar getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar isRegExp = require('../internals/is-regexp');\nvar getFlags = require('../internals/regexp-flags');\nvar stickyHelpers = require('../internals/regexp-sticky-helpers');\nvar redefine = require('../internals/redefine');\nvar fails = require('../internals/fails');\nvar setInternalState = require('../internals/internal-state').set;\nvar setSpecies = require('../internals/set-species');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\nvar NativeRegExp = global.RegExp;\nvar RegExpPrototype = NativeRegExp.prototype;\nvar re1 = /a/g;\nvar re2 = /a/g;\n\n// \"new\" should create a new object, old webkit bug\nvar CORRECT_NEW = new NativeRegExp(re1) !== re1;\n\nvar UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;\n\nvar FORCED = DESCRIPTORS && isForced('RegExp', (!CORRECT_NEW || UNSUPPORTED_Y || fails(function () {\n re2[MATCH] = false;\n // RegExp constructor can alter flags and IsRegExp works correct with @@match\n return NativeRegExp(re1) != re1 || NativeRegExp(re2) == re2 || NativeRegExp(re1, 'i') != '/a/i';\n})));\n\n// `RegExp` constructor\n// https://tc39.es/ecma262/#sec-regexp-constructor\nif (FORCED) {\n var RegExpWrapper = function RegExp(pattern, flags) {\n var thisIsRegExp = this instanceof RegExpWrapper;\n var patternIsRegExp = isRegExp(pattern);\n var flagsAreUndefined = flags === undefined;\n var sticky;\n\n if (!thisIsRegExp && patternIsRegExp && pattern.constructor === RegExpWrapper && flagsAreUndefined) {\n return pattern;\n }\n\n if (CORRECT_NEW) {\n if (patternIsRegExp && !flagsAreUndefined) pattern = pattern.source;\n } else if (pattern instanceof RegExpWrapper) {\n if (flagsAreUndefined) flags = getFlags.call(pattern);\n pattern = pattern.source;\n }\n\n if (UNSUPPORTED_Y) {\n sticky = !!flags && flags.indexOf('y') > -1;\n if (sticky) flags = flags.replace(/y/g, '');\n }\n\n var result = inheritIfRequired(\n CORRECT_NEW ? new NativeRegExp(pattern, flags) : NativeRegExp(pattern, flags),\n thisIsRegExp ? this : RegExpPrototype,\n RegExpWrapper\n );\n\n if (UNSUPPORTED_Y && sticky) setInternalState(result, { sticky: sticky });\n\n return result;\n };\n var proxy = function (key) {\n key in RegExpWrapper || defineProperty(RegExpWrapper, key, {\n configurable: true,\n get: function () { return NativeRegExp[key]; },\n set: function (it) { NativeRegExp[key] = it; }\n });\n };\n var keys = getOwnPropertyNames(NativeRegExp);\n var index = 0;\n while (keys.length > index) proxy(keys[index++]);\n RegExpPrototype.constructor = RegExpWrapper;\n RegExpWrapper.prototype = RegExpPrototype;\n redefine(global, 'RegExp', RegExpWrapper);\n}\n\n// https://tc39.es/ecma262/#sec-get-regexp-@@species\nsetSpecies('RegExp');\n","var fails = require('../internals/fails');\n\n// Detect IE8's incomplete defineProperty implementation\nmodule.exports = !fails(function () {\n return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;\n});\n","var toIndexedObject = require('../internals/to-indexed-object');\nvar nativeGetOwnPropertyNames = require('../internals/object-get-own-property-names').f;\n\nvar toString = {}.toString;\n\nvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames\n ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function (it) {\n try {\n return nativeGetOwnPropertyNames(it);\n } catch (error) {\n return windowNames.slice();\n }\n};\n\n// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nmodule.exports.f = function getOwnPropertyNames(it) {\n return windowNames && toString.call(it) == '[object Window]'\n ? getWindowNames(it)\n : nativeGetOwnPropertyNames(toIndexedObject(it));\n};\n","var fails = require('../internals/fails');\n\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n // Chrome 38 Symbol has incorrect toString conversion\n // eslint-disable-next-line no-undef\n return !String(Symbol());\n});\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.isConcatSpreadable` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.isconcatspreadable\ndefineWellKnownSymbol('isConcatSpreadable');\n","var requireObjectCoercible = require('../internals/require-object-coercible');\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n return Object(requireObjectCoercible(argument));\n};\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.split` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.split\ndefineWellKnownSymbol('split');\n","'use strict';\nvar collection = require('../internals/collection');\nvar collectionStrong = require('../internals/collection-strong');\n\n// `Set` constructor\n// https://tc39.es/ecma262/#sec-set-objects\nmodule.exports = collection('Set', function (init) {\n return function Set() { return init(this, arguments.length ? arguments[0] : undefined); };\n}, collectionStrong);\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.strike` method\n// https://tc39.es/ecma262/#sec-string.prototype.strike\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('strike') }, {\n strike: function strike() {\n return createHTML(this, 'strike', '', '');\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.fontsize` method\n// https://tc39.es/ecma262/#sec-string.prototype.fontsize\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('fontsize') }, {\n fontsize: function fontsize(size) {\n return createHTML(this, 'font', 'size', size);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.link` method\n// https://tc39.es/ecma262/#sec-string.prototype.link\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('link') }, {\n link: function link(url) {\n return createHTML(this, 'a', 'href', url);\n }\n});\n","var $ = require('../internals/export');\n\nvar log = Math.log;\nvar LOG10E = Math.LOG10E;\n\n// `Math.log10` method\n// https://tc39.es/ecma262/#sec-math.log10\n$({ target: 'Math', stat: true }, {\n log10: function log10(x) {\n return log(x) * LOG10E;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.fontcolor` method\n// https://tc39.es/ecma262/#sec-string.prototype.fontcolor\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('fontcolor') }, {\n fontcolor: function fontcolor(color) {\n return createHTML(this, 'font', 'color', color);\n }\n});\n","var $ = require('../internals/export');\nvar isObject = require('../internals/is-object');\nvar onFreeze = require('../internals/internal-metadata').onFreeze;\nvar FREEZING = require('../internals/freezing');\nvar fails = require('../internals/fails');\n\nvar nativePreventExtensions = Object.preventExtensions;\nvar FAILS_ON_PRIMITIVES = fails(function () { nativePreventExtensions(1); });\n\n// `Object.preventExtensions` method\n// https://tc39.es/ecma262/#sec-object.preventextensions\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING }, {\n preventExtensions: function preventExtensions(it) {\n return nativePreventExtensions && isObject(it) ? nativePreventExtensions(onFreeze(it)) : it;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createIteratorConstructor = require('../internals/create-iterator-constructor');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar redefine = require('../internals/redefine');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\nvar Iterators = require('../internals/iterators');\nvar IteratorsCore = require('../internals/iterators-core');\n\nvar IteratorPrototype = IteratorsCore.IteratorPrototype;\nvar BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;\nvar ITERATOR = wellKnownSymbol('iterator');\nvar KEYS = 'keys';\nvar VALUES = 'values';\nvar ENTRIES = 'entries';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {\n createIteratorConstructor(IteratorConstructor, NAME, next);\n\n var getIterationMethod = function (KIND) {\n if (KIND === DEFAULT && defaultIterator) return defaultIterator;\n if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND];\n switch (KIND) {\n case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };\n case VALUES: return function values() { return new IteratorConstructor(this, KIND); };\n case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };\n } return function () { return new IteratorConstructor(this); };\n };\n\n var TO_STRING_TAG = NAME + ' Iterator';\n var INCORRECT_VALUES_NAME = false;\n var IterablePrototype = Iterable.prototype;\n var nativeIterator = IterablePrototype[ITERATOR]\n || IterablePrototype['@@iterator']\n || DEFAULT && IterablePrototype[DEFAULT];\n var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);\n var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;\n var CurrentIteratorPrototype, methods, KEY;\n\n // fix native\n if (anyNativeIterator) {\n CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));\n if (IteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {\n if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {\n if (setPrototypeOf) {\n setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);\n } else if (typeof CurrentIteratorPrototype[ITERATOR] != 'function') {\n createNonEnumerableProperty(CurrentIteratorPrototype, ITERATOR, returnThis);\n }\n }\n // Set @@toStringTag to native iterators\n setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true);\n if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis;\n }\n }\n\n // fix Array#{values, @@iterator}.name in V8 / FF\n if (DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {\n INCORRECT_VALUES_NAME = true;\n defaultIterator = function values() { return nativeIterator.call(this); };\n }\n\n // define iterator\n if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) {\n createNonEnumerableProperty(IterablePrototype, ITERATOR, defaultIterator);\n }\n Iterators[NAME] = defaultIterator;\n\n // export additional methods\n if (DEFAULT) {\n methods = {\n values: getIterationMethod(VALUES),\n keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),\n entries: getIterationMethod(ENTRIES)\n };\n if (FORCED) for (KEY in methods) {\n if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {\n redefine(IterablePrototype, KEY, methods[KEY]);\n }\n } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);\n }\n\n return methods;\n};\n","var $ = require('../internals/export');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\n\n// `Object.setPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.setprototypeof\n$({ target: 'Object', stat: true }, {\n setPrototypeOf: setPrototypeOf\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $some = require('../internals/array-iteration').some;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar STRICT_METHOD = arrayMethodIsStrict('some');\nvar USES_TO_LENGTH = arrayMethodUsesToLength('some');\n\n// `Array.prototype.some` method\n// https://tc39.es/ecma262/#sec-array.prototype.some\n$({ target: 'Array', proto: true, forced: !STRICT_METHOD || !USES_TO_LENGTH }, {\n some: function some(callbackfn /* , thisArg */) {\n return $some(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","var NATIVE_WEAK_MAP = require('../internals/native-weak-map');\nvar global = require('../internals/global');\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar objectHas = require('../internals/has');\nvar shared = require('../internals/shared-store');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar WeakMap = global.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n return function (it) {\n var state;\n if (!isObject(it) || (state = get(it)).type !== TYPE) {\n throw TypeError('Incompatible receiver, ' + TYPE + ' required');\n } return state;\n };\n};\n\nif (NATIVE_WEAK_MAP) {\n var store = shared.state || (shared.state = new WeakMap());\n var wmget = store.get;\n var wmhas = store.has;\n var wmset = store.set;\n set = function (it, metadata) {\n metadata.facade = it;\n wmset.call(store, it, metadata);\n return metadata;\n };\n get = function (it) {\n return wmget.call(store, it) || {};\n };\n has = function (it) {\n return wmhas.call(store, it);\n };\n} else {\n var STATE = sharedKey('state');\n hiddenKeys[STATE] = true;\n set = function (it, metadata) {\n metadata.facade = it;\n createNonEnumerableProperty(it, STATE, metadata);\n return metadata;\n };\n get = function (it) {\n return objectHas(it, STATE) ? it[STATE] : {};\n };\n has = function (it) {\n return objectHas(it, STATE);\n };\n}\n\nmodule.exports = {\n set: set,\n get: get,\n has: has,\n enforce: enforce,\n getterFor: getterFor\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar createElement = require('../internals/document-create-element');\n\n// Thank's IE8 for his funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n return Object.defineProperty(createElement('div'), 'a', {\n get: function () { return 7; }\n }).a != 7;\n});\n","var $ = require('../internals/export');\nvar lastIndexOf = require('../internals/array-last-index-of');\n\n// `Array.prototype.lastIndexOf` method\n// https://tc39.es/ecma262/#sec-array.prototype.lastindexof\n$({ target: 'Array', proto: true, forced: lastIndexOf !== [].lastIndexOf }, {\n lastIndexOf: lastIndexOf\n});\n","var createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar dateToPrimitive = require('../internals/date-to-primitive');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\nvar DatePrototype = Date.prototype;\n\n// `Date.prototype[@@toPrimitive]` method\n// https://tc39.es/ecma262/#sec-date.prototype-@@toprimitive\nif (!(TO_PRIMITIVE in DatePrototype)) {\n createNonEnumerableProperty(DatePrototype, TO_PRIMITIVE, dateToPrimitive);\n}\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.matchAll` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.matchall\ndefineWellKnownSymbol('matchAll');\n","var $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar anObject = require('../internals/an-object');\nvar FREEZING = require('../internals/freezing');\n\n// `Reflect.preventExtensions` method\n// https://tc39.es/ecma262/#sec-reflect.preventextensions\n$({ target: 'Reflect', stat: true, sham: !FREEZING }, {\n preventExtensions: function preventExtensions(target) {\n anObject(target);\n try {\n var objectPreventExtensions = getBuiltIn('Object', 'preventExtensions');\n if (objectPreventExtensions) objectPreventExtensions(target);\n return true;\n } catch (error) {\n return false;\n }\n }\n});\n","var global = require('../internals/global');\n\nvar globalIsFinite = global.isFinite;\n\n// `Number.isFinite` method\n// https://tc39.es/ecma262/#sec-number.isfinite\nmodule.exports = Number.isFinite || function isFinite(it) {\n return typeof it == 'number' && globalIsFinite(it);\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.bold` method\n// https://tc39.es/ecma262/#sec-string.prototype.bold\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('bold') }, {\n bold: function bold() {\n return createHTML(this, 'b', '', '');\n }\n});\n","var $ = require('../internals/export');\n\n// `Number.EPSILON` constant\n// https://tc39.es/ecma262/#sec-number.epsilon\n$({ target: 'Number', stat: true }, {\n EPSILON: Math.pow(2, -52)\n});\n","'use strict';\nvar IteratorPrototype = require('../internals/iterators-core').IteratorPrototype;\nvar create = require('../internals/object-create');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar Iterators = require('../internals/iterators');\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (IteratorConstructor, NAME, next) {\n var TO_STRING_TAG = NAME + ' Iterator';\n IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(1, next) });\n setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true);\n Iterators[TO_STRING_TAG] = returnThis;\n return IteratorConstructor;\n};\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.toStringTag` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.tostringtag\ndefineWellKnownSymbol('toStringTag');\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\nmodule.exports = Object.keys || function keys(O) {\n return internalObjectKeys(O, enumBugKeys);\n};\n","// IE8- don't enum bug keys\nmodule.exports = [\n 'constructor',\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'toLocaleString',\n 'toString',\n 'valueOf'\n];\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nexports.f = wellKnownSymbol;\n","var DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\n return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","var $ = require('../internals/export');\nvar expm1 = require('../internals/math-expm1');\n\nvar exp = Math.exp;\n\n// `Math.tanh` method\n// https://tc39.es/ecma262/#sec-math.tanh\n$({ target: 'Math', stat: true }, {\n tanh: function tanh(x) {\n var a = expm1(x = +x);\n var b = expm1(-x);\n return a == Infinity ? 1 : b == Infinity ? -1 : (a - b) / (exp(x) + exp(-x));\n }\n});\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nimport 'core-js/es/reflect';\n","'use strict';\nvar $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar thisNumberValue = require('../internals/this-number-value');\n\nvar nativeToPrecision = 1.0.toPrecision;\n\nvar FORCED = fails(function () {\n // IE7-\n return nativeToPrecision.call(1, undefined) !== '1';\n}) || !fails(function () {\n // V8 ~ Android 4.3-\n nativeToPrecision.call({});\n});\n\n// `Number.prototype.toPrecision` method\n// https://tc39.es/ecma262/#sec-number.prototype.toprecision\n$({ target: 'Number', proto: true, forced: FORCED }, {\n toPrecision: function toPrecision(precision) {\n return precision === undefined\n ? nativeToPrecision.call(thisNumberValue(this))\n : nativeToPrecision.call(thisNumberValue(this), precision);\n }\n});\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar classof = require('../internals/classof');\n\n// `Object.prototype.toString` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.tostring\nmodule.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {\n return '[object ' + classof(this) + ']';\n};\n","var $ = require('../internals/export');\nvar ownKeys = require('../internals/own-keys');\n\n// `Reflect.ownKeys` method\n// https://tc39.es/ecma262/#sec-reflect.ownkeys\n$({ target: 'Reflect', stat: true }, {\n ownKeys: ownKeys\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar global = require('../internals/global');\nvar getBuiltIn = require('../internals/get-built-in');\nvar NativePromise = require('../internals/native-promise-constructor');\nvar redefine = require('../internals/redefine');\nvar redefineAll = require('../internals/redefine-all');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar setSpecies = require('../internals/set-species');\nvar isObject = require('../internals/is-object');\nvar aFunction = require('../internals/a-function');\nvar anInstance = require('../internals/an-instance');\nvar inspectSource = require('../internals/inspect-source');\nvar iterate = require('../internals/iterate');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\nvar speciesConstructor = require('../internals/species-constructor');\nvar task = require('../internals/task').set;\nvar microtask = require('../internals/microtask');\nvar promiseResolve = require('../internals/promise-resolve');\nvar hostReportErrors = require('../internals/host-report-errors');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\nvar InternalStateModule = require('../internals/internal-state');\nvar isForced = require('../internals/is-forced');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_NODE = require('../internals/engine-is-node');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar SPECIES = wellKnownSymbol('species');\nvar PROMISE = 'Promise';\nvar getInternalState = InternalStateModule.get;\nvar setInternalState = InternalStateModule.set;\nvar getInternalPromiseState = InternalStateModule.getterFor(PROMISE);\nvar PromiseConstructor = NativePromise;\nvar TypeError = global.TypeError;\nvar document = global.document;\nvar process = global.process;\nvar $fetch = getBuiltIn('fetch');\nvar newPromiseCapability = newPromiseCapabilityModule.f;\nvar newGenericPromiseCapability = newPromiseCapability;\nvar DISPATCH_EVENT = !!(document && document.createEvent && global.dispatchEvent);\nvar NATIVE_REJECTION_EVENT = typeof PromiseRejectionEvent == 'function';\nvar UNHANDLED_REJECTION = 'unhandledrejection';\nvar REJECTION_HANDLED = 'rejectionhandled';\nvar PENDING = 0;\nvar FULFILLED = 1;\nvar REJECTED = 2;\nvar HANDLED = 1;\nvar UNHANDLED = 2;\nvar Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;\n\nvar FORCED = isForced(PROMISE, function () {\n var GLOBAL_CORE_JS_PROMISE = inspectSource(PromiseConstructor) !== String(PromiseConstructor);\n if (!GLOBAL_CORE_JS_PROMISE) {\n // V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables\n // https://bugs.chromium.org/p/chromium/issues/detail?id=830565\n // We can't detect it synchronously, so just check versions\n if (V8_VERSION === 66) return true;\n // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test\n if (!IS_NODE && !NATIVE_REJECTION_EVENT) return true;\n }\n // We need Promise#finally in the pure version for preventing prototype pollution\n if (IS_PURE && !PromiseConstructor.prototype['finally']) return true;\n // We can't use @@species feature detection in V8 since it causes\n // deoptimization and performance degradation\n // https://github.com/zloirock/core-js/issues/679\n if (V8_VERSION >= 51 && /native code/.test(PromiseConstructor)) return false;\n // Detect correctness of subclassing with @@species support\n var promise = PromiseConstructor.resolve(1);\n var FakePromise = function (exec) {\n exec(function () { /* empty */ }, function () { /* empty */ });\n };\n var constructor = promise.constructor = {};\n constructor[SPECIES] = FakePromise;\n return !(promise.then(function () { /* empty */ }) instanceof FakePromise);\n});\n\nvar INCORRECT_ITERATION = FORCED || !checkCorrectnessOfIteration(function (iterable) {\n PromiseConstructor.all(iterable)['catch'](function () { /* empty */ });\n});\n\n// helpers\nvar isThenable = function (it) {\n var then;\n return isObject(it) && typeof (then = it.then) == 'function' ? then : false;\n};\n\nvar notify = function (state, isReject) {\n if (state.notified) return;\n state.notified = true;\n var chain = state.reactions;\n microtask(function () {\n var value = state.value;\n var ok = state.state == FULFILLED;\n var index = 0;\n // variable length - can't use forEach\n while (chain.length > index) {\n var reaction = chain[index++];\n var handler = ok ? reaction.ok : reaction.fail;\n var resolve = reaction.resolve;\n var reject = reaction.reject;\n var domain = reaction.domain;\n var result, then, exited;\n try {\n if (handler) {\n if (!ok) {\n if (state.rejection === UNHANDLED) onHandleUnhandled(state);\n state.rejection = HANDLED;\n }\n if (handler === true) result = value;\n else {\n if (domain) domain.enter();\n result = handler(value); // can throw\n if (domain) {\n domain.exit();\n exited = true;\n }\n }\n if (result === reaction.promise) {\n reject(TypeError('Promise-chain cycle'));\n } else if (then = isThenable(result)) {\n then.call(result, resolve, reject);\n } else resolve(result);\n } else reject(value);\n } catch (error) {\n if (domain && !exited) domain.exit();\n reject(error);\n }\n }\n state.reactions = [];\n state.notified = false;\n if (isReject && !state.rejection) onUnhandled(state);\n });\n};\n\nvar dispatchEvent = function (name, promise, reason) {\n var event, handler;\n if (DISPATCH_EVENT) {\n event = document.createEvent('Event');\n event.promise = promise;\n event.reason = reason;\n event.initEvent(name, false, true);\n global.dispatchEvent(event);\n } else event = { promise: promise, reason: reason };\n if (!NATIVE_REJECTION_EVENT && (handler = global['on' + name])) handler(event);\n else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);\n};\n\nvar onUnhandled = function (state) {\n task.call(global, function () {\n var promise = state.facade;\n var value = state.value;\n var IS_UNHANDLED = isUnhandled(state);\n var result;\n if (IS_UNHANDLED) {\n result = perform(function () {\n if (IS_NODE) {\n process.emit('unhandledRejection', value, promise);\n } else dispatchEvent(UNHANDLED_REJECTION, promise, value);\n });\n // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should\n state.rejection = IS_NODE || isUnhandled(state) ? UNHANDLED : HANDLED;\n if (result.error) throw result.value;\n }\n });\n};\n\nvar isUnhandled = function (state) {\n return state.rejection !== HANDLED && !state.parent;\n};\n\nvar onHandleUnhandled = function (state) {\n task.call(global, function () {\n var promise = state.facade;\n if (IS_NODE) {\n process.emit('rejectionHandled', promise);\n } else dispatchEvent(REJECTION_HANDLED, promise, state.value);\n });\n};\n\nvar bind = function (fn, state, unwrap) {\n return function (value) {\n fn(state, value, unwrap);\n };\n};\n\nvar internalReject = function (state, value, unwrap) {\n if (state.done) return;\n state.done = true;\n if (unwrap) state = unwrap;\n state.value = value;\n state.state = REJECTED;\n notify(state, true);\n};\n\nvar internalResolve = function (state, value, unwrap) {\n if (state.done) return;\n state.done = true;\n if (unwrap) state = unwrap;\n try {\n if (state.facade === value) throw TypeError(\"Promise can't be resolved itself\");\n var then = isThenable(value);\n if (then) {\n microtask(function () {\n var wrapper = { done: false };\n try {\n then.call(value,\n bind(internalResolve, wrapper, state),\n bind(internalReject, wrapper, state)\n );\n } catch (error) {\n internalReject(wrapper, error, state);\n }\n });\n } else {\n state.value = value;\n state.state = FULFILLED;\n notify(state, false);\n }\n } catch (error) {\n internalReject({ done: false }, error, state);\n }\n};\n\n// constructor polyfill\nif (FORCED) {\n // 25.4.3.1 Promise(executor)\n PromiseConstructor = function Promise(executor) {\n anInstance(this, PromiseConstructor, PROMISE);\n aFunction(executor);\n Internal.call(this);\n var state = getInternalState(this);\n try {\n executor(bind(internalResolve, state), bind(internalReject, state));\n } catch (error) {\n internalReject(state, error);\n }\n };\n // eslint-disable-next-line no-unused-vars\n Internal = function Promise(executor) {\n setInternalState(this, {\n type: PROMISE,\n done: false,\n notified: false,\n parent: false,\n reactions: [],\n rejection: false,\n state: PENDING,\n value: undefined\n });\n };\n Internal.prototype = redefineAll(PromiseConstructor.prototype, {\n // `Promise.prototype.then` method\n // https://tc39.es/ecma262/#sec-promise.prototype.then\n then: function then(onFulfilled, onRejected) {\n var state = getInternalPromiseState(this);\n var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor));\n reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true;\n reaction.fail = typeof onRejected == 'function' && onRejected;\n reaction.domain = IS_NODE ? process.domain : undefined;\n state.parent = true;\n state.reactions.push(reaction);\n if (state.state != PENDING) notify(state, false);\n return reaction.promise;\n },\n // `Promise.prototype.catch` method\n // https://tc39.es/ecma262/#sec-promise.prototype.catch\n 'catch': function (onRejected) {\n return this.then(undefined, onRejected);\n }\n });\n OwnPromiseCapability = function () {\n var promise = new Internal();\n var state = getInternalState(promise);\n this.promise = promise;\n this.resolve = bind(internalResolve, state);\n this.reject = bind(internalReject, state);\n };\n newPromiseCapabilityModule.f = newPromiseCapability = function (C) {\n return C === PromiseConstructor || C === PromiseWrapper\n ? new OwnPromiseCapability(C)\n : newGenericPromiseCapability(C);\n };\n\n if (!IS_PURE && typeof NativePromise == 'function') {\n nativeThen = NativePromise.prototype.then;\n\n // wrap native Promise#then for native async functions\n redefine(NativePromise.prototype, 'then', function then(onFulfilled, onRejected) {\n var that = this;\n return new PromiseConstructor(function (resolve, reject) {\n nativeThen.call(that, resolve, reject);\n }).then(onFulfilled, onRejected);\n // https://github.com/zloirock/core-js/issues/640\n }, { unsafe: true });\n\n // wrap fetch result\n if (typeof $fetch == 'function') $({ global: true, enumerable: true, forced: true }, {\n // eslint-disable-next-line no-unused-vars\n fetch: function fetch(input /* , init */) {\n return promiseResolve(PromiseConstructor, $fetch.apply(global, arguments));\n }\n });\n }\n}\n\n$({ global: true, wrap: true, forced: FORCED }, {\n Promise: PromiseConstructor\n});\n\nsetToStringTag(PromiseConstructor, PROMISE, false, true);\nsetSpecies(PROMISE);\n\nPromiseWrapper = getBuiltIn(PROMISE);\n\n// statics\n$({ target: PROMISE, stat: true, forced: FORCED }, {\n // `Promise.reject` method\n // https://tc39.es/ecma262/#sec-promise.reject\n reject: function reject(r) {\n var capability = newPromiseCapability(this);\n capability.reject.call(undefined, r);\n return capability.promise;\n }\n});\n\n$({ target: PROMISE, stat: true, forced: IS_PURE || FORCED }, {\n // `Promise.resolve` method\n // https://tc39.es/ecma262/#sec-promise.resolve\n resolve: function resolve(x) {\n return promiseResolve(IS_PURE && this === PromiseWrapper ? PromiseConstructor : this, x);\n }\n});\n\n$({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, {\n // `Promise.all` method\n // https://tc39.es/ecma262/#sec-promise.all\n all: function all(iterable) {\n var C = this;\n var capability = newPromiseCapability(C);\n var resolve = capability.resolve;\n var reject = capability.reject;\n var result = perform(function () {\n var $promiseResolve = aFunction(C.resolve);\n var values = [];\n var counter = 0;\n var remaining = 1;\n iterate(iterable, function (promise) {\n var index = counter++;\n var alreadyCalled = false;\n values.push(undefined);\n remaining++;\n $promiseResolve.call(C, promise).then(function (value) {\n if (alreadyCalled) return;\n alreadyCalled = true;\n values[index] = value;\n --remaining || resolve(values);\n }, reject);\n });\n --remaining || resolve(values);\n });\n if (result.error) reject(result.value);\n return capability.promise;\n },\n // `Promise.race` method\n // https://tc39.es/ecma262/#sec-promise.race\n race: function race(iterable) {\n var C = this;\n var capability = newPromiseCapability(C);\n var reject = capability.reject;\n var result = perform(function () {\n var $promiseResolve = aFunction(C.resolve);\n iterate(iterable, function (promise) {\n $promiseResolve.call(C, promise).then(capability.resolve, reject);\n });\n });\n if (result.error) reject(result.value);\n return capability.promise;\n }\n});\n","exports.f = Object.getOwnPropertySymbols;\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.asyncIterator` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.asynciterator\ndefineWellKnownSymbol('asyncIterator');\n","var $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar objectDefinePropertyModile = require('../internals/object-define-property');\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\n$({ target: 'Object', stat: true, forced: !DESCRIPTORS, sham: !DESCRIPTORS }, {\n defineProperty: objectDefinePropertyModile.f\n});\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n return Object.isExtensible(Object.preventExtensions({}));\n});\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n function F() { /* empty */ }\n F.prototype.constructor = null;\n return Object.getPrototypeOf(new F()) !== F.prototype;\n});\n","var fails = require('../internals/fails');\n\n// check the existence of a method, lowercase\n// of a tag and escaping quotes in arguments\nmodule.exports = function (METHOD_NAME) {\n return fails(function () {\n var test = ''[METHOD_NAME]('\"');\n return test !== test.toLowerCase() || test.split('\"').length > 3;\n });\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.sup` method\n// https://tc39.es/ecma262/#sec-string.prototype.sup\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('sup') }, {\n sup: function sup() {\n return createHTML(this, 'sup', '', '');\n }\n});\n","'use strict';\nvar charAt = require('../internals/string-multibyte').charAt;\n\n// `AdvanceStringIndex` abstract operation\n// https://tc39.es/ecma262/#sec-advancestringindex\nmodule.exports = function (S, index, unicode) {\n return index + (unicode ? charAt(S, index).length : 1);\n};\n","var $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar ownKeys = require('../internals/own-keys');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar createProperty = require('../internals/create-property');\n\n// `Object.getOwnPropertyDescriptors` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptors\n$({ target: 'Object', stat: true, sham: !DESCRIPTORS }, {\n getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) {\n var O = toIndexedObject(object);\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n var keys = ownKeys(O);\n var result = {};\n var index = 0;\n var key, descriptor;\n while (keys.length > index) {\n descriptor = getOwnPropertyDescriptor(O, key = keys[index++]);\n if (descriptor !== undefined) createProperty(result, key, descriptor);\n }\n return result;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $includes = require('../internals/array-includes').includes;\nvar addToUnscopables = require('../internals/add-to-unscopables');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar USES_TO_LENGTH = arrayMethodUsesToLength('indexOf', { ACCESSORS: true, 1: 0 });\n\n// `Array.prototype.includes` method\n// https://tc39.es/ecma262/#sec-array.prototype.includes\n$({ target: 'Array', proto: true, forced: !USES_TO_LENGTH }, {\n includes: function includes(el /* , fromIndex = 0 */) {\n return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('includes');\n","var classof = require('../internals/classof-raw');\n\n// `IsArray` abstract operation\n// https://tc39.es/ecma262/#sec-isarray\nmodule.exports = Array.isArray || function isArray(arg) {\n return classof(arg) == 'Array';\n};\n","var toString = {}.toString;\n\nmodule.exports = function (it) {\n return toString.call(it).slice(8, -1);\n};\n","'use strict';\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar anObject = require('../internals/an-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar sameValue = require('../internals/same-value');\nvar regExpExec = require('../internals/regexp-exec-abstract');\n\n// @@search logic\nfixRegExpWellKnownSymbolLogic('search', 1, function (SEARCH, nativeSearch, maybeCallNative) {\n return [\n // `String.prototype.search` method\n // https://tc39.es/ecma262/#sec-string.prototype.search\n function search(regexp) {\n var O = requireObjectCoercible(this);\n var searcher = regexp == undefined ? undefined : regexp[SEARCH];\n return searcher !== undefined ? searcher.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O));\n },\n // `RegExp.prototype[@@search]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@search\n function (regexp) {\n var res = maybeCallNative(nativeSearch, regexp, this);\n if (res.done) return res.value;\n\n var rx = anObject(regexp);\n var S = String(this);\n\n var previousLastIndex = rx.lastIndex;\n if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0;\n var result = regExpExec(rx, S);\n if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex;\n return result === null ? -1 : result.index;\n }\n ];\n});\n","var $ = require('../internals/export');\nvar anObject = require('../internals/an-object');\nvar objectGetPrototypeOf = require('../internals/object-get-prototype-of');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\n// `Reflect.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-reflect.getprototypeof\n$({ target: 'Reflect', stat: true, sham: !CORRECT_PROTOTYPE_GETTER }, {\n getPrototypeOf: function getPrototypeOf(target) {\n return objectGetPrototypeOf(anObject(target));\n }\n});\n","var $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar nativeGetOwnPropertyNames = require('../internals/object-get-own-property-names-external').f;\n\nvar FAILS_ON_PRIMITIVES = fails(function () { return !Object.getOwnPropertyNames(1); });\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {\n getOwnPropertyNames: nativeGetOwnPropertyNames\n});\n","module.exports = false;\n","var $ = require('../internals/export');\nvar $values = require('../internals/object-to-array').values;\n\n// `Object.values` method\n// https://tc39.es/ecma262/#sec-object.values\n$({ target: 'Object', stat: true }, {\n values: function values(O) {\n return $values(O);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.big` method\n// https://tc39.es/ecma262/#sec-string.prototype.big\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('big') }, {\n big: function big() {\n return createHTML(this, 'big', '', '');\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $filter = require('../internals/array-iteration').filter;\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');\n// Edge 14- issue\nvar USES_TO_LENGTH = arrayMethodUsesToLength('filter');\n\n// `Array.prototype.filter` method\n// https://tc39.es/ecma262/#sec-array.prototype.filter\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, {\n filter: function filter(callbackfn /* , thisArg */) {\n return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar nativePropertyIsEnumerable = {}.propertyIsEnumerable;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !nativePropertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n var descriptor = getOwnPropertyDescriptor(this, V);\n return !!descriptor && descriptor.enumerable;\n} : nativePropertyIsEnumerable;\n","var classof = require('../internals/classof-raw');\n\n// `thisNumberValue` abstract operation\n// https://tc39.es/ecma262/#sec-thisnumbervalue\nmodule.exports = function (value) {\n if (typeof value != 'number' && classof(value) != 'Number') {\n throw TypeError('Incorrect invocation');\n }\n return +value;\n};\n","/**\n * This file includes polyfills needed by Angular and is loaded before the app.\n * You can add your own extra polyfills to this file.\n *\n * This file is divided into 2 sections:\n * 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers.\n * 2. Application imports. Files imported after ZoneJS that should be loaded before your main\n * file.\n *\n * The current setup is for so-called \"evergreen\" browsers; the last versions of browsers that\n * automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera),\n * Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile.\n *\n * Learn more in https://angular.io/docs/ts/latest/guide/browser-support.html\n */\n\n/***************************************************************************************************\n * BROWSER POLYFILLS\n */\n\n/** IE9, IE10 and IE11 requires all of the following polyfills. **/\n// import 'core-js/es6/symbol';\n// import 'core-js/es6/object';\n// import 'core-js/es6/function';\n// import 'core-js/es6/parse-int';\n// import 'core-js/es6/parse-float';\n// import 'core-js/es6/number';\n// import 'core-js/es6/math';\n// import 'core-js/es6/string';\n// import 'core-js/es6/date';\n// import 'core-js/es6/array';\n// import 'core-js/es6/regexp';\n// import 'core-js/es6/map';\n// import 'core-js/es6/weak-map';\n// import 'core-js/es6/set';\n\n/** IE10 and IE11 requires the following for NgClass support on SVG elements */\n// import 'classlist.js'; // Run `npm install --save classlist.js`.\n\n/** IE10 and IE11 requires the following for the Reflect API. */\n// import 'core-js/es6/reflect';\n\n\n/** Evergreen browsers require these. **/\n// Used for reflect-metadata in JIT. If you use AOT (and only Angular decorators), you can remove.\n// import 'core-js/es7/reflect';\n\n\n/**\n * Web Animations `@angular/platform-browser/animations`\n * Only required if AnimationBuilder is used within the application and using IE/Edge or Safari.\n * Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0).\n **/\n// import 'web-animations-js'; // Run `npm install --save web-animations-js`.\n\n/**\n * By default, zone.js will patch all possible macroTask and DomEvents\n * user can disable parts of macroTask/DomEvents patch by setting following flags\n */\n\n// (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame\n// (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick\n// (window as any).__zone_symbol__BLACK_LISTED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames\n\n/*\n* in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js\n* with the following flag, it will bypass `zone.js` patch for IE/Edge\n*/\n// (window as any).__Zone_enable_cross_context_check = true;\n\n/***************************************************************************************************\n * Zone JS is required by default for Angular itself.\n */\nimport 'zone.js/dist/zone'; // Included with Angular CLI.\n\n\n\n/***************************************************************************************************\n * APPLICATION IMPORTS\n */\n","'use strict';\nvar global = require('../internals/global');\nvar redefineAll = require('../internals/redefine-all');\nvar InternalMetadataModule = require('../internals/internal-metadata');\nvar collection = require('../internals/collection');\nvar collectionWeak = require('../internals/collection-weak');\nvar isObject = require('../internals/is-object');\nvar enforceIternalState = require('../internals/internal-state').enforce;\nvar NATIVE_WEAK_MAP = require('../internals/native-weak-map');\n\nvar IS_IE11 = !global.ActiveXObject && 'ActiveXObject' in global;\nvar isExtensible = Object.isExtensible;\nvar InternalWeakMap;\n\nvar wrapper = function (init) {\n return function WeakMap() {\n return init(this, arguments.length ? arguments[0] : undefined);\n };\n};\n\n// `WeakMap` constructor\n// https://tc39.es/ecma262/#sec-weakmap-constructor\nvar $WeakMap = module.exports = collection('WeakMap', wrapper, collectionWeak);\n\n// IE11 WeakMap frozen keys fix\n// We can't use feature detection because it crash some old IE builds\n// https://github.com/zloirock/core-js/issues/485\nif (NATIVE_WEAK_MAP && IS_IE11) {\n InternalWeakMap = collectionWeak.getConstructor(wrapper, 'WeakMap', true);\n InternalMetadataModule.REQUIRED = true;\n var WeakMapPrototype = $WeakMap.prototype;\n var nativeDelete = WeakMapPrototype['delete'];\n var nativeHas = WeakMapPrototype.has;\n var nativeGet = WeakMapPrototype.get;\n var nativeSet = WeakMapPrototype.set;\n redefineAll(WeakMapPrototype, {\n 'delete': function (key) {\n if (isObject(key) && !isExtensible(key)) {\n var state = enforceIternalState(this);\n if (!state.frozen) state.frozen = new InternalWeakMap();\n return nativeDelete.call(this, key) || state.frozen['delete'](key);\n } return nativeDelete.call(this, key);\n },\n has: function has(key) {\n if (isObject(key) && !isExtensible(key)) {\n var state = enforceIternalState(this);\n if (!state.frozen) state.frozen = new InternalWeakMap();\n return nativeHas.call(this, key) || state.frozen.has(key);\n } return nativeHas.call(this, key);\n },\n get: function get(key) {\n if (isObject(key) && !isExtensible(key)) {\n var state = enforceIternalState(this);\n if (!state.frozen) state.frozen = new InternalWeakMap();\n return nativeHas.call(this, key) ? nativeGet.call(this, key) : state.frozen.get(key);\n } return nativeGet.call(this, key);\n },\n set: function set(key, value) {\n if (isObject(key) && !isExtensible(key)) {\n var state = enforceIternalState(this);\n if (!state.frozen) state.frozen = new InternalWeakMap();\n nativeHas.call(this, key) ? nativeSet.call(this, key, value) : state.frozen.set(key, value);\n } else nativeSet.call(this, key, value);\n return this;\n }\n });\n}\n","// `RequireObjectCoercible` abstract operation\n// https://tc39.es/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n","var NATIVE_SYMBOL = require('../internals/native-symbol');\n\nmodule.exports = NATIVE_SYMBOL\n // eslint-disable-next-line no-undef\n && !Symbol.sham\n // eslint-disable-next-line no-undef\n && typeof Symbol.iterator == 'symbol';\n","var anObject = require('../internals/an-object');\nvar iteratorClose = require('../internals/iterator-close');\n\n// call something on iterator step with safe closing on error\nmodule.exports = function (iterator, fn, value, ENTRIES) {\n try {\n return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);\n // 7.4.6 IteratorClose(iterator, completion)\n } catch (error) {\n iteratorClose(iterator);\n throw error;\n }\n};\n","var $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar anObject = require('../internals/an-object');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\n\n// `Reflect.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-reflect.getownpropertydescriptor\n$({ target: 'Reflect', stat: true, sham: !DESCRIPTORS }, {\n getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey) {\n return getOwnPropertyDescriptorModule.f(anObject(target), propertyKey);\n }\n});\n","var $ = require('../internals/export');\n\n// `Reflect.has` method\n// https://tc39.es/ecma262/#sec-reflect.has\n$({ target: 'Reflect', stat: true }, {\n has: function has(target, propertyKey) {\n return propertyKey in target;\n }\n});\n","var requireObjectCoercible = require('../internals/require-object-coercible');\nvar whitespaces = require('../internals/whitespaces');\n\nvar whitespace = '[' + whitespaces + ']';\nvar ltrim = RegExp('^' + whitespace + whitespace + '*');\nvar rtrim = RegExp(whitespace + whitespace + '*$');\n\n// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation\nvar createMethod = function (TYPE) {\n return function ($this) {\n var string = String(requireObjectCoercible($this));\n if (TYPE & 1) string = string.replace(ltrim, '');\n if (TYPE & 2) string = string.replace(rtrim, '');\n return string;\n };\n};\n\nmodule.exports = {\n // `String.prototype.{ trimLeft, trimStart }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimstart\n start: createMethod(1),\n // `String.prototype.{ trimRight, trimEnd }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimend\n end: createMethod(2),\n // `String.prototype.trim` method\n // https://tc39.es/ecma262/#sec-string.prototype.trim\n trim: createMethod(3)\n};\n","var global = require('../internals/global');\nvar DOMIterables = require('../internals/dom-iterables');\nvar forEach = require('../internals/array-for-each');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nfor (var COLLECTION_NAME in DOMIterables) {\n var Collection = global[COLLECTION_NAME];\n var CollectionPrototype = Collection && Collection.prototype;\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try {\n createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach);\n } catch (error) {\n CollectionPrototype.forEach = forEach;\n }\n}\n","var $ = require('../internals/export');\nvar copyWithin = require('../internals/array-copy-within');\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// `Array.prototype.copyWithin` method\n// https://tc39.es/ecma262/#sec-array.prototype.copywithin\n$({ target: 'Array', proto: true }, {\n copyWithin: copyWithin\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('copyWithin');\n","var $ = require('../internals/export');\nvar toISOString = require('../internals/date-to-iso-string');\n\n// `Date.prototype.toISOString` method\n// https://tc39.es/ecma262/#sec-date.prototype.toisostring\n// PhantomJS / old WebKit has a broken implementations\n$({ target: 'Date', proto: true, forced: Date.prototype.toISOString !== toISOString }, {\n toISOString: toISOString\n});\n","var bind = require('../internals/function-bind-context');\nvar IndexedObject = require('../internals/indexed-object');\nvar toObject = require('../internals/to-object');\nvar toLength = require('../internals/to-length');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\nvar push = [].push;\n\n// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterOut }` methods implementation\nvar createMethod = function (TYPE) {\n var IS_MAP = TYPE == 1;\n var IS_FILTER = TYPE == 2;\n var IS_SOME = TYPE == 3;\n var IS_EVERY = TYPE == 4;\n var IS_FIND_INDEX = TYPE == 6;\n var IS_FILTER_OUT = TYPE == 7;\n var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;\n return function ($this, callbackfn, that, specificCreate) {\n var O = toObject($this);\n var self = IndexedObject(O);\n var boundFunction = bind(callbackfn, that, 3);\n var length = toLength(self.length);\n var index = 0;\n var create = specificCreate || arraySpeciesCreate;\n var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_OUT ? create($this, 0) : undefined;\n var value, result;\n for (;length > index; index++) if (NO_HOLES || index in self) {\n value = self[index];\n result = boundFunction(value, index, O);\n if (TYPE) {\n if (IS_MAP) target[index] = result; // map\n else if (result) switch (TYPE) {\n case 3: return true; // some\n case 5: return value; // find\n case 6: return index; // findIndex\n case 2: push.call(target, value); // filter\n } else switch (TYPE) {\n case 4: return false; // every\n case 7: push.call(target, value); // filterOut\n }\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.forEach` method\n // https://tc39.es/ecma262/#sec-array.prototype.foreach\n forEach: createMethod(0),\n // `Array.prototype.map` method\n // https://tc39.es/ecma262/#sec-array.prototype.map\n map: createMethod(1),\n // `Array.prototype.filter` method\n // https://tc39.es/ecma262/#sec-array.prototype.filter\n filter: createMethod(2),\n // `Array.prototype.some` method\n // https://tc39.es/ecma262/#sec-array.prototype.some\n some: createMethod(3),\n // `Array.prototype.every` method\n // https://tc39.es/ecma262/#sec-array.prototype.every\n every: createMethod(4),\n // `Array.prototype.find` method\n // https://tc39.es/ecma262/#sec-array.prototype.find\n find: createMethod(5),\n // `Array.prototype.findIndex` method\n // https://tc39.es/ecma262/#sec-array.prototype.findIndex\n findIndex: createMethod(6),\n // `Array.prototype.filterOut` method\n // https://github.com/tc39/proposal-array-filtering\n filterOut: createMethod(7)\n};\n","var $ = require('../internals/export');\nvar isInteger = require('../internals/is-integer');\n\nvar abs = Math.abs;\n\n// `Number.isSafeInteger` method\n// https://tc39.es/ecma262/#sec-number.issafeinteger\n$({ target: 'Number', stat: true }, {\n isSafeInteger: function isSafeInteger(number) {\n return isInteger(number) && abs(number) <= 0x1FFFFFFFFFFFFF;\n }\n});\n","var global = require('../internals/global');\n\nmodule.exports = function (a, b) {\n var console = global.console;\n if (console && console.error) {\n arguments.length === 1 ? console.error(a) : console.error(a, b);\n }\n};\n","require('../../modules/es.date.now');\nrequire('../../modules/es.date.to-json');\nrequire('../../modules/es.date.to-iso-string');\nrequire('../../modules/es.date.to-string');\nrequire('../../modules/es.date.to-primitive');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Date;\n","var fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (METHOD_NAME) {\n // We can't use this feature detection in V8 since it causes\n // deoptimization and serious performance degradation\n // https://github.com/zloirock/core-js/issues/677\n return V8_VERSION >= 51 || !fails(function () {\n var array = [];\n var constructor = array.constructor = {};\n constructor[SPECIES] = function () {\n return { foo: 1 };\n };\n return array[METHOD_NAME](Boolean).foo !== 1;\n });\n};\n","/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nvar runtime = (function (exports) {\n \"use strict\";\n\n var Op = Object.prototype;\n var hasOwn = Op.hasOwnProperty;\n var undefined; // More compressible than void 0.\n var $Symbol = typeof Symbol === \"function\" ? Symbol : {};\n var iteratorSymbol = $Symbol.iterator || \"@@iterator\";\n var asyncIteratorSymbol = $Symbol.asyncIterator || \"@@asyncIterator\";\n var toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\";\n\n function define(obj, key, value) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n return obj[key];\n }\n try {\n // IE 8 has a broken Object.defineProperty that only works on DOM objects.\n define({}, \"\");\n } catch (err) {\n define = function(obj, key, value) {\n return obj[key] = value;\n };\n }\n\n function wrap(innerFn, outerFn, self, tryLocsList) {\n // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.\n var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;\n var generator = Object.create(protoGenerator.prototype);\n var context = new Context(tryLocsList || []);\n\n // The ._invoke method unifies the implementations of the .next,\n // .throw, and .return methods.\n generator._invoke = makeInvokeMethod(innerFn, self, context);\n\n return generator;\n }\n exports.wrap = wrap;\n\n // Try/catch helper to minimize deoptimizations. Returns a completion\n // record like context.tryEntries[i].completion. This interface could\n // have been (and was previously) designed to take a closure to be\n // invoked without arguments, but in all the cases we care about we\n // already have an existing method we want to call, so there's no need\n // to create a new function object. We can even get away with assuming\n // the method takes exactly one argument, since that happens to be true\n // in every case, so we don't have to touch the arguments object. The\n // only additional allocation required is the completion record, which\n // has a stable shape and so hopefully should be cheap to allocate.\n function tryCatch(fn, obj, arg) {\n try {\n return { type: \"normal\", arg: fn.call(obj, arg) };\n } catch (err) {\n return { type: \"throw\", arg: err };\n }\n }\n\n var GenStateSuspendedStart = \"suspendedStart\";\n var GenStateSuspendedYield = \"suspendedYield\";\n var GenStateExecuting = \"executing\";\n var GenStateCompleted = \"completed\";\n\n // Returning this object from the innerFn has the same effect as\n // breaking out of the dispatch switch statement.\n var ContinueSentinel = {};\n\n // Dummy constructor functions that we use as the .constructor and\n // .constructor.prototype properties for functions that return Generator\n // objects. For full spec compliance, you may wish to configure your\n // minifier not to mangle the names of these two functions.\n function Generator() {}\n function GeneratorFunction() {}\n function GeneratorFunctionPrototype() {}\n\n // This is a polyfill for %IteratorPrototype% for environments that\n // don't natively support it.\n var IteratorPrototype = {};\n IteratorPrototype[iteratorSymbol] = function () {\n return this;\n };\n\n var getProto = Object.getPrototypeOf;\n var NativeIteratorPrototype = getProto && getProto(getProto(values([])));\n if (NativeIteratorPrototype &&\n NativeIteratorPrototype !== Op &&\n hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {\n // This environment has a native %IteratorPrototype%; use it instead\n // of the polyfill.\n IteratorPrototype = NativeIteratorPrototype;\n }\n\n var Gp = GeneratorFunctionPrototype.prototype =\n Generator.prototype = Object.create(IteratorPrototype);\n GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;\n GeneratorFunctionPrototype.constructor = GeneratorFunction;\n GeneratorFunction.displayName = define(\n GeneratorFunctionPrototype,\n toStringTagSymbol,\n \"GeneratorFunction\"\n );\n\n // Helper for defining the .next, .throw, and .return methods of the\n // Iterator interface in terms of a single ._invoke method.\n function defineIteratorMethods(prototype) {\n [\"next\", \"throw\", \"return\"].forEach(function(method) {\n define(prototype, method, function(arg) {\n return this._invoke(method, arg);\n });\n });\n }\n\n exports.isGeneratorFunction = function(genFun) {\n var ctor = typeof genFun === \"function\" && genFun.constructor;\n return ctor\n ? ctor === GeneratorFunction ||\n // For the native GeneratorFunction constructor, the best we can\n // do is to check its .name property.\n (ctor.displayName || ctor.name) === \"GeneratorFunction\"\n : false;\n };\n\n exports.mark = function(genFun) {\n if (Object.setPrototypeOf) {\n Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);\n } else {\n genFun.__proto__ = GeneratorFunctionPrototype;\n define(genFun, toStringTagSymbol, \"GeneratorFunction\");\n }\n genFun.prototype = Object.create(Gp);\n return genFun;\n };\n\n // Within the body of any async function, `await x` is transformed to\n // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test\n // `hasOwn.call(value, \"__await\")` to determine if the yielded value is\n // meant to be awaited.\n exports.awrap = function(arg) {\n return { __await: arg };\n };\n\n function AsyncIterator(generator, PromiseImpl) {\n function invoke(method, arg, resolve, reject) {\n var record = tryCatch(generator[method], generator, arg);\n if (record.type === \"throw\") {\n reject(record.arg);\n } else {\n var result = record.arg;\n var value = result.value;\n if (value &&\n typeof value === \"object\" &&\n hasOwn.call(value, \"__await\")) {\n return PromiseImpl.resolve(value.__await).then(function(value) {\n invoke(\"next\", value, resolve, reject);\n }, function(err) {\n invoke(\"throw\", err, resolve, reject);\n });\n }\n\n return PromiseImpl.resolve(value).then(function(unwrapped) {\n // When a yielded Promise is resolved, its final value becomes\n // the .value of the Promise<{value,done}> result for the\n // current iteration.\n result.value = unwrapped;\n resolve(result);\n }, function(error) {\n // If a rejected Promise was yielded, throw the rejection back\n // into the async generator function so it can be handled there.\n return invoke(\"throw\", error, resolve, reject);\n });\n }\n }\n\n var previousPromise;\n\n function enqueue(method, arg) {\n function callInvokeWithMethodAndArg() {\n return new PromiseImpl(function(resolve, reject) {\n invoke(method, arg, resolve, reject);\n });\n }\n\n return previousPromise =\n // If enqueue has been called before, then we want to wait until\n // all previous Promises have been resolved before calling invoke,\n // so that results are always delivered in the correct order. If\n // enqueue has not been called before, then it is important to\n // call invoke immediately, without waiting on a callback to fire,\n // so that the async generator function has the opportunity to do\n // any necessary setup in a predictable way. This predictability\n // is why the Promise constructor synchronously invokes its\n // executor callback, and why async functions synchronously\n // execute code before the first await. Since we implement simple\n // async functions in terms of async generators, it is especially\n // important to get this right, even though it requires care.\n previousPromise ? previousPromise.then(\n callInvokeWithMethodAndArg,\n // Avoid propagating failures to Promises returned by later\n // invocations of the iterator.\n callInvokeWithMethodAndArg\n ) : callInvokeWithMethodAndArg();\n }\n\n // Define the unified helper method that is used to implement .next,\n // .throw, and .return (see defineIteratorMethods).\n this._invoke = enqueue;\n }\n\n defineIteratorMethods(AsyncIterator.prototype);\n AsyncIterator.prototype[asyncIteratorSymbol] = function () {\n return this;\n };\n exports.AsyncIterator = AsyncIterator;\n\n // Note that simple async functions are implemented on top of\n // AsyncIterator objects; they just return a Promise for the value of\n // the final result produced by the iterator.\n exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {\n if (PromiseImpl === void 0) PromiseImpl = Promise;\n\n var iter = new AsyncIterator(\n wrap(innerFn, outerFn, self, tryLocsList),\n PromiseImpl\n );\n\n return exports.isGeneratorFunction(outerFn)\n ? iter // If outerFn is a generator, return the full iterator.\n : iter.next().then(function(result) {\n return result.done ? result.value : iter.next();\n });\n };\n\n function makeInvokeMethod(innerFn, self, context) {\n var state = GenStateSuspendedStart;\n\n return function invoke(method, arg) {\n if (state === GenStateExecuting) {\n throw new Error(\"Generator is already running\");\n }\n\n if (state === GenStateCompleted) {\n if (method === \"throw\") {\n throw arg;\n }\n\n // Be forgiving, per 25.3.3.3.3 of the spec:\n // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume\n return doneResult();\n }\n\n context.method = method;\n context.arg = arg;\n\n while (true) {\n var delegate = context.delegate;\n if (delegate) {\n var delegateResult = maybeInvokeDelegate(delegate, context);\n if (delegateResult) {\n if (delegateResult === ContinueSentinel) continue;\n return delegateResult;\n }\n }\n\n if (context.method === \"next\") {\n // Setting context._sent for legacy support of Babel's\n // function.sent implementation.\n context.sent = context._sent = context.arg;\n\n } else if (context.method === \"throw\") {\n if (state === GenStateSuspendedStart) {\n state = GenStateCompleted;\n throw context.arg;\n }\n\n context.dispatchException(context.arg);\n\n } else if (context.method === \"return\") {\n context.abrupt(\"return\", context.arg);\n }\n\n state = GenStateExecuting;\n\n var record = tryCatch(innerFn, self, context);\n if (record.type === \"normal\") {\n // If an exception is thrown from innerFn, we leave state ===\n // GenStateExecuting and loop back for another invocation.\n state = context.done\n ? GenStateCompleted\n : GenStateSuspendedYield;\n\n if (record.arg === ContinueSentinel) {\n continue;\n }\n\n return {\n value: record.arg,\n done: context.done\n };\n\n } else if (record.type === \"throw\") {\n state = GenStateCompleted;\n // Dispatch the exception by looping back around to the\n // context.dispatchException(context.arg) call above.\n context.method = \"throw\";\n context.arg = record.arg;\n }\n }\n };\n }\n\n // Call delegate.iterator[context.method](context.arg) and handle the\n // result, either by returning a { value, done } result from the\n // delegate iterator, or by modifying context.method and context.arg,\n // setting context.delegate to null, and returning the ContinueSentinel.\n function maybeInvokeDelegate(delegate, context) {\n var method = delegate.iterator[context.method];\n if (method === undefined) {\n // A .throw or .return when the delegate iterator has no .throw\n // method always terminates the yield* loop.\n context.delegate = null;\n\n if (context.method === \"throw\") {\n // Note: [\"return\"] must be used for ES3 parsing compatibility.\n if (delegate.iterator[\"return\"]) {\n // If the delegate iterator has a return method, give it a\n // chance to clean up.\n context.method = \"return\";\n context.arg = undefined;\n maybeInvokeDelegate(delegate, context);\n\n if (context.method === \"throw\") {\n // If maybeInvokeDelegate(context) changed context.method from\n // \"return\" to \"throw\", let that override the TypeError below.\n return ContinueSentinel;\n }\n }\n\n context.method = \"throw\";\n context.arg = new TypeError(\n \"The iterator does not provide a 'throw' method\");\n }\n\n return ContinueSentinel;\n }\n\n var record = tryCatch(method, delegate.iterator, context.arg);\n\n if (record.type === \"throw\") {\n context.method = \"throw\";\n context.arg = record.arg;\n context.delegate = null;\n return ContinueSentinel;\n }\n\n var info = record.arg;\n\n if (! info) {\n context.method = \"throw\";\n context.arg = new TypeError(\"iterator result is not an object\");\n context.delegate = null;\n return ContinueSentinel;\n }\n\n if (info.done) {\n // Assign the result of the finished delegate to the temporary\n // variable specified by delegate.resultName (see delegateYield).\n context[delegate.resultName] = info.value;\n\n // Resume execution at the desired location (see delegateYield).\n context.next = delegate.nextLoc;\n\n // If context.method was \"throw\" but the delegate handled the\n // exception, let the outer generator proceed normally. If\n // context.method was \"next\", forget context.arg since it has been\n // \"consumed\" by the delegate iterator. If context.method was\n // \"return\", allow the original .return call to continue in the\n // outer generator.\n if (context.method !== \"return\") {\n context.method = \"next\";\n context.arg = undefined;\n }\n\n } else {\n // Re-yield the result returned by the delegate method.\n return info;\n }\n\n // The delegate iterator is finished, so forget it and continue with\n // the outer generator.\n context.delegate = null;\n return ContinueSentinel;\n }\n\n // Define Generator.prototype.{next,throw,return} in terms of the\n // unified ._invoke helper method.\n defineIteratorMethods(Gp);\n\n define(Gp, toStringTagSymbol, \"Generator\");\n\n // A Generator should always return itself as the iterator object when the\n // @@iterator function is called on it. Some browsers' implementations of the\n // iterator prototype chain incorrectly implement this, causing the Generator\n // object to not be returned from this call. This ensures that doesn't happen.\n // See https://github.com/facebook/regenerator/issues/274 for more details.\n Gp[iteratorSymbol] = function() {\n return this;\n };\n\n Gp.toString = function() {\n return \"[object Generator]\";\n };\n\n function pushTryEntry(locs) {\n var entry = { tryLoc: locs[0] };\n\n if (1 in locs) {\n entry.catchLoc = locs[1];\n }\n\n if (2 in locs) {\n entry.finallyLoc = locs[2];\n entry.afterLoc = locs[3];\n }\n\n this.tryEntries.push(entry);\n }\n\n function resetTryEntry(entry) {\n var record = entry.completion || {};\n record.type = \"normal\";\n delete record.arg;\n entry.completion = record;\n }\n\n function Context(tryLocsList) {\n // The root entry object (effectively a try statement without a catch\n // or a finally block) gives us a place to store values thrown from\n // locations where there is no enclosing try statement.\n this.tryEntries = [{ tryLoc: \"root\" }];\n tryLocsList.forEach(pushTryEntry, this);\n this.reset(true);\n }\n\n exports.keys = function(object) {\n var keys = [];\n for (var key in object) {\n keys.push(key);\n }\n keys.reverse();\n\n // Rather than returning an object with a next method, we keep\n // things simple and return the next function itself.\n return function next() {\n while (keys.length) {\n var key = keys.pop();\n if (key in object) {\n next.value = key;\n next.done = false;\n return next;\n }\n }\n\n // To avoid creating an additional object, we just hang the .value\n // and .done properties off the next function object itself. This\n // also ensures that the minifier will not anonymize the function.\n next.done = true;\n return next;\n };\n };\n\n function values(iterable) {\n if (iterable) {\n var iteratorMethod = iterable[iteratorSymbol];\n if (iteratorMethod) {\n return iteratorMethod.call(iterable);\n }\n\n if (typeof iterable.next === \"function\") {\n return iterable;\n }\n\n if (!isNaN(iterable.length)) {\n var i = -1, next = function next() {\n while (++i < iterable.length) {\n if (hasOwn.call(iterable, i)) {\n next.value = iterable[i];\n next.done = false;\n return next;\n }\n }\n\n next.value = undefined;\n next.done = true;\n\n return next;\n };\n\n return next.next = next;\n }\n }\n\n // Return an iterator with no values.\n return { next: doneResult };\n }\n exports.values = values;\n\n function doneResult() {\n return { value: undefined, done: true };\n }\n\n Context.prototype = {\n constructor: Context,\n\n reset: function(skipTempReset) {\n this.prev = 0;\n this.next = 0;\n // Resetting context._sent for legacy support of Babel's\n // function.sent implementation.\n this.sent = this._sent = undefined;\n this.done = false;\n this.delegate = null;\n\n this.method = \"next\";\n this.arg = undefined;\n\n this.tryEntries.forEach(resetTryEntry);\n\n if (!skipTempReset) {\n for (var name in this) {\n // Not sure about the optimal order of these conditions:\n if (name.charAt(0) === \"t\" &&\n hasOwn.call(this, name) &&\n !isNaN(+name.slice(1))) {\n this[name] = undefined;\n }\n }\n }\n },\n\n stop: function() {\n this.done = true;\n\n var rootEntry = this.tryEntries[0];\n var rootRecord = rootEntry.completion;\n if (rootRecord.type === \"throw\") {\n throw rootRecord.arg;\n }\n\n return this.rval;\n },\n\n dispatchException: function(exception) {\n if (this.done) {\n throw exception;\n }\n\n var context = this;\n function handle(loc, caught) {\n record.type = \"throw\";\n record.arg = exception;\n context.next = loc;\n\n if (caught) {\n // If the dispatched exception was caught by a catch block,\n // then let that catch block handle the exception normally.\n context.method = \"next\";\n context.arg = undefined;\n }\n\n return !! caught;\n }\n\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n var record = entry.completion;\n\n if (entry.tryLoc === \"root\") {\n // Exception thrown outside of any try block that could handle\n // it, so set the completion value of the entire function to\n // throw the exception.\n return handle(\"end\");\n }\n\n if (entry.tryLoc <= this.prev) {\n var hasCatch = hasOwn.call(entry, \"catchLoc\");\n var hasFinally = hasOwn.call(entry, \"finallyLoc\");\n\n if (hasCatch && hasFinally) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n } else if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else if (hasCatch) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n }\n\n } else if (hasFinally) {\n if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else {\n throw new Error(\"try statement without catch or finally\");\n }\n }\n }\n },\n\n abrupt: function(type, arg) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc <= this.prev &&\n hasOwn.call(entry, \"finallyLoc\") &&\n this.prev < entry.finallyLoc) {\n var finallyEntry = entry;\n break;\n }\n }\n\n if (finallyEntry &&\n (type === \"break\" ||\n type === \"continue\") &&\n finallyEntry.tryLoc <= arg &&\n arg <= finallyEntry.finallyLoc) {\n // Ignore the finally entry if control is not jumping to a\n // location outside the try/catch block.\n finallyEntry = null;\n }\n\n var record = finallyEntry ? finallyEntry.completion : {};\n record.type = type;\n record.arg = arg;\n\n if (finallyEntry) {\n this.method = \"next\";\n this.next = finallyEntry.finallyLoc;\n return ContinueSentinel;\n }\n\n return this.complete(record);\n },\n\n complete: function(record, afterLoc) {\n if (record.type === \"throw\") {\n throw record.arg;\n }\n\n if (record.type === \"break\" ||\n record.type === \"continue\") {\n this.next = record.arg;\n } else if (record.type === \"return\") {\n this.rval = this.arg = record.arg;\n this.method = \"return\";\n this.next = \"end\";\n } else if (record.type === \"normal\" && afterLoc) {\n this.next = afterLoc;\n }\n\n return ContinueSentinel;\n },\n\n finish: function(finallyLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.finallyLoc === finallyLoc) {\n this.complete(entry.completion, entry.afterLoc);\n resetTryEntry(entry);\n return ContinueSentinel;\n }\n }\n },\n\n \"catch\": function(tryLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc === tryLoc) {\n var record = entry.completion;\n if (record.type === \"throw\") {\n var thrown = record.arg;\n resetTryEntry(entry);\n }\n return thrown;\n }\n }\n\n // The context.catch method must only be called with a location\n // argument that corresponds to a known catch block.\n throw new Error(\"illegal catch attempt\");\n },\n\n delegateYield: function(iterable, resultName, nextLoc) {\n this.delegate = {\n iterator: values(iterable),\n resultName: resultName,\n nextLoc: nextLoc\n };\n\n if (this.method === \"next\") {\n // Deliberately forget the last sent value so that we don't\n // accidentally pass it on to the delegate.\n this.arg = undefined;\n }\n\n return ContinueSentinel;\n }\n };\n\n // Regardless of whether this script is executing as a CommonJS module\n // or not, return the runtime object so that we can declare the variable\n // regeneratorRuntime in the outer scope, which allows this module to be\n // injected easily by `bin/regenerator --include-runtime script.js`.\n return exports;\n\n}(\n // If this script is executing as a CommonJS module, use module.exports\n // as the regeneratorRuntime namespace. Otherwise create a new empty\n // object. Either way, the resulting object will be used to initialize\n // the regeneratorRuntime variable at the top of this file.\n typeof module === \"object\" ? module.exports : {}\n));\n\ntry {\n regeneratorRuntime = runtime;\n} catch (accidentalStrictMode) {\n // This module should not be running in strict mode, so the above\n // assignment should always work unless something is misconfigured. Just\n // in case runtime.js accidentally runs in strict mode, we can escape\n // strict mode using a global Function call. This could conceivably fail\n // if a Content Security Policy forbids using Function, but in that case\n // the proper solution is to fix the accidental strict mode problem. If\n // you've misconfigured your bundler to force strict mode and applied a\n // CSP to forbid Function, and you're not willing to fix either of those\n // problems, please detail your unique predicament in a GitHub issue.\n Function(\"r\", \"regeneratorRuntime = r\")(runtime);\n}\n","var $ = require('../internals/export');\nvar from = require('../internals/array-from');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\n\nvar INCORRECT_ITERATION = !checkCorrectnessOfIteration(function (iterable) {\n Array.from(iterable);\n});\n\n// `Array.from` method\n// https://tc39.es/ecma262/#sec-array.from\n$({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, {\n from: from\n});\n","var global = require('../internals/global');\nvar shared = require('../internals/shared');\nvar has = require('../internals/has');\nvar uid = require('../internals/uid');\nvar NATIVE_SYMBOL = require('../internals/native-symbol');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar WellKnownSymbolsStore = shared('wks');\nvar Symbol = global.Symbol;\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!has(WellKnownSymbolsStore, name)) {\n if (NATIVE_SYMBOL && has(Symbol, name)) WellKnownSymbolsStore[name] = Symbol[name];\n else WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name);\n } return WellKnownSymbolsStore[name];\n};\n","var $ = require('../internals/export');\nvar bind = require('../internals/function-bind');\n\n// `Function.prototype.bind` method\n// https://tc39.es/ecma262/#sec-function.prototype.bind\n$({ target: 'Function', proto: true }, {\n bind: bind\n});\n","var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar classofRaw = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n// ES3 wrong here\nvar CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (error) { /* empty */ }\n};\n\n// getting tag from ES6+ `Object.prototype.toString`\nmodule.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {\n var O, tag, result;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (tag = tryGet(O = Object(it), TO_STRING_TAG)) == 'string' ? tag\n // builtinTag case\n : CORRECT_ARGUMENTS ? classofRaw(O)\n // ES3 arguments fallback\n : (result = classofRaw(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : result;\n};\n","// `Math.sign` method implementation\n// https://tc39.es/ecma262/#sec-math.sign\nmodule.exports = Math.sign || function sign(x) {\n // eslint-disable-next-line no-self-compare\n return (x = +x) == 0 || x != x ? x : x < 0 ? -1 : 1;\n};\n","var $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar expm1 = require('../internals/math-expm1');\n\nvar abs = Math.abs;\nvar exp = Math.exp;\nvar E = Math.E;\n\nvar FORCED = fails(function () {\n return Math.sinh(-2e-17) != -2e-17;\n});\n\n// `Math.sinh` method\n// https://tc39.es/ecma262/#sec-math.sinh\n// V8 near Chromium 38 has a problem with very small numbers\n$({ target: 'Math', stat: true, forced: FORCED }, {\n sinh: function sinh(x) {\n return abs(x = +x) < 1 ? (expm1(x) - expm1(-x)) / 2 : (exp(x - 1) - exp(-x - 1)) * (E / 2);\n }\n});\n","var redefine = require('../internals/redefine');\n\nvar DatePrototype = Date.prototype;\nvar INVALID_DATE = 'Invalid Date';\nvar TO_STRING = 'toString';\nvar nativeDateToString = DatePrototype[TO_STRING];\nvar getTime = DatePrototype.getTime;\n\n// `Date.prototype.toString` method\n// https://tc39.es/ecma262/#sec-date.prototype.tostring\nif (new Date(NaN) + '' != INVALID_DATE) {\n redefine(DatePrototype, TO_STRING, function toString() {\n var value = getTime.call(this);\n // eslint-disable-next-line no-self-compare\n return value === value ? nativeDateToString.call(this) : INVALID_DATE;\n });\n}\n","var $ = require('../internals/export');\nvar $entries = require('../internals/object-to-array').entries;\n\n// `Object.entries` method\n// https://tc39.es/ecma262/#sec-object.entries\n$({ target: 'Object', stat: true }, {\n entries: function entries(O) {\n return $entries(O);\n }\n});\n","'use strict';\nvar defineProperty = require('../internals/object-define-property').f;\nvar create = require('../internals/object-create');\nvar redefineAll = require('../internals/redefine-all');\nvar bind = require('../internals/function-bind-context');\nvar anInstance = require('../internals/an-instance');\nvar iterate = require('../internals/iterate');\nvar defineIterator = require('../internals/define-iterator');\nvar setSpecies = require('../internals/set-species');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fastKey = require('../internals/internal-metadata').fastKey;\nvar InternalStateModule = require('../internals/internal-state');\n\nvar setInternalState = InternalStateModule.set;\nvar internalStateGetterFor = InternalStateModule.getterFor;\n\nmodule.exports = {\n getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {\n var C = wrapper(function (that, iterable) {\n anInstance(that, C, CONSTRUCTOR_NAME);\n setInternalState(that, {\n type: CONSTRUCTOR_NAME,\n index: create(null),\n first: undefined,\n last: undefined,\n size: 0\n });\n if (!DESCRIPTORS) that.size = 0;\n if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });\n });\n\n var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);\n\n var define = function (that, key, value) {\n var state = getInternalState(that);\n var entry = getEntry(that, key);\n var previous, index;\n // change existing entry\n if (entry) {\n entry.value = value;\n // create new entry\n } else {\n state.last = entry = {\n index: index = fastKey(key, true),\n key: key,\n value: value,\n previous: previous = state.last,\n next: undefined,\n removed: false\n };\n if (!state.first) state.first = entry;\n if (previous) previous.next = entry;\n if (DESCRIPTORS) state.size++;\n else that.size++;\n // add to index\n if (index !== 'F') state.index[index] = entry;\n } return that;\n };\n\n var getEntry = function (that, key) {\n var state = getInternalState(that);\n // fast case\n var index = fastKey(key);\n var entry;\n if (index !== 'F') return state.index[index];\n // frozen object case\n for (entry = state.first; entry; entry = entry.next) {\n if (entry.key == key) return entry;\n }\n };\n\n redefineAll(C.prototype, {\n // 23.1.3.1 Map.prototype.clear()\n // 23.2.3.2 Set.prototype.clear()\n clear: function clear() {\n var that = this;\n var state = getInternalState(that);\n var data = state.index;\n var entry = state.first;\n while (entry) {\n entry.removed = true;\n if (entry.previous) entry.previous = entry.previous.next = undefined;\n delete data[entry.index];\n entry = entry.next;\n }\n state.first = state.last = undefined;\n if (DESCRIPTORS) state.size = 0;\n else that.size = 0;\n },\n // 23.1.3.3 Map.prototype.delete(key)\n // 23.2.3.4 Set.prototype.delete(value)\n 'delete': function (key) {\n var that = this;\n var state = getInternalState(that);\n var entry = getEntry(that, key);\n if (entry) {\n var next = entry.next;\n var prev = entry.previous;\n delete state.index[entry.index];\n entry.removed = true;\n if (prev) prev.next = next;\n if (next) next.previous = prev;\n if (state.first == entry) state.first = next;\n if (state.last == entry) state.last = prev;\n if (DESCRIPTORS) state.size--;\n else that.size--;\n } return !!entry;\n },\n // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined)\n // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined)\n forEach: function forEach(callbackfn /* , that = undefined */) {\n var state = getInternalState(this);\n var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);\n var entry;\n while (entry = entry ? entry.next : state.first) {\n boundFunction(entry.value, entry.key, this);\n // revert to the last existing entry\n while (entry && entry.removed) entry = entry.previous;\n }\n },\n // 23.1.3.7 Map.prototype.has(key)\n // 23.2.3.7 Set.prototype.has(value)\n has: function has(key) {\n return !!getEntry(this, key);\n }\n });\n\n redefineAll(C.prototype, IS_MAP ? {\n // 23.1.3.6 Map.prototype.get(key)\n get: function get(key) {\n var entry = getEntry(this, key);\n return entry && entry.value;\n },\n // 23.1.3.9 Map.prototype.set(key, value)\n set: function set(key, value) {\n return define(this, key === 0 ? 0 : key, value);\n }\n } : {\n // 23.2.3.1 Set.prototype.add(value)\n add: function add(value) {\n return define(this, value = value === 0 ? 0 : value, value);\n }\n });\n if (DESCRIPTORS) defineProperty(C.prototype, 'size', {\n get: function () {\n return getInternalState(this).size;\n }\n });\n return C;\n },\n setStrong: function (C, CONSTRUCTOR_NAME, IS_MAP) {\n var ITERATOR_NAME = CONSTRUCTOR_NAME + ' Iterator';\n var getInternalCollectionState = internalStateGetterFor(CONSTRUCTOR_NAME);\n var getInternalIteratorState = internalStateGetterFor(ITERATOR_NAME);\n // add .keys, .values, .entries, [@@iterator]\n // 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11\n defineIterator(C, CONSTRUCTOR_NAME, function (iterated, kind) {\n setInternalState(this, {\n type: ITERATOR_NAME,\n target: iterated,\n state: getInternalCollectionState(iterated),\n kind: kind,\n last: undefined\n });\n }, function () {\n var state = getInternalIteratorState(this);\n var kind = state.kind;\n var entry = state.last;\n // revert to the last existing entry\n while (entry && entry.removed) entry = entry.previous;\n // get next entry\n if (!state.target || !(state.last = entry = entry ? entry.next : state.state.first)) {\n // or finish the iteration\n state.target = undefined;\n return { value: undefined, done: true };\n }\n // return step by kind\n if (kind == 'keys') return { value: entry.key, done: false };\n if (kind == 'values') return { value: entry.value, done: false };\n return { value: [entry.key, entry.value], done: false };\n }, IS_MAP ? 'entries' : 'values', !IS_MAP, true);\n\n // add [@@species], 23.1.2.2, 23.2.2.2\n setSpecies(CONSTRUCTOR_NAME);\n }\n};\n","'use strict';\nvar $forEach = require('../internals/array-iteration').forEach;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar STRICT_METHOD = arrayMethodIsStrict('forEach');\nvar USES_TO_LENGTH = arrayMethodUsesToLength('forEach');\n\n// `Array.prototype.forEach` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.foreach\nmodule.exports = (!STRICT_METHOD || !USES_TO_LENGTH) ? function forEach(callbackfn /* , thisArg */) {\n return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n} : [].forEach;\n","'use strict';\nvar $ = require('../internals/export');\nvar IndexedObject = require('../internals/indexed-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar nativeJoin = [].join;\n\nvar ES3_STRINGS = IndexedObject != Object;\nvar STRICT_METHOD = arrayMethodIsStrict('join', ',');\n\n// `Array.prototype.join` method\n// https://tc39.es/ecma262/#sec-array.prototype.join\n$({ target: 'Array', proto: true, forced: ES3_STRINGS || !STRICT_METHOD }, {\n join: function join(separator) {\n return nativeJoin.call(toIndexedObject(this), separator === undefined ? ',' : separator);\n }\n});\n","var $ = require('../internals/export');\nvar assign = require('../internals/object-assign');\n\n// `Object.assign` method\n// https://tc39.es/ecma262/#sec-object.assign\n$({ target: 'Object', stat: true, forced: Object.assign !== assign }, {\n assign: assign\n});\n","'use strict';\nvar aFunction = require('../internals/a-function');\n\nvar PromiseCapability = function (C) {\n var resolve, reject;\n this.promise = new C(function ($$resolve, $$reject) {\n if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor');\n resolve = $$resolve;\n reject = $$reject;\n });\n this.resolve = aFunction(resolve);\n this.reject = aFunction(reject);\n};\n\n// 25.4.1.5 NewPromiseCapability(C)\nmodule.exports.f = function (C) {\n return new PromiseCapability(C);\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar toLength = require('../internals/to-length');\nvar notARegExp = require('../internals/not-a-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar correctIsRegExpLogic = require('../internals/correct-is-regexp-logic');\nvar IS_PURE = require('../internals/is-pure');\n\nvar nativeStartsWith = ''.startsWith;\nvar min = Math.min;\n\nvar CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('startsWith');\n// https://github.com/zloirock/core-js/pull/702\nvar MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {\n var descriptor = getOwnPropertyDescriptor(String.prototype, 'startsWith');\n return descriptor && !descriptor.writable;\n}();\n\n// `String.prototype.startsWith` method\n// https://tc39.es/ecma262/#sec-string.prototype.startswith\n$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {\n startsWith: function startsWith(searchString /* , position = 0 */) {\n var that = String(requireObjectCoercible(this));\n notARegExp(searchString);\n var index = toLength(min(arguments.length > 1 ? arguments[1] : undefined, that.length));\n var search = String(searchString);\n return nativeStartsWith\n ? nativeStartsWith.call(that, search, index)\n : that.slice(index, index + search.length) === search;\n }\n});\n","var check = function (it) {\n return it && it.Math == Math && it;\n};\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nmodule.exports =\n // eslint-disable-next-line no-undef\n check(typeof globalThis == 'object' && globalThis) ||\n check(typeof window == 'object' && window) ||\n check(typeof self == 'object' && self) ||\n check(typeof global == 'object' && global) ||\n // eslint-disable-next-line no-new-func\n (function () { return this; })() || Function('return this')();\n","var $ = require('../internals/export');\n\n// `Number.MIN_SAFE_INTEGER` constant\n// https://tc39.es/ecma262/#sec-number.min_safe_integer\n$({ target: 'Number', stat: true }, {\n MIN_SAFE_INTEGER: -0x1FFFFFFFFFFFFF\n});\n","var anObject = require('../internals/an-object');\nvar aFunction = require('../internals/a-function');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\n\n// `SpeciesConstructor` abstract operation\n// https://tc39.es/ecma262/#sec-speciesconstructor\nmodule.exports = function (O, defaultConstructor) {\n var C = anObject(O).constructor;\n var S;\n return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? defaultConstructor : aFunction(S);\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar objectDefinePropertyModule = require('../internals/object-define-property');\nvar regExpFlags = require('../internals/regexp-flags');\nvar UNSUPPORTED_Y = require('../internals/regexp-sticky-helpers').UNSUPPORTED_Y;\n\n// `RegExp.prototype.flags` getter\n// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags\nif (DESCRIPTORS && (/./g.flags != 'g' || UNSUPPORTED_Y)) {\n objectDefinePropertyModule.f(RegExp.prototype, 'flags', {\n configurable: true,\n get: regExpFlags\n });\n}\n","module.exports = function (exec) {\n try {\n return { error: false, value: exec() };\n } catch (error) {\n return { error: true, value: error };\n }\n};\n","var nativeExpm1 = Math.expm1;\nvar exp = Math.exp;\n\n// `Math.expm1` method implementation\n// https://tc39.es/ecma262/#sec-math.expm1\nmodule.exports = (!nativeExpm1\n // Old FF bug\n || nativeExpm1(10) > 22025.465794806719 || nativeExpm1(10) < 22025.4657948067165168\n // Tor Browser bug\n || nativeExpm1(-2e-17) != -2e-17\n) ? function expm1(x) {\n return (x = +x) == 0 ? x : x > -1e-6 && x < 1e-6 ? x + x * x / 2 : exp(x) - 1;\n} : nativeExpm1;\n","module.exports = {};\n","require('../../modules/es.number.constructor');\nrequire('../../modules/es.number.epsilon');\nrequire('../../modules/es.number.is-finite');\nrequire('../../modules/es.number.is-integer');\nrequire('../../modules/es.number.is-nan');\nrequire('../../modules/es.number.is-safe-integer');\nrequire('../../modules/es.number.max-safe-integer');\nrequire('../../modules/es.number.min-safe-integer');\nrequire('../../modules/es.number.parse-float');\nrequire('../../modules/es.number.parse-int');\nrequire('../../modules/es.number.to-fixed');\nrequire('../../modules/es.number.to-precision');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Number;\n","'use strict';\nvar fails = require('../internals/fails');\nvar padStart = require('../internals/string-pad').start;\n\nvar abs = Math.abs;\nvar DatePrototype = Date.prototype;\nvar getTime = DatePrototype.getTime;\nvar nativeDateToISOString = DatePrototype.toISOString;\n\n// `Date.prototype.toISOString` method implementation\n// https://tc39.es/ecma262/#sec-date.prototype.toisostring\n// PhantomJS / old WebKit fails here:\nmodule.exports = (fails(function () {\n return nativeDateToISOString.call(new Date(-5e13 - 1)) != '0385-07-25T07:06:39.999Z';\n}) || !fails(function () {\n nativeDateToISOString.call(new Date(NaN));\n})) ? function toISOString() {\n if (!isFinite(getTime.call(this))) throw RangeError('Invalid time value');\n var date = this;\n var year = date.getUTCFullYear();\n var milliseconds = date.getUTCMilliseconds();\n var sign = year < 0 ? '-' : year > 9999 ? '+' : '';\n return sign + padStart(abs(year), sign ? 6 : 4, 0) +\n '-' + padStart(date.getUTCMonth() + 1, 2, 0) +\n '-' + padStart(date.getUTCDate(), 2, 0) +\n 'T' + padStart(date.getUTCHours(), 2, 0) +\n ':' + padStart(date.getUTCMinutes(), 2, 0) +\n ':' + padStart(date.getUTCSeconds(), 2, 0) +\n '.' + padStart(milliseconds, 3, 0) +\n 'Z';\n} : nativeDateToISOString;\n","'use strict';\nvar regexpFlags = require('./regexp-flags');\nvar stickyHelpers = require('./regexp-sticky-helpers');\n\nvar nativeExec = RegExp.prototype.exec;\n// This always refers to the native implementation, because the\n// String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js,\n// which loads this file before patching the method.\nvar nativeReplace = String.prototype.replace;\n\nvar patchedExec = nativeExec;\n\nvar UPDATES_LAST_INDEX_WRONG = (function () {\n var re1 = /a/;\n var re2 = /b*/g;\n nativeExec.call(re1, 'a');\n nativeExec.call(re2, 'a');\n return re1.lastIndex !== 0 || re2.lastIndex !== 0;\n})();\n\nvar UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y || stickyHelpers.BROKEN_CARET;\n\n// nonparticipating capturing group, copied from es5-shim's String#split patch.\nvar NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;\n\nvar PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y;\n\nif (PATCH) {\n patchedExec = function exec(str) {\n var re = this;\n var lastIndex, reCopy, match, i;\n var sticky = UNSUPPORTED_Y && re.sticky;\n var flags = regexpFlags.call(re);\n var source = re.source;\n var charsAdded = 0;\n var strCopy = str;\n\n if (sticky) {\n flags = flags.replace('y', '');\n if (flags.indexOf('g') === -1) {\n flags += 'g';\n }\n\n strCopy = String(str).slice(re.lastIndex);\n // Support anchored sticky behavior.\n if (re.lastIndex > 0 && (!re.multiline || re.multiline && str[re.lastIndex - 1] !== '\\n')) {\n source = '(?: ' + source + ')';\n strCopy = ' ' + strCopy;\n charsAdded++;\n }\n // ^(? + rx + ) is needed, in combination with some str slicing, to\n // simulate the 'y' flag.\n reCopy = new RegExp('^(?:' + source + ')', flags);\n }\n\n if (NPCG_INCLUDED) {\n reCopy = new RegExp('^' + source + '$(?!\\\\s)', flags);\n }\n if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;\n\n match = nativeExec.call(sticky ? reCopy : re, strCopy);\n\n if (sticky) {\n if (match) {\n match.input = match.input.slice(charsAdded);\n match[0] = match[0].slice(charsAdded);\n match.index = re.lastIndex;\n re.lastIndex += match[0].length;\n } else re.lastIndex = 0;\n } else if (UPDATES_LAST_INDEX_WRONG && match) {\n re.lastIndex = re.global ? match.index + match[0].length : lastIndex;\n }\n if (NPCG_INCLUDED && match && match.length > 1) {\n // Fix browsers whose `exec` methods don't consistently return `undefined`\n // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/\n nativeReplace.call(match[0], reCopy, function () {\n for (i = 1; i < arguments.length - 2; i++) {\n if (arguments[i] === undefined) match[i] = undefined;\n }\n });\n }\n\n return match;\n };\n}\n\nmodule.exports = patchedExec;\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.small` method\n// https://tc39.es/ecma262/#sec-string.prototype.small\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('small') }, {\n small: function small() {\n return createHTML(this, 'small', '', '');\n }\n});\n","var global = require('../internals/global');\nvar isObject = require('../internals/is-object');\n\nvar document = global.document;\n// typeof document.createElement is 'object' in old IE\nvar EXISTS = isObject(document) && isObject(document.createElement);\n\nmodule.exports = function (it) {\n return EXISTS ? document.createElement(it) : {};\n};\n","var $ = require('../internals/export');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\n\nvar fromCharCode = String.fromCharCode;\nvar nativeFromCodePoint = String.fromCodePoint;\n\n// length should be 1, old FF problem\nvar INCORRECT_LENGTH = !!nativeFromCodePoint && nativeFromCodePoint.length != 1;\n\n// `String.fromCodePoint` method\n// https://tc39.es/ecma262/#sec-string.fromcodepoint\n$({ target: 'String', stat: true, forced: INCORRECT_LENGTH }, {\n fromCodePoint: function fromCodePoint(x) { // eslint-disable-line no-unused-vars\n var elements = [];\n var length = arguments.length;\n var i = 0;\n var code;\n while (length > i) {\n code = +arguments[i++];\n if (toAbsoluteIndex(code, 0x10FFFF) !== code) throw RangeError(code + ' is not a valid code point');\n elements.push(code < 0x10000\n ? fromCharCode(code)\n : fromCharCode(((code -= 0x10000) >> 10) + 0xD800, code % 0x400 + 0xDC00)\n );\n } return elements.join('');\n }\n});\n","'use strict';\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toInteger = require('../internals/to-integer');\nvar toLength = require('../internals/to-length');\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar min = Math.min;\nvar nativeLastIndexOf = [].lastIndexOf;\nvar NEGATIVE_ZERO = !!nativeLastIndexOf && 1 / [1].lastIndexOf(1, -0) < 0;\nvar STRICT_METHOD = arrayMethodIsStrict('lastIndexOf');\n// For preventing possible almost infinite loop in non-standard implementations, test the forward version of the method\nvar USES_TO_LENGTH = arrayMethodUsesToLength('indexOf', { ACCESSORS: true, 1: 0 });\nvar FORCED = NEGATIVE_ZERO || !STRICT_METHOD || !USES_TO_LENGTH;\n\n// `Array.prototype.lastIndexOf` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.lastindexof\nmodule.exports = FORCED ? function lastIndexOf(searchElement /* , fromIndex = @[*-1] */) {\n // convert -0 to +0\n if (NEGATIVE_ZERO) return nativeLastIndexOf.apply(this, arguments) || 0;\n var O = toIndexedObject(this);\n var length = toLength(O.length);\n var index = length - 1;\n if (arguments.length > 1) index = min(index, toInteger(arguments[1]));\n if (index < 0) index = length + index;\n for (;index >= 0; index--) if (index in O && O[index] === searchElement) return index || 0;\n return -1;\n} : nativeLastIndexOf;\n","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (error) {\n return true;\n }\n};\n","'use strict';\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar addToUnscopables = require('../internals/add-to-unscopables');\nvar Iterators = require('../internals/iterators');\nvar InternalStateModule = require('../internals/internal-state');\nvar defineIterator = require('../internals/define-iterator');\n\nvar ARRAY_ITERATOR = 'Array Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);\n\n// `Array.prototype.entries` method\n// https://tc39.es/ecma262/#sec-array.prototype.entries\n// `Array.prototype.keys` method\n// https://tc39.es/ecma262/#sec-array.prototype.keys\n// `Array.prototype.values` method\n// https://tc39.es/ecma262/#sec-array.prototype.values\n// `Array.prototype[@@iterator]` method\n// https://tc39.es/ecma262/#sec-array.prototype-@@iterator\n// `CreateArrayIterator` internal method\n// https://tc39.es/ecma262/#sec-createarrayiterator\nmodule.exports = defineIterator(Array, 'Array', function (iterated, kind) {\n setInternalState(this, {\n type: ARRAY_ITERATOR,\n target: toIndexedObject(iterated), // target\n index: 0, // next index\n kind: kind // kind\n });\n// `%ArrayIteratorPrototype%.next` method\n// https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next\n}, function () {\n var state = getInternalState(this);\n var target = state.target;\n var kind = state.kind;\n var index = state.index++;\n if (!target || index >= target.length) {\n state.target = undefined;\n return { value: undefined, done: true };\n }\n if (kind == 'keys') return { value: index, done: false };\n if (kind == 'values') return { value: target[index], done: false };\n return { value: [index, target[index]], done: false };\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values%\n// https://tc39.es/ecma262/#sec-createunmappedargumentsobject\n// https://tc39.es/ecma262/#sec-createmappedargumentsobject\nIterators.Arguments = Iterators.Array;\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n","var global = require('../internals/global');\nvar DOMIterables = require('../internals/dom-iterables');\nvar ArrayIteratorMethods = require('../modules/es.array.iterator');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar ArrayValues = ArrayIteratorMethods.values;\n\nfor (var COLLECTION_NAME in DOMIterables) {\n var Collection = global[COLLECTION_NAME];\n var CollectionPrototype = Collection && Collection.prototype;\n if (CollectionPrototype) {\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype[ITERATOR] !== ArrayValues) try {\n createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues);\n } catch (error) {\n CollectionPrototype[ITERATOR] = ArrayValues;\n }\n if (!CollectionPrototype[TO_STRING_TAG]) {\n createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME);\n }\n if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {\n createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);\n } catch (error) {\n CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];\n }\n }\n }\n}\n","var fails = require('../internals/fails');\nvar whitespaces = require('../internals/whitespaces');\n\nvar non = '\\u200B\\u0085\\u180E';\n\n// check that a method works with the correct list\n// of whitespaces and has a correct name\nmodule.exports = function (METHOD_NAME) {\n return fails(function () {\n return !!whitespaces[METHOD_NAME]() || non[METHOD_NAME]() != non || whitespaces[METHOD_NAME].name !== METHOD_NAME;\n });\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar $trim = require('../internals/string-trim').trim;\nvar forcedStringTrimMethod = require('../internals/string-trim-forced');\n\n// `String.prototype.trim` method\n// https://tc39.es/ecma262/#sec-string.prototype.trim\n$({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {\n trim: function trim() {\n return $trim(this);\n }\n});\n","var $ = require('../internals/export');\nvar numberIsFinite = require('../internals/number-is-finite');\n\n// `Number.isFinite` method\n// https://tc39.es/ecma262/#sec-number.isfinite\n$({ target: 'Number', stat: true }, { isFinite: numberIsFinite });\n","var isRegExp = require('../internals/is-regexp');\n\nmodule.exports = function (it) {\n if (isRegExp(it)) {\n throw TypeError(\"The method doesn't accept regular expressions\");\n } return it;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar toInteger = require('../internals/to-integer');\nvar toLength = require('../internals/to-length');\nvar toObject = require('../internals/to-object');\nvar arraySpeciesCreate = require('../internals/array-species-create');\nvar createProperty = require('../internals/create-property');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice');\nvar USES_TO_LENGTH = arrayMethodUsesToLength('splice', { ACCESSORS: true, 0: 0, 1: 2 });\n\nvar max = Math.max;\nvar min = Math.min;\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;\nvar MAXIMUM_ALLOWED_LENGTH_EXCEEDED = 'Maximum allowed length exceeded';\n\n// `Array.prototype.splice` method\n// https://tc39.es/ecma262/#sec-array.prototype.splice\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, {\n splice: function splice(start, deleteCount /* , ...items */) {\n var O = toObject(this);\n var len = toLength(O.length);\n var actualStart = toAbsoluteIndex(start, len);\n var argumentsLength = arguments.length;\n var insertCount, actualDeleteCount, A, k, from, to;\n if (argumentsLength === 0) {\n insertCount = actualDeleteCount = 0;\n } else if (argumentsLength === 1) {\n insertCount = 0;\n actualDeleteCount = len - actualStart;\n } else {\n insertCount = argumentsLength - 2;\n actualDeleteCount = min(max(toInteger(deleteCount), 0), len - actualStart);\n }\n if (len + insertCount - actualDeleteCount > MAX_SAFE_INTEGER) {\n throw TypeError(MAXIMUM_ALLOWED_LENGTH_EXCEEDED);\n }\n A = arraySpeciesCreate(O, actualDeleteCount);\n for (k = 0; k < actualDeleteCount; k++) {\n from = actualStart + k;\n if (from in O) createProperty(A, k, O[from]);\n }\n A.length = actualDeleteCount;\n if (insertCount < actualDeleteCount) {\n for (k = actualStart; k < len - actualDeleteCount; k++) {\n from = k + actualDeleteCount;\n to = k + insertCount;\n if (from in O) O[to] = O[from];\n else delete O[to];\n }\n for (k = len; k > len - actualDeleteCount + insertCount; k--) delete O[k - 1];\n } else if (insertCount > actualDeleteCount) {\n for (k = len - actualDeleteCount; k > actualStart; k--) {\n from = k + actualDeleteCount - 1;\n to = k + insertCount - 1;\n if (from in O) O[to] = O[from];\n else delete O[to];\n }\n }\n for (k = 0; k < insertCount; k++) {\n O[k + actualStart] = arguments[k + 2];\n }\n O.length = len - actualDeleteCount + insertCount;\n return A;\n }\n});\n","var defineProperty = require('../internals/object-define-property').f;\nvar has = require('../internals/has');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n\nmodule.exports = function (it, TAG, STATIC) {\n if (it && !has(it = STATIC ? it : it.prototype, TO_STRING_TAG)) {\n defineProperty(it, TO_STRING_TAG, { configurable: true, value: TAG });\n }\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar codeAt = require('../internals/string-multibyte').codeAt;\n\n// `String.prototype.codePointAt` method\n// https://tc39.es/ecma262/#sec-string.prototype.codepointat\n$({ target: 'String', proto: true }, {\n codePointAt: function codePointAt(pos) {\n return codeAt(this, pos);\n }\n});\n","var fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar split = ''.split;\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n // eslint-disable-next-line no-prototype-builtins\n return !Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n return classof(it) == 'String' ? split.call(it, '') : Object(it);\n} : Object;\n","require('../../modules/es.math.acosh');\nrequire('../../modules/es.math.asinh');\nrequire('../../modules/es.math.atanh');\nrequire('../../modules/es.math.cbrt');\nrequire('../../modules/es.math.clz32');\nrequire('../../modules/es.math.cosh');\nrequire('../../modules/es.math.expm1');\nrequire('../../modules/es.math.fround');\nrequire('../../modules/es.math.hypot');\nrequire('../../modules/es.math.imul');\nrequire('../../modules/es.math.log10');\nrequire('../../modules/es.math.log1p');\nrequire('../../modules/es.math.log2');\nrequire('../../modules/es.math.sign');\nrequire('../../modules/es.math.sinh');\nrequire('../../modules/es.math.tanh');\nrequire('../../modules/es.math.to-string-tag');\nrequire('../../modules/es.math.trunc');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Math;\n","var aFunction = require('../internals/a-function');\n\n// optional / simple context binding\nmodule.exports = function (fn, that, length) {\n aFunction(fn);\n if (that === undefined) return fn;\n switch (length) {\n case 0: return function () {\n return fn.call(that);\n };\n case 1: return function (a) {\n return fn.call(that, a);\n };\n case 2: return function (a, b) {\n return fn.call(that, a, b);\n };\n case 3: return function (a, b, c) {\n return fn.call(that, a, b, c);\n };\n }\n return function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","'use strict';\nvar charAt = require('../internals/string-multibyte').charAt;\nvar InternalStateModule = require('../internals/internal-state');\nvar defineIterator = require('../internals/define-iterator');\n\nvar STRING_ITERATOR = 'String Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(STRING_ITERATOR);\n\n// `String.prototype[@@iterator]` method\n// https://tc39.es/ecma262/#sec-string.prototype-@@iterator\ndefineIterator(String, 'String', function (iterated) {\n setInternalState(this, {\n type: STRING_ITERATOR,\n string: String(iterated),\n index: 0\n });\n// `%StringIteratorPrototype%.next` method\n// https://tc39.es/ecma262/#sec-%stringiteratorprototype%.next\n}, function next() {\n var state = getInternalState(this);\n var string = state.string;\n var index = state.index;\n var point;\n if (index >= string.length) return { value: undefined, done: true };\n point = charAt(string, index);\n state.index += point.length;\n return { value: point, done: false };\n});\n","var userAgent = require('../internals/engine-user-agent');\n\nmodule.exports = /(iphone|ipod|ipad).*applewebkit/i.test(userAgent);\n","var $ = require('../internals/export');\nvar is = require('../internals/same-value');\n\n// `Object.is` method\n// https://tc39.es/ecma262/#sec-object.is\n$({ target: 'Object', stat: true }, {\n is: is\n});\n","var $ = require('../internals/export');\nvar isObject = require('../internals/is-object');\nvar anObject = require('../internals/an-object');\nvar has = require('../internals/has');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\n\n// `Reflect.get` method\n// https://tc39.es/ecma262/#sec-reflect.get\nfunction get(target, propertyKey /* , receiver */) {\n var receiver = arguments.length < 3 ? target : arguments[2];\n var descriptor, prototype;\n if (anObject(target) === receiver) return target[propertyKey];\n if (descriptor = getOwnPropertyDescriptorModule.f(target, propertyKey)) return has(descriptor, 'value')\n ? descriptor.value\n : descriptor.get === undefined\n ? undefined\n : descriptor.get.call(receiver);\n if (isObject(prototype = getPrototypeOf(target))) return get(prototype, propertyKey, receiver);\n}\n\n$({ target: 'Reflect', stat: true }, {\n get: get\n});\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.species` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.species\ndefineWellKnownSymbol('species');\n","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","var classof = require('./classof-raw');\nvar regexpExec = require('./regexp-exec');\n\n// `RegExpExec` abstract operation\n// https://tc39.es/ecma262/#sec-regexpexec\nmodule.exports = function (R, S) {\n var exec = R.exec;\n if (typeof exec === 'function') {\n var result = exec.call(R, S);\n if (typeof result !== 'object') {\n throw TypeError('RegExp exec method returned something other than an Object or null');\n }\n return result;\n }\n\n if (classof(R) !== 'RegExp') {\n throw TypeError('RegExp#exec called on incompatible receiver');\n }\n\n return regexpExec.call(R, S);\n};\n\n","var requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar quot = /\"/g;\n\n// B.2.3.2.1 CreateHTML(string, tag, attribute, value)\n// https://tc39.es/ecma262/#sec-createhtml\nmodule.exports = function (string, tag, attribute, value) {\n var S = String(requireObjectCoercible(string));\n var p1 = '<' + tag;\n if (attribute !== '') p1 += ' ' + attribute + '=\"' + String(value).replace(quot, '"') + '\"';\n return p1 + '>' + S + '';\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar forEach = require('../internals/array-for-each');\n\n// `Array.prototype.forEach` method\n// https://tc39.es/ecma262/#sec-array.prototype.foreach\n$({ target: 'Array', proto: true, forced: [].forEach != forEach }, {\n forEach: forEach\n});\n","var ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `ToInteger` abstract operation\n// https://tc39.es/ecma262/#sec-tointeger\nmodule.exports = function (argument) {\n return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument);\n};\n","'use strict';\nvar collection = require('../internals/collection');\nvar collectionStrong = require('../internals/collection-strong');\n\n// `Map` constructor\n// https://tc39.es/ecma262/#sec-map-objects\nmodule.exports = collection('Map', function (init) {\n return function Map() { return init(this, arguments.length ? arguments[0] : undefined); };\n}, collectionStrong);\n","var has = require('../internals/has');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar indexOf = require('../internals/array-includes').indexOf;\nvar hiddenKeys = require('../internals/hidden-keys');\n\nmodule.exports = function (object, names) {\n var O = toIndexedObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) !has(hiddenKeys, key) && has(O, key) && result.push(key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (has(O, key = names[i++])) {\n ~indexOf(result, key) || result.push(key);\n }\n return result;\n};\n","var global = require('../internals/global');\nvar trim = require('../internals/string-trim').trim;\nvar whitespaces = require('../internals/whitespaces');\n\nvar $parseFloat = global.parseFloat;\nvar FORCED = 1 / $parseFloat(whitespaces + '-0') !== -Infinity;\n\n// `parseFloat` method\n// https://tc39.es/ecma262/#sec-parsefloat-string\nmodule.exports = FORCED ? function parseFloat(string) {\n var trimmedString = trim(String(string));\n var result = $parseFloat(trimmedString);\n return result === 0 && trimmedString.charAt(0) == '-' ? -0 : result;\n} : $parseFloat;\n","'use strict';\nvar $ = require('../internals/export');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar toLength = require('../internals/to-length');\nvar notARegExp = require('../internals/not-a-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar correctIsRegExpLogic = require('../internals/correct-is-regexp-logic');\nvar IS_PURE = require('../internals/is-pure');\n\nvar nativeEndsWith = ''.endsWith;\nvar min = Math.min;\n\nvar CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('endsWith');\n// https://github.com/zloirock/core-js/pull/702\nvar MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {\n var descriptor = getOwnPropertyDescriptor(String.prototype, 'endsWith');\n return descriptor && !descriptor.writable;\n}();\n\n// `String.prototype.endsWith` method\n// https://tc39.es/ecma262/#sec-string.prototype.endswith\n$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {\n endsWith: function endsWith(searchString /* , endPosition = @length */) {\n var that = String(requireObjectCoercible(this));\n notARegExp(searchString);\n var endPosition = arguments.length > 1 ? arguments[1] : undefined;\n var len = toLength(that.length);\n var end = endPosition === undefined ? len : min(toLength(endPosition), len);\n var search = String(searchString);\n return nativeEndsWith\n ? nativeEndsWith.call(that, search, end)\n : that.slice(end - search.length, end) === search;\n }\n});\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n// ES2015 symbol capabilities\nimport 'core-js/es/symbol';\n\n// ES2015 function capabilities\nimport 'core-js/modules/es.function.bind';\nimport 'core-js/modules/es.function.name';\nimport 'core-js/modules/es.function.has-instance';\n\n// ES2015 object capabilities\nimport 'core-js/modules/es.object.create';\nimport 'core-js/modules/es.object.define-property';\nimport 'core-js/modules/es.object.define-properties';\nimport 'core-js/modules/es.object.get-own-property-descriptor';\nimport 'core-js/modules/es.object.get-prototype-of';\nimport 'core-js/modules/es.object.keys';\nimport 'core-js/modules/es.object.get-own-property-names';\nimport 'core-js/modules/es.object.freeze';\nimport 'core-js/modules/es.object.seal';\nimport 'core-js/modules/es.object.prevent-extensions';\nimport 'core-js/modules/es.object.is-frozen';\nimport 'core-js/modules/es.object.is-sealed';\nimport 'core-js/modules/es.object.is-extensible';\nimport 'core-js/modules/es.object.assign';\nimport 'core-js/modules/es.object.is';\nimport 'core-js/modules/es.object.set-prototype-of';\nimport 'core-js/modules/es.object.to-string';\nimport 'core-js/modules/es.object.entries';\nimport 'core-js/modules/es.object.values';\nimport 'core-js/modules/es.object.get-own-property-descriptors';\nimport 'core-js/modules/es.object.from-entries';\n\n// ES2015 array capabilities\nimport 'core-js/modules/es.array.concat';\nimport 'core-js/modules/es.array.is-array';\nimport 'core-js/modules/es.array.from';\nimport 'core-js/modules/es.array.of';\nimport 'core-js/modules/es.array.join';\nimport 'core-js/modules/es.array.slice';\nimport 'core-js/modules/es.array.splice';\nimport 'core-js/modules/es.array.sort';\nimport 'core-js/modules/es.array.for-each';\nimport 'core-js/modules/es.array.map';\nimport 'core-js/modules/es.array.filter';\nimport 'core-js/modules/es.array.some';\nimport 'core-js/modules/es.array.every';\nimport 'core-js/modules/es.array.reduce';\nimport 'core-js/modules/es.array.reduce-right';\nimport 'core-js/modules/es.array.index-of';\nimport 'core-js/modules/es.array.last-index-of';\nimport 'core-js/modules/es.array.copy-within';\nimport 'core-js/modules/es.array.fill';\nimport 'core-js/modules/es.array.find';\nimport 'core-js/modules/es.array.find-index';\nimport 'core-js/modules/es.array.iterator';\nimport 'core-js/modules/es.array.includes';\nimport 'core-js/modules/es.array.flat';\nimport 'core-js/modules/es.array.flat-map';\n\n// ES2015 string capabilities\nimport 'core-js/modules/es.string.from-code-point';\nimport 'core-js/modules/es.string.raw';\nimport 'core-js/modules/es.string.trim';\nimport 'core-js/modules/es.string.iterator';\nimport 'core-js/modules/es.string.code-point-at';\nimport 'core-js/modules/es.string.ends-with';\nimport 'core-js/modules/es.string.includes';\nimport 'core-js/modules/es.string.repeat';\nimport 'core-js/modules/es.string.starts-with';\nimport 'core-js/modules/es.string.anchor';\nimport 'core-js/modules/es.string.big';\nimport 'core-js/modules/es.string.blink';\nimport 'core-js/modules/es.string.bold';\nimport 'core-js/modules/es.string.fixed';\nimport 'core-js/modules/es.string.fontcolor';\nimport 'core-js/modules/es.string.fontsize';\nimport 'core-js/modules/es.string.italics';\nimport 'core-js/modules/es.string.link';\nimport 'core-js/modules/es.string.small';\nimport 'core-js/modules/es.string.strike';\nimport 'core-js/modules/es.string.sub';\nimport 'core-js/modules/es.string.sup';\nimport 'core-js/modules/es.string.match';\nimport 'core-js/modules/es.string.replace';\nimport 'core-js/modules/es.string.search';\nimport 'core-js/modules/es.string.split';\n\nimport 'core-js/modules/es.parse-int';\nimport 'core-js/modules/es.parse-float';\n\nimport 'core-js/es/number';\nimport 'core-js/es/math';\nimport 'core-js/es/date';\n\nimport 'core-js/modules/es.regexp.constructor';\nimport 'core-js/modules/es.regexp.to-string';\nimport 'core-js/modules/es.regexp.flags';\n\nimport 'core-js/modules/es.map';\nimport 'core-js/modules/es.weak-map';\nimport 'core-js/modules/es.set';\nimport 'core-js/modules/web.dom-collections.for-each';\nimport 'core-js/modules/web.dom-collections.iterator';\nimport 'core-js/modules/es.promise';\nimport 'core-js/modules/es.json.to-string-tag';\n\nimport 'regenerator-runtime/runtime';","var aFunction = require('../internals/a-function');\nvar toObject = require('../internals/to-object');\nvar IndexedObject = require('../internals/indexed-object');\nvar toLength = require('../internals/to-length');\n\n// `Array.prototype.{ reduce, reduceRight }` methods implementation\nvar createMethod = function (IS_RIGHT) {\n return function (that, callbackfn, argumentsLength, memo) {\n aFunction(callbackfn);\n var O = toObject(that);\n var self = IndexedObject(O);\n var length = toLength(O.length);\n var index = IS_RIGHT ? length - 1 : 0;\n var i = IS_RIGHT ? -1 : 1;\n if (argumentsLength < 2) while (true) {\n if (index in self) {\n memo = self[index];\n index += i;\n break;\n }\n index += i;\n if (IS_RIGHT ? index < 0 : length <= index) {\n throw TypeError('Reduce of empty array with no initial value');\n }\n }\n for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {\n memo = callbackfn(memo, self[index], index, O);\n }\n return memo;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.reduce` method\n // https://tc39.es/ecma262/#sec-array.prototype.reduce\n left: createMethod(false),\n // `Array.prototype.reduceRight` method\n // https://tc39.es/ecma262/#sec-array.prototype.reduceright\n right: createMethod(true)\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar has = require('../internals/has');\n\nvar defineProperty = Object.defineProperty;\nvar cache = {};\n\nvar thrower = function (it) { throw it; };\n\nmodule.exports = function (METHOD_NAME, options) {\n if (has(cache, METHOD_NAME)) return cache[METHOD_NAME];\n if (!options) options = {};\n var method = [][METHOD_NAME];\n var ACCESSORS = has(options, 'ACCESSORS') ? options.ACCESSORS : false;\n var argument0 = has(options, 0) ? options[0] : thrower;\n var argument1 = has(options, 1) ? options[1] : undefined;\n\n return cache[METHOD_NAME] = !!method && !fails(function () {\n if (ACCESSORS && !DESCRIPTORS) return true;\n var O = { length: -1 };\n\n if (ACCESSORS) defineProperty(O, 1, { enumerable: true, get: thrower });\n else O[1] = 1;\n\n method.call(O, argument0, argument1);\n });\n};\n","'use strict';\nvar toObject = require('../internals/to-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar toLength = require('../internals/to-length');\n\n// `Array.prototype.fill` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.fill\nmodule.exports = function fill(value /* , start = 0, end = @length */) {\n var O = toObject(this);\n var length = toLength(O.length);\n var argumentsLength = arguments.length;\n var index = toAbsoluteIndex(argumentsLength > 1 ? arguments[1] : undefined, length);\n var end = argumentsLength > 2 ? arguments[2] : undefined;\n var endPos = end === undefined ? length : toAbsoluteIndex(end, length);\n while (endPos > index) O[index++] = value;\n return O;\n};\n","var global = require('../internals/global');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar redefine = require('../internals/redefine');\nvar setGlobal = require('../internals/set-global');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar isForced = require('../internals/is-forced');\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.noTargetGet - prevent calling a getter on target\n*/\nmodule.exports = function (options, source) {\n var TARGET = options.target;\n var GLOBAL = options.global;\n var STATIC = options.stat;\n var FORCED, target, key, targetProperty, sourceProperty, descriptor;\n if (GLOBAL) {\n target = global;\n } else if (STATIC) {\n target = global[TARGET] || setGlobal(TARGET, {});\n } else {\n target = (global[TARGET] || {}).prototype;\n }\n if (target) for (key in source) {\n sourceProperty = source[key];\n if (options.noTargetGet) {\n descriptor = getOwnPropertyDescriptor(target, key);\n targetProperty = descriptor && descriptor.value;\n } else targetProperty = target[key];\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contained in target\n if (!FORCED && targetProperty !== undefined) {\n if (typeof sourceProperty === typeof targetProperty) continue;\n copyConstructorProperties(sourceProperty, targetProperty);\n }\n // add a flag to not completely full polyfills\n if (options.sham || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(sourceProperty, 'sham', true);\n }\n // extend global\n redefine(target, key, sourceProperty, options);\n }\n};\n","var has = require('../internals/has');\nvar toObject = require('../internals/to-object');\nvar sharedKey = require('../internals/shared-key');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar IE_PROTO = sharedKey('IE_PROTO');\nvar ObjectPrototype = Object.prototype;\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\nmodule.exports = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function (O) {\n O = toObject(O);\n if (has(O, IE_PROTO)) return O[IE_PROTO];\n if (typeof O.constructor == 'function' && O instanceof O.constructor) {\n return O.constructor.prototype;\n } return O instanceof Object ? ObjectPrototype : null;\n};\n","var $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar isObject = require('../internals/is-object');\n\nvar nativeIsExtensible = Object.isExtensible;\nvar FAILS_ON_PRIMITIVES = fails(function () { nativeIsExtensible(1); });\n\n// `Object.isExtensible` method\n// https://tc39.es/ecma262/#sec-object.isextensible\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {\n isExtensible: function isExtensible(it) {\n return isObject(it) ? nativeIsExtensible ? nativeIsExtensible(it) : true : false;\n }\n});\n","var $ = require('../internals/export');\nvar isArray = require('../internals/is-array');\n\n// `Array.isArray` method\n// https://tc39.es/ecma262/#sec-array.isarray\n$({ target: 'Array', stat: true }, {\n isArray: isArray\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar isForced = require('../internals/is-forced');\nvar redefine = require('../internals/redefine');\nvar InternalMetadataModule = require('../internals/internal-metadata');\nvar iterate = require('../internals/iterate');\nvar anInstance = require('../internals/an-instance');\nvar isObject = require('../internals/is-object');\nvar fails = require('../internals/fails');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar inheritIfRequired = require('../internals/inherit-if-required');\n\nmodule.exports = function (CONSTRUCTOR_NAME, wrapper, common) {\n var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1;\n var IS_WEAK = CONSTRUCTOR_NAME.indexOf('Weak') !== -1;\n var ADDER = IS_MAP ? 'set' : 'add';\n var NativeConstructor = global[CONSTRUCTOR_NAME];\n var NativePrototype = NativeConstructor && NativeConstructor.prototype;\n var Constructor = NativeConstructor;\n var exported = {};\n\n var fixMethod = function (KEY) {\n var nativeMethod = NativePrototype[KEY];\n redefine(NativePrototype, KEY,\n KEY == 'add' ? function add(value) {\n nativeMethod.call(this, value === 0 ? 0 : value);\n return this;\n } : KEY == 'delete' ? function (key) {\n return IS_WEAK && !isObject(key) ? false : nativeMethod.call(this, key === 0 ? 0 : key);\n } : KEY == 'get' ? function get(key) {\n return IS_WEAK && !isObject(key) ? undefined : nativeMethod.call(this, key === 0 ? 0 : key);\n } : KEY == 'has' ? function has(key) {\n return IS_WEAK && !isObject(key) ? false : nativeMethod.call(this, key === 0 ? 0 : key);\n } : function set(key, value) {\n nativeMethod.call(this, key === 0 ? 0 : key, value);\n return this;\n }\n );\n };\n\n // eslint-disable-next-line max-len\n if (isForced(CONSTRUCTOR_NAME, typeof NativeConstructor != 'function' || !(IS_WEAK || NativePrototype.forEach && !fails(function () {\n new NativeConstructor().entries().next();\n })))) {\n // create collection constructor\n Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER);\n InternalMetadataModule.REQUIRED = true;\n } else if (isForced(CONSTRUCTOR_NAME, true)) {\n var instance = new Constructor();\n // early implementations not supports chaining\n var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance;\n // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false\n var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); });\n // most early implementations doesn't supports iterables, most modern - not close it correctly\n // eslint-disable-next-line no-new\n var ACCEPT_ITERABLES = checkCorrectnessOfIteration(function (iterable) { new NativeConstructor(iterable); });\n // for early implementations -0 and +0 not the same\n var BUGGY_ZERO = !IS_WEAK && fails(function () {\n // V8 ~ Chromium 42- fails only with 5+ elements\n var $instance = new NativeConstructor();\n var index = 5;\n while (index--) $instance[ADDER](index, index);\n return !$instance.has(-0);\n });\n\n if (!ACCEPT_ITERABLES) {\n Constructor = wrapper(function (dummy, iterable) {\n anInstance(dummy, Constructor, CONSTRUCTOR_NAME);\n var that = inheritIfRequired(new NativeConstructor(), dummy, Constructor);\n if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });\n return that;\n });\n Constructor.prototype = NativePrototype;\n NativePrototype.constructor = Constructor;\n }\n\n if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) {\n fixMethod('delete');\n fixMethod('has');\n IS_MAP && fixMethod('get');\n }\n\n if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER);\n\n // weak collections should not contains .clear method\n if (IS_WEAK && NativePrototype.clear) delete NativePrototype.clear;\n }\n\n exported[CONSTRUCTOR_NAME] = Constructor;\n $({ global: true, forced: Constructor != NativeConstructor }, exported);\n\n setToStringTag(Constructor, CONSTRUCTOR_NAME);\n\n if (!IS_WEAK) common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP);\n\n return Constructor;\n};\n","var $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\nvar nativeKeys = require('../internals/object-keys');\nvar fails = require('../internals/fails');\n\nvar FAILS_ON_PRIMITIVES = fails(function () { nativeKeys(1); });\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {\n keys: function keys(it) {\n return nativeKeys(toObject(it));\n }\n});\n","var toObject = require('../internals/to-object');\n\nvar floor = Math.floor;\nvar replace = ''.replace;\nvar SUBSTITUTION_SYMBOLS = /\\$([$&'`]|\\d\\d?|<[^>]*>)/g;\nvar SUBSTITUTION_SYMBOLS_NO_NAMED = /\\$([$&'`]|\\d\\d?)/g;\n\n// https://tc39.es/ecma262/#sec-getsubstitution\nmodule.exports = function (matched, str, position, captures, namedCaptures, replacement) {\n var tailPos = position + matched.length;\n var m = captures.length;\n var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;\n if (namedCaptures !== undefined) {\n namedCaptures = toObject(namedCaptures);\n symbols = SUBSTITUTION_SYMBOLS;\n }\n return replace.call(replacement, symbols, function (match, ch) {\n var capture;\n switch (ch.charAt(0)) {\n case '$': return '$';\n case '&': return matched;\n case '`': return str.slice(0, position);\n case \"'\": return str.slice(tailPos);\n case '<':\n capture = namedCaptures[ch.slice(1, -1)];\n break;\n default: // \\d\\d?\n var n = +ch;\n if (n === 0) return match;\n if (n > m) {\n var f = floor(n / 10);\n if (f === 0) return match;\n if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);\n return match;\n }\n capture = captures[n - 1];\n }\n return capture === undefined ? '' : capture;\n });\n};\n","'use strict';\nvar anObject = require('../internals/an-object');\n\n// `RegExp.prototype.flags` getter implementation\n// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags\nmodule.exports = function () {\n var that = anObject(this);\n var result = '';\n if (that.global) result += 'g';\n if (that.ignoreCase) result += 'i';\n if (that.multiline) result += 'm';\n if (that.dotAll) result += 's';\n if (that.unicode) result += 'u';\n if (that.sticky) result += 'y';\n return result;\n};\n","// a string of all valid unicode whitespaces\n// eslint-disable-next-line max-len\nmodule.exports = '\\u0009\\u000A\\u000B\\u000C\\u000D\\u0020\\u00A0\\u1680\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF';\n","var toInteger = require('../internals/to-integer');\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.es/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n return argument > 0 ? min(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","var $ = require('../internals/export');\n\n// `Number.MAX_SAFE_INTEGER` constant\n// https://tc39.es/ecma262/#sec-number.max_safe_integer\n$({ target: 'Number', stat: true }, {\n MAX_SAFE_INTEGER: 0x1FFFFFFFFFFFFF\n});\n","var IS_PURE = require('../internals/is-pure');\nvar store = require('../internals/shared-store');\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: '3.8.3',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2021 Denis Pushkarev (zloirock.ru)'\n});\n","module.exports = {};\n","var $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar anObject = require('../internals/an-object');\nvar toPrimitive = require('../internals/to-primitive');\nvar definePropertyModule = require('../internals/object-define-property');\nvar fails = require('../internals/fails');\n\n// MS Edge has broken Reflect.defineProperty - throwing instead of returning false\nvar ERROR_INSTEAD_OF_FALSE = fails(function () {\n // eslint-disable-next-line no-undef\n Reflect.defineProperty(definePropertyModule.f({}, 1, { value: 1 }), 1, { value: 2 });\n});\n\n// `Reflect.defineProperty` method\n// https://tc39.es/ecma262/#sec-reflect.defineproperty\n$({ target: 'Reflect', stat: true, forced: ERROR_INSTEAD_OF_FALSE, sham: !DESCRIPTORS }, {\n defineProperty: function defineProperty(target, propertyKey, attributes) {\n anObject(target);\n var key = toPrimitive(propertyKey, true);\n anObject(attributes);\n try {\n definePropertyModule.f(target, key, attributes);\n return true;\n } catch (error) {\n return false;\n }\n }\n});\n","var global = require('../internals/global');\nvar inspectSource = require('../internals/inspect-source');\n\nvar WeakMap = global.WeakMap;\n\nmodule.exports = typeof WeakMap === 'function' && /native code/.test(inspectSource(WeakMap));\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.italics` method\n// https://tc39.es/ecma262/#sec-string.prototype.italics\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('italics') }, {\n italics: function italics() {\n return createHTML(this, 'i', '', '');\n }\n});\n","var $ = require('../internals/export');\nvar global = require('../internals/global');\nvar setToStringTag = require('../internals/set-to-string-tag');\n\n$({ global: true }, { Reflect: {} });\n\n// Reflect[@@toStringTag] property\n// https://tc39.es/ecma262/#sec-reflect-@@tostringtag\nsetToStringTag(global.Reflect, 'Reflect', true);\n","var $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar nativeGetOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar FAILS_ON_PRIMITIVES = fails(function () { nativeGetOwnPropertyDescriptor(1); });\nvar FORCED = !DESCRIPTORS || FAILS_ON_PRIMITIVES;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\n$({ target: 'Object', stat: true, forced: FORCED, sham: !DESCRIPTORS }, {\n getOwnPropertyDescriptor: function getOwnPropertyDescriptor(it, key) {\n return nativeGetOwnPropertyDescriptor(toIndexedObject(it), key);\n }\n});\n"],"sourceRoot":"webpack:///"} \ No newline at end of file diff --git a/dist/ng-walkthrough/polyfills.a3ca6c66fa9f45b770c3.js b/dist/ng-walkthrough/polyfills.a3ca6c66fa9f45b770c3.js new file mode 100644 index 0000000..bfb3076 --- /dev/null +++ b/dist/ng-walkthrough/polyfills.a3ca6c66fa9f45b770c3.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{"0TWp":function(e,t,n){"use strict";var r,o;void 0===(o="function"==typeof(r=function(){!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)}n("Zone");var o=e.__Zone_symbol_prefix||"__zone_symbol__";function a(e){return o+e}var i=!0===e[a("forceDuplicateZoneCheck")];if(e.Zone){if(i||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}var c=function(){function t(e,t){this._parent=e,this._name=t?t.name||"unnamed":"",this._properties=t&&t.properties||{},this._zoneDelegate=new l(this,this._parent&&this._parent._zoneDelegate,t)}return t.assertZonePatched=function(){if(e.Promise!==D.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:!1,configurable:!0}),Object.defineProperty(t,"current",{get:function(){return j.zone},enumerable:!1,configurable:!0}),Object.defineProperty(t,"currentTask",{get:function(){return z},enumerable:!1,configurable:!0}),t.__load_patch=function(o,a,c){if(void 0===c&&(c=!1),D.hasOwnProperty(o)){if(!c&&i)throw Error("Already loaded patch: "+o)}else if(!e["__Zone_disable_"+o]){var s="Zone:"+o;n(s),D[o]=a(e,t,C),r(s,s)}},Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this._name},enumerable:!1,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){j={parent:j,zone:this};try{return this._zoneDelegate.invoke(this,e,t,n,r)}finally{j=j.parent}},t.prototype.runGuarded=function(e,t,n,r){void 0===t&&(t=null),j={parent:j,zone:this};try{try{return this._zoneDelegate.invoke(this,e,t,n,r)}catch(o){if(this._zoneDelegate.handleError(this,o))throw o}}finally{j=j.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||m).name+"; Execution: "+this.name+")");if(e.state!==k||e.type!==Z&&e.type!==P){var r=e.state!=E;r&&e._transitionTo(E,T),e.runCount++;var o=z;z=e,j={parent:j,zone:this};try{e.type==P&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,t,n)}catch(a){if(this._zoneDelegate.handleError(this,a))throw a}}finally{e.state!==k&&e.state!==S&&(e.type==Z||e.data&&e.data.isPeriodic?r&&e._transitionTo(T,E):(e.runCount=0,this._updateTaskCount(e,-1),r&&e._transitionTo(k,E,k))),j=j.parent,z=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(b,k);var n=[];e._zoneDelegates=n,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(r){throw e._transitionTo(S,b,k),this._zoneDelegate.handleError(this,r),r}return e._zoneDelegates===n&&this._updateTaskCount(e,1),e.state==b&&e._transitionTo(T,b),e},t.prototype.scheduleMicroTask=function(e,t,n,r){return this.scheduleTask(new p(O,e,t,n,r,void 0))},t.prototype.scheduleMacroTask=function(e,t,n,r,o){return this.scheduleTask(new p(P,e,t,n,r,o))},t.prototype.scheduleEventTask=function(e,t,n,r,o){return this.scheduleTask(new p(Z,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||m).name+"; Execution: "+this.name+")");e._transitionTo(w,T,E);try{this._zoneDelegate.cancelTask(this,e)}catch(t){throw e._transitionTo(S,w),this._zoneDelegate.handleError(this,t),t}return this._updateTaskCount(e,-1),e._transitionTo(k,w),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}(),p=function(){function t(n,r,o,a,i,c){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=n,this.source=r,this.data=a,this.scheduleFn=i,this.cancelFn=c,!o)throw new Error("callback is not defined");this.callback=o;var s=this;this.invoke=n===Z&&a&&a.useG?t.invokeTask:function(){return t.invokeTask.call(e,s,this,arguments)}}return t.invokeTask=function(e,t,n){e||(e=this),M++;try{return e.runCount++,e.zone.runTask(e,t,n)}finally{1==M&&_(),M--}},Object.defineProperty(t.prototype,"zone",{get:function(){return this._zone},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),t.prototype.cancelScheduleRequest=function(){this._transitionTo(k,b)},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==k&&(this._zoneDelegates=null)},t.prototype.toString=function(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():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}(),f=a("setTimeout"),h=a("Promise"),d=a("then"),v=[],g=!1;function y(t){if(0===M&&0===v.length)if(s||e[h]&&(s=e[h].resolve(0)),s){var n=s[d];n||(n=s.then),n.call(s,_)}else e[f](_,0);t&&v.push(t)}function _(){if(!g){for(g=!0;v.length;){var e=v;v=[];for(var t=0;t=0;n--)"function"==typeof e[n]&&(e[n]=f(e[n],t+"_"+n));return e}function k(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}var b="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,T=!("nw"in y)&&void 0!==y.process&&"[object process]"==={}.toString.call(y.process),E=!T&&!b&&!(!v||!g.HTMLElement),w=void 0!==y.process&&"[object process]"==={}.toString.call(y.process)&&!b&&!(!v||!g.HTMLElement),S={},O=function(e){if(e=e||y.event){var t=S[e.type];t||(t=S[e.type]=d("ON_PROPERTY"+e.type));var n,r=this||e.target||y,o=r[t];return E&&r===g&&"error"===e.type?!0===(n=o&&o.call(this,e.message,e.filename,e.lineno,e.colno,e.error))&&e.preventDefault():null==(n=o&&o.apply(this,arguments))||n||e.preventDefault(),n}};function P(n,r,o){var a=e(n,r);if(!a&&o&&e(o,r)&&(a={enumerable:!0,configurable:!0}),a&&a.configurable){var i=d("on"+r+"patched");if(!n.hasOwnProperty(i)||!n[i]){delete a.writable,delete a.value;var c=a.get,s=a.set,u=r.substr(2),l=S[u];l||(l=S[u]=d("ON_PROPERTY"+u)),a.set=function(e){var t=this;t||n!==y||(t=y),t&&(t[l]&&t.removeEventListener(u,O),s&&s.apply(t,_),"function"==typeof e?(t[l]=e,t.addEventListener(u,O,!1)):t[l]=null)},a.get=function(){var e=this;if(e||n!==y||(e=y),!e)return null;var t=e[l];if(t)return t;if(c){var o=c&&c.call(this);if(o)return a.set.call(this,o),"function"==typeof e.removeAttribute&&e.removeAttribute(r),o}return null},t(n,r,a),n[i]=!0}}}function Z(e,t,n){if(t)for(var r=0;r=0&&"function"==typeof r[a.cbIdx]?h(a.name,r[a.cbIdx],a,o):e.apply(t,r)}})}function M(e,t){e[d("OriginalDelegate")]=t}var I=!1,R=!1;function L(){if(I)return R;I=!0;try{var e=g.navigator.userAgent;-1===e.indexOf("MSIE ")&&-1===e.indexOf("Trident/")&&-1===e.indexOf("Edge/")||(R=!0)}catch(t){}return R}Zone.__load_patch("ZoneAwarePromise",function(e,t,n){var r=Object.getOwnPropertyDescriptor,o=Object.defineProperty,a=n.symbol,i=[],c=!0===e[a("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],s=a("Promise"),u=a("then");n.onUnhandledError=function(e){if(n.showUncaughtError()){var t=e&&e.rejection;t?console.error("Unhandled Promise rejection:",t instanceof Error?t.message:t,"; Zone:",e.zone.name,"; Task:",e.task&&e.task.source,"; Value:",t,t instanceof Error?t.stack:void 0):console.error(e)}},n.microtaskDrainDone=function(){for(var e=function(){var e=i.shift();try{e.zone.runGuarded(function(){if(e.throwOriginal)throw e.rejection;throw e})}catch(r){!function(e){n.onUnhandledError(e);try{var r=t[l];"function"==typeof r&&r.call(this,e)}catch(o){}}(r)}};i.length;)e()};var l=a("unhandledPromiseRejectionHandler");function p(e){return e&&e.then}function f(e){return e}function h(e){return D.reject(e)}var d=a("state"),v=a("value"),g=a("finally"),y=a("parentPromiseValue"),_=a("parentPromiseState"),m=null,k=!0,b=!1;function T(e,t){return function(n){try{w(e,t,n)}catch(r){w(e,!1,r)}}}var E=a("currentTaskTrace");function w(e,r,a){var s,u,l=(s=!1,function(e){return function(){s||(s=!0,e.apply(null,arguments))}});if(e===a)throw new TypeError("Promise resolved with itself");if(e[d]===m){var p=null;try{"object"!=typeof a&&"function"!=typeof a||(p=a&&a.then)}catch(C){return l(function(){w(e,!1,C)})(),e}if(r!==b&&a instanceof D&&a.hasOwnProperty(d)&&a.hasOwnProperty(v)&&a[d]!==m)O(a),w(e,a[d],a[v]);else if(r!==b&&"function"==typeof p)try{p.call(a,l(T(e,r)),l(T(e,!1)))}catch(C){l(function(){w(e,!1,C)})()}else{e[d]=r;var f=e[v];if(e[v]=a,e[g]===g&&r===k&&(e[d]=e[_],e[v]=e[y]),r===b&&a instanceof Error){var h=t.currentTask&&t.currentTask.data&&t.currentTask.data.__creationTrace__;h&&o(a,E,{configurable:!0,enumerable:!1,writable:!0,value:h})}for(var S=0;S1?new a(t,n):new a(t),u=e.ObjectGetOwnPropertyDescriptor(s,"onmessage");return u&&!1===u.configurable?(i=e.ObjectCreate(s),c=s,[r,o,"send","close"].forEach(function(t){i[t]=function(){var n=e.ArraySlice.call(arguments);if(t===r||t===o){var a=n.length>0?n[0]:void 0;if(a){var c=Zone.__symbol__("ON_PROPERTY"+a);s[c]=i[c]}}return s[t].apply(s,n)}})):i=s,e.patchOnProperties(i,["close","error","message","open"],c),i};var i=t.WebSocket;for(var c in a)i[c]=a[c]}(e,t),Zone[e.symbol("patchEvents")]=!0}}Zone.__load_patch("util",function(n,c,s){s.patchOnProperties=Z,s.patchMethod=j,s.bindArguments=m,s.patchMacroTask=z;var h=c.__symbol__("BLACK_LISTED_EVENTS"),d=c.__symbol__("UNPATCHED_EVENTS");n[d]&&(n[h]=n[d]),n[h]&&(c[h]=c[d]=n[h]),s.patchEventPrototype=V,s.patchEventTarget=q,s.isIEOrEdge=L,s.ObjectDefineProperty=t,s.ObjectGetOwnPropertyDescriptor=e,s.ObjectCreate=r,s.ArraySlice=o,s.patchClass=C,s.wrapWithCurrentZone=f,s.filterProperties=le,s.attachOriginToPatched=M,s._redefineProperty=Object.defineProperty,s.patchCallbacks=X,s.getGlobalObjects=function(){return{globalSources:A,zoneSymbolEventNames:H,eventNames:ue,isBrowser:E,isMix:w,isNode:T,TRUE_STR:u,FALSE_STR:l,ZONE_SYMBOL_PREFIX:p,ADD_EVENT_LISTENER_STR:a,REMOVE_EVENT_LISTENER_STR:i}}}),function(e){e[("legacyPatch",(e.__Zone_symbol_prefix||"__zone_symbol__")+"legacyPatch")]=function(){var t=e.Zone;t.__load_patch("defineProperty",function(e,t,n){n._redefineProperty=de,he()}),t.__load_patch("registerElement",function(e,t,n){!function(e,t){var n=t.getGlobalObjects();(n.isBrowser||n.isMix)&&"registerElement"in e.document&&t.patchCallbacks(t,document,"Document","registerElement",["createdCallback","attachedCallback","detachedCallback","attributeChangedCallback"])}(e,n)}),t.__load_patch("EventTargetLegacy",function(e,t,n){_e(e,n),me(n,e)})}}("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{});var ke=d("zoneTask");function be(e,t,n,r){var o=null,a=null;n+=r;var i={};function c(t){var n=t.data;return n.args[0]=function(){return t.invoke.apply(this,arguments)},n.handleId=o.apply(e,n.args),t}function s(t){return a.call(e,t.data.handleId)}o=j(e,t+=r,function(n){return function(o,a){if("function"==typeof a[0]){var u={isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?a[1]||0:void 0,args:a},l=a[0];a[0]=function(){try{return l.apply(this,arguments)}finally{u.isPeriodic||("number"==typeof u.handleId?delete i[u.handleId]:u.handleId&&(u.handleId[ke]=null))}};var p=h(t,a[0],u,c,s);if(!p)return p;var f=p.data.handleId;return"number"==typeof f?i[f]=p:f&&(f[ke]=p),f&&f.ref&&f.unref&&"function"==typeof f.ref&&"function"==typeof f.unref&&(p.ref=f.ref.bind(f),p.unref=f.unref.bind(f)),"number"==typeof f||f?f:p}return n.apply(e,a)}}),a=j(e,n,function(t){return function(n,r){var o,a=r[0];"number"==typeof a?o=i[a]:(o=a&&a[ke])||(o=a),o&&"string"==typeof o.type?"notScheduled"!==o.state&&(o.cancelFn&&o.data.isPeriodic||0===o.runCount)&&("number"==typeof a?delete i[a]:a&&(a[ke]=null),o.zone.cancelTask(o)):t.apply(e,r)}})}function Te(e,t){if(!Zone[t.symbol("patchEventTarget")]){for(var n=t.getGlobalObjects(),r=n.eventNames,o=n.zoneSymbolEventNames,a=n.TRUE_STR,i=n.FALSE_STR,c=n.ZONE_SYMBOL_PREFIX,s=0;s0){var o=e.invoke;e.invoke=function(){for(var n=i[t.__symbol__("loadfalse")],a=0;a'; - this._properties = zoneSpec && zoneSpec.properties || {}; - this._zoneDelegate = new ZoneDelegate(this, this._parent && this._parent._zoneDelegate, zoneSpec); - } - - Zone.assertZonePatched = function () { - if (global['Promise'] !== patches['ZoneAwarePromise']) { - throw new Error('Zone.js has detected that ZoneAwarePromise `(window|global).Promise` ' + 'has been overwritten.\n' + 'Most 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(Zone, "root", { - get: function get() { - var zone = Zone.current; - - while (zone.parent) { - zone = zone.parent; - } - - return zone; - }, - enumerable: false, - configurable: true - }); - Object.defineProperty(Zone, "current", { - get: function get() { - return _currentZoneFrame.zone; - }, - enumerable: false, - configurable: true - }); - Object.defineProperty(Zone, "currentTask", { - get: function get() { - return _currentTask; - }, - enumerable: false, - configurable: true - }); // tslint:disable-next-line:require-internal-with-underscore - - Zone.__load_patch = function (name, fn, ignoreDuplicate) { - if (ignoreDuplicate === void 0) { - ignoreDuplicate = false; - } - - if (patches.hasOwnProperty(name)) { - // `checkDuplicate` option is defined from global variable - // so it works for all modules. - // `ignoreDuplicate` can work for the specified module - if (!ignoreDuplicate && checkDuplicate) { - throw Error('Already loaded patch: ' + name); - } - } else if (!global['__Zone_disable_' + name]) { - var perfName = 'Zone:' + name; - mark(perfName); - patches[name] = fn(global, Zone, _api); - performanceMeasure(perfName, perfName); - } - }; - - Object.defineProperty(Zone.prototype, "parent", { - get: function get() { - return this._parent; - }, - enumerable: false, - configurable: true - }); - Object.defineProperty(Zone.prototype, "name", { - get: function get() { - return this._name; - }, - enumerable: false, - configurable: true - }); - - Zone.prototype.get = function (key) { - var zone = this.getZoneWith(key); - if (zone) return zone._properties[key]; - }; - - Zone.prototype.getZoneWith = function (key) { - var current = this; - - while (current) { - if (current._properties.hasOwnProperty(key)) { - return current; - } - - current = current._parent; - } - - return null; - }; - - Zone.prototype.fork = function (zoneSpec) { - if (!zoneSpec) throw new Error('ZoneSpec required!'); - return this._zoneDelegate.fork(this, zoneSpec); - }; - - Zone.prototype.wrap = function (callback, source) { - if (typeof callback !== 'function') { - throw new Error('Expecting function got: ' + callback); - } - - var _callback = this._zoneDelegate.intercept(this, callback, source); - - var zone = this; - return function () { - return zone.runGuarded(_callback, this, arguments, source); - }; - }; - - Zone.prototype.run = function (callback, applyThis, applyArgs, source) { - _currentZoneFrame = { - parent: _currentZoneFrame, - zone: this - }; - - try { - return this._zoneDelegate.invoke(this, callback, applyThis, applyArgs, source); - } finally { - _currentZoneFrame = _currentZoneFrame.parent; - } - }; - - Zone.prototype.runGuarded = function (callback, applyThis, applyArgs, source) { - if (applyThis === void 0) { - applyThis = null; - } - - _currentZoneFrame = { - parent: _currentZoneFrame, - zone: this - }; - - try { - try { - return this._zoneDelegate.invoke(this, callback, applyThis, applyArgs, source); - } catch (error) { - if (this._zoneDelegate.handleError(this, error)) { - throw error; - } - } - } finally { - _currentZoneFrame = _currentZoneFrame.parent; - } - }; - - Zone.prototype.runTask = function (task, applyThis, applyArgs) { - if (task.zone != this) { - throw new Error('A task can only be run in the zone of creation! (Creation: ' + (task.zone || NO_ZONE).name + '; Execution: ' + this.name + ')'); - } // https://github.com/angular/zone.js/issues/778, sometimes eventTask - // will run in notScheduled(canceled) state, we should not try to - // run such kind of task but just return - - - if (task.state === notScheduled && (task.type === eventTask || task.type === macroTask)) { - return; - } - - var reEntryGuard = task.state != running; - reEntryGuard && task._transitionTo(running, scheduled); - task.runCount++; - var previousTask = _currentTask; - _currentTask = task; - _currentZoneFrame = { - parent: _currentZoneFrame, - zone: this - }; - - try { - if (task.type == macroTask && task.data && !task.data.isPeriodic) { - task.cancelFn = undefined; - } - - try { - return this._zoneDelegate.invokeTask(this, task, applyThis, applyArgs); - } catch (error) { - if (this._zoneDelegate.handleError(this, error)) { - throw error; - } - } - } finally { - // if the task's state is notScheduled or unknown, then it has already been cancelled - // we should not reset the state to scheduled - if (task.state !== notScheduled && task.state !== unknown) { - if (task.type == eventTask || task.data && task.data.isPeriodic) { - reEntryGuard && task._transitionTo(scheduled, running); - } else { - task.runCount = 0; - - this._updateTaskCount(task, -1); - - reEntryGuard && task._transitionTo(notScheduled, running, notScheduled); - } - } - - _currentZoneFrame = _currentZoneFrame.parent; - _currentTask = previousTask; - } - }; - - Zone.prototype.scheduleTask = function (task) { - if (task.zone && task.zone !== this) { - // check if the task was rescheduled, the newZone - // should not be the children of the original zone - var newZone = this; - - while (newZone) { - if (newZone === task.zone) { - throw Error("can not reschedule task to " + this.name + " which is descendants of the original zone " + task.zone.name); - } - - newZone = newZone.parent; - } - } - - task._transitionTo(scheduling, notScheduled); - - var zoneDelegates = []; - task._zoneDelegates = zoneDelegates; - task._zone = this; - - try { - task = this._zoneDelegate.scheduleTask(this, task); - } catch (err) { - // should set task's state to unknown when scheduleTask throw error - // because the err may from reschedule, so the fromState maybe notScheduled - task._transitionTo(unknown, scheduling, notScheduled); // TODO: @JiaLiPassion, should we check the result from handleError? - - - this._zoneDelegate.handleError(this, err); - - throw err; - } - - if (task._zoneDelegates === zoneDelegates) { - // we have to check because internally the delegate can reschedule the task. - this._updateTaskCount(task, 1); - } - - if (task.state == scheduling) { - task._transitionTo(scheduled, scheduling); - } - - return task; - }; - - Zone.prototype.scheduleMicroTask = function (source, callback, data, customSchedule) { - return this.scheduleTask(new ZoneTask(microTask, source, callback, data, customSchedule, undefined)); - }; - - Zone.prototype.scheduleMacroTask = function (source, callback, data, customSchedule, customCancel) { - return this.scheduleTask(new ZoneTask(macroTask, source, callback, data, customSchedule, customCancel)); - }; - - Zone.prototype.scheduleEventTask = function (source, callback, data, customSchedule, customCancel) { - return this.scheduleTask(new ZoneTask(eventTask, source, callback, data, customSchedule, customCancel)); - }; - - Zone.prototype.cancelTask = function (task) { - if (task.zone != this) throw new Error('A task can only be cancelled in the zone of creation! (Creation: ' + (task.zone || NO_ZONE).name + '; Execution: ' + this.name + ')'); - - task._transitionTo(canceling, scheduled, running); - - try { - this._zoneDelegate.cancelTask(this, task); - } catch (err) { - // if error occurs when cancelTask, transit the state to unknown - task._transitionTo(unknown, canceling); - - this._zoneDelegate.handleError(this, err); - - throw err; - } - - this._updateTaskCount(task, -1); - - task._transitionTo(notScheduled, canceling); - - task.runCount = 0; - return task; - }; - - Zone.prototype._updateTaskCount = function (task, count) { - var zoneDelegates = task._zoneDelegates; - - if (count == -1) { - task._zoneDelegates = null; - } - - for (var i = 0; i < zoneDelegates.length; i++) { - zoneDelegates[i]._updateTaskCount(task.type, count); - } - }; - - return Zone; - }(); // tslint:disable-next-line:require-internal-with-underscore - - - Zone.__symbol__ = __symbol__; - var DELEGATE_ZS = { - name: '', - onHasTask: function onHasTask(delegate, _, target, hasTaskState) { - return delegate.hasTask(target, hasTaskState); - }, - onScheduleTask: function onScheduleTask(delegate, _, target, task) { - return delegate.scheduleTask(target, task); - }, - onInvokeTask: function onInvokeTask(delegate, _, target, task, applyThis, applyArgs) { - return delegate.invokeTask(target, task, applyThis, applyArgs); - }, - onCancelTask: function onCancelTask(delegate, _, target, task) { - return delegate.cancelTask(target, task); - } - }; - - var ZoneDelegate = - /** @class */ - function () { - function ZoneDelegate(zone, parentDelegate, zoneSpec) { - this._taskCounts = { - 'microTask': 0, - 'macroTask': 0, - 'eventTask': 0 - }; - this.zone = zone; - this._parentDelegate = parentDelegate; - this._forkZS = zoneSpec && (zoneSpec && zoneSpec.onFork ? zoneSpec : parentDelegate._forkZS); - this._forkDlgt = zoneSpec && (zoneSpec.onFork ? parentDelegate : parentDelegate._forkDlgt); - this._forkCurrZone = zoneSpec && (zoneSpec.onFork ? this.zone : parentDelegate._forkCurrZone); - this._interceptZS = zoneSpec && (zoneSpec.onIntercept ? zoneSpec : parentDelegate._interceptZS); - this._interceptDlgt = zoneSpec && (zoneSpec.onIntercept ? parentDelegate : parentDelegate._interceptDlgt); - this._interceptCurrZone = zoneSpec && (zoneSpec.onIntercept ? this.zone : parentDelegate._interceptCurrZone); - this._invokeZS = zoneSpec && (zoneSpec.onInvoke ? zoneSpec : parentDelegate._invokeZS); - this._invokeDlgt = zoneSpec && (zoneSpec.onInvoke ? parentDelegate : parentDelegate._invokeDlgt); - this._invokeCurrZone = zoneSpec && (zoneSpec.onInvoke ? this.zone : parentDelegate._invokeCurrZone); - this._handleErrorZS = zoneSpec && (zoneSpec.onHandleError ? zoneSpec : parentDelegate._handleErrorZS); - this._handleErrorDlgt = zoneSpec && (zoneSpec.onHandleError ? parentDelegate : parentDelegate._handleErrorDlgt); - this._handleErrorCurrZone = zoneSpec && (zoneSpec.onHandleError ? this.zone : parentDelegate._handleErrorCurrZone); - this._scheduleTaskZS = zoneSpec && (zoneSpec.onScheduleTask ? zoneSpec : parentDelegate._scheduleTaskZS); - this._scheduleTaskDlgt = zoneSpec && (zoneSpec.onScheduleTask ? parentDelegate : parentDelegate._scheduleTaskDlgt); - this._scheduleTaskCurrZone = zoneSpec && (zoneSpec.onScheduleTask ? this.zone : parentDelegate._scheduleTaskCurrZone); - this._invokeTaskZS = zoneSpec && (zoneSpec.onInvokeTask ? zoneSpec : parentDelegate._invokeTaskZS); - this._invokeTaskDlgt = zoneSpec && (zoneSpec.onInvokeTask ? parentDelegate : parentDelegate._invokeTaskDlgt); - this._invokeTaskCurrZone = zoneSpec && (zoneSpec.onInvokeTask ? this.zone : parentDelegate._invokeTaskCurrZone); - this._cancelTaskZS = zoneSpec && (zoneSpec.onCancelTask ? zoneSpec : parentDelegate._cancelTaskZS); - this._cancelTaskDlgt = zoneSpec && (zoneSpec.onCancelTask ? parentDelegate : parentDelegate._cancelTaskDlgt); - this._cancelTaskCurrZone = zoneSpec && (zoneSpec.onCancelTask ? this.zone : parentDelegate._cancelTaskCurrZone); - this._hasTaskZS = null; - this._hasTaskDlgt = null; - this._hasTaskDlgtOwner = null; - this._hasTaskCurrZone = null; - var zoneSpecHasTask = zoneSpec && zoneSpec.onHasTask; - var parentHasTask = parentDelegate && parentDelegate._hasTaskZS; - - if (zoneSpecHasTask || parentHasTask) { - // If we need to report hasTask, than this ZS needs to do ref counting on tasks. In such - // a case all task related interceptors must go through this ZD. We can't short circuit it. - this._hasTaskZS = zoneSpecHasTask ? zoneSpec : DELEGATE_ZS; - this._hasTaskDlgt = parentDelegate; - this._hasTaskDlgtOwner = this; - this._hasTaskCurrZone = zone; - - if (!zoneSpec.onScheduleTask) { - this._scheduleTaskZS = DELEGATE_ZS; - this._scheduleTaskDlgt = parentDelegate; - this._scheduleTaskCurrZone = this.zone; - } - - if (!zoneSpec.onInvokeTask) { - this._invokeTaskZS = DELEGATE_ZS; - this._invokeTaskDlgt = parentDelegate; - this._invokeTaskCurrZone = this.zone; - } - - if (!zoneSpec.onCancelTask) { - this._cancelTaskZS = DELEGATE_ZS; - this._cancelTaskDlgt = parentDelegate; - this._cancelTaskCurrZone = this.zone; - } - } - } - - ZoneDelegate.prototype.fork = function (targetZone, zoneSpec) { - return this._forkZS ? this._forkZS.onFork(this._forkDlgt, this.zone, targetZone, zoneSpec) : new Zone(targetZone, zoneSpec); - }; - - ZoneDelegate.prototype.intercept = function (targetZone, callback, source) { - return this._interceptZS ? this._interceptZS.onIntercept(this._interceptDlgt, this._interceptCurrZone, targetZone, callback, source) : callback; - }; - - ZoneDelegate.prototype.invoke = function (targetZone, callback, applyThis, applyArgs, source) { - return this._invokeZS ? this._invokeZS.onInvoke(this._invokeDlgt, this._invokeCurrZone, targetZone, callback, applyThis, applyArgs, source) : callback.apply(applyThis, applyArgs); - }; - - ZoneDelegate.prototype.handleError = function (targetZone, error) { - return this._handleErrorZS ? this._handleErrorZS.onHandleError(this._handleErrorDlgt, this._handleErrorCurrZone, targetZone, error) : true; - }; - - ZoneDelegate.prototype.scheduleTask = function (targetZone, task) { - var returnTask = task; - - if (this._scheduleTaskZS) { - if (this._hasTaskZS) { - returnTask._zoneDelegates.push(this._hasTaskDlgtOwner); - } // clang-format off - - - returnTask = this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt, this._scheduleTaskCurrZone, targetZone, task); // clang-format on - - if (!returnTask) returnTask = task; - } else { - if (task.scheduleFn) { - task.scheduleFn(task); - } else if (task.type == microTask) { - scheduleMicroTask(task); - } else { - throw new Error('Task is missing scheduleFn.'); - } - } - - return returnTask; - }; - - ZoneDelegate.prototype.invokeTask = function (targetZone, task, applyThis, applyArgs) { - return this._invokeTaskZS ? this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt, this._invokeTaskCurrZone, targetZone, task, applyThis, applyArgs) : task.callback.apply(applyThis, applyArgs); - }; - - ZoneDelegate.prototype.cancelTask = function (targetZone, task) { - var value; - - if (this._cancelTaskZS) { - value = this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt, this._cancelTaskCurrZone, targetZone, task); - } else { - if (!task.cancelFn) { - throw Error('Task is not cancelable'); - } - - value = task.cancelFn(task); - } - - return value; - }; - - ZoneDelegate.prototype.hasTask = function (targetZone, isEmpty) { - // hasTask should not throw error so other ZoneDelegate - // can still trigger hasTask callback - try { - this._hasTaskZS && this._hasTaskZS.onHasTask(this._hasTaskDlgt, this._hasTaskCurrZone, targetZone, isEmpty); - } catch (err) { - this.handleError(targetZone, err); - } - }; // tslint:disable-next-line:require-internal-with-underscore - - - ZoneDelegate.prototype._updateTaskCount = function (type, count) { - var counts = this._taskCounts; - var prev = counts[type]; - var next = counts[type] = prev + count; - - if (next < 0) { - throw new Error('More tasks executed then were scheduled.'); - } - - if (prev == 0 || next == 0) { - var isEmpty = { - microTask: counts['microTask'] > 0, - macroTask: counts['macroTask'] > 0, - eventTask: counts['eventTask'] > 0, - change: type - }; - this.hasTask(this.zone, isEmpty); - } - }; - - return ZoneDelegate; - }(); - - var ZoneTask = - /** @class */ - function () { - function ZoneTask(type, source, callback, options, scheduleFn, cancelFn) { - // tslint:disable-next-line:require-internal-with-underscore - this._zone = null; - this.runCount = 0; // tslint:disable-next-line:require-internal-with-underscore - - this._zoneDelegates = null; // tslint:disable-next-line:require-internal-with-underscore - - this._state = 'notScheduled'; - this.type = type; - this.source = source; - this.data = options; - this.scheduleFn = scheduleFn; - this.cancelFn = cancelFn; - - if (!callback) { - throw new Error('callback is not defined'); - } - - this.callback = callback; - var self = this; // TODO: @JiaLiPassion options should have interface - - if (type === eventTask && options && options.useG) { - this.invoke = ZoneTask.invokeTask; - } else { - this.invoke = function () { - return ZoneTask.invokeTask.call(global, self, this, arguments); - }; - } - } - - ZoneTask.invokeTask = function (task, target, args) { - if (!task) { - task = this; - } - - _numberOfNestedTaskFrames++; - - try { - task.runCount++; - return task.zone.runTask(task, target, args); - } finally { - if (_numberOfNestedTaskFrames == 1) { - drainMicroTaskQueue(); - } - - _numberOfNestedTaskFrames--; - } - }; - - Object.defineProperty(ZoneTask.prototype, "zone", { - get: function get() { - return this._zone; - }, - enumerable: false, - configurable: true - }); - Object.defineProperty(ZoneTask.prototype, "state", { - get: function get() { - return this._state; - }, - enumerable: false, - configurable: true - }); - - ZoneTask.prototype.cancelScheduleRequest = function () { - this._transitionTo(notScheduled, scheduling); - }; // tslint:disable-next-line:require-internal-with-underscore - - - ZoneTask.prototype._transitionTo = function (toState, fromState1, fromState2) { - if (this._state === fromState1 || this._state === fromState2) { - this._state = toState; - - if (toState == notScheduled) { - this._zoneDelegates = null; - } - } else { - throw new Error(this.type + " '" + this.source + "': can not transition to '" + toState + "', expecting state '" + fromState1 + "'" + (fromState2 ? ' or \'' + fromState2 + '\'' : '') + ", was '" + this._state + "'."); - } - }; - - ZoneTask.prototype.toString = function () { - if (this.data && typeof this.data.handleId !== 'undefined') { - return this.data.handleId.toString(); - } else { - return Object.prototype.toString.call(this); - } - }; // add toJSON method to prevent cyclic error when - // call JSON.stringify(zoneTask) - - - ZoneTask.prototype.toJSON = function () { - return { - type: this.type, - state: this.state, - source: this.source, - zone: this.zone.name, - runCount: this.runCount - }; - }; - - return ZoneTask; - }(); ////////////////////////////////////////////////////// - ////////////////////////////////////////////////////// - /// MICROTASK QUEUE - ////////////////////////////////////////////////////// - ////////////////////////////////////////////////////// - - - var symbolSetTimeout = __symbol__('setTimeout'); - - var symbolPromise = __symbol__('Promise'); - - var symbolThen = __symbol__('then'); - - var _microTaskQueue = []; - var _isDrainingMicrotaskQueue = false; - var nativeMicroTaskQueuePromise; - - function scheduleMicroTask(task) { - // if we are not running in any task, and there has not been anything scheduled - // we must bootstrap the initial task creation by manually scheduling the drain - if (_numberOfNestedTaskFrames === 0 && _microTaskQueue.length === 0) { - // We are not running in Task, so we need to kickstart the microtask queue. - if (!nativeMicroTaskQueuePromise) { - if (global[symbolPromise]) { - nativeMicroTaskQueuePromise = global[symbolPromise].resolve(0); - } - } - - if (nativeMicroTaskQueuePromise) { - var nativeThen = nativeMicroTaskQueuePromise[symbolThen]; - - if (!nativeThen) { - // native Promise is not patchable, we need to use `then` directly - // issue 1078 - nativeThen = nativeMicroTaskQueuePromise['then']; - } - - nativeThen.call(nativeMicroTaskQueuePromise, drainMicroTaskQueue); - } else { - global[symbolSetTimeout](drainMicroTaskQueue, 0); - } - } - - task && _microTaskQueue.push(task); - } - - function drainMicroTaskQueue() { - if (!_isDrainingMicrotaskQueue) { - _isDrainingMicrotaskQueue = true; - - while (_microTaskQueue.length) { - var queue = _microTaskQueue; - _microTaskQueue = []; - - for (var i = 0; i < queue.length; i++) { - var task = queue[i]; - - try { - task.zone.runTask(task, null, null); - } catch (error) { - _api.onUnhandledError(error); - } - } - } - - _api.microtaskDrainDone(); - - _isDrainingMicrotaskQueue = false; - } - } ////////////////////////////////////////////////////// - ////////////////////////////////////////////////////// - /// BOOTSTRAP - ////////////////////////////////////////////////////// - ////////////////////////////////////////////////////// - - - var NO_ZONE = { - name: 'NO ZONE' - }; - var notScheduled = 'notScheduled', - scheduling = 'scheduling', - scheduled = 'scheduled', - running = 'running', - canceling = 'canceling', - unknown = 'unknown'; - var microTask = 'microTask', - macroTask = 'macroTask', - eventTask = 'eventTask'; - var patches = {}; - var _api = { - symbol: __symbol__, - currentZoneFrame: function currentZoneFrame() { - return _currentZoneFrame; - }, - onUnhandledError: noop, - microtaskDrainDone: noop, - scheduleMicroTask: scheduleMicroTask, - showUncaughtError: function showUncaughtError() { - return !Zone[__symbol__('ignoreConsoleErrorUncaughtError')]; - }, - patchEventTarget: function patchEventTarget() { - return []; - }, - patchOnProperties: noop, - patchMethod: function patchMethod() { - return noop; - }, - bindArguments: function bindArguments() { - return []; - }, - patchThen: function patchThen() { - return noop; - }, - patchMacroTask: function patchMacroTask() { - return noop; - }, - patchEventPrototype: function patchEventPrototype() { - return noop; - }, - isIEOrEdge: function isIEOrEdge() { - return false; - }, - getGlobalObjects: function getGlobalObjects() { - return undefined; - }, - ObjectDefineProperty: function ObjectDefineProperty() { - return noop; - }, - ObjectGetOwnPropertyDescriptor: function ObjectGetOwnPropertyDescriptor() { - return undefined; - }, - ObjectCreate: function ObjectCreate() { - return undefined; - }, - ArraySlice: function ArraySlice() { - return []; - }, - patchClass: function patchClass() { - return noop; - }, - wrapWithCurrentZone: function wrapWithCurrentZone() { - return noop; - }, - filterProperties: function filterProperties() { - return []; - }, - attachOriginToPatched: function attachOriginToPatched() { - return noop; - }, - _redefineProperty: function _redefineProperty() { - return noop; - }, - patchCallbacks: function patchCallbacks() { - return noop; - } - }; - var _currentZoneFrame = { - parent: null, - zone: new Zone(null, null) - }; - var _currentTask = null; - var _numberOfNestedTaskFrames = 0; - - function noop() {} - - performanceMeasure('Zone', 'Zone'); - return global['Zone'] = Zone; - }(typeof window !== 'undefined' && window || typeof self !== 'undefined' && self || global); - /** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - /** - * Suppress closure compiler errors about unknown 'Zone' variable - * @fileoverview - * @suppress {undefinedVars,globalThis,missingRequire} - */ - /// - // issue #989, to reduce bundle size, use short name - - /** Object.getOwnPropertyDescriptor */ - - - var ObjectGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; - /** Object.defineProperty */ - - var ObjectDefineProperty = Object.defineProperty; - /** Object.getPrototypeOf */ - - var ObjectGetPrototypeOf = Object.getPrototypeOf; - /** Object.create */ - - var ObjectCreate = Object.create; - /** Array.prototype.slice */ - - var ArraySlice = Array.prototype.slice; - /** addEventListener string const */ - - var ADD_EVENT_LISTENER_STR = 'addEventListener'; - /** removeEventListener string const */ - - var REMOVE_EVENT_LISTENER_STR = 'removeEventListener'; - /** zoneSymbol addEventListener */ - - var ZONE_SYMBOL_ADD_EVENT_LISTENER = Zone.__symbol__(ADD_EVENT_LISTENER_STR); - /** zoneSymbol removeEventListener */ - - - var ZONE_SYMBOL_REMOVE_EVENT_LISTENER = Zone.__symbol__(REMOVE_EVENT_LISTENER_STR); - /** true string const */ - - - var TRUE_STR = 'true'; - /** false string const */ - - var FALSE_STR = 'false'; - /** Zone symbol prefix string const. */ - - var ZONE_SYMBOL_PREFIX = Zone.__symbol__(''); - - function wrapWithCurrentZone(callback, source) { - return Zone.current.wrap(callback, source); - } - - function scheduleMacroTaskWithCurrentZone(source, callback, data, customSchedule, customCancel) { - return Zone.current.scheduleMacroTask(source, callback, data, customSchedule, customCancel); - } - - var zoneSymbol = Zone.__symbol__; - var isWindowExists = typeof window !== 'undefined'; - var internalWindow = isWindowExists ? window : undefined; - - var _global = isWindowExists && internalWindow || typeof self === 'object' && self || global; - - var REMOVE_ATTRIBUTE = 'removeAttribute'; - var NULL_ON_PROP_VALUE = [null]; - - function bindArguments(args, source) { - for (var i = args.length - 1; i >= 0; i--) { - if (typeof args[i] === 'function') { - args[i] = wrapWithCurrentZone(args[i], source + '_' + i); - } - } - - return args; - } - - function patchPrototype(prototype, fnNames) { - var source = prototype.constructor['name']; - - var _loop_1 = function _loop_1(i) { - var name_1 = fnNames[i]; - var delegate = prototype[name_1]; - - if (delegate) { - var prototypeDesc = ObjectGetOwnPropertyDescriptor(prototype, name_1); - - if (!isPropertyWritable(prototypeDesc)) { - return "continue"; - } - - prototype[name_1] = function (delegate) { - var patched = function patched() { - return delegate.apply(this, bindArguments(arguments, source + '.' + name_1)); - }; - - attachOriginToPatched(patched, delegate); - return patched; - }(delegate); - } - }; - - for (var i = 0; i < fnNames.length; i++) { - _loop_1(i); - } - } - - function isPropertyWritable(propertyDesc) { - if (!propertyDesc) { - return true; - } - - if (propertyDesc.writable === false) { - return false; - } - - return !(typeof propertyDesc.get === 'function' && typeof propertyDesc.set === 'undefined'); - } - - var isWebWorker = typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope; // Make sure to access `process` through `_global` so that WebPack does not accidentally browserify - // this code. - - var isNode = !('nw' in _global) && typeof _global.process !== 'undefined' && {}.toString.call(_global.process) === '[object process]'; - var isBrowser = !isNode && !isWebWorker && !!(isWindowExists && internalWindow['HTMLElement']); // we are in electron of nw, so we are both browser and nodejs - // Make sure to access `process` through `_global` so that WebPack does not accidentally browserify - // this code. - - var isMix = typeof _global.process !== 'undefined' && {}.toString.call(_global.process) === '[object process]' && !isWebWorker && !!(isWindowExists && internalWindow['HTMLElement']); - var zoneSymbolEventNames = {}; - - var wrapFn = function wrapFn(event) { - // https://github.com/angular/zone.js/issues/911, in IE, sometimes - // event will be undefined, so we need to use window.event - event = event || _global.event; - - if (!event) { - return; - } - - var eventNameSymbol = zoneSymbolEventNames[event.type]; - - if (!eventNameSymbol) { - eventNameSymbol = zoneSymbolEventNames[event.type] = zoneSymbol('ON_PROPERTY' + event.type); - } - - var target = this || event.target || _global; - var listener = target[eventNameSymbol]; - var result; - - if (isBrowser && target === internalWindow && event.type === 'error') { - // window.onerror have different signiture - // https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror#window.onerror - // and onerror callback will prevent default when callback return true - var errorEvent = event; - result = listener && listener.call(this, errorEvent.message, errorEvent.filename, errorEvent.lineno, errorEvent.colno, errorEvent.error); - - if (result === true) { - event.preventDefault(); - } - } else { - result = listener && listener.apply(this, arguments); - - if (result != undefined && !result) { - event.preventDefault(); - } - } - - return result; - }; - - function patchProperty(obj, prop, prototype) { - var desc = ObjectGetOwnPropertyDescriptor(obj, prop); - - if (!desc && prototype) { - // when patch window object, use prototype to check prop exist or not - var prototypeDesc = ObjectGetOwnPropertyDescriptor(prototype, prop); - - if (prototypeDesc) { - desc = { - enumerable: true, - configurable: true - }; - } - } // if the descriptor not exists or is not configurable - // just return - - - if (!desc || !desc.configurable) { - return; - } - - var onPropPatchedSymbol = zoneSymbol('on' + prop + 'patched'); - - if (obj.hasOwnProperty(onPropPatchedSymbol) && obj[onPropPatchedSymbol]) { - return; - } // A property descriptor cannot have getter/setter and be writable - // deleting the writable and value properties avoids this error: - // - // TypeError: property descriptors must not specify a value or be writable when a - // getter or setter has been specified - - - delete desc.writable; - delete desc.value; - var originalDescGet = desc.get; - var originalDescSet = desc.set; // substr(2) cuz 'onclick' -> 'click', etc - - var eventName = prop.substr(2); - var eventNameSymbol = zoneSymbolEventNames[eventName]; - - if (!eventNameSymbol) { - eventNameSymbol = zoneSymbolEventNames[eventName] = zoneSymbol('ON_PROPERTY' + eventName); - } - - desc.set = function (newValue) { - // in some of windows's onproperty callback, this is undefined - // so we need to check it - var target = this; - - if (!target && obj === _global) { - target = _global; - } - - if (!target) { - return; - } - - var previousValue = target[eventNameSymbol]; - - if (previousValue) { - target.removeEventListener(eventName, wrapFn); - } // issue #978, when onload handler was added before loading zone.js - // we should remove it with originalDescSet - - - if (originalDescSet) { - originalDescSet.apply(target, NULL_ON_PROP_VALUE); - } - - if (typeof newValue === 'function') { - target[eventNameSymbol] = newValue; - target.addEventListener(eventName, wrapFn, false); - } else { - target[eventNameSymbol] = null; - } - }; // The getter would return undefined for unassigned properties but the default value of an - // unassigned property is null - - - desc.get = function () { - // in some of windows's onproperty callback, this is undefined - // so we need to check it - var target = this; - - if (!target && obj === _global) { - target = _global; - } - - if (!target) { - return null; - } - - var listener = target[eventNameSymbol]; - - if (listener) { - return listener; - } else if (originalDescGet) { - // result will be null when use inline event attribute, - // such as - // because the onclick function is internal raw uncompiled handler - // the onclick will be evaluated when first time event was triggered or - // the property is accessed, https://github.com/angular/zone.js/issues/525 - // so we should use original native get to retrieve the handler - var value = originalDescGet && originalDescGet.call(this); - - if (value) { - desc.set.call(this, value); - - if (typeof target[REMOVE_ATTRIBUTE] === 'function') { - target.removeAttribute(prop); - } - - return value; - } - } - - return null; - }; - - ObjectDefineProperty(obj, prop, desc); - obj[onPropPatchedSymbol] = true; - } - - function patchOnProperties(obj, properties, prototype) { - if (properties) { - for (var i = 0; i < properties.length; i++) { - patchProperty(obj, 'on' + properties[i], prototype); - } - } else { - var onProperties = []; - - for (var prop in obj) { - if (prop.substr(0, 2) == 'on') { - onProperties.push(prop); - } - } - - for (var j = 0; j < onProperties.length; j++) { - patchProperty(obj, onProperties[j], prototype); - } - } - } - - var originalInstanceKey = zoneSymbol('originalInstance'); // wrap some native API on `window` - - function patchClass(className) { - var OriginalClass = _global[className]; - if (!OriginalClass) return; // keep original class in global - - _global[zoneSymbol(className)] = OriginalClass; - - _global[className] = function () { - var a = bindArguments(arguments, className); - - switch (a.length) { - case 0: - this[originalInstanceKey] = new OriginalClass(); - break; - - case 1: - this[originalInstanceKey] = new OriginalClass(a[0]); - break; - - case 2: - this[originalInstanceKey] = new OriginalClass(a[0], a[1]); - break; - - case 3: - this[originalInstanceKey] = new OriginalClass(a[0], a[1], a[2]); - break; - - case 4: - this[originalInstanceKey] = new OriginalClass(a[0], a[1], a[2], a[3]); - break; - - default: - throw new Error('Arg list too long.'); - } - }; // attach original delegate to patched function - - - attachOriginToPatched(_global[className], OriginalClass); - var instance = new OriginalClass(function () {}); - var prop; - - for (prop in instance) { - // https://bugs.webkit.org/show_bug.cgi?id=44721 - if (className === 'XMLHttpRequest' && prop === 'responseBlob') continue; - - (function (prop) { - if (typeof instance[prop] === 'function') { - _global[className].prototype[prop] = function () { - return this[originalInstanceKey][prop].apply(this[originalInstanceKey], arguments); - }; - } else { - ObjectDefineProperty(_global[className].prototype, prop, { - set: function set(fn) { - if (typeof fn === 'function') { - this[originalInstanceKey][prop] = wrapWithCurrentZone(fn, className + '.' + prop); // keep callback in wrapped function so we can - // use it in Function.prototype.toString to return - // the native one. - - attachOriginToPatched(this[originalInstanceKey][prop], fn); - } else { - this[originalInstanceKey][prop] = fn; - } - }, - get: function get() { - return this[originalInstanceKey][prop]; - } - }); - } - })(prop); - } - - for (prop in OriginalClass) { - if (prop !== 'prototype' && OriginalClass.hasOwnProperty(prop)) { - _global[className][prop] = OriginalClass[prop]; - } - } - } - - function patchMethod(target, name, patchFn) { - var proto = target; - - while (proto && !proto.hasOwnProperty(name)) { - proto = ObjectGetPrototypeOf(proto); - } - - if (!proto && target[name]) { - // somehow we did not find it, but we can see it. This happens on IE for Window properties. - proto = target; - } - - var delegateName = zoneSymbol(name); - var delegate = null; - - if (proto && (!(delegate = proto[delegateName]) || !proto.hasOwnProperty(delegateName))) { - delegate = proto[delegateName] = proto[name]; // check whether proto[name] is writable - // some property is readonly in safari, such as HtmlCanvasElement.prototype.toBlob - - var desc = proto && ObjectGetOwnPropertyDescriptor(proto, name); - - if (isPropertyWritable(desc)) { - var patchDelegate_1 = patchFn(delegate, delegateName, name); - - proto[name] = function () { - return patchDelegate_1(this, arguments); - }; - - attachOriginToPatched(proto[name], delegate); - } - } - - return delegate; - } // TODO: @JiaLiPassion, support cancel task later if necessary - - - function patchMacroTask(obj, funcName, metaCreator) { - var setNative = null; - - function scheduleTask(task) { - var data = task.data; - - data.args[data.cbIdx] = function () { - task.invoke.apply(this, arguments); - }; - - setNative.apply(data.target, data.args); - return task; - } - - setNative = patchMethod(obj, funcName, function (delegate) { - return function (self, args) { - var meta = metaCreator(self, args); - - if (meta.cbIdx >= 0 && typeof args[meta.cbIdx] === 'function') { - return scheduleMacroTaskWithCurrentZone(meta.name, args[meta.cbIdx], meta, scheduleTask); - } else { - // cause an error by calling it directly. - return delegate.apply(self, args); - } - }; - }); - } - - function attachOriginToPatched(patched, original) { - patched[zoneSymbol('OriginalDelegate')] = original; - } - - var isDetectedIEOrEdge = false; - var ieOrEdge = false; - - function isIE() { - try { - var ua = internalWindow.navigator.userAgent; - - if (ua.indexOf('MSIE ') !== -1 || ua.indexOf('Trident/') !== -1) { - return true; - } - } catch (error) {} - - return false; - } - - function isIEOrEdge() { - if (isDetectedIEOrEdge) { - return ieOrEdge; - } - - isDetectedIEOrEdge = true; - - try { - var ua = internalWindow.navigator.userAgent; - - if (ua.indexOf('MSIE ') !== -1 || ua.indexOf('Trident/') !== -1 || ua.indexOf('Edge/') !== -1) { - ieOrEdge = true; - } - } catch (error) {} - - return ieOrEdge; - } - /** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - - Zone.__load_patch('ZoneAwarePromise', function (global, Zone, api) { - var ObjectGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; - var ObjectDefineProperty = Object.defineProperty; - - function readableObjectToString(obj) { - if (obj && obj.toString === Object.prototype.toString) { - var className = obj.constructor && obj.constructor.name; - return (className ? className : '') + ': ' + JSON.stringify(obj); - } - - return obj ? obj.toString() : Object.prototype.toString.call(obj); - } - - var __symbol__ = api.symbol; - var _uncaughtPromiseErrors = []; - var isDisableWrappingUncaughtPromiseRejection = global[__symbol__('DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION')] === true; - - var symbolPromise = __symbol__('Promise'); - - var symbolThen = __symbol__('then'); - - var creationTrace = '__creationTrace__'; - - api.onUnhandledError = function (e) { - if (api.showUncaughtError()) { - var rejection = e && e.rejection; - - if (rejection) { - console.error('Unhandled Promise rejection:', rejection instanceof Error ? rejection.message : rejection, '; Zone:', e.zone.name, '; Task:', e.task && e.task.source, '; Value:', rejection, rejection instanceof Error ? rejection.stack : undefined); - } else { - console.error(e); - } - } - }; - - api.microtaskDrainDone = function () { - var _loop_2 = function _loop_2() { - var uncaughtPromiseError = _uncaughtPromiseErrors.shift(); - - try { - uncaughtPromiseError.zone.runGuarded(function () { - if (uncaughtPromiseError.throwOriginal) { - throw uncaughtPromiseError.rejection; - } - - throw uncaughtPromiseError; - }); - } catch (error) { - handleUnhandledRejection(error); - } - }; - - while (_uncaughtPromiseErrors.length) { - _loop_2(); - } - }; - - var UNHANDLED_PROMISE_REJECTION_HANDLER_SYMBOL = __symbol__('unhandledPromiseRejectionHandler'); - - function handleUnhandledRejection(e) { - api.onUnhandledError(e); - - try { - var handler = Zone[UNHANDLED_PROMISE_REJECTION_HANDLER_SYMBOL]; - - if (typeof handler === 'function') { - handler.call(this, e); - } - } catch (err) {} - } - - function isThenable(value) { - return value && value.then; - } - - function forwardResolution(value) { - return value; - } - - function forwardRejection(rejection) { - return ZoneAwarePromise.reject(rejection); - } - - var symbolState = __symbol__('state'); - - var symbolValue = __symbol__('value'); - - var symbolFinally = __symbol__('finally'); - - var symbolParentPromiseValue = __symbol__('parentPromiseValue'); - - var symbolParentPromiseState = __symbol__('parentPromiseState'); - - var source = 'Promise.then'; - var UNRESOLVED = null; - var RESOLVED = true; - var REJECTED = false; - var REJECTED_NO_CATCH = 0; - - function makeResolver(promise, state) { - return function (v) { - try { - resolvePromise(promise, state, v); - } catch (err) { - resolvePromise(promise, false, err); - } // Do not return value or you will break the Promise spec. - - }; - } - - var once = function once() { - var wasCalled = false; - return function wrapper(wrappedFunction) { - return function () { - if (wasCalled) { - return; - } - - wasCalled = true; - wrappedFunction.apply(null, arguments); - }; - }; - }; - - var TYPE_ERROR = 'Promise resolved with itself'; - - var CURRENT_TASK_TRACE_SYMBOL = __symbol__('currentTaskTrace'); // Promise Resolution - - - function resolvePromise(promise, state, value) { - var onceWrapper = once(); - - if (promise === value) { - throw new TypeError(TYPE_ERROR); - } - - if (promise[symbolState] === UNRESOLVED) { - // should only get value.then once based on promise spec. - var then = null; - - try { - if (typeof value === 'object' || typeof value === 'function') { - then = value && value.then; - } - } catch (err) { - onceWrapper(function () { - resolvePromise(promise, false, err); - })(); - return promise; - } // if (value instanceof ZoneAwarePromise) { - - - if (state !== REJECTED && value instanceof ZoneAwarePromise && value.hasOwnProperty(symbolState) && value.hasOwnProperty(symbolValue) && value[symbolState] !== UNRESOLVED) { - clearRejectedNoCatch(value); - resolvePromise(promise, value[symbolState], value[symbolValue]); - } else if (state !== REJECTED && typeof then === 'function') { - try { - then.call(value, onceWrapper(makeResolver(promise, state)), onceWrapper(makeResolver(promise, false))); - } catch (err) { - onceWrapper(function () { - resolvePromise(promise, false, err); - })(); - } - } else { - promise[symbolState] = state; - var queue = promise[symbolValue]; - promise[symbolValue] = value; - - if (promise[symbolFinally] === symbolFinally) { - // the promise is generated by Promise.prototype.finally - if (state === RESOLVED) { - // the state is resolved, should ignore the value - // and use parent promise value - promise[symbolState] = promise[symbolParentPromiseState]; - promise[symbolValue] = promise[symbolParentPromiseValue]; - } - } // record task information in value when error occurs, so we can - // do some additional work such as render longStackTrace - - - if (state === REJECTED && value instanceof Error) { - // check if longStackTraceZone is here - var trace = Zone.currentTask && Zone.currentTask.data && Zone.currentTask.data[creationTrace]; - - if (trace) { - // only keep the long stack trace into error when in longStackTraceZone - ObjectDefineProperty(value, CURRENT_TASK_TRACE_SYMBOL, { - configurable: true, - enumerable: false, - writable: true, - value: trace - }); - } - } - - for (var i = 0; i < queue.length;) { - scheduleResolveOrReject(promise, queue[i++], queue[i++], queue[i++], queue[i++]); - } - - if (queue.length == 0 && state == REJECTED) { - promise[symbolState] = REJECTED_NO_CATCH; - var uncaughtPromiseError = value; - - try { - // Here we throws a new Error to print more readable error log - // and if the value is not an error, zone.js builds an `Error` - // Object here to attach the stack information. - throw new Error('Uncaught (in promise): ' + readableObjectToString(value) + (value && value.stack ? '\n' + value.stack : '')); - } catch (err) { - uncaughtPromiseError = err; - } - - if (isDisableWrappingUncaughtPromiseRejection) { - // If disable wrapping uncaught promise reject - // use the value instead of wrapping it. - uncaughtPromiseError.throwOriginal = true; - } - - uncaughtPromiseError.rejection = value; - uncaughtPromiseError.promise = promise; - uncaughtPromiseError.zone = Zone.current; - uncaughtPromiseError.task = Zone.currentTask; - - _uncaughtPromiseErrors.push(uncaughtPromiseError); - - api.scheduleMicroTask(); // to make sure that it is running - } - } - } // Resolving an already resolved promise is a noop. - - - return promise; - } - - var REJECTION_HANDLED_HANDLER = __symbol__('rejectionHandledHandler'); - - function clearRejectedNoCatch(promise) { - if (promise[symbolState] === REJECTED_NO_CATCH) { - // if the promise is rejected no catch status - // and queue.length > 0, means there is a error handler - // here to handle the rejected promise, we should trigger - // windows.rejectionhandled eventHandler or nodejs rejectionHandled - // eventHandler - try { - var handler = Zone[REJECTION_HANDLED_HANDLER]; - - if (handler && typeof handler === 'function') { - handler.call(this, { - rejection: promise[symbolValue], - promise: promise - }); - } - } catch (err) {} - - promise[symbolState] = REJECTED; - - for (var i = 0; i < _uncaughtPromiseErrors.length; i++) { - if (promise === _uncaughtPromiseErrors[i].promise) { - _uncaughtPromiseErrors.splice(i, 1); - } - } - } - } - - function scheduleResolveOrReject(promise, zone, chainPromise, onFulfilled, onRejected) { - clearRejectedNoCatch(promise); - var promiseState = promise[symbolState]; - var delegate = promiseState ? typeof onFulfilled === 'function' ? onFulfilled : forwardResolution : typeof onRejected === 'function' ? onRejected : forwardRejection; - zone.scheduleMicroTask(source, function () { - try { - var parentPromiseValue = promise[symbolValue]; - var isFinallyPromise = !!chainPromise && symbolFinally === chainPromise[symbolFinally]; - - if (isFinallyPromise) { - // if the promise is generated from finally call, keep parent promise's state and value - chainPromise[symbolParentPromiseValue] = parentPromiseValue; - chainPromise[symbolParentPromiseState] = promiseState; - } // should not pass value to finally callback - - - var value = zone.run(delegate, undefined, isFinallyPromise && delegate !== forwardRejection && delegate !== forwardResolution ? [] : [parentPromiseValue]); - resolvePromise(chainPromise, true, value); - } catch (error) { - // if error occurs, should always return this error - resolvePromise(chainPromise, false, error); - } - }, chainPromise); - } - - var ZONE_AWARE_PROMISE_TO_STRING = 'function ZoneAwarePromise() { [native code] }'; - - var noop = function noop() {}; - - var ZoneAwarePromise = - /** @class */ - function () { - function ZoneAwarePromise(executor) { - var promise = this; - - if (!(promise instanceof ZoneAwarePromise)) { - throw new Error('Must be an instanceof Promise.'); - } - - promise[symbolState] = UNRESOLVED; - promise[symbolValue] = []; // queue; - - try { - executor && executor(makeResolver(promise, RESOLVED), makeResolver(promise, REJECTED)); - } catch (error) { - resolvePromise(promise, false, error); - } - } - - ZoneAwarePromise.toString = function () { - return ZONE_AWARE_PROMISE_TO_STRING; - }; - - ZoneAwarePromise.resolve = function (value) { - return resolvePromise(new this(null), RESOLVED, value); - }; - - ZoneAwarePromise.reject = function (error) { - return resolvePromise(new this(null), REJECTED, error); - }; - - ZoneAwarePromise.race = function (values) { - var resolve; - var reject; - var promise = new this(function (res, rej) { - resolve = res; - reject = rej; - }); - - function onResolve(value) { - resolve(value); - } - - function onReject(error) { - reject(error); - } - - for (var _i = 0, values_1 = values; _i < values_1.length; _i++) { - var value = values_1[_i]; - - if (!isThenable(value)) { - value = this.resolve(value); - } - - value.then(onResolve, onReject); - } - - return promise; - }; - - ZoneAwarePromise.all = function (values) { - return ZoneAwarePromise.allWithCallback(values); - }; - - ZoneAwarePromise.allSettled = function (values) { - var P = this && this.prototype instanceof ZoneAwarePromise ? this : ZoneAwarePromise; - return P.allWithCallback(values, { - thenCallback: function thenCallback(value) { - return { - status: 'fulfilled', - value: value - }; - }, - errorCallback: function errorCallback(err) { - return { - status: 'rejected', - reason: err - }; - } - }); - }; - - ZoneAwarePromise.allWithCallback = function (values, callback) { - var resolve; - var reject; - var promise = new this(function (res, rej) { - resolve = res; - reject = rej; - }); // Start at 2 to prevent prematurely resolving if .then is called immediately. - - var unresolvedCount = 2; - var valueIndex = 0; - var resolvedValues = []; - - var _loop_3 = function _loop_3(value) { - if (!isThenable(value)) { - value = this_1.resolve(value); - } - - var curValueIndex = valueIndex; - - try { - value.then(function (value) { - resolvedValues[curValueIndex] = callback ? callback.thenCallback(value) : value; - unresolvedCount--; - - if (unresolvedCount === 0) { - resolve(resolvedValues); - } - }, function (err) { - if (!callback) { - reject(err); - } else { - resolvedValues[curValueIndex] = callback.errorCallback(err); - unresolvedCount--; - - if (unresolvedCount === 0) { - resolve(resolvedValues); - } - } - }); - } catch (thenErr) { - reject(thenErr); - } - - unresolvedCount++; - valueIndex++; - }; - - var this_1 = this; - - for (var _i = 0, values_2 = values; _i < values_2.length; _i++) { - var value = values_2[_i]; - - _loop_3(value); - } // Make the unresolvedCount zero-based again. - - - unresolvedCount -= 2; - - if (unresolvedCount === 0) { - resolve(resolvedValues); - } - - return promise; - }; - - Object.defineProperty(ZoneAwarePromise.prototype, Symbol.toStringTag, { - get: function get() { - return 'Promise'; - }, - enumerable: false, - configurable: true - }); - Object.defineProperty(ZoneAwarePromise.prototype, Symbol.species, { - get: function get() { - return ZoneAwarePromise; - }, - enumerable: false, - configurable: true - }); - - ZoneAwarePromise.prototype.then = function (onFulfilled, onRejected) { - var C = this.constructor[Symbol.species]; - - if (!C || typeof C !== 'function') { - C = this.constructor || ZoneAwarePromise; - } - - var chainPromise = new C(noop); - var zone = Zone.current; - - if (this[symbolState] == UNRESOLVED) { - this[symbolValue].push(zone, chainPromise, onFulfilled, onRejected); - } else { - scheduleResolveOrReject(this, zone, chainPromise, onFulfilled, onRejected); - } - - return chainPromise; - }; - - ZoneAwarePromise.prototype.catch = function (onRejected) { - return this.then(null, onRejected); - }; - - ZoneAwarePromise.prototype.finally = function (onFinally) { - var C = this.constructor[Symbol.species]; - - if (!C || typeof C !== 'function') { - C = ZoneAwarePromise; - } - - var chainPromise = new C(noop); - chainPromise[symbolFinally] = symbolFinally; - var zone = Zone.current; - - if (this[symbolState] == UNRESOLVED) { - this[symbolValue].push(zone, chainPromise, onFinally, onFinally); - } else { - scheduleResolveOrReject(this, zone, chainPromise, onFinally, onFinally); - } - - return chainPromise; - }; - - return ZoneAwarePromise; - }(); // Protect against aggressive optimizers dropping seemingly unused properties. - // E.g. Closure Compiler in advanced mode. - - - ZoneAwarePromise['resolve'] = ZoneAwarePromise.resolve; - ZoneAwarePromise['reject'] = ZoneAwarePromise.reject; - ZoneAwarePromise['race'] = ZoneAwarePromise.race; - ZoneAwarePromise['all'] = ZoneAwarePromise.all; - var NativePromise = global[symbolPromise] = global['Promise']; - global['Promise'] = ZoneAwarePromise; - - var symbolThenPatched = __symbol__('thenPatched'); - - function patchThen(Ctor) { - var proto = Ctor.prototype; - var prop = ObjectGetOwnPropertyDescriptor(proto, 'then'); - - if (prop && (prop.writable === false || !prop.configurable)) { - // check Ctor.prototype.then propertyDescriptor is writable or not - // in meteor env, writable is false, we should ignore such case - return; - } - - var originalThen = proto.then; // Keep a reference to the original method. - - proto[symbolThen] = originalThen; - - Ctor.prototype.then = function (onResolve, onReject) { - var _this = this; - - var wrapped = new ZoneAwarePromise(function (resolve, reject) { - originalThen.call(_this, resolve, reject); - }); - return wrapped.then(onResolve, onReject); - }; - - Ctor[symbolThenPatched] = true; - } - - api.patchThen = patchThen; - - function zoneify(fn) { - return function (self, args) { - var resultPromise = fn.apply(self, args); - - if (resultPromise instanceof ZoneAwarePromise) { - return resultPromise; - } - - var ctor = resultPromise.constructor; - - if (!ctor[symbolThenPatched]) { - patchThen(ctor); - } - - return resultPromise; - }; - } - - if (NativePromise) { - patchThen(NativePromise); - patchMethod(global, 'fetch', function (delegate) { - return zoneify(delegate); - }); - } // This is not part of public API, but it is useful for tests, so we expose it. - - - Promise[Zone.__symbol__('uncaughtPromiseErrors')] = _uncaughtPromiseErrors; - return ZoneAwarePromise; - }); - /** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - // override Function.prototype.toString to make zone.js patched function - // look like native function - - - Zone.__load_patch('toString', function (global) { - // patch Func.prototype.toString to let them look like native - var originalFunctionToString = Function.prototype.toString; - var ORIGINAL_DELEGATE_SYMBOL = zoneSymbol('OriginalDelegate'); - var PROMISE_SYMBOL = zoneSymbol('Promise'); - var ERROR_SYMBOL = zoneSymbol('Error'); - - var newFunctionToString = function toString() { - if (typeof this === 'function') { - var originalDelegate = this[ORIGINAL_DELEGATE_SYMBOL]; - - if (originalDelegate) { - if (typeof originalDelegate === 'function') { - return originalFunctionToString.call(originalDelegate); - } else { - return Object.prototype.toString.call(originalDelegate); - } - } - - if (this === Promise) { - var nativePromise = global[PROMISE_SYMBOL]; - - if (nativePromise) { - return originalFunctionToString.call(nativePromise); - } - } - - if (this === Error) { - var nativeError = global[ERROR_SYMBOL]; - - if (nativeError) { - return originalFunctionToString.call(nativeError); - } - } - } - - return originalFunctionToString.call(this); - }; - - newFunctionToString[ORIGINAL_DELEGATE_SYMBOL] = originalFunctionToString; - Function.prototype.toString = newFunctionToString; // patch Object.prototype.toString to let them look like native - - var originalObjectToString = Object.prototype.toString; - var PROMISE_OBJECT_TO_STRING = '[object Promise]'; - - Object.prototype.toString = function () { - if (typeof Promise === 'function' && this instanceof Promise) { - return PROMISE_OBJECT_TO_STRING; - } - - return originalObjectToString.call(this); - }; - }); - /** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - - var passiveSupported = false; - - if (typeof window !== 'undefined') { - try { - var options = Object.defineProperty({}, 'passive', { - get: function get() { - passiveSupported = true; - } - }); - window.addEventListener('test', options, options); - window.removeEventListener('test', options, options); - } catch (err) { - passiveSupported = false; - } - } // an identifier to tell ZoneTask do not create a new invoke closure - - - var OPTIMIZED_ZONE_EVENT_TASK_DATA = { - useG: true - }; - var zoneSymbolEventNames$1 = {}; - var globalSources = {}; - var EVENT_NAME_SYMBOL_REGX = new RegExp('^' + ZONE_SYMBOL_PREFIX + '(\\w+)(true|false)$'); - var IMMEDIATE_PROPAGATION_SYMBOL = zoneSymbol('propagationStopped'); - - function prepareEventNames(eventName, eventNameToString) { - var falseEventName = (eventNameToString ? eventNameToString(eventName) : eventName) + FALSE_STR; - var trueEventName = (eventNameToString ? eventNameToString(eventName) : eventName) + TRUE_STR; - var symbol = ZONE_SYMBOL_PREFIX + falseEventName; - var symbolCapture = ZONE_SYMBOL_PREFIX + trueEventName; - zoneSymbolEventNames$1[eventName] = {}; - zoneSymbolEventNames$1[eventName][FALSE_STR] = symbol; - zoneSymbolEventNames$1[eventName][TRUE_STR] = symbolCapture; - } - - function patchEventTarget(_global, apis, patchOptions) { - var ADD_EVENT_LISTENER = patchOptions && patchOptions.add || ADD_EVENT_LISTENER_STR; - var REMOVE_EVENT_LISTENER = patchOptions && patchOptions.rm || REMOVE_EVENT_LISTENER_STR; - var LISTENERS_EVENT_LISTENER = patchOptions && patchOptions.listeners || 'eventListeners'; - var REMOVE_ALL_LISTENERS_EVENT_LISTENER = patchOptions && patchOptions.rmAll || 'removeAllListeners'; - var zoneSymbolAddEventListener = zoneSymbol(ADD_EVENT_LISTENER); - var ADD_EVENT_LISTENER_SOURCE = '.' + ADD_EVENT_LISTENER + ':'; - var PREPEND_EVENT_LISTENER = 'prependListener'; - var PREPEND_EVENT_LISTENER_SOURCE = '.' + PREPEND_EVENT_LISTENER + ':'; - - var invokeTask = function invokeTask(task, target, event) { - // for better performance, check isRemoved which is set - // by removeEventListener - if (task.isRemoved) { - return; - } - - var delegate = task.callback; - - if (typeof delegate === 'object' && delegate.handleEvent) { - // create the bind version of handleEvent when invoke - task.callback = function (event) { - return delegate.handleEvent(event); - }; - - task.originalDelegate = delegate; - } // invoke static task.invoke - - - task.invoke(task, target, [event]); - var options = task.options; - - if (options && typeof options === 'object' && options.once) { - // if options.once is true, after invoke once remove listener here - // only browser need to do this, nodejs eventEmitter will cal removeListener - // inside EventEmitter.once - var delegate_1 = task.originalDelegate ? task.originalDelegate : task.callback; - target[REMOVE_EVENT_LISTENER].call(target, event.type, delegate_1, options); - } - }; // global shared zoneAwareCallback to handle all event callback with capture = false - - - var globalZoneAwareCallback = function globalZoneAwareCallback(event) { - // https://github.com/angular/zone.js/issues/911, in IE, sometimes - // event will be undefined, so we need to use window.event - event = event || _global.event; - - if (!event) { - return; - } // event.target is needed for Samsung TV and SourceBuffer - // || global is needed https://github.com/angular/zone.js/issues/190 - - - var target = this || event.target || _global; - var tasks = target[zoneSymbolEventNames$1[event.type][FALSE_STR]]; - - if (tasks) { - // invoke all tasks which attached to current target with given event.type and capture = false - // for performance concern, if task.length === 1, just invoke - if (tasks.length === 1) { - invokeTask(tasks[0], target, event); - } else { - // https://github.com/angular/zone.js/issues/836 - // copy the tasks array before invoke, to avoid - // the callback will remove itself or other listener - var copyTasks = tasks.slice(); - - for (var i = 0; i < copyTasks.length; i++) { - if (event && event[IMMEDIATE_PROPAGATION_SYMBOL] === true) { - break; - } - - invokeTask(copyTasks[i], target, event); - } - } - } - }; // global shared zoneAwareCallback to handle all event callback with capture = true - - - var globalZoneAwareCaptureCallback = function globalZoneAwareCaptureCallback(event) { - // https://github.com/angular/zone.js/issues/911, in IE, sometimes - // event will be undefined, so we need to use window.event - event = event || _global.event; - - if (!event) { - return; - } // event.target is needed for Samsung TV and SourceBuffer - // || global is needed https://github.com/angular/zone.js/issues/190 - - - var target = this || event.target || _global; - var tasks = target[zoneSymbolEventNames$1[event.type][TRUE_STR]]; - - if (tasks) { - // invoke all tasks which attached to current target with given event.type and capture = false - // for performance concern, if task.length === 1, just invoke - if (tasks.length === 1) { - invokeTask(tasks[0], target, event); - } else { - // https://github.com/angular/zone.js/issues/836 - // copy the tasks array before invoke, to avoid - // the callback will remove itself or other listener - var copyTasks = tasks.slice(); - - for (var i = 0; i < copyTasks.length; i++) { - if (event && event[IMMEDIATE_PROPAGATION_SYMBOL] === true) { - break; - } - - invokeTask(copyTasks[i], target, event); - } - } - } - }; - - function patchEventTargetMethods(obj, patchOptions) { - if (!obj) { - return false; - } - - var useGlobalCallback = true; - - if (patchOptions && patchOptions.useG !== undefined) { - useGlobalCallback = patchOptions.useG; - } - - var validateHandler = patchOptions && patchOptions.vh; - var checkDuplicate = true; - - if (patchOptions && patchOptions.chkDup !== undefined) { - checkDuplicate = patchOptions.chkDup; - } - - var returnTarget = false; - - if (patchOptions && patchOptions.rt !== undefined) { - returnTarget = patchOptions.rt; - } - - var proto = obj; - - while (proto && !proto.hasOwnProperty(ADD_EVENT_LISTENER)) { - proto = ObjectGetPrototypeOf(proto); - } - - if (!proto && obj[ADD_EVENT_LISTENER]) { - // somehow we did not find it, but we can see it. This happens on IE for Window properties. - proto = obj; - } - - if (!proto) { - return false; - } - - if (proto[zoneSymbolAddEventListener]) { - return false; - } - - var eventNameToString = patchOptions && patchOptions.eventNameToString; // a shared global taskData to pass data for scheduleEventTask - // so we do not need to create a new object just for pass some data - - var taskData = {}; - var nativeAddEventListener = proto[zoneSymbolAddEventListener] = proto[ADD_EVENT_LISTENER]; - var nativeRemoveEventListener = proto[zoneSymbol(REMOVE_EVENT_LISTENER)] = proto[REMOVE_EVENT_LISTENER]; - var nativeListeners = proto[zoneSymbol(LISTENERS_EVENT_LISTENER)] = proto[LISTENERS_EVENT_LISTENER]; - var nativeRemoveAllListeners = proto[zoneSymbol(REMOVE_ALL_LISTENERS_EVENT_LISTENER)] = proto[REMOVE_ALL_LISTENERS_EVENT_LISTENER]; - var nativePrependEventListener; - - if (patchOptions && patchOptions.prepend) { - nativePrependEventListener = proto[zoneSymbol(patchOptions.prepend)] = proto[patchOptions.prepend]; - } - /** - * This util function will build an option object with passive option - * to handle all possible input from the user. - */ - - - function buildEventListenerOptions(options, passive) { - if (!passiveSupported && typeof options === 'object' && options) { - // doesn't support passive but user want to pass an object as options. - // this will not work on some old browser, so we just pass a boolean - // as useCapture parameter - return !!options.capture; - } - - if (!passiveSupported || !passive) { - return options; - } - - if (typeof options === 'boolean') { - return { - capture: options, - passive: true - }; - } - - if (!options) { - return { - passive: true - }; - } - - if (typeof options === 'object' && options.passive !== false) { - return Object.assign(Object.assign({}, options), { - passive: true - }); - } - - return options; - } - - var customScheduleGlobal = function customScheduleGlobal(task) { - // if there is already a task for the eventName + capture, - // just return, because we use the shared globalZoneAwareCallback here. - if (taskData.isExisting) { - return; - } - - return nativeAddEventListener.call(taskData.target, taskData.eventName, taskData.capture ? globalZoneAwareCaptureCallback : globalZoneAwareCallback, taskData.options); - }; - - var customCancelGlobal = function customCancelGlobal(task) { - // if task is not marked as isRemoved, this call is directly - // from Zone.prototype.cancelTask, we should remove the task - // from tasksList of target first - if (!task.isRemoved) { - var symbolEventNames = zoneSymbolEventNames$1[task.eventName]; - var symbolEventName = void 0; - - if (symbolEventNames) { - symbolEventName = symbolEventNames[task.capture ? TRUE_STR : FALSE_STR]; - } - - var existingTasks = symbolEventName && task.target[symbolEventName]; - - if (existingTasks) { - for (var i = 0; i < existingTasks.length; i++) { - var existingTask = existingTasks[i]; - - if (existingTask === task) { - existingTasks.splice(i, 1); // set isRemoved to data for faster invokeTask check - - task.isRemoved = true; - - if (existingTasks.length === 0) { - // all tasks for the eventName + capture have gone, - // remove globalZoneAwareCallback and remove the task cache from target - task.allRemoved = true; - task.target[symbolEventName] = null; - } - - break; - } - } - } - } // if all tasks for the eventName + capture have gone, - // we will really remove the global event callback, - // if not, return - - - if (!task.allRemoved) { - return; - } - - return nativeRemoveEventListener.call(task.target, task.eventName, task.capture ? globalZoneAwareCaptureCallback : globalZoneAwareCallback, task.options); - }; - - var customScheduleNonGlobal = function customScheduleNonGlobal(task) { - return nativeAddEventListener.call(taskData.target, taskData.eventName, task.invoke, taskData.options); - }; - - var customSchedulePrepend = function customSchedulePrepend(task) { - return nativePrependEventListener.call(taskData.target, taskData.eventName, task.invoke, taskData.options); - }; - - var customCancelNonGlobal = function customCancelNonGlobal(task) { - return nativeRemoveEventListener.call(task.target, task.eventName, task.invoke, task.options); - }; - - var customSchedule = useGlobalCallback ? customScheduleGlobal : customScheduleNonGlobal; - var customCancel = useGlobalCallback ? customCancelGlobal : customCancelNonGlobal; - - var compareTaskCallbackVsDelegate = function compareTaskCallbackVsDelegate(task, delegate) { - var typeOfDelegate = typeof delegate; - return typeOfDelegate === 'function' && task.callback === delegate || typeOfDelegate === 'object' && task.originalDelegate === delegate; - }; - - var compare = patchOptions && patchOptions.diff ? patchOptions.diff : compareTaskCallbackVsDelegate; - var unpatchedEvents = Zone[zoneSymbol('UNPATCHED_EVENTS')]; - - var passiveEvents = _global[zoneSymbol('PASSIVE_EVENTS')]; - - var makeAddListener = function makeAddListener(nativeListener, addSource, customScheduleFn, customCancelFn, returnTarget, prepend) { - if (returnTarget === void 0) { - returnTarget = false; - } - - if (prepend === void 0) { - prepend = false; - } - - return function () { - var target = this || _global; - var eventName = arguments[0]; - - if (patchOptions && patchOptions.transferEventName) { - eventName = patchOptions.transferEventName(eventName); - } - - var delegate = arguments[1]; - - if (!delegate) { - return nativeListener.apply(this, arguments); - } - - if (isNode && eventName === 'uncaughtException') { - // don't patch uncaughtException of nodejs to prevent endless loop - return nativeListener.apply(this, arguments); - } // don't create the bind delegate function for handleEvent - // case here to improve addEventListener performance - // we will create the bind delegate when invoke - - - var isHandleEvent = false; - - if (typeof delegate !== 'function') { - if (!delegate.handleEvent) { - return nativeListener.apply(this, arguments); - } - - isHandleEvent = true; - } - - if (validateHandler && !validateHandler(nativeListener, delegate, target, arguments)) { - return; - } - - var passive = passiveSupported && !!passiveEvents && passiveEvents.indexOf(eventName) !== -1; - var options = buildEventListenerOptions(arguments[2], passive); - - if (unpatchedEvents) { - // check upatched list - for (var i = 0; i < unpatchedEvents.length; i++) { - if (eventName === unpatchedEvents[i]) { - if (passive) { - return nativeListener.call(target, eventName, delegate, options); - } else { - return nativeListener.apply(this, arguments); - } - } - } - } - - var capture = !options ? false : typeof options === 'boolean' ? true : options.capture; - var once = options && typeof options === 'object' ? options.once : false; - var zone = Zone.current; - var symbolEventNames = zoneSymbolEventNames$1[eventName]; - - if (!symbolEventNames) { - prepareEventNames(eventName, eventNameToString); - symbolEventNames = zoneSymbolEventNames$1[eventName]; - } - - var symbolEventName = symbolEventNames[capture ? TRUE_STR : FALSE_STR]; - var existingTasks = target[symbolEventName]; - var isExisting = false; - - if (existingTasks) { - // already have task registered - isExisting = true; - - if (checkDuplicate) { - for (var i = 0; i < existingTasks.length; i++) { - if (compare(existingTasks[i], delegate)) { - // same callback, same capture, same event name, just return - return; - } - } - } - } else { - existingTasks = target[symbolEventName] = []; - } - - var source; - var constructorName = target.constructor['name']; - var targetSource = globalSources[constructorName]; - - if (targetSource) { - source = targetSource[eventName]; - } - - if (!source) { - source = constructorName + addSource + (eventNameToString ? eventNameToString(eventName) : eventName); - } // do not create a new object as task.data to pass those things - // just use the global shared one - - - taskData.options = options; - - if (once) { - // if addEventListener with once options, we don't pass it to - // native addEventListener, instead we keep the once setting - // and handle ourselves. - taskData.options.once = false; - } - - taskData.target = target; - taskData.capture = capture; - taskData.eventName = eventName; - taskData.isExisting = isExisting; - var data = useGlobalCallback ? OPTIMIZED_ZONE_EVENT_TASK_DATA : undefined; // keep taskData into data to allow onScheduleEventTask to access the task information - - if (data) { - data.taskData = taskData; - } - - var task = zone.scheduleEventTask(source, delegate, data, customScheduleFn, customCancelFn); // should clear taskData.target to avoid memory leak - // issue, https://github.com/angular/angular/issues/20442 - - taskData.target = null; // need to clear up taskData because it is a global object - - if (data) { - data.taskData = null; - } // have to save those information to task in case - // application may call task.zone.cancelTask() directly - - - if (once) { - options.once = true; - } - - if (!(!passiveSupported && typeof task.options === 'boolean')) { - // if not support passive, and we pass an option object - // to addEventListener, we should save the options to task - task.options = options; - } - - task.target = target; - task.capture = capture; - task.eventName = eventName; - - if (isHandleEvent) { - // save original delegate for compare to check duplicate - task.originalDelegate = delegate; - } - - if (!prepend) { - existingTasks.push(task); - } else { - existingTasks.unshift(task); - } - - if (returnTarget) { - return target; - } - }; - }; - - proto[ADD_EVENT_LISTENER] = makeAddListener(nativeAddEventListener, ADD_EVENT_LISTENER_SOURCE, customSchedule, customCancel, returnTarget); - - if (nativePrependEventListener) { - proto[PREPEND_EVENT_LISTENER] = makeAddListener(nativePrependEventListener, PREPEND_EVENT_LISTENER_SOURCE, customSchedulePrepend, customCancel, returnTarget, true); - } - - proto[REMOVE_EVENT_LISTENER] = function () { - var target = this || _global; - var eventName = arguments[0]; - - if (patchOptions && patchOptions.transferEventName) { - eventName = patchOptions.transferEventName(eventName); - } - - var options = arguments[2]; - var capture = !options ? false : typeof options === 'boolean' ? true : options.capture; - var delegate = arguments[1]; - - if (!delegate) { - return nativeRemoveEventListener.apply(this, arguments); - } - - if (validateHandler && !validateHandler(nativeRemoveEventListener, delegate, target, arguments)) { - return; - } - - var symbolEventNames = zoneSymbolEventNames$1[eventName]; - var symbolEventName; - - if (symbolEventNames) { - symbolEventName = symbolEventNames[capture ? TRUE_STR : FALSE_STR]; - } - - var existingTasks = symbolEventName && target[symbolEventName]; - - if (existingTasks) { - for (var i = 0; i < existingTasks.length; i++) { - var existingTask = existingTasks[i]; - - if (compare(existingTask, delegate)) { - existingTasks.splice(i, 1); // set isRemoved to data for faster invokeTask check - - existingTask.isRemoved = true; - - if (existingTasks.length === 0) { - // all tasks for the eventName + capture have gone, - // remove globalZoneAwareCallback and remove the task cache from target - existingTask.allRemoved = true; - target[symbolEventName] = null; // in the target, we have an event listener which is added by on_property - // such as target.onclick = function() {}, so we need to clear this internal - // property too if all delegates all removed - - if (typeof eventName === 'string') { - var onPropertySymbol = ZONE_SYMBOL_PREFIX + 'ON_PROPERTY' + eventName; - target[onPropertySymbol] = null; - } - } - - existingTask.zone.cancelTask(existingTask); - - if (returnTarget) { - return target; - } - - return; - } - } - } // issue 930, didn't find the event name or callback - // from zone kept existingTasks, the callback maybe - // added outside of zone, we need to call native removeEventListener - // to try to remove it. - - - return nativeRemoveEventListener.apply(this, arguments); - }; - - proto[LISTENERS_EVENT_LISTENER] = function () { - var target = this || _global; - var eventName = arguments[0]; - - if (patchOptions && patchOptions.transferEventName) { - eventName = patchOptions.transferEventName(eventName); - } - - var listeners = []; - var tasks = findEventTasks(target, eventNameToString ? eventNameToString(eventName) : eventName); - - for (var i = 0; i < tasks.length; i++) { - var task = tasks[i]; - var delegate = task.originalDelegate ? task.originalDelegate : task.callback; - listeners.push(delegate); - } - - return listeners; - }; - - proto[REMOVE_ALL_LISTENERS_EVENT_LISTENER] = function () { - var target = this || _global; - var eventName = arguments[0]; - - if (!eventName) { - var keys = Object.keys(target); - - for (var i = 0; i < keys.length; i++) { - var prop = keys[i]; - var match = EVENT_NAME_SYMBOL_REGX.exec(prop); - var evtName = match && match[1]; // in nodejs EventEmitter, removeListener event is - // used for monitoring the removeListener call, - // so just keep removeListener eventListener until - // all other eventListeners are removed - - if (evtName && evtName !== 'removeListener') { - this[REMOVE_ALL_LISTENERS_EVENT_LISTENER].call(this, evtName); - } - } // remove removeListener listener finally - - - this[REMOVE_ALL_LISTENERS_EVENT_LISTENER].call(this, 'removeListener'); - } else { - if (patchOptions && patchOptions.transferEventName) { - eventName = patchOptions.transferEventName(eventName); - } - - var symbolEventNames = zoneSymbolEventNames$1[eventName]; - - if (symbolEventNames) { - var symbolEventName = symbolEventNames[FALSE_STR]; - var symbolCaptureEventName = symbolEventNames[TRUE_STR]; - var tasks = target[symbolEventName]; - var captureTasks = target[symbolCaptureEventName]; - - if (tasks) { - var removeTasks = tasks.slice(); - - for (var i = 0; i < removeTasks.length; i++) { - var task = removeTasks[i]; - var delegate = task.originalDelegate ? task.originalDelegate : task.callback; - this[REMOVE_EVENT_LISTENER].call(this, eventName, delegate, task.options); - } - } - - if (captureTasks) { - var removeTasks = captureTasks.slice(); - - for (var i = 0; i < removeTasks.length; i++) { - var task = removeTasks[i]; - var delegate = task.originalDelegate ? task.originalDelegate : task.callback; - this[REMOVE_EVENT_LISTENER].call(this, eventName, delegate, task.options); - } - } - } - } - - if (returnTarget) { - return this; - } - }; // for native toString patch - - - attachOriginToPatched(proto[ADD_EVENT_LISTENER], nativeAddEventListener); - attachOriginToPatched(proto[REMOVE_EVENT_LISTENER], nativeRemoveEventListener); - - if (nativeRemoveAllListeners) { - attachOriginToPatched(proto[REMOVE_ALL_LISTENERS_EVENT_LISTENER], nativeRemoveAllListeners); - } - - if (nativeListeners) { - attachOriginToPatched(proto[LISTENERS_EVENT_LISTENER], nativeListeners); - } - - return true; - } - - var results = []; - - for (var i = 0; i < apis.length; i++) { - results[i] = patchEventTargetMethods(apis[i], patchOptions); - } - - return results; - } - - function findEventTasks(target, eventName) { - if (!eventName) { - var foundTasks = []; - - for (var prop in target) { - var match = EVENT_NAME_SYMBOL_REGX.exec(prop); - var evtName = match && match[1]; - - if (evtName && (!eventName || evtName === eventName)) { - var tasks = target[prop]; - - if (tasks) { - for (var i = 0; i < tasks.length; i++) { - foundTasks.push(tasks[i]); - } - } - } - } - - return foundTasks; - } - - var symbolEventName = zoneSymbolEventNames$1[eventName]; - - if (!symbolEventName) { - prepareEventNames(eventName); - symbolEventName = zoneSymbolEventNames$1[eventName]; - } - - var captureFalseTasks = target[symbolEventName[FALSE_STR]]; - var captureTrueTasks = target[symbolEventName[TRUE_STR]]; - - if (!captureFalseTasks) { - return captureTrueTasks ? captureTrueTasks.slice() : []; - } else { - return captureTrueTasks ? captureFalseTasks.concat(captureTrueTasks) : captureFalseTasks.slice(); - } - } - - function patchEventPrototype(global, api) { - var Event = global['Event']; - - if (Event && Event.prototype) { - api.patchMethod(Event.prototype, 'stopImmediatePropagation', function (delegate) { - return function (self, args) { - self[IMMEDIATE_PROPAGATION_SYMBOL] = true; // we need to call the native stopImmediatePropagation - // in case in some hybrid application, some part of - // application will be controlled by zone, some are not - - delegate && delegate.apply(self, args); - }; - }); - } - } - /** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - - function patchCallbacks(api, target, targetName, method, callbacks) { - var symbol = Zone.__symbol__(method); - - if (target[symbol]) { - return; - } - - var nativeDelegate = target[symbol] = target[method]; - - target[method] = function (name, opts, options) { - if (opts && opts.prototype) { - callbacks.forEach(function (callback) { - var source = targetName + "." + method + "::" + callback; - var prototype = opts.prototype; - - if (prototype.hasOwnProperty(callback)) { - var descriptor = api.ObjectGetOwnPropertyDescriptor(prototype, callback); - - if (descriptor && descriptor.value) { - descriptor.value = api.wrapWithCurrentZone(descriptor.value, source); - - api._redefineProperty(opts.prototype, callback, descriptor); - } else if (prototype[callback]) { - prototype[callback] = api.wrapWithCurrentZone(prototype[callback], source); - } - } else if (prototype[callback]) { - prototype[callback] = api.wrapWithCurrentZone(prototype[callback], source); - } - }); - } - - return nativeDelegate.call(target, name, opts, options); - }; - - api.attachOriginToPatched(target[method], nativeDelegate); - } - /** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - - var globalEventHandlersEventNames = ['abort', 'animationcancel', 'animationend', 'animationiteration', 'auxclick', 'beforeinput', 'blur', 'cancel', 'canplay', 'canplaythrough', 'change', 'compositionstart', 'compositionupdate', 'compositionend', 'cuechange', 'click', 'close', 'contextmenu', 'curechange', 'dblclick', 'drag', 'dragend', 'dragenter', 'dragexit', 'dragleave', 'dragover', 'drop', 'durationchange', 'emptied', 'ended', 'error', 'focus', 'focusin', 'focusout', 'gotpointercapture', 'input', 'invalid', 'keydown', 'keypress', 'keyup', 'load', 'loadstart', 'loadeddata', 'loadedmetadata', 'lostpointercapture', 'mousedown', 'mouseenter', 'mouseleave', 'mousemove', 'mouseout', 'mouseover', 'mouseup', 'mousewheel', 'orientationchange', 'pause', 'play', 'playing', 'pointercancel', 'pointerdown', 'pointerenter', 'pointerleave', 'pointerlockchange', 'mozpointerlockchange', 'webkitpointerlockerchange', 'pointerlockerror', 'mozpointerlockerror', 'webkitpointerlockerror', 'pointermove', 'pointout', 'pointerover', 'pointerup', 'progress', 'ratechange', 'reset', 'resize', 'scroll', 'seeked', 'seeking', 'select', 'selectionchange', 'selectstart', 'show', 'sort', 'stalled', 'submit', 'suspend', 'timeupdate', 'volumechange', 'touchcancel', 'touchmove', 'touchstart', 'touchend', 'transitioncancel', 'transitionend', 'waiting', 'wheel']; - var documentEventNames = ['afterscriptexecute', 'beforescriptexecute', 'DOMContentLoaded', 'freeze', 'fullscreenchange', 'mozfullscreenchange', 'webkitfullscreenchange', 'msfullscreenchange', 'fullscreenerror', 'mozfullscreenerror', 'webkitfullscreenerror', 'msfullscreenerror', 'readystatechange', 'visibilitychange', 'resume']; - var windowEventNames = ['absolutedeviceorientation', 'afterinput', 'afterprint', 'appinstalled', 'beforeinstallprompt', 'beforeprint', 'beforeunload', 'devicelight', 'devicemotion', 'deviceorientation', 'deviceorientationabsolute', 'deviceproximity', 'hashchange', 'languagechange', 'message', 'mozbeforepaint', 'offline', 'online', 'paint', 'pageshow', 'pagehide', 'popstate', 'rejectionhandled', 'storage', 'unhandledrejection', 'unload', 'userproximity', 'vrdisplayconnected', 'vrdisplaydisconnected', 'vrdisplaypresentchange']; - var htmlElementEventNames = ['beforecopy', 'beforecut', 'beforepaste', 'copy', 'cut', 'paste', 'dragstart', 'loadend', 'animationstart', 'search', 'transitionrun', 'transitionstart', 'webkitanimationend', 'webkitanimationiteration', 'webkitanimationstart', 'webkittransitionend']; - var mediaElementEventNames = ['encrypted', 'waitingforkey', 'msneedkey', 'mozinterruptbegin', 'mozinterruptend']; - var ieElementEventNames = ['activate', 'afterupdate', 'ariarequest', 'beforeactivate', 'beforedeactivate', 'beforeeditfocus', 'beforeupdate', 'cellchange', 'controlselect', 'dataavailable', 'datasetchanged', 'datasetcomplete', 'errorupdate', 'filterchange', 'layoutcomplete', 'losecapture', 'move', 'moveend', 'movestart', 'propertychange', 'resizeend', 'resizestart', 'rowenter', 'rowexit', 'rowsdelete', 'rowsinserted', 'command', 'compassneedscalibration', 'deactivate', 'help', 'mscontentzoom', 'msmanipulationstatechanged', 'msgesturechange', 'msgesturedoubletap', 'msgestureend', 'msgesturehold', 'msgesturestart', 'msgesturetap', 'msgotpointercapture', 'msinertiastart', 'mslostpointercapture', 'mspointercancel', 'mspointerdown', 'mspointerenter', 'mspointerhover', 'mspointerleave', 'mspointermove', 'mspointerout', 'mspointerover', 'mspointerup', 'pointerout', 'mssitemodejumplistitemremoved', 'msthumbnailclick', 'stop', 'storagecommit']; - var webglEventNames = ['webglcontextrestored', 'webglcontextlost', 'webglcontextcreationerror']; - var formEventNames = ['autocomplete', 'autocompleteerror']; - var detailEventNames = ['toggle']; - var frameEventNames = ['load']; - var frameSetEventNames = ['blur', 'error', 'focus', 'load', 'resize', 'scroll', 'messageerror']; - var marqueeEventNames = ['bounce', 'finish', 'start']; - var XMLHttpRequestEventNames = ['loadstart', 'progress', 'abort', 'error', 'load', 'progress', 'timeout', 'loadend', 'readystatechange']; - var IDBIndexEventNames = ['upgradeneeded', 'complete', 'abort', 'success', 'error', 'blocked', 'versionchange', 'close']; - var websocketEventNames = ['close', 'error', 'open', 'message']; - var workerEventNames = ['error', 'message']; - var eventNames = globalEventHandlersEventNames.concat(webglEventNames, formEventNames, detailEventNames, documentEventNames, windowEventNames, htmlElementEventNames, ieElementEventNames); - - function filterProperties(target, onProperties, ignoreProperties) { - if (!ignoreProperties || ignoreProperties.length === 0) { - return onProperties; - } - - var tip = ignoreProperties.filter(function (ip) { - return ip.target === target; - }); - - if (!tip || tip.length === 0) { - return onProperties; - } - - var targetIgnoreProperties = tip[0].ignoreProperties; - return onProperties.filter(function (op) { - return targetIgnoreProperties.indexOf(op) === -1; - }); - } - - function patchFilteredProperties(target, onProperties, ignoreProperties, prototype) { - // check whether target is available, sometimes target will be undefined - // because different browser or some 3rd party plugin. - if (!target) { - return; - } - - var filteredProperties = filterProperties(target, onProperties, ignoreProperties); - patchOnProperties(target, filteredProperties, prototype); - } - - function propertyDescriptorPatch(api, _global) { - if (isNode && !isMix) { - return; - } - - if (Zone[api.symbol('patchEvents')]) { - // events are already been patched by legacy patch. - return; - } - - var supportsWebSocket = typeof WebSocket !== 'undefined'; - var ignoreProperties = _global['__Zone_ignore_on_properties']; // for browsers that we can patch the descriptor: Chrome & Firefox - - if (isBrowser) { - var internalWindow_1 = window; - var ignoreErrorProperties = isIE() ? [{ - target: internalWindow_1, - ignoreProperties: ['error'] - }] : []; // in IE/Edge, onProp not exist in window object, but in WindowPrototype - // so we need to pass WindowPrototype to check onProp exist or not - - patchFilteredProperties(internalWindow_1, eventNames.concat(['messageerror']), ignoreProperties ? ignoreProperties.concat(ignoreErrorProperties) : ignoreProperties, ObjectGetPrototypeOf(internalWindow_1)); - patchFilteredProperties(Document.prototype, eventNames, ignoreProperties); - - if (typeof internalWindow_1['SVGElement'] !== 'undefined') { - patchFilteredProperties(internalWindow_1['SVGElement'].prototype, eventNames, ignoreProperties); - } - - patchFilteredProperties(Element.prototype, eventNames, ignoreProperties); - patchFilteredProperties(HTMLElement.prototype, eventNames, ignoreProperties); - patchFilteredProperties(HTMLMediaElement.prototype, mediaElementEventNames, ignoreProperties); - patchFilteredProperties(HTMLFrameSetElement.prototype, windowEventNames.concat(frameSetEventNames), ignoreProperties); - patchFilteredProperties(HTMLBodyElement.prototype, windowEventNames.concat(frameSetEventNames), ignoreProperties); - patchFilteredProperties(HTMLFrameElement.prototype, frameEventNames, ignoreProperties); - patchFilteredProperties(HTMLIFrameElement.prototype, frameEventNames, ignoreProperties); - var HTMLMarqueeElement_1 = internalWindow_1['HTMLMarqueeElement']; - - if (HTMLMarqueeElement_1) { - patchFilteredProperties(HTMLMarqueeElement_1.prototype, marqueeEventNames, ignoreProperties); - } - - var Worker_1 = internalWindow_1['Worker']; - - if (Worker_1) { - patchFilteredProperties(Worker_1.prototype, workerEventNames, ignoreProperties); - } - } - - var XMLHttpRequest = _global['XMLHttpRequest']; - - if (XMLHttpRequest) { - // XMLHttpRequest is not available in ServiceWorker, so we need to check here - patchFilteredProperties(XMLHttpRequest.prototype, XMLHttpRequestEventNames, ignoreProperties); - } - - var XMLHttpRequestEventTarget = _global['XMLHttpRequestEventTarget']; - - if (XMLHttpRequestEventTarget) { - patchFilteredProperties(XMLHttpRequestEventTarget && XMLHttpRequestEventTarget.prototype, XMLHttpRequestEventNames, ignoreProperties); - } - - if (typeof IDBIndex !== 'undefined') { - patchFilteredProperties(IDBIndex.prototype, IDBIndexEventNames, ignoreProperties); - patchFilteredProperties(IDBRequest.prototype, IDBIndexEventNames, ignoreProperties); - patchFilteredProperties(IDBOpenDBRequest.prototype, IDBIndexEventNames, ignoreProperties); - patchFilteredProperties(IDBDatabase.prototype, IDBIndexEventNames, ignoreProperties); - patchFilteredProperties(IDBTransaction.prototype, IDBIndexEventNames, ignoreProperties); - patchFilteredProperties(IDBCursor.prototype, IDBIndexEventNames, ignoreProperties); - } - - if (supportsWebSocket) { - patchFilteredProperties(WebSocket.prototype, websocketEventNames, ignoreProperties); - } - } - /** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - - Zone.__load_patch('util', function (global, Zone, api) { - api.patchOnProperties = patchOnProperties; - api.patchMethod = patchMethod; - api.bindArguments = bindArguments; - api.patchMacroTask = patchMacroTask; // In earlier version of zone.js (<0.9.0), we use env name `__zone_symbol__BLACK_LISTED_EVENTS` to - // define which events will not be patched by `Zone.js`. - // In newer version (>=0.9.0), we change the env name to `__zone_symbol__UNPATCHED_EVENTS` to keep - // the name consistent with angular repo. - // The `__zone_symbol__BLACK_LISTED_EVENTS` is deprecated, but it is still be supported for - // backwards compatibility. - - var SYMBOL_BLACK_LISTED_EVENTS = Zone.__symbol__('BLACK_LISTED_EVENTS'); - - var SYMBOL_UNPATCHED_EVENTS = Zone.__symbol__('UNPATCHED_EVENTS'); - - if (global[SYMBOL_UNPATCHED_EVENTS]) { - global[SYMBOL_BLACK_LISTED_EVENTS] = global[SYMBOL_UNPATCHED_EVENTS]; - } - - if (global[SYMBOL_BLACK_LISTED_EVENTS]) { - Zone[SYMBOL_BLACK_LISTED_EVENTS] = Zone[SYMBOL_UNPATCHED_EVENTS] = global[SYMBOL_BLACK_LISTED_EVENTS]; - } - - api.patchEventPrototype = patchEventPrototype; - api.patchEventTarget = patchEventTarget; - api.isIEOrEdge = isIEOrEdge; - api.ObjectDefineProperty = ObjectDefineProperty; - api.ObjectGetOwnPropertyDescriptor = ObjectGetOwnPropertyDescriptor; - api.ObjectCreate = ObjectCreate; - api.ArraySlice = ArraySlice; - api.patchClass = patchClass; - api.wrapWithCurrentZone = wrapWithCurrentZone; - api.filterProperties = filterProperties; - api.attachOriginToPatched = attachOriginToPatched; - api._redefineProperty = Object.defineProperty; - api.patchCallbacks = patchCallbacks; - - api.getGlobalObjects = function () { - return { - globalSources: globalSources, - zoneSymbolEventNames: zoneSymbolEventNames$1, - eventNames: eventNames, - isBrowser: isBrowser, - isMix: isMix, - isNode: isNode, - TRUE_STR: TRUE_STR, - FALSE_STR: FALSE_STR, - ZONE_SYMBOL_PREFIX: ZONE_SYMBOL_PREFIX, - ADD_EVENT_LISTENER_STR: ADD_EVENT_LISTENER_STR, - REMOVE_EVENT_LISTENER_STR: REMOVE_EVENT_LISTENER_STR - }; - }; - }); - /** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - /* - * This is necessary for Chrome and Chrome mobile, to enable - * things like redefining `createdCallback` on an element. - */ - - - var zoneSymbol$1; - - var _defineProperty; - - var _getOwnPropertyDescriptor; - - var _create; - - var unconfigurablesKey; - - function propertyPatch() { - zoneSymbol$1 = Zone.__symbol__; - _defineProperty = Object[zoneSymbol$1('defineProperty')] = Object.defineProperty; - _getOwnPropertyDescriptor = Object[zoneSymbol$1('getOwnPropertyDescriptor')] = Object.getOwnPropertyDescriptor; - _create = Object.create; - unconfigurablesKey = zoneSymbol$1('unconfigurables'); - - Object.defineProperty = function (obj, prop, desc) { - if (isUnconfigurable(obj, prop)) { - throw new TypeError('Cannot assign to read only property \'' + prop + '\' of ' + obj); - } - - var originalConfigurableFlag = desc.configurable; - - if (prop !== 'prototype') { - desc = rewriteDescriptor(obj, prop, desc); - } - - return _tryDefineProperty(obj, prop, desc, originalConfigurableFlag); - }; - - Object.defineProperties = function (obj, props) { - Object.keys(props).forEach(function (prop) { - Object.defineProperty(obj, prop, props[prop]); - }); - return obj; - }; - - Object.create = function (obj, proto) { - if (typeof proto === 'object' && !Object.isFrozen(proto)) { - Object.keys(proto).forEach(function (prop) { - proto[prop] = rewriteDescriptor(obj, prop, proto[prop]); - }); - } - - return _create(obj, proto); - }; - - Object.getOwnPropertyDescriptor = function (obj, prop) { - var desc = _getOwnPropertyDescriptor(obj, prop); - - if (desc && isUnconfigurable(obj, prop)) { - desc.configurable = false; - } - - return desc; - }; - } - - function _redefineProperty(obj, prop, desc) { - var originalConfigurableFlag = desc.configurable; - desc = rewriteDescriptor(obj, prop, desc); - return _tryDefineProperty(obj, prop, desc, originalConfigurableFlag); - } - - function isUnconfigurable(obj, prop) { - return obj && obj[unconfigurablesKey] && obj[unconfigurablesKey][prop]; - } - - function rewriteDescriptor(obj, prop, desc) { - // issue-927, if the desc is frozen, don't try to change the desc - if (!Object.isFrozen(desc)) { - desc.configurable = true; - } - - if (!desc.configurable) { - // issue-927, if the obj is frozen, don't try to set the desc to obj - if (!obj[unconfigurablesKey] && !Object.isFrozen(obj)) { - _defineProperty(obj, unconfigurablesKey, { - writable: true, - value: {} - }); - } - - if (obj[unconfigurablesKey]) { - obj[unconfigurablesKey][prop] = true; - } - } - - return desc; - } - - function _tryDefineProperty(obj, prop, desc, originalConfigurableFlag) { - try { - return _defineProperty(obj, prop, desc); - } catch (error) { - if (desc.configurable) { - // In case of errors, when the configurable flag was likely set by rewriteDescriptor(), let's - // retry with the original flag value - if (typeof originalConfigurableFlag == 'undefined') { - delete desc.configurable; - } else { - desc.configurable = originalConfigurableFlag; - } - - try { - return _defineProperty(obj, prop, desc); - } catch (error) { - var swallowError = false; - - if (prop === 'createdCallback' || prop === 'attachedCallback' || prop === 'detachedCallback' || prop === 'attributeChangedCallback') { - // We only swallow the error in registerElement patch - // this is the work around since some applications - // fail if we throw the error - swallowError = true; - } - - if (!swallowError) { - throw error; - } // TODO: @JiaLiPassion, Some application such as `registerElement` patch - // still need to swallow the error, in the future after these applications - // are updated, the following logic can be removed. - - - var descJson = null; - - try { - descJson = JSON.stringify(desc); - } catch (error) { - descJson = desc.toString(); - } - - console.log("Attempting to configure '" + prop + "' with descriptor '" + descJson + "' on object '" + obj + "' and got error, giving up: " + error); - } - } else { - throw error; - } - } - } - /** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - - function eventTargetLegacyPatch(_global, api) { - var _a = api.getGlobalObjects(), - eventNames = _a.eventNames, - globalSources = _a.globalSources, - zoneSymbolEventNames = _a.zoneSymbolEventNames, - TRUE_STR = _a.TRUE_STR, - FALSE_STR = _a.FALSE_STR, - ZONE_SYMBOL_PREFIX = _a.ZONE_SYMBOL_PREFIX; - - var WTF_ISSUE_555 = 'Anchor,Area,Audio,BR,Base,BaseFont,Body,Button,Canvas,Content,DList,Directory,Div,Embed,FieldSet,Font,Form,Frame,FrameSet,HR,Head,Heading,Html,IFrame,Image,Input,Keygen,LI,Label,Legend,Link,Map,Marquee,Media,Menu,Meta,Meter,Mod,OList,Object,OptGroup,Option,Output,Paragraph,Pre,Progress,Quote,Script,Select,Source,Span,Style,TableCaption,TableCell,TableCol,Table,TableRow,TableSection,TextArea,Title,Track,UList,Unknown,Video'; - var NO_EVENT_TARGET = 'ApplicationCache,EventSource,FileReader,InputMethodContext,MediaController,MessagePort,Node,Performance,SVGElementInstance,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebKitNamedFlow,Window,Worker,WorkerGlobalScope,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload,IDBRequest,IDBOpenDBRequest,IDBDatabase,IDBTransaction,IDBCursor,DBIndex,WebSocket'.split(','); - var EVENT_TARGET = 'EventTarget'; - var apis = []; - var isWtf = _global['wtf']; - var WTF_ISSUE_555_ARRAY = WTF_ISSUE_555.split(','); - - if (isWtf) { - // Workaround for: https://github.com/google/tracing-framework/issues/555 - apis = WTF_ISSUE_555_ARRAY.map(function (v) { - return 'HTML' + v + 'Element'; - }).concat(NO_EVENT_TARGET); - } else if (_global[EVENT_TARGET]) { - apis.push(EVENT_TARGET); - } else { - // Note: EventTarget is not available in all browsers, - // if it's not available, we instead patch the APIs in the IDL that inherit from EventTarget - apis = NO_EVENT_TARGET; - } - - var isDisableIECheck = _global['__Zone_disable_IE_check'] || false; - var isEnableCrossContextCheck = _global['__Zone_enable_cross_context_check'] || false; - var ieOrEdge = api.isIEOrEdge(); - var ADD_EVENT_LISTENER_SOURCE = '.addEventListener:'; - var FUNCTION_WRAPPER = '[object FunctionWrapper]'; - var BROWSER_TOOLS = 'function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }'; - var pointerEventsMap = { - 'MSPointerCancel': 'pointercancel', - 'MSPointerDown': 'pointerdown', - 'MSPointerEnter': 'pointerenter', - 'MSPointerHover': 'pointerhover', - 'MSPointerLeave': 'pointerleave', - 'MSPointerMove': 'pointermove', - 'MSPointerOut': 'pointerout', - 'MSPointerOver': 'pointerover', - 'MSPointerUp': 'pointerup' - }; // predefine all __zone_symbol__ + eventName + true/false string - - for (var i = 0; i < eventNames.length; i++) { - var eventName = eventNames[i]; - var falseEventName = eventName + FALSE_STR; - var trueEventName = eventName + TRUE_STR; - var symbol = ZONE_SYMBOL_PREFIX + falseEventName; - var symbolCapture = ZONE_SYMBOL_PREFIX + trueEventName; - zoneSymbolEventNames[eventName] = {}; - zoneSymbolEventNames[eventName][FALSE_STR] = symbol; - zoneSymbolEventNames[eventName][TRUE_STR] = symbolCapture; - } // predefine all task.source string - - - for (var i = 0; i < WTF_ISSUE_555_ARRAY.length; i++) { - var target = WTF_ISSUE_555_ARRAY[i]; - var targets = globalSources[target] = {}; - - for (var j = 0; j < eventNames.length; j++) { - var eventName = eventNames[j]; - targets[eventName] = target + ADD_EVENT_LISTENER_SOURCE + eventName; - } - } - - var checkIEAndCrossContext = function checkIEAndCrossContext(nativeDelegate, delegate, target, args) { - if (!isDisableIECheck && ieOrEdge) { - if (isEnableCrossContextCheck) { - try { - var testString = delegate.toString(); - - if (testString === FUNCTION_WRAPPER || testString == BROWSER_TOOLS) { - nativeDelegate.apply(target, args); - return false; - } - } catch (error) { - nativeDelegate.apply(target, args); - return false; - } - } else { - var testString = delegate.toString(); - - if (testString === FUNCTION_WRAPPER || testString == BROWSER_TOOLS) { - nativeDelegate.apply(target, args); - return false; - } - } - } else if (isEnableCrossContextCheck) { - try { - delegate.toString(); - } catch (error) { - nativeDelegate.apply(target, args); - return false; - } - } - - return true; - }; - - var apiTypes = []; - - for (var i = 0; i < apis.length; i++) { - var type = _global[apis[i]]; - apiTypes.push(type && type.prototype); - } // vh is validateHandler to check event handler - // is valid or not(for security check) - - - api.patchEventTarget(_global, apiTypes, { - vh: checkIEAndCrossContext, - transferEventName: function transferEventName(eventName) { - var pointerEventName = pointerEventsMap[eventName]; - return pointerEventName || eventName; - } - }); - Zone[api.symbol('patchEventTarget')] = !!_global[EVENT_TARGET]; - return true; - } - /** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - // we have to patch the instance since the proto is non-configurable - - - function apply(api, _global) { - var _a = api.getGlobalObjects(), - ADD_EVENT_LISTENER_STR = _a.ADD_EVENT_LISTENER_STR, - REMOVE_EVENT_LISTENER_STR = _a.REMOVE_EVENT_LISTENER_STR; - - var WS = _global.WebSocket; // On Safari window.EventTarget doesn't exist so need to patch WS add/removeEventListener - // On older Chrome, no need since EventTarget was already patched - - if (!_global.EventTarget) { - api.patchEventTarget(_global, [WS.prototype]); - } - - _global.WebSocket = function (x, y) { - var socket = arguments.length > 1 ? new WS(x, y) : new WS(x); - var proxySocket; - var proxySocketProto; // Safari 7.0 has non-configurable own 'onmessage' and friends properties on the socket instance - - var onmessageDesc = api.ObjectGetOwnPropertyDescriptor(socket, 'onmessage'); - - if (onmessageDesc && onmessageDesc.configurable === false) { - proxySocket = api.ObjectCreate(socket); // socket have own property descriptor 'onopen', 'onmessage', 'onclose', 'onerror' - // but proxySocket not, so we will keep socket as prototype and pass it to - // patchOnProperties method - - proxySocketProto = socket; - [ADD_EVENT_LISTENER_STR, REMOVE_EVENT_LISTENER_STR, 'send', 'close'].forEach(function (propName) { - proxySocket[propName] = function () { - var args = api.ArraySlice.call(arguments); - - if (propName === ADD_EVENT_LISTENER_STR || propName === REMOVE_EVENT_LISTENER_STR) { - var eventName = args.length > 0 ? args[0] : undefined; - - if (eventName) { - var propertySymbol = Zone.__symbol__('ON_PROPERTY' + eventName); - - socket[propertySymbol] = proxySocket[propertySymbol]; - } - } - - return socket[propName].apply(socket, args); - }; - }); - } else { - // we can patch the real socket - proxySocket = socket; - } - - api.patchOnProperties(proxySocket, ['close', 'error', 'message', 'open'], proxySocketProto); - return proxySocket; - }; - - var globalWebSocket = _global['WebSocket']; - - for (var prop in WS) { - globalWebSocket[prop] = WS[prop]; - } - } - /** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - - function propertyDescriptorLegacyPatch(api, _global) { - var _a = api.getGlobalObjects(), - isNode = _a.isNode, - isMix = _a.isMix; - - if (isNode && !isMix) { - return; - } - - if (!canPatchViaPropertyDescriptor(api, _global)) { - var supportsWebSocket = typeof WebSocket !== 'undefined'; // Safari, Android browsers (Jelly Bean) - - patchViaCapturingAllTheEvents(api); - api.patchClass('XMLHttpRequest'); - - if (supportsWebSocket) { - apply(api, _global); - } - - Zone[api.symbol('patchEvents')] = true; - } - } - - function canPatchViaPropertyDescriptor(api, _global) { - var _a = api.getGlobalObjects(), - isBrowser = _a.isBrowser, - isMix = _a.isMix; - - if ((isBrowser || isMix) && !api.ObjectGetOwnPropertyDescriptor(HTMLElement.prototype, 'onclick') && typeof Element !== 'undefined') { - // WebKit https://bugs.webkit.org/show_bug.cgi?id=134364 - // IDL interface attributes are not configurable - var desc = api.ObjectGetOwnPropertyDescriptor(Element.prototype, 'onclick'); - if (desc && !desc.configurable) return false; // try to use onclick to detect whether we can patch via propertyDescriptor - // because XMLHttpRequest is not available in service worker - - if (desc) { - api.ObjectDefineProperty(Element.prototype, 'onclick', { - enumerable: true, - configurable: true, - get: function get() { - return true; - } - }); - var div = document.createElement('div'); - var result = !!div.onclick; - api.ObjectDefineProperty(Element.prototype, 'onclick', desc); - return result; - } - } - - var XMLHttpRequest = _global['XMLHttpRequest']; - - if (!XMLHttpRequest) { - // XMLHttpRequest is not available in service worker - return false; - } - - var ON_READY_STATE_CHANGE = 'onreadystatechange'; - var XMLHttpRequestPrototype = XMLHttpRequest.prototype; - var xhrDesc = api.ObjectGetOwnPropertyDescriptor(XMLHttpRequestPrototype, ON_READY_STATE_CHANGE); // add enumerable and configurable here because in opera - // by default XMLHttpRequest.prototype.onreadystatechange is undefined - // without adding enumerable and configurable will cause onreadystatechange - // non-configurable - // and if XMLHttpRequest.prototype.onreadystatechange is undefined, - // we should set a real desc instead a fake one - - if (xhrDesc) { - api.ObjectDefineProperty(XMLHttpRequestPrototype, ON_READY_STATE_CHANGE, { - enumerable: true, - configurable: true, - get: function get() { - return true; - } - }); - var req = new XMLHttpRequest(); - var result = !!req.onreadystatechange; // restore original desc - - api.ObjectDefineProperty(XMLHttpRequestPrototype, ON_READY_STATE_CHANGE, xhrDesc || {}); - return result; - } else { - var SYMBOL_FAKE_ONREADYSTATECHANGE_1 = api.symbol('fake'); - api.ObjectDefineProperty(XMLHttpRequestPrototype, ON_READY_STATE_CHANGE, { - enumerable: true, - configurable: true, - get: function get() { - return this[SYMBOL_FAKE_ONREADYSTATECHANGE_1]; - }, - set: function set(value) { - this[SYMBOL_FAKE_ONREADYSTATECHANGE_1] = value; - } - }); - var req = new XMLHttpRequest(); - - var detectFunc = function detectFunc() {}; - - req.onreadystatechange = detectFunc; - var result = req[SYMBOL_FAKE_ONREADYSTATECHANGE_1] === detectFunc; - req.onreadystatechange = null; - return result; - } - } // Whenever any eventListener fires, we check the eventListener target and all parents - // for `onwhatever` properties and replace them with zone-bound functions - // - Chrome (for now) - - - function patchViaCapturingAllTheEvents(api) { - var eventNames = api.getGlobalObjects().eventNames; - var unboundKey = api.symbol('unbound'); - - var _loop_4 = function _loop_4(i) { - var property = eventNames[i]; - var onproperty = 'on' + property; - self.addEventListener(property, function (event) { - var elt = event.target, - bound, - source; - - if (elt) { - source = elt.constructor['name'] + '.' + onproperty; - } else { - source = 'unknown.' + onproperty; - } - - while (elt) { - if (elt[onproperty] && !elt[onproperty][unboundKey]) { - bound = api.wrapWithCurrentZone(elt[onproperty], source); - bound[unboundKey] = elt[onproperty]; - elt[onproperty] = bound; - } - - elt = elt.parentElement; - } - }, true); - }; - - for (var i = 0; i < eventNames.length; i++) { - _loop_4(i); - } - } - /** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - - function registerElementPatch(_global, api) { - var _a = api.getGlobalObjects(), - isBrowser = _a.isBrowser, - isMix = _a.isMix; - - if (!isBrowser && !isMix || !('registerElement' in _global.document)) { - return; - } - - var callbacks = ['createdCallback', 'attachedCallback', 'detachedCallback', 'attributeChangedCallback']; - api.patchCallbacks(api, document, 'Document', 'registerElement', callbacks); - } - /** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - - (function (_global) { - var symbolPrefix = _global['__Zone_symbol_prefix'] || '__zone_symbol__'; - - function __symbol__(name) { - return symbolPrefix + name; - } - - _global[__symbol__('legacyPatch')] = function () { - var Zone = _global['Zone']; - - Zone.__load_patch('defineProperty', function (global, Zone, api) { - api._redefineProperty = _redefineProperty; - propertyPatch(); - }); - - Zone.__load_patch('registerElement', function (global, Zone, api) { - registerElementPatch(global, api); - }); - - Zone.__load_patch('EventTargetLegacy', function (global, Zone, api) { - eventTargetLegacyPatch(global, api); - propertyDescriptorLegacyPatch(api, global); - }); - }; - })(typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {}); - /** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - - var taskSymbol = zoneSymbol('zoneTask'); - - function patchTimer(window, setName, cancelName, nameSuffix) { - var setNative = null; - var clearNative = null; - setName += nameSuffix; - cancelName += nameSuffix; - var tasksByHandleId = {}; - - function scheduleTask(task) { - var data = task.data; - - data.args[0] = function () { - return task.invoke.apply(this, arguments); - }; - - data.handleId = setNative.apply(window, data.args); - return task; - } - - function clearTask(task) { - return clearNative.call(window, task.data.handleId); - } - - setNative = patchMethod(window, setName, function (delegate) { - return function (self, args) { - if (typeof args[0] === 'function') { - var options_1 = { - isPeriodic: nameSuffix === 'Interval', - delay: nameSuffix === 'Timeout' || nameSuffix === 'Interval' ? args[1] || 0 : undefined, - args: args - }; - var callback_1 = args[0]; - - args[0] = function timer() { - try { - return callback_1.apply(this, arguments); - } finally { - // issue-934, task will be cancelled - // even it is a periodic task such as - // setInterval - // https://github.com/angular/angular/issues/40387 - // Cleanup tasksByHandleId should be handled before scheduleTask - // Since some zoneSpec may intercept and doesn't trigger - // scheduleFn(scheduleTask) provided here. - if (!options_1.isPeriodic) { - if (typeof options_1.handleId === 'number') { - // in non-nodejs env, we remove timerId - // from local cache - delete tasksByHandleId[options_1.handleId]; - } else if (options_1.handleId) { - // Node returns complex objects as handleIds - // we remove task reference from timer object - options_1.handleId[taskSymbol] = null; - } - } - } - }; - - var task = scheduleMacroTaskWithCurrentZone(setName, args[0], options_1, scheduleTask, clearTask); - - if (!task) { - return task; - } // Node.js must additionally support the ref and unref functions. - - - var handle = task.data.handleId; - - if (typeof handle === 'number') { - // for non nodejs env, we save handleId: task - // mapping in local cache for clearTimeout - tasksByHandleId[handle] = task; - } else if (handle) { - // for nodejs env, we save task - // reference in timerId Object for clearTimeout - handle[taskSymbol] = task; - } // check whether handle is null, because some polyfill or browser - // may return undefined from setTimeout/setInterval/setImmediate/requestAnimationFrame - - - if (handle && handle.ref && handle.unref && typeof handle.ref === 'function' && typeof handle.unref === 'function') { - task.ref = handle.ref.bind(handle); - task.unref = handle.unref.bind(handle); - } - - if (typeof handle === 'number' || handle) { - return handle; - } - - return task; - } else { - // cause an error by calling it directly. - return delegate.apply(window, args); - } - }; - }); - clearNative = patchMethod(window, cancelName, function (delegate) { - return function (self, args) { - var id = args[0]; - var task; - - if (typeof id === 'number') { - // non nodejs env. - task = tasksByHandleId[id]; - } else { - // nodejs env. - task = id && id[taskSymbol]; // other environments. - - if (!task) { - task = id; - } - } - - if (task && typeof task.type === 'string') { - if (task.state !== 'notScheduled' && (task.cancelFn && task.data.isPeriodic || task.runCount === 0)) { - if (typeof id === 'number') { - delete tasksByHandleId[id]; - } else if (id) { - id[taskSymbol] = null; - } // Do not cancel already canceled functions - - - task.zone.cancelTask(task); - } - } else { - // cause an error by calling it directly. - delegate.apply(window, args); - } - }; - }); - } - /** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - - function patchCustomElements(_global, api) { - var _a = api.getGlobalObjects(), - isBrowser = _a.isBrowser, - isMix = _a.isMix; - - if (!isBrowser && !isMix || !_global['customElements'] || !('customElements' in _global)) { - return; - } - - var callbacks = ['connectedCallback', 'disconnectedCallback', 'adoptedCallback', 'attributeChangedCallback']; - api.patchCallbacks(api, _global.customElements, 'customElements', 'define', callbacks); - } - /** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - - function eventTargetPatch(_global, api) { - if (Zone[api.symbol('patchEventTarget')]) { - // EventTarget is already patched. - return; - } - - var _a = api.getGlobalObjects(), - eventNames = _a.eventNames, - zoneSymbolEventNames = _a.zoneSymbolEventNames, - TRUE_STR = _a.TRUE_STR, - FALSE_STR = _a.FALSE_STR, - ZONE_SYMBOL_PREFIX = _a.ZONE_SYMBOL_PREFIX; // predefine all __zone_symbol__ + eventName + true/false string - - - for (var i = 0; i < eventNames.length; i++) { - var eventName = eventNames[i]; - var falseEventName = eventName + FALSE_STR; - var trueEventName = eventName + TRUE_STR; - var symbol = ZONE_SYMBOL_PREFIX + falseEventName; - var symbolCapture = ZONE_SYMBOL_PREFIX + trueEventName; - zoneSymbolEventNames[eventName] = {}; - zoneSymbolEventNames[eventName][FALSE_STR] = symbol; - zoneSymbolEventNames[eventName][TRUE_STR] = symbolCapture; - } - - var EVENT_TARGET = _global['EventTarget']; - - if (!EVENT_TARGET || !EVENT_TARGET.prototype) { - return; - } - - api.patchEventTarget(_global, [EVENT_TARGET && EVENT_TARGET.prototype]); - return true; - } - - function patchEvent(global, api) { - api.patchEventPrototype(global, api); - } - /** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - - Zone.__load_patch('legacy', function (global) { - var legacyPatch = global[Zone.__symbol__('legacyPatch')]; - - if (legacyPatch) { - legacyPatch(); - } - }); - - Zone.__load_patch('queueMicrotask', function (global, Zone, api) { - api.patchMethod(global, 'queueMicrotask', function (delegate) { - return function (self, args) { - Zone.current.scheduleMicroTask('queueMicrotask', args[0]); - }; - }); - }); - - Zone.__load_patch('timers', function (global) { - var set = 'set'; - var clear = 'clear'; - patchTimer(global, set, clear, 'Timeout'); - patchTimer(global, set, clear, 'Interval'); - patchTimer(global, set, clear, 'Immediate'); - }); - - Zone.__load_patch('requestAnimationFrame', function (global) { - patchTimer(global, 'request', 'cancel', 'AnimationFrame'); - patchTimer(global, 'mozRequest', 'mozCancel', 'AnimationFrame'); - patchTimer(global, 'webkitRequest', 'webkitCancel', 'AnimationFrame'); - }); - - Zone.__load_patch('blocking', function (global, Zone) { - var blockingMethods = ['alert', 'prompt', 'confirm']; - - for (var i = 0; i < blockingMethods.length; i++) { - var name_2 = blockingMethods[i]; - patchMethod(global, name_2, function (delegate, symbol, name) { - return function (s, args) { - return Zone.current.run(delegate, global, args, name); - }; - }); - } - }); - - Zone.__load_patch('EventTarget', function (global, Zone, api) { - patchEvent(global, api); - eventTargetPatch(global, api); // patch XMLHttpRequestEventTarget's addEventListener/removeEventListener - - var XMLHttpRequestEventTarget = global['XMLHttpRequestEventTarget']; - - if (XMLHttpRequestEventTarget && XMLHttpRequestEventTarget.prototype) { - api.patchEventTarget(global, [XMLHttpRequestEventTarget.prototype]); - } - }); - - Zone.__load_patch('MutationObserver', function (global, Zone, api) { - patchClass('MutationObserver'); - patchClass('WebKitMutationObserver'); - }); - - Zone.__load_patch('IntersectionObserver', function (global, Zone, api) { - patchClass('IntersectionObserver'); - }); - - Zone.__load_patch('FileReader', function (global, Zone, api) { - patchClass('FileReader'); - }); - - Zone.__load_patch('on_property', function (global, Zone, api) { - propertyDescriptorPatch(api, global); - }); - - Zone.__load_patch('customElements', function (global, Zone, api) { - patchCustomElements(global, api); - }); - - Zone.__load_patch('XHR', function (global, Zone) { - // Treat XMLHttpRequest as a macrotask. - patchXHR(global); - var XHR_TASK = zoneSymbol('xhrTask'); - var XHR_SYNC = zoneSymbol('xhrSync'); - var XHR_LISTENER = zoneSymbol('xhrListener'); - var XHR_SCHEDULED = zoneSymbol('xhrScheduled'); - var XHR_URL = zoneSymbol('xhrURL'); - var XHR_ERROR_BEFORE_SCHEDULED = zoneSymbol('xhrErrorBeforeScheduled'); - - function patchXHR(window) { - var XMLHttpRequest = window['XMLHttpRequest']; - - if (!XMLHttpRequest) { - // XMLHttpRequest is not available in service worker - return; - } - - var XMLHttpRequestPrototype = XMLHttpRequest.prototype; - - function findPendingTask(target) { - return target[XHR_TASK]; - } - - var oriAddListener = XMLHttpRequestPrototype[ZONE_SYMBOL_ADD_EVENT_LISTENER]; - var oriRemoveListener = XMLHttpRequestPrototype[ZONE_SYMBOL_REMOVE_EVENT_LISTENER]; - - if (!oriAddListener) { - var XMLHttpRequestEventTarget_1 = window['XMLHttpRequestEventTarget']; - - if (XMLHttpRequestEventTarget_1) { - var XMLHttpRequestEventTargetPrototype = XMLHttpRequestEventTarget_1.prototype; - oriAddListener = XMLHttpRequestEventTargetPrototype[ZONE_SYMBOL_ADD_EVENT_LISTENER]; - oriRemoveListener = XMLHttpRequestEventTargetPrototype[ZONE_SYMBOL_REMOVE_EVENT_LISTENER]; - } - } - - var READY_STATE_CHANGE = 'readystatechange'; - var SCHEDULED = 'scheduled'; - - function scheduleTask(task) { - var data = task.data; - var target = data.target; - target[XHR_SCHEDULED] = false; - target[XHR_ERROR_BEFORE_SCHEDULED] = false; // remove existing event listener - - var listener = target[XHR_LISTENER]; - - if (!oriAddListener) { - oriAddListener = target[ZONE_SYMBOL_ADD_EVENT_LISTENER]; - oriRemoveListener = target[ZONE_SYMBOL_REMOVE_EVENT_LISTENER]; - } - - if (listener) { - oriRemoveListener.call(target, READY_STATE_CHANGE, listener); - } - - var newListener = target[XHR_LISTENER] = function () { - if (target.readyState === target.DONE) { - // sometimes on some browsers XMLHttpRequest will fire onreadystatechange with - // readyState=4 multiple times, so we need to check task state here - if (!data.aborted && target[XHR_SCHEDULED] && task.state === SCHEDULED) { - // check whether the xhr has registered onload listener - // if that is the case, the task should invoke after all - // onload listeners finish. - // Also if the request failed without response (status = 0), the load event handler - // will not be triggered, in that case, we should also invoke the placeholder callback - // to close the XMLHttpRequest::send macroTask. - // https://github.com/angular/angular/issues/38795 - var loadTasks = target[Zone.__symbol__('loadfalse')]; - - if (target.status !== 0 && loadTasks && loadTasks.length > 0) { - var oriInvoke_1 = task.invoke; - - task.invoke = function () { - // need to load the tasks again, because in other - // load listener, they may remove themselves - var loadTasks = target[Zone.__symbol__('loadfalse')]; - - for (var i = 0; i < loadTasks.length; i++) { - if (loadTasks[i] === task) { - loadTasks.splice(i, 1); - } - } - - if (!data.aborted && task.state === SCHEDULED) { - oriInvoke_1.call(task); - } - }; - - loadTasks.push(task); - } else { - task.invoke(); - } - } else if (!data.aborted && target[XHR_SCHEDULED] === false) { - // error occurs when xhr.send() - target[XHR_ERROR_BEFORE_SCHEDULED] = true; - } - } - }; - - oriAddListener.call(target, READY_STATE_CHANGE, newListener); - var storedTask = target[XHR_TASK]; - - if (!storedTask) { - target[XHR_TASK] = task; - } - - sendNative.apply(target, data.args); - target[XHR_SCHEDULED] = true; - return task; - } - - function placeholderCallback() {} - - function clearTask(task) { - var data = task.data; // Note - ideally, we would call data.target.removeEventListener here, but it's too late - // to prevent it from firing. So instead, we store info for the event listener. - - data.aborted = true; - return abortNative.apply(data.target, data.args); - } - - var openNative = patchMethod(XMLHttpRequestPrototype, 'open', function () { - return function (self, args) { - self[XHR_SYNC] = args[2] == false; - self[XHR_URL] = args[1]; - return openNative.apply(self, args); - }; - }); - var XMLHTTPREQUEST_SOURCE = 'XMLHttpRequest.send'; - var fetchTaskAborting = zoneSymbol('fetchTaskAborting'); - var fetchTaskScheduling = zoneSymbol('fetchTaskScheduling'); - var sendNative = patchMethod(XMLHttpRequestPrototype, 'send', function () { - return function (self, args) { - if (Zone.current[fetchTaskScheduling] === true) { - // a fetch is scheduling, so we are using xhr to polyfill fetch - // and because we already schedule macroTask for fetch, we should - // not schedule a macroTask for xhr again - return sendNative.apply(self, args); - } - - if (self[XHR_SYNC]) { - // if the XHR is sync there is no task to schedule, just execute the code. - return sendNative.apply(self, args); - } else { - var options = { - target: self, - url: self[XHR_URL], - isPeriodic: false, - args: args, - aborted: false - }; - var task = scheduleMacroTaskWithCurrentZone(XMLHTTPREQUEST_SOURCE, placeholderCallback, options, scheduleTask, clearTask); - - if (self && self[XHR_ERROR_BEFORE_SCHEDULED] === true && !options.aborted && task.state === SCHEDULED) { - // xhr request throw error when send - // we should invoke task instead of leaving a scheduled - // pending macroTask - task.invoke(); - } - } - }; - }); - var abortNative = patchMethod(XMLHttpRequestPrototype, 'abort', function () { - return function (self, args) { - var task = findPendingTask(self); - - if (task && typeof task.type == 'string') { - // If the XHR has already completed, do nothing. - // If the XHR has already been aborted, do nothing. - // Fix #569, call abort multiple times before done will cause - // macroTask task count be negative number - if (task.cancelFn == null || task.data && task.data.aborted) { - return; - } - - task.zone.cancelTask(task); - } else if (Zone.current[fetchTaskAborting] === true) { - // the abort is called from fetch polyfill, we need to call native abort of XHR. - return abortNative.apply(self, args); - } // Otherwise, we are trying to abort an XHR which has not yet been sent, so there is no - // task - // to cancel. Do nothing. - - }; - }); - } - }); - - Zone.__load_patch('geolocation', function (global) { - /// GEO_LOCATION - if (global['navigator'] && global['navigator'].geolocation) { - patchPrototype(global['navigator'].geolocation, ['getCurrentPosition', 'watchPosition']); - } - }); - - Zone.__load_patch('PromiseRejectionEvent', function (global, Zone) { - // handle unhandled promise rejection - function findPromiseRejectionHandler(evtName) { - return function (e) { - var eventTasks = findEventTasks(global, evtName); - eventTasks.forEach(function (eventTask) { - // windows has added unhandledrejection event listener - // trigger the event listener - var PromiseRejectionEvent = global['PromiseRejectionEvent']; - - if (PromiseRejectionEvent) { - var evt = new PromiseRejectionEvent(evtName, { - promise: e.promise, - reason: e.rejection - }); - eventTask.invoke(evt); - } - }); - }; - } - - if (global['PromiseRejectionEvent']) { - Zone[zoneSymbol('unhandledPromiseRejectionHandler')] = findPromiseRejectionHandler('unhandledrejection'); - Zone[zoneSymbol('rejectionHandledHandler')] = findPromiseRejectionHandler('rejectionhandled'); - } - }); -}); - -/***/ }), - -/***/ "149L": -/*!*******************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/html.js ***! - \*******************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "Ew/G"); - -module.exports = getBuiltIn('document', 'documentElement'); - - -/***/ }), - -/***/ 2: -/*!**********************************************************************************************************!*\ - !*** multi ./src/polyfills.ts ./node_modules/@angular-devkit/build-angular/src/webpack/jit-polyfills.js ***! - \**********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -__webpack_require__(/*! C:\pitch\ng-walkthrough\src\polyfills.ts */"hN/g"); -module.exports = __webpack_require__(/*! C:\pitch\ng-walkthrough\node_modules\@angular-devkit\build-angular\src\webpack\jit-polyfills.js */"rZy+"); - - -/***/ }), - -/***/ "2MGJ": -/*!***********************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/redefine.js ***! - \***********************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var global = __webpack_require__(/*! ../internals/global */ "ocAm"); -var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "aJMj"); -var has = __webpack_require__(/*! ../internals/has */ "OG5q"); -var setGlobal = __webpack_require__(/*! ../internals/set-global */ "Fqhe"); -var inspectSource = __webpack_require__(/*! ../internals/inspect-source */ "6urC"); -var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "XH/I"); - -var getInternalState = InternalStateModule.get; -var enforceInternalState = InternalStateModule.enforce; -var TEMPLATE = String(String).split('String'); - -(module.exports = function (O, key, value, options) { - var unsafe = options ? !!options.unsafe : false; - var simple = options ? !!options.enumerable : false; - var noTargetGet = options ? !!options.noTargetGet : false; - var state; - if (typeof value == 'function') { - if (typeof key == 'string' && !has(value, 'name')) { - createNonEnumerableProperty(value, 'name', key); - } - state = enforceInternalState(value); - if (!state.source) { - state.source = TEMPLATE.join(typeof key == 'string' ? key : ''); - } - } - if (O === global) { - if (simple) O[key] = value; - else setGlobal(key, value); - return; - } else if (!unsafe) { - delete O[key]; - } else if (!noTargetGet && O[key]) { - simple = true; - } - if (simple) O[key] = value; - else createNonEnumerableProperty(O, key, value); -// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative -})(Function.prototype, 'toString', function toString() { - return typeof this == 'function' && getInternalState(this).source || inspectSource(this); -}); - - -/***/ }), - -/***/ "2RDa": -/*!****************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/object-create.js ***! - \****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var anObject = __webpack_require__(/*! ../internals/an-object */ "F26l"); -var defineProperties = __webpack_require__(/*! ../internals/object-define-properties */ "5y2d"); -var enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ "aAjO"); -var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ "yQMY"); -var html = __webpack_require__(/*! ../internals/html */ "149L"); -var documentCreateElement = __webpack_require__(/*! ../internals/document-create-element */ "qx7X"); -var sharedKey = __webpack_require__(/*! ../internals/shared-key */ "/AsP"); - -var GT = '>'; -var LT = '<'; -var PROTOTYPE = 'prototype'; -var SCRIPT = 'script'; -var IE_PROTO = sharedKey('IE_PROTO'); - -var EmptyConstructor = function () { /* empty */ }; - -var scriptTag = function (content) { - return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT; -}; - -// Create object with fake `null` prototype: use ActiveX Object with cleared prototype -var NullProtoObjectViaActiveX = function (activeXDocument) { - activeXDocument.write(scriptTag('')); - activeXDocument.close(); - var temp = activeXDocument.parentWindow.Object; - activeXDocument = null; // avoid memory leak - return temp; -}; - -// Create object with fake `null` prototype: use iframe Object with cleared prototype -var NullProtoObjectViaIFrame = function () { - // Thrash, waste and sodomy: IE GC bug - var iframe = documentCreateElement('iframe'); - var JS = 'java' + SCRIPT + ':'; - var iframeDocument; - iframe.style.display = 'none'; - html.appendChild(iframe); - // https://github.com/zloirock/core-js/issues/475 - iframe.src = String(JS); - iframeDocument = iframe.contentWindow.document; - iframeDocument.open(); - iframeDocument.write(scriptTag('document.F=Object')); - iframeDocument.close(); - return iframeDocument.F; -}; - -// Check for document.domain and active x support -// No need to use active x approach when document.domain is not set -// see https://github.com/es-shims/es5-shim/issues/150 -// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346 -// avoid IE GC bug -var activeXDocument; -var NullProtoObject = function () { - try { - /* global ActiveXObject */ - activeXDocument = document.domain && new ActiveXObject('htmlfile'); - } catch (error) { /* ignore */ } - NullProtoObject = activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame(); - var length = enumBugKeys.length; - while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]]; - return NullProtoObject(); -}; - -hiddenKeys[IE_PROTO] = true; - -// `Object.create` method -// https://tc39.es/ecma262/#sec-object.create -module.exports = Object.create || function create(O, Properties) { - var result; - if (O !== null) { - EmptyConstructor[PROTOTYPE] = anObject(O); - result = new EmptyConstructor(); - EmptyConstructor[PROTOTYPE] = null; - // add "__proto__" for Object.getPrototypeOf polyfill - result[IE_PROTO] = O; - } else result = NullProtoObject(); - return Properties === undefined ? result : defineProperties(result, Properties); -}; - - -/***/ }), - -/***/ "4PyY": -/*!************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/to-string-tag-support.js ***! - \************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "m41k"); - -var TO_STRING_TAG = wellKnownSymbol('toStringTag'); -var test = {}; - -test[TO_STRING_TAG] = 'z'; - -module.exports = String(test) === '[object z]'; - - -/***/ }), - -/***/ "5MmU": -/*!***************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/is-array-iterator-method.js ***! - \***************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "m41k"); -var Iterators = __webpack_require__(/*! ../internals/iterators */ "pz+c"); - -var ITERATOR = wellKnownSymbol('iterator'); -var ArrayPrototype = Array.prototype; - -// check on default Array iterator -module.exports = function (it) { - return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it); -}; - - -/***/ }), - -/***/ "5y2d": -/*!***************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/object-define-properties.js ***! - \***************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "T69T"); -var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "/Ybd"); -var anObject = __webpack_require__(/*! ../internals/an-object */ "F26l"); -var objectKeys = __webpack_require__(/*! ../internals/object-keys */ "ZRqE"); - -// `Object.defineProperties` method -// https://tc39.es/ecma262/#sec-object.defineproperties -module.exports = DESCRIPTORS ? Object.defineProperties : function defineProperties(O, Properties) { - anObject(O); - var keys = objectKeys(Properties); - var length = keys.length; - var index = 0; - var key; - while (length > index) definePropertyModule.f(O, key = keys[index++], Properties[key]); - return O; -}; - - -/***/ }), - -/***/ "5zQ0": -/*!*****************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/iterator-close.js ***! - \*****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var anObject = __webpack_require__(/*! ../internals/an-object */ "F26l"); - -module.exports = function (iterator) { - var returnMethod = iterator['return']; - if (returnMethod !== undefined) { - return anObject(returnMethod.call(iterator)).value; - } -}; - - -/***/ }), - -/***/ "6XUM": -/*!************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/is-object.js ***! - \************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -module.exports = function (it) { - return typeof it === 'object' ? it !== null : typeof it === 'function'; -}; - - -/***/ }), - -/***/ "6urC": -/*!*****************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/inspect-source.js ***! - \*****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var store = __webpack_require__(/*! ../internals/shared-store */ "KBkW"); - -var functionToString = Function.toString; - -// this helper broken in `3.4.1-3.4.4`, so we can't use `shared` helper -if (typeof store.inspectSource != 'function') { - store.inspectSource = function (it) { - return functionToString.call(it); - }; -} - -module.exports = store.inspectSource; - - -/***/ }), - -/***/ "7/lX": -/*!**************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/object-set-prototype-of.js ***! - \**************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var anObject = __webpack_require__(/*! ../internals/an-object */ "F26l"); -var aPossiblePrototype = __webpack_require__(/*! ../internals/a-possible-prototype */ "JI1L"); - -// `Object.setPrototypeOf` method -// https://tc39.es/ecma262/#sec-object.setprototypeof -// Works with __proto__ only. Old v8 can't work with null proto objects. -/* eslint-disable no-proto */ -module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () { - var CORRECT_SETTER = false; - var test = {}; - var setter; - try { - setter = Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set; - setter.call(test, []); - CORRECT_SETTER = test instanceof Array; - } catch (error) { /* empty */ } - return function setPrototypeOf(O, proto) { - anObject(O); - aPossiblePrototype(proto); - if (CORRECT_SETTER) setter.call(O, proto); - else O.__proto__ = proto; - return O; - }; -}() : undefined); - - -/***/ }), - -/***/ "76gj": -/*!***********************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/own-keys.js ***! - \***********************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "Ew/G"); -var getOwnPropertyNamesModule = __webpack_require__(/*! ../internals/object-get-own-property-names */ "KkqW"); -var getOwnPropertySymbolsModule = __webpack_require__(/*! ../internals/object-get-own-property-symbols */ "busr"); -var anObject = __webpack_require__(/*! ../internals/an-object */ "F26l"); - -// all object keys, includes non-enumerable and symbols -module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) { - var keys = getOwnPropertyNamesModule.f(anObject(it)); - var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; - return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys; -}; - - -/***/ }), - -/***/ "7Oj1": -/*!********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/to-absolute-index.js ***! - \********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var toInteger = __webpack_require__(/*! ../internals/to-integer */ "vDBE"); - -var max = Math.max; -var min = Math.min; - -// Helper for a popular repeating case of the spec: -// Let integer be ? ToInteger(index). -// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length). -module.exports = function (index, length) { - var integer = toInteger(index); - return integer < 0 ? max(integer + length, 0) : min(integer, length); -}; - - -/***/ }), - -/***/ "7gGY": -/*!*************************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/object-get-own-property-descriptor.js ***! - \*************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "T69T"); -var propertyIsEnumerableModule = __webpack_require__(/*! ../internals/object-property-is-enumerable */ "gn9T"); -var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "uSMZ"); -var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "EMtK"); -var toPrimitive = __webpack_require__(/*! ../internals/to-primitive */ "LdO1"); -var has = __webpack_require__(/*! ../internals/has */ "OG5q"); -var IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ "XdSI"); - -var nativeGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; - -// `Object.getOwnPropertyDescriptor` method -// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor -exports.f = DESCRIPTORS ? nativeGetOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) { - O = toIndexedObject(O); - P = toPrimitive(P, true); - if (IE8_DOM_DEFINE) try { - return nativeGetOwnPropertyDescriptor(O, P); - } catch (error) { /* empty */ } - if (has(O, P)) return createPropertyDescriptor(!propertyIsEnumerableModule.f.call(O, P), O[P]); -}; - - -/***/ }), - -/***/ "8aNu": -/*!***************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/redefine-all.js ***! - \***************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var redefine = __webpack_require__(/*! ../internals/redefine */ "2MGJ"); - -module.exports = function (target, src, options) { - for (var key in src) redefine(target, key, src[key], options); - return target; -}; - - -/***/ }), - -/***/ "B4ea": -/*!************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/esnext.reflect.metadata.js ***! - \************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var ReflectMetadataModule = __webpack_require__(/*! ../internals/reflect-metadata */ "yprU"); -var anObject = __webpack_require__(/*! ../internals/an-object */ "F26l"); - -var toMetadataKey = ReflectMetadataModule.toKey; -var ordinaryDefineOwnMetadata = ReflectMetadataModule.set; - -// `Reflect.metadata` method -// https://github.com/rbuckton/reflect-metadata -$({ target: 'Reflect', stat: true }, { - metadata: function metadata(metadataKey, metadataValue) { - return function decorator(target, key) { - ordinaryDefineOwnMetadata(metadataKey, metadataValue, anObject(target), toMetadataKey(key)); - }; - } -}); - - -/***/ }), - -/***/ "Bb/w": -/*!****************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/esnext.reflect.get-metadata.js ***! - \****************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var ReflectMetadataModule = __webpack_require__(/*! ../internals/reflect-metadata */ "yprU"); -var anObject = __webpack_require__(/*! ../internals/an-object */ "F26l"); -var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ "wIVT"); - -var ordinaryHasOwnMetadata = ReflectMetadataModule.has; -var ordinaryGetOwnMetadata = ReflectMetadataModule.get; -var toMetadataKey = ReflectMetadataModule.toKey; - -var ordinaryGetMetadata = function (MetadataKey, O, P) { - var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P); - if (hasOwn) return ordinaryGetOwnMetadata(MetadataKey, O, P); - var parent = getPrototypeOf(O); - return parent !== null ? ordinaryGetMetadata(MetadataKey, parent, P) : undefined; -}; - -// `Reflect.getMetadata` method -// https://github.com/rbuckton/reflect-metadata -$({ target: 'Reflect', stat: true }, { - getMetadata: function getMetadata(metadataKey, target /* , targetKey */) { - var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]); - return ordinaryGetMetadata(metadataKey, anObject(target), targetKey); - } -}); - - -/***/ }), - -/***/ "DAme": -/*!******************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/collection-weak.js ***! - \******************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var redefineAll = __webpack_require__(/*! ../internals/redefine-all */ "8aNu"); -var getWeakData = __webpack_require__(/*! ../internals/internal-metadata */ "M7Xk").getWeakData; -var anObject = __webpack_require__(/*! ../internals/an-object */ "F26l"); -var isObject = __webpack_require__(/*! ../internals/is-object */ "6XUM"); -var anInstance = __webpack_require__(/*! ../internals/an-instance */ "SM6+"); -var iterate = __webpack_require__(/*! ../internals/iterate */ "Rn6E"); -var ArrayIterationModule = __webpack_require__(/*! ../internals/array-iteration */ "kk6e"); -var $has = __webpack_require__(/*! ../internals/has */ "OG5q"); -var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "XH/I"); - -var setInternalState = InternalStateModule.set; -var internalStateGetterFor = InternalStateModule.getterFor; -var find = ArrayIterationModule.find; -var findIndex = ArrayIterationModule.findIndex; -var id = 0; - -// fallback for uncaught frozen keys -var uncaughtFrozenStore = function (store) { - return store.frozen || (store.frozen = new UncaughtFrozenStore()); -}; - -var UncaughtFrozenStore = function () { - this.entries = []; -}; - -var findUncaughtFrozen = function (store, key) { - return find(store.entries, function (it) { - return it[0] === key; - }); -}; - -UncaughtFrozenStore.prototype = { - get: function (key) { - var entry = findUncaughtFrozen(this, key); - if (entry) return entry[1]; - }, - has: function (key) { - return !!findUncaughtFrozen(this, key); - }, - set: function (key, value) { - var entry = findUncaughtFrozen(this, key); - if (entry) entry[1] = value; - else this.entries.push([key, value]); - }, - 'delete': function (key) { - var index = findIndex(this.entries, function (it) { - return it[0] === key; - }); - if (~index) this.entries.splice(index, 1); - return !!~index; - } -}; - -module.exports = { - getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) { - var C = wrapper(function (that, iterable) { - anInstance(that, C, CONSTRUCTOR_NAME); - setInternalState(that, { - type: CONSTRUCTOR_NAME, - id: id++, - frozen: undefined - }); - if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP }); - }); - - var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME); - - var define = function (that, key, value) { - var state = getInternalState(that); - var data = getWeakData(anObject(key), true); - if (data === true) uncaughtFrozenStore(state).set(key, value); - else data[state.id] = value; - return that; - }; - - redefineAll(C.prototype, { - // 23.3.3.2 WeakMap.prototype.delete(key) - // 23.4.3.3 WeakSet.prototype.delete(value) - 'delete': function (key) { - var state = getInternalState(this); - if (!isObject(key)) return false; - var data = getWeakData(key); - if (data === true) return uncaughtFrozenStore(state)['delete'](key); - return data && $has(data, state.id) && delete data[state.id]; - }, - // 23.3.3.4 WeakMap.prototype.has(key) - // 23.4.3.4 WeakSet.prototype.has(value) - has: function has(key) { - var state = getInternalState(this); - if (!isObject(key)) return false; - var data = getWeakData(key); - if (data === true) return uncaughtFrozenStore(state).has(key); - return data && $has(data, state.id); - } - }); - - redefineAll(C.prototype, IS_MAP ? { - // 23.3.3.3 WeakMap.prototype.get(key) - get: function get(key) { - var state = getInternalState(this); - if (isObject(key)) { - var data = getWeakData(key); - if (data === true) return uncaughtFrozenStore(state).get(key); - return data ? data[state.id] : undefined; - } - }, - // 23.3.3.5 WeakMap.prototype.set(key, value) - set: function set(key, value) { - return define(this, key, value); - } - } : { - // 23.4.3.1 WeakSet.prototype.add(value) - add: function add(value) { - return define(this, value, true); - } - }); - - return C; - } -}; - - -/***/ }), - -/***/ "E7aN": -/*!*******************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/path.js ***! - \*******************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var global = __webpack_require__(/*! ../internals/global */ "ocAm"); - -module.exports = global; - - -/***/ }), - -/***/ "EIBq": -/*!*********************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/check-correctness-of-iteration.js ***! - \*********************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "m41k"); - -var ITERATOR = wellKnownSymbol('iterator'); -var SAFE_CLOSING = false; - -try { - var called = 0; - var iteratorWithReturn = { - next: function () { - return { done: !!called++ }; - }, - 'return': function () { - SAFE_CLOSING = true; - } - }; - iteratorWithReturn[ITERATOR] = function () { - return this; - }; - // eslint-disable-next-line no-throw-literal - Array.from(iteratorWithReturn, function () { throw 2; }); -} catch (error) { /* empty */ } - -module.exports = function (exec, SKIP_CLOSING) { - if (!SKIP_CLOSING && !SAFE_CLOSING) return false; - var ITERATION_SUPPORT = false; - try { - var object = {}; - object[ITERATOR] = function () { - return { - next: function () { - return { done: ITERATION_SUPPORT = true }; - } - }; - }; - exec(object); - } catch (error) { /* empty */ } - return ITERATION_SUPPORT; -}; - - -/***/ }), - -/***/ "EMtK": -/*!********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/to-indexed-object.js ***! - \********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -// toObject with fallback for non-array-like ES3 strings -var IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ "tUdv"); -var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "hmpk"); - -module.exports = function (it) { - return IndexedObject(requireObjectCoercible(it)); -}; - - -/***/ }), - -/***/ "Ew/G": -/*!***************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/get-built-in.js ***! - \***************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var path = __webpack_require__(/*! ../internals/path */ "E7aN"); -var global = __webpack_require__(/*! ../internals/global */ "ocAm"); - -var aFunction = function (variable) { - return typeof variable == 'function' ? variable : undefined; -}; - -module.exports = function (namespace, method) { - return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global[namespace]) - : path[namespace] && path[namespace][method] || global[namespace] && global[namespace][method]; -}; - - -/***/ }), - -/***/ "F/TS": -/*!**********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/get-iterator-method.js ***! - \**********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var classof = __webpack_require__(/*! ../internals/classof */ "mN5b"); -var Iterators = __webpack_require__(/*! ../internals/iterators */ "pz+c"); -var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "m41k"); - -var ITERATOR = wellKnownSymbol('iterator'); - -module.exports = function (it) { - if (it != undefined) return it[ITERATOR] - || it['@@iterator'] - || Iterators[classof(it)]; -}; - - -/***/ }), - -/***/ "F26l": -/*!************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/an-object.js ***! - \************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var isObject = __webpack_require__(/*! ../internals/is-object */ "6XUM"); - -module.exports = function (it) { - if (!isObject(it)) { - throw TypeError(String(it) + ' is not an object'); - } return it; -}; - - -/***/ }), - -/***/ "Fqhe": -/*!*************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/set-global.js ***! - \*************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var global = __webpack_require__(/*! ../internals/global */ "ocAm"); -var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "aJMj"); - -module.exports = function (key, value) { - try { - createNonEnumerableProperty(global, key, value); - } catch (error) { - global[key] = value; - } return value; -}; - - -/***/ }), - -/***/ "G1Vw": -/*!*****************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/iterators-core.js ***! - \*****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); -var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ "wIVT"); -var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "aJMj"); -var has = __webpack_require__(/*! ../internals/has */ "OG5q"); -var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "m41k"); -var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "g9hI"); - -var ITERATOR = wellKnownSymbol('iterator'); -var BUGGY_SAFARI_ITERATORS = false; - -var returnThis = function () { return this; }; - -// `%IteratorPrototype%` object -// https://tc39.es/ecma262/#sec-%iteratorprototype%-object -var IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator; - -if ([].keys) { - arrayIterator = [].keys(); - // Safari 8 has buggy iterators w/o `next` - if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true; - else { - PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator)); - if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype; - } -} - -var NEW_ITERATOR_PROTOTYPE = IteratorPrototype == undefined || fails(function () { - var test = {}; - // FF44- legacy iterators case - return IteratorPrototype[ITERATOR].call(test) !== test; -}); - -if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {}; - -// 25.1.2.1.1 %IteratorPrototype%[@@iterator]() -if ((!IS_PURE || NEW_ITERATOR_PROTOTYPE) && !has(IteratorPrototype, ITERATOR)) { - createNonEnumerableProperty(IteratorPrototype, ITERATOR, returnThis); -} - -module.exports = { - IteratorPrototype: IteratorPrototype, - BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS -}; - - -/***/ }), - -/***/ "Icrz": -/*!*************************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/esnext.reflect.get-own-metadata-keys.js ***! - \*************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var ReflectMetadataModule = __webpack_require__(/*! ../internals/reflect-metadata */ "yprU"); -var anObject = __webpack_require__(/*! ../internals/an-object */ "F26l"); - -var ordinaryOwnMetadataKeys = ReflectMetadataModule.keys; -var toMetadataKey = ReflectMetadataModule.toKey; - -// `Reflect.getOwnMetadataKeys` method -// https://github.com/rbuckton/reflect-metadata -$({ target: 'Reflect', stat: true }, { - getOwnMetadataKeys: function getOwnMetadataKeys(target /* , targetKey */) { - var targetKey = arguments.length < 2 ? undefined : toMetadataKey(arguments[1]); - return ordinaryOwnMetadataKeys(anObject(target), targetKey); - } -}); - - -/***/ }), - -/***/ "JHhb": -/*!**************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/set-species.js ***! - \**************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "Ew/G"); -var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "/Ybd"); -var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "m41k"); -var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "T69T"); - -var SPECIES = wellKnownSymbol('species'); - -module.exports = function (CONSTRUCTOR_NAME) { - var Constructor = getBuiltIn(CONSTRUCTOR_NAME); - var defineProperty = definePropertyModule.f; - - if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) { - defineProperty(Constructor, SPECIES, { - configurable: true, - get: function () { return this; } - }); - } -}; - - -/***/ }), - -/***/ "JI1L": -/*!***********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/a-possible-prototype.js ***! - \***********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var isObject = __webpack_require__(/*! ../internals/is-object */ "6XUM"); - -module.exports = function (it) { - if (!isObject(it) && it !== null) { - throw TypeError("Can't set " + String(it) + ' as a prototype'); - } return it; -}; - - -/***/ }), - -/***/ "JafA": -/*!***********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/array-species-create.js ***! - \***********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var isObject = __webpack_require__(/*! ../internals/is-object */ "6XUM"); -var isArray = __webpack_require__(/*! ../internals/is-array */ "erNl"); -var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "m41k"); - -var SPECIES = wellKnownSymbol('species'); - -// `ArraySpeciesCreate` abstract operation -// https://tc39.es/ecma262/#sec-arrayspeciescreate -module.exports = function (originalArray, length) { - var C; - if (isArray(originalArray)) { - C = originalArray.constructor; - // cross-realm fallback - if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined; - else if (isObject(C)) { - C = C[SPECIES]; - if (C === null) C = undefined; - } - } return new (C === undefined ? Array : C)(length === 0 ? 0 : length); -}; - - -/***/ }), - -/***/ "K6ZX": -/*!**********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/inherit-if-required.js ***! - \**********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var isObject = __webpack_require__(/*! ../internals/is-object */ "6XUM"); -var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ "7/lX"); - -// makes subclassing work correct for wrapped built-ins -module.exports = function ($this, dummy, Wrapper) { - var NewTarget, NewTargetPrototype; - if ( - // it can work only with native `setPrototypeOf` - setPrototypeOf && - // we haven't completely correct pre-ES6 way for getting `new.target`, so use this - typeof (NewTarget = dummy.constructor) == 'function' && - NewTarget !== Wrapper && - isObject(NewTargetPrototype = NewTarget.prototype) && - NewTargetPrototype !== Wrapper.prototype - ) setPrototypeOf($this, NewTargetPrototype); - return $this; -}; - - -/***/ }), - -/***/ "KBkW": -/*!***************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/shared-store.js ***! - \***************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var global = __webpack_require__(/*! ../internals/global */ "ocAm"); -var setGlobal = __webpack_require__(/*! ../internals/set-global */ "Fqhe"); - -var SHARED = '__core-js_shared__'; -var store = global[SHARED] || setGlobal(SHARED, {}); - -module.exports = store; - - -/***/ }), - -/***/ "KYLi": -/*!*********************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/esnext.reflect.get-metadata-keys.js ***! - \*********************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env` -var Set = __webpack_require__(/*! ../modules/es.set */ "ViWx"); -var ReflectMetadataModule = __webpack_require__(/*! ../internals/reflect-metadata */ "yprU"); -var anObject = __webpack_require__(/*! ../internals/an-object */ "F26l"); -var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ "wIVT"); -var iterate = __webpack_require__(/*! ../internals/iterate */ "Rn6E"); - -var ordinaryOwnMetadataKeys = ReflectMetadataModule.keys; -var toMetadataKey = ReflectMetadataModule.toKey; - -var from = function (iter) { - var result = []; - iterate(iter, result.push, { that: result }); - return result; -}; - -var ordinaryMetadataKeys = function (O, P) { - var oKeys = ordinaryOwnMetadataKeys(O, P); - var parent = getPrototypeOf(O); - if (parent === null) return oKeys; - var pKeys = ordinaryMetadataKeys(parent, P); - return pKeys.length ? oKeys.length ? from(new Set(oKeys.concat(pKeys))) : pKeys : oKeys; -}; - -// `Reflect.getMetadataKeys` method -// https://github.com/rbuckton/reflect-metadata -$({ target: 'Reflect', stat: true }, { - getMetadataKeys: function getMetadataKeys(target /* , targetKey */) { - var targetKey = arguments.length < 2 ? undefined : toMetadataKey(arguments[1]); - return ordinaryMetadataKeys(anObject(target), targetKey); - } -}); - - -/***/ }), - -/***/ "KkqW": -/*!********************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/object-get-own-property-names.js ***! - \********************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var internalObjectKeys = __webpack_require__(/*! ../internals/object-keys-internal */ "vVmn"); -var enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ "aAjO"); - -var hiddenKeys = enumBugKeys.concat('length', 'prototype'); - -// `Object.getOwnPropertyNames` method -// https://tc39.es/ecma262/#sec-object.getownpropertynames -exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { - return internalObjectKeys(O, hiddenKeys); -}; - - -/***/ }), - -/***/ "LdO1": -/*!***************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/to-primitive.js ***! - \***************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var isObject = __webpack_require__(/*! ../internals/is-object */ "6XUM"); - -// `ToPrimitive` abstract operation -// https://tc39.es/ecma262/#sec-toprimitive -// instead of the ES6 spec version, we didn't implement @@toPrimitive case -// and the second argument - flag - preferred type is a string -module.exports = function (input, PREFERRED_STRING) { - if (!isObject(input)) return input; - var fn, val; - if (PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val; - if (typeof (fn = input.valueOf) == 'function' && !isObject(val = fn.call(input))) return val; - if (!PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val; - throw TypeError("Can't convert object to primitive value"); -}; - - -/***/ }), - -/***/ "M7Xk": -/*!********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/internal-metadata.js ***! - \********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ "yQMY"); -var isObject = __webpack_require__(/*! ../internals/is-object */ "6XUM"); -var has = __webpack_require__(/*! ../internals/has */ "OG5q"); -var defineProperty = __webpack_require__(/*! ../internals/object-define-property */ "/Ybd").f; -var uid = __webpack_require__(/*! ../internals/uid */ "SDMg"); -var FREEZING = __webpack_require__(/*! ../internals/freezing */ "cZY6"); - -var METADATA = uid('meta'); -var id = 0; - -var isExtensible = Object.isExtensible || function () { - return true; -}; - -var setMetadata = function (it) { - defineProperty(it, METADATA, { value: { - objectID: 'O' + ++id, // object ID - weakData: {} // weak collections IDs - } }); -}; - -var fastKey = function (it, create) { - // return a primitive with prefix - if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it; - if (!has(it, METADATA)) { - // can't set metadata to uncaught frozen object - if (!isExtensible(it)) return 'F'; - // not necessary to add metadata - if (!create) return 'E'; - // add missing metadata - setMetadata(it); - // return object ID - } return it[METADATA].objectID; -}; - -var getWeakData = function (it, create) { - if (!has(it, METADATA)) { - // can't set metadata to uncaught frozen object - if (!isExtensible(it)) return true; - // not necessary to add metadata - if (!create) return false; - // add missing metadata - setMetadata(it); - // return the store of weak collections IDs - } return it[METADATA].weakData; -}; - -// add metadata on freeze-family methods calling -var onFreeze = function (it) { - if (FREEZING && meta.REQUIRED && isExtensible(it) && !has(it, METADATA)) setMetadata(it); - return it; -}; - -var meta = module.exports = { - REQUIRED: false, - fastKey: fastKey, - getWeakData: getWeakData, - onFreeze: onFreeze -}; - -hiddenKeys[METADATA] = true; - - -/***/ }), - -/***/ "MkZA": -/*!************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/is-forced.js ***! - \************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); - -var replacement = /#|\.prototype\./; - -var isForced = function (feature, detection) { - var value = data[normalize(feature)]; - return value == POLYFILL ? true - : value == NATIVE ? false - : typeof detection == 'function' ? fails(detection) - : !!detection; -}; - -var normalize = isForced.normalize = function (string) { - return String(string).replace(replacement, '.').toLowerCase(); -}; - -var data = isForced.data = {}; -var NATIVE = isForced.NATIVE = 'N'; -var POLYFILL = isForced.POLYFILL = 'P'; - -module.exports = isForced; - - -/***/ }), - -/***/ "NIlc": -/*!******************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/copy-constructor-properties.js ***! - \******************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var has = __webpack_require__(/*! ../internals/has */ "OG5q"); -var ownKeys = __webpack_require__(/*! ../internals/own-keys */ "76gj"); -var getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "7gGY"); -var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "/Ybd"); - -module.exports = function (target, source) { - var keys = ownKeys(source); - var defineProperty = definePropertyModule.f; - var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; - for (var i = 0; i < keys.length; i++) { - var key = keys[i]; - if (!has(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key)); - } -}; - - -/***/ }), - -/***/ "NR1a": -/*!*******************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/esnext.reflect.delete-metadata.js ***! - \*******************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var ReflectMetadataModule = __webpack_require__(/*! ../internals/reflect-metadata */ "yprU"); -var anObject = __webpack_require__(/*! ../internals/an-object */ "F26l"); - -var toMetadataKey = ReflectMetadataModule.toKey; -var getOrCreateMetadataMap = ReflectMetadataModule.getMap; -var store = ReflectMetadataModule.store; - -// `Reflect.deleteMetadata` method -// https://github.com/rbuckton/reflect-metadata -$({ target: 'Reflect', stat: true }, { - deleteMetadata: function deleteMetadata(metadataKey, target /* , targetKey */) { - var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]); - var metadataMap = getOrCreateMetadataMap(anObject(target), targetKey, false); - if (metadataMap === undefined || !metadataMap['delete'](metadataKey)) return false; - if (metadataMap.size) return true; - var targetMetadata = store.get(target); - targetMetadata['delete'](targetKey); - return !!targetMetadata.size || store['delete'](target); - } -}); - - -/***/ }), - -/***/ "Neub": -/*!*************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/a-function.js ***! - \*************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -module.exports = function (it) { - if (typeof it != 'function') { - throw TypeError(String(it) + ' is not a function'); - } return it; -}; - - -/***/ }), - -/***/ "OG5q": -/*!******************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/has.js ***! - \******************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -var hasOwnProperty = {}.hasOwnProperty; - -module.exports = function (it, key) { - return hasOwnProperty.call(it, key); -}; - - -/***/ }), - -/***/ "OXtp": -/*!*****************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/array-includes.js ***! - \*****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "EMtK"); -var toLength = __webpack_require__(/*! ../internals/to-length */ "xpLY"); -var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ "7Oj1"); - -// `Array.prototype.{ indexOf, includes }` methods implementation -var createMethod = function (IS_INCLUDES) { - return function ($this, el, fromIndex) { - var O = toIndexedObject($this); - var length = toLength(O.length); - var index = toAbsoluteIndex(fromIndex, length); - var value; - // Array#includes uses SameValueZero equality algorithm - // eslint-disable-next-line no-self-compare - if (IS_INCLUDES && el != el) while (length > index) { - value = O[index++]; - // eslint-disable-next-line no-self-compare - if (value != value) return true; - // Array#indexOf ignores holes, Array#includes - not - } else for (;length > index; index++) { - if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0; - } return !IS_INCLUDES && -1; - }; -}; - -module.exports = { - // `Array.prototype.includes` method - // https://tc39.es/ecma262/#sec-array.prototype.includes - includes: createMethod(true), - // `Array.prototype.indexOf` method - // https://tc39.es/ecma262/#sec-array.prototype.indexof - indexOf: createMethod(false) -}; - - -/***/ }), - -/***/ "Rn6E": -/*!**********************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/iterate.js ***! - \**********************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var anObject = __webpack_require__(/*! ../internals/an-object */ "F26l"); -var isArrayIteratorMethod = __webpack_require__(/*! ../internals/is-array-iterator-method */ "5MmU"); -var toLength = __webpack_require__(/*! ../internals/to-length */ "xpLY"); -var bind = __webpack_require__(/*! ../internals/function-bind-context */ "tcQx"); -var getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ "F/TS"); -var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "5zQ0"); - -var Result = function (stopped, result) { - this.stopped = stopped; - this.result = result; -}; - -module.exports = function (iterable, unboundFunction, options) { - var that = options && options.that; - var AS_ENTRIES = !!(options && options.AS_ENTRIES); - var IS_ITERATOR = !!(options && options.IS_ITERATOR); - var INTERRUPTED = !!(options && options.INTERRUPTED); - var fn = bind(unboundFunction, that, 1 + AS_ENTRIES + INTERRUPTED); - var iterator, iterFn, index, length, result, next, step; - - var stop = function (condition) { - if (iterator) iteratorClose(iterator); - return new Result(true, condition); - }; - - var callFn = function (value) { - if (AS_ENTRIES) { - anObject(value); - return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]); - } return INTERRUPTED ? fn(value, stop) : fn(value); - }; - - if (IS_ITERATOR) { - iterator = iterable; - } else { - iterFn = getIteratorMethod(iterable); - if (typeof iterFn != 'function') throw TypeError('Target is not iterable'); - // optimisation for array iterators - if (isArrayIteratorMethod(iterFn)) { - for (index = 0, length = toLength(iterable.length); length > index; index++) { - result = callFn(iterable[index]); - if (result && result instanceof Result) return result; - } return new Result(false); - } - iterator = iterFn.call(iterable); - } - - next = iterator.next; - while (!(step = next.call(iterator)).done) { - try { - result = callFn(step.value); - } catch (error) { - iteratorClose(iterator); - throw error; - } - if (typeof result == 'object' && result && result instanceof Result) return result; - } return new Result(false); -}; - - -/***/ }), - -/***/ "SDMg": -/*!******************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/uid.js ***! - \******************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -var id = 0; -var postfix = Math.random(); - -module.exports = function (key) { - return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36); -}; - - -/***/ }), - -/***/ "SM6+": -/*!**************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/an-instance.js ***! - \**************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -module.exports = function (it, Constructor, name) { - if (!(it instanceof Constructor)) { - throw TypeError('Incorrect ' + (name ? name + ' ' : '') + 'invocation'); - } return it; -}; - - -/***/ }), - -/***/ "T+gH": -/*!********************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/esnext.reflect.has-own-metadata.js ***! - \********************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var ReflectMetadataModule = __webpack_require__(/*! ../internals/reflect-metadata */ "yprU"); -var anObject = __webpack_require__(/*! ../internals/an-object */ "F26l"); - -var ordinaryHasOwnMetadata = ReflectMetadataModule.has; -var toMetadataKey = ReflectMetadataModule.toKey; - -// `Reflect.hasOwnMetadata` method -// https://github.com/rbuckton/reflect-metadata -$({ target: 'Reflect', stat: true }, { - hasOwnMetadata: function hasOwnMetadata(metadataKey, target /* , targetKey */) { - var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]); - return ordinaryHasOwnMetadata(metadataKey, anObject(target), targetKey); - } -}); - - -/***/ }), - -/***/ "T69T": -/*!**************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/descriptors.js ***! - \**************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); - -// Detect IE8's incomplete defineProperty implementation -module.exports = !fails(function () { - return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7; -}); - - -/***/ }), - -/***/ "U+kB": -/*!****************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/native-symbol.js ***! - \****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); - -module.exports = !!Object.getOwnPropertySymbols && !fails(function () { - // Chrome 38 Symbol has incorrect toString conversion - // eslint-disable-next-line no-undef - return !String(Symbol()); -}); - - -/***/ }), - -/***/ "UbkO": -/*!********************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/esnext.reflect.get-own-metadata.js ***! - \********************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var ReflectMetadataModule = __webpack_require__(/*! ../internals/reflect-metadata */ "yprU"); -var anObject = __webpack_require__(/*! ../internals/an-object */ "F26l"); - -var ordinaryGetOwnMetadata = ReflectMetadataModule.get; -var toMetadataKey = ReflectMetadataModule.toKey; - -// `Reflect.getOwnMetadata` method -// https://github.com/rbuckton/reflect-metadata -$({ target: 'Reflect', stat: true }, { - getOwnMetadata: function getOwnMetadata(metadataKey, target /* , targetKey */) { - var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]); - return ordinaryGetOwnMetadata(metadataKey, anObject(target), targetKey); - } -}); - - -/***/ }), - -/***/ "VCQ8": -/*!************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/to-object.js ***! - \************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "hmpk"); - -// `ToObject` abstract operation -// https://tc39.es/ecma262/#sec-toobject -module.exports = function (argument) { - return Object(requireObjectCoercible(argument)); -}; - - -/***/ }), - -/***/ "ViWx": -/*!*******************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.set.js ***! - \*******************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var collection = __webpack_require__(/*! ../internals/collection */ "wdMf"); -var collectionStrong = __webpack_require__(/*! ../internals/collection-strong */ "nIH4"); - -// `Set` constructor -// https://tc39.es/ecma262/#sec-set-objects -module.exports = collection('Set', function (init) { - return function Set() { return init(this, arguments.length ? arguments[0] : undefined); }; -}, collectionStrong); - - -/***/ }), - -/***/ "WijE": -/*!******************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/define-iterator.js ***! - \******************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var createIteratorConstructor = __webpack_require__(/*! ../internals/create-iterator-constructor */ "ZJLg"); -var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ "wIVT"); -var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ "7/lX"); -var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ "shqn"); -var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "aJMj"); -var redefine = __webpack_require__(/*! ../internals/redefine */ "2MGJ"); -var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "m41k"); -var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "g9hI"); -var Iterators = __webpack_require__(/*! ../internals/iterators */ "pz+c"); -var IteratorsCore = __webpack_require__(/*! ../internals/iterators-core */ "G1Vw"); - -var IteratorPrototype = IteratorsCore.IteratorPrototype; -var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS; -var ITERATOR = wellKnownSymbol('iterator'); -var KEYS = 'keys'; -var VALUES = 'values'; -var ENTRIES = 'entries'; - -var returnThis = function () { return this; }; - -module.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) { - createIteratorConstructor(IteratorConstructor, NAME, next); - - var getIterationMethod = function (KIND) { - if (KIND === DEFAULT && defaultIterator) return defaultIterator; - if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND]; - switch (KIND) { - case KEYS: return function keys() { return new IteratorConstructor(this, KIND); }; - case VALUES: return function values() { return new IteratorConstructor(this, KIND); }; - case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); }; - } return function () { return new IteratorConstructor(this); }; - }; - - var TO_STRING_TAG = NAME + ' Iterator'; - var INCORRECT_VALUES_NAME = false; - var IterablePrototype = Iterable.prototype; - var nativeIterator = IterablePrototype[ITERATOR] - || IterablePrototype['@@iterator'] - || DEFAULT && IterablePrototype[DEFAULT]; - var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT); - var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator; - var CurrentIteratorPrototype, methods, KEY; - - // fix native - if (anyNativeIterator) { - CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable())); - if (IteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) { - if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) { - if (setPrototypeOf) { - setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype); - } else if (typeof CurrentIteratorPrototype[ITERATOR] != 'function') { - createNonEnumerableProperty(CurrentIteratorPrototype, ITERATOR, returnThis); - } - } - // Set @@toStringTag to native iterators - setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true); - if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis; - } - } - - // fix Array#{values, @@iterator}.name in V8 / FF - if (DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) { - INCORRECT_VALUES_NAME = true; - defaultIterator = function values() { return nativeIterator.call(this); }; - } - - // define iterator - if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) { - createNonEnumerableProperty(IterablePrototype, ITERATOR, defaultIterator); - } - Iterators[NAME] = defaultIterator; - - // export additional methods - if (DEFAULT) { - methods = { - values: getIterationMethod(VALUES), - keys: IS_SET ? defaultIterator : getIterationMethod(KEYS), - entries: getIterationMethod(ENTRIES) - }; - if (FORCED) for (KEY in methods) { - if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) { - redefine(IterablePrototype, KEY, methods[KEY]); - } - } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods); - } - - return methods; -}; - - -/***/ }), - -/***/ "XH/I": -/*!*****************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/internal-state.js ***! - \*****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var NATIVE_WEAK_MAP = __webpack_require__(/*! ../internals/native-weak-map */ "yaK9"); -var global = __webpack_require__(/*! ../internals/global */ "ocAm"); -var isObject = __webpack_require__(/*! ../internals/is-object */ "6XUM"); -var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "aJMj"); -var objectHas = __webpack_require__(/*! ../internals/has */ "OG5q"); -var shared = __webpack_require__(/*! ../internals/shared-store */ "KBkW"); -var sharedKey = __webpack_require__(/*! ../internals/shared-key */ "/AsP"); -var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ "yQMY"); - -var WeakMap = global.WeakMap; -var set, get, has; - -var enforce = function (it) { - return has(it) ? get(it) : set(it, {}); -}; - -var getterFor = function (TYPE) { - return function (it) { - var state; - if (!isObject(it) || (state = get(it)).type !== TYPE) { - throw TypeError('Incompatible receiver, ' + TYPE + ' required'); - } return state; - }; -}; - -if (NATIVE_WEAK_MAP) { - var store = shared.state || (shared.state = new WeakMap()); - var wmget = store.get; - var wmhas = store.has; - var wmset = store.set; - set = function (it, metadata) { - metadata.facade = it; - wmset.call(store, it, metadata); - return metadata; - }; - get = function (it) { - return wmget.call(store, it) || {}; - }; - has = function (it) { - return wmhas.call(store, it); - }; -} else { - var STATE = sharedKey('state'); - hiddenKeys[STATE] = true; - set = function (it, metadata) { - metadata.facade = it; - createNonEnumerableProperty(it, STATE, metadata); - return metadata; - }; - get = function (it) { - return objectHas(it, STATE) ? it[STATE] : {}; - }; - has = function (it) { - return objectHas(it, STATE); - }; -} - -module.exports = { - set: set, - get: get, - has: has, - enforce: enforce, - getterFor: getterFor -}; - - -/***/ }), - -/***/ "XdSI": -/*!*****************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/ie8-dom-define.js ***! - \*****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "T69T"); -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); -var createElement = __webpack_require__(/*! ../internals/document-create-element */ "qx7X"); - -// Thank's IE8 for his funny defineProperty -module.exports = !DESCRIPTORS && !fails(function () { - return Object.defineProperty(createElement('div'), 'a', { - get: function () { return 7; } - }).a != 7; -}); - - -/***/ }), - -/***/ "ZJLg": -/*!******************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/create-iterator-constructor.js ***! - \******************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var IteratorPrototype = __webpack_require__(/*! ../internals/iterators-core */ "G1Vw").IteratorPrototype; -var create = __webpack_require__(/*! ../internals/object-create */ "2RDa"); -var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "uSMZ"); -var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ "shqn"); -var Iterators = __webpack_require__(/*! ../internals/iterators */ "pz+c"); - -var returnThis = function () { return this; }; - -module.exports = function (IteratorConstructor, NAME, next) { - var TO_STRING_TAG = NAME + ' Iterator'; - IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(1, next) }); - setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true); - Iterators[TO_STRING_TAG] = returnThis; - return IteratorConstructor; -}; - - -/***/ }), - -/***/ "ZRqE": -/*!**************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/object-keys.js ***! - \**************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var internalObjectKeys = __webpack_require__(/*! ../internals/object-keys-internal */ "vVmn"); -var enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ "aAjO"); - -// `Object.keys` method -// https://tc39.es/ecma262/#sec-object.keys -module.exports = Object.keys || function keys(O) { - return internalObjectKeys(O, enumBugKeys); -}; - - -/***/ }), - -/***/ "aAjO": -/*!****************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/enum-bug-keys.js ***! - \****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -// IE8- don't enum bug keys -module.exports = [ - 'constructor', - 'hasOwnProperty', - 'isPrototypeOf', - 'propertyIsEnumerable', - 'toLocaleString', - 'toString', - 'valueOf' -]; - - -/***/ }), - -/***/ "aJMj": -/*!*********************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/create-non-enumerable-property.js ***! - \*********************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "T69T"); -var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "/Ybd"); -var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "uSMZ"); - -module.exports = DESCRIPTORS ? function (object, key, value) { - return definePropertyModule.f(object, key, createPropertyDescriptor(1, value)); -} : function (object, key, value) { - object[key] = value; - return object; -}; - - -/***/ }), - -/***/ "busr": -/*!**********************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/object-get-own-property-symbols.js ***! - \**********************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -exports.f = Object.getOwnPropertySymbols; - - -/***/ }), - -/***/ "cZY6": -/*!***********************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/freezing.js ***! - \***********************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); - -module.exports = !fails(function () { - return Object.isExtensible(Object.preventExtensions({})); -}); - - -/***/ }), - -/***/ "cwa4": -/*!***************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/correct-prototype-getter.js ***! - \***************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); - -module.exports = !fails(function () { - function F() { /* empty */ } - F.prototype.constructor = null; - return Object.getPrototypeOf(new F()) !== F.prototype; -}); - - -/***/ }), - -/***/ "erNl": -/*!***********************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/is-array.js ***! - \***********************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var classof = __webpack_require__(/*! ../internals/classof-raw */ "ezU2"); - -// `IsArray` abstract operation -// https://tc39.es/ecma262/#sec-isarray -module.exports = Array.isArray || function isArray(arg) { - return classof(arg) == 'Array'; -}; - - -/***/ }), - -/***/ "ezU2": -/*!**************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/classof-raw.js ***! - \**************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -var toString = {}.toString; - -module.exports = function (it) { - return toString.call(it).slice(8, -1); -}; - - -/***/ }), - -/***/ "g7ye": -/*!*******************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/esnext.reflect.define-metadata.js ***! - \*******************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var ReflectMetadataModule = __webpack_require__(/*! ../internals/reflect-metadata */ "yprU"); -var anObject = __webpack_require__(/*! ../internals/an-object */ "F26l"); - -var toMetadataKey = ReflectMetadataModule.toKey; -var ordinaryDefineOwnMetadata = ReflectMetadataModule.set; - -// `Reflect.defineMetadata` method -// https://github.com/rbuckton/reflect-metadata -$({ target: 'Reflect', stat: true }, { - defineMetadata: function defineMetadata(metadataKey, metadataValue, target /* , targetKey */) { - var targetKey = arguments.length < 4 ? undefined : toMetadataKey(arguments[3]); - ordinaryDefineOwnMetadata(metadataKey, metadataValue, anObject(target), targetKey); - } -}); - - -/***/ }), - -/***/ "g9hI": -/*!**********************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/is-pure.js ***! - \**********************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -module.exports = false; - - -/***/ }), - -/***/ "gn9T": -/*!********************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/object-property-is-enumerable.js ***! - \********************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var nativePropertyIsEnumerable = {}.propertyIsEnumerable; -var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; - -// Nashorn ~ JDK8 bug -var NASHORN_BUG = getOwnPropertyDescriptor && !nativePropertyIsEnumerable.call({ 1: 2 }, 1); - -// `Object.prototype.propertyIsEnumerable` method implementation -// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable -exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) { - var descriptor = getOwnPropertyDescriptor(this, V); - return !!descriptor && descriptor.enumerable; -} : nativePropertyIsEnumerable; - - -/***/ }), - -/***/ "hN/g": -/*!**************************!*\ - !*** ./src/polyfills.ts ***! - \**************************/ -/*! no exports provided */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony import */ var zone_js_dist_zone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! zone.js/dist/zone */ "0TWp"); -/* harmony import */ var zone_js_dist_zone__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(zone_js_dist_zone__WEBPACK_IMPORTED_MODULE_0__); -/** - * This file includes polyfills needed by Angular and is loaded before the app. - * You can add your own extra polyfills to this file. - * - * This file is divided into 2 sections: - * 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers. - * 2. Application imports. Files imported after ZoneJS that should be loaded before your main - * file. - * - * The current setup is for so-called "evergreen" browsers; the last versions of browsers that - * automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera), - * Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile. - * - * Learn more in https://angular.io/docs/ts/latest/guide/browser-support.html - */ -/*************************************************************************************************** - * BROWSER POLYFILLS - */ -/** IE9, IE10 and IE11 requires all of the following polyfills. **/ -// import 'core-js/es6/symbol'; -// import 'core-js/es6/object'; -// import 'core-js/es6/function'; -// import 'core-js/es6/parse-int'; -// import 'core-js/es6/parse-float'; -// import 'core-js/es6/number'; -// import 'core-js/es6/math'; -// import 'core-js/es6/string'; -// import 'core-js/es6/date'; -// import 'core-js/es6/array'; -// import 'core-js/es6/regexp'; -// import 'core-js/es6/map'; -// import 'core-js/es6/weak-map'; -// import 'core-js/es6/set'; -/** IE10 and IE11 requires the following for NgClass support on SVG elements */ -// import 'classlist.js'; // Run `npm install --save classlist.js`. -/** IE10 and IE11 requires the following for the Reflect API. */ -// import 'core-js/es6/reflect'; -/** Evergreen browsers require these. **/ -// Used for reflect-metadata in JIT. If you use AOT (and only Angular decorators), you can remove. -// import 'core-js/es7/reflect'; -/** - * Web Animations `@angular/platform-browser/animations` - * Only required if AnimationBuilder is used within the application and using IE/Edge or Safari. - * Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0). - **/ -// import 'web-animations-js'; // Run `npm install --save web-animations-js`. -/** - * By default, zone.js will patch all possible macroTask and DomEvents - * user can disable parts of macroTask/DomEvents patch by setting following flags - */ -// (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame -// (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick -// (window as any).__zone_symbol__BLACK_LISTED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames -/* -* in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js -* with the following flag, it will bypass `zone.js` patch for IE/Edge -*/ -// (window as any).__Zone_enable_cross_context_check = true; -/*************************************************************************************************** - * Zone JS is required by default for Angular itself. - */ - // Included with Angular CLI. -/*************************************************************************************************** - * APPLICATION IMPORTS - */ - - -/***/ }), - -/***/ "hdsk": -/*!************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.weak-map.js ***! - \************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var global = __webpack_require__(/*! ../internals/global */ "ocAm"); -var redefineAll = __webpack_require__(/*! ../internals/redefine-all */ "8aNu"); -var InternalMetadataModule = __webpack_require__(/*! ../internals/internal-metadata */ "M7Xk"); -var collection = __webpack_require__(/*! ../internals/collection */ "wdMf"); -var collectionWeak = __webpack_require__(/*! ../internals/collection-weak */ "DAme"); -var isObject = __webpack_require__(/*! ../internals/is-object */ "6XUM"); -var enforceIternalState = __webpack_require__(/*! ../internals/internal-state */ "XH/I").enforce; -var NATIVE_WEAK_MAP = __webpack_require__(/*! ../internals/native-weak-map */ "yaK9"); - -var IS_IE11 = !global.ActiveXObject && 'ActiveXObject' in global; -var isExtensible = Object.isExtensible; -var InternalWeakMap; - -var wrapper = function (init) { - return function WeakMap() { - return init(this, arguments.length ? arguments[0] : undefined); - }; -}; - -// `WeakMap` constructor -// https://tc39.es/ecma262/#sec-weakmap-constructor -var $WeakMap = module.exports = collection('WeakMap', wrapper, collectionWeak); - -// IE11 WeakMap frozen keys fix -// We can't use feature detection because it crash some old IE builds -// https://github.com/zloirock/core-js/issues/485 -if (NATIVE_WEAK_MAP && IS_IE11) { - InternalWeakMap = collectionWeak.getConstructor(wrapper, 'WeakMap', true); - InternalMetadataModule.REQUIRED = true; - var WeakMapPrototype = $WeakMap.prototype; - var nativeDelete = WeakMapPrototype['delete']; - var nativeHas = WeakMapPrototype.has; - var nativeGet = WeakMapPrototype.get; - var nativeSet = WeakMapPrototype.set; - redefineAll(WeakMapPrototype, { - 'delete': function (key) { - if (isObject(key) && !isExtensible(key)) { - var state = enforceIternalState(this); - if (!state.frozen) state.frozen = new InternalWeakMap(); - return nativeDelete.call(this, key) || state.frozen['delete'](key); - } return nativeDelete.call(this, key); - }, - has: function has(key) { - if (isObject(key) && !isExtensible(key)) { - var state = enforceIternalState(this); - if (!state.frozen) state.frozen = new InternalWeakMap(); - return nativeHas.call(this, key) || state.frozen.has(key); - } return nativeHas.call(this, key); - }, - get: function get(key) { - if (isObject(key) && !isExtensible(key)) { - var state = enforceIternalState(this); - if (!state.frozen) state.frozen = new InternalWeakMap(); - return nativeHas.call(this, key) ? nativeGet.call(this, key) : state.frozen.get(key); - } return nativeGet.call(this, key); - }, - set: function set(key, value) { - if (isObject(key) && !isExtensible(key)) { - var state = enforceIternalState(this); - if (!state.frozen) state.frozen = new InternalWeakMap(); - nativeHas.call(this, key) ? nativeSet.call(this, key, value) : state.frozen.set(key, value); - } else nativeSet.call(this, key, value); - return this; - } - }); -} - - -/***/ }), - -/***/ "hmpk": -/*!***************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/require-object-coercible.js ***! - \***************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -// `RequireObjectCoercible` abstract operation -// https://tc39.es/ecma262/#sec-requireobjectcoercible -module.exports = function (it) { - if (it == undefined) throw TypeError("Can't call method on " + it); - return it; -}; - - -/***/ }), - -/***/ "i85Z": -/*!********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/use-symbol-as-uid.js ***! - \********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/native-symbol */ "U+kB"); - -module.exports = NATIVE_SYMBOL - // eslint-disable-next-line no-undef - && !Symbol.sham - // eslint-disable-next-line no-undef - && typeof Symbol.iterator == 'symbol'; - - -/***/ }), - -/***/ "kk6e": -/*!******************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/array-iteration.js ***! - \******************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var bind = __webpack_require__(/*! ../internals/function-bind-context */ "tcQx"); -var IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ "tUdv"); -var toObject = __webpack_require__(/*! ../internals/to-object */ "VCQ8"); -var toLength = __webpack_require__(/*! ../internals/to-length */ "xpLY"); -var arraySpeciesCreate = __webpack_require__(/*! ../internals/array-species-create */ "JafA"); - -var push = [].push; - -// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterOut }` methods implementation -var createMethod = function (TYPE) { - var IS_MAP = TYPE == 1; - var IS_FILTER = TYPE == 2; - var IS_SOME = TYPE == 3; - var IS_EVERY = TYPE == 4; - var IS_FIND_INDEX = TYPE == 6; - var IS_FILTER_OUT = TYPE == 7; - var NO_HOLES = TYPE == 5 || IS_FIND_INDEX; - return function ($this, callbackfn, that, specificCreate) { - var O = toObject($this); - var self = IndexedObject(O); - var boundFunction = bind(callbackfn, that, 3); - var length = toLength(self.length); - var index = 0; - var create = specificCreate || arraySpeciesCreate; - var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_OUT ? create($this, 0) : undefined; - var value, result; - for (;length > index; index++) if (NO_HOLES || index in self) { - value = self[index]; - result = boundFunction(value, index, O); - if (TYPE) { - if (IS_MAP) target[index] = result; // map - else if (result) switch (TYPE) { - case 3: return true; // some - case 5: return value; // find - case 6: return index; // findIndex - case 2: push.call(target, value); // filter - } else switch (TYPE) { - case 4: return false; // every - case 7: push.call(target, value); // filterOut - } - } - } - return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target; - }; -}; - -module.exports = { - // `Array.prototype.forEach` method - // https://tc39.es/ecma262/#sec-array.prototype.foreach - forEach: createMethod(0), - // `Array.prototype.map` method - // https://tc39.es/ecma262/#sec-array.prototype.map - map: createMethod(1), - // `Array.prototype.filter` method - // https://tc39.es/ecma262/#sec-array.prototype.filter - filter: createMethod(2), - // `Array.prototype.some` method - // https://tc39.es/ecma262/#sec-array.prototype.some - some: createMethod(3), - // `Array.prototype.every` method - // https://tc39.es/ecma262/#sec-array.prototype.every - every: createMethod(4), - // `Array.prototype.find` method - // https://tc39.es/ecma262/#sec-array.prototype.find - find: createMethod(5), - // `Array.prototype.findIndex` method - // https://tc39.es/ecma262/#sec-array.prototype.findIndex - findIndex: createMethod(6), - // `Array.prototype.filterOut` method - // https://github.com/tc39/proposal-array-filtering - filterOut: createMethod(7) -}; - - -/***/ }), - -/***/ "m41k": -/*!********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/well-known-symbol.js ***! - \********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var global = __webpack_require__(/*! ../internals/global */ "ocAm"); -var shared = __webpack_require__(/*! ../internals/shared */ "yIiL"); -var has = __webpack_require__(/*! ../internals/has */ "OG5q"); -var uid = __webpack_require__(/*! ../internals/uid */ "SDMg"); -var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/native-symbol */ "U+kB"); -var USE_SYMBOL_AS_UID = __webpack_require__(/*! ../internals/use-symbol-as-uid */ "i85Z"); - -var WellKnownSymbolsStore = shared('wks'); -var Symbol = global.Symbol; -var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid; - -module.exports = function (name) { - if (!has(WellKnownSymbolsStore, name)) { - if (NATIVE_SYMBOL && has(Symbol, name)) WellKnownSymbolsStore[name] = Symbol[name]; - else WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name); - } return WellKnownSymbolsStore[name]; -}; - - -/***/ }), - -/***/ "mN5b": -/*!**********************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/classof.js ***! - \**********************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var TO_STRING_TAG_SUPPORT = __webpack_require__(/*! ../internals/to-string-tag-support */ "4PyY"); -var classofRaw = __webpack_require__(/*! ../internals/classof-raw */ "ezU2"); -var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "m41k"); - -var TO_STRING_TAG = wellKnownSymbol('toStringTag'); -// ES3 wrong here -var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments'; - -// fallback for IE11 Script Access Denied error -var tryGet = function (it, key) { - try { - return it[key]; - } catch (error) { /* empty */ } -}; - -// getting tag from ES6+ `Object.prototype.toString` -module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) { - var O, tag, result; - return it === undefined ? 'Undefined' : it === null ? 'Null' - // @@toStringTag case - : typeof (tag = tryGet(O = Object(it), TO_STRING_TAG)) == 'string' ? tag - // builtinTag case - : CORRECT_ARGUMENTS ? classofRaw(O) - // ES3 arguments fallback - : (result = classofRaw(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : result; -}; - - -/***/ }), - -/***/ "nIH4": -/*!********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/collection-strong.js ***! - \********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var defineProperty = __webpack_require__(/*! ../internals/object-define-property */ "/Ybd").f; -var create = __webpack_require__(/*! ../internals/object-create */ "2RDa"); -var redefineAll = __webpack_require__(/*! ../internals/redefine-all */ "8aNu"); -var bind = __webpack_require__(/*! ../internals/function-bind-context */ "tcQx"); -var anInstance = __webpack_require__(/*! ../internals/an-instance */ "SM6+"); -var iterate = __webpack_require__(/*! ../internals/iterate */ "Rn6E"); -var defineIterator = __webpack_require__(/*! ../internals/define-iterator */ "WijE"); -var setSpecies = __webpack_require__(/*! ../internals/set-species */ "JHhb"); -var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "T69T"); -var fastKey = __webpack_require__(/*! ../internals/internal-metadata */ "M7Xk").fastKey; -var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "XH/I"); - -var setInternalState = InternalStateModule.set; -var internalStateGetterFor = InternalStateModule.getterFor; - -module.exports = { - getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) { - var C = wrapper(function (that, iterable) { - anInstance(that, C, CONSTRUCTOR_NAME); - setInternalState(that, { - type: CONSTRUCTOR_NAME, - index: create(null), - first: undefined, - last: undefined, - size: 0 - }); - if (!DESCRIPTORS) that.size = 0; - if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP }); - }); - - var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME); - - var define = function (that, key, value) { - var state = getInternalState(that); - var entry = getEntry(that, key); - var previous, index; - // change existing entry - if (entry) { - entry.value = value; - // create new entry - } else { - state.last = entry = { - index: index = fastKey(key, true), - key: key, - value: value, - previous: previous = state.last, - next: undefined, - removed: false - }; - if (!state.first) state.first = entry; - if (previous) previous.next = entry; - if (DESCRIPTORS) state.size++; - else that.size++; - // add to index - if (index !== 'F') state.index[index] = entry; - } return that; - }; - - var getEntry = function (that, key) { - var state = getInternalState(that); - // fast case - var index = fastKey(key); - var entry; - if (index !== 'F') return state.index[index]; - // frozen object case - for (entry = state.first; entry; entry = entry.next) { - if (entry.key == key) return entry; - } - }; - - redefineAll(C.prototype, { - // 23.1.3.1 Map.prototype.clear() - // 23.2.3.2 Set.prototype.clear() - clear: function clear() { - var that = this; - var state = getInternalState(that); - var data = state.index; - var entry = state.first; - while (entry) { - entry.removed = true; - if (entry.previous) entry.previous = entry.previous.next = undefined; - delete data[entry.index]; - entry = entry.next; - } - state.first = state.last = undefined; - if (DESCRIPTORS) state.size = 0; - else that.size = 0; - }, - // 23.1.3.3 Map.prototype.delete(key) - // 23.2.3.4 Set.prototype.delete(value) - 'delete': function (key) { - var that = this; - var state = getInternalState(that); - var entry = getEntry(that, key); - if (entry) { - var next = entry.next; - var prev = entry.previous; - delete state.index[entry.index]; - entry.removed = true; - if (prev) prev.next = next; - if (next) next.previous = prev; - if (state.first == entry) state.first = next; - if (state.last == entry) state.last = prev; - if (DESCRIPTORS) state.size--; - else that.size--; - } return !!entry; - }, - // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined) - // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined) - forEach: function forEach(callbackfn /* , that = undefined */) { - var state = getInternalState(this); - var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); - var entry; - while (entry = entry ? entry.next : state.first) { - boundFunction(entry.value, entry.key, this); - // revert to the last existing entry - while (entry && entry.removed) entry = entry.previous; - } - }, - // 23.1.3.7 Map.prototype.has(key) - // 23.2.3.7 Set.prototype.has(value) - has: function has(key) { - return !!getEntry(this, key); - } - }); - - redefineAll(C.prototype, IS_MAP ? { - // 23.1.3.6 Map.prototype.get(key) - get: function get(key) { - var entry = getEntry(this, key); - return entry && entry.value; - }, - // 23.1.3.9 Map.prototype.set(key, value) - set: function set(key, value) { - return define(this, key === 0 ? 0 : key, value); - } - } : { - // 23.2.3.1 Set.prototype.add(value) - add: function add(value) { - return define(this, value = value === 0 ? 0 : value, value); - } - }); - if (DESCRIPTORS) defineProperty(C.prototype, 'size', { - get: function () { - return getInternalState(this).size; - } - }); - return C; - }, - setStrong: function (C, CONSTRUCTOR_NAME, IS_MAP) { - var ITERATOR_NAME = CONSTRUCTOR_NAME + ' Iterator'; - var getInternalCollectionState = internalStateGetterFor(CONSTRUCTOR_NAME); - var getInternalIteratorState = internalStateGetterFor(ITERATOR_NAME); - // add .keys, .values, .entries, [@@iterator] - // 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11 - defineIterator(C, CONSTRUCTOR_NAME, function (iterated, kind) { - setInternalState(this, { - type: ITERATOR_NAME, - target: iterated, - state: getInternalCollectionState(iterated), - kind: kind, - last: undefined - }); - }, function () { - var state = getInternalIteratorState(this); - var kind = state.kind; - var entry = state.last; - // revert to the last existing entry - while (entry && entry.removed) entry = entry.previous; - // get next entry - if (!state.target || !(state.last = entry = entry ? entry.next : state.state.first)) { - // or finish the iteration - state.target = undefined; - return { value: undefined, done: true }; - } - // return step by kind - if (kind == 'keys') return { value: entry.key, done: false }; - if (kind == 'values') return { value: entry.value, done: false }; - return { value: [entry.key, entry.value], done: false }; - }, IS_MAP ? 'entries' : 'values', !IS_MAP, true); - - // add [@@species], 23.1.2.2, 23.2.2.2 - setSpecies(CONSTRUCTOR_NAME); - } -}; - - -/***/ }), - -/***/ "nN1m": -/*!*******************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/proposals/reflect-metadata.js ***! - \*******************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -__webpack_require__(/*! ../modules/esnext.reflect.define-metadata */ "g7ye"); -__webpack_require__(/*! ../modules/esnext.reflect.delete-metadata */ "NR1a"); -__webpack_require__(/*! ../modules/esnext.reflect.get-metadata */ "Bb/w"); -__webpack_require__(/*! ../modules/esnext.reflect.get-metadata-keys */ "KYLi"); -__webpack_require__(/*! ../modules/esnext.reflect.get-own-metadata */ "UbkO"); -__webpack_require__(/*! ../modules/esnext.reflect.get-own-metadata-keys */ "Icrz"); -__webpack_require__(/*! ../modules/esnext.reflect.has-metadata */ "/sWL"); -__webpack_require__(/*! ../modules/esnext.reflect.has-own-metadata */ "T+gH"); -__webpack_require__(/*! ../modules/esnext.reflect.metadata */ "B4ea"); - - -/***/ }), - -/***/ "ocAm": -/*!*********************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/global.js ***! - \*********************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -var check = function (it) { - return it && it.Math == Math && it; -}; - -// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 -module.exports = - // eslint-disable-next-line no-undef - check(typeof globalThis == 'object' && globalThis) || - check(typeof window == 'object' && window) || - check(typeof self == 'object' && self) || - check(typeof global == 'object' && global) || - // eslint-disable-next-line no-new-func - (function () { return this; })() || Function('return this')(); - - -/***/ }), - -/***/ "pz+c": -/*!************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/iterators.js ***! - \************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -module.exports = {}; - - -/***/ }), - -/***/ "qx7X": -/*!**************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/document-create-element.js ***! - \**************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var global = __webpack_require__(/*! ../internals/global */ "ocAm"); -var isObject = __webpack_require__(/*! ../internals/is-object */ "6XUM"); - -var document = global.document; -// typeof document.createElement is 'object' in old IE -var EXISTS = isObject(document) && isObject(document.createElement); - -module.exports = function (it) { - return EXISTS ? document.createElement(it) : {}; -}; - - -/***/ }), - -/***/ "rG8t": -/*!********************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/fails.js ***! - \********************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -module.exports = function (exec) { - try { - return !!exec(); - } catch (error) { - return true; - } -}; - - -/***/ }), - -/***/ "rZy+": -/*!*********************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/src/webpack/jit-polyfills.js ***! - \*********************************************************************************/ -/*! no exports provided */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony import */ var core_js_proposals_reflect_metadata__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/proposals/reflect-metadata */ "nN1m"); -/* harmony import */ var core_js_proposals_reflect_metadata__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_proposals_reflect_metadata__WEBPACK_IMPORTED_MODULE_0__); -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - -/***/ }), - -/***/ "shqn": -/*!********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/set-to-string-tag.js ***! - \********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var defineProperty = __webpack_require__(/*! ../internals/object-define-property */ "/Ybd").f; -var has = __webpack_require__(/*! ../internals/has */ "OG5q"); -var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "m41k"); - -var TO_STRING_TAG = wellKnownSymbol('toStringTag'); - -module.exports = function (it, TAG, STATIC) { - if (it && !has(it = STATIC ? it : it.prototype, TO_STRING_TAG)) { - defineProperty(it, TO_STRING_TAG, { configurable: true, value: TAG }); - } -}; - - -/***/ }), - -/***/ "tUdv": -/*!*****************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/indexed-object.js ***! - \*****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); -var classof = __webpack_require__(/*! ../internals/classof-raw */ "ezU2"); - -var split = ''.split; - -// fallback for non-array-like ES3 and non-enumerable old V8 strings -module.exports = fails(function () { - // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346 - // eslint-disable-next-line no-prototype-builtins - return !Object('z').propertyIsEnumerable(0); -}) ? function (it) { - return classof(it) == 'String' ? split.call(it, '') : Object(it); -} : Object; - - -/***/ }), - -/***/ "tcQx": -/*!************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/function-bind-context.js ***! - \************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var aFunction = __webpack_require__(/*! ../internals/a-function */ "Neub"); - -// optional / simple context binding -module.exports = function (fn, that, length) { - aFunction(fn); - if (that === undefined) return fn; - switch (length) { - case 0: return function () { - return fn.call(that); - }; - case 1: return function (a) { - return fn.call(that, a); - }; - case 2: return function (a, b) { - return fn.call(that, a, b); - }; - case 3: return function (a, b, c) { - return fn.call(that, a, b, c); - }; - } - return function (/* ...args */) { - return fn.apply(that, arguments); - }; -}; - - -/***/ }), - -/***/ "uSMZ": -/*!*****************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/create-property-descriptor.js ***! - \*****************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -module.exports = function (bitmap, value) { - return { - enumerable: !(bitmap & 1), - configurable: !(bitmap & 2), - writable: !(bitmap & 4), - value: value - }; -}; - - -/***/ }), - -/***/ "vDBE": -/*!*************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/to-integer.js ***! - \*************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -var ceil = Math.ceil; -var floor = Math.floor; - -// `ToInteger` abstract operation -// https://tc39.es/ecma262/#sec-tointeger -module.exports = function (argument) { - return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument); -}; - - -/***/ }), - -/***/ "vRoz": -/*!*******************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.map.js ***! - \*******************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var collection = __webpack_require__(/*! ../internals/collection */ "wdMf"); -var collectionStrong = __webpack_require__(/*! ../internals/collection-strong */ "nIH4"); - -// `Map` constructor -// https://tc39.es/ecma262/#sec-map-objects -module.exports = collection('Map', function (init) { - return function Map() { return init(this, arguments.length ? arguments[0] : undefined); }; -}, collectionStrong); - - -/***/ }), - -/***/ "vVmn": -/*!***********************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/object-keys-internal.js ***! - \***********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var has = __webpack_require__(/*! ../internals/has */ "OG5q"); -var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "EMtK"); -var indexOf = __webpack_require__(/*! ../internals/array-includes */ "OXtp").indexOf; -var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ "yQMY"); - -module.exports = function (object, names) { - var O = toIndexedObject(object); - var i = 0; - var result = []; - var key; - for (key in O) !has(hiddenKeys, key) && has(O, key) && result.push(key); - // Don't enum bug & hidden keys - while (names.length > i) if (has(O, key = names[i++])) { - ~indexOf(result, key) || result.push(key); - } - return result; -}; - - -/***/ }), - -/***/ "wA6s": -/*!*********************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/export.js ***! - \*********************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var global = __webpack_require__(/*! ../internals/global */ "ocAm"); -var getOwnPropertyDescriptor = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "7gGY").f; -var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "aJMj"); -var redefine = __webpack_require__(/*! ../internals/redefine */ "2MGJ"); -var setGlobal = __webpack_require__(/*! ../internals/set-global */ "Fqhe"); -var copyConstructorProperties = __webpack_require__(/*! ../internals/copy-constructor-properties */ "NIlc"); -var isForced = __webpack_require__(/*! ../internals/is-forced */ "MkZA"); - -/* - options.target - name of the target object - options.global - target is the global object - options.stat - export as static methods of target - options.proto - export as prototype methods of target - options.real - real prototype method for the `pure` version - options.forced - export even if the native feature is available - options.bind - bind methods to the target, required for the `pure` version - options.wrap - wrap constructors to preventing global pollution, required for the `pure` version - options.unsafe - use the simple assignment of property instead of delete + defineProperty - options.sham - add a flag to not completely full polyfills - options.enumerable - export as enumerable property - options.noTargetGet - prevent calling a getter on target -*/ -module.exports = function (options, source) { - var TARGET = options.target; - var GLOBAL = options.global; - var STATIC = options.stat; - var FORCED, target, key, targetProperty, sourceProperty, descriptor; - if (GLOBAL) { - target = global; - } else if (STATIC) { - target = global[TARGET] || setGlobal(TARGET, {}); - } else { - target = (global[TARGET] || {}).prototype; - } - if (target) for (key in source) { - sourceProperty = source[key]; - if (options.noTargetGet) { - descriptor = getOwnPropertyDescriptor(target, key); - targetProperty = descriptor && descriptor.value; - } else targetProperty = target[key]; - FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced); - // contained in target - if (!FORCED && targetProperty !== undefined) { - if (typeof sourceProperty === typeof targetProperty) continue; - copyConstructorProperties(sourceProperty, targetProperty); - } - // add a flag to not completely full polyfills - if (options.sham || (targetProperty && targetProperty.sham)) { - createNonEnumerableProperty(sourceProperty, 'sham', true); - } - // extend global - redefine(target, key, sourceProperty, options); - } -}; - - -/***/ }), - -/***/ "wIVT": -/*!**************************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/object-get-prototype-of.js ***! - \**************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var has = __webpack_require__(/*! ../internals/has */ "OG5q"); -var toObject = __webpack_require__(/*! ../internals/to-object */ "VCQ8"); -var sharedKey = __webpack_require__(/*! ../internals/shared-key */ "/AsP"); -var CORRECT_PROTOTYPE_GETTER = __webpack_require__(/*! ../internals/correct-prototype-getter */ "cwa4"); - -var IE_PROTO = sharedKey('IE_PROTO'); -var ObjectPrototype = Object.prototype; - -// `Object.getPrototypeOf` method -// https://tc39.es/ecma262/#sec-object.getprototypeof -module.exports = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function (O) { - O = toObject(O); - if (has(O, IE_PROTO)) return O[IE_PROTO]; - if (typeof O.constructor == 'function' && O instanceof O.constructor) { - return O.constructor.prototype; - } return O instanceof Object ? ObjectPrototype : null; -}; - - -/***/ }), - -/***/ "wdMf": -/*!*************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/collection.js ***! - \*************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var $ = __webpack_require__(/*! ../internals/export */ "wA6s"); -var global = __webpack_require__(/*! ../internals/global */ "ocAm"); -var isForced = __webpack_require__(/*! ../internals/is-forced */ "MkZA"); -var redefine = __webpack_require__(/*! ../internals/redefine */ "2MGJ"); -var InternalMetadataModule = __webpack_require__(/*! ../internals/internal-metadata */ "M7Xk"); -var iterate = __webpack_require__(/*! ../internals/iterate */ "Rn6E"); -var anInstance = __webpack_require__(/*! ../internals/an-instance */ "SM6+"); -var isObject = __webpack_require__(/*! ../internals/is-object */ "6XUM"); -var fails = __webpack_require__(/*! ../internals/fails */ "rG8t"); -var checkCorrectnessOfIteration = __webpack_require__(/*! ../internals/check-correctness-of-iteration */ "EIBq"); -var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ "shqn"); -var inheritIfRequired = __webpack_require__(/*! ../internals/inherit-if-required */ "K6ZX"); - -module.exports = function (CONSTRUCTOR_NAME, wrapper, common) { - var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1; - var IS_WEAK = CONSTRUCTOR_NAME.indexOf('Weak') !== -1; - var ADDER = IS_MAP ? 'set' : 'add'; - var NativeConstructor = global[CONSTRUCTOR_NAME]; - var NativePrototype = NativeConstructor && NativeConstructor.prototype; - var Constructor = NativeConstructor; - var exported = {}; - - var fixMethod = function (KEY) { - var nativeMethod = NativePrototype[KEY]; - redefine(NativePrototype, KEY, - KEY == 'add' ? function add(value) { - nativeMethod.call(this, value === 0 ? 0 : value); - return this; - } : KEY == 'delete' ? function (key) { - return IS_WEAK && !isObject(key) ? false : nativeMethod.call(this, key === 0 ? 0 : key); - } : KEY == 'get' ? function get(key) { - return IS_WEAK && !isObject(key) ? undefined : nativeMethod.call(this, key === 0 ? 0 : key); - } : KEY == 'has' ? function has(key) { - return IS_WEAK && !isObject(key) ? false : nativeMethod.call(this, key === 0 ? 0 : key); - } : function set(key, value) { - nativeMethod.call(this, key === 0 ? 0 : key, value); - return this; - } - ); - }; - - // eslint-disable-next-line max-len - if (isForced(CONSTRUCTOR_NAME, typeof NativeConstructor != 'function' || !(IS_WEAK || NativePrototype.forEach && !fails(function () { - new NativeConstructor().entries().next(); - })))) { - // create collection constructor - Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER); - InternalMetadataModule.REQUIRED = true; - } else if (isForced(CONSTRUCTOR_NAME, true)) { - var instance = new Constructor(); - // early implementations not supports chaining - var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance; - // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false - var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); }); - // most early implementations doesn't supports iterables, most modern - not close it correctly - // eslint-disable-next-line no-new - var ACCEPT_ITERABLES = checkCorrectnessOfIteration(function (iterable) { new NativeConstructor(iterable); }); - // for early implementations -0 and +0 not the same - var BUGGY_ZERO = !IS_WEAK && fails(function () { - // V8 ~ Chromium 42- fails only with 5+ elements - var $instance = new NativeConstructor(); - var index = 5; - while (index--) $instance[ADDER](index, index); - return !$instance.has(-0); - }); - - if (!ACCEPT_ITERABLES) { - Constructor = wrapper(function (dummy, iterable) { - anInstance(dummy, Constructor, CONSTRUCTOR_NAME); - var that = inheritIfRequired(new NativeConstructor(), dummy, Constructor); - if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP }); - return that; - }); - Constructor.prototype = NativePrototype; - NativePrototype.constructor = Constructor; - } - - if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) { - fixMethod('delete'); - fixMethod('has'); - IS_MAP && fixMethod('get'); - } - - if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER); - - // weak collections should not contains .clear method - if (IS_WEAK && NativePrototype.clear) delete NativePrototype.clear; - } - - exported[CONSTRUCTOR_NAME] = Constructor; - $({ global: true, forced: Constructor != NativeConstructor }, exported); - - setToStringTag(Constructor, CONSTRUCTOR_NAME); - - if (!IS_WEAK) common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP); - - return Constructor; -}; - - -/***/ }), - -/***/ "xpLY": -/*!************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/to-length.js ***! - \************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var toInteger = __webpack_require__(/*! ../internals/to-integer */ "vDBE"); - -var min = Math.min; - -// `ToLength` abstract operation -// https://tc39.es/ecma262/#sec-tolength -module.exports = function (argument) { - return argument > 0 ? min(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 -}; - - -/***/ }), - -/***/ "yIiL": -/*!*********************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/shared.js ***! - \*********************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "g9hI"); -var store = __webpack_require__(/*! ../internals/shared-store */ "KBkW"); - -(module.exports = function (key, value) { - return store[key] || (store[key] = value !== undefined ? value : {}); -})('versions', []).push({ - version: '3.8.3', - mode: IS_PURE ? 'pure' : 'global', - copyright: '© 2021 Denis Pushkarev (zloirock.ru)' -}); - - -/***/ }), - -/***/ "yQMY": -/*!**************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/hidden-keys.js ***! - \**************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -module.exports = {}; - - -/***/ }), - -/***/ "yaK9": -/*!******************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/native-weak-map.js ***! - \******************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var global = __webpack_require__(/*! ../internals/global */ "ocAm"); -var inspectSource = __webpack_require__(/*! ../internals/inspect-source */ "6urC"); - -var WeakMap = global.WeakMap; - -module.exports = typeof WeakMap === 'function' && /native code/.test(inspectSource(WeakMap)); - - -/***/ }), - -/***/ "yprU": -/*!*******************************************************************************************************!*\ - !*** ./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/reflect-metadata.js ***! - \*******************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env` -var Map = __webpack_require__(/*! ../modules/es.map */ "vRoz"); -var WeakMap = __webpack_require__(/*! ../modules/es.weak-map */ "hdsk"); -var shared = __webpack_require__(/*! ../internals/shared */ "yIiL"); - -var metadata = shared('metadata'); -var store = metadata.store || (metadata.store = new WeakMap()); - -var getOrCreateMetadataMap = function (target, targetKey, create) { - var targetMetadata = store.get(target); - if (!targetMetadata) { - if (!create) return; - store.set(target, targetMetadata = new Map()); - } - var keyMetadata = targetMetadata.get(targetKey); - if (!keyMetadata) { - if (!create) return; - targetMetadata.set(targetKey, keyMetadata = new Map()); - } return keyMetadata; -}; - -var ordinaryHasOwnMetadata = function (MetadataKey, O, P) { - var metadataMap = getOrCreateMetadataMap(O, P, false); - return metadataMap === undefined ? false : metadataMap.has(MetadataKey); -}; - -var ordinaryGetOwnMetadata = function (MetadataKey, O, P) { - var metadataMap = getOrCreateMetadataMap(O, P, false); - return metadataMap === undefined ? undefined : metadataMap.get(MetadataKey); -}; - -var ordinaryDefineOwnMetadata = function (MetadataKey, MetadataValue, O, P) { - getOrCreateMetadataMap(O, P, true).set(MetadataKey, MetadataValue); -}; - -var ordinaryOwnMetadataKeys = function (target, targetKey) { - var metadataMap = getOrCreateMetadataMap(target, targetKey, false); - var keys = []; - if (metadataMap) metadataMap.forEach(function (_, key) { keys.push(key); }); - return keys; -}; - -var toMetadataKey = function (it) { - return it === undefined || typeof it == 'symbol' ? it : String(it); -}; - -module.exports = { - store: store, - getMap: getOrCreateMetadataMap, - has: ordinaryHasOwnMetadata, - get: ordinaryGetOwnMetadata, - set: ordinaryDefineOwnMetadata, - keys: ordinaryOwnMetadataKeys, - toKey: toMetadataKey -}; - - -/***/ }) - -},[[2,"runtime"]]]); -//# sourceMappingURL=polyfills.js.map \ No newline at end of file diff --git a/dist/ng-walkthrough/polyfills.js.map b/dist/ng-walkthrough/polyfills.js.map deleted file mode 100644 index c97f0a9..0000000 --- a/dist/ng-walkthrough/polyfills.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/shared-key.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/object-define-property.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/esnext.reflect.has-metadata.js","./node_modules/zone.js/dist/zone.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/html.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/redefine.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/object-create.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/to-string-tag-support.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/is-array-iterator-method.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/object-define-properties.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/iterator-close.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/is-object.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/inspect-source.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/object-set-prototype-of.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/own-keys.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/to-absolute-index.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/object-get-own-property-descriptor.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/redefine-all.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/esnext.reflect.metadata.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/esnext.reflect.get-metadata.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/collection-weak.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/path.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/check-correctness-of-iteration.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/to-indexed-object.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/get-built-in.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/get-iterator-method.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/an-object.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/set-global.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/iterators-core.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/esnext.reflect.get-own-metadata-keys.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/set-species.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/a-possible-prototype.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/array-species-create.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/inherit-if-required.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/shared-store.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/esnext.reflect.get-metadata-keys.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/object-get-own-property-names.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/to-primitive.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/internal-metadata.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/is-forced.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/copy-constructor-properties.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/esnext.reflect.delete-metadata.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/a-function.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/has.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/array-includes.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/iterate.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/uid.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/an-instance.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/esnext.reflect.has-own-metadata.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/descriptors.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/native-symbol.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/esnext.reflect.get-own-metadata.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/to-object.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.set.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/define-iterator.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/internal-state.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/ie8-dom-define.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/create-iterator-constructor.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/object-keys.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/enum-bug-keys.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/create-non-enumerable-property.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/object-get-own-property-symbols.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/freezing.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/correct-prototype-getter.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/is-array.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/classof-raw.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/esnext.reflect.define-metadata.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/is-pure.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/object-property-is-enumerable.js","./src/polyfills.ts","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.weak-map.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/require-object-coercible.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/use-symbol-as-uid.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/array-iteration.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/well-known-symbol.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/classof.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/collection-strong.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/proposals/reflect-metadata.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/global.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/iterators.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/document-create-element.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/fails.js","./node_modules/@angular-devkit/build-angular/src/webpack/jit-polyfills.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/set-to-string-tag.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/indexed-object.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/function-bind-context.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/create-property-descriptor.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/to-integer.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/modules/es.map.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/object-keys-internal.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/export.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/object-get-prototype-of.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/collection.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/to-length.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/shared.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/hidden-keys.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/native-weak-map.js","./node_modules/@angular-devkit/build-angular/node_modules/core-js/internals/reflect-metadata.js"],"names":["factory","define","Zone$1","global","performance","mark","name","performanceMeasure","label","symbolPrefix","__symbol__","checkDuplicate","Error","Zone","parent","zoneSpec","_parent","_name","_properties","properties","_zoneDelegate","ZoneDelegate","assertZonePatched","patches","Object","defineProperty","get","zone","current","enumerable","configurable","_currentZoneFrame","_currentTask","__load_patch","fn","ignoreDuplicate","hasOwnProperty","perfName","_api","prototype","key","getZoneWith","fork","wrap","callback","source","_callback","intercept","runGuarded","arguments","run","applyThis","applyArgs","invoke","error","handleError","runTask","task","NO_ZONE","state","notScheduled","type","eventTask","macroTask","reEntryGuard","running","_transitionTo","scheduled","runCount","previousTask","data","isPeriodic","cancelFn","undefined","invokeTask","unknown","_updateTaskCount","scheduleTask","newZone","scheduling","zoneDelegates","_zoneDelegates","_zone","err","scheduleMicroTask","customSchedule","ZoneTask","microTask","scheduleMacroTask","customCancel","scheduleEventTask","cancelTask","canceling","count","i","length","DELEGATE_ZS","onHasTask","delegate","_","target","hasTaskState","hasTask","onScheduleTask","onInvokeTask","onCancelTask","parentDelegate","_taskCounts","_parentDelegate","_forkZS","onFork","_forkDlgt","_forkCurrZone","_interceptZS","onIntercept","_interceptDlgt","_interceptCurrZone","_invokeZS","onInvoke","_invokeDlgt","_invokeCurrZone","_handleErrorZS","onHandleError","_handleErrorDlgt","_handleErrorCurrZone","_scheduleTaskZS","_scheduleTaskDlgt","_scheduleTaskCurrZone","_invokeTaskZS","_invokeTaskDlgt","_invokeTaskCurrZone","_cancelTaskZS","_cancelTaskDlgt","_cancelTaskCurrZone","_hasTaskZS","_hasTaskDlgt","_hasTaskDlgtOwner","_hasTaskCurrZone","zoneSpecHasTask","parentHasTask","targetZone","apply","returnTask","push","scheduleFn","value","isEmpty","counts","prev","next","change","options","_state","self","useG","call","args","_numberOfNestedTaskFrames","drainMicroTaskQueue","cancelScheduleRequest","toState","fromState1","fromState2","toString","handleId","toJSON","symbolSetTimeout","symbolPromise","symbolThen","_microTaskQueue","_isDrainingMicrotaskQueue","nativeMicroTaskQueuePromise","resolve","nativeThen","queue","onUnhandledError","microtaskDrainDone","symbol","currentZoneFrame","noop","showUncaughtError","patchEventTarget","patchOnProperties","patchMethod","bindArguments","patchThen","patchMacroTask","patchEventPrototype","isIEOrEdge","getGlobalObjects","ObjectDefineProperty","ObjectGetOwnPropertyDescriptor","ObjectCreate","ArraySlice","patchClass","wrapWithCurrentZone","filterProperties","attachOriginToPatched","_redefineProperty","patchCallbacks","window","getOwnPropertyDescriptor","ObjectGetPrototypeOf","getPrototypeOf","create","Array","slice","ADD_EVENT_LISTENER_STR","REMOVE_EVENT_LISTENER_STR","ZONE_SYMBOL_ADD_EVENT_LISTENER","ZONE_SYMBOL_REMOVE_EVENT_LISTENER","TRUE_STR","FALSE_STR","ZONE_SYMBOL_PREFIX","scheduleMacroTaskWithCurrentZone","zoneSymbol","isWindowExists","internalWindow","_global","REMOVE_ATTRIBUTE","NULL_ON_PROP_VALUE","patchPrototype","fnNames","constructor","_loop_1","name_1","prototypeDesc","isPropertyWritable","patched","propertyDesc","writable","set","isWebWorker","WorkerGlobalScope","isNode","process","isBrowser","isMix","zoneSymbolEventNames","wrapFn","event","eventNameSymbol","listener","result","errorEvent","message","filename","lineno","colno","preventDefault","patchProperty","obj","prop","desc","onPropPatchedSymbol","originalDescGet","originalDescSet","eventName","substr","newValue","previousValue","removeEventListener","addEventListener","removeAttribute","onProperties","j","originalInstanceKey","className","OriginalClass","a","instance","patchFn","proto","delegateName","patchDelegate_1","funcName","metaCreator","setNative","cbIdx","meta","original","isDetectedIEOrEdge","ieOrEdge","isIE","ua","navigator","userAgent","indexOf","api","readableObjectToString","JSON","stringify","_uncaughtPromiseErrors","isDisableWrappingUncaughtPromiseRejection","creationTrace","e","rejection","console","stack","_loop_2","uncaughtPromiseError","shift","throwOriginal","handleUnhandledRejection","UNHANDLED_PROMISE_REJECTION_HANDLER_SYMBOL","handler","isThenable","then","forwardResolution","forwardRejection","ZoneAwarePromise","reject","symbolState","symbolValue","symbolFinally","symbolParentPromiseValue","symbolParentPromiseState","UNRESOLVED","RESOLVED","REJECTED","REJECTED_NO_CATCH","makeResolver","promise","v","resolvePromise","once","wasCalled","wrapper","wrappedFunction","TYPE_ERROR","CURRENT_TASK_TRACE_SYMBOL","onceWrapper","TypeError","clearRejectedNoCatch","trace","currentTask","scheduleResolveOrReject","REJECTION_HANDLED_HANDLER","splice","chainPromise","onFulfilled","onRejected","promiseState","parentPromiseValue","isFinallyPromise","ZONE_AWARE_PROMISE_TO_STRING","executor","race","values","res","rej","onResolve","onReject","_i","values_1","all","allWithCallback","allSettled","P","thenCallback","status","errorCallback","reason","unresolvedCount","valueIndex","resolvedValues","_loop_3","this_1","curValueIndex","thenErr","values_2","Symbol","toStringTag","species","C","catch","finally","onFinally","NativePromise","symbolThenPatched","Ctor","originalThen","_this","wrapped","zoneify","resultPromise","ctor","Promise","originalFunctionToString","Function","ORIGINAL_DELEGATE_SYMBOL","PROMISE_SYMBOL","ERROR_SYMBOL","newFunctionToString","originalDelegate","nativePromise","nativeError","originalObjectToString","PROMISE_OBJECT_TO_STRING","passiveSupported","OPTIMIZED_ZONE_EVENT_TASK_DATA","zoneSymbolEventNames$1","globalSources","EVENT_NAME_SYMBOL_REGX","RegExp","IMMEDIATE_PROPAGATION_SYMBOL","prepareEventNames","eventNameToString","falseEventName","trueEventName","symbolCapture","apis","patchOptions","ADD_EVENT_LISTENER","add","REMOVE_EVENT_LISTENER","rm","LISTENERS_EVENT_LISTENER","listeners","REMOVE_ALL_LISTENERS_EVENT_LISTENER","rmAll","zoneSymbolAddEventListener","ADD_EVENT_LISTENER_SOURCE","PREPEND_EVENT_LISTENER","PREPEND_EVENT_LISTENER_SOURCE","isRemoved","handleEvent","delegate_1","globalZoneAwareCallback","tasks","copyTasks","globalZoneAwareCaptureCallback","patchEventTargetMethods","useGlobalCallback","validateHandler","vh","chkDup","returnTarget","rt","taskData","nativeAddEventListener","nativeRemoveEventListener","nativeListeners","nativeRemoveAllListeners","nativePrependEventListener","prepend","buildEventListenerOptions","passive","capture","assign","customScheduleGlobal","isExisting","customCancelGlobal","symbolEventNames","symbolEventName","existingTasks","existingTask","allRemoved","customScheduleNonGlobal","customSchedulePrepend","customCancelNonGlobal","compareTaskCallbackVsDelegate","typeOfDelegate","compare","diff","unpatchedEvents","passiveEvents","makeAddListener","nativeListener","addSource","customScheduleFn","customCancelFn","transferEventName","isHandleEvent","constructorName","targetSource","unshift","onPropertySymbol","findEventTasks","keys","match","exec","evtName","symbolCaptureEventName","captureTasks","removeTasks","results","foundTasks","captureFalseTasks","captureTrueTasks","concat","Event","targetName","method","callbacks","nativeDelegate","opts","forEach","descriptor","globalEventHandlersEventNames","documentEventNames","windowEventNames","htmlElementEventNames","mediaElementEventNames","ieElementEventNames","webglEventNames","formEventNames","detailEventNames","frameEventNames","frameSetEventNames","marqueeEventNames","XMLHttpRequestEventNames","IDBIndexEventNames","websocketEventNames","workerEventNames","eventNames","ignoreProperties","tip","filter","ip","targetIgnoreProperties","op","patchFilteredProperties","filteredProperties","propertyDescriptorPatch","supportsWebSocket","WebSocket","internalWindow_1","ignoreErrorProperties","Document","Element","HTMLElement","HTMLMediaElement","HTMLFrameSetElement","HTMLBodyElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement_1","Worker_1","XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","SYMBOL_BLACK_LISTED_EVENTS","SYMBOL_UNPATCHED_EVENTS","zoneSymbol$1","_defineProperty","_getOwnPropertyDescriptor","_create","unconfigurablesKey","propertyPatch","isUnconfigurable","originalConfigurableFlag","rewriteDescriptor","_tryDefineProperty","defineProperties","props","isFrozen","swallowError","descJson","log","eventTargetLegacyPatch","_a","WTF_ISSUE_555","NO_EVENT_TARGET","split","EVENT_TARGET","isWtf","WTF_ISSUE_555_ARRAY","map","isDisableIECheck","isEnableCrossContextCheck","FUNCTION_WRAPPER","BROWSER_TOOLS","pointerEventsMap","targets","checkIEAndCrossContext","testString","apiTypes","pointerEventName","WS","EventTarget","x","y","socket","proxySocket","proxySocketProto","onmessageDesc","propName","propertySymbol","globalWebSocket","propertyDescriptorLegacyPatch","canPatchViaPropertyDescriptor","patchViaCapturingAllTheEvents","div","document","createElement","onclick","ON_READY_STATE_CHANGE","XMLHttpRequestPrototype","xhrDesc","req","onreadystatechange","SYMBOL_FAKE_ONREADYSTATECHANGE_1","detectFunc","unboundKey","_loop_4","property","onproperty","elt","bound","parentElement","registerElementPatch","taskSymbol","patchTimer","setName","cancelName","nameSuffix","clearNative","tasksByHandleId","clearTask","options_1","delay","callback_1","timer","handle","ref","unref","bind","id","patchCustomElements","customElements","eventTargetPatch","patchEvent","legacyPatch","clear","blockingMethods","name_2","s","patchXHR","XHR_TASK","XHR_SYNC","XHR_LISTENER","XHR_SCHEDULED","XHR_URL","XHR_ERROR_BEFORE_SCHEDULED","findPendingTask","oriAddListener","oriRemoveListener","XMLHttpRequestEventTarget_1","XMLHttpRequestEventTargetPrototype","READY_STATE_CHANGE","SCHEDULED","newListener","readyState","DONE","aborted","loadTasks","oriInvoke_1","storedTask","sendNative","placeholderCallback","abortNative","openNative","XMLHTTPREQUEST_SOURCE","fetchTaskAborting","fetchTaskScheduling","url","geolocation","findPromiseRejectionHandler","eventTasks","PromiseRejectionEvent","evt"],"mappings":";;;;;;;;;AAAA,aAAa,mBAAO,CAAC,iCAAqB;AAC1C,UAAU,mBAAO,CAAC,8BAAkB;;AAEpC;;AAEA;AACA;AACA;;;;;;;;;;;;ACPA,kBAAkB,mBAAO,CAAC,sCAA0B;AACpD,qBAAqB,mBAAO,CAAC,yCAA6B;AAC1D,eAAe,mBAAO,CAAC,oCAAwB;AAC/C,kBAAkB,mBAAO,CAAC,uCAA2B;;AAErD;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG,gBAAgB;AACnB;AACA;AACA;AACA;;;;;;;;;;;;ACnBA,QAAQ,mBAAO,CAAC,iCAAqB;AACrC,4BAA4B,mBAAO,CAAC,2CAA+B;AACnE,eAAe,mBAAO,CAAC,oCAAwB;AAC/C,qBAAqB,mBAAO,CAAC,kDAAsC;;AAEnE;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG,gCAAgC;AACnC;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;ACtBD,kEAAa;AACb;AACA;AACA;AACA;AACA;;AACC,WAAUA,OAAV,EAAmB;AAChB,UAA6CC,oCAAOD,OAAD;AAAA;AAA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ACA;AACA;AACA,CAAC;;;;;;;;;;;;ACfD,QAAQ,mBAAO,CAAC,iCAAqB;AACrC,4BAA4B,mBAAO,CAAC,2CAA+B;AACnE,eAAe,mBAAO,CAAC,oCAAwB;AAC/C,qBAAqB,mBAAO,CAAC,kDAAsC;;AAEnE;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG,gCAAgC;AACnC;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;ACvBY;AACb,kBAAkB,mBAAO,CAAC,uCAA2B;AACrD,kBAAkB,mBAAO,CAAC,4CAAgC;AAC1D,eAAe,mBAAO,CAAC,oCAAwB;AAC/C,eAAe,mBAAO,CAAC,oCAAwB;AAC/C,iBAAiB,mBAAO,CAAC,sCAA0B;AACnD,cAAc,mBAAO,CAAC,kCAAsB;AAC5C,2BAA2B,mBAAO,CAAC,0CAA8B;AACjE,WAAW,mBAAO,CAAC,8BAAkB;AACrC,0BAA0B,mBAAO,CAAC,yCAA6B;;AAE/D;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,iEAAiE,iCAAiC;AAClG,KAAK;;AAEL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;;;;;;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Ac,mBAAO,CAAC,kCAAsB;AAC5C,gBAAgB,mBAAO,CAAC,oCAAwB;AAChD,oBAAoB,mBAAO,CAAC,yCAA6B;;AAEzD;AACA;AACA;AACA;AACA;AACA;;AAEA,8BAA8B,aAAa;;AAE3C;AACA;;AAEA;AACA;AACA;AACA;AACA,yCAAyC,4CAA4C;AACrF,6CAA6C,4CAA4C;AACzF,+CAA+C,4CAA4C;AAC3F,KAAK,qBAAqB,sCAAsC;AAChE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,gBAAgB,mBAAmB;AACnC;AACA;AACA,yCAAyC,kCAAkC;AAC3E;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK,SAAS,qFAAqF;AACnG;;AAEA;AACA;;;;;;;;;;;;ACzFA,sBAAsB,mBAAO,CAAC,0CAA8B;AAC5D,aAAa,mBAAO,CAAC,iCAAqB;AAC1C,eAAe,mBAAO,CAAC,oCAAwB;AAC/C,kCAAkC,mBAAO,CAAC,yDAA6C;AACvF,gBAAgB,mBAAO,CAAC,8BAAkB;AAC1C,aAAa,mBAAO,CAAC,uCAA2B;AAChD,gBAAgB,mBAAO,CAAC,qCAAyB;AACjD,iBAAiB,mBAAO,CAAC,sCAA0B;;AAEnD;AACA;;AAEA;AACA,uCAAuC;AACvC;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;AC/DA,kBAAkB,mBAAO,CAA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mBAAO,CAAC,4CAAgC;;AAE9D;AACA;AACA,gDAAgD,kBAAkB,EAAE;;AAEpE;AACA;AACA;AACA;AACA,GAAG,gBAAgB;AACnB;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACzBa;AACb,qBAAqB,mBAAO,CAAC,iDAAqC;AAClE,aAAa,mBAAO,CAAC,wCAA4B;AACjD,kBAAkB,mBAAO,CAAC,uCAA2B;AACrD,WAAW,mBAAO,CAAC,gDAAoC;AACvD,iBAAiB,mBAAO,CAAC,sCAA0B;AACnD,cAAc,mBAAO,CAAC,kCAAsB;AAC5C,qBAAqB,mBAAO,CAAC,0CAA8B;AAC3D,iBAAiB,mBAAO,CAAC,sCAA0B;AACnD,kBAAkB,mBAAO,CAAC,sCAA0B;AACpD,cAAc,mBAAO,CAAC,4CAAgC;AACtD,0BAA0B,mBAAO,CAAC,yCAA6B;;AAE/D;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,iEAAiE,iCAAiC;AAClG,KAAK;;AAEL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B,OAAO;AACtC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA,O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AACA;AACA;AACA,CAAC;AACD;AACA,CAAC;;;;;;;;;;;;ACZD,gBAAgB,mBAAO,CAAC,qCAAyB;;AAEjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACPA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACPa;AACb,iBAAiB,mBAAO,CAAC,qCAAyB;AAClD,uBAAuB,mBAAO,CAAC,4CAAgC;;AAE/D;AACA;AACA;AACA,yBAAyB,gEAAgE;AACzF,CAAC;;;;;;;;;;;;ACRD,UAAU,mBAAO,CAAC,8BAAkB;AACpC,sBAAsB,mBAAO,CAAC,4CAAgC;AAC9D,cAAc,mBAAO,CAAC,yCAA6B;AACnD,iBAAiB,mBAAO,CAAC,sCAA0B;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;AChBA,aAAa,mBAAO,CAAC,iCAAqB;AAC1C,+BAA+B,mBAAO,CAAC,6DAAiD;AACxF,kCAAkC,mBAAO,CAAC,yDAA6C;AACvF,eAAe,mBAAO,CAAC,mCAAuB;AAC9C,gBAAgB,mBAAO,CAAC,qCAAyB;AACjD,gCAAgC,mBAAO,CAAC,sDAA0C;AAClF,eAAe,mBAAO,CAAC,oCAAwB;;AAE/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,mDAAmD;AACnD,GAAG;AACH,kCAAkC;AAClC;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACrDA,UAAU,mBAAO,CAAC,8BAAkB;AAC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vE;;;;;;;;;;;;ACRA,cAAc,mBAAO,CAAC,kCAAsB;AAC5C,YAAY,mBAAO,CAAC,uCAA2B;;AAE/C;AACA,qEAAqE;AACrE,CAAC;AACD;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACTD;;;;;;;;;;;;ACAA,aAAa,mBAAO,CAAC,iCAAqB;AAC1C,oBAAoB,mBAAO,CAAC,yCAA6B;;AAEzD;;AAEA;;;;;;;;;;;;ACLA;AACA,UAAU,mBAAO,CAAC,+BAAmB;AACrC,cAAc,mBAAO,CAAC,oCAAwB;AAC9C,aAAa,mBAAO,CAAC,iCAAqB;;AAE1C;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,0DAA0D,gBAAgB,EAAE;AAC5E;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"polyfills.js","sourcesContent":["var shared = require('../internals/shared');\nvar uid = require('../internals/uid');\n\nvar keys = shared('keys');\n\nmodule.exports = function (key) {\n return keys[key] || (keys[key] = uid(key));\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar anObject = require('../internals/an-object');\nvar toPrimitive = require('../internals/to-primitive');\n\nvar nativeDefineProperty = Object.defineProperty;\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? nativeDefineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return nativeDefineProperty(O, P, Attributes);\n } catch (error) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","var $ = require('../internals/export');\nvar ReflectMetadataModule = require('../internals/reflect-metadata');\nvar anObject = require('../internals/an-object');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\n\nvar ordinaryHasOwnMetadata = ReflectMetadataModule.has;\nvar toMetadataKey = ReflectMetadataModule.toKey;\n\nvar ordinaryHasMetadata = function (MetadataKey, O, P) {\n var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P);\n if (hasOwn) return true;\n var parent = getPrototypeOf(O);\n return parent !== null ? ordinaryHasMetadata(MetadataKey, parent, P) : false;\n};\n\n// `Reflect.hasMetadata` method\n// https://github.com/rbuckton/reflect-metadata\n$({ target: 'Reflect', stat: true }, {\n hasMetadata: function hasMetadata(metadataKey, target /* , targetKey */) {\n var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]);\n return ordinaryHasMetadata(metadataKey, anObject(target), targetKey);\n }\n});\n","'use strict';\n/**\n * @license Angular v12.0.0-next.0\n * (c) 2010-2020 Google LLC. https://angular.io/\n * License: MIT\n */\n(function (factory) {\n typeof define === 'function' && define.amd ? define(factory) :\n factory();\n}((function () {\n 'use strict';\n /**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var Zone$1 = (function (global) {\n var performance = global['performance'];\n function mark(name) {\n performance && performance['mark'] && performance['mark'](name);\n }\n function performanceMeasure(name, label) {\n performance && performance['measure'] && performance['measure'](name, label);\n }\n mark('Zone');\n // Initialize before it's accessed below.\n // __Zone_symbol_prefix global can be used to override the default zone\n // symbol prefix with a custom one if needed.\n var symbolPrefix = global['__Zone_symbol_prefix'] || '__zone_symbol__';\n function __symbol__(name) {\n return symbolPrefix + name;\n }\n var checkDuplicate = global[__symbol__('forceDuplicateZoneCheck')] === true;\n if (global['Zone']) {\n // if global['Zone'] already exists (maybe zone.js was already loaded or\n // some other lib also registered a global object named Zone), we may need\n // to throw an error, but sometimes user may not want this error.\n // For example,\n // we have two web pages, page1 includes zone.js, page2 doesn't.\n // and the 1st time user load page1 and page2, everything work fine,\n // but when user load page2 again, error occurs because global['Zone'] already exists.\n // so we add a flag to let user choose whether to throw this error or not.\n // By default, if existing Zone is from zone.js, we will not throw the error.\n if (checkDuplicate || typeof global['Zone'].__symbol__ !== 'function') {\n throw new Error('Zone already loaded.');\n }\n else {\n return global['Zone'];\n }\n }\n var Zone = /** @class */ (function () {\n function Zone(parent, zoneSpec) {\n this._parent = parent;\n this._name = zoneSpec ? zoneSpec.name || 'unnamed' : '';\n this._properties = zoneSpec && zoneSpec.properties || {};\n this._zoneDelegate =\n new ZoneDelegate(this, this._parent && this._parent._zoneDelegate, zoneSpec);\n }\n Zone.assertZonePatched = function () {\n if (global['Promise'] !== patches['ZoneAwarePromise']) {\n throw new Error('Zone.js has detected that ZoneAwarePromise `(window|global).Promise` ' +\n 'has been overwritten.\\n' +\n 'Most likely cause is that a Promise polyfill has been loaded ' +\n 'after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. ' +\n 'If you must load one, do so before loading zone.js.)');\n }\n };\n Object.defineProperty(Zone, \"root\", {\n get: function () {\n var zone = Zone.current;\n while (zone.parent) {\n zone = zone.parent;\n }\n return zone;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(Zone, \"current\", {\n get: function () {\n return _currentZoneFrame.zone;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(Zone, \"currentTask\", {\n get: function () {\n return _currentTask;\n },\n enumerable: false,\n configurable: true\n });\n // tslint:disable-next-line:require-internal-with-underscore\n Zone.__load_patch = function (name, fn, ignoreDuplicate) {\n if (ignoreDuplicate === void 0) { ignoreDuplicate = false; }\n if (patches.hasOwnProperty(name)) {\n // `checkDuplicate` option is defined from global variable\n // so it works for all modules.\n // `ignoreDuplicate` can work for the specified module\n if (!ignoreDuplicate && checkDuplicate) {\n throw Error('Already loaded patch: ' + name);\n }\n }\n else if (!global['__Zone_disable_' + name]) {\n var perfName = 'Zone:' + name;\n mark(perfName);\n patches[name] = fn(global, Zone, _api);\n performanceMeasure(perfName, perfName);\n }\n };\n Object.defineProperty(Zone.prototype, \"parent\", {\n get: function () {\n return this._parent;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(Zone.prototype, \"name\", {\n get: function () {\n return this._name;\n },\n enumerable: false,\n configurable: true\n });\n Zone.prototype.get = function (key) {\n var zone = this.getZoneWith(key);\n if (zone)\n return zone._properties[key];\n };\n Zone.prototype.getZoneWith = function (key) {\n var current = this;\n while (current) {\n if (current._properties.hasOwnProperty(key)) {\n return current;\n }\n current = current._parent;\n }\n return null;\n };\n Zone.prototype.fork = function (zoneSpec) {\n if (!zoneSpec)\n throw new Error('ZoneSpec required!');\n return this._zoneDelegate.fork(this, zoneSpec);\n };\n Zone.prototype.wrap = function (callback, source) {\n if (typeof callback !== 'function') {\n throw new Error('Expecting function got: ' + callback);\n }\n var _callback = this._zoneDelegate.intercept(this, callback, source);\n var zone = this;\n return function () {\n return zone.runGuarded(_callback, this, arguments, source);\n };\n };\n Zone.prototype.run = function (callback, applyThis, applyArgs, source) {\n _currentZoneFrame = { parent: _currentZoneFrame, zone: this };\n try {\n return this._zoneDelegate.invoke(this, callback, applyThis, applyArgs, source);\n }\n finally {\n _currentZoneFrame = _currentZoneFrame.parent;\n }\n };\n Zone.prototype.runGuarded = function (callback, applyThis, applyArgs, source) {\n if (applyThis === void 0) { applyThis = null; }\n _currentZoneFrame = { parent: _currentZoneFrame, zone: this };\n try {\n try {\n return this._zoneDelegate.invoke(this, callback, applyThis, applyArgs, source);\n }\n catch (error) {\n if (this._zoneDelegate.handleError(this, error)) {\n throw error;\n }\n }\n }\n finally {\n _currentZoneFrame = _currentZoneFrame.parent;\n }\n };\n Zone.prototype.runTask = function (task, applyThis, applyArgs) {\n if (task.zone != this) {\n throw new Error('A task can only be run in the zone of creation! (Creation: ' +\n (task.zone || NO_ZONE).name + '; Execution: ' + this.name + ')');\n }\n // https://github.com/angular/zone.js/issues/778, sometimes eventTask\n // will run in notScheduled(canceled) state, we should not try to\n // run such kind of task but just return\n if (task.state === notScheduled && (task.type === eventTask || task.type === macroTask)) {\n return;\n }\n var reEntryGuard = task.state != running;\n reEntryGuard && task._transitionTo(running, scheduled);\n task.runCount++;\n var previousTask = _currentTask;\n _currentTask = task;\n _currentZoneFrame = { parent: _currentZoneFrame, zone: this };\n try {\n if (task.type == macroTask && task.data && !task.data.isPeriodic) {\n task.cancelFn = undefined;\n }\n try {\n return this._zoneDelegate.invokeTask(this, task, applyThis, applyArgs);\n }\n catch (error) {\n if (this._zoneDelegate.handleError(this, error)) {\n throw error;\n }\n }\n }\n finally {\n // if the task's state is notScheduled or unknown, then it has already been cancelled\n // we should not reset the state to scheduled\n if (task.state !== notScheduled && task.state !== unknown) {\n if (task.type == eventTask || (task.data && task.data.isPeriodic)) {\n reEntryGuard && task._transitionTo(scheduled, running);\n }\n else {\n task.runCount = 0;\n this._updateTaskCount(task, -1);\n reEntryGuard &&\n task._transitionTo(notScheduled, running, notScheduled);\n }\n }\n _currentZoneFrame = _currentZoneFrame.parent;\n _currentTask = previousTask;\n }\n };\n Zone.prototype.scheduleTask = function (task) {\n if (task.zone && task.zone !== this) {\n // check if the task was rescheduled, the newZone\n // should not be the children of the original zone\n var newZone = this;\n while (newZone) {\n if (newZone === task.zone) {\n throw Error(\"can not reschedule task to \" + this.name + \" which is descendants of the original zone \" + task.zone.name);\n }\n newZone = newZone.parent;\n }\n }\n task._transitionTo(scheduling, notScheduled);\n var zoneDelegates = [];\n task._zoneDelegates = zoneDelegates;\n task._zone = this;\n try {\n task = this._zoneDelegate.scheduleTask(this, task);\n }\n catch (err) {\n // should set task's state to unknown when scheduleTask throw error\n // because the err may from reschedule, so the fromState maybe notScheduled\n task._transitionTo(unknown, scheduling, notScheduled);\n // TODO: @JiaLiPassion, should we check the result from handleError?\n this._zoneDelegate.handleError(this, err);\n throw err;\n }\n if (task._zoneDelegates === zoneDelegates) {\n // we have to check because internally the delegate can reschedule the task.\n this._updateTaskCount(task, 1);\n }\n if (task.state == scheduling) {\n task._transitionTo(scheduled, scheduling);\n }\n return task;\n };\n Zone.prototype.scheduleMicroTask = function (source, callback, data, customSchedule) {\n return this.scheduleTask(new ZoneTask(microTask, source, callback, data, customSchedule, undefined));\n };\n Zone.prototype.scheduleMacroTask = function (source, callback, data, customSchedule, customCancel) {\n return this.scheduleTask(new ZoneTask(macroTask, source, callback, data, customSchedule, customCancel));\n };\n Zone.prototype.scheduleEventTask = function (source, callback, data, customSchedule, customCancel) {\n return this.scheduleTask(new ZoneTask(eventTask, source, callback, data, customSchedule, customCancel));\n };\n Zone.prototype.cancelTask = function (task) {\n if (task.zone != this)\n throw new Error('A task can only be cancelled in the zone of creation! (Creation: ' +\n (task.zone || NO_ZONE).name + '; Execution: ' + this.name + ')');\n task._transitionTo(canceling, scheduled, running);\n try {\n this._zoneDelegate.cancelTask(this, task);\n }\n catch (err) {\n // if error occurs when cancelTask, transit the state to unknown\n task._transitionTo(unknown, canceling);\n this._zoneDelegate.handleError(this, err);\n throw err;\n }\n this._updateTaskCount(task, -1);\n task._transitionTo(notScheduled, canceling);\n task.runCount = 0;\n return task;\n };\n Zone.prototype._updateTaskCount = function (task, count) {\n var zoneDelegates = task._zoneDelegates;\n if (count == -1) {\n task._zoneDelegates = null;\n }\n for (var i = 0; i < zoneDelegates.length; i++) {\n zoneDelegates[i]._updateTaskCount(task.type, count);\n }\n };\n return Zone;\n }());\n // tslint:disable-next-line:require-internal-with-underscore\n Zone.__symbol__ = __symbol__;\n var DELEGATE_ZS = {\n name: '',\n onHasTask: function (delegate, _, target, hasTaskState) { return delegate.hasTask(target, hasTaskState); },\n onScheduleTask: function (delegate, _, target, task) { return delegate.scheduleTask(target, task); },\n onInvokeTask: function (delegate, _, target, task, applyThis, applyArgs) { return delegate.invokeTask(target, task, applyThis, applyArgs); },\n onCancelTask: function (delegate, _, target, task) { return delegate.cancelTask(target, task); }\n };\n var ZoneDelegate = /** @class */ (function () {\n function ZoneDelegate(zone, parentDelegate, zoneSpec) {\n this._taskCounts = { 'microTask': 0, 'macroTask': 0, 'eventTask': 0 };\n this.zone = zone;\n this._parentDelegate = parentDelegate;\n this._forkZS = zoneSpec && (zoneSpec && zoneSpec.onFork ? zoneSpec : parentDelegate._forkZS);\n this._forkDlgt = zoneSpec && (zoneSpec.onFork ? parentDelegate : parentDelegate._forkDlgt);\n this._forkCurrZone =\n zoneSpec && (zoneSpec.onFork ? this.zone : parentDelegate._forkCurrZone);\n this._interceptZS =\n zoneSpec && (zoneSpec.onIntercept ? zoneSpec : parentDelegate._interceptZS);\n this._interceptDlgt =\n zoneSpec && (zoneSpec.onIntercept ? parentDelegate : parentDelegate._interceptDlgt);\n this._interceptCurrZone =\n zoneSpec && (zoneSpec.onIntercept ? this.zone : parentDelegate._interceptCurrZone);\n this._invokeZS = zoneSpec && (zoneSpec.onInvoke ? zoneSpec : parentDelegate._invokeZS);\n this._invokeDlgt =\n zoneSpec && (zoneSpec.onInvoke ? parentDelegate : parentDelegate._invokeDlgt);\n this._invokeCurrZone =\n zoneSpec && (zoneSpec.onInvoke ? this.zone : parentDelegate._invokeCurrZone);\n this._handleErrorZS =\n zoneSpec && (zoneSpec.onHandleError ? zoneSpec : parentDelegate._handleErrorZS);\n this._handleErrorDlgt =\n zoneSpec && (zoneSpec.onHandleError ? parentDelegate : parentDelegate._handleErrorDlgt);\n this._handleErrorCurrZone =\n zoneSpec && (zoneSpec.onHandleError ? this.zone : parentDelegate._handleErrorCurrZone);\n this._scheduleTaskZS =\n zoneSpec && (zoneSpec.onScheduleTask ? zoneSpec : parentDelegate._scheduleTaskZS);\n this._scheduleTaskDlgt = zoneSpec &&\n (zoneSpec.onScheduleTask ? parentDelegate : parentDelegate._scheduleTaskDlgt);\n this._scheduleTaskCurrZone =\n zoneSpec && (zoneSpec.onScheduleTask ? this.zone : parentDelegate._scheduleTaskCurrZone);\n this._invokeTaskZS =\n zoneSpec && (zoneSpec.onInvokeTask ? zoneSpec : parentDelegate._invokeTaskZS);\n this._invokeTaskDlgt =\n zoneSpec && (zoneSpec.onInvokeTask ? parentDelegate : parentDelegate._invokeTaskDlgt);\n this._invokeTaskCurrZone =\n zoneSpec && (zoneSpec.onInvokeTask ? this.zone : parentDelegate._invokeTaskCurrZone);\n this._cancelTaskZS =\n zoneSpec && (zoneSpec.onCancelTask ? zoneSpec : parentDelegate._cancelTaskZS);\n this._cancelTaskDlgt =\n zoneSpec && (zoneSpec.onCancelTask ? parentDelegate : parentDelegate._cancelTaskDlgt);\n this._cancelTaskCurrZone =\n zoneSpec && (zoneSpec.onCancelTask ? this.zone : parentDelegate._cancelTaskCurrZone);\n this._hasTaskZS = null;\n this._hasTaskDlgt = null;\n this._hasTaskDlgtOwner = null;\n this._hasTaskCurrZone = null;\n var zoneSpecHasTask = zoneSpec && zoneSpec.onHasTask;\n var parentHasTask = parentDelegate && parentDelegate._hasTaskZS;\n if (zoneSpecHasTask || parentHasTask) {\n // If we need to report hasTask, than this ZS needs to do ref counting on tasks. In such\n // a case all task related interceptors must go through this ZD. We can't short circuit it.\n this._hasTaskZS = zoneSpecHasTask ? zoneSpec : DELEGATE_ZS;\n this._hasTaskDlgt = parentDelegate;\n this._hasTaskDlgtOwner = this;\n this._hasTaskCurrZone = zone;\n if (!zoneSpec.onScheduleTask) {\n this._scheduleTaskZS = DELEGATE_ZS;\n this._scheduleTaskDlgt = parentDelegate;\n this._scheduleTaskCurrZone = this.zone;\n }\n if (!zoneSpec.onInvokeTask) {\n this._invokeTaskZS = DELEGATE_ZS;\n this._invokeTaskDlgt = parentDelegate;\n this._invokeTaskCurrZone = this.zone;\n }\n if (!zoneSpec.onCancelTask) {\n this._cancelTaskZS = DELEGATE_ZS;\n this._cancelTaskDlgt = parentDelegate;\n this._cancelTaskCurrZone = this.zone;\n }\n }\n }\n ZoneDelegate.prototype.fork = function (targetZone, zoneSpec) {\n return this._forkZS ? this._forkZS.onFork(this._forkDlgt, this.zone, targetZone, zoneSpec) :\n new Zone(targetZone, zoneSpec);\n };\n ZoneDelegate.prototype.intercept = function (targetZone, callback, source) {\n return this._interceptZS ?\n this._interceptZS.onIntercept(this._interceptDlgt, this._interceptCurrZone, targetZone, callback, source) :\n callback;\n };\n ZoneDelegate.prototype.invoke = function (targetZone, callback, applyThis, applyArgs, source) {\n return this._invokeZS ? this._invokeZS.onInvoke(this._invokeDlgt, this._invokeCurrZone, targetZone, callback, applyThis, applyArgs, source) :\n callback.apply(applyThis, applyArgs);\n };\n ZoneDelegate.prototype.handleError = function (targetZone, error) {\n return this._handleErrorZS ?\n this._handleErrorZS.onHandleError(this._handleErrorDlgt, this._handleErrorCurrZone, targetZone, error) :\n true;\n };\n ZoneDelegate.prototype.scheduleTask = function (targetZone, task) {\n var returnTask = task;\n if (this._scheduleTaskZS) {\n if (this._hasTaskZS) {\n returnTask._zoneDelegates.push(this._hasTaskDlgtOwner);\n }\n // clang-format off\n returnTask = this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt, this._scheduleTaskCurrZone, targetZone, task);\n // clang-format on\n if (!returnTask)\n returnTask = task;\n }\n else {\n if (task.scheduleFn) {\n task.scheduleFn(task);\n }\n else if (task.type == microTask) {\n scheduleMicroTask(task);\n }\n else {\n throw new Error('Task is missing scheduleFn.');\n }\n }\n return returnTask;\n };\n ZoneDelegate.prototype.invokeTask = function (targetZone, task, applyThis, applyArgs) {\n return this._invokeTaskZS ? this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt, this._invokeTaskCurrZone, targetZone, task, applyThis, applyArgs) :\n task.callback.apply(applyThis, applyArgs);\n };\n ZoneDelegate.prototype.cancelTask = function (targetZone, task) {\n var value;\n if (this._cancelTaskZS) {\n value = this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt, this._cancelTaskCurrZone, targetZone, task);\n }\n else {\n if (!task.cancelFn) {\n throw Error('Task is not cancelable');\n }\n value = task.cancelFn(task);\n }\n return value;\n };\n ZoneDelegate.prototype.hasTask = function (targetZone, isEmpty) {\n // hasTask should not throw error so other ZoneDelegate\n // can still trigger hasTask callback\n try {\n this._hasTaskZS &&\n this._hasTaskZS.onHasTask(this._hasTaskDlgt, this._hasTaskCurrZone, targetZone, isEmpty);\n }\n catch (err) {\n this.handleError(targetZone, err);\n }\n };\n // tslint:disable-next-line:require-internal-with-underscore\n ZoneDelegate.prototype._updateTaskCount = function (type, count) {\n var counts = this._taskCounts;\n var prev = counts[type];\n var next = counts[type] = prev + count;\n if (next < 0) {\n throw new Error('More tasks executed then were scheduled.');\n }\n if (prev == 0 || next == 0) {\n var isEmpty = {\n microTask: counts['microTask'] > 0,\n macroTask: counts['macroTask'] > 0,\n eventTask: counts['eventTask'] > 0,\n change: type\n };\n this.hasTask(this.zone, isEmpty);\n }\n };\n return ZoneDelegate;\n }());\n var ZoneTask = /** @class */ (function () {\n function ZoneTask(type, source, callback, options, scheduleFn, cancelFn) {\n // tslint:disable-next-line:require-internal-with-underscore\n this._zone = null;\n this.runCount = 0;\n // tslint:disable-next-line:require-internal-with-underscore\n this._zoneDelegates = null;\n // tslint:disable-next-line:require-internal-with-underscore\n this._state = 'notScheduled';\n this.type = type;\n this.source = source;\n this.data = options;\n this.scheduleFn = scheduleFn;\n this.cancelFn = cancelFn;\n if (!callback) {\n throw new Error('callback is not defined');\n }\n this.callback = callback;\n var self = this;\n // TODO: @JiaLiPassion options should have interface\n if (type === eventTask && options && options.useG) {\n this.invoke = ZoneTask.invokeTask;\n }\n else {\n this.invoke = function () {\n return ZoneTask.invokeTask.call(global, self, this, arguments);\n };\n }\n }\n ZoneTask.invokeTask = function (task, target, args) {\n if (!task) {\n task = this;\n }\n _numberOfNestedTaskFrames++;\n try {\n task.runCount++;\n return task.zone.runTask(task, target, args);\n }\n finally {\n if (_numberOfNestedTaskFrames == 1) {\n drainMicroTaskQueue();\n }\n _numberOfNestedTaskFrames--;\n }\n };\n Object.defineProperty(ZoneTask.prototype, \"zone\", {\n get: function () {\n return this._zone;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(ZoneTask.prototype, \"state\", {\n get: function () {\n return this._state;\n },\n enumerable: false,\n configurable: true\n });\n ZoneTask.prototype.cancelScheduleRequest = function () {\n this._transitionTo(notScheduled, scheduling);\n };\n // tslint:disable-next-line:require-internal-with-underscore\n ZoneTask.prototype._transitionTo = function (toState, fromState1, fromState2) {\n if (this._state === fromState1 || this._state === fromState2) {\n this._state = toState;\n if (toState == notScheduled) {\n this._zoneDelegates = null;\n }\n }\n else {\n throw new Error(this.type + \" '\" + this.source + \"': can not transition to '\" + toState + \"', expecting state '\" + fromState1 + \"'\" + (fromState2 ? ' or \\'' + fromState2 + '\\'' : '') + \", was '\" + this._state + \"'.\");\n }\n };\n ZoneTask.prototype.toString = function () {\n if (this.data && typeof this.data.handleId !== 'undefined') {\n return this.data.handleId.toString();\n }\n else {\n return Object.prototype.toString.call(this);\n }\n };\n // add toJSON method to prevent cyclic error when\n // call JSON.stringify(zoneTask)\n ZoneTask.prototype.toJSON = function () {\n return {\n type: this.type,\n state: this.state,\n source: this.source,\n zone: this.zone.name,\n runCount: this.runCount\n };\n };\n return ZoneTask;\n }());\n //////////////////////////////////////////////////////\n //////////////////////////////////////////////////////\n /// MICROTASK QUEUE\n //////////////////////////////////////////////////////\n //////////////////////////////////////////////////////\n var symbolSetTimeout = __symbol__('setTimeout');\n var symbolPromise = __symbol__('Promise');\n var symbolThen = __symbol__('then');\n var _microTaskQueue = [];\n var _isDrainingMicrotaskQueue = false;\n var nativeMicroTaskQueuePromise;\n function scheduleMicroTask(task) {\n // if we are not running in any task, and there has not been anything scheduled\n // we must bootstrap the initial task creation by manually scheduling the drain\n if (_numberOfNestedTaskFrames === 0 && _microTaskQueue.length === 0) {\n // We are not running in Task, so we need to kickstart the microtask queue.\n if (!nativeMicroTaskQueuePromise) {\n if (global[symbolPromise]) {\n nativeMicroTaskQueuePromise = global[symbolPromise].resolve(0);\n }\n }\n if (nativeMicroTaskQueuePromise) {\n var nativeThen = nativeMicroTaskQueuePromise[symbolThen];\n if (!nativeThen) {\n // native Promise is not patchable, we need to use `then` directly\n // issue 1078\n nativeThen = nativeMicroTaskQueuePromise['then'];\n }\n nativeThen.call(nativeMicroTaskQueuePromise, drainMicroTaskQueue);\n }\n else {\n global[symbolSetTimeout](drainMicroTaskQueue, 0);\n }\n }\n task && _microTaskQueue.push(task);\n }\n function drainMicroTaskQueue() {\n if (!_isDrainingMicrotaskQueue) {\n _isDrainingMicrotaskQueue = true;\n while (_microTaskQueue.length) {\n var queue = _microTaskQueue;\n _microTaskQueue = [];\n for (var i = 0; i < queue.length; i++) {\n var task = queue[i];\n try {\n task.zone.runTask(task, null, null);\n }\n catch (error) {\n _api.onUnhandledError(error);\n }\n }\n }\n _api.microtaskDrainDone();\n _isDrainingMicrotaskQueue = false;\n }\n }\n //////////////////////////////////////////////////////\n //////////////////////////////////////////////////////\n /// BOOTSTRAP\n //////////////////////////////////////////////////////\n //////////////////////////////////////////////////////\n var NO_ZONE = { name: 'NO ZONE' };\n var notScheduled = 'notScheduled', scheduling = 'scheduling', scheduled = 'scheduled', running = 'running', canceling = 'canceling', unknown = 'unknown';\n var microTask = 'microTask', macroTask = 'macroTask', eventTask = 'eventTask';\n var patches = {};\n var _api = {\n symbol: __symbol__,\n currentZoneFrame: function () { return _currentZoneFrame; },\n onUnhandledError: noop,\n microtaskDrainDone: noop,\n scheduleMicroTask: scheduleMicroTask,\n showUncaughtError: function () { return !Zone[__symbol__('ignoreConsoleErrorUncaughtError')]; },\n patchEventTarget: function () { return []; },\n patchOnProperties: noop,\n patchMethod: function () { return noop; },\n bindArguments: function () { return []; },\n patchThen: function () { return noop; },\n patchMacroTask: function () { return noop; },\n patchEventPrototype: function () { return noop; },\n isIEOrEdge: function () { return false; },\n getGlobalObjects: function () { return undefined; },\n ObjectDefineProperty: function () { return noop; },\n ObjectGetOwnPropertyDescriptor: function () { return undefined; },\n ObjectCreate: function () { return undefined; },\n ArraySlice: function () { return []; },\n patchClass: function () { return noop; },\n wrapWithCurrentZone: function () { return noop; },\n filterProperties: function () { return []; },\n attachOriginToPatched: function () { return noop; },\n _redefineProperty: function () { return noop; },\n patchCallbacks: function () { return noop; }\n };\n var _currentZoneFrame = { parent: null, zone: new Zone(null, null) };\n var _currentTask = null;\n var _numberOfNestedTaskFrames = 0;\n function noop() { }\n performanceMeasure('Zone', 'Zone');\n return global['Zone'] = Zone;\n })(typeof window !== 'undefined' && window || typeof self !== 'undefined' && self || global);\n /**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n /**\n * Suppress closure compiler errors about unknown 'Zone' variable\n * @fileoverview\n * @suppress {undefinedVars,globalThis,missingRequire}\n */\n /// \n // issue #989, to reduce bundle size, use short name\n /** Object.getOwnPropertyDescriptor */\n var ObjectGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n /** Object.defineProperty */\n var ObjectDefineProperty = Object.defineProperty;\n /** Object.getPrototypeOf */\n var ObjectGetPrototypeOf = Object.getPrototypeOf;\n /** Object.create */\n var ObjectCreate = Object.create;\n /** Array.prototype.slice */\n var ArraySlice = Array.prototype.slice;\n /** addEventListener string const */\n var ADD_EVENT_LISTENER_STR = 'addEventListener';\n /** removeEventListener string const */\n var REMOVE_EVENT_LISTENER_STR = 'removeEventListener';\n /** zoneSymbol addEventListener */\n var ZONE_SYMBOL_ADD_EVENT_LISTENER = Zone.__symbol__(ADD_EVENT_LISTENER_STR);\n /** zoneSymbol removeEventListener */\n var ZONE_SYMBOL_REMOVE_EVENT_LISTENER = Zone.__symbol__(REMOVE_EVENT_LISTENER_STR);\n /** true string const */\n var TRUE_STR = 'true';\n /** false string const */\n var FALSE_STR = 'false';\n /** Zone symbol prefix string const. */\n var ZONE_SYMBOL_PREFIX = Zone.__symbol__('');\n function wrapWithCurrentZone(callback, source) {\n return Zone.current.wrap(callback, source);\n }\n function scheduleMacroTaskWithCurrentZone(source, callback, data, customSchedule, customCancel) {\n return Zone.current.scheduleMacroTask(source, callback, data, customSchedule, customCancel);\n }\n var zoneSymbol = Zone.__symbol__;\n var isWindowExists = typeof window !== 'undefined';\n var internalWindow = isWindowExists ? window : undefined;\n var _global = isWindowExists && internalWindow || typeof self === 'object' && self || global;\n var REMOVE_ATTRIBUTE = 'removeAttribute';\n var NULL_ON_PROP_VALUE = [null];\n function bindArguments(args, source) {\n for (var i = args.length - 1; i >= 0; i--) {\n if (typeof args[i] === 'function') {\n args[i] = wrapWithCurrentZone(args[i], source + '_' + i);\n }\n }\n return args;\n }\n function patchPrototype(prototype, fnNames) {\n var source = prototype.constructor['name'];\n var _loop_1 = function (i) {\n var name_1 = fnNames[i];\n var delegate = prototype[name_1];\n if (delegate) {\n var prototypeDesc = ObjectGetOwnPropertyDescriptor(prototype, name_1);\n if (!isPropertyWritable(prototypeDesc)) {\n return \"continue\";\n }\n prototype[name_1] = (function (delegate) {\n var patched = function () {\n return delegate.apply(this, bindArguments(arguments, source + '.' + name_1));\n };\n attachOriginToPatched(patched, delegate);\n return patched;\n })(delegate);\n }\n };\n for (var i = 0; i < fnNames.length; i++) {\n _loop_1(i);\n }\n }\n function isPropertyWritable(propertyDesc) {\n if (!propertyDesc) {\n return true;\n }\n if (propertyDesc.writable === false) {\n return false;\n }\n return !(typeof propertyDesc.get === 'function' && typeof propertyDesc.set === 'undefined');\n }\n var isWebWorker = (typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope);\n // Make sure to access `process` through `_global` so that WebPack does not accidentally browserify\n // this code.\n var isNode = (!('nw' in _global) && typeof _global.process !== 'undefined' &&\n {}.toString.call(_global.process) === '[object process]');\n var isBrowser = !isNode && !isWebWorker && !!(isWindowExists && internalWindow['HTMLElement']);\n // we are in electron of nw, so we are both browser and nodejs\n // Make sure to access `process` through `_global` so that WebPack does not accidentally browserify\n // this code.\n var isMix = typeof _global.process !== 'undefined' &&\n {}.toString.call(_global.process) === '[object process]' && !isWebWorker &&\n !!(isWindowExists && internalWindow['HTMLElement']);\n var zoneSymbolEventNames = {};\n var wrapFn = function (event) {\n // https://github.com/angular/zone.js/issues/911, in IE, sometimes\n // event will be undefined, so we need to use window.event\n event = event || _global.event;\n if (!event) {\n return;\n }\n var eventNameSymbol = zoneSymbolEventNames[event.type];\n if (!eventNameSymbol) {\n eventNameSymbol = zoneSymbolEventNames[event.type] = zoneSymbol('ON_PROPERTY' + event.type);\n }\n var target = this || event.target || _global;\n var listener = target[eventNameSymbol];\n var result;\n if (isBrowser && target === internalWindow && event.type === 'error') {\n // window.onerror have different signiture\n // https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror#window.onerror\n // and onerror callback will prevent default when callback return true\n var errorEvent = event;\n result = listener &&\n listener.call(this, errorEvent.message, errorEvent.filename, errorEvent.lineno, errorEvent.colno, errorEvent.error);\n if (result === true) {\n event.preventDefault();\n }\n }\n else {\n result = listener && listener.apply(this, arguments);\n if (result != undefined && !result) {\n event.preventDefault();\n }\n }\n return result;\n };\n function patchProperty(obj, prop, prototype) {\n var desc = ObjectGetOwnPropertyDescriptor(obj, prop);\n if (!desc && prototype) {\n // when patch window object, use prototype to check prop exist or not\n var prototypeDesc = ObjectGetOwnPropertyDescriptor(prototype, prop);\n if (prototypeDesc) {\n desc = { enumerable: true, configurable: true };\n }\n }\n // if the descriptor not exists or is not configurable\n // just return\n if (!desc || !desc.configurable) {\n return;\n }\n var onPropPatchedSymbol = zoneSymbol('on' + prop + 'patched');\n if (obj.hasOwnProperty(onPropPatchedSymbol) && obj[onPropPatchedSymbol]) {\n return;\n }\n // A property descriptor cannot have getter/setter and be writable\n // deleting the writable and value properties avoids this error:\n //\n // TypeError: property descriptors must not specify a value or be writable when a\n // getter or setter has been specified\n delete desc.writable;\n delete desc.value;\n var originalDescGet = desc.get;\n var originalDescSet = desc.set;\n // substr(2) cuz 'onclick' -> 'click', etc\n var eventName = prop.substr(2);\n var eventNameSymbol = zoneSymbolEventNames[eventName];\n if (!eventNameSymbol) {\n eventNameSymbol = zoneSymbolEventNames[eventName] = zoneSymbol('ON_PROPERTY' + eventName);\n }\n desc.set = function (newValue) {\n // in some of windows's onproperty callback, this is undefined\n // so we need to check it\n var target = this;\n if (!target && obj === _global) {\n target = _global;\n }\n if (!target) {\n return;\n }\n var previousValue = target[eventNameSymbol];\n if (previousValue) {\n target.removeEventListener(eventName, wrapFn);\n }\n // issue #978, when onload handler was added before loading zone.js\n // we should remove it with originalDescSet\n if (originalDescSet) {\n originalDescSet.apply(target, NULL_ON_PROP_VALUE);\n }\n if (typeof newValue === 'function') {\n target[eventNameSymbol] = newValue;\n target.addEventListener(eventName, wrapFn, false);\n }\n else {\n target[eventNameSymbol] = null;\n }\n };\n // The getter would return undefined for unassigned properties but the default value of an\n // unassigned property is null\n desc.get = function () {\n // in some of windows's onproperty callback, this is undefined\n // so we need to check it\n var target = this;\n if (!target && obj === _global) {\n target = _global;\n }\n if (!target) {\n return null;\n }\n var listener = target[eventNameSymbol];\n if (listener) {\n return listener;\n }\n else if (originalDescGet) {\n // result will be null when use inline event attribute,\n // such as \n // because the onclick function is internal raw uncompiled handler\n // the onclick will be evaluated when first time event was triggered or\n // the property is accessed, https://github.com/angular/zone.js/issues/525\n // so we should use original native get to retrieve the handler\n var value = originalDescGet && originalDescGet.call(this);\n if (value) {\n desc.set.call(this, value);\n if (typeof target[REMOVE_ATTRIBUTE] === 'function') {\n target.removeAttribute(prop);\n }\n return value;\n }\n }\n return null;\n };\n ObjectDefineProperty(obj, prop, desc);\n obj[onPropPatchedSymbol] = true;\n }\n function patchOnProperties(obj, properties, prototype) {\n if (properties) {\n for (var i = 0; i < properties.length; i++) {\n patchProperty(obj, 'on' + properties[i], prototype);\n }\n }\n else {\n var onProperties = [];\n for (var prop in obj) {\n if (prop.substr(0, 2) == 'on') {\n onProperties.push(prop);\n }\n }\n for (var j = 0; j < onProperties.length; j++) {\n patchProperty(obj, onProperties[j], prototype);\n }\n }\n }\n var originalInstanceKey = zoneSymbol('originalInstance');\n // wrap some native API on `window`\n function patchClass(className) {\n var OriginalClass = _global[className];\n if (!OriginalClass)\n return;\n // keep original class in global\n _global[zoneSymbol(className)] = OriginalClass;\n _global[className] = function () {\n var a = bindArguments(arguments, className);\n switch (a.length) {\n case 0:\n this[originalInstanceKey] = new OriginalClass();\n break;\n case 1:\n this[originalInstanceKey] = new OriginalClass(a[0]);\n break;\n case 2:\n this[originalInstanceKey] = new OriginalClass(a[0], a[1]);\n break;\n case 3:\n this[originalInstanceKey] = new OriginalClass(a[0], a[1], a[2]);\n break;\n case 4:\n this[originalInstanceKey] = new OriginalClass(a[0], a[1], a[2], a[3]);\n break;\n default:\n throw new Error('Arg list too long.');\n }\n };\n // attach original delegate to patched function\n attachOriginToPatched(_global[className], OriginalClass);\n var instance = new OriginalClass(function () { });\n var prop;\n for (prop in instance) {\n // https://bugs.webkit.org/show_bug.cgi?id=44721\n if (className === 'XMLHttpRequest' && prop === 'responseBlob')\n continue;\n (function (prop) {\n if (typeof instance[prop] === 'function') {\n _global[className].prototype[prop] = function () {\n return this[originalInstanceKey][prop].apply(this[originalInstanceKey], arguments);\n };\n }\n else {\n ObjectDefineProperty(_global[className].prototype, prop, {\n set: function (fn) {\n if (typeof fn === 'function') {\n this[originalInstanceKey][prop] = wrapWithCurrentZone(fn, className + '.' + prop);\n // keep callback in wrapped function so we can\n // use it in Function.prototype.toString to return\n // the native one.\n attachOriginToPatched(this[originalInstanceKey][prop], fn);\n }\n else {\n this[originalInstanceKey][prop] = fn;\n }\n },\n get: function () {\n return this[originalInstanceKey][prop];\n }\n });\n }\n }(prop));\n }\n for (prop in OriginalClass) {\n if (prop !== 'prototype' && OriginalClass.hasOwnProperty(prop)) {\n _global[className][prop] = OriginalClass[prop];\n }\n }\n }\n function patchMethod(target, name, patchFn) {\n var proto = target;\n while (proto && !proto.hasOwnProperty(name)) {\n proto = ObjectGetPrototypeOf(proto);\n }\n if (!proto && target[name]) {\n // somehow we did not find it, but we can see it. This happens on IE for Window properties.\n proto = target;\n }\n var delegateName = zoneSymbol(name);\n var delegate = null;\n if (proto && (!(delegate = proto[delegateName]) || !proto.hasOwnProperty(delegateName))) {\n delegate = proto[delegateName] = proto[name];\n // check whether proto[name] is writable\n // some property is readonly in safari, such as HtmlCanvasElement.prototype.toBlob\n var desc = proto && ObjectGetOwnPropertyDescriptor(proto, name);\n if (isPropertyWritable(desc)) {\n var patchDelegate_1 = patchFn(delegate, delegateName, name);\n proto[name] = function () {\n return patchDelegate_1(this, arguments);\n };\n attachOriginToPatched(proto[name], delegate);\n }\n }\n return delegate;\n }\n // TODO: @JiaLiPassion, support cancel task later if necessary\n function patchMacroTask(obj, funcName, metaCreator) {\n var setNative = null;\n function scheduleTask(task) {\n var data = task.data;\n data.args[data.cbIdx] = function () {\n task.invoke.apply(this, arguments);\n };\n setNative.apply(data.target, data.args);\n return task;\n }\n setNative = patchMethod(obj, funcName, function (delegate) { return function (self, args) {\n var meta = metaCreator(self, args);\n if (meta.cbIdx >= 0 && typeof args[meta.cbIdx] === 'function') {\n return scheduleMacroTaskWithCurrentZone(meta.name, args[meta.cbIdx], meta, scheduleTask);\n }\n else {\n // cause an error by calling it directly.\n return delegate.apply(self, args);\n }\n }; });\n }\n function attachOriginToPatched(patched, original) {\n patched[zoneSymbol('OriginalDelegate')] = original;\n }\n var isDetectedIEOrEdge = false;\n var ieOrEdge = false;\n function isIE() {\n try {\n var ua = internalWindow.navigator.userAgent;\n if (ua.indexOf('MSIE ') !== -1 || ua.indexOf('Trident/') !== -1) {\n return true;\n }\n }\n catch (error) {\n }\n return false;\n }\n function isIEOrEdge() {\n if (isDetectedIEOrEdge) {\n return ieOrEdge;\n }\n isDetectedIEOrEdge = true;\n try {\n var ua = internalWindow.navigator.userAgent;\n if (ua.indexOf('MSIE ') !== -1 || ua.indexOf('Trident/') !== -1 || ua.indexOf('Edge/') !== -1) {\n ieOrEdge = true;\n }\n }\n catch (error) {\n }\n return ieOrEdge;\n }\n /**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n Zone.__load_patch('ZoneAwarePromise', function (global, Zone, api) {\n var ObjectGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n var ObjectDefineProperty = Object.defineProperty;\n function readableObjectToString(obj) {\n if (obj && obj.toString === Object.prototype.toString) {\n var className = obj.constructor && obj.constructor.name;\n return (className ? className : '') + ': ' + JSON.stringify(obj);\n }\n return obj ? obj.toString() : Object.prototype.toString.call(obj);\n }\n var __symbol__ = api.symbol;\n var _uncaughtPromiseErrors = [];\n var isDisableWrappingUncaughtPromiseRejection = global[__symbol__('DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION')] === true;\n var symbolPromise = __symbol__('Promise');\n var symbolThen = __symbol__('then');\n var creationTrace = '__creationTrace__';\n api.onUnhandledError = function (e) {\n if (api.showUncaughtError()) {\n var rejection = e && e.rejection;\n if (rejection) {\n console.error('Unhandled Promise rejection:', rejection instanceof Error ? rejection.message : rejection, '; Zone:', e.zone.name, '; Task:', e.task && e.task.source, '; Value:', rejection, rejection instanceof Error ? rejection.stack : undefined);\n }\n else {\n console.error(e);\n }\n }\n };\n api.microtaskDrainDone = function () {\n var _loop_2 = function () {\n var uncaughtPromiseError = _uncaughtPromiseErrors.shift();\n try {\n uncaughtPromiseError.zone.runGuarded(function () {\n if (uncaughtPromiseError.throwOriginal) {\n throw uncaughtPromiseError.rejection;\n }\n throw uncaughtPromiseError;\n });\n }\n catch (error) {\n handleUnhandledRejection(error);\n }\n };\n while (_uncaughtPromiseErrors.length) {\n _loop_2();\n }\n };\n var UNHANDLED_PROMISE_REJECTION_HANDLER_SYMBOL = __symbol__('unhandledPromiseRejectionHandler');\n function handleUnhandledRejection(e) {\n api.onUnhandledError(e);\n try {\n var handler = Zone[UNHANDLED_PROMISE_REJECTION_HANDLER_SYMBOL];\n if (typeof handler === 'function') {\n handler.call(this, e);\n }\n }\n catch (err) {\n }\n }\n function isThenable(value) {\n return value && value.then;\n }\n function forwardResolution(value) {\n return value;\n }\n function forwardRejection(rejection) {\n return ZoneAwarePromise.reject(rejection);\n }\n var symbolState = __symbol__('state');\n var symbolValue = __symbol__('value');\n var symbolFinally = __symbol__('finally');\n var symbolParentPromiseValue = __symbol__('parentPromiseValue');\n var symbolParentPromiseState = __symbol__('parentPromiseState');\n var source = 'Promise.then';\n var UNRESOLVED = null;\n var RESOLVED = true;\n var REJECTED = false;\n var REJECTED_NO_CATCH = 0;\n function makeResolver(promise, state) {\n return function (v) {\n try {\n resolvePromise(promise, state, v);\n }\n catch (err) {\n resolvePromise(promise, false, err);\n }\n // Do not return value or you will break the Promise spec.\n };\n }\n var once = function () {\n var wasCalled = false;\n return function wrapper(wrappedFunction) {\n return function () {\n if (wasCalled) {\n return;\n }\n wasCalled = true;\n wrappedFunction.apply(null, arguments);\n };\n };\n };\n var TYPE_ERROR = 'Promise resolved with itself';\n var CURRENT_TASK_TRACE_SYMBOL = __symbol__('currentTaskTrace');\n // Promise Resolution\n function resolvePromise(promise, state, value) {\n var onceWrapper = once();\n if (promise === value) {\n throw new TypeError(TYPE_ERROR);\n }\n if (promise[symbolState] === UNRESOLVED) {\n // should only get value.then once based on promise spec.\n var then = null;\n try {\n if (typeof value === 'object' || typeof value === 'function') {\n then = value && value.then;\n }\n }\n catch (err) {\n onceWrapper(function () {\n resolvePromise(promise, false, err);\n })();\n return promise;\n }\n // if (value instanceof ZoneAwarePromise) {\n if (state !== REJECTED && value instanceof ZoneAwarePromise &&\n value.hasOwnProperty(symbolState) && value.hasOwnProperty(symbolValue) &&\n value[symbolState] !== UNRESOLVED) {\n clearRejectedNoCatch(value);\n resolvePromise(promise, value[symbolState], value[symbolValue]);\n }\n else if (state !== REJECTED && typeof then === 'function') {\n try {\n then.call(value, onceWrapper(makeResolver(promise, state)), onceWrapper(makeResolver(promise, false)));\n }\n catch (err) {\n onceWrapper(function () {\n resolvePromise(promise, false, err);\n })();\n }\n }\n else {\n promise[symbolState] = state;\n var queue = promise[symbolValue];\n promise[symbolValue] = value;\n if (promise[symbolFinally] === symbolFinally) {\n // the promise is generated by Promise.prototype.finally\n if (state === RESOLVED) {\n // the state is resolved, should ignore the value\n // and use parent promise value\n promise[symbolState] = promise[symbolParentPromiseState];\n promise[symbolValue] = promise[symbolParentPromiseValue];\n }\n }\n // record task information in value when error occurs, so we can\n // do some additional work such as render longStackTrace\n if (state === REJECTED && value instanceof Error) {\n // check if longStackTraceZone is here\n var trace = Zone.currentTask && Zone.currentTask.data &&\n Zone.currentTask.data[creationTrace];\n if (trace) {\n // only keep the long stack trace into error when in longStackTraceZone\n ObjectDefineProperty(value, CURRENT_TASK_TRACE_SYMBOL, { configurable: true, enumerable: false, writable: true, value: trace });\n }\n }\n for (var i = 0; i < queue.length;) {\n scheduleResolveOrReject(promise, queue[i++], queue[i++], queue[i++], queue[i++]);\n }\n if (queue.length == 0 && state == REJECTED) {\n promise[symbolState] = REJECTED_NO_CATCH;\n var uncaughtPromiseError = value;\n try {\n // Here we throws a new Error to print more readable error log\n // and if the value is not an error, zone.js builds an `Error`\n // Object here to attach the stack information.\n throw new Error('Uncaught (in promise): ' + readableObjectToString(value) +\n (value && value.stack ? '\\n' + value.stack : ''));\n }\n catch (err) {\n uncaughtPromiseError = err;\n }\n if (isDisableWrappingUncaughtPromiseRejection) {\n // If disable wrapping uncaught promise reject\n // use the value instead of wrapping it.\n uncaughtPromiseError.throwOriginal = true;\n }\n uncaughtPromiseError.rejection = value;\n uncaughtPromiseError.promise = promise;\n uncaughtPromiseError.zone = Zone.current;\n uncaughtPromiseError.task = Zone.currentTask;\n _uncaughtPromiseErrors.push(uncaughtPromiseError);\n api.scheduleMicroTask(); // to make sure that it is running\n }\n }\n }\n // Resolving an already resolved promise is a noop.\n return promise;\n }\n var REJECTION_HANDLED_HANDLER = __symbol__('rejectionHandledHandler');\n function clearRejectedNoCatch(promise) {\n if (promise[symbolState] === REJECTED_NO_CATCH) {\n // if the promise is rejected no catch status\n // and queue.length > 0, means there is a error handler\n // here to handle the rejected promise, we should trigger\n // windows.rejectionhandled eventHandler or nodejs rejectionHandled\n // eventHandler\n try {\n var handler = Zone[REJECTION_HANDLED_HANDLER];\n if (handler && typeof handler === 'function') {\n handler.call(this, { rejection: promise[symbolValue], promise: promise });\n }\n }\n catch (err) {\n }\n promise[symbolState] = REJECTED;\n for (var i = 0; i < _uncaughtPromiseErrors.length; i++) {\n if (promise === _uncaughtPromiseErrors[i].promise) {\n _uncaughtPromiseErrors.splice(i, 1);\n }\n }\n }\n }\n function scheduleResolveOrReject(promise, zone, chainPromise, onFulfilled, onRejected) {\n clearRejectedNoCatch(promise);\n var promiseState = promise[symbolState];\n var delegate = promiseState ?\n (typeof onFulfilled === 'function') ? onFulfilled : forwardResolution :\n (typeof onRejected === 'function') ? onRejected : forwardRejection;\n zone.scheduleMicroTask(source, function () {\n try {\n var parentPromiseValue = promise[symbolValue];\n var isFinallyPromise = !!chainPromise && symbolFinally === chainPromise[symbolFinally];\n if (isFinallyPromise) {\n // if the promise is generated from finally call, keep parent promise's state and value\n chainPromise[symbolParentPromiseValue] = parentPromiseValue;\n chainPromise[symbolParentPromiseState] = promiseState;\n }\n // should not pass value to finally callback\n var value = zone.run(delegate, undefined, isFinallyPromise && delegate !== forwardRejection && delegate !== forwardResolution ?\n [] :\n [parentPromiseValue]);\n resolvePromise(chainPromise, true, value);\n }\n catch (error) {\n // if error occurs, should always return this error\n resolvePromise(chainPromise, false, error);\n }\n }, chainPromise);\n }\n var ZONE_AWARE_PROMISE_TO_STRING = 'function ZoneAwarePromise() { [native code] }';\n var noop = function () { };\n var ZoneAwarePromise = /** @class */ (function () {\n function ZoneAwarePromise(executor) {\n var promise = this;\n if (!(promise instanceof ZoneAwarePromise)) {\n throw new Error('Must be an instanceof Promise.');\n }\n promise[symbolState] = UNRESOLVED;\n promise[symbolValue] = []; // queue;\n try {\n executor && executor(makeResolver(promise, RESOLVED), makeResolver(promise, REJECTED));\n }\n catch (error) {\n resolvePromise(promise, false, error);\n }\n }\n ZoneAwarePromise.toString = function () {\n return ZONE_AWARE_PROMISE_TO_STRING;\n };\n ZoneAwarePromise.resolve = function (value) {\n return resolvePromise(new this(null), RESOLVED, value);\n };\n ZoneAwarePromise.reject = function (error) {\n return resolvePromise(new this(null), REJECTED, error);\n };\n ZoneAwarePromise.race = function (values) {\n var resolve;\n var reject;\n var promise = new this(function (res, rej) {\n resolve = res;\n reject = rej;\n });\n function onResolve(value) {\n resolve(value);\n }\n function onReject(error) {\n reject(error);\n }\n for (var _i = 0, values_1 = values; _i < values_1.length; _i++) {\n var value = values_1[_i];\n if (!isThenable(value)) {\n value = this.resolve(value);\n }\n value.then(onResolve, onReject);\n }\n return promise;\n };\n ZoneAwarePromise.all = function (values) {\n return ZoneAwarePromise.allWithCallback(values);\n };\n ZoneAwarePromise.allSettled = function (values) {\n var P = this && this.prototype instanceof ZoneAwarePromise ? this : ZoneAwarePromise;\n return P.allWithCallback(values, {\n thenCallback: function (value) { return ({ status: 'fulfilled', value: value }); },\n errorCallback: function (err) { return ({ status: 'rejected', reason: err }); }\n });\n };\n ZoneAwarePromise.allWithCallback = function (values, callback) {\n var resolve;\n var reject;\n var promise = new this(function (res, rej) {\n resolve = res;\n reject = rej;\n });\n // Start at 2 to prevent prematurely resolving if .then is called immediately.\n var unresolvedCount = 2;\n var valueIndex = 0;\n var resolvedValues = [];\n var _loop_3 = function (value) {\n if (!isThenable(value)) {\n value = this_1.resolve(value);\n }\n var curValueIndex = valueIndex;\n try {\n value.then(function (value) {\n resolvedValues[curValueIndex] = callback ? callback.thenCallback(value) : value;\n unresolvedCount--;\n if (unresolvedCount === 0) {\n resolve(resolvedValues);\n }\n }, function (err) {\n if (!callback) {\n reject(err);\n }\n else {\n resolvedValues[curValueIndex] = callback.errorCallback(err);\n unresolvedCount--;\n if (unresolvedCount === 0) {\n resolve(resolvedValues);\n }\n }\n });\n }\n catch (thenErr) {\n reject(thenErr);\n }\n unresolvedCount++;\n valueIndex++;\n };\n var this_1 = this;\n for (var _i = 0, values_2 = values; _i < values_2.length; _i++) {\n var value = values_2[_i];\n _loop_3(value);\n }\n // Make the unresolvedCount zero-based again.\n unresolvedCount -= 2;\n if (unresolvedCount === 0) {\n resolve(resolvedValues);\n }\n return promise;\n };\n Object.defineProperty(ZoneAwarePromise.prototype, Symbol.toStringTag, {\n get: function () {\n return 'Promise';\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(ZoneAwarePromise.prototype, Symbol.species, {\n get: function () {\n return ZoneAwarePromise;\n },\n enumerable: false,\n configurable: true\n });\n ZoneAwarePromise.prototype.then = function (onFulfilled, onRejected) {\n var C = this.constructor[Symbol.species];\n if (!C || typeof C !== 'function') {\n C = this.constructor || ZoneAwarePromise;\n }\n var chainPromise = new C(noop);\n var zone = Zone.current;\n if (this[symbolState] == UNRESOLVED) {\n this[symbolValue].push(zone, chainPromise, onFulfilled, onRejected);\n }\n else {\n scheduleResolveOrReject(this, zone, chainPromise, onFulfilled, onRejected);\n }\n return chainPromise;\n };\n ZoneAwarePromise.prototype.catch = function (onRejected) {\n return this.then(null, onRejected);\n };\n ZoneAwarePromise.prototype.finally = function (onFinally) {\n var C = this.constructor[Symbol.species];\n if (!C || typeof C !== 'function') {\n C = ZoneAwarePromise;\n }\n var chainPromise = new C(noop);\n chainPromise[symbolFinally] = symbolFinally;\n var zone = Zone.current;\n if (this[symbolState] == UNRESOLVED) {\n this[symbolValue].push(zone, chainPromise, onFinally, onFinally);\n }\n else {\n scheduleResolveOrReject(this, zone, chainPromise, onFinally, onFinally);\n }\n return chainPromise;\n };\n return ZoneAwarePromise;\n }());\n // Protect against aggressive optimizers dropping seemingly unused properties.\n // E.g. Closure Compiler in advanced mode.\n ZoneAwarePromise['resolve'] = ZoneAwarePromise.resolve;\n ZoneAwarePromise['reject'] = ZoneAwarePromise.reject;\n ZoneAwarePromise['race'] = ZoneAwarePromise.race;\n ZoneAwarePromise['all'] = ZoneAwarePromise.all;\n var NativePromise = global[symbolPromise] = global['Promise'];\n global['Promise'] = ZoneAwarePromise;\n var symbolThenPatched = __symbol__('thenPatched');\n function patchThen(Ctor) {\n var proto = Ctor.prototype;\n var prop = ObjectGetOwnPropertyDescriptor(proto, 'then');\n if (prop && (prop.writable === false || !prop.configurable)) {\n // check Ctor.prototype.then propertyDescriptor is writable or not\n // in meteor env, writable is false, we should ignore such case\n return;\n }\n var originalThen = proto.then;\n // Keep a reference to the original method.\n proto[symbolThen] = originalThen;\n Ctor.prototype.then = function (onResolve, onReject) {\n var _this = this;\n var wrapped = new ZoneAwarePromise(function (resolve, reject) {\n originalThen.call(_this, resolve, reject);\n });\n return wrapped.then(onResolve, onReject);\n };\n Ctor[symbolThenPatched] = true;\n }\n api.patchThen = patchThen;\n function zoneify(fn) {\n return function (self, args) {\n var resultPromise = fn.apply(self, args);\n if (resultPromise instanceof ZoneAwarePromise) {\n return resultPromise;\n }\n var ctor = resultPromise.constructor;\n if (!ctor[symbolThenPatched]) {\n patchThen(ctor);\n }\n return resultPromise;\n };\n }\n if (NativePromise) {\n patchThen(NativePromise);\n patchMethod(global, 'fetch', function (delegate) { return zoneify(delegate); });\n }\n // This is not part of public API, but it is useful for tests, so we expose it.\n Promise[Zone.__symbol__('uncaughtPromiseErrors')] = _uncaughtPromiseErrors;\n return ZoneAwarePromise;\n });\n /**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n // override Function.prototype.toString to make zone.js patched function\n // look like native function\n Zone.__load_patch('toString', function (global) {\n // patch Func.prototype.toString to let them look like native\n var originalFunctionToString = Function.prototype.toString;\n var ORIGINAL_DELEGATE_SYMBOL = zoneSymbol('OriginalDelegate');\n var PROMISE_SYMBOL = zoneSymbol('Promise');\n var ERROR_SYMBOL = zoneSymbol('Error');\n var newFunctionToString = function toString() {\n if (typeof this === 'function') {\n var originalDelegate = this[ORIGINAL_DELEGATE_SYMBOL];\n if (originalDelegate) {\n if (typeof originalDelegate === 'function') {\n return originalFunctionToString.call(originalDelegate);\n }\n else {\n return Object.prototype.toString.call(originalDelegate);\n }\n }\n if (this === Promise) {\n var nativePromise = global[PROMISE_SYMBOL];\n if (nativePromise) {\n return originalFunctionToString.call(nativePromise);\n }\n }\n if (this === Error) {\n var nativeError = global[ERROR_SYMBOL];\n if (nativeError) {\n return originalFunctionToString.call(nativeError);\n }\n }\n }\n return originalFunctionToString.call(this);\n };\n newFunctionToString[ORIGINAL_DELEGATE_SYMBOL] = originalFunctionToString;\n Function.prototype.toString = newFunctionToString;\n // patch Object.prototype.toString to let them look like native\n var originalObjectToString = Object.prototype.toString;\n var PROMISE_OBJECT_TO_STRING = '[object Promise]';\n Object.prototype.toString = function () {\n if (typeof Promise === 'function' && this instanceof Promise) {\n return PROMISE_OBJECT_TO_STRING;\n }\n return originalObjectToString.call(this);\n };\n });\n /**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var passiveSupported = false;\n if (typeof window !== 'undefined') {\n try {\n var options = Object.defineProperty({}, 'passive', {\n get: function () {\n passiveSupported = true;\n }\n });\n window.addEventListener('test', options, options);\n window.removeEventListener('test', options, options);\n }\n catch (err) {\n passiveSupported = false;\n }\n }\n // an identifier to tell ZoneTask do not create a new invoke closure\n var OPTIMIZED_ZONE_EVENT_TASK_DATA = {\n useG: true\n };\n var zoneSymbolEventNames$1 = {};\n var globalSources = {};\n var EVENT_NAME_SYMBOL_REGX = new RegExp('^' + ZONE_SYMBOL_PREFIX + '(\\\\w+)(true|false)$');\n var IMMEDIATE_PROPAGATION_SYMBOL = zoneSymbol('propagationStopped');\n function prepareEventNames(eventName, eventNameToString) {\n var falseEventName = (eventNameToString ? eventNameToString(eventName) : eventName) + FALSE_STR;\n var trueEventName = (eventNameToString ? eventNameToString(eventName) : eventName) + TRUE_STR;\n var symbol = ZONE_SYMBOL_PREFIX + falseEventName;\n var symbolCapture = ZONE_SYMBOL_PREFIX + trueEventName;\n zoneSymbolEventNames$1[eventName] = {};\n zoneSymbolEventNames$1[eventName][FALSE_STR] = symbol;\n zoneSymbolEventNames$1[eventName][TRUE_STR] = symbolCapture;\n }\n function patchEventTarget(_global, apis, patchOptions) {\n var ADD_EVENT_LISTENER = (patchOptions && patchOptions.add) || ADD_EVENT_LISTENER_STR;\n var REMOVE_EVENT_LISTENER = (patchOptions && patchOptions.rm) || REMOVE_EVENT_LISTENER_STR;\n var LISTENERS_EVENT_LISTENER = (patchOptions && patchOptions.listeners) || 'eventListeners';\n var REMOVE_ALL_LISTENERS_EVENT_LISTENER = (patchOptions && patchOptions.rmAll) || 'removeAllListeners';\n var zoneSymbolAddEventListener = zoneSymbol(ADD_EVENT_LISTENER);\n var ADD_EVENT_LISTENER_SOURCE = '.' + ADD_EVENT_LISTENER + ':';\n var PREPEND_EVENT_LISTENER = 'prependListener';\n var PREPEND_EVENT_LISTENER_SOURCE = '.' + PREPEND_EVENT_LISTENER + ':';\n var invokeTask = function (task, target, event) {\n // for better performance, check isRemoved which is set\n // by removeEventListener\n if (task.isRemoved) {\n return;\n }\n var delegate = task.callback;\n if (typeof delegate === 'object' && delegate.handleEvent) {\n // create the bind version of handleEvent when invoke\n task.callback = function (event) { return delegate.handleEvent(event); };\n task.originalDelegate = delegate;\n }\n // invoke static task.invoke\n task.invoke(task, target, [event]);\n var options = task.options;\n if (options && typeof options === 'object' && options.once) {\n // if options.once is true, after invoke once remove listener here\n // only browser need to do this, nodejs eventEmitter will cal removeListener\n // inside EventEmitter.once\n var delegate_1 = task.originalDelegate ? task.originalDelegate : task.callback;\n target[REMOVE_EVENT_LISTENER].call(target, event.type, delegate_1, options);\n }\n };\n // global shared zoneAwareCallback to handle all event callback with capture = false\n var globalZoneAwareCallback = function (event) {\n // https://github.com/angular/zone.js/issues/911, in IE, sometimes\n // event will be undefined, so we need to use window.event\n event = event || _global.event;\n if (!event) {\n return;\n }\n // event.target is needed for Samsung TV and SourceBuffer\n // || global is needed https://github.com/angular/zone.js/issues/190\n var target = this || event.target || _global;\n var tasks = target[zoneSymbolEventNames$1[event.type][FALSE_STR]];\n if (tasks) {\n // invoke all tasks which attached to current target with given event.type and capture = false\n // for performance concern, if task.length === 1, just invoke\n if (tasks.length === 1) {\n invokeTask(tasks[0], target, event);\n }\n else {\n // https://github.com/angular/zone.js/issues/836\n // copy the tasks array before invoke, to avoid\n // the callback will remove itself or other listener\n var copyTasks = tasks.slice();\n for (var i = 0; i < copyTasks.length; i++) {\n if (event && event[IMMEDIATE_PROPAGATION_SYMBOL] === true) {\n break;\n }\n invokeTask(copyTasks[i], target, event);\n }\n }\n }\n };\n // global shared zoneAwareCallback to handle all event callback with capture = true\n var globalZoneAwareCaptureCallback = function (event) {\n // https://github.com/angular/zone.js/issues/911, in IE, sometimes\n // event will be undefined, so we need to use window.event\n event = event || _global.event;\n if (!event) {\n return;\n }\n // event.target is needed for Samsung TV and SourceBuffer\n // || global is needed https://github.com/angular/zone.js/issues/190\n var target = this || event.target || _global;\n var tasks = target[zoneSymbolEventNames$1[event.type][TRUE_STR]];\n if (tasks) {\n // invoke all tasks which attached to current target with given event.type and capture = false\n // for performance concern, if task.length === 1, just invoke\n if (tasks.length === 1) {\n invokeTask(tasks[0], target, event);\n }\n else {\n // https://github.com/angular/zone.js/issues/836\n // copy the tasks array before invoke, to avoid\n // the callback will remove itself or other listener\n var copyTasks = tasks.slice();\n for (var i = 0; i < copyTasks.length; i++) {\n if (event && event[IMMEDIATE_PROPAGATION_SYMBOL] === true) {\n break;\n }\n invokeTask(copyTasks[i], target, event);\n }\n }\n }\n };\n function patchEventTargetMethods(obj, patchOptions) {\n if (!obj) {\n return false;\n }\n var useGlobalCallback = true;\n if (patchOptions && patchOptions.useG !== undefined) {\n useGlobalCallback = patchOptions.useG;\n }\n var validateHandler = patchOptions && patchOptions.vh;\n var checkDuplicate = true;\n if (patchOptions && patchOptions.chkDup !== undefined) {\n checkDuplicate = patchOptions.chkDup;\n }\n var returnTarget = false;\n if (patchOptions && patchOptions.rt !== undefined) {\n returnTarget = patchOptions.rt;\n }\n var proto = obj;\n while (proto && !proto.hasOwnProperty(ADD_EVENT_LISTENER)) {\n proto = ObjectGetPrototypeOf(proto);\n }\n if (!proto && obj[ADD_EVENT_LISTENER]) {\n // somehow we did not find it, but we can see it. This happens on IE for Window properties.\n proto = obj;\n }\n if (!proto) {\n return false;\n }\n if (proto[zoneSymbolAddEventListener]) {\n return false;\n }\n var eventNameToString = patchOptions && patchOptions.eventNameToString;\n // a shared global taskData to pass data for scheduleEventTask\n // so we do not need to create a new object just for pass some data\n var taskData = {};\n var nativeAddEventListener = proto[zoneSymbolAddEventListener] = proto[ADD_EVENT_LISTENER];\n var nativeRemoveEventListener = proto[zoneSymbol(REMOVE_EVENT_LISTENER)] =\n proto[REMOVE_EVENT_LISTENER];\n var nativeListeners = proto[zoneSymbol(LISTENERS_EVENT_LISTENER)] =\n proto[LISTENERS_EVENT_LISTENER];\n var nativeRemoveAllListeners = proto[zoneSymbol(REMOVE_ALL_LISTENERS_EVENT_LISTENER)] =\n proto[REMOVE_ALL_LISTENERS_EVENT_LISTENER];\n var nativePrependEventListener;\n if (patchOptions && patchOptions.prepend) {\n nativePrependEventListener = proto[zoneSymbol(patchOptions.prepend)] =\n proto[patchOptions.prepend];\n }\n /**\n * This util function will build an option object with passive option\n * to handle all possible input from the user.\n */\n function buildEventListenerOptions(options, passive) {\n if (!passiveSupported && typeof options === 'object' && options) {\n // doesn't support passive but user want to pass an object as options.\n // this will not work on some old browser, so we just pass a boolean\n // as useCapture parameter\n return !!options.capture;\n }\n if (!passiveSupported || !passive) {\n return options;\n }\n if (typeof options === 'boolean') {\n return { capture: options, passive: true };\n }\n if (!options) {\n return { passive: true };\n }\n if (typeof options === 'object' && options.passive !== false) {\n return Object.assign(Object.assign({}, options), { passive: true });\n }\n return options;\n }\n var customScheduleGlobal = function (task) {\n // if there is already a task for the eventName + capture,\n // just return, because we use the shared globalZoneAwareCallback here.\n if (taskData.isExisting) {\n return;\n }\n return nativeAddEventListener.call(taskData.target, taskData.eventName, taskData.capture ? globalZoneAwareCaptureCallback : globalZoneAwareCallback, taskData.options);\n };\n var customCancelGlobal = function (task) {\n // if task is not marked as isRemoved, this call is directly\n // from Zone.prototype.cancelTask, we should remove the task\n // from tasksList of target first\n if (!task.isRemoved) {\n var symbolEventNames = zoneSymbolEventNames$1[task.eventName];\n var symbolEventName = void 0;\n if (symbolEventNames) {\n symbolEventName = symbolEventNames[task.capture ? TRUE_STR : FALSE_STR];\n }\n var existingTasks = symbolEventName && task.target[symbolEventName];\n if (existingTasks) {\n for (var i = 0; i < existingTasks.length; i++) {\n var existingTask = existingTasks[i];\n if (existingTask === task) {\n existingTasks.splice(i, 1);\n // set isRemoved to data for faster invokeTask check\n task.isRemoved = true;\n if (existingTasks.length === 0) {\n // all tasks for the eventName + capture have gone,\n // remove globalZoneAwareCallback and remove the task cache from target\n task.allRemoved = true;\n task.target[symbolEventName] = null;\n }\n break;\n }\n }\n }\n }\n // if all tasks for the eventName + capture have gone,\n // we will really remove the global event callback,\n // if not, return\n if (!task.allRemoved) {\n return;\n }\n return nativeRemoveEventListener.call(task.target, task.eventName, task.capture ? globalZoneAwareCaptureCallback : globalZoneAwareCallback, task.options);\n };\n var customScheduleNonGlobal = function (task) {\n return nativeAddEventListener.call(taskData.target, taskData.eventName, task.invoke, taskData.options);\n };\n var customSchedulePrepend = function (task) {\n return nativePrependEventListener.call(taskData.target, taskData.eventName, task.invoke, taskData.options);\n };\n var customCancelNonGlobal = function (task) {\n return nativeRemoveEventListener.call(task.target, task.eventName, task.invoke, task.options);\n };\n var customSchedule = useGlobalCallback ? customScheduleGlobal : customScheduleNonGlobal;\n var customCancel = useGlobalCallback ? customCancelGlobal : customCancelNonGlobal;\n var compareTaskCallbackVsDelegate = function (task, delegate) {\n var typeOfDelegate = typeof delegate;\n return (typeOfDelegate === 'function' && task.callback === delegate) ||\n (typeOfDelegate === 'object' && task.originalDelegate === delegate);\n };\n var compare = (patchOptions && patchOptions.diff) ? patchOptions.diff : compareTaskCallbackVsDelegate;\n var unpatchedEvents = Zone[zoneSymbol('UNPATCHED_EVENTS')];\n var passiveEvents = _global[zoneSymbol('PASSIVE_EVENTS')];\n var makeAddListener = function (nativeListener, addSource, customScheduleFn, customCancelFn, returnTarget, prepend) {\n if (returnTarget === void 0) { returnTarget = false; }\n if (prepend === void 0) { prepend = false; }\n return function () {\n var target = this || _global;\n var eventName = arguments[0];\n if (patchOptions && patchOptions.transferEventName) {\n eventName = patchOptions.transferEventName(eventName);\n }\n var delegate = arguments[1];\n if (!delegate) {\n return nativeListener.apply(this, arguments);\n }\n if (isNode && eventName === 'uncaughtException') {\n // don't patch uncaughtException of nodejs to prevent endless loop\n return nativeListener.apply(this, arguments);\n }\n // don't create the bind delegate function for handleEvent\n // case here to improve addEventListener performance\n // we will create the bind delegate when invoke\n var isHandleEvent = false;\n if (typeof delegate !== 'function') {\n if (!delegate.handleEvent) {\n return nativeListener.apply(this, arguments);\n }\n isHandleEvent = true;\n }\n if (validateHandler && !validateHandler(nativeListener, delegate, target, arguments)) {\n return;\n }\n var passive = passiveSupported && !!passiveEvents && passiveEvents.indexOf(eventName) !== -1;\n var options = buildEventListenerOptions(arguments[2], passive);\n if (unpatchedEvents) {\n // check upatched list\n for (var i = 0; i < unpatchedEvents.length; i++) {\n if (eventName === unpatchedEvents[i]) {\n if (passive) {\n return nativeListener.call(target, eventName, delegate, options);\n }\n else {\n return nativeListener.apply(this, arguments);\n }\n }\n }\n }\n var capture = !options ? false : typeof options === 'boolean' ? true : options.capture;\n var once = options && typeof options === 'object' ? options.once : false;\n var zone = Zone.current;\n var symbolEventNames = zoneSymbolEventNames$1[eventName];\n if (!symbolEventNames) {\n prepareEventNames(eventName, eventNameToString);\n symbolEventNames = zoneSymbolEventNames$1[eventName];\n }\n var symbolEventName = symbolEventNames[capture ? TRUE_STR : FALSE_STR];\n var existingTasks = target[symbolEventName];\n var isExisting = false;\n if (existingTasks) {\n // already have task registered\n isExisting = true;\n if (checkDuplicate) {\n for (var i = 0; i < existingTasks.length; i++) {\n if (compare(existingTasks[i], delegate)) {\n // same callback, same capture, same event name, just return\n return;\n }\n }\n }\n }\n else {\n existingTasks = target[symbolEventName] = [];\n }\n var source;\n var constructorName = target.constructor['name'];\n var targetSource = globalSources[constructorName];\n if (targetSource) {\n source = targetSource[eventName];\n }\n if (!source) {\n source = constructorName + addSource +\n (eventNameToString ? eventNameToString(eventName) : eventName);\n }\n // do not create a new object as task.data to pass those things\n // just use the global shared one\n taskData.options = options;\n if (once) {\n // if addEventListener with once options, we don't pass it to\n // native addEventListener, instead we keep the once setting\n // and handle ourselves.\n taskData.options.once = false;\n }\n taskData.target = target;\n taskData.capture = capture;\n taskData.eventName = eventName;\n taskData.isExisting = isExisting;\n var data = useGlobalCallback ? OPTIMIZED_ZONE_EVENT_TASK_DATA : undefined;\n // keep taskData into data to allow onScheduleEventTask to access the task information\n if (data) {\n data.taskData = taskData;\n }\n var task = zone.scheduleEventTask(source, delegate, data, customScheduleFn, customCancelFn);\n // should clear taskData.target to avoid memory leak\n // issue, https://github.com/angular/angular/issues/20442\n taskData.target = null;\n // need to clear up taskData because it is a global object\n if (data) {\n data.taskData = null;\n }\n // have to save those information to task in case\n // application may call task.zone.cancelTask() directly\n if (once) {\n options.once = true;\n }\n if (!(!passiveSupported && typeof task.options === 'boolean')) {\n // if not support passive, and we pass an option object\n // to addEventListener, we should save the options to task\n task.options = options;\n }\n task.target = target;\n task.capture = capture;\n task.eventName = eventName;\n if (isHandleEvent) {\n // save original delegate for compare to check duplicate\n task.originalDelegate = delegate;\n }\n if (!prepend) {\n existingTasks.push(task);\n }\n else {\n existingTasks.unshift(task);\n }\n if (returnTarget) {\n return target;\n }\n };\n };\n proto[ADD_EVENT_LISTENER] = makeAddListener(nativeAddEventListener, ADD_EVENT_LISTENER_SOURCE, customSchedule, customCancel, returnTarget);\n if (nativePrependEventListener) {\n proto[PREPEND_EVENT_LISTENER] = makeAddListener(nativePrependEventListener, PREPEND_EVENT_LISTENER_SOURCE, customSchedulePrepend, customCancel, returnTarget, true);\n }\n proto[REMOVE_EVENT_LISTENER] = function () {\n var target = this || _global;\n var eventName = arguments[0];\n if (patchOptions && patchOptions.transferEventName) {\n eventName = patchOptions.transferEventName(eventName);\n }\n var options = arguments[2];\n var capture = !options ? false : typeof options === 'boolean' ? true : options.capture;\n var delegate = arguments[1];\n if (!delegate) {\n return nativeRemoveEventListener.apply(this, arguments);\n }\n if (validateHandler &&\n !validateHandler(nativeRemoveEventListener, delegate, target, arguments)) {\n return;\n }\n var symbolEventNames = zoneSymbolEventNames$1[eventName];\n var symbolEventName;\n if (symbolEventNames) {\n symbolEventName = symbolEventNames[capture ? TRUE_STR : FALSE_STR];\n }\n var existingTasks = symbolEventName && target[symbolEventName];\n if (existingTasks) {\n for (var i = 0; i < existingTasks.length; i++) {\n var existingTask = existingTasks[i];\n if (compare(existingTask, delegate)) {\n existingTasks.splice(i, 1);\n // set isRemoved to data for faster invokeTask check\n existingTask.isRemoved = true;\n if (existingTasks.length === 0) {\n // all tasks for the eventName + capture have gone,\n // remove globalZoneAwareCallback and remove the task cache from target\n existingTask.allRemoved = true;\n target[symbolEventName] = null;\n // in the target, we have an event listener which is added by on_property\n // such as target.onclick = function() {}, so we need to clear this internal\n // property too if all delegates all removed\n if (typeof eventName === 'string') {\n var onPropertySymbol = ZONE_SYMBOL_PREFIX + 'ON_PROPERTY' + eventName;\n target[onPropertySymbol] = null;\n }\n }\n existingTask.zone.cancelTask(existingTask);\n if (returnTarget) {\n return target;\n }\n return;\n }\n }\n }\n // issue 930, didn't find the event name or callback\n // from zone kept existingTasks, the callback maybe\n // added outside of zone, we need to call native removeEventListener\n // to try to remove it.\n return nativeRemoveEventListener.apply(this, arguments);\n };\n proto[LISTENERS_EVENT_LISTENER] = function () {\n var target = this || _global;\n var eventName = arguments[0];\n if (patchOptions && patchOptions.transferEventName) {\n eventName = patchOptions.transferEventName(eventName);\n }\n var listeners = [];\n var tasks = findEventTasks(target, eventNameToString ? eventNameToString(eventName) : eventName);\n for (var i = 0; i < tasks.length; i++) {\n var task = tasks[i];\n var delegate = task.originalDelegate ? task.originalDelegate : task.callback;\n listeners.push(delegate);\n }\n return listeners;\n };\n proto[REMOVE_ALL_LISTENERS_EVENT_LISTENER] = function () {\n var target = this || _global;\n var eventName = arguments[0];\n if (!eventName) {\n var keys = Object.keys(target);\n for (var i = 0; i < keys.length; i++) {\n var prop = keys[i];\n var match = EVENT_NAME_SYMBOL_REGX.exec(prop);\n var evtName = match && match[1];\n // in nodejs EventEmitter, removeListener event is\n // used for monitoring the removeListener call,\n // so just keep removeListener eventListener until\n // all other eventListeners are removed\n if (evtName && evtName !== 'removeListener') {\n this[REMOVE_ALL_LISTENERS_EVENT_LISTENER].call(this, evtName);\n }\n }\n // remove removeListener listener finally\n this[REMOVE_ALL_LISTENERS_EVENT_LISTENER].call(this, 'removeListener');\n }\n else {\n if (patchOptions && patchOptions.transferEventName) {\n eventName = patchOptions.transferEventName(eventName);\n }\n var symbolEventNames = zoneSymbolEventNames$1[eventName];\n if (symbolEventNames) {\n var symbolEventName = symbolEventNames[FALSE_STR];\n var symbolCaptureEventName = symbolEventNames[TRUE_STR];\n var tasks = target[symbolEventName];\n var captureTasks = target[symbolCaptureEventName];\n if (tasks) {\n var removeTasks = tasks.slice();\n for (var i = 0; i < removeTasks.length; i++) {\n var task = removeTasks[i];\n var delegate = task.originalDelegate ? task.originalDelegate : task.callback;\n this[REMOVE_EVENT_LISTENER].call(this, eventName, delegate, task.options);\n }\n }\n if (captureTasks) {\n var removeTasks = captureTasks.slice();\n for (var i = 0; i < removeTasks.length; i++) {\n var task = removeTasks[i];\n var delegate = task.originalDelegate ? task.originalDelegate : task.callback;\n this[REMOVE_EVENT_LISTENER].call(this, eventName, delegate, task.options);\n }\n }\n }\n }\n if (returnTarget) {\n return this;\n }\n };\n // for native toString patch\n attachOriginToPatched(proto[ADD_EVENT_LISTENER], nativeAddEventListener);\n attachOriginToPatched(proto[REMOVE_EVENT_LISTENER], nativeRemoveEventListener);\n if (nativeRemoveAllListeners) {\n attachOriginToPatched(proto[REMOVE_ALL_LISTENERS_EVENT_LISTENER], nativeRemoveAllListeners);\n }\n if (nativeListeners) {\n attachOriginToPatched(proto[LISTENERS_EVENT_LISTENER], nativeListeners);\n }\n return true;\n }\n var results = [];\n for (var i = 0; i < apis.length; i++) {\n results[i] = patchEventTargetMethods(apis[i], patchOptions);\n }\n return results;\n }\n function findEventTasks(target, eventName) {\n if (!eventName) {\n var foundTasks = [];\n for (var prop in target) {\n var match = EVENT_NAME_SYMBOL_REGX.exec(prop);\n var evtName = match && match[1];\n if (evtName && (!eventName || evtName === eventName)) {\n var tasks = target[prop];\n if (tasks) {\n for (var i = 0; i < tasks.length; i++) {\n foundTasks.push(tasks[i]);\n }\n }\n }\n }\n return foundTasks;\n }\n var symbolEventName = zoneSymbolEventNames$1[eventName];\n if (!symbolEventName) {\n prepareEventNames(eventName);\n symbolEventName = zoneSymbolEventNames$1[eventName];\n }\n var captureFalseTasks = target[symbolEventName[FALSE_STR]];\n var captureTrueTasks = target[symbolEventName[TRUE_STR]];\n if (!captureFalseTasks) {\n return captureTrueTasks ? captureTrueTasks.slice() : [];\n }\n else {\n return captureTrueTasks ? captureFalseTasks.concat(captureTrueTasks) :\n captureFalseTasks.slice();\n }\n }\n function patchEventPrototype(global, api) {\n var Event = global['Event'];\n if (Event && Event.prototype) {\n api.patchMethod(Event.prototype, 'stopImmediatePropagation', function (delegate) { return function (self, args) {\n self[IMMEDIATE_PROPAGATION_SYMBOL] = true;\n // we need to call the native stopImmediatePropagation\n // in case in some hybrid application, some part of\n // application will be controlled by zone, some are not\n delegate && delegate.apply(self, args);\n }; });\n }\n }\n /**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n function patchCallbacks(api, target, targetName, method, callbacks) {\n var symbol = Zone.__symbol__(method);\n if (target[symbol]) {\n return;\n }\n var nativeDelegate = target[symbol] = target[method];\n target[method] = function (name, opts, options) {\n if (opts && opts.prototype) {\n callbacks.forEach(function (callback) {\n var source = targetName + \".\" + method + \"::\" + callback;\n var prototype = opts.prototype;\n if (prototype.hasOwnProperty(callback)) {\n var descriptor = api.ObjectGetOwnPropertyDescriptor(prototype, callback);\n if (descriptor && descriptor.value) {\n descriptor.value = api.wrapWithCurrentZone(descriptor.value, source);\n api._redefineProperty(opts.prototype, callback, descriptor);\n }\n else if (prototype[callback]) {\n prototype[callback] = api.wrapWithCurrentZone(prototype[callback], source);\n }\n }\n else if (prototype[callback]) {\n prototype[callback] = api.wrapWithCurrentZone(prototype[callback], source);\n }\n });\n }\n return nativeDelegate.call(target, name, opts, options);\n };\n api.attachOriginToPatched(target[method], nativeDelegate);\n }\n /**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var globalEventHandlersEventNames = [\n 'abort',\n 'animationcancel',\n 'animationend',\n 'animationiteration',\n 'auxclick',\n 'beforeinput',\n 'blur',\n 'cancel',\n 'canplay',\n 'canplaythrough',\n 'change',\n 'compositionstart',\n 'compositionupdate',\n 'compositionend',\n 'cuechange',\n 'click',\n 'close',\n 'contextmenu',\n 'curechange',\n 'dblclick',\n 'drag',\n 'dragend',\n 'dragenter',\n 'dragexit',\n 'dragleave',\n 'dragover',\n 'drop',\n 'durationchange',\n 'emptied',\n 'ended',\n 'error',\n 'focus',\n 'focusin',\n 'focusout',\n 'gotpointercapture',\n 'input',\n 'invalid',\n 'keydown',\n 'keypress',\n 'keyup',\n 'load',\n 'loadstart',\n 'loadeddata',\n 'loadedmetadata',\n 'lostpointercapture',\n 'mousedown',\n 'mouseenter',\n 'mouseleave',\n 'mousemove',\n 'mouseout',\n 'mouseover',\n 'mouseup',\n 'mousewheel',\n 'orientationchange',\n 'pause',\n 'play',\n 'playing',\n 'pointercancel',\n 'pointerdown',\n 'pointerenter',\n 'pointerleave',\n 'pointerlockchange',\n 'mozpointerlockchange',\n 'webkitpointerlockerchange',\n 'pointerlockerror',\n 'mozpointerlockerror',\n 'webkitpointerlockerror',\n 'pointermove',\n 'pointout',\n 'pointerover',\n 'pointerup',\n 'progress',\n 'ratechange',\n 'reset',\n 'resize',\n 'scroll',\n 'seeked',\n 'seeking',\n 'select',\n 'selectionchange',\n 'selectstart',\n 'show',\n 'sort',\n 'stalled',\n 'submit',\n 'suspend',\n 'timeupdate',\n 'volumechange',\n 'touchcancel',\n 'touchmove',\n 'touchstart',\n 'touchend',\n 'transitioncancel',\n 'transitionend',\n 'waiting',\n 'wheel'\n ];\n var documentEventNames = [\n 'afterscriptexecute', 'beforescriptexecute', 'DOMContentLoaded', 'freeze', 'fullscreenchange',\n 'mozfullscreenchange', 'webkitfullscreenchange', 'msfullscreenchange', 'fullscreenerror',\n 'mozfullscreenerror', 'webkitfullscreenerror', 'msfullscreenerror', 'readystatechange',\n 'visibilitychange', 'resume'\n ];\n var windowEventNames = [\n 'absolutedeviceorientation',\n 'afterinput',\n 'afterprint',\n 'appinstalled',\n 'beforeinstallprompt',\n 'beforeprint',\n 'beforeunload',\n 'devicelight',\n 'devicemotion',\n 'deviceorientation',\n 'deviceorientationabsolute',\n 'deviceproximity',\n 'hashchange',\n 'languagechange',\n 'message',\n 'mozbeforepaint',\n 'offline',\n 'online',\n 'paint',\n 'pageshow',\n 'pagehide',\n 'popstate',\n 'rejectionhandled',\n 'storage',\n 'unhandledrejection',\n 'unload',\n 'userproximity',\n 'vrdisplayconnected',\n 'vrdisplaydisconnected',\n 'vrdisplaypresentchange'\n ];\n var htmlElementEventNames = [\n 'beforecopy', 'beforecut', 'beforepaste', 'copy', 'cut', 'paste', 'dragstart', 'loadend',\n 'animationstart', 'search', 'transitionrun', 'transitionstart', 'webkitanimationend',\n 'webkitanimationiteration', 'webkitanimationstart', 'webkittransitionend'\n ];\n var mediaElementEventNames = ['encrypted', 'waitingforkey', 'msneedkey', 'mozinterruptbegin', 'mozinterruptend'];\n var ieElementEventNames = [\n 'activate',\n 'afterupdate',\n 'ariarequest',\n 'beforeactivate',\n 'beforedeactivate',\n 'beforeeditfocus',\n 'beforeupdate',\n 'cellchange',\n 'controlselect',\n 'dataavailable',\n 'datasetchanged',\n 'datasetcomplete',\n 'errorupdate',\n 'filterchange',\n 'layoutcomplete',\n 'losecapture',\n 'move',\n 'moveend',\n 'movestart',\n 'propertychange',\n 'resizeend',\n 'resizestart',\n 'rowenter',\n 'rowexit',\n 'rowsdelete',\n 'rowsinserted',\n 'command',\n 'compassneedscalibration',\n 'deactivate',\n 'help',\n 'mscontentzoom',\n 'msmanipulationstatechanged',\n 'msgesturechange',\n 'msgesturedoubletap',\n 'msgestureend',\n 'msgesturehold',\n 'msgesturestart',\n 'msgesturetap',\n 'msgotpointercapture',\n 'msinertiastart',\n 'mslostpointercapture',\n 'mspointercancel',\n 'mspointerdown',\n 'mspointerenter',\n 'mspointerhover',\n 'mspointerleave',\n 'mspointermove',\n 'mspointerout',\n 'mspointerover',\n 'mspointerup',\n 'pointerout',\n 'mssitemodejumplistitemremoved',\n 'msthumbnailclick',\n 'stop',\n 'storagecommit'\n ];\n var webglEventNames = ['webglcontextrestored', 'webglcontextlost', 'webglcontextcreationerror'];\n var formEventNames = ['autocomplete', 'autocompleteerror'];\n var detailEventNames = ['toggle'];\n var frameEventNames = ['load'];\n var frameSetEventNames = ['blur', 'error', 'focus', 'load', 'resize', 'scroll', 'messageerror'];\n var marqueeEventNames = ['bounce', 'finish', 'start'];\n var XMLHttpRequestEventNames = [\n 'loadstart', 'progress', 'abort', 'error', 'load', 'progress', 'timeout', 'loadend',\n 'readystatechange'\n ];\n var IDBIndexEventNames = ['upgradeneeded', 'complete', 'abort', 'success', 'error', 'blocked', 'versionchange', 'close'];\n var websocketEventNames = ['close', 'error', 'open', 'message'];\n var workerEventNames = ['error', 'message'];\n var eventNames = globalEventHandlersEventNames.concat(webglEventNames, formEventNames, detailEventNames, documentEventNames, windowEventNames, htmlElementEventNames, ieElementEventNames);\n function filterProperties(target, onProperties, ignoreProperties) {\n if (!ignoreProperties || ignoreProperties.length === 0) {\n return onProperties;\n }\n var tip = ignoreProperties.filter(function (ip) { return ip.target === target; });\n if (!tip || tip.length === 0) {\n return onProperties;\n }\n var targetIgnoreProperties = tip[0].ignoreProperties;\n return onProperties.filter(function (op) { return targetIgnoreProperties.indexOf(op) === -1; });\n }\n function patchFilteredProperties(target, onProperties, ignoreProperties, prototype) {\n // check whether target is available, sometimes target will be undefined\n // because different browser or some 3rd party plugin.\n if (!target) {\n return;\n }\n var filteredProperties = filterProperties(target, onProperties, ignoreProperties);\n patchOnProperties(target, filteredProperties, prototype);\n }\n function propertyDescriptorPatch(api, _global) {\n if (isNode && !isMix) {\n return;\n }\n if (Zone[api.symbol('patchEvents')]) {\n // events are already been patched by legacy patch.\n return;\n }\n var supportsWebSocket = typeof WebSocket !== 'undefined';\n var ignoreProperties = _global['__Zone_ignore_on_properties'];\n // for browsers that we can patch the descriptor: Chrome & Firefox\n if (isBrowser) {\n var internalWindow_1 = window;\n var ignoreErrorProperties = isIE() ? [{ target: internalWindow_1, ignoreProperties: ['error'] }] : [];\n // in IE/Edge, onProp not exist in window object, but in WindowPrototype\n // so we need to pass WindowPrototype to check onProp exist or not\n patchFilteredProperties(internalWindow_1, eventNames.concat(['messageerror']), ignoreProperties ? ignoreProperties.concat(ignoreErrorProperties) : ignoreProperties, ObjectGetPrototypeOf(internalWindow_1));\n patchFilteredProperties(Document.prototype, eventNames, ignoreProperties);\n if (typeof internalWindow_1['SVGElement'] !== 'undefined') {\n patchFilteredProperties(internalWindow_1['SVGElement'].prototype, eventNames, ignoreProperties);\n }\n patchFilteredProperties(Element.prototype, eventNames, ignoreProperties);\n patchFilteredProperties(HTMLElement.prototype, eventNames, ignoreProperties);\n patchFilteredProperties(HTMLMediaElement.prototype, mediaElementEventNames, ignoreProperties);\n patchFilteredProperties(HTMLFrameSetElement.prototype, windowEventNames.concat(frameSetEventNames), ignoreProperties);\n patchFilteredProperties(HTMLBodyElement.prototype, windowEventNames.concat(frameSetEventNames), ignoreProperties);\n patchFilteredProperties(HTMLFrameElement.prototype, frameEventNames, ignoreProperties);\n patchFilteredProperties(HTMLIFrameElement.prototype, frameEventNames, ignoreProperties);\n var HTMLMarqueeElement_1 = internalWindow_1['HTMLMarqueeElement'];\n if (HTMLMarqueeElement_1) {\n patchFilteredProperties(HTMLMarqueeElement_1.prototype, marqueeEventNames, ignoreProperties);\n }\n var Worker_1 = internalWindow_1['Worker'];\n if (Worker_1) {\n patchFilteredProperties(Worker_1.prototype, workerEventNames, ignoreProperties);\n }\n }\n var XMLHttpRequest = _global['XMLHttpRequest'];\n if (XMLHttpRequest) {\n // XMLHttpRequest is not available in ServiceWorker, so we need to check here\n patchFilteredProperties(XMLHttpRequest.prototype, XMLHttpRequestEventNames, ignoreProperties);\n }\n var XMLHttpRequestEventTarget = _global['XMLHttpRequestEventTarget'];\n if (XMLHttpRequestEventTarget) {\n patchFilteredProperties(XMLHttpRequestEventTarget && XMLHttpRequestEventTarget.prototype, XMLHttpRequestEventNames, ignoreProperties);\n }\n if (typeof IDBIndex !== 'undefined') {\n patchFilteredProperties(IDBIndex.prototype, IDBIndexEventNames, ignoreProperties);\n patchFilteredProperties(IDBRequest.prototype, IDBIndexEventNames, ignoreProperties);\n patchFilteredProperties(IDBOpenDBRequest.prototype, IDBIndexEventNames, ignoreProperties);\n patchFilteredProperties(IDBDatabase.prototype, IDBIndexEventNames, ignoreProperties);\n patchFilteredProperties(IDBTransaction.prototype, IDBIndexEventNames, ignoreProperties);\n patchFilteredProperties(IDBCursor.prototype, IDBIndexEventNames, ignoreProperties);\n }\n if (supportsWebSocket) {\n patchFilteredProperties(WebSocket.prototype, websocketEventNames, ignoreProperties);\n }\n }\n /**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n Zone.__load_patch('util', function (global, Zone, api) {\n api.patchOnProperties = patchOnProperties;\n api.patchMethod = patchMethod;\n api.bindArguments = bindArguments;\n api.patchMacroTask = patchMacroTask;\n // In earlier version of zone.js (<0.9.0), we use env name `__zone_symbol__BLACK_LISTED_EVENTS` to\n // define which events will not be patched by `Zone.js`.\n // In newer version (>=0.9.0), we change the env name to `__zone_symbol__UNPATCHED_EVENTS` to keep\n // the name consistent with angular repo.\n // The `__zone_symbol__BLACK_LISTED_EVENTS` is deprecated, but it is still be supported for\n // backwards compatibility.\n var SYMBOL_BLACK_LISTED_EVENTS = Zone.__symbol__('BLACK_LISTED_EVENTS');\n var SYMBOL_UNPATCHED_EVENTS = Zone.__symbol__('UNPATCHED_EVENTS');\n if (global[SYMBOL_UNPATCHED_EVENTS]) {\n global[SYMBOL_BLACK_LISTED_EVENTS] = global[SYMBOL_UNPATCHED_EVENTS];\n }\n if (global[SYMBOL_BLACK_LISTED_EVENTS]) {\n Zone[SYMBOL_BLACK_LISTED_EVENTS] = Zone[SYMBOL_UNPATCHED_EVENTS] =\n global[SYMBOL_BLACK_LISTED_EVENTS];\n }\n api.patchEventPrototype = patchEventPrototype;\n api.patchEventTarget = patchEventTarget;\n api.isIEOrEdge = isIEOrEdge;\n api.ObjectDefineProperty = ObjectDefineProperty;\n api.ObjectGetOwnPropertyDescriptor = ObjectGetOwnPropertyDescriptor;\n api.ObjectCreate = ObjectCreate;\n api.ArraySlice = ArraySlice;\n api.patchClass = patchClass;\n api.wrapWithCurrentZone = wrapWithCurrentZone;\n api.filterProperties = filterProperties;\n api.attachOriginToPatched = attachOriginToPatched;\n api._redefineProperty = Object.defineProperty;\n api.patchCallbacks = patchCallbacks;\n api.getGlobalObjects = function () { return ({\n globalSources: globalSources,\n zoneSymbolEventNames: zoneSymbolEventNames$1,\n eventNames: eventNames,\n isBrowser: isBrowser,\n isMix: isMix,\n isNode: isNode,\n TRUE_STR: TRUE_STR,\n FALSE_STR: FALSE_STR,\n ZONE_SYMBOL_PREFIX: ZONE_SYMBOL_PREFIX,\n ADD_EVENT_LISTENER_STR: ADD_EVENT_LISTENER_STR,\n REMOVE_EVENT_LISTENER_STR: REMOVE_EVENT_LISTENER_STR\n }); };\n });\n /**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n /*\n * This is necessary for Chrome and Chrome mobile, to enable\n * things like redefining `createdCallback` on an element.\n */\n var zoneSymbol$1;\n var _defineProperty;\n var _getOwnPropertyDescriptor;\n var _create;\n var unconfigurablesKey;\n function propertyPatch() {\n zoneSymbol$1 = Zone.__symbol__;\n _defineProperty = Object[zoneSymbol$1('defineProperty')] = Object.defineProperty;\n _getOwnPropertyDescriptor = Object[zoneSymbol$1('getOwnPropertyDescriptor')] =\n Object.getOwnPropertyDescriptor;\n _create = Object.create;\n unconfigurablesKey = zoneSymbol$1('unconfigurables');\n Object.defineProperty = function (obj, prop, desc) {\n if (isUnconfigurable(obj, prop)) {\n throw new TypeError('Cannot assign to read only property \\'' + prop + '\\' of ' + obj);\n }\n var originalConfigurableFlag = desc.configurable;\n if (prop !== 'prototype') {\n desc = rewriteDescriptor(obj, prop, desc);\n }\n return _tryDefineProperty(obj, prop, desc, originalConfigurableFlag);\n };\n Object.defineProperties = function (obj, props) {\n Object.keys(props).forEach(function (prop) {\n Object.defineProperty(obj, prop, props[prop]);\n });\n return obj;\n };\n Object.create = function (obj, proto) {\n if (typeof proto === 'object' && !Object.isFrozen(proto)) {\n Object.keys(proto).forEach(function (prop) {\n proto[prop] = rewriteDescriptor(obj, prop, proto[prop]);\n });\n }\n return _create(obj, proto);\n };\n Object.getOwnPropertyDescriptor = function (obj, prop) {\n var desc = _getOwnPropertyDescriptor(obj, prop);\n if (desc && isUnconfigurable(obj, prop)) {\n desc.configurable = false;\n }\n return desc;\n };\n }\n function _redefineProperty(obj, prop, desc) {\n var originalConfigurableFlag = desc.configurable;\n desc = rewriteDescriptor(obj, prop, desc);\n return _tryDefineProperty(obj, prop, desc, originalConfigurableFlag);\n }\n function isUnconfigurable(obj, prop) {\n return obj && obj[unconfigurablesKey] && obj[unconfigurablesKey][prop];\n }\n function rewriteDescriptor(obj, prop, desc) {\n // issue-927, if the desc is frozen, don't try to change the desc\n if (!Object.isFrozen(desc)) {\n desc.configurable = true;\n }\n if (!desc.configurable) {\n // issue-927, if the obj is frozen, don't try to set the desc to obj\n if (!obj[unconfigurablesKey] && !Object.isFrozen(obj)) {\n _defineProperty(obj, unconfigurablesKey, { writable: true, value: {} });\n }\n if (obj[unconfigurablesKey]) {\n obj[unconfigurablesKey][prop] = true;\n }\n }\n return desc;\n }\n function _tryDefineProperty(obj, prop, desc, originalConfigurableFlag) {\n try {\n return _defineProperty(obj, prop, desc);\n }\n catch (error) {\n if (desc.configurable) {\n // In case of errors, when the configurable flag was likely set by rewriteDescriptor(), let's\n // retry with the original flag value\n if (typeof originalConfigurableFlag == 'undefined') {\n delete desc.configurable;\n }\n else {\n desc.configurable = originalConfigurableFlag;\n }\n try {\n return _defineProperty(obj, prop, desc);\n }\n catch (error) {\n var swallowError = false;\n if (prop === 'createdCallback' || prop === 'attachedCallback' ||\n prop === 'detachedCallback' || prop === 'attributeChangedCallback') {\n // We only swallow the error in registerElement patch\n // this is the work around since some applications\n // fail if we throw the error\n swallowError = true;\n }\n if (!swallowError) {\n throw error;\n }\n // TODO: @JiaLiPassion, Some application such as `registerElement` patch\n // still need to swallow the error, in the future after these applications\n // are updated, the following logic can be removed.\n var descJson = null;\n try {\n descJson = JSON.stringify(desc);\n }\n catch (error) {\n descJson = desc.toString();\n }\n console.log(\"Attempting to configure '\" + prop + \"' with descriptor '\" + descJson + \"' on object '\" + obj + \"' and got error, giving up: \" + error);\n }\n }\n else {\n throw error;\n }\n }\n }\n /**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n function eventTargetLegacyPatch(_global, api) {\n var _a = api.getGlobalObjects(), eventNames = _a.eventNames, globalSources = _a.globalSources, zoneSymbolEventNames = _a.zoneSymbolEventNames, TRUE_STR = _a.TRUE_STR, FALSE_STR = _a.FALSE_STR, ZONE_SYMBOL_PREFIX = _a.ZONE_SYMBOL_PREFIX;\n var WTF_ISSUE_555 = 'Anchor,Area,Audio,BR,Base,BaseFont,Body,Button,Canvas,Content,DList,Directory,Div,Embed,FieldSet,Font,Form,Frame,FrameSet,HR,Head,Heading,Html,IFrame,Image,Input,Keygen,LI,Label,Legend,Link,Map,Marquee,Media,Menu,Meta,Meter,Mod,OList,Object,OptGroup,Option,Output,Paragraph,Pre,Progress,Quote,Script,Select,Source,Span,Style,TableCaption,TableCell,TableCol,Table,TableRow,TableSection,TextArea,Title,Track,UList,Unknown,Video';\n var NO_EVENT_TARGET = 'ApplicationCache,EventSource,FileReader,InputMethodContext,MediaController,MessagePort,Node,Performance,SVGElementInstance,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebKitNamedFlow,Window,Worker,WorkerGlobalScope,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload,IDBRequest,IDBOpenDBRequest,IDBDatabase,IDBTransaction,IDBCursor,DBIndex,WebSocket'\n .split(',');\n var EVENT_TARGET = 'EventTarget';\n var apis = [];\n var isWtf = _global['wtf'];\n var WTF_ISSUE_555_ARRAY = WTF_ISSUE_555.split(',');\n if (isWtf) {\n // Workaround for: https://github.com/google/tracing-framework/issues/555\n apis = WTF_ISSUE_555_ARRAY.map(function (v) { return 'HTML' + v + 'Element'; }).concat(NO_EVENT_TARGET);\n }\n else if (_global[EVENT_TARGET]) {\n apis.push(EVENT_TARGET);\n }\n else {\n // Note: EventTarget is not available in all browsers,\n // if it's not available, we instead patch the APIs in the IDL that inherit from EventTarget\n apis = NO_EVENT_TARGET;\n }\n var isDisableIECheck = _global['__Zone_disable_IE_check'] || false;\n var isEnableCrossContextCheck = _global['__Zone_enable_cross_context_check'] || false;\n var ieOrEdge = api.isIEOrEdge();\n var ADD_EVENT_LISTENER_SOURCE = '.addEventListener:';\n var FUNCTION_WRAPPER = '[object FunctionWrapper]';\n var BROWSER_TOOLS = 'function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }';\n var pointerEventsMap = {\n 'MSPointerCancel': 'pointercancel',\n 'MSPointerDown': 'pointerdown',\n 'MSPointerEnter': 'pointerenter',\n 'MSPointerHover': 'pointerhover',\n 'MSPointerLeave': 'pointerleave',\n 'MSPointerMove': 'pointermove',\n 'MSPointerOut': 'pointerout',\n 'MSPointerOver': 'pointerover',\n 'MSPointerUp': 'pointerup'\n };\n // predefine all __zone_symbol__ + eventName + true/false string\n for (var i = 0; i < eventNames.length; i++) {\n var eventName = eventNames[i];\n var falseEventName = eventName + FALSE_STR;\n var trueEventName = eventName + TRUE_STR;\n var symbol = ZONE_SYMBOL_PREFIX + falseEventName;\n var symbolCapture = ZONE_SYMBOL_PREFIX + trueEventName;\n zoneSymbolEventNames[eventName] = {};\n zoneSymbolEventNames[eventName][FALSE_STR] = symbol;\n zoneSymbolEventNames[eventName][TRUE_STR] = symbolCapture;\n }\n // predefine all task.source string\n for (var i = 0; i < WTF_ISSUE_555_ARRAY.length; i++) {\n var target = WTF_ISSUE_555_ARRAY[i];\n var targets = globalSources[target] = {};\n for (var j = 0; j < eventNames.length; j++) {\n var eventName = eventNames[j];\n targets[eventName] = target + ADD_EVENT_LISTENER_SOURCE + eventName;\n }\n }\n var checkIEAndCrossContext = function (nativeDelegate, delegate, target, args) {\n if (!isDisableIECheck && ieOrEdge) {\n if (isEnableCrossContextCheck) {\n try {\n var testString = delegate.toString();\n if ((testString === FUNCTION_WRAPPER || testString == BROWSER_TOOLS)) {\n nativeDelegate.apply(target, args);\n return false;\n }\n }\n catch (error) {\n nativeDelegate.apply(target, args);\n return false;\n }\n }\n else {\n var testString = delegate.toString();\n if ((testString === FUNCTION_WRAPPER || testString == BROWSER_TOOLS)) {\n nativeDelegate.apply(target, args);\n return false;\n }\n }\n }\n else if (isEnableCrossContextCheck) {\n try {\n delegate.toString();\n }\n catch (error) {\n nativeDelegate.apply(target, args);\n return false;\n }\n }\n return true;\n };\n var apiTypes = [];\n for (var i = 0; i < apis.length; i++) {\n var type = _global[apis[i]];\n apiTypes.push(type && type.prototype);\n }\n // vh is validateHandler to check event handler\n // is valid or not(for security check)\n api.patchEventTarget(_global, apiTypes, {\n vh: checkIEAndCrossContext,\n transferEventName: function (eventName) {\n var pointerEventName = pointerEventsMap[eventName];\n return pointerEventName || eventName;\n }\n });\n Zone[api.symbol('patchEventTarget')] = !!_global[EVENT_TARGET];\n return true;\n }\n /**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n // we have to patch the instance since the proto is non-configurable\n function apply(api, _global) {\n var _a = api.getGlobalObjects(), ADD_EVENT_LISTENER_STR = _a.ADD_EVENT_LISTENER_STR, REMOVE_EVENT_LISTENER_STR = _a.REMOVE_EVENT_LISTENER_STR;\n var WS = _global.WebSocket;\n // On Safari window.EventTarget doesn't exist so need to patch WS add/removeEventListener\n // On older Chrome, no need since EventTarget was already patched\n if (!_global.EventTarget) {\n api.patchEventTarget(_global, [WS.prototype]);\n }\n _global.WebSocket = function (x, y) {\n var socket = arguments.length > 1 ? new WS(x, y) : new WS(x);\n var proxySocket;\n var proxySocketProto;\n // Safari 7.0 has non-configurable own 'onmessage' and friends properties on the socket instance\n var onmessageDesc = api.ObjectGetOwnPropertyDescriptor(socket, 'onmessage');\n if (onmessageDesc && onmessageDesc.configurable === false) {\n proxySocket = api.ObjectCreate(socket);\n // socket have own property descriptor 'onopen', 'onmessage', 'onclose', 'onerror'\n // but proxySocket not, so we will keep socket as prototype and pass it to\n // patchOnProperties method\n proxySocketProto = socket;\n [ADD_EVENT_LISTENER_STR, REMOVE_EVENT_LISTENER_STR, 'send', 'close'].forEach(function (propName) {\n proxySocket[propName] = function () {\n var args = api.ArraySlice.call(arguments);\n if (propName === ADD_EVENT_LISTENER_STR || propName === REMOVE_EVENT_LISTENER_STR) {\n var eventName = args.length > 0 ? args[0] : undefined;\n if (eventName) {\n var propertySymbol = Zone.__symbol__('ON_PROPERTY' + eventName);\n socket[propertySymbol] = proxySocket[propertySymbol];\n }\n }\n return socket[propName].apply(socket, args);\n };\n });\n }\n else {\n // we can patch the real socket\n proxySocket = socket;\n }\n api.patchOnProperties(proxySocket, ['close', 'error', 'message', 'open'], proxySocketProto);\n return proxySocket;\n };\n var globalWebSocket = _global['WebSocket'];\n for (var prop in WS) {\n globalWebSocket[prop] = WS[prop];\n }\n }\n /**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n function propertyDescriptorLegacyPatch(api, _global) {\n var _a = api.getGlobalObjects(), isNode = _a.isNode, isMix = _a.isMix;\n if (isNode && !isMix) {\n return;\n }\n if (!canPatchViaPropertyDescriptor(api, _global)) {\n var supportsWebSocket = typeof WebSocket !== 'undefined';\n // Safari, Android browsers (Jelly Bean)\n patchViaCapturingAllTheEvents(api);\n api.patchClass('XMLHttpRequest');\n if (supportsWebSocket) {\n apply(api, _global);\n }\n Zone[api.symbol('patchEvents')] = true;\n }\n }\n function canPatchViaPropertyDescriptor(api, _global) {\n var _a = api.getGlobalObjects(), isBrowser = _a.isBrowser, isMix = _a.isMix;\n if ((isBrowser || isMix) &&\n !api.ObjectGetOwnPropertyDescriptor(HTMLElement.prototype, 'onclick') &&\n typeof Element !== 'undefined') {\n // WebKit https://bugs.webkit.org/show_bug.cgi?id=134364\n // IDL interface attributes are not configurable\n var desc = api.ObjectGetOwnPropertyDescriptor(Element.prototype, 'onclick');\n if (desc && !desc.configurable)\n return false;\n // try to use onclick to detect whether we can patch via propertyDescriptor\n // because XMLHttpRequest is not available in service worker\n if (desc) {\n api.ObjectDefineProperty(Element.prototype, 'onclick', {\n enumerable: true,\n configurable: true,\n get: function () {\n return true;\n }\n });\n var div = document.createElement('div');\n var result = !!div.onclick;\n api.ObjectDefineProperty(Element.prototype, 'onclick', desc);\n return result;\n }\n }\n var XMLHttpRequest = _global['XMLHttpRequest'];\n if (!XMLHttpRequest) {\n // XMLHttpRequest is not available in service worker\n return false;\n }\n var ON_READY_STATE_CHANGE = 'onreadystatechange';\n var XMLHttpRequestPrototype = XMLHttpRequest.prototype;\n var xhrDesc = api.ObjectGetOwnPropertyDescriptor(XMLHttpRequestPrototype, ON_READY_STATE_CHANGE);\n // add enumerable and configurable here because in opera\n // by default XMLHttpRequest.prototype.onreadystatechange is undefined\n // without adding enumerable and configurable will cause onreadystatechange\n // non-configurable\n // and if XMLHttpRequest.prototype.onreadystatechange is undefined,\n // we should set a real desc instead a fake one\n if (xhrDesc) {\n api.ObjectDefineProperty(XMLHttpRequestPrototype, ON_READY_STATE_CHANGE, {\n enumerable: true,\n configurable: true,\n get: function () {\n return true;\n }\n });\n var req = new XMLHttpRequest();\n var result = !!req.onreadystatechange;\n // restore original desc\n api.ObjectDefineProperty(XMLHttpRequestPrototype, ON_READY_STATE_CHANGE, xhrDesc || {});\n return result;\n }\n else {\n var SYMBOL_FAKE_ONREADYSTATECHANGE_1 = api.symbol('fake');\n api.ObjectDefineProperty(XMLHttpRequestPrototype, ON_READY_STATE_CHANGE, {\n enumerable: true,\n configurable: true,\n get: function () {\n return this[SYMBOL_FAKE_ONREADYSTATECHANGE_1];\n },\n set: function (value) {\n this[SYMBOL_FAKE_ONREADYSTATECHANGE_1] = value;\n }\n });\n var req = new XMLHttpRequest();\n var detectFunc = function () { };\n req.onreadystatechange = detectFunc;\n var result = req[SYMBOL_FAKE_ONREADYSTATECHANGE_1] === detectFunc;\n req.onreadystatechange = null;\n return result;\n }\n }\n // Whenever any eventListener fires, we check the eventListener target and all parents\n // for `onwhatever` properties and replace them with zone-bound functions\n // - Chrome (for now)\n function patchViaCapturingAllTheEvents(api) {\n var eventNames = api.getGlobalObjects().eventNames;\n var unboundKey = api.symbol('unbound');\n var _loop_4 = function (i) {\n var property = eventNames[i];\n var onproperty = 'on' + property;\n self.addEventListener(property, function (event) {\n var elt = event.target, bound, source;\n if (elt) {\n source = elt.constructor['name'] + '.' + onproperty;\n }\n else {\n source = 'unknown.' + onproperty;\n }\n while (elt) {\n if (elt[onproperty] && !elt[onproperty][unboundKey]) {\n bound = api.wrapWithCurrentZone(elt[onproperty], source);\n bound[unboundKey] = elt[onproperty];\n elt[onproperty] = bound;\n }\n elt = elt.parentElement;\n }\n }, true);\n };\n for (var i = 0; i < eventNames.length; i++) {\n _loop_4(i);\n }\n }\n /**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n function registerElementPatch(_global, api) {\n var _a = api.getGlobalObjects(), isBrowser = _a.isBrowser, isMix = _a.isMix;\n if ((!isBrowser && !isMix) || !('registerElement' in _global.document)) {\n return;\n }\n var callbacks = ['createdCallback', 'attachedCallback', 'detachedCallback', 'attributeChangedCallback'];\n api.patchCallbacks(api, document, 'Document', 'registerElement', callbacks);\n }\n /**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n (function (_global) {\n var symbolPrefix = _global['__Zone_symbol_prefix'] || '__zone_symbol__';\n function __symbol__(name) {\n return symbolPrefix + name;\n }\n _global[__symbol__('legacyPatch')] = function () {\n var Zone = _global['Zone'];\n Zone.__load_patch('defineProperty', function (global, Zone, api) {\n api._redefineProperty = _redefineProperty;\n propertyPatch();\n });\n Zone.__load_patch('registerElement', function (global, Zone, api) {\n registerElementPatch(global, api);\n });\n Zone.__load_patch('EventTargetLegacy', function (global, Zone, api) {\n eventTargetLegacyPatch(global, api);\n propertyDescriptorLegacyPatch(api, global);\n });\n };\n })(typeof window !== 'undefined' ?\n window :\n typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {});\n /**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var taskSymbol = zoneSymbol('zoneTask');\n function patchTimer(window, setName, cancelName, nameSuffix) {\n var setNative = null;\n var clearNative = null;\n setName += nameSuffix;\n cancelName += nameSuffix;\n var tasksByHandleId = {};\n function scheduleTask(task) {\n var data = task.data;\n data.args[0] = function () {\n return task.invoke.apply(this, arguments);\n };\n data.handleId = setNative.apply(window, data.args);\n return task;\n }\n function clearTask(task) {\n return clearNative.call(window, task.data.handleId);\n }\n setNative =\n patchMethod(window, setName, function (delegate) { return function (self, args) {\n if (typeof args[0] === 'function') {\n var options_1 = {\n isPeriodic: nameSuffix === 'Interval',\n delay: (nameSuffix === 'Timeout' || nameSuffix === 'Interval') ? args[1] || 0 :\n undefined,\n args: args\n };\n var callback_1 = args[0];\n args[0] = function timer() {\n try {\n return callback_1.apply(this, arguments);\n }\n finally {\n // issue-934, task will be cancelled\n // even it is a periodic task such as\n // setInterval\n // https://github.com/angular/angular/issues/40387\n // Cleanup tasksByHandleId should be handled before scheduleTask\n // Since some zoneSpec may intercept and doesn't trigger\n // scheduleFn(scheduleTask) provided here.\n if (!(options_1.isPeriodic)) {\n if (typeof options_1.handleId === 'number') {\n // in non-nodejs env, we remove timerId\n // from local cache\n delete tasksByHandleId[options_1.handleId];\n }\n else if (options_1.handleId) {\n // Node returns complex objects as handleIds\n // we remove task reference from timer object\n options_1.handleId[taskSymbol] = null;\n }\n }\n }\n };\n var task = scheduleMacroTaskWithCurrentZone(setName, args[0], options_1, scheduleTask, clearTask);\n if (!task) {\n return task;\n }\n // Node.js must additionally support the ref and unref functions.\n var handle = task.data.handleId;\n if (typeof handle === 'number') {\n // for non nodejs env, we save handleId: task\n // mapping in local cache for clearTimeout\n tasksByHandleId[handle] = task;\n }\n else if (handle) {\n // for nodejs env, we save task\n // reference in timerId Object for clearTimeout\n handle[taskSymbol] = task;\n }\n // check whether handle is null, because some polyfill or browser\n // may return undefined from setTimeout/setInterval/setImmediate/requestAnimationFrame\n if (handle && handle.ref && handle.unref && typeof handle.ref === 'function' &&\n typeof handle.unref === 'function') {\n task.ref = handle.ref.bind(handle);\n task.unref = handle.unref.bind(handle);\n }\n if (typeof handle === 'number' || handle) {\n return handle;\n }\n return task;\n }\n else {\n // cause an error by calling it directly.\n return delegate.apply(window, args);\n }\n }; });\n clearNative =\n patchMethod(window, cancelName, function (delegate) { return function (self, args) {\n var id = args[0];\n var task;\n if (typeof id === 'number') {\n // non nodejs env.\n task = tasksByHandleId[id];\n }\n else {\n // nodejs env.\n task = id && id[taskSymbol];\n // other environments.\n if (!task) {\n task = id;\n }\n }\n if (task && typeof task.type === 'string') {\n if (task.state !== 'notScheduled' &&\n (task.cancelFn && task.data.isPeriodic || task.runCount === 0)) {\n if (typeof id === 'number') {\n delete tasksByHandleId[id];\n }\n else if (id) {\n id[taskSymbol] = null;\n }\n // Do not cancel already canceled functions\n task.zone.cancelTask(task);\n }\n }\n else {\n // cause an error by calling it directly.\n delegate.apply(window, args);\n }\n }; });\n }\n /**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n function patchCustomElements(_global, api) {\n var _a = api.getGlobalObjects(), isBrowser = _a.isBrowser, isMix = _a.isMix;\n if ((!isBrowser && !isMix) || !_global['customElements'] || !('customElements' in _global)) {\n return;\n }\n var callbacks = ['connectedCallback', 'disconnectedCallback', 'adoptedCallback', 'attributeChangedCallback'];\n api.patchCallbacks(api, _global.customElements, 'customElements', 'define', callbacks);\n }\n /**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n function eventTargetPatch(_global, api) {\n if (Zone[api.symbol('patchEventTarget')]) {\n // EventTarget is already patched.\n return;\n }\n var _a = api.getGlobalObjects(), eventNames = _a.eventNames, zoneSymbolEventNames = _a.zoneSymbolEventNames, TRUE_STR = _a.TRUE_STR, FALSE_STR = _a.FALSE_STR, ZONE_SYMBOL_PREFIX = _a.ZONE_SYMBOL_PREFIX;\n // predefine all __zone_symbol__ + eventName + true/false string\n for (var i = 0; i < eventNames.length; i++) {\n var eventName = eventNames[i];\n var falseEventName = eventName + FALSE_STR;\n var trueEventName = eventName + TRUE_STR;\n var symbol = ZONE_SYMBOL_PREFIX + falseEventName;\n var symbolCapture = ZONE_SYMBOL_PREFIX + trueEventName;\n zoneSymbolEventNames[eventName] = {};\n zoneSymbolEventNames[eventName][FALSE_STR] = symbol;\n zoneSymbolEventNames[eventName][TRUE_STR] = symbolCapture;\n }\n var EVENT_TARGET = _global['EventTarget'];\n if (!EVENT_TARGET || !EVENT_TARGET.prototype) {\n return;\n }\n api.patchEventTarget(_global, [EVENT_TARGET && EVENT_TARGET.prototype]);\n return true;\n }\n function patchEvent(global, api) {\n api.patchEventPrototype(global, api);\n }\n /**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n Zone.__load_patch('legacy', function (global) {\n var legacyPatch = global[Zone.__symbol__('legacyPatch')];\n if (legacyPatch) {\n legacyPatch();\n }\n });\n Zone.__load_patch('queueMicrotask', function (global, Zone, api) {\n api.patchMethod(global, 'queueMicrotask', function (delegate) {\n return function (self, args) {\n Zone.current.scheduleMicroTask('queueMicrotask', args[0]);\n };\n });\n });\n Zone.__load_patch('timers', function (global) {\n var set = 'set';\n var clear = 'clear';\n patchTimer(global, set, clear, 'Timeout');\n patchTimer(global, set, clear, 'Interval');\n patchTimer(global, set, clear, 'Immediate');\n });\n Zone.__load_patch('requestAnimationFrame', function (global) {\n patchTimer(global, 'request', 'cancel', 'AnimationFrame');\n patchTimer(global, 'mozRequest', 'mozCancel', 'AnimationFrame');\n patchTimer(global, 'webkitRequest', 'webkitCancel', 'AnimationFrame');\n });\n Zone.__load_patch('blocking', function (global, Zone) {\n var blockingMethods = ['alert', 'prompt', 'confirm'];\n for (var i = 0; i < blockingMethods.length; i++) {\n var name_2 = blockingMethods[i];\n patchMethod(global, name_2, function (delegate, symbol, name) {\n return function (s, args) {\n return Zone.current.run(delegate, global, args, name);\n };\n });\n }\n });\n Zone.__load_patch('EventTarget', function (global, Zone, api) {\n patchEvent(global, api);\n eventTargetPatch(global, api);\n // patch XMLHttpRequestEventTarget's addEventListener/removeEventListener\n var XMLHttpRequestEventTarget = global['XMLHttpRequestEventTarget'];\n if (XMLHttpRequestEventTarget && XMLHttpRequestEventTarget.prototype) {\n api.patchEventTarget(global, [XMLHttpRequestEventTarget.prototype]);\n }\n });\n Zone.__load_patch('MutationObserver', function (global, Zone, api) {\n patchClass('MutationObserver');\n patchClass('WebKitMutationObserver');\n });\n Zone.__load_patch('IntersectionObserver', function (global, Zone, api) {\n patchClass('IntersectionObserver');\n });\n Zone.__load_patch('FileReader', function (global, Zone, api) {\n patchClass('FileReader');\n });\n Zone.__load_patch('on_property', function (global, Zone, api) {\n propertyDescriptorPatch(api, global);\n });\n Zone.__load_patch('customElements', function (global, Zone, api) {\n patchCustomElements(global, api);\n });\n Zone.__load_patch('XHR', function (global, Zone) {\n // Treat XMLHttpRequest as a macrotask.\n patchXHR(global);\n var XHR_TASK = zoneSymbol('xhrTask');\n var XHR_SYNC = zoneSymbol('xhrSync');\n var XHR_LISTENER = zoneSymbol('xhrListener');\n var XHR_SCHEDULED = zoneSymbol('xhrScheduled');\n var XHR_URL = zoneSymbol('xhrURL');\n var XHR_ERROR_BEFORE_SCHEDULED = zoneSymbol('xhrErrorBeforeScheduled');\n function patchXHR(window) {\n var XMLHttpRequest = window['XMLHttpRequest'];\n if (!XMLHttpRequest) {\n // XMLHttpRequest is not available in service worker\n return;\n }\n var XMLHttpRequestPrototype = XMLHttpRequest.prototype;\n function findPendingTask(target) {\n return target[XHR_TASK];\n }\n var oriAddListener = XMLHttpRequestPrototype[ZONE_SYMBOL_ADD_EVENT_LISTENER];\n var oriRemoveListener = XMLHttpRequestPrototype[ZONE_SYMBOL_REMOVE_EVENT_LISTENER];\n if (!oriAddListener) {\n var XMLHttpRequestEventTarget_1 = window['XMLHttpRequestEventTarget'];\n if (XMLHttpRequestEventTarget_1) {\n var XMLHttpRequestEventTargetPrototype = XMLHttpRequestEventTarget_1.prototype;\n oriAddListener = XMLHttpRequestEventTargetPrototype[ZONE_SYMBOL_ADD_EVENT_LISTENER];\n oriRemoveListener = XMLHttpRequestEventTargetPrototype[ZONE_SYMBOL_REMOVE_EVENT_LISTENER];\n }\n }\n var READY_STATE_CHANGE = 'readystatechange';\n var SCHEDULED = 'scheduled';\n function scheduleTask(task) {\n var data = task.data;\n var target = data.target;\n target[XHR_SCHEDULED] = false;\n target[XHR_ERROR_BEFORE_SCHEDULED] = false;\n // remove existing event listener\n var listener = target[XHR_LISTENER];\n if (!oriAddListener) {\n oriAddListener = target[ZONE_SYMBOL_ADD_EVENT_LISTENER];\n oriRemoveListener = target[ZONE_SYMBOL_REMOVE_EVENT_LISTENER];\n }\n if (listener) {\n oriRemoveListener.call(target, READY_STATE_CHANGE, listener);\n }\n var newListener = target[XHR_LISTENER] = function () {\n if (target.readyState === target.DONE) {\n // sometimes on some browsers XMLHttpRequest will fire onreadystatechange with\n // readyState=4 multiple times, so we need to check task state here\n if (!data.aborted && target[XHR_SCHEDULED] && task.state === SCHEDULED) {\n // check whether the xhr has registered onload listener\n // if that is the case, the task should invoke after all\n // onload listeners finish.\n // Also if the request failed without response (status = 0), the load event handler\n // will not be triggered, in that case, we should also invoke the placeholder callback\n // to close the XMLHttpRequest::send macroTask.\n // https://github.com/angular/angular/issues/38795\n var loadTasks = target[Zone.__symbol__('loadfalse')];\n if (target.status !== 0 && loadTasks && loadTasks.length > 0) {\n var oriInvoke_1 = task.invoke;\n task.invoke = function () {\n // need to load the tasks again, because in other\n // load listener, they may remove themselves\n var loadTasks = target[Zone.__symbol__('loadfalse')];\n for (var i = 0; i < loadTasks.length; i++) {\n if (loadTasks[i] === task) {\n loadTasks.splice(i, 1);\n }\n }\n if (!data.aborted && task.state === SCHEDULED) {\n oriInvoke_1.call(task);\n }\n };\n loadTasks.push(task);\n }\n else {\n task.invoke();\n }\n }\n else if (!data.aborted && target[XHR_SCHEDULED] === false) {\n // error occurs when xhr.send()\n target[XHR_ERROR_BEFORE_SCHEDULED] = true;\n }\n }\n };\n oriAddListener.call(target, READY_STATE_CHANGE, newListener);\n var storedTask = target[XHR_TASK];\n if (!storedTask) {\n target[XHR_TASK] = task;\n }\n sendNative.apply(target, data.args);\n target[XHR_SCHEDULED] = true;\n return task;\n }\n function placeholderCallback() { }\n function clearTask(task) {\n var data = task.data;\n // Note - ideally, we would call data.target.removeEventListener here, but it's too late\n // to prevent it from firing. So instead, we store info for the event listener.\n data.aborted = true;\n return abortNative.apply(data.target, data.args);\n }\n var openNative = patchMethod(XMLHttpRequestPrototype, 'open', function () { return function (self, args) {\n self[XHR_SYNC] = args[2] == false;\n self[XHR_URL] = args[1];\n return openNative.apply(self, args);\n }; });\n var XMLHTTPREQUEST_SOURCE = 'XMLHttpRequest.send';\n var fetchTaskAborting = zoneSymbol('fetchTaskAborting');\n var fetchTaskScheduling = zoneSymbol('fetchTaskScheduling');\n var sendNative = patchMethod(XMLHttpRequestPrototype, 'send', function () { return function (self, args) {\n if (Zone.current[fetchTaskScheduling] === true) {\n // a fetch is scheduling, so we are using xhr to polyfill fetch\n // and because we already schedule macroTask for fetch, we should\n // not schedule a macroTask for xhr again\n return sendNative.apply(self, args);\n }\n if (self[XHR_SYNC]) {\n // if the XHR is sync there is no task to schedule, just execute the code.\n return sendNative.apply(self, args);\n }\n else {\n var options = { target: self, url: self[XHR_URL], isPeriodic: false, args: args, aborted: false };\n var task = scheduleMacroTaskWithCurrentZone(XMLHTTPREQUEST_SOURCE, placeholderCallback, options, scheduleTask, clearTask);\n if (self && self[XHR_ERROR_BEFORE_SCHEDULED] === true && !options.aborted &&\n task.state === SCHEDULED) {\n // xhr request throw error when send\n // we should invoke task instead of leaving a scheduled\n // pending macroTask\n task.invoke();\n }\n }\n }; });\n var abortNative = patchMethod(XMLHttpRequestPrototype, 'abort', function () { return function (self, args) {\n var task = findPendingTask(self);\n if (task && typeof task.type == 'string') {\n // If the XHR has already completed, do nothing.\n // If the XHR has already been aborted, do nothing.\n // Fix #569, call abort multiple times before done will cause\n // macroTask task count be negative number\n if (task.cancelFn == null || (task.data && task.data.aborted)) {\n return;\n }\n task.zone.cancelTask(task);\n }\n else if (Zone.current[fetchTaskAborting] === true) {\n // the abort is called from fetch polyfill, we need to call native abort of XHR.\n return abortNative.apply(self, args);\n }\n // Otherwise, we are trying to abort an XHR which has not yet been sent, so there is no\n // task\n // to cancel. Do nothing.\n }; });\n }\n });\n Zone.__load_patch('geolocation', function (global) {\n /// GEO_LOCATION\n if (global['navigator'] && global['navigator'].geolocation) {\n patchPrototype(global['navigator'].geolocation, ['getCurrentPosition', 'watchPosition']);\n }\n });\n Zone.__load_patch('PromiseRejectionEvent', function (global, Zone) {\n // handle unhandled promise rejection\n function findPromiseRejectionHandler(evtName) {\n return function (e) {\n var eventTasks = findEventTasks(global, evtName);\n eventTasks.forEach(function (eventTask) {\n // windows has added unhandledrejection event listener\n // trigger the event listener\n var PromiseRejectionEvent = global['PromiseRejectionEvent'];\n if (PromiseRejectionEvent) {\n var evt = new PromiseRejectionEvent(evtName, { promise: e.promise, reason: e.rejection });\n eventTask.invoke(evt);\n }\n });\n };\n }\n if (global['PromiseRejectionEvent']) {\n Zone[zoneSymbol('unhandledPromiseRejectionHandler')] =\n findPromiseRejectionHandler('unhandledrejection');\n Zone[zoneSymbol('rejectionHandledHandler')] =\n findPromiseRejectionHandler('rejectionhandled');\n }\n });\n})));\n","var getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('document', 'documentElement');\n","var global = require('../internals/global');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar has = require('../internals/has');\nvar setGlobal = require('../internals/set-global');\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar getInternalState = InternalStateModule.get;\nvar enforceInternalState = InternalStateModule.enforce;\nvar TEMPLATE = String(String).split('String');\n\n(module.exports = function (O, key, value, options) {\n var unsafe = options ? !!options.unsafe : false;\n var simple = options ? !!options.enumerable : false;\n var noTargetGet = options ? !!options.noTargetGet : false;\n var state;\n if (typeof value == 'function') {\n if (typeof key == 'string' && !has(value, 'name')) {\n createNonEnumerableProperty(value, 'name', key);\n }\n state = enforceInternalState(value);\n if (!state.source) {\n state.source = TEMPLATE.join(typeof key == 'string' ? key : '');\n }\n }\n if (O === global) {\n if (simple) O[key] = value;\n else setGlobal(key, value);\n return;\n } else if (!unsafe) {\n delete O[key];\n } else if (!noTargetGet && O[key]) {\n simple = true;\n }\n if (simple) O[key] = value;\n else createNonEnumerableProperty(O, key, value);\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n})(Function.prototype, 'toString', function toString() {\n return typeof this == 'function' && getInternalState(this).source || inspectSource(this);\n});\n","var anObject = require('../internals/an-object');\nvar defineProperties = require('../internals/object-define-properties');\nvar enumBugKeys = require('../internals/enum-bug-keys');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar html = require('../internals/html');\nvar documentCreateElement = require('../internals/document-create-element');\nvar sharedKey = require('../internals/shared-key');\n\nvar GT = '>';\nvar LT = '<';\nvar PROTOTYPE = 'prototype';\nvar SCRIPT = 'script';\nvar IE_PROTO = sharedKey('IE_PROTO');\n\nvar EmptyConstructor = function () { /* empty */ };\n\nvar scriptTag = function (content) {\n return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;\n};\n\n// Create object with fake `null` prototype: use ActiveX Object with cleared prototype\nvar NullProtoObjectViaActiveX = function (activeXDocument) {\n activeXDocument.write(scriptTag(''));\n activeXDocument.close();\n var temp = activeXDocument.parentWindow.Object;\n activeXDocument = null; // avoid memory leak\n return temp;\n};\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar NullProtoObjectViaIFrame = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = documentCreateElement('iframe');\n var JS = 'java' + SCRIPT + ':';\n var iframeDocument;\n iframe.style.display = 'none';\n html.appendChild(iframe);\n // https://github.com/zloirock/core-js/issues/475\n iframe.src = String(JS);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(scriptTag('document.F=Object'));\n iframeDocument.close();\n return iframeDocument.F;\n};\n\n// Check for document.domain and active x support\n// No need to use active x approach when document.domain is not set\n// see https://github.com/es-shims/es5-shim/issues/150\n// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346\n// avoid IE GC bug\nvar activeXDocument;\nvar NullProtoObject = function () {\n try {\n /* global ActiveXObject */\n activeXDocument = document.domain && new ActiveXObject('htmlfile');\n } catch (error) { /* ignore */ }\n NullProtoObject = activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame();\n var length = enumBugKeys.length;\n while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];\n return NullProtoObject();\n};\n\nhiddenKeys[IE_PROTO] = true;\n\n// `Object.create` method\n// https://tc39.es/ecma262/#sec-object.create\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n EmptyConstructor[PROTOTYPE] = anObject(O);\n result = new EmptyConstructor();\n EmptyConstructor[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = NullProtoObject();\n return Properties === undefined ? result : defineProperties(result, Properties);\n};\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar test = {};\n\ntest[TO_STRING_TAG] = 'z';\n\nmodule.exports = String(test) === '[object z]';\n","var wellKnownSymbol = require('../internals/well-known-symbol');\nvar Iterators = require('../internals/iterators');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar ArrayPrototype = Array.prototype;\n\n// check on default Array iterator\nmodule.exports = function (it) {\n return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar anObject = require('../internals/an-object');\nvar objectKeys = require('../internals/object-keys');\n\n// `Object.defineProperties` method\n// https://tc39.es/ecma262/#sec-object.defineproperties\nmodule.exports = DESCRIPTORS ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var keys = objectKeys(Properties);\n var length = keys.length;\n var index = 0;\n var key;\n while (length > index) definePropertyModule.f(O, key = keys[index++], Properties[key]);\n return O;\n};\n","var anObject = require('../internals/an-object');\n\nmodule.exports = function (iterator) {\n var returnMethod = iterator['return'];\n if (returnMethod !== undefined) {\n return anObject(returnMethod.call(iterator)).value;\n }\n};\n","module.exports = function (it) {\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n","var store = require('../internals/shared-store');\n\nvar functionToString = Function.toString;\n\n// this helper broken in `3.4.1-3.4.4`, so we can't use `shared` helper\nif (typeof store.inspectSource != 'function') {\n store.inspectSource = function (it) {\n return functionToString.call(it);\n };\n}\n\nmodule.exports = store.inspectSource;\n","var anObject = require('../internals/an-object');\nvar aPossiblePrototype = require('../internals/a-possible-prototype');\n\n// `Object.setPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.setprototypeof\n// Works with __proto__ only. Old v8 can't work with null proto objects.\n/* eslint-disable no-proto */\nmodule.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {\n var CORRECT_SETTER = false;\n var test = {};\n var setter;\n try {\n setter = Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set;\n setter.call(test, []);\n CORRECT_SETTER = test instanceof Array;\n } catch (error) { /* empty */ }\n return function setPrototypeOf(O, proto) {\n anObject(O);\n aPossiblePrototype(proto);\n if (CORRECT_SETTER) setter.call(O, proto);\n else O.__proto__ = proto;\n return O;\n };\n}() : undefined);\n","var getBuiltIn = require('../internals/get-built-in');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar anObject = require('../internals/an-object');\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n var keys = getOwnPropertyNamesModule.f(anObject(it));\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;\n};\n","var toInteger = require('../internals/to-integer');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n var integer = toInteger(index);\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPrimitive = require('../internals/to-primitive');\nvar has = require('../internals/has');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\n\nvar nativeGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? nativeGetOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n O = toIndexedObject(O);\n P = toPrimitive(P, true);\n if (IE8_DOM_DEFINE) try {\n return nativeGetOwnPropertyDescriptor(O, P);\n } catch (error) { /* empty */ }\n if (has(O, P)) return createPropertyDescriptor(!propertyIsEnumerableModule.f.call(O, P), O[P]);\n};\n","var redefine = require('../internals/redefine');\n\nmodule.exports = function (target, src, options) {\n for (var key in src) redefine(target, key, src[key], options);\n return target;\n};\n","var $ = require('../internals/export');\nvar ReflectMetadataModule = require('../internals/reflect-metadata');\nvar anObject = require('../internals/an-object');\n\nvar toMetadataKey = ReflectMetadataModule.toKey;\nvar ordinaryDefineOwnMetadata = ReflectMetadataModule.set;\n\n// `Reflect.metadata` method\n// https://github.com/rbuckton/reflect-metadata\n$({ target: 'Reflect', stat: true }, {\n metadata: function metadata(metadataKey, metadataValue) {\n return function decorator(target, key) {\n ordinaryDefineOwnMetadata(metadataKey, metadataValue, anObject(target), toMetadataKey(key));\n };\n }\n});\n","var $ = require('../internals/export');\nvar ReflectMetadataModule = require('../internals/reflect-metadata');\nvar anObject = require('../internals/an-object');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\n\nvar ordinaryHasOwnMetadata = ReflectMetadataModule.has;\nvar ordinaryGetOwnMetadata = ReflectMetadataModule.get;\nvar toMetadataKey = ReflectMetadataModule.toKey;\n\nvar ordinaryGetMetadata = function (MetadataKey, O, P) {\n var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P);\n if (hasOwn) return ordinaryGetOwnMetadata(MetadataKey, O, P);\n var parent = getPrototypeOf(O);\n return parent !== null ? ordinaryGetMetadata(MetadataKey, parent, P) : undefined;\n};\n\n// `Reflect.getMetadata` method\n// https://github.com/rbuckton/reflect-metadata\n$({ target: 'Reflect', stat: true }, {\n getMetadata: function getMetadata(metadataKey, target /* , targetKey */) {\n var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]);\n return ordinaryGetMetadata(metadataKey, anObject(target), targetKey);\n }\n});\n","'use strict';\nvar redefineAll = require('../internals/redefine-all');\nvar getWeakData = require('../internals/internal-metadata').getWeakData;\nvar anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar anInstance = require('../internals/an-instance');\nvar iterate = require('../internals/iterate');\nvar ArrayIterationModule = require('../internals/array-iteration');\nvar $has = require('../internals/has');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar setInternalState = InternalStateModule.set;\nvar internalStateGetterFor = InternalStateModule.getterFor;\nvar find = ArrayIterationModule.find;\nvar findIndex = ArrayIterationModule.findIndex;\nvar id = 0;\n\n// fallback for uncaught frozen keys\nvar uncaughtFrozenStore = function (store) {\n return store.frozen || (store.frozen = new UncaughtFrozenStore());\n};\n\nvar UncaughtFrozenStore = function () {\n this.entries = [];\n};\n\nvar findUncaughtFrozen = function (store, key) {\n return find(store.entries, function (it) {\n return it[0] === key;\n });\n};\n\nUncaughtFrozenStore.prototype = {\n get: function (key) {\n var entry = findUncaughtFrozen(this, key);\n if (entry) return entry[1];\n },\n has: function (key) {\n return !!findUncaughtFrozen(this, key);\n },\n set: function (key, value) {\n var entry = findUncaughtFrozen(this, key);\n if (entry) entry[1] = value;\n else this.entries.push([key, value]);\n },\n 'delete': function (key) {\n var index = findIndex(this.entries, function (it) {\n return it[0] === key;\n });\n if (~index) this.entries.splice(index, 1);\n return !!~index;\n }\n};\n\nmodule.exports = {\n getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {\n var C = wrapper(function (that, iterable) {\n anInstance(that, C, CONSTRUCTOR_NAME);\n setInternalState(that, {\n type: CONSTRUCTOR_NAME,\n id: id++,\n frozen: undefined\n });\n if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });\n });\n\n var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);\n\n var define = function (that, key, value) {\n var state = getInternalState(that);\n var data = getWeakData(anObject(key), true);\n if (data === true) uncaughtFrozenStore(state).set(key, value);\n else data[state.id] = value;\n return that;\n };\n\n redefineAll(C.prototype, {\n // 23.3.3.2 WeakMap.prototype.delete(key)\n // 23.4.3.3 WeakSet.prototype.delete(value)\n 'delete': function (key) {\n var state = getInternalState(this);\n if (!isObject(key)) return false;\n var data = getWeakData(key);\n if (data === true) return uncaughtFrozenStore(state)['delete'](key);\n return data && $has(data, state.id) && delete data[state.id];\n },\n // 23.3.3.4 WeakMap.prototype.has(key)\n // 23.4.3.4 WeakSet.prototype.has(value)\n has: function has(key) {\n var state = getInternalState(this);\n if (!isObject(key)) return false;\n var data = getWeakData(key);\n if (data === true) return uncaughtFrozenStore(state).has(key);\n return data && $has(data, state.id);\n }\n });\n\n redefineAll(C.prototype, IS_MAP ? {\n // 23.3.3.3 WeakMap.prototype.get(key)\n get: function get(key) {\n var state = getInternalState(this);\n if (isObject(key)) {\n var data = getWeakData(key);\n if (data === true) return uncaughtFrozenStore(state).get(key);\n return data ? data[state.id] : undefined;\n }\n },\n // 23.3.3.5 WeakMap.prototype.set(key, value)\n set: function set(key, value) {\n return define(this, key, value);\n }\n } : {\n // 23.4.3.1 WeakSet.prototype.add(value)\n add: function add(value) {\n return define(this, value, true);\n }\n });\n\n return C;\n }\n};\n","var global = require('../internals/global');\n\nmodule.exports = global;\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar SAFE_CLOSING = false;\n\ntry {\n var called = 0;\n var iteratorWithReturn = {\n next: function () {\n return { done: !!called++ };\n },\n 'return': function () {\n SAFE_CLOSING = true;\n }\n };\n iteratorWithReturn[ITERATOR] = function () {\n return this;\n };\n // eslint-disable-next-line no-throw-literal\n Array.from(iteratorWithReturn, function () { throw 2; });\n} catch (error) { /* empty */ }\n\nmodule.exports = function (exec, SKIP_CLOSING) {\n if (!SKIP_CLOSING && !SAFE_CLOSING) return false;\n var ITERATION_SUPPORT = false;\n try {\n var object = {};\n object[ITERATOR] = function () {\n return {\n next: function () {\n return { done: ITERATION_SUPPORT = true };\n }\n };\n };\n exec(object);\n } catch (error) { /* empty */ }\n return ITERATION_SUPPORT;\n};\n","// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = require('../internals/indexed-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nmodule.exports = function (it) {\n return IndexedObject(requireObjectCoercible(it));\n};\n","var path = require('../internals/path');\nvar global = require('../internals/global');\n\nvar aFunction = function (variable) {\n return typeof variable == 'function' ? variable : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global[namespace])\n : path[namespace] && path[namespace][method] || global[namespace] && global[namespace][method];\n};\n","var classof = require('../internals/classof');\nvar Iterators = require('../internals/iterators');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\n\nmodule.exports = function (it) {\n if (it != undefined) return it[ITERATOR]\n || it['@@iterator']\n || Iterators[classof(it)];\n};\n","var isObject = require('../internals/is-object');\n\nmodule.exports = function (it) {\n if (!isObject(it)) {\n throw TypeError(String(it) + ' is not an object');\n } return it;\n};\n","var global = require('../internals/global');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nmodule.exports = function (key, value) {\n try {\n createNonEnumerableProperty(global, key, value);\n } catch (error) {\n global[key] = value;\n } return value;\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar has = require('../internals/has');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar BUGGY_SAFARI_ITERATORS = false;\n\nvar returnThis = function () { return this; };\n\n// `%IteratorPrototype%` object\n// https://tc39.es/ecma262/#sec-%iteratorprototype%-object\nvar IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;\n\nif ([].keys) {\n arrayIterator = [].keys();\n // Safari 8 has buggy iterators w/o `next`\n if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;\n else {\n PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));\n if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;\n }\n}\n\nvar NEW_ITERATOR_PROTOTYPE = IteratorPrototype == undefined || fails(function () {\n var test = {};\n // FF44- legacy iterators case\n return IteratorPrototype[ITERATOR].call(test) !== test;\n});\n\nif (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {};\n\n// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\nif ((!IS_PURE || NEW_ITERATOR_PROTOTYPE) && !has(IteratorPrototype, ITERATOR)) {\n createNonEnumerableProperty(IteratorPrototype, ITERATOR, returnThis);\n}\n\nmodule.exports = {\n IteratorPrototype: IteratorPrototype,\n BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS\n};\n","var $ = require('../internals/export');\nvar ReflectMetadataModule = require('../internals/reflect-metadata');\nvar anObject = require('../internals/an-object');\n\nvar ordinaryOwnMetadataKeys = ReflectMetadataModule.keys;\nvar toMetadataKey = ReflectMetadataModule.toKey;\n\n// `Reflect.getOwnMetadataKeys` method\n// https://github.com/rbuckton/reflect-metadata\n$({ target: 'Reflect', stat: true }, {\n getOwnMetadataKeys: function getOwnMetadataKeys(target /* , targetKey */) {\n var targetKey = arguments.length < 2 ? undefined : toMetadataKey(arguments[1]);\n return ordinaryOwnMetadataKeys(anObject(target), targetKey);\n }\n});\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar definePropertyModule = require('../internals/object-define-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (CONSTRUCTOR_NAME) {\n var Constructor = getBuiltIn(CONSTRUCTOR_NAME);\n var defineProperty = definePropertyModule.f;\n\n if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) {\n defineProperty(Constructor, SPECIES, {\n configurable: true,\n get: function () { return this; }\n });\n }\n};\n","var isObject = require('../internals/is-object');\n\nmodule.exports = function (it) {\n if (!isObject(it) && it !== null) {\n throw TypeError(\"Can't set \" + String(it) + ' as a prototype');\n } return it;\n};\n","var isObject = require('../internals/is-object');\nvar isArray = require('../internals/is-array');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\n\n// `ArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray, length) {\n var C;\n if (isArray(originalArray)) {\n C = originalArray.constructor;\n // cross-realm fallback\n if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;\n else if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return new (C === undefined ? Array : C)(length === 0 ? 0 : length);\n};\n","var isObject = require('../internals/is-object');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\n\n// makes subclassing work correct for wrapped built-ins\nmodule.exports = function ($this, dummy, Wrapper) {\n var NewTarget, NewTargetPrototype;\n if (\n // it can work only with native `setPrototypeOf`\n setPrototypeOf &&\n // we haven't completely correct pre-ES6 way for getting `new.target`, so use this\n typeof (NewTarget = dummy.constructor) == 'function' &&\n NewTarget !== Wrapper &&\n isObject(NewTargetPrototype = NewTarget.prototype) &&\n NewTargetPrototype !== Wrapper.prototype\n ) setPrototypeOf($this, NewTargetPrototype);\n return $this;\n};\n","var global = require('../internals/global');\nvar setGlobal = require('../internals/set-global');\n\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || setGlobal(SHARED, {});\n\nmodule.exports = store;\n","var $ = require('../internals/export');\n// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`\nvar Set = require('../modules/es.set');\nvar ReflectMetadataModule = require('../internals/reflect-metadata');\nvar anObject = require('../internals/an-object');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar iterate = require('../internals/iterate');\n\nvar ordinaryOwnMetadataKeys = ReflectMetadataModule.keys;\nvar toMetadataKey = ReflectMetadataModule.toKey;\n\nvar from = function (iter) {\n var result = [];\n iterate(iter, result.push, { that: result });\n return result;\n};\n\nvar ordinaryMetadataKeys = function (O, P) {\n var oKeys = ordinaryOwnMetadataKeys(O, P);\n var parent = getPrototypeOf(O);\n if (parent === null) return oKeys;\n var pKeys = ordinaryMetadataKeys(parent, P);\n return pKeys.length ? oKeys.length ? from(new Set(oKeys.concat(pKeys))) : pKeys : oKeys;\n};\n\n// `Reflect.getMetadataKeys` method\n// https://github.com/rbuckton/reflect-metadata\n$({ target: 'Reflect', stat: true }, {\n getMetadataKeys: function getMetadataKeys(target /* , targetKey */) {\n var targetKey = arguments.length < 2 ? undefined : toMetadataKey(arguments[1]);\n return ordinaryMetadataKeys(anObject(target), targetKey);\n }\n});\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n","var isObject = require('../internals/is-object');\n\n// `ToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-toprimitive\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (input, PREFERRED_STRING) {\n if (!isObject(input)) return input;\n var fn, val;\n if (PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;\n if (typeof (fn = input.valueOf) == 'function' && !isObject(val = fn.call(input))) return val;\n if (!PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n","var hiddenKeys = require('../internals/hidden-keys');\nvar isObject = require('../internals/is-object');\nvar has = require('../internals/has');\nvar defineProperty = require('../internals/object-define-property').f;\nvar uid = require('../internals/uid');\nvar FREEZING = require('../internals/freezing');\n\nvar METADATA = uid('meta');\nvar id = 0;\n\nvar isExtensible = Object.isExtensible || function () {\n return true;\n};\n\nvar setMetadata = function (it) {\n defineProperty(it, METADATA, { value: {\n objectID: 'O' + ++id, // object ID\n weakData: {} // weak collections IDs\n } });\n};\n\nvar fastKey = function (it, create) {\n // return a primitive with prefix\n if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if (!has(it, METADATA)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return 'F';\n // not necessary to add metadata\n if (!create) return 'E';\n // add missing metadata\n setMetadata(it);\n // return object ID\n } return it[METADATA].objectID;\n};\n\nvar getWeakData = function (it, create) {\n if (!has(it, METADATA)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return true;\n // not necessary to add metadata\n if (!create) return false;\n // add missing metadata\n setMetadata(it);\n // return the store of weak collections IDs\n } return it[METADATA].weakData;\n};\n\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n if (FREEZING && meta.REQUIRED && isExtensible(it) && !has(it, METADATA)) setMetadata(it);\n return it;\n};\n\nvar meta = module.exports = {\n REQUIRED: false,\n fastKey: fastKey,\n getWeakData: getWeakData,\n onFreeze: onFreeze\n};\n\nhiddenKeys[METADATA] = true;\n","var fails = require('../internals/fails');\n\nvar replacement = /#|\\.prototype\\./;\n\nvar isForced = function (feature, detection) {\n var value = data[normalize(feature)];\n return value == POLYFILL ? true\n : value == NATIVE ? false\n : typeof detection == 'function' ? fails(detection)\n : !!detection;\n};\n\nvar normalize = isForced.normalize = function (string) {\n return String(string).replace(replacement, '.').toLowerCase();\n};\n\nvar data = isForced.data = {};\nvar NATIVE = isForced.NATIVE = 'N';\nvar POLYFILL = isForced.POLYFILL = 'P';\n\nmodule.exports = isForced;\n","var has = require('../internals/has');\nvar ownKeys = require('../internals/own-keys');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\n\nmodule.exports = function (target, source) {\n var keys = ownKeys(source);\n var defineProperty = definePropertyModule.f;\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n if (!has(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n};\n","var $ = require('../internals/export');\nvar ReflectMetadataModule = require('../internals/reflect-metadata');\nvar anObject = require('../internals/an-object');\n\nvar toMetadataKey = ReflectMetadataModule.toKey;\nvar getOrCreateMetadataMap = ReflectMetadataModule.getMap;\nvar store = ReflectMetadataModule.store;\n\n// `Reflect.deleteMetadata` method\n// https://github.com/rbuckton/reflect-metadata\n$({ target: 'Reflect', stat: true }, {\n deleteMetadata: function deleteMetadata(metadataKey, target /* , targetKey */) {\n var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]);\n var metadataMap = getOrCreateMetadataMap(anObject(target), targetKey, false);\n if (metadataMap === undefined || !metadataMap['delete'](metadataKey)) return false;\n if (metadataMap.size) return true;\n var targetMetadata = store.get(target);\n targetMetadata['delete'](targetKey);\n return !!targetMetadata.size || store['delete'](target);\n }\n});\n","module.exports = function (it) {\n if (typeof it != 'function') {\n throw TypeError(String(it) + ' is not a function');\n } return it;\n};\n","var hasOwnProperty = {}.hasOwnProperty;\n\nmodule.exports = function (it, key) {\n return hasOwnProperty.call(it, key);\n};\n","var toIndexedObject = require('../internals/to-indexed-object');\nvar toLength = require('../internals/to-length');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIndexedObject($this);\n var length = toLength(O.length);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) {\n if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.includes` method\n // https://tc39.es/ecma262/#sec-array.prototype.includes\n includes: createMethod(true),\n // `Array.prototype.indexOf` method\n // https://tc39.es/ecma262/#sec-array.prototype.indexof\n indexOf: createMethod(false)\n};\n","var anObject = require('../internals/an-object');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar toLength = require('../internals/to-length');\nvar bind = require('../internals/function-bind-context');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar iteratorClose = require('../internals/iterator-close');\n\nvar Result = function (stopped, result) {\n this.stopped = stopped;\n this.result = result;\n};\n\nmodule.exports = function (iterable, unboundFunction, options) {\n var that = options && options.that;\n var AS_ENTRIES = !!(options && options.AS_ENTRIES);\n var IS_ITERATOR = !!(options && options.IS_ITERATOR);\n var INTERRUPTED = !!(options && options.INTERRUPTED);\n var fn = bind(unboundFunction, that, 1 + AS_ENTRIES + INTERRUPTED);\n var iterator, iterFn, index, length, result, next, step;\n\n var stop = function (condition) {\n if (iterator) iteratorClose(iterator);\n return new Result(true, condition);\n };\n\n var callFn = function (value) {\n if (AS_ENTRIES) {\n anObject(value);\n return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);\n } return INTERRUPTED ? fn(value, stop) : fn(value);\n };\n\n if (IS_ITERATOR) {\n iterator = iterable;\n } else {\n iterFn = getIteratorMethod(iterable);\n if (typeof iterFn != 'function') throw TypeError('Target is not iterable');\n // optimisation for array iterators\n if (isArrayIteratorMethod(iterFn)) {\n for (index = 0, length = toLength(iterable.length); length > index; index++) {\n result = callFn(iterable[index]);\n if (result && result instanceof Result) return result;\n } return new Result(false);\n }\n iterator = iterFn.call(iterable);\n }\n\n next = iterator.next;\n while (!(step = next.call(iterator)).done) {\n try {\n result = callFn(step.value);\n } catch (error) {\n iteratorClose(iterator);\n throw error;\n }\n if (typeof result == 'object' && result && result instanceof Result) return result;\n } return new Result(false);\n};\n","var id = 0;\nvar postfix = Math.random();\n\nmodule.exports = function (key) {\n return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36);\n};\n","module.exports = function (it, Constructor, name) {\n if (!(it instanceof Constructor)) {\n throw TypeError('Incorrect ' + (name ? name + ' ' : '') + 'invocation');\n } return it;\n};\n","var $ = require('../internals/export');\nvar ReflectMetadataModule = require('../internals/reflect-metadata');\nvar anObject = require('../internals/an-object');\n\nvar ordinaryHasOwnMetadata = ReflectMetadataModule.has;\nvar toMetadataKey = ReflectMetadataModule.toKey;\n\n// `Reflect.hasOwnMetadata` method\n// https://github.com/rbuckton/reflect-metadata\n$({ target: 'Reflect', stat: true }, {\n hasOwnMetadata: function hasOwnMetadata(metadataKey, target /* , targetKey */) {\n var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]);\n return ordinaryHasOwnMetadata(metadataKey, anObject(target), targetKey);\n }\n});\n","var fails = require('../internals/fails');\n\n// Detect IE8's incomplete defineProperty implementation\nmodule.exports = !fails(function () {\n return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;\n});\n","var fails = require('../internals/fails');\n\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n // Chrome 38 Symbol has incorrect toString conversion\n // eslint-disable-next-line no-undef\n return !String(Symbol());\n});\n","var $ = require('../internals/export');\nvar ReflectMetadataModule = require('../internals/reflect-metadata');\nvar anObject = require('../internals/an-object');\n\nvar ordinaryGetOwnMetadata = ReflectMetadataModule.get;\nvar toMetadataKey = ReflectMetadataModule.toKey;\n\n// `Reflect.getOwnMetadata` method\n// https://github.com/rbuckton/reflect-metadata\n$({ target: 'Reflect', stat: true }, {\n getOwnMetadata: function getOwnMetadata(metadataKey, target /* , targetKey */) {\n var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]);\n return ordinaryGetOwnMetadata(metadataKey, anObject(target), targetKey);\n }\n});\n","var requireObjectCoercible = require('../internals/require-object-coercible');\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n return Object(requireObjectCoercible(argument));\n};\n","'use strict';\nvar collection = require('../internals/collection');\nvar collectionStrong = require('../internals/collection-strong');\n\n// `Set` constructor\n// https://tc39.es/ecma262/#sec-set-objects\nmodule.exports = collection('Set', function (init) {\n return function Set() { return init(this, arguments.length ? arguments[0] : undefined); };\n}, collectionStrong);\n","'use strict';\nvar $ = require('../internals/export');\nvar createIteratorConstructor = require('../internals/create-iterator-constructor');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar redefine = require('../internals/redefine');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\nvar Iterators = require('../internals/iterators');\nvar IteratorsCore = require('../internals/iterators-core');\n\nvar IteratorPrototype = IteratorsCore.IteratorPrototype;\nvar BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;\nvar ITERATOR = wellKnownSymbol('iterator');\nvar KEYS = 'keys';\nvar VALUES = 'values';\nvar ENTRIES = 'entries';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {\n createIteratorConstructor(IteratorConstructor, NAME, next);\n\n var getIterationMethod = function (KIND) {\n if (KIND === DEFAULT && defaultIterator) return defaultIterator;\n if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND];\n switch (KIND) {\n case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };\n case VALUES: return function values() { return new IteratorConstructor(this, KIND); };\n case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };\n } return function () { return new IteratorConstructor(this); };\n };\n\n var TO_STRING_TAG = NAME + ' Iterator';\n var INCORRECT_VALUES_NAME = false;\n var IterablePrototype = Iterable.prototype;\n var nativeIterator = IterablePrototype[ITERATOR]\n || IterablePrototype['@@iterator']\n || DEFAULT && IterablePrototype[DEFAULT];\n var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);\n var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;\n var CurrentIteratorPrototype, methods, KEY;\n\n // fix native\n if (anyNativeIterator) {\n CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));\n if (IteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {\n if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {\n if (setPrototypeOf) {\n setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);\n } else if (typeof CurrentIteratorPrototype[ITERATOR] != 'function') {\n createNonEnumerableProperty(CurrentIteratorPrototype, ITERATOR, returnThis);\n }\n }\n // Set @@toStringTag to native iterators\n setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true);\n if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis;\n }\n }\n\n // fix Array#{values, @@iterator}.name in V8 / FF\n if (DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {\n INCORRECT_VALUES_NAME = true;\n defaultIterator = function values() { return nativeIterator.call(this); };\n }\n\n // define iterator\n if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) {\n createNonEnumerableProperty(IterablePrototype, ITERATOR, defaultIterator);\n }\n Iterators[NAME] = defaultIterator;\n\n // export additional methods\n if (DEFAULT) {\n methods = {\n values: getIterationMethod(VALUES),\n keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),\n entries: getIterationMethod(ENTRIES)\n };\n if (FORCED) for (KEY in methods) {\n if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {\n redefine(IterablePrototype, KEY, methods[KEY]);\n }\n } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);\n }\n\n return methods;\n};\n","var NATIVE_WEAK_MAP = require('../internals/native-weak-map');\nvar global = require('../internals/global');\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar objectHas = require('../internals/has');\nvar shared = require('../internals/shared-store');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar WeakMap = global.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n return function (it) {\n var state;\n if (!isObject(it) || (state = get(it)).type !== TYPE) {\n throw TypeError('Incompatible receiver, ' + TYPE + ' required');\n } return state;\n };\n};\n\nif (NATIVE_WEAK_MAP) {\n var store = shared.state || (shared.state = new WeakMap());\n var wmget = store.get;\n var wmhas = store.has;\n var wmset = store.set;\n set = function (it, metadata) {\n metadata.facade = it;\n wmset.call(store, it, metadata);\n return metadata;\n };\n get = function (it) {\n return wmget.call(store, it) || {};\n };\n has = function (it) {\n return wmhas.call(store, it);\n };\n} else {\n var STATE = sharedKey('state');\n hiddenKeys[STATE] = true;\n set = function (it, metadata) {\n metadata.facade = it;\n createNonEnumerableProperty(it, STATE, metadata);\n return metadata;\n };\n get = function (it) {\n return objectHas(it, STATE) ? it[STATE] : {};\n };\n has = function (it) {\n return objectHas(it, STATE);\n };\n}\n\nmodule.exports = {\n set: set,\n get: get,\n has: has,\n enforce: enforce,\n getterFor: getterFor\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar createElement = require('../internals/document-create-element');\n\n// Thank's IE8 for his funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n return Object.defineProperty(createElement('div'), 'a', {\n get: function () { return 7; }\n }).a != 7;\n});\n","'use strict';\nvar IteratorPrototype = require('../internals/iterators-core').IteratorPrototype;\nvar create = require('../internals/object-create');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar Iterators = require('../internals/iterators');\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (IteratorConstructor, NAME, next) {\n var TO_STRING_TAG = NAME + ' Iterator';\n IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(1, next) });\n setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true);\n Iterators[TO_STRING_TAG] = returnThis;\n return IteratorConstructor;\n};\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\nmodule.exports = Object.keys || function keys(O) {\n return internalObjectKeys(O, enumBugKeys);\n};\n","// IE8- don't enum bug keys\nmodule.exports = [\n 'constructor',\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'toLocaleString',\n 'toString',\n 'valueOf'\n];\n","var DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\n return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","exports.f = Object.getOwnPropertySymbols;\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n return Object.isExtensible(Object.preventExtensions({}));\n});\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n function F() { /* empty */ }\n F.prototype.constructor = null;\n return Object.getPrototypeOf(new F()) !== F.prototype;\n});\n","var classof = require('../internals/classof-raw');\n\n// `IsArray` abstract operation\n// https://tc39.es/ecma262/#sec-isarray\nmodule.exports = Array.isArray || function isArray(arg) {\n return classof(arg) == 'Array';\n};\n","var toString = {}.toString;\n\nmodule.exports = function (it) {\n return toString.call(it).slice(8, -1);\n};\n","var $ = require('../internals/export');\nvar ReflectMetadataModule = require('../internals/reflect-metadata');\nvar anObject = require('../internals/an-object');\n\nvar toMetadataKey = ReflectMetadataModule.toKey;\nvar ordinaryDefineOwnMetadata = ReflectMetadataModule.set;\n\n// `Reflect.defineMetadata` method\n// https://github.com/rbuckton/reflect-metadata\n$({ target: 'Reflect', stat: true }, {\n defineMetadata: function defineMetadata(metadataKey, metadataValue, target /* , targetKey */) {\n var targetKey = arguments.length < 4 ? undefined : toMetadataKey(arguments[3]);\n ordinaryDefineOwnMetadata(metadataKey, metadataValue, anObject(target), targetKey);\n }\n});\n","module.exports = false;\n","'use strict';\nvar nativePropertyIsEnumerable = {}.propertyIsEnumerable;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !nativePropertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n var descriptor = getOwnPropertyDescriptor(this, V);\n return !!descriptor && descriptor.enumerable;\n} : nativePropertyIsEnumerable;\n","/**\n * This file includes polyfills needed by Angular and is loaded before the app.\n * You can add your own extra polyfills to this file.\n *\n * This file is divided into 2 sections:\n * 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers.\n * 2. Application imports. Files imported after ZoneJS that should be loaded before your main\n * file.\n *\n * The current setup is for so-called \"evergreen\" browsers; the last versions of browsers that\n * automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera),\n * Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile.\n *\n * Learn more in https://angular.io/docs/ts/latest/guide/browser-support.html\n */\n\n/***************************************************************************************************\n * BROWSER POLYFILLS\n */\n\n/** IE9, IE10 and IE11 requires all of the following polyfills. **/\n// import 'core-js/es6/symbol';\n// import 'core-js/es6/object';\n// import 'core-js/es6/function';\n// import 'core-js/es6/parse-int';\n// import 'core-js/es6/parse-float';\n// import 'core-js/es6/number';\n// import 'core-js/es6/math';\n// import 'core-js/es6/string';\n// import 'core-js/es6/date';\n// import 'core-js/es6/array';\n// import 'core-js/es6/regexp';\n// import 'core-js/es6/map';\n// import 'core-js/es6/weak-map';\n// import 'core-js/es6/set';\n\n/** IE10 and IE11 requires the following for NgClass support on SVG elements */\n// import 'classlist.js'; // Run `npm install --save classlist.js`.\n\n/** IE10 and IE11 requires the following for the Reflect API. */\n// import 'core-js/es6/reflect';\n\n\n/** Evergreen browsers require these. **/\n// Used for reflect-metadata in JIT. If you use AOT (and only Angular decorators), you can remove.\n// import 'core-js/es7/reflect';\n\n\n/**\n * Web Animations `@angular/platform-browser/animations`\n * Only required if AnimationBuilder is used within the application and using IE/Edge or Safari.\n * Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0).\n **/\n// import 'web-animations-js'; // Run `npm install --save web-animations-js`.\n\n/**\n * By default, zone.js will patch all possible macroTask and DomEvents\n * user can disable parts of macroTask/DomEvents patch by setting following flags\n */\n\n// (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame\n// (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick\n// (window as any).__zone_symbol__BLACK_LISTED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames\n\n/*\n* in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js\n* with the following flag, it will bypass `zone.js` patch for IE/Edge\n*/\n// (window as any).__Zone_enable_cross_context_check = true;\n\n/***************************************************************************************************\n * Zone JS is required by default for Angular itself.\n */\nimport 'zone.js/dist/zone'; // Included with Angular CLI.\n\n\n\n/***************************************************************************************************\n * APPLICATION IMPORTS\n */\n","'use strict';\nvar global = require('../internals/global');\nvar redefineAll = require('../internals/redefine-all');\nvar InternalMetadataModule = require('../internals/internal-metadata');\nvar collection = require('../internals/collection');\nvar collectionWeak = require('../internals/collection-weak');\nvar isObject = require('../internals/is-object');\nvar enforceIternalState = require('../internals/internal-state').enforce;\nvar NATIVE_WEAK_MAP = require('../internals/native-weak-map');\n\nvar IS_IE11 = !global.ActiveXObject && 'ActiveXObject' in global;\nvar isExtensible = Object.isExtensible;\nvar InternalWeakMap;\n\nvar wrapper = function (init) {\n return function WeakMap() {\n return init(this, arguments.length ? arguments[0] : undefined);\n };\n};\n\n// `WeakMap` constructor\n// https://tc39.es/ecma262/#sec-weakmap-constructor\nvar $WeakMap = module.exports = collection('WeakMap', wrapper, collectionWeak);\n\n// IE11 WeakMap frozen keys fix\n// We can't use feature detection because it crash some old IE builds\n// https://github.com/zloirock/core-js/issues/485\nif (NATIVE_WEAK_MAP && IS_IE11) {\n InternalWeakMap = collectionWeak.getConstructor(wrapper, 'WeakMap', true);\n InternalMetadataModule.REQUIRED = true;\n var WeakMapPrototype = $WeakMap.prototype;\n var nativeDelete = WeakMapPrototype['delete'];\n var nativeHas = WeakMapPrototype.has;\n var nativeGet = WeakMapPrototype.get;\n var nativeSet = WeakMapPrototype.set;\n redefineAll(WeakMapPrototype, {\n 'delete': function (key) {\n if (isObject(key) && !isExtensible(key)) {\n var state = enforceIternalState(this);\n if (!state.frozen) state.frozen = new InternalWeakMap();\n return nativeDelete.call(this, key) || state.frozen['delete'](key);\n } return nativeDelete.call(this, key);\n },\n has: function has(key) {\n if (isObject(key) && !isExtensible(key)) {\n var state = enforceIternalState(this);\n if (!state.frozen) state.frozen = new InternalWeakMap();\n return nativeHas.call(this, key) || state.frozen.has(key);\n } return nativeHas.call(this, key);\n },\n get: function get(key) {\n if (isObject(key) && !isExtensible(key)) {\n var state = enforceIternalState(this);\n if (!state.frozen) state.frozen = new InternalWeakMap();\n return nativeHas.call(this, key) ? nativeGet.call(this, key) : state.frozen.get(key);\n } return nativeGet.call(this, key);\n },\n set: function set(key, value) {\n if (isObject(key) && !isExtensible(key)) {\n var state = enforceIternalState(this);\n if (!state.frozen) state.frozen = new InternalWeakMap();\n nativeHas.call(this, key) ? nativeSet.call(this, key, value) : state.frozen.set(key, value);\n } else nativeSet.call(this, key, value);\n return this;\n }\n });\n}\n","// `RequireObjectCoercible` abstract operation\n// https://tc39.es/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n","var NATIVE_SYMBOL = require('../internals/native-symbol');\n\nmodule.exports = NATIVE_SYMBOL\n // eslint-disable-next-line no-undef\n && !Symbol.sham\n // eslint-disable-next-line no-undef\n && typeof Symbol.iterator == 'symbol';\n","var bind = require('../internals/function-bind-context');\nvar IndexedObject = require('../internals/indexed-object');\nvar toObject = require('../internals/to-object');\nvar toLength = require('../internals/to-length');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\nvar push = [].push;\n\n// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterOut }` methods implementation\nvar createMethod = function (TYPE) {\n var IS_MAP = TYPE == 1;\n var IS_FILTER = TYPE == 2;\n var IS_SOME = TYPE == 3;\n var IS_EVERY = TYPE == 4;\n var IS_FIND_INDEX = TYPE == 6;\n var IS_FILTER_OUT = TYPE == 7;\n var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;\n return function ($this, callbackfn, that, specificCreate) {\n var O = toObject($this);\n var self = IndexedObject(O);\n var boundFunction = bind(callbackfn, that, 3);\n var length = toLength(self.length);\n var index = 0;\n var create = specificCreate || arraySpeciesCreate;\n var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_OUT ? create($this, 0) : undefined;\n var value, result;\n for (;length > index; index++) if (NO_HOLES || index in self) {\n value = self[index];\n result = boundFunction(value, index, O);\n if (TYPE) {\n if (IS_MAP) target[index] = result; // map\n else if (result) switch (TYPE) {\n case 3: return true; // some\n case 5: return value; // find\n case 6: return index; // findIndex\n case 2: push.call(target, value); // filter\n } else switch (TYPE) {\n case 4: return false; // every\n case 7: push.call(target, value); // filterOut\n }\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.forEach` method\n // https://tc39.es/ecma262/#sec-array.prototype.foreach\n forEach: createMethod(0),\n // `Array.prototype.map` method\n // https://tc39.es/ecma262/#sec-array.prototype.map\n map: createMethod(1),\n // `Array.prototype.filter` method\n // https://tc39.es/ecma262/#sec-array.prototype.filter\n filter: createMethod(2),\n // `Array.prototype.some` method\n // https://tc39.es/ecma262/#sec-array.prototype.some\n some: createMethod(3),\n // `Array.prototype.every` method\n // https://tc39.es/ecma262/#sec-array.prototype.every\n every: createMethod(4),\n // `Array.prototype.find` method\n // https://tc39.es/ecma262/#sec-array.prototype.find\n find: createMethod(5),\n // `Array.prototype.findIndex` method\n // https://tc39.es/ecma262/#sec-array.prototype.findIndex\n findIndex: createMethod(6),\n // `Array.prototype.filterOut` method\n // https://github.com/tc39/proposal-array-filtering\n filterOut: createMethod(7)\n};\n","var global = require('../internals/global');\nvar shared = require('../internals/shared');\nvar has = require('../internals/has');\nvar uid = require('../internals/uid');\nvar NATIVE_SYMBOL = require('../internals/native-symbol');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar WellKnownSymbolsStore = shared('wks');\nvar Symbol = global.Symbol;\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!has(WellKnownSymbolsStore, name)) {\n if (NATIVE_SYMBOL && has(Symbol, name)) WellKnownSymbolsStore[name] = Symbol[name];\n else WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name);\n } return WellKnownSymbolsStore[name];\n};\n","var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar classofRaw = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n// ES3 wrong here\nvar CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (error) { /* empty */ }\n};\n\n// getting tag from ES6+ `Object.prototype.toString`\nmodule.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {\n var O, tag, result;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (tag = tryGet(O = Object(it), TO_STRING_TAG)) == 'string' ? tag\n // builtinTag case\n : CORRECT_ARGUMENTS ? classofRaw(O)\n // ES3 arguments fallback\n : (result = classofRaw(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : result;\n};\n","'use strict';\nvar defineProperty = require('../internals/object-define-property').f;\nvar create = require('../internals/object-create');\nvar redefineAll = require('../internals/redefine-all');\nvar bind = require('../internals/function-bind-context');\nvar anInstance = require('../internals/an-instance');\nvar iterate = require('../internals/iterate');\nvar defineIterator = require('../internals/define-iterator');\nvar setSpecies = require('../internals/set-species');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fastKey = require('../internals/internal-metadata').fastKey;\nvar InternalStateModule = require('../internals/internal-state');\n\nvar setInternalState = InternalStateModule.set;\nvar internalStateGetterFor = InternalStateModule.getterFor;\n\nmodule.exports = {\n getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {\n var C = wrapper(function (that, iterable) {\n anInstance(that, C, CONSTRUCTOR_NAME);\n setInternalState(that, {\n type: CONSTRUCTOR_NAME,\n index: create(null),\n first: undefined,\n last: undefined,\n size: 0\n });\n if (!DESCRIPTORS) that.size = 0;\n if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });\n });\n\n var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);\n\n var define = function (that, key, value) {\n var state = getInternalState(that);\n var entry = getEntry(that, key);\n var previous, index;\n // change existing entry\n if (entry) {\n entry.value = value;\n // create new entry\n } else {\n state.last = entry = {\n index: index = fastKey(key, true),\n key: key,\n value: value,\n previous: previous = state.last,\n next: undefined,\n removed: false\n };\n if (!state.first) state.first = entry;\n if (previous) previous.next = entry;\n if (DESCRIPTORS) state.size++;\n else that.size++;\n // add to index\n if (index !== 'F') state.index[index] = entry;\n } return that;\n };\n\n var getEntry = function (that, key) {\n var state = getInternalState(that);\n // fast case\n var index = fastKey(key);\n var entry;\n if (index !== 'F') return state.index[index];\n // frozen object case\n for (entry = state.first; entry; entry = entry.next) {\n if (entry.key == key) return entry;\n }\n };\n\n redefineAll(C.prototype, {\n // 23.1.3.1 Map.prototype.clear()\n // 23.2.3.2 Set.prototype.clear()\n clear: function clear() {\n var that = this;\n var state = getInternalState(that);\n var data = state.index;\n var entry = state.first;\n while (entry) {\n entry.removed = true;\n if (entry.previous) entry.previous = entry.previous.next = undefined;\n delete data[entry.index];\n entry = entry.next;\n }\n state.first = state.last = undefined;\n if (DESCRIPTORS) state.size = 0;\n else that.size = 0;\n },\n // 23.1.3.3 Map.prototype.delete(key)\n // 23.2.3.4 Set.prototype.delete(value)\n 'delete': function (key) {\n var that = this;\n var state = getInternalState(that);\n var entry = getEntry(that, key);\n if (entry) {\n var next = entry.next;\n var prev = entry.previous;\n delete state.index[entry.index];\n entry.removed = true;\n if (prev) prev.next = next;\n if (next) next.previous = prev;\n if (state.first == entry) state.first = next;\n if (state.last == entry) state.last = prev;\n if (DESCRIPTORS) state.size--;\n else that.size--;\n } return !!entry;\n },\n // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined)\n // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined)\n forEach: function forEach(callbackfn /* , that = undefined */) {\n var state = getInternalState(this);\n var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);\n var entry;\n while (entry = entry ? entry.next : state.first) {\n boundFunction(entry.value, entry.key, this);\n // revert to the last existing entry\n while (entry && entry.removed) entry = entry.previous;\n }\n },\n // 23.1.3.7 Map.prototype.has(key)\n // 23.2.3.7 Set.prototype.has(value)\n has: function has(key) {\n return !!getEntry(this, key);\n }\n });\n\n redefineAll(C.prototype, IS_MAP ? {\n // 23.1.3.6 Map.prototype.get(key)\n get: function get(key) {\n var entry = getEntry(this, key);\n return entry && entry.value;\n },\n // 23.1.3.9 Map.prototype.set(key, value)\n set: function set(key, value) {\n return define(this, key === 0 ? 0 : key, value);\n }\n } : {\n // 23.2.3.1 Set.prototype.add(value)\n add: function add(value) {\n return define(this, value = value === 0 ? 0 : value, value);\n }\n });\n if (DESCRIPTORS) defineProperty(C.prototype, 'size', {\n get: function () {\n return getInternalState(this).size;\n }\n });\n return C;\n },\n setStrong: function (C, CONSTRUCTOR_NAME, IS_MAP) {\n var ITERATOR_NAME = CONSTRUCTOR_NAME + ' Iterator';\n var getInternalCollectionState = internalStateGetterFor(CONSTRUCTOR_NAME);\n var getInternalIteratorState = internalStateGetterFor(ITERATOR_NAME);\n // add .keys, .values, .entries, [@@iterator]\n // 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11\n defineIterator(C, CONSTRUCTOR_NAME, function (iterated, kind) {\n setInternalState(this, {\n type: ITERATOR_NAME,\n target: iterated,\n state: getInternalCollectionState(iterated),\n kind: kind,\n last: undefined\n });\n }, function () {\n var state = getInternalIteratorState(this);\n var kind = state.kind;\n var entry = state.last;\n // revert to the last existing entry\n while (entry && entry.removed) entry = entry.previous;\n // get next entry\n if (!state.target || !(state.last = entry = entry ? entry.next : state.state.first)) {\n // or finish the iteration\n state.target = undefined;\n return { value: undefined, done: true };\n }\n // return step by kind\n if (kind == 'keys') return { value: entry.key, done: false };\n if (kind == 'values') return { value: entry.value, done: false };\n return { value: [entry.key, entry.value], done: false };\n }, IS_MAP ? 'entries' : 'values', !IS_MAP, true);\n\n // add [@@species], 23.1.2.2, 23.2.2.2\n setSpecies(CONSTRUCTOR_NAME);\n }\n};\n","require('../modules/esnext.reflect.define-metadata');\nrequire('../modules/esnext.reflect.delete-metadata');\nrequire('../modules/esnext.reflect.get-metadata');\nrequire('../modules/esnext.reflect.get-metadata-keys');\nrequire('../modules/esnext.reflect.get-own-metadata');\nrequire('../modules/esnext.reflect.get-own-metadata-keys');\nrequire('../modules/esnext.reflect.has-metadata');\nrequire('../modules/esnext.reflect.has-own-metadata');\nrequire('../modules/esnext.reflect.metadata');\n","var check = function (it) {\n return it && it.Math == Math && it;\n};\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nmodule.exports =\n // eslint-disable-next-line no-undef\n check(typeof globalThis == 'object' && globalThis) ||\n check(typeof window == 'object' && window) ||\n check(typeof self == 'object' && self) ||\n check(typeof global == 'object' && global) ||\n // eslint-disable-next-line no-new-func\n (function () { return this; })() || Function('return this')();\n","module.exports = {};\n","var global = require('../internals/global');\nvar isObject = require('../internals/is-object');\n\nvar document = global.document;\n// typeof document.createElement is 'object' in old IE\nvar EXISTS = isObject(document) && isObject(document.createElement);\n\nmodule.exports = function (it) {\n return EXISTS ? document.createElement(it) : {};\n};\n","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (error) {\n return true;\n }\n};\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nimport 'core-js/proposals/reflect-metadata';\n","var defineProperty = require('../internals/object-define-property').f;\nvar has = require('../internals/has');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n\nmodule.exports = function (it, TAG, STATIC) {\n if (it && !has(it = STATIC ? it : it.prototype, TO_STRING_TAG)) {\n defineProperty(it, TO_STRING_TAG, { configurable: true, value: TAG });\n }\n};\n","var fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar split = ''.split;\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n // eslint-disable-next-line no-prototype-builtins\n return !Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n return classof(it) == 'String' ? split.call(it, '') : Object(it);\n} : Object;\n","var aFunction = require('../internals/a-function');\n\n// optional / simple context binding\nmodule.exports = function (fn, that, length) {\n aFunction(fn);\n if (that === undefined) return fn;\n switch (length) {\n case 0: return function () {\n return fn.call(that);\n };\n case 1: return function (a) {\n return fn.call(that, a);\n };\n case 2: return function (a, b) {\n return fn.call(that, a, b);\n };\n case 3: return function (a, b, c) {\n return fn.call(that, a, b, c);\n };\n }\n return function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","var ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `ToInteger` abstract operation\n// https://tc39.es/ecma262/#sec-tointeger\nmodule.exports = function (argument) {\n return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument);\n};\n","'use strict';\nvar collection = require('../internals/collection');\nvar collectionStrong = require('../internals/collection-strong');\n\n// `Map` constructor\n// https://tc39.es/ecma262/#sec-map-objects\nmodule.exports = collection('Map', function (init) {\n return function Map() { return init(this, arguments.length ? arguments[0] : undefined); };\n}, collectionStrong);\n","var has = require('../internals/has');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar indexOf = require('../internals/array-includes').indexOf;\nvar hiddenKeys = require('../internals/hidden-keys');\n\nmodule.exports = function (object, names) {\n var O = toIndexedObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) !has(hiddenKeys, key) && has(O, key) && result.push(key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (has(O, key = names[i++])) {\n ~indexOf(result, key) || result.push(key);\n }\n return result;\n};\n","var global = require('../internals/global');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar redefine = require('../internals/redefine');\nvar setGlobal = require('../internals/set-global');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar isForced = require('../internals/is-forced');\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.noTargetGet - prevent calling a getter on target\n*/\nmodule.exports = function (options, source) {\n var TARGET = options.target;\n var GLOBAL = options.global;\n var STATIC = options.stat;\n var FORCED, target, key, targetProperty, sourceProperty, descriptor;\n if (GLOBAL) {\n target = global;\n } else if (STATIC) {\n target = global[TARGET] || setGlobal(TARGET, {});\n } else {\n target = (global[TARGET] || {}).prototype;\n }\n if (target) for (key in source) {\n sourceProperty = source[key];\n if (options.noTargetGet) {\n descriptor = getOwnPropertyDescriptor(target, key);\n targetProperty = descriptor && descriptor.value;\n } else targetProperty = target[key];\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contained in target\n if (!FORCED && targetProperty !== undefined) {\n if (typeof sourceProperty === typeof targetProperty) continue;\n copyConstructorProperties(sourceProperty, targetProperty);\n }\n // add a flag to not completely full polyfills\n if (options.sham || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(sourceProperty, 'sham', true);\n }\n // extend global\n redefine(target, key, sourceProperty, options);\n }\n};\n","var has = require('../internals/has');\nvar toObject = require('../internals/to-object');\nvar sharedKey = require('../internals/shared-key');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar IE_PROTO = sharedKey('IE_PROTO');\nvar ObjectPrototype = Object.prototype;\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\nmodule.exports = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function (O) {\n O = toObject(O);\n if (has(O, IE_PROTO)) return O[IE_PROTO];\n if (typeof O.constructor == 'function' && O instanceof O.constructor) {\n return O.constructor.prototype;\n } return O instanceof Object ? ObjectPrototype : null;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar isForced = require('../internals/is-forced');\nvar redefine = require('../internals/redefine');\nvar InternalMetadataModule = require('../internals/internal-metadata');\nvar iterate = require('../internals/iterate');\nvar anInstance = require('../internals/an-instance');\nvar isObject = require('../internals/is-object');\nvar fails = require('../internals/fails');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar inheritIfRequired = require('../internals/inherit-if-required');\n\nmodule.exports = function (CONSTRUCTOR_NAME, wrapper, common) {\n var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1;\n var IS_WEAK = CONSTRUCTOR_NAME.indexOf('Weak') !== -1;\n var ADDER = IS_MAP ? 'set' : 'add';\n var NativeConstructor = global[CONSTRUCTOR_NAME];\n var NativePrototype = NativeConstructor && NativeConstructor.prototype;\n var Constructor = NativeConstructor;\n var exported = {};\n\n var fixMethod = function (KEY) {\n var nativeMethod = NativePrototype[KEY];\n redefine(NativePrototype, KEY,\n KEY == 'add' ? function add(value) {\n nativeMethod.call(this, value === 0 ? 0 : value);\n return this;\n } : KEY == 'delete' ? function (key) {\n return IS_WEAK && !isObject(key) ? false : nativeMethod.call(this, key === 0 ? 0 : key);\n } : KEY == 'get' ? function get(key) {\n return IS_WEAK && !isObject(key) ? undefined : nativeMethod.call(this, key === 0 ? 0 : key);\n } : KEY == 'has' ? function has(key) {\n return IS_WEAK && !isObject(key) ? false : nativeMethod.call(this, key === 0 ? 0 : key);\n } : function set(key, value) {\n nativeMethod.call(this, key === 0 ? 0 : key, value);\n return this;\n }\n );\n };\n\n // eslint-disable-next-line max-len\n if (isForced(CONSTRUCTOR_NAME, typeof NativeConstructor != 'function' || !(IS_WEAK || NativePrototype.forEach && !fails(function () {\n new NativeConstructor().entries().next();\n })))) {\n // create collection constructor\n Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER);\n InternalMetadataModule.REQUIRED = true;\n } else if (isForced(CONSTRUCTOR_NAME, true)) {\n var instance = new Constructor();\n // early implementations not supports chaining\n var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance;\n // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false\n var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); });\n // most early implementations doesn't supports iterables, most modern - not close it correctly\n // eslint-disable-next-line no-new\n var ACCEPT_ITERABLES = checkCorrectnessOfIteration(function (iterable) { new NativeConstructor(iterable); });\n // for early implementations -0 and +0 not the same\n var BUGGY_ZERO = !IS_WEAK && fails(function () {\n // V8 ~ Chromium 42- fails only with 5+ elements\n var $instance = new NativeConstructor();\n var index = 5;\n while (index--) $instance[ADDER](index, index);\n return !$instance.has(-0);\n });\n\n if (!ACCEPT_ITERABLES) {\n Constructor = wrapper(function (dummy, iterable) {\n anInstance(dummy, Constructor, CONSTRUCTOR_NAME);\n var that = inheritIfRequired(new NativeConstructor(), dummy, Constructor);\n if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });\n return that;\n });\n Constructor.prototype = NativePrototype;\n NativePrototype.constructor = Constructor;\n }\n\n if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) {\n fixMethod('delete');\n fixMethod('has');\n IS_MAP && fixMethod('get');\n }\n\n if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER);\n\n // weak collections should not contains .clear method\n if (IS_WEAK && NativePrototype.clear) delete NativePrototype.clear;\n }\n\n exported[CONSTRUCTOR_NAME] = Constructor;\n $({ global: true, forced: Constructor != NativeConstructor }, exported);\n\n setToStringTag(Constructor, CONSTRUCTOR_NAME);\n\n if (!IS_WEAK) common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP);\n\n return Constructor;\n};\n","var toInteger = require('../internals/to-integer');\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.es/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n return argument > 0 ? min(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","var IS_PURE = require('../internals/is-pure');\nvar store = require('../internals/shared-store');\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: '3.8.3',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2021 Denis Pushkarev (zloirock.ru)'\n});\n","module.exports = {};\n","var global = require('../internals/global');\nvar inspectSource = require('../internals/inspect-source');\n\nvar WeakMap = global.WeakMap;\n\nmodule.exports = typeof WeakMap === 'function' && /native code/.test(inspectSource(WeakMap));\n","// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`\nvar Map = require('../modules/es.map');\nvar WeakMap = require('../modules/es.weak-map');\nvar shared = require('../internals/shared');\n\nvar metadata = shared('metadata');\nvar store = metadata.store || (metadata.store = new WeakMap());\n\nvar getOrCreateMetadataMap = function (target, targetKey, create) {\n var targetMetadata = store.get(target);\n if (!targetMetadata) {\n if (!create) return;\n store.set(target, targetMetadata = new Map());\n }\n var keyMetadata = targetMetadata.get(targetKey);\n if (!keyMetadata) {\n if (!create) return;\n targetMetadata.set(targetKey, keyMetadata = new Map());\n } return keyMetadata;\n};\n\nvar ordinaryHasOwnMetadata = function (MetadataKey, O, P) {\n var metadataMap = getOrCreateMetadataMap(O, P, false);\n return metadataMap === undefined ? false : metadataMap.has(MetadataKey);\n};\n\nvar ordinaryGetOwnMetadata = function (MetadataKey, O, P) {\n var metadataMap = getOrCreateMetadataMap(O, P, false);\n return metadataMap === undefined ? undefined : metadataMap.get(MetadataKey);\n};\n\nvar ordinaryDefineOwnMetadata = function (MetadataKey, MetadataValue, O, P) {\n getOrCreateMetadataMap(O, P, true).set(MetadataKey, MetadataValue);\n};\n\nvar ordinaryOwnMetadataKeys = function (target, targetKey) {\n var metadataMap = getOrCreateMetadataMap(target, targetKey, false);\n var keys = [];\n if (metadataMap) metadataMap.forEach(function (_, key) { keys.push(key); });\n return keys;\n};\n\nvar toMetadataKey = function (it) {\n return it === undefined || typeof it == 'symbol' ? it : String(it);\n};\n\nmodule.exports = {\n store: store,\n getMap: getOrCreateMetadataMap,\n has: ordinaryHasOwnMetadata,\n get: ordinaryGetOwnMetadata,\n set: ordinaryDefineOwnMetadata,\n keys: ordinaryOwnMetadataKeys,\n toKey: toMetadataKey\n};\n"],"sourceRoot":"webpack:///"} \ No newline at end of file diff --git a/dist/ng-walkthrough/runtime.7b63b9fd40098a2e8207.js b/dist/ng-walkthrough/runtime.7b63b9fd40098a2e8207.js new file mode 100644 index 0000000..effa6ae --- /dev/null +++ b/dist/ng-walkthrough/runtime.7b63b9fd40098a2e8207.js @@ -0,0 +1 @@ +!function(e){function r(r){for(var n,l,f=r[0],i=r[1],p=r[2],c=0,s=[];c 1 && arguments[1] !== undefined ? arguments[1] : this.context; - this.context = context; - return Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_1__["default"])(Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_2__["default"])(TemplatePortal.prototype), "attach", this).call(this, host); - } - }, { - key: "detach", - value: function detach() { - this.context = undefined; - return Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_1__["default"])(Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_2__["default"])(TemplatePortal.prototype), "detach", this).call(this); - } - }]); - - return TemplatePortal; -}(Portal); -/** - * A `DomPortal` is a portal whose DOM element will be taken from its current position - * in the DOM and moved into a portal outlet, when it is attached. On detach, the content - * will be restored to its original position. - */ - - -var DomPortal = /*#__PURE__*/function (_Portal3) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_3__["default"])(DomPortal, _Portal3); - - var _super3 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_4__["default"])(DomPortal); - - function DomPortal(element) { - var _this3; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_5__["default"])(this, DomPortal); - - _this3 = _super3.call(this); - _this3.element = element instanceof _angular_core__WEBPACK_IMPORTED_MODULE_7__["ElementRef"] ? element.nativeElement : element; - return _this3; - } - - return DomPortal; -}(Portal); -/** - * Partial implementation of PortalOutlet that handles attaching - * ComponentPortal and TemplatePortal. - */ - - -var BasePortalOutlet = /*#__PURE__*/function () { - function BasePortalOutlet() { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_5__["default"])(this, BasePortalOutlet); - - /** Whether this host has already been permanently disposed. */ - this._isDisposed = false; // @breaking-change 10.0.0 `attachDomPortal` to become a required abstract method. - - this.attachDomPortal = null; - } - /** Whether this host has an attached portal. */ - - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__["default"])(BasePortalOutlet, [{ - key: "hasAttached", - value: function hasAttached() { - return !!this._attachedPortal; - } - /** Attaches a portal. */ - - }, { - key: "attach", - value: function attach(portal) { - if (typeof ngDevMode === 'undefined' || ngDevMode) { - if (!portal) { - throwNullPortalError(); - } - - if (this.hasAttached()) { - throwPortalAlreadyAttachedError(); - } - - if (this._isDisposed) { - throwPortalOutletAlreadyDisposedError(); - } - } - - if (portal instanceof ComponentPortal) { - this._attachedPortal = portal; - return this.attachComponentPortal(portal); - } else if (portal instanceof TemplatePortal) { - this._attachedPortal = portal; - return this.attachTemplatePortal(portal); // @breaking-change 10.0.0 remove null check for `this.attachDomPortal`. - } else if (this.attachDomPortal && portal instanceof DomPortal) { - this._attachedPortal = portal; - return this.attachDomPortal(portal); - } - - if (typeof ngDevMode === 'undefined' || ngDevMode) { - throwUnknownPortalTypeError(); - } - } - /** Detaches a previously attached portal. */ - - }, { - key: "detach", - value: function detach() { - if (this._attachedPortal) { - this._attachedPortal.setAttachedHost(null); - - this._attachedPortal = null; - } - - this._invokeDisposeFn(); - } - /** Permanently dispose of this portal host. */ - - }, { - key: "dispose", - value: function dispose() { - if (this.hasAttached()) { - this.detach(); - } - - this._invokeDisposeFn(); - - this._isDisposed = true; - } - /** @docs-private */ - - }, { - key: "setDisposeFn", - value: function setDisposeFn(fn) { - this._disposeFn = fn; - } - }, { - key: "_invokeDisposeFn", - value: function _invokeDisposeFn() { - if (this._disposeFn) { - this._disposeFn(); - - this._disposeFn = null; - } - } - }]); - - return BasePortalOutlet; -}(); -/** - * @deprecated Use `BasePortalOutlet` instead. - * @breaking-change 9.0.0 - */ - - -var BasePortalHost = /*#__PURE__*/function (_BasePortalOutlet) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_3__["default"])(BasePortalHost, _BasePortalOutlet); - - var _super4 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_4__["default"])(BasePortalHost); - - function BasePortalHost() { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_5__["default"])(this, BasePortalHost); - - return _super4.apply(this, arguments); - } - - return BasePortalHost; -}(BasePortalOutlet); -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - -/** - * A PortalOutlet for attaching portals to an arbitrary DOM element outside of the Angular - * application context. - */ - - -var DomPortalOutlet = /*#__PURE__*/function (_BasePortalOutlet2) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_3__["default"])(DomPortalOutlet, _BasePortalOutlet2); - - var _super5 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_4__["default"])(DomPortalOutlet); - - function DomPortalOutlet( - /** Element into which the content is projected. */ - outletElement, _componentFactoryResolver, _appRef, _defaultInjector, - /** - * @deprecated `_document` Parameter to be made required. - * @breaking-change 10.0.0 - */ - _document) { - var _thisSuper, _this4; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_5__["default"])(this, DomPortalOutlet); - - _this4 = _super5.call(this); - _this4.outletElement = outletElement; - _this4._componentFactoryResolver = _componentFactoryResolver; - _this4._appRef = _appRef; - _this4._defaultInjector = _defaultInjector; - /** - * Attaches a DOM portal by transferring its content into the outlet. - * @param portal Portal to be attached. - * @deprecated To be turned into a method. - * @breaking-change 10.0.0 - */ - - _this4.attachDomPortal = function (portal) { - // @breaking-change 10.0.0 Remove check and error once the - // `_document` constructor parameter is required. - if (!_this4._document && (typeof ngDevMode === 'undefined' || ngDevMode)) { - throw Error('Cannot attach DOM portal without _document constructor parameter'); - } - - var element = portal.element; - - if (!element.parentNode && (typeof ngDevMode === 'undefined' || ngDevMode)) { - throw Error('DOM portal content must be attached to a parent node.'); - } // Anchor used to save the element's previous position so - // that we can restore it when the portal is detached. - - - var anchorNode = _this4._document.createComment('dom-portal'); - - element.parentNode.insertBefore(anchorNode, element); - - _this4.outletElement.appendChild(element); - - _this4._attachedPortal = portal; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_1__["default"])((_thisSuper = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_0__["default"])(_this4), Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_2__["default"])(DomPortalOutlet.prototype)), "setDisposeFn", _thisSuper).call(_thisSuper, function () { - // We can't use `replaceWith` here because IE doesn't support it. - if (anchorNode.parentNode) { - anchorNode.parentNode.replaceChild(element, anchorNode); - } - }); - }; - - _this4._document = _document; - return _this4; - } - /** - * Attach the given ComponentPortal to DOM element using the ComponentFactoryResolver. - * @param portal Portal to be attached - * @returns Reference to the created component. - */ - - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__["default"])(DomPortalOutlet, [{ - key: "attachComponentPortal", - value: function attachComponentPortal(portal) { - var _this5 = this; - - var resolver = portal.componentFactoryResolver || this._componentFactoryResolver; - var componentFactory = resolver.resolveComponentFactory(portal.component); - var componentRef; // If the portal specifies a ViewContainerRef, we will use that as the attachment point - // for the component (in terms of Angular's component tree, not rendering). - // When the ViewContainerRef is missing, we use the factory to create the component directly - // and then manually attach the view to the application. - - if (portal.viewContainerRef) { - componentRef = portal.viewContainerRef.createComponent(componentFactory, portal.viewContainerRef.length, portal.injector || portal.viewContainerRef.injector); - this.setDisposeFn(function () { - return componentRef.destroy(); - }); - } else { - componentRef = componentFactory.create(portal.injector || this._defaultInjector); - - this._appRef.attachView(componentRef.hostView); - - this.setDisposeFn(function () { - _this5._appRef.detachView(componentRef.hostView); - - componentRef.destroy(); - }); - } // At this point the component has been instantiated, so we move it to the location in the DOM - // where we want it to be rendered. - - - this.outletElement.appendChild(this._getComponentRootNode(componentRef)); - this._attachedPortal = portal; - return componentRef; - } - /** - * Attaches a template portal to the DOM as an embedded view. - * @param portal Portal to be attached. - * @returns Reference to the created embedded view. - */ - - }, { - key: "attachTemplatePortal", - value: function attachTemplatePortal(portal) { - var _this6 = this; - - var viewContainer = portal.viewContainerRef; - var viewRef = viewContainer.createEmbeddedView(portal.templateRef, portal.context); // The method `createEmbeddedView` will add the view as a child of the viewContainer. - // But for the DomPortalOutlet the view can be added everywhere in the DOM - // (e.g Overlay Container) To move the view to the specified host element. We just - // re-append the existing root nodes. - - viewRef.rootNodes.forEach(function (rootNode) { - return _this6.outletElement.appendChild(rootNode); - }); // Note that we want to detect changes after the nodes have been moved so that - // any directives inside the portal that are looking at the DOM inside a lifecycle - // hook won't be invoked too early. - - viewRef.detectChanges(); - this.setDisposeFn(function () { - var index = viewContainer.indexOf(viewRef); - - if (index !== -1) { - viewContainer.remove(index); - } - }); - this._attachedPortal = portal; // TODO(jelbourn): Return locals from view. - - return viewRef; - } - /** - * Clears out a portal from the DOM. - */ - - }, { - key: "dispose", - value: function dispose() { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_1__["default"])(Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_2__["default"])(DomPortalOutlet.prototype), "dispose", this).call(this); - - if (this.outletElement.parentNode != null) { - this.outletElement.parentNode.removeChild(this.outletElement); - } - } - /** Gets the root HTMLElement for an instantiated component. */ - - }, { - key: "_getComponentRootNode", - value: function _getComponentRootNode(componentRef) { - return componentRef.hostView.rootNodes[0]; - } - }]); - - return DomPortalOutlet; -}(BasePortalOutlet); -/** - * @deprecated Use `DomPortalOutlet` instead. - * @breaking-change 9.0.0 - */ - - -var DomPortalHost = /*#__PURE__*/function (_DomPortalOutlet) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_3__["default"])(DomPortalHost, _DomPortalOutlet); - - var _super6 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_4__["default"])(DomPortalHost); - - function DomPortalHost() { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_5__["default"])(this, DomPortalHost); - - return _super6.apply(this, arguments); - } - - return DomPortalHost; -}(DomPortalOutlet); -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - -/** - * Directive version of a `TemplatePortal`. Because the directive *is* a TemplatePortal, - * the directive instance itself can be attached to a host, enabling declarative use of portals. - */ - - -var CdkPortal = /*#__PURE__*/function (_TemplatePortal) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_3__["default"])(CdkPortal, _TemplatePortal); - - var _super7 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_4__["default"])(CdkPortal); - - function CdkPortal(templateRef, viewContainerRef) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_5__["default"])(this, CdkPortal); - - return _super7.call(this, templateRef, viewContainerRef); - } - - return CdkPortal; -}(TemplatePortal); - -CdkPortal.ɵfac = function CdkPortal_Factory(t) { - return new (t || CdkPortal)(_angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_7__["TemplateRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_7__["ViewContainerRef"])); -}; - -CdkPortal.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdefineDirective"]({ - type: CdkPortal, - selectors: [["", "cdkPortal", ""]], - exportAs: ["cdkPortal"], - features: [_angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵInheritDefinitionFeature"]] -}); - -CdkPortal.ctorParameters = function () { - return [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_7__["TemplateRef"] - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_7__["ViewContainerRef"] - }]; -}; - -(function () { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵsetClassMetadata"](CdkPortal, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_7__["Directive"], - args: [{ - selector: '[cdkPortal]', - exportAs: 'cdkPortal' - }] - }], function () { - return [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_7__["TemplateRef"] - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_7__["ViewContainerRef"] - }]; - }, null); -})(); -/** - * @deprecated Use `CdkPortal` instead. - * @breaking-change 9.0.0 - */ - - -var TemplatePortalDirective = /*#__PURE__*/function (_CdkPortal) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_3__["default"])(TemplatePortalDirective, _CdkPortal); - - var _super8 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_4__["default"])(TemplatePortalDirective); - - function TemplatePortalDirective() { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_5__["default"])(this, TemplatePortalDirective); - - return _super8.apply(this, arguments); - } - - return TemplatePortalDirective; -}(CdkPortal); - -TemplatePortalDirective.ɵfac = function TemplatePortalDirective_Factory(t) { - return ɵTemplatePortalDirective_BaseFactory(t || TemplatePortalDirective); -}; - -TemplatePortalDirective.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdefineDirective"]({ - type: TemplatePortalDirective, - selectors: [["", "cdk-portal", ""], ["", "portal", ""]], - exportAs: ["cdkPortal"], - features: [_angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵProvidersFeature"]([{ - provide: CdkPortal, - useExisting: TemplatePortalDirective - }]), _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵInheritDefinitionFeature"]] -}); -var ɵTemplatePortalDirective_BaseFactory = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵgetInheritedFactory"](TemplatePortalDirective); - -(function () { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵsetClassMetadata"](TemplatePortalDirective, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_7__["Directive"], - args: [{ - selector: '[cdk-portal], [portal]', - exportAs: 'cdkPortal', - providers: [{ - provide: CdkPortal, - useExisting: TemplatePortalDirective - }] - }] - }], null, null); -})(); -/** - * Directive version of a PortalOutlet. Because the directive *is* a PortalOutlet, portals can be - * directly attached to it, enabling declarative use. - * - * Usage: - * `` - */ - - -var CdkPortalOutlet = /*#__PURE__*/function (_BasePortalOutlet3) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_3__["default"])(CdkPortalOutlet, _BasePortalOutlet3); - - var _super9 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_4__["default"])(CdkPortalOutlet); - - function CdkPortalOutlet(_componentFactoryResolver, _viewContainerRef, - /** - * @deprecated `_document` parameter to be made required. - * @breaking-change 9.0.0 - */ - _document) { - var _thisSuper2, _this7; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_5__["default"])(this, CdkPortalOutlet); - - _this7 = _super9.call(this); - _this7._componentFactoryResolver = _componentFactoryResolver; - _this7._viewContainerRef = _viewContainerRef; - /** Whether the portal component is initialized. */ - - _this7._isInitialized = false; - /** Emits when a portal is attached to the outlet. */ - - _this7.attached = new _angular_core__WEBPACK_IMPORTED_MODULE_7__["EventEmitter"](); - /** - * Attaches the given DomPortal to this PortalHost by moving all of the portal content into it. - * @param portal Portal to be attached. - * @deprecated To be turned into a method. - * @breaking-change 10.0.0 - */ - - _this7.attachDomPortal = function (portal) { - // @breaking-change 9.0.0 Remove check and error once the - // `_document` constructor parameter is required. - if (!_this7._document && (typeof ngDevMode === 'undefined' || ngDevMode)) { - throw Error('Cannot attach DOM portal without _document constructor parameter'); - } - - var element = portal.element; - - if (!element.parentNode && (typeof ngDevMode === 'undefined' || ngDevMode)) { - throw Error('DOM portal content must be attached to a parent node.'); - } // Anchor used to save the element's previous position so - // that we can restore it when the portal is detached. - - - var anchorNode = _this7._document.createComment('dom-portal'); - - portal.setAttachedHost(Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_0__["default"])(_this7)); - element.parentNode.insertBefore(anchorNode, element); - - _this7._getRootNode().appendChild(element); - - _this7._attachedPortal = portal; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_1__["default"])((_thisSuper2 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_0__["default"])(_this7), Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_2__["default"])(CdkPortalOutlet.prototype)), "setDisposeFn", _thisSuper2).call(_thisSuper2, function () { - if (anchorNode.parentNode) { - anchorNode.parentNode.replaceChild(element, anchorNode); - } - }); - }; - - _this7._document = _document; - return _this7; - } - /** Portal associated with the Portal outlet. */ - - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__["default"])(CdkPortalOutlet, [{ - key: "portal", - get: function get() { - return this._attachedPortal; - }, - set: function set(portal) { - // Ignore the cases where the `portal` is set to a falsy value before the lifecycle hooks have - // run. This handles the cases where the user might do something like `
` - // and attach a portal programmatically in the parent component. When Angular does the first CD - // round, it will fire the setter with empty string, causing the user's content to be cleared. - if (this.hasAttached() && !portal && !this._isInitialized) { - return; - } - - if (this.hasAttached()) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_1__["default"])(Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_2__["default"])(CdkPortalOutlet.prototype), "detach", this).call(this); - } - - if (portal) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_1__["default"])(Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_2__["default"])(CdkPortalOutlet.prototype), "attach", this).call(this, portal); - } - - this._attachedPortal = portal; - } - /** Component or view reference that is attached to the portal. */ - - }, { - key: "attachedRef", - get: function get() { - return this._attachedRef; - } - }, { - key: "ngOnInit", - value: function ngOnInit() { - this._isInitialized = true; - } - }, { - key: "ngOnDestroy", - value: function ngOnDestroy() { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_1__["default"])(Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_2__["default"])(CdkPortalOutlet.prototype), "dispose", this).call(this); - - this._attachedPortal = null; - this._attachedRef = null; - } - /** - * Attach the given ComponentPortal to this PortalOutlet using the ComponentFactoryResolver. - * - * @param portal Portal to be attached to the portal outlet. - * @returns Reference to the created component. - */ - - }, { - key: "attachComponentPortal", - value: function attachComponentPortal(portal) { - portal.setAttachedHost(this); // If the portal specifies an origin, use that as the logical location of the component - // in the application tree. Otherwise use the location of this PortalOutlet. - - var viewContainerRef = portal.viewContainerRef != null ? portal.viewContainerRef : this._viewContainerRef; - var resolver = portal.componentFactoryResolver || this._componentFactoryResolver; - var componentFactory = resolver.resolveComponentFactory(portal.component); - var ref = viewContainerRef.createComponent(componentFactory, viewContainerRef.length, portal.injector || viewContainerRef.injector); // If we're using a view container that's different from the injected one (e.g. when the portal - // specifies its own) we need to move the component into the outlet, otherwise it'll be rendered - // inside of the alternate view container. - - if (viewContainerRef !== this._viewContainerRef) { - this._getRootNode().appendChild(ref.hostView.rootNodes[0]); - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_1__["default"])(Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_2__["default"])(CdkPortalOutlet.prototype), "setDisposeFn", this).call(this, function () { - return ref.destroy(); - }); - - this._attachedPortal = portal; - this._attachedRef = ref; - this.attached.emit(ref); - return ref; - } - /** - * Attach the given TemplatePortal to this PortalHost as an embedded View. - * @param portal Portal to be attached. - * @returns Reference to the created embedded view. - */ - - }, { - key: "attachTemplatePortal", - value: function attachTemplatePortal(portal) { - var _this8 = this; - - portal.setAttachedHost(this); - - var viewRef = this._viewContainerRef.createEmbeddedView(portal.templateRef, portal.context); - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_1__["default"])(Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_2__["default"])(CdkPortalOutlet.prototype), "setDisposeFn", this).call(this, function () { - return _this8._viewContainerRef.clear(); - }); - - this._attachedPortal = portal; - this._attachedRef = viewRef; - this.attached.emit(viewRef); - return viewRef; - } - /** Gets the root node of the portal outlet. */ - - }, { - key: "_getRootNode", - value: function _getRootNode() { - var nativeElement = this._viewContainerRef.element.nativeElement; // The directive could be set on a template which will result in a comment - // node being the root. Use the comment's parent node if that is the case. - - return nativeElement.nodeType === nativeElement.ELEMENT_NODE ? nativeElement : nativeElement.parentNode; - } - }]); - - return CdkPortalOutlet; -}(BasePortalOutlet); - -CdkPortalOutlet.ɵfac = function CdkPortalOutlet_Factory(t) { - return new (t || CdkPortalOutlet)(_angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_7__["ComponentFactoryResolver"]), _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_7__["ViewContainerRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdirectiveInject"](_angular_common__WEBPACK_IMPORTED_MODULE_8__["DOCUMENT"])); -}; - -CdkPortalOutlet.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdefineDirective"]({ - type: CdkPortalOutlet, - selectors: [["", "cdkPortalOutlet", ""]], - inputs: { - portal: ["cdkPortalOutlet", "portal"] - }, - outputs: { - attached: "attached" - }, - exportAs: ["cdkPortalOutlet"], - features: [_angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵInheritDefinitionFeature"]] -}); - -CdkPortalOutlet.ctorParameters = function () { - return [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_7__["ComponentFactoryResolver"] - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_7__["ViewContainerRef"] - }, { - type: undefined, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_7__["Inject"], - args: [_angular_common__WEBPACK_IMPORTED_MODULE_8__["DOCUMENT"]] - }] - }]; -}; - -CdkPortalOutlet.propDecorators = { - attached: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_7__["Output"] - }] -}; - -(function () { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵsetClassMetadata"](CdkPortalOutlet, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_7__["Directive"], - args: [{ - selector: '[cdkPortalOutlet]', - exportAs: 'cdkPortalOutlet', - inputs: ['portal: cdkPortalOutlet'] - }] - }], function () { - return [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_7__["ComponentFactoryResolver"] - }, { - type: _angular_core__WEBPACK_IMPORTED_MODULE_7__["ViewContainerRef"] - }, { - type: undefined, - decorators: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_7__["Inject"], - args: [_angular_common__WEBPACK_IMPORTED_MODULE_8__["DOCUMENT"]] - }] - }]; - }, { - attached: [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_7__["Output"] - }] - }); -})(); -/** - * @deprecated Use `CdkPortalOutlet` instead. - * @breaking-change 9.0.0 - */ - - -var PortalHostDirective = /*#__PURE__*/function (_CdkPortalOutlet) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_3__["default"])(PortalHostDirective, _CdkPortalOutlet); - - var _super10 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_4__["default"])(PortalHostDirective); - - function PortalHostDirective() { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_5__["default"])(this, PortalHostDirective); - - return _super10.apply(this, arguments); - } - - return PortalHostDirective; -}(CdkPortalOutlet); - -PortalHostDirective.ɵfac = function PortalHostDirective_Factory(t) { - return ɵPortalHostDirective_BaseFactory(t || PortalHostDirective); -}; - -PortalHostDirective.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdefineDirective"]({ - type: PortalHostDirective, - selectors: [["", "cdkPortalHost", ""], ["", "portalHost", ""]], - inputs: { - portal: ["cdkPortalHost", "portal"] - }, - exportAs: ["cdkPortalHost"], - features: [_angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵProvidersFeature"]([{ - provide: CdkPortalOutlet, - useExisting: PortalHostDirective - }]), _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵInheritDefinitionFeature"]] -}); -var ɵPortalHostDirective_BaseFactory = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵgetInheritedFactory"](PortalHostDirective); - -(function () { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵsetClassMetadata"](PortalHostDirective, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_7__["Directive"], - args: [{ - selector: '[cdkPortalHost], [portalHost]', - exportAs: 'cdkPortalHost', - inputs: ['portal: cdkPortalHost'], - providers: [{ - provide: CdkPortalOutlet, - useExisting: PortalHostDirective - }] - }] - }], null, null); -})(); - -var PortalModule = function PortalModule() { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_5__["default"])(this, PortalModule); -}; - -PortalModule.ɵfac = function PortalModule_Factory(t) { - return new (t || PortalModule)(); -}; - -PortalModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdefineNgModule"]({ - type: PortalModule -}); -PortalModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdefineInjector"]({}); - -(function () { - (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵsetNgModuleScope"](PortalModule, { - declarations: [CdkPortal, CdkPortalOutlet, TemplatePortalDirective, PortalHostDirective], - exports: [CdkPortal, CdkPortalOutlet, TemplatePortalDirective, PortalHostDirective] - }); -})(); - -(function () { - (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵsetClassMetadata"](PortalModule, [{ - type: _angular_core__WEBPACK_IMPORTED_MODULE_7__["NgModule"], - args: [{ - exports: [CdkPortal, CdkPortalOutlet, TemplatePortalDirective, PortalHostDirective], - declarations: [CdkPortal, CdkPortalOutlet, TemplatePortalDirective, PortalHostDirective] - }] - }], null, null); -})(); -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - -/** - * Custom injector to be used when providing custom - * injection tokens to components inside a portal. - * @docs-private - * @deprecated Use `Injector.create` instead. - * @breaking-change 11.0.0 - */ - - -var PortalInjector = /*#__PURE__*/function () { - function PortalInjector(_parentInjector, _customTokens) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_5__["default"])(this, PortalInjector); - - this._parentInjector = _parentInjector; - this._customTokens = _customTokens; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_6__["default"])(PortalInjector, [{ - key: "get", - value: function get(token, notFoundValue) { - var value = this._customTokens.get(token); - - if (typeof value !== 'undefined') { - return value; - } - - return this._parentInjector.get(token, notFoundValue); - } - }]); - - return PortalInjector; -}(); -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - -/** - * Generated bundle index. Do not edit. - */ - - - //# sourceMappingURL=portal.js.map - -/***/ }), - -/***/ "/d8p": -/*!*****************************************************************!*\ - !*** ./node_modules/rxjs/_esm2015/internal/operators/repeat.js ***! - \*****************************************************************/ -/*! exports provided: repeat */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "repeat", function() { return repeat; }); -/* harmony import */ var C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/get */ "ReuC"); -/* harmony import */ var C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf */ "foSv"); -/* harmony import */ var C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/inherits */ "Ji7U"); -/* harmony import */ var C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createSuper */ "LK+K"); -/* harmony import */ var C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/classCallCheck */ "1OyB"); -/* harmony import */ var C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createClass */ "vuIU"); -/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../Subscriber */ "7o/Q"); -/* harmony import */ var _observable_empty__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../observable/empty */ "EY2u"); - - - - - - - - -function repeat() { - var count = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : -1; - return function (source) { - if (count === 0) { - return Object(_observable_empty__WEBPACK_IMPORTED_MODULE_7__["empty"])(); - } else if (count < 0) { - return source.lift(new RepeatOperator(-1, source)); - } else { - return source.lift(new RepeatOperator(count - 1, source)); - } - }; -} - -var RepeatOperator = /*#__PURE__*/function () { - function RepeatOperator(count, source) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__["default"])(this, RepeatOperator); - - this.count = count; - this.source = source; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_5__["default"])(RepeatOperator, [{ - key: "call", - value: function call(subscriber, source) { - return source.subscribe(new RepeatSubscriber(subscriber, this.count, this.source)); - } - }]); - - return RepeatOperator; -}(); - -var RepeatSubscriber = /*#__PURE__*/function (_Subscriber) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_2__["default"])(RepeatSubscriber, _Subscriber); - - var _super = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_3__["default"])(RepeatSubscriber); - - function RepeatSubscriber(destination, count, source) { - var _this; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__["default"])(this, RepeatSubscriber); - - _this = _super.call(this, destination); - _this.count = count; - _this.source = source; - return _this; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_5__["default"])(RepeatSubscriber, [{ - key: "complete", - value: function complete() { - if (!this.isStopped) { - var source = this.source, - count = this.count; - - if (count === 0) { - return Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_0__["default"])(Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_1__["default"])(RepeatSubscriber.prototype), "complete", this).call(this); - } else if (count > -1) { - this.count = count - 1; - } - - source.subscribe(this._unsubscribeAndRecycle()); - } - } - }]); - - return RepeatSubscriber; -}(_Subscriber__WEBPACK_IMPORTED_MODULE_6__["Subscriber"]); //# sourceMappingURL=repeat.js.map - -/***/ }), - -/***/ "/uUt": -/*!*******************************************************************************!*\ - !*** ./node_modules/rxjs/_esm2015/internal/operators/distinctUntilChanged.js ***! - \*******************************************************************************/ -/*! exports provided: distinctUntilChanged */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "distinctUntilChanged", function() { return distinctUntilChanged; }); -/* harmony import */ var C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/inherits */ "Ji7U"); -/* harmony import */ var C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createSuper */ "LK+K"); -/* harmony import */ var C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/classCallCheck */ "1OyB"); -/* harmony import */ var C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createClass */ "vuIU"); -/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Subscriber */ "7o/Q"); - - - - - -function distinctUntilChanged(compare, keySelector) { - return function (source) { - return source.lift(new DistinctUntilChangedOperator(compare, keySelector)); - }; -} - -var DistinctUntilChangedOperator = /*#__PURE__*/function () { - function DistinctUntilChangedOperator(compare, keySelector) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__["default"])(this, DistinctUntilChangedOperator); - - this.compare = compare; - this.keySelector = keySelector; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(DistinctUntilChangedOperator, [{ - key: "call", - value: function call(subscriber, source) { - return source.subscribe(new DistinctUntilChangedSubscriber(subscriber, this.compare, this.keySelector)); - } - }]); - - return DistinctUntilChangedOperator; -}(); - -var DistinctUntilChangedSubscriber = /*#__PURE__*/function (_Subscriber) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_0__["default"])(DistinctUntilChangedSubscriber, _Subscriber); - - var _super = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_1__["default"])(DistinctUntilChangedSubscriber); - - function DistinctUntilChangedSubscriber(destination, compare, keySelector) { - var _this; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__["default"])(this, DistinctUntilChangedSubscriber); - - _this = _super.call(this, destination); - _this.keySelector = keySelector; - _this.hasKey = false; - - if (typeof compare === 'function') { - _this.compare = compare; - } - - return _this; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(DistinctUntilChangedSubscriber, [{ - key: "compare", - value: function compare(x, y) { - return x === y; - } - }, { - key: "_next", - value: function _next(value) { - var key; - - try { - var keySelector = this.keySelector; - key = keySelector ? keySelector(value) : value; - } catch (err) { - return this.destination.error(err); - } - - var result = false; - - if (this.hasKey) { - try { - var compare = this.compare; - result = compare(this.key, key); - } catch (err) { - return this.destination.error(err); - } - } else { - this.hasKey = true; - } - - if (!result) { - this.key = key; - this.destination.next(value); - } - } - }]); - - return DistinctUntilChangedSubscriber; -}(_Subscriber__WEBPACK_IMPORTED_MODULE_4__["Subscriber"]); //# sourceMappingURL=distinctUntilChanged.js.map - -/***/ }), - -/***/ "02Lk": -/*!*******************************************************************!*\ - !*** ./node_modules/rxjs/_esm2015/internal/operators/distinct.js ***! - \*******************************************************************/ -/*! exports provided: distinct, DistinctSubscriber */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "distinct", function() { return distinct; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DistinctSubscriber", function() { return DistinctSubscriber; }); -/* harmony import */ var C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized */ "JX7q"); -/* harmony import */ var C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/inherits */ "Ji7U"); -/* harmony import */ var C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createSuper */ "LK+K"); -/* harmony import */ var C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/classCallCheck */ "1OyB"); -/* harmony import */ var C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createClass */ "vuIU"); -/* harmony import */ var _innerSubscribe__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../innerSubscribe */ "zx2A"); - - - - - - -function distinct(keySelector, flushes) { - return function (source) { - return source.lift(new DistinctOperator(keySelector, flushes)); - }; -} - -var DistinctOperator = /*#__PURE__*/function () { - function DistinctOperator(keySelector, flushes) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_3__["default"])(this, DistinctOperator); - - this.keySelector = keySelector; - this.flushes = flushes; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_4__["default"])(DistinctOperator, [{ - key: "call", - value: function call(subscriber, source) { - return source.subscribe(new DistinctSubscriber(subscriber, this.keySelector, this.flushes)); - } - }]); - - return DistinctOperator; -}(); - -var DistinctSubscriber = /*#__PURE__*/function (_SimpleOuterSubscribe) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_1__["default"])(DistinctSubscriber, _SimpleOuterSubscribe); - - var _super = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_2__["default"])(DistinctSubscriber); - - function DistinctSubscriber(destination, keySelector, flushes) { - var _this; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_3__["default"])(this, DistinctSubscriber); - - _this = _super.call(this, destination); - _this.keySelector = keySelector; - _this.values = new Set(); - - if (flushes) { - _this.add(Object(_innerSubscribe__WEBPACK_IMPORTED_MODULE_5__["innerSubscribe"])(flushes, new _innerSubscribe__WEBPACK_IMPORTED_MODULE_5__["SimpleInnerSubscriber"](Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_0__["default"])(_this)))); - } - - return _this; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_4__["default"])(DistinctSubscriber, [{ - key: "notifyNext", - value: function notifyNext() { - this.values.clear(); - } - }, { - key: "notifyError", - value: function notifyError(error) { - this._error(error); - } - }, { - key: "_next", - value: function _next(value) { - if (this.keySelector) { - this._useKeySelector(value); - } else { - this._finalizeNext(value, value); - } - } - }, { - key: "_useKeySelector", - value: function _useKeySelector(value) { - var key; - var destination = this.destination; - - try { - key = this.keySelector(value); - } catch (err) { - destination.error(err); - return; - } - - this._finalizeNext(key, value); - } - }, { - key: "_finalizeNext", - value: function _finalizeNext(key, value) { - var values = this.values; - - if (!values.has(key)) { - values.add(key); - this.destination.next(value); - } - } - }]); - - return DistinctSubscriber; -}(_innerSubscribe__WEBPACK_IMPORTED_MODULE_5__["SimpleOuterSubscriber"]); //# sourceMappingURL=distinct.js.map - -/***/ }), - -/***/ "04ZW": -/*!****************************************************************************!*\ - !*** ./node_modules/rxjs/_esm2015/internal/observable/fromEventPattern.js ***! - \****************************************************************************/ -/*! exports provided: fromEventPattern */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fromEventPattern", function() { return fromEventPattern; }); -/* harmony import */ var C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/toConsumableArray */ "KQm4"); -/* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Observable */ "HDdC"); -/* harmony import */ var _util_isArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/isArray */ "DH7j"); -/* harmony import */ var _util_isFunction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/isFunction */ "n6bG"); -/* harmony import */ var _operators_map__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../operators/map */ "lJxs"); - - - - - -function fromEventPattern(addHandler, removeHandler, resultSelector) { - if (resultSelector) { - return fromEventPattern(addHandler, removeHandler).pipe(Object(_operators_map__WEBPACK_IMPORTED_MODULE_4__["map"])(function (args) { - return Object(_util_isArray__WEBPACK_IMPORTED_MODULE_2__["isArray"])(args) ? resultSelector.apply(void 0, Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__["default"])(args)) : resultSelector(args); - })); - } - - return new _Observable__WEBPACK_IMPORTED_MODULE_1__["Observable"](function (subscriber) { - var handler = function handler() { - for (var _len = arguments.length, e = new Array(_len), _key = 0; _key < _len; _key++) { - e[_key] = arguments[_key]; - } - - return subscriber.next(e.length === 1 ? e[0] : e); - }; - - var retValue; - - try { - retValue = addHandler(handler); - } catch (err) { - subscriber.error(err); - return undefined; - } - - if (!Object(_util_isFunction__WEBPACK_IMPORTED_MODULE_3__["isFunction"])(removeHandler)) { - return undefined; - } - - return function () { - return removeHandler(handler, retValue); - }; - }); -} //# sourceMappingURL=fromEventPattern.js.map - -/***/ }), - -/***/ "05l1": -/*!************************************************************************!*\ - !*** ./node_modules/rxjs/_esm2015/internal/operators/publishReplay.js ***! - \************************************************************************/ -/*! exports provided: publishReplay */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "publishReplay", function() { return publishReplay; }); -/* harmony import */ var _ReplaySubject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../ReplaySubject */ "jtHE"); -/* harmony import */ var _multicast__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./multicast */ "oB13"); - - -function publishReplay(bufferSize, windowTime, selectorOrScheduler, scheduler) { - if (selectorOrScheduler && typeof selectorOrScheduler !== 'function') { - scheduler = selectorOrScheduler; - } - - var selector = typeof selectorOrScheduler === 'function' ? selectorOrScheduler : undefined; - var subject = new _ReplaySubject__WEBPACK_IMPORTED_MODULE_0__["ReplaySubject"](bufferSize, windowTime, scheduler); - return function (source) { - return Object(_multicast__WEBPACK_IMPORTED_MODULE_1__["multicast"])(function () { - return subject; - }, selector)(source); - }; -} //# sourceMappingURL=publishReplay.js.map - -/***/ }), - -/***/ "0EUg": -/*!********************************************************************!*\ - !*** ./node_modules/rxjs/_esm2015/internal/operators/concatAll.js ***! - \********************************************************************/ -/*! exports provided: concatAll */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "concatAll", function() { return concatAll; }); -/* harmony import */ var _mergeAll__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./mergeAll */ "bHdf"); - -function concatAll() { - return Object(_mergeAll__WEBPACK_IMPORTED_MODULE_0__["mergeAll"])(1); -} //# sourceMappingURL=concatAll.js.map - -/***/ }), - -/***/ "0Pi8": -/*!******************************************************************!*\ - !*** ./node_modules/rxjs/_esm2015/internal/operators/endWith.js ***! - \******************************************************************/ -/*! exports provided: endWith */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "endWith", function() { return endWith; }); -/* harmony import */ var _observable_concat__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../observable/concat */ "GyhO"); -/* harmony import */ var _observable_of__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../observable/of */ "LRne"); - - -function endWith() { - for (var _len = arguments.length, array = new Array(_len), _key = 0; _key < _len; _key++) { - array[_key] = arguments[_key]; - } - - return function (source) { - return Object(_observable_concat__WEBPACK_IMPORTED_MODULE_0__["concat"])(source, _observable_of__WEBPACK_IMPORTED_MODULE_1__["of"].apply(void 0, array)); - }; -} //# sourceMappingURL=endWith.js.map - -/***/ }), - -/***/ "128B": -/*!*****************************************************************!*\ - !*** ./node_modules/rxjs/_esm2015/internal/operators/reduce.js ***! - \*****************************************************************/ -/*! exports provided: reduce */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "reduce", function() { return reduce; }); -/* harmony import */ var _scan__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./scan */ "Kqap"); -/* harmony import */ var _takeLast__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./takeLast */ "BFxc"); -/* harmony import */ var _defaultIfEmpty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./defaultIfEmpty */ "xbPD"); -/* harmony import */ var _util_pipe__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util/pipe */ "mCNh"); - - - - -function reduce(accumulator, seed) { - if (arguments.length >= 2) { - return function reduceOperatorFunctionWithSeed(source) { - return Object(_util_pipe__WEBPACK_IMPORTED_MODULE_3__["pipe"])(Object(_scan__WEBPACK_IMPORTED_MODULE_0__["scan"])(accumulator, seed), Object(_takeLast__WEBPACK_IMPORTED_MODULE_1__["takeLast"])(1), Object(_defaultIfEmpty__WEBPACK_IMPORTED_MODULE_2__["defaultIfEmpty"])(seed))(source); - }; - } - - return function reduceOperatorFunction(source) { - return Object(_util_pipe__WEBPACK_IMPORTED_MODULE_3__["pipe"])(Object(_scan__WEBPACK_IMPORTED_MODULE_0__["scan"])(function (acc, value, index) { - return accumulator(acc, value, index + 1); - }), Object(_takeLast__WEBPACK_IMPORTED_MODULE_1__["takeLast"])(1))(source); - }; -} //# sourceMappingURL=reduce.js.map - -/***/ }), - -/***/ "1G5W": -/*!********************************************************************!*\ - !*** ./node_modules/rxjs/_esm2015/internal/operators/takeUntil.js ***! - \********************************************************************/ -/*! exports provided: takeUntil */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "takeUntil", function() { return takeUntil; }); -/* harmony import */ var C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/inherits */ "Ji7U"); -/* harmony import */ var C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createSuper */ "LK+K"); -/* harmony import */ var C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/classCallCheck */ "1OyB"); -/* harmony import */ var C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createClass */ "vuIU"); -/* harmony import */ var _innerSubscribe__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../innerSubscribe */ "zx2A"); - - - - - -function takeUntil(notifier) { - return function (source) { - return source.lift(new TakeUntilOperator(notifier)); - }; -} - -var TakeUntilOperator = /*#__PURE__*/function () { - function TakeUntilOperator(notifier) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__["default"])(this, TakeUntilOperator); - - this.notifier = notifier; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(TakeUntilOperator, [{ - key: "call", - value: function call(subscriber, source) { - var takeUntilSubscriber = new TakeUntilSubscriber(subscriber); - var notifierSubscription = Object(_innerSubscribe__WEBPACK_IMPORTED_MODULE_4__["innerSubscribe"])(this.notifier, new _innerSubscribe__WEBPACK_IMPORTED_MODULE_4__["SimpleInnerSubscriber"](takeUntilSubscriber)); - - if (notifierSubscription && !takeUntilSubscriber.seenValue) { - takeUntilSubscriber.add(notifierSubscription); - return source.subscribe(takeUntilSubscriber); - } - - return takeUntilSubscriber; - } - }]); - - return TakeUntilOperator; -}(); - -var TakeUntilSubscriber = /*#__PURE__*/function (_SimpleOuterSubscribe) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_0__["default"])(TakeUntilSubscriber, _SimpleOuterSubscribe); - - var _super = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_1__["default"])(TakeUntilSubscriber); - - function TakeUntilSubscriber(destination) { - var _this; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__["default"])(this, TakeUntilSubscriber); - - _this = _super.call(this, destination); - _this.seenValue = false; - return _this; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__["default"])(TakeUntilSubscriber, [{ - key: "notifyNext", - value: function notifyNext() { - this.seenValue = true; - this.complete(); - } - }, { - key: "notifyComplete", - value: function notifyComplete() {} - }]); - - return TakeUntilSubscriber; -}(_innerSubscribe__WEBPACK_IMPORTED_MODULE_4__["SimpleOuterSubscriber"]); //# sourceMappingURL=takeUntil.js.map - -/***/ }), - -/***/ "1OyB": -/*!*******************************************************************!*\ - !*** ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***! - \*******************************************************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _classCallCheck; }); -function _classCallCheck(instance, Constructor) { - if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); - } -} - -/***/ }), - -/***/ "1Ykd": -/*!*********************************************************************!*\ - !*** ./node_modules/rxjs/_esm2015/internal/operators/sampleTime.js ***! - \*********************************************************************/ -/*! exports provided: sampleTime */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sampleTime", function() { return sampleTime; }); -/* harmony import */ var C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized */ "JX7q"); -/* harmony import */ var C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/inherits */ "Ji7U"); -/* harmony import */ var C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createSuper */ "LK+K"); -/* harmony import */ var C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/classCallCheck */ "1OyB"); -/* harmony import */ var C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createClass */ "vuIU"); -/* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../Subscriber */ "7o/Q"); -/* harmony import */ var _scheduler_async__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../scheduler/async */ "D0XW"); - - - - - - - -function sampleTime(period) { - var scheduler = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _scheduler_async__WEBPACK_IMPORTED_MODULE_6__["async"]; - return function (source) { - return source.lift(new SampleTimeOperator(period, scheduler)); - }; -} - -var SampleTimeOperator = /*#__PURE__*/function () { - function SampleTimeOperator(period, scheduler) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_3__["default"])(this, SampleTimeOperator); - - this.period = period; - this.scheduler = scheduler; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_4__["default"])(SampleTimeOperator, [{ - key: "call", - value: function call(subscriber, source) { - return source.subscribe(new SampleTimeSubscriber(subscriber, this.period, this.scheduler)); - } - }]); - - return SampleTimeOperator; -}(); - -var SampleTimeSubscriber = /*#__PURE__*/function (_Subscriber) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_1__["default"])(SampleTimeSubscriber, _Subscriber); - - var _super = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_2__["default"])(SampleTimeSubscriber); - - function SampleTimeSubscriber(destination, period, scheduler) { - var _this; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_3__["default"])(this, SampleTimeSubscriber); - - _this = _super.call(this, destination); - _this.period = period; - _this.scheduler = scheduler; - _this.hasValue = false; - - _this.add(scheduler.schedule(dispatchNotification, period, { - subscriber: Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_0__["default"])(_this), - period: period - })); - - return _this; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_4__["default"])(SampleTimeSubscriber, [{ - key: "_next", - value: function _next(value) { - this.lastValue = value; - this.hasValue = true; - } - }, { - key: "notifyNext", - value: function notifyNext() { - if (this.hasValue) { - this.hasValue = false; - this.destination.next(this.lastValue); - } - } - }]); - - return SampleTimeSubscriber; -}(_Subscriber__WEBPACK_IMPORTED_MODULE_5__["Subscriber"]); - -function dispatchNotification(state) { - var subscriber = state.subscriber, - period = state.period; - subscriber.notifyNext(); - this.schedule(state, period); -} //# sourceMappingURL=sampleTime.js.map - -/***/ }), - -/***/ "1uSB": -/*!*************************************************************!*\ - !*** ./node_modules/@angular/compiler/fesm2015/compiler.js ***! - \*************************************************************/ -/*! exports provided: AST, ASTWithName, ASTWithSource, AbsoluteSourceSpan, AotCompiler, AotSummaryResolver, ArrayType, AssertNotNull, AstMemoryEfficientTransformer, AstPath, AstTransformer, AttrAst, Attribute, Binary, BinaryOperator, BinaryOperatorExpr, BindingPipe, BoundDirectivePropertyAst, BoundElementProperty, BoundElementPropertyAst, BoundEventAst, BoundTextAst, BuiltinMethod, BuiltinType, BuiltinTypeName, BuiltinVar, CONTENT_ATTR, CUSTOM_ELEMENTS_SCHEMA, CastExpr, Chain, ClassField, ClassMethod, ClassStmt, CommaExpr, Comment, CompileDirectiveMetadata, CompileMetadataResolver, CompileNgModuleMetadata, CompilePipeMetadata, CompileReflector, CompileShallowModuleMetadata, CompileStylesheetMetadata, CompileSummaryKind, CompileTemplateMetadata, CompiledStylesheet, CompilerConfig, Conditional, ConditionalExpr, ConstantPool, CssSelector, DEFAULT_INTERPOLATION_CONFIG, DYNAMIC_TYPE, DeclareFunctionStmt, DeclareVarStmt, DirectiveAst, DirectiveNormalizer, DirectiveResolver, DomElementSchemaRegistry, EOF, ERROR_COMPONENT_TYPE, Element, ElementAst, ElementSchemaRegistry, EmbeddedTemplateAst, EmitterVisitorContext, EmptyExpr, Expansion, ExpansionCase, Expression, ExpressionBinding, ExpressionStatement, ExpressionType, ExternalExpr, ExternalReference, Extractor, FunctionCall, FunctionExpr, GeneratedFile, HOST_ATTR, HtmlParser, HtmlTagDefinition, I18NHtmlParser, Identifiers, IfStmt, ImplicitReceiver, InstantiateExpr, Interpolation, InterpolationConfig, InvokeFunctionExpr, InvokeMethodExpr, IvyParser, JSDocComment, JitCompiler, JitEvaluator, JitSummaryResolver, KeyedRead, KeyedWrite, LeadingComment, Lexer, LiteralArray, LiteralArrayExpr, LiteralExpr, LiteralMap, LiteralMapExpr, LiteralPrimitive, LocalizedString, MapType, MessageBundle, MethodCall, NAMED_ENTITIES, NGSP_UNICODE, NONE_TYPE, NO_ERRORS_SCHEMA, NgContentAst, NgModuleCompiler, NgModuleResolver, NodeWithI18n, NonNullAssert, NotExpr, NullTemplateVisitor, ParseError, ParseErrorLevel, ParseLocation, ParseSourceFile, ParseSourceSpan, ParseSpan, ParseTreeResult, ParsedEvent, ParsedProperty, ParsedPropertyType, ParsedVariable, Parser, ParserError, PipeResolver, PrefixNot, PropertyRead, PropertyWrite, ProviderAst, ProviderAstType, ProviderMeta, Quote, R3BoundTarget, R3FactoryTarget, R3Identifiers, R3ResolvedDependencyType, R3TargetBinder, ReadKeyExpr, ReadPropExpr, ReadVarExpr, RecursiveAstVisitor, RecursiveTemplateAstVisitor, RecursiveVisitor, ReferenceAst, ResolvedStaticSymbol, ResourceLoader, ReturnStatement, STRING_TYPE, SafeMethodCall, SafePropertyRead, SelectorContext, SelectorListContext, SelectorMatcher, Serializer, SplitInterpolation, Statement, StaticReflector, StaticSymbol, StaticSymbolCache, StaticSymbolResolver, StmtModifier, StyleCompiler, StylesCompileDependency, SummaryResolver, TagContentType, TaggedTemplateExpr, TemplateBindingParseResult, TemplateLiteral, TemplateLiteralElement, TemplateParseError, TemplateParseResult, TemplateParser, Text, TextAst, ThisReceiver, ThrowStmt, TmplAstBoundAttribute, TmplAstBoundEvent, TmplAstBoundText, TmplAstContent, TmplAstElement, TmplAstIcu, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate, TmplAstText, TmplAstTextAttribute, TmplAstVariable, Token, TokenType, TransitiveCompileNgModuleMetadata, TreeError, TryCatchStmt, Type, TypeScriptEmitter, TypeofExpr, Unary, UnaryOperator, UnaryOperatorExpr, UrlResolver, VERSION, VariableAst, VariableBinding, Version, ViewCompiler, WrappedNodeExpr, WriteKeyExpr, WritePropExpr, WriteVarExpr, Xliff, Xliff2, Xmb, XmlParser, Xtb, _ParseAST, analyzeAndValidateNgModules, analyzeFile, analyzeFileForInjectables, analyzeNgModules, collectExternalReferences, compileComponentFromMetadata, compileDeclareComponentFromMetadata, compileDeclareDirectiveFromMetadata, compileDeclarePipeFromMetadata, compileDirectiveFromMetadata, compileFactoryFunction, compileInjectable, compileInjector, compileNgModule, compilePipeFromMetadata, componentFactoryName, computeMsgId, core, createAotCompiler, createAotUrlResolver, createElementCssSelector, createLoweredSymbol, createOfflineCompileUrlResolver, createUrlResolverWithoutPackagePrefix, debugOutputAstAsTypeScript, devOnlyGuardedExpression, findNode, flatten, formattedError, getHtmlTagDefinition, getNsPrefix, getParseErrors, getSafePropertyAccessString, getUrlScheme, hostViewClassName, identifierModuleUrl, identifierName, isEmptyExpression, isFormattedError, isIdentifier, isLoweredSymbol, isNgContainer, isNgContent, isNgTemplate, isQuote, isSyntaxError, jsDocComment, leadingComment, literalMap, makeBindingParser, mergeAnalyzedFiles, mergeNsAndName, ngModuleJitUrl, parseHostBindings, parseTemplate, preserveWhitespacesDefault, publishFacade, r3JitTypeSourceSpan, removeSummaryDuplicates, rendererTypeName, sanitizeIdentifier, sharedStylesheetJitUrl, splitClasses, splitNsName, syntaxError, templateJitUrl, templateSourceUrl, templateVisitAll, toTypeScript, tokenName, tokenReference, typeSourceSpan, unescapeIdentifier, unwrapResolvedMetadata, verifyHostBindings, viewClassName, visitAll */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AST", function() { return AST; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ASTWithName", function() { return ASTWithName; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ASTWithSource", function() { return ASTWithSource; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AbsoluteSourceSpan", function() { return AbsoluteSourceSpan; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AotCompiler", function() { return AotCompiler; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AotSummaryResolver", function() { return AotSummaryResolver; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ArrayType", function() { return ArrayType; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AssertNotNull", function() { return AssertNotNull; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AstMemoryEfficientTransformer", function() { return AstMemoryEfficientTransformer; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AstPath", function() { return AstPath; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AstTransformer", function() { return AstTransformer$1; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AttrAst", function() { return AttrAst; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Attribute", function() { return Attribute; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Binary", function() { return Binary; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BinaryOperator", function() { return BinaryOperator; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BinaryOperatorExpr", function() { return BinaryOperatorExpr; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BindingPipe", function() { return BindingPipe; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BoundDirectivePropertyAst", function() { return BoundDirectivePropertyAst; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BoundElementProperty", function() { return BoundElementProperty; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BoundElementPropertyAst", function() { return BoundElementPropertyAst; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BoundEventAst", function() { return BoundEventAst; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BoundTextAst", function() { return BoundTextAst; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BuiltinMethod", function() { return BuiltinMethod; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BuiltinType", function() { return BuiltinType; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BuiltinTypeName", function() { return BuiltinTypeName; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BuiltinVar", function() { return BuiltinVar; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CONTENT_ATTR", function() { return CONTENT_ATTR; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CUSTOM_ELEMENTS_SCHEMA", function() { return CUSTOM_ELEMENTS_SCHEMA; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CastExpr", function() { return CastExpr; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Chain", function() { return Chain; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ClassField", function() { return ClassField; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ClassMethod", function() { return ClassMethod; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ClassStmt", function() { return ClassStmt; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CommaExpr", function() { return CommaExpr; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Comment", function() { return Comment$1; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CompileDirectiveMetadata", function() { return CompileDirectiveMetadata; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CompileMetadataResolver", function() { return CompileMetadataResolver; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CompileNgModuleMetadata", function() { return CompileNgModuleMetadata; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CompilePipeMetadata", function() { return CompilePipeMetadata; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CompileReflector", function() { return CompileReflector; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CompileShallowModuleMetadata", function() { return CompileShallowModuleMetadata; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CompileStylesheetMetadata", function() { return CompileStylesheetMetadata; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CompileSummaryKind", function() { return CompileSummaryKind; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CompileTemplateMetadata", function() { return CompileTemplateMetadata; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CompiledStylesheet", function() { return CompiledStylesheet; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CompilerConfig", function() { return CompilerConfig; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Conditional", function() { return Conditional; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConditionalExpr", function() { return ConditionalExpr; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConstantPool", function() { return ConstantPool; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CssSelector", function() { return CssSelector; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DEFAULT_INTERPOLATION_CONFIG", function() { return DEFAULT_INTERPOLATION_CONFIG; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DYNAMIC_TYPE", function() { return DYNAMIC_TYPE; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DeclareFunctionStmt", function() { return DeclareFunctionStmt; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DeclareVarStmt", function() { return DeclareVarStmt; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DirectiveAst", function() { return DirectiveAst; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DirectiveNormalizer", function() { return DirectiveNormalizer; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DirectiveResolver", function() { return DirectiveResolver; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DomElementSchemaRegistry", function() { return DomElementSchemaRegistry; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EOF", function() { return EOF; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ERROR_COMPONENT_TYPE", function() { return ERROR_COMPONENT_TYPE; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Element", function() { return Element$1; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ElementAst", function() { return ElementAst; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ElementSchemaRegistry", function() { return ElementSchemaRegistry; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EmbeddedTemplateAst", function() { return EmbeddedTemplateAst; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EmitterVisitorContext", function() { return EmitterVisitorContext; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EmptyExpr", function() { return EmptyExpr; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Expansion", function() { return Expansion; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ExpansionCase", function() { return ExpansionCase; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Expression", function() { return Expression; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ExpressionBinding", function() { return ExpressionBinding; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ExpressionStatement", function() { return ExpressionStatement; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ExpressionType", function() { return ExpressionType; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ExternalExpr", function() { return ExternalExpr; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ExternalReference", function() { return ExternalReference; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Extractor", function() { return Extractor; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FunctionCall", function() { return FunctionCall; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FunctionExpr", function() { return FunctionExpr; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GeneratedFile", function() { return GeneratedFile; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "HOST_ATTR", function() { return HOST_ATTR; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "HtmlParser", function() { return HtmlParser; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "HtmlTagDefinition", function() { return HtmlTagDefinition; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "I18NHtmlParser", function() { return I18NHtmlParser; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Identifiers", function() { return Identifiers; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "IfStmt", function() { return IfStmt; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ImplicitReceiver", function() { return ImplicitReceiver; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "InstantiateExpr", function() { return InstantiateExpr; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Interpolation", function() { return Interpolation; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "InterpolationConfig", function() { return InterpolationConfig; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "InvokeFunctionExpr", function() { return InvokeFunctionExpr; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "InvokeMethodExpr", function() { return InvokeMethodExpr; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "IvyParser", function() { return IvyParser; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "JSDocComment", function() { return JSDocComment; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "JitCompiler", function() { return JitCompiler; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "JitEvaluator", function() { return JitEvaluator; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "JitSummaryResolver", function() { return JitSummaryResolver; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "KeyedRead", function() { return KeyedRead; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "KeyedWrite", function() { return KeyedWrite; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LeadingComment", function() { return LeadingComment; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Lexer", function() { return Lexer; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LiteralArray", function() { return LiteralArray; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LiteralArrayExpr", function() { return LiteralArrayExpr; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LiteralExpr", function() { return LiteralExpr; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LiteralMap", function() { return LiteralMap; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LiteralMapExpr", function() { return LiteralMapExpr; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LiteralPrimitive", function() { return LiteralPrimitive; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LocalizedString", function() { return LocalizedString; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MapType", function() { return MapType; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MessageBundle", function() { return MessageBundle; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MethodCall", function() { return MethodCall; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NAMED_ENTITIES", function() { return NAMED_ENTITIES; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NGSP_UNICODE", function() { return NGSP_UNICODE; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NONE_TYPE", function() { return NONE_TYPE; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NO_ERRORS_SCHEMA", function() { return NO_ERRORS_SCHEMA; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NgContentAst", function() { return NgContentAst; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NgModuleCompiler", function() { return NgModuleCompiler; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NgModuleResolver", function() { return NgModuleResolver; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NodeWithI18n", function() { return NodeWithI18n; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NonNullAssert", function() { return NonNullAssert; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NotExpr", function() { return NotExpr; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NullTemplateVisitor", function() { return NullTemplateVisitor; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ParseError", function() { return ParseError; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ParseErrorLevel", function() { return ParseErrorLevel; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ParseLocation", function() { return ParseLocation; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ParseSourceFile", function() { return ParseSourceFile; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ParseSourceSpan", function() { return ParseSourceSpan; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ParseSpan", function() { return ParseSpan; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ParseTreeResult", function() { return ParseTreeResult; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ParsedEvent", function() { return ParsedEvent; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ParsedProperty", function() { return ParsedProperty; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ParsedPropertyType", function() { return ParsedPropertyType; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ParsedVariable", function() { return ParsedVariable; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Parser", function() { return Parser$1; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ParserError", function() { return ParserError; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PipeResolver", function() { return PipeResolver; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PrefixNot", function() { return PrefixNot; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PropertyRead", function() { return PropertyRead; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PropertyWrite", function() { return PropertyWrite; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ProviderAst", function() { return ProviderAst; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ProviderAstType", function() { return ProviderAstType; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ProviderMeta", function() { return ProviderMeta; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Quote", function() { return Quote; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "R3BoundTarget", function() { return R3BoundTarget; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "R3FactoryTarget", function() { return R3FactoryTarget; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "R3Identifiers", function() { return Identifiers$1; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "R3ResolvedDependencyType", function() { return R3ResolvedDependencyType; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "R3TargetBinder", function() { return R3TargetBinder; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ReadKeyExpr", function() { return ReadKeyExpr; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ReadPropExpr", function() { return ReadPropExpr; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ReadVarExpr", function() { return ReadVarExpr; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RecursiveAstVisitor", function() { return RecursiveAstVisitor$1; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RecursiveTemplateAstVisitor", function() { return RecursiveTemplateAstVisitor; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RecursiveVisitor", function() { return RecursiveVisitor$1; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ReferenceAst", function() { return ReferenceAst; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ResolvedStaticSymbol", function() { return ResolvedStaticSymbol; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ResourceLoader", function() { return ResourceLoader; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ReturnStatement", function() { return ReturnStatement; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "STRING_TYPE", function() { return STRING_TYPE; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SafeMethodCall", function() { return SafeMethodCall; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SafePropertyRead", function() { return SafePropertyRead; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SelectorContext", function() { return SelectorContext; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SelectorListContext", function() { return SelectorListContext; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SelectorMatcher", function() { return SelectorMatcher; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Serializer", function() { return Serializer; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SplitInterpolation", function() { return SplitInterpolation; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Statement", function() { return Statement; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StaticReflector", function() { return StaticReflector; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StaticSymbol", function() { return StaticSymbol; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StaticSymbolCache", function() { return StaticSymbolCache; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StaticSymbolResolver", function() { return StaticSymbolResolver; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StmtModifier", function() { return StmtModifier; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StyleCompiler", function() { return StyleCompiler; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StylesCompileDependency", function() { return StylesCompileDependency; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SummaryResolver", function() { return SummaryResolver; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TagContentType", function() { return TagContentType; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TaggedTemplateExpr", function() { return TaggedTemplateExpr; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TemplateBindingParseResult", function() { return TemplateBindingParseResult; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TemplateLiteral", function() { return TemplateLiteral; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TemplateLiteralElement", function() { return TemplateLiteralElement; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TemplateParseError", function() { return TemplateParseError; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TemplateParseResult", function() { return TemplateParseResult; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TemplateParser", function() { return TemplateParser; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Text", function() { return Text$3; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TextAst", function() { return TextAst; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ThisReceiver", function() { return ThisReceiver; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ThrowStmt", function() { return ThrowStmt; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TmplAstBoundAttribute", function() { return BoundAttribute; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TmplAstBoundEvent", function() { return BoundEvent; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TmplAstBoundText", function() { return BoundText; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TmplAstContent", function() { return Content; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TmplAstElement", function() { return Element; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TmplAstIcu", function() { return Icu; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TmplAstRecursiveVisitor", function() { return RecursiveVisitor; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TmplAstReference", function() { return Reference; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TmplAstTemplate", function() { return Template; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TmplAstText", function() { return Text; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TmplAstTextAttribute", function() { return TextAttribute; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TmplAstVariable", function() { return Variable; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Token", function() { return Token$1; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TokenType", function() { return TokenType$1; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TransitiveCompileNgModuleMetadata", function() { return TransitiveCompileNgModuleMetadata; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TreeError", function() { return TreeError; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TryCatchStmt", function() { return TryCatchStmt; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Type", function() { return Type$1; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TypeScriptEmitter", function() { return TypeScriptEmitter; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TypeofExpr", function() { return TypeofExpr; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Unary", function() { return Unary; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "UnaryOperator", function() { return UnaryOperator; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "UnaryOperatorExpr", function() { return UnaryOperatorExpr; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "UrlResolver", function() { return UrlResolver; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VERSION", function() { return VERSION$1; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VariableAst", function() { return VariableAst; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VariableBinding", function() { return VariableBinding; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Version", function() { return Version; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ViewCompiler", function() { return ViewCompiler; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "WrappedNodeExpr", function() { return WrappedNodeExpr; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "WriteKeyExpr", function() { return WriteKeyExpr; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "WritePropExpr", function() { return WritePropExpr; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "WriteVarExpr", function() { return WriteVarExpr; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Xliff", function() { return Xliff; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Xliff2", function() { return Xliff2; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Xmb", function() { return Xmb; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "XmlParser", function() { return XmlParser; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Xtb", function() { return Xtb; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_ParseAST", function() { return _ParseAST; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "analyzeAndValidateNgModules", function() { return analyzeAndValidateNgModules; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "analyzeFile", function() { return analyzeFile; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "analyzeFileForInjectables", function() { return analyzeFileForInjectables; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "analyzeNgModules", function() { return analyzeNgModules; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "collectExternalReferences", function() { return collectExternalReferences; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "compileComponentFromMetadata", function() { return compileComponentFromMetadata; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "compileDeclareComponentFromMetadata", function() { return compileDeclareComponentFromMetadata; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "compileDeclareDirectiveFromMetadata", function() { return compileDeclareDirectiveFromMetadata; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "compileDeclarePipeFromMetadata", function() { return compileDeclarePipeFromMetadata; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "compileDirectiveFromMetadata", function() { return compileDirectiveFromMetadata; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "compileFactoryFunction", function() { return compileFactoryFunction; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "compileInjectable", function() { return _compileInjectable; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "compileInjector", function() { return _compileInjector; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "compileNgModule", function() { return _compileNgModule; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "compilePipeFromMetadata", function() { return compilePipeFromMetadata; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "componentFactoryName", function() { return componentFactoryName; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "computeMsgId", function() { return computeMsgId; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "core", function() { return core; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createAotCompiler", function() { return createAotCompiler; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createAotUrlResolver", function() { return createAotUrlResolver; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createElementCssSelector", function() { return createElementCssSelector; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createLoweredSymbol", function() { return createLoweredSymbol; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createOfflineCompileUrlResolver", function() { return createOfflineCompileUrlResolver; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createUrlResolverWithoutPackagePrefix", function() { return createUrlResolverWithoutPackagePrefix; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "debugOutputAstAsTypeScript", function() { return debugOutputAstAsTypeScript; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "devOnlyGuardedExpression", function() { return devOnlyGuardedExpression; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "findNode", function() { return findNode; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "flatten", function() { return flatten; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "formattedError", function() { return formattedError; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getHtmlTagDefinition", function() { return getHtmlTagDefinition; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getNsPrefix", function() { return getNsPrefix; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getParseErrors", function() { return getParseErrors; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getSafePropertyAccessString", function() { return getSafePropertyAccessString; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getUrlScheme", function() { return getUrlScheme; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "hostViewClassName", function() { return hostViewClassName; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "identifierModuleUrl", function() { return identifierModuleUrl; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "identifierName", function() { return identifierName; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isEmptyExpression", function() { return isEmptyExpression; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isFormattedError", function() { return isFormattedError; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isIdentifier", function() { return isIdentifier; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isLoweredSymbol", function() { return isLoweredSymbol; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isNgContainer", function() { return isNgContainer; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isNgContent", function() { return isNgContent; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isNgTemplate", function() { return isNgTemplate; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isQuote", function() { return isQuote; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isSyntaxError", function() { return isSyntaxError; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "jsDocComment", function() { return jsDocComment; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "leadingComment", function() { return leadingComment; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "literalMap", function() { return literalMap; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "makeBindingParser", function() { return makeBindingParser; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "mergeAnalyzedFiles", function() { return mergeAnalyzedFiles; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "mergeNsAndName", function() { return mergeNsAndName; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ngModuleJitUrl", function() { return ngModuleJitUrl; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "parseHostBindings", function() { return parseHostBindings; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "parseTemplate", function() { return parseTemplate; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "preserveWhitespacesDefault", function() { return preserveWhitespacesDefault; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "publishFacade", function() { return publishFacade; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "r3JitTypeSourceSpan", function() { return r3JitTypeSourceSpan; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "removeSummaryDuplicates", function() { return removeSummaryDuplicates; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "rendererTypeName", function() { return rendererTypeName; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sanitizeIdentifier", function() { return sanitizeIdentifier; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sharedStylesheetJitUrl", function() { return sharedStylesheetJitUrl; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "splitClasses", function() { return splitClasses; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "splitNsName", function() { return splitNsName; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "syntaxError", function() { return syntaxError; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "templateJitUrl", function() { return templateJitUrl; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "templateSourceUrl", function() { return templateSourceUrl; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "templateVisitAll", function() { return templateVisitAll; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "toTypeScript", function() { return toTypeScript; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "tokenName", function() { return tokenName; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "tokenReference", function() { return tokenReference; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "typeSourceSpan", function() { return typeSourceSpan; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "unescapeIdentifier", function() { return unescapeIdentifier; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "unwrapResolvedMetadata", function() { return unwrapResolvedMetadata; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "verifyHostBindings", function() { return verifyHostBindings; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "viewClassName", function() { return viewClassName; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "visitAll", function() { return visitAll$1; }); -/* harmony import */ var C_pitch_ng_walkthrough_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/regenerator */ "o0o1"); -/* harmony import */ var C_pitch_ng_walkthrough_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(C_pitch_ng_walkthrough_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty */ "rePB"); -/* harmony import */ var C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn */ "md7G"); -/* harmony import */ var C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_toArray__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/toArray */ "T5bk"); -/* harmony import */ var C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_construct__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/construct */ "RHh3"); -/* harmony import */ var C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/slicedToArray */ "ODXe"); -/* harmony import */ var C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized */ "JX7q"); -/* harmony import */ var C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createForOfIteratorHelper__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper */ "uFwe"); -/* harmony import */ var C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/get */ "ReuC"); -/* harmony import */ var C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf */ "foSv"); -/* harmony import */ var C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/inherits */ "Ji7U"); -/* harmony import */ var C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createSuper */ "LK+K"); -/* harmony import */ var C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/toConsumableArray */ "KQm4"); -/* harmony import */ var C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/classCallCheck */ "1OyB"); -/* harmony import */ var C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/createClass */ "vuIU"); - - - - - - - - - - - - - - - - -var _BoundPropertyMapping; - -/** - * @license Angular v11.2.9 - * (c) 2010-2021 Google LLC. https://angular.io/ - * License: MIT - */ - -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var TagContentType; - -(function (TagContentType) { - TagContentType[TagContentType["RAW_TEXT"] = 0] = "RAW_TEXT"; - TagContentType[TagContentType["ESCAPABLE_RAW_TEXT"] = 1] = "ESCAPABLE_RAW_TEXT"; - TagContentType[TagContentType["PARSABLE_DATA"] = 2] = "PARSABLE_DATA"; -})(TagContentType || (TagContentType = {})); - -function splitNsName(elementName) { - if (elementName[0] != ':') { - return [null, elementName]; - } - - var colonIndex = elementName.indexOf(':', 1); - - if (colonIndex == -1) { - throw new Error("Unsupported format \"".concat(elementName, "\" expecting \":namespace:name\"")); - } - - return [elementName.slice(1, colonIndex), elementName.slice(colonIndex + 1)]; -} // `` tags work the same regardless the namespace - - -function isNgContainer(tagName) { - return splitNsName(tagName)[1] === 'ng-container'; -} // `` tags work the same regardless the namespace - - -function isNgContent(tagName) { - return splitNsName(tagName)[1] === 'ng-content'; -} // `` tags work the same regardless the namespace - - -function isNgTemplate(tagName) { - return splitNsName(tagName)[1] === 'ng-template'; -} - -function getNsPrefix(fullName) { - return fullName === null ? null : splitNsName(fullName)[0]; -} - -function mergeNsAndName(prefix, localName) { - return prefix ? ":".concat(prefix, ":").concat(localName) : localName; -} // see https://www.w3.org/TR/html51/syntax.html#named-character-references -// see https://html.spec.whatwg.org/multipage/entities.json -// This list is not exhaustive to keep the compiler footprint low. -// The `{` / `ƫ` syntax should be used when the named character reference does not -// exist. - - -var NAMED_ENTITIES = { - 'Aacute': "\xC1", - 'aacute': "\xE1", - 'Acirc': "\xC2", - 'acirc': "\xE2", - 'acute': "\xB4", - 'AElig': "\xC6", - 'aelig': "\xE6", - 'Agrave': "\xC0", - 'agrave': "\xE0", - 'alefsym': "\u2135", - 'Alpha': "\u0391", - 'alpha': "\u03B1", - 'amp': '&', - 'and': "\u2227", - 'ang': "\u2220", - 'apos': "'", - 'Aring': "\xC5", - 'aring': "\xE5", - 'asymp': "\u2248", - 'Atilde': "\xC3", - 'atilde': "\xE3", - 'Auml': "\xC4", - 'auml': "\xE4", - 'bdquo': "\u201E", - 'Beta': "\u0392", - 'beta': "\u03B2", - 'brvbar': "\xA6", - 'bull': "\u2022", - 'cap': "\u2229", - 'Ccedil': "\xC7", - 'ccedil': "\xE7", - 'cedil': "\xB8", - 'cent': "\xA2", - 'Chi': "\u03A7", - 'chi': "\u03C7", - 'circ': "\u02C6", - 'clubs': "\u2663", - 'cong': "\u2245", - 'copy': "\xA9", - 'crarr': "\u21B5", - 'cup': "\u222A", - 'curren': "\xA4", - 'dagger': "\u2020", - 'Dagger': "\u2021", - 'darr': "\u2193", - 'dArr': "\u21D3", - 'deg': "\xB0", - 'Delta': "\u0394", - 'delta': "\u03B4", - 'diams': "\u2666", - 'divide': "\xF7", - 'Eacute': "\xC9", - 'eacute': "\xE9", - 'Ecirc': "\xCA", - 'ecirc': "\xEA", - 'Egrave': "\xC8", - 'egrave': "\xE8", - 'empty': "\u2205", - 'emsp': "\u2003", - 'ensp': "\u2002", - 'Epsilon': "\u0395", - 'epsilon': "\u03B5", - 'equiv': "\u2261", - 'Eta': "\u0397", - 'eta': "\u03B7", - 'ETH': "\xD0", - 'eth': "\xF0", - 'Euml': "\xCB", - 'euml': "\xEB", - 'euro': "\u20AC", - 'exist': "\u2203", - 'fnof': "\u0192", - 'forall': "\u2200", - 'frac12': "\xBD", - 'frac14': "\xBC", - 'frac34': "\xBE", - 'frasl': "\u2044", - 'Gamma': "\u0393", - 'gamma': "\u03B3", - 'ge': "\u2265", - 'gt': '>', - 'harr': "\u2194", - 'hArr': "\u21D4", - 'hearts': "\u2665", - 'hellip': "\u2026", - 'Iacute': "\xCD", - 'iacute': "\xED", - 'Icirc': "\xCE", - 'icirc': "\xEE", - 'iexcl': "\xA1", - 'Igrave': "\xCC", - 'igrave': "\xEC", - 'image': "\u2111", - 'infin': "\u221E", - 'int': "\u222B", - 'Iota': "\u0399", - 'iota': "\u03B9", - 'iquest': "\xBF", - 'isin': "\u2208", - 'Iuml': "\xCF", - 'iuml': "\xEF", - 'Kappa': "\u039A", - 'kappa': "\u03BA", - 'Lambda': "\u039B", - 'lambda': "\u03BB", - 'lang': "\u27E8", - 'laquo': "\xAB", - 'larr': "\u2190", - 'lArr': "\u21D0", - 'lceil': "\u2308", - 'ldquo': "\u201C", - 'le': "\u2264", - 'lfloor': "\u230A", - 'lowast': "\u2217", - 'loz': "\u25CA", - 'lrm': "\u200E", - 'lsaquo': "\u2039", - 'lsquo': "\u2018", - 'lt': '<', - 'macr': "\xAF", - 'mdash': "\u2014", - 'micro': "\xB5", - 'middot': "\xB7", - 'minus': "\u2212", - 'Mu': "\u039C", - 'mu': "\u03BC", - 'nabla': "\u2207", - 'nbsp': "\xA0", - 'ndash': "\u2013", - 'ne': "\u2260", - 'ni': "\u220B", - 'not': "\xAC", - 'notin': "\u2209", - 'nsub': "\u2284", - 'Ntilde': "\xD1", - 'ntilde': "\xF1", - 'Nu': "\u039D", - 'nu': "\u03BD", - 'Oacute': "\xD3", - 'oacute': "\xF3", - 'Ocirc': "\xD4", - 'ocirc': "\xF4", - 'OElig': "\u0152", - 'oelig': "\u0153", - 'Ograve': "\xD2", - 'ograve': "\xF2", - 'oline': "\u203E", - 'Omega': "\u03A9", - 'omega': "\u03C9", - 'Omicron': "\u039F", - 'omicron': "\u03BF", - 'oplus': "\u2295", - 'or': "\u2228", - 'ordf': "\xAA", - 'ordm': "\xBA", - 'Oslash': "\xD8", - 'oslash': "\xF8", - 'Otilde': "\xD5", - 'otilde': "\xF5", - 'otimes': "\u2297", - 'Ouml': "\xD6", - 'ouml': "\xF6", - 'para': "\xB6", - 'permil': "\u2030", - 'perp': "\u22A5", - 'Phi': "\u03A6", - 'phi': "\u03C6", - 'Pi': "\u03A0", - 'pi': "\u03C0", - 'piv': "\u03D6", - 'plusmn': "\xB1", - 'pound': "\xA3", - 'prime': "\u2032", - 'Prime': "\u2033", - 'prod': "\u220F", - 'prop': "\u221D", - 'Psi': "\u03A8", - 'psi': "\u03C8", - 'quot': "\"", - 'radic': "\u221A", - 'rang': "\u27E9", - 'raquo': "\xBB", - 'rarr': "\u2192", - 'rArr': "\u21D2", - 'rceil': "\u2309", - 'rdquo': "\u201D", - 'real': "\u211C", - 'reg': "\xAE", - 'rfloor': "\u230B", - 'Rho': "\u03A1", - 'rho': "\u03C1", - 'rlm': "\u200F", - 'rsaquo': "\u203A", - 'rsquo': "\u2019", - 'sbquo': "\u201A", - 'Scaron': "\u0160", - 'scaron': "\u0161", - 'sdot': "\u22C5", - 'sect': "\xA7", - 'shy': "\xAD", - 'Sigma': "\u03A3", - 'sigma': "\u03C3", - 'sigmaf': "\u03C2", - 'sim': "\u223C", - 'spades': "\u2660", - 'sub': "\u2282", - 'sube': "\u2286", - 'sum': "\u2211", - 'sup': "\u2283", - 'sup1': "\xB9", - 'sup2': "\xB2", - 'sup3': "\xB3", - 'supe': "\u2287", - 'szlig': "\xDF", - 'Tau': "\u03A4", - 'tau': "\u03C4", - 'there4': "\u2234", - 'Theta': "\u0398", - 'theta': "\u03B8", - 'thetasym': "\u03D1", - 'thinsp': "\u2009", - 'THORN': "\xDE", - 'thorn': "\xFE", - 'tilde': "\u02DC", - 'times': "\xD7", - 'trade': "\u2122", - 'Uacute': "\xDA", - 'uacute': "\xFA", - 'uarr': "\u2191", - 'uArr': "\u21D1", - 'Ucirc': "\xDB", - 'ucirc': "\xFB", - 'Ugrave': "\xD9", - 'ugrave': "\xF9", - 'uml': "\xA8", - 'upsih': "\u03D2", - 'Upsilon': "\u03A5", - 'upsilon': "\u03C5", - 'Uuml': "\xDC", - 'uuml': "\xFC", - 'weierp': "\u2118", - 'Xi': "\u039E", - 'xi': "\u03BE", - 'Yacute': "\xDD", - 'yacute': "\xFD", - 'yen': "\xA5", - 'yuml': "\xFF", - 'Yuml': "\u0178", - 'Zeta': "\u0396", - 'zeta': "\u03B6", - 'zwj': "\u200D", - 'zwnj': "\u200C" -}; // The &ngsp; pseudo-entity is denoting a space. see: -// https://github.com/dart-lang/angular/blob/0bb611387d29d65b5af7f9d2515ab571fd3fbee4/_tests/test/compiler/preserve_whitespace_test.dart - -var NGSP_UNICODE = "\uE500"; -NAMED_ENTITIES['ngsp'] = NGSP_UNICODE; -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - -var HtmlTagDefinition = /*#__PURE__*/function () { - function HtmlTagDefinition() { - var _this = this; - - var _ref2 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, - closedByChildren = _ref2.closedByChildren, - implicitNamespacePrefix = _ref2.implicitNamespacePrefix, - _ref2$contentType = _ref2.contentType, - contentType = _ref2$contentType === void 0 ? TagContentType.PARSABLE_DATA : _ref2$contentType, - _ref2$closedByParent = _ref2.closedByParent, - closedByParent = _ref2$closedByParent === void 0 ? false : _ref2$closedByParent, - _ref2$isVoid = _ref2.isVoid, - isVoid = _ref2$isVoid === void 0 ? false : _ref2$isVoid, - _ref2$ignoreFirstLf = _ref2.ignoreFirstLf, - ignoreFirstLf = _ref2$ignoreFirstLf === void 0 ? false : _ref2$ignoreFirstLf, - _ref2$preventNamespac = _ref2.preventNamespaceInheritance, - preventNamespaceInheritance = _ref2$preventNamespac === void 0 ? false : _ref2$preventNamespac; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, HtmlTagDefinition); - - this.closedByChildren = {}; - this.closedByParent = false; - this.canSelfClose = false; - - if (closedByChildren && closedByChildren.length > 0) { - closedByChildren.forEach(function (tagName) { - return _this.closedByChildren[tagName] = true; - }); - } - - this.isVoid = isVoid; - this.closedByParent = closedByParent || isVoid; - this.implicitNamespacePrefix = implicitNamespacePrefix || null; - this.contentType = contentType; - this.ignoreFirstLf = ignoreFirstLf; - this.preventNamespaceInheritance = preventNamespaceInheritance; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(HtmlTagDefinition, [{ - key: "isClosedByChild", - value: function isClosedByChild(name) { - return this.isVoid || name.toLowerCase() in this.closedByChildren; - } - }, { - key: "getContentType", - value: function getContentType(prefix) { - if (typeof this.contentType === 'object') { - var overrideType = prefix == null ? undefined : this.contentType[prefix]; - return overrideType !== null && overrideType !== void 0 ? overrideType : this.contentType.default; - } - - return this.contentType; - } - }]); - - return HtmlTagDefinition; -}(); - -var _DEFAULT_TAG_DEFINITION; // see https://www.w3.org/TR/html51/syntax.html#optional-tags -// This implementation does not fully conform to the HTML5 spec. - - -var TAG_DEFINITIONS; - -function getHtmlTagDefinition(tagName) { - var _a, _b; - - if (!TAG_DEFINITIONS) { - _DEFAULT_TAG_DEFINITION = new HtmlTagDefinition(); - TAG_DEFINITIONS = { - 'base': new HtmlTagDefinition({ - isVoid: true - }), - 'meta': new HtmlTagDefinition({ - isVoid: true - }), - 'area': new HtmlTagDefinition({ - isVoid: true - }), - 'embed': new HtmlTagDefinition({ - isVoid: true - }), - 'link': new HtmlTagDefinition({ - isVoid: true - }), - 'img': new HtmlTagDefinition({ - isVoid: true - }), - 'input': new HtmlTagDefinition({ - isVoid: true - }), - 'param': new HtmlTagDefinition({ - isVoid: true - }), - 'hr': new HtmlTagDefinition({ - isVoid: true - }), - 'br': new HtmlTagDefinition({ - isVoid: true - }), - 'source': new HtmlTagDefinition({ - isVoid: true - }), - 'track': new HtmlTagDefinition({ - isVoid: true - }), - 'wbr': new HtmlTagDefinition({ - isVoid: true - }), - 'p': new HtmlTagDefinition({ - closedByChildren: ['address', 'article', 'aside', 'blockquote', 'div', 'dl', 'fieldset', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'header', 'hgroup', 'hr', 'main', 'nav', 'ol', 'p', 'pre', 'section', 'table', 'ul'], - closedByParent: true - }), - 'thead': new HtmlTagDefinition({ - closedByChildren: ['tbody', 'tfoot'] - }), - 'tbody': new HtmlTagDefinition({ - closedByChildren: ['tbody', 'tfoot'], - closedByParent: true - }), - 'tfoot': new HtmlTagDefinition({ - closedByChildren: ['tbody'], - closedByParent: true - }), - 'tr': new HtmlTagDefinition({ - closedByChildren: ['tr'], - closedByParent: true - }), - 'td': new HtmlTagDefinition({ - closedByChildren: ['td', 'th'], - closedByParent: true - }), - 'th': new HtmlTagDefinition({ - closedByChildren: ['td', 'th'], - closedByParent: true - }), - 'col': new HtmlTagDefinition({ - isVoid: true - }), - 'svg': new HtmlTagDefinition({ - implicitNamespacePrefix: 'svg' - }), - 'foreignObject': new HtmlTagDefinition({ - // Usually the implicit namespace here would be redundant since it will be inherited from - // the parent `svg`, but we have to do it for `foreignObject`, because the way the parser - // works is that the parent node of an end tag is its own start tag which means that - // the `preventNamespaceInheritance` on `foreignObject` would have it default to the - // implicit namespace which is `html`, unless specified otherwise. - implicitNamespacePrefix: 'svg', - // We want to prevent children of foreignObject from inheriting its namespace, because - // the point of the element is to allow nodes from other namespaces to be inserted. - preventNamespaceInheritance: true - }), - 'math': new HtmlTagDefinition({ - implicitNamespacePrefix: 'math' - }), - 'li': new HtmlTagDefinition({ - closedByChildren: ['li'], - closedByParent: true - }), - 'dt': new HtmlTagDefinition({ - closedByChildren: ['dt', 'dd'] - }), - 'dd': new HtmlTagDefinition({ - closedByChildren: ['dt', 'dd'], - closedByParent: true - }), - 'rb': new HtmlTagDefinition({ - closedByChildren: ['rb', 'rt', 'rtc', 'rp'], - closedByParent: true - }), - 'rt': new HtmlTagDefinition({ - closedByChildren: ['rb', 'rt', 'rtc', 'rp'], - closedByParent: true - }), - 'rtc': new HtmlTagDefinition({ - closedByChildren: ['rb', 'rtc', 'rp'], - closedByParent: true - }), - 'rp': new HtmlTagDefinition({ - closedByChildren: ['rb', 'rt', 'rtc', 'rp'], - closedByParent: true - }), - 'optgroup': new HtmlTagDefinition({ - closedByChildren: ['optgroup'], - closedByParent: true - }), - 'option': new HtmlTagDefinition({ - closedByChildren: ['option', 'optgroup'], - closedByParent: true - }), - 'pre': new HtmlTagDefinition({ - ignoreFirstLf: true - }), - 'listing': new HtmlTagDefinition({ - ignoreFirstLf: true - }), - 'style': new HtmlTagDefinition({ - contentType: TagContentType.RAW_TEXT - }), - 'script': new HtmlTagDefinition({ - contentType: TagContentType.RAW_TEXT - }), - 'title': new HtmlTagDefinition({ - // The browser supports two separate `title` tags which have to use - // a different content type: `HTMLTitleElement` and `SVGTitleElement` - contentType: { - default: TagContentType.ESCAPABLE_RAW_TEXT, - svg: TagContentType.PARSABLE_DATA - } - }), - 'textarea': new HtmlTagDefinition({ - contentType: TagContentType.ESCAPABLE_RAW_TEXT, - ignoreFirstLf: true - }) - }; - } // We have to make both a case-sensitive and a case-insesitive lookup, because - // HTML tag names are case insensitive, whereas some SVG tags are case sensitive. - - - return (_b = (_a = TAG_DEFINITIONS[tagName]) !== null && _a !== void 0 ? _a : TAG_DEFINITIONS[tagName.toLowerCase()]) !== null && _b !== void 0 ? _b : _DEFAULT_TAG_DEFINITION; -} -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - -var _SELECTOR_REGEXP = new RegExp('(\\:not\\()|' + // 1: ":not(" -'(([\\.\\#]?)[-\\w]+)|' + // 2: "tag"; 3: "."/"#"; -// "-" should appear first in the regexp below as FF31 parses "[.-\w]" as a range -// 4: attribute; 5: attribute_string; 6: attribute_value -'(?:\\[([-.\\w*]+)(?:=([\"\']?)([^\\]\"\']*)\\5)?\\])|' + // "[name]", "[name=value]", -// "[name="value"]", -// "[name='value']" -'(\\))|' + // 7: ")" -'(\\s*,\\s*)', // 8: "," -'g'); -/** - * A css selector contains an element name, - * css classes and attribute/value pairs with the purpose - * of selecting subsets out of them. - */ - - -var CssSelector = /*#__PURE__*/function () { - function CssSelector() { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, CssSelector); - - this.element = null; - this.classNames = []; - /** - * The selectors are encoded in pairs where: - * - even locations are attribute names - * - odd locations are attribute values. - * - * Example: - * Selector: `[key1=value1][key2]` would parse to: - * ``` - * ['key1', 'value1', 'key2', ''] - * ``` - */ - - this.attrs = []; - this.notSelectors = []; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(CssSelector, [{ - key: "isElementSelector", - value: function isElementSelector() { - return this.hasElementSelector() && this.classNames.length == 0 && this.attrs.length == 0 && this.notSelectors.length === 0; - } - }, { - key: "hasElementSelector", - value: function hasElementSelector() { - return !!this.element; - } - }, { - key: "setElement", - value: function setElement() { - var element = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; - this.element = element; - } - /** Gets a template string for an element that matches the selector. */ - - }, { - key: "getMatchingElementTemplate", - value: function getMatchingElementTemplate() { - var tagName = this.element || 'div'; - var classAttr = this.classNames.length > 0 ? " class=\"".concat(this.classNames.join(' '), "\"") : ''; - var attrs = ''; - - for (var i = 0; i < this.attrs.length; i += 2) { - var attrName = this.attrs[i]; - var attrValue = this.attrs[i + 1] !== '' ? "=\"".concat(this.attrs[i + 1], "\"") : ''; - attrs += " ".concat(attrName).concat(attrValue); - } - - return getHtmlTagDefinition(tagName).isVoid ? "<".concat(tagName).concat(classAttr).concat(attrs, "/>") : "<".concat(tagName).concat(classAttr).concat(attrs, ">"); - } - }, { - key: "getAttrs", - value: function getAttrs() { - var result = []; - - if (this.classNames.length > 0) { - result.push('class', this.classNames.join(' ')); - } - - return result.concat(this.attrs); - } - }, { - key: "addAttribute", - value: function addAttribute(name) { - var value = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ''; - this.attrs.push(name, value && value.toLowerCase() || ''); - } - }, { - key: "addClassName", - value: function addClassName(name) { - this.classNames.push(name.toLowerCase()); - } - }, { - key: "toString", - value: function toString() { - var res = this.element || ''; - - if (this.classNames) { - this.classNames.forEach(function (klass) { - return res += ".".concat(klass); - }); - } - - if (this.attrs) { - for (var i = 0; i < this.attrs.length; i += 2) { - var name = this.attrs[i]; - var value = this.attrs[i + 1]; - res += "[".concat(name).concat(value ? '=' + value : '', "]"); - } - } - - this.notSelectors.forEach(function (notSelector) { - return res += ":not(".concat(notSelector, ")"); - }); - return res; - } - }], [{ - key: "parse", - value: function parse(selector) { - var results = []; - - var _addResult = function _addResult(res, cssSel) { - if (cssSel.notSelectors.length > 0 && !cssSel.element && cssSel.classNames.length == 0 && cssSel.attrs.length == 0) { - cssSel.element = '*'; - } - - res.push(cssSel); - }; - - var cssSelector = new CssSelector(); - var match; - var current = cssSelector; - var inNot = false; - _SELECTOR_REGEXP.lastIndex = 0; - - while (match = _SELECTOR_REGEXP.exec(selector)) { - if (match[1 - /* NOT */ - ]) { - if (inNot) { - throw new Error('Nesting :not in a selector is not allowed'); - } - - inNot = true; - current = new CssSelector(); - cssSelector.notSelectors.push(current); - } - - var tag = match[2 - /* TAG */ - ]; - - if (tag) { - var prefix = match[3 - /* PREFIX */ - ]; - - if (prefix === '#') { - // #hash - current.addAttribute('id', tag.substr(1)); - } else if (prefix === '.') { - // Class - current.addClassName(tag.substr(1)); - } else { - // Element - current.setElement(tag); - } - } - - var attribute = match[4 - /* ATTRIBUTE */ - ]; - - if (attribute) { - current.addAttribute(attribute, match[6 - /* ATTRIBUTE_VALUE */ - ]); - } - - if (match[7 - /* NOT_END */ - ]) { - inNot = false; - current = cssSelector; - } - - if (match[8 - /* SEPARATOR */ - ]) { - if (inNot) { - throw new Error('Multiple selectors in :not are not supported'); - } - - _addResult(results, cssSelector); - - cssSelector = current = new CssSelector(); - } - } - - _addResult(results, cssSelector); - - return results; - } - }]); - - return CssSelector; -}(); -/** - * Reads a list of CssSelectors and allows to calculate which ones - * are contained in a given CssSelector. - */ - - -var SelectorMatcher = /*#__PURE__*/function () { - function SelectorMatcher() { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, SelectorMatcher); - - this._elementMap = new Map(); - this._elementPartialMap = new Map(); - this._classMap = new Map(); - this._classPartialMap = new Map(); - this._attrValueMap = new Map(); - this._attrValuePartialMap = new Map(); - this._listContexts = []; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(SelectorMatcher, [{ - key: "addSelectables", - value: function addSelectables(cssSelectors, callbackCtxt) { - var listContext = null; - - if (cssSelectors.length > 1) { - listContext = new SelectorListContext(cssSelectors); - - this._listContexts.push(listContext); - } - - for (var i = 0; i < cssSelectors.length; i++) { - this._addSelectable(cssSelectors[i], callbackCtxt, listContext); - } - } - /** - * Add an object that can be found later on by calling `match`. - * @param cssSelector A css selector - * @param callbackCtxt An opaque object that will be given to the callback of the `match` function - */ - - }, { - key: "_addSelectable", - value: function _addSelectable(cssSelector, callbackCtxt, listContext) { - var matcher = this; - var element = cssSelector.element; - var classNames = cssSelector.classNames; - var attrs = cssSelector.attrs; - var selectable = new SelectorContext(cssSelector, callbackCtxt, listContext); - - if (element) { - var isTerminal = attrs.length === 0 && classNames.length === 0; - - if (isTerminal) { - this._addTerminal(matcher._elementMap, element, selectable); - } else { - matcher = this._addPartial(matcher._elementPartialMap, element); - } - } - - if (classNames) { - for (var i = 0; i < classNames.length; i++) { - var _isTerminal = attrs.length === 0 && i === classNames.length - 1; - - var className = classNames[i]; - - if (_isTerminal) { - this._addTerminal(matcher._classMap, className, selectable); - } else { - matcher = this._addPartial(matcher._classPartialMap, className); - } - } - } - - if (attrs) { - for (var _i = 0; _i < attrs.length; _i += 2) { - var _isTerminal2 = _i === attrs.length - 2; - - var name = attrs[_i]; - var value = attrs[_i + 1]; - - if (_isTerminal2) { - var terminalMap = matcher._attrValueMap; - var terminalValuesMap = terminalMap.get(name); - - if (!terminalValuesMap) { - terminalValuesMap = new Map(); - terminalMap.set(name, terminalValuesMap); - } - - this._addTerminal(terminalValuesMap, value, selectable); - } else { - var partialMap = matcher._attrValuePartialMap; - var partialValuesMap = partialMap.get(name); - - if (!partialValuesMap) { - partialValuesMap = new Map(); - partialMap.set(name, partialValuesMap); - } - - matcher = this._addPartial(partialValuesMap, value); - } - } - } - } - }, { - key: "_addTerminal", - value: function _addTerminal(map, name, selectable) { - var terminalList = map.get(name); - - if (!terminalList) { - terminalList = []; - map.set(name, terminalList); - } - - terminalList.push(selectable); - } - }, { - key: "_addPartial", - value: function _addPartial(map, name) { - var matcher = map.get(name); - - if (!matcher) { - matcher = new SelectorMatcher(); - map.set(name, matcher); - } - - return matcher; - } - /** - * Find the objects that have been added via `addSelectable` - * whose css selector is contained in the given css selector. - * @param cssSelector A css selector - * @param matchedCallback This callback will be called with the object handed into `addSelectable` - * @return boolean true if a match was found - */ - - }, { - key: "match", - value: function match(cssSelector, matchedCallback) { - var result = false; - var element = cssSelector.element; - var classNames = cssSelector.classNames; - var attrs = cssSelector.attrs; - - for (var i = 0; i < this._listContexts.length; i++) { - this._listContexts[i].alreadyMatched = false; - } - - result = this._matchTerminal(this._elementMap, element, cssSelector, matchedCallback) || result; - result = this._matchPartial(this._elementPartialMap, element, cssSelector, matchedCallback) || result; - - if (classNames) { - for (var _i2 = 0; _i2 < classNames.length; _i2++) { - var className = classNames[_i2]; - result = this._matchTerminal(this._classMap, className, cssSelector, matchedCallback) || result; - result = this._matchPartial(this._classPartialMap, className, cssSelector, matchedCallback) || result; - } - } - - if (attrs) { - for (var _i3 = 0; _i3 < attrs.length; _i3 += 2) { - var name = attrs[_i3]; - var value = attrs[_i3 + 1]; - - var terminalValuesMap = this._attrValueMap.get(name); - - if (value) { - result = this._matchTerminal(terminalValuesMap, '', cssSelector, matchedCallback) || result; - } - - result = this._matchTerminal(terminalValuesMap, value, cssSelector, matchedCallback) || result; - - var partialValuesMap = this._attrValuePartialMap.get(name); - - if (value) { - result = this._matchPartial(partialValuesMap, '', cssSelector, matchedCallback) || result; - } - - result = this._matchPartial(partialValuesMap, value, cssSelector, matchedCallback) || result; - } - } - - return result; - } - /** @internal */ - - }, { - key: "_matchTerminal", - value: function _matchTerminal(map, name, cssSelector, matchedCallback) { - if (!map || typeof name !== 'string') { - return false; - } - - var selectables = map.get(name) || []; - var starSelectables = map.get('*'); - - if (starSelectables) { - selectables = selectables.concat(starSelectables); - } - - if (selectables.length === 0) { - return false; - } - - var selectable; - var result = false; - - for (var i = 0; i < selectables.length; i++) { - selectable = selectables[i]; - result = selectable.finalize(cssSelector, matchedCallback) || result; - } - - return result; - } - /** @internal */ - - }, { - key: "_matchPartial", - value: function _matchPartial(map, name, cssSelector, matchedCallback) { - if (!map || typeof name !== 'string') { - return false; - } - - var nestedSelector = map.get(name); - - if (!nestedSelector) { - return false; - } // TODO(perf): get rid of recursion and measure again - // TODO(perf): don't pass the whole selector into the recursion, - // but only the not processed parts - - - return nestedSelector.match(cssSelector, matchedCallback); - } - }], [{ - key: "createNotMatcher", - value: function createNotMatcher(notSelectors) { - var notMatcher = new SelectorMatcher(); - notMatcher.addSelectables(notSelectors, null); - return notMatcher; - } - }]); - - return SelectorMatcher; -}(); - -var SelectorListContext = function SelectorListContext(selectors) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, SelectorListContext); - - this.selectors = selectors; - this.alreadyMatched = false; -}; // Store context to pass back selector and context when a selector is matched - - -var SelectorContext = /*#__PURE__*/function () { - function SelectorContext(selector, cbContext, listContext) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, SelectorContext); - - this.selector = selector; - this.cbContext = cbContext; - this.listContext = listContext; - this.notSelectors = selector.notSelectors; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(SelectorContext, [{ - key: "finalize", - value: function finalize(cssSelector, callback) { - var result = true; - - if (this.notSelectors.length > 0 && (!this.listContext || !this.listContext.alreadyMatched)) { - var notMatcher = SelectorMatcher.createNotMatcher(this.notSelectors); - result = !notMatcher.match(cssSelector, null); - } - - if (result && callback && (!this.listContext || !this.listContext.alreadyMatched)) { - if (this.listContext) { - this.listContext.alreadyMatched = true; - } - - callback(this.selector, this.cbContext); - } - - return result; - } - }]); - - return SelectorContext; -}(); -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - -var createInject = makeMetadataFactory('Inject', function (token) { - return { - token: token - }; -}); -var createInjectionToken = makeMetadataFactory('InjectionToken', function (desc) { - return { - _desc: desc, - ɵprov: undefined - }; -}); -var createAttribute = makeMetadataFactory('Attribute', function (attributeName) { - return { - attributeName: attributeName - }; -}); // Stores the default value of `emitDistinctChangesOnly` when the `emitDistinctChangesOnly` is not -// explicitly set. This value will be changed to `true` in v12. -// TODO(misko): switch the default in v12 to `true`. See: packages/core/src/metadata/di.ts - -var emitDistinctChangesOnlyDefaultValue = false; -var createContentChildren = makeMetadataFactory('ContentChildren', function (selector) { - var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - return Object.assign({ - selector: selector, - first: false, - isViewQuery: false, - descendants: false, - emitDistinctChangesOnly: emitDistinctChangesOnlyDefaultValue - }, data); -}); -var createContentChild = makeMetadataFactory('ContentChild', function (selector) { - var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - return Object.assign({ - selector: selector, - first: true, - isViewQuery: false, - descendants: true - }, data); -}); -var createViewChildren = makeMetadataFactory('ViewChildren', function (selector) { - var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - return Object.assign({ - selector: selector, - first: false, - isViewQuery: true, - descendants: true, - emitDistinctChangesOnly: emitDistinctChangesOnlyDefaultValue - }, data); -}); -var createViewChild = makeMetadataFactory('ViewChild', function (selector, data) { - return Object.assign({ - selector: selector, - first: true, - isViewQuery: true, - descendants: true - }, data); -}); -var createDirective = makeMetadataFactory('Directive', function () { - var dir = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - return dir; -}); -var ViewEncapsulation; - -(function (ViewEncapsulation) { - ViewEncapsulation[ViewEncapsulation["Emulated"] = 0] = "Emulated"; // Historically the 1 value was for `Native` encapsulation which has been removed as of v11. - - ViewEncapsulation[ViewEncapsulation["None"] = 2] = "None"; - ViewEncapsulation[ViewEncapsulation["ShadowDom"] = 3] = "ShadowDom"; -})(ViewEncapsulation || (ViewEncapsulation = {})); - -var ChangeDetectionStrategy; - -(function (ChangeDetectionStrategy) { - ChangeDetectionStrategy[ChangeDetectionStrategy["OnPush"] = 0] = "OnPush"; - ChangeDetectionStrategy[ChangeDetectionStrategy["Default"] = 1] = "Default"; -})(ChangeDetectionStrategy || (ChangeDetectionStrategy = {})); - -var createComponent = makeMetadataFactory('Component', function () { - var c = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - return Object.assign({ - changeDetection: ChangeDetectionStrategy.Default - }, c); -}); -var createPipe = makeMetadataFactory('Pipe', function (p) { - return Object.assign({ - pure: true - }, p); -}); -var createInput = makeMetadataFactory('Input', function (bindingPropertyName) { - return { - bindingPropertyName: bindingPropertyName - }; -}); -var createOutput = makeMetadataFactory('Output', function (bindingPropertyName) { - return { - bindingPropertyName: bindingPropertyName - }; -}); -var createHostBinding = makeMetadataFactory('HostBinding', function (hostPropertyName) { - return { - hostPropertyName: hostPropertyName - }; -}); -var createHostListener = makeMetadataFactory('HostListener', function (eventName, args) { - return { - eventName: eventName, - args: args - }; -}); -var createNgModule = makeMetadataFactory('NgModule', function (ngModule) { - return ngModule; -}); -var createInjectable = makeMetadataFactory('Injectable', function () { - var injectable = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - return injectable; -}); -var CUSTOM_ELEMENTS_SCHEMA = { - name: 'custom-elements' -}; -var NO_ERRORS_SCHEMA = { - name: 'no-errors-schema' -}; -var createOptional = makeMetadataFactory('Optional'); -var createSelf = makeMetadataFactory('Self'); -var createSkipSelf = makeMetadataFactory('SkipSelf'); -var createHost = makeMetadataFactory('Host'); -var Type = Function; -var SecurityContext; - -(function (SecurityContext) { - SecurityContext[SecurityContext["NONE"] = 0] = "NONE"; - SecurityContext[SecurityContext["HTML"] = 1] = "HTML"; - SecurityContext[SecurityContext["STYLE"] = 2] = "STYLE"; - SecurityContext[SecurityContext["SCRIPT"] = 3] = "SCRIPT"; - SecurityContext[SecurityContext["URL"] = 4] = "URL"; - SecurityContext[SecurityContext["RESOURCE_URL"] = 5] = "RESOURCE_URL"; -})(SecurityContext || (SecurityContext = {})); - -var MissingTranslationStrategy; - -(function (MissingTranslationStrategy) { - MissingTranslationStrategy[MissingTranslationStrategy["Error"] = 0] = "Error"; - MissingTranslationStrategy[MissingTranslationStrategy["Warning"] = 1] = "Warning"; - MissingTranslationStrategy[MissingTranslationStrategy["Ignore"] = 2] = "Ignore"; -})(MissingTranslationStrategy || (MissingTranslationStrategy = {})); - -function makeMetadataFactory(name, props) { - // This must be declared as a function, not a fat arrow, so that ES2015 devmode produces code - // that works with the static_reflector.ts in the ViewEngine compiler. - // In particular, `_registerDecoratorOrConstructor` assumes that the value returned here can be - // new'ed. - function factory() { - var values = props ? props.apply(void 0, arguments) : {}; - return Object.assign({ - ngMetadataName: name - }, values); - } - - factory.isTypeOf = function (obj) { - return obj && obj.ngMetadataName === name; - }; - - factory.ngMetadataName = name; - return factory; -} - -function parserSelectorToSimpleSelector(selector) { - var classes = selector.classNames && selector.classNames.length ? [8 - /* CLASS */ - ].concat(Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_12__["default"])(selector.classNames)) : []; - var elementName = selector.element && selector.element !== '*' ? selector.element : ''; - return [elementName].concat(Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_12__["default"])(selector.attrs), Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_12__["default"])(classes)); -} - -function parserSelectorToNegativeSelector(selector) { - var classes = selector.classNames && selector.classNames.length ? [8 - /* CLASS */ - ].concat(Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_12__["default"])(selector.classNames)) : []; - - if (selector.element) { - return [1 - /* NOT */ - | 4 - /* ELEMENT */ - , selector.element].concat(Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_12__["default"])(selector.attrs), Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_12__["default"])(classes)); - } else if (selector.attrs.length) { - return [1 - /* NOT */ - | 2 - /* ATTRIBUTE */ - ].concat(Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_12__["default"])(selector.attrs), Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_12__["default"])(classes)); - } else { - return selector.classNames && selector.classNames.length ? [1 - /* NOT */ - | 8 - /* CLASS */ - ].concat(Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_12__["default"])(selector.classNames)) : []; - } -} - -function parserSelectorToR3Selector(selector) { - var positive = parserSelectorToSimpleSelector(selector); - var negative = selector.notSelectors && selector.notSelectors.length ? selector.notSelectors.map(function (notSelector) { - return parserSelectorToNegativeSelector(notSelector); - }) : []; - return positive.concat.apply(positive, Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_12__["default"])(negative)); -} - -function parseSelectorToR3Selector(selector) { - return selector ? CssSelector.parse(selector).map(parserSelectorToR3Selector) : []; -} - -var core = /*#__PURE__*/Object.freeze({ - __proto__: null, - createInject: createInject, - createInjectionToken: createInjectionToken, - createAttribute: createAttribute, - emitDistinctChangesOnlyDefaultValue: emitDistinctChangesOnlyDefaultValue, - createContentChildren: createContentChildren, - createContentChild: createContentChild, - createViewChildren: createViewChildren, - createViewChild: createViewChild, - createDirective: createDirective, - - get ViewEncapsulation() { - return ViewEncapsulation; - }, - - get ChangeDetectionStrategy() { - return ChangeDetectionStrategy; - }, - - createComponent: createComponent, - createPipe: createPipe, - createInput: createInput, - createOutput: createOutput, - createHostBinding: createHostBinding, - createHostListener: createHostListener, - createNgModule: createNgModule, - createInjectable: createInjectable, - CUSTOM_ELEMENTS_SCHEMA: CUSTOM_ELEMENTS_SCHEMA, - NO_ERRORS_SCHEMA: NO_ERRORS_SCHEMA, - createOptional: createOptional, - createSelf: createSelf, - createSkipSelf: createSkipSelf, - createHost: createHost, - Type: Type, - - get SecurityContext() { - return SecurityContext; - }, - - get MissingTranslationStrategy() { - return MissingTranslationStrategy; - }, - - parseSelectorToR3Selector: parseSelectorToR3Selector -}); -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -//// Types - -var TypeModifier; - -(function (TypeModifier) { - TypeModifier[TypeModifier["Const"] = 0] = "Const"; -})(TypeModifier || (TypeModifier = {})); - -var Type$1 = /*#__PURE__*/function () { - function Type$1() { - var modifiers = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, Type$1); - - this.modifiers = modifiers; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(Type$1, [{ - key: "hasModifier", - value: function hasModifier(modifier) { - return this.modifiers.indexOf(modifier) !== -1; - } - }]); - - return Type$1; -}(); - -var BuiltinTypeName; - -(function (BuiltinTypeName) { - BuiltinTypeName[BuiltinTypeName["Dynamic"] = 0] = "Dynamic"; - BuiltinTypeName[BuiltinTypeName["Bool"] = 1] = "Bool"; - BuiltinTypeName[BuiltinTypeName["String"] = 2] = "String"; - BuiltinTypeName[BuiltinTypeName["Int"] = 3] = "Int"; - BuiltinTypeName[BuiltinTypeName["Number"] = 4] = "Number"; - BuiltinTypeName[BuiltinTypeName["Function"] = 5] = "Function"; - BuiltinTypeName[BuiltinTypeName["Inferred"] = 6] = "Inferred"; - BuiltinTypeName[BuiltinTypeName["None"] = 7] = "None"; -})(BuiltinTypeName || (BuiltinTypeName = {})); - -var BuiltinType = /*#__PURE__*/function (_Type$) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(BuiltinType, _Type$); - - var _super = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(BuiltinType); - - function BuiltinType(name, modifiers) { - var _this2; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, BuiltinType); - - _this2 = _super.call(this, modifiers); - _this2.name = name; - return _this2; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(BuiltinType, [{ - key: "visitType", - value: function visitType(visitor, context) { - return visitor.visitBuiltinType(this, context); - } - }]); - - return BuiltinType; -}(Type$1); - -var ExpressionType = /*#__PURE__*/function (_Type$2) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(ExpressionType, _Type$2); - - var _super2 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(ExpressionType); - - function ExpressionType(value, modifiers) { - var _this3; - - var typeParams = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, ExpressionType); - - _this3 = _super2.call(this, modifiers); - _this3.value = value; - _this3.typeParams = typeParams; - return _this3; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(ExpressionType, [{ - key: "visitType", - value: function visitType(visitor, context) { - return visitor.visitExpressionType(this, context); - } - }]); - - return ExpressionType; -}(Type$1); - -var ArrayType = /*#__PURE__*/function (_Type$3) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(ArrayType, _Type$3); - - var _super3 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(ArrayType); - - function ArrayType(of, modifiers) { - var _this4; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, ArrayType); - - _this4 = _super3.call(this, modifiers); - _this4.of = of; - return _this4; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(ArrayType, [{ - key: "visitType", - value: function visitType(visitor, context) { - return visitor.visitArrayType(this, context); - } - }]); - - return ArrayType; -}(Type$1); - -var MapType = /*#__PURE__*/function (_Type$4) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(MapType, _Type$4); - - var _super4 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(MapType); - - function MapType(valueType, modifiers) { - var _this5; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, MapType); - - _this5 = _super4.call(this, modifiers); - _this5.valueType = valueType || null; - return _this5; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(MapType, [{ - key: "visitType", - value: function visitType(visitor, context) { - return visitor.visitMapType(this, context); - } - }]); - - return MapType; -}(Type$1); - -var DYNAMIC_TYPE = new BuiltinType(BuiltinTypeName.Dynamic); -var INFERRED_TYPE = new BuiltinType(BuiltinTypeName.Inferred); -var BOOL_TYPE = new BuiltinType(BuiltinTypeName.Bool); -var INT_TYPE = new BuiltinType(BuiltinTypeName.Int); -var NUMBER_TYPE = new BuiltinType(BuiltinTypeName.Number); -var STRING_TYPE = new BuiltinType(BuiltinTypeName.String); -var FUNCTION_TYPE = new BuiltinType(BuiltinTypeName.Function); -var NONE_TYPE = new BuiltinType(BuiltinTypeName.None); ///// Expressions - -var UnaryOperator; - -(function (UnaryOperator) { - UnaryOperator[UnaryOperator["Minus"] = 0] = "Minus"; - UnaryOperator[UnaryOperator["Plus"] = 1] = "Plus"; -})(UnaryOperator || (UnaryOperator = {})); - -var BinaryOperator; - -(function (BinaryOperator) { - BinaryOperator[BinaryOperator["Equals"] = 0] = "Equals"; - BinaryOperator[BinaryOperator["NotEquals"] = 1] = "NotEquals"; - BinaryOperator[BinaryOperator["Identical"] = 2] = "Identical"; - BinaryOperator[BinaryOperator["NotIdentical"] = 3] = "NotIdentical"; - BinaryOperator[BinaryOperator["Minus"] = 4] = "Minus"; - BinaryOperator[BinaryOperator["Plus"] = 5] = "Plus"; - BinaryOperator[BinaryOperator["Divide"] = 6] = "Divide"; - BinaryOperator[BinaryOperator["Multiply"] = 7] = "Multiply"; - BinaryOperator[BinaryOperator["Modulo"] = 8] = "Modulo"; - BinaryOperator[BinaryOperator["And"] = 9] = "And"; - BinaryOperator[BinaryOperator["Or"] = 10] = "Or"; - BinaryOperator[BinaryOperator["BitwiseAnd"] = 11] = "BitwiseAnd"; - BinaryOperator[BinaryOperator["Lower"] = 12] = "Lower"; - BinaryOperator[BinaryOperator["LowerEquals"] = 13] = "LowerEquals"; - BinaryOperator[BinaryOperator["Bigger"] = 14] = "Bigger"; - BinaryOperator[BinaryOperator["BiggerEquals"] = 15] = "BiggerEquals"; -})(BinaryOperator || (BinaryOperator = {})); - -function nullSafeIsEquivalent(base, other) { - if (base == null || other == null) { - return base == other; - } - - return base.isEquivalent(other); -} - -function areAllEquivalentPredicate(base, other, equivalentPredicate) { - var len = base.length; - - if (len !== other.length) { - return false; - } - - for (var i = 0; i < len; i++) { - if (!equivalentPredicate(base[i], other[i])) { - return false; - } - } - - return true; -} - -function areAllEquivalent(base, other) { - return areAllEquivalentPredicate(base, other, function (baseElement, otherElement) { - return baseElement.isEquivalent(otherElement); - }); -} - -var Expression = /*#__PURE__*/function () { - function Expression(type, sourceSpan) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, Expression); - - this.type = type || null; - this.sourceSpan = sourceSpan || null; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(Expression, [{ - key: "prop", - value: function prop(name, sourceSpan) { - return new ReadPropExpr(this, name, null, sourceSpan); - } - }, { - key: "key", - value: function key(index, type, sourceSpan) { - return new ReadKeyExpr(this, index, type, sourceSpan); - } - }, { - key: "callMethod", - value: function callMethod(name, params, sourceSpan) { - return new InvokeMethodExpr(this, name, params, null, sourceSpan); - } - }, { - key: "callFn", - value: function callFn(params, sourceSpan, pure) { - return new InvokeFunctionExpr(this, params, null, sourceSpan, pure); - } - }, { - key: "instantiate", - value: function instantiate(params, type, sourceSpan) { - return new InstantiateExpr(this, params, type, sourceSpan); - } - }, { - key: "conditional", - value: function conditional(trueCase) { - var falseCase = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; - var sourceSpan = arguments.length > 2 ? arguments[2] : undefined; - return new ConditionalExpr(this, trueCase, falseCase, null, sourceSpan); - } - }, { - key: "equals", - value: function equals(rhs, sourceSpan) { - return new BinaryOperatorExpr(BinaryOperator.Equals, this, rhs, null, sourceSpan); - } - }, { - key: "notEquals", - value: function notEquals(rhs, sourceSpan) { - return new BinaryOperatorExpr(BinaryOperator.NotEquals, this, rhs, null, sourceSpan); - } - }, { - key: "identical", - value: function identical(rhs, sourceSpan) { - return new BinaryOperatorExpr(BinaryOperator.Identical, this, rhs, null, sourceSpan); - } - }, { - key: "notIdentical", - value: function notIdentical(rhs, sourceSpan) { - return new BinaryOperatorExpr(BinaryOperator.NotIdentical, this, rhs, null, sourceSpan); - } - }, { - key: "minus", - value: function minus(rhs, sourceSpan) { - return new BinaryOperatorExpr(BinaryOperator.Minus, this, rhs, null, sourceSpan); - } - }, { - key: "plus", - value: function plus(rhs, sourceSpan) { - return new BinaryOperatorExpr(BinaryOperator.Plus, this, rhs, null, sourceSpan); - } - }, { - key: "divide", - value: function divide(rhs, sourceSpan) { - return new BinaryOperatorExpr(BinaryOperator.Divide, this, rhs, null, sourceSpan); - } - }, { - key: "multiply", - value: function multiply(rhs, sourceSpan) { - return new BinaryOperatorExpr(BinaryOperator.Multiply, this, rhs, null, sourceSpan); - } - }, { - key: "modulo", - value: function modulo(rhs, sourceSpan) { - return new BinaryOperatorExpr(BinaryOperator.Modulo, this, rhs, null, sourceSpan); - } - }, { - key: "and", - value: function and(rhs, sourceSpan) { - return new BinaryOperatorExpr(BinaryOperator.And, this, rhs, null, sourceSpan); - } - }, { - key: "bitwiseAnd", - value: function bitwiseAnd(rhs, sourceSpan) { - var parens = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true; - return new BinaryOperatorExpr(BinaryOperator.BitwiseAnd, this, rhs, null, sourceSpan, parens); - } - }, { - key: "or", - value: function or(rhs, sourceSpan) { - return new BinaryOperatorExpr(BinaryOperator.Or, this, rhs, null, sourceSpan); - } - }, { - key: "lower", - value: function lower(rhs, sourceSpan) { - return new BinaryOperatorExpr(BinaryOperator.Lower, this, rhs, null, sourceSpan); - } - }, { - key: "lowerEquals", - value: function lowerEquals(rhs, sourceSpan) { - return new BinaryOperatorExpr(BinaryOperator.LowerEquals, this, rhs, null, sourceSpan); - } - }, { - key: "bigger", - value: function bigger(rhs, sourceSpan) { - return new BinaryOperatorExpr(BinaryOperator.Bigger, this, rhs, null, sourceSpan); - } - }, { - key: "biggerEquals", - value: function biggerEquals(rhs, sourceSpan) { - return new BinaryOperatorExpr(BinaryOperator.BiggerEquals, this, rhs, null, sourceSpan); - } - }, { - key: "isBlank", - value: function isBlank(sourceSpan) { - // Note: We use equals by purpose here to compare to null and undefined in JS. - // We use the typed null to allow strictNullChecks to narrow types. - return this.equals(TYPED_NULL_EXPR, sourceSpan); - } - }, { - key: "cast", - value: function cast(type, sourceSpan) { - return new CastExpr(this, type, sourceSpan); - } - }, { - key: "toStmt", - value: function toStmt() { - return new ExpressionStatement(this, null); - } - }]); - - return Expression; -}(); - -var BuiltinVar; - -(function (BuiltinVar) { - BuiltinVar[BuiltinVar["This"] = 0] = "This"; - BuiltinVar[BuiltinVar["Super"] = 1] = "Super"; - BuiltinVar[BuiltinVar["CatchError"] = 2] = "CatchError"; - BuiltinVar[BuiltinVar["CatchStack"] = 3] = "CatchStack"; -})(BuiltinVar || (BuiltinVar = {})); - -var ReadVarExpr = /*#__PURE__*/function (_Expression) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(ReadVarExpr, _Expression); - - var _super5 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(ReadVarExpr); - - function ReadVarExpr(name, type, sourceSpan) { - var _this6; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, ReadVarExpr); - - _this6 = _super5.call(this, type, sourceSpan); - - if (typeof name === 'string') { - _this6.name = name; - _this6.builtin = null; - } else { - _this6.name = null; - _this6.builtin = name; - } - - return _this6; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(ReadVarExpr, [{ - key: "isEquivalent", - value: function isEquivalent(e) { - return e instanceof ReadVarExpr && this.name === e.name && this.builtin === e.builtin; - } - }, { - key: "isConstant", - value: function isConstant() { - return false; - } - }, { - key: "visitExpression", - value: function visitExpression(visitor, context) { - return visitor.visitReadVarExpr(this, context); - } - }, { - key: "set", - value: function set(value) { - if (!this.name) { - throw new Error("Built in variable ".concat(this.builtin, " can not be assigned to.")); - } - - return new WriteVarExpr(this.name, value, null, this.sourceSpan); - } - }]); - - return ReadVarExpr; -}(Expression); - -var TypeofExpr = /*#__PURE__*/function (_Expression2) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(TypeofExpr, _Expression2); - - var _super6 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(TypeofExpr); - - function TypeofExpr(expr, type, sourceSpan) { - var _this7; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, TypeofExpr); - - _this7 = _super6.call(this, type, sourceSpan); - _this7.expr = expr; - return _this7; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(TypeofExpr, [{ - key: "visitExpression", - value: function visitExpression(visitor, context) { - return visitor.visitTypeofExpr(this, context); - } - }, { - key: "isEquivalent", - value: function isEquivalent(e) { - return e instanceof TypeofExpr && e.expr.isEquivalent(this.expr); - } - }, { - key: "isConstant", - value: function isConstant() { - return this.expr.isConstant(); - } - }]); - - return TypeofExpr; -}(Expression); - -var WrappedNodeExpr = /*#__PURE__*/function (_Expression3) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(WrappedNodeExpr, _Expression3); - - var _super7 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(WrappedNodeExpr); - - function WrappedNodeExpr(node, type, sourceSpan) { - var _this8; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, WrappedNodeExpr); - - _this8 = _super7.call(this, type, sourceSpan); - _this8.node = node; - return _this8; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(WrappedNodeExpr, [{ - key: "isEquivalent", - value: function isEquivalent(e) { - return e instanceof WrappedNodeExpr && this.node === e.node; - } - }, { - key: "isConstant", - value: function isConstant() { - return false; - } - }, { - key: "visitExpression", - value: function visitExpression(visitor, context) { - return visitor.visitWrappedNodeExpr(this, context); - } - }]); - - return WrappedNodeExpr; -}(Expression); - -var WriteVarExpr = /*#__PURE__*/function (_Expression4) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(WriteVarExpr, _Expression4); - - var _super8 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(WriteVarExpr); - - function WriteVarExpr(name, value, type, sourceSpan) { - var _this9; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, WriteVarExpr); - - _this9 = _super8.call(this, type || value.type, sourceSpan); - _this9.name = name; - _this9.value = value; - return _this9; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(WriteVarExpr, [{ - key: "isEquivalent", - value: function isEquivalent(e) { - return e instanceof WriteVarExpr && this.name === e.name && this.value.isEquivalent(e.value); - } - }, { - key: "isConstant", - value: function isConstant() { - return false; - } - }, { - key: "visitExpression", - value: function visitExpression(visitor, context) { - return visitor.visitWriteVarExpr(this, context); - } - }, { - key: "toDeclStmt", - value: function toDeclStmt(type, modifiers) { - return new DeclareVarStmt(this.name, this.value, type, modifiers, this.sourceSpan); - } - }, { - key: "toConstDecl", - value: function toConstDecl() { - return this.toDeclStmt(INFERRED_TYPE, [StmtModifier.Final]); - } - }]); - - return WriteVarExpr; -}(Expression); - -var WriteKeyExpr = /*#__PURE__*/function (_Expression5) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(WriteKeyExpr, _Expression5); - - var _super9 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(WriteKeyExpr); - - function WriteKeyExpr(receiver, index, value, type, sourceSpan) { - var _this10; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, WriteKeyExpr); - - _this10 = _super9.call(this, type || value.type, sourceSpan); - _this10.receiver = receiver; - _this10.index = index; - _this10.value = value; - return _this10; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(WriteKeyExpr, [{ - key: "isEquivalent", - value: function isEquivalent(e) { - return e instanceof WriteKeyExpr && this.receiver.isEquivalent(e.receiver) && this.index.isEquivalent(e.index) && this.value.isEquivalent(e.value); - } - }, { - key: "isConstant", - value: function isConstant() { - return false; - } - }, { - key: "visitExpression", - value: function visitExpression(visitor, context) { - return visitor.visitWriteKeyExpr(this, context); - } - }]); - - return WriteKeyExpr; -}(Expression); - -var WritePropExpr = /*#__PURE__*/function (_Expression6) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(WritePropExpr, _Expression6); - - var _super10 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(WritePropExpr); - - function WritePropExpr(receiver, name, value, type, sourceSpan) { - var _this11; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, WritePropExpr); - - _this11 = _super10.call(this, type || value.type, sourceSpan); - _this11.receiver = receiver; - _this11.name = name; - _this11.value = value; - return _this11; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(WritePropExpr, [{ - key: "isEquivalent", - value: function isEquivalent(e) { - return e instanceof WritePropExpr && this.receiver.isEquivalent(e.receiver) && this.name === e.name && this.value.isEquivalent(e.value); - } - }, { - key: "isConstant", - value: function isConstant() { - return false; - } - }, { - key: "visitExpression", - value: function visitExpression(visitor, context) { - return visitor.visitWritePropExpr(this, context); - } - }]); - - return WritePropExpr; -}(Expression); - -var BuiltinMethod; - -(function (BuiltinMethod) { - BuiltinMethod[BuiltinMethod["ConcatArray"] = 0] = "ConcatArray"; - BuiltinMethod[BuiltinMethod["SubscribeObservable"] = 1] = "SubscribeObservable"; - BuiltinMethod[BuiltinMethod["Bind"] = 2] = "Bind"; -})(BuiltinMethod || (BuiltinMethod = {})); - -var InvokeMethodExpr = /*#__PURE__*/function (_Expression7) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(InvokeMethodExpr, _Expression7); - - var _super11 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(InvokeMethodExpr); - - function InvokeMethodExpr(receiver, method, args, type, sourceSpan) { - var _this12; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, InvokeMethodExpr); - - _this12 = _super11.call(this, type, sourceSpan); - _this12.receiver = receiver; - _this12.args = args; - - if (typeof method === 'string') { - _this12.name = method; - _this12.builtin = null; - } else { - _this12.name = null; - _this12.builtin = method; - } - - return _this12; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(InvokeMethodExpr, [{ - key: "isEquivalent", - value: function isEquivalent(e) { - return e instanceof InvokeMethodExpr && this.receiver.isEquivalent(e.receiver) && this.name === e.name && this.builtin === e.builtin && areAllEquivalent(this.args, e.args); - } - }, { - key: "isConstant", - value: function isConstant() { - return false; - } - }, { - key: "visitExpression", - value: function visitExpression(visitor, context) { - return visitor.visitInvokeMethodExpr(this, context); - } - }]); - - return InvokeMethodExpr; -}(Expression); - -var InvokeFunctionExpr = /*#__PURE__*/function (_Expression8) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(InvokeFunctionExpr, _Expression8); - - var _super12 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(InvokeFunctionExpr); - - function InvokeFunctionExpr(fn, args, type, sourceSpan) { - var _this13; - - var pure = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, InvokeFunctionExpr); - - _this13 = _super12.call(this, type, sourceSpan); - _this13.fn = fn; - _this13.args = args; - _this13.pure = pure; - return _this13; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(InvokeFunctionExpr, [{ - key: "isEquivalent", - value: function isEquivalent(e) { - return e instanceof InvokeFunctionExpr && this.fn.isEquivalent(e.fn) && areAllEquivalent(this.args, e.args) && this.pure === e.pure; - } - }, { - key: "isConstant", - value: function isConstant() { - return false; - } - }, { - key: "visitExpression", - value: function visitExpression(visitor, context) { - return visitor.visitInvokeFunctionExpr(this, context); - } - }]); - - return InvokeFunctionExpr; -}(Expression); - -var TaggedTemplateExpr = /*#__PURE__*/function (_Expression9) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(TaggedTemplateExpr, _Expression9); - - var _super13 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(TaggedTemplateExpr); - - function TaggedTemplateExpr(tag, template, type, sourceSpan) { - var _this14; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, TaggedTemplateExpr); - - _this14 = _super13.call(this, type, sourceSpan); - _this14.tag = tag; - _this14.template = template; - return _this14; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(TaggedTemplateExpr, [{ - key: "isEquivalent", - value: function isEquivalent(e) { - return e instanceof TaggedTemplateExpr && this.tag.isEquivalent(e.tag) && areAllEquivalentPredicate(this.template.elements, e.template.elements, function (a, b) { - return a.text === b.text; - }) && areAllEquivalent(this.template.expressions, e.template.expressions); - } - }, { - key: "isConstant", - value: function isConstant() { - return false; - } - }, { - key: "visitExpression", - value: function visitExpression(visitor, context) { - return visitor.visitTaggedTemplateExpr(this, context); - } - }]); - - return TaggedTemplateExpr; -}(Expression); - -var InstantiateExpr = /*#__PURE__*/function (_Expression10) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(InstantiateExpr, _Expression10); - - var _super14 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(InstantiateExpr); - - function InstantiateExpr(classExpr, args, type, sourceSpan) { - var _this15; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, InstantiateExpr); - - _this15 = _super14.call(this, type, sourceSpan); - _this15.classExpr = classExpr; - _this15.args = args; - return _this15; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(InstantiateExpr, [{ - key: "isEquivalent", - value: function isEquivalent(e) { - return e instanceof InstantiateExpr && this.classExpr.isEquivalent(e.classExpr) && areAllEquivalent(this.args, e.args); - } - }, { - key: "isConstant", - value: function isConstant() { - return false; - } - }, { - key: "visitExpression", - value: function visitExpression(visitor, context) { - return visitor.visitInstantiateExpr(this, context); - } - }]); - - return InstantiateExpr; -}(Expression); - -var LiteralExpr = /*#__PURE__*/function (_Expression11) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(LiteralExpr, _Expression11); - - var _super15 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(LiteralExpr); - - function LiteralExpr(value, type, sourceSpan) { - var _this16; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, LiteralExpr); - - _this16 = _super15.call(this, type, sourceSpan); - _this16.value = value; - return _this16; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(LiteralExpr, [{ - key: "isEquivalent", - value: function isEquivalent(e) { - return e instanceof LiteralExpr && this.value === e.value; - } - }, { - key: "isConstant", - value: function isConstant() { - return true; - } - }, { - key: "visitExpression", - value: function visitExpression(visitor, context) { - return visitor.visitLiteralExpr(this, context); - } - }]); - - return LiteralExpr; -}(Expression); - -var TemplateLiteral = function TemplateLiteral(elements, expressions) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, TemplateLiteral); - - this.elements = elements; - this.expressions = expressions; -}; - -var TemplateLiteralElement = function TemplateLiteralElement(text, sourceSpan, rawText) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, TemplateLiteralElement); - - var _a; - - this.text = text; - this.sourceSpan = sourceSpan; // If `rawText` is not provided, try to extract the raw string from its - // associated `sourceSpan`. If that is also not available, "fake" the raw - // string instead by escaping the following control sequences: - // - "\" would otherwise indicate that the next character is a control character. - // - "`" and "${" are template string control sequences that would otherwise prematurely - // indicate the end of the template literal element. - - this.rawText = (_a = rawText !== null && rawText !== void 0 ? rawText : sourceSpan === null || sourceSpan === void 0 ? void 0 : sourceSpan.toString()) !== null && _a !== void 0 ? _a : escapeForTemplateLiteral(escapeSlashes(text)); -}; - -var MessagePiece = function MessagePiece(text, sourceSpan) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, MessagePiece); - - this.text = text; - this.sourceSpan = sourceSpan; -}; - -var LiteralPiece = /*#__PURE__*/function (_MessagePiece) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(LiteralPiece, _MessagePiece); - - var _super16 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(LiteralPiece); - - function LiteralPiece() { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, LiteralPiece); - - return _super16.apply(this, arguments); - } - - return LiteralPiece; -}(MessagePiece); - -var PlaceholderPiece = /*#__PURE__*/function (_MessagePiece2) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(PlaceholderPiece, _MessagePiece2); - - var _super17 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(PlaceholderPiece); - - function PlaceholderPiece() { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, PlaceholderPiece); - - return _super17.apply(this, arguments); - } - - return PlaceholderPiece; -}(MessagePiece); - -var LocalizedString = /*#__PURE__*/function (_Expression12) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(LocalizedString, _Expression12); - - var _super18 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(LocalizedString); - - function LocalizedString(metaBlock, messageParts, placeHolderNames, expressions, sourceSpan) { - var _this17; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, LocalizedString); - - _this17 = _super18.call(this, STRING_TYPE, sourceSpan); - _this17.metaBlock = metaBlock; - _this17.messageParts = messageParts; - _this17.placeHolderNames = placeHolderNames; - _this17.expressions = expressions; - return _this17; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(LocalizedString, [{ - key: "isEquivalent", - value: function isEquivalent(e) { - // return e instanceof LocalizedString && this.message === e.message; - return false; - } - }, { - key: "isConstant", - value: function isConstant() { - return false; - } - }, { - key: "visitExpression", - value: function visitExpression(visitor, context) { - return visitor.visitLocalizedString(this, context); - } - /** - * Serialize the given `meta` and `messagePart` into "cooked" and "raw" strings that can be used - * in a `$localize` tagged string. The format of the metadata is the same as that parsed by - * `parseI18nMeta()`. - * - * @param meta The metadata to serialize - * @param messagePart The first part of the tagged string - */ - - }, { - key: "serializeI18nHead", - value: function serializeI18nHead() { - var MEANING_SEPARATOR = '|'; - var ID_SEPARATOR = '@@'; - var LEGACY_ID_INDICATOR = '␟'; - var metaBlock = this.metaBlock.description || ''; - - if (this.metaBlock.meaning) { - metaBlock = "".concat(this.metaBlock.meaning).concat(MEANING_SEPARATOR).concat(metaBlock); - } - - if (this.metaBlock.customId) { - metaBlock = "".concat(metaBlock).concat(ID_SEPARATOR).concat(this.metaBlock.customId); - } - - if (this.metaBlock.legacyIds) { - this.metaBlock.legacyIds.forEach(function (legacyId) { - metaBlock = "".concat(metaBlock).concat(LEGACY_ID_INDICATOR).concat(legacyId); - }); - } - - return createCookedRawString(metaBlock, this.messageParts[0].text, this.getMessagePartSourceSpan(0)); - } - }, { - key: "getMessagePartSourceSpan", - value: function getMessagePartSourceSpan(i) { - var _a, _b; - - return (_b = (_a = this.messageParts[i]) === null || _a === void 0 ? void 0 : _a.sourceSpan) !== null && _b !== void 0 ? _b : this.sourceSpan; - } - }, { - key: "getPlaceholderSourceSpan", - value: function getPlaceholderSourceSpan(i) { - var _a, _b, _c, _d; - - return (_d = (_b = (_a = this.placeHolderNames[i]) === null || _a === void 0 ? void 0 : _a.sourceSpan) !== null && _b !== void 0 ? _b : (_c = this.expressions[i]) === null || _c === void 0 ? void 0 : _c.sourceSpan) !== null && _d !== void 0 ? _d : this.sourceSpan; - } - /** - * Serialize the given `placeholderName` and `messagePart` into "cooked" and "raw" strings that - * can be used in a `$localize` tagged string. - * - * @param placeholderName The placeholder name to serialize - * @param messagePart The following message string after this placeholder - */ - - }, { - key: "serializeI18nTemplatePart", - value: function serializeI18nTemplatePart(partIndex) { - var placeholderName = this.placeHolderNames[partIndex - 1].text; - var messagePart = this.messageParts[partIndex]; - return createCookedRawString(placeholderName, messagePart.text, this.getMessagePartSourceSpan(partIndex)); - } - }]); - - return LocalizedString; -}(Expression); - -var escapeSlashes = function escapeSlashes(str) { - return str.replace(/\\/g, '\\\\'); -}; - -var escapeStartingColon = function escapeStartingColon(str) { - return str.replace(/^:/, '\\:'); -}; - -var escapeColons = function escapeColons(str) { - return str.replace(/:/g, '\\:'); -}; - -var escapeForTemplateLiteral = function escapeForTemplateLiteral(str) { - return str.replace(/`/g, '\\`').replace(/\${/g, '$\\{'); -}; -/** - * Creates a `{cooked, raw}` object from the `metaBlock` and `messagePart`. - * - * The `raw` text must have various character sequences escaped: - * * "\" would otherwise indicate that the next character is a control character. - * * "`" and "${" are template string control sequences that would otherwise prematurely indicate - * the end of a message part. - * * ":" inside a metablock would prematurely indicate the end of the metablock. - * * ":" at the start of a messagePart with no metablock would erroneously indicate the start of a - * metablock. - * - * @param metaBlock Any metadata that should be prepended to the string - * @param messagePart The message part of the string - */ - - -function createCookedRawString(metaBlock, messagePart, range) { - if (metaBlock === '') { - return { - cooked: messagePart, - raw: escapeForTemplateLiteral(escapeStartingColon(escapeSlashes(messagePart))), - range: range - }; - } else { - return { - cooked: ":".concat(metaBlock, ":").concat(messagePart), - raw: escapeForTemplateLiteral(":".concat(escapeColons(escapeSlashes(metaBlock)), ":").concat(escapeSlashes(messagePart))), - range: range - }; - } -} - -var ExternalExpr = /*#__PURE__*/function (_Expression13) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(ExternalExpr, _Expression13); - - var _super19 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(ExternalExpr); - - function ExternalExpr(value, type) { - var _this18; - - var typeParams = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null; - var sourceSpan = arguments.length > 3 ? arguments[3] : undefined; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, ExternalExpr); - - _this18 = _super19.call(this, type, sourceSpan); - _this18.value = value; - _this18.typeParams = typeParams; - return _this18; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(ExternalExpr, [{ - key: "isEquivalent", - value: function isEquivalent(e) { - return e instanceof ExternalExpr && this.value.name === e.value.name && this.value.moduleName === e.value.moduleName && this.value.runtime === e.value.runtime; - } - }, { - key: "isConstant", - value: function isConstant() { - return false; - } - }, { - key: "visitExpression", - value: function visitExpression(visitor, context) { - return visitor.visitExternalExpr(this, context); - } - }]); - - return ExternalExpr; -}(Expression); - -var ExternalReference = function ExternalReference(moduleName, name, runtime) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, ExternalReference); - - this.moduleName = moduleName; - this.name = name; - this.runtime = runtime; -}; - -var ConditionalExpr = /*#__PURE__*/function (_Expression14) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(ConditionalExpr, _Expression14); - - var _super20 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(ConditionalExpr); - - function ConditionalExpr(condition, trueCase) { - var _this19; - - var falseCase = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null; - var type = arguments.length > 3 ? arguments[3] : undefined; - var sourceSpan = arguments.length > 4 ? arguments[4] : undefined; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, ConditionalExpr); - - _this19 = _super20.call(this, type || trueCase.type, sourceSpan); - _this19.condition = condition; - _this19.falseCase = falseCase; - _this19.trueCase = trueCase; - return _this19; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(ConditionalExpr, [{ - key: "isEquivalent", - value: function isEquivalent(e) { - return e instanceof ConditionalExpr && this.condition.isEquivalent(e.condition) && this.trueCase.isEquivalent(e.trueCase) && nullSafeIsEquivalent(this.falseCase, e.falseCase); - } - }, { - key: "isConstant", - value: function isConstant() { - return false; - } - }, { - key: "visitExpression", - value: function visitExpression(visitor, context) { - return visitor.visitConditionalExpr(this, context); - } - }]); - - return ConditionalExpr; -}(Expression); - -var NotExpr = /*#__PURE__*/function (_Expression15) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(NotExpr, _Expression15); - - var _super21 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(NotExpr); - - function NotExpr(condition, sourceSpan) { - var _this20; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, NotExpr); - - _this20 = _super21.call(this, BOOL_TYPE, sourceSpan); - _this20.condition = condition; - return _this20; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(NotExpr, [{ - key: "isEquivalent", - value: function isEquivalent(e) { - return e instanceof NotExpr && this.condition.isEquivalent(e.condition); - } - }, { - key: "isConstant", - value: function isConstant() { - return false; - } - }, { - key: "visitExpression", - value: function visitExpression(visitor, context) { - return visitor.visitNotExpr(this, context); - } - }]); - - return NotExpr; -}(Expression); - -var AssertNotNull = /*#__PURE__*/function (_Expression16) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(AssertNotNull, _Expression16); - - var _super22 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(AssertNotNull); - - function AssertNotNull(condition, sourceSpan) { - var _this21; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, AssertNotNull); - - _this21 = _super22.call(this, condition.type, sourceSpan); - _this21.condition = condition; - return _this21; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(AssertNotNull, [{ - key: "isEquivalent", - value: function isEquivalent(e) { - return e instanceof AssertNotNull && this.condition.isEquivalent(e.condition); - } - }, { - key: "isConstant", - value: function isConstant() { - return false; - } - }, { - key: "visitExpression", - value: function visitExpression(visitor, context) { - return visitor.visitAssertNotNullExpr(this, context); - } - }]); - - return AssertNotNull; -}(Expression); - -var CastExpr = /*#__PURE__*/function (_Expression17) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(CastExpr, _Expression17); - - var _super23 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(CastExpr); - - function CastExpr(value, type, sourceSpan) { - var _this22; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, CastExpr); - - _this22 = _super23.call(this, type, sourceSpan); - _this22.value = value; - return _this22; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(CastExpr, [{ - key: "isEquivalent", - value: function isEquivalent(e) { - return e instanceof CastExpr && this.value.isEquivalent(e.value); - } - }, { - key: "isConstant", - value: function isConstant() { - return false; - } - }, { - key: "visitExpression", - value: function visitExpression(visitor, context) { - return visitor.visitCastExpr(this, context); - } - }]); - - return CastExpr; -}(Expression); - -var FnParam = /*#__PURE__*/function () { - function FnParam(name) { - var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, FnParam); - - this.name = name; - this.type = type; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(FnParam, [{ - key: "isEquivalent", - value: function isEquivalent(param) { - return this.name === param.name; - } - }]); - - return FnParam; -}(); - -var FunctionExpr = /*#__PURE__*/function (_Expression18) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(FunctionExpr, _Expression18); - - var _super24 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(FunctionExpr); - - function FunctionExpr(params, statements, type, sourceSpan, name) { - var _this23; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, FunctionExpr); - - _this23 = _super24.call(this, type, sourceSpan); - _this23.params = params; - _this23.statements = statements; - _this23.name = name; - return _this23; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(FunctionExpr, [{ - key: "isEquivalent", - value: function isEquivalent(e) { - return e instanceof FunctionExpr && areAllEquivalent(this.params, e.params) && areAllEquivalent(this.statements, e.statements); - } - }, { - key: "isConstant", - value: function isConstant() { - return false; - } - }, { - key: "visitExpression", - value: function visitExpression(visitor, context) { - return visitor.visitFunctionExpr(this, context); - } - }, { - key: "toDeclStmt", - value: function toDeclStmt(name, modifiers) { - return new DeclareFunctionStmt(name, this.params, this.statements, this.type, modifiers, this.sourceSpan); - } - }]); - - return FunctionExpr; -}(Expression); - -var UnaryOperatorExpr = /*#__PURE__*/function (_Expression19) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(UnaryOperatorExpr, _Expression19); - - var _super25 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(UnaryOperatorExpr); - - function UnaryOperatorExpr(operator, expr, type, sourceSpan) { - var _this24; - - var parens = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : true; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, UnaryOperatorExpr); - - _this24 = _super25.call(this, type || NUMBER_TYPE, sourceSpan); - _this24.operator = operator; - _this24.expr = expr; - _this24.parens = parens; - return _this24; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(UnaryOperatorExpr, [{ - key: "isEquivalent", - value: function isEquivalent(e) { - return e instanceof UnaryOperatorExpr && this.operator === e.operator && this.expr.isEquivalent(e.expr); - } - }, { - key: "isConstant", - value: function isConstant() { - return false; - } - }, { - key: "visitExpression", - value: function visitExpression(visitor, context) { - return visitor.visitUnaryOperatorExpr(this, context); - } - }]); - - return UnaryOperatorExpr; -}(Expression); - -var BinaryOperatorExpr = /*#__PURE__*/function (_Expression20) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(BinaryOperatorExpr, _Expression20); - - var _super26 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(BinaryOperatorExpr); - - function BinaryOperatorExpr(operator, lhs, rhs, type, sourceSpan) { - var _this25; - - var parens = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : true; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, BinaryOperatorExpr); - - _this25 = _super26.call(this, type || lhs.type, sourceSpan); - _this25.operator = operator; - _this25.rhs = rhs; - _this25.parens = parens; - _this25.lhs = lhs; - return _this25; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(BinaryOperatorExpr, [{ - key: "isEquivalent", - value: function isEquivalent(e) { - return e instanceof BinaryOperatorExpr && this.operator === e.operator && this.lhs.isEquivalent(e.lhs) && this.rhs.isEquivalent(e.rhs); - } - }, { - key: "isConstant", - value: function isConstant() { - return false; - } - }, { - key: "visitExpression", - value: function visitExpression(visitor, context) { - return visitor.visitBinaryOperatorExpr(this, context); - } - }]); - - return BinaryOperatorExpr; -}(Expression); - -var ReadPropExpr = /*#__PURE__*/function (_Expression21) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(ReadPropExpr, _Expression21); - - var _super27 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(ReadPropExpr); - - function ReadPropExpr(receiver, name, type, sourceSpan) { - var _this26; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, ReadPropExpr); - - _this26 = _super27.call(this, type, sourceSpan); - _this26.receiver = receiver; - _this26.name = name; - return _this26; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(ReadPropExpr, [{ - key: "isEquivalent", - value: function isEquivalent(e) { - return e instanceof ReadPropExpr && this.receiver.isEquivalent(e.receiver) && this.name === e.name; - } - }, { - key: "isConstant", - value: function isConstant() { - return false; - } - }, { - key: "visitExpression", - value: function visitExpression(visitor, context) { - return visitor.visitReadPropExpr(this, context); - } - }, { - key: "set", - value: function set(value) { - return new WritePropExpr(this.receiver, this.name, value, null, this.sourceSpan); - } - }]); - - return ReadPropExpr; -}(Expression); - -var ReadKeyExpr = /*#__PURE__*/function (_Expression22) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(ReadKeyExpr, _Expression22); - - var _super28 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(ReadKeyExpr); - - function ReadKeyExpr(receiver, index, type, sourceSpan) { - var _this27; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, ReadKeyExpr); - - _this27 = _super28.call(this, type, sourceSpan); - _this27.receiver = receiver; - _this27.index = index; - return _this27; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(ReadKeyExpr, [{ - key: "isEquivalent", - value: function isEquivalent(e) { - return e instanceof ReadKeyExpr && this.receiver.isEquivalent(e.receiver) && this.index.isEquivalent(e.index); - } - }, { - key: "isConstant", - value: function isConstant() { - return false; - } - }, { - key: "visitExpression", - value: function visitExpression(visitor, context) { - return visitor.visitReadKeyExpr(this, context); - } - }, { - key: "set", - value: function set(value) { - return new WriteKeyExpr(this.receiver, this.index, value, null, this.sourceSpan); - } - }]); - - return ReadKeyExpr; -}(Expression); - -var LiteralArrayExpr = /*#__PURE__*/function (_Expression23) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(LiteralArrayExpr, _Expression23); - - var _super29 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(LiteralArrayExpr); - - function LiteralArrayExpr(entries, type, sourceSpan) { - var _this28; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, LiteralArrayExpr); - - _this28 = _super29.call(this, type, sourceSpan); - _this28.entries = entries; - return _this28; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(LiteralArrayExpr, [{ - key: "isConstant", - value: function isConstant() { - return this.entries.every(function (e) { - return e.isConstant(); - }); - } - }, { - key: "isEquivalent", - value: function isEquivalent(e) { - return e instanceof LiteralArrayExpr && areAllEquivalent(this.entries, e.entries); - } - }, { - key: "visitExpression", - value: function visitExpression(visitor, context) { - return visitor.visitLiteralArrayExpr(this, context); - } - }]); - - return LiteralArrayExpr; -}(Expression); - -var LiteralMapEntry = /*#__PURE__*/function () { - function LiteralMapEntry(key, value, quoted) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, LiteralMapEntry); - - this.key = key; - this.value = value; - this.quoted = quoted; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(LiteralMapEntry, [{ - key: "isEquivalent", - value: function isEquivalent(e) { - return this.key === e.key && this.value.isEquivalent(e.value); - } - }]); - - return LiteralMapEntry; -}(); - -var LiteralMapExpr = /*#__PURE__*/function (_Expression24) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(LiteralMapExpr, _Expression24); - - var _super30 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(LiteralMapExpr); - - function LiteralMapExpr(entries, type, sourceSpan) { - var _this29; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, LiteralMapExpr); - - _this29 = _super30.call(this, type, sourceSpan); - _this29.entries = entries; - _this29.valueType = null; - - if (type) { - _this29.valueType = type.valueType; - } - - return _this29; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(LiteralMapExpr, [{ - key: "isEquivalent", - value: function isEquivalent(e) { - return e instanceof LiteralMapExpr && areAllEquivalent(this.entries, e.entries); - } - }, { - key: "isConstant", - value: function isConstant() { - return this.entries.every(function (e) { - return e.value.isConstant(); - }); - } - }, { - key: "visitExpression", - value: function visitExpression(visitor, context) { - return visitor.visitLiteralMapExpr(this, context); - } - }]); - - return LiteralMapExpr; -}(Expression); - -var CommaExpr = /*#__PURE__*/function (_Expression25) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(CommaExpr, _Expression25); - - var _super31 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(CommaExpr); - - function CommaExpr(parts, sourceSpan) { - var _this30; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, CommaExpr); - - _this30 = _super31.call(this, parts[parts.length - 1].type, sourceSpan); - _this30.parts = parts; - return _this30; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(CommaExpr, [{ - key: "isEquivalent", - value: function isEquivalent(e) { - return e instanceof CommaExpr && areAllEquivalent(this.parts, e.parts); - } - }, { - key: "isConstant", - value: function isConstant() { - return false; - } - }, { - key: "visitExpression", - value: function visitExpression(visitor, context) { - return visitor.visitCommaExpr(this, context); - } - }]); - - return CommaExpr; -}(Expression); - -var THIS_EXPR = new ReadVarExpr(BuiltinVar.This, null, null); -var SUPER_EXPR = new ReadVarExpr(BuiltinVar.Super, null, null); -var CATCH_ERROR_VAR = new ReadVarExpr(BuiltinVar.CatchError, null, null); -var CATCH_STACK_VAR = new ReadVarExpr(BuiltinVar.CatchStack, null, null); -var NULL_EXPR = new LiteralExpr(null, null, null); -var TYPED_NULL_EXPR = new LiteralExpr(null, INFERRED_TYPE, null); //// Statements - -var StmtModifier; - -(function (StmtModifier) { - StmtModifier[StmtModifier["Final"] = 0] = "Final"; - StmtModifier[StmtModifier["Private"] = 1] = "Private"; - StmtModifier[StmtModifier["Exported"] = 2] = "Exported"; - StmtModifier[StmtModifier["Static"] = 3] = "Static"; -})(StmtModifier || (StmtModifier = {})); - -var LeadingComment = /*#__PURE__*/function () { - function LeadingComment(text, multiline, trailingNewline) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, LeadingComment); - - this.text = text; - this.multiline = multiline; - this.trailingNewline = trailingNewline; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(LeadingComment, [{ - key: "toString", - value: function toString() { - return this.multiline ? " ".concat(this.text, " ") : this.text; - } - }]); - - return LeadingComment; -}(); - -var JSDocComment = /*#__PURE__*/function (_LeadingComment) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(JSDocComment, _LeadingComment); - - var _super32 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(JSDocComment); - - function JSDocComment(tags) { - var _this31; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, JSDocComment); - - _this31 = _super32.call(this, '', - /* multiline */ - true, - /* trailingNewline */ - true); - _this31.tags = tags; - return _this31; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(JSDocComment, [{ - key: "toString", - value: function toString() { - return serializeTags(this.tags); - } - }]); - - return JSDocComment; -}(LeadingComment); - -var Statement = /*#__PURE__*/function () { - function Statement() { - var modifiers = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; - var sourceSpan = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; - var leadingComments = arguments.length > 2 ? arguments[2] : undefined; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, Statement); - - this.modifiers = modifiers; - this.sourceSpan = sourceSpan; - this.leadingComments = leadingComments; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(Statement, [{ - key: "hasModifier", - value: function hasModifier(modifier) { - return this.modifiers.indexOf(modifier) !== -1; - } - }, { - key: "addLeadingComment", - value: function addLeadingComment(leadingComment) { - var _a; - - this.leadingComments = (_a = this.leadingComments) !== null && _a !== void 0 ? _a : []; - this.leadingComments.push(leadingComment); - } - }]); - - return Statement; -}(); - -var DeclareVarStmt = /*#__PURE__*/function (_Statement) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(DeclareVarStmt, _Statement); - - var _super33 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(DeclareVarStmt); - - function DeclareVarStmt(name, value, type, modifiers, sourceSpan, leadingComments) { - var _this32; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, DeclareVarStmt); - - _this32 = _super33.call(this, modifiers, sourceSpan, leadingComments); - _this32.name = name; - _this32.value = value; - _this32.type = type || value && value.type || null; - return _this32; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(DeclareVarStmt, [{ - key: "isEquivalent", - value: function isEquivalent(stmt) { - return stmt instanceof DeclareVarStmt && this.name === stmt.name && (this.value ? !!stmt.value && this.value.isEquivalent(stmt.value) : !stmt.value); - } - }, { - key: "visitStatement", - value: function visitStatement(visitor, context) { - return visitor.visitDeclareVarStmt(this, context); - } - }]); - - return DeclareVarStmt; -}(Statement); - -var DeclareFunctionStmt = /*#__PURE__*/function (_Statement2) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(DeclareFunctionStmt, _Statement2); - - var _super34 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(DeclareFunctionStmt); - - function DeclareFunctionStmt(name, params, statements, type, modifiers, sourceSpan, leadingComments) { - var _this33; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, DeclareFunctionStmt); - - _this33 = _super34.call(this, modifiers, sourceSpan, leadingComments); - _this33.name = name; - _this33.params = params; - _this33.statements = statements; - _this33.type = type || null; - return _this33; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(DeclareFunctionStmt, [{ - key: "isEquivalent", - value: function isEquivalent(stmt) { - return stmt instanceof DeclareFunctionStmt && areAllEquivalent(this.params, stmt.params) && areAllEquivalent(this.statements, stmt.statements); - } - }, { - key: "visitStatement", - value: function visitStatement(visitor, context) { - return visitor.visitDeclareFunctionStmt(this, context); - } - }]); - - return DeclareFunctionStmt; -}(Statement); - -var ExpressionStatement = /*#__PURE__*/function (_Statement3) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(ExpressionStatement, _Statement3); - - var _super35 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(ExpressionStatement); - - function ExpressionStatement(expr, sourceSpan, leadingComments) { - var _this34; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, ExpressionStatement); - - _this34 = _super35.call(this, [], sourceSpan, leadingComments); - _this34.expr = expr; - return _this34; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(ExpressionStatement, [{ - key: "isEquivalent", - value: function isEquivalent(stmt) { - return stmt instanceof ExpressionStatement && this.expr.isEquivalent(stmt.expr); - } - }, { - key: "visitStatement", - value: function visitStatement(visitor, context) { - return visitor.visitExpressionStmt(this, context); - } - }]); - - return ExpressionStatement; -}(Statement); - -var ReturnStatement = /*#__PURE__*/function (_Statement4) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(ReturnStatement, _Statement4); - - var _super36 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(ReturnStatement); - - function ReturnStatement(value) { - var _this35; - - var sourceSpan = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; - var leadingComments = arguments.length > 2 ? arguments[2] : undefined; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, ReturnStatement); - - _this35 = _super36.call(this, [], sourceSpan, leadingComments); - _this35.value = value; - return _this35; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(ReturnStatement, [{ - key: "isEquivalent", - value: function isEquivalent(stmt) { - return stmt instanceof ReturnStatement && this.value.isEquivalent(stmt.value); - } - }, { - key: "visitStatement", - value: function visitStatement(visitor, context) { - return visitor.visitReturnStmt(this, context); - } - }]); - - return ReturnStatement; -}(Statement); - -var AbstractClassPart = /*#__PURE__*/function () { - function AbstractClassPart() { - var type = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; - var modifiers = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : []; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, AbstractClassPart); - - this.type = type; - this.modifiers = modifiers; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(AbstractClassPart, [{ - key: "hasModifier", - value: function hasModifier(modifier) { - return this.modifiers.indexOf(modifier) !== -1; - } - }]); - - return AbstractClassPart; -}(); - -var ClassField = /*#__PURE__*/function (_AbstractClassPart) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(ClassField, _AbstractClassPart); - - var _super37 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(ClassField); - - function ClassField(name, type, modifiers, initializer) { - var _this36; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, ClassField); - - _this36 = _super37.call(this, type, modifiers); - _this36.name = name; - _this36.initializer = initializer; - return _this36; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(ClassField, [{ - key: "isEquivalent", - value: function isEquivalent(f) { - return this.name === f.name; - } - }]); - - return ClassField; -}(AbstractClassPart); - -var ClassMethod = /*#__PURE__*/function (_AbstractClassPart2) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(ClassMethod, _AbstractClassPart2); - - var _super38 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(ClassMethod); - - function ClassMethod(name, params, body, type, modifiers) { - var _this37; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, ClassMethod); - - _this37 = _super38.call(this, type, modifiers); - _this37.name = name; - _this37.params = params; - _this37.body = body; - return _this37; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(ClassMethod, [{ - key: "isEquivalent", - value: function isEquivalent(m) { - return this.name === m.name && areAllEquivalent(this.body, m.body); - } - }]); - - return ClassMethod; -}(AbstractClassPart); - -var ClassGetter = /*#__PURE__*/function (_AbstractClassPart3) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(ClassGetter, _AbstractClassPart3); - - var _super39 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(ClassGetter); - - function ClassGetter(name, body, type, modifiers) { - var _this38; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, ClassGetter); - - _this38 = _super39.call(this, type, modifiers); - _this38.name = name; - _this38.body = body; - return _this38; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(ClassGetter, [{ - key: "isEquivalent", - value: function isEquivalent(m) { - return this.name === m.name && areAllEquivalent(this.body, m.body); - } - }]); - - return ClassGetter; -}(AbstractClassPart); - -var ClassStmt = /*#__PURE__*/function (_Statement5) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(ClassStmt, _Statement5); - - var _super40 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(ClassStmt); - - function ClassStmt(name, parent, fields, getters, constructorMethod, methods, modifiers, sourceSpan, leadingComments) { - var _this39; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, ClassStmt); - - _this39 = _super40.call(this, modifiers, sourceSpan, leadingComments); - _this39.name = name; - _this39.parent = parent; - _this39.fields = fields; - _this39.getters = getters; - _this39.constructorMethod = constructorMethod; - _this39.methods = methods; - return _this39; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(ClassStmt, [{ - key: "isEquivalent", - value: function isEquivalent(stmt) { - return stmt instanceof ClassStmt && this.name === stmt.name && nullSafeIsEquivalent(this.parent, stmt.parent) && areAllEquivalent(this.fields, stmt.fields) && areAllEquivalent(this.getters, stmt.getters) && this.constructorMethod.isEquivalent(stmt.constructorMethod) && areAllEquivalent(this.methods, stmt.methods); - } - }, { - key: "visitStatement", - value: function visitStatement(visitor, context) { - return visitor.visitDeclareClassStmt(this, context); - } - }]); - - return ClassStmt; -}(Statement); - -var IfStmt = /*#__PURE__*/function (_Statement6) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(IfStmt, _Statement6); - - var _super41 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(IfStmt); - - function IfStmt(condition, trueCase) { - var _this40; - - var falseCase = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : []; - var sourceSpan = arguments.length > 3 ? arguments[3] : undefined; - var leadingComments = arguments.length > 4 ? arguments[4] : undefined; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, IfStmt); - - _this40 = _super41.call(this, [], sourceSpan, leadingComments); - _this40.condition = condition; - _this40.trueCase = trueCase; - _this40.falseCase = falseCase; - return _this40; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(IfStmt, [{ - key: "isEquivalent", - value: function isEquivalent(stmt) { - return stmt instanceof IfStmt && this.condition.isEquivalent(stmt.condition) && areAllEquivalent(this.trueCase, stmt.trueCase) && areAllEquivalent(this.falseCase, stmt.falseCase); - } - }, { - key: "visitStatement", - value: function visitStatement(visitor, context) { - return visitor.visitIfStmt(this, context); - } - }]); - - return IfStmt; -}(Statement); - -var TryCatchStmt = /*#__PURE__*/function (_Statement7) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(TryCatchStmt, _Statement7); - - var _super42 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(TryCatchStmt); - - function TryCatchStmt(bodyStmts, catchStmts) { - var _this41; - - var sourceSpan = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null; - var leadingComments = arguments.length > 3 ? arguments[3] : undefined; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, TryCatchStmt); - - _this41 = _super42.call(this, [], sourceSpan, leadingComments); - _this41.bodyStmts = bodyStmts; - _this41.catchStmts = catchStmts; - return _this41; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(TryCatchStmt, [{ - key: "isEquivalent", - value: function isEquivalent(stmt) { - return stmt instanceof TryCatchStmt && areAllEquivalent(this.bodyStmts, stmt.bodyStmts) && areAllEquivalent(this.catchStmts, stmt.catchStmts); - } - }, { - key: "visitStatement", - value: function visitStatement(visitor, context) { - return visitor.visitTryCatchStmt(this, context); - } - }]); - - return TryCatchStmt; -}(Statement); - -var ThrowStmt = /*#__PURE__*/function (_Statement8) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(ThrowStmt, _Statement8); - - var _super43 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(ThrowStmt); - - function ThrowStmt(error) { - var _this42; - - var sourceSpan = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; - var leadingComments = arguments.length > 2 ? arguments[2] : undefined; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, ThrowStmt); - - _this42 = _super43.call(this, [], sourceSpan, leadingComments); - _this42.error = error; - return _this42; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(ThrowStmt, [{ - key: "isEquivalent", - value: function isEquivalent(stmt) { - return stmt instanceof TryCatchStmt && this.error.isEquivalent(stmt.error); - } - }, { - key: "visitStatement", - value: function visitStatement(visitor, context) { - return visitor.visitThrowStmt(this, context); - } - }]); - - return ThrowStmt; -}(Statement); - -var AstTransformer = /*#__PURE__*/function () { - function AstTransformer() { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, AstTransformer); - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(AstTransformer, [{ - key: "transformExpr", - value: function transformExpr(expr, context) { - return expr; - } - }, { - key: "transformStmt", - value: function transformStmt(stmt, context) { - return stmt; - } - }, { - key: "visitReadVarExpr", - value: function visitReadVarExpr(ast, context) { - return this.transformExpr(ast, context); - } - }, { - key: "visitWrappedNodeExpr", - value: function visitWrappedNodeExpr(ast, context) { - return this.transformExpr(ast, context); - } - }, { - key: "visitTypeofExpr", - value: function visitTypeofExpr(expr, context) { - return this.transformExpr(new TypeofExpr(expr.expr.visitExpression(this, context), expr.type, expr.sourceSpan), context); - } - }, { - key: "visitWriteVarExpr", - value: function visitWriteVarExpr(expr, context) { - return this.transformExpr(new WriteVarExpr(expr.name, expr.value.visitExpression(this, context), expr.type, expr.sourceSpan), context); - } - }, { - key: "visitWriteKeyExpr", - value: function visitWriteKeyExpr(expr, context) { - return this.transformExpr(new WriteKeyExpr(expr.receiver.visitExpression(this, context), expr.index.visitExpression(this, context), expr.value.visitExpression(this, context), expr.type, expr.sourceSpan), context); - } - }, { - key: "visitWritePropExpr", - value: function visitWritePropExpr(expr, context) { - return this.transformExpr(new WritePropExpr(expr.receiver.visitExpression(this, context), expr.name, expr.value.visitExpression(this, context), expr.type, expr.sourceSpan), context); - } - }, { - key: "visitInvokeMethodExpr", - value: function visitInvokeMethodExpr(ast, context) { - var method = ast.builtin || ast.name; - return this.transformExpr(new InvokeMethodExpr(ast.receiver.visitExpression(this, context), method, this.visitAllExpressions(ast.args, context), ast.type, ast.sourceSpan), context); - } - }, { - key: "visitInvokeFunctionExpr", - value: function visitInvokeFunctionExpr(ast, context) { - return this.transformExpr(new InvokeFunctionExpr(ast.fn.visitExpression(this, context), this.visitAllExpressions(ast.args, context), ast.type, ast.sourceSpan), context); - } - }, { - key: "visitTaggedTemplateExpr", - value: function visitTaggedTemplateExpr(ast, context) { - var _this43 = this; - - return this.transformExpr(new TaggedTemplateExpr(ast.tag.visitExpression(this, context), new TemplateLiteral(ast.template.elements, ast.template.expressions.map(function (e) { - return e.visitExpression(_this43, context); - })), ast.type, ast.sourceSpan), context); - } - }, { - key: "visitInstantiateExpr", - value: function visitInstantiateExpr(ast, context) { - return this.transformExpr(new InstantiateExpr(ast.classExpr.visitExpression(this, context), this.visitAllExpressions(ast.args, context), ast.type, ast.sourceSpan), context); - } - }, { - key: "visitLiteralExpr", - value: function visitLiteralExpr(ast, context) { - return this.transformExpr(ast, context); - } - }, { - key: "visitLocalizedString", - value: function visitLocalizedString(ast, context) { - return this.transformExpr(new LocalizedString(ast.metaBlock, ast.messageParts, ast.placeHolderNames, this.visitAllExpressions(ast.expressions, context), ast.sourceSpan), context); - } - }, { - key: "visitExternalExpr", - value: function visitExternalExpr(ast, context) { - return this.transformExpr(ast, context); - } - }, { - key: "visitConditionalExpr", - value: function visitConditionalExpr(ast, context) { - return this.transformExpr(new ConditionalExpr(ast.condition.visitExpression(this, context), ast.trueCase.visitExpression(this, context), ast.falseCase.visitExpression(this, context), ast.type, ast.sourceSpan), context); - } - }, { - key: "visitNotExpr", - value: function visitNotExpr(ast, context) { - return this.transformExpr(new NotExpr(ast.condition.visitExpression(this, context), ast.sourceSpan), context); - } - }, { - key: "visitAssertNotNullExpr", - value: function visitAssertNotNullExpr(ast, context) { - return this.transformExpr(new AssertNotNull(ast.condition.visitExpression(this, context), ast.sourceSpan), context); - } - }, { - key: "visitCastExpr", - value: function visitCastExpr(ast, context) { - return this.transformExpr(new CastExpr(ast.value.visitExpression(this, context), ast.type, ast.sourceSpan), context); - } - }, { - key: "visitFunctionExpr", - value: function visitFunctionExpr(ast, context) { - return this.transformExpr(new FunctionExpr(ast.params, this.visitAllStatements(ast.statements, context), ast.type, ast.sourceSpan), context); - } - }, { - key: "visitUnaryOperatorExpr", - value: function visitUnaryOperatorExpr(ast, context) { - return this.transformExpr(new UnaryOperatorExpr(ast.operator, ast.expr.visitExpression(this, context), ast.type, ast.sourceSpan), context); - } - }, { - key: "visitBinaryOperatorExpr", - value: function visitBinaryOperatorExpr(ast, context) { - return this.transformExpr(new BinaryOperatorExpr(ast.operator, ast.lhs.visitExpression(this, context), ast.rhs.visitExpression(this, context), ast.type, ast.sourceSpan), context); - } - }, { - key: "visitReadPropExpr", - value: function visitReadPropExpr(ast, context) { - return this.transformExpr(new ReadPropExpr(ast.receiver.visitExpression(this, context), ast.name, ast.type, ast.sourceSpan), context); - } - }, { - key: "visitReadKeyExpr", - value: function visitReadKeyExpr(ast, context) { - return this.transformExpr(new ReadKeyExpr(ast.receiver.visitExpression(this, context), ast.index.visitExpression(this, context), ast.type, ast.sourceSpan), context); - } - }, { - key: "visitLiteralArrayExpr", - value: function visitLiteralArrayExpr(ast, context) { - return this.transformExpr(new LiteralArrayExpr(this.visitAllExpressions(ast.entries, context), ast.type, ast.sourceSpan), context); - } - }, { - key: "visitLiteralMapExpr", - value: function visitLiteralMapExpr(ast, context) { - var _this44 = this; - - var entries = ast.entries.map(function (entry) { - return new LiteralMapEntry(entry.key, entry.value.visitExpression(_this44, context), entry.quoted); - }); - var mapType = new MapType(ast.valueType); - return this.transformExpr(new LiteralMapExpr(entries, mapType, ast.sourceSpan), context); - } - }, { - key: "visitCommaExpr", - value: function visitCommaExpr(ast, context) { - return this.transformExpr(new CommaExpr(this.visitAllExpressions(ast.parts, context), ast.sourceSpan), context); - } - }, { - key: "visitAllExpressions", - value: function visitAllExpressions(exprs, context) { - var _this45 = this; - - return exprs.map(function (expr) { - return expr.visitExpression(_this45, context); - }); - } - }, { - key: "visitDeclareVarStmt", - value: function visitDeclareVarStmt(stmt, context) { - var value = stmt.value && stmt.value.visitExpression(this, context); - return this.transformStmt(new DeclareVarStmt(stmt.name, value, stmt.type, stmt.modifiers, stmt.sourceSpan, stmt.leadingComments), context); - } - }, { - key: "visitDeclareFunctionStmt", - value: function visitDeclareFunctionStmt(stmt, context) { - return this.transformStmt(new DeclareFunctionStmt(stmt.name, stmt.params, this.visitAllStatements(stmt.statements, context), stmt.type, stmt.modifiers, stmt.sourceSpan, stmt.leadingComments), context); - } - }, { - key: "visitExpressionStmt", - value: function visitExpressionStmt(stmt, context) { - return this.transformStmt(new ExpressionStatement(stmt.expr.visitExpression(this, context), stmt.sourceSpan, stmt.leadingComments), context); - } - }, { - key: "visitReturnStmt", - value: function visitReturnStmt(stmt, context) { - return this.transformStmt(new ReturnStatement(stmt.value.visitExpression(this, context), stmt.sourceSpan, stmt.leadingComments), context); - } - }, { - key: "visitDeclareClassStmt", - value: function visitDeclareClassStmt(stmt, context) { - var _this46 = this; - - var parent = stmt.parent.visitExpression(this, context); - var getters = stmt.getters.map(function (getter) { - return new ClassGetter(getter.name, _this46.visitAllStatements(getter.body, context), getter.type, getter.modifiers); - }); - var ctorMethod = stmt.constructorMethod && new ClassMethod(stmt.constructorMethod.name, stmt.constructorMethod.params, this.visitAllStatements(stmt.constructorMethod.body, context), stmt.constructorMethod.type, stmt.constructorMethod.modifiers); - var methods = stmt.methods.map(function (method) { - return new ClassMethod(method.name, method.params, _this46.visitAllStatements(method.body, context), method.type, method.modifiers); - }); - return this.transformStmt(new ClassStmt(stmt.name, parent, stmt.fields, getters, ctorMethod, methods, stmt.modifiers, stmt.sourceSpan), context); - } - }, { - key: "visitIfStmt", - value: function visitIfStmt(stmt, context) { - return this.transformStmt(new IfStmt(stmt.condition.visitExpression(this, context), this.visitAllStatements(stmt.trueCase, context), this.visitAllStatements(stmt.falseCase, context), stmt.sourceSpan, stmt.leadingComments), context); - } - }, { - key: "visitTryCatchStmt", - value: function visitTryCatchStmt(stmt, context) { - return this.transformStmt(new TryCatchStmt(this.visitAllStatements(stmt.bodyStmts, context), this.visitAllStatements(stmt.catchStmts, context), stmt.sourceSpan, stmt.leadingComments), context); - } - }, { - key: "visitThrowStmt", - value: function visitThrowStmt(stmt, context) { - return this.transformStmt(new ThrowStmt(stmt.error.visitExpression(this, context), stmt.sourceSpan, stmt.leadingComments), context); - } - }, { - key: "visitAllStatements", - value: function visitAllStatements(stmts, context) { - var _this47 = this; - - return stmts.map(function (stmt) { - return stmt.visitStatement(_this47, context); - }); - } - }]); - - return AstTransformer; -}(); - -var RecursiveAstVisitor = /*#__PURE__*/function () { - function RecursiveAstVisitor() { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, RecursiveAstVisitor); - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(RecursiveAstVisitor, [{ - key: "visitType", - value: function visitType(ast, context) { - return ast; - } - }, { - key: "visitExpression", - value: function visitExpression(ast, context) { - if (ast.type) { - ast.type.visitType(this, context); - } - - return ast; - } - }, { - key: "visitBuiltinType", - value: function visitBuiltinType(type, context) { - return this.visitType(type, context); - } - }, { - key: "visitExpressionType", - value: function visitExpressionType(type, context) { - var _this48 = this; - - type.value.visitExpression(this, context); - - if (type.typeParams !== null) { - type.typeParams.forEach(function (param) { - return _this48.visitType(param, context); - }); - } - - return this.visitType(type, context); - } - }, { - key: "visitArrayType", - value: function visitArrayType(type, context) { - return this.visitType(type, context); - } - }, { - key: "visitMapType", - value: function visitMapType(type, context) { - return this.visitType(type, context); - } - }, { - key: "visitWrappedNodeExpr", - value: function visitWrappedNodeExpr(ast, context) { - return ast; - } - }, { - key: "visitTypeofExpr", - value: function visitTypeofExpr(ast, context) { - return this.visitExpression(ast, context); - } - }, { - key: "visitReadVarExpr", - value: function visitReadVarExpr(ast, context) { - return this.visitExpression(ast, context); - } - }, { - key: "visitWriteVarExpr", - value: function visitWriteVarExpr(ast, context) { - ast.value.visitExpression(this, context); - return this.visitExpression(ast, context); - } - }, { - key: "visitWriteKeyExpr", - value: function visitWriteKeyExpr(ast, context) { - ast.receiver.visitExpression(this, context); - ast.index.visitExpression(this, context); - ast.value.visitExpression(this, context); - return this.visitExpression(ast, context); - } - }, { - key: "visitWritePropExpr", - value: function visitWritePropExpr(ast, context) { - ast.receiver.visitExpression(this, context); - ast.value.visitExpression(this, context); - return this.visitExpression(ast, context); - } - }, { - key: "visitInvokeMethodExpr", - value: function visitInvokeMethodExpr(ast, context) { - ast.receiver.visitExpression(this, context); - this.visitAllExpressions(ast.args, context); - return this.visitExpression(ast, context); - } - }, { - key: "visitInvokeFunctionExpr", - value: function visitInvokeFunctionExpr(ast, context) { - ast.fn.visitExpression(this, context); - this.visitAllExpressions(ast.args, context); - return this.visitExpression(ast, context); - } - }, { - key: "visitTaggedTemplateExpr", - value: function visitTaggedTemplateExpr(ast, context) { - ast.tag.visitExpression(this, context); - this.visitAllExpressions(ast.template.expressions, context); - return this.visitExpression(ast, context); - } - }, { - key: "visitInstantiateExpr", - value: function visitInstantiateExpr(ast, context) { - ast.classExpr.visitExpression(this, context); - this.visitAllExpressions(ast.args, context); - return this.visitExpression(ast, context); - } - }, { - key: "visitLiteralExpr", - value: function visitLiteralExpr(ast, context) { - return this.visitExpression(ast, context); - } - }, { - key: "visitLocalizedString", - value: function visitLocalizedString(ast, context) { - return this.visitExpression(ast, context); - } - }, { - key: "visitExternalExpr", - value: function visitExternalExpr(ast, context) { - var _this49 = this; - - if (ast.typeParams) { - ast.typeParams.forEach(function (type) { - return type.visitType(_this49, context); - }); - } - - return this.visitExpression(ast, context); - } - }, { - key: "visitConditionalExpr", - value: function visitConditionalExpr(ast, context) { - ast.condition.visitExpression(this, context); - ast.trueCase.visitExpression(this, context); - ast.falseCase.visitExpression(this, context); - return this.visitExpression(ast, context); - } - }, { - key: "visitNotExpr", - value: function visitNotExpr(ast, context) { - ast.condition.visitExpression(this, context); - return this.visitExpression(ast, context); - } - }, { - key: "visitAssertNotNullExpr", - value: function visitAssertNotNullExpr(ast, context) { - ast.condition.visitExpression(this, context); - return this.visitExpression(ast, context); - } - }, { - key: "visitCastExpr", - value: function visitCastExpr(ast, context) { - ast.value.visitExpression(this, context); - return this.visitExpression(ast, context); - } - }, { - key: "visitFunctionExpr", - value: function visitFunctionExpr(ast, context) { - this.visitAllStatements(ast.statements, context); - return this.visitExpression(ast, context); - } - }, { - key: "visitUnaryOperatorExpr", - value: function visitUnaryOperatorExpr(ast, context) { - ast.expr.visitExpression(this, context); - return this.visitExpression(ast, context); - } - }, { - key: "visitBinaryOperatorExpr", - value: function visitBinaryOperatorExpr(ast, context) { - ast.lhs.visitExpression(this, context); - ast.rhs.visitExpression(this, context); - return this.visitExpression(ast, context); - } - }, { - key: "visitReadPropExpr", - value: function visitReadPropExpr(ast, context) { - ast.receiver.visitExpression(this, context); - return this.visitExpression(ast, context); - } - }, { - key: "visitReadKeyExpr", - value: function visitReadKeyExpr(ast, context) { - ast.receiver.visitExpression(this, context); - ast.index.visitExpression(this, context); - return this.visitExpression(ast, context); - } - }, { - key: "visitLiteralArrayExpr", - value: function visitLiteralArrayExpr(ast, context) { - this.visitAllExpressions(ast.entries, context); - return this.visitExpression(ast, context); - } - }, { - key: "visitLiteralMapExpr", - value: function visitLiteralMapExpr(ast, context) { - var _this50 = this; - - ast.entries.forEach(function (entry) { - return entry.value.visitExpression(_this50, context); - }); - return this.visitExpression(ast, context); - } - }, { - key: "visitCommaExpr", - value: function visitCommaExpr(ast, context) { - this.visitAllExpressions(ast.parts, context); - return this.visitExpression(ast, context); - } - }, { - key: "visitAllExpressions", - value: function visitAllExpressions(exprs, context) { - var _this51 = this; - - exprs.forEach(function (expr) { - return expr.visitExpression(_this51, context); - }); - } - }, { - key: "visitDeclareVarStmt", - value: function visitDeclareVarStmt(stmt, context) { - if (stmt.value) { - stmt.value.visitExpression(this, context); - } - - if (stmt.type) { - stmt.type.visitType(this, context); - } - - return stmt; - } - }, { - key: "visitDeclareFunctionStmt", - value: function visitDeclareFunctionStmt(stmt, context) { - this.visitAllStatements(stmt.statements, context); - - if (stmt.type) { - stmt.type.visitType(this, context); - } - - return stmt; - } - }, { - key: "visitExpressionStmt", - value: function visitExpressionStmt(stmt, context) { - stmt.expr.visitExpression(this, context); - return stmt; - } - }, { - key: "visitReturnStmt", - value: function visitReturnStmt(stmt, context) { - stmt.value.visitExpression(this, context); - return stmt; - } - }, { - key: "visitDeclareClassStmt", - value: function visitDeclareClassStmt(stmt, context) { - var _this52 = this; - - stmt.parent.visitExpression(this, context); - stmt.getters.forEach(function (getter) { - return _this52.visitAllStatements(getter.body, context); - }); - - if (stmt.constructorMethod) { - this.visitAllStatements(stmt.constructorMethod.body, context); - } - - stmt.methods.forEach(function (method) { - return _this52.visitAllStatements(method.body, context); - }); - return stmt; - } - }, { - key: "visitIfStmt", - value: function visitIfStmt(stmt, context) { - stmt.condition.visitExpression(this, context); - this.visitAllStatements(stmt.trueCase, context); - this.visitAllStatements(stmt.falseCase, context); - return stmt; - } - }, { - key: "visitTryCatchStmt", - value: function visitTryCatchStmt(stmt, context) { - this.visitAllStatements(stmt.bodyStmts, context); - this.visitAllStatements(stmt.catchStmts, context); - return stmt; - } - }, { - key: "visitThrowStmt", - value: function visitThrowStmt(stmt, context) { - stmt.error.visitExpression(this, context); - return stmt; - } - }, { - key: "visitAllStatements", - value: function visitAllStatements(stmts, context) { - var _this53 = this; - - stmts.forEach(function (stmt) { - return stmt.visitStatement(_this53, context); - }); - } - }]); - - return RecursiveAstVisitor; -}(); - -function findReadVarNames(stmts) { - var visitor = new _ReadVarVisitor(); - visitor.visitAllStatements(stmts, null); - return visitor.varNames; -} - -var _ReadVarVisitor = /*#__PURE__*/function (_RecursiveAstVisitor) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(_ReadVarVisitor, _RecursiveAstVisitor); - - var _super44 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(_ReadVarVisitor); - - function _ReadVarVisitor() { - var _this54; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, _ReadVarVisitor); - - _this54 = _super44.apply(this, arguments); - _this54.varNames = new Set(); - return _this54; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(_ReadVarVisitor, [{ - key: "visitDeclareFunctionStmt", - value: function visitDeclareFunctionStmt(stmt, context) { - // Don't descend into nested functions - return stmt; - } - }, { - key: "visitDeclareClassStmt", - value: function visitDeclareClassStmt(stmt, context) { - // Don't descend into nested classes - return stmt; - } - }, { - key: "visitReadVarExpr", - value: function visitReadVarExpr(ast, context) { - if (ast.name) { - this.varNames.add(ast.name); - } - - return null; - } - }]); - - return _ReadVarVisitor; -}(RecursiveAstVisitor); - -function collectExternalReferences(stmts) { - var visitor = new _FindExternalReferencesVisitor(); - visitor.visitAllStatements(stmts, null); - return visitor.externalReferences; -} - -var _FindExternalReferencesVisitor = /*#__PURE__*/function (_RecursiveAstVisitor2) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(_FindExternalReferencesVisitor, _RecursiveAstVisitor2); - - var _super45 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(_FindExternalReferencesVisitor); - - function _FindExternalReferencesVisitor() { - var _this55; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, _FindExternalReferencesVisitor); - - _this55 = _super45.apply(this, arguments); - _this55.externalReferences = []; - return _this55; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(_FindExternalReferencesVisitor, [{ - key: "visitExternalExpr", - value: function visitExternalExpr(e, context) { - this.externalReferences.push(e.value); - return Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_8__["default"])(Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_9__["default"])(_FindExternalReferencesVisitor.prototype), "visitExternalExpr", this).call(this, e, context); - } - }]); - - return _FindExternalReferencesVisitor; -}(RecursiveAstVisitor); - -function applySourceSpanToStatementIfNeeded(stmt, sourceSpan) { - if (!sourceSpan) { - return stmt; - } - - var transformer = new _ApplySourceSpanTransformer(sourceSpan); - return stmt.visitStatement(transformer, null); -} - -function applySourceSpanToExpressionIfNeeded(expr, sourceSpan) { - if (!sourceSpan) { - return expr; - } - - var transformer = new _ApplySourceSpanTransformer(sourceSpan); - return expr.visitExpression(transformer, null); -} - -var _ApplySourceSpanTransformer = /*#__PURE__*/function (_AstTransformer) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(_ApplySourceSpanTransformer, _AstTransformer); - - var _super46 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(_ApplySourceSpanTransformer); - - function _ApplySourceSpanTransformer(sourceSpan) { - var _this56; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, _ApplySourceSpanTransformer); - - _this56 = _super46.call(this); - _this56.sourceSpan = sourceSpan; - return _this56; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(_ApplySourceSpanTransformer, [{ - key: "_clone", - value: function _clone(obj) { - var clone = Object.create(obj.constructor.prototype); - - for (var _i4 = 0, _Object$keys = Object.keys(obj); _i4 < _Object$keys.length; _i4++) { - var prop = _Object$keys[_i4]; - clone[prop] = obj[prop]; - } - - return clone; - } - }, { - key: "transformExpr", - value: function transformExpr(expr, context) { - if (!expr.sourceSpan) { - expr = this._clone(expr); - expr.sourceSpan = this.sourceSpan; - } - - return expr; - } - }, { - key: "transformStmt", - value: function transformStmt(stmt, context) { - if (!stmt.sourceSpan) { - stmt = this._clone(stmt); - stmt.sourceSpan = this.sourceSpan; - } - - return stmt; - } - }]); - - return _ApplySourceSpanTransformer; -}(AstTransformer); - -function leadingComment(text) { - var multiline = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; - var trailingNewline = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true; - return new LeadingComment(text, multiline, trailingNewline); -} - -function jsDocComment() { - var tags = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; - return new JSDocComment(tags); -} - -function variable(name, type, sourceSpan) { - return new ReadVarExpr(name, type, sourceSpan); -} - -function importExpr(id) { - var typeParams = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; - var sourceSpan = arguments.length > 2 ? arguments[2] : undefined; - return new ExternalExpr(id, null, typeParams, sourceSpan); -} - -function importType(id, typeParams, typeModifiers) { - return id != null ? expressionType(importExpr(id, typeParams, null), typeModifiers) : null; -} - -function expressionType(expr, typeModifiers, typeParams) { - return new ExpressionType(expr, typeModifiers, typeParams); -} - -function typeofExpr(expr) { - return new TypeofExpr(expr); -} - -function literalArr(values, type, sourceSpan) { - return new LiteralArrayExpr(values, type, sourceSpan); -} - -function literalMap(values) { - var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; - return new LiteralMapExpr(values.map(function (e) { - return new LiteralMapEntry(e.key, e.value, e.quoted); - }), type, null); -} - -function unary(operator, expr, type, sourceSpan) { - return new UnaryOperatorExpr(operator, expr, type, sourceSpan); -} - -function not(expr, sourceSpan) { - return new NotExpr(expr, sourceSpan); -} - -function assertNotNull(expr, sourceSpan) { - return new AssertNotNull(expr, sourceSpan); -} - -function fn(params, body, type, sourceSpan, name) { - return new FunctionExpr(params, body, type, sourceSpan, name); -} - -function ifStmt(condition, thenClause, elseClause, sourceSpan, leadingComments) { - return new IfStmt(condition, thenClause, elseClause, sourceSpan, leadingComments); -} - -function taggedTemplate(tag, template, type, sourceSpan) { - return new TaggedTemplateExpr(tag, template, type, sourceSpan); -} - -function literal(value, type, sourceSpan) { - return new LiteralExpr(value, type, sourceSpan); -} - -function localizedString(metaBlock, messageParts, placeholderNames, expressions, sourceSpan) { - return new LocalizedString(metaBlock, messageParts, placeholderNames, expressions, sourceSpan); -} - -function isNull(exp) { - return exp instanceof LiteralExpr && exp.value === null; -} -/* - * Serializes a `Tag` into a string. - * Returns a string like " @foo {bar} baz" (note the leading whitespace before `@foo`). - */ - - -function tagToString(tag) { - var out = ''; - - if (tag.tagName) { - out += " @".concat(tag.tagName); - } - - if (tag.text) { - if (tag.text.match(/\/\*|\*\//)) { - throw new Error('JSDoc text cannot contain "/*" and "*/"'); - } - - out += ' ' + tag.text.replace(/@/g, '\\@'); - } - - return out; -} - -function serializeTags(tags) { - if (tags.length === 0) return ''; - - if (tags.length === 1 && tags[0].tagName && !tags[0].text) { - // The JSDOC comment is a single simple tag: e.g `/** @tagname */`. - return "*".concat(tagToString(tags[0]), " "); - } - - var out = '*\n'; - - var _iterator = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createForOfIteratorHelper__WEBPACK_IMPORTED_MODULE_7__["default"])(tags), - _step; - - try { - for (_iterator.s(); !(_step = _iterator.n()).done;) { - var tag = _step.value; - out += ' *'; // If the tagToString is multi-line, insert " * " prefixes on lines. - - out += tagToString(tag).replace(/\n/g, '\n * '); - out += '\n'; - } - } catch (err) { - _iterator.e(err); - } finally { - _iterator.f(); - } - - out += ' '; - return out; -} -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - -var CONSTANT_PREFIX = '_c'; -/** - * `ConstantPool` tries to reuse literal factories when two or more literals are identical. - * We determine whether literals are identical by creating a key out of their AST using the - * `KeyVisitor`. This constant is used to replace dynamic expressions which can't be safely - * converted into a key. E.g. given an expression `{foo: bar()}`, since we don't know what - * the result of `bar` will be, we create a key that looks like `{foo: }`. Note - * that we use a variable, rather than something like `null` in order to avoid collisions. - */ - -var UNKNOWN_VALUE_KEY = variable(''); -/** - * Context to use when producing a key. - * - * This ensures we see the constant not the reference variable when producing - * a key. - */ - -var KEY_CONTEXT = {}; -/** - * Generally all primitive values are excluded from the `ConstantPool`, but there is an exclusion - * for strings that reach a certain length threshold. This constant defines the length threshold for - * strings. - */ - -var POOL_INCLUSION_LENGTH_THRESHOLD_FOR_STRINGS = 50; -/** - * A node that is a place-holder that allows the node to be replaced when the actual - * node is known. - * - * This allows the constant pool to change an expression from a direct reference to - * a constant to a shared constant. It returns a fix-up node that is later allowed to - * change the referenced expression. - */ - -var FixupExpression = /*#__PURE__*/function (_Expression26) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(FixupExpression, _Expression26); - - var _super47 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(FixupExpression); - - function FixupExpression(resolved) { - var _this57; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, FixupExpression); - - _this57 = _super47.call(this, resolved.type); - _this57.resolved = resolved; - _this57.original = resolved; - return _this57; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(FixupExpression, [{ - key: "visitExpression", - value: function visitExpression(visitor, context) { - if (context === KEY_CONTEXT) { - // When producing a key we want to traverse the constant not the - // variable used to refer to it. - return this.original.visitExpression(visitor, context); - } else { - return this.resolved.visitExpression(visitor, context); - } - } - }, { - key: "isEquivalent", - value: function isEquivalent(e) { - return e instanceof FixupExpression && this.resolved.isEquivalent(e.resolved); - } - }, { - key: "isConstant", - value: function isConstant() { - return true; - } - }, { - key: "fixup", - value: function fixup(expression) { - this.resolved = expression; - this.shared = true; - } - }]); - - return FixupExpression; -}(Expression); -/** - * A constant pool allows a code emitter to share constant in an output context. - * - * The constant pool also supports sharing access to ivy definitions references. - */ - - -var ConstantPool = /*#__PURE__*/function () { - function ConstantPool() { - var isClosureCompilerEnabled = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, ConstantPool); - - this.isClosureCompilerEnabled = isClosureCompilerEnabled; - this.statements = []; - this.literals = new Map(); - this.literalFactories = new Map(); - this.injectorDefinitions = new Map(); - this.directiveDefinitions = new Map(); - this.componentDefinitions = new Map(); - this.pipeDefinitions = new Map(); - this.nextNameIndex = 0; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(ConstantPool, [{ - key: "getConstLiteral", - value: function getConstLiteral(literal, forceShared) { - if (literal instanceof LiteralExpr && !isLongStringLiteral(literal) || literal instanceof FixupExpression) { - // Do no put simple literals into the constant pool or try to produce a constant for a - // reference to a constant. - return literal; - } - - var key = this.keyOf(literal); - var fixup = this.literals.get(key); - var newValue = false; - - if (!fixup) { - fixup = new FixupExpression(literal); - this.literals.set(key, fixup); - newValue = true; - } - - if (!newValue && !fixup.shared || newValue && forceShared) { - // Replace the expression with a variable - var name = this.freshName(); - var definition; - var usage; - - if (this.isClosureCompilerEnabled && isLongStringLiteral(literal)) { - // For string literals, Closure will **always** inline the string at - // **all** usages, duplicating it each time. For large strings, this - // unnecessarily bloats bundle size. To work around this restriction, we - // wrap the string in a function, and call that function for each usage. - // This tricks Closure into using inline logic for functions instead of - // string literals. Function calls are only inlined if the body is small - // enough to be worth it. By doing this, very large strings will be - // shared across multiple usages, rather than duplicating the string at - // each usage site. - // - // const myStr = function() { return "very very very long string"; }; - // const usage1 = myStr(); - // const usage2 = myStr(); - definition = variable(name).set(new FunctionExpr([], // Params. - [// Statements. - new ReturnStatement(literal)])); - usage = variable(name).callFn([]); - } else { - // Just declare and use the variable directly, without a function call - // indirection. This saves a few bytes and avoids an unncessary call. - definition = variable(name).set(literal); - usage = variable(name); - } - - this.statements.push(definition.toDeclStmt(INFERRED_TYPE, [StmtModifier.Final])); - fixup.fixup(usage); - } - - return fixup; - } - }, { - key: "getDefinition", - value: function getDefinition(type, kind, ctx) { - var forceShared = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false; - var definitions = this.definitionsOf(kind); - var fixup = definitions.get(type); - var newValue = false; - - if (!fixup) { - var property = this.propertyNameOf(kind); - fixup = new FixupExpression(ctx.importExpr(type).prop(property)); - definitions.set(type, fixup); - newValue = true; - } - - if (!newValue && !fixup.shared || newValue && forceShared) { - var name = this.freshName(); - this.statements.push(variable(name).set(fixup.resolved).toDeclStmt(INFERRED_TYPE, [StmtModifier.Final])); - fixup.fixup(variable(name)); - } - - return fixup; - } - }, { - key: "getLiteralFactory", - value: function getLiteralFactory(literal) { - // Create a pure function that builds an array of a mix of constant and variable expressions - if (literal instanceof LiteralArrayExpr) { - var argumentsForKey = literal.entries.map(function (e) { - return e.isConstant() ? e : UNKNOWN_VALUE_KEY; - }); - var key = this.keyOf(literalArr(argumentsForKey)); - return this._getLiteralFactory(key, literal.entries, function (entries) { - return literalArr(entries); - }); - } else { - var expressionForKey = literalMap(literal.entries.map(function (e) { - return { - key: e.key, - value: e.value.isConstant() ? e.value : UNKNOWN_VALUE_KEY, - quoted: e.quoted - }; - })); - - var _key = this.keyOf(expressionForKey); - - return this._getLiteralFactory(_key, literal.entries.map(function (e) { - return e.value; - }), function (entries) { - return literalMap(entries.map(function (value, index) { - return { - key: literal.entries[index].key, - value: value, - quoted: literal.entries[index].quoted - }; - })); - }); - } - } - }, { - key: "_getLiteralFactory", - value: function _getLiteralFactory(key, values, resultMap) { - var _this58 = this; - - var literalFactory = this.literalFactories.get(key); - var literalFactoryArguments = values.filter(function (e) { - return !e.isConstant(); - }); - - if (!literalFactory) { - var resultExpressions = values.map(function (e, index) { - return e.isConstant() ? _this58.getConstLiteral(e, true) : variable("a".concat(index)); - }); - var parameters = resultExpressions.filter(isVariable).map(function (e) { - return new FnParam(e.name, DYNAMIC_TYPE); - }); - var pureFunctionDeclaration = fn(parameters, [new ReturnStatement(resultMap(resultExpressions))], INFERRED_TYPE); - var name = this.freshName(); - this.statements.push(variable(name).set(pureFunctionDeclaration).toDeclStmt(INFERRED_TYPE, [StmtModifier.Final])); - literalFactory = variable(name); - this.literalFactories.set(key, literalFactory); - } - - return { - literalFactory: literalFactory, - literalFactoryArguments: literalFactoryArguments - }; - } - /** - * Produce a unique name. - * - * The name might be unique among different prefixes if any of the prefixes end in - * a digit so the prefix should be a constant string (not based on user input) and - * must not end in a digit. - */ - - }, { - key: "uniqueName", - value: function uniqueName(prefix) { - return "".concat(prefix).concat(this.nextNameIndex++); - } - }, { - key: "definitionsOf", - value: function definitionsOf(kind) { - switch (kind) { - case 2 - /* Component */ - : - return this.componentDefinitions; - - case 1 - /* Directive */ - : - return this.directiveDefinitions; - - case 0 - /* Injector */ - : - return this.injectorDefinitions; - - case 3 - /* Pipe */ - : - return this.pipeDefinitions; - } - } - }, { - key: "propertyNameOf", - value: function propertyNameOf(kind) { - switch (kind) { - case 2 - /* Component */ - : - return 'ɵcmp'; - - case 1 - /* Directive */ - : - return 'ɵdir'; - - case 0 - /* Injector */ - : - return 'ɵinj'; - - case 3 - /* Pipe */ - : - return 'ɵpipe'; - } - } - }, { - key: "freshName", - value: function freshName() { - return this.uniqueName(CONSTANT_PREFIX); - } - }, { - key: "keyOf", - value: function keyOf(expression) { - return expression.visitExpression(new KeyVisitor(), KEY_CONTEXT); - } - }]); - - return ConstantPool; -}(); -/** - * Visitor used to determine if 2 expressions are equivalent and can be shared in the - * `ConstantPool`. - * - * When the id (string) generated by the visitor is equal, expressions are considered equivalent. - */ - - -var KeyVisitor = /*#__PURE__*/function () { - function KeyVisitor() { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, KeyVisitor); - - this.visitWrappedNodeExpr = invalid; - this.visitWriteVarExpr = invalid; - this.visitWriteKeyExpr = invalid; - this.visitWritePropExpr = invalid; - this.visitInvokeMethodExpr = invalid; - this.visitInvokeFunctionExpr = invalid; - this.visitTaggedTemplateExpr = invalid; - this.visitInstantiateExpr = invalid; - this.visitConditionalExpr = invalid; - this.visitNotExpr = invalid; - this.visitAssertNotNullExpr = invalid; - this.visitCastExpr = invalid; - this.visitFunctionExpr = invalid; - this.visitUnaryOperatorExpr = invalid; - this.visitBinaryOperatorExpr = invalid; - this.visitReadPropExpr = invalid; - this.visitReadKeyExpr = invalid; - this.visitCommaExpr = invalid; - this.visitLocalizedString = invalid; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(KeyVisitor, [{ - key: "visitLiteralExpr", - value: function visitLiteralExpr(ast) { - return "".concat(typeof ast.value === 'string' ? '"' + ast.value + '"' : ast.value); - } - }, { - key: "visitLiteralArrayExpr", - value: function visitLiteralArrayExpr(ast, context) { - var _this59 = this; - - return "[".concat(ast.entries.map(function (entry) { - return entry.visitExpression(_this59, context); - }).join(','), "]"); - } - }, { - key: "visitLiteralMapExpr", - value: function visitLiteralMapExpr(ast, context) { - var _this60 = this; - - var mapKey = function mapKey(entry) { - var quote = entry.quoted ? '"' : ''; - return "".concat(quote).concat(entry.key).concat(quote); - }; - - var mapEntry = function mapEntry(entry) { - return "".concat(mapKey(entry), ":").concat(entry.value.visitExpression(_this60, context)); - }; - - return "{".concat(ast.entries.map(mapEntry).join(',')); - } - }, { - key: "visitExternalExpr", - value: function visitExternalExpr(ast) { - return ast.value.moduleName ? "EX:".concat(ast.value.moduleName, ":").concat(ast.value.name) : "EX:".concat(ast.value.runtime.name); - } - }, { - key: "visitReadVarExpr", - value: function visitReadVarExpr(node) { - return "VAR:".concat(node.name); - } - }, { - key: "visitTypeofExpr", - value: function visitTypeofExpr(node, context) { - return "TYPEOF:".concat(node.expr.visitExpression(this, context)); - } - }]); - - return KeyVisitor; -}(); - -function invalid(arg) { - throw new Error("Invalid state: Visitor ".concat(this.constructor.name, " doesn't handle ").concat(arg.constructor.name)); -} - -function isVariable(e) { - return e instanceof ReadVarExpr; -} - -function isLongStringLiteral(expr) { - return expr instanceof LiteralExpr && typeof expr.value === 'string' && expr.value.length >= POOL_INCLUSION_LENGTH_THRESHOLD_FOR_STRINGS; -} -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - -var CORE = '@angular/core'; - -var Identifiers = function Identifiers() { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, Identifiers); -}; - -Identifiers.ANALYZE_FOR_ENTRY_COMPONENTS = { - name: 'ANALYZE_FOR_ENTRY_COMPONENTS', - moduleName: CORE -}; -Identifiers.ElementRef = { - name: 'ElementRef', - moduleName: CORE -}; -Identifiers.NgModuleRef = { - name: 'NgModuleRef', - moduleName: CORE -}; -Identifiers.ViewContainerRef = { - name: 'ViewContainerRef', - moduleName: CORE -}; -Identifiers.ChangeDetectorRef = { - name: 'ChangeDetectorRef', - moduleName: CORE -}; -Identifiers.QueryList = { - name: 'QueryList', - moduleName: CORE -}; -Identifiers.TemplateRef = { - name: 'TemplateRef', - moduleName: CORE -}; -Identifiers.Renderer2 = { - name: 'Renderer2', - moduleName: CORE -}; -Identifiers.CodegenComponentFactoryResolver = { - name: 'ɵCodegenComponentFactoryResolver', - moduleName: CORE -}; -Identifiers.ComponentFactoryResolver = { - name: 'ComponentFactoryResolver', - moduleName: CORE -}; -Identifiers.ComponentFactory = { - name: 'ComponentFactory', - moduleName: CORE -}; -Identifiers.ComponentRef = { - name: 'ComponentRef', - moduleName: CORE -}; -Identifiers.NgModuleFactory = { - name: 'NgModuleFactory', - moduleName: CORE -}; -Identifiers.createModuleFactory = { - name: 'ɵcmf', - moduleName: CORE -}; -Identifiers.moduleDef = { - name: 'ɵmod', - moduleName: CORE -}; -Identifiers.moduleProviderDef = { - name: 'ɵmpd', - moduleName: CORE -}; -Identifiers.RegisterModuleFactoryFn = { - name: 'ɵregisterModuleFactory', - moduleName: CORE -}; -Identifiers.inject = { - name: 'ɵɵinject', - moduleName: CORE -}; -Identifiers.directiveInject = { - name: 'ɵɵdirectiveInject', - moduleName: CORE -}; -Identifiers.INJECTOR = { - name: 'INJECTOR', - moduleName: CORE -}; -Identifiers.Injector = { - name: 'Injector', - moduleName: CORE -}; -Identifiers.ɵɵdefineInjectable = { - name: 'ɵɵdefineInjectable', - moduleName: CORE -}; -Identifiers.InjectableDef = { - name: 'ɵɵInjectableDef', - moduleName: CORE -}; -Identifiers.ViewEncapsulation = { - name: 'ViewEncapsulation', - moduleName: CORE -}; -Identifiers.ChangeDetectionStrategy = { - name: 'ChangeDetectionStrategy', - moduleName: CORE -}; -Identifiers.SecurityContext = { - name: 'SecurityContext', - moduleName: CORE -}; -Identifiers.LOCALE_ID = { - name: 'LOCALE_ID', - moduleName: CORE -}; -Identifiers.TRANSLATIONS_FORMAT = { - name: 'TRANSLATIONS_FORMAT', - moduleName: CORE -}; -Identifiers.inlineInterpolate = { - name: 'ɵinlineInterpolate', - moduleName: CORE -}; -Identifiers.interpolate = { - name: 'ɵinterpolate', - moduleName: CORE -}; -Identifiers.EMPTY_ARRAY = { - name: 'ɵEMPTY_ARRAY', - moduleName: CORE -}; -Identifiers.EMPTY_MAP = { - name: 'ɵEMPTY_MAP', - moduleName: CORE -}; -Identifiers.Renderer = { - name: 'Renderer', - moduleName: CORE -}; -Identifiers.viewDef = { - name: 'ɵvid', - moduleName: CORE -}; -Identifiers.elementDef = { - name: 'ɵeld', - moduleName: CORE -}; -Identifiers.anchorDef = { - name: 'ɵand', - moduleName: CORE -}; -Identifiers.textDef = { - name: 'ɵted', - moduleName: CORE -}; -Identifiers.directiveDef = { - name: 'ɵdid', - moduleName: CORE -}; -Identifiers.providerDef = { - name: 'ɵprd', - moduleName: CORE -}; -Identifiers.queryDef = { - name: 'ɵqud', - moduleName: CORE -}; -Identifiers.pureArrayDef = { - name: 'ɵpad', - moduleName: CORE -}; -Identifiers.pureObjectDef = { - name: 'ɵpod', - moduleName: CORE -}; -Identifiers.purePipeDef = { - name: 'ɵppd', - moduleName: CORE -}; -Identifiers.pipeDef = { - name: 'ɵpid', - moduleName: CORE -}; -Identifiers.nodeValue = { - name: 'ɵnov', - moduleName: CORE -}; -Identifiers.ngContentDef = { - name: 'ɵncd', - moduleName: CORE -}; -Identifiers.unwrapValue = { - name: 'ɵunv', - moduleName: CORE -}; -Identifiers.createRendererType2 = { - name: 'ɵcrt', - moduleName: CORE -}; // type only - -Identifiers.RendererType2 = { - name: 'RendererType2', - moduleName: CORE -}; // type only - -Identifiers.ViewDefinition = { - name: 'ɵViewDefinition', - moduleName: CORE -}; -Identifiers.createComponentFactory = { - name: 'ɵccf', - moduleName: CORE -}; -Identifiers.setClassMetadata = { - name: 'ɵsetClassMetadata', - moduleName: CORE -}; - -function createTokenForReference(reference) { - return { - identifier: { - reference: reference - } - }; -} - -function createTokenForExternalReference(reflector, reference) { - return createTokenForReference(reflector.resolveExternalReference(reference)); -} -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - -/** - * A token representing the a reference to a static type. - * - * This token is unique for a filePath and name and can be used as a hash table key. - */ - - -var StaticSymbol = /*#__PURE__*/function () { - function StaticSymbol(filePath, name, members) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, StaticSymbol); - - this.filePath = filePath; - this.name = name; - this.members = members; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(StaticSymbol, [{ - key: "assertNoMembers", - value: function assertNoMembers() { - if (this.members.length) { - throw new Error("Illegal state: symbol without members expected, but got ".concat(JSON.stringify(this), ".")); - } - } - }]); - - return StaticSymbol; -}(); -/** - * A cache of static symbol used by the StaticReflector to return the same symbol for the - * same symbol values. - */ - - -var StaticSymbolCache = /*#__PURE__*/function () { - function StaticSymbolCache() { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, StaticSymbolCache); - - this.cache = new Map(); - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(StaticSymbolCache, [{ - key: "get", - value: function get(declarationFile, name, members) { - members = members || []; - var memberSuffix = members.length ? ".".concat(members.join('.')) : ''; - var key = "\"".concat(declarationFile, "\".").concat(name).concat(memberSuffix); - var result = this.cache.get(key); - - if (!result) { - result = new StaticSymbol(declarationFile, name, members); - this.cache.set(key, result); - } - - return result; - } - }]); - - return StaticSymbolCache; -}(); -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - -var DASH_CASE_REGEXP = /-+([a-z0-9])/g; - -function dashCaseToCamelCase(input) { - return input.replace(DASH_CASE_REGEXP, function () { - for (var _len = arguments.length, m = new Array(_len), _key2 = 0; _key2 < _len; _key2++) { - m[_key2] = arguments[_key2]; - } - - return m[1].toUpperCase(); - }); -} - -function splitAtColon(input, defaultValues) { - return _splitAt(input, ':', defaultValues); -} - -function splitAtPeriod(input, defaultValues) { - return _splitAt(input, '.', defaultValues); -} - -function _splitAt(input, character, defaultValues) { - var characterIndex = input.indexOf(character); - if (characterIndex == -1) return defaultValues; - return [input.slice(0, characterIndex).trim(), input.slice(characterIndex + 1).trim()]; -} - -function visitValue(value, visitor, context) { - if (Array.isArray(value)) { - return visitor.visitArray(value, context); - } - - if (isStrictStringMap(value)) { - return visitor.visitStringMap(value, context); - } - - if (value == null || typeof value == 'string' || typeof value == 'number' || typeof value == 'boolean') { - return visitor.visitPrimitive(value, context); - } - - return visitor.visitOther(value, context); -} - -function isDefined(val) { - return val !== null && val !== undefined; -} - -function noUndefined(val) { - return val === undefined ? null : val; -} - -var ValueTransformer = /*#__PURE__*/function () { - function ValueTransformer() { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, ValueTransformer); - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(ValueTransformer, [{ - key: "visitArray", - value: function visitArray(arr, context) { - var _this61 = this; - - return arr.map(function (value) { - return visitValue(value, _this61, context); - }); - } - }, { - key: "visitStringMap", - value: function visitStringMap(map, context) { - var _this62 = this; - - var result = {}; - Object.keys(map).forEach(function (key) { - result[key] = visitValue(map[key], _this62, context); - }); - return result; - } - }, { - key: "visitPrimitive", - value: function visitPrimitive(value, context) { - return value; - } - }, { - key: "visitOther", - value: function visitOther(value, context) { - return value; - } - }]); - - return ValueTransformer; -}(); - -var SyncAsync = { - assertSync: function assertSync(value) { - if (isPromise(value)) { - throw new Error("Illegal state: value cannot be a promise"); - } - - return value; - }, - then: function then(value, cb) { - return isPromise(value) ? value.then(cb) : cb(value); - }, - all: function all(syncAsyncValues) { - return syncAsyncValues.some(isPromise) ? Promise.all(syncAsyncValues) : syncAsyncValues; - } -}; - -function error(msg) { - throw new Error("Internal Error: ".concat(msg)); -} - -function syntaxError(msg, parseErrors) { - var error = Error(msg); - error[ERROR_SYNTAX_ERROR] = true; - if (parseErrors) error[ERROR_PARSE_ERRORS] = parseErrors; - return error; -} - -var ERROR_SYNTAX_ERROR = 'ngSyntaxError'; -var ERROR_PARSE_ERRORS = 'ngParseErrors'; - -function isSyntaxError(error) { - return error[ERROR_SYNTAX_ERROR]; -} - -function getParseErrors(error) { - return error[ERROR_PARSE_ERRORS] || []; -} // Escape characters that have a special meaning in Regular Expressions - - -function escapeRegExp(s) { - return s.replace(/([.*+?^=!:${}()|[\]\/\\])/g, '\\$1'); -} - -var STRING_MAP_PROTO = Object.getPrototypeOf({}); - -function isStrictStringMap(obj) { - return typeof obj === 'object' && obj !== null && Object.getPrototypeOf(obj) === STRING_MAP_PROTO; -} - -function utf8Encode(str) { - var encoded = []; - - for (var index = 0; index < str.length; index++) { - var codePoint = str.charCodeAt(index); // decode surrogate - // see https://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae - - if (codePoint >= 0xd800 && codePoint <= 0xdbff && str.length > index + 1) { - var low = str.charCodeAt(index + 1); - - if (low >= 0xdc00 && low <= 0xdfff) { - index++; - codePoint = (codePoint - 0xd800 << 10) + low - 0xdc00 + 0x10000; - } - } - - if (codePoint <= 0x7f) { - encoded.push(codePoint); - } else if (codePoint <= 0x7ff) { - encoded.push(codePoint >> 6 & 0x1F | 0xc0, codePoint & 0x3f | 0x80); - } else if (codePoint <= 0xffff) { - encoded.push(codePoint >> 12 | 0xe0, codePoint >> 6 & 0x3f | 0x80, codePoint & 0x3f | 0x80); - } else if (codePoint <= 0x1fffff) { - encoded.push(codePoint >> 18 & 0x07 | 0xf0, codePoint >> 12 & 0x3f | 0x80, codePoint >> 6 & 0x3f | 0x80, codePoint & 0x3f | 0x80); - } - } - - return encoded; -} - -function stringify(token) { - if (typeof token === 'string') { - return token; - } - - if (Array.isArray(token)) { - return '[' + token.map(stringify).join(', ') + ']'; - } - - if (token == null) { - return '' + token; - } - - if (token.overriddenName) { - return "".concat(token.overriddenName); - } - - if (token.name) { - return "".concat(token.name); - } - - if (!token.toString) { - return 'object'; - } // WARNING: do not try to `JSON.stringify(token)` here - // see https://github.com/angular/angular/issues/23440 - - - var res = token.toString(); - - if (res == null) { - return '' + res; - } - - var newLineIndex = res.indexOf('\n'); - return newLineIndex === -1 ? res : res.substring(0, newLineIndex); -} -/** - * Lazily retrieves the reference value from a forwardRef. - */ - - -function resolveForwardRef(type) { - if (typeof type === 'function' && type.hasOwnProperty('__forward_ref__')) { - return type(); - } else { - return type; - } -} -/** - * Determine if the argument is shaped like a Promise - */ - - -function isPromise(obj) { - // allow any Promise/A+ compliant thenable. - // It's up to the caller to ensure that obj.then conforms to the spec - return !!obj && typeof obj.then === 'function'; -} - -var Version = function Version(full) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, Version); - - this.full = full; - var splits = full.split('.'); - this.major = splits[0]; - this.minor = splits[1]; - this.patch = splits.slice(2).join('.'); -}; - -var __window = typeof window !== 'undefined' && window; - -var __self = typeof self !== 'undefined' && typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope && self; - -var __global = typeof global !== 'undefined' && global; // Check __global first, because in Node tests both __global and __window may be defined and _global -// should be __global in that case. - - -var _global = __global || __window || __self; - -function newArray(size, value) { - var list = []; - - for (var i = 0; i < size; i++) { - list.push(value); - } - - return list; -} -/** - * Partitions a given array into 2 arrays, based on a boolean value returned by the condition - * function. - * - * @param arr Input array that should be partitioned - * @param conditionFn Condition function that is called for each item in a given array and returns a - * boolean value. - */ - - -function partitionArray(arr, conditionFn) { - var truthy = []; - var falsy = []; - - var _iterator2 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createForOfIteratorHelper__WEBPACK_IMPORTED_MODULE_7__["default"])(arr), - _step2; - - try { - for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) { - var item = _step2.value; - (conditionFn(item) ? truthy : falsy).push(item); - } - } catch (err) { - _iterator2.e(err); - } finally { - _iterator2.f(); - } - - return [truthy, falsy]; -} -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -// group 0: "[prop] or (event) or @trigger" -// group 1: "prop" from "[prop]" -// group 2: "event" from "(event)" -// group 3: "@trigger" from "@trigger" - - -var HOST_REG_EXP = /^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/; - -function sanitizeIdentifier(name) { - return name.replace(/\W/g, '_'); -} - -var _anonymousTypeIndex = 0; - -function identifierName(compileIdentifier) { - if (!compileIdentifier || !compileIdentifier.reference) { - return null; - } - - var ref = compileIdentifier.reference; - - if (ref instanceof StaticSymbol) { - return ref.name; - } - - if (ref['__anonymousType']) { - return ref['__anonymousType']; - } - - var identifier = stringify(ref); - - if (identifier.indexOf('(') >= 0) { - // case: anonymous functions! - identifier = "anonymous_".concat(_anonymousTypeIndex++); - ref['__anonymousType'] = identifier; - } else { - identifier = sanitizeIdentifier(identifier); - } - - return identifier; -} - -function identifierModuleUrl(compileIdentifier) { - var ref = compileIdentifier.reference; - - if (ref instanceof StaticSymbol) { - return ref.filePath; - } // Runtime type - - - return "./".concat(stringify(ref)); -} - -function viewClassName(compType, embeddedTemplateIndex) { - return "View_".concat(identifierName({ - reference: compType - }), "_").concat(embeddedTemplateIndex); -} - -function rendererTypeName(compType) { - return "RenderType_".concat(identifierName({ - reference: compType - })); -} - -function hostViewClassName(compType) { - return "HostView_".concat(identifierName({ - reference: compType - })); -} - -function componentFactoryName(compType) { - return "".concat(identifierName({ - reference: compType - }), "NgFactory"); -} - -var CompileSummaryKind; - -(function (CompileSummaryKind) { - CompileSummaryKind[CompileSummaryKind["Pipe"] = 0] = "Pipe"; - CompileSummaryKind[CompileSummaryKind["Directive"] = 1] = "Directive"; - CompileSummaryKind[CompileSummaryKind["NgModule"] = 2] = "NgModule"; - CompileSummaryKind[CompileSummaryKind["Injectable"] = 3] = "Injectable"; -})(CompileSummaryKind || (CompileSummaryKind = {})); - -function tokenName(token) { - return token.value != null ? sanitizeIdentifier(token.value) : identifierName(token.identifier); -} - -function tokenReference(token) { - if (token.identifier != null) { - return token.identifier.reference; - } else { - return token.value; - } -} -/** - * Metadata about a stylesheet - */ - - -var CompileStylesheetMetadata = function CompileStylesheetMetadata() { - var _ref3 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, - moduleUrl = _ref3.moduleUrl, - styles = _ref3.styles, - styleUrls = _ref3.styleUrls; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, CompileStylesheetMetadata); - - this.moduleUrl = moduleUrl || null; - this.styles = _normalizeArray(styles); - this.styleUrls = _normalizeArray(styleUrls); -}; -/** - * Metadata regarding compilation of a template. - */ - - -var CompileTemplateMetadata = /*#__PURE__*/function () { - function CompileTemplateMetadata(_ref4) { - var encapsulation = _ref4.encapsulation, - template = _ref4.template, - templateUrl = _ref4.templateUrl, - htmlAst = _ref4.htmlAst, - styles = _ref4.styles, - styleUrls = _ref4.styleUrls, - externalStylesheets = _ref4.externalStylesheets, - animations = _ref4.animations, - ngContentSelectors = _ref4.ngContentSelectors, - interpolation = _ref4.interpolation, - isInline = _ref4.isInline, - preserveWhitespaces = _ref4.preserveWhitespaces; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, CompileTemplateMetadata); - - this.encapsulation = encapsulation; - this.template = template; - this.templateUrl = templateUrl; - this.htmlAst = htmlAst; - this.styles = _normalizeArray(styles); - this.styleUrls = _normalizeArray(styleUrls); - this.externalStylesheets = _normalizeArray(externalStylesheets); - this.animations = animations ? flatten(animations) : []; - this.ngContentSelectors = ngContentSelectors || []; - - if (interpolation && interpolation.length != 2) { - throw new Error("'interpolation' should have a start and an end symbol."); - } - - this.interpolation = interpolation; - this.isInline = isInline; - this.preserveWhitespaces = preserveWhitespaces; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(CompileTemplateMetadata, [{ - key: "toSummary", - value: function toSummary() { - return { - ngContentSelectors: this.ngContentSelectors, - encapsulation: this.encapsulation, - styles: this.styles, - animations: this.animations - }; - } - }]); - - return CompileTemplateMetadata; -}(); -/** - * Metadata regarding compilation of a directive. - */ - - -var CompileDirectiveMetadata = /*#__PURE__*/function () { - function CompileDirectiveMetadata(_ref5) { - var isHost = _ref5.isHost, - type = _ref5.type, - isComponent = _ref5.isComponent, - selector = _ref5.selector, - exportAs = _ref5.exportAs, - changeDetection = _ref5.changeDetection, - inputs = _ref5.inputs, - outputs = _ref5.outputs, - hostListeners = _ref5.hostListeners, - hostProperties = _ref5.hostProperties, - hostAttributes = _ref5.hostAttributes, - providers = _ref5.providers, - viewProviders = _ref5.viewProviders, - queries = _ref5.queries, - guards = _ref5.guards, - viewQueries = _ref5.viewQueries, - entryComponents = _ref5.entryComponents, - template = _ref5.template, - componentViewType = _ref5.componentViewType, - rendererType = _ref5.rendererType, - componentFactory = _ref5.componentFactory; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, CompileDirectiveMetadata); - - this.isHost = !!isHost; - this.type = type; - this.isComponent = isComponent; - this.selector = selector; - this.exportAs = exportAs; - this.changeDetection = changeDetection; - this.inputs = inputs; - this.outputs = outputs; - this.hostListeners = hostListeners; - this.hostProperties = hostProperties; - this.hostAttributes = hostAttributes; - this.providers = _normalizeArray(providers); - this.viewProviders = _normalizeArray(viewProviders); - this.queries = _normalizeArray(queries); - this.guards = guards; - this.viewQueries = _normalizeArray(viewQueries); - this.entryComponents = _normalizeArray(entryComponents); - this.template = template; - this.componentViewType = componentViewType; - this.rendererType = rendererType; - this.componentFactory = componentFactory; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(CompileDirectiveMetadata, [{ - key: "toSummary", - value: function toSummary() { - return { - summaryKind: CompileSummaryKind.Directive, - type: this.type, - isComponent: this.isComponent, - selector: this.selector, - exportAs: this.exportAs, - inputs: this.inputs, - outputs: this.outputs, - hostListeners: this.hostListeners, - hostProperties: this.hostProperties, - hostAttributes: this.hostAttributes, - providers: this.providers, - viewProviders: this.viewProviders, - queries: this.queries, - guards: this.guards, - viewQueries: this.viewQueries, - entryComponents: this.entryComponents, - changeDetection: this.changeDetection, - template: this.template && this.template.toSummary(), - componentViewType: this.componentViewType, - rendererType: this.rendererType, - componentFactory: this.componentFactory - }; - } - }], [{ - key: "create", - value: function create(_ref6) { - var isHost = _ref6.isHost, - type = _ref6.type, - isComponent = _ref6.isComponent, - selector = _ref6.selector, - exportAs = _ref6.exportAs, - changeDetection = _ref6.changeDetection, - inputs = _ref6.inputs, - outputs = _ref6.outputs, - host = _ref6.host, - providers = _ref6.providers, - viewProviders = _ref6.viewProviders, - queries = _ref6.queries, - guards = _ref6.guards, - viewQueries = _ref6.viewQueries, - entryComponents = _ref6.entryComponents, - template = _ref6.template, - componentViewType = _ref6.componentViewType, - rendererType = _ref6.rendererType, - componentFactory = _ref6.componentFactory; - var hostListeners = {}; - var hostProperties = {}; - var hostAttributes = {}; - - if (host != null) { - Object.keys(host).forEach(function (key) { - var value = host[key]; - var matches = key.match(HOST_REG_EXP); - - if (matches === null) { - hostAttributes[key] = value; - } else if (matches[1] != null) { - hostProperties[matches[1]] = value; - } else if (matches[2] != null) { - hostListeners[matches[2]] = value; - } - }); - } - - var inputsMap = {}; - - if (inputs != null) { - inputs.forEach(function (bindConfig) { - // canonical syntax: `dirProp: elProp` - // if there is no `:`, use dirProp = elProp - var parts = splitAtColon(bindConfig, [bindConfig, bindConfig]); - inputsMap[parts[0]] = parts[1]; - }); - } - - var outputsMap = {}; - - if (outputs != null) { - outputs.forEach(function (bindConfig) { - // canonical syntax: `dirProp: elProp` - // if there is no `:`, use dirProp = elProp - var parts = splitAtColon(bindConfig, [bindConfig, bindConfig]); - outputsMap[parts[0]] = parts[1]; - }); - } - - return new CompileDirectiveMetadata({ - isHost: isHost, - type: type, - isComponent: !!isComponent, - selector: selector, - exportAs: exportAs, - changeDetection: changeDetection, - inputs: inputsMap, - outputs: outputsMap, - hostListeners: hostListeners, - hostProperties: hostProperties, - hostAttributes: hostAttributes, - providers: providers, - viewProviders: viewProviders, - queries: queries, - guards: guards, - viewQueries: viewQueries, - entryComponents: entryComponents, - template: template, - componentViewType: componentViewType, - rendererType: rendererType, - componentFactory: componentFactory - }); - } - }]); - - return CompileDirectiveMetadata; -}(); - -var CompilePipeMetadata = /*#__PURE__*/function () { - function CompilePipeMetadata(_ref7) { - var type = _ref7.type, - name = _ref7.name, - pure = _ref7.pure; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, CompilePipeMetadata); - - this.type = type; - this.name = name; - this.pure = !!pure; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(CompilePipeMetadata, [{ - key: "toSummary", - value: function toSummary() { - return { - summaryKind: CompileSummaryKind.Pipe, - type: this.type, - name: this.name, - pure: this.pure - }; - } - }]); - - return CompilePipeMetadata; -}(); - -var CompileShallowModuleMetadata = function CompileShallowModuleMetadata() { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, CompileShallowModuleMetadata); -}; -/** - * Metadata regarding compilation of a module. - */ - - -var CompileNgModuleMetadata = /*#__PURE__*/function () { - function CompileNgModuleMetadata(_ref8) { - var type = _ref8.type, - providers = _ref8.providers, - declaredDirectives = _ref8.declaredDirectives, - exportedDirectives = _ref8.exportedDirectives, - declaredPipes = _ref8.declaredPipes, - exportedPipes = _ref8.exportedPipes, - entryComponents = _ref8.entryComponents, - bootstrapComponents = _ref8.bootstrapComponents, - importedModules = _ref8.importedModules, - exportedModules = _ref8.exportedModules, - schemas = _ref8.schemas, - transitiveModule = _ref8.transitiveModule, - id = _ref8.id; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, CompileNgModuleMetadata); - - this.type = type || null; - this.declaredDirectives = _normalizeArray(declaredDirectives); - this.exportedDirectives = _normalizeArray(exportedDirectives); - this.declaredPipes = _normalizeArray(declaredPipes); - this.exportedPipes = _normalizeArray(exportedPipes); - this.providers = _normalizeArray(providers); - this.entryComponents = _normalizeArray(entryComponents); - this.bootstrapComponents = _normalizeArray(bootstrapComponents); - this.importedModules = _normalizeArray(importedModules); - this.exportedModules = _normalizeArray(exportedModules); - this.schemas = _normalizeArray(schemas); - this.id = id || null; - this.transitiveModule = transitiveModule || null; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(CompileNgModuleMetadata, [{ - key: "toSummary", - value: function toSummary() { - var module = this.transitiveModule; - return { - summaryKind: CompileSummaryKind.NgModule, - type: this.type, - entryComponents: module.entryComponents, - providers: module.providers, - modules: module.modules, - exportedDirectives: module.exportedDirectives, - exportedPipes: module.exportedPipes - }; - } - }]); - - return CompileNgModuleMetadata; -}(); - -var TransitiveCompileNgModuleMetadata = /*#__PURE__*/function () { - function TransitiveCompileNgModuleMetadata() { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, TransitiveCompileNgModuleMetadata); - - this.directivesSet = new Set(); - this.directives = []; - this.exportedDirectivesSet = new Set(); - this.exportedDirectives = []; - this.pipesSet = new Set(); - this.pipes = []; - this.exportedPipesSet = new Set(); - this.exportedPipes = []; - this.modulesSet = new Set(); - this.modules = []; - this.entryComponentsSet = new Set(); - this.entryComponents = []; - this.providers = []; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(TransitiveCompileNgModuleMetadata, [{ - key: "addProvider", - value: function addProvider(provider, module) { - this.providers.push({ - provider: provider, - module: module - }); - } - }, { - key: "addDirective", - value: function addDirective(id) { - if (!this.directivesSet.has(id.reference)) { - this.directivesSet.add(id.reference); - this.directives.push(id); - } - } - }, { - key: "addExportedDirective", - value: function addExportedDirective(id) { - if (!this.exportedDirectivesSet.has(id.reference)) { - this.exportedDirectivesSet.add(id.reference); - this.exportedDirectives.push(id); - } - } - }, { - key: "addPipe", - value: function addPipe(id) { - if (!this.pipesSet.has(id.reference)) { - this.pipesSet.add(id.reference); - this.pipes.push(id); - } - } - }, { - key: "addExportedPipe", - value: function addExportedPipe(id) { - if (!this.exportedPipesSet.has(id.reference)) { - this.exportedPipesSet.add(id.reference); - this.exportedPipes.push(id); - } - } - }, { - key: "addModule", - value: function addModule(id) { - if (!this.modulesSet.has(id.reference)) { - this.modulesSet.add(id.reference); - this.modules.push(id); - } - } - }, { - key: "addEntryComponent", - value: function addEntryComponent(ec) { - if (!this.entryComponentsSet.has(ec.componentType)) { - this.entryComponentsSet.add(ec.componentType); - this.entryComponents.push(ec); - } - } - }]); - - return TransitiveCompileNgModuleMetadata; -}(); - -function _normalizeArray(obj) { - return obj || []; -} - -var ProviderMeta = function ProviderMeta(token, _ref9) { - var useClass = _ref9.useClass, - useValue = _ref9.useValue, - useExisting = _ref9.useExisting, - useFactory = _ref9.useFactory, - deps = _ref9.deps, - multi = _ref9.multi; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, ProviderMeta); - - this.token = token; - this.useClass = useClass || null; - this.useValue = useValue; - this.useExisting = useExisting; - this.useFactory = useFactory || null; - this.dependencies = deps || null; - this.multi = !!multi; -}; - -function flatten(list) { - return list.reduce(function (flat, item) { - var flatItem = Array.isArray(item) ? flatten(item) : item; - return flat.concat(flatItem); - }, []); -} - -function jitSourceUrl(url) { - // Note: We need 3 "/" so that ng shows up as a separate domain - // in the chrome dev tools. - return url.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/, 'ng:///'); -} - -function templateSourceUrl(ngModuleType, compMeta, templateMeta) { - var url; - - if (templateMeta.isInline) { - if (compMeta.type.reference instanceof StaticSymbol) { - // Note: a .ts file might contain multiple components with inline templates, - // so we need to give them unique urls, as these will be used for sourcemaps. - url = "".concat(compMeta.type.reference.filePath, ".").concat(compMeta.type.reference.name, ".html"); - } else { - url = "".concat(identifierName(ngModuleType), "/").concat(identifierName(compMeta.type), ".html"); - } - } else { - url = templateMeta.templateUrl; - } - - return compMeta.type.reference instanceof StaticSymbol ? url : jitSourceUrl(url); -} - -function sharedStylesheetJitUrl(meta, id) { - var pathParts = meta.moduleUrl.split(/\/\\/g); - var baseName = pathParts[pathParts.length - 1]; - return jitSourceUrl("css/".concat(id).concat(baseName, ".ngstyle.js")); -} - -function ngModuleJitUrl(moduleMeta) { - return jitSourceUrl("".concat(identifierName(moduleMeta.type), "/module.ngfactory.js")); -} - -function templateJitUrl(ngModuleType, compMeta) { - return jitSourceUrl("".concat(identifierName(ngModuleType), "/").concat(identifierName(compMeta.type), ".ngfactory.js")); -} -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - -var CORE$1 = '@angular/core'; - -var Identifiers$1 = function Identifiers$1() { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, Identifiers$1); -}; -/* Methods */ - - -Identifiers$1.NEW_METHOD = 'factory'; -Identifiers$1.TRANSFORM_METHOD = 'transform'; -Identifiers$1.PATCH_DEPS = 'patchedDeps'; -Identifiers$1.core = { - name: null, - moduleName: CORE$1 -}; -/* Instructions */ - -Identifiers$1.namespaceHTML = { - name: 'ɵɵnamespaceHTML', - moduleName: CORE$1 -}; -Identifiers$1.namespaceMathML = { - name: 'ɵɵnamespaceMathML', - moduleName: CORE$1 -}; -Identifiers$1.namespaceSVG = { - name: 'ɵɵnamespaceSVG', - moduleName: CORE$1 -}; -Identifiers$1.element = { - name: 'ɵɵelement', - moduleName: CORE$1 -}; -Identifiers$1.elementStart = { - name: 'ɵɵelementStart', - moduleName: CORE$1 -}; -Identifiers$1.elementEnd = { - name: 'ɵɵelementEnd', - moduleName: CORE$1 -}; -Identifiers$1.advance = { - name: 'ɵɵadvance', - moduleName: CORE$1 -}; -Identifiers$1.syntheticHostProperty = { - name: 'ɵɵsyntheticHostProperty', - moduleName: CORE$1 -}; -Identifiers$1.syntheticHostListener = { - name: 'ɵɵsyntheticHostListener', - moduleName: CORE$1 -}; -Identifiers$1.attribute = { - name: 'ɵɵattribute', - moduleName: CORE$1 -}; -Identifiers$1.attributeInterpolate1 = { - name: 'ɵɵattributeInterpolate1', - moduleName: CORE$1 -}; -Identifiers$1.attributeInterpolate2 = { - name: 'ɵɵattributeInterpolate2', - moduleName: CORE$1 -}; -Identifiers$1.attributeInterpolate3 = { - name: 'ɵɵattributeInterpolate3', - moduleName: CORE$1 -}; -Identifiers$1.attributeInterpolate4 = { - name: 'ɵɵattributeInterpolate4', - moduleName: CORE$1 -}; -Identifiers$1.attributeInterpolate5 = { - name: 'ɵɵattributeInterpolate5', - moduleName: CORE$1 -}; -Identifiers$1.attributeInterpolate6 = { - name: 'ɵɵattributeInterpolate6', - moduleName: CORE$1 -}; -Identifiers$1.attributeInterpolate7 = { - name: 'ɵɵattributeInterpolate7', - moduleName: CORE$1 -}; -Identifiers$1.attributeInterpolate8 = { - name: 'ɵɵattributeInterpolate8', - moduleName: CORE$1 -}; -Identifiers$1.attributeInterpolateV = { - name: 'ɵɵattributeInterpolateV', - moduleName: CORE$1 -}; -Identifiers$1.classProp = { - name: 'ɵɵclassProp', - moduleName: CORE$1 -}; -Identifiers$1.elementContainerStart = { - name: 'ɵɵelementContainerStart', - moduleName: CORE$1 -}; -Identifiers$1.elementContainerEnd = { - name: 'ɵɵelementContainerEnd', - moduleName: CORE$1 -}; -Identifiers$1.elementContainer = { - name: 'ɵɵelementContainer', - moduleName: CORE$1 -}; -Identifiers$1.styleMap = { - name: 'ɵɵstyleMap', - moduleName: CORE$1 -}; -Identifiers$1.styleMapInterpolate1 = { - name: 'ɵɵstyleMapInterpolate1', - moduleName: CORE$1 -}; -Identifiers$1.styleMapInterpolate2 = { - name: 'ɵɵstyleMapInterpolate2', - moduleName: CORE$1 -}; -Identifiers$1.styleMapInterpolate3 = { - name: 'ɵɵstyleMapInterpolate3', - moduleName: CORE$1 -}; -Identifiers$1.styleMapInterpolate4 = { - name: 'ɵɵstyleMapInterpolate4', - moduleName: CORE$1 -}; -Identifiers$1.styleMapInterpolate5 = { - name: 'ɵɵstyleMapInterpolate5', - moduleName: CORE$1 -}; -Identifiers$1.styleMapInterpolate6 = { - name: 'ɵɵstyleMapInterpolate6', - moduleName: CORE$1 -}; -Identifiers$1.styleMapInterpolate7 = { - name: 'ɵɵstyleMapInterpolate7', - moduleName: CORE$1 -}; -Identifiers$1.styleMapInterpolate8 = { - name: 'ɵɵstyleMapInterpolate8', - moduleName: CORE$1 -}; -Identifiers$1.styleMapInterpolateV = { - name: 'ɵɵstyleMapInterpolateV', - moduleName: CORE$1 -}; -Identifiers$1.classMap = { - name: 'ɵɵclassMap', - moduleName: CORE$1 -}; -Identifiers$1.classMapInterpolate1 = { - name: 'ɵɵclassMapInterpolate1', - moduleName: CORE$1 -}; -Identifiers$1.classMapInterpolate2 = { - name: 'ɵɵclassMapInterpolate2', - moduleName: CORE$1 -}; -Identifiers$1.classMapInterpolate3 = { - name: 'ɵɵclassMapInterpolate3', - moduleName: CORE$1 -}; -Identifiers$1.classMapInterpolate4 = { - name: 'ɵɵclassMapInterpolate4', - moduleName: CORE$1 -}; -Identifiers$1.classMapInterpolate5 = { - name: 'ɵɵclassMapInterpolate5', - moduleName: CORE$1 -}; -Identifiers$1.classMapInterpolate6 = { - name: 'ɵɵclassMapInterpolate6', - moduleName: CORE$1 -}; -Identifiers$1.classMapInterpolate7 = { - name: 'ɵɵclassMapInterpolate7', - moduleName: CORE$1 -}; -Identifiers$1.classMapInterpolate8 = { - name: 'ɵɵclassMapInterpolate8', - moduleName: CORE$1 -}; -Identifiers$1.classMapInterpolateV = { - name: 'ɵɵclassMapInterpolateV', - moduleName: CORE$1 -}; -Identifiers$1.styleProp = { - name: 'ɵɵstyleProp', - moduleName: CORE$1 -}; -Identifiers$1.stylePropInterpolate1 = { - name: 'ɵɵstylePropInterpolate1', - moduleName: CORE$1 -}; -Identifiers$1.stylePropInterpolate2 = { - name: 'ɵɵstylePropInterpolate2', - moduleName: CORE$1 -}; -Identifiers$1.stylePropInterpolate3 = { - name: 'ɵɵstylePropInterpolate3', - moduleName: CORE$1 -}; -Identifiers$1.stylePropInterpolate4 = { - name: 'ɵɵstylePropInterpolate4', - moduleName: CORE$1 -}; -Identifiers$1.stylePropInterpolate5 = { - name: 'ɵɵstylePropInterpolate5', - moduleName: CORE$1 -}; -Identifiers$1.stylePropInterpolate6 = { - name: 'ɵɵstylePropInterpolate6', - moduleName: CORE$1 -}; -Identifiers$1.stylePropInterpolate7 = { - name: 'ɵɵstylePropInterpolate7', - moduleName: CORE$1 -}; -Identifiers$1.stylePropInterpolate8 = { - name: 'ɵɵstylePropInterpolate8', - moduleName: CORE$1 -}; -Identifiers$1.stylePropInterpolateV = { - name: 'ɵɵstylePropInterpolateV', - moduleName: CORE$1 -}; -Identifiers$1.nextContext = { - name: 'ɵɵnextContext', - moduleName: CORE$1 -}; -Identifiers$1.templateCreate = { - name: 'ɵɵtemplate', - moduleName: CORE$1 -}; -Identifiers$1.text = { - name: 'ɵɵtext', - moduleName: CORE$1 -}; -Identifiers$1.enableBindings = { - name: 'ɵɵenableBindings', - moduleName: CORE$1 -}; -Identifiers$1.disableBindings = { - name: 'ɵɵdisableBindings', - moduleName: CORE$1 -}; -Identifiers$1.getCurrentView = { - name: 'ɵɵgetCurrentView', - moduleName: CORE$1 -}; -Identifiers$1.textInterpolate = { - name: 'ɵɵtextInterpolate', - moduleName: CORE$1 -}; -Identifiers$1.textInterpolate1 = { - name: 'ɵɵtextInterpolate1', - moduleName: CORE$1 -}; -Identifiers$1.textInterpolate2 = { - name: 'ɵɵtextInterpolate2', - moduleName: CORE$1 -}; -Identifiers$1.textInterpolate3 = { - name: 'ɵɵtextInterpolate3', - moduleName: CORE$1 -}; -Identifiers$1.textInterpolate4 = { - name: 'ɵɵtextInterpolate4', - moduleName: CORE$1 -}; -Identifiers$1.textInterpolate5 = { - name: 'ɵɵtextInterpolate5', - moduleName: CORE$1 -}; -Identifiers$1.textInterpolate6 = { - name: 'ɵɵtextInterpolate6', - moduleName: CORE$1 -}; -Identifiers$1.textInterpolate7 = { - name: 'ɵɵtextInterpolate7', - moduleName: CORE$1 -}; -Identifiers$1.textInterpolate8 = { - name: 'ɵɵtextInterpolate8', - moduleName: CORE$1 -}; -Identifiers$1.textInterpolateV = { - name: 'ɵɵtextInterpolateV', - moduleName: CORE$1 -}; -Identifiers$1.restoreView = { - name: 'ɵɵrestoreView', - moduleName: CORE$1 -}; -Identifiers$1.pureFunction0 = { - name: 'ɵɵpureFunction0', - moduleName: CORE$1 -}; -Identifiers$1.pureFunction1 = { - name: 'ɵɵpureFunction1', - moduleName: CORE$1 -}; -Identifiers$1.pureFunction2 = { - name: 'ɵɵpureFunction2', - moduleName: CORE$1 -}; -Identifiers$1.pureFunction3 = { - name: 'ɵɵpureFunction3', - moduleName: CORE$1 -}; -Identifiers$1.pureFunction4 = { - name: 'ɵɵpureFunction4', - moduleName: CORE$1 -}; -Identifiers$1.pureFunction5 = { - name: 'ɵɵpureFunction5', - moduleName: CORE$1 -}; -Identifiers$1.pureFunction6 = { - name: 'ɵɵpureFunction6', - moduleName: CORE$1 -}; -Identifiers$1.pureFunction7 = { - name: 'ɵɵpureFunction7', - moduleName: CORE$1 -}; -Identifiers$1.pureFunction8 = { - name: 'ɵɵpureFunction8', - moduleName: CORE$1 -}; -Identifiers$1.pureFunctionV = { - name: 'ɵɵpureFunctionV', - moduleName: CORE$1 -}; -Identifiers$1.pipeBind1 = { - name: 'ɵɵpipeBind1', - moduleName: CORE$1 -}; -Identifiers$1.pipeBind2 = { - name: 'ɵɵpipeBind2', - moduleName: CORE$1 -}; -Identifiers$1.pipeBind3 = { - name: 'ɵɵpipeBind3', - moduleName: CORE$1 -}; -Identifiers$1.pipeBind4 = { - name: 'ɵɵpipeBind4', - moduleName: CORE$1 -}; -Identifiers$1.pipeBindV = { - name: 'ɵɵpipeBindV', - moduleName: CORE$1 -}; -Identifiers$1.hostProperty = { - name: 'ɵɵhostProperty', - moduleName: CORE$1 -}; -Identifiers$1.property = { - name: 'ɵɵproperty', - moduleName: CORE$1 -}; -Identifiers$1.propertyInterpolate = { - name: 'ɵɵpropertyInterpolate', - moduleName: CORE$1 -}; -Identifiers$1.propertyInterpolate1 = { - name: 'ɵɵpropertyInterpolate1', - moduleName: CORE$1 -}; -Identifiers$1.propertyInterpolate2 = { - name: 'ɵɵpropertyInterpolate2', - moduleName: CORE$1 -}; -Identifiers$1.propertyInterpolate3 = { - name: 'ɵɵpropertyInterpolate3', - moduleName: CORE$1 -}; -Identifiers$1.propertyInterpolate4 = { - name: 'ɵɵpropertyInterpolate4', - moduleName: CORE$1 -}; -Identifiers$1.propertyInterpolate5 = { - name: 'ɵɵpropertyInterpolate5', - moduleName: CORE$1 -}; -Identifiers$1.propertyInterpolate6 = { - name: 'ɵɵpropertyInterpolate6', - moduleName: CORE$1 -}; -Identifiers$1.propertyInterpolate7 = { - name: 'ɵɵpropertyInterpolate7', - moduleName: CORE$1 -}; -Identifiers$1.propertyInterpolate8 = { - name: 'ɵɵpropertyInterpolate8', - moduleName: CORE$1 -}; -Identifiers$1.propertyInterpolateV = { - name: 'ɵɵpropertyInterpolateV', - moduleName: CORE$1 -}; -Identifiers$1.i18n = { - name: 'ɵɵi18n', - moduleName: CORE$1 -}; -Identifiers$1.i18nAttributes = { - name: 'ɵɵi18nAttributes', - moduleName: CORE$1 -}; -Identifiers$1.i18nExp = { - name: 'ɵɵi18nExp', - moduleName: CORE$1 -}; -Identifiers$1.i18nStart = { - name: 'ɵɵi18nStart', - moduleName: CORE$1 -}; -Identifiers$1.i18nEnd = { - name: 'ɵɵi18nEnd', - moduleName: CORE$1 -}; -Identifiers$1.i18nApply = { - name: 'ɵɵi18nApply', - moduleName: CORE$1 -}; -Identifiers$1.i18nPostprocess = { - name: 'ɵɵi18nPostprocess', - moduleName: CORE$1 -}; -Identifiers$1.pipe = { - name: 'ɵɵpipe', - moduleName: CORE$1 -}; -Identifiers$1.projection = { - name: 'ɵɵprojection', - moduleName: CORE$1 -}; -Identifiers$1.projectionDef = { - name: 'ɵɵprojectionDef', - moduleName: CORE$1 -}; -Identifiers$1.reference = { - name: 'ɵɵreference', - moduleName: CORE$1 -}; -Identifiers$1.inject = { - name: 'ɵɵinject', - moduleName: CORE$1 -}; -Identifiers$1.injectAttribute = { - name: 'ɵɵinjectAttribute', - moduleName: CORE$1 -}; -Identifiers$1.injectPipeChangeDetectorRef = { - name: 'ɵɵinjectPipeChangeDetectorRef', - moduleName: CORE$1 -}; -Identifiers$1.directiveInject = { - name: 'ɵɵdirectiveInject', - moduleName: CORE$1 -}; -Identifiers$1.invalidFactory = { - name: 'ɵɵinvalidFactory', - moduleName: CORE$1 -}; -Identifiers$1.invalidFactoryDep = { - name: 'ɵɵinvalidFactoryDep', - moduleName: CORE$1 -}; -Identifiers$1.templateRefExtractor = { - name: 'ɵɵtemplateRefExtractor', - moduleName: CORE$1 -}; -Identifiers$1.forwardRef = { - name: 'forwardRef', - moduleName: CORE$1 -}; -Identifiers$1.resolveForwardRef = { - name: 'resolveForwardRef', - moduleName: CORE$1 -}; -Identifiers$1.resolveWindow = { - name: 'ɵɵresolveWindow', - moduleName: CORE$1 -}; -Identifiers$1.resolveDocument = { - name: 'ɵɵresolveDocument', - moduleName: CORE$1 -}; -Identifiers$1.resolveBody = { - name: 'ɵɵresolveBody', - moduleName: CORE$1 -}; -Identifiers$1.defineComponent = { - name: 'ɵɵdefineComponent', - moduleName: CORE$1 -}; -Identifiers$1.declareComponent = { - name: 'ɵɵngDeclareComponent', - moduleName: CORE$1 -}; -Identifiers$1.setComponentScope = { - name: 'ɵɵsetComponentScope', - moduleName: CORE$1 -}; -Identifiers$1.ChangeDetectionStrategy = { - name: 'ChangeDetectionStrategy', - moduleName: CORE$1 -}; -Identifiers$1.ViewEncapsulation = { - name: 'ViewEncapsulation', - moduleName: CORE$1 -}; -Identifiers$1.ComponentDefWithMeta = { - name: 'ɵɵComponentDefWithMeta', - moduleName: CORE$1 -}; -Identifiers$1.FactoryDef = { - name: 'ɵɵFactoryDef', - moduleName: CORE$1 -}; -Identifiers$1.defineDirective = { - name: 'ɵɵdefineDirective', - moduleName: CORE$1 -}; -Identifiers$1.declareDirective = { - name: 'ɵɵngDeclareDirective', - moduleName: CORE$1 -}; -Identifiers$1.DirectiveDefWithMeta = { - name: 'ɵɵDirectiveDefWithMeta', - moduleName: CORE$1 -}; -Identifiers$1.InjectorDef = { - name: 'ɵɵInjectorDef', - moduleName: CORE$1 -}; -Identifiers$1.defineInjector = { - name: 'ɵɵdefineInjector', - moduleName: CORE$1 -}; -Identifiers$1.NgModuleDefWithMeta = { - name: 'ɵɵNgModuleDefWithMeta', - moduleName: CORE$1 -}; -Identifiers$1.ModuleWithProviders = { - name: 'ModuleWithProviders', - moduleName: CORE$1 -}; -Identifiers$1.defineNgModule = { - name: 'ɵɵdefineNgModule', - moduleName: CORE$1 -}; -Identifiers$1.setNgModuleScope = { - name: 'ɵɵsetNgModuleScope', - moduleName: CORE$1 -}; -Identifiers$1.PipeDefWithMeta = { - name: 'ɵɵPipeDefWithMeta', - moduleName: CORE$1 -}; -Identifiers$1.definePipe = { - name: 'ɵɵdefinePipe', - moduleName: CORE$1 -}; -Identifiers$1.declarePipe = { - name: 'ɵɵngDeclarePipe', - moduleName: CORE$1 -}; -Identifiers$1.queryRefresh = { - name: 'ɵɵqueryRefresh', - moduleName: CORE$1 -}; -Identifiers$1.viewQuery = { - name: 'ɵɵviewQuery', - moduleName: CORE$1 -}; -Identifiers$1.loadQuery = { - name: 'ɵɵloadQuery', - moduleName: CORE$1 -}; -Identifiers$1.contentQuery = { - name: 'ɵɵcontentQuery', - moduleName: CORE$1 -}; -Identifiers$1.NgOnChangesFeature = { - name: 'ɵɵNgOnChangesFeature', - moduleName: CORE$1 -}; -Identifiers$1.InheritDefinitionFeature = { - name: 'ɵɵInheritDefinitionFeature', - moduleName: CORE$1 -}; -Identifiers$1.CopyDefinitionFeature = { - name: 'ɵɵCopyDefinitionFeature', - moduleName: CORE$1 -}; -Identifiers$1.ProvidersFeature = { - name: 'ɵɵProvidersFeature', - moduleName: CORE$1 -}; -Identifiers$1.listener = { - name: 'ɵɵlistener', - moduleName: CORE$1 -}; -Identifiers$1.getInheritedFactory = { - name: 'ɵɵgetInheritedFactory', - moduleName: CORE$1 -}; // sanitization-related functions - -Identifiers$1.sanitizeHtml = { - name: 'ɵɵsanitizeHtml', - moduleName: CORE$1 -}; -Identifiers$1.sanitizeStyle = { - name: 'ɵɵsanitizeStyle', - moduleName: CORE$1 -}; -Identifiers$1.sanitizeResourceUrl = { - name: 'ɵɵsanitizeResourceUrl', - moduleName: CORE$1 -}; -Identifiers$1.sanitizeScript = { - name: 'ɵɵsanitizeScript', - moduleName: CORE$1 -}; -Identifiers$1.sanitizeUrl = { - name: 'ɵɵsanitizeUrl', - moduleName: CORE$1 -}; -Identifiers$1.sanitizeUrlOrResourceUrl = { - name: 'ɵɵsanitizeUrlOrResourceUrl', - moduleName: CORE$1 -}; -Identifiers$1.trustConstantHtml = { - name: 'ɵɵtrustConstantHtml', - moduleName: CORE$1 -}; -Identifiers$1.trustConstantResourceUrl = { - name: 'ɵɵtrustConstantResourceUrl', - moduleName: CORE$1 -}; -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -// https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit - -var VERSION = 3; -var JS_B64_PREFIX = '# sourceMappingURL=data:application/json;base64,'; - -var SourceMapGenerator = /*#__PURE__*/function () { - function SourceMapGenerator() { - var file = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, SourceMapGenerator); - - this.file = file; - this.sourcesContent = new Map(); - this.lines = []; - this.lastCol0 = 0; - this.hasMappings = false; - } // The content is `null` when the content is expected to be loaded using the URL - - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(SourceMapGenerator, [{ - key: "addSource", - value: function addSource(url) { - var content = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; - - if (!this.sourcesContent.has(url)) { - this.sourcesContent.set(url, content); - } - - return this; - } - }, { - key: "addLine", - value: function addLine() { - this.lines.push([]); - this.lastCol0 = 0; - return this; - } - }, { - key: "addMapping", - value: function addMapping(col0, sourceUrl, sourceLine0, sourceCol0) { - if (!this.currentLine) { - throw new Error("A line must be added before mappings can be added"); - } - - if (sourceUrl != null && !this.sourcesContent.has(sourceUrl)) { - throw new Error("Unknown source file \"".concat(sourceUrl, "\"")); - } - - if (col0 == null) { - throw new Error("The column in the generated code must be provided"); - } - - if (col0 < this.lastCol0) { - throw new Error("Mapping should be added in output order"); - } - - if (sourceUrl && (sourceLine0 == null || sourceCol0 == null)) { - throw new Error("The source location must be provided when a source url is provided"); - } - - this.hasMappings = true; - this.lastCol0 = col0; - this.currentLine.push({ - col0: col0, - sourceUrl: sourceUrl, - sourceLine0: sourceLine0, - sourceCol0: sourceCol0 - }); - return this; - } - /** - * @internal strip this from published d.ts files due to - * https://github.com/microsoft/TypeScript/issues/36216 - */ - - }, { - key: "currentLine", - get: function get() { - return this.lines.slice(-1)[0]; - } - }, { - key: "toJSON", - value: function toJSON() { - var _this63 = this; - - if (!this.hasMappings) { - return null; - } - - var sourcesIndex = new Map(); - var sources = []; - var sourcesContent = []; - Array.from(this.sourcesContent.keys()).forEach(function (url, i) { - sourcesIndex.set(url, i); - sources.push(url); - sourcesContent.push(_this63.sourcesContent.get(url) || null); - }); - var mappings = ''; - var lastCol0 = 0; - var lastSourceIndex = 0; - var lastSourceLine0 = 0; - var lastSourceCol0 = 0; - this.lines.forEach(function (segments) { - lastCol0 = 0; - mappings += segments.map(function (segment) { - // zero-based starting column of the line in the generated code - var segAsStr = toBase64VLQ(segment.col0 - lastCol0); - lastCol0 = segment.col0; - - if (segment.sourceUrl != null) { - // zero-based index into the “sources” list - segAsStr += toBase64VLQ(sourcesIndex.get(segment.sourceUrl) - lastSourceIndex); - lastSourceIndex = sourcesIndex.get(segment.sourceUrl); // the zero-based starting line in the original source - - segAsStr += toBase64VLQ(segment.sourceLine0 - lastSourceLine0); - lastSourceLine0 = segment.sourceLine0; // the zero-based starting column in the original source - - segAsStr += toBase64VLQ(segment.sourceCol0 - lastSourceCol0); - lastSourceCol0 = segment.sourceCol0; - } - - return segAsStr; - }).join(','); - mappings += ';'; - }); - mappings = mappings.slice(0, -1); - return { - 'file': this.file || '', - 'version': VERSION, - 'sourceRoot': '', - 'sources': sources, - 'sourcesContent': sourcesContent, - 'mappings': mappings - }; - } - }, { - key: "toJsComment", - value: function toJsComment() { - return this.hasMappings ? '//' + JS_B64_PREFIX + toBase64String(JSON.stringify(this, null, 0)) : ''; - } - }]); - - return SourceMapGenerator; -}(); - -function toBase64String(value) { - var b64 = ''; - var encoded = utf8Encode(value); - - for (var i = 0; i < encoded.length;) { - var i1 = encoded[i++]; - var i2 = i < encoded.length ? encoded[i++] : null; - var i3 = i < encoded.length ? encoded[i++] : null; - b64 += toBase64Digit(i1 >> 2); - b64 += toBase64Digit((i1 & 3) << 4 | (i2 === null ? 0 : i2 >> 4)); - b64 += i2 === null ? '=' : toBase64Digit((i2 & 15) << 2 | (i3 === null ? 0 : i3 >> 6)); - b64 += i2 === null || i3 === null ? '=' : toBase64Digit(i3 & 63); - } - - return b64; -} - -function toBase64VLQ(value) { - value = value < 0 ? (-value << 1) + 1 : value << 1; - var out = ''; - - do { - var digit = value & 31; - value = value >> 5; - - if (value > 0) { - digit = digit | 32; - } - - out += toBase64Digit(digit); - } while (value > 0); - - return out; -} - -var B64_DIGITS = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; - -function toBase64Digit(value) { - if (value < 0 || value >= 64) { - throw new Error("Can only encode value in the range [0, 63]"); - } - - return B64_DIGITS[value]; -} -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - -var _SINGLE_QUOTE_ESCAPE_STRING_RE = /'|\\|\n|\r|\$/g; -var _LEGAL_IDENTIFIER_RE = /^[$A-Z_][0-9A-Z_$]*$/i; -var _INDENT_WITH = ' '; -var CATCH_ERROR_VAR$1 = variable('error', null, null); -var CATCH_STACK_VAR$1 = variable('stack', null, null); - -var _EmittedLine = function _EmittedLine(indent) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, _EmittedLine); - - this.indent = indent; - this.partsLength = 0; - this.parts = []; - this.srcSpans = []; -}; - -var EmitterVisitorContext = /*#__PURE__*/function () { - function EmitterVisitorContext(_indent) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, EmitterVisitorContext); - - this._indent = _indent; - this._classes = []; - this._preambleLineCount = 0; - this._lines = [new _EmittedLine(_indent)]; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(EmitterVisitorContext, [{ - key: "_currentLine", - get: - /** - * @internal strip this from published d.ts files due to - * https://github.com/microsoft/TypeScript/issues/36216 - */ - function get() { - return this._lines[this._lines.length - 1]; - } - }, { - key: "println", - value: function println(from) { - var lastPart = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ''; - this.print(from || null, lastPart, true); - } - }, { - key: "lineIsEmpty", - value: function lineIsEmpty() { - return this._currentLine.parts.length === 0; - } - }, { - key: "lineLength", - value: function lineLength() { - return this._currentLine.indent * _INDENT_WITH.length + this._currentLine.partsLength; - } - }, { - key: "print", - value: function print(from, part) { - var newLine = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; - - if (part.length > 0) { - this._currentLine.parts.push(part); - - this._currentLine.partsLength += part.length; - - this._currentLine.srcSpans.push(from && from.sourceSpan || null); - } - - if (newLine) { - this._lines.push(new _EmittedLine(this._indent)); - } - } - }, { - key: "removeEmptyLastLine", - value: function removeEmptyLastLine() { - if (this.lineIsEmpty()) { - this._lines.pop(); - } - } - }, { - key: "incIndent", - value: function incIndent() { - this._indent++; - - if (this.lineIsEmpty()) { - this._currentLine.indent = this._indent; - } - } - }, { - key: "decIndent", - value: function decIndent() { - this._indent--; - - if (this.lineIsEmpty()) { - this._currentLine.indent = this._indent; - } - } - }, { - key: "pushClass", - value: function pushClass(clazz) { - this._classes.push(clazz); - } - }, { - key: "popClass", - value: function popClass() { - return this._classes.pop(); - } - }, { - key: "currentClass", - get: function get() { - return this._classes.length > 0 ? this._classes[this._classes.length - 1] : null; - } - }, { - key: "toSource", - value: function toSource() { - return this.sourceLines.map(function (l) { - return l.parts.length > 0 ? _createIndent(l.indent) + l.parts.join('') : ''; - }).join('\n'); - } - }, { - key: "toSourceMapGenerator", - value: function toSourceMapGenerator(genFilePath) { - var startsAtLine = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0; - var map = new SourceMapGenerator(genFilePath); - var firstOffsetMapped = false; - - var mapFirstOffsetIfNeeded = function mapFirstOffsetIfNeeded() { - if (!firstOffsetMapped) { - // Add a single space so that tools won't try to load the file from disk. - // Note: We are using virtual urls like `ng:///`, so we have to - // provide a content here. - map.addSource(genFilePath, ' ').addMapping(0, genFilePath, 0, 0); - firstOffsetMapped = true; - } - }; - - for (var i = 0; i < startsAtLine; i++) { - map.addLine(); - mapFirstOffsetIfNeeded(); - } - - this.sourceLines.forEach(function (line, lineIdx) { - map.addLine(); - var spans = line.srcSpans; - var parts = line.parts; - var col0 = line.indent * _INDENT_WITH.length; - var spanIdx = 0; // skip leading parts without source spans - - while (spanIdx < spans.length && !spans[spanIdx]) { - col0 += parts[spanIdx].length; - spanIdx++; - } - - if (spanIdx < spans.length && lineIdx === 0 && col0 === 0) { - firstOffsetMapped = true; - } else { - mapFirstOffsetIfNeeded(); - } - - while (spanIdx < spans.length) { - var span = spans[spanIdx]; - var source = span.start.file; - var sourceLine = span.start.line; - var sourceCol = span.start.col; - map.addSource(source.url, source.content).addMapping(col0, source.url, sourceLine, sourceCol); - col0 += parts[spanIdx].length; - spanIdx++; // assign parts without span or the same span to the previous segment - - while (spanIdx < spans.length && (span === spans[spanIdx] || !spans[spanIdx])) { - col0 += parts[spanIdx].length; - spanIdx++; - } - } - }); - return map; - } - }, { - key: "setPreambleLineCount", - value: function setPreambleLineCount(count) { - return this._preambleLineCount = count; - } - }, { - key: "spanOf", - value: function spanOf(line, column) { - var emittedLine = this._lines[line - this._preambleLineCount]; - - if (emittedLine) { - var columnsLeft = column - _createIndent(emittedLine.indent).length; - - for (var partIndex = 0; partIndex < emittedLine.parts.length; partIndex++) { - var part = emittedLine.parts[partIndex]; - - if (part.length > columnsLeft) { - return emittedLine.srcSpans[partIndex]; - } - - columnsLeft -= part.length; - } - } - - return null; - } - /** - * @internal strip this from published d.ts files due to - * https://github.com/microsoft/TypeScript/issues/36216 - */ - - }, { - key: "sourceLines", - get: function get() { - if (this._lines.length && this._lines[this._lines.length - 1].parts.length === 0) { - return this._lines.slice(0, -1); - } - - return this._lines; - } - }], [{ - key: "createRoot", - value: function createRoot() { - return new EmitterVisitorContext(0); - } - }]); - - return EmitterVisitorContext; -}(); - -var AbstractEmitterVisitor = /*#__PURE__*/function () { - function AbstractEmitterVisitor(_escapeDollarInStrings) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, AbstractEmitterVisitor); - - this._escapeDollarInStrings = _escapeDollarInStrings; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(AbstractEmitterVisitor, [{ - key: "printLeadingComments", - value: function printLeadingComments(stmt, ctx) { - if (stmt.leadingComments === undefined) { - return; - } - - var _iterator3 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createForOfIteratorHelper__WEBPACK_IMPORTED_MODULE_7__["default"])(stmt.leadingComments), - _step3; - - try { - for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) { - var comment = _step3.value; - - if (comment instanceof JSDocComment) { - ctx.print(stmt, "/*".concat(comment.toString(), "*/"), comment.trailingNewline); - } else { - if (comment.multiline) { - ctx.print(stmt, "/* ".concat(comment.text, " */"), comment.trailingNewline); - } else { - comment.text.split('\n').forEach(function (line) { - ctx.println(stmt, "// ".concat(line)); - }); - } - } - } - } catch (err) { - _iterator3.e(err); - } finally { - _iterator3.f(); - } - } - }, { - key: "visitExpressionStmt", - value: function visitExpressionStmt(stmt, ctx) { - this.printLeadingComments(stmt, ctx); - stmt.expr.visitExpression(this, ctx); - ctx.println(stmt, ';'); - return null; - } - }, { - key: "visitReturnStmt", - value: function visitReturnStmt(stmt, ctx) { - this.printLeadingComments(stmt, ctx); - ctx.print(stmt, "return "); - stmt.value.visitExpression(this, ctx); - ctx.println(stmt, ';'); - return null; - } - }, { - key: "visitIfStmt", - value: function visitIfStmt(stmt, ctx) { - this.printLeadingComments(stmt, ctx); - ctx.print(stmt, "if ("); - stmt.condition.visitExpression(this, ctx); - ctx.print(stmt, ") {"); - var hasElseCase = stmt.falseCase != null && stmt.falseCase.length > 0; - - if (stmt.trueCase.length <= 1 && !hasElseCase) { - ctx.print(stmt, " "); - this.visitAllStatements(stmt.trueCase, ctx); - ctx.removeEmptyLastLine(); - ctx.print(stmt, " "); - } else { - ctx.println(); - ctx.incIndent(); - this.visitAllStatements(stmt.trueCase, ctx); - ctx.decIndent(); - - if (hasElseCase) { - ctx.println(stmt, "} else {"); - ctx.incIndent(); - this.visitAllStatements(stmt.falseCase, ctx); - ctx.decIndent(); - } - } - - ctx.println(stmt, "}"); - return null; - } - }, { - key: "visitThrowStmt", - value: function visitThrowStmt(stmt, ctx) { - this.printLeadingComments(stmt, ctx); - ctx.print(stmt, "throw "); - stmt.error.visitExpression(this, ctx); - ctx.println(stmt, ";"); - return null; - } - }, { - key: "visitWriteVarExpr", - value: function visitWriteVarExpr(expr, ctx) { - var lineWasEmpty = ctx.lineIsEmpty(); - - if (!lineWasEmpty) { - ctx.print(expr, '('); - } - - ctx.print(expr, "".concat(expr.name, " = ")); - expr.value.visitExpression(this, ctx); - - if (!lineWasEmpty) { - ctx.print(expr, ')'); - } - - return null; - } - }, { - key: "visitWriteKeyExpr", - value: function visitWriteKeyExpr(expr, ctx) { - var lineWasEmpty = ctx.lineIsEmpty(); - - if (!lineWasEmpty) { - ctx.print(expr, '('); - } - - expr.receiver.visitExpression(this, ctx); - ctx.print(expr, "["); - expr.index.visitExpression(this, ctx); - ctx.print(expr, "] = "); - expr.value.visitExpression(this, ctx); - - if (!lineWasEmpty) { - ctx.print(expr, ')'); - } - - return null; - } - }, { - key: "visitWritePropExpr", - value: function visitWritePropExpr(expr, ctx) { - var lineWasEmpty = ctx.lineIsEmpty(); - - if (!lineWasEmpty) { - ctx.print(expr, '('); - } - - expr.receiver.visitExpression(this, ctx); - ctx.print(expr, ".".concat(expr.name, " = ")); - expr.value.visitExpression(this, ctx); - - if (!lineWasEmpty) { - ctx.print(expr, ')'); - } - - return null; - } - }, { - key: "visitInvokeMethodExpr", - value: function visitInvokeMethodExpr(expr, ctx) { - expr.receiver.visitExpression(this, ctx); - var name = expr.name; - - if (expr.builtin != null) { - name = this.getBuiltinMethodName(expr.builtin); - - if (name == null) { - // some builtins just mean to skip the call. - return null; - } - } - - ctx.print(expr, ".".concat(name, "(")); - this.visitAllExpressions(expr.args, ctx, ","); - ctx.print(expr, ")"); - return null; - } - }, { - key: "visitInvokeFunctionExpr", - value: function visitInvokeFunctionExpr(expr, ctx) { - expr.fn.visitExpression(this, ctx); - ctx.print(expr, "("); - this.visitAllExpressions(expr.args, ctx, ','); - ctx.print(expr, ")"); - return null; - } - }, { - key: "visitTaggedTemplateExpr", - value: function visitTaggedTemplateExpr(expr, ctx) { - expr.tag.visitExpression(this, ctx); - ctx.print(expr, '`' + expr.template.elements[0].rawText); - - for (var i = 1; i < expr.template.elements.length; i++) { - ctx.print(expr, '${'); - expr.template.expressions[i - 1].visitExpression(this, ctx); - ctx.print(expr, "}".concat(expr.template.elements[i].rawText)); - } - - ctx.print(expr, '`'); - return null; - } - }, { - key: "visitWrappedNodeExpr", - value: function visitWrappedNodeExpr(ast, ctx) { - throw new Error('Abstract emitter cannot visit WrappedNodeExpr.'); - } - }, { - key: "visitTypeofExpr", - value: function visitTypeofExpr(expr, ctx) { - ctx.print(expr, 'typeof '); - expr.expr.visitExpression(this, ctx); - } - }, { - key: "visitReadVarExpr", - value: function visitReadVarExpr(ast, ctx) { - var varName = ast.name; - - if (ast.builtin != null) { - switch (ast.builtin) { - case BuiltinVar.Super: - varName = 'super'; - break; - - case BuiltinVar.This: - varName = 'this'; - break; - - case BuiltinVar.CatchError: - varName = CATCH_ERROR_VAR$1.name; - break; - - case BuiltinVar.CatchStack: - varName = CATCH_STACK_VAR$1.name; - break; - - default: - throw new Error("Unknown builtin variable ".concat(ast.builtin)); - } - } - - ctx.print(ast, varName); - return null; - } - }, { - key: "visitInstantiateExpr", - value: function visitInstantiateExpr(ast, ctx) { - ctx.print(ast, "new "); - ast.classExpr.visitExpression(this, ctx); - ctx.print(ast, "("); - this.visitAllExpressions(ast.args, ctx, ','); - ctx.print(ast, ")"); - return null; - } - }, { - key: "visitLiteralExpr", - value: function visitLiteralExpr(ast, ctx) { - var value = ast.value; - - if (typeof value === 'string') { - ctx.print(ast, escapeIdentifier(value, this._escapeDollarInStrings)); - } else { - ctx.print(ast, "".concat(value)); - } - - return null; - } - }, { - key: "visitLocalizedString", - value: function visitLocalizedString(ast, ctx) { - var head = ast.serializeI18nHead(); - ctx.print(ast, '$localize `' + head.raw); - - for (var i = 1; i < ast.messageParts.length; i++) { - ctx.print(ast, '${'); - ast.expressions[i - 1].visitExpression(this, ctx); - ctx.print(ast, "}".concat(ast.serializeI18nTemplatePart(i).raw)); - } - - ctx.print(ast, '`'); - return null; - } - }, { - key: "visitConditionalExpr", - value: function visitConditionalExpr(ast, ctx) { - ctx.print(ast, "("); - ast.condition.visitExpression(this, ctx); - ctx.print(ast, '? '); - ast.trueCase.visitExpression(this, ctx); - ctx.print(ast, ': '); - ast.falseCase.visitExpression(this, ctx); - ctx.print(ast, ")"); - return null; - } - }, { - key: "visitNotExpr", - value: function visitNotExpr(ast, ctx) { - ctx.print(ast, '!'); - ast.condition.visitExpression(this, ctx); - return null; - } - }, { - key: "visitAssertNotNullExpr", - value: function visitAssertNotNullExpr(ast, ctx) { - ast.condition.visitExpression(this, ctx); - return null; - } - }, { - key: "visitUnaryOperatorExpr", - value: function visitUnaryOperatorExpr(ast, ctx) { - var opStr; - - switch (ast.operator) { - case UnaryOperator.Plus: - opStr = '+'; - break; - - case UnaryOperator.Minus: - opStr = '-'; - break; - - default: - throw new Error("Unknown operator ".concat(ast.operator)); - } - - if (ast.parens) ctx.print(ast, "("); - ctx.print(ast, opStr); - ast.expr.visitExpression(this, ctx); - if (ast.parens) ctx.print(ast, ")"); - return null; - } - }, { - key: "visitBinaryOperatorExpr", - value: function visitBinaryOperatorExpr(ast, ctx) { - var opStr; - - switch (ast.operator) { - case BinaryOperator.Equals: - opStr = '=='; - break; - - case BinaryOperator.Identical: - opStr = '==='; - break; - - case BinaryOperator.NotEquals: - opStr = '!='; - break; - - case BinaryOperator.NotIdentical: - opStr = '!=='; - break; - - case BinaryOperator.And: - opStr = '&&'; - break; - - case BinaryOperator.BitwiseAnd: - opStr = '&'; - break; - - case BinaryOperator.Or: - opStr = '||'; - break; - - case BinaryOperator.Plus: - opStr = '+'; - break; - - case BinaryOperator.Minus: - opStr = '-'; - break; - - case BinaryOperator.Divide: - opStr = '/'; - break; - - case BinaryOperator.Multiply: - opStr = '*'; - break; - - case BinaryOperator.Modulo: - opStr = '%'; - break; - - case BinaryOperator.Lower: - opStr = '<'; - break; - - case BinaryOperator.LowerEquals: - opStr = '<='; - break; - - case BinaryOperator.Bigger: - opStr = '>'; - break; - - case BinaryOperator.BiggerEquals: - opStr = '>='; - break; - - default: - throw new Error("Unknown operator ".concat(ast.operator)); - } - - if (ast.parens) ctx.print(ast, "("); - ast.lhs.visitExpression(this, ctx); - ctx.print(ast, " ".concat(opStr, " ")); - ast.rhs.visitExpression(this, ctx); - if (ast.parens) ctx.print(ast, ")"); - return null; - } - }, { - key: "visitReadPropExpr", - value: function visitReadPropExpr(ast, ctx) { - ast.receiver.visitExpression(this, ctx); - ctx.print(ast, "."); - ctx.print(ast, ast.name); - return null; - } - }, { - key: "visitReadKeyExpr", - value: function visitReadKeyExpr(ast, ctx) { - ast.receiver.visitExpression(this, ctx); - ctx.print(ast, "["); - ast.index.visitExpression(this, ctx); - ctx.print(ast, "]"); - return null; - } - }, { - key: "visitLiteralArrayExpr", - value: function visitLiteralArrayExpr(ast, ctx) { - ctx.print(ast, "["); - this.visitAllExpressions(ast.entries, ctx, ','); - ctx.print(ast, "]"); - return null; - } - }, { - key: "visitLiteralMapExpr", - value: function visitLiteralMapExpr(ast, ctx) { - var _this64 = this; - - ctx.print(ast, "{"); - this.visitAllObjects(function (entry) { - ctx.print(ast, "".concat(escapeIdentifier(entry.key, _this64._escapeDollarInStrings, entry.quoted), ":")); - entry.value.visitExpression(_this64, ctx); - }, ast.entries, ctx, ','); - ctx.print(ast, "}"); - return null; - } - }, { - key: "visitCommaExpr", - value: function visitCommaExpr(ast, ctx) { - ctx.print(ast, '('); - this.visitAllExpressions(ast.parts, ctx, ','); - ctx.print(ast, ')'); - return null; - } - }, { - key: "visitAllExpressions", - value: function visitAllExpressions(expressions, ctx, separator) { - var _this65 = this; - - this.visitAllObjects(function (expr) { - return expr.visitExpression(_this65, ctx); - }, expressions, ctx, separator); - } - }, { - key: "visitAllObjects", - value: function visitAllObjects(handler, expressions, ctx, separator) { - var incrementedIndent = false; - - for (var i = 0; i < expressions.length; i++) { - if (i > 0) { - if (ctx.lineLength() > 80) { - ctx.print(null, separator, true); - - if (!incrementedIndent) { - // continuation are marked with double indent. - ctx.incIndent(); - ctx.incIndent(); - incrementedIndent = true; - } - } else { - ctx.print(null, separator, false); - } - } - - handler(expressions[i]); - } - - if (incrementedIndent) { - // continuation are marked with double indent. - ctx.decIndent(); - ctx.decIndent(); - } - } - }, { - key: "visitAllStatements", - value: function visitAllStatements(statements, ctx) { - var _this66 = this; - - statements.forEach(function (stmt) { - return stmt.visitStatement(_this66, ctx); - }); - } - }]); - - return AbstractEmitterVisitor; -}(); - -function escapeIdentifier(input, escapeDollar) { - var alwaysQuote = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true; - - if (input == null) { - return null; - } - - var body = input.replace(_SINGLE_QUOTE_ESCAPE_STRING_RE, function () { - if ((arguments.length <= 0 ? undefined : arguments[0]) == '$') { - return escapeDollar ? '\\$' : '$'; - } else if ((arguments.length <= 0 ? undefined : arguments[0]) == '\n') { - return '\\n'; - } else if ((arguments.length <= 0 ? undefined : arguments[0]) == '\r') { - return '\\r'; - } else { - return "\\".concat(arguments.length <= 0 ? undefined : arguments[0]); - } - }); - var requiresQuotes = alwaysQuote || !_LEGAL_IDENTIFIER_RE.test(body); - return requiresQuotes ? "'".concat(body, "'") : body; -} - -function _createIndent(count) { - var res = ''; - - for (var i = 0; i < count; i++) { - res += _INDENT_WITH; - } - - return res; -} -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - -/** - * Convert an object map with `Expression` values into a `LiteralMapExpr`. - */ - - -function mapToMapExpression(map) { - var result = Object.keys(map).map(function (key) { - return { - key: key, - // The assertion here is because really TypeScript doesn't allow us to express that if the - // key is present, it will have a value, but this is true in reality. - value: map[key], - quoted: false - }; - }); - return literalMap(result); -} -/** - * Convert metadata into an `Expression` in the given `OutputContext`. - * - * This operation will handle arrays, references to symbols, or literal `null` or `undefined`. - */ - - -function convertMetaToOutput(meta, ctx) { - if (Array.isArray(meta)) { - return literalArr(meta.map(function (entry) { - return convertMetaToOutput(entry, ctx); - })); - } - - if (meta instanceof StaticSymbol) { - return ctx.importExpr(meta); - } - - if (meta == null) { - return literal(meta); - } - - throw new Error("Internal error: Unsupported or unknown metadata: ".concat(meta)); -} - -function typeWithParameters(type, numParams) { - if (numParams === 0) { - return expressionType(type); - } - - var params = []; - - for (var i = 0; i < numParams; i++) { - params.push(DYNAMIC_TYPE); - } - - return expressionType(type, undefined, params); -} - -var ANIMATE_SYMBOL_PREFIX = '@'; - -function prepareSyntheticPropertyName(name) { - return "".concat(ANIMATE_SYMBOL_PREFIX).concat(name); -} - -function prepareSyntheticListenerName(name, phase) { - return "".concat(ANIMATE_SYMBOL_PREFIX).concat(name, ".").concat(phase); -} - -function isSyntheticPropertyOrListener(name) { - return name.charAt(0) == ANIMATE_SYMBOL_PREFIX; -} - -function getSyntheticPropertyName(name) { - // this will strip out listener phase values... - // @foo.start => @foo - var i = name.indexOf('.'); - name = i > 0 ? name.substring(0, i) : name; - - if (name.charAt(0) !== ANIMATE_SYMBOL_PREFIX) { - name = ANIMATE_SYMBOL_PREFIX + name; - } - - return name; -} - -function getSafePropertyAccessString(accessor, name) { - var escapedName = escapeIdentifier(name, false, false); - return escapedName !== name ? "".concat(accessor, "[").concat(escapedName, "]") : "".concat(accessor, ".").concat(name); -} - -function prepareSyntheticListenerFunctionName(name, phase) { - return "animation_".concat(name, "_").concat(phase); -} - -function jitOnlyGuardedExpression(expr) { - return guardedExpression('ngJitMode', expr); -} - -function devOnlyGuardedExpression(expr) { - return guardedExpression('ngDevMode', expr); -} - -function guardedExpression(guard, expr) { - var guardExpr = new ExternalExpr({ - name: guard, - moduleName: null - }); - var guardNotDefined = new BinaryOperatorExpr(BinaryOperator.Identical, new TypeofExpr(guardExpr), literal('undefined')); - var guardUndefinedOrTrue = new BinaryOperatorExpr(BinaryOperator.Or, guardNotDefined, guardExpr, - /* type */ - undefined, - /* sourceSpan */ - undefined, true); - return new BinaryOperatorExpr(BinaryOperator.And, guardUndefinedOrTrue, expr); -} - -function wrapReference(value) { - var wrapped = new WrappedNodeExpr(value); - return { - value: wrapped, - type: wrapped - }; -} -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - -/** - * This is an R3 `Node`-like wrapper for a raw `html.Comment` node. We do not currently - * require the implementation of a visitor for Comments as they are only collected at - * the top-level of the R3 AST, and only if `Render3ParseOptions['collectCommentNodes']` - * is true. - */ - - -var Comment = /*#__PURE__*/function () { - function Comment(value, sourceSpan) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, Comment); - - this.value = value; - this.sourceSpan = sourceSpan; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(Comment, [{ - key: "visit", - value: function visit(_visitor) { - throw new Error('visit() not implemented for Comment'); - } - }]); - - return Comment; -}(); - -var Text = /*#__PURE__*/function () { - function Text(value, sourceSpan) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, Text); - - this.value = value; - this.sourceSpan = sourceSpan; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(Text, [{ - key: "visit", - value: function visit(visitor) { - return visitor.visitText(this); - } - }]); - - return Text; -}(); - -var BoundText = /*#__PURE__*/function () { - function BoundText(value, sourceSpan, i18n) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, BoundText); - - this.value = value; - this.sourceSpan = sourceSpan; - this.i18n = i18n; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(BoundText, [{ - key: "visit", - value: function visit(visitor) { - return visitor.visitBoundText(this); - } - }]); - - return BoundText; -}(); -/** - * Represents a text attribute in the template. - * - * `valueSpan` may not be present in cases where there is no value `
`. - * `keySpan` may also not be present for synthetic attributes from ICU expansions. - */ - - -var TextAttribute = /*#__PURE__*/function () { - function TextAttribute(name, value, sourceSpan, keySpan, valueSpan, i18n) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, TextAttribute); - - this.name = name; - this.value = value; - this.sourceSpan = sourceSpan; - this.keySpan = keySpan; - this.valueSpan = valueSpan; - this.i18n = i18n; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(TextAttribute, [{ - key: "visit", - value: function visit(visitor) { - return visitor.visitTextAttribute(this); - } - }]); - - return TextAttribute; -}(); - -var BoundAttribute = /*#__PURE__*/function () { - function BoundAttribute(name, type, securityContext, value, unit, sourceSpan, keySpan, valueSpan, i18n) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, BoundAttribute); - - this.name = name; - this.type = type; - this.securityContext = securityContext; - this.value = value; - this.unit = unit; - this.sourceSpan = sourceSpan; - this.keySpan = keySpan; - this.valueSpan = valueSpan; - this.i18n = i18n; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(BoundAttribute, [{ - key: "visit", - value: function visit(visitor) { - return visitor.visitBoundAttribute(this); - } - }], [{ - key: "fromBoundElementProperty", - value: function fromBoundElementProperty(prop, i18n) { - if (prop.keySpan === undefined) { - throw new Error("Unexpected state: keySpan must be defined for bound attributes but was not for ".concat(prop.name, ": ").concat(prop.sourceSpan)); - } - - return new BoundAttribute(prop.name, prop.type, prop.securityContext, prop.value, prop.unit, prop.sourceSpan, prop.keySpan, prop.valueSpan, i18n); - } - }]); - - return BoundAttribute; -}(); - -var BoundEvent = /*#__PURE__*/function () { - function BoundEvent(name, type, handler, target, phase, sourceSpan, handlerSpan, keySpan) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, BoundEvent); - - this.name = name; - this.type = type; - this.handler = handler; - this.target = target; - this.phase = phase; - this.sourceSpan = sourceSpan; - this.handlerSpan = handlerSpan; - this.keySpan = keySpan; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(BoundEvent, [{ - key: "visit", - value: function visit(visitor) { - return visitor.visitBoundEvent(this); - } - }], [{ - key: "fromParsedEvent", - value: function fromParsedEvent(event) { - var target = event.type === 0 - /* Regular */ - ? event.targetOrPhase : null; - var phase = event.type === 1 - /* Animation */ - ? event.targetOrPhase : null; - - if (event.keySpan === undefined) { - throw new Error("Unexpected state: keySpan must be defined for bound event but was not for ".concat(event.name, ": ").concat(event.sourceSpan)); - } - - return new BoundEvent(event.name, event.type, event.handler, target, phase, event.sourceSpan, event.handlerSpan, event.keySpan); - } - }]); - - return BoundEvent; -}(); - -var Element = /*#__PURE__*/function () { - function Element(name, attributes, inputs, outputs, children, references, sourceSpan, startSourceSpan, endSourceSpan, i18n) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, Element); - - this.name = name; - this.attributes = attributes; - this.inputs = inputs; - this.outputs = outputs; - this.children = children; - this.references = references; - this.sourceSpan = sourceSpan; - this.startSourceSpan = startSourceSpan; - this.endSourceSpan = endSourceSpan; - this.i18n = i18n; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(Element, [{ - key: "visit", - value: function visit(visitor) { - return visitor.visitElement(this); - } - }]); - - return Element; -}(); - -var Template = /*#__PURE__*/function () { - function Template(tagName, attributes, inputs, outputs, templateAttrs, children, references, variables, sourceSpan, startSourceSpan, endSourceSpan, i18n) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, Template); - - this.tagName = tagName; - this.attributes = attributes; - this.inputs = inputs; - this.outputs = outputs; - this.templateAttrs = templateAttrs; - this.children = children; - this.references = references; - this.variables = variables; - this.sourceSpan = sourceSpan; - this.startSourceSpan = startSourceSpan; - this.endSourceSpan = endSourceSpan; - this.i18n = i18n; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(Template, [{ - key: "visit", - value: function visit(visitor) { - return visitor.visitTemplate(this); - } - }]); - - return Template; -}(); - -var Content = /*#__PURE__*/function () { - function Content(selector, attributes, sourceSpan, i18n) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, Content); - - this.selector = selector; - this.attributes = attributes; - this.sourceSpan = sourceSpan; - this.i18n = i18n; - this.name = 'ng-content'; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(Content, [{ - key: "visit", - value: function visit(visitor) { - return visitor.visitContent(this); - } - }]); - - return Content; -}(); - -var Variable = /*#__PURE__*/function () { - function Variable(name, value, sourceSpan, keySpan, valueSpan) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, Variable); - - this.name = name; - this.value = value; - this.sourceSpan = sourceSpan; - this.keySpan = keySpan; - this.valueSpan = valueSpan; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(Variable, [{ - key: "visit", - value: function visit(visitor) { - return visitor.visitVariable(this); - } - }]); - - return Variable; -}(); - -var Reference = /*#__PURE__*/function () { - function Reference(name, value, sourceSpan, keySpan, valueSpan) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, Reference); - - this.name = name; - this.value = value; - this.sourceSpan = sourceSpan; - this.keySpan = keySpan; - this.valueSpan = valueSpan; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(Reference, [{ - key: "visit", - value: function visit(visitor) { - return visitor.visitReference(this); - } - }]); - - return Reference; -}(); - -var Icu = /*#__PURE__*/function () { - function Icu(vars, placeholders, sourceSpan, i18n) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, Icu); - - this.vars = vars; - this.placeholders = placeholders; - this.sourceSpan = sourceSpan; - this.i18n = i18n; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(Icu, [{ - key: "visit", - value: function visit(visitor) { - return visitor.visitIcu(this); - } - }]); - - return Icu; -}(); - -var NullVisitor = /*#__PURE__*/function () { - function NullVisitor() { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, NullVisitor); - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(NullVisitor, [{ - key: "visitElement", - value: function visitElement(element) {} - }, { - key: "visitTemplate", - value: function visitTemplate(template) {} - }, { - key: "visitContent", - value: function visitContent(content) {} - }, { - key: "visitVariable", - value: function visitVariable(variable) {} - }, { - key: "visitReference", - value: function visitReference(reference) {} - }, { - key: "visitTextAttribute", - value: function visitTextAttribute(attribute) {} - }, { - key: "visitBoundAttribute", - value: function visitBoundAttribute(attribute) {} - }, { - key: "visitBoundEvent", - value: function visitBoundEvent(attribute) {} - }, { - key: "visitText", - value: function visitText(text) {} - }, { - key: "visitBoundText", - value: function visitBoundText(text) {} - }, { - key: "visitIcu", - value: function visitIcu(icu) {} - }]); - - return NullVisitor; -}(); - -var RecursiveVisitor = /*#__PURE__*/function () { - function RecursiveVisitor() { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, RecursiveVisitor); - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(RecursiveVisitor, [{ - key: "visitElement", - value: function visitElement(element) { - visitAll(this, element.attributes); - visitAll(this, element.children); - visitAll(this, element.references); - } - }, { - key: "visitTemplate", - value: function visitTemplate(template) { - visitAll(this, template.attributes); - visitAll(this, template.children); - visitAll(this, template.references); - visitAll(this, template.variables); - } - }, { - key: "visitContent", - value: function visitContent(content) {} - }, { - key: "visitVariable", - value: function visitVariable(variable) {} - }, { - key: "visitReference", - value: function visitReference(reference) {} - }, { - key: "visitTextAttribute", - value: function visitTextAttribute(attribute) {} - }, { - key: "visitBoundAttribute", - value: function visitBoundAttribute(attribute) {} - }, { - key: "visitBoundEvent", - value: function visitBoundEvent(attribute) {} - }, { - key: "visitText", - value: function visitText(text) {} - }, { - key: "visitBoundText", - value: function visitBoundText(text) {} - }, { - key: "visitIcu", - value: function visitIcu(icu) {} - }]); - - return RecursiveVisitor; -}(); - -var TransformVisitor = /*#__PURE__*/function () { - function TransformVisitor() { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, TransformVisitor); - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(TransformVisitor, [{ - key: "visitElement", - value: function visitElement(element) { - var newAttributes = transformAll(this, element.attributes); - var newInputs = transformAll(this, element.inputs); - var newOutputs = transformAll(this, element.outputs); - var newChildren = transformAll(this, element.children); - var newReferences = transformAll(this, element.references); - - if (newAttributes != element.attributes || newInputs != element.inputs || newOutputs != element.outputs || newChildren != element.children || newReferences != element.references) { - return new Element(element.name, newAttributes, newInputs, newOutputs, newChildren, newReferences, element.sourceSpan, element.startSourceSpan, element.endSourceSpan); - } - - return element; - } - }, { - key: "visitTemplate", - value: function visitTemplate(template) { - var newAttributes = transformAll(this, template.attributes); - var newInputs = transformAll(this, template.inputs); - var newOutputs = transformAll(this, template.outputs); - var newTemplateAttrs = transformAll(this, template.templateAttrs); - var newChildren = transformAll(this, template.children); - var newReferences = transformAll(this, template.references); - var newVariables = transformAll(this, template.variables); - - if (newAttributes != template.attributes || newInputs != template.inputs || newOutputs != template.outputs || newTemplateAttrs != template.templateAttrs || newChildren != template.children || newReferences != template.references || newVariables != template.variables) { - return new Template(template.tagName, newAttributes, newInputs, newOutputs, newTemplateAttrs, newChildren, newReferences, newVariables, template.sourceSpan, template.startSourceSpan, template.endSourceSpan); - } - - return template; - } - }, { - key: "visitContent", - value: function visitContent(content) { - return content; - } - }, { - key: "visitVariable", - value: function visitVariable(variable) { - return variable; - } - }, { - key: "visitReference", - value: function visitReference(reference) { - return reference; - } - }, { - key: "visitTextAttribute", - value: function visitTextAttribute(attribute) { - return attribute; - } - }, { - key: "visitBoundAttribute", - value: function visitBoundAttribute(attribute) { - return attribute; - } - }, { - key: "visitBoundEvent", - value: function visitBoundEvent(attribute) { - return attribute; - } - }, { - key: "visitText", - value: function visitText(text) { - return text; - } - }, { - key: "visitBoundText", - value: function visitBoundText(text) { - return text; - } - }, { - key: "visitIcu", - value: function visitIcu(icu) { - return icu; - } - }]); - - return TransformVisitor; -}(); - -function visitAll(visitor, nodes) { - var result = []; - - if (visitor.visit) { - var _iterator4 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createForOfIteratorHelper__WEBPACK_IMPORTED_MODULE_7__["default"])(nodes), - _step4; - - try { - for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) { - var node = _step4.value; - var newNode = visitor.visit(node) || node.visit(visitor); - } - } catch (err) { - _iterator4.e(err); - } finally { - _iterator4.f(); - } - } else { - var _iterator5 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createForOfIteratorHelper__WEBPACK_IMPORTED_MODULE_7__["default"])(nodes), - _step5; - - try { - for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) { - var _node = _step5.value; - - var _newNode = _node.visit(visitor); - - if (_newNode) { - result.push(_newNode); - } - } - } catch (err) { - _iterator5.e(err); - } finally { - _iterator5.f(); - } - } - - return result; -} - -function transformAll(visitor, nodes) { - var result = []; - var changed = false; - - var _iterator6 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createForOfIteratorHelper__WEBPACK_IMPORTED_MODULE_7__["default"])(nodes), - _step6; - - try { - for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) { - var node = _step6.value; - var newNode = node.visit(visitor); - - if (newNode) { - result.push(newNode); - } - - changed = changed || newNode != node; - } - } catch (err) { - _iterator6.e(err); - } finally { - _iterator6.f(); - } - - return changed ? result : nodes; -} -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - -var Message = -/** - * @param nodes message AST - * @param placeholders maps placeholder names to static content and their source spans - * @param placeholderToMessage maps placeholder names to messages (used for nested ICU messages) - * @param meaning - * @param description - * @param customId - */ -function Message(nodes, placeholders, placeholderToMessage, meaning, description, customId) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, Message); - - this.nodes = nodes; - this.placeholders = placeholders; - this.placeholderToMessage = placeholderToMessage; - this.meaning = meaning; - this.description = description; - this.customId = customId; - this.id = this.customId; - /** The ids to use if there are no custom id and if `i18nLegacyMessageIdFormat` is not empty */ - - this.legacyIds = []; - - if (nodes.length) { - this.sources = [{ - filePath: nodes[0].sourceSpan.start.file.url, - startLine: nodes[0].sourceSpan.start.line + 1, - startCol: nodes[0].sourceSpan.start.col + 1, - endLine: nodes[nodes.length - 1].sourceSpan.end.line + 1, - endCol: nodes[0].sourceSpan.start.col + 1 - }]; - } else { - this.sources = []; - } -}; - -var Text$1 = /*#__PURE__*/function () { - function Text$1(value, sourceSpan) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, Text$1); - - this.value = value; - this.sourceSpan = sourceSpan; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(Text$1, [{ - key: "visit", - value: function visit(visitor, context) { - return visitor.visitText(this, context); - } - }]); - - return Text$1; -}(); // TODO(vicb): do we really need this node (vs an array) ? - - -var Container = /*#__PURE__*/function () { - function Container(children, sourceSpan) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, Container); - - this.children = children; - this.sourceSpan = sourceSpan; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(Container, [{ - key: "visit", - value: function visit(visitor, context) { - return visitor.visitContainer(this, context); - } - }]); - - return Container; -}(); - -var Icu$1 = /*#__PURE__*/function () { - function Icu$1(expression, type, cases, sourceSpan) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, Icu$1); - - this.expression = expression; - this.type = type; - this.cases = cases; - this.sourceSpan = sourceSpan; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(Icu$1, [{ - key: "visit", - value: function visit(visitor, context) { - return visitor.visitIcu(this, context); - } - }]); - - return Icu$1; -}(); - -var TagPlaceholder = /*#__PURE__*/function () { - function TagPlaceholder(tag, attrs, startName, closeName, children, isVoid, // TODO sourceSpan should cover all (we need a startSourceSpan and endSourceSpan) - sourceSpan, startSourceSpan, endSourceSpan) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, TagPlaceholder); - - this.tag = tag; - this.attrs = attrs; - this.startName = startName; - this.closeName = closeName; - this.children = children; - this.isVoid = isVoid; - this.sourceSpan = sourceSpan; - this.startSourceSpan = startSourceSpan; - this.endSourceSpan = endSourceSpan; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(TagPlaceholder, [{ - key: "visit", - value: function visit(visitor, context) { - return visitor.visitTagPlaceholder(this, context); - } - }]); - - return TagPlaceholder; -}(); - -var Placeholder = /*#__PURE__*/function () { - function Placeholder(value, name, sourceSpan) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, Placeholder); - - this.value = value; - this.name = name; - this.sourceSpan = sourceSpan; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(Placeholder, [{ - key: "visit", - value: function visit(visitor, context) { - return visitor.visitPlaceholder(this, context); - } - }]); - - return Placeholder; -}(); - -var IcuPlaceholder = /*#__PURE__*/function () { - function IcuPlaceholder(value, name, sourceSpan) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, IcuPlaceholder); - - this.value = value; - this.name = name; - this.sourceSpan = sourceSpan; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(IcuPlaceholder, [{ - key: "visit", - value: function visit(visitor, context) { - return visitor.visitIcuPlaceholder(this, context); - } - }]); - - return IcuPlaceholder; -}(); // Clone the AST - - -var CloneVisitor = /*#__PURE__*/function () { - function CloneVisitor() { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, CloneVisitor); - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(CloneVisitor, [{ - key: "visitText", - value: function visitText(text, context) { - return new Text$1(text.value, text.sourceSpan); - } - }, { - key: "visitContainer", - value: function visitContainer(container, context) { - var _this67 = this; - - var children = container.children.map(function (n) { - return n.visit(_this67, context); - }); - return new Container(children, container.sourceSpan); - } - }, { - key: "visitIcu", - value: function visitIcu(icu, context) { - var _this68 = this; - - var cases = {}; - Object.keys(icu.cases).forEach(function (key) { - return cases[key] = icu.cases[key].visit(_this68, context); - }); - var msg = new Icu$1(icu.expression, icu.type, cases, icu.sourceSpan); - msg.expressionPlaceholder = icu.expressionPlaceholder; - return msg; - } - }, { - key: "visitTagPlaceholder", - value: function visitTagPlaceholder(ph, context) { - var _this69 = this; - - var children = ph.children.map(function (n) { - return n.visit(_this69, context); - }); - return new TagPlaceholder(ph.tag, ph.attrs, ph.startName, ph.closeName, children, ph.isVoid, ph.sourceSpan, ph.startSourceSpan, ph.endSourceSpan); - } - }, { - key: "visitPlaceholder", - value: function visitPlaceholder(ph, context) { - return new Placeholder(ph.value, ph.name, ph.sourceSpan); - } - }, { - key: "visitIcuPlaceholder", - value: function visitIcuPlaceholder(ph, context) { - return new IcuPlaceholder(ph.value, ph.name, ph.sourceSpan); - } - }]); - - return CloneVisitor; -}(); // Visit all the nodes recursively - - -var RecurseVisitor = /*#__PURE__*/function () { - function RecurseVisitor() { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, RecurseVisitor); - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(RecurseVisitor, [{ - key: "visitText", - value: function visitText(text, context) {} - }, { - key: "visitContainer", - value: function visitContainer(container, context) { - var _this70 = this; - - container.children.forEach(function (child) { - return child.visit(_this70); - }); - } - }, { - key: "visitIcu", - value: function visitIcu(icu, context) { - var _this71 = this; - - Object.keys(icu.cases).forEach(function (k) { - icu.cases[k].visit(_this71); - }); - } - }, { - key: "visitTagPlaceholder", - value: function visitTagPlaceholder(ph, context) { - var _this72 = this; - - ph.children.forEach(function (child) { - return child.visit(_this72); - }); - } - }, { - key: "visitPlaceholder", - value: function visitPlaceholder(ph, context) {} - }, { - key: "visitIcuPlaceholder", - value: function visitIcuPlaceholder(ph, context) {} - }]); - - return RecurseVisitor; -}(); -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - -/** - * Represents a big integer using a buffer of its individual digits, with the least significant - * digit stored at the beginning of the array (little endian). - * - * For performance reasons, each instance is mutable. The addition operation can be done in-place - * to reduce memory pressure of allocation for the digits array. - */ - - -var BigInteger = /*#__PURE__*/function () { - /** - * Creates a big integer using its individual digits in little endian storage. - */ - function BigInteger(digits) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, BigInteger); - - this.digits = digits; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(BigInteger, [{ - key: "clone", - value: - /** - * Creates a clone of this instance. - */ - function clone() { - return new BigInteger(this.digits.slice()); - } - /** - * Returns a new big integer with the sum of `this` and `other` as its value. This does not mutate - * `this` but instead returns a new instance, unlike `addToSelf`. - */ - - }, { - key: "add", - value: function add(other) { - var result = this.clone(); - result.addToSelf(other); - return result; - } - /** - * Adds `other` to the instance itself, thereby mutating its value. - */ - - }, { - key: "addToSelf", - value: function addToSelf(other) { - var maxNrOfDigits = Math.max(this.digits.length, other.digits.length); - var carry = 0; - - for (var i = 0; i < maxNrOfDigits; i++) { - var digitSum = carry; - - if (i < this.digits.length) { - digitSum += this.digits[i]; - } - - if (i < other.digits.length) { - digitSum += other.digits[i]; - } - - if (digitSum >= 10) { - this.digits[i] = digitSum - 10; - carry = 1; - } else { - this.digits[i] = digitSum; - carry = 0; - } - } // Apply a remaining carry if needed. - - - if (carry > 0) { - this.digits[maxNrOfDigits] = 1; - } - } - /** - * Builds the decimal string representation of the big integer. As this is stored in - * little endian, the digits are concatenated in reverse order. - */ - - }, { - key: "toString", - value: function toString() { - var res = ''; - - for (var i = this.digits.length - 1; i >= 0; i--) { - res += this.digits[i]; - } - - return res; - } - }], [{ - key: "zero", - value: function zero() { - return new BigInteger([0]); - } - }, { - key: "one", - value: function one() { - return new BigInteger([1]); - } - }]); - - return BigInteger; -}(); -/** - * Represents a big integer which is optimized for multiplication operations, as its power-of-twos - * are memoized. See `multiplyBy()` for details on the multiplication algorithm. - */ - - -var BigIntForMultiplication = /*#__PURE__*/function () { - function BigIntForMultiplication(value) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, BigIntForMultiplication); - - this.powerOfTwos = [value]; - } - /** - * Returns the big integer itself. - */ - - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(BigIntForMultiplication, [{ - key: "getValue", - value: function getValue() { - return this.powerOfTwos[0]; - } - /** - * Computes the value for `num * b`, where `num` is a JS number and `b` is a big integer. The - * value for `b` is represented by a storage model that is optimized for this computation. - * - * This operation is implemented in N(log2(num)) by continuous halving of the number, where the - * least-significant bit (LSB) is tested in each iteration. If the bit is set, the bit's index is - * used as exponent into the power-of-two multiplication of `b`. - * - * As an example, consider the multiplication num=42, b=1337. In binary 42 is 0b00101010 and the - * algorithm unrolls into the following iterations: - * - * Iteration | num | LSB | b * 2^iter | Add? | product - * -----------|------------|------|------------|------|-------- - * 0 | 0b00101010 | 0 | 1337 | No | 0 - * 1 | 0b00010101 | 1 | 2674 | Yes | 2674 - * 2 | 0b00001010 | 0 | 5348 | No | 2674 - * 3 | 0b00000101 | 1 | 10696 | Yes | 13370 - * 4 | 0b00000010 | 0 | 21392 | No | 13370 - * 5 | 0b00000001 | 1 | 42784 | Yes | 56154 - * 6 | 0b00000000 | 0 | 85568 | No | 56154 - * - * The computed product of 56154 is indeed the correct result. - * - * The `BigIntForMultiplication` representation for a big integer provides memoized access to the - * power-of-two values to reduce the workload in computing those values. - */ - - }, { - key: "multiplyBy", - value: function multiplyBy(num) { - var product = BigInteger.zero(); - this.multiplyByAndAddTo(num, product); - return product; - } - /** - * See `multiplyBy()` for details. This function allows for the computed product to be added - * directly to the provided result big integer. - */ - - }, { - key: "multiplyByAndAddTo", - value: function multiplyByAndAddTo(num, result) { - for (var exponent = 0; num !== 0; num = num >>> 1, exponent++) { - if (num & 1) { - var value = this.getMultipliedByPowerOfTwo(exponent); - result.addToSelf(value); - } - } - } - /** - * Computes and memoizes the big integer value for `this.number * 2^exponent`. - */ - - }, { - key: "getMultipliedByPowerOfTwo", - value: function getMultipliedByPowerOfTwo(exponent) { - // Compute the powers up until the requested exponent, where each value is computed from its - // predecessor. This is simple as `this.number * 2^(exponent - 1)` only has to be doubled (i.e. - // added to itself) to reach `this.number * 2^exponent`. - for (var i = this.powerOfTwos.length; i <= exponent; i++) { - var previousPower = this.powerOfTwos[i - 1]; - this.powerOfTwos[i] = previousPower.add(previousPower); - } - - return this.powerOfTwos[exponent]; - } - }]); - - return BigIntForMultiplication; -}(); -/** - * Represents an exponentiation operation for the provided base, of which exponents are computed and - * memoized. The results are represented by a `BigIntForMultiplication` which is tailored for - * multiplication operations by memoizing the power-of-twos. This effectively results in a matrix - * representation that is lazily computed upon request. - */ - - -var BigIntExponentiation = /*#__PURE__*/function () { - function BigIntExponentiation(base) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, BigIntExponentiation); - - this.base = base; - this.exponents = [new BigIntForMultiplication(BigInteger.one())]; - } - /** - * Compute the value for `this.base^exponent`, resulting in a big integer that is optimized for - * further multiplication operations. - */ - - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(BigIntExponentiation, [{ - key: "toThePowerOf", - value: function toThePowerOf(exponent) { - // Compute the results up until the requested exponent, where every value is computed from its - // predecessor. This is because `this.base^(exponent - 1)` only has to be multiplied by `base` - // to reach `this.base^exponent`. - for (var i = this.exponents.length; i <= exponent; i++) { - var value = this.exponents[i - 1].multiplyBy(this.base); - this.exponents[i] = new BigIntForMultiplication(value); - } - - return this.exponents[exponent]; - } - }]); - - return BigIntExponentiation; -}(); -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - -/** - * Return the message id or compute it using the XLIFF1 digest. - */ - - -function _digest2(message) { - return message.id || computeDigest(message); -} -/** - * Compute the message id using the XLIFF1 digest. - */ - - -function computeDigest(message) { - return sha1(serializeNodes(message.nodes).join('') + "[".concat(message.meaning, "]")); -} -/** - * Return the message id or compute it using the XLIFF2/XMB/$localize digest. - */ - - -function decimalDigest(message) { - return message.id || computeDecimalDigest(message); -} -/** - * Compute the message id using the XLIFF2/XMB/$localize digest. - */ - - -function computeDecimalDigest(message) { - var visitor = new _SerializerIgnoreIcuExpVisitor(); - var parts = message.nodes.map(function (a) { - return a.visit(visitor, null); - }); - return computeMsgId(parts.join(''), message.meaning); -} -/** - * Serialize the i18n ast to something xml-like in order to generate an UID. - * - * The visitor is also used in the i18n parser tests - * - * @internal - */ - - -var _SerializerVisitor = /*#__PURE__*/function () { - function _SerializerVisitor() { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, _SerializerVisitor); - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(_SerializerVisitor, [{ - key: "visitText", - value: function visitText(text, context) { - return text.value; - } - }, { - key: "visitContainer", - value: function visitContainer(container, context) { - var _this73 = this; - - return "[".concat(container.children.map(function (child) { - return child.visit(_this73); - }).join(', '), "]"); - } - }, { - key: "visitIcu", - value: function visitIcu(icu, context) { - var _this74 = this; - - var strCases = Object.keys(icu.cases).map(function (k) { - return "".concat(k, " {").concat(icu.cases[k].visit(_this74), "}"); - }); - return "{".concat(icu.expression, ", ").concat(icu.type, ", ").concat(strCases.join(', '), "}"); - } - }, { - key: "visitTagPlaceholder", - value: function visitTagPlaceholder(ph, context) { - var _this75 = this; - - return ph.isVoid ? "") : "").concat(ph.children.map(function (child) { - return child.visit(_this75); - }).join(', '), ""); - } - }, { - key: "visitPlaceholder", - value: function visitPlaceholder(ph, context) { - return ph.value ? "").concat(ph.value, "") : ""); - } - }, { - key: "visitIcuPlaceholder", - value: function visitIcuPlaceholder(ph, context) { - return "").concat(ph.value.visit(this), ""); - } - }]); - - return _SerializerVisitor; -}(); - -var serializerVisitor = new _SerializerVisitor(); - -function serializeNodes(nodes) { - return nodes.map(function (a) { - return a.visit(serializerVisitor, null); - }); -} -/** - * Serialize the i18n ast to something xml-like in order to generate an UID. - * - * Ignore the ICU expressions so that message IDs stays identical if only the expression changes. - * - * @internal - */ - - -var _SerializerIgnoreIcuExpVisitor = /*#__PURE__*/function (_SerializerVisitor2) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(_SerializerIgnoreIcuExpVisitor, _SerializerVisitor2); - - var _super48 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(_SerializerIgnoreIcuExpVisitor); - - function _SerializerIgnoreIcuExpVisitor() { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, _SerializerIgnoreIcuExpVisitor); - - return _super48.apply(this, arguments); - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(_SerializerIgnoreIcuExpVisitor, [{ - key: "visitIcu", - value: function visitIcu(icu, context) { - var _this76 = this; - - var strCases = Object.keys(icu.cases).map(function (k) { - return "".concat(k, " {").concat(icu.cases[k].visit(_this76), "}"); - }); // Do not take the expression into account - - return "{".concat(icu.type, ", ").concat(strCases.join(', '), "}"); - } - }]); - - return _SerializerIgnoreIcuExpVisitor; -}(_SerializerVisitor); -/** - * Compute the SHA1 of the given string - * - * see https://csrc.nist.gov/publications/fips/fips180-4/fips-180-4.pdf - * - * WARNING: this function has not been designed not tested with security in mind. - * DO NOT USE IT IN A SECURITY SENSITIVE CONTEXT. - */ - - -function sha1(str) { - var utf8 = utf8Encode(str); - var words32 = bytesToWords32(utf8, Endian.Big); - var len = utf8.length * 8; - var w = newArray(80); - var a = 0x67452301, - b = 0xefcdab89, - c = 0x98badcfe, - d = 0x10325476, - e = 0xc3d2e1f0; - words32[len >> 5] |= 0x80 << 24 - len % 32; - words32[(len + 64 >> 9 << 4) + 15] = len; - - for (var i = 0; i < words32.length; i += 16) { - var h0 = a, - h1 = b, - h2 = c, - h3 = d, - h4 = e; - - for (var j = 0; j < 80; j++) { - if (j < 16) { - w[j] = words32[i + j]; - } else { - w[j] = rol32(w[j - 3] ^ w[j - 8] ^ w[j - 14] ^ w[j - 16], 1); - } - - var fkVal = fk(j, b, c, d); - var f = fkVal[0]; - var k = fkVal[1]; - var temp = [rol32(a, 5), f, e, k, w[j]].reduce(add32); - e = d; - d = c; - c = rol32(b, 30); - b = a; - a = temp; - } - - a = add32(a, h0); - b = add32(b, h1); - c = add32(c, h2); - d = add32(d, h3); - e = add32(e, h4); - } - - return bytesToHexString(words32ToByteString([a, b, c, d, e])); -} - -function fk(index, b, c, d) { - if (index < 20) { - return [b & c | ~b & d, 0x5a827999]; - } - - if (index < 40) { - return [b ^ c ^ d, 0x6ed9eba1]; - } - - if (index < 60) { - return [b & c | b & d | c & d, 0x8f1bbcdc]; - } - - return [b ^ c ^ d, 0xca62c1d6]; -} -/** - * Compute the fingerprint of the given string - * - * The output is 64 bit number encoded as a decimal string - * - * based on: - * https://github.com/google/closure-compiler/blob/master/src/com/google/javascript/jscomp/GoogleJsMessageIdGenerator.java - */ - - -function fingerprint(str) { - var utf8 = utf8Encode(str); - var hi = hash32(utf8, 0); - var lo = hash32(utf8, 102072); - - if (hi == 0 && (lo == 0 || lo == 1)) { - hi = hi ^ 0x130f9bef; - lo = lo ^ -0x6b5f56d8; - } - - return [hi, lo]; -} - -function computeMsgId(msg) { - var meaning = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ''; - var msgFingerprint = fingerprint(msg); - - if (meaning) { - var meaningFingerprint = fingerprint(meaning); - msgFingerprint = add64(rol64(msgFingerprint, 1), meaningFingerprint); - } - - var hi = msgFingerprint[0]; - var lo = msgFingerprint[1]; - return wordsToDecimalString(hi & 0x7fffffff, lo); -} - -function hash32(bytes, c) { - var a = 0x9e3779b9, - b = 0x9e3779b9; - var i; - var len = bytes.length; - - for (i = 0; i + 12 <= len; i += 12) { - a = add32(a, wordAt(bytes, i, Endian.Little)); - b = add32(b, wordAt(bytes, i + 4, Endian.Little)); - c = add32(c, wordAt(bytes, i + 8, Endian.Little)); - var res = mix(a, b, c); - a = res[0], b = res[1], c = res[2]; - } - - a = add32(a, wordAt(bytes, i, Endian.Little)); - b = add32(b, wordAt(bytes, i + 4, Endian.Little)); // the first byte of c is reserved for the length - - c = add32(c, len); - c = add32(c, wordAt(bytes, i + 8, Endian.Little) << 8); - return mix(a, b, c)[2]; -} // clang-format off - - -function mix(a, b, c) { - a = sub32(a, b); - a = sub32(a, c); - a ^= c >>> 13; - b = sub32(b, c); - b = sub32(b, a); - b ^= a << 8; - c = sub32(c, a); - c = sub32(c, b); - c ^= b >>> 13; - a = sub32(a, b); - a = sub32(a, c); - a ^= c >>> 12; - b = sub32(b, c); - b = sub32(b, a); - b ^= a << 16; - c = sub32(c, a); - c = sub32(c, b); - c ^= b >>> 5; - a = sub32(a, b); - a = sub32(a, c); - a ^= c >>> 3; - b = sub32(b, c); - b = sub32(b, a); - b ^= a << 10; - c = sub32(c, a); - c = sub32(c, b); - c ^= b >>> 15; - return [a, b, c]; -} // clang-format on -// Utils - - -var Endian; - -(function (Endian) { - Endian[Endian["Little"] = 0] = "Little"; - Endian[Endian["Big"] = 1] = "Big"; -})(Endian || (Endian = {})); - -function add32(a, b) { - return add32to64(a, b)[1]; -} - -function add32to64(a, b) { - var low = (a & 0xffff) + (b & 0xffff); - var high = (a >>> 16) + (b >>> 16) + (low >>> 16); - return [high >>> 16, high << 16 | low & 0xffff]; -} - -function add64(a, b) { - var ah = a[0], - al = a[1]; - var bh = b[0], - bl = b[1]; - var result = add32to64(al, bl); - var carry = result[0]; - var l = result[1]; - var h = add32(add32(ah, bh), carry); - return [h, l]; -} - -function sub32(a, b) { - var low = (a & 0xffff) - (b & 0xffff); - var high = (a >> 16) - (b >> 16) + (low >> 16); - return high << 16 | low & 0xffff; -} // Rotate a 32b number left `count` position - - -function rol32(a, count) { - return a << count | a >>> 32 - count; -} // Rotate a 64b number left `count` position - - -function rol64(num, count) { - var hi = num[0], - lo = num[1]; - var h = hi << count | lo >>> 32 - count; - var l = lo << count | hi >>> 32 - count; - return [h, l]; -} - -function bytesToWords32(bytes, endian) { - var size = bytes.length + 3 >>> 2; - var words32 = []; - - for (var i = 0; i < size; i++) { - words32[i] = wordAt(bytes, i * 4, endian); - } - - return words32; -} - -function byteAt(bytes, index) { - return index >= bytes.length ? 0 : bytes[index]; -} - -function wordAt(bytes, index, endian) { - var word = 0; - - if (endian === Endian.Big) { - for (var i = 0; i < 4; i++) { - word += byteAt(bytes, index + i) << 24 - 8 * i; - } - } else { - for (var _i5 = 0; _i5 < 4; _i5++) { - word += byteAt(bytes, index + _i5) << 8 * _i5; - } - } - - return word; -} - -function words32ToByteString(words32) { - return words32.reduce(function (bytes, word) { - return bytes.concat(word32ToByteString(word)); - }, []); -} - -function word32ToByteString(word) { - var bytes = []; - - for (var i = 0; i < 4; i++) { - bytes.push(word >>> 8 * (3 - i) & 0xff); - } - - return bytes; -} - -function bytesToHexString(bytes) { - var hex = ''; - - for (var i = 0; i < bytes.length; i++) { - var b = byteAt(bytes, i); - hex += (b >>> 4).toString(16) + (b & 0x0f).toString(16); - } - - return hex.toLowerCase(); -} -/** - * Create a shared exponentiation pool for base-256 computations. This shared pool provides memoized - * power-of-256 results with memoized power-of-two computations for efficient multiplication. - * - * For our purposes, this can be safely stored as a global without memory concerns. The reason is - * that we encode two words, so only need the 0th (for the low word) and 4th (for the high word) - * exponent. - */ - - -var base256 = new BigIntExponentiation(256); -/** - * Represents two 32-bit words as a single decimal number. This requires a big integer storage - * model as JS numbers are not accurate enough to represent the 64-bit number. - * - * Based on https://www.danvk.org/hex2dec.html - */ - -function wordsToDecimalString(hi, lo) { - // Encode the four bytes in lo in the lower digits of the decimal number. - // Note: the multiplication results in lo itself but represented by a big integer using its - // decimal digits. - var decimal = base256.toThePowerOf(0).multiplyBy(lo); // Encode the four bytes in hi above the four lo bytes. lo is a maximum of (2^8)^4, which is why - // this multiplication factor is applied. - - base256.toThePowerOf(4).multiplyByAndAddTo(hi, decimal); - return decimal.toString(); -} -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - -var Serializer = /*#__PURE__*/function () { - function Serializer() { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, Serializer); - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(Serializer, [{ - key: "createNameMapper", - value: // Creates a name mapper, see `PlaceholderMapper` - // Returning `null` means that no name mapping is used. - function createNameMapper(message) { - return null; - } - }]); - - return Serializer; -}(); -/** - * A simple mapper that take a function to transform an internal name to a public name - */ - - -var SimplePlaceholderMapper = /*#__PURE__*/function (_RecurseVisitor) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(SimplePlaceholderMapper, _RecurseVisitor); - - var _super49 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(SimplePlaceholderMapper); - - // create a mapping from the message - function SimplePlaceholderMapper(message, mapName) { - var _this77; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, SimplePlaceholderMapper); - - _this77 = _super49.call(this); - _this77.mapName = mapName; - _this77.internalToPublic = {}; - _this77.publicToNextId = {}; - _this77.publicToInternal = {}; - message.nodes.forEach(function (node) { - return node.visit(Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_6__["default"])(_this77)); - }); - return _this77; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(SimplePlaceholderMapper, [{ - key: "toPublicName", - value: function toPublicName(internalName) { - return this.internalToPublic.hasOwnProperty(internalName) ? this.internalToPublic[internalName] : null; - } - }, { - key: "toInternalName", - value: function toInternalName(publicName) { - return this.publicToInternal.hasOwnProperty(publicName) ? this.publicToInternal[publicName] : null; - } - }, { - key: "visitText", - value: function visitText(text, context) { - return null; - } - }, { - key: "visitTagPlaceholder", - value: function visitTagPlaceholder(ph, context) { - this.visitPlaceholderName(ph.startName); - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_8__["default"])(Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_9__["default"])(SimplePlaceholderMapper.prototype), "visitTagPlaceholder", this).call(this, ph, context); - - this.visitPlaceholderName(ph.closeName); - } - }, { - key: "visitPlaceholder", - value: function visitPlaceholder(ph, context) { - this.visitPlaceholderName(ph.name); - } - }, { - key: "visitIcuPlaceholder", - value: function visitIcuPlaceholder(ph, context) { - this.visitPlaceholderName(ph.name); - } // XMB placeholders could only contains A-Z, 0-9 and _ - - }, { - key: "visitPlaceholderName", - value: function visitPlaceholderName(internalName) { - if (!internalName || this.internalToPublic.hasOwnProperty(internalName)) { - return; - } - - var publicName = this.mapName(internalName); - - if (this.publicToInternal.hasOwnProperty(publicName)) { - // Create a new XMB when it has already been used - var nextId = this.publicToNextId[publicName]; - this.publicToNextId[publicName] = nextId + 1; - publicName = "".concat(publicName, "_").concat(nextId); - } else { - this.publicToNextId[publicName] = 1; - } - - this.internalToPublic[internalName] = publicName; - this.publicToInternal[publicName] = internalName; - } - }]); - - return SimplePlaceholderMapper; -}(RecurseVisitor); -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - -var _Visitor = /*#__PURE__*/function () { - function _Visitor() { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, _Visitor); - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(_Visitor, [{ - key: "visitTag", - value: function visitTag(tag) { - var _this78 = this; - - var strAttrs = this._serializeAttributes(tag.attrs); - - if (tag.children.length == 0) { - return "<".concat(tag.name).concat(strAttrs, "/>"); - } - - var strChildren = tag.children.map(function (node) { - return node.visit(_this78); - }); - return "<".concat(tag.name).concat(strAttrs, ">").concat(strChildren.join(''), ""); - } - }, { - key: "visitText", - value: function visitText(text) { - return text.value; - } - }, { - key: "visitDeclaration", - value: function visitDeclaration(decl) { - return ""); - } - }, { - key: "_serializeAttributes", - value: function _serializeAttributes(attrs) { - var strAttrs = Object.keys(attrs).map(function (name) { - return "".concat(name, "=\"").concat(attrs[name], "\""); - }).join(' '); - return strAttrs.length > 0 ? ' ' + strAttrs : ''; - } - }, { - key: "visitDoctype", - value: function visitDoctype(doctype) { - return ""); - } - }]); - - return _Visitor; -}(); - -var _visitor = new _Visitor(); - -function serialize(nodes) { - return nodes.map(function (node) { - return node.visit(_visitor); - }).join(''); -} - -var Declaration = /*#__PURE__*/function () { - function Declaration(unescapedAttrs) { - var _this79 = this; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, Declaration); - - this.attrs = {}; - Object.keys(unescapedAttrs).forEach(function (k) { - _this79.attrs[k] = escapeXml(unescapedAttrs[k]); - }); - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(Declaration, [{ - key: "visit", - value: function visit(visitor) { - return visitor.visitDeclaration(this); - } - }]); - - return Declaration; -}(); - -var Doctype = /*#__PURE__*/function () { - function Doctype(rootTag, dtd) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, Doctype); - - this.rootTag = rootTag; - this.dtd = dtd; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(Doctype, [{ - key: "visit", - value: function visit(visitor) { - return visitor.visitDoctype(this); - } - }]); - - return Doctype; -}(); - -var Tag = /*#__PURE__*/function () { - function Tag(name) { - var _this80 = this; - - var unescapedAttrs = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - var children = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : []; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, Tag); - - this.name = name; - this.children = children; - this.attrs = {}; - Object.keys(unescapedAttrs).forEach(function (k) { - _this80.attrs[k] = escapeXml(unescapedAttrs[k]); - }); - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(Tag, [{ - key: "visit", - value: function visit(visitor) { - return visitor.visitTag(this); - } - }]); - - return Tag; -}(); - -var Text$2 = /*#__PURE__*/function () { - function Text$2(unescapedValue) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, Text$2); - - this.value = escapeXml(unescapedValue); - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(Text$2, [{ - key: "visit", - value: function visit(visitor) { - return visitor.visitText(this); - } - }]); - - return Text$2; -}(); - -var CR = /*#__PURE__*/function (_Text$) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(CR, _Text$); - - var _super50 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(CR); - - function CR() { - var ws = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, CR); - - return _super50.call(this, "\n".concat(new Array(ws + 1).join(' '))); - } - - return CR; -}(Text$2); - -var _ESCAPED_CHARS = [[/&/g, '&'], [/"/g, '"'], [/'/g, '''], [//g, '>']]; // Escape `_ESCAPED_CHARS` characters in the given text with encoded entities - -function escapeXml(text) { - return _ESCAPED_CHARS.reduce(function (text, entry) { - return text.replace(entry[0], entry[1]); - }, text); -} -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - -var _MESSAGES_TAG = 'messagebundle'; -var _MESSAGE_TAG = 'msg'; -var _PLACEHOLDER_TAG = 'ph'; -var _EXAMPLE_TAG = 'ex'; -var _SOURCE_TAG = 'source'; -var _DOCTYPE = "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"; - -var Xmb = /*#__PURE__*/function (_Serializer) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(Xmb, _Serializer); - - var _super51 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(Xmb); - - function Xmb() { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, Xmb); - - return _super51.apply(this, arguments); - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(Xmb, [{ - key: "write", - value: function write(messages, locale) { - var exampleVisitor = new ExampleVisitor(); - var visitor = new _Visitor$1(); - var rootNode = new Tag(_MESSAGES_TAG); - messages.forEach(function (message) { - var attrs = { - id: message.id - }; - - if (message.description) { - attrs['desc'] = message.description; - } - - if (message.meaning) { - attrs['meaning'] = message.meaning; - } - - var sourceTags = []; - message.sources.forEach(function (source) { - sourceTags.push(new Tag(_SOURCE_TAG, {}, [new Text$2("".concat(source.filePath, ":").concat(source.startLine).concat(source.endLine !== source.startLine ? ',' + source.endLine : ''))])); - }); - rootNode.children.push(new CR(2), new Tag(_MESSAGE_TAG, attrs, [].concat(sourceTags, Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_12__["default"])(visitor.serialize(message.nodes))))); - }); - rootNode.children.push(new CR()); - return serialize([new Declaration({ - version: '1.0', - encoding: 'UTF-8' - }), new CR(), new Doctype(_MESSAGES_TAG, _DOCTYPE), new CR(), exampleVisitor.addDefaultExamples(rootNode), new CR()]); - } - }, { - key: "load", - value: function load(content, url) { - throw new Error('Unsupported'); - } - }, { - key: "digest", - value: function digest(message) { - return digest$1(message); - } - }, { - key: "createNameMapper", - value: function createNameMapper(message) { - return new SimplePlaceholderMapper(message, toPublicName); - } - }]); - - return Xmb; -}(Serializer); - -var _Visitor$1 = /*#__PURE__*/function () { - function _Visitor$1() { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, _Visitor$1); - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(_Visitor$1, [{ - key: "visitText", - value: function visitText(text, context) { - return [new Text$2(text.value)]; - } - }, { - key: "visitContainer", - value: function visitContainer(container, context) { - var _this81 = this; - - var nodes = []; - container.children.forEach(function (node) { - return nodes.push.apply(nodes, Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_12__["default"])(node.visit(_this81))); - }); - return nodes; - } - }, { - key: "visitIcu", - value: function visitIcu(icu, context) { - var _this82 = this; - - var nodes = [new Text$2("{".concat(icu.expressionPlaceholder, ", ").concat(icu.type, ", "))]; - Object.keys(icu.cases).forEach(function (c) { - nodes.push.apply(nodes, [new Text$2("".concat(c, " {"))].concat(Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_12__["default"])(icu.cases[c].visit(_this82)), [new Text$2("} ")])); - }); - nodes.push(new Text$2("}")); - return nodes; - } - }, { - key: "visitTagPlaceholder", - value: function visitTagPlaceholder(ph, context) { - var startTagAsText = new Text$2("<".concat(ph.tag, ">")); - var startEx = new Tag(_EXAMPLE_TAG, {}, [startTagAsText]); // TC requires PH to have a non empty EX, and uses the text node to show the "original" value. - - var startTagPh = new Tag(_PLACEHOLDER_TAG, { - name: ph.startName - }, [startEx, startTagAsText]); - - if (ph.isVoid) { - // void tags have no children nor closing tags - return [startTagPh]; - } - - var closeTagAsText = new Text$2("")); - var closeEx = new Tag(_EXAMPLE_TAG, {}, [closeTagAsText]); // TC requires PH to have a non empty EX, and uses the text node to show the "original" value. - - var closeTagPh = new Tag(_PLACEHOLDER_TAG, { - name: ph.closeName - }, [closeEx, closeTagAsText]); - return [startTagPh].concat(Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_12__["default"])(this.serialize(ph.children)), [closeTagPh]); - } - }, { - key: "visitPlaceholder", - value: function visitPlaceholder(ph, context) { - var interpolationAsText = new Text$2("{{".concat(ph.value, "}}")); // Example tag needs to be not-empty for TC. - - var exTag = new Tag(_EXAMPLE_TAG, {}, [interpolationAsText]); - return [// TC requires PH to have a non empty EX, and uses the text node to show the "original" value. - new Tag(_PLACEHOLDER_TAG, { - name: ph.name - }, [exTag, interpolationAsText])]; - } - }, { - key: "visitIcuPlaceholder", - value: function visitIcuPlaceholder(ph, context) { - var icuExpression = ph.value.expression; - var icuType = ph.value.type; - var icuCases = Object.keys(ph.value.cases).map(function (value) { - return value + ' {...}'; - }).join(' '); - var icuAsText = new Text$2("{".concat(icuExpression, ", ").concat(icuType, ", ").concat(icuCases, "}")); - var exTag = new Tag(_EXAMPLE_TAG, {}, [icuAsText]); - return [// TC requires PH to have a non empty EX, and uses the text node to show the "original" value. - new Tag(_PLACEHOLDER_TAG, { - name: ph.name - }, [exTag, icuAsText])]; - } - }, { - key: "serialize", - value: function serialize(nodes) { - var _ref10, - _this83 = this; - - return (_ref10 = []).concat.apply(_ref10, Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_12__["default"])(nodes.map(function (node) { - return node.visit(_this83); - }))); - } - }]); - - return _Visitor$1; -}(); - -function digest$1(message) { - return decimalDigest(message); -} // TC requires at least one non-empty example on placeholders - - -var ExampleVisitor = /*#__PURE__*/function () { - function ExampleVisitor() { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, ExampleVisitor); - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(ExampleVisitor, [{ - key: "addDefaultExamples", - value: function addDefaultExamples(node) { - node.visit(this); - return node; - } - }, { - key: "visitTag", - value: function visitTag(tag) { - var _this84 = this; - - if (tag.name === _PLACEHOLDER_TAG) { - if (!tag.children || tag.children.length == 0) { - var exText = new Text$2(tag.attrs['name'] || '...'); - tag.children = [new Tag(_EXAMPLE_TAG, {}, [exText])]; - } - } else if (tag.children) { - tag.children.forEach(function (node) { - return node.visit(_this84); - }); - } - } - }, { - key: "visitText", - value: function visitText(text) {} - }, { - key: "visitDeclaration", - value: function visitDeclaration(decl) {} - }, { - key: "visitDoctype", - value: function visitDoctype(doctype) {} - }]); - - return ExampleVisitor; -}(); // XMB/XTB placeholders can only contain A-Z, 0-9 and _ - - -function toPublicName(internalName) { - return internalName.toUpperCase().replace(/[^A-Z0-9_]/g, '_'); -} -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - -/* Closure variables holding messages must be named `MSG_[A-Z0-9]+` */ - - -var CLOSURE_TRANSLATION_VAR_PREFIX = 'MSG_'; -/** - * Prefix for non-`goog.getMsg` i18n-related vars. - * Note: the prefix uses lowercase characters intentionally due to a Closure behavior that - * considers variables like `I18N_0` as constants and throws an error when their value changes. - */ - -var TRANSLATION_VAR_PREFIX = 'i18n_'; -/** Name of the i18n attributes **/ - -var I18N_ATTR = 'i18n'; -var I18N_ATTR_PREFIX = 'i18n-'; -/** Prefix of var expressions used in ICUs */ - -var I18N_ICU_VAR_PREFIX = 'VAR_'; -/** Prefix of ICU expressions for post processing */ - -var I18N_ICU_MAPPING_PREFIX = 'I18N_EXP_'; -/** Placeholder wrapper for i18n expressions **/ - -var I18N_PLACEHOLDER_SYMBOL = '�'; - -function isI18nAttribute(name) { - return name === I18N_ATTR || name.startsWith(I18N_ATTR_PREFIX); -} - -function isI18nRootNode(meta) { - return meta instanceof Message; -} - -function isSingleI18nIcu(meta) { - return isI18nRootNode(meta) && meta.nodes.length === 1 && meta.nodes[0] instanceof Icu$1; -} - -function hasI18nMeta(node) { - return !!node.i18n; -} - -function hasI18nAttrs(element) { - return element.attrs.some(function (attr) { - return isI18nAttribute(attr.name); - }); -} - -function icuFromI18nMessage(message) { - return message.nodes[0]; -} - -function wrapI18nPlaceholder(content) { - var contextId = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0; - var blockId = contextId > 0 ? ":".concat(contextId) : ''; - return "".concat(I18N_PLACEHOLDER_SYMBOL).concat(content).concat(blockId).concat(I18N_PLACEHOLDER_SYMBOL); -} - -function assembleI18nBoundString(strings) { - var bindingStartIndex = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0; - var contextId = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0; - if (!strings.length) return ''; - var acc = ''; - var lastIdx = strings.length - 1; - - for (var i = 0; i < lastIdx; i++) { - acc += "".concat(strings[i]).concat(wrapI18nPlaceholder(bindingStartIndex + i, contextId)); - } - - acc += strings[lastIdx]; - return acc; -} - -function getSeqNumberGenerator() { - var startsAt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0; - var current = startsAt; - return function () { - return current++; - }; -} - -function placeholdersToParams(placeholders) { - var params = {}; - placeholders.forEach(function (values, key) { - params[key] = literal(values.length > 1 ? "[".concat(values.join('|'), "]") : values[0]); - }); - return params; -} - -function updatePlaceholderMap(map, name) { - var current = map.get(name) || []; - - for (var _len2 = arguments.length, values = new Array(_len2 > 2 ? _len2 - 2 : 0), _key3 = 2; _key3 < _len2; _key3++) { - values[_key3 - 2] = arguments[_key3]; - } - - current.push.apply(current, values); - map.set(name, current); -} - -function assembleBoundTextPlaceholders(meta) { - var bindingStartIndex = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0; - var contextId = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0; - var startIdx = bindingStartIndex; - var placeholders = new Map(); - var node = meta instanceof Message ? meta.nodes.find(function (node) { - return node instanceof Container; - }) : meta; - - if (node) { - node.children.filter(function (child) { - return child instanceof Placeholder; - }).forEach(function (child, idx) { - var content = wrapI18nPlaceholder(startIdx + idx, contextId); - updatePlaceholderMap(placeholders, child.name, content); - }); - } - - return placeholders; -} -/** - * Format the placeholder names in a map of placeholders to expressions. - * - * The placeholder names are converted from "internal" format (e.g. `START_TAG_DIV_1`) to "external" - * format (e.g. `startTagDiv_1`). - * - * @param params A map of placeholder names to expressions. - * @param useCamelCase whether to camelCase the placeholder name when formatting. - * @returns A new map of formatted placeholder names to expressions. - */ - - -function i18nFormatPlaceholderNames() { - var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - var useCamelCase = arguments.length > 1 ? arguments[1] : undefined; - var _params = {}; - - if (params && Object.keys(params).length) { - Object.keys(params).forEach(function (key) { - return _params[formatI18nPlaceholderName(key, useCamelCase)] = params[key]; - }); - } - - return _params; -} -/** - * Converts internal placeholder names to public-facing format - * (for example to use in goog.getMsg call). - * Example: `START_TAG_DIV_1` is converted to `startTagDiv_1`. - * - * @param name The placeholder name that should be formatted - * @returns Formatted placeholder name - */ - - -function formatI18nPlaceholderName(name) { - var useCamelCase = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true; - var publicName = toPublicName(name); - - if (!useCamelCase) { - return publicName; - } - - var chunks = publicName.split('_'); - - if (chunks.length === 1) { - // if no "_" found - just lowercase the value - return name.toLowerCase(); - } - - var postfix; // eject last element if it's a number - - if (/^\d+$/.test(chunks[chunks.length - 1])) { - postfix = chunks.pop(); - } - - var raw = chunks.shift().toLowerCase(); - - if (chunks.length) { - raw += chunks.map(function (c) { - return c.charAt(0).toUpperCase() + c.slice(1).toLowerCase(); - }).join(''); - } - - return postfix ? "".concat(raw, "_").concat(postfix) : raw; -} -/** - * Generates a prefix for translation const name. - * - * @param extra Additional local prefix that should be injected into translation var name - * @returns Complete translation const prefix - */ - - -function getTranslationConstPrefix(extra) { - return "".concat(CLOSURE_TRANSLATION_VAR_PREFIX).concat(extra).toUpperCase(); -} -/** - * Generate AST to declare a variable. E.g. `var I18N_1;`. - * @param variable the name of the variable to declare. - */ - - -function declareI18nVariable(variable) { - return new DeclareVarStmt(variable.name, undefined, INFERRED_TYPE, undefined, variable.sourceSpan); -} -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - -/** - * Checks whether an object key contains potentially unsafe chars, thus the key should be wrapped in - * quotes. Note: we do not wrap all keys into quotes, as it may have impact on minification and may - * bot work in some cases when object keys are mangled by minifier. - * - * TODO(FW-1136): this is a temporary solution, we need to come up with a better way of working with - * inputs that contain potentially unsafe chars. - */ - - -var UNSAFE_OBJECT_KEY_NAME_REGEXP = /[-.]/; -/** Name of the temporary to use during data binding */ - -var TEMPORARY_NAME = '_t'; -/** Name of the context parameter passed into a template function */ - -var CONTEXT_NAME = 'ctx'; -/** Name of the RenderFlag passed into a template function */ - -var RENDER_FLAGS = 'rf'; -/** The prefix reference variables */ - -var REFERENCE_PREFIX = '_r'; -/** The name of the implicit context reference */ - -var IMPLICIT_REFERENCE = '$implicit'; -/** Non bindable attribute name **/ - -var NON_BINDABLE_ATTR = 'ngNonBindable'; -/** - * Creates an allocator for a temporary variable. - * - * A variable declaration is added to the statements the first time the allocator is invoked. - */ - -function temporaryAllocator(statements, name) { - var temp = null; - return function () { - if (!temp) { - statements.push(new DeclareVarStmt(TEMPORARY_NAME, undefined, DYNAMIC_TYPE)); - temp = variable(name); - } - - return temp; - }; -} - -function unsupported(feature) { - if (this) { - throw new Error("Builder ".concat(this.constructor.name, " doesn't support ").concat(feature, " yet")); - } - - throw new Error("Feature ".concat(feature, " is not supported yet")); -} - -function invalid$1(arg) { - throw new Error("Invalid state: Visitor ".concat(this.constructor.name, " doesn't handle ").concat(arg.constructor.name)); -} - -function asLiteral(value) { - if (Array.isArray(value)) { - return literalArr(value.map(asLiteral)); - } - - return literal(value, INFERRED_TYPE); -} - -function conditionallyCreateMapObjectLiteral(keys, keepDeclared) { - if (Object.getOwnPropertyNames(keys).length > 0) { - return mapToExpression(keys, keepDeclared); - } - - return null; -} - -function mapToExpression(map, keepDeclared) { - return literalMap(Object.getOwnPropertyNames(map).map(function (key) { - // canonical syntax: `dirProp: publicProp` - // if there is no `:`, use dirProp = elProp - var value = map[key]; - var declaredName; - var publicName; - var minifiedName; - var needsDeclaredName; - - if (Array.isArray(value)) { - var _value = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_5__["default"])(value, 2); - - publicName = _value[0]; - declaredName = _value[1]; - minifiedName = key; - needsDeclaredName = publicName !== declaredName; - } else { - var _splitAtColon = splitAtColon(key, [key, value]); - - var _splitAtColon2 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_5__["default"])(_splitAtColon, 2); - - declaredName = _splitAtColon2[0]; - publicName = _splitAtColon2[1]; - minifiedName = declaredName; // Only include the declared name if extracted from the key, i.e. the key contains a colon. - // Otherwise the declared name should be omitted even if it is different from the public name, - // as it may have already been minified. - - needsDeclaredName = publicName !== declaredName && key.includes(':'); - } - - return { - key: minifiedName, - // put quotes around keys that contain potentially unsafe characters - quoted: UNSAFE_OBJECT_KEY_NAME_REGEXP.test(minifiedName), - value: keepDeclared && needsDeclaredName ? literalArr([asLiteral(publicName), asLiteral(declaredName)]) : asLiteral(publicName) - }; - })); -} -/** - * Remove trailing null nodes as they are implied. - */ - - -function trimTrailingNulls(parameters) { - while (isNull(parameters[parameters.length - 1])) { - parameters.pop(); - } - - return parameters; -} - -function getQueryPredicate(query, constantPool) { - if (Array.isArray(query.predicate)) { - var predicate = []; - query.predicate.forEach(function (selector) { - // Each item in predicates array may contain strings with comma-separated refs - // (for ex. 'ref, ref1, ..., refN'), thus we extract individual refs and store them - // as separate array entities - var selectors = selector.split(',').map(function (token) { - return literal(token.trim()); - }); - predicate.push.apply(predicate, Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_12__["default"])(selectors)); - }); - return constantPool.getConstLiteral(literalArr(predicate), true); - } else { - return query.predicate; - } -} -/** - * A representation for an object literal used during codegen of definition objects. The generic - * type `T` allows to reference a documented type of the generated structure, such that the - * property names that are set can be resolved to their documented declaration. - */ - - -var DefinitionMap = /*#__PURE__*/function () { - function DefinitionMap() { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, DefinitionMap); - - this.values = []; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(DefinitionMap, [{ - key: "set", - value: function set(key, value) { - if (value) { - this.values.push({ - key: key, - value: value, - quoted: false - }); - } - } - }, { - key: "toLiteralMap", - value: function toLiteralMap() { - return literalMap(this.values); - } - }]); - - return DefinitionMap; -}(); -/** - * Extract a map of properties to values for a given element or template node, which can be used - * by the directive matching machinery. - * - * @param elOrTpl the element or template in question - * @return an object set up for directive matching. For attributes on the element/template, this - * object maps a property name to its (static) value. For any bindings, this map simply maps the - * property name to an empty string. - */ - - -function getAttrsForDirectiveMatching(elOrTpl) { - var attributesMap = {}; - - if (elOrTpl instanceof Template && elOrTpl.tagName !== 'ng-template') { - elOrTpl.templateAttrs.forEach(function (a) { - return attributesMap[a.name] = ''; - }); - } else { - elOrTpl.attributes.forEach(function (a) { - if (!isI18nAttribute(a.name)) { - attributesMap[a.name] = a.value; - } - }); - elOrTpl.inputs.forEach(function (i) { - attributesMap[i.name] = ''; - }); - elOrTpl.outputs.forEach(function (o) { - attributesMap[o.name] = ''; - }); - } - - return attributesMap; -} -/** Returns a call expression to a chained instruction, e.g. `property(params[0])(params[1])`. */ - - -function chainedInstruction(reference, calls, span) { - var expression = importExpr(reference, null, span); - - if (calls.length > 0) { - for (var i = 0; i < calls.length; i++) { - expression = expression.callFn(calls[i], span); - } - } else { - // Add a blank invocation, in case the `calls` array is empty. - expression = expression.callFn([], span); - } - - return expression; -} -/** - * Gets the number of arguments expected to be passed to a generated instruction in the case of - * interpolation instructions. - * @param interpolation An interpolation ast - */ - - -function getInterpolationArgsLength(interpolation) { - var expressions = interpolation.expressions, - strings = interpolation.strings; - - if (expressions.length === 1 && strings.length === 2 && strings[0] === '' && strings[1] === '') { - // If the interpolation has one interpolated value, but the prefix and suffix are both empty - // strings, we only pass one argument, to a special instruction like `propertyInterpolate` or - // `textInterpolate`. - return 1; - } else { - return expressions.length + strings.length; - } -} -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - -var R3FactoryDelegateType; - -(function (R3FactoryDelegateType) { - R3FactoryDelegateType[R3FactoryDelegateType["Class"] = 0] = "Class"; - R3FactoryDelegateType[R3FactoryDelegateType["Function"] = 1] = "Function"; -})(R3FactoryDelegateType || (R3FactoryDelegateType = {})); - -var R3FactoryTarget; - -(function (R3FactoryTarget) { - R3FactoryTarget[R3FactoryTarget["Directive"] = 0] = "Directive"; - R3FactoryTarget[R3FactoryTarget["Component"] = 1] = "Component"; - R3FactoryTarget[R3FactoryTarget["Injectable"] = 2] = "Injectable"; - R3FactoryTarget[R3FactoryTarget["Pipe"] = 3] = "Pipe"; - R3FactoryTarget[R3FactoryTarget["NgModule"] = 4] = "NgModule"; -})(R3FactoryTarget || (R3FactoryTarget = {})); -/** - * Resolved type of a dependency. - * - * Occasionally, dependencies will have special significance which is known statically. In that - * case the `R3ResolvedDependencyType` informs the factory generator that a particular dependency - * should be generated specially (usually by calling a special injection function instead of the - * standard one). - */ - - -var R3ResolvedDependencyType; - -(function (R3ResolvedDependencyType) { - /** - * A normal token dependency. - */ - R3ResolvedDependencyType[R3ResolvedDependencyType["Token"] = 0] = "Token"; - /** - * The dependency is for an attribute. - * - * The token expression is a string representing the attribute name. - */ - - R3ResolvedDependencyType[R3ResolvedDependencyType["Attribute"] = 1] = "Attribute"; - /** - * Injecting the `ChangeDetectorRef` token. Needs special handling when injected into a pipe. - */ - - R3ResolvedDependencyType[R3ResolvedDependencyType["ChangeDetectorRef"] = 2] = "ChangeDetectorRef"; - /** - * An invalid dependency (no token could be determined). An error should be thrown at runtime. - */ - - R3ResolvedDependencyType[R3ResolvedDependencyType["Invalid"] = 3] = "Invalid"; -})(R3ResolvedDependencyType || (R3ResolvedDependencyType = {})); -/** - * Construct a factory function expression for the given `R3FactoryMetadata`. - */ - - -function compileFactoryFunction(meta) { - var t = variable('t'); - var statements = []; - var ctorDepsType = NONE_TYPE; // The type to instantiate via constructor invocation. If there is no delegated factory, meaning - // this type is always created by constructor invocation, then this is the type-to-create - // parameter provided by the user (t) if specified, or the current type if not. If there is a - // delegated factory (which is used to create the current type) then this is only the type-to- - // create parameter (t). - - var typeForCtor = !isDelegatedMetadata(meta) ? new BinaryOperatorExpr(BinaryOperator.Or, t, meta.internalType) : t; - var ctorExpr = null; - - if (meta.deps !== null) { - // There is a constructor (either explicitly or implicitly defined). - if (meta.deps !== 'invalid') { - ctorExpr = new InstantiateExpr(typeForCtor, injectDependencies(meta.deps, meta.injectFn, meta.target === R3FactoryTarget.Pipe)); - ctorDepsType = createCtorDepsType(meta.deps); - } - } else { - var baseFactory = variable("\u0275".concat(meta.name, "_BaseFactory")); - var getInheritedFactory = importExpr(Identifiers$1.getInheritedFactory); - var baseFactoryStmt = baseFactory.set(getInheritedFactory.callFn([meta.internalType], - /* sourceSpan */ - undefined, - /* pure */ - true)).toDeclStmt(INFERRED_TYPE, [StmtModifier.Exported, StmtModifier.Final]); - statements.push(baseFactoryStmt); // There is no constructor, use the base class' factory to construct typeForCtor. - - ctorExpr = baseFactory.callFn([typeForCtor]); - } - - var ctorExprFinal = ctorExpr; - var body = []; - var retExpr = null; - - function makeConditionalFactory(nonCtorExpr) { - var r = variable('r'); - body.push(r.set(NULL_EXPR).toDeclStmt()); - var ctorStmt = null; - - if (ctorExprFinal !== null) { - ctorStmt = r.set(ctorExprFinal).toStmt(); - } else { - ctorStmt = importExpr(Identifiers$1.invalidFactory).callFn([]).toStmt(); - } - - body.push(ifStmt(t, [ctorStmt], [r.set(nonCtorExpr).toStmt()])); - return r; - } - - if (isDelegatedMetadata(meta)) { - // This type is created with a delegated factory. If a type parameter is not specified, call - // the factory instead. - var delegateArgs = injectDependencies(meta.delegateDeps, meta.injectFn, meta.target === R3FactoryTarget.Pipe); // Either call `new delegate(...)` or `delegate(...)` depending on meta.delegateType. - - var factoryExpr = new (meta.delegateType === R3FactoryDelegateType.Class ? InstantiateExpr : InvokeFunctionExpr)(meta.delegate, delegateArgs); - retExpr = makeConditionalFactory(factoryExpr); - } else if (isExpressionFactoryMetadata(meta)) { - // TODO(alxhub): decide whether to lower the value here or in the caller - retExpr = makeConditionalFactory(meta.expression); - } else { - retExpr = ctorExpr; - } - - if (retExpr !== null) { - body.push(new ReturnStatement(retExpr)); - } else { - body.push(importExpr(Identifiers$1.invalidFactory).callFn([]).toStmt()); - } - - return { - factory: fn([new FnParam('t', DYNAMIC_TYPE)], body, INFERRED_TYPE, undefined, "".concat(meta.name, "_Factory")), - statements: statements, - type: expressionType(importExpr(Identifiers$1.FactoryDef, [typeWithParameters(meta.type.type, meta.typeArgumentCount), ctorDepsType])) - }; -} - -function injectDependencies(deps, injectFn, isPipe) { - return deps.map(function (dep, index) { - return compileInjectDependency(dep, injectFn, isPipe, index); - }); -} - -function compileInjectDependency(dep, injectFn, isPipe, index) { - // Interpret the dependency according to its resolved type. - switch (dep.resolved) { - case R3ResolvedDependencyType.Token: - case R3ResolvedDependencyType.ChangeDetectorRef: - // Build up the injection flags according to the metadata. - var flags = 0 - /* Default */ - | (dep.self ? 2 - /* Self */ - : 0) | (dep.skipSelf ? 4 - /* SkipSelf */ - : 0) | (dep.host ? 1 - /* Host */ - : 0) | (dep.optional ? 8 - /* Optional */ - : 0); // If this dependency is optional or otherwise has non-default flags, then additional - // parameters describing how to inject the dependency must be passed to the inject function - // that's being used. - - var flagsParam = flags !== 0 - /* Default */ - || dep.optional ? literal(flags) : null; // We have a separate instruction for injecting ChangeDetectorRef into a pipe. - - if (isPipe && dep.resolved === R3ResolvedDependencyType.ChangeDetectorRef) { - return importExpr(Identifiers$1.injectPipeChangeDetectorRef).callFn(flagsParam ? [flagsParam] : []); - } // Build up the arguments to the injectFn call. - - - var injectArgs = [dep.token]; - - if (flagsParam) { - injectArgs.push(flagsParam); - } - - return importExpr(injectFn).callFn(injectArgs); - - case R3ResolvedDependencyType.Attribute: - // In the case of attributes, the attribute name in question is given as the token. - return importExpr(Identifiers$1.injectAttribute).callFn([dep.token]); - - case R3ResolvedDependencyType.Invalid: - return importExpr(Identifiers$1.invalidFactoryDep).callFn([literal(index)]); - - default: - return unsupported("Unknown R3ResolvedDependencyType: ".concat(R3ResolvedDependencyType[dep.resolved])); - } -} - -function createCtorDepsType(deps) { - var hasTypes = false; - var attributeTypes = deps.map(function (dep) { - var type = createCtorDepType(dep); - - if (type !== null) { - hasTypes = true; - return type; - } else { - return literal(null); - } - }); - - if (hasTypes) { - return expressionType(literalArr(attributeTypes)); - } else { - return NONE_TYPE; - } -} - -function createCtorDepType(dep) { - var entries = []; - - if (dep.resolved === R3ResolvedDependencyType.Attribute) { - if (dep.attribute !== null) { - entries.push({ - key: 'attribute', - value: dep.attribute, - quoted: false - }); - } - } - - if (dep.optional) { - entries.push({ - key: 'optional', - value: literal(true), - quoted: false - }); - } - - if (dep.host) { - entries.push({ - key: 'host', - value: literal(true), - quoted: false - }); - } - - if (dep.self) { - entries.push({ - key: 'self', - value: literal(true), - quoted: false - }); - } - - if (dep.skipSelf) { - entries.push({ - key: 'skipSelf', - value: literal(true), - quoted: false - }); - } - - return entries.length > 0 ? literalMap(entries) : null; -} -/** - * A helper function useful for extracting `R3DependencyMetadata` from a Render2 - * `CompileTypeMetadata` instance. - */ - - -function dependenciesFromGlobalMetadata(type, outputCtx, reflector) { - // Use the `CompileReflector` to look up references to some well-known Angular types. These will - // be compared with the token to statically determine whether the token has significance to - // Angular, and set the correct `R3ResolvedDependencyType` as a result. - var injectorRef = reflector.resolveExternalReference(Identifiers.Injector); // Iterate through the type's DI dependencies and produce `R3DependencyMetadata` for each of them. - - var deps = []; - - var _iterator7 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createForOfIteratorHelper__WEBPACK_IMPORTED_MODULE_7__["default"])(type.diDeps), - _step7; - - try { - for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) { - var dependency = _step7.value; - - if (dependency.token) { - var tokenRef = tokenReference(dependency.token); - var resolved = dependency.isAttribute ? R3ResolvedDependencyType.Attribute : R3ResolvedDependencyType.Token; // In the case of most dependencies, the token will be a reference to a type. Sometimes, - // however, it can be a string, in the case of older Angular code or @Attribute injection. - - var token = tokenRef instanceof StaticSymbol ? outputCtx.importExpr(tokenRef) : literal(tokenRef); // Construct the dependency. - - deps.push({ - token: token, - attribute: null, - resolved: resolved, - host: !!dependency.isHost, - optional: !!dependency.isOptional, - self: !!dependency.isSelf, - skipSelf: !!dependency.isSkipSelf - }); - } else { - unsupported('dependency without a token'); - } - } - } catch (err) { - _iterator7.e(err); - } finally { - _iterator7.f(); - } - - return deps; -} - -function isDelegatedMetadata(meta) { - return meta.delegateType !== undefined; -} - -function isExpressionFactoryMetadata(meta) { - return meta.expression !== undefined; -} -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - -function _compileInjectable(meta) { - var result = null; - var factoryMeta = { - name: meta.name, - type: meta.type, - internalType: meta.internalType, - typeArgumentCount: meta.typeArgumentCount, - deps: [], - injectFn: Identifiers.inject, - target: R3FactoryTarget.Injectable - }; - - if (meta.useClass !== undefined) { - // meta.useClass has two modes of operation. Either deps are specified, in which case `new` is - // used to instantiate the class with dependencies injected, or deps are not specified and - // the factory of the class is used to instantiate it. - // - // A special case exists for useClass: Type where Type is the injectable type itself and no - // deps are specified, in which case 'useClass' is effectively ignored. - var useClassOnSelf = meta.useClass.isEquivalent(meta.internalType); - var deps = undefined; - - if (meta.userDeps !== undefined) { - deps = meta.userDeps; - } - - if (deps !== undefined) { - // factory: () => new meta.useClass(...deps) - result = compileFactoryFunction(Object.assign(Object.assign({}, factoryMeta), { - delegate: meta.useClass, - delegateDeps: deps, - delegateType: R3FactoryDelegateType.Class - })); - } else if (useClassOnSelf) { - result = compileFactoryFunction(factoryMeta); - } else { - result = delegateToFactory(meta.type.value, meta.useClass); - } - } else if (meta.useFactory !== undefined) { - if (meta.userDeps !== undefined) { - result = compileFactoryFunction(Object.assign(Object.assign({}, factoryMeta), { - delegate: meta.useFactory, - delegateDeps: meta.userDeps || [], - delegateType: R3FactoryDelegateType.Function - })); - } else { - result = { - statements: [], - factory: fn([], [new ReturnStatement(meta.useFactory.callFn([]))]) - }; - } - } else if (meta.useValue !== undefined) { - // Note: it's safe to use `meta.useValue` instead of the `USE_VALUE in meta` check used for - // client code because meta.useValue is an Expression which will be defined even if the actual - // value is undefined. - result = compileFactoryFunction(Object.assign(Object.assign({}, factoryMeta), { - expression: meta.useValue - })); - } else if (meta.useExisting !== undefined) { - // useExisting is an `inject` call on the existing token. - result = compileFactoryFunction(Object.assign(Object.assign({}, factoryMeta), { - expression: importExpr(Identifiers.inject).callFn([meta.useExisting]) - })); - } else { - result = delegateToFactory(meta.type.value, meta.internalType); - } - - var token = meta.internalType; - var injectableProps = { - token: token, - factory: result.factory - }; // Only generate providedIn property if it has a non-null value - - if (meta.providedIn.value !== null) { - injectableProps.providedIn = meta.providedIn; - } - - var expression = importExpr(Identifiers.ɵɵdefineInjectable).callFn([mapToMapExpression(injectableProps)]); - var type = new ExpressionType(importExpr(Identifiers.InjectableDef, [typeWithParameters(meta.type.type, meta.typeArgumentCount)])); - return { - expression: expression, - type: type, - statements: result.statements - }; -} - -function delegateToFactory(type, internalType) { - return { - statements: [], - // If types are the same, we can generate `factory: type.ɵfac` - // If types are different, we have to generate a wrapper function to ensure - // the internal type has been resolved (`factory: function(t) { return type.ɵfac(t); }`) - factory: type.node === internalType.node ? internalType.prop('ɵfac') : fn([new FnParam('t', DYNAMIC_TYPE)], [new ReturnStatement(internalType.callMethod('ɵfac', [variable('t')]))]) - }; -} -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - -function assertArrayOfStrings(identifier, value) { - if (value == null) { - return; - } - - if (!Array.isArray(value)) { - throw new Error("Expected '".concat(identifier, "' to be an array of strings.")); - } - - for (var i = 0; i < value.length; i += 1) { - if (typeof value[i] !== 'string') { - throw new Error("Expected '".concat(identifier, "' to be an array of strings.")); - } - } -} - -var UNUSABLE_INTERPOLATION_REGEXPS = [/^\s*$/, /[<>]/, /^[{}]$/, /&(#|[a-z])/i, /^\/\//]; - -function assertInterpolationSymbols(identifier, value) { - if (value != null && !(Array.isArray(value) && value.length == 2)) { - throw new Error("Expected '".concat(identifier, "' to be an array, [start, end].")); - } else if (value != null) { - var start = value[0]; - var end = value[1]; // Check for unusable interpolation symbols - - UNUSABLE_INTERPOLATION_REGEXPS.forEach(function (regexp) { - if (regexp.test(start) || regexp.test(end)) { - throw new Error("['".concat(start, "', '").concat(end, "'] contains unusable interpolation symbol.")); - } - }); - } -} -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - -var InterpolationConfig = /*#__PURE__*/function () { - function InterpolationConfig(start, end) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, InterpolationConfig); - - this.start = start; - this.end = end; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(InterpolationConfig, null, [{ - key: "fromArray", - value: function fromArray(markers) { - if (!markers) { - return DEFAULT_INTERPOLATION_CONFIG; - } - - assertInterpolationSymbols('interpolation', markers); - return new InterpolationConfig(markers[0], markers[1]); - } - }]); - - return InterpolationConfig; -}(); - -var DEFAULT_INTERPOLATION_CONFIG = new InterpolationConfig('{{', '}}'); -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - -/** - * In TypeScript, tagged template functions expect a "template object", which is an array of - * "cooked" strings plus a `raw` property that contains an array of "raw" strings. This is - * typically constructed with a function called `__makeTemplateObject(cooked, raw)`, but it may not - * be available in all environments. - * - * This is a JavaScript polyfill that uses __makeTemplateObject when it's available, but otherwise - * creates an inline helper with the same functionality. - * - * In the inline function, if `Object.defineProperty` is available we use that to attach the `raw` - * array. - */ - -var makeTemplateObjectPolyfill = '(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})'; - -var AbstractJsEmitterVisitor = /*#__PURE__*/function (_AbstractEmitterVisit) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(AbstractJsEmitterVisitor, _AbstractEmitterVisit); - - var _super52 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(AbstractJsEmitterVisitor); - - function AbstractJsEmitterVisitor() { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, AbstractJsEmitterVisitor); - - return _super52.call(this, false); - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(AbstractJsEmitterVisitor, [{ - key: "visitDeclareClassStmt", - value: function visitDeclareClassStmt(stmt, ctx) { - var _this85 = this; - - ctx.pushClass(stmt); - - this._visitClassConstructor(stmt, ctx); - - if (stmt.parent != null) { - ctx.print(stmt, "".concat(stmt.name, ".prototype = Object.create(")); - stmt.parent.visitExpression(this, ctx); - ctx.println(stmt, ".prototype);"); - } - - stmt.getters.forEach(function (getter) { - return _this85._visitClassGetter(stmt, getter, ctx); - }); - stmt.methods.forEach(function (method) { - return _this85._visitClassMethod(stmt, method, ctx); - }); - ctx.popClass(); - return null; - } - }, { - key: "_visitClassConstructor", - value: function _visitClassConstructor(stmt, ctx) { - ctx.print(stmt, "function ".concat(stmt.name, "(")); - - if (stmt.constructorMethod != null) { - this._visitParams(stmt.constructorMethod.params, ctx); - } - - ctx.println(stmt, ") {"); - ctx.incIndent(); - - if (stmt.constructorMethod != null) { - if (stmt.constructorMethod.body.length > 0) { - ctx.println(stmt, "var self = this;"); - this.visitAllStatements(stmt.constructorMethod.body, ctx); - } - } - - ctx.decIndent(); - ctx.println(stmt, "}"); - } - }, { - key: "_visitClassGetter", - value: function _visitClassGetter(stmt, getter, ctx) { - ctx.println(stmt, "Object.defineProperty(".concat(stmt.name, ".prototype, '").concat(getter.name, "', { get: function() {")); - ctx.incIndent(); - - if (getter.body.length > 0) { - ctx.println(stmt, "var self = this;"); - this.visitAllStatements(getter.body, ctx); - } - - ctx.decIndent(); - ctx.println(stmt, "}});"); - } - }, { - key: "_visitClassMethod", - value: function _visitClassMethod(stmt, method, ctx) { - ctx.print(stmt, "".concat(stmt.name, ".prototype.").concat(method.name, " = function(")); - - this._visitParams(method.params, ctx); - - ctx.println(stmt, ") {"); - ctx.incIndent(); - - if (method.body.length > 0) { - ctx.println(stmt, "var self = this;"); - this.visitAllStatements(method.body, ctx); - } - - ctx.decIndent(); - ctx.println(stmt, "};"); - } - }, { - key: "visitWrappedNodeExpr", - value: function visitWrappedNodeExpr(ast, ctx) { - throw new Error('Cannot emit a WrappedNodeExpr in Javascript.'); - } - }, { - key: "visitReadVarExpr", - value: function visitReadVarExpr(ast, ctx) { - if (ast.builtin === BuiltinVar.This) { - ctx.print(ast, 'self'); - } else if (ast.builtin === BuiltinVar.Super) { - throw new Error("'super' needs to be handled at a parent ast node, not at the variable level!"); - } else { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_8__["default"])(Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_9__["default"])(AbstractJsEmitterVisitor.prototype), "visitReadVarExpr", this).call(this, ast, ctx); - } - - return null; - } - }, { - key: "visitDeclareVarStmt", - value: function visitDeclareVarStmt(stmt, ctx) { - ctx.print(stmt, "var ".concat(stmt.name)); - - if (stmt.value) { - ctx.print(stmt, ' = '); - stmt.value.visitExpression(this, ctx); - } - - ctx.println(stmt, ";"); - return null; - } - }, { - key: "visitCastExpr", - value: function visitCastExpr(ast, ctx) { - ast.value.visitExpression(this, ctx); - return null; - } - }, { - key: "visitInvokeFunctionExpr", - value: function visitInvokeFunctionExpr(expr, ctx) { - var fnExpr = expr.fn; - - if (fnExpr instanceof ReadVarExpr && fnExpr.builtin === BuiltinVar.Super) { - ctx.currentClass.parent.visitExpression(this, ctx); - ctx.print(expr, ".call(this"); - - if (expr.args.length > 0) { - ctx.print(expr, ", "); - this.visitAllExpressions(expr.args, ctx, ','); - } - - ctx.print(expr, ")"); - } else { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_8__["default"])(Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_9__["default"])(AbstractJsEmitterVisitor.prototype), "visitInvokeFunctionExpr", this).call(this, expr, ctx); - } - - return null; - } - }, { - key: "visitTaggedTemplateExpr", - value: function visitTaggedTemplateExpr(ast, ctx) { - var _this86 = this; - - // The following convoluted piece of code is effectively the downlevelled equivalent of - // ``` - // tag`...` - // ``` - // which is effectively like: - // ``` - // tag(__makeTemplateObject(cooked, raw), expression1, expression2, ...); - // ``` - var elements = ast.template.elements; - ast.tag.visitExpression(this, ctx); - ctx.print(ast, "(".concat(makeTemplateObjectPolyfill, "(")); - ctx.print(ast, "[".concat(elements.map(function (part) { - return escapeIdentifier(part.text, false); - }).join(', '), "], ")); - ctx.print(ast, "[".concat(elements.map(function (part) { - return escapeIdentifier(part.rawText, false); - }).join(', '), "])")); - ast.template.expressions.forEach(function (expression) { - ctx.print(ast, ', '); - expression.visitExpression(_this86, ctx); - }); - ctx.print(ast, ')'); - return null; - } - }, { - key: "visitFunctionExpr", - value: function visitFunctionExpr(ast, ctx) { - ctx.print(ast, "function".concat(ast.name ? ' ' + ast.name : '', "(")); - - this._visitParams(ast.params, ctx); - - ctx.println(ast, ") {"); - ctx.incIndent(); - this.visitAllStatements(ast.statements, ctx); - ctx.decIndent(); - ctx.print(ast, "}"); - return null; - } - }, { - key: "visitDeclareFunctionStmt", - value: function visitDeclareFunctionStmt(stmt, ctx) { - ctx.print(stmt, "function ".concat(stmt.name, "(")); - - this._visitParams(stmt.params, ctx); - - ctx.println(stmt, ") {"); - ctx.incIndent(); - this.visitAllStatements(stmt.statements, ctx); - ctx.decIndent(); - ctx.println(stmt, "}"); - return null; - } - }, { - key: "visitTryCatchStmt", - value: function visitTryCatchStmt(stmt, ctx) { - ctx.println(stmt, "try {"); - ctx.incIndent(); - this.visitAllStatements(stmt.bodyStmts, ctx); - ctx.decIndent(); - ctx.println(stmt, "} catch (".concat(CATCH_ERROR_VAR$1.name, ") {")); - ctx.incIndent(); - var catchStmts = [CATCH_STACK_VAR$1.set(CATCH_ERROR_VAR$1.prop('stack')).toDeclStmt(null, [StmtModifier.Final])].concat(stmt.catchStmts); - this.visitAllStatements(catchStmts, ctx); - ctx.decIndent(); - ctx.println(stmt, "}"); - return null; - } - }, { - key: "visitLocalizedString", - value: function visitLocalizedString(ast, ctx) { - var _this87 = this; - - // The following convoluted piece of code is effectively the downlevelled equivalent of - // ``` - // $localize `...` - // ``` - // which is effectively like: - // ``` - // $localize(__makeTemplateObject(cooked, raw), expression1, expression2, ...); - // ``` - ctx.print(ast, "$localize(".concat(makeTemplateObjectPolyfill, "(")); - var parts = [ast.serializeI18nHead()]; - - for (var i = 1; i < ast.messageParts.length; i++) { - parts.push(ast.serializeI18nTemplatePart(i)); - } - - ctx.print(ast, "[".concat(parts.map(function (part) { - return escapeIdentifier(part.cooked, false); - }).join(', '), "], ")); - ctx.print(ast, "[".concat(parts.map(function (part) { - return escapeIdentifier(part.raw, false); - }).join(', '), "])")); - ast.expressions.forEach(function (expression) { - ctx.print(ast, ', '); - expression.visitExpression(_this87, ctx); - }); - ctx.print(ast, ')'); - return null; - } - }, { - key: "_visitParams", - value: function _visitParams(params, ctx) { - this.visitAllObjects(function (param) { - return ctx.print(null, param.name); - }, params, ctx, ','); - } - }, { - key: "getBuiltinMethodName", - value: function getBuiltinMethodName(method) { - var name; - - switch (method) { - case BuiltinMethod.ConcatArray: - name = 'concat'; - break; - - case BuiltinMethod.SubscribeObservable: - name = 'subscribe'; - break; - - case BuiltinMethod.Bind: - name = 'bind'; - break; - - default: - throw new Error("Unknown builtin method: ".concat(method)); - } - - return name; - } - }]); - - return AbstractJsEmitterVisitor; -}(AbstractEmitterVisitor); -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - -/** - * The Trusted Types policy, or null if Trusted Types are not - * enabled/supported, or undefined if the policy has not been created yet. - */ - - -var policy; -/** - * Returns the Trusted Types policy, or null if Trusted Types are not - * enabled/supported. The first call to this function will create the policy. - */ - -function getPolicy() { - if (policy === undefined) { - policy = null; - - if (_global.trustedTypes) { - try { - policy = _global.trustedTypes.createPolicy('angular#unsafe-jit', { - createScript: function createScript(s) { - return s; - } - }); - } catch (_a) {// trustedTypes.createPolicy throws if called with a name that is - // already registered, even in report-only mode. Until the API changes, - // catch the error not to break the applications functionally. In such - // cases, the code will fall back to using strings. - } - } - } - - return policy; -} -/** - * Unsafely promote a string to a TrustedScript, falling back to strings when - * Trusted Types are not available. - * @security In particular, it must be assured that the provided string will - * never cause an XSS vulnerability if used in a context that will be - * interpreted and executed as a script by a browser, e.g. when calling eval. - */ - - -function trustedScriptFromString(script) { - var _a; - - return ((_a = getPolicy()) === null || _a === void 0 ? void 0 : _a.createScript(script)) || script; -} -/** - * Unsafely call the Function constructor with the given string arguments. - * @security This is a security-sensitive function; any use of this function - * must go through security review. In particular, it must be assured that it - * is only called from the JIT compiler, as use in other code can lead to XSS - * vulnerabilities. - */ - - -function newTrustedFunctionForJIT() { - for (var _len3 = arguments.length, args = new Array(_len3), _key4 = 0; _key4 < _len3; _key4++) { - args[_key4] = arguments[_key4]; - } - - if (!_global.trustedTypes) { - // In environments that don't support Trusted Types, fall back to the most - // straightforward implementation: - return Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_construct__WEBPACK_IMPORTED_MODULE_4__["default"])(Function, args); - } // Chrome currently does not support passing TrustedScript to the Function - // constructor. The following implements the workaround proposed on the page - // below, where the Chromium bug is also referenced: - // https://github.com/w3c/webappsec-trusted-types/wiki/Trusted-Types-for-function-constructor - - - var fnArgs = args.slice(0, -1).join(','); - var fnBody = args[args.length - 1]; - var body = "(function anonymous(".concat(fnArgs, "\n) { ").concat(fnBody, "\n})"); // Using eval directly confuses the compiler and prevents this module from - // being stripped out of JS binaries even if not used. The global['eval'] - // indirection fixes that. - - var fn = _global['eval'](trustedScriptFromString(body)); - - if (fn.bind === undefined) { - // Workaround for a browser bug that only exists in Chrome 83, where passing - // a TrustedScript to eval just returns the TrustedScript back without - // evaluating it. In that case, fall back to the most straightforward - // implementation: - return Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_construct__WEBPACK_IMPORTED_MODULE_4__["default"])(Function, args); - } // To completely mimic the behavior of calling "new Function", two more - // things need to happen: - // 1. Stringifying the resulting function should return its source code - - - fn.toString = function () { - return body; - }; // 2. When calling the resulting function, `this` should refer to `global` - - - return fn.bind(_global); // When Trusted Types support in Function constructors is widely available, - // the implementation of this function can be simplified to: - // return new Function(...args.map(a => trustedScriptFromString(a))); -} -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - -/** - * A helper class to manage the evaluation of JIT generated code. - */ - - -var JitEvaluator = /*#__PURE__*/function () { - function JitEvaluator() { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, JitEvaluator); - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(JitEvaluator, [{ - key: "evaluateStatements", - value: - /** - * - * @param sourceUrl The URL of the generated code. - * @param statements An array of Angular statement AST nodes to be evaluated. - * @param reflector A helper used when converting the statements to executable code. - * @param createSourceMaps If true then create a source-map for the generated code and include it - * inline as a source-map comment. - * @returns A map of all the variables in the generated code. - */ - function evaluateStatements(sourceUrl, statements, reflector, createSourceMaps) { - var converter = new JitEmitterVisitor(reflector); - var ctx = EmitterVisitorContext.createRoot(); // Ensure generated code is in strict mode - - if (statements.length > 0 && !isUseStrictStatement(statements[0])) { - statements = [literal('use strict').toStmt()].concat(Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_12__["default"])(statements)); - } - - converter.visitAllStatements(statements, ctx); - converter.createReturnStmt(ctx); - return this.evaluateCode(sourceUrl, ctx, converter.getArgs(), createSourceMaps); - } - /** - * Evaluate a piece of JIT generated code. - * @param sourceUrl The URL of this generated code. - * @param ctx A context object that contains an AST of the code to be evaluated. - * @param vars A map containing the names and values of variables that the evaluated code might - * reference. - * @param createSourceMap If true then create a source-map for the generated code and include it - * inline as a source-map comment. - * @returns The result of evaluating the code. - */ - - }, { - key: "evaluateCode", - value: function evaluateCode(sourceUrl, ctx, vars, createSourceMap) { - var fnBody = "\"use strict\";".concat(ctx.toSource(), "\n//# sourceURL=").concat(sourceUrl); - var fnArgNames = []; - var fnArgValues = []; - - for (var argName in vars) { - fnArgValues.push(vars[argName]); - fnArgNames.push(argName); - } - - if (createSourceMap) { - // using `new Function(...)` generates a header, 1 line of no arguments, 2 lines otherwise - // E.g. ``` - // function anonymous(a,b,c - // /**/) { ... }``` - // We don't want to hard code this fact, so we auto detect it via an empty function first. - var emptyFn = newTrustedFunctionForJIT.apply(void 0, Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_12__["default"])(fnArgNames.concat('return null;'))).toString(); - var headerLines = emptyFn.slice(0, emptyFn.indexOf('return null;')).split('\n').length - 1; - fnBody += "\n".concat(ctx.toSourceMapGenerator(sourceUrl, headerLines).toJsComment()); - } - - var fn = newTrustedFunctionForJIT.apply(void 0, Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_12__["default"])(fnArgNames.concat(fnBody))); - return this.executeFunction(fn, fnArgValues); - } - /** - * Execute a JIT generated function by calling it. - * - * This method can be overridden in tests to capture the functions that are generated - * by this `JitEvaluator` class. - * - * @param fn A function to execute. - * @param args The arguments to pass to the function being executed. - * @returns The return value of the executed function. - */ - - }, { - key: "executeFunction", - value: function executeFunction(fn, args) { - return fn.apply(void 0, Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_12__["default"])(args)); - } - }]); - - return JitEvaluator; -}(); -/** - * An Angular AST visitor that converts AST nodes into executable JavaScript code. - */ - - -var JitEmitterVisitor = /*#__PURE__*/function (_AbstractJsEmitterVis) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(JitEmitterVisitor, _AbstractJsEmitterVis); - - var _super53 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(JitEmitterVisitor); - - function JitEmitterVisitor(reflector) { - var _this88; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, JitEmitterVisitor); - - _this88 = _super53.call(this); - _this88.reflector = reflector; - _this88._evalArgNames = []; - _this88._evalArgValues = []; - _this88._evalExportedVars = []; - return _this88; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(JitEmitterVisitor, [{ - key: "createReturnStmt", - value: function createReturnStmt(ctx) { - var stmt = new ReturnStatement(new LiteralMapExpr(this._evalExportedVars.map(function (resultVar) { - return new LiteralMapEntry(resultVar, variable(resultVar), false); - }))); - stmt.visitStatement(this, ctx); - } - }, { - key: "getArgs", - value: function getArgs() { - var result = {}; - - for (var i = 0; i < this._evalArgNames.length; i++) { - result[this._evalArgNames[i]] = this._evalArgValues[i]; - } - - return result; - } - }, { - key: "visitExternalExpr", - value: function visitExternalExpr(ast, ctx) { - this._emitReferenceToExternal(ast, this.reflector.resolveExternalReference(ast.value), ctx); - - return null; - } - }, { - key: "visitWrappedNodeExpr", - value: function visitWrappedNodeExpr(ast, ctx) { - this._emitReferenceToExternal(ast, ast.node, ctx); - - return null; - } - }, { - key: "visitDeclareVarStmt", - value: function visitDeclareVarStmt(stmt, ctx) { - if (stmt.hasModifier(StmtModifier.Exported)) { - this._evalExportedVars.push(stmt.name); - } - - return Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_8__["default"])(Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_9__["default"])(JitEmitterVisitor.prototype), "visitDeclareVarStmt", this).call(this, stmt, ctx); - } - }, { - key: "visitDeclareFunctionStmt", - value: function visitDeclareFunctionStmt(stmt, ctx) { - if (stmt.hasModifier(StmtModifier.Exported)) { - this._evalExportedVars.push(stmt.name); - } - - return Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_8__["default"])(Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_9__["default"])(JitEmitterVisitor.prototype), "visitDeclareFunctionStmt", this).call(this, stmt, ctx); - } - }, { - key: "visitDeclareClassStmt", - value: function visitDeclareClassStmt(stmt, ctx) { - if (stmt.hasModifier(StmtModifier.Exported)) { - this._evalExportedVars.push(stmt.name); - } - - return Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_8__["default"])(Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_9__["default"])(JitEmitterVisitor.prototype), "visitDeclareClassStmt", this).call(this, stmt, ctx); - } - }, { - key: "_emitReferenceToExternal", - value: function _emitReferenceToExternal(ast, value, ctx) { - var id = this._evalArgValues.indexOf(value); - - if (id === -1) { - id = this._evalArgValues.length; - - this._evalArgValues.push(value); - - var name = identifierName({ - reference: value - }) || 'val'; - - this._evalArgNames.push("jit_".concat(name, "_").concat(id)); - } - - ctx.print(ast, this._evalArgNames[id]); - } - }]); - - return JitEmitterVisitor; -}(AbstractJsEmitterVisitor); - -function isUseStrictStatement(statement) { - return statement.isEquivalent(literal('use strict').toStmt()); -} -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - -var $EOF = 0; -var $BSPACE = 8; -var $TAB = 9; -var $LF = 10; -var $VTAB = 11; -var $FF = 12; -var $CR = 13; -var $SPACE = 32; -var $BANG = 33; -var $DQ = 34; -var $HASH = 35; -var $$ = 36; -var $PERCENT = 37; -var $AMPERSAND = 38; -var $SQ = 39; -var $LPAREN = 40; -var $RPAREN = 41; -var $STAR = 42; -var $PLUS = 43; -var $COMMA = 44; -var $MINUS = 45; -var $PERIOD = 46; -var $SLASH = 47; -var $COLON = 58; -var $SEMICOLON = 59; -var $LT = 60; -var $EQ = 61; -var $GT = 62; -var $QUESTION = 63; -var $0 = 48; -var $7 = 55; -var $9 = 57; -var $A = 65; -var $E = 69; -var $F = 70; -var $X = 88; -var $Z = 90; -var $LBRACKET = 91; -var $BACKSLASH = 92; -var $RBRACKET = 93; -var $CARET = 94; -var $_ = 95; -var $a = 97; -var $b = 98; -var $e = 101; -var $f = 102; -var $n = 110; -var $r = 114; -var $t = 116; -var $u = 117; -var $v = 118; -var $x = 120; -var $z = 122; -var $LBRACE = 123; -var $BAR = 124; -var $RBRACE = 125; -var $NBSP = 160; -var $PIPE = 124; -var $TILDA = 126; -var $AT = 64; -var $BT = 96; - -function isWhitespace(code) { - return code >= $TAB && code <= $SPACE || code == $NBSP; -} - -function isDigit(code) { - return $0 <= code && code <= $9; -} - -function isAsciiLetter(code) { - return code >= $a && code <= $z || code >= $A && code <= $Z; -} - -function isAsciiHexDigit(code) { - return code >= $a && code <= $f || code >= $A && code <= $F || isDigit(code); -} - -function isNewLine(code) { - return code === $LF || code === $CR; -} - -function isOctalDigit(code) { - return $0 <= code && code <= $7; -} -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - -var ParseLocation = /*#__PURE__*/function () { - function ParseLocation(file, offset, line, col) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, ParseLocation); - - this.file = file; - this.offset = offset; - this.line = line; - this.col = col; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(ParseLocation, [{ - key: "toString", - value: function toString() { - return this.offset != null ? "".concat(this.file.url, "@").concat(this.line, ":").concat(this.col) : this.file.url; - } - }, { - key: "moveBy", - value: function moveBy(delta) { - var source = this.file.content; - var len = source.length; - var offset = this.offset; - var line = this.line; - var col = this.col; - - while (offset > 0 && delta < 0) { - offset--; - delta++; - var ch = source.charCodeAt(offset); - - if (ch == $LF) { - line--; - var priorLine = source.substr(0, offset - 1).lastIndexOf(String.fromCharCode($LF)); - col = priorLine > 0 ? offset - priorLine : offset; - } else { - col--; - } - } - - while (offset < len && delta > 0) { - var _ch = source.charCodeAt(offset); - - offset++; - delta--; - - if (_ch == $LF) { - line++; - col = 0; - } else { - col++; - } - } - - return new ParseLocation(this.file, offset, line, col); - } // Return the source around the location - // Up to `maxChars` or `maxLines` on each side of the location - - }, { - key: "getContext", - value: function getContext(maxChars, maxLines) { - var content = this.file.content; - var startOffset = this.offset; - - if (startOffset != null) { - if (startOffset > content.length - 1) { - startOffset = content.length - 1; - } - - var endOffset = startOffset; - var ctxChars = 0; - var ctxLines = 0; - - while (ctxChars < maxChars && startOffset > 0) { - startOffset--; - ctxChars++; - - if (content[startOffset] == '\n') { - if (++ctxLines == maxLines) { - break; - } - } - } - - ctxChars = 0; - ctxLines = 0; - - while (ctxChars < maxChars && endOffset < content.length - 1) { - endOffset++; - ctxChars++; - - if (content[endOffset] == '\n') { - if (++ctxLines == maxLines) { - break; - } - } - } - - return { - before: content.substring(startOffset, this.offset), - after: content.substring(this.offset, endOffset + 1) - }; - } - - return null; - } - }]); - - return ParseLocation; -}(); - -var ParseSourceFile = function ParseSourceFile(content, url) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, ParseSourceFile); - - this.content = content; - this.url = url; -}; - -var ParseSourceSpan = /*#__PURE__*/function () { - /** - * Create an object that holds information about spans of tokens/nodes captured during - * lexing/parsing of text. - * - * @param start - * The location of the start of the span (having skipped leading trivia). - * Skipping leading trivia makes source-spans more "user friendly", since things like HTML - * elements will appear to begin at the start of the opening tag, rather than at the start of any - * leading trivia, which could include newlines. - * - * @param end - * The location of the end of the span. - * - * @param fullStart - * The start of the token without skipping the leading trivia. - * This is used by tooling that splits tokens further, such as extracting Angular interpolations - * from text tokens. Such tooling creates new source-spans relative to the original token's - * source-span. If leading trivia characters have been skipped then the new source-spans may be - * incorrectly offset. - * - * @param details - * Additional information (such as identifier names) that should be associated with the span. - */ - function ParseSourceSpan(start, end) { - var fullStart = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : start; - var details = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, ParseSourceSpan); - - this.start = start; - this.end = end; - this.fullStart = fullStart; - this.details = details; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(ParseSourceSpan, [{ - key: "toString", - value: function toString() { - return this.start.file.content.substring(this.start.offset, this.end.offset); - } - }]); - - return ParseSourceSpan; -}(); - -var ParseErrorLevel; - -(function (ParseErrorLevel) { - ParseErrorLevel[ParseErrorLevel["WARNING"] = 0] = "WARNING"; - ParseErrorLevel[ParseErrorLevel["ERROR"] = 1] = "ERROR"; -})(ParseErrorLevel || (ParseErrorLevel = {})); - -var ParseError = /*#__PURE__*/function () { - function ParseError(span, msg) { - var level = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : ParseErrorLevel.ERROR; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, ParseError); - - this.span = span; - this.msg = msg; - this.level = level; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(ParseError, [{ - key: "contextualMessage", - value: function contextualMessage() { - var ctx = this.span.start.getContext(100, 3); - return ctx ? "".concat(this.msg, " (\"").concat(ctx.before, "[").concat(ParseErrorLevel[this.level], " ->]").concat(ctx.after, "\")") : this.msg; - } - }, { - key: "toString", - value: function toString() { - var details = this.span.details ? ", ".concat(this.span.details) : ''; - return "".concat(this.contextualMessage(), ": ").concat(this.span.start).concat(details); - } - }]); - - return ParseError; -}(); - -function typeSourceSpan(kind, type) { - var moduleUrl = identifierModuleUrl(type); - var sourceFileName = moduleUrl != null ? "in ".concat(kind, " ").concat(identifierName(type), " in ").concat(moduleUrl) : "in ".concat(kind, " ").concat(identifierName(type)); - var sourceFile = new ParseSourceFile('', sourceFileName); - return new ParseSourceSpan(new ParseLocation(sourceFile, -1, -1, -1), new ParseLocation(sourceFile, -1, -1, -1)); -} -/** - * Generates Source Span object for a given R3 Type for JIT mode. - * - * @param kind Component or Directive. - * @param typeName name of the Component or Directive. - * @param sourceUrl reference to Component or Directive source. - * @returns instance of ParseSourceSpan that represent a given Component or Directive. - */ - - -function r3JitTypeSourceSpan(kind, typeName, sourceUrl) { - var sourceFileName = "in ".concat(kind, " ").concat(typeName, " in ").concat(sourceUrl); - var sourceFile = new ParseSourceFile('', sourceFileName); - return new ParseSourceSpan(new ParseLocation(sourceFile, -1, -1, -1), new ParseLocation(sourceFile, -1, -1, -1)); -} -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - -/** - * Implementation of `CompileReflector` which resolves references to @angular/core - * symbols at runtime, according to a consumer-provided mapping. - * - * Only supports `resolveExternalReference`, all other methods throw. - */ - - -var R3JitReflector = /*#__PURE__*/function () { - function R3JitReflector(context) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, R3JitReflector); - - this.context = context; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(R3JitReflector, [{ - key: "resolveExternalReference", - value: function resolveExternalReference(ref) { - // This reflector only handles @angular/core imports. - if (ref.moduleName !== '@angular/core') { - throw new Error("Cannot resolve external reference to ".concat(ref.moduleName, ", only references to @angular/core are supported.")); - } - - if (!this.context.hasOwnProperty(ref.name)) { - throw new Error("No value provided for @angular/core symbol '".concat(ref.name, "'.")); - } - - return this.context[ref.name]; - } - }, { - key: "parameters", - value: function parameters(typeOrFunc) { - throw new Error('Not implemented.'); - } - }, { - key: "annotations", - value: function annotations(typeOrFunc) { - throw new Error('Not implemented.'); - } - }, { - key: "shallowAnnotations", - value: function shallowAnnotations(typeOrFunc) { - throw new Error('Not implemented.'); - } - }, { - key: "tryAnnotations", - value: function tryAnnotations(typeOrFunc) { - throw new Error('Not implemented.'); - } - }, { - key: "propMetadata", - value: function propMetadata(typeOrFunc) { - throw new Error('Not implemented.'); - } - }, { - key: "hasLifecycleHook", - value: function hasLifecycleHook(type, lcProperty) { - throw new Error('Not implemented.'); - } - }, { - key: "guards", - value: function guards(typeOrFunc) { - throw new Error('Not implemented.'); - } - }, { - key: "componentModuleUrl", - value: function componentModuleUrl(type, cmpMetadata) { - throw new Error('Not implemented.'); - } - }]); - - return R3JitReflector; -}(); -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - -/** - * Construct an `R3NgModuleDef` for the given `R3NgModuleMetadata`. - */ - - -function _compileNgModule(meta) { - var internalType = meta.internalType, - moduleType = meta.type, - bootstrap = meta.bootstrap, - declarations = meta.declarations, - imports = meta.imports, - exports = meta.exports, - schemas = meta.schemas, - containsForwardDecls = meta.containsForwardDecls, - emitInline = meta.emitInline, - id = meta.id; - var additionalStatements = []; - var definitionMap = { - type: internalType - }; // Only generate the keys in the metadata if the arrays have values. - - if (bootstrap.length) { - definitionMap.bootstrap = refsToArray(bootstrap, containsForwardDecls); - } // If requested to emit scope information inline, pass the declarations, imports and exports to - // the `ɵɵdefineNgModule` call. The JIT compilation uses this. - - - if (emitInline) { - if (declarations.length) { - definitionMap.declarations = refsToArray(declarations, containsForwardDecls); - } - - if (imports.length) { - definitionMap.imports = refsToArray(imports, containsForwardDecls); - } - - if (exports.length) { - definitionMap.exports = refsToArray(exports, containsForwardDecls); - } - } // If not emitting inline, the scope information is not passed into `ɵɵdefineNgModule` as it would - // prevent tree-shaking of the declarations, imports and exports references. - else { - var setNgModuleScopeCall = generateSetNgModuleScopeCall(meta); - - if (setNgModuleScopeCall !== null) { - additionalStatements.push(setNgModuleScopeCall); - } - } - - if (schemas && schemas.length) { - definitionMap.schemas = literalArr(schemas.map(function (ref) { - return ref.value; - })); - } - - if (id) { - definitionMap.id = id; - } - - var expression = importExpr(Identifiers$1.defineNgModule).callFn([mapToMapExpression(definitionMap)]); - var type = new ExpressionType(importExpr(Identifiers$1.NgModuleDefWithMeta, [new ExpressionType(moduleType.type), tupleTypeOf(declarations), tupleTypeOf(imports), tupleTypeOf(exports)])); - return { - expression: expression, - type: type, - additionalStatements: additionalStatements - }; -} -/** - * Generates a function call to `ɵɵsetNgModuleScope` with all necessary information so that the - * transitive module scope can be computed during runtime in JIT mode. This call is marked pure - * such that the references to declarations, imports and exports may be elided causing these - * symbols to become tree-shakeable. - */ - - -function generateSetNgModuleScopeCall(meta) { - var moduleType = meta.adjacentType, - declarations = meta.declarations, - imports = meta.imports, - exports = meta.exports, - containsForwardDecls = meta.containsForwardDecls; - var scopeMap = {}; - - if (declarations.length) { - scopeMap.declarations = refsToArray(declarations, containsForwardDecls); - } - - if (imports.length) { - scopeMap.imports = refsToArray(imports, containsForwardDecls); - } - - if (exports.length) { - scopeMap.exports = refsToArray(exports, containsForwardDecls); - } - - if (Object.keys(scopeMap).length === 0) { - return null; - } // setNgModuleScope(...) - - - var fnCall = new InvokeFunctionExpr( - /* fn */ - importExpr(Identifiers$1.setNgModuleScope), - /* args */ - [moduleType, mapToMapExpression(scopeMap)]); // (ngJitMode guard) && setNgModuleScope(...) - - var guardedCall = jitOnlyGuardedExpression(fnCall); // function() { (ngJitMode guard) && setNgModuleScope(...); } - - var iife = new FunctionExpr( - /* params */ - [], - /* statements */ - [guardedCall.toStmt()]); // (function() { (ngJitMode guard) && setNgModuleScope(...); })() - - var iifeCall = new InvokeFunctionExpr( - /* fn */ - iife, - /* args */ - []); - return iifeCall.toStmt(); -} - -function _compileInjector(meta) { - var definitionMap = {}; - - if (meta.providers !== null) { - definitionMap.providers = meta.providers; - } - - if (meta.imports.length > 0) { - definitionMap.imports = literalArr(meta.imports); - } - - var expression = importExpr(Identifiers$1.defineInjector).callFn([mapToMapExpression(definitionMap)]); - var type = new ExpressionType(importExpr(Identifiers$1.InjectorDef, [new ExpressionType(meta.type.type)])); - return { - expression: expression, - type: type - }; -} - -function tupleTypeOf(exp) { - var types = exp.map(function (ref) { - return typeofExpr(ref.type); - }); - return exp.length > 0 ? expressionType(literalArr(types)) : NONE_TYPE; -} - -function refsToArray(refs, shouldForwardDeclare) { - var values = literalArr(refs.map(function (ref) { - return ref.value; - })); - return shouldForwardDeclare ? fn([], [new ReturnStatement(values)]) : values; -} -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - -function compilePipeFromMetadata(metadata) { - var definitionMapValues = []; // e.g. `name: 'myPipe'` - - definitionMapValues.push({ - key: 'name', - value: literal(metadata.pipeName), - quoted: false - }); // e.g. `type: MyPipe` - - definitionMapValues.push({ - key: 'type', - value: metadata.type.value, - quoted: false - }); // e.g. `pure: true` - - definitionMapValues.push({ - key: 'pure', - value: literal(metadata.pure), - quoted: false - }); - var expression = importExpr(Identifiers$1.definePipe).callFn([literalMap(definitionMapValues)]); - var type = createPipeType(metadata); - return { - expression: expression, - type: type - }; -} - -function createPipeType(metadata) { - return new ExpressionType(importExpr(Identifiers$1.PipeDefWithMeta, [typeWithParameters(metadata.type.type, metadata.typeArgumentCount), new ExpressionType(new LiteralExpr(metadata.pipeName))])); -} -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - -var ParserError = function ParserError(message, input, errLocation, ctxLocation) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, ParserError); - - this.input = input; - this.errLocation = errLocation; - this.ctxLocation = ctxLocation; - this.message = "Parser Error: ".concat(message, " ").concat(errLocation, " [").concat(input, "] in ").concat(ctxLocation); -}; - -var ParseSpan = /*#__PURE__*/function () { - function ParseSpan(start, end) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, ParseSpan); - - this.start = start; - this.end = end; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(ParseSpan, [{ - key: "toAbsolute", - value: function toAbsolute(absoluteOffset) { - return new AbsoluteSourceSpan(absoluteOffset + this.start, absoluteOffset + this.end); - } - }]); - - return ParseSpan; -}(); - -var AST = /*#__PURE__*/function () { - function AST(span, - /** - * Absolute location of the expression AST in a source code file. - */ - sourceSpan) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, AST); - - this.span = span; - this.sourceSpan = sourceSpan; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(AST, [{ - key: "visit", - value: function visit(visitor) { - var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; - return null; - } - }, { - key: "toString", - value: function toString() { - return 'AST'; - } - }]); - - return AST; -}(); - -var ASTWithName = /*#__PURE__*/function (_AST) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(ASTWithName, _AST); - - var _super54 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(ASTWithName); - - function ASTWithName(span, sourceSpan, nameSpan) { - var _this89; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, ASTWithName); - - _this89 = _super54.call(this, span, sourceSpan); - _this89.nameSpan = nameSpan; - return _this89; - } - - return ASTWithName; -}(AST); -/** - * Represents a quoted expression of the form: - * - * quote = prefix `:` uninterpretedExpression - * prefix = identifier - * uninterpretedExpression = arbitrary string - * - * A quoted expression is meant to be pre-processed by an AST transformer that - * converts it into another AST that no longer contains quoted expressions. - * It is meant to allow third-party developers to extend Angular template - * expression language. The `uninterpretedExpression` part of the quote is - * therefore not interpreted by the Angular's own expression parser. - */ - - -var Quote = /*#__PURE__*/function (_AST2) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(Quote, _AST2); - - var _super55 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(Quote); - - function Quote(span, sourceSpan, prefix, uninterpretedExpression, location) { - var _this90; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, Quote); - - _this90 = _super55.call(this, span, sourceSpan); - _this90.prefix = prefix; - _this90.uninterpretedExpression = uninterpretedExpression; - _this90.location = location; - return _this90; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(Quote, [{ - key: "visit", - value: function visit(visitor) { - var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; - return visitor.visitQuote(this, context); - } - }, { - key: "toString", - value: function toString() { - return 'Quote'; - } - }]); - - return Quote; -}(AST); - -var EmptyExpr = /*#__PURE__*/function (_AST3) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(EmptyExpr, _AST3); - - var _super56 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(EmptyExpr); - - function EmptyExpr() { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, EmptyExpr); - - return _super56.apply(this, arguments); - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(EmptyExpr, [{ - key: "visit", - value: function visit(visitor) {// do nothing - - var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; - } - }]); - - return EmptyExpr; -}(AST); - -var ImplicitReceiver = /*#__PURE__*/function (_AST4) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(ImplicitReceiver, _AST4); - - var _super57 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(ImplicitReceiver); - - function ImplicitReceiver() { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, ImplicitReceiver); - - return _super57.apply(this, arguments); - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(ImplicitReceiver, [{ - key: "visit", - value: function visit(visitor) { - var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; - return visitor.visitImplicitReceiver(this, context); - } - }]); - - return ImplicitReceiver; -}(AST); -/** - * Receiver when something is accessed through `this` (e.g. `this.foo`). Note that this class - * inherits from `ImplicitReceiver`, because accessing something through `this` is treated the - * same as accessing it implicitly inside of an Angular template (e.g. `[attr.title]="this.title"` - * is the same as `[attr.title]="title"`.). Inheriting allows for the `this` accesses to be treated - * the same as implicit ones, except for a couple of exceptions like `$event` and `$any`. - * TODO: we should find a way for this class not to extend from `ImplicitReceiver` in the future. - */ - - -var ThisReceiver = /*#__PURE__*/function (_ImplicitReceiver) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(ThisReceiver, _ImplicitReceiver); - - var _super58 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(ThisReceiver); - - function ThisReceiver() { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, ThisReceiver); - - return _super58.apply(this, arguments); - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(ThisReceiver, [{ - key: "visit", - value: function visit(visitor) { - var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; - - var _a; - - return (_a = visitor.visitThisReceiver) === null || _a === void 0 ? void 0 : _a.call(visitor, this, context); - } - }]); - - return ThisReceiver; -}(ImplicitReceiver); -/** - * Multiple expressions separated by a semicolon. - */ - - -var Chain = /*#__PURE__*/function (_AST5) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(Chain, _AST5); - - var _super59 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(Chain); - - function Chain(span, sourceSpan, expressions) { - var _this91; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, Chain); - - _this91 = _super59.call(this, span, sourceSpan); - _this91.expressions = expressions; - return _this91; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(Chain, [{ - key: "visit", - value: function visit(visitor) { - var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; - return visitor.visitChain(this, context); - } - }]); - - return Chain; -}(AST); - -var Conditional = /*#__PURE__*/function (_AST6) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(Conditional, _AST6); - - var _super60 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(Conditional); - - function Conditional(span, sourceSpan, condition, trueExp, falseExp) { - var _this92; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, Conditional); - - _this92 = _super60.call(this, span, sourceSpan); - _this92.condition = condition; - _this92.trueExp = trueExp; - _this92.falseExp = falseExp; - return _this92; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(Conditional, [{ - key: "visit", - value: function visit(visitor) { - var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; - return visitor.visitConditional(this, context); - } - }]); - - return Conditional; -}(AST); - -var PropertyRead = /*#__PURE__*/function (_ASTWithName) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(PropertyRead, _ASTWithName); - - var _super61 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(PropertyRead); - - function PropertyRead(span, sourceSpan, nameSpan, receiver, name) { - var _this93; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, PropertyRead); - - _this93 = _super61.call(this, span, sourceSpan, nameSpan); - _this93.receiver = receiver; - _this93.name = name; - return _this93; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(PropertyRead, [{ - key: "visit", - value: function visit(visitor) { - var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; - return visitor.visitPropertyRead(this, context); - } - }]); - - return PropertyRead; -}(ASTWithName); - -var PropertyWrite = /*#__PURE__*/function (_ASTWithName2) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(PropertyWrite, _ASTWithName2); - - var _super62 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(PropertyWrite); - - function PropertyWrite(span, sourceSpan, nameSpan, receiver, name, value) { - var _this94; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, PropertyWrite); - - _this94 = _super62.call(this, span, sourceSpan, nameSpan); - _this94.receiver = receiver; - _this94.name = name; - _this94.value = value; - return _this94; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(PropertyWrite, [{ - key: "visit", - value: function visit(visitor) { - var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; - return visitor.visitPropertyWrite(this, context); - } - }]); - - return PropertyWrite; -}(ASTWithName); - -var SafePropertyRead = /*#__PURE__*/function (_ASTWithName3) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(SafePropertyRead, _ASTWithName3); - - var _super63 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(SafePropertyRead); - - function SafePropertyRead(span, sourceSpan, nameSpan, receiver, name) { - var _this95; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, SafePropertyRead); - - _this95 = _super63.call(this, span, sourceSpan, nameSpan); - _this95.receiver = receiver; - _this95.name = name; - return _this95; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(SafePropertyRead, [{ - key: "visit", - value: function visit(visitor) { - var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; - return visitor.visitSafePropertyRead(this, context); - } - }]); - - return SafePropertyRead; -}(ASTWithName); - -var KeyedRead = /*#__PURE__*/function (_AST7) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(KeyedRead, _AST7); - - var _super64 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(KeyedRead); - - function KeyedRead(span, sourceSpan, obj, key) { - var _this96; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, KeyedRead); - - _this96 = _super64.call(this, span, sourceSpan); - _this96.obj = obj; - _this96.key = key; - return _this96; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(KeyedRead, [{ - key: "visit", - value: function visit(visitor) { - var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; - return visitor.visitKeyedRead(this, context); - } - }]); - - return KeyedRead; -}(AST); - -var KeyedWrite = /*#__PURE__*/function (_AST8) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(KeyedWrite, _AST8); - - var _super65 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(KeyedWrite); - - function KeyedWrite(span, sourceSpan, obj, key, value) { - var _this97; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, KeyedWrite); - - _this97 = _super65.call(this, span, sourceSpan); - _this97.obj = obj; - _this97.key = key; - _this97.value = value; - return _this97; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(KeyedWrite, [{ - key: "visit", - value: function visit(visitor) { - var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; - return visitor.visitKeyedWrite(this, context); - } - }]); - - return KeyedWrite; -}(AST); - -var BindingPipe = /*#__PURE__*/function (_ASTWithName4) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(BindingPipe, _ASTWithName4); - - var _super66 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(BindingPipe); - - function BindingPipe(span, sourceSpan, exp, name, args, nameSpan) { - var _this98; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, BindingPipe); - - _this98 = _super66.call(this, span, sourceSpan, nameSpan); - _this98.exp = exp; - _this98.name = name; - _this98.args = args; - return _this98; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(BindingPipe, [{ - key: "visit", - value: function visit(visitor) { - var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; - return visitor.visitPipe(this, context); - } - }]); - - return BindingPipe; -}(ASTWithName); - -var LiteralPrimitive = /*#__PURE__*/function (_AST9) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(LiteralPrimitive, _AST9); - - var _super67 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(LiteralPrimitive); - - function LiteralPrimitive(span, sourceSpan, value) { - var _this99; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, LiteralPrimitive); - - _this99 = _super67.call(this, span, sourceSpan); - _this99.value = value; - return _this99; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(LiteralPrimitive, [{ - key: "visit", - value: function visit(visitor) { - var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; - return visitor.visitLiteralPrimitive(this, context); - } - }]); - - return LiteralPrimitive; -}(AST); - -var LiteralArray = /*#__PURE__*/function (_AST10) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(LiteralArray, _AST10); - - var _super68 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(LiteralArray); - - function LiteralArray(span, sourceSpan, expressions) { - var _this100; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, LiteralArray); - - _this100 = _super68.call(this, span, sourceSpan); - _this100.expressions = expressions; - return _this100; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(LiteralArray, [{ - key: "visit", - value: function visit(visitor) { - var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; - return visitor.visitLiteralArray(this, context); - } - }]); - - return LiteralArray; -}(AST); - -var LiteralMap = /*#__PURE__*/function (_AST11) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(LiteralMap, _AST11); - - var _super69 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(LiteralMap); - - function LiteralMap(span, sourceSpan, keys, values) { - var _this101; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, LiteralMap); - - _this101 = _super69.call(this, span, sourceSpan); - _this101.keys = keys; - _this101.values = values; - return _this101; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(LiteralMap, [{ - key: "visit", - value: function visit(visitor) { - var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; - return visitor.visitLiteralMap(this, context); - } - }]); - - return LiteralMap; -}(AST); - -var Interpolation = /*#__PURE__*/function (_AST12) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(Interpolation, _AST12); - - var _super70 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(Interpolation); - - function Interpolation(span, sourceSpan, strings, expressions) { - var _this102; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, Interpolation); - - _this102 = _super70.call(this, span, sourceSpan); - _this102.strings = strings; - _this102.expressions = expressions; - return _this102; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(Interpolation, [{ - key: "visit", - value: function visit(visitor) { - var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; - return visitor.visitInterpolation(this, context); - } - }]); - - return Interpolation; -}(AST); - -var Binary = /*#__PURE__*/function (_AST13) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(Binary, _AST13); - - var _super71 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(Binary); - - function Binary(span, sourceSpan, operation, left, right) { - var _this103; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, Binary); - - _this103 = _super71.call(this, span, sourceSpan); - _this103.operation = operation; - _this103.left = left; - _this103.right = right; - return _this103; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(Binary, [{ - key: "visit", - value: function visit(visitor) { - var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; - return visitor.visitBinary(this, context); - } - }]); - - return Binary; -}(AST); -/** - * For backwards compatibility reasons, `Unary` inherits from `Binary` and mimics the binary AST - * node that was originally used. This inheritance relation can be deleted in some future major, - * after consumers have been given a chance to fully support Unary. - */ - - -var Unary = /*#__PURE__*/function (_Binary) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(Unary, _Binary); - - var _super72 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(Unary); - - /** - * During the deprecation period this constructor is private, to avoid consumers from creating - * a `Unary` with the fallback properties for `Binary`. - */ - function Unary(span, sourceSpan, operator, expr, binaryOp, binaryLeft, binaryRight) { - var _this104; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, Unary); - - _this104 = _super72.call(this, span, sourceSpan, binaryOp, binaryLeft, binaryRight); - _this104.operator = operator; - _this104.expr = expr; - return _this104; - } - /** - * Creates a unary minus expression "-x", represented as `Binary` using "0 - x". - */ - - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(Unary, [{ - key: "visit", - value: function visit(visitor) { - var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; - - if (visitor.visitUnary !== undefined) { - return visitor.visitUnary(this, context); - } - - return visitor.visitBinary(this, context); - } - }], [{ - key: "createMinus", - value: function createMinus(span, sourceSpan, expr) { - return new Unary(span, sourceSpan, '-', expr, '-', new LiteralPrimitive(span, sourceSpan, 0), expr); - } - /** - * Creates a unary plus expression "+x", represented as `Binary` using "x - 0". - */ - - }, { - key: "createPlus", - value: function createPlus(span, sourceSpan, expr) { - return new Unary(span, sourceSpan, '+', expr, '-', expr, new LiteralPrimitive(span, sourceSpan, 0)); - } - }]); - - return Unary; -}(Binary); - -var PrefixNot = /*#__PURE__*/function (_AST14) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(PrefixNot, _AST14); - - var _super73 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(PrefixNot); - - function PrefixNot(span, sourceSpan, expression) { - var _this105; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, PrefixNot); - - _this105 = _super73.call(this, span, sourceSpan); - _this105.expression = expression; - return _this105; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(PrefixNot, [{ - key: "visit", - value: function visit(visitor) { - var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; - return visitor.visitPrefixNot(this, context); - } - }]); - - return PrefixNot; -}(AST); - -var NonNullAssert = /*#__PURE__*/function (_AST15) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(NonNullAssert, _AST15); - - var _super74 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(NonNullAssert); - - function NonNullAssert(span, sourceSpan, expression) { - var _this106; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, NonNullAssert); - - _this106 = _super74.call(this, span, sourceSpan); - _this106.expression = expression; - return _this106; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(NonNullAssert, [{ - key: "visit", - value: function visit(visitor) { - var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; - return visitor.visitNonNullAssert(this, context); - } - }]); - - return NonNullAssert; -}(AST); - -var MethodCall = /*#__PURE__*/function (_ASTWithName5) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(MethodCall, _ASTWithName5); - - var _super75 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(MethodCall); - - function MethodCall(span, sourceSpan, nameSpan, receiver, name, args) { - var _this107; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, MethodCall); - - _this107 = _super75.call(this, span, sourceSpan, nameSpan); - _this107.receiver = receiver; - _this107.name = name; - _this107.args = args; - return _this107; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(MethodCall, [{ - key: "visit", - value: function visit(visitor) { - var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; - return visitor.visitMethodCall(this, context); - } - }]); - - return MethodCall; -}(ASTWithName); - -var SafeMethodCall = /*#__PURE__*/function (_ASTWithName6) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(SafeMethodCall, _ASTWithName6); - - var _super76 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(SafeMethodCall); - - function SafeMethodCall(span, sourceSpan, nameSpan, receiver, name, args) { - var _this108; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, SafeMethodCall); - - _this108 = _super76.call(this, span, sourceSpan, nameSpan); - _this108.receiver = receiver; - _this108.name = name; - _this108.args = args; - return _this108; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(SafeMethodCall, [{ - key: "visit", - value: function visit(visitor) { - var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; - return visitor.visitSafeMethodCall(this, context); - } - }]); - - return SafeMethodCall; -}(ASTWithName); - -var FunctionCall = /*#__PURE__*/function (_AST16) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(FunctionCall, _AST16); - - var _super77 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(FunctionCall); - - function FunctionCall(span, sourceSpan, target, args) { - var _this109; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, FunctionCall); - - _this109 = _super77.call(this, span, sourceSpan); - _this109.target = target; - _this109.args = args; - return _this109; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(FunctionCall, [{ - key: "visit", - value: function visit(visitor) { - var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; - return visitor.visitFunctionCall(this, context); - } - }]); - - return FunctionCall; -}(AST); -/** - * Records the absolute position of a text span in a source file, where `start` and `end` are the - * starting and ending byte offsets, respectively, of the text span in a source file. - */ - - -var AbsoluteSourceSpan = function AbsoluteSourceSpan(start, end) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, AbsoluteSourceSpan); - - this.start = start; - this.end = end; -}; - -var ASTWithSource = /*#__PURE__*/function (_AST17) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(ASTWithSource, _AST17); - - var _super78 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(ASTWithSource); - - function ASTWithSource(ast, source, location, absoluteOffset, errors) { - var _this110; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, ASTWithSource); - - _this110 = _super78.call(this, new ParseSpan(0, source === null ? 0 : source.length), new AbsoluteSourceSpan(absoluteOffset, source === null ? absoluteOffset : absoluteOffset + source.length)); - _this110.ast = ast; - _this110.source = source; - _this110.location = location; - _this110.errors = errors; - return _this110; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(ASTWithSource, [{ - key: "visit", - value: function visit(visitor) { - var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; - - if (visitor.visitASTWithSource) { - return visitor.visitASTWithSource(this, context); - } - - return this.ast.visit(visitor, context); - } - }, { - key: "toString", - value: function toString() { - return "".concat(this.source, " in ").concat(this.location); - } - }]); - - return ASTWithSource; -}(AST); - -var VariableBinding = -/** - * @param sourceSpan entire span of the binding. - * @param key name of the LHS along with its span. - * @param value optional value for the RHS along with its span. - */ -function VariableBinding(sourceSpan, key, value) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, VariableBinding); - - this.sourceSpan = sourceSpan; - this.key = key; - this.value = value; -}; - -var ExpressionBinding = -/** - * @param sourceSpan entire span of the binding. - * @param key binding name, like ngForOf, ngForTrackBy, ngIf, along with its - * span. Note that the length of the span may not be the same as - * `key.source.length`. For example, - * 1. key.source = ngFor, key.span is for "ngFor" - * 2. key.source = ngForOf, key.span is for "of" - * 3. key.source = ngForTrackBy, key.span is for "trackBy" - * @param value optional expression for the RHS. - */ -function ExpressionBinding(sourceSpan, key, value) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, ExpressionBinding); - - this.sourceSpan = sourceSpan; - this.key = key; - this.value = value; -}; - -var RecursiveAstVisitor$1 = /*#__PURE__*/function () { - function RecursiveAstVisitor$1() { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, RecursiveAstVisitor$1); - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(RecursiveAstVisitor$1, [{ - key: "visit", - value: function visit(ast, context) { - // The default implementation just visits every node. - // Classes that extend RecursiveAstVisitor should override this function - // to selectively visit the specified node. - ast.visit(this, context); - } - }, { - key: "visitUnary", - value: function visitUnary(ast, context) { - this.visit(ast.expr, context); - } - }, { - key: "visitBinary", - value: function visitBinary(ast, context) { - this.visit(ast.left, context); - this.visit(ast.right, context); - } - }, { - key: "visitChain", - value: function visitChain(ast, context) { - this.visitAll(ast.expressions, context); - } - }, { - key: "visitConditional", - value: function visitConditional(ast, context) { - this.visit(ast.condition, context); - this.visit(ast.trueExp, context); - this.visit(ast.falseExp, context); - } - }, { - key: "visitPipe", - value: function visitPipe(ast, context) { - this.visit(ast.exp, context); - this.visitAll(ast.args, context); - } - }, { - key: "visitFunctionCall", - value: function visitFunctionCall(ast, context) { - if (ast.target) { - this.visit(ast.target, context); - } - - this.visitAll(ast.args, context); - } - }, { - key: "visitImplicitReceiver", - value: function visitImplicitReceiver(ast, context) {} - }, { - key: "visitThisReceiver", - value: function visitThisReceiver(ast, context) {} - }, { - key: "visitInterpolation", - value: function visitInterpolation(ast, context) { - this.visitAll(ast.expressions, context); - } - }, { - key: "visitKeyedRead", - value: function visitKeyedRead(ast, context) { - this.visit(ast.obj, context); - this.visit(ast.key, context); - } - }, { - key: "visitKeyedWrite", - value: function visitKeyedWrite(ast, context) { - this.visit(ast.obj, context); - this.visit(ast.key, context); - this.visit(ast.value, context); - } - }, { - key: "visitLiteralArray", - value: function visitLiteralArray(ast, context) { - this.visitAll(ast.expressions, context); - } - }, { - key: "visitLiteralMap", - value: function visitLiteralMap(ast, context) { - this.visitAll(ast.values, context); - } - }, { - key: "visitLiteralPrimitive", - value: function visitLiteralPrimitive(ast, context) {} - }, { - key: "visitMethodCall", - value: function visitMethodCall(ast, context) { - this.visit(ast.receiver, context); - this.visitAll(ast.args, context); - } - }, { - key: "visitPrefixNot", - value: function visitPrefixNot(ast, context) { - this.visit(ast.expression, context); - } - }, { - key: "visitNonNullAssert", - value: function visitNonNullAssert(ast, context) { - this.visit(ast.expression, context); - } - }, { - key: "visitPropertyRead", - value: function visitPropertyRead(ast, context) { - this.visit(ast.receiver, context); - } - }, { - key: "visitPropertyWrite", - value: function visitPropertyWrite(ast, context) { - this.visit(ast.receiver, context); - this.visit(ast.value, context); - } - }, { - key: "visitSafePropertyRead", - value: function visitSafePropertyRead(ast, context) { - this.visit(ast.receiver, context); - } - }, { - key: "visitSafeMethodCall", - value: function visitSafeMethodCall(ast, context) { - this.visit(ast.receiver, context); - this.visitAll(ast.args, context); - } - }, { - key: "visitQuote", - value: function visitQuote(ast, context) {} // This is not part of the AstVisitor interface, just a helper method - - }, { - key: "visitAll", - value: function visitAll(asts, context) { - var _iterator8 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createForOfIteratorHelper__WEBPACK_IMPORTED_MODULE_7__["default"])(asts), - _step8; - - try { - for (_iterator8.s(); !(_step8 = _iterator8.n()).done;) { - var ast = _step8.value; - this.visit(ast, context); - } - } catch (err) { - _iterator8.e(err); - } finally { - _iterator8.f(); - } - } - }]); - - return RecursiveAstVisitor$1; -}(); - -var AstTransformer$1 = /*#__PURE__*/function () { - function AstTransformer$1() { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, AstTransformer$1); - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(AstTransformer$1, [{ - key: "visitImplicitReceiver", - value: function visitImplicitReceiver(ast, context) { - return ast; - } - }, { - key: "visitThisReceiver", - value: function visitThisReceiver(ast, context) { - return ast; - } - }, { - key: "visitInterpolation", - value: function visitInterpolation(ast, context) { - return new Interpolation(ast.span, ast.sourceSpan, ast.strings, this.visitAll(ast.expressions)); - } - }, { - key: "visitLiteralPrimitive", - value: function visitLiteralPrimitive(ast, context) { - return new LiteralPrimitive(ast.span, ast.sourceSpan, ast.value); - } - }, { - key: "visitPropertyRead", - value: function visitPropertyRead(ast, context) { - return new PropertyRead(ast.span, ast.sourceSpan, ast.nameSpan, ast.receiver.visit(this), ast.name); - } - }, { - key: "visitPropertyWrite", - value: function visitPropertyWrite(ast, context) { - return new PropertyWrite(ast.span, ast.sourceSpan, ast.nameSpan, ast.receiver.visit(this), ast.name, ast.value.visit(this)); - } - }, { - key: "visitSafePropertyRead", - value: function visitSafePropertyRead(ast, context) { - return new SafePropertyRead(ast.span, ast.sourceSpan, ast.nameSpan, ast.receiver.visit(this), ast.name); - } - }, { - key: "visitMethodCall", - value: function visitMethodCall(ast, context) { - return new MethodCall(ast.span, ast.sourceSpan, ast.nameSpan, ast.receiver.visit(this), ast.name, this.visitAll(ast.args)); - } - }, { - key: "visitSafeMethodCall", - value: function visitSafeMethodCall(ast, context) { - return new SafeMethodCall(ast.span, ast.sourceSpan, ast.nameSpan, ast.receiver.visit(this), ast.name, this.visitAll(ast.args)); - } - }, { - key: "visitFunctionCall", - value: function visitFunctionCall(ast, context) { - return new FunctionCall(ast.span, ast.sourceSpan, ast.target.visit(this), this.visitAll(ast.args)); - } - }, { - key: "visitLiteralArray", - value: function visitLiteralArray(ast, context) { - return new LiteralArray(ast.span, ast.sourceSpan, this.visitAll(ast.expressions)); - } - }, { - key: "visitLiteralMap", - value: function visitLiteralMap(ast, context) { - return new LiteralMap(ast.span, ast.sourceSpan, ast.keys, this.visitAll(ast.values)); - } - }, { - key: "visitUnary", - value: function visitUnary(ast, context) { - switch (ast.operator) { - case '+': - return Unary.createPlus(ast.span, ast.sourceSpan, ast.expr.visit(this)); - - case '-': - return Unary.createMinus(ast.span, ast.sourceSpan, ast.expr.visit(this)); - - default: - throw new Error("Unknown unary operator ".concat(ast.operator)); - } - } - }, { - key: "visitBinary", - value: function visitBinary(ast, context) { - return new Binary(ast.span, ast.sourceSpan, ast.operation, ast.left.visit(this), ast.right.visit(this)); - } - }, { - key: "visitPrefixNot", - value: function visitPrefixNot(ast, context) { - return new PrefixNot(ast.span, ast.sourceSpan, ast.expression.visit(this)); - } - }, { - key: "visitNonNullAssert", - value: function visitNonNullAssert(ast, context) { - return new NonNullAssert(ast.span, ast.sourceSpan, ast.expression.visit(this)); - } - }, { - key: "visitConditional", - value: function visitConditional(ast, context) { - return new Conditional(ast.span, ast.sourceSpan, ast.condition.visit(this), ast.trueExp.visit(this), ast.falseExp.visit(this)); - } - }, { - key: "visitPipe", - value: function visitPipe(ast, context) { - return new BindingPipe(ast.span, ast.sourceSpan, ast.exp.visit(this), ast.name, this.visitAll(ast.args), ast.nameSpan); - } - }, { - key: "visitKeyedRead", - value: function visitKeyedRead(ast, context) { - return new KeyedRead(ast.span, ast.sourceSpan, ast.obj.visit(this), ast.key.visit(this)); - } - }, { - key: "visitKeyedWrite", - value: function visitKeyedWrite(ast, context) { - return new KeyedWrite(ast.span, ast.sourceSpan, ast.obj.visit(this), ast.key.visit(this), ast.value.visit(this)); - } - }, { - key: "visitAll", - value: function visitAll(asts) { - var res = []; - - for (var i = 0; i < asts.length; ++i) { - res[i] = asts[i].visit(this); - } - - return res; - } - }, { - key: "visitChain", - value: function visitChain(ast, context) { - return new Chain(ast.span, ast.sourceSpan, this.visitAll(ast.expressions)); - } - }, { - key: "visitQuote", - value: function visitQuote(ast, context) { - return new Quote(ast.span, ast.sourceSpan, ast.prefix, ast.uninterpretedExpression, ast.location); - } - }]); - - return AstTransformer$1; -}(); // A transformer that only creates new nodes if the transformer makes a change or -// a change is made a child node. - - -var AstMemoryEfficientTransformer = /*#__PURE__*/function () { - function AstMemoryEfficientTransformer() { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, AstMemoryEfficientTransformer); - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(AstMemoryEfficientTransformer, [{ - key: "visitImplicitReceiver", - value: function visitImplicitReceiver(ast, context) { - return ast; - } - }, { - key: "visitThisReceiver", - value: function visitThisReceiver(ast, context) { - return ast; - } - }, { - key: "visitInterpolation", - value: function visitInterpolation(ast, context) { - var expressions = this.visitAll(ast.expressions); - if (expressions !== ast.expressions) return new Interpolation(ast.span, ast.sourceSpan, ast.strings, expressions); - return ast; - } - }, { - key: "visitLiteralPrimitive", - value: function visitLiteralPrimitive(ast, context) { - return ast; - } - }, { - key: "visitPropertyRead", - value: function visitPropertyRead(ast, context) { - var receiver = ast.receiver.visit(this); - - if (receiver !== ast.receiver) { - return new PropertyRead(ast.span, ast.sourceSpan, ast.nameSpan, receiver, ast.name); - } - - return ast; - } - }, { - key: "visitPropertyWrite", - value: function visitPropertyWrite(ast, context) { - var receiver = ast.receiver.visit(this); - var value = ast.value.visit(this); - - if (receiver !== ast.receiver || value !== ast.value) { - return new PropertyWrite(ast.span, ast.sourceSpan, ast.nameSpan, receiver, ast.name, value); - } - - return ast; - } - }, { - key: "visitSafePropertyRead", - value: function visitSafePropertyRead(ast, context) { - var receiver = ast.receiver.visit(this); - - if (receiver !== ast.receiver) { - return new SafePropertyRead(ast.span, ast.sourceSpan, ast.nameSpan, receiver, ast.name); - } - - return ast; - } - }, { - key: "visitMethodCall", - value: function visitMethodCall(ast, context) { - var receiver = ast.receiver.visit(this); - var args = this.visitAll(ast.args); - - if (receiver !== ast.receiver || args !== ast.args) { - return new MethodCall(ast.span, ast.sourceSpan, ast.nameSpan, receiver, ast.name, args); - } - - return ast; - } - }, { - key: "visitSafeMethodCall", - value: function visitSafeMethodCall(ast, context) { - var receiver = ast.receiver.visit(this); - var args = this.visitAll(ast.args); - - if (receiver !== ast.receiver || args !== ast.args) { - return new SafeMethodCall(ast.span, ast.sourceSpan, ast.nameSpan, receiver, ast.name, args); - } - - return ast; - } - }, { - key: "visitFunctionCall", - value: function visitFunctionCall(ast, context) { - var target = ast.target && ast.target.visit(this); - var args = this.visitAll(ast.args); - - if (target !== ast.target || args !== ast.args) { - return new FunctionCall(ast.span, ast.sourceSpan, target, args); - } - - return ast; - } - }, { - key: "visitLiteralArray", - value: function visitLiteralArray(ast, context) { - var expressions = this.visitAll(ast.expressions); - - if (expressions !== ast.expressions) { - return new LiteralArray(ast.span, ast.sourceSpan, expressions); - } - - return ast; - } - }, { - key: "visitLiteralMap", - value: function visitLiteralMap(ast, context) { - var values = this.visitAll(ast.values); - - if (values !== ast.values) { - return new LiteralMap(ast.span, ast.sourceSpan, ast.keys, values); - } - - return ast; - } - }, { - key: "visitUnary", - value: function visitUnary(ast, context) { - var expr = ast.expr.visit(this); - - if (expr !== ast.expr) { - switch (ast.operator) { - case '+': - return Unary.createPlus(ast.span, ast.sourceSpan, expr); - - case '-': - return Unary.createMinus(ast.span, ast.sourceSpan, expr); - - default: - throw new Error("Unknown unary operator ".concat(ast.operator)); - } - } - - return ast; - } - }, { - key: "visitBinary", - value: function visitBinary(ast, context) { - var left = ast.left.visit(this); - var right = ast.right.visit(this); - - if (left !== ast.left || right !== ast.right) { - return new Binary(ast.span, ast.sourceSpan, ast.operation, left, right); - } - - return ast; - } - }, { - key: "visitPrefixNot", - value: function visitPrefixNot(ast, context) { - var expression = ast.expression.visit(this); - - if (expression !== ast.expression) { - return new PrefixNot(ast.span, ast.sourceSpan, expression); - } - - return ast; - } - }, { - key: "visitNonNullAssert", - value: function visitNonNullAssert(ast, context) { - var expression = ast.expression.visit(this); - - if (expression !== ast.expression) { - return new NonNullAssert(ast.span, ast.sourceSpan, expression); - } - - return ast; - } - }, { - key: "visitConditional", - value: function visitConditional(ast, context) { - var condition = ast.condition.visit(this); - var trueExp = ast.trueExp.visit(this); - var falseExp = ast.falseExp.visit(this); - - if (condition !== ast.condition || trueExp !== ast.trueExp || falseExp !== ast.falseExp) { - return new Conditional(ast.span, ast.sourceSpan, condition, trueExp, falseExp); - } - - return ast; - } - }, { - key: "visitPipe", - value: function visitPipe(ast, context) { - var exp = ast.exp.visit(this); - var args = this.visitAll(ast.args); - - if (exp !== ast.exp || args !== ast.args) { - return new BindingPipe(ast.span, ast.sourceSpan, exp, ast.name, args, ast.nameSpan); - } - - return ast; - } - }, { - key: "visitKeyedRead", - value: function visitKeyedRead(ast, context) { - var obj = ast.obj.visit(this); - var key = ast.key.visit(this); - - if (obj !== ast.obj || key !== ast.key) { - return new KeyedRead(ast.span, ast.sourceSpan, obj, key); - } - - return ast; - } - }, { - key: "visitKeyedWrite", - value: function visitKeyedWrite(ast, context) { - var obj = ast.obj.visit(this); - var key = ast.key.visit(this); - var value = ast.value.visit(this); - - if (obj !== ast.obj || key !== ast.key || value !== ast.value) { - return new KeyedWrite(ast.span, ast.sourceSpan, obj, key, value); - } - - return ast; - } - }, { - key: "visitAll", - value: function visitAll(asts) { - var res = []; - var modified = false; - - for (var i = 0; i < asts.length; ++i) { - var original = asts[i]; - var value = original.visit(this); - res[i] = value; - modified = modified || value !== original; - } - - return modified ? res : asts; - } - }, { - key: "visitChain", - value: function visitChain(ast, context) { - var expressions = this.visitAll(ast.expressions); - - if (expressions !== ast.expressions) { - return new Chain(ast.span, ast.sourceSpan, expressions); - } - - return ast; - } - }, { - key: "visitQuote", - value: function visitQuote(ast, context) { - return ast; - } - }]); - - return AstMemoryEfficientTransformer; -}(); // Bindings - - -var ParsedProperty = function ParsedProperty(name, expression, type, // TODO(FW-2095): `keySpan` should really be required but allows `undefined` so VE does -// not need to be updated. Make `keySpan` required when VE is removed. -sourceSpan, keySpan, valueSpan) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, ParsedProperty); - - this.name = name; - this.expression = expression; - this.type = type; - this.sourceSpan = sourceSpan; - this.keySpan = keySpan; - this.valueSpan = valueSpan; - this.isLiteral = this.type === ParsedPropertyType.LITERAL_ATTR; - this.isAnimation = this.type === ParsedPropertyType.ANIMATION; -}; - -var ParsedPropertyType; - -(function (ParsedPropertyType) { - ParsedPropertyType[ParsedPropertyType["DEFAULT"] = 0] = "DEFAULT"; - ParsedPropertyType[ParsedPropertyType["LITERAL_ATTR"] = 1] = "LITERAL_ATTR"; - ParsedPropertyType[ParsedPropertyType["ANIMATION"] = 2] = "ANIMATION"; -})(ParsedPropertyType || (ParsedPropertyType = {})); - -var ParsedEvent = // Regular events have a target -// Animation events have a phase -function ParsedEvent(name, targetOrPhase, type, handler, sourceSpan, // TODO(FW-2095): keySpan should be required but was made optional to avoid changing VE -handlerSpan, keySpan) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, ParsedEvent); - - this.name = name; - this.targetOrPhase = targetOrPhase; - this.type = type; - this.handler = handler; - this.sourceSpan = sourceSpan; - this.handlerSpan = handlerSpan; - this.keySpan = keySpan; -}; -/** - * ParsedVariable represents a variable declaration in a microsyntax expression. - */ - - -var ParsedVariable = function ParsedVariable(name, value, sourceSpan, keySpan, valueSpan) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, ParsedVariable); - - this.name = name; - this.value = value; - this.sourceSpan = sourceSpan; - this.keySpan = keySpan; - this.valueSpan = valueSpan; -}; - -var BoundElementProperty = function BoundElementProperty(name, type, securityContext, value, unit, sourceSpan, keySpan, valueSpan) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, BoundElementProperty); - - this.name = name; - this.type = type; - this.securityContext = securityContext; - this.value = value; - this.unit = unit; - this.sourceSpan = sourceSpan; - this.keySpan = keySpan; - this.valueSpan = valueSpan; -}; -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - -var EventHandlerVars = function EventHandlerVars() { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, EventHandlerVars); -}; - -EventHandlerVars.event = variable('$event'); - -var ConvertActionBindingResult = function ConvertActionBindingResult( -/** - * Render2 compatible statements, - */ -stmts, -/** - * Variable name used with render2 compatible statements. - */ -allowDefault) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, ConvertActionBindingResult); - - this.stmts = stmts; - this.allowDefault = allowDefault; - /** - * This is bit of a hack. It converts statements which render2 expects to statements which are - * expected by render3. - * - * Example: `
` will generate: - * - * Render3: - * ``` - * const pd_b:any = ((ctx.doSomething($event)) !== false); - * return pd_b; - * ``` - * - * but render2 expects: - * ``` - * return ctx.doSomething($event); - * ``` - */ - // TODO(misko): remove this hack once we no longer support ViewEngine. - - this.render3Stmts = stmts.map(function (statement) { - if (statement instanceof DeclareVarStmt && statement.name == allowDefault.name && statement.value instanceof BinaryOperatorExpr) { - var lhs = statement.value.lhs; - return new ReturnStatement(lhs.value); - } - - return statement; - }); -}; -/** - * Converts the given expression AST into an executable output AST, assuming the expression is - * used in an action binding (e.g. an event handler). - */ - - -function convertActionBinding(localResolver, implicitReceiver, action, bindingId, interpolationFunction, baseSourceSpan, implicitReceiverAccesses, globals) { - if (!localResolver) { - localResolver = new DefaultLocalResolver(globals); - } - - var actionWithoutBuiltins = convertPropertyBindingBuiltins({ - createLiteralArrayConverter: function createLiteralArrayConverter(argCount) { - // Note: no caching for literal arrays in actions. - return function (args) { - return literalArr(args); - }; - }, - createLiteralMapConverter: function createLiteralMapConverter(keys) { - // Note: no caching for literal maps in actions. - return function (values) { - var entries = keys.map(function (k, i) { - return { - key: k.key, - value: values[i], - quoted: k.quoted - }; - }); - return literalMap(entries); - }; - }, - createPipeConverter: function createPipeConverter(name) { - throw new Error("Illegal State: Actions are not allowed to contain pipes. Pipe: ".concat(name)); - } - }, action); - var visitor = new _AstToIrVisitor(localResolver, implicitReceiver, bindingId, interpolationFunction, baseSourceSpan, implicitReceiverAccesses); - var actionStmts = []; - flattenStatements(actionWithoutBuiltins.visit(visitor, _Mode.Statement), actionStmts); - prependTemporaryDecls(visitor.temporaryCount, bindingId, actionStmts); - - if (visitor.usesImplicitReceiver) { - localResolver.notifyImplicitReceiverUse(); - } - - var lastIndex = actionStmts.length - 1; - var preventDefaultVar = null; - - if (lastIndex >= 0) { - var lastStatement = actionStmts[lastIndex]; - var returnExpr = convertStmtIntoExpression(lastStatement); - - if (returnExpr) { - // Note: We need to cast the result of the method call to dynamic, - // as it might be a void method! - preventDefaultVar = createPreventDefaultVar(bindingId); - actionStmts[lastIndex] = preventDefaultVar.set(returnExpr.cast(DYNAMIC_TYPE).notIdentical(literal(false))).toDeclStmt(null, [StmtModifier.Final]); - } - } - - return new ConvertActionBindingResult(actionStmts, preventDefaultVar); -} - -function convertPropertyBindingBuiltins(converterFactory, ast) { - return convertBuiltins(converterFactory, ast); -} - -var ConvertPropertyBindingResult = function ConvertPropertyBindingResult(stmts, currValExpr) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, ConvertPropertyBindingResult); - - this.stmts = stmts; - this.currValExpr = currValExpr; -}; - -var BindingForm; - -(function (BindingForm) { - // The general form of binding expression, supports all expressions. - BindingForm[BindingForm["General"] = 0] = "General"; // Try to generate a simple binding (no temporaries or statements) - // otherwise generate a general binding - - BindingForm[BindingForm["TrySimple"] = 1] = "TrySimple"; // Inlines assignment of temporaries into the generated expression. The result may still - // have statements attached for declarations of temporary variables. - // This is the only relevant form for Ivy, the other forms are only used in ViewEngine. - - BindingForm[BindingForm["Expression"] = 2] = "Expression"; -})(BindingForm || (BindingForm = {})); -/** - * Converts the given expression AST into an executable output AST, assuming the expression - * is used in property binding. The expression has to be preprocessed via - * `convertPropertyBindingBuiltins`. - */ - - -function _convertPropertyBinding(localResolver, implicitReceiver, expressionWithoutBuiltins, bindingId, form, interpolationFunction) { - if (!localResolver) { - localResolver = new DefaultLocalResolver(); - } - - var visitor = new _AstToIrVisitor(localResolver, implicitReceiver, bindingId, interpolationFunction); - var outputExpr = expressionWithoutBuiltins.visit(visitor, _Mode.Expression); - var stmts = getStatementsFromVisitor(visitor, bindingId); - - if (visitor.usesImplicitReceiver) { - localResolver.notifyImplicitReceiverUse(); - } - - if (visitor.temporaryCount === 0 && form == BindingForm.TrySimple) { - return new ConvertPropertyBindingResult([], outputExpr); - } else if (form === BindingForm.Expression) { - return new ConvertPropertyBindingResult(stmts, outputExpr); - } - - var currValExpr = createCurrValueExpr(bindingId); - stmts.push(currValExpr.set(outputExpr).toDeclStmt(DYNAMIC_TYPE, [StmtModifier.Final])); - return new ConvertPropertyBindingResult(stmts, currValExpr); -} -/** - * Given some expression, such as a binding or interpolation expression, and a context expression to - * look values up on, visit each facet of the given expression resolving values from the context - * expression such that a list of arguments can be derived from the found values that can be used as - * arguments to an external update instruction. - * - * @param localResolver The resolver to use to look up expressions by name appropriately - * @param contextVariableExpression The expression representing the context variable used to create - * the final argument expressions - * @param expressionWithArgumentsToExtract The expression to visit to figure out what values need to - * be resolved and what arguments list to build. - * @param bindingId A name prefix used to create temporary variable names if they're needed for the - * arguments generated - * @returns An array of expressions that can be passed as arguments to instruction expressions like - * `o.importExpr(R3.propertyInterpolate).callFn(result)` - */ - - -function convertUpdateArguments(localResolver, contextVariableExpression, expressionWithArgumentsToExtract, bindingId) { - var visitor = new _AstToIrVisitor(localResolver, contextVariableExpression, bindingId, undefined); - var outputExpr = expressionWithArgumentsToExtract.visit(visitor, _Mode.Expression); - - if (visitor.usesImplicitReceiver) { - localResolver.notifyImplicitReceiverUse(); - } - - var stmts = getStatementsFromVisitor(visitor, bindingId); // Removing the first argument, because it was a length for ViewEngine, not Ivy. - - var args = outputExpr.args.slice(1); - - if (expressionWithArgumentsToExtract instanceof Interpolation) { - // If we're dealing with an interpolation of 1 value with an empty prefix and suffix, reduce the - // args returned to just the value, because we're going to pass it to a special instruction. - var strings = expressionWithArgumentsToExtract.strings; - - if (args.length === 3 && strings[0] === '' && strings[1] === '') { - // Single argument interpolate instructions. - args = [args[1]]; - } else if (args.length >= 19) { - // 19 or more arguments must be passed to the `interpolateV`-style instructions, which accept - // an array of arguments - args = [literalArr(args)]; - } - } - - return { - stmts: stmts, - args: args - }; -} - -function getStatementsFromVisitor(visitor, bindingId) { - var stmts = []; - - for (var i = 0; i < visitor.temporaryCount; i++) { - stmts.push(temporaryDeclaration(bindingId, i)); - } - - return stmts; -} - -function convertBuiltins(converterFactory, ast) { - var visitor = new _BuiltinAstConverter(converterFactory); - return ast.visit(visitor); -} - -function temporaryName(bindingId, temporaryNumber) { - return "tmp_".concat(bindingId, "_").concat(temporaryNumber); -} - -function temporaryDeclaration(bindingId, temporaryNumber) { - return new DeclareVarStmt(temporaryName(bindingId, temporaryNumber), NULL_EXPR); -} - -function prependTemporaryDecls(temporaryCount, bindingId, statements) { - for (var i = temporaryCount - 1; i >= 0; i--) { - statements.unshift(temporaryDeclaration(bindingId, i)); - } -} - -var _Mode; - -(function (_Mode) { - _Mode[_Mode["Statement"] = 0] = "Statement"; - _Mode[_Mode["Expression"] = 1] = "Expression"; -})(_Mode || (_Mode = {})); - -function ensureStatementMode(mode, ast) { - if (mode !== _Mode.Statement) { - throw new Error("Expected a statement, but saw ".concat(ast)); - } -} - -function ensureExpressionMode(mode, ast) { - if (mode !== _Mode.Expression) { - throw new Error("Expected an expression, but saw ".concat(ast)); - } -} - -function convertToStatementIfNeeded(mode, expr) { - if (mode === _Mode.Statement) { - return expr.toStmt(); - } else { - return expr; - } -} - -var _BuiltinAstConverter = /*#__PURE__*/function (_AstTransformer$) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(_BuiltinAstConverter, _AstTransformer$); - - var _super79 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(_BuiltinAstConverter); - - function _BuiltinAstConverter(_converterFactory) { - var _this111; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, _BuiltinAstConverter); - - _this111 = _super79.call(this); - _this111._converterFactory = _converterFactory; - return _this111; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(_BuiltinAstConverter, [{ - key: "visitPipe", - value: function visitPipe(ast, context) { - var _this112 = this; - - var args = [ast.exp].concat(Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_12__["default"])(ast.args)).map(function (ast) { - return ast.visit(_this112, context); - }); - return new BuiltinFunctionCall(ast.span, ast.sourceSpan, args, this._converterFactory.createPipeConverter(ast.name, args.length)); - } - }, { - key: "visitLiteralArray", - value: function visitLiteralArray(ast, context) { - var _this113 = this; - - var args = ast.expressions.map(function (ast) { - return ast.visit(_this113, context); - }); - return new BuiltinFunctionCall(ast.span, ast.sourceSpan, args, this._converterFactory.createLiteralArrayConverter(ast.expressions.length)); - } - }, { - key: "visitLiteralMap", - value: function visitLiteralMap(ast, context) { - var _this114 = this; - - var args = ast.values.map(function (ast) { - return ast.visit(_this114, context); - }); - return new BuiltinFunctionCall(ast.span, ast.sourceSpan, args, this._converterFactory.createLiteralMapConverter(ast.keys)); - } - }]); - - return _BuiltinAstConverter; -}(AstTransformer$1); - -var _AstToIrVisitor = /*#__PURE__*/function () { - function _AstToIrVisitor(_localResolver, _implicitReceiver, bindingId, interpolationFunction, baseSourceSpan, implicitReceiverAccesses) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, _AstToIrVisitor); - - this._localResolver = _localResolver; - this._implicitReceiver = _implicitReceiver; - this.bindingId = bindingId; - this.interpolationFunction = interpolationFunction; - this.baseSourceSpan = baseSourceSpan; - this.implicitReceiverAccesses = implicitReceiverAccesses; - this._nodeMap = new Map(); - this._resultMap = new Map(); - this._currentTemporary = 0; - this.temporaryCount = 0; - this.usesImplicitReceiver = false; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(_AstToIrVisitor, [{ - key: "visitUnary", - value: function visitUnary(ast, mode) { - var op; - - switch (ast.operator) { - case '+': - op = UnaryOperator.Plus; - break; - - case '-': - op = UnaryOperator.Minus; - break; - - default: - throw new Error("Unsupported operator ".concat(ast.operator)); - } - - return convertToStatementIfNeeded(mode, new UnaryOperatorExpr(op, this._visit(ast.expr, _Mode.Expression), undefined, this.convertSourceSpan(ast.span))); - } - }, { - key: "visitBinary", - value: function visitBinary(ast, mode) { - var op; - - switch (ast.operation) { - case '+': - op = BinaryOperator.Plus; - break; - - case '-': - op = BinaryOperator.Minus; - break; - - case '*': - op = BinaryOperator.Multiply; - break; - - case '/': - op = BinaryOperator.Divide; - break; - - case '%': - op = BinaryOperator.Modulo; - break; - - case '&&': - op = BinaryOperator.And; - break; - - case '||': - op = BinaryOperator.Or; - break; - - case '==': - op = BinaryOperator.Equals; - break; - - case '!=': - op = BinaryOperator.NotEquals; - break; - - case '===': - op = BinaryOperator.Identical; - break; - - case '!==': - op = BinaryOperator.NotIdentical; - break; - - case '<': - op = BinaryOperator.Lower; - break; - - case '>': - op = BinaryOperator.Bigger; - break; - - case '<=': - op = BinaryOperator.LowerEquals; - break; - - case '>=': - op = BinaryOperator.BiggerEquals; - break; - - default: - throw new Error("Unsupported operation ".concat(ast.operation)); - } - - return convertToStatementIfNeeded(mode, new BinaryOperatorExpr(op, this._visit(ast.left, _Mode.Expression), this._visit(ast.right, _Mode.Expression), undefined, this.convertSourceSpan(ast.span))); - } - }, { - key: "visitChain", - value: function visitChain(ast, mode) { - ensureStatementMode(mode, ast); - return this.visitAll(ast.expressions, mode); - } - }, { - key: "visitConditional", - value: function visitConditional(ast, mode) { - var value = this._visit(ast.condition, _Mode.Expression); - - return convertToStatementIfNeeded(mode, value.conditional(this._visit(ast.trueExp, _Mode.Expression), this._visit(ast.falseExp, _Mode.Expression), this.convertSourceSpan(ast.span))); - } - }, { - key: "visitPipe", - value: function visitPipe(ast, mode) { - throw new Error("Illegal state: Pipes should have been converted into functions. Pipe: ".concat(ast.name)); - } - }, { - key: "visitFunctionCall", - value: function visitFunctionCall(ast, mode) { - var convertedArgs = this.visitAll(ast.args, _Mode.Expression); - var fnResult; - - if (ast instanceof BuiltinFunctionCall) { - fnResult = ast.converter(convertedArgs); - } else { - fnResult = this._visit(ast.target, _Mode.Expression).callFn(convertedArgs, this.convertSourceSpan(ast.span)); - } - - return convertToStatementIfNeeded(mode, fnResult); - } - }, { - key: "visitImplicitReceiver", - value: function visitImplicitReceiver(ast, mode) { - ensureExpressionMode(mode, ast); - this.usesImplicitReceiver = true; - return this._implicitReceiver; - } - }, { - key: "visitThisReceiver", - value: function visitThisReceiver(ast, mode) { - return this.visitImplicitReceiver(ast, mode); - } - }, { - key: "visitInterpolation", - value: function visitInterpolation(ast, mode) { - ensureExpressionMode(mode, ast); - var args = [literal(ast.expressions.length)]; - - for (var i = 0; i < ast.strings.length - 1; i++) { - args.push(literal(ast.strings[i])); - args.push(this._visit(ast.expressions[i], _Mode.Expression)); - } - - args.push(literal(ast.strings[ast.strings.length - 1])); - - if (this.interpolationFunction) { - return this.interpolationFunction(args); - } - - return ast.expressions.length <= 9 ? importExpr(Identifiers.inlineInterpolate).callFn(args) : importExpr(Identifiers.interpolate).callFn([args[0], literalArr(args.slice(1), undefined, this.convertSourceSpan(ast.span))]); - } - }, { - key: "visitKeyedRead", - value: function visitKeyedRead(ast, mode) { - var leftMostSafe = this.leftMostSafeNode(ast); - - if (leftMostSafe) { - return this.convertSafeAccess(ast, leftMostSafe, mode); - } else { - return convertToStatementIfNeeded(mode, this._visit(ast.obj, _Mode.Expression).key(this._visit(ast.key, _Mode.Expression))); - } - } - }, { - key: "visitKeyedWrite", - value: function visitKeyedWrite(ast, mode) { - var obj = this._visit(ast.obj, _Mode.Expression); - - var key = this._visit(ast.key, _Mode.Expression); - - var value = this._visit(ast.value, _Mode.Expression); - - return convertToStatementIfNeeded(mode, obj.key(key).set(value)); - } - }, { - key: "visitLiteralArray", - value: function visitLiteralArray(ast, mode) { - throw new Error("Illegal State: literal arrays should have been converted into functions"); - } - }, { - key: "visitLiteralMap", - value: function visitLiteralMap(ast, mode) { - throw new Error("Illegal State: literal maps should have been converted into functions"); - } - }, { - key: "visitLiteralPrimitive", - value: function visitLiteralPrimitive(ast, mode) { - // For literal values of null, undefined, true, or false allow type interference - // to infer the type. - var type = ast.value === null || ast.value === undefined || ast.value === true || ast.value === true ? INFERRED_TYPE : undefined; - return convertToStatementIfNeeded(mode, literal(ast.value, type, this.convertSourceSpan(ast.span))); - } - }, { - key: "_getLocal", - value: function _getLocal(name, receiver) { - var _a; - - if (((_a = this._localResolver.globals) === null || _a === void 0 ? void 0 : _a.has(name)) && receiver instanceof ThisReceiver) { - return null; - } - - return this._localResolver.getLocal(name); - } - }, { - key: "visitMethodCall", - value: function visitMethodCall(ast, mode) { - if (ast.receiver instanceof ImplicitReceiver && !(ast.receiver instanceof ThisReceiver) && ast.name === '$any') { - var args = this.visitAll(ast.args, _Mode.Expression); - - if (args.length != 1) { - throw new Error("Invalid call to $any, expected 1 argument but received ".concat(args.length || 'none')); - } - - return args[0].cast(DYNAMIC_TYPE, this.convertSourceSpan(ast.span)); - } - - var leftMostSafe = this.leftMostSafeNode(ast); - - if (leftMostSafe) { - return this.convertSafeAccess(ast, leftMostSafe, mode); - } else { - var _args = this.visitAll(ast.args, _Mode.Expression); - - var prevUsesImplicitReceiver = this.usesImplicitReceiver; - var result = null; - - var receiver = this._visit(ast.receiver, _Mode.Expression); - - if (receiver === this._implicitReceiver) { - var varExpr = this._getLocal(ast.name, ast.receiver); - - if (varExpr) { - // Restore the previous "usesImplicitReceiver" state since the implicit - // receiver has been replaced with a resolved local expression. - this.usesImplicitReceiver = prevUsesImplicitReceiver; - result = varExpr.callFn(_args); - this.addImplicitReceiverAccess(ast.name); - } - } - - if (result == null) { - result = receiver.callMethod(ast.name, _args, this.convertSourceSpan(ast.span)); - } - - return convertToStatementIfNeeded(mode, result); - } - } - }, { - key: "visitPrefixNot", - value: function visitPrefixNot(ast, mode) { - return convertToStatementIfNeeded(mode, not(this._visit(ast.expression, _Mode.Expression))); - } - }, { - key: "visitNonNullAssert", - value: function visitNonNullAssert(ast, mode) { - return convertToStatementIfNeeded(mode, assertNotNull(this._visit(ast.expression, _Mode.Expression))); - } - }, { - key: "visitPropertyRead", - value: function visitPropertyRead(ast, mode) { - var leftMostSafe = this.leftMostSafeNode(ast); - - if (leftMostSafe) { - return this.convertSafeAccess(ast, leftMostSafe, mode); - } else { - var result = null; - var prevUsesImplicitReceiver = this.usesImplicitReceiver; - - var receiver = this._visit(ast.receiver, _Mode.Expression); - - if (receiver === this._implicitReceiver) { - result = this._getLocal(ast.name, ast.receiver); - - if (result) { - // Restore the previous "usesImplicitReceiver" state since the implicit - // receiver has been replaced with a resolved local expression. - this.usesImplicitReceiver = prevUsesImplicitReceiver; - this.addImplicitReceiverAccess(ast.name); - } - } - - if (result == null) { - result = receiver.prop(ast.name); - } - - return convertToStatementIfNeeded(mode, result); - } - } - }, { - key: "visitPropertyWrite", - value: function visitPropertyWrite(ast, mode) { - var receiver = this._visit(ast.receiver, _Mode.Expression); - - var prevUsesImplicitReceiver = this.usesImplicitReceiver; - var varExpr = null; - - if (receiver === this._implicitReceiver) { - var localExpr = this._getLocal(ast.name, ast.receiver); - - if (localExpr) { - if (localExpr instanceof ReadPropExpr) { - // If the local variable is a property read expression, it's a reference - // to a 'context.property' value and will be used as the target of the - // write expression. - varExpr = localExpr; // Restore the previous "usesImplicitReceiver" state since the implicit - // receiver has been replaced with a resolved local expression. - - this.usesImplicitReceiver = prevUsesImplicitReceiver; - this.addImplicitReceiverAccess(ast.name); - } else { - // Otherwise it's an error. - var _receiver = ast.name; - var value = ast.value instanceof PropertyRead ? ast.value.name : undefined; - throw new Error("Cannot assign value \"".concat(value, "\" to template variable \"").concat(_receiver, "\". Template variables are read-only.")); - } - } - } // If no local expression could be produced, use the original receiver's - // property as the target. - - - if (varExpr === null) { - varExpr = receiver.prop(ast.name); - } - - return convertToStatementIfNeeded(mode, varExpr.set(this._visit(ast.value, _Mode.Expression))); - } - }, { - key: "visitSafePropertyRead", - value: function visitSafePropertyRead(ast, mode) { - return this.convertSafeAccess(ast, this.leftMostSafeNode(ast), mode); - } - }, { - key: "visitSafeMethodCall", - value: function visitSafeMethodCall(ast, mode) { - return this.convertSafeAccess(ast, this.leftMostSafeNode(ast), mode); - } - }, { - key: "visitAll", - value: function visitAll(asts, mode) { - var _this115 = this; - - return asts.map(function (ast) { - return _this115._visit(ast, mode); - }); - } - }, { - key: "visitQuote", - value: function visitQuote(ast, mode) { - throw new Error("Quotes are not supported for evaluation!\n Statement: ".concat(ast.uninterpretedExpression, " located at ").concat(ast.location)); - } - }, { - key: "_visit", - value: function _visit(ast, mode) { - var result = this._resultMap.get(ast); - - if (result) return result; - return (this._nodeMap.get(ast) || ast).visit(this, mode); - } - }, { - key: "convertSafeAccess", - value: function convertSafeAccess(ast, leftMostSafe, mode) { - // If the expression contains a safe access node on the left it needs to be converted to - // an expression that guards the access to the member by checking the receiver for blank. As - // execution proceeds from left to right, the left most part of the expression must be guarded - // first but, because member access is left associative, the right side of the expression is at - // the top of the AST. The desired result requires lifting a copy of the left part of the - // expression up to test it for blank before generating the unguarded version. - // Consider, for example the following expression: a?.b.c?.d.e - // This results in the ast: - // . - // / \ - // ?. e - // / \ - // . d - // / \ - // ?. c - // / \ - // a b - // The following tree should be generated: - // - // /---- ? ----\ - // / | \ - // a /--- ? ---\ null - // / | \ - // . . null - // / \ / \ - // . c . e - // / \ / \ - // a b . d - // / \ - // . c - // / \ - // a b - // - // Notice that the first guard condition is the left hand of the left most safe access node - // which comes in as leftMostSafe to this routine. - var guardedExpression = this._visit(leftMostSafe.receiver, _Mode.Expression); - - var temporary = undefined; - - if (this.needsTemporary(leftMostSafe.receiver)) { - // If the expression has method calls or pipes then we need to save the result into a - // temporary variable to avoid calling stateful or impure code more than once. - temporary = this.allocateTemporary(); // Preserve the result in the temporary variable - - guardedExpression = temporary.set(guardedExpression); // Ensure all further references to the guarded expression refer to the temporary instead. - - this._resultMap.set(leftMostSafe.receiver, temporary); - } - - var condition = guardedExpression.isBlank(); // Convert the ast to an unguarded access to the receiver's member. The map will substitute - // leftMostNode with its unguarded version in the call to `this.visit()`. - - if (leftMostSafe instanceof SafeMethodCall) { - this._nodeMap.set(leftMostSafe, new MethodCall(leftMostSafe.span, leftMostSafe.sourceSpan, leftMostSafe.nameSpan, leftMostSafe.receiver, leftMostSafe.name, leftMostSafe.args)); - } else { - this._nodeMap.set(leftMostSafe, new PropertyRead(leftMostSafe.span, leftMostSafe.sourceSpan, leftMostSafe.nameSpan, leftMostSafe.receiver, leftMostSafe.name)); - } // Recursively convert the node now without the guarded member access. - - - var access = this._visit(ast, _Mode.Expression); // Remove the mapping. This is not strictly required as the converter only traverses each node - // once but is safer if the conversion is changed to traverse the nodes more than once. - - - this._nodeMap.delete(leftMostSafe); // If we allocated a temporary, release it. - - - if (temporary) { - this.releaseTemporary(temporary); - } // Produce the conditional - - - return convertToStatementIfNeeded(mode, condition.conditional(literal(null), access)); - } // Given an expression of the form a?.b.c?.d.e then the left most safe node is - // the (a?.b). The . and ?. are left associative thus can be rewritten as: - // ((((a?.c).b).c)?.d).e. This returns the most deeply nested safe read or - // safe method call as this needs to be transformed initially to: - // a == null ? null : a.c.b.c?.d.e - // then to: - // a == null ? null : a.b.c == null ? null : a.b.c.d.e - - }, { - key: "leftMostSafeNode", - value: function leftMostSafeNode(ast) { - var _this116 = this; - - var visit = function visit(visitor, ast) { - return (_this116._nodeMap.get(ast) || ast).visit(visitor); - }; - - return ast.visit({ - visitUnary: function visitUnary(ast) { - return null; - }, - visitBinary: function visitBinary(ast) { - return null; - }, - visitChain: function visitChain(ast) { - return null; - }, - visitConditional: function visitConditional(ast) { - return null; - }, - visitFunctionCall: function visitFunctionCall(ast) { - return null; - }, - visitImplicitReceiver: function visitImplicitReceiver(ast) { - return null; - }, - visitThisReceiver: function visitThisReceiver(ast) { - return null; - }, - visitInterpolation: function visitInterpolation(ast) { - return null; - }, - visitKeyedRead: function visitKeyedRead(ast) { - return visit(this, ast.obj); - }, - visitKeyedWrite: function visitKeyedWrite(ast) { - return null; - }, - visitLiteralArray: function visitLiteralArray(ast) { - return null; - }, - visitLiteralMap: function visitLiteralMap(ast) { - return null; - }, - visitLiteralPrimitive: function visitLiteralPrimitive(ast) { - return null; - }, - visitMethodCall: function visitMethodCall(ast) { - return visit(this, ast.receiver); - }, - visitPipe: function visitPipe(ast) { - return null; - }, - visitPrefixNot: function visitPrefixNot(ast) { - return null; - }, - visitNonNullAssert: function visitNonNullAssert(ast) { - return null; - }, - visitPropertyRead: function visitPropertyRead(ast) { - return visit(this, ast.receiver); - }, - visitPropertyWrite: function visitPropertyWrite(ast) { - return null; - }, - visitQuote: function visitQuote(ast) { - return null; - }, - visitSafeMethodCall: function visitSafeMethodCall(ast) { - return visit(this, ast.receiver) || ast; - }, - visitSafePropertyRead: function visitSafePropertyRead(ast) { - return visit(this, ast.receiver) || ast; - } - }); - } // Returns true of the AST includes a method or a pipe indicating that, if the - // expression is used as the target of a safe property or method access then - // the expression should be stored into a temporary variable. - - }, { - key: "needsTemporary", - value: function needsTemporary(ast) { - var _this117 = this; - - var visit = function visit(visitor, ast) { - return ast && (_this117._nodeMap.get(ast) || ast).visit(visitor); - }; - - var visitSome = function visitSome(visitor, ast) { - return ast.some(function (ast) { - return visit(visitor, ast); - }); - }; - - return ast.visit({ - visitUnary: function visitUnary(ast) { - return visit(this, ast.expr); - }, - visitBinary: function visitBinary(ast) { - return visit(this, ast.left) || visit(this, ast.right); - }, - visitChain: function visitChain(ast) { - return false; - }, - visitConditional: function visitConditional(ast) { - return visit(this, ast.condition) || visit(this, ast.trueExp) || visit(this, ast.falseExp); - }, - visitFunctionCall: function visitFunctionCall(ast) { - return true; - }, - visitImplicitReceiver: function visitImplicitReceiver(ast) { - return false; - }, - visitThisReceiver: function visitThisReceiver(ast) { - return false; - }, - visitInterpolation: function visitInterpolation(ast) { - return visitSome(this, ast.expressions); - }, - visitKeyedRead: function visitKeyedRead(ast) { - return false; - }, - visitKeyedWrite: function visitKeyedWrite(ast) { - return false; - }, - visitLiteralArray: function visitLiteralArray(ast) { - return true; - }, - visitLiteralMap: function visitLiteralMap(ast) { - return true; - }, - visitLiteralPrimitive: function visitLiteralPrimitive(ast) { - return false; - }, - visitMethodCall: function visitMethodCall(ast) { - return true; - }, - visitPipe: function visitPipe(ast) { - return true; - }, - visitPrefixNot: function visitPrefixNot(ast) { - return visit(this, ast.expression); - }, - visitNonNullAssert: function visitNonNullAssert(ast) { - return visit(this, ast.expression); - }, - visitPropertyRead: function visitPropertyRead(ast) { - return false; - }, - visitPropertyWrite: function visitPropertyWrite(ast) { - return false; - }, - visitQuote: function visitQuote(ast) { - return false; - }, - visitSafeMethodCall: function visitSafeMethodCall(ast) { - return true; - }, - visitSafePropertyRead: function visitSafePropertyRead(ast) { - return false; - } - }); - } - }, { - key: "allocateTemporary", - value: function allocateTemporary() { - var tempNumber = this._currentTemporary++; - this.temporaryCount = Math.max(this._currentTemporary, this.temporaryCount); - return new ReadVarExpr(temporaryName(this.bindingId, tempNumber)); - } - }, { - key: "releaseTemporary", - value: function releaseTemporary(temporary) { - this._currentTemporary--; - - if (temporary.name != temporaryName(this.bindingId, this._currentTemporary)) { - throw new Error("Temporary ".concat(temporary.name, " released out of order")); - } - } - /** - * Creates an absolute `ParseSourceSpan` from the relative `ParseSpan`. - * - * `ParseSpan` objects are relative to the start of the expression. - * This method converts these to full `ParseSourceSpan` objects that - * show where the span is within the overall source file. - * - * @param span the relative span to convert. - * @returns a `ParseSourceSpan` for the given span or null if no - * `baseSourceSpan` was provided to this class. - */ - - }, { - key: "convertSourceSpan", - value: function convertSourceSpan(span) { - if (this.baseSourceSpan) { - var _start = this.baseSourceSpan.start.moveBy(span.start); - - var end = this.baseSourceSpan.start.moveBy(span.end); - var fullStart = this.baseSourceSpan.fullStart.moveBy(span.start); - return new ParseSourceSpan(_start, end, fullStart); - } else { - return null; - } - } - /** Adds the name of an AST to the list of implicit receiver accesses. */ - - }, { - key: "addImplicitReceiverAccess", - value: function addImplicitReceiverAccess(name) { - if (this.implicitReceiverAccesses) { - this.implicitReceiverAccesses.add(name); - } - } - }]); - - return _AstToIrVisitor; -}(); - -function flattenStatements(arg, output) { - if (Array.isArray(arg)) { - arg.forEach(function (entry) { - return flattenStatements(entry, output); - }); - } else { - output.push(arg); - } -} - -var DefaultLocalResolver = /*#__PURE__*/function () { - function DefaultLocalResolver(globals) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, DefaultLocalResolver); - - this.globals = globals; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(DefaultLocalResolver, [{ - key: "notifyImplicitReceiverUse", - value: function notifyImplicitReceiverUse() {} - }, { - key: "getLocal", - value: function getLocal(name) { - if (name === EventHandlerVars.event.name) { - return EventHandlerVars.event; - } - - return null; - } - }]); - - return DefaultLocalResolver; -}(); - -function createCurrValueExpr(bindingId) { - return variable("currVal_".concat(bindingId)); // fix syntax highlighting: ` -} - -function createPreventDefaultVar(bindingId) { - return variable("pd_".concat(bindingId)); -} - -function convertStmtIntoExpression(stmt) { - if (stmt instanceof ExpressionStatement) { - return stmt.expr; - } else if (stmt instanceof ReturnStatement) { - return stmt.value; - } - - return null; -} - -var BuiltinFunctionCall = /*#__PURE__*/function (_FunctionCall) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(BuiltinFunctionCall, _FunctionCall); - - var _super80 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(BuiltinFunctionCall); - - function BuiltinFunctionCall(span, sourceSpan, args, converter) { - var _this118; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, BuiltinFunctionCall); - - _this118 = _super80.call(this, span, sourceSpan, null, args); - _this118.args = args; - _this118.converter = converter; - return _this118; - } - - return BuiltinFunctionCall; -}(FunctionCall); -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - -/** - * This file is a port of shadowCSS from webcomponents.js to TypeScript. - * - * Please make sure to keep to edits in sync with the source file. - * - * Source: - * https://github.com/webcomponents/webcomponentsjs/blob/4efecd7e0e/src/ShadowCSS/ShadowCSS.js - * - * The original file level comment is reproduced below - */ - -/* - This is a limited shim for ShadowDOM css styling. - https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#styles - - The intention here is to support only the styling features which can be - relatively simply implemented. The goal is to allow users to avoid the - most obvious pitfalls and do so without compromising performance significantly. - For ShadowDOM styling that's not covered here, a set of best practices - can be provided that should allow users to accomplish more complex styling. - - The following is a list of specific ShadowDOM styling features and a brief - discussion of the approach used to shim. - - Shimmed features: - - * :host, :host-context: ShadowDOM allows styling of the shadowRoot's host - element using the :host rule. To shim this feature, the :host styles are - reformatted and prefixed with a given scope name and promoted to a - document level stylesheet. - For example, given a scope name of .foo, a rule like this: - - :host { - background: red; - } - } - - becomes: - - .foo { - background: red; - } - - * encapsulation: Styles defined within ShadowDOM, apply only to - dom inside the ShadowDOM. Polymer uses one of two techniques to implement - this feature. - - By default, rules are prefixed with the host element tag name - as a descendant selector. This ensures styling does not leak out of the 'top' - of the element's ShadowDOM. For example, - - div { - font-weight: bold; - } - - becomes: - - x-foo div { - font-weight: bold; - } - - becomes: - - - Alternatively, if WebComponents.ShadowCSS.strictStyling is set to true then - selectors are scoped by adding an attribute selector suffix to each - simple selector that contains the host element tag name. Each element - in the element's ShadowDOM template is also given the scope attribute. - Thus, these rules match only elements that have the scope attribute. - For example, given a scope name of x-foo, a rule like this: - - div { - font-weight: bold; - } - - becomes: - - div[x-foo] { - font-weight: bold; - } - - Note that elements that are dynamically added to a scope must have the scope - selector added to them manually. - - * upper/lower bound encapsulation: Styles which are defined outside a - shadowRoot should not cross the ShadowDOM boundary and should not apply - inside a shadowRoot. - - This styling behavior is not emulated. Some possible ways to do this that - were rejected due to complexity and/or performance concerns include: (1) reset - every possible property for every possible selector for a given scope name; - (2) re-implement css in javascript. - - As an alternative, users should make sure to use selectors - specific to the scope in which they are working. - - * ::distributed: This behavior is not emulated. It's often not necessary - to style the contents of a specific insertion point and instead, descendants - of the host element can be styled selectively. Users can also create an - extra node around an insertion point and style that node's contents - via descendent selectors. For example, with a shadowRoot like this: - - - - - could become: - - -
- -
- - Note the use of @polyfill in the comment above a ShadowDOM specific style - declaration. This is a directive to the styling shim to use the selector - in comments in lieu of the next selector when running under polyfill. -*/ - - -var ShadowCss = /*#__PURE__*/function () { - function ShadowCss() { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, ShadowCss); - - this.strictStyling = true; - } - /* - * Shim some cssText with the given selector. Returns cssText that can - * be included in the document via WebComponents.ShadowCSS.addCssToDocument(css). - * - * When strictStyling is true: - * - selector is the attribute added to all elements inside the host, - * - hostSelector is the attribute added to the host itself. - */ - - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(ShadowCss, [{ - key: "shimCssText", - value: function shimCssText(cssText, selector) { - var hostSelector = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : ''; - var commentsWithHash = extractCommentsWithHash(cssText); - cssText = stripComments(cssText); - cssText = this._insertDirectives(cssText); - - var scopedCssText = this._scopeCssText(cssText, selector, hostSelector); - - return [scopedCssText].concat(Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_12__["default"])(commentsWithHash)).join('\n'); - } - }, { - key: "_insertDirectives", - value: function _insertDirectives(cssText) { - cssText = this._insertPolyfillDirectivesInCssText(cssText); - return this._insertPolyfillRulesInCssText(cssText); - } - /* - * Process styles to convert native ShadowDOM rules that will trip - * up the css parser; we rely on decorating the stylesheet with inert rules. - * - * For example, we convert this rule: - * - * polyfill-next-selector { content: ':host menu-item'; } - * ::content menu-item { - * - * to this: - * - * scopeName menu-item { - * - **/ - - }, { - key: "_insertPolyfillDirectivesInCssText", - value: function _insertPolyfillDirectivesInCssText(cssText) { - // Difference with webcomponents.js: does not handle comments - return cssText.replace(_cssContentNextSelectorRe, function () { - return (arguments.length <= 2 ? undefined : arguments[2]) + '{'; - }); - } - /* - * Process styles to add rules which will only apply under the polyfill - * - * For example, we convert this rule: - * - * polyfill-rule { - * content: ':host menu-item'; - * ... - * } - * - * to this: - * - * scopeName menu-item {...} - * - **/ - - }, { - key: "_insertPolyfillRulesInCssText", - value: function _insertPolyfillRulesInCssText(cssText) { - // Difference with webcomponents.js: does not handle comments - return cssText.replace(_cssContentRuleRe, function () { - for (var _len4 = arguments.length, m = new Array(_len4), _key5 = 0; _key5 < _len4; _key5++) { - m[_key5] = arguments[_key5]; - } - - var rule = m[0].replace(m[1], '').replace(m[2], ''); - return m[4] + rule; - }); - } - /* Ensure styles are scoped. Pseudo-scoping takes a rule like: - * - * .foo {... } - * - * and converts this to - * - * scopeName .foo { ... } - */ - - }, { - key: "_scopeCssText", - value: function _scopeCssText(cssText, scopeSelector, hostSelector) { - var unscopedRules = this._extractUnscopedRulesFromCssText(cssText); // replace :host and :host-context -shadowcsshost and -shadowcsshost respectively - - - cssText = this._insertPolyfillHostInCssText(cssText); - cssText = this._convertColonHost(cssText); - cssText = this._convertColonHostContext(cssText); - cssText = this._convertShadowDOMSelectors(cssText); - - if (scopeSelector) { - cssText = this._scopeSelectors(cssText, scopeSelector, hostSelector); - } - - cssText = cssText + '\n' + unscopedRules; - return cssText.trim(); - } - /* - * Process styles to add rules which will only apply under the polyfill - * and do not process via CSSOM. (CSSOM is destructive to rules on rare - * occasions, e.g. -webkit-calc on Safari.) - * For example, we convert this rule: - * - * @polyfill-unscoped-rule { - * content: 'menu-item'; - * ... } - * - * to this: - * - * menu-item {...} - * - **/ - - }, { - key: "_extractUnscopedRulesFromCssText", - value: function _extractUnscopedRulesFromCssText(cssText) { - // Difference with webcomponents.js: does not handle comments - var r = ''; - var m; - _cssContentUnscopedRuleRe.lastIndex = 0; - - while ((m = _cssContentUnscopedRuleRe.exec(cssText)) !== null) { - var rule = m[0].replace(m[2], '').replace(m[1], m[4]); - r += rule + '\n\n'; - } - - return r; - } - /* - * convert a rule like :host(.foo) > .bar { } - * - * to - * - * .foo > .bar - */ - - }, { - key: "_convertColonHost", - value: function _convertColonHost(cssText) { - return cssText.replace(_cssColonHostRe, function (_, hostSelectors, otherSelectors) { - if (hostSelectors) { - var convertedSelectors = []; - var hostSelectorArray = hostSelectors.split(',').map(function (p) { - return p.trim(); - }); - - var _iterator9 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createForOfIteratorHelper__WEBPACK_IMPORTED_MODULE_7__["default"])(hostSelectorArray), - _step9; - - try { - for (_iterator9.s(); !(_step9 = _iterator9.n()).done;) { - var hostSelector = _step9.value; - if (!hostSelector) break; - var convertedSelector = _polyfillHostNoCombinator + hostSelector.replace(_polyfillHost, '') + otherSelectors; - convertedSelectors.push(convertedSelector); - } - } catch (err) { - _iterator9.e(err); - } finally { - _iterator9.f(); - } - - return convertedSelectors.join(','); - } else { - return _polyfillHostNoCombinator + otherSelectors; - } - }); - } - /* - * convert a rule like :host-context(.foo) > .bar { } - * - * to - * - * .foo > .bar, .foo > .bar { } - * - * and - * - * :host-context(.foo:host) .bar { ... } - * - * to - * - * .foo .bar { ... } - */ - - }, { - key: "_convertColonHostContext", - value: function _convertColonHostContext(cssText) { - return cssText.replace(_cssColonHostContextReGlobal, function (selectorText) { - // We have captured a selector that contains a `:host-context` rule. - var _a; // For backward compatibility `:host-context` may contain a comma separated list of selectors. - // Each context selector group will contain a list of host-context selectors that must match - // an ancestor of the host. - // (Normally `contextSelectorGroups` will only contain a single array of context selectors.) - - - var contextSelectorGroups = [[]]; // There may be more than `:host-context` in this selector so `selectorText` could look like: - // `:host-context(.one):host-context(.two)`. - // Execute `_cssColonHostContextRe` over and over until we have extracted all the - // `:host-context` selectors from this selector. - - var match; - - while (match = _cssColonHostContextRe.exec(selectorText)) { - // `match` = [':host-context()', , ] - // The `` could actually be a comma separated list: `:host-context(.one, .two)`. - var newContextSelectors = ((_a = match[1]) !== null && _a !== void 0 ? _a : '').trim().split(',').map(function (m) { - return m.trim(); - }).filter(function (m) { - return m !== ''; - }); // We must duplicate the current selector group for each of these new selectors. - // For example if the current groups are: - // ``` - // [ - // ['a', 'b', 'c'], - // ['x', 'y', 'z'], - // ] - // ``` - // And we have a new set of comma separated selectors: `:host-context(m,n)` then the new - // groups are: - // ``` - // [ - // ['a', 'b', 'c', 'm'], - // ['x', 'y', 'z', 'm'], - // ['a', 'b', 'c', 'n'], - // ['x', 'y', 'z', 'n'], - // ] - // ``` - - var contextSelectorGroupsLength = contextSelectorGroups.length; - repeatGroups(contextSelectorGroups, newContextSelectors.length); - - for (var i = 0; i < newContextSelectors.length; i++) { - for (var j = 0; j < contextSelectorGroupsLength; j++) { - contextSelectorGroups[j + i * contextSelectorGroupsLength].push(newContextSelectors[i]); - } - } // Update the `selectorText` and see repeat to see if there are more `:host-context`s. - - - selectorText = match[2]; - } // The context selectors now must be combined with each other to capture all the possible - // selectors that `:host-context` can match. See `combineHostContextSelectors()` for more - // info about how this is done. - - - return contextSelectorGroups.map(function (contextSelectors) { - return combineHostContextSelectors(contextSelectors, selectorText); - }).join(', '); - }); - } - /* - * Convert combinators like ::shadow and pseudo-elements like ::content - * by replacing with space. - */ - - }, { - key: "_convertShadowDOMSelectors", - value: function _convertShadowDOMSelectors(cssText) { - return _shadowDOMSelectorsRe.reduce(function (result, pattern) { - return result.replace(pattern, ' '); - }, cssText); - } // change a selector like 'div' to 'name div' - - }, { - key: "_scopeSelectors", - value: function _scopeSelectors(cssText, scopeSelector, hostSelector) { - var _this119 = this; - - return processRules(cssText, function (rule) { - var selector = rule.selector; - var content = rule.content; - - if (rule.selector[0] != '@') { - selector = _this119._scopeSelector(rule.selector, scopeSelector, hostSelector, _this119.strictStyling); - } else if (rule.selector.startsWith('@media') || rule.selector.startsWith('@supports') || rule.selector.startsWith('@page') || rule.selector.startsWith('@document')) { - content = _this119._scopeSelectors(rule.content, scopeSelector, hostSelector); - } - - return new CssRule(selector, content); - }); - } - }, { - key: "_scopeSelector", - value: function _scopeSelector(selector, scopeSelector, hostSelector, strict) { - var _this120 = this; - - return selector.split(',').map(function (part) { - return part.trim().split(_shadowDeepSelectors); - }).map(function (deepParts) { - var _deepParts = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_toArray__WEBPACK_IMPORTED_MODULE_3__["default"])(deepParts), - shallowPart = _deepParts[0], - otherParts = _deepParts.slice(1); - - var applyScope = function applyScope(shallowPart) { - if (_this120._selectorNeedsScoping(shallowPart, scopeSelector)) { - return strict ? _this120._applyStrictSelectorScope(shallowPart, scopeSelector, hostSelector) : _this120._applySelectorScope(shallowPart, scopeSelector, hostSelector); - } else { - return shallowPart; - } - }; - - return [applyScope(shallowPart)].concat(Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_12__["default"])(otherParts)).join(' '); - }).join(', '); - } - }, { - key: "_selectorNeedsScoping", - value: function _selectorNeedsScoping(selector, scopeSelector) { - var re = this._makeScopeMatcher(scopeSelector); - - return !re.test(selector); - } - }, { - key: "_makeScopeMatcher", - value: function _makeScopeMatcher(scopeSelector) { - var lre = /\[/g; - var rre = /\]/g; - scopeSelector = scopeSelector.replace(lre, '\\[').replace(rre, '\\]'); - return new RegExp('^(' + scopeSelector + ')' + _selectorReSuffix, 'm'); - } - }, { - key: "_applySelectorScope", - value: function _applySelectorScope(selector, scopeSelector, hostSelector) { - // Difference from webcomponents.js: scopeSelector could not be an array - return this._applySimpleSelectorScope(selector, scopeSelector, hostSelector); - } // scope via name and [is=name] - - }, { - key: "_applySimpleSelectorScope", - value: function _applySimpleSelectorScope(selector, scopeSelector, hostSelector) { - // In Android browser, the lastIndex is not reset when the regex is used in String.replace() - _polyfillHostRe.lastIndex = 0; - - if (_polyfillHostRe.test(selector)) { - var replaceBy = this.strictStyling ? "[".concat(hostSelector, "]") : scopeSelector; - return selector.replace(_polyfillHostNoCombinatorRe, function (hnc, selector) { - return selector.replace(/([^:]*)(:*)(.*)/, function (_, before, colon, after) { - return before + replaceBy + colon + after; - }); - }).replace(_polyfillHostRe, replaceBy + ' '); - } - - return scopeSelector + ' ' + selector; - } // return a selector with [name] suffix on each simple selector - // e.g. .foo.bar > .zot becomes .foo[name].bar[name] > .zot[name] /** @internal */ - - }, { - key: "_applyStrictSelectorScope", - value: function _applyStrictSelectorScope(selector, scopeSelector, hostSelector) { - var _this121 = this; - - var isRe = /\[is=([^\]]*)\]/g; - scopeSelector = scopeSelector.replace(isRe, function (_) { - return arguments.length <= 1 ? undefined : arguments[1]; - }); - var attrName = '[' + scopeSelector + ']'; - - var _scopeSelectorPart = function _scopeSelectorPart(p) { - var scopedP = p.trim(); - - if (!scopedP) { - return ''; - } - - if (p.indexOf(_polyfillHostNoCombinator) > -1) { - scopedP = _this121._applySimpleSelectorScope(p, scopeSelector, hostSelector); - } else { - // remove :host since it should be unnecessary - var t = p.replace(_polyfillHostRe, ''); - - if (t.length > 0) { - var matches = t.match(/([^:]*)(:*)(.*)/); - - if (matches) { - scopedP = matches[1] + attrName + matches[2] + matches[3]; - } - } - } - - return scopedP; - }; - - var safeContent = new SafeSelector(selector); - selector = safeContent.content(); - var scopedSelector = ''; - var startIndex = 0; - var res; - var sep = /( |>|\+|~(?!=))\s*/g; // If a selector appears before :host it should not be shimmed as it - // matches on ancestor elements and not on elements in the host's shadow - // `:host-context(div)` is transformed to - // `-shadowcsshost-no-combinatordiv, div -shadowcsshost-no-combinator` - // the `div` is not part of the component in the 2nd selectors and should not be scoped. - // Historically `component-tag:host` was matching the component so we also want to preserve - // this behavior to avoid breaking legacy apps (it should not match). - // The behavior should be: - // - `tag:host` -> `tag[h]` (this is to avoid breaking legacy apps, should not match anything) - // - `tag :host` -> `tag [h]` (`tag` is not scoped because it's considered part of a - // `:host-context(tag)`) - - var hasHost = selector.indexOf(_polyfillHostNoCombinator) > -1; // Only scope parts after the first `-shadowcsshost-no-combinator` when it is present - - var shouldScope = !hasHost; - - while ((res = sep.exec(selector)) !== null) { - var separator = res[1]; - - var _part = selector.slice(startIndex, res.index).trim(); - - shouldScope = shouldScope || _part.indexOf(_polyfillHostNoCombinator) > -1; - var scopedPart = shouldScope ? _scopeSelectorPart(_part) : _part; - scopedSelector += "".concat(scopedPart, " ").concat(separator, " "); - startIndex = sep.lastIndex; - } - - var part = selector.substring(startIndex); - shouldScope = shouldScope || part.indexOf(_polyfillHostNoCombinator) > -1; - scopedSelector += shouldScope ? _scopeSelectorPart(part) : part; // replace the placeholders with their original values - - return safeContent.restore(scopedSelector); - } - }, { - key: "_insertPolyfillHostInCssText", - value: function _insertPolyfillHostInCssText(selector) { - return selector.replace(_colonHostContextRe, _polyfillHostContext).replace(_colonHostRe, _polyfillHost); - } - }]); - - return ShadowCss; -}(); - -var SafeSelector = /*#__PURE__*/function () { - function SafeSelector(selector) { - var _this122 = this; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, SafeSelector); - - this.placeholders = []; - this.index = 0; // Replaces attribute selectors with placeholders. - // The WS in [attr="va lue"] would otherwise be interpreted as a selector separator. - - selector = this._escapeRegexMatches(selector, /(\[[^\]]*\])/g); // CSS allows for certain special characters to be used in selectors if they're escaped. - // E.g. `.foo:blue` won't match a class called `foo:blue`, because the colon denotes a - // pseudo-class, but writing `.foo\:blue` will match, because the colon was escaped. - // Replace all escape sequences (`\` followed by a character) with a placeholder so - // that our handling of pseudo-selectors doesn't mess with them. - - selector = this._escapeRegexMatches(selector, /(\\.)/g); // Replaces the expression in `:nth-child(2n + 1)` with a placeholder. - // WS and "+" would otherwise be interpreted as selector separators. - - this._content = selector.replace(/(:nth-[-\w]+)(\([^)]+\))/g, function (_, pseudo, exp) { - var replaceBy = "__ph-".concat(_this122.index, "__"); - - _this122.placeholders.push(exp); - - _this122.index++; - return pseudo + replaceBy; - }); - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(SafeSelector, [{ - key: "restore", - value: function restore(content) { - var _this123 = this; - - return content.replace(/__ph-(\d+)__/g, function (_ph, index) { - return _this123.placeholders[+index]; - }); - } - }, { - key: "content", - value: function content() { - return this._content; - } - /** - * Replaces all of the substrings that match a regex within a - * special string (e.g. `__ph-0__`, `__ph-1__`, etc). - */ - - }, { - key: "_escapeRegexMatches", - value: function _escapeRegexMatches(content, pattern) { - var _this124 = this; - - return content.replace(pattern, function (_, keep) { - var replaceBy = "__ph-".concat(_this124.index, "__"); - - _this124.placeholders.push(keep); - - _this124.index++; - return replaceBy; - }); - } - }]); - - return SafeSelector; -}(); - -var _cssContentNextSelectorRe = /polyfill-next-selector[^}]*content:[\s]*?(['"])(.*?)\1[;\s]*}([^{]*?){/gim; -var _cssContentRuleRe = /(polyfill-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim; -var _cssContentUnscopedRuleRe = /(polyfill-unscoped-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim; -var _polyfillHost = '-shadowcsshost'; // note: :host-context pre-processed to -shadowcsshostcontext. - -var _polyfillHostContext = '-shadowcsscontext'; - -var _parenSuffix = '(?:\\((' + '(?:\\([^)(]*\\)|[^)(]*)+?' + ')\\))?([^,{]*)'; - -var _cssColonHostRe = new RegExp(_polyfillHost + _parenSuffix, 'gim'); - -var _cssColonHostContextReGlobal = new RegExp(_polyfillHostContext + _parenSuffix, 'gim'); - -var _cssColonHostContextRe = new RegExp(_polyfillHostContext + _parenSuffix, 'im'); - -var _polyfillHostNoCombinator = _polyfillHost + '-no-combinator'; - -var _polyfillHostNoCombinatorRe = /-shadowcsshost-no-combinator([^\s]*)/; -var _shadowDOMSelectorsRe = [/::shadow/g, /::content/g, // Deprecated selectors -/\/shadow-deep\//g, /\/shadow\//g]; // The deep combinator is deprecated in the CSS spec -// Support for `>>>`, `deep`, `::ng-deep` is then also deprecated and will be removed in the future. -// see https://github.com/angular/angular/pull/17677 - -var _shadowDeepSelectors = /(?:>>>)|(?:\/deep\/)|(?:::ng-deep)/g; -var _selectorReSuffix = '([>\\s~+\[.,{:][\\s\\S]*)?$'; -var _polyfillHostRe = /-shadowcsshost/gim; -var _colonHostRe = /:host/gim; -var _colonHostContextRe = /:host-context/gim; -var _commentRe = /\/\*\s*[\s\S]*?\*\//g; - -function stripComments(input) { - return input.replace(_commentRe, ''); -} - -var _commentWithHashRe = /\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g; - -function extractCommentsWithHash(input) { - return input.match(_commentWithHashRe) || []; -} - -var BLOCK_PLACEHOLDER = '%BLOCK%'; -var QUOTE_PLACEHOLDER = '%QUOTED%'; -var _ruleRe = /(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g; -var _quotedRe = /%QUOTED%/g; -var CONTENT_PAIRS = new Map([['{', '}']]); -var QUOTE_PAIRS = new Map([["\"", "\""], ["'", "'"]]); - -var CssRule = function CssRule(selector, content) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, CssRule); - - this.selector = selector; - this.content = content; -}; - -function processRules(input, ruleCallback) { - var inputWithEscapedQuotes = escapeBlocks(input, QUOTE_PAIRS, QUOTE_PLACEHOLDER); - var inputWithEscapedBlocks = escapeBlocks(inputWithEscapedQuotes.escapedString, CONTENT_PAIRS, BLOCK_PLACEHOLDER); - var nextBlockIndex = 0; - var nextQuoteIndex = 0; - return inputWithEscapedBlocks.escapedString.replace(_ruleRe, function () { - var selector = arguments.length <= 2 ? undefined : arguments[2]; - var content = ''; - var suffix = arguments.length <= 4 ? undefined : arguments[4]; - var contentPrefix = ''; - - if (suffix && suffix.startsWith('{' + BLOCK_PLACEHOLDER)) { - content = inputWithEscapedBlocks.blocks[nextBlockIndex++]; - suffix = suffix.substring(BLOCK_PLACEHOLDER.length + 1); - contentPrefix = '{'; - } - - var rule = ruleCallback(new CssRule(selector, content)); - return "".concat(arguments.length <= 1 ? undefined : arguments[1]).concat(rule.selector).concat(arguments.length <= 3 ? undefined : arguments[3]).concat(contentPrefix).concat(rule.content).concat(suffix); - }).replace(_quotedRe, function () { - return inputWithEscapedQuotes.blocks[nextQuoteIndex++]; - }); -} - -var StringWithEscapedBlocks = function StringWithEscapedBlocks(escapedString, blocks) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, StringWithEscapedBlocks); - - this.escapedString = escapedString; - this.blocks = blocks; -}; - -function escapeBlocks(input, charPairs, placeholder) { - var resultParts = []; - var escapedBlocks = []; - var openCharCount = 0; - var nonBlockStartIndex = 0; - var blockStartIndex = -1; - var openChar; - var closeChar; - - for (var i = 0; i < input.length; i++) { - var char = input[i]; - - if (char === '\\') { - i++; - } else if (char === closeChar) { - openCharCount--; - - if (openCharCount === 0) { - escapedBlocks.push(input.substring(blockStartIndex, i)); - resultParts.push(placeholder); - nonBlockStartIndex = i; - blockStartIndex = -1; - openChar = closeChar = undefined; - } - } else if (char === openChar) { - openCharCount++; - } else if (openCharCount === 0 && charPairs.has(char)) { - openChar = char; - closeChar = charPairs.get(char); - openCharCount = 1; - blockStartIndex = i + 1; - resultParts.push(input.substring(nonBlockStartIndex, blockStartIndex)); - } - } - - if (blockStartIndex !== -1) { - escapedBlocks.push(input.substring(blockStartIndex)); - resultParts.push(placeholder); - } else { - resultParts.push(input.substring(nonBlockStartIndex)); - } - - return new StringWithEscapedBlocks(resultParts.join(''), escapedBlocks); -} -/** - * Combine the `contextSelectors` with the `hostMarker` and the `otherSelectors` - * to create a selector that matches the same as `:host-context()`. - * - * Given a single context selector `A` we need to output selectors that match on the host and as an - * ancestor of the host: - * - * ``` - * A , A {} - * ``` - * - * When there is more than one context selector we also have to create combinations of those - * selectors with each other. For example if there are `A` and `B` selectors the output is: - * - * ``` - * AB, AB , A B, - * B A, A B , B A {} - * ``` - * - * And so on... - * - * @param hostMarker the string that selects the host element. - * @param contextSelectors an array of context selectors that will be combined. - * @param otherSelectors the rest of the selectors that are not context selectors. - */ - - -function combineHostContextSelectors(contextSelectors, otherSelectors) { - var hostMarker = _polyfillHostNoCombinator; - _polyfillHostRe.lastIndex = 0; // reset the regex to ensure we get an accurate test - - var otherSelectorsHasHost = _polyfillHostRe.test(otherSelectors); // If there are no context selectors then just output a host marker - - - if (contextSelectors.length === 0) { - return hostMarker + otherSelectors; - } - - var combined = [contextSelectors.pop() || '']; - - while (contextSelectors.length > 0) { - var length = combined.length; - var contextSelector = contextSelectors.pop(); - - for (var i = 0; i < length; i++) { - var previousSelectors = combined[i]; // Add the new selector as a descendant of the previous selectors - - combined[length * 2 + i] = previousSelectors + ' ' + contextSelector; // Add the new selector as an ancestor of the previous selectors - - combined[length + i] = contextSelector + ' ' + previousSelectors; // Add the new selector to act on the same element as the previous selectors - - combined[i] = contextSelector + previousSelectors; - } - } // Finally connect the selector to the `hostMarker`s: either acting directly on the host - // (A) or as an ancestor (A ). - - - return combined.map(function (s) { - return otherSelectorsHasHost ? "".concat(s).concat(otherSelectors) : "".concat(s).concat(hostMarker).concat(otherSelectors, ", ").concat(s, " ").concat(hostMarker).concat(otherSelectors); - }).join(','); -} -/** - * Mutate the given `groups` array so that there are `multiples` clones of the original array - * stored. - * - * For example `repeatGroups([a, b], 3)` will result in `[a, b, a, b, a, b]` - but importantly the - * newly added groups will be clones of the original. - * - * @param groups An array of groups of strings that will be repeated. This array is mutated - * in-place. - * @param multiples The number of times the current groups should appear. - */ - - -function repeatGroups(groups, multiples) { - var length = groups.length; - - for (var i = 1; i < multiples; i++) { - for (var j = 0; j < length; j++) { - groups[j + i * length] = groups[j].slice(0); - } - } -} -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - -var COMPONENT_VARIABLE = '%COMP%'; -var HOST_ATTR = "_nghost-".concat(COMPONENT_VARIABLE); -var CONTENT_ATTR = "_ngcontent-".concat(COMPONENT_VARIABLE); - -var StylesCompileDependency = function StylesCompileDependency(name, moduleUrl, setValue) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, StylesCompileDependency); - - this.name = name; - this.moduleUrl = moduleUrl; - this.setValue = setValue; -}; - -var CompiledStylesheet = function CompiledStylesheet(outputCtx, stylesVar, dependencies, isShimmed, meta) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, CompiledStylesheet); - - this.outputCtx = outputCtx; - this.stylesVar = stylesVar; - this.dependencies = dependencies; - this.isShimmed = isShimmed; - this.meta = meta; -}; - -var StyleCompiler = /*#__PURE__*/function () { - function StyleCompiler(_urlResolver) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, StyleCompiler); - - this._urlResolver = _urlResolver; - this._shadowCss = new ShadowCss(); - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(StyleCompiler, [{ - key: "compileComponent", - value: function compileComponent(outputCtx, comp) { - var template = comp.template; - return this._compileStyles(outputCtx, comp, new CompileStylesheetMetadata({ - styles: template.styles, - styleUrls: template.styleUrls, - moduleUrl: identifierModuleUrl(comp.type) - }), this.needsStyleShim(comp), true); - } - }, { - key: "compileStyles", - value: function compileStyles(outputCtx, comp, stylesheet) { - var shim = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : this.needsStyleShim(comp); - return this._compileStyles(outputCtx, comp, stylesheet, shim, false); - } - }, { - key: "needsStyleShim", - value: function needsStyleShim(comp) { - return comp.template.encapsulation === ViewEncapsulation.Emulated; - } - }, { - key: "_compileStyles", - value: function _compileStyles(outputCtx, comp, stylesheet, shim, isComponentStylesheet) { - var _this125 = this; - - var styleExpressions = stylesheet.styles.map(function (plainStyle) { - return literal(_this125._shimIfNeeded(plainStyle, shim)); - }); - var dependencies = []; - stylesheet.styleUrls.forEach(function (styleUrl) { - var exprIndex = styleExpressions.length; // Note: This placeholder will be filled later. - - styleExpressions.push(null); - dependencies.push(new StylesCompileDependency(getStylesVarName(null), styleUrl, function (value) { - return styleExpressions[exprIndex] = outputCtx.importExpr(value); - })); - }); // styles variable contains plain strings and arrays of other styles arrays (recursive), - // so we set its type to dynamic. - - var stylesVar = getStylesVarName(isComponentStylesheet ? comp : null); - var stmt = variable(stylesVar).set(literalArr(styleExpressions, new ArrayType(DYNAMIC_TYPE, [TypeModifier.Const]))).toDeclStmt(null, isComponentStylesheet ? [StmtModifier.Final] : [StmtModifier.Final, StmtModifier.Exported]); - outputCtx.statements.push(stmt); - return new CompiledStylesheet(outputCtx, stylesVar, dependencies, shim, stylesheet); - } - }, { - key: "_shimIfNeeded", - value: function _shimIfNeeded(style, shim) { - return shim ? this._shadowCss.shimCssText(style, CONTENT_ATTR, HOST_ATTR) : style; - } - }]); - - return StyleCompiler; -}(); - -function getStylesVarName(component) { - var result = "styles"; - - if (component) { - result += "_".concat(identifierName(component.type)); - } - - return result; -} -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - -/** - * A path is an ordered set of elements. Typically a path is to a - * particular offset in a source file. The head of the list is the top - * most node. The tail is the node that contains the offset directly. - * - * For example, the expression `a + b + c` might have an ast that looks - * like: - * + - * / \ - * a + - * / \ - * b c - * - * The path to the node at offset 9 would be `['+' at 1-10, '+' at 7-10, - * 'c' at 9-10]` and the path the node at offset 1 would be - * `['+' at 1-10, 'a' at 1-2]`. - */ - - -var AstPath = /*#__PURE__*/function () { - function AstPath(path) { - var position = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : -1; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, AstPath); - - this.path = path; - this.position = position; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(AstPath, [{ - key: "empty", - get: function get() { - return !this.path || !this.path.length; - } - }, { - key: "head", - get: function get() { - return this.path[0]; - } - }, { - key: "tail", - get: function get() { - return this.path[this.path.length - 1]; - } - }, { - key: "parentOf", - value: function parentOf(node) { - return node && this.path[this.path.indexOf(node) - 1]; - } - }, { - key: "childOf", - value: function childOf(node) { - return this.path[this.path.indexOf(node) + 1]; - } - }, { - key: "first", - value: function first(ctor) { - for (var i = this.path.length - 1; i >= 0; i--) { - var item = this.path[i]; - if (item instanceof ctor) return item; - } - } - }, { - key: "push", - value: function push(node) { - this.path.push(node); - } - }, { - key: "pop", - value: function pop() { - return this.path.pop(); - } - }]); - - return AstPath; -}(); -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - -var NodeWithI18n = function NodeWithI18n(sourceSpan, i18n) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, NodeWithI18n); - - this.sourceSpan = sourceSpan; - this.i18n = i18n; -}; - -var Text$3 = /*#__PURE__*/function (_NodeWithI18n) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(Text$3, _NodeWithI18n); - - var _super81 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(Text$3); - - function Text$3(value, sourceSpan, i18n) { - var _this126; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, Text$3); - - _this126 = _super81.call(this, sourceSpan, i18n); - _this126.value = value; - return _this126; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(Text$3, [{ - key: "visit", - value: function visit(visitor, context) { - return visitor.visitText(this, context); - } - }]); - - return Text$3; -}(NodeWithI18n); - -var Expansion = /*#__PURE__*/function (_NodeWithI18n2) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(Expansion, _NodeWithI18n2); - - var _super82 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(Expansion); - - function Expansion(switchValue, type, cases, sourceSpan, switchValueSourceSpan, i18n) { - var _this127; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, Expansion); - - _this127 = _super82.call(this, sourceSpan, i18n); - _this127.switchValue = switchValue; - _this127.type = type; - _this127.cases = cases; - _this127.switchValueSourceSpan = switchValueSourceSpan; - return _this127; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(Expansion, [{ - key: "visit", - value: function visit(visitor, context) { - return visitor.visitExpansion(this, context); - } - }]); - - return Expansion; -}(NodeWithI18n); - -var ExpansionCase = /*#__PURE__*/function () { - function ExpansionCase(value, expression, sourceSpan, valueSourceSpan, expSourceSpan) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, ExpansionCase); - - this.value = value; - this.expression = expression; - this.sourceSpan = sourceSpan; - this.valueSourceSpan = valueSourceSpan; - this.expSourceSpan = expSourceSpan; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(ExpansionCase, [{ - key: "visit", - value: function visit(visitor, context) { - return visitor.visitExpansionCase(this, context); - } - }]); - - return ExpansionCase; -}(); - -var Attribute = /*#__PURE__*/function (_NodeWithI18n3) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(Attribute, _NodeWithI18n3); - - var _super83 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(Attribute); - - function Attribute(name, value, sourceSpan, keySpan, valueSpan, i18n) { - var _this128; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, Attribute); - - _this128 = _super83.call(this, sourceSpan, i18n); - _this128.name = name; - _this128.value = value; - _this128.keySpan = keySpan; - _this128.valueSpan = valueSpan; - return _this128; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(Attribute, [{ - key: "visit", - value: function visit(visitor, context) { - return visitor.visitAttribute(this, context); - } - }]); - - return Attribute; -}(NodeWithI18n); - -var Element$1 = /*#__PURE__*/function (_NodeWithI18n4) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(Element$1, _NodeWithI18n4); - - var _super84 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(Element$1); - - function Element$1(name, attrs, children, sourceSpan, startSourceSpan) { - var _this129; - - var endSourceSpan = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : null; - var i18n = arguments.length > 6 ? arguments[6] : undefined; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, Element$1); - - _this129 = _super84.call(this, sourceSpan, i18n); - _this129.name = name; - _this129.attrs = attrs; - _this129.children = children; - _this129.startSourceSpan = startSourceSpan; - _this129.endSourceSpan = endSourceSpan; - return _this129; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(Element$1, [{ - key: "visit", - value: function visit(visitor, context) { - return visitor.visitElement(this, context); - } - }]); - - return Element$1; -}(NodeWithI18n); - -var Comment$1 = /*#__PURE__*/function () { - function Comment$1(value, sourceSpan) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, Comment$1); - - this.value = value; - this.sourceSpan = sourceSpan; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(Comment$1, [{ - key: "visit", - value: function visit(visitor, context) { - return visitor.visitComment(this, context); - } - }]); - - return Comment$1; -}(); - -function visitAll$1(visitor, nodes) { - var context = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null; - var result = []; - var visit = visitor.visit ? function (ast) { - return visitor.visit(ast, context) || ast.visit(visitor, context); - } : function (ast) { - return ast.visit(visitor, context); - }; - nodes.forEach(function (ast) { - var astResult = visit(ast); - - if (astResult) { - result.push(astResult); - } - }); - return result; -} - -var RecursiveVisitor$1 = /*#__PURE__*/function () { - function RecursiveVisitor$1() { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, RecursiveVisitor$1); - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(RecursiveVisitor$1, [{ - key: "visitElement", - value: function visitElement(ast, context) { - this.visitChildren(context, function (visit) { - visit(ast.attrs); - visit(ast.children); - }); - } - }, { - key: "visitAttribute", - value: function visitAttribute(ast, context) {} - }, { - key: "visitText", - value: function visitText(ast, context) {} - }, { - key: "visitComment", - value: function visitComment(ast, context) {} - }, { - key: "visitExpansion", - value: function visitExpansion(ast, context) { - return this.visitChildren(context, function (visit) { - visit(ast.cases); - }); - } - }, { - key: "visitExpansionCase", - value: function visitExpansionCase(ast, context) {} - }, { - key: "visitChildren", - value: function visitChildren(context, cb) { - var results = []; - var t = this; - - function visit(children) { - if (children) results.push(visitAll$1(t, children, context)); - } - - cb(visit); - return Array.prototype.concat.apply([], results); - } - }]); - - return RecursiveVisitor$1; -}(); - -function spanOf(ast) { - var start = ast.sourceSpan.start.offset; - var end = ast.sourceSpan.end.offset; - - if (ast instanceof Element$1) { - if (ast.endSourceSpan) { - end = ast.endSourceSpan.end.offset; - } else if (ast.children && ast.children.length) { - end = spanOf(ast.children[ast.children.length - 1]).end; - } - } - - return { - start: start, - end: end - }; -} - -function findNode(nodes, position) { - var path = []; - var visitor = new ( /*#__PURE__*/function (_RecursiveVisitor$) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(_class, _RecursiveVisitor$); - - var _super85 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(_class); - - function _class() { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, _class); - - return _super85.apply(this, arguments); - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(_class, [{ - key: "visit", - value: function visit(ast, context) { - var span = spanOf(ast); - - if (span.start <= position && position < span.end) { - path.push(ast); - } else { - // Returning a value here will result in the children being skipped. - return true; - } - } - }]); - - return _class; - }(RecursiveVisitor$1))(); - visitAll$1(visitor, nodes); - return new AstPath(path, position); -} -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - -var TokenType; - -(function (TokenType) { - TokenType[TokenType["TAG_OPEN_START"] = 0] = "TAG_OPEN_START"; - TokenType[TokenType["TAG_OPEN_END"] = 1] = "TAG_OPEN_END"; - TokenType[TokenType["TAG_OPEN_END_VOID"] = 2] = "TAG_OPEN_END_VOID"; - TokenType[TokenType["TAG_CLOSE"] = 3] = "TAG_CLOSE"; - TokenType[TokenType["INCOMPLETE_TAG_OPEN"] = 4] = "INCOMPLETE_TAG_OPEN"; - TokenType[TokenType["TEXT"] = 5] = "TEXT"; - TokenType[TokenType["ESCAPABLE_RAW_TEXT"] = 6] = "ESCAPABLE_RAW_TEXT"; - TokenType[TokenType["RAW_TEXT"] = 7] = "RAW_TEXT"; - TokenType[TokenType["COMMENT_START"] = 8] = "COMMENT_START"; - TokenType[TokenType["COMMENT_END"] = 9] = "COMMENT_END"; - TokenType[TokenType["CDATA_START"] = 10] = "CDATA_START"; - TokenType[TokenType["CDATA_END"] = 11] = "CDATA_END"; - TokenType[TokenType["ATTR_NAME"] = 12] = "ATTR_NAME"; - TokenType[TokenType["ATTR_QUOTE"] = 13] = "ATTR_QUOTE"; - TokenType[TokenType["ATTR_VALUE"] = 14] = "ATTR_VALUE"; - TokenType[TokenType["DOC_TYPE"] = 15] = "DOC_TYPE"; - TokenType[TokenType["EXPANSION_FORM_START"] = 16] = "EXPANSION_FORM_START"; - TokenType[TokenType["EXPANSION_CASE_VALUE"] = 17] = "EXPANSION_CASE_VALUE"; - TokenType[TokenType["EXPANSION_CASE_EXP_START"] = 18] = "EXPANSION_CASE_EXP_START"; - TokenType[TokenType["EXPANSION_CASE_EXP_END"] = 19] = "EXPANSION_CASE_EXP_END"; - TokenType[TokenType["EXPANSION_FORM_END"] = 20] = "EXPANSION_FORM_END"; - TokenType[TokenType["EOF"] = 21] = "EOF"; -})(TokenType || (TokenType = {})); - -var Token = function Token(type, parts, sourceSpan) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, Token); - - this.type = type; - this.parts = parts; - this.sourceSpan = sourceSpan; -}; - -var TokenError = /*#__PURE__*/function (_ParseError) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(TokenError, _ParseError); - - var _super86 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(TokenError); - - function TokenError(errorMsg, tokenType, span) { - var _this130; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, TokenError); - - _this130 = _super86.call(this, span, errorMsg); - _this130.tokenType = tokenType; - return _this130; - } - - return TokenError; -}(ParseError); - -var TokenizeResult = function TokenizeResult(tokens, errors, nonNormalizedIcuExpressions) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, TokenizeResult); - - this.tokens = tokens; - this.errors = errors; - this.nonNormalizedIcuExpressions = nonNormalizedIcuExpressions; -}; - -function tokenize(source, url, getTagDefinition) { - var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {}; - var tokenizer = new _Tokenizer(new ParseSourceFile(source, url), getTagDefinition, options); - tokenizer.tokenize(); - return new TokenizeResult(mergeTextTokens(tokenizer.tokens), tokenizer.errors, tokenizer.nonNormalizedIcuExpressions); -} - -var _CR_OR_CRLF_REGEXP = /\r\n?/g; - -function _unexpectedCharacterErrorMsg(charCode) { - var char = charCode === $EOF ? 'EOF' : String.fromCharCode(charCode); - return "Unexpected character \"".concat(char, "\""); -} - -function _unknownEntityErrorMsg(entitySrc) { - return "Unknown entity \"".concat(entitySrc, "\" - use the \"&#;\" or \"&#x;\" syntax"); -} - -function _unparsableEntityErrorMsg(type, entityStr) { - return "Unable to parse entity \"".concat(entityStr, "\" - ").concat(type, " character reference entities must end with \";\""); -} - -var CharacterReferenceType; - -(function (CharacterReferenceType) { - CharacterReferenceType["HEX"] = "hexadecimal"; - CharacterReferenceType["DEC"] = "decimal"; -})(CharacterReferenceType || (CharacterReferenceType = {})); - -var _ControlFlowError = function _ControlFlowError(error) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, _ControlFlowError); - - this.error = error; -}; // See https://www.w3.org/TR/html51/syntax.html#writing-html-documents - - -var _Tokenizer = /*#__PURE__*/function () { - /** - * @param _file The html source file being tokenized. - * @param _getTagDefinition A function that will retrieve a tag definition for a given tag name. - * @param options Configuration of the tokenization. - */ - function _Tokenizer(_file, _getTagDefinition, options) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, _Tokenizer); - - this._getTagDefinition = _getTagDefinition; - this._currentTokenStart = null; - this._currentTokenType = null; - this._expansionCaseStack = []; - this._inInterpolation = false; - this.tokens = []; - this.errors = []; - this.nonNormalizedIcuExpressions = []; - this._tokenizeIcu = options.tokenizeExpansionForms || false; - this._interpolationConfig = options.interpolationConfig || DEFAULT_INTERPOLATION_CONFIG; - this._leadingTriviaCodePoints = options.leadingTriviaChars && options.leadingTriviaChars.map(function (c) { - return c.codePointAt(0) || 0; - }); - var range = options.range || { - endPos: _file.content.length, - startPos: 0, - startLine: 0, - startCol: 0 - }; - this._cursor = options.escapedString ? new EscapedCharacterCursor(_file, range) : new PlainCharacterCursor(_file, range); - this._preserveLineEndings = options.preserveLineEndings || false; - this._escapedString = options.escapedString || false; - this._i18nNormalizeLineEndingsInICUs = options.i18nNormalizeLineEndingsInICUs || false; - - try { - this._cursor.init(); - } catch (e) { - this.handleError(e); - } - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(_Tokenizer, [{ - key: "_processCarriageReturns", - value: function _processCarriageReturns(content) { - if (this._preserveLineEndings) { - return content; - } // https://www.w3.org/TR/html51/syntax.html#preprocessing-the-input-stream - // In order to keep the original position in the source, we can not - // pre-process it. - // Instead CRs are processed right before instantiating the tokens. - - - return content.replace(_CR_OR_CRLF_REGEXP, '\n'); - } - }, { - key: "tokenize", - value: function tokenize() { - while (this._cursor.peek() !== $EOF) { - var _start2 = this._cursor.clone(); - - try { - if (this._attemptCharCode($LT)) { - if (this._attemptCharCode($BANG)) { - if (this._attemptCharCode($LBRACKET)) { - this._consumeCdata(_start2); - } else if (this._attemptCharCode($MINUS)) { - this._consumeComment(_start2); - } else { - this._consumeDocType(_start2); - } - } else if (this._attemptCharCode($SLASH)) { - this._consumeTagClose(_start2); - } else { - this._consumeTagOpen(_start2); - } - } else if (!(this._tokenizeIcu && this._tokenizeExpansionForm())) { - this._consumeText(); - } - } catch (e) { - this.handleError(e); - } - } - - this._beginToken(TokenType.EOF); - - this._endToken([]); - } - /** - * @returns whether an ICU token has been created - * @internal - */ - - }, { - key: "_tokenizeExpansionForm", - value: function _tokenizeExpansionForm() { - if (this.isExpansionFormStart()) { - this._consumeExpansionFormStart(); - - return true; - } - - if (isExpansionCaseStart(this._cursor.peek()) && this._isInExpansionForm()) { - this._consumeExpansionCaseStart(); - - return true; - } - - if (this._cursor.peek() === $RBRACE) { - if (this._isInExpansionCase()) { - this._consumeExpansionCaseEnd(); - - return true; - } - - if (this._isInExpansionForm()) { - this._consumeExpansionFormEnd(); - - return true; - } - } - - return false; - } - }, { - key: "_beginToken", - value: function _beginToken(type) { - var start = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this._cursor.clone(); - this._currentTokenStart = start; - this._currentTokenType = type; - } - }, { - key: "_endToken", - value: function _endToken(parts, end) { - if (this._currentTokenStart === null) { - throw new TokenError('Programming error - attempted to end a token when there was no start to the token', this._currentTokenType, this._cursor.getSpan(end)); - } - - if (this._currentTokenType === null) { - throw new TokenError('Programming error - attempted to end a token which has no token type', null, this._cursor.getSpan(this._currentTokenStart)); - } - - var token = new Token(this._currentTokenType, parts, this._cursor.getSpan(this._currentTokenStart, this._leadingTriviaCodePoints)); - this.tokens.push(token); - this._currentTokenStart = null; - this._currentTokenType = null; - return token; - } - }, { - key: "_createError", - value: function _createError(msg, span) { - if (this._isInExpansionForm()) { - msg += " (Do you have an unescaped \"{\" in your template? Use \"{{ '{' }}\") to escape it.)"; - } - - var error = new TokenError(msg, this._currentTokenType, span); - this._currentTokenStart = null; - this._currentTokenType = null; - return new _ControlFlowError(error); - } - }, { - key: "handleError", - value: function handleError(e) { - if (e instanceof CursorError) { - e = this._createError(e.msg, this._cursor.getSpan(e.cursor)); - } - - if (e instanceof _ControlFlowError) { - this.errors.push(e.error); - } else { - throw e; - } - } - }, { - key: "_attemptCharCode", - value: function _attemptCharCode(charCode) { - if (this._cursor.peek() === charCode) { - this._cursor.advance(); - - return true; - } - - return false; - } - }, { - key: "_attemptCharCodeCaseInsensitive", - value: function _attemptCharCodeCaseInsensitive(charCode) { - if (compareCharCodeCaseInsensitive(this._cursor.peek(), charCode)) { - this._cursor.advance(); - - return true; - } - - return false; - } - }, { - key: "_requireCharCode", - value: function _requireCharCode(charCode) { - var location = this._cursor.clone(); - - if (!this._attemptCharCode(charCode)) { - throw this._createError(_unexpectedCharacterErrorMsg(this._cursor.peek()), this._cursor.getSpan(location)); - } - } - }, { - key: "_attemptStr", - value: function _attemptStr(chars) { - var len = chars.length; - - if (this._cursor.charsLeft() < len) { - return false; - } - - var initialPosition = this._cursor.clone(); - - for (var i = 0; i < len; i++) { - if (!this._attemptCharCode(chars.charCodeAt(i))) { - // If attempting to parse the string fails, we want to reset the parser - // to where it was before the attempt - this._cursor = initialPosition; - return false; - } - } - - return true; - } - }, { - key: "_attemptStrCaseInsensitive", - value: function _attemptStrCaseInsensitive(chars) { - for (var i = 0; i < chars.length; i++) { - if (!this._attemptCharCodeCaseInsensitive(chars.charCodeAt(i))) { - return false; - } - } - - return true; - } - }, { - key: "_requireStr", - value: function _requireStr(chars) { - var location = this._cursor.clone(); - - if (!this._attemptStr(chars)) { - throw this._createError(_unexpectedCharacterErrorMsg(this._cursor.peek()), this._cursor.getSpan(location)); - } - } - }, { - key: "_attemptCharCodeUntilFn", - value: function _attemptCharCodeUntilFn(predicate) { - while (!predicate(this._cursor.peek())) { - this._cursor.advance(); - } - } - }, { - key: "_requireCharCodeUntilFn", - value: function _requireCharCodeUntilFn(predicate, len) { - var start = this._cursor.clone(); - - this._attemptCharCodeUntilFn(predicate); - - if (this._cursor.diff(start) < len) { - throw this._createError(_unexpectedCharacterErrorMsg(this._cursor.peek()), this._cursor.getSpan(start)); - } - } - }, { - key: "_attemptUntilChar", - value: function _attemptUntilChar(char) { - while (this._cursor.peek() !== char) { - this._cursor.advance(); - } - } - }, { - key: "_readChar", - value: function _readChar(decodeEntities) { - if (decodeEntities && this._cursor.peek() === $AMPERSAND) { - return this._decodeEntity(); - } else { - // Don't rely upon reading directly from `_input` as the actual char value - // may have been generated from an escape sequence. - var char = String.fromCodePoint(this._cursor.peek()); - - this._cursor.advance(); - - return char; - } - } - }, { - key: "_decodeEntity", - value: function _decodeEntity() { - var start = this._cursor.clone(); - - this._cursor.advance(); - - if (this._attemptCharCode($HASH)) { - var isHex = this._attemptCharCode($x) || this._attemptCharCode($X); - - var codeStart = this._cursor.clone(); - - this._attemptCharCodeUntilFn(isDigitEntityEnd); - - if (this._cursor.peek() != $SEMICOLON) { - // Advance cursor to include the peeked character in the string provided to the error - // message. - this._cursor.advance(); - - var entityType = isHex ? CharacterReferenceType.HEX : CharacterReferenceType.DEC; - throw this._createError(_unparsableEntityErrorMsg(entityType, this._cursor.getChars(start)), this._cursor.getSpan()); - } - - var strNum = this._cursor.getChars(codeStart); - - this._cursor.advance(); - - try { - var charCode = parseInt(strNum, isHex ? 16 : 10); - return String.fromCharCode(charCode); - } catch (_a) { - throw this._createError(_unknownEntityErrorMsg(this._cursor.getChars(start)), this._cursor.getSpan()); - } - } else { - var nameStart = this._cursor.clone(); - - this._attemptCharCodeUntilFn(isNamedEntityEnd); - - if (this._cursor.peek() != $SEMICOLON) { - this._cursor = nameStart; - return '&'; - } - - var name = this._cursor.getChars(nameStart); - - this._cursor.advance(); - - var char = NAMED_ENTITIES[name]; - - if (!char) { - throw this._createError(_unknownEntityErrorMsg(name), this._cursor.getSpan(start)); - } - - return char; - } - } - }, { - key: "_consumeRawText", - value: function _consumeRawText(decodeEntities, endMarkerPredicate) { - this._beginToken(decodeEntities ? TokenType.ESCAPABLE_RAW_TEXT : TokenType.RAW_TEXT); - - var parts = []; - - while (true) { - var tagCloseStart = this._cursor.clone(); - - var foundEndMarker = endMarkerPredicate(); - this._cursor = tagCloseStart; - - if (foundEndMarker) { - break; - } - - parts.push(this._readChar(decodeEntities)); - } - - return this._endToken([this._processCarriageReturns(parts.join(''))]); - } - }, { - key: "_consumeComment", - value: function _consumeComment(start) { - var _this131 = this; - - this._beginToken(TokenType.COMMENT_START, start); - - this._requireCharCode($MINUS); - - this._endToken([]); - - this._consumeRawText(false, function () { - return _this131._attemptStr('-->'); - }); - - this._beginToken(TokenType.COMMENT_END); - - this._requireStr('-->'); - - this._endToken([]); - } - }, { - key: "_consumeCdata", - value: function _consumeCdata(start) { - var _this132 = this; - - this._beginToken(TokenType.CDATA_START, start); - - this._requireStr('CDATA['); - - this._endToken([]); - - this._consumeRawText(false, function () { - return _this132._attemptStr(']]>'); - }); - - this._beginToken(TokenType.CDATA_END); - - this._requireStr(']]>'); - - this._endToken([]); - } - }, { - key: "_consumeDocType", - value: function _consumeDocType(start) { - this._beginToken(TokenType.DOC_TYPE, start); - - var contentStart = this._cursor.clone(); - - this._attemptUntilChar($GT); - - var content = this._cursor.getChars(contentStart); - - this._cursor.advance(); - - this._endToken([content]); - } - }, { - key: "_consumePrefixAndName", - value: function _consumePrefixAndName() { - var nameOrPrefixStart = this._cursor.clone(); - - var prefix = ''; - - while (this._cursor.peek() !== $COLON && !isPrefixEnd(this._cursor.peek())) { - this._cursor.advance(); - } - - var nameStart; - - if (this._cursor.peek() === $COLON) { - prefix = this._cursor.getChars(nameOrPrefixStart); - - this._cursor.advance(); - - nameStart = this._cursor.clone(); - } else { - nameStart = nameOrPrefixStart; - } - - this._requireCharCodeUntilFn(isNameEnd, prefix === '' ? 0 : 1); - - var name = this._cursor.getChars(nameStart); - - return [prefix, name]; - } - }, { - key: "_consumeTagOpen", - value: function _consumeTagOpen(start) { - var tagName; - var prefix; - var openTagToken; - - try { - if (!isAsciiLetter(this._cursor.peek())) { - throw this._createError(_unexpectedCharacterErrorMsg(this._cursor.peek()), this._cursor.getSpan(start)); - } - - openTagToken = this._consumeTagOpenStart(start); - prefix = openTagToken.parts[0]; - tagName = openTagToken.parts[1]; - - this._attemptCharCodeUntilFn(isNotWhitespace); - - while (this._cursor.peek() !== $SLASH && this._cursor.peek() !== $GT && this._cursor.peek() !== $LT && this._cursor.peek() !== $EOF) { - this._consumeAttributeName(); - - this._attemptCharCodeUntilFn(isNotWhitespace); - - if (this._attemptCharCode($EQ)) { - this._attemptCharCodeUntilFn(isNotWhitespace); - - this._consumeAttributeValue(); - } - - this._attemptCharCodeUntilFn(isNotWhitespace); - } - - this._consumeTagOpenEnd(); - } catch (e) { - if (e instanceof _ControlFlowError) { - if (openTagToken) { - // We errored before we could close the opening tag, so it is incomplete. - openTagToken.type = TokenType.INCOMPLETE_TAG_OPEN; - } else { - // When the start tag is invalid, assume we want a "<" as text. - // Back to back text tokens are merged at the end. - this._beginToken(TokenType.TEXT, start); - - this._endToken(['<']); - } - - return; - } - - throw e; - } - - var contentTokenType = this._getTagDefinition(tagName).getContentType(prefix); - - if (contentTokenType === TagContentType.RAW_TEXT) { - this._consumeRawTextWithTagClose(prefix, tagName, false); - } else if (contentTokenType === TagContentType.ESCAPABLE_RAW_TEXT) { - this._consumeRawTextWithTagClose(prefix, tagName, true); - } - } - }, { - key: "_consumeRawTextWithTagClose", - value: function _consumeRawTextWithTagClose(prefix, tagName, decodeEntities) { - var _this133 = this; - - this._consumeRawText(decodeEntities, function () { - if (!_this133._attemptCharCode($LT)) return false; - if (!_this133._attemptCharCode($SLASH)) return false; - - _this133._attemptCharCodeUntilFn(isNotWhitespace); - - if (!_this133._attemptStrCaseInsensitive(tagName)) return false; - - _this133._attemptCharCodeUntilFn(isNotWhitespace); - - return _this133._attemptCharCode($GT); - }); - - this._beginToken(TokenType.TAG_CLOSE); - - this._requireCharCodeUntilFn(function (code) { - return code === $GT; - }, 3); - - this._cursor.advance(); // Consume the `>` - - - this._endToken([prefix, tagName]); - } - }, { - key: "_consumeTagOpenStart", - value: function _consumeTagOpenStart(start) { - this._beginToken(TokenType.TAG_OPEN_START, start); - - var parts = this._consumePrefixAndName(); - - return this._endToken(parts); - } - }, { - key: "_consumeAttributeName", - value: function _consumeAttributeName() { - var attrNameStart = this._cursor.peek(); - - if (attrNameStart === $SQ || attrNameStart === $DQ) { - throw this._createError(_unexpectedCharacterErrorMsg(attrNameStart), this._cursor.getSpan()); - } - - this._beginToken(TokenType.ATTR_NAME); - - var prefixAndName = this._consumePrefixAndName(); - - this._endToken(prefixAndName); - } - }, { - key: "_consumeAttributeValue", - value: function _consumeAttributeValue() { - var value; - - if (this._cursor.peek() === $SQ || this._cursor.peek() === $DQ) { - this._beginToken(TokenType.ATTR_QUOTE); - - var quoteChar = this._cursor.peek(); - - this._cursor.advance(); - - this._endToken([String.fromCodePoint(quoteChar)]); - - this._beginToken(TokenType.ATTR_VALUE); - - var parts = []; - - while (this._cursor.peek() !== quoteChar) { - parts.push(this._readChar(true)); - } - - value = parts.join(''); - - this._endToken([this._processCarriageReturns(value)]); - - this._beginToken(TokenType.ATTR_QUOTE); - - this._cursor.advance(); - - this._endToken([String.fromCodePoint(quoteChar)]); - } else { - this._beginToken(TokenType.ATTR_VALUE); - - var valueStart = this._cursor.clone(); - - this._requireCharCodeUntilFn(isNameEnd, 1); - - value = this._cursor.getChars(valueStart); - - this._endToken([this._processCarriageReturns(value)]); - } - } - }, { - key: "_consumeTagOpenEnd", - value: function _consumeTagOpenEnd() { - var tokenType = this._attemptCharCode($SLASH) ? TokenType.TAG_OPEN_END_VOID : TokenType.TAG_OPEN_END; - - this._beginToken(tokenType); - - this._requireCharCode($GT); - - this._endToken([]); - } - }, { - key: "_consumeTagClose", - value: function _consumeTagClose(start) { - this._beginToken(TokenType.TAG_CLOSE, start); - - this._attemptCharCodeUntilFn(isNotWhitespace); - - var prefixAndName = this._consumePrefixAndName(); - - this._attemptCharCodeUntilFn(isNotWhitespace); - - this._requireCharCode($GT); - - this._endToken(prefixAndName); - } - }, { - key: "_consumeExpansionFormStart", - value: function _consumeExpansionFormStart() { - this._beginToken(TokenType.EXPANSION_FORM_START); - - this._requireCharCode($LBRACE); - - this._endToken([]); - - this._expansionCaseStack.push(TokenType.EXPANSION_FORM_START); - - this._beginToken(TokenType.RAW_TEXT); - - var condition = this._readUntil($COMMA); - - var normalizedCondition = this._processCarriageReturns(condition); - - if (this._i18nNormalizeLineEndingsInICUs) { - // We explicitly want to normalize line endings for this text. - this._endToken([normalizedCondition]); - } else { - // We are not normalizing line endings. - var conditionToken = this._endToken([condition]); - - if (normalizedCondition !== condition) { - this.nonNormalizedIcuExpressions.push(conditionToken); - } - } - - this._requireCharCode($COMMA); - - this._attemptCharCodeUntilFn(isNotWhitespace); - - this._beginToken(TokenType.RAW_TEXT); - - var type = this._readUntil($COMMA); - - this._endToken([type]); - - this._requireCharCode($COMMA); - - this._attemptCharCodeUntilFn(isNotWhitespace); - } - }, { - key: "_consumeExpansionCaseStart", - value: function _consumeExpansionCaseStart() { - this._beginToken(TokenType.EXPANSION_CASE_VALUE); - - var value = this._readUntil($LBRACE).trim(); - - this._endToken([value]); - - this._attemptCharCodeUntilFn(isNotWhitespace); - - this._beginToken(TokenType.EXPANSION_CASE_EXP_START); - - this._requireCharCode($LBRACE); - - this._endToken([]); - - this._attemptCharCodeUntilFn(isNotWhitespace); - - this._expansionCaseStack.push(TokenType.EXPANSION_CASE_EXP_START); - } - }, { - key: "_consumeExpansionCaseEnd", - value: function _consumeExpansionCaseEnd() { - this._beginToken(TokenType.EXPANSION_CASE_EXP_END); - - this._requireCharCode($RBRACE); - - this._endToken([]); - - this._attemptCharCodeUntilFn(isNotWhitespace); - - this._expansionCaseStack.pop(); - } - }, { - key: "_consumeExpansionFormEnd", - value: function _consumeExpansionFormEnd() { - this._beginToken(TokenType.EXPANSION_FORM_END); - - this._requireCharCode($RBRACE); - - this._endToken([]); - - this._expansionCaseStack.pop(); - } - }, { - key: "_consumeText", - value: function _consumeText() { - var start = this._cursor.clone(); - - this._beginToken(TokenType.TEXT, start); - - var parts = []; - - do { - if (this._interpolationConfig && this._attemptStr(this._interpolationConfig.start)) { - parts.push(this._interpolationConfig.start); - this._inInterpolation = true; - } else if (this._interpolationConfig && this._inInterpolation && this._attemptStr(this._interpolationConfig.end)) { - parts.push(this._interpolationConfig.end); - this._inInterpolation = false; - } else { - parts.push(this._readChar(true)); - } - } while (!this._isTextEnd()); - - this._endToken([this._processCarriageReturns(parts.join(''))]); - } - }, { - key: "_isTextEnd", - value: function _isTextEnd() { - if (this._cursor.peek() === $LT || this._cursor.peek() === $EOF) { - return true; - } - - if (this._tokenizeIcu && !this._inInterpolation) { - if (this.isExpansionFormStart()) { - // start of an expansion form - return true; - } - - if (this._cursor.peek() === $RBRACE && this._isInExpansionCase()) { - // end of and expansion case - return true; - } - } - - return false; - } - }, { - key: "_readUntil", - value: function _readUntil(char) { - var start = this._cursor.clone(); - - this._attemptUntilChar(char); - - return this._cursor.getChars(start); - } - }, { - key: "_isInExpansionCase", - value: function _isInExpansionCase() { - return this._expansionCaseStack.length > 0 && this._expansionCaseStack[this._expansionCaseStack.length - 1] === TokenType.EXPANSION_CASE_EXP_START; - } - }, { - key: "_isInExpansionForm", - value: function _isInExpansionForm() { - return this._expansionCaseStack.length > 0 && this._expansionCaseStack[this._expansionCaseStack.length - 1] === TokenType.EXPANSION_FORM_START; - } - }, { - key: "isExpansionFormStart", - value: function isExpansionFormStart() { - if (this._cursor.peek() !== $LBRACE) { - return false; - } - - if (this._interpolationConfig) { - var _start3 = this._cursor.clone(); - - var isInterpolation = this._attemptStr(this._interpolationConfig.start); - - this._cursor = _start3; - return !isInterpolation; - } - - return true; - } - }]); - - return _Tokenizer; -}(); - -function isNotWhitespace(code) { - return !isWhitespace(code) || code === $EOF; -} - -function isNameEnd(code) { - return isWhitespace(code) || code === $GT || code === $LT || code === $SLASH || code === $SQ || code === $DQ || code === $EQ || code === $EOF; -} - -function isPrefixEnd(code) { - return (code < $a || $z < code) && (code < $A || $Z < code) && (code < $0 || code > $9); -} - -function isDigitEntityEnd(code) { - return code == $SEMICOLON || code == $EOF || !isAsciiHexDigit(code); -} - -function isNamedEntityEnd(code) { - return code == $SEMICOLON || code == $EOF || !isAsciiLetter(code); -} - -function isExpansionCaseStart(peek) { - return peek !== $RBRACE; -} - -function compareCharCodeCaseInsensitive(code1, code2) { - return toUpperCaseCharCode(code1) == toUpperCaseCharCode(code2); -} - -function toUpperCaseCharCode(code) { - return code >= $a && code <= $z ? code - $a + $A : code; -} - -function mergeTextTokens(srcTokens) { - var dstTokens = []; - var lastDstToken = undefined; - - for (var i = 0; i < srcTokens.length; i++) { - var token = srcTokens[i]; - - if (lastDstToken && lastDstToken.type == TokenType.TEXT && token.type == TokenType.TEXT) { - lastDstToken.parts[0] += token.parts[0]; - lastDstToken.sourceSpan.end = token.sourceSpan.end; - } else { - lastDstToken = token; - dstTokens.push(lastDstToken); - } - } - - return dstTokens; -} - -var PlainCharacterCursor = /*#__PURE__*/function () { - function PlainCharacterCursor(fileOrCursor, range) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, PlainCharacterCursor); - - if (fileOrCursor instanceof PlainCharacterCursor) { - this.file = fileOrCursor.file; - this.input = fileOrCursor.input; - this.end = fileOrCursor.end; - var state = fileOrCursor.state; // Note: avoid using `{...fileOrCursor.state}` here as that has a severe performance penalty. - // In ES5 bundles the object spread operator is translated into the `__assign` helper, which - // is not optimized by VMs as efficiently as a raw object literal. Since this constructor is - // called in tight loops, this difference matters. - - this.state = { - peek: state.peek, - offset: state.offset, - line: state.line, - column: state.column - }; - } else { - if (!range) { - throw new Error('Programming error: the range argument must be provided with a file argument.'); - } - - this.file = fileOrCursor; - this.input = fileOrCursor.content; - this.end = range.endPos; - this.state = { - peek: -1, - offset: range.startPos, - line: range.startLine, - column: range.startCol - }; - } - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(PlainCharacterCursor, [{ - key: "clone", - value: function clone() { - return new PlainCharacterCursor(this); - } - }, { - key: "peek", - value: function peek() { - return this.state.peek; - } - }, { - key: "charsLeft", - value: function charsLeft() { - return this.end - this.state.offset; - } - }, { - key: "diff", - value: function diff(other) { - return this.state.offset - other.state.offset; - } - }, { - key: "advance", - value: function advance() { - this.advanceState(this.state); - } - }, { - key: "init", - value: function init() { - this.updatePeek(this.state); - } - }, { - key: "getSpan", - value: function getSpan(start, leadingTriviaCodePoints) { - start = start || this; - var fullStart = start; - - if (leadingTriviaCodePoints) { - while (this.diff(start) > 0 && leadingTriviaCodePoints.indexOf(start.peek()) !== -1) { - if (fullStart === start) { - start = start.clone(); - } - - start.advance(); - } - } - - var startLocation = this.locationFromCursor(start); - var endLocation = this.locationFromCursor(this); - var fullStartLocation = fullStart !== start ? this.locationFromCursor(fullStart) : startLocation; - return new ParseSourceSpan(startLocation, endLocation, fullStartLocation); - } - }, { - key: "getChars", - value: function getChars(start) { - return this.input.substring(start.state.offset, this.state.offset); - } - }, { - key: "charAt", - value: function charAt(pos) { - return this.input.charCodeAt(pos); - } - }, { - key: "advanceState", - value: function advanceState(state) { - if (state.offset >= this.end) { - this.state = state; - throw new CursorError('Unexpected character "EOF"', this); - } - - var currentChar = this.charAt(state.offset); - - if (currentChar === $LF) { - state.line++; - state.column = 0; - } else if (!isNewLine(currentChar)) { - state.column++; - } - - state.offset++; - this.updatePeek(state); - } - }, { - key: "updatePeek", - value: function updatePeek(state) { - state.peek = state.offset >= this.end ? $EOF : this.charAt(state.offset); - } - }, { - key: "locationFromCursor", - value: function locationFromCursor(cursor) { - return new ParseLocation(cursor.file, cursor.state.offset, cursor.state.line, cursor.state.column); - } - }]); - - return PlainCharacterCursor; -}(); - -var EscapedCharacterCursor = /*#__PURE__*/function (_PlainCharacterCursor) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(EscapedCharacterCursor, _PlainCharacterCursor); - - var _super87 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(EscapedCharacterCursor); - - function EscapedCharacterCursor(fileOrCursor, range) { - var _this134; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, EscapedCharacterCursor); - - if (fileOrCursor instanceof EscapedCharacterCursor) { - _this134 = _super87.call(this, fileOrCursor); - _this134.internalState = Object.assign({}, fileOrCursor.internalState); - } else { - _this134 = _super87.call(this, fileOrCursor, range); - _this134.internalState = _this134.state; - } - - return Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__["default"])(_this134); - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(EscapedCharacterCursor, [{ - key: "advance", - value: function advance() { - this.state = this.internalState; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_8__["default"])(Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_9__["default"])(EscapedCharacterCursor.prototype), "advance", this).call(this); - - this.processEscapeSequence(); - } - }, { - key: "init", - value: function init() { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_8__["default"])(Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_9__["default"])(EscapedCharacterCursor.prototype), "init", this).call(this); - - this.processEscapeSequence(); - } - }, { - key: "clone", - value: function clone() { - return new EscapedCharacterCursor(this); - } - }, { - key: "getChars", - value: function getChars(start) { - var cursor = start.clone(); - var chars = ''; - - while (cursor.internalState.offset < this.internalState.offset) { - chars += String.fromCodePoint(cursor.peek()); - cursor.advance(); - } - - return chars; - } - /** - * Process the escape sequence that starts at the current position in the text. - * - * This method is called to ensure that `peek` has the unescaped value of escape sequences. - */ - - }, { - key: "processEscapeSequence", - value: function processEscapeSequence() { - var _this135 = this; - - var peek = function peek() { - return _this135.internalState.peek; - }; - - if (peek() === $BACKSLASH) { - // We have hit an escape sequence so we need the internal state to become independent - // of the external state. - this.internalState = Object.assign({}, this.state); // Move past the backslash - - this.advanceState(this.internalState); // First check for standard control char sequences - - if (peek() === $n) { - this.state.peek = $LF; - } else if (peek() === $r) { - this.state.peek = $CR; - } else if (peek() === $v) { - this.state.peek = $VTAB; - } else if (peek() === $t) { - this.state.peek = $TAB; - } else if (peek() === $b) { - this.state.peek = $BSPACE; - } else if (peek() === $f) { - this.state.peek = $FF; - } // Now consider more complex sequences - else if (peek() === $u) { - // Unicode code-point sequence - this.advanceState(this.internalState); // advance past the `u` char - - if (peek() === $LBRACE) { - // Variable length Unicode, e.g. `\x{123}` - this.advanceState(this.internalState); // advance past the `{` char - // Advance past the variable number of hex digits until we hit a `}` char - - var digitStart = this.clone(); - var length = 0; - - while (peek() !== $RBRACE) { - this.advanceState(this.internalState); - length++; - } - - this.state.peek = this.decodeHexDigits(digitStart, length); - } else { - // Fixed length Unicode, e.g. `\u1234` - var _digitStart = this.clone(); - - this.advanceState(this.internalState); - this.advanceState(this.internalState); - this.advanceState(this.internalState); - this.state.peek = this.decodeHexDigits(_digitStart, 4); - } - } else if (peek() === $x) { - // Hex char code, e.g. `\x2F` - this.advanceState(this.internalState); // advance past the `x` char - - var _digitStart2 = this.clone(); - - this.advanceState(this.internalState); - this.state.peek = this.decodeHexDigits(_digitStart2, 2); - } else if (isOctalDigit(peek())) { - // Octal char code, e.g. `\012`, - var octal = ''; - var _length = 0; - var previous = this.clone(); - - while (isOctalDigit(peek()) && _length < 3) { - previous = this.clone(); - octal += String.fromCodePoint(peek()); - this.advanceState(this.internalState); - _length++; - } - - this.state.peek = parseInt(octal, 8); // Backup one char - - this.internalState = previous.internalState; - } else if (isNewLine(this.internalState.peek)) { - // Line continuation `\` followed by a new line - this.advanceState(this.internalState); // advance over the newline - - this.state = this.internalState; - } else { - // If none of the `if` blocks were executed then we just have an escaped normal character. - // In that case we just, effectively, skip the backslash from the character. - this.state.peek = this.internalState.peek; - } - } - } - }, { - key: "decodeHexDigits", - value: function decodeHexDigits(start, length) { - var hex = this.input.substr(start.internalState.offset, length); - var charCode = parseInt(hex, 16); - - if (!isNaN(charCode)) { - return charCode; - } else { - start.state = start.internalState; - throw new CursorError('Invalid hexadecimal escape sequence', start); - } - } - }]); - - return EscapedCharacterCursor; -}(PlainCharacterCursor); - -var CursorError = function CursorError(msg, cursor) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, CursorError); - - this.msg = msg; - this.cursor = cursor; -}; -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - -var TreeError = /*#__PURE__*/function (_ParseError2) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(TreeError, _ParseError2); - - var _super88 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(TreeError); - - function TreeError(elementName, span, msg) { - var _this136; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, TreeError); - - _this136 = _super88.call(this, span, msg); - _this136.elementName = elementName; - return _this136; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(TreeError, null, [{ - key: "create", - value: function create(elementName, span, msg) { - return new TreeError(elementName, span, msg); - } - }]); - - return TreeError; -}(ParseError); - -var ParseTreeResult = function ParseTreeResult(rootNodes, errors) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, ParseTreeResult); - - this.rootNodes = rootNodes; - this.errors = errors; -}; - -var Parser = /*#__PURE__*/function () { - function Parser(getTagDefinition) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, Parser); - - this.getTagDefinition = getTagDefinition; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(Parser, [{ - key: "parse", - value: function parse(source, url, options) { - var tokenizeResult = tokenize(source, url, this.getTagDefinition, options); - var parser = new _TreeBuilder(tokenizeResult.tokens, this.getTagDefinition); - parser.build(); - return new ParseTreeResult(parser.rootNodes, tokenizeResult.errors.concat(parser.errors)); - } - }]); - - return Parser; -}(); - -var _TreeBuilder = /*#__PURE__*/function () { - function _TreeBuilder(tokens, getTagDefinition) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, _TreeBuilder); - - this.tokens = tokens; - this.getTagDefinition = getTagDefinition; - this._index = -1; - this._elementStack = []; - this.rootNodes = []; - this.errors = []; - - this._advance(); - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(_TreeBuilder, [{ - key: "build", - value: function build() { - while (this._peek.type !== TokenType.EOF) { - if (this._peek.type === TokenType.TAG_OPEN_START || this._peek.type === TokenType.INCOMPLETE_TAG_OPEN) { - this._consumeStartTag(this._advance()); - } else if (this._peek.type === TokenType.TAG_CLOSE) { - this._consumeEndTag(this._advance()); - } else if (this._peek.type === TokenType.CDATA_START) { - this._closeVoidElement(); - - this._consumeCdata(this._advance()); - } else if (this._peek.type === TokenType.COMMENT_START) { - this._closeVoidElement(); - - this._consumeComment(this._advance()); - } else if (this._peek.type === TokenType.TEXT || this._peek.type === TokenType.RAW_TEXT || this._peek.type === TokenType.ESCAPABLE_RAW_TEXT) { - this._closeVoidElement(); - - this._consumeText(this._advance()); - } else if (this._peek.type === TokenType.EXPANSION_FORM_START) { - this._consumeExpansion(this._advance()); - } else { - // Skip all other tokens... - this._advance(); - } - } - } - }, { - key: "_advance", - value: function _advance() { - var prev = this._peek; - - if (this._index < this.tokens.length - 1) { - // Note: there is always an EOF token at the end - this._index++; - } - - this._peek = this.tokens[this._index]; - return prev; - } - }, { - key: "_advanceIf", - value: function _advanceIf(type) { - if (this._peek.type === type) { - return this._advance(); - } - - return null; - } - }, { - key: "_consumeCdata", - value: function _consumeCdata(_startToken) { - this._consumeText(this._advance()); - - this._advanceIf(TokenType.CDATA_END); - } - }, { - key: "_consumeComment", - value: function _consumeComment(token) { - var text = this._advanceIf(TokenType.RAW_TEXT); - - this._advanceIf(TokenType.COMMENT_END); - - var value = text != null ? text.parts[0].trim() : null; - - this._addToParent(new Comment$1(value, token.sourceSpan)); - } - }, { - key: "_consumeExpansion", - value: function _consumeExpansion(token) { - var switchValue = this._advance(); - - var type = this._advance(); - - var cases = []; // read = - - while (this._peek.type === TokenType.EXPANSION_CASE_VALUE) { - var expCase = this._parseExpansionCase(); - - if (!expCase) return; // error - - cases.push(expCase); - } // read the final } - - - if (this._peek.type !== TokenType.EXPANSION_FORM_END) { - this.errors.push(TreeError.create(null, this._peek.sourceSpan, "Invalid ICU message. Missing '}'.")); - return; - } - - var sourceSpan = new ParseSourceSpan(token.sourceSpan.start, this._peek.sourceSpan.end, token.sourceSpan.fullStart); - - this._addToParent(new Expansion(switchValue.parts[0], type.parts[0], cases, sourceSpan, switchValue.sourceSpan)); - - this._advance(); - } - }, { - key: "_parseExpansionCase", - value: function _parseExpansionCase() { - var value = this._advance(); // read { - - - if (this._peek.type !== TokenType.EXPANSION_CASE_EXP_START) { - this.errors.push(TreeError.create(null, this._peek.sourceSpan, "Invalid ICU message. Missing '{'.")); - return null; - } // read until } - - - var start = this._advance(); - - var exp = this._collectExpansionExpTokens(start); - - if (!exp) return null; - - var end = this._advance(); - - exp.push(new Token(TokenType.EOF, [], end.sourceSpan)); // parse everything in between { and } - - var expansionCaseParser = new _TreeBuilder(exp, this.getTagDefinition); - expansionCaseParser.build(); - - if (expansionCaseParser.errors.length > 0) { - this.errors = this.errors.concat(expansionCaseParser.errors); - return null; - } - - var sourceSpan = new ParseSourceSpan(value.sourceSpan.start, end.sourceSpan.end, value.sourceSpan.fullStart); - var expSourceSpan = new ParseSourceSpan(start.sourceSpan.start, end.sourceSpan.end, start.sourceSpan.fullStart); - return new ExpansionCase(value.parts[0], expansionCaseParser.rootNodes, sourceSpan, value.sourceSpan, expSourceSpan); - } - }, { - key: "_collectExpansionExpTokens", - value: function _collectExpansionExpTokens(start) { - var exp = []; - var expansionFormStack = [TokenType.EXPANSION_CASE_EXP_START]; - - while (true) { - if (this._peek.type === TokenType.EXPANSION_FORM_START || this._peek.type === TokenType.EXPANSION_CASE_EXP_START) { - expansionFormStack.push(this._peek.type); - } - - if (this._peek.type === TokenType.EXPANSION_CASE_EXP_END) { - if (lastOnStack(expansionFormStack, TokenType.EXPANSION_CASE_EXP_START)) { - expansionFormStack.pop(); - if (expansionFormStack.length == 0) return exp; - } else { - this.errors.push(TreeError.create(null, start.sourceSpan, "Invalid ICU message. Missing '}'.")); - return null; - } - } - - if (this._peek.type === TokenType.EXPANSION_FORM_END) { - if (lastOnStack(expansionFormStack, TokenType.EXPANSION_FORM_START)) { - expansionFormStack.pop(); - } else { - this.errors.push(TreeError.create(null, start.sourceSpan, "Invalid ICU message. Missing '}'.")); - return null; - } - } - - if (this._peek.type === TokenType.EOF) { - this.errors.push(TreeError.create(null, start.sourceSpan, "Invalid ICU message. Missing '}'.")); - return null; - } - - exp.push(this._advance()); - } - } - }, { - key: "_consumeText", - value: function _consumeText(token) { - var text = token.parts[0]; - - if (text.length > 0 && text[0] == '\n') { - var parent = this._getParentElement(); - - if (parent != null && parent.children.length == 0 && this.getTagDefinition(parent.name).ignoreFirstLf) { - text = text.substring(1); - } - } - - if (text.length > 0) { - this._addToParent(new Text$3(text, token.sourceSpan)); - } - } - }, { - key: "_closeVoidElement", - value: function _closeVoidElement() { - var el = this._getParentElement(); - - if (el && this.getTagDefinition(el.name).isVoid) { - this._elementStack.pop(); - } - } - }, { - key: "_consumeStartTag", - value: function _consumeStartTag(startTagToken) { - var _startTagToken$parts = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_5__["default"])(startTagToken.parts, 2), - prefix = _startTagToken$parts[0], - name = _startTagToken$parts[1]; - - var attrs = []; - - while (this._peek.type === TokenType.ATTR_NAME) { - attrs.push(this._consumeAttr(this._advance())); - } - - var fullName = this._getElementFullName(prefix, name, this._getParentElement()); - - var selfClosing = false; // Note: There could have been a tokenizer error - // so that we don't get a token for the end tag... - - if (this._peek.type === TokenType.TAG_OPEN_END_VOID) { - this._advance(); - - selfClosing = true; - var tagDef = this.getTagDefinition(fullName); - - if (!(tagDef.canSelfClose || getNsPrefix(fullName) !== null || tagDef.isVoid)) { - this.errors.push(TreeError.create(fullName, startTagToken.sourceSpan, "Only void and foreign elements can be self closed \"".concat(startTagToken.parts[1], "\""))); - } - } else if (this._peek.type === TokenType.TAG_OPEN_END) { - this._advance(); - - selfClosing = false; - } - - var end = this._peek.sourceSpan.fullStart; - var span = new ParseSourceSpan(startTagToken.sourceSpan.start, end, startTagToken.sourceSpan.fullStart); // Create a separate `startSpan` because `span` will be modified when there is an `end` span. - - var startSpan = new ParseSourceSpan(startTagToken.sourceSpan.start, end, startTagToken.sourceSpan.fullStart); - var el = new Element$1(fullName, attrs, [], span, startSpan, undefined); - - this._pushElement(el); - - if (selfClosing) { - // Elements that are self-closed have their `endSourceSpan` set to the full span, as the - // element start tag also represents the end tag. - this._popElement(fullName, span); - } else if (startTagToken.type === TokenType.INCOMPLETE_TAG_OPEN) { - // We already know the opening tag is not complete, so it is unlikely it has a corresponding - // close tag. Let's optimistically parse it as a full element and emit an error. - this._popElement(fullName, null); - - this.errors.push(TreeError.create(fullName, span, "Opening tag \"".concat(fullName, "\" not terminated."))); - } - } - }, { - key: "_pushElement", - value: function _pushElement(el) { - var parentEl = this._getParentElement(); - - if (parentEl && this.getTagDefinition(parentEl.name).isClosedByChild(el.name)) { - this._elementStack.pop(); - } - - this._addToParent(el); - - this._elementStack.push(el); - } - }, { - key: "_consumeEndTag", - value: function _consumeEndTag(endTagToken) { - var fullName = this._getElementFullName(endTagToken.parts[0], endTagToken.parts[1], this._getParentElement()); - - if (this.getTagDefinition(fullName).isVoid) { - this.errors.push(TreeError.create(fullName, endTagToken.sourceSpan, "Void elements do not have end tags \"".concat(endTagToken.parts[1], "\""))); - } else if (!this._popElement(fullName, endTagToken.sourceSpan)) { - var errMsg = "Unexpected closing tag \"".concat(fullName, "\". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags"); - this.errors.push(TreeError.create(fullName, endTagToken.sourceSpan, errMsg)); - } - } - /** - * Closes the nearest element with the tag name `fullName` in the parse tree. - * `endSourceSpan` is the span of the closing tag, or null if the element does - * not have a closing tag (for example, this happens when an incomplete - * opening tag is recovered). - */ - - }, { - key: "_popElement", - value: function _popElement(fullName, endSourceSpan) { - for (var stackIndex = this._elementStack.length - 1; stackIndex >= 0; stackIndex--) { - var el = this._elementStack[stackIndex]; - - if (el.name == fullName) { - // Record the parse span with the element that is being closed. Any elements that are - // removed from the element stack at this point are closed implicitly, so they won't get - // an end source span (as there is no explicit closing element). - el.endSourceSpan = endSourceSpan; - el.sourceSpan.end = endSourceSpan !== null ? endSourceSpan.end : el.sourceSpan.end; - - this._elementStack.splice(stackIndex, this._elementStack.length - stackIndex); - - return true; - } - - if (!this.getTagDefinition(el.name).closedByParent) { - return false; - } - } - - return false; - } - }, { - key: "_consumeAttr", - value: function _consumeAttr(attrName) { - var fullName = mergeNsAndName(attrName.parts[0], attrName.parts[1]); - var end = attrName.sourceSpan.end; - var value = ''; - var valueSpan = undefined; - - if (this._peek.type === TokenType.ATTR_QUOTE) { - this._advance(); - } - - if (this._peek.type === TokenType.ATTR_VALUE) { - var valueToken = this._advance(); - - value = valueToken.parts[0]; - end = valueToken.sourceSpan.end; - valueSpan = valueToken.sourceSpan; - } - - if (this._peek.type === TokenType.ATTR_QUOTE) { - var quoteToken = this._advance(); - - end = quoteToken.sourceSpan.end; - } - - var keySpan = new ParseSourceSpan(attrName.sourceSpan.start, attrName.sourceSpan.end); - return new Attribute(fullName, value, new ParseSourceSpan(attrName.sourceSpan.start, end, attrName.sourceSpan.fullStart), keySpan, valueSpan); - } - }, { - key: "_getParentElement", - value: function _getParentElement() { - return this._elementStack.length > 0 ? this._elementStack[this._elementStack.length - 1] : null; - } - }, { - key: "_addToParent", - value: function _addToParent(node) { - var parent = this._getParentElement(); - - if (parent != null) { - parent.children.push(node); - } else { - this.rootNodes.push(node); - } - } - }, { - key: "_getElementFullName", - value: function _getElementFullName(prefix, localName, parentElement) { - if (prefix === '') { - prefix = this.getTagDefinition(localName).implicitNamespacePrefix || ''; - - if (prefix === '' && parentElement != null) { - var parentTagName = splitNsName(parentElement.name)[1]; - var parentTagDefinition = this.getTagDefinition(parentTagName); - - if (!parentTagDefinition.preventNamespaceInheritance) { - prefix = getNsPrefix(parentElement.name); - } - } - } - - return mergeNsAndName(prefix, localName); - } - }]); - - return _TreeBuilder; -}(); - -function lastOnStack(stack, element) { - return stack.length > 0 && stack[stack.length - 1] === element; -} -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - -var HtmlParser = /*#__PURE__*/function (_Parser) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(HtmlParser, _Parser); - - var _super89 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(HtmlParser); - - function HtmlParser() { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, HtmlParser); - - return _super89.call(this, getHtmlTagDefinition); - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(HtmlParser, [{ - key: "parse", - value: function parse(source, url, options) { - return Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_get__WEBPACK_IMPORTED_MODULE_8__["default"])(Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_9__["default"])(HtmlParser.prototype), "parse", this).call(this, source, url, options); - } - }]); - - return HtmlParser; -}(Parser); -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - -var PRESERVE_WS_ATTR_NAME = 'ngPreserveWhitespaces'; -var SKIP_WS_TRIM_TAGS = new Set(['pre', 'template', 'textarea', 'script', 'style']); // Equivalent to \s with \u00a0 (non-breaking space) excluded. -// Based on https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp - -var WS_CHARS = " \f\n\r\t\x0B\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF"; -var NO_WS_REGEXP = new RegExp("[^".concat(WS_CHARS, "]")); -var WS_REPLACE_REGEXP = new RegExp("[".concat(WS_CHARS, "]{2,}"), 'g'); - -function hasPreserveWhitespacesAttr(attrs) { - return attrs.some(function (attr) { - return attr.name === PRESERVE_WS_ATTR_NAME; - }); -} -/** - * Angular Dart introduced &ngsp; as a placeholder for non-removable space, see: - * https://github.com/dart-lang/angular/blob/0bb611387d29d65b5af7f9d2515ab571fd3fbee4/_tests/test/compiler/preserve_whitespace_test.dart#L25-L32 - * In Angular Dart &ngsp; is converted to the 0xE500 PUA (Private Use Areas) unicode character - * and later on replaced by a space. We are re-implementing the same idea here. - */ - - -function replaceNgsp(value) { - // lexer is replacing the &ngsp; pseudo-entity with NGSP_UNICODE - return value.replace(new RegExp(NGSP_UNICODE, 'g'), ' '); -} -/** - * This visitor can walk HTML parse tree and remove / trim text nodes using the following rules: - * - consider spaces, tabs and new lines as whitespace characters; - * - drop text nodes consisting of whitespace characters only; - * - for all other text nodes replace consecutive whitespace characters with one space; - * - convert &ngsp; pseudo-entity to a single space; - * - * Removal and trimming of whitespaces have positive performance impact (less code to generate - * while compiling templates, faster view creation). At the same time it can be "destructive" - * in some cases (whitespaces can influence layout). Because of the potential of breaking layout - * this visitor is not activated by default in Angular 5 and people need to explicitly opt-in for - * whitespace removal. The default option for whitespace removal will be revisited in Angular 6 - * and might be changed to "on" by default. - */ - - -var WhitespaceVisitor = /*#__PURE__*/function () { - function WhitespaceVisitor() { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, WhitespaceVisitor); - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(WhitespaceVisitor, [{ - key: "visitElement", - value: function visitElement(element, context) { - if (SKIP_WS_TRIM_TAGS.has(element.name) || hasPreserveWhitespacesAttr(element.attrs)) { - // don't descent into elements where we need to preserve whitespaces - // but still visit all attributes to eliminate one used as a market to preserve WS - return new Element$1(element.name, visitAll$1(this, element.attrs), element.children, element.sourceSpan, element.startSourceSpan, element.endSourceSpan, element.i18n); - } - - return new Element$1(element.name, element.attrs, visitAllWithSiblings(this, element.children), element.sourceSpan, element.startSourceSpan, element.endSourceSpan, element.i18n); - } - }, { - key: "visitAttribute", - value: function visitAttribute(attribute, context) { - return attribute.name !== PRESERVE_WS_ATTR_NAME ? attribute : null; - } - }, { - key: "visitText", - value: function visitText(text, context) { - var isNotBlank = text.value.match(NO_WS_REGEXP); - var hasExpansionSibling = context && (context.prev instanceof Expansion || context.next instanceof Expansion); - - if (isNotBlank || hasExpansionSibling) { - return new Text$3(replaceNgsp(text.value).replace(WS_REPLACE_REGEXP, ' '), text.sourceSpan, text.i18n); - } - - return null; - } - }, { - key: "visitComment", - value: function visitComment(comment, context) { - return comment; - } - }, { - key: "visitExpansion", - value: function visitExpansion(expansion, context) { - return expansion; - } - }, { - key: "visitExpansionCase", - value: function visitExpansionCase(expansionCase, context) { - return expansionCase; - } - }]); - - return WhitespaceVisitor; -}(); - -function removeWhitespaces(htmlAstWithErrors) { - return new ParseTreeResult(visitAll$1(new WhitespaceVisitor(), htmlAstWithErrors.rootNodes), htmlAstWithErrors.errors); -} - -function visitAllWithSiblings(visitor, nodes) { - var result = []; - nodes.forEach(function (ast, i) { - var context = { - prev: nodes[i - 1], - next: nodes[i + 1] - }; - var astResult = ast.visit(visitor, context); - - if (astResult) { - result.push(astResult); - } - }); - return result; -} -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -// http://cldr.unicode.org/index/cldr-spec/plural-rules - - -var PLURAL_CASES = ['zero', 'one', 'two', 'few', 'many', 'other']; -/** - * Expands special forms into elements. - * - * For example, - * - * ``` - * { messages.length, plural, - * =0 {zero} - * =1 {one} - * other {more than one} - * } - * ``` - * - * will be expanded into - * - * ``` - * - * zero - * one - * more than one - * - * ``` - */ - -function expandNodes(nodes) { - var expander = new _Expander(); - return new ExpansionResult(visitAll$1(expander, nodes), expander.isExpanded, expander.errors); -} - -var ExpansionResult = function ExpansionResult(nodes, expanded, errors) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, ExpansionResult); - - this.nodes = nodes; - this.expanded = expanded; - this.errors = errors; -}; - -var ExpansionError = /*#__PURE__*/function (_ParseError3) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(ExpansionError, _ParseError3); - - var _super90 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(ExpansionError); - - function ExpansionError(span, errorMsg) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, ExpansionError); - - return _super90.call(this, span, errorMsg); - } - - return ExpansionError; -}(ParseError); -/** - * Expand expansion forms (plural, select) to directives - * - * @internal - */ - - -var _Expander = /*#__PURE__*/function () { - function _Expander() { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, _Expander); - - this.isExpanded = false; - this.errors = []; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(_Expander, [{ - key: "visitElement", - value: function visitElement(element, context) { - return new Element$1(element.name, element.attrs, visitAll$1(this, element.children), element.sourceSpan, element.startSourceSpan, element.endSourceSpan); - } - }, { - key: "visitAttribute", - value: function visitAttribute(attribute, context) { - return attribute; - } - }, { - key: "visitText", - value: function visitText(text, context) { - return text; - } - }, { - key: "visitComment", - value: function visitComment(comment, context) { - return comment; - } - }, { - key: "visitExpansion", - value: function visitExpansion(icu, context) { - this.isExpanded = true; - return icu.type == 'plural' ? _expandPluralForm(icu, this.errors) : _expandDefaultForm(icu, this.errors); - } - }, { - key: "visitExpansionCase", - value: function visitExpansionCase(icuCase, context) { - throw new Error('Should not be reached'); - } - }]); - - return _Expander; -}(); // Plural forms are expanded to `NgPlural` and `NgPluralCase`s - - -function _expandPluralForm(ast, errors) { - var children = ast.cases.map(function (c) { - if (PLURAL_CASES.indexOf(c.value) == -1 && !c.value.match(/^=\d+$/)) { - errors.push(new ExpansionError(c.valueSourceSpan, "Plural cases should be \"=\" or one of ".concat(PLURAL_CASES.join(', ')))); - } - - var expansionResult = expandNodes(c.expression); - errors.push.apply(errors, Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_12__["default"])(expansionResult.errors)); - return new Element$1("ng-template", [new Attribute('ngPluralCase', "".concat(c.value), c.valueSourceSpan, undefined - /* keySpan */ - , undefined - /* valueSpan */ - , undefined - /* i18n */ - )], expansionResult.nodes, c.sourceSpan, c.sourceSpan, c.sourceSpan); - }); - var switchAttr = new Attribute('[ngPlural]', ast.switchValue, ast.switchValueSourceSpan, undefined - /* keySpan */ - , undefined - /* valueSpan */ - , undefined - /* i18n */ - ); - return new Element$1('ng-container', [switchAttr], children, ast.sourceSpan, ast.sourceSpan, ast.sourceSpan); -} // ICU messages (excluding plural form) are expanded to `NgSwitch` and `NgSwitchCase`s - - -function _expandDefaultForm(ast, errors) { - var children = ast.cases.map(function (c) { - var expansionResult = expandNodes(c.expression); - errors.push.apply(errors, Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_12__["default"])(expansionResult.errors)); - - if (c.value === 'other') { - // other is the default case when no values match - return new Element$1("ng-template", [new Attribute('ngSwitchDefault', '', c.valueSourceSpan, undefined - /* keySpan */ - , undefined - /* valueSpan */ - , undefined - /* i18n */ - )], expansionResult.nodes, c.sourceSpan, c.sourceSpan, c.sourceSpan); - } - - return new Element$1("ng-template", [new Attribute('ngSwitchCase', "".concat(c.value), c.valueSourceSpan, undefined - /* keySpan */ - , undefined - /* valueSpan */ - , undefined - /* i18n */ - )], expansionResult.nodes, c.sourceSpan, c.sourceSpan, c.sourceSpan); - }); - var switchAttr = new Attribute('[ngSwitch]', ast.switchValue, ast.switchValueSourceSpan, undefined - /* keySpan */ - , undefined - /* valueSpan */ - , undefined - /* i18n */ - ); - return new Element$1('ng-container', [switchAttr], children, ast.sourceSpan, ast.sourceSpan, ast.sourceSpan); -} -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - -/** - * A segment of text within the template. - */ - - -var TextAst = /*#__PURE__*/function () { - function TextAst(value, ngContentIndex, sourceSpan) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, TextAst); - - this.value = value; - this.ngContentIndex = ngContentIndex; - this.sourceSpan = sourceSpan; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(TextAst, [{ - key: "visit", - value: function visit(visitor, context) { - return visitor.visitText(this, context); - } - }]); - - return TextAst; -}(); -/** - * A bound expression within the text of a template. - */ - - -var BoundTextAst = /*#__PURE__*/function () { - function BoundTextAst(value, ngContentIndex, sourceSpan) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, BoundTextAst); - - this.value = value; - this.ngContentIndex = ngContentIndex; - this.sourceSpan = sourceSpan; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(BoundTextAst, [{ - key: "visit", - value: function visit(visitor, context) { - return visitor.visitBoundText(this, context); - } - }]); - - return BoundTextAst; -}(); -/** - * A plain attribute on an element. - */ - - -var AttrAst = /*#__PURE__*/function () { - function AttrAst(name, value, sourceSpan) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, AttrAst); - - this.name = name; - this.value = value; - this.sourceSpan = sourceSpan; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(AttrAst, [{ - key: "visit", - value: function visit(visitor, context) { - return visitor.visitAttr(this, context); - } - }]); - - return AttrAst; -}(); - -var BoundPropertyMapping = (_BoundPropertyMapping = {}, Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(_BoundPropertyMapping, 4 -/* Animation */ -, 4), Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(_BoundPropertyMapping, 1 -/* Attribute */ -, -/* Animation */ -1), Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(_BoundPropertyMapping, 2 -/* Class */ -, -/* Attribute */ -2), Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(_BoundPropertyMapping, 0 -/* Property */ -, -/* Class */ -0), Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(_BoundPropertyMapping, 3 -/* Style */ -, -/* Property */ -3), _BoundPropertyMapping); -/** - * A binding for an element property (e.g. `[property]="expression"`) or an animation trigger (e.g. - * `[@trigger]="stateExp"`) - */ - -var BoundElementPropertyAst = /*#__PURE__*/function () { - function BoundElementPropertyAst(name, type, securityContext, value, unit, sourceSpan) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, BoundElementPropertyAst); - - this.name = name; - this.type = type; - this.securityContext = securityContext; - this.value = value; - this.unit = unit; - this.sourceSpan = sourceSpan; - this.isAnimation = this.type === 4 - /* Animation */ - ; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(BoundElementPropertyAst, [{ - key: "visit", - value: function visit(visitor, context) { - return visitor.visitElementProperty(this, context); - } - }], [{ - key: "fromBoundProperty", - value: function fromBoundProperty(prop) { - var type = BoundPropertyMapping[prop.type]; - return new BoundElementPropertyAst(prop.name, type, prop.securityContext, prop.value, prop.unit, prop.sourceSpan); - } - }]); - - return BoundElementPropertyAst; -}(); -/** - * A binding for an element event (e.g. `(event)="handler()"`) or an animation trigger event (e.g. - * `(@trigger.phase)="callback($event)"`). - */ - - -var BoundEventAst = /*#__PURE__*/function () { - function BoundEventAst(name, target, phase, handler, sourceSpan, handlerSpan) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, BoundEventAst); - - this.name = name; - this.target = target; - this.phase = phase; - this.handler = handler; - this.sourceSpan = sourceSpan; - this.handlerSpan = handlerSpan; - this.fullName = BoundEventAst.calcFullName(this.name, this.target, this.phase); - this.isAnimation = !!this.phase; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(BoundEventAst, [{ - key: "visit", - value: function visit(visitor, context) { - return visitor.visitEvent(this, context); - } - }], [{ - key: "calcFullName", - value: function calcFullName(name, target, phase) { - if (target) { - return "".concat(target, ":").concat(name); - } - - if (phase) { - return "@".concat(name, ".").concat(phase); - } - - return name; - } - }, { - key: "fromParsedEvent", - value: function fromParsedEvent(event) { - var target = event.type === 0 - /* Regular */ - ? event.targetOrPhase : null; - var phase = event.type === 1 - /* Animation */ - ? event.targetOrPhase : null; - return new BoundEventAst(event.name, target, phase, event.handler, event.sourceSpan, event.handlerSpan); - } - }]); - - return BoundEventAst; -}(); -/** - * A reference declaration on an element (e.g. `let someName="expression"`). - */ - - -var ReferenceAst = /*#__PURE__*/function () { - function ReferenceAst(name, value, originalValue, sourceSpan) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, ReferenceAst); - - this.name = name; - this.value = value; - this.originalValue = originalValue; - this.sourceSpan = sourceSpan; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(ReferenceAst, [{ - key: "visit", - value: function visit(visitor, context) { - return visitor.visitReference(this, context); - } - }]); - - return ReferenceAst; -}(); -/** - * A variable declaration on a (e.g. `var-someName="someLocalName"`). - */ - - -var VariableAst = /*#__PURE__*/function () { - function VariableAst(name, value, sourceSpan, valueSpan) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, VariableAst); - - this.name = name; - this.value = value; - this.sourceSpan = sourceSpan; - this.valueSpan = valueSpan; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(VariableAst, [{ - key: "visit", - value: function visit(visitor, context) { - return visitor.visitVariable(this, context); - } - }], [{ - key: "fromParsedVariable", - value: function fromParsedVariable(v) { - return new VariableAst(v.name, v.value, v.sourceSpan, v.valueSpan); - } - }]); - - return VariableAst; -}(); -/** - * An element declaration in a template. - */ - - -var ElementAst = /*#__PURE__*/function () { - function ElementAst(name, attrs, inputs, outputs, references, directives, providers, hasViewContainer, queryMatches, children, ngContentIndex, sourceSpan, endSourceSpan) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, ElementAst); - - this.name = name; - this.attrs = attrs; - this.inputs = inputs; - this.outputs = outputs; - this.references = references; - this.directives = directives; - this.providers = providers; - this.hasViewContainer = hasViewContainer; - this.queryMatches = queryMatches; - this.children = children; - this.ngContentIndex = ngContentIndex; - this.sourceSpan = sourceSpan; - this.endSourceSpan = endSourceSpan; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(ElementAst, [{ - key: "visit", - value: function visit(visitor, context) { - return visitor.visitElement(this, context); - } - }]); - - return ElementAst; -}(); -/** - * A `` element included in an Angular template. - */ - - -var EmbeddedTemplateAst = /*#__PURE__*/function () { - function EmbeddedTemplateAst(attrs, outputs, references, variables, directives, providers, hasViewContainer, queryMatches, children, ngContentIndex, sourceSpan) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, EmbeddedTemplateAst); - - this.attrs = attrs; - this.outputs = outputs; - this.references = references; - this.variables = variables; - this.directives = directives; - this.providers = providers; - this.hasViewContainer = hasViewContainer; - this.queryMatches = queryMatches; - this.children = children; - this.ngContentIndex = ngContentIndex; - this.sourceSpan = sourceSpan; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(EmbeddedTemplateAst, [{ - key: "visit", - value: function visit(visitor, context) { - return visitor.visitEmbeddedTemplate(this, context); - } - }]); - - return EmbeddedTemplateAst; -}(); -/** - * A directive property with a bound value (e.g. `*ngIf="condition"). - */ - - -var BoundDirectivePropertyAst = /*#__PURE__*/function () { - function BoundDirectivePropertyAst(directiveName, templateName, value, sourceSpan) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, BoundDirectivePropertyAst); - - this.directiveName = directiveName; - this.templateName = templateName; - this.value = value; - this.sourceSpan = sourceSpan; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(BoundDirectivePropertyAst, [{ - key: "visit", - value: function visit(visitor, context) { - return visitor.visitDirectiveProperty(this, context); - } - }]); - - return BoundDirectivePropertyAst; -}(); -/** - * A directive declared on an element. - */ - - -var DirectiveAst = /*#__PURE__*/function () { - function DirectiveAst(directive, inputs, hostProperties, hostEvents, contentQueryStartId, sourceSpan) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, DirectiveAst); - - this.directive = directive; - this.inputs = inputs; - this.hostProperties = hostProperties; - this.hostEvents = hostEvents; - this.contentQueryStartId = contentQueryStartId; - this.sourceSpan = sourceSpan; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(DirectiveAst, [{ - key: "visit", - value: function visit(visitor, context) { - return visitor.visitDirective(this, context); - } - }]); - - return DirectiveAst; -}(); -/** - * A provider declared on an element - */ - - -var ProviderAst = /*#__PURE__*/function () { - function ProviderAst(token, multiProvider, eager, providers, providerType, lifecycleHooks, sourceSpan, isModule) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, ProviderAst); - - this.token = token; - this.multiProvider = multiProvider; - this.eager = eager; - this.providers = providers; - this.providerType = providerType; - this.lifecycleHooks = lifecycleHooks; - this.sourceSpan = sourceSpan; - this.isModule = isModule; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(ProviderAst, [{ - key: "visit", - value: function visit(visitor, context) { - // No visit method in the visitor for now... - return null; - } - }]); - - return ProviderAst; -}(); - -var ProviderAstType; - -(function (ProviderAstType) { - ProviderAstType[ProviderAstType["PublicService"] = 0] = "PublicService"; - ProviderAstType[ProviderAstType["PrivateService"] = 1] = "PrivateService"; - ProviderAstType[ProviderAstType["Component"] = 2] = "Component"; - ProviderAstType[ProviderAstType["Directive"] = 3] = "Directive"; - ProviderAstType[ProviderAstType["Builtin"] = 4] = "Builtin"; -})(ProviderAstType || (ProviderAstType = {})); -/** - * Position where content is to be projected (instance of `` in a template). - */ - - -var NgContentAst = /*#__PURE__*/function () { - function NgContentAst(index, ngContentIndex, sourceSpan) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, NgContentAst); - - this.index = index; - this.ngContentIndex = ngContentIndex; - this.sourceSpan = sourceSpan; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(NgContentAst, [{ - key: "visit", - value: function visit(visitor, context) { - return visitor.visitNgContent(this, context); - } - }]); - - return NgContentAst; -}(); -/** - * A visitor that accepts each node but doesn't do anything. It is intended to be used - * as the base class for a visitor that is only interested in a subset of the node types. - */ - - -var NullTemplateVisitor = /*#__PURE__*/function () { - function NullTemplateVisitor() { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, NullTemplateVisitor); - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(NullTemplateVisitor, [{ - key: "visitNgContent", - value: function visitNgContent(ast, context) {} - }, { - key: "visitEmbeddedTemplate", - value: function visitEmbeddedTemplate(ast, context) {} - }, { - key: "visitElement", - value: function visitElement(ast, context) {} - }, { - key: "visitReference", - value: function visitReference(ast, context) {} - }, { - key: "visitVariable", - value: function visitVariable(ast, context) {} - }, { - key: "visitEvent", - value: function visitEvent(ast, context) {} - }, { - key: "visitElementProperty", - value: function visitElementProperty(ast, context) {} - }, { - key: "visitAttr", - value: function visitAttr(ast, context) {} - }, { - key: "visitBoundText", - value: function visitBoundText(ast, context) {} - }, { - key: "visitText", - value: function visitText(ast, context) {} - }, { - key: "visitDirective", - value: function visitDirective(ast, context) {} - }, { - key: "visitDirectiveProperty", - value: function visitDirectiveProperty(ast, context) {} - }]); - - return NullTemplateVisitor; -}(); -/** - * Base class that can be used to build a visitor that visits each node - * in an template ast recursively. - */ - - -var RecursiveTemplateAstVisitor = /*#__PURE__*/function (_NullTemplateVisitor) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(RecursiveTemplateAstVisitor, _NullTemplateVisitor); - - var _super91 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(RecursiveTemplateAstVisitor); - - function RecursiveTemplateAstVisitor() { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, RecursiveTemplateAstVisitor); - - return _super91.call(this); - } // Nodes with children - - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(RecursiveTemplateAstVisitor, [{ - key: "visitEmbeddedTemplate", - value: function visitEmbeddedTemplate(ast, context) { - return this.visitChildren(context, function (visit) { - visit(ast.attrs); - visit(ast.references); - visit(ast.variables); - visit(ast.directives); - visit(ast.providers); - visit(ast.children); - }); - } - }, { - key: "visitElement", - value: function visitElement(ast, context) { - return this.visitChildren(context, function (visit) { - visit(ast.attrs); - visit(ast.inputs); - visit(ast.outputs); - visit(ast.references); - visit(ast.directives); - visit(ast.providers); - visit(ast.children); - }); - } - }, { - key: "visitDirective", - value: function visitDirective(ast, context) { - return this.visitChildren(context, function (visit) { - visit(ast.inputs); - visit(ast.hostProperties); - visit(ast.hostEvents); - }); - } - }, { - key: "visitChildren", - value: function visitChildren(context, cb) { - var results = []; - var t = this; - - function visit(children) { - if (children && children.length) results.push(templateVisitAll(t, children, context)); - } - - cb(visit); - return Array.prototype.concat.apply([], results); - } - }]); - - return RecursiveTemplateAstVisitor; -}(NullTemplateVisitor); -/** - * Visit every node in a list of {@link TemplateAst}s with the given {@link TemplateAstVisitor}. - */ - - -function templateVisitAll(visitor, asts) { - var context = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null; - var result = []; - var visit = visitor.visit ? function (ast) { - return visitor.visit(ast, context) || ast.visit(visitor, context); - } : function (ast) { - return ast.visit(visitor, context); - }; - asts.forEach(function (ast) { - var astResult = visit(ast); - - if (astResult) { - result.push(astResult); - } - }); - return result; -} -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - -var ProviderError = /*#__PURE__*/function (_ParseError4) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(ProviderError, _ParseError4); - - var _super92 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(ProviderError); - - function ProviderError(message, span) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, ProviderError); - - return _super92.call(this, span, message); - } - - return ProviderError; -}(ParseError); - -var ProviderViewContext = function ProviderViewContext(reflector, component) { - var _this137 = this; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, ProviderViewContext); - - this.reflector = reflector; - this.component = component; - this.errors = []; - this.viewQueries = _getViewQueries(component); - this.viewProviders = new Map(); - component.viewProviders.forEach(function (provider) { - if (_this137.viewProviders.get(tokenReference(provider.token)) == null) { - _this137.viewProviders.set(tokenReference(provider.token), true); - } - }); -}; - -var ProviderElementContext = /*#__PURE__*/function () { - function ProviderElementContext(viewContext, _parent, _isViewRoot, _directiveAsts, attrs, refs, isTemplate, contentQueryStartId, _sourceSpan) { - var _this138 = this; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, ProviderElementContext); - - this.viewContext = viewContext; - this._parent = _parent; - this._isViewRoot = _isViewRoot; - this._directiveAsts = _directiveAsts; - this._sourceSpan = _sourceSpan; - this._transformedProviders = new Map(); - this._seenProviders = new Map(); - this._queriedTokens = new Map(); - this.transformedHasViewContainer = false; - this._attrs = {}; - attrs.forEach(function (attrAst) { - return _this138._attrs[attrAst.name] = attrAst.value; - }); - - var directivesMeta = _directiveAsts.map(function (directiveAst) { - return directiveAst.directive; - }); - - this._allProviders = _resolveProvidersFromDirectives(directivesMeta, _sourceSpan, viewContext.errors); - this._contentQueries = _getContentQueries(contentQueryStartId, directivesMeta); - Array.from(this._allProviders.values()).forEach(function (provider) { - _this138._addQueryReadsTo(provider.token, provider.token, _this138._queriedTokens); - }); - - if (isTemplate) { - var templateRefId = createTokenForExternalReference(this.viewContext.reflector, Identifiers.TemplateRef); - - this._addQueryReadsTo(templateRefId, templateRefId, this._queriedTokens); - } - - refs.forEach(function (refAst) { - var defaultQueryValue = refAst.value || createTokenForExternalReference(_this138.viewContext.reflector, Identifiers.ElementRef); - - _this138._addQueryReadsTo({ - value: refAst.name - }, defaultQueryValue, _this138._queriedTokens); - }); - - if (this._queriedTokens.get(this.viewContext.reflector.resolveExternalReference(Identifiers.ViewContainerRef))) { - this.transformedHasViewContainer = true; - } // create the providers that we know are eager first - - - Array.from(this._allProviders.values()).forEach(function (provider) { - var eager = provider.eager || _this138._queriedTokens.get(tokenReference(provider.token)); - - if (eager) { - _this138._getOrCreateLocalProvider(provider.providerType, provider.token, true); - } - }); - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(ProviderElementContext, [{ - key: "afterElement", - value: function afterElement() { - var _this139 = this; - - // collect lazy providers - Array.from(this._allProviders.values()).forEach(function (provider) { - _this139._getOrCreateLocalProvider(provider.providerType, provider.token, false); - }); - } - }, { - key: "transformProviders", - get: function get() { - // Note: Maps keep their insertion order. - var lazyProviders = []; - var eagerProviders = []; - - this._transformedProviders.forEach(function (provider) { - if (provider.eager) { - eagerProviders.push(provider); - } else { - lazyProviders.push(provider); - } - }); - - return lazyProviders.concat(eagerProviders); - } - }, { - key: "transformedDirectiveAsts", - get: function get() { - var sortedProviderTypes = this.transformProviders.map(function (provider) { - return provider.token.identifier; - }); - - var sortedDirectives = this._directiveAsts.slice(); - - sortedDirectives.sort(function (dir1, dir2) { - return sortedProviderTypes.indexOf(dir1.directive.type) - sortedProviderTypes.indexOf(dir2.directive.type); - }); - return sortedDirectives; - } - }, { - key: "queryMatches", - get: function get() { - var allMatches = []; - - this._queriedTokens.forEach(function (matches) { - allMatches.push.apply(allMatches, Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_12__["default"])(matches)); - }); - - return allMatches; - } - }, { - key: "_addQueryReadsTo", - value: function _addQueryReadsTo(token, defaultValue, queryReadTokens) { - this._getQueriesFor(token).forEach(function (query) { - var queryValue = query.meta.read || defaultValue; - var tokenRef = tokenReference(queryValue); - var queryMatches = queryReadTokens.get(tokenRef); - - if (!queryMatches) { - queryMatches = []; - queryReadTokens.set(tokenRef, queryMatches); - } - - queryMatches.push({ - queryId: query.queryId, - value: queryValue - }); - }); - } - }, { - key: "_getQueriesFor", - value: function _getQueriesFor(token) { - var result = []; - var currentEl = this; - var distance = 0; - var queries; - - while (currentEl !== null) { - queries = currentEl._contentQueries.get(tokenReference(token)); - - if (queries) { - result.push.apply(result, Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_12__["default"])(queries.filter(function (query) { - return query.meta.descendants || distance <= 1; - }))); - } - - if (currentEl._directiveAsts.length > 0) { - distance++; - } - - currentEl = currentEl._parent; - } - - queries = this.viewContext.viewQueries.get(tokenReference(token)); - - if (queries) { - result.push.apply(result, Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_12__["default"])(queries)); - } - - return result; - } - }, { - key: "_getOrCreateLocalProvider", - value: function _getOrCreateLocalProvider(requestingProviderType, token, eager) { - var _this140 = this; - - var resolvedProvider = this._allProviders.get(tokenReference(token)); - - if (!resolvedProvider || (requestingProviderType === ProviderAstType.Directive || requestingProviderType === ProviderAstType.PublicService) && resolvedProvider.providerType === ProviderAstType.PrivateService || (requestingProviderType === ProviderAstType.PrivateService || requestingProviderType === ProviderAstType.PublicService) && resolvedProvider.providerType === ProviderAstType.Builtin) { - return null; - } - - var transformedProviderAst = this._transformedProviders.get(tokenReference(token)); - - if (transformedProviderAst) { - return transformedProviderAst; - } - - if (this._seenProviders.get(tokenReference(token)) != null) { - this.viewContext.errors.push(new ProviderError("Cannot instantiate cyclic dependency! ".concat(tokenName(token)), this._sourceSpan)); - return null; - } - - this._seenProviders.set(tokenReference(token), true); - - var transformedProviders = resolvedProvider.providers.map(function (provider) { - var transformedUseValue = provider.useValue; - var transformedUseExisting = provider.useExisting; - var transformedDeps = undefined; - - if (provider.useExisting != null) { - var existingDiDep = _this140._getDependency(resolvedProvider.providerType, { - token: provider.useExisting - }, eager); - - if (existingDiDep.token != null) { - transformedUseExisting = existingDiDep.token; - } else { - transformedUseExisting = null; - transformedUseValue = existingDiDep.value; - } - } else if (provider.useFactory) { - var deps = provider.deps || provider.useFactory.diDeps; - transformedDeps = deps.map(function (dep) { - return _this140._getDependency(resolvedProvider.providerType, dep, eager); - }); - } else if (provider.useClass) { - var _deps = provider.deps || provider.useClass.diDeps; - - transformedDeps = _deps.map(function (dep) { - return _this140._getDependency(resolvedProvider.providerType, dep, eager); - }); - } - - return _transformProvider(provider, { - useExisting: transformedUseExisting, - useValue: transformedUseValue, - deps: transformedDeps - }); - }); - transformedProviderAst = _transformProviderAst(resolvedProvider, { - eager: eager, - providers: transformedProviders - }); - - this._transformedProviders.set(tokenReference(token), transformedProviderAst); - - return transformedProviderAst; - } - }, { - key: "_getLocalDependency", - value: function _getLocalDependency(requestingProviderType, dep) { - var eager = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; - - if (dep.isAttribute) { - var attrValue = this._attrs[dep.token.value]; - return { - isValue: true, - value: attrValue == null ? null : attrValue - }; - } - - if (dep.token != null) { - // access builtints - if (requestingProviderType === ProviderAstType.Directive || requestingProviderType === ProviderAstType.Component) { - if (tokenReference(dep.token) === this.viewContext.reflector.resolveExternalReference(Identifiers.Renderer) || tokenReference(dep.token) === this.viewContext.reflector.resolveExternalReference(Identifiers.ElementRef) || tokenReference(dep.token) === this.viewContext.reflector.resolveExternalReference(Identifiers.ChangeDetectorRef) || tokenReference(dep.token) === this.viewContext.reflector.resolveExternalReference(Identifiers.TemplateRef)) { - return dep; - } - - if (tokenReference(dep.token) === this.viewContext.reflector.resolveExternalReference(Identifiers.ViewContainerRef)) { - this.transformedHasViewContainer = true; - } - } // access the injector - - - if (tokenReference(dep.token) === this.viewContext.reflector.resolveExternalReference(Identifiers.Injector)) { - return dep; - } // access providers - - - if (this._getOrCreateLocalProvider(requestingProviderType, dep.token, eager) != null) { - return dep; - } - } - - return null; - } - }, { - key: "_getDependency", - value: function _getDependency(requestingProviderType, dep) { - var eager = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; - var currElement = this; - var currEager = eager; - var result = null; - - if (!dep.isSkipSelf) { - result = this._getLocalDependency(requestingProviderType, dep, eager); - } - - if (dep.isSelf) { - if (!result && dep.isOptional) { - result = { - isValue: true, - value: null - }; - } - } else { - // check parent elements - while (!result && currElement._parent) { - var prevElement = currElement; - currElement = currElement._parent; - - if (prevElement._isViewRoot) { - currEager = false; - } - - result = currElement._getLocalDependency(ProviderAstType.PublicService, dep, currEager); - } // check @Host restriction - - - if (!result) { - if (!dep.isHost || this.viewContext.component.isHost || this.viewContext.component.type.reference === tokenReference(dep.token) || this.viewContext.viewProviders.get(tokenReference(dep.token)) != null) { - result = dep; - } else { - result = dep.isOptional ? { - isValue: true, - value: null - } : null; - } - } - } - - if (!result) { - this.viewContext.errors.push(new ProviderError("No provider for ".concat(tokenName(dep.token)), this._sourceSpan)); - } - - return result; - } - }]); - - return ProviderElementContext; -}(); - -var NgModuleProviderAnalyzer = /*#__PURE__*/function () { - function NgModuleProviderAnalyzer(reflector, ngModule, extraProviders, sourceSpan) { - var _this141 = this; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, NgModuleProviderAnalyzer); - - this.reflector = reflector; - this._transformedProviders = new Map(); - this._seenProviders = new Map(); - this._errors = []; - this._allProviders = new Map(); - ngModule.transitiveModule.modules.forEach(function (ngModuleType) { - var ngModuleProvider = { - token: { - identifier: ngModuleType - }, - useClass: ngModuleType - }; - - _resolveProviders([ngModuleProvider], ProviderAstType.PublicService, true, sourceSpan, _this141._errors, _this141._allProviders, - /* isModule */ - true); - }); - - _resolveProviders(ngModule.transitiveModule.providers.map(function (entry) { - return entry.provider; - }).concat(extraProviders), ProviderAstType.PublicService, false, sourceSpan, this._errors, this._allProviders, - /* isModule */ - false); - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(NgModuleProviderAnalyzer, [{ - key: "parse", - value: function parse() { - var _this142 = this; - - Array.from(this._allProviders.values()).forEach(function (provider) { - _this142._getOrCreateLocalProvider(provider.token, provider.eager); - }); - - if (this._errors.length > 0) { - var errorString = this._errors.join('\n'); - - throw new Error("Provider parse errors:\n".concat(errorString)); - } // Note: Maps keep their insertion order. - - - var lazyProviders = []; - var eagerProviders = []; - - this._transformedProviders.forEach(function (provider) { - if (provider.eager) { - eagerProviders.push(provider); - } else { - lazyProviders.push(provider); - } - }); - - return lazyProviders.concat(eagerProviders); - } - }, { - key: "_getOrCreateLocalProvider", - value: function _getOrCreateLocalProvider(token, eager) { - var _this143 = this; - - var resolvedProvider = this._allProviders.get(tokenReference(token)); - - if (!resolvedProvider) { - return null; - } - - var transformedProviderAst = this._transformedProviders.get(tokenReference(token)); - - if (transformedProviderAst) { - return transformedProviderAst; - } - - if (this._seenProviders.get(tokenReference(token)) != null) { - this._errors.push(new ProviderError("Cannot instantiate cyclic dependency! ".concat(tokenName(token)), resolvedProvider.sourceSpan)); - - return null; - } - - this._seenProviders.set(tokenReference(token), true); - - var transformedProviders = resolvedProvider.providers.map(function (provider) { - var transformedUseValue = provider.useValue; - var transformedUseExisting = provider.useExisting; - var transformedDeps = undefined; - - if (provider.useExisting != null) { - var existingDiDep = _this143._getDependency({ - token: provider.useExisting - }, eager, resolvedProvider.sourceSpan); - - if (existingDiDep.token != null) { - transformedUseExisting = existingDiDep.token; - } else { - transformedUseExisting = null; - transformedUseValue = existingDiDep.value; - } - } else if (provider.useFactory) { - var deps = provider.deps || provider.useFactory.diDeps; - transformedDeps = deps.map(function (dep) { - return _this143._getDependency(dep, eager, resolvedProvider.sourceSpan); - }); - } else if (provider.useClass) { - var _deps2 = provider.deps || provider.useClass.diDeps; - - transformedDeps = _deps2.map(function (dep) { - return _this143._getDependency(dep, eager, resolvedProvider.sourceSpan); - }); - } - - return _transformProvider(provider, { - useExisting: transformedUseExisting, - useValue: transformedUseValue, - deps: transformedDeps - }); - }); - transformedProviderAst = _transformProviderAst(resolvedProvider, { - eager: eager, - providers: transformedProviders - }); - - this._transformedProviders.set(tokenReference(token), transformedProviderAst); - - return transformedProviderAst; - } - }, { - key: "_getDependency", - value: function _getDependency(dep) { - var eager = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; - var requestorSourceSpan = arguments.length > 2 ? arguments[2] : undefined; - var foundLocal = false; - - if (!dep.isSkipSelf && dep.token != null) { - // access the injector - if (tokenReference(dep.token) === this.reflector.resolveExternalReference(Identifiers.Injector) || tokenReference(dep.token) === this.reflector.resolveExternalReference(Identifiers.ComponentFactoryResolver)) { - foundLocal = true; // access providers - } else if (this._getOrCreateLocalProvider(dep.token, eager) != null) { - foundLocal = true; - } - } - - return dep; - } - }]); - - return NgModuleProviderAnalyzer; -}(); - -function _transformProvider(provider, _ref11) { - var useExisting = _ref11.useExisting, - useValue = _ref11.useValue, - deps = _ref11.deps; - return { - token: provider.token, - useClass: provider.useClass, - useExisting: useExisting, - useFactory: provider.useFactory, - useValue: useValue, - deps: deps, - multi: provider.multi - }; -} - -function _transformProviderAst(provider, _ref12) { - var eager = _ref12.eager, - providers = _ref12.providers; - return new ProviderAst(provider.token, provider.multiProvider, provider.eager || eager, providers, provider.providerType, provider.lifecycleHooks, provider.sourceSpan, provider.isModule); -} - -function _resolveProvidersFromDirectives(directives, sourceSpan, targetErrors) { - var providersByToken = new Map(); - directives.forEach(function (directive) { - var dirProvider = { - token: { - identifier: directive.type - }, - useClass: directive.type - }; - - _resolveProviders([dirProvider], directive.isComponent ? ProviderAstType.Component : ProviderAstType.Directive, true, sourceSpan, targetErrors, providersByToken, - /* isModule */ - false); - }); // Note: directives need to be able to overwrite providers of a component! - - var directivesWithComponentFirst = directives.filter(function (dir) { - return dir.isComponent; - }).concat(directives.filter(function (dir) { - return !dir.isComponent; - })); - directivesWithComponentFirst.forEach(function (directive) { - _resolveProviders(directive.providers, ProviderAstType.PublicService, false, sourceSpan, targetErrors, providersByToken, - /* isModule */ - false); - - _resolveProviders(directive.viewProviders, ProviderAstType.PrivateService, false, sourceSpan, targetErrors, providersByToken, - /* isModule */ - false); - }); - return providersByToken; -} - -function _resolveProviders(providers, providerType, eager, sourceSpan, targetErrors, targetProvidersByToken, isModule) { - providers.forEach(function (provider) { - var resolvedProvider = targetProvidersByToken.get(tokenReference(provider.token)); - - if (resolvedProvider != null && !!resolvedProvider.multiProvider !== !!provider.multi) { - targetErrors.push(new ProviderError("Mixing multi and non multi provider is not possible for token ".concat(tokenName(resolvedProvider.token)), sourceSpan)); - } - - if (!resolvedProvider) { - var lifecycleHooks = provider.token.identifier && provider.token.identifier.lifecycleHooks ? provider.token.identifier.lifecycleHooks : []; - var isUseValue = !(provider.useClass || provider.useExisting || provider.useFactory); - resolvedProvider = new ProviderAst(provider.token, !!provider.multi, eager || isUseValue, [provider], providerType, lifecycleHooks, sourceSpan, isModule); - targetProvidersByToken.set(tokenReference(provider.token), resolvedProvider); - } else { - if (!provider.multi) { - resolvedProvider.providers.length = 0; - } - - resolvedProvider.providers.push(provider); - } - }); -} - -function _getViewQueries(component) { - // Note: queries start with id 1 so we can use the number in a Bloom filter! - var viewQueryId = 1; - var viewQueries = new Map(); - - if (component.viewQueries) { - component.viewQueries.forEach(function (query) { - return _addQueryToTokenMap(viewQueries, { - meta: query, - queryId: viewQueryId++ - }); - }); - } - - return viewQueries; -} - -function _getContentQueries(contentQueryStartId, directives) { - var contentQueryId = contentQueryStartId; - var contentQueries = new Map(); - directives.forEach(function (directive, directiveIndex) { - if (directive.queries) { - directive.queries.forEach(function (query) { - return _addQueryToTokenMap(contentQueries, { - meta: query, - queryId: contentQueryId++ - }); - }); - } - }); - return contentQueries; -} - -function _addQueryToTokenMap(map, query) { - query.meta.selectors.forEach(function (token) { - var entry = map.get(tokenReference(token)); - - if (!entry) { - entry = []; - map.set(tokenReference(token), entry); - } - - entry.push(query); - }); -} -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - -var StyleWithImports = function StyleWithImports(style, styleUrls) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, StyleWithImports); - - this.style = style; - this.styleUrls = styleUrls; -}; - -function isStyleUrlResolvable(url) { - if (url == null || url.length === 0 || url[0] == '/') return false; - var schemeMatch = url.match(URL_WITH_SCHEMA_REGEXP); - return schemeMatch === null || schemeMatch[1] == 'package' || schemeMatch[1] == 'asset'; -} -/** - * Rewrites stylesheets by resolving and removing the @import urls that - * are either relative or don't have a `package:` scheme - */ - - -function extractStyleUrls(resolver, baseUrl, cssText) { - var foundUrls = []; - var modifiedCssText = cssText.replace(CSS_STRIPPABLE_COMMENT_REGEXP, '').replace(CSS_IMPORT_REGEXP, function () { - var url = (arguments.length <= 1 ? undefined : arguments[1]) || (arguments.length <= 2 ? undefined : arguments[2]); - - if (!isStyleUrlResolvable(url)) { - // Do not attempt to resolve non-package absolute URLs with URI - // scheme - return arguments.length <= 0 ? undefined : arguments[0]; - } - - foundUrls.push(resolver.resolve(baseUrl, url)); - return ''; - }); - return new StyleWithImports(modifiedCssText, foundUrls); -} - -var CSS_IMPORT_REGEXP = /@import\s+(?:url\()?\s*(?:(?:['"]([^'"]*))|([^;\)\s]*))[^;]*;?/g; -var CSS_STRIPPABLE_COMMENT_REGEXP = /\/\*(?!#\s*(?:sourceURL|sourceMappingURL)=)[\s\S]+?\*\//g; -var URL_WITH_SCHEMA_REGEXP = /^([^:/?#]+):/; -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - -var PROPERTY_PARTS_SEPARATOR = '.'; -var ATTRIBUTE_PREFIX = 'attr'; -var CLASS_PREFIX = 'class'; -var STYLE_PREFIX = 'style'; -var TEMPLATE_ATTR_PREFIX = '*'; -var ANIMATE_PROP_PREFIX = 'animate-'; -/** - * Parses bindings in templates and in the directive host area. - */ - -var BindingParser = /*#__PURE__*/function () { - function BindingParser(_exprParser, _interpolationConfig, _schemaRegistry, pipes, errors) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, BindingParser); - - this._exprParser = _exprParser; - this._interpolationConfig = _interpolationConfig; - this._schemaRegistry = _schemaRegistry; - this.errors = errors; - this.pipesByName = null; - this._usedPipes = new Map(); // When the `pipes` parameter is `null`, do not check for used pipes - // This is used in IVY when we might not know the available pipes at compile time - - if (pipes) { - var pipesByName = new Map(); - pipes.forEach(function (pipe) { - return pipesByName.set(pipe.name, pipe); - }); - this.pipesByName = pipesByName; - } - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(BindingParser, [{ - key: "interpolationConfig", - get: function get() { - return this._interpolationConfig; - } - }, { - key: "getUsedPipes", - value: function getUsedPipes() { - return Array.from(this._usedPipes.values()); - } - }, { - key: "createBoundHostProperties", - value: function createBoundHostProperties(dirMeta, sourceSpan) { - var _this144 = this; - - if (dirMeta.hostProperties) { - var boundProps = []; - Object.keys(dirMeta.hostProperties).forEach(function (propName) { - var expression = dirMeta.hostProperties[propName]; - - if (typeof expression === 'string') { - _this144.parsePropertyBinding(propName, expression, true, sourceSpan, sourceSpan.start.offset, undefined, [], // Use the `sourceSpan` for `keySpan`. This isn't really accurate, but neither is the - // sourceSpan, as it represents the sourceSpan of the host itself rather than the - // source of the host binding (which doesn't exist in the template). Regardless, - // neither of these values are used in Ivy but are only here to satisfy the function - // signature. This should likely be refactored in the future so that `sourceSpan` - // isn't being used inaccurately. - boundProps, sourceSpan); - } else { - _this144._reportError("Value of the host property binding \"".concat(propName, "\" needs to be a string representing an expression but got \"").concat(expression, "\" (").concat(typeof expression, ")"), sourceSpan); - } - }); - return boundProps; - } - - return null; - } - }, { - key: "createDirectiveHostPropertyAsts", - value: function createDirectiveHostPropertyAsts(dirMeta, elementSelector, sourceSpan) { - var _this145 = this; - - var boundProps = this.createBoundHostProperties(dirMeta, sourceSpan); - return boundProps && boundProps.map(function (prop) { - return _this145.createBoundElementProperty(elementSelector, prop); - }); - } - }, { - key: "createDirectiveHostEventAsts", - value: function createDirectiveHostEventAsts(dirMeta, sourceSpan) { - var _this146 = this; - - if (dirMeta.hostListeners) { - var targetEvents = []; - Object.keys(dirMeta.hostListeners).forEach(function (propName) { - var expression = dirMeta.hostListeners[propName]; - - if (typeof expression === 'string') { - // Use the `sourceSpan` for `keySpan` and `handlerSpan`. This isn't really accurate, but - // neither is the `sourceSpan`, as it represents the `sourceSpan` of the host itself - // rather than the source of the host binding (which doesn't exist in the template). - // Regardless, neither of these values are used in Ivy but are only here to satisfy the - // function signature. This should likely be refactored in the future so that `sourceSpan` - // isn't being used inaccurately. - _this146.parseEvent(propName, expression, sourceSpan, sourceSpan, [], targetEvents, sourceSpan); - } else { - _this146._reportError("Value of the host listener \"".concat(propName, "\" needs to be a string representing an expression but got \"").concat(expression, "\" (").concat(typeof expression, ")"), sourceSpan); - } - }); - return targetEvents; - } - - return null; - } - }, { - key: "parseInterpolation", - value: function parseInterpolation(value, sourceSpan) { - var sourceInfo = sourceSpan.start.toString(); - var absoluteOffset = sourceSpan.fullStart.offset; - - try { - var ast = this._exprParser.parseInterpolation(value, sourceInfo, absoluteOffset, this._interpolationConfig); - - if (ast) this._reportExpressionParserErrors(ast.errors, sourceSpan); - - this._checkPipes(ast, sourceSpan); - - return ast; - } catch (e) { - this._reportError("".concat(e), sourceSpan); - - return this._exprParser.wrapLiteralPrimitive('ERROR', sourceInfo, absoluteOffset); - } - } - /** - * Similar to `parseInterpolation`, but treats the provided string as a single expression - * element that would normally appear within the interpolation prefix and suffix (`{{` and `}}`). - * This is used for parsing the switch expression in ICUs. - */ - - }, { - key: "parseInterpolationExpression", - value: function parseInterpolationExpression(expression, sourceSpan) { - var sourceInfo = sourceSpan.start.toString(); - var absoluteOffset = sourceSpan.start.offset; - - try { - var ast = this._exprParser.parseInterpolationExpression(expression, sourceInfo, absoluteOffset); - - if (ast) this._reportExpressionParserErrors(ast.errors, sourceSpan); - - this._checkPipes(ast, sourceSpan); - - return ast; - } catch (e) { - this._reportError("".concat(e), sourceSpan); - - return this._exprParser.wrapLiteralPrimitive('ERROR', sourceInfo, absoluteOffset); - } - } - /** - * Parses the bindings in a microsyntax expression, and converts them to - * `ParsedProperty` or `ParsedVariable`. - * - * @param tplKey template binding name - * @param tplValue template binding value - * @param sourceSpan span of template binding relative to entire the template - * @param absoluteValueOffset start of the tplValue relative to the entire template - * @param targetMatchableAttrs potential attributes to match in the template - * @param targetProps target property bindings in the template - * @param targetVars target variables in the template - */ - - }, { - key: "parseInlineTemplateBinding", - value: function parseInlineTemplateBinding(tplKey, tplValue, sourceSpan, absoluteValueOffset, targetMatchableAttrs, targetProps, targetVars, isIvyAst) { - var absoluteKeyOffset = sourceSpan.start.offset + TEMPLATE_ATTR_PREFIX.length; - - var bindings = this._parseTemplateBindings(tplKey, tplValue, sourceSpan, absoluteKeyOffset, absoluteValueOffset); - - var _iterator10 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createForOfIteratorHelper__WEBPACK_IMPORTED_MODULE_7__["default"])(bindings), - _step10; - - try { - for (_iterator10.s(); !(_step10 = _iterator10.n()).done;) { - var binding = _step10.value; - // sourceSpan is for the entire HTML attribute. bindingSpan is for a particular - // binding within the microsyntax expression so it's more narrow than sourceSpan. - var bindingSpan = moveParseSourceSpan(sourceSpan, binding.sourceSpan); - var key = binding.key.source; - var keySpan = moveParseSourceSpan(sourceSpan, binding.key.span); - - if (binding instanceof VariableBinding) { - var value = binding.value ? binding.value.source : '$implicit'; - var valueSpan = binding.value ? moveParseSourceSpan(sourceSpan, binding.value.span) : undefined; - targetVars.push(new ParsedVariable(key, value, bindingSpan, keySpan, valueSpan)); - } else if (binding.value) { - var srcSpan = isIvyAst ? bindingSpan : sourceSpan; - - var _valueSpan = moveParseSourceSpan(sourceSpan, binding.value.ast.sourceSpan); - - this._parsePropertyAst(key, binding.value, srcSpan, keySpan, _valueSpan, targetMatchableAttrs, targetProps); - } else { - targetMatchableAttrs.push([key, '' - /* value */ - ]); // Since this is a literal attribute with no RHS, source span should be - // just the key span. - - this.parseLiteralAttr(key, null - /* value */ - , keySpan, absoluteValueOffset, undefined - /* valueSpan */ - , targetMatchableAttrs, targetProps, keySpan); - } - } - } catch (err) { - _iterator10.e(err); - } finally { - _iterator10.f(); - } - } - /** - * Parses the bindings in a microsyntax expression, e.g. - * ``` - * - * ``` - * - * @param tplKey template binding name - * @param tplValue template binding value - * @param sourceSpan span of template binding relative to entire the template - * @param absoluteKeyOffset start of the `tplKey` - * @param absoluteValueOffset start of the `tplValue` - */ - - }, { - key: "_parseTemplateBindings", - value: function _parseTemplateBindings(tplKey, tplValue, sourceSpan, absoluteKeyOffset, absoluteValueOffset) { - var _this147 = this; - - var sourceInfo = sourceSpan.start.toString(); - - try { - var bindingsResult = this._exprParser.parseTemplateBindings(tplKey, tplValue, sourceInfo, absoluteKeyOffset, absoluteValueOffset); - - this._reportExpressionParserErrors(bindingsResult.errors, sourceSpan); - - bindingsResult.templateBindings.forEach(function (binding) { - if (binding.value instanceof ASTWithSource) { - _this147._checkPipes(binding.value, sourceSpan); - } - }); - bindingsResult.warnings.forEach(function (warning) { - _this147._reportError(warning, sourceSpan, ParseErrorLevel.WARNING); - }); - return bindingsResult.templateBindings; - } catch (e) { - this._reportError("".concat(e), sourceSpan); - - return []; - } - } - }, { - key: "parseLiteralAttr", - value: function parseLiteralAttr(name, value, sourceSpan, absoluteOffset, valueSpan, targetMatchableAttrs, // TODO(atscott): keySpan is only optional here so VE template parser implementation does not - // have to change This should be required when VE is removed. - targetProps, keySpan) { - if (isAnimationLabel(name)) { - name = name.substring(1); - - if (keySpan !== undefined) { - keySpan = moveParseSourceSpan(keySpan, new AbsoluteSourceSpan(keySpan.start.offset + 1, keySpan.end.offset)); - } - - if (value) { - this._reportError("Assigning animation triggers via @prop=\"exp\" attributes with an expression is invalid." + " Use property bindings (e.g. [@prop]=\"exp\") or use an attribute without a value (e.g. @prop) instead.", sourceSpan, ParseErrorLevel.ERROR); - } - - this._parseAnimation(name, value, sourceSpan, absoluteOffset, keySpan, valueSpan, targetMatchableAttrs, targetProps); - } else { - targetProps.push(new ParsedProperty(name, this._exprParser.wrapLiteralPrimitive(value, '', absoluteOffset), ParsedPropertyType.LITERAL_ATTR, sourceSpan, keySpan, valueSpan)); - } - } - }, { - key: "parsePropertyBinding", - value: function parsePropertyBinding(name, expression, isHost, sourceSpan, absoluteOffset, valueSpan, // TODO(atscott): keySpan is only optional here so VE template parser implementation does not - // have to change This should be required when VE is removed. - targetMatchableAttrs, targetProps, keySpan) { - if (name.length === 0) { - this._reportError("Property name is missing in binding", sourceSpan); - } - - var isAnimationProp = false; - - if (name.startsWith(ANIMATE_PROP_PREFIX)) { - isAnimationProp = true; - name = name.substring(ANIMATE_PROP_PREFIX.length); - - if (keySpan !== undefined) { - keySpan = moveParseSourceSpan(keySpan, new AbsoluteSourceSpan(keySpan.start.offset + ANIMATE_PROP_PREFIX.length, keySpan.end.offset)); - } - } else if (isAnimationLabel(name)) { - isAnimationProp = true; - name = name.substring(1); - - if (keySpan !== undefined) { - keySpan = moveParseSourceSpan(keySpan, new AbsoluteSourceSpan(keySpan.start.offset + 1, keySpan.end.offset)); - } - } - - if (isAnimationProp) { - this._parseAnimation(name, expression, sourceSpan, absoluteOffset, keySpan, valueSpan, targetMatchableAttrs, targetProps); - } else { - this._parsePropertyAst(name, this._parseBinding(expression, isHost, valueSpan || sourceSpan, absoluteOffset), sourceSpan, keySpan, valueSpan, targetMatchableAttrs, targetProps); - } - } - }, { - key: "parsePropertyInterpolation", - value: function parsePropertyInterpolation(name, value, sourceSpan, valueSpan, targetMatchableAttrs, // TODO(atscott): keySpan is only optional here so VE template parser implementation does not - // have to change This should be required when VE is removed. - targetProps, keySpan) { - var expr = this.parseInterpolation(value, valueSpan || sourceSpan); - - if (expr) { - this._parsePropertyAst(name, expr, sourceSpan, keySpan, valueSpan, targetMatchableAttrs, targetProps); - - return true; - } - - return false; - } - }, { - key: "_parsePropertyAst", - value: function _parsePropertyAst(name, ast, sourceSpan, keySpan, valueSpan, targetMatchableAttrs, targetProps) { - targetMatchableAttrs.push([name, ast.source]); - targetProps.push(new ParsedProperty(name, ast, ParsedPropertyType.DEFAULT, sourceSpan, keySpan, valueSpan)); - } - }, { - key: "_parseAnimation", - value: function _parseAnimation(name, expression, sourceSpan, absoluteOffset, keySpan, valueSpan, targetMatchableAttrs, targetProps) { - if (name.length === 0) { - this._reportError('Animation trigger is missing', sourceSpan); - } // This will occur when a @trigger is not paired with an expression. - // For animations it is valid to not have an expression since */void - // states will be applied by angular when the element is attached/detached - - - var ast = this._parseBinding(expression || 'undefined', false, valueSpan || sourceSpan, absoluteOffset); - - targetMatchableAttrs.push([name, ast.source]); - targetProps.push(new ParsedProperty(name, ast, ParsedPropertyType.ANIMATION, sourceSpan, keySpan, valueSpan)); - } - }, { - key: "_parseBinding", - value: function _parseBinding(value, isHostBinding, sourceSpan, absoluteOffset) { - var sourceInfo = (sourceSpan && sourceSpan.start || '(unknown)').toString(); - - try { - var ast = isHostBinding ? this._exprParser.parseSimpleBinding(value, sourceInfo, absoluteOffset, this._interpolationConfig) : this._exprParser.parseBinding(value, sourceInfo, absoluteOffset, this._interpolationConfig); - if (ast) this._reportExpressionParserErrors(ast.errors, sourceSpan); - - this._checkPipes(ast, sourceSpan); - - return ast; - } catch (e) { - this._reportError("".concat(e), sourceSpan); - - return this._exprParser.wrapLiteralPrimitive('ERROR', sourceInfo, absoluteOffset); - } - } - }, { - key: "createBoundElementProperty", - value: function createBoundElementProperty(elementSelector, boundProp) { - var skipValidation = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; - var mapPropertyName = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true; - - if (boundProp.isAnimation) { - return new BoundElementProperty(boundProp.name, 4 - /* Animation */ - , SecurityContext.NONE, boundProp.expression, null, boundProp.sourceSpan, boundProp.keySpan, boundProp.valueSpan); - } - - var unit = null; - var bindingType = undefined; - var boundPropertyName = null; - var parts = boundProp.name.split(PROPERTY_PARTS_SEPARATOR); - var securityContexts = undefined; // Check for special cases (prefix style, attr, class) - - if (parts.length > 1) { - if (parts[0] == ATTRIBUTE_PREFIX) { - boundPropertyName = parts.slice(1).join(PROPERTY_PARTS_SEPARATOR); - - if (!skipValidation) { - this._validatePropertyOrAttributeName(boundPropertyName, boundProp.sourceSpan, true); - } - - securityContexts = _calcPossibleSecurityContexts(this._schemaRegistry, elementSelector, boundPropertyName, true); - var nsSeparatorIdx = boundPropertyName.indexOf(':'); - - if (nsSeparatorIdx > -1) { - var ns = boundPropertyName.substring(0, nsSeparatorIdx); - var name = boundPropertyName.substring(nsSeparatorIdx + 1); - boundPropertyName = mergeNsAndName(ns, name); - } - - bindingType = 1 - /* Attribute */ - ; - } else if (parts[0] == CLASS_PREFIX) { - boundPropertyName = parts[1]; - bindingType = 2 - /* Class */ - ; - securityContexts = [SecurityContext.NONE]; - } else if (parts[0] == STYLE_PREFIX) { - unit = parts.length > 2 ? parts[2] : null; - boundPropertyName = parts[1]; - bindingType = 3 - /* Style */ - ; - securityContexts = [SecurityContext.STYLE]; - } - } // If not a special case, use the full property name - - - if (boundPropertyName === null) { - var mappedPropName = this._schemaRegistry.getMappedPropName(boundProp.name); - - boundPropertyName = mapPropertyName ? mappedPropName : boundProp.name; - securityContexts = _calcPossibleSecurityContexts(this._schemaRegistry, elementSelector, mappedPropName, false); - bindingType = 0 - /* Property */ - ; - - if (!skipValidation) { - this._validatePropertyOrAttributeName(mappedPropName, boundProp.sourceSpan, false); - } - } - - return new BoundElementProperty(boundPropertyName, bindingType, securityContexts[0], boundProp.expression, unit, boundProp.sourceSpan, boundProp.keySpan, boundProp.valueSpan); - } // TODO: keySpan should be required but was made optional to avoid changing VE parser. - - }, { - key: "parseEvent", - value: function parseEvent(name, expression, sourceSpan, handlerSpan, targetMatchableAttrs, targetEvents, keySpan) { - if (name.length === 0) { - this._reportError("Event name is missing in binding", sourceSpan); - } - - if (isAnimationLabel(name)) { - name = name.substr(1); - - if (keySpan !== undefined) { - keySpan = moveParseSourceSpan(keySpan, new AbsoluteSourceSpan(keySpan.start.offset + 1, keySpan.end.offset)); - } - - this._parseAnimationEvent(name, expression, sourceSpan, handlerSpan, targetEvents, keySpan); - } else { - this._parseRegularEvent(name, expression, sourceSpan, handlerSpan, targetMatchableAttrs, targetEvents, keySpan); - } - } - }, { - key: "calcPossibleSecurityContexts", - value: function calcPossibleSecurityContexts(selector, propName, isAttribute) { - var prop = this._schemaRegistry.getMappedPropName(propName); - - return _calcPossibleSecurityContexts(this._schemaRegistry, selector, prop, isAttribute); - } - }, { - key: "_parseAnimationEvent", - value: function _parseAnimationEvent(name, expression, sourceSpan, handlerSpan, targetEvents, keySpan) { - var matches = splitAtPeriod(name, [name, '']); - var eventName = matches[0]; - var phase = matches[1].toLowerCase(); - - var ast = this._parseAction(expression, handlerSpan); - - targetEvents.push(new ParsedEvent(eventName, phase, 1 - /* Animation */ - , ast, sourceSpan, handlerSpan, keySpan)); - - if (eventName.length === 0) { - this._reportError("Animation event name is missing in binding", sourceSpan); - } - - if (phase) { - if (phase !== 'start' && phase !== 'done') { - this._reportError("The provided animation output phase value \"".concat(phase, "\" for \"@").concat(eventName, "\" is not supported (use start or done)"), sourceSpan); - } - } else { - this._reportError("The animation trigger output event (@".concat(eventName, ") is missing its phase value name (start or done are currently supported)"), sourceSpan); - } - } - }, { - key: "_parseRegularEvent", - value: function _parseRegularEvent(name, expression, sourceSpan, handlerSpan, targetMatchableAttrs, targetEvents, keySpan) { - // long format: 'target: eventName' - var _splitAtColon3 = splitAtColon(name, [null, name]), - _splitAtColon4 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_5__["default"])(_splitAtColon3, 2), - target = _splitAtColon4[0], - eventName = _splitAtColon4[1]; - - var ast = this._parseAction(expression, handlerSpan); - - targetMatchableAttrs.push([name, ast.source]); - targetEvents.push(new ParsedEvent(eventName, target, 0 - /* Regular */ - , ast, sourceSpan, handlerSpan, keySpan)); // Don't detect directives for event names for now, - // so don't add the event name to the matchableAttrs - } - }, { - key: "_parseAction", - value: function _parseAction(value, sourceSpan) { - var sourceInfo = (sourceSpan && sourceSpan.start || '(unknown').toString(); - var absoluteOffset = sourceSpan && sourceSpan.start ? sourceSpan.start.offset : 0; - - try { - var ast = this._exprParser.parseAction(value, sourceInfo, absoluteOffset, this._interpolationConfig); - - if (ast) { - this._reportExpressionParserErrors(ast.errors, sourceSpan); - } - - if (!ast || ast.ast instanceof EmptyExpr) { - this._reportError("Empty expressions are not allowed", sourceSpan); - - return this._exprParser.wrapLiteralPrimitive('ERROR', sourceInfo, absoluteOffset); - } - - this._checkPipes(ast, sourceSpan); - - return ast; - } catch (e) { - this._reportError("".concat(e), sourceSpan); - - return this._exprParser.wrapLiteralPrimitive('ERROR', sourceInfo, absoluteOffset); - } - } - }, { - key: "_reportError", - value: function _reportError(message, sourceSpan) { - var level = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : ParseErrorLevel.ERROR; - this.errors.push(new ParseError(sourceSpan, message, level)); - } - }, { - key: "_reportExpressionParserErrors", - value: function _reportExpressionParserErrors(errors, sourceSpan) { - var _iterator11 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createForOfIteratorHelper__WEBPACK_IMPORTED_MODULE_7__["default"])(errors), - _step11; - - try { - for (_iterator11.s(); !(_step11 = _iterator11.n()).done;) { - var _error = _step11.value; - - this._reportError(_error.message, sourceSpan); - } - } catch (err) { - _iterator11.e(err); - } finally { - _iterator11.f(); - } - } // Make sure all the used pipes are known in `this.pipesByName` - - }, { - key: "_checkPipes", - value: function _checkPipes(ast, sourceSpan) { - var _this148 = this; - - if (ast && this.pipesByName) { - var collector = new PipeCollector(); - ast.visit(collector); - collector.pipes.forEach(function (ast, pipeName) { - var pipeMeta = _this148.pipesByName.get(pipeName); - - if (!pipeMeta) { - _this148._reportError("The pipe '".concat(pipeName, "' could not be found"), new ParseSourceSpan(sourceSpan.start.moveBy(ast.span.start), sourceSpan.start.moveBy(ast.span.end))); - } else { - _this148._usedPipes.set(pipeName, pipeMeta); - } - }); - } - } - /** - * @param propName the name of the property / attribute - * @param sourceSpan - * @param isAttr true when binding to an attribute - */ - - }, { - key: "_validatePropertyOrAttributeName", - value: function _validatePropertyOrAttributeName(propName, sourceSpan, isAttr) { - var report = isAttr ? this._schemaRegistry.validateAttribute(propName) : this._schemaRegistry.validateProperty(propName); - - if (report.error) { - this._reportError(report.msg, sourceSpan, ParseErrorLevel.ERROR); - } - } - }]); - - return BindingParser; -}(); - -var PipeCollector = /*#__PURE__*/function (_RecursiveAstVisitor$) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(PipeCollector, _RecursiveAstVisitor$); - - var _super93 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(PipeCollector); - - function PipeCollector() { - var _this149; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, PipeCollector); - - _this149 = _super93.apply(this, arguments); - _this149.pipes = new Map(); - return _this149; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(PipeCollector, [{ - key: "visitPipe", - value: function visitPipe(ast, context) { - this.pipes.set(ast.name, ast); - ast.exp.visit(this); - this.visitAll(ast.args, context); - return null; - } - }]); - - return PipeCollector; -}(RecursiveAstVisitor$1); - -function isAnimationLabel(name) { - return name[0] == '@'; -} - -function _calcPossibleSecurityContexts(registry, selector, propName, isAttribute) { - var ctxs = []; - CssSelector.parse(selector).forEach(function (selector) { - var elementNames = selector.element ? [selector.element] : registry.allKnownElementNames(); - var notElementNames = new Set(selector.notSelectors.filter(function (selector) { - return selector.isElementSelector(); - }).map(function (selector) { - return selector.element; - })); - var possibleElementNames = elementNames.filter(function (elementName) { - return !notElementNames.has(elementName); - }); - ctxs.push.apply(ctxs, Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_12__["default"])(possibleElementNames.map(function (elementName) { - return registry.securityContext(elementName, propName, isAttribute); - }))); - }); - return ctxs.length === 0 ? [SecurityContext.NONE] : Array.from(new Set(ctxs)).sort(); -} -/** - * Compute a new ParseSourceSpan based off an original `sourceSpan` by using - * absolute offsets from the specified `absoluteSpan`. - * - * @param sourceSpan original source span - * @param absoluteSpan absolute source span to move to - */ - - -function moveParseSourceSpan(sourceSpan, absoluteSpan) { - // The difference of two absolute offsets provide the relative offset - var startDiff = absoluteSpan.start - sourceSpan.start.offset; - var endDiff = absoluteSpan.end - sourceSpan.end.offset; - return new ParseSourceSpan(sourceSpan.start.moveBy(startDiff), sourceSpan.end.moveBy(endDiff), sourceSpan.fullStart.moveBy(startDiff), sourceSpan.details); -} -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - -var NG_CONTENT_SELECT_ATTR = 'select'; -var LINK_ELEMENT = 'link'; -var LINK_STYLE_REL_ATTR = 'rel'; -var LINK_STYLE_HREF_ATTR = 'href'; -var LINK_STYLE_REL_VALUE = 'stylesheet'; -var STYLE_ELEMENT = 'style'; -var SCRIPT_ELEMENT = 'script'; -var NG_NON_BINDABLE_ATTR = 'ngNonBindable'; -var NG_PROJECT_AS = 'ngProjectAs'; - -function preparseElement(ast) { - var selectAttr = null; - var hrefAttr = null; - var relAttr = null; - var nonBindable = false; - var projectAs = ''; - ast.attrs.forEach(function (attr) { - var lcAttrName = attr.name.toLowerCase(); - - if (lcAttrName == NG_CONTENT_SELECT_ATTR) { - selectAttr = attr.value; - } else if (lcAttrName == LINK_STYLE_HREF_ATTR) { - hrefAttr = attr.value; - } else if (lcAttrName == LINK_STYLE_REL_ATTR) { - relAttr = attr.value; - } else if (attr.name == NG_NON_BINDABLE_ATTR) { - nonBindable = true; - } else if (attr.name == NG_PROJECT_AS) { - if (attr.value.length > 0) { - projectAs = attr.value; - } - } - }); - selectAttr = normalizeNgContentSelect(selectAttr); - var nodeName = ast.name.toLowerCase(); - var type = PreparsedElementType.OTHER; - - if (isNgContent(nodeName)) { - type = PreparsedElementType.NG_CONTENT; - } else if (nodeName == STYLE_ELEMENT) { - type = PreparsedElementType.STYLE; - } else if (nodeName == SCRIPT_ELEMENT) { - type = PreparsedElementType.SCRIPT; - } else if (nodeName == LINK_ELEMENT && relAttr == LINK_STYLE_REL_VALUE) { - type = PreparsedElementType.STYLESHEET; - } - - return new PreparsedElement(type, selectAttr, hrefAttr, nonBindable, projectAs); -} - -var PreparsedElementType; - -(function (PreparsedElementType) { - PreparsedElementType[PreparsedElementType["NG_CONTENT"] = 0] = "NG_CONTENT"; - PreparsedElementType[PreparsedElementType["STYLE"] = 1] = "STYLE"; - PreparsedElementType[PreparsedElementType["STYLESHEET"] = 2] = "STYLESHEET"; - PreparsedElementType[PreparsedElementType["SCRIPT"] = 3] = "SCRIPT"; - PreparsedElementType[PreparsedElementType["OTHER"] = 4] = "OTHER"; -})(PreparsedElementType || (PreparsedElementType = {})); - -var PreparsedElement = function PreparsedElement(type, selectAttr, hrefAttr, nonBindable, projectAs) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, PreparsedElement); - - this.type = type; - this.selectAttr = selectAttr; - this.hrefAttr = hrefAttr; - this.nonBindable = nonBindable; - this.projectAs = projectAs; -}; - -function normalizeNgContentSelect(selectAttr) { - if (selectAttr === null || selectAttr.length === 0) { - return '*'; - } - - return selectAttr; -} -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - - -var BIND_NAME_REGEXP = /^(?:(?:(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*))|\[\(([^\)]+)\)\]|\[([^\]]+)\]|\(([^\)]+)\))$/; // Group 1 = "bind-" - -var KW_BIND_IDX = 1; // Group 2 = "let-" - -var KW_LET_IDX = 2; // Group 3 = "ref-/#" - -var KW_REF_IDX = 3; // Group 4 = "on-" - -var KW_ON_IDX = 4; // Group 5 = "bindon-" - -var KW_BINDON_IDX = 5; // Group 6 = "@" - -var KW_AT_IDX = 6; // Group 7 = the identifier after "bind-", "let-", "ref-/#", "on-", "bindon-" or "@" - -var IDENT_KW_IDX = 7; // Group 8 = identifier inside [()] - -var IDENT_BANANA_BOX_IDX = 8; // Group 9 = identifier inside [] - -var IDENT_PROPERTY_IDX = 9; // Group 10 = identifier inside () - -var IDENT_EVENT_IDX = 10; -var TEMPLATE_ATTR_PREFIX$1 = '*'; -var CLASS_ATTR = 'class'; - -var _TEXT_CSS_SELECTOR; - -function TEXT_CSS_SELECTOR() { - if (!_TEXT_CSS_SELECTOR) { - _TEXT_CSS_SELECTOR = CssSelector.parse('*')[0]; - } - - return _TEXT_CSS_SELECTOR; -} - -var TemplateParseError = /*#__PURE__*/function (_ParseError5) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_10__["default"])(TemplateParseError, _ParseError5); - - var _super94 = Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_11__["default"])(TemplateParseError); - - function TemplateParseError(message, span, level) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, TemplateParseError); - - return _super94.call(this, span, message, level); - } - - return TemplateParseError; -}(ParseError); - -var TemplateParseResult = function TemplateParseResult(templateAst, usedPipes, errors) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, TemplateParseResult); - - this.templateAst = templateAst; - this.usedPipes = usedPipes; - this.errors = errors; -}; - -var TemplateParser = /*#__PURE__*/function () { - function TemplateParser(_config, _reflector, _exprParser, _schemaRegistry, _htmlParser, _console, transforms) { - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, TemplateParser); - - this._config = _config; - this._reflector = _reflector; - this._exprParser = _exprParser; - this._schemaRegistry = _schemaRegistry; - this._htmlParser = _htmlParser; - this._console = _console; - this.transforms = transforms; - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(TemplateParser, [{ - key: "expressionParser", - get: function get() { - return this._exprParser; - } - }, { - key: "parse", - value: function parse(component, template, directives, pipes, schemas, templateUrl, preserveWhitespaces) { - var _a; - - var result = this.tryParse(component, template, directives, pipes, schemas, templateUrl, preserveWhitespaces); - var warnings = result.errors.filter(function (error) { - return error.level === ParseErrorLevel.WARNING; - }); - var errors = result.errors.filter(function (error) { - return error.level === ParseErrorLevel.ERROR; - }); - - if (warnings.length > 0) { - (_a = this._console) === null || _a === void 0 ? void 0 : _a.warn("Template parse warnings:\n".concat(warnings.join('\n'))); - } - - if (errors.length > 0) { - var errorString = errors.join('\n'); - throw syntaxError("Template parse errors:\n".concat(errorString), errors); - } - - return { - template: result.templateAst, - pipes: result.usedPipes - }; - } - }, { - key: "tryParse", - value: function tryParse(component, template, directives, pipes, schemas, templateUrl, preserveWhitespaces) { - var htmlParseResult = typeof template === 'string' ? this._htmlParser.parse(template, templateUrl, { - tokenizeExpansionForms: true, - interpolationConfig: this.getInterpolationConfig(component) - }) : template; - - if (!preserveWhitespaces) { - htmlParseResult = removeWhitespaces(htmlParseResult); - } - - return this.tryParseHtml(this.expandHtml(htmlParseResult), component, directives, pipes, schemas); - } - }, { - key: "tryParseHtml", - value: function tryParseHtml(htmlAstWithErrors, component, directives, pipes, schemas) { - var result; - var errors = htmlAstWithErrors.errors; - var usedPipes = []; - - if (htmlAstWithErrors.rootNodes.length > 0) { - var uniqDirectives = removeSummaryDuplicates(directives); - var uniqPipes = removeSummaryDuplicates(pipes); - var providerViewContext = new ProviderViewContext(this._reflector, component); - var interpolationConfig = undefined; - - if (component.template && component.template.interpolation) { - interpolationConfig = { - start: component.template.interpolation[0], - end: component.template.interpolation[1] - }; - } - - var bindingParser = new BindingParser(this._exprParser, interpolationConfig, this._schemaRegistry, uniqPipes, errors); - var parseVisitor = new TemplateParseVisitor(this._reflector, this._config, providerViewContext, uniqDirectives, bindingParser, this._schemaRegistry, schemas, errors); - result = visitAll$1(parseVisitor, htmlAstWithErrors.rootNodes, EMPTY_ELEMENT_CONTEXT); - errors.push.apply(errors, Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_12__["default"])(providerViewContext.errors)); - usedPipes.push.apply(usedPipes, Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_12__["default"])(bindingParser.getUsedPipes())); - } else { - result = []; - } - - this._assertNoReferenceDuplicationOnTemplate(result, errors); - - if (errors.length > 0) { - return new TemplateParseResult(result, usedPipes, errors); - } - - if (this.transforms) { - this.transforms.forEach(function (transform) { - result = templateVisitAll(transform, result); - }); - } - - return new TemplateParseResult(result, usedPipes, errors); - } - }, { - key: "expandHtml", - value: function expandHtml(htmlAstWithErrors) { - var forced = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; - var errors = htmlAstWithErrors.errors; - - if (errors.length == 0 || forced) { - // Transform ICU messages to angular directives - var expandedHtmlAst = expandNodes(htmlAstWithErrors.rootNodes); - errors.push.apply(errors, Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_12__["default"])(expandedHtmlAst.errors)); - htmlAstWithErrors = new ParseTreeResult(expandedHtmlAst.nodes, errors); - } - - return htmlAstWithErrors; - } - }, { - key: "getInterpolationConfig", - value: function getInterpolationConfig(component) { - if (component.template) { - return InterpolationConfig.fromArray(component.template.interpolation); - } - - return undefined; - } - /** @internal */ - - }, { - key: "_assertNoReferenceDuplicationOnTemplate", - value: function _assertNoReferenceDuplicationOnTemplate(result, errors) { - var existingReferences = []; - result.filter(function (element) { - return !!element.references; - }).forEach(function (element) { - return element.references.forEach(function (reference) { - var name = reference.name; - - if (existingReferences.indexOf(name) < 0) { - existingReferences.push(name); - } else { - var _error2 = new TemplateParseError("Reference \"#".concat(name, "\" is defined several times"), reference.sourceSpan, ParseErrorLevel.ERROR); - - errors.push(_error2); - } - }); - }); - } - }]); - - return TemplateParser; -}(); - -var TemplateParseVisitor = /*#__PURE__*/function () { - function TemplateParseVisitor(reflector, config, providerViewContext, directives, _bindingParser, _schemaRegistry, _schemas, _targetErrors) { - var _this150 = this; - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_13__["default"])(this, TemplateParseVisitor); - - this.reflector = reflector; - this.config = config; - this.providerViewContext = providerViewContext; - this._bindingParser = _bindingParser; - this._schemaRegistry = _schemaRegistry; - this._schemas = _schemas; - this._targetErrors = _targetErrors; - this.selectorMatcher = new SelectorMatcher(); - this.directivesIndex = new Map(); - this.ngContentCount = 0; // Note: queries start with id 1 so we can use the number in a Bloom filter! - - this.contentQueryStartId = providerViewContext.component.viewQueries.length + 1; - directives.forEach(function (directive, index) { - var selector = CssSelector.parse(directive.selector); - - _this150.selectorMatcher.addSelectables(selector, directive); - - _this150.directivesIndex.set(directive, index); - }); - } - - Object(C_pitch_ng_walkthrough_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_14__["default"])(TemplateParseVisitor, [{ - key: "visitExpansion", - value: function visitExpansion(expansion, context) { - return null; - } - }, { - key: "visitExpansionCase", - value: function visitExpansionCase(expansionCase, context) { - return null; - } - }, { - key: "visitText", - value: function visitText(text, parent) { - var ngContentIndex = parent.findNgContentIndex(TEXT_CSS_SELECTOR()); - var valueNoNgsp = replaceNgsp(text.value); - - var expr = this._bindingParser.parseInterpolation(valueNoNgsp, text.sourceSpan); - - return expr ? new BoundTextAst(expr, ngContentIndex, text.sourceSpan) : new TextAst(valueNoNgsp, ngContentIndex, text.sourceSpan); - } - }, { - key: "visitAttribute", - value: function visitAttribute(attribute, context) { - return new AttrAst(attribute.name, attribute.value, attribute.sourceSpan); - } - }, { - key: "visitComment", - value: function visitComment(comment, context) { - return null; - } - }, { - key: "visitElement", - value: function visitElement(element, parent) { - var _this151 = this; - - var queryStartIndex = this.contentQueryStartId; - var elName = element.name; - var preparsedElement = preparseElement(element); - - if (preparsedElement.type === PreparsedElementType.SCRIPT || preparsedElement.type === PreparsedElementType.STYLE) { - // Skipping