diff --git a/.gitignore b/.gitignore index b1d225e..4f2e2a4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,6 @@ # See https://docs.github.com/get-started/getting-started-with-git/ignoring-files for more about ignoring files. # Compiled output -/dist /tmp /out-tsc /bazel-out diff --git a/dist/trtc-h5/3rdpartylicenses.txt b/dist/trtc-h5/3rdpartylicenses.txt new file mode 100644 index 0000000..c5c577a --- /dev/null +++ b/dist/trtc-h5/3rdpartylicenses.txt @@ -0,0 +1,355 @@ + +-------------------------------------------------------------------------------- +Package: @angular/core +License: "MIT" + +The MIT License + +Copyright (c) 2010-2025 Google LLC. https://angular.dev/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. + +-------------------------------------------------------------------------------- +Package: rxjs +License: "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. + + +-------------------------------------------------------------------------------- +Package: tslib +License: "0BSD" + +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +-------------------------------------------------------------------------------- +Package: @angular/common +License: "MIT" + +The MIT License + +Copyright (c) 2010-2025 Google LLC. https://angular.dev/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. + +-------------------------------------------------------------------------------- +Package: @angular/platform-browser +License: "MIT" + +The MIT License + +Copyright (c) 2010-2025 Google LLC. https://angular.dev/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. + +-------------------------------------------------------------------------------- +Package: @angular/router +License: "MIT" + +The MIT License + +Copyright (c) 2010-2025 Google LLC. https://angular.dev/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. + +-------------------------------------------------------------------------------- +Package: @angular/forms +License: "MIT" + +The MIT License + +Copyright (c) 2010-2025 Google LLC. https://angular.dev/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/trtc-h5/browser/assets/image/back1.png b/dist/trtc-h5/browser/assets/image/back1.png new file mode 100644 index 0000000..14a594f Binary files /dev/null and b/dist/trtc-h5/browser/assets/image/back1.png differ diff --git a/dist/trtc-h5/browser/assets/image/boy-left-right.png b/dist/trtc-h5/browser/assets/image/boy-left-right.png new file mode 100644 index 0000000..c23b369 Binary files /dev/null and b/dist/trtc-h5/browser/assets/image/boy-left-right.png differ diff --git a/dist/trtc-h5/browser/assets/image/boy-right-left.png b/dist/trtc-h5/browser/assets/image/boy-right-left.png new file mode 100644 index 0000000..bea9930 Binary files /dev/null and b/dist/trtc-h5/browser/assets/image/boy-right-left.png differ diff --git a/dist/trtc-h5/browser/assets/image/ear_disable.png b/dist/trtc-h5/browser/assets/image/ear_disable.png new file mode 100644 index 0000000..863981a Binary files /dev/null and b/dist/trtc-h5/browser/assets/image/ear_disable.png differ diff --git a/dist/trtc-h5/browser/assets/image/ear_enable.png b/dist/trtc-h5/browser/assets/image/ear_enable.png new file mode 100644 index 0000000..75bafa5 Binary files /dev/null and b/dist/trtc-h5/browser/assets/image/ear_enable.png differ diff --git a/dist/trtc-h5/browser/assets/image/fenwei_cg_image@2x.png b/dist/trtc-h5/browser/assets/image/fenwei_cg_image@2x.png new file mode 100644 index 0000000..bee128a Binary files /dev/null and b/dist/trtc-h5/browser/assets/image/fenwei_cg_image@2x.png differ diff --git a/dist/trtc-h5/browser/assets/image/fenwei_image@2x.png b/dist/trtc-h5/browser/assets/image/fenwei_image@2x.png new file mode 100644 index 0000000..692fda3 Binary files /dev/null and b/dist/trtc-h5/browser/assets/image/fenwei_image@2x.png differ diff --git a/dist/trtc-h5/browser/assets/image/girl-left-right.png b/dist/trtc-h5/browser/assets/image/girl-left-right.png new file mode 100644 index 0000000..90cc058 Binary files /dev/null and b/dist/trtc-h5/browser/assets/image/girl-left-right.png differ diff --git a/dist/trtc-h5/browser/assets/image/girl-right-left.png b/dist/trtc-h5/browser/assets/image/girl-right-left.png new file mode 100644 index 0000000..9d29e79 Binary files /dev/null and b/dist/trtc-h5/browser/assets/image/girl-right-left.png differ diff --git a/dist/trtc-h5/browser/assets/image/goutong_status_icon@2x.png b/dist/trtc-h5/browser/assets/image/goutong_status_icon@2x.png new file mode 100644 index 0000000..fc78ca5 Binary files /dev/null and b/dist/trtc-h5/browser/assets/image/goutong_status_icon@2x.png differ diff --git a/dist/trtc-h5/browser/assets/image/heise_back_icon@2x.png b/dist/trtc-h5/browser/assets/image/heise_back_icon@2x.png new file mode 100644 index 0000000..e5764a6 Binary files /dev/null and b/dist/trtc-h5/browser/assets/image/heise_back_icon@2x.png differ diff --git a/dist/trtc-h5/browser/assets/image/mic_disable.png b/dist/trtc-h5/browser/assets/image/mic_disable.png new file mode 100644 index 0000000..837a460 Binary files /dev/null and b/dist/trtc-h5/browser/assets/image/mic_disable.png differ diff --git a/dist/trtc-h5/browser/assets/image/mic_enable.png b/dist/trtc-h5/browser/assets/image/mic_enable.png new file mode 100644 index 0000000..21301c7 Binary files /dev/null and b/dist/trtc-h5/browser/assets/image/mic_enable.png differ diff --git a/dist/trtc-h5/browser/assets/image/speed_image_bg@2x.png b/dist/trtc-h5/browser/assets/image/speed_image_bg@2x.png new file mode 100644 index 0000000..10a50e6 Binary files /dev/null and b/dist/trtc-h5/browser/assets/image/speed_image_bg@2x.png differ diff --git a/dist/trtc-h5/browser/assets/image/xin_icon@2x.png b/dist/trtc-h5/browser/assets/image/xin_icon@2x.png new file mode 100644 index 0000000..9bbf7a0 Binary files /dev/null and b/dist/trtc-h5/browser/assets/image/xin_icon@2x.png differ diff --git a/dist/trtc-h5/browser/assets/image/yuyin_image@2x.png b/dist/trtc-h5/browser/assets/image/yuyin_image@2x.png new file mode 100644 index 0000000..11475d8 Binary files /dev/null and b/dist/trtc-h5/browser/assets/image/yuyin_image@2x.png differ diff --git a/dist/trtc-h5/browser/assets/image/yuyin_nor_icon@2x.png b/dist/trtc-h5/browser/assets/image/yuyin_nor_icon@2x.png new file mode 100644 index 0000000..8b181bd Binary files /dev/null and b/dist/trtc-h5/browser/assets/image/yuyin_nor_icon@2x.png differ diff --git a/dist/trtc-h5/browser/assets/js/uni.webview.1.5.6.js b/dist/trtc-h5/browser/assets/js/uni.webview.1.5.6.js new file mode 100644 index 0000000..32cf346 --- /dev/null +++ b/dist/trtc-h5/browser/assets/js/uni.webview.1.5.6.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(e=e||self).uni=n()}(this,(function(){"use strict";try{var e={};Object.defineProperty(e,"passive",{get:function(){!0}}),window.addEventListener("test-passive",null,e)}catch(e){}var n=Object.prototype.hasOwnProperty;function i(e,i){return n.call(e,i)}var t=[];function o(){return window.__dcloud_weex_postMessage||window.__dcloud_weex_}function a(){return window.__uniapp_x_postMessage||window.__uniapp_x_}var r=function(e,n){var i={options:{timestamp:+new Date},name:e,arg:n};if(a()){if("postMessage"===e){var r={data:n};return window.__uniapp_x_postMessage?window.__uniapp_x_postMessage(r):window.__uniapp_x_.postMessage(JSON.stringify(r))}var d={type:"WEB_INVOKE_APPSERVICE",args:{data:i,webviewIds:t}};window.__uniapp_x_postMessage?window.__uniapp_x_postMessageToService(d):window.__uniapp_x_.postMessageToService(JSON.stringify(d))}else if(o()){if("postMessage"===e){var s={data:[n]};return window.__dcloud_weex_postMessage?window.__dcloud_weex_postMessage(s):window.__dcloud_weex_.postMessage(JSON.stringify(s))}var w={type:"WEB_INVOKE_APPSERVICE",args:{data:i,webviewIds:t}};window.__dcloud_weex_postMessage?window.__dcloud_weex_postMessageToService(w):window.__dcloud_weex_.postMessageToService(JSON.stringify(w))}else{if(!window.plus)return window.parent.postMessage({type:"WEB_INVOKE_APPSERVICE",data:i,pageId:""},"*");if(0===t.length){var u=plus.webview.currentWebview();if(!u)throw new Error("plus.webview.currentWebview() is undefined");var g=u.parent(),v="";v=g?g.id:u.id,t.push(v)}if(plus.webview.getWebviewById("__uniapp__service"))plus.webview.postMessageToUniNView({type:"WEB_INVOKE_APPSERVICE",args:{data:i,webviewIds:t}},"__uniapp__service");else{var c=JSON.stringify(i);plus.webview.getLaunchWebview().evalJS('UniPlusBridge.subscribeHandler("'.concat("WEB_INVOKE_APPSERVICE",'",').concat(c,",").concat(JSON.stringify(t),");"))}}},d={navigateTo:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.url;r("navigateTo",{url:encodeURI(n)})},navigateBack:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.delta;r("navigateBack",{delta:parseInt(n)||1})},switchTab:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.url;r("switchTab",{url:encodeURI(n)})},reLaunch:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.url;r("reLaunch",{url:encodeURI(n)})},redirectTo:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.url;r("redirectTo",{url:encodeURI(n)})},getEnv:function(e){a()?e({uvue:!0}):o()?e({nvue:!0}):window.plus?e({plus:!0}):e({h5:!0})},postMessage:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};r("postMessage",e.data||{})}},s=/uni-app/i.test(navigator.userAgent),w=/Html5Plus/i.test(navigator.userAgent),u=/complete|loaded|interactive/;var g=window.my&&navigator.userAgent.indexOf(["t","n","e","i","l","C","y","a","p","i","l","A"].reverse().join(""))>-1;var v=window.swan&&window.swan.webView&&/swan/i.test(navigator.userAgent);var c=window.qq&&window.qq.miniProgram&&/QQ/i.test(navigator.userAgent)&&/miniProgram/i.test(navigator.userAgent);var p=window.tt&&window.tt.miniProgram&&/toutiaomicroapp/i.test(navigator.userAgent);var _=window.wx&&window.wx.miniProgram&&/micromessenger/i.test(navigator.userAgent)&&/miniProgram/i.test(navigator.userAgent);var m=window.qa&&/quickapp/i.test(navigator.userAgent);var f=window.ks&&window.ks.miniProgram&&/micromessenger/i.test(navigator.userAgent)&&/miniProgram/i.test(navigator.userAgent);var l=window.tt&&window.tt.miniProgram&&/Lark|Feishu/i.test(navigator.userAgent);var E=window.jd&&window.jd.miniProgram&&/jdmp/i.test(navigator.userAgent);var x=window.xhs&&window.xhs.miniProgram&&/xhsminiapp/i.test(navigator.userAgent);for(var S,h=function(){window.UniAppJSBridge=!0,document.dispatchEvent(new CustomEvent("UniAppJSBridgeReady",{bubbles:!0,cancelable:!0}))},y=[function(e){if(s||w)return window.__uniapp_x_postMessage||window.__uniapp_x_||window.__dcloud_weex_postMessage||window.__dcloud_weex_?document.addEventListener("DOMContentLoaded",e):window.plus&&u.test(document.readyState)?setTimeout(e,0):document.addEventListener("plusready",e),d},function(e){if(_)return window.WeixinJSBridge&&window.WeixinJSBridge.invoke?setTimeout(e,0):document.addEventListener("WeixinJSBridgeReady",e),window.wx.miniProgram},function(e){if(c)return window.QQJSBridge&&window.QQJSBridge.invoke?setTimeout(e,0):document.addEventListener("QQJSBridgeReady",e),window.qq.miniProgram},function(e){if(g){document.addEventListener("DOMContentLoaded",e);var n=window.my;return{navigateTo:n.navigateTo,navigateBack:n.navigateBack,switchTab:n.switchTab,reLaunch:n.reLaunch,redirectTo:n.redirectTo,postMessage:n.postMessage,getEnv:n.getEnv}}},function(e){if(v)return document.addEventListener("DOMContentLoaded",e),window.swan.webView},function(e){if(p)return document.addEventListener("DOMContentLoaded",e),window.tt.miniProgram},function(e){if(m){window.QaJSBridge&&window.QaJSBridge.invoke?setTimeout(e,0):document.addEventListener("QaJSBridgeReady",e);var n=window.qa;return{navigateTo:n.navigateTo,navigateBack:n.navigateBack,switchTab:n.switchTab,reLaunch:n.reLaunch,redirectTo:n.redirectTo,postMessage:n.postMessage,getEnv:n.getEnv}}},function(e){if(f)return window.WeixinJSBridge&&window.WeixinJSBridge.invoke?setTimeout(e,0):document.addEventListener("WeixinJSBridgeReady",e),window.ks.miniProgram},function(e){if(l)return document.addEventListener("DOMContentLoaded",e),window.tt.miniProgram},function(e){if(E)return window.JDJSBridgeReady&&window.JDJSBridgeReady.invoke?setTimeout(e,0):document.addEventListener("JDJSBridgeReady",e),window.jd.miniProgram},function(e){if(x)return window.xhs.miniProgram},function(e){return document.addEventListener("DOMContentLoaded",e),d}],M=0;M + + + + 语音通话 + + + + + + + + + + + diff --git a/dist/trtc-h5/browser/main-P55RJDIF.js b/dist/trtc-h5/browser/main-P55RJDIF.js new file mode 100644 index 0000000..5dd94b5 --- /dev/null +++ b/dist/trtc-h5/browser/main-P55RJDIF.js @@ -0,0 +1,5 @@ +var wE=Object.defineProperty,bE=Object.defineProperties;var TE=Object.getOwnPropertyDescriptors;var mi=Object.getOwnPropertySymbols;var bf=Object.prototype.hasOwnProperty,Tf=Object.prototype.propertyIsEnumerable;var wf=(e,t,n)=>t in e?wE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,m=(e,t)=>{for(var n in t||={})bf.call(t,n)&&wf(e,n,t[n]);if(mi)for(var n of mi(t))Tf.call(t,n)&&wf(e,n,t[n]);return e},O=(e,t)=>bE(e,TE(t));var Mf=(e,t)=>{var n={};for(var r in e)bf.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&mi)for(var r of mi(e))t.indexOf(r)<0&&Tf.call(e,r)&&(n[r]=e[r]);return n};var Ic;function vi(){return Ic}function ot(e){let t=Ic;return Ic=e,t}var Sf=Symbol("NotFound");function $n(e){return e===Sf||e?.name==="\u0275NotFound"}var fe=null,yi=!1,wc=1,ME=null,ge=Symbol("SIGNAL");function A(e){let t=fe;return fe=e,t}function _i(){return fe}var zn={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Gn(e){if(yi)throw new Error("");if(fe===null)return;fe.consumerOnSignalRead(e);let t=fe.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=fe.recomputing;if(r&&(n=t!==void 0?t.nextProducer:fe.producers,n!==void 0&&n.producer===e)){fe.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===fe&&(!r||AE(o,fe)))return;let i=Wn(fe),s={producer:e,consumer:fe,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};fe.producersTail=s,t!==void 0?t.nextProducer=s:fe.producers=s,i&&xf(e,s)}function Af(){wc++}function Ii(e){if(!(Wn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===wc)){if(!e.producerMustRecompute(e)&&!qr(e)){Ci(e);return}e.producerRecomputeValue(e),Ci(e)}}function bc(e){if(e.consumers===void 0)return;let t=yi;yi=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||SE(r)}}finally{yi=t}}function Tc(){return fe?.consumerAllowSignalWrites!==!1}function SE(e){e.dirty=!0,bc(e),e.consumerMarkedDirty?.(e)}function Ci(e){e.dirty=!1,e.lastCleanEpoch=wc}function qn(e){return e&&Nf(e),A(e)}function Nf(e){e.producersTail=void 0,e.recomputing=!0}function Gr(e,t){A(t),e&&Rf(e)}function Rf(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(Wn(e))do n=Mc(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function qr(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(Ii(n),r!==n.version))return!0}return!1}function Wr(e){if(Wn(e)){let t=e.producers;for(;t!==void 0;)t=Mc(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function xf(e,t){let n=e.consumersTail,r=Wn(e);if(n!==void 0?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)xf(o.producer,o)}function Mc(e){let t=e.producer,n=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:t.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(t.consumers=r,!Wn(t)){let i=t.producers;for(;i!==void 0;)i=Mc(i)}return n}function Wn(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function wi(e){ME?.(e)}function AE(e,t){let n=t.producersTail;if(n!==void 0){let r=t.producers;do{if(r===e)return!0;if(r===n)break;r=r.nextProducer}while(r!==void 0)}return!1}function bi(e,t){return Object.is(e,t)}function Ti(e,t){let n=Object.create(NE);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(Ii(n),Gn(n),n.value===zr)throw n.error;return n.value};return r[ge]=n,wi(n),r}var Ei=Symbol("UNSET"),Di=Symbol("COMPUTING"),zr=Symbol("ERRORED"),NE=O(m({},zn),{value:Ei,dirty:!0,error:null,equal:bi,kind:"computed",producerMustRecompute(e){return e.value===Ei||e.value===Di},producerRecomputeValue(e){if(e.value===Di)throw new Error("");let t=e.value;e.value=Di;let n=qn(e),r,o=!1;try{r=e.computation(),A(null),o=t!==Ei&&t!==zr&&r!==zr&&e.equal(t,r)}catch(i){r=zr,e.error=i}finally{Gr(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function RE(){throw new Error}var Of=RE;function Pf(e){Of(e)}function Sc(e){Of=e}var xE=null;function Ac(e,t){let n=Object.create(Mi);n.value=e,t!==void 0&&(n.equal=t);let r=()=>Ff(n);return r[ge]=n,wi(n),[r,s=>Zn(n,s),s=>Nc(n,s)]}function Ff(e){return Gn(e),e.value}function Zn(e,t){Tc()||Pf(e),e.equal(e.value,t)||(e.value=t,OE(e))}function Nc(e,t){Tc()||Pf(e),Zn(e,t(e.value))}var Mi=O(m({},zn),{equal:bi,value:void 0,kind:"signal"});function OE(e){e.version++,Af(),bc(e),xE?.(e)}function N(e){return typeof e=="function"}function Yn(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Si=Yn(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription: +${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(` + `)}`:"",this.name="UnsubscriptionError",this.errors=n});function Zr(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var W=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(N(r))try{r()}catch(i){t=i instanceof Si?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{kf(i)}catch(s){t=t??[],s instanceof Si?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Si(t)}}add(t){var n;if(t&&t!==this)if(this.closed)kf(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Zr(n,t)}remove(t){let{_finalizers:n}=this;n&&Zr(n,t),t instanceof e&&t._removeParent(this)}};W.EMPTY=(()=>{let e=new W;return e.closed=!0,e})();var Rc=W.EMPTY;function Ai(e){return e instanceof W||e&&"closed"in e&&N(e.remove)&&N(e.add)&&N(e.unsubscribe)}function kf(e){N(e)?e():e.unsubscribe()}var Ze={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Qn={setTimeout(e,t,...n){let{delegate:r}=Qn;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Qn;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Ni(e){Qn.setTimeout(()=>{let{onUnhandledError:t}=Ze;if(t)t(e);else throw e})}function Yr(){}var Lf=xc("C",void 0,void 0);function jf(e){return xc("E",void 0,e)}function Vf(e){return xc("N",e,void 0)}function xc(e,t,n){return{kind:e,value:t,error:n}}var sn=null;function Kn(e){if(Ze.useDeprecatedSynchronousErrorHandling){let t=!sn;if(t&&(sn={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=sn;if(sn=null,n)throw r}}else e()}function Bf(e){Ze.useDeprecatedSynchronousErrorHandling&&sn&&(sn.errorThrown=!0,sn.error=e)}var an=class extends W{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Ai(t)&&t.add(this)):this.destination=kE}static create(t,n,r){return new Jn(t,n,r)}next(t){this.isStopped?Pc(Vf(t),this):this._next(t)}error(t){this.isStopped?Pc(jf(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Pc(Lf,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},PE=Function.prototype.bind;function Oc(e,t){return PE.call(e,t)}var Fc=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Ri(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Ri(r)}else Ri(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Ri(n)}}},Jn=class extends an{constructor(t,n,r){super();let o;if(N(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Ze.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Oc(t.next,i),error:t.error&&Oc(t.error,i),complete:t.complete&&Oc(t.complete,i)}):o=t}this.destination=new Fc(o)}};function Ri(e){Ze.useDeprecatedSynchronousErrorHandling?Bf(e):Ni(e)}function FE(e){throw e}function Pc(e,t){let{onStoppedNotification:n}=Ze;n&&Qn.setTimeout(()=>n(e,t))}var kE={closed:!0,next:Yr,error:FE,complete:Yr};var Xn=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Me(e){return e}function kc(...e){return Lc(e)}function Lc(e){return e.length===0?Me:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var x=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=jE(n)?n:new Jn(n,r,o);return Kn(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=Uf(r),new r((o,i)=>{let s=new Jn({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[Xn](){return this}pipe(...n){return Lc(n)(this)}toPromise(n){return n=Uf(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Uf(e){var t;return(t=e??Ze.Promise)!==null&&t!==void 0?t:Promise}function LE(e){return e&&N(e.next)&&N(e.error)&&N(e.complete)}function jE(e){return e&&e instanceof an||LE(e)&&Ai(e)}function jc(e){return N(e?.lift)}function k(e){return t=>{if(jc(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function P(e,t,n,r,o){return new Vc(e,t,n,r,o)}var Vc=class extends an{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function er(){return k((e,t)=>{let n=null;e._refCount++;let r=P(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var tr=class extends x{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,jc(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new W;let n=this.getSubject();t.add(this.source.subscribe(P(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=W.EMPTY)}return t}refCount(){return er()(this)}};var Hf=Yn(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var G=(()=>{class e extends x{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new xi(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Hf}next(n){Kn(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Kn(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Kn(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?Rc:(this.currentObservers=null,i.push(n),new W(()=>{this.currentObservers=null,Zr(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new x;return n.source=this,n}}return e.create=(t,n)=>new xi(t,n),e})(),xi=class extends G{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:Rc}};var se=class extends G{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var Bc={now(){return(Bc.delegate||Date).now()},delegate:void 0};var Ye=class extends G{constructor(t=1/0,n=1/0,r=Bc){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;se.complete());function $f(e){return e&&N(e.schedule)}function zf(e){return e[e.length-1]}function Oi(e){return N(zf(e))?e.pop():void 0}function Vt(e){return $f(zf(e))?e.pop():void 0}function qf(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{u(r.next(l))}catch(d){s(d)}}function c(l){try{u(r.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((r=r.apply(e,t||[])).next())})}function Gf(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function cn(e){return this instanceof cn?(this.v=e,this):new cn(e)}function Wf(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(g){return Promise.resolve(g).then(f,d)}}function a(f,g){r[f]&&(o[f]=function(_){return new Promise(function(E,D){i.push([f,_,E,D])>1||c(f,_)})},g&&(o[f]=g(o[f])))}function c(f,g){try{u(r[f](g))}catch(_){h(i[0][3],_)}}function u(f){f.value instanceof cn?Promise.resolve(f.value.v).then(l,d):h(i[0][2],f)}function l(f){c("next",f)}function d(f){c("throw",f)}function h(f,g){f(g),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Zf(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Gf=="function"?Gf(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(u){i({value:u,done:a})},s)}}var Pi=e=>e&&typeof e.length=="number"&&typeof e!="function";function Fi(e){return N(e?.then)}function ki(e){return N(e[Xn])}function Li(e){return Symbol.asyncIterator&&N(e?.[Symbol.asyncIterator])}function ji(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function VE(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Vi=VE();function Bi(e){return N(e?.[Vi])}function Ui(e){return Wf(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield cn(n.read());if(o)return yield cn(void 0);yield yield cn(r)}}finally{n.releaseLock()}})}function Hi(e){return N(e?.getReader)}function Z(e){if(e instanceof x)return e;if(e!=null){if(ki(e))return BE(e);if(Pi(e))return UE(e);if(Fi(e))return HE(e);if(Li(e))return Yf(e);if(Bi(e))return $E(e);if(Hi(e))return zE(e)}throw ji(e)}function BE(e){return new x(t=>{let n=e[Xn]();if(N(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function UE(e){return new x(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Ni)})}function $E(e){return new x(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Yf(e){return new x(t=>{GE(e,t).catch(n=>t.error(n))})}function zE(e){return Yf(Ui(e))}function GE(e,t){var n,r,o,i;return qf(this,void 0,void 0,function*(){try{for(n=Zf(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function _e(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function $i(e,t=0){return k((n,r)=>{n.subscribe(P(r,o=>_e(r,e,()=>r.next(o),t),()=>_e(r,e,()=>r.complete(),t),o=>_e(r,e,()=>r.error(o),t)))})}function zi(e,t=0){return k((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Qf(e,t){return Z(e).pipe(zi(t),$i(t))}function Kf(e,t){return Z(e).pipe(zi(t),$i(t))}function Jf(e,t){return new x(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Xf(e,t){return new x(n=>{let r;return _e(n,t,()=>{r=e[Vi](),_e(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>N(r?.return)&&r.return()})}function Gi(e,t){if(!e)throw new Error("Iterable cannot be null");return new x(n=>{_e(n,t,()=>{let r=e[Symbol.asyncIterator]();_e(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function eh(e,t){return Gi(Ui(e),t)}function th(e,t){if(e!=null){if(ki(e))return Qf(e,t);if(Pi(e))return Jf(e,t);if(Fi(e))return Kf(e,t);if(Li(e))return Gi(e,t);if(Bi(e))return Xf(e,t);if(Hi(e))return eh(e,t)}throw ji(e)}function $(e,t){return t?th(e,t):Z(e)}function b(...e){let t=Vt(e);return $(e,t)}function nr(e,t){let n=N(e)?e:()=>e,r=o=>o.error(n());return new x(t?o=>t.schedule(r,0,o):r)}function Uc(e){return!!e&&(e instanceof x||N(e.lift)&&N(e.subscribe))}var vt=Yn(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function R(e,t){return k((n,r)=>{let o=0;n.subscribe(P(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:qE}=Array;function WE(e,t){return qE(t)?e(...t):e(t)}function qi(e){return R(t=>WE(e,t))}var{isArray:ZE}=Array,{getPrototypeOf:YE,prototype:QE,keys:KE}=Object;function Wi(e){if(e.length===1){let t=e[0];if(ZE(t))return{args:t,keys:null};if(JE(t)){let n=KE(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function JE(e){return e&&typeof e=="object"&&YE(e)===QE}function Zi(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Yi(...e){let t=Vt(e),n=Oi(e),{args:r,keys:o}=Wi(e);if(r.length===0)return $([],t);let i=new x(XE(r,t,o?s=>Zi(o,s):Me));return n?i.pipe(qi(n)):i}function XE(e,t,n=Me){return r=>{nh(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c{let u=$(e[c],t),l=!1;u.subscribe(P(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function nh(e,t,n){e?_e(n,e,t):t()}function rh(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,h=()=>{d&&!c.length&&!u&&t.complete()},f=_=>u{i&&t.next(_),u++;let E=!1;Z(n(_,l++)).subscribe(P(t,D=>{o?.(D),i?f(D):t.next(D)},()=>{E=!0},void 0,()=>{if(E)try{for(u--;c.length&&ug(D)):g(D)}h()}catch(D){t.error(D)}}))};return e.subscribe(P(t,f,()=>{d=!0,h()})),()=>{a?.()}}function X(e,t,n=1/0){return N(t)?X((r,o)=>R((i,s)=>t(r,i,o,s))(Z(e(r,o))),n):(typeof t=="number"&&(n=t),k((r,o)=>rh(r,o,e,n)))}function oh(e=1/0){return X(Me,e)}function ih(){return oh(1)}function rr(...e){return ih()($(e,Vt(e)))}function Qr(e){return new x(t=>{Z(e()).subscribe(t)})}function Hc(...e){let t=Oi(e),{args:n,keys:r}=Wi(e),o=new x(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l{d||(d=!0,u--),a[l]=h},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(r?Zi(r,a):a),i.complete())}))}});return t?o.pipe(qi(t)):o}function Ie(e,t){return k((n,r)=>{let o=0;n.subscribe(P(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Bt(e){return k((t,n)=>{let r=null,o=!1,i;r=t.subscribe(P(n,void 0,void 0,s=>{i=Z(e(s,Bt(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function sh(e,t,n,r,o){return(i,s)=>{let a=n,c=t,u=0;i.subscribe(P(s,l=>{let d=u++;c=a?e(c,l,d):(a=!0,l),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function Ut(e,t){return N(t)?X(e,t,1):X(e,1)}function Ht(e){return k((t,n)=>{let r=!1;t.subscribe(P(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function yt(e){return e<=0?()=>Ce:k((t,n)=>{let r=0;t.subscribe(P(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Qi(e=eD){return k((t,n)=>{let r=!1;t.subscribe(P(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function eD(){return new vt}function $t(e){return k((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Et(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Ie((o,i)=>e(o,i,r)):Me,yt(1),n?Ht(t):Qi(()=>new vt))}function or(e){return e<=0?()=>Ce:k((t,n)=>{let r=[];t.subscribe(P(n,o=>{r.push(o),e{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function $c(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Ie((o,i)=>e(o,i,r)):Me,or(1),n?Ht(t):Qi(()=>new vt))}function zc(e,t){return k(sh(e,t,arguments.length>=2,!0))}function Gc(...e){let t=Vt(e);return k((n,r)=>{(t?rr(e,n,t):rr(e,n)).subscribe(r)})}function he(e,t){return k((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(P(r,c=>{o?.unsubscribe();let u=0,l=i++;Z(e(c,l)).subscribe(o=P(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Ki(e){return k((t,n)=>{Z(e).subscribe(P(n,()=>n.complete(),Yr)),!n.closed&&t.subscribe(n)})}function te(e,t,n){let r=N(e)||t||n?{next:e,error:t,complete:n}:e;return r?k((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(P(i,c=>{var u;(u=r.next)===null||u===void 0||u.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var u;a=!1,(u=r.error)===null||u===void 0||u.call(r,c),i.error(c)},()=>{var c,u;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(u=r.finalize)===null||u===void 0||u.call(r)}))}):Me}function ah(e){let t=A(null);try{return e()}finally{A(t)}}var ts="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",v=class extends Error{code;constructor(t,n){super(Ct(t,n)),this.code=t}};function tD(e){return`NG0${Math.abs(e)}`}function Ct(e,t){return`${tD(e)}${t?": "+t:""}`}function V(e){for(let t in e)if(e[t]===V)return t;throw Error("")}function zt(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(zt).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let r=n.indexOf(` +`);return r>=0?n.slice(0,r):n}function ru(e,t){return e?t?`${e} ${t}`:e:t||""}var nD=V({__forward_ref__:V});function eo(e){return e.__forward_ref__=eo,e.toString=function(){return zt(this())},e}function ae(e){return ou(e)?e():e}function ou(e){return typeof e=="function"&&e.hasOwnProperty(nD)&&e.__forward_ref__===eo}function C(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function to(e){return rD(e,ns)}function iu(e){return to(e)!==null}function rD(e,t){return e.hasOwnProperty(t)&&e[t]||null}function oD(e){let t=e?.[ns]??null;return t||null}function Wc(e){return e&&e.hasOwnProperty(Xi)?e[Xi]:null}var ns=V({\u0275prov:V}),Xi=V({\u0275inj:V}),y=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=C({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function su(e){return e&&!!e.\u0275providers}var au=V({\u0275cmp:V}),cu=V({\u0275dir:V}),uu=V({\u0275pipe:V}),lu=V({\u0275mod:V}),Jr=V({\u0275fac:V}),pn=V({__NG_ELEMENT_ID__:V}),ch=V({__NG_ENV_ID__:V});function no(e){return typeof e=="string"?e:e==null?"":String(e)}function lh(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():no(e)}var dh=V({ngErrorCode:V}),iD=V({ngErrorMessage:V}),sD=V({ngTokenPath:V});function du(e,t){return fh("",-200,t)}function rs(e,t){throw new v(-201,!1)}function fh(e,t,n){let r=new v(t,e);return r[dh]=t,r[iD]=e,n&&(r[sD]=n),r}function aD(e){return e[dh]}var Zc;function hh(){return Zc}function me(e){let t=Zc;return Zc=e,t}function fu(e,t,n){let r=to(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&8)return null;if(t!==void 0)return t;rs(e,"Injector")}var cD={},un=cD,uD="__NG_DI_FLAG__",Yc=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=ln(n)||0;try{return this.injector.get(t,r&8?null:un,r)}catch(o){if($n(o))return o;throw o}}};function lD(e,t=0){let n=vi();if(n===void 0)throw new v(-203,!1);if(n===null)return fu(e,void 0,t);{let r=dD(t),o=n.retrieve(e,r);if($n(o)){if(r.optional)return null;throw o}return o}}function T(e,t=0){return(hh()||lD)(ae(e),t)}function p(e,t){return T(e,ln(t))}function ln(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function dD(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Qc(e){let t=[];for(let n=0;nArray.isArray(n)?os(n,t):t(n))}function hu(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ro(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}var gn={},dn=[],Le=new y(""),pu=new y("",-1),gu=new y(""),Xr=class{get(t,n=un){if(n===un){let o=fh("",-201);throw o.name="\u0275NotFound",o}return n}};function mu(e){return e[lu]||null}function _t(e){return e[au]||null}function is(e){return e[cu]||null}function vu(e){return e[uu]||null}function je(e){return{\u0275providers:e}}function ph(e){return je([{provide:Le,multi:!0,useValue:e}])}function gh(...e){return{\u0275providers:ss(!0,e),\u0275fromNgModule:!0}}function ss(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return os(t,s=>{let a=s;es(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&mh(o,i),n}function mh(e,t){for(let n=0;n{t(i,r)})}}function es(e,t,n,r){if(e=ae(e),!e)return!1;let o=null,i=Wc(e),s=!i&&_t(e);if(!i&&!s){let c=e.ngModule;if(i=Wc(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)es(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;try{os(i.imports,l=>{es(l,t,n,r)&&(u||=[],u.push(l))})}finally{}u!==void 0&&mh(u,t)}if(!a){let u=Gt(o)||(()=>new o);t({provide:o,useFactory:u,deps:dn},o),t({provide:gu,useValue:o,multi:!0},o),t({provide:Le,useValue:()=>T(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;yu(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function yu(e,t){for(let n of e)su(n)&&(n=n.\u0275providers),Array.isArray(n)?yu(n,t):t(n)}var hD=V({provide:String,useValue:V});function vh(e){return e!==null&&typeof e=="object"&&hD in e}function pD(e){return!!(e&&e.useExisting)}function gD(e){return!!(e&&e.useFactory)}function fn(e){return typeof e=="function"}function yh(e){return!!e.useClass}var oo=new y(""),Ji={},uh={},qc;function io(){return qc===void 0&&(qc=new Xr),qc}var Y=class{},hn=class extends Y{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,Jc(t,s=>this.processProvider(s)),this.records.set(pu,ir(void 0,this)),o.has("environment")&&this.records.set(Y,ir(void 0,this));let i=this.records.get(oo);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(gu,dn,{self:!0}))}retrieve(t,n){let r=ln(n)||0;try{return this.get(t,un,r)}catch(o){if($n(o))return o;throw o}}destroy(){Kr(this),this._destroyed=!0;let t=A(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),A(t)}}onDestroy(t){return Kr(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Kr(this);let n=ot(this),r=me(void 0),o;try{return t()}finally{ot(n),me(r)}}get(t,n=un,r){if(Kr(this),t.hasOwnProperty(ch))return t[ch](this);let o=ln(r),i,s=ot(this),a=me(void 0);try{if(!(o&4)){let u=this.records.get(t);if(u===void 0){let l=DD(t)&&to(t);l&&this.injectableDefInScope(l)?u=ir(Kc(t),Ji):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u,o)}let c=o&2?io():this.parent;return n=o&8&&n===un?null:n,c.get(t,n)}catch(c){let u=aD(c);throw u===-200||u===-201?new v(u,null):c}finally{me(a),ot(s)}}resolveInjectorInitializers(){let t=A(null),n=ot(this),r=me(void 0),o;try{let i=this.get(Le,dn,{self:!0});for(let s of i)s()}finally{ot(n),me(r),A(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(zt(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=ae(t);let n=fn(t)?t:ae(t&&t.provide),r=vD(t);if(!fn(t)&&t.multi===!0){let o=this.records.get(n);o||(o=ir(void 0,Ji,!0),o.factory=()=>Qc(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=A(null);try{if(n.value===uh)throw du(zt(t));return n.value===Ji&&(n.value=uh,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&ED(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{A(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=ae(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Kc(e){let t=to(e),n=t!==null?t.factory:Gt(e);if(n!==null)return n;if(e instanceof y)throw new v(204,!1);if(e instanceof Function)return mD(e);throw new v(204,!1)}function mD(e){if(e.length>0)throw new v(204,!1);let n=oD(e);return n!==null?()=>n.factory(e):()=>new e}function vD(e){if(vh(e))return ir(void 0,e.useValue);{let t=Eu(e);return ir(t,Ji)}}function Eu(e,t,n){let r;if(fn(e)){let o=ae(e);return Gt(o)||Kc(o)}else if(vh(e))r=()=>ae(e.useValue);else if(gD(e))r=()=>e.useFactory(...Qc(e.deps||[]));else if(pD(e))r=(o,i)=>T(ae(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=ae(e&&(e.useClass||e.provide));if(yD(e))r=()=>new o(...Qc(e.deps));else return Gt(o)||Kc(o)}return r}function Kr(e){if(e.destroyed)throw new v(205,!1)}function ir(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function yD(e){return!!e.deps}function ED(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function DD(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Jc(e,t){for(let n of e)Array.isArray(n)?Jc(n,t):n&&su(n)?Jc(n.\u0275providers,t):t(n)}function ce(e,t){let n;e instanceof hn?(Kr(e),n=e):n=new Yc(e);let r,o=ot(n),i=me(void 0);try{return t()}finally{ot(o),me(i)}}function Eh(){return hh()!==void 0||vi()!=null}var ve=0,I=1,M=2,Q=3,Ve=4,Be=5,Ae=6,sr=7,ue=8,Ue=9,st=10,H=11,ar=12,Du=13,mn=14,we=15,vn=16,yn=17,En=18,so=19,Cu=20,Dt=21,as=22,ao=23,Ne=24,Dn=25,co=26,U=27,Dh=1,Ke=6,at=7,uo=8,lo=9,pe=10;function He(e){return Array.isArray(e)&&typeof e[Dh]=="object"}function Re(e){return Array.isArray(e)&&e[Dh]===!0}function _u(e){return(e.flags&4)!==0}function It(e){return e.componentOffset>-1}function fo(e){return(e.flags&1)===1}function Wt(e){return!!e.template}function Cn(e){return(e[M]&512)!==0}function Zt(e){return(e[M]&256)===256}var Ch="svg",_h="math";function xe(e){for(;Array.isArray(e);)e=e[ve];return e}function Ih(e,t){return xe(t[e])}function Je(e,t){return xe(t[e.index])}function _n(e,t){return e.data[t]}function wh(e,t){return e[t]}function Iu(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function Xe(e,t){let n=t[e];return He(n)?n:n[ve]}function cs(e){return(e[M]&128)===128}function bh(e){return Re(e[Q])}function Yt(e,t){return t==null?null:e[t]}function wu(e){e[yn]=0}function bu(e){e[M]&1024||(e[M]|=1024,cs(e)&&cr(e))}function Th(e,t){for(;e>0;)t=t[mn],e--;return t}function ho(e){return!!(e[M]&9216||e[Ne]?.dirty)}function us(e){e[st].changeDetectionScheduler?.notify(8),e[M]&64&&(e[M]|=1024),ho(e)&&cr(e)}function cr(e){e[st].changeDetectionScheduler?.notify(0);let t=qt(e);for(;t!==null&&!(t[M]&8192||(t[M]|=8192,!cs(t)));)t=qt(t)}function Tu(e,t){if(Zt(e))throw new v(911,!1);e[Dt]===null&&(e[Dt]=[]),e[Dt].push(t)}function Mh(e,t){if(e[Dt]===null)return;let n=e[Dt].indexOf(t);n!==-1&&e[Dt].splice(n,1)}function qt(e){let t=e[Q];return Re(t)?t[Q]:t}function Sh(e){return e[sr]??=[]}function Ah(e){return e.cleanup??=[]}var F={lFrame:zh(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Xc=!1;function Nh(){return F.lFrame.elementDepthCount}function Rh(){F.lFrame.elementDepthCount++}function xh(){F.lFrame.elementDepthCount--}function Mu(){return F.bindingsEnabled}function Su(){return F.skipHydrationRootTNode!==null}function Oh(e){return F.skipHydrationRootTNode===e}function Ph(e){F.skipHydrationRootTNode=e}function Fh(){F.skipHydrationRootTNode=null}function B(){return F.lFrame.lView}function $e(){return F.lFrame.tView}function wt(e){return F.lFrame.contextLView=e,e[ue]}function bt(e){return F.lFrame.contextLView=null,e}function Oe(){let e=Au();for(;e!==null&&e.type===64;)e=e.parent;return e}function Au(){return F.lFrame.currentTNode}function kh(){let e=F.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function ur(e,t){let n=F.lFrame;n.currentTNode=e,n.isParent=t}function Nu(){return F.lFrame.isParent}function Lh(){F.lFrame.isParent=!1}function Ru(){return Xc}function xu(e){let t=Xc;return Xc=e,t}function jh(){let e=F.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Vh(e){return F.lFrame.bindingIndex=e}function po(){return F.lFrame.bindingIndex++}function Bh(){return F.lFrame.inI18n}function Uh(e,t){let n=F.lFrame;n.bindingIndex=n.bindingRootIndex=e,ls(t)}function Hh(){return F.lFrame.currentDirectiveIndex}function ls(e){F.lFrame.currentDirectiveIndex=e}function Ou(e){F.lFrame.currentQueryIndex=e}function CD(e){let t=e[I];return t.type===2?t.declTNode:t.type===1?e[Be]:null}function Pu(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=CD(i),o===null||(i=i[mn],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=F.lFrame=$h();return r.currentTNode=t,r.lView=e,!0}function ds(e){let t=$h(),n=e[I];F.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function $h(){let e=F.lFrame,t=e===null?null:e.child;return t===null?zh(e):t}function zh(e){let t={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:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function Gh(){let e=F.lFrame;return F.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Fu=Gh;function fs(){let e=Gh();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function qh(e){return(F.lFrame.contextLView=Th(e,F.lFrame.contextLView))[ue]}function hs(){return F.lFrame.selectedIndex}function Qt(e){F.lFrame.selectedIndex=e}function Wh(){let e=F.lFrame;return _n(e.tView,e.selectedIndex)}function ku(){return F.lFrame.currentNamespace}var Zh=!0;function ps(){return Zh}function Tt(e){Zh=e}function eu(e,t=null,n=null,r){let o=Lu(e,t,n,r);return o.resolveInjectorInitializers(),o}function Lu(e,t=null,n=null,r,o=new Set){let i=[n||dn,gh(e)];return r=r||(typeof e=="object"?void 0:zt(e)),new hn(i,t||io(),r||null,o)}var Se=class e{static THROW_IF_NOT_FOUND=un;static NULL=new Xr;static create(t,n){if(Array.isArray(t))return eu({name:""},n,t,"");{let r=t.name??"";return eu({name:r},t.parent,t.providers,r)}}static \u0275prov=C({token:e,providedIn:"any",factory:()=>T(pu)});static __NG_ELEMENT_ID__=-1},K=new y(""),ct=(()=>{class e{static __NG_ELEMENT_ID__=_D;static __NG_ENV_ID__=n=>n}return e})(),tu=class extends ct{_lView;constructor(t){super(),this._lView=t}get destroyed(){return Zt(this._lView)}onDestroy(t){let n=this._lView;return Tu(n,t),()=>Mh(n,t)}};function _D(){return new tu(B())}var Qe=class{_console=console;handleError(t){this._console.error("ERROR",t)}},ye=new y("",{providedIn:"root",factory:()=>{let e=p(Y),t;return n=>{e.destroyed&&!t?setTimeout(()=>{throw n}):(t??=e.get(Qe),t.handleError(n))}}}),Yh={provide:Le,useValue:()=>void p(Qe),multi:!0},ID=new y("",{providedIn:"root",factory:()=>{let e=p(K).defaultView;if(!e)return;let t=p(ye),n=i=>{t(i.reason),i.preventDefault()},r=i=>{i.error?t(i.error):t(new Error(i.message,{cause:i})),i.preventDefault()},o=()=>{e.addEventListener("unhandledrejection",n),e.addEventListener("error",r)};typeof Zone<"u"?Zone.root.run(o):o(),p(ct).onDestroy(()=>{e.removeEventListener("error",r),e.removeEventListener("unhandledrejection",n)})}});function ju(){return je([ph(()=>void p(ID))])}function ut(e,t){let[n,r,o]=Ac(e,t?.equal),i=n,s=i[ge];return i.set=r,i.update=o,i.asReadonly=Qh.bind(i),i}function Qh(){let e=this[ge];if(e.readonlyFn===void 0){let t=()=>this();t[ge]=e,e.readonlyFn=t}return e.readonlyFn}var gs=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=wD}return e})();function wD(){return new gs(B(),Oe())}var it=class{},lr=new y("",{providedIn:"root",factory:()=>!1});var Vu=new y(""),ms=new y(""),et=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new se(!1);get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new x(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=C({token:e,providedIn:"root",factory:()=>new e})}return e})(),dr=(()=>{class e{internalPendingTasks=p(et);scheduler=p(it);errorHandler=p(ye);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){let r=this.add();n().catch(this.errorHandler).finally(r)}static \u0275prov=C({token:e,providedIn:"root",factory:()=>new e})}return e})();function go(...e){}var Bu=(()=>{class e{static \u0275prov=C({token:e,providedIn:"root",factory:()=>new nu})}return e})(),nu=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,r]of this.queues)n===null?t||=this.flushQueue(r):t||=n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}};var vs={JSACTION:"jsaction"};function Hs(e){return{toString:e}.toString()}function OD(e){return typeof e=="function"}var Is=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Pp(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var $s=(()=>{let e=()=>Fp;return e.ngInherit=!0,e})();function Fp(e){return e.type.prototype.ngOnChanges&&(e.setInput=FD),PD}function PD(){let e=Lp(this),t=e?.current;if(t){let n=e.previous;if(n===gn)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function FD(e,t,n,r,o){let i=this.declaredInputs[r],s=Lp(e)||kD(e,{previous:gn,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new Is(u&&u.currentValue,n,c===gn),Pp(e,t,o,n)}var kp="__ngSimpleChanges__";function Lp(e){return e[kp]||null}function kD(e,t){return e[kp]=t}var Kh=[];var L=function(e,t=null,n){for(let r=0;r=r)break}else t[c]<0&&(e[yn]+=65536),(a>14>16&&(e[M]&3)===t&&(e[M]+=16384,Jh(a,i)):Jh(a,i)}var hr=-1,bn=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r}};function VD(e){return(e.flags&8)!==0}function BD(e){return(e.flags&16)!==0}function UD(e,t,n){let r=0;for(;rt){s=i-1;break}}}for(;i>16}function bs(e,t){let n=zD(e),r=t;for(;n>0;)r=r[mn],n--;return r}var Ku=!0;function Ts(e){let t=Ku;return Ku=e,t}var GD=256,Up=GD-1,Hp=5,qD=0,lt={};function WD(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(pn)&&(r=n[pn]),r==null&&(r=n[pn]=qD++);let o=r&Up,i=1<>Hp)]|=i}function Ms(e,t){let n=$p(e,t);if(n!==-1)return n;let r=t[I];r.firstCreatePass&&(e.injectorIndex=t.length,Hu(r.data,e),Hu(t,null),Hu(r.blueprint,null));let o=vl(e,t),i=e.injectorIndex;if(Bp(o)){let s=ws(o),a=bs(o,t),c=a[I].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function Hu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function $p(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function vl(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=Zp(o),r===null)return hr;if(n++,o=o[mn],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return hr}function Ju(e,t,n){WD(e,t,n)}function zp(e,t,n){if(n&8||e!==void 0)return e;rs(t,"NodeInjector")}function Gp(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[Ue],i=me(void 0);try{return o?o.get(t,r,n&8):fu(t,r,n&8)}finally{me(i)}}return zp(r,t,n)}function qp(e,t,n,r=0,o){if(e!==null){if(t[M]&2048&&!(r&2)){let s=JD(e,t,n,r,lt);if(s!==lt)return s}let i=Wp(e,t,n,r,lt);if(i!==lt)return i}return Gp(t,n,r,o)}function Wp(e,t,n,r,o){let i=QD(n);if(typeof i=="function"){if(!Pu(t,e,r))return r&1?zp(o,n,r):Gp(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))rs(n);else return s}finally{Fu()}}else if(typeof i=="number"){let s=null,a=$p(e,t),c=hr,u=r&1?t[we][Be]:null;for((a===-1||r&4)&&(c=a===-1?vl(e,t):t[a+8],c===hr||!tp(r,!1)?a=-1:(s=t[I],a=ws(c),t=bs(c,t)));a!==-1;){let l=t[I];if(ep(i,a,l.data)){let d=ZD(a,t,n,s,r,u);if(d!==lt)return d}c=t[a+8],c!==hr&&tp(r,t[I].data[a+8]===u)&&ep(i,a,t)?(s=l,a=ws(c),t=bs(c,t)):a=-1}}return o}function ZD(e,t,n,r,o,i){let s=t[I],a=s.data[e+8],c=r==null?It(a)&&Ku:r!=s&&(a.type&3)!==0,u=o&1&&i===a,l=YD(a,s,n,c,u);return l!==null?Ss(t,s,l,a,o):lt}function YD(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,d=r?a:a+l,h=o?a+l:u;for(let f=d;f=c&&g.type===n)return f}if(o){let f=s[c];if(f&&Wt(f)&&f.type===n)return c}return null}function Ss(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof bn){let a=i;if(a.resolving){let f=lh(s[n]);throw du(f)}let c=Ts(a.canSeeViewProviders);a.resolving=!0;let u=s[n].type||s[n],l,d=a.injectImpl?me(a.injectImpl):null,h=Pu(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&LD(n,s[n],t)}finally{d!==null&&me(d),Ts(c),a.resolving=!1,Fu()}}return i}function QD(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(pn)?e[pn]:void 0;return typeof t=="number"?t>=0?t&Up:KD:t}function ep(e,t,n){let r=1<>Hp)]&r)}function tp(e,t){return!(e&2)&&!(e&1&&t)}var wn=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return qp(this._tNode,this._lView,t,ln(r),n)}};function KD(){return new wn(Oe(),B())}function zs(e){return Hs(()=>{let t=e.prototype.constructor,n=t[Jr]||Xu(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Jr]||Xu(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Xu(e){return ou(e)?()=>{let t=Xu(ae(e));return t&&t()}:Gt(e)}function JD(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[M]&2048&&!Cn(s);){let a=Wp(i,s,n,r|2,lt);if(a!==lt)return a;let c=i.parent;if(!c){let u=s[Cu];if(u){let l=u.get(n,lt,r);if(l!==lt)return l}c=Zp(s),s=s[mn]}i=c}return o}function Zp(e){let t=e[I],n=t.type;return n===2?t.declTNode:n===1?e[Be]:null}function XD(){return Gs(Oe(),B())}function Gs(e,t){return new yl(Je(e,t))}var yl=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=XD}return e})();var Yp="ngSkipHydration",eC="ngskiphydration";function Qp(e){let t=e.mergedAttrs;if(t===null)return!1;for(let n=0;noC}),oC="ng",qs=new y(""),Sn=new y("",{providedIn:"platform",factory:()=>"unknown"});var Ws=new y("",{providedIn:"root",factory:()=>Io().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function iC(){let e=new An;return e.store=sC(Io(),p(dt)),e}var An=(()=>{class e{static \u0275prov=C({token:e,providedIn:"root",factory:iC});store={};onSerializeCallbacks={};get(n,r){return this.store[n]!==void 0?this.store[n]:r}set(n,r){this.store[n]=r}remove(n){delete this.store[n]}hasKey(n){return this.store.hasOwnProperty(n)}get isEmpty(){return Object.keys(this.store).length===0}onSerialize(n,r){this.onSerializeCallbacks[n]=r}toJson(){for(let n in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(n))try{this.store[n]=this.onSerializeCallbacks[n]()}catch(r){console.warn("Exception in onSerialize callback: ",r)}return JSON.stringify(this.store).replace(/fg});var wl=new y(""),hg=!1,pg=new y(""),bl=new y("",{providedIn:"root",factory:()=>new Map});var bo="ngb";var gg=(e,t,n)=>{let r=e,o=r.__jsaction_fns??new Map,i=o.get(t)??[];i.push(n),o.set(t,i),r.__jsaction_fns=o},mg=(e,t)=>{let n=e,r=n.getAttribute(bo)??"",o=t.get(r)??new Set;o.has(n)||o.add(n),t.set(r,o)};var vg=e=>{e.removeAttribute(vs.JSACTION),e.removeAttribute(bo),e.__jsaction_fns=void 0},yg=new y("",{providedIn:"root",factory:()=>({})});function Tl(e,t){let n=t?.__jsaction_fns?.get(e.type);if(!(!n||!t?.isConnected))for(let r of n)r(e)}var nl=new Map;function Eg(e,t){return nl.set(e,t),()=>nl.delete(e)}var rp=!1,Dg=(e,t,n,r)=>{};function uC(e,t,n,r){Dg(e,t,n,r)}function Cg(){rp||(Dg=(e,t,n,r)=>{let o=e[Ue].get(dt);nl.get(o)?.(t,n,r)},rp=!0)}var Ys=new y("");function Qs(e){return(e.flags&32)===32}var lC="__nghData__",Ml=lC,dC="__nghDeferData__",_g=dC;var Ds="ngh",Ig="nghm",wg=()=>null;function fC(e,t,n=!1){let r=e.getAttribute(Ds);if(r==null)return null;let[o,i]=r.split("|");if(r=n?i:o,!r)return null;let s=i?`|${i}`:"",a=n?o:s,c={};if(r!==""){let l=t.get(An,null,{optional:!0});l!==null&&(c=l.get(Ml,[])[Number(r)])}let u={data:c,firstChild:e.firstChild??null};return n&&(u.firstChild=e,Ks(u,0,e.nextSibling)),a?e.setAttribute(Ds,a):e.removeAttribute(Ds),u}function bg(){wg=fC}function Tg(e,t,n=!1){return wg(e,t,n)}function Mg(e){let t=e._lView;return t[I].type===2?null:(Cn(t)&&(t=t[U]),t)}function hC(e){return e.textContent?.replace(/\s/gm,"")}function pC(e){let t=Io(),n=t.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(i){let s=hC(i);return s==="ngetn"||s==="ngtns"?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),r,o=[];for(;r=n.nextNode();)o.push(r);for(let i of o)i.textContent==="ngetn"?i.replaceWith(t.createTextNode("")):i.remove()}function Ks(e,t,n){e.segmentHeads??={},e.segmentHeads[t]=n}function rl(e,t){return e.segmentHeads?.[t]??null}function Sg(e){return e.get(pg,!1,{optional:!0})}function gC(e,t){let n=e.data,r=n[ig]?.[t]??null;return r===null&&n[Zs]?.[t]&&(r=Sl(e,t)),r}function Ag(e,t){return e.data[Zs]?.[t]??null}function Sl(e,t){let n=Ag(e,t)??[],r=0;for(let o of n)r+=o[yo]*(o[Cl]??1);return r}function mC(e){if(typeof e.disconnectedNodes>"u"){let t=e.data[_l];e.disconnectedNodes=t?new Set(t):null}return e.disconnectedNodes}function Ng(e,t){if(typeof e.disconnectedNodes>"u"){let n=e.data[_l];e.disconnectedNodes=n?new Set(n):null}return!!mC(e)?.has(t)}function Js(e,t){let n=e[Ae];return n!==null&&!Su()&&!Qs(t)&&!Ng(n,t.index-U)}function vC(e,t){let n=t.get(Ys),o=t.get(An).get(_g,{}),i=!1,s=e,a=null,c=[];for(;!i&&s;){i=n.has(s);let u=n.hydrating.get(s);if(a===null&&u!=null){a=u.promise;break}c.unshift(s),s=o[s][dg]}return{parentBlockPromise:a,hydrationQueue:c}}function $u(e){return!!e&&e.nodeType===Node.COMMENT_NODE&&e.textContent?.trim()===Ig}function op(e){for(;e&&e.nodeType===Node.TEXT_NODE;)e=e.previousSibling;return e}function Rg(e){for(let r of e.body.childNodes)if($u(r))return;let t=op(e.body.previousSibling);if($u(t))return;let n=op(e.head.lastChild);if(!$u(n))throw new v(-507,!1)}function xg(e,t){let n=e.contentQueries;if(n!==null){let r=A(null);try{for(let o=0;o|^->||--!>|)/g,_C="\u200B$1\u200B";function IC(e){return e.replace(DC,t=>t.replace(CC,_C))}function Fg(e){return e.ownerDocument.body}function kg(e){return e instanceof Function?e():e}function wC(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var Lg="ng-template";function bC(e,t,n,r){let o=0;if(r){for(;o-1){let i;for(;++oi?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(tt(r))return!1;s=!0}}}}return tt(r)||s}function tt(e){return(e&1)===0}function SC(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!tt(s)&&(t+=ip(i,o),o=""),r=s,i=i||!tt(r);n++}return o!==""&&(t+=ip(i,o)),t}function OC(e){return e.map(xC).join(",")}function PC(e){let t=[],n=[],r=1,o=2;for(;rnull),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof W&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},ne=sl;function Wg(e){let t,n;function r(){e=go;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function cp(e){return queueMicrotask(()=>e()),()=>{e=go}}var Vl="isAngularZone",xs=Vl+"_ID",HC=0,z=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new ne(!1);onMicrotaskEmpty=new ne(!1);onStable=new ne(!1);onError=new ne(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=qg}=t;if(typeof Zone>"u")throw new v(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,GC(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Vl)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new v(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new v(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,$C,go,go);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},$C={};function Bl(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function zC(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Wg(()=>{e.callbackScheduled=!1,al(e),e.isCheckStableRunning=!0,Bl(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),al(e)}function GC(e){let t=()=>{zC(e)},n=HC++;e._inner=e._inner.fork({name:"angular",properties:{[Vl]:!0,[xs]:n,[xs+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(qC(c))return r.invokeTask(i,s,a,c);try{return up(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),lp(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return up(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!WC(c)&&t(),lp(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,al(e),Bl(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function al(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function up(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function lp(e){e._nesting--,Bl(e)}var Eo=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new ne;onMicrotaskEmpty=new ne;onStable=new ne;onError=new ne;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function qC(e){return Zg(e,"__ignore_ng_zone__")}function WC(e){return Zg(e,"__scheduler_tick__")}function Zg(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Ul=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=C({token:e,providedIn:"root",factory:()=>new e})}return e})(),Yg=[0,1,2,3],Qg=(()=>{class e{ngZone=p(z);scheduler=p(it);errorHandler=p(Qe,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){p(Nn,{optional:!0})}execute(){let n=this.sequences.size>0;n&&L(16),this.executing=!0;for(let r of Yg)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&L(17)}register(n){let{view:r}=n;r!==void 0?((r[Dn]??=[]).push(n),cr(r),r[M]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(ta.AFTER_NEXT_RENDER,n):n()}static \u0275prov=C({token:e,providedIn:"root",factory:()=>new e})}return e})(),Os=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[Dn];t&&(this.view[Dn]=t.filter(n=>n!==this))}};function na(e,t){let n=t?.injector??p(Se);return ze("NgAfterNextRender"),YC(e,n,t,!0)}function ZC(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function YC(e,t,n,r){let o=t.get(Ul);o.impl??=t.get(Qg);let i=t.get(Nn,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(ct):null,a=t.get(gs,null,{optional:!0}),c=new Os(o.impl,ZC(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var QC=new y("",{providedIn:"root",factory:()=>({queue:new Set,isScheduled:!1,scheduler:null})});function Kg(e,t,n){let r=e.get(QC);if(Array.isArray(t))for(let o of t)r.queue.add(o),n?.detachedLeaveAnimationFns?.push(o);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e)}function KC(e,t){for(let[n,r]of t)Kg(e,r.animateFns)}function dp(e,t,n,r){let o=e?.[co]?.enter;t!==null&&o&&o.has(n.index)&&KC(r,o)}function fr(e,t,n,r,o,i,s,a){if(o!=null){let c,u=!1;Re(o)?c=o:He(o)&&(u=!0,o=o[ve]);let l=xe(o);e===0&&r!==null?(dp(a,r,i,n),s==null?Bg(t,r,l):Rs(t,r,l,s||null,!0)):e===1&&r!==null?(dp(a,r,i,n),Rs(t,r,l,s||null,!0)):e===2?fp(a,i,n,d=>{Pl(t,l,u,d)}):e===3&&fp(a,i,n,()=>{t.destroyNode(l)}),c!=null&&l_(t,e,n,c,i,r,s)}}function JC(e,t){Jg(e,t),t[ve]=null,t[Be]=null}function XC(e,t,n,r,o,i){r[ve]=o,r[Be]=t,ra(e,r,n,1,o,i)}function Jg(e,t){t[st].changeDetectionScheduler?.notify(9),ra(e,t,t[H],2,null,null)}function e_(e){let t=e[ar];if(!t)return zu(e[I],e);for(;t;){let n=null;if(He(t))n=t[ar];else{let r=t[pe];r&&(n=r)}if(!n){for(;t&&!t[Ve]&&t!==e;)He(t)&&zu(t[I],t),t=t[Q];t===null&&(t=e),He(t)&&zu(t[I],t),n=t&&t[Ve]}t=n}}function Hl(e,t){let n=e[lo],r=n.indexOf(t);n.splice(r,1)}function $l(e,t){if(Zt(t))return;let n=t[H];n.destroyNode&&ra(e,t,n,3,null,null),e_(t)}function zu(e,t){if(Zt(t))return;let n=A(null);try{t[M]&=-129,t[M]|=256,t[Ne]&&Wr(t[Ne]),r_(e,t),n_(e,t),t[I].type===1&&t[H].destroy();let r=t[vn];if(r!==null&&Re(t[Q])){r!==t[Q]&&Hl(r,t);let o=t[En];o!==null&&o.detachView(e)}el(t)}finally{A(n)}}function fp(e,t,n,r){let o=e?.[co];if(o==null||o.leave==null||!o.leave.has(t.index))return r(!1);e&&vr.add(e),Kg(n,()=>{if(o.leave&&o.leave.has(t.index)){let s=o.leave.get(t.index),a=[];if(s){for(let c=0;c{e[co].running=void 0,vr.delete(e),t(!0)});return}t(!1)}function n_(e,t){let n=e.cleanup,r=t[sr];if(n!==null)for(let s=0;s=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[sr]=null);let o=t[Dt];if(o!==null){t[Dt]=null;for(let s=0;sU&&Gg(e,t,U,!1),L(s?2:0,o,n),n(r,o)}finally{Qt(i),L(s?3:1,o,n)}}function ql(e,t,n){y_(e,t,n),(n.flags&64)===64&&E_(e,t,n)}function Wl(e,t,n=Je){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;inull;function h_(e){Kp(e)?Ug(e):pC(e)}function nm(){tm=h_}function p_(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function g_(e,t,n,r,o,i){let s=t[I];if(Yl(e,s,t,n,r)){It(e)&&v_(t,e.index);return}e.type&3&&(n=p_(n)),m_(e,t,n,r,o,i)}function m_(e,t,n,r,o,i){if(e.type&3){let s=Je(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function v_(e,t){let n=Xe(t,e);n[M]&16||(n[M]|=64)}function y_(e,t,n){let r=n.directiveStart,o=n.directiveEnd;It(n)&&BC(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Ms(n,t);let i=n.initialInputs;for(let s=r;s{cr(e.lView)},consumerOnSignalRead(){this.lView[Ne]=this}});function R_(e){let t=e[Ne]??Object.create(x_);return t.lView=e,t}var x_=O(m({},zn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=qt(e.lView);for(;t&&!am(t[I]);)t=qt(t);t&&bu(t)},consumerOnSignalRead(){this.lView[Ne]=this}});function am(e){return e.type!==2}function cm(e){if(e[ao]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[ao])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[M]&8192)}}var O_=100;function um(e,t=0){let r=e[st].rendererFactory,o=!1;o||r.begin?.();try{P_(e,t)}finally{o||r.end?.()}}function P_(e,t){let n=Ru();try{xu(!0),ul(e,t);let r=0;for(;ho(e);){if(r===O_)throw new v(103,!1);r++,ul(e,1)}}finally{xu(n)}}function F_(e,t,n,r){if(Zt(t))return;let o=t[M],i=!1,s=!1;ds(t);let a=!0,c=null,u=null;i||(am(e)?(u=M_(t),c=qn(u)):_i()===null?(a=!1,u=R_(t),c=qn(u)):t[Ne]&&(Wr(t[Ne]),t[Ne]=null));try{wu(t),Vh(e.bindingStartIndex),n!==null&&em(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&ys(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Es(t,f,0,null),Uu(t,0)}if(s||k_(t),cm(t),lm(t,0),e.contentQueries!==null&&xg(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&ys(t,f)}else{let f=e.contentHooks;f!==null&&Es(t,f,1),Uu(t,1)}j_(e,t);let d=e.components;d!==null&&fm(t,d,0);let h=e.viewQuery;if(h!==null&&ol(2,h,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&ys(t,f)}else{let f=e.viewHooks;f!==null&&Es(t,f,2),Uu(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[as]){for(let f of t[as])f();t[as]=null}i||(im(t),t[M]&=-73)}catch(l){throw i||cr(t),l}finally{u!==null&&(Gr(u,c),a&&A_(u)),fs()}}function lm(e,t){for(let n=eg(e);n!==null;n=tg(n))for(let r=pe;r0&&(e[n-1][Ve]=r[Ve]);let i=ro(e,pe+t);JC(r[I],r);let s=i[En];s!==null&&s.detachView(i[I]),r[Q]=null,r[Ve]=null,r[M]&=-129}return r}function B_(e,t,n,r){let o=pe+r,i=n.length;r>0&&(n[o-1][Ve]=t),r-1&&(Fs(t,r),ro(n,r))}this._attachedToViewContainer=!1}$l(this._lView[I],this._lView)}onDestroy(t){Tu(this._lView,t)}markForCheck(){oa(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[M]&=-129}reattach(){us(this._lView),this._lView[M]|=128}detectChanges(){this._lView[M]|=1024,um(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new v(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Cn(this._lView),n=this._lView[vn];n!==null&&!t&&Hl(n,this._lView),Jg(this._lView[I],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new v(902,!1);this._appRef=t;let n=Cn(this._lView),r=this._lView[vn];r!==null&&!n&&gm(r,this._lView),us(this._lView)}};var ia=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=U_;constructor(n,r,o){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,o){let i=Kl(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new Kt(i)}}return e})();function U_(){return H_(Oe(),B())}function H_(e,t){return e.type&4?new ia(t,e,Gs(e,t)):null}function sa(e,t,n,r,o){let i=e.data[t];if(i===null)i=$_(e,t,n,r,o),Bh()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=kh();i.injectorIndex=s===null?-1:s.injectorIndex}return ur(i,!0),i}function $_(e,t,n,r,o){let i=Au(),s=Nu(),a=s?i:i&&i.parent,c=e.data[t]=G_(e,a,n,t,r,o);return z_(e,c,i,s),c}function z_(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function G_(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Su()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var q_=new RegExp(`^(\\d+)*(${og}|${rg})*(.*)`);function W_(e){let t=e.match(q_),[n,r,o,i]=t,s=r?parseInt(r,10):o,a=[];for(let[c,u,l]of i.matchAll(/(f|n)(\d*)/g)){let d=parseInt(l,10)||1;a.push(u,d)}return[s,...a]}function Z_(e){return!e.prev&&e.parent?.type===8}function Gu(e){return e.index-U}function Y_(e,t){let n=e.i18nNodes;if(n)return n.get(t)}function aa(e,t,n,r){let o=Gu(r),i=Y_(e,o);if(i===void 0){let s=e.data[cg];if(s?.[o])i=K_(s[o],n);else if(t.firstChild===r)i=e.firstChild;else{let a=r.prev===null,c=r.prev??r.parent;if(Z_(r)){let u=Gu(r.parent);i=rl(e,u)}else{let u=Je(c,n);if(a)i=u.firstChild;else{let l=Gu(c),d=rl(e,l);if(c.type===2&&d){let f=Sl(e,l)+1;i=ca(f,d)}else i=u.nextSibling}}}}return i}function ca(e,t){let n=t;for(let r=0;r0&&(i.firstChild=e,e=ca(r[yo],e)),n.push(i)}return[e,n]}var ym=()=>null,Em=()=>null;function Dm(){ym=oI,Em=iI}function oI(e,t){return Cm(e,t)?e[Ke].shift():(Xl(e),null)}function ll(e,t){return ym(e,t)}function iI(e,t,n){if(t.tView.ssrId===null)return null;let r=ll(e,t.tView.ssrId);return n[I].firstUpdatePass&&r===null&&aI(n,t),r}function sI(e,t,n){return Em(e,t,n)}function aI(e,t){let n=t;for(;n;){if(pp(e,n))return;if((n.flags&256)===256)break;n=n.prev}for(n=t.next;n&&(n.flags&512)===512;){if(pp(e,n))return;n=n.next}}function Cm(e,t){let n=e[Ke];return!t||n===null||n.length===0?!1:n[0].data[ag]===t}function pp(e,t){let n=t.tView?.ssrId;if(n==null)return!1;let r=e[t.index];return Re(r)&&Cm(r,n)?(Xl(r),!0):!1}var _m=class{},la=class{},dl=class{resolveComponentFactory(t){throw new v(917,!1)}},Mo=class{static NULL=new dl},Tn=class{};var Im=(()=>{class e{static \u0275prov=C({token:e,providedIn:"root",factory:()=>null})}return e})();var Cs={},pr=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,Cs,r);return o!==Cs||n===Cs?o:this.parentInjector.get(t,n,r)}};function gp(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&(n.directiveToIndex=new Map);for(let h=0;h0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function gI(e,t,n){if(n){if(t.exportAs)for(let r=0;rr(xe(_[e.index])):e.index;Nm(g,t,n,i,a,f,!1)}}return u}function EI(e){return e.startsWith("animation")||e.startsWith("transition")}function DI(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;ic?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Nm(e,t,n,r,o,i,s){let a=t.firstCreatePass?Ah(t):null,c=Sh(n),u=c.length;c.push(o,i),a&&a.push(r,e,u,(u+1)*(s?-1:1))}function Dp(e,t,n,r,o,i){let s=t[n],a=t[I],u=a.data[n].outputs[r],d=s[u].subscribe(i);Nm(e.index,a,t,o,i,d,!0)}var fl=Symbol("BINDING");var Ls=class extends Mo{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=_t(t);return new yr(n,this.ngModule)}};function CI(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&ea.SignalBased)!==0};return o&&(i.transform=o),i})}function _I(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function II(e,t,n){let r=t instanceof Y?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new pr(n,r):n}function wI(e){let t=e.get(Tn,null);if(t===null)throw new v(407,!1);let n=e.get(Im,null),r=e.get(it,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1}}function bI(e,t){let n=Rm(e);return Ol(t,n,n==="svg"?Ch:n==="math"?_h:null)}function Rm(e){return(e.selectors[0][0]||"div").toLowerCase()}var yr=class extends la{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=CI(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=_I(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=OC(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){L(22);let a=A(null);try{let c=this.componentDef,u=TI(r,c,s,i),l=II(c,o||this.ngModule,t),d=wI(l),h=d.rendererFactory.createRenderer(null,c),f=r?d_(h,r,c.encapsulation,l):bI(c,h),g=s?.some(Cp)||i?.some(D=>typeof D!="function"&&D.bindings.some(Cp)),_=kl(null,u,null,512|$g(c),null,null,d,h,l,null,Tg(f,l,!0));_[U]=f,ds(_);let E=null;try{let D=Tm(U,_,2,"#host",()=>u.directiveRegistry,!0,0);Hg(h,f,D),mr(f,_),ql(u,_,D),Og(u,D,_),Mm(u,D),n!==void 0&&SI(D,this.ngContentSelectors,n),E=Xe(D.index,_),_[ue]=E[ue],Ql(u,_,null)}catch(D){throw E!==null&&el(E),el(_),D}finally{L(23),fs()}return new js(this.componentType,_,!!g)}finally{A(a)}}};function TI(e,t,n,r){let o=e?["ng-version","20.3.11"]:PC(t.selectors[0]),i=null,s=null,a=0;if(n)for(let l of n)a+=l[fl].requiredVars,l.create&&(l.targetIdx=0,(i??=[]).push(l)),l.update&&(l.targetIdx=0,(s??=[]).push(l));if(r)for(let l=0;l{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update()}}function Cp(e){let t=e[fl].kind;return t==="input"||t==="twoWay"}var js=class extends _m{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=_n(n[I],U),this.location=Gs(this._tNode,n),this.instance=Xe(this._tNode.index,n)[ue],this.hostView=this.changeDetectorRef=new Kt(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=Yl(r,o[I],o,t,n);this.previousInputValues.set(t,n);let s=Xe(r.index,o);oa(s,1)}get injector(){return new wn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function SI(e,t,n){let r=e.projection=[];for(let o=0;o{class e{static __NG_ELEMENT_ID__=AI}return e})();function AI(){let e=Oe();return RI(e,B())}var NI=Er,xm=class extends NI{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Gs(this._hostTNode,this._hostLView)}get injector(){return new wn(this._hostTNode,this._hostLView)}get parentInjector(){let t=vl(this._hostTNode,this._hostLView);if(Bp(t)){let n=bs(t,this._hostLView),r=ws(t),o=n[I].data[r+8];return new wn(o,n)}else return new wn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=_p(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-pe}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=ll(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Ps(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!OD(t),u;if(c)u=n;else{let E=n||{};u=E.index,r=E.injector,o=E.projectableNodes,i=E.environmentInjector||E.ngModuleRef,s=E.directives,a=E.bindings}let l=c?t:new yr(_t(t)),d=r||this.parentInjector;if(!i&&l.ngModule==null){let D=(c?d:this.parentInjector).get(Y,null);D&&(i=D)}let h=_t(l.componentType??{}),f=ll(this._lContainer,h?.id??null),g=f?.firstChild??null,_=l.create(d,o,g,i,s,a);return this.insertImpl(_.hostView,u,Ps(this._hostTNode,f)),_}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(bh(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[Q],u=new xm(c,c[Be],c[Q]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Jl(s,o,i,r),t.attachToViewContainerRef(),hu(Wu(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=_p(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Fs(this._lContainer,n);r&&(ro(Wu(this._lContainer),n),$l(r[I],r))}detach(t){let n=this._adjustIndex(t,-1),r=Fs(this._lContainer,n);return r&&ro(Wu(this._lContainer),n)!=null?new Kt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function _p(e){return e[uo]}function Wu(e){return e[uo]||(e[uo]=[])}function RI(e,t){let n,r=t[e.index];return Re(r)?n=r:(n=hm(r,t,null,e),t[e.index]=n,Ll(t,n)),Om(n,t,e,r),new xm(n,e,t)}function xI(e,t){let n=e[H],r=n.createComment(""),o=Je(t,e),i=n.parentNode(o);return Rs(n,i,r,n.nextSibling(o),!1),r}var Om=Pm,nd=()=>!1;function OI(e,t,n){return nd(e,t,n)}function Pm(e,t,n,r){if(e[at])return;let o;n.type&8?o=xe(r):o=xI(t,n),e[at]=o}function PI(e,t,n){if(e[at]&&e[Ke])return!0;let r=n[Ae],o=t.index-U;if(!r||Jp(t)||Ng(r,o))return!1;let s=rl(r,o),a=r.data[Zs]?.[o],[c,u]=rI(s,a);return e[at]=c,e[Ke]=u,!0}function FI(e,t,n,r){nd(e,n,t)||Pm(e,t,n,r)}function Fm(){Om=FI,nd=PI}var Mn=class{},da=class{};var Vs=class extends Mn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Ls(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=mu(t);this._bootstrapComponents=kg(i.bootstrap),this._r3Injector=Lu(t,n,[{provide:Mn,useValue:this},{provide:Mo,useValue:this.componentFactoryResolver},...r],zt(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},Bs=class extends da{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Vs(this.moduleType,t,[])}};var Co=class extends Mn{injector;componentFactoryResolver=new Ls(this);instance=null;constructor(t){super();let n=new hn([...t.providers,{provide:Mn,useValue:this},{provide:Mo,useValue:this.componentFactoryResolver}],t.parent||io(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Dr(e,t,n=null){return new Co({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var kI=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=ss(!1,n.type),o=r.length>0?Dr([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=C({token:e,providedIn:"environment",factory:()=>new e(T(Y))})}return e})();function Ao(e){return Hs(()=>{let t=km(e),n=O(m({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===El.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(kI).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Mt.Emulated,styles:e.styles||dn,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&ze("NgStandalone"),Lm(n);let r=e.dependencies;return n.directiveDefs=Ip(r,LI),n.pipeDefs=Ip(r,vu),n.id=BI(n),n})}function LI(e){return _t(e)||is(e)}function jI(e,t){if(e==null)return gn;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=ea.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function VI(e){if(e==null)return gn;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function No(e){return Hs(()=>{let t=km(e);return Lm(t),t})}function rd(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function km(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||gn,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||dn,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:jI(e.inputs,t),outputs:VI(e.outputs),debugInfo:null}}function Lm(e){e.features?.forEach(t=>t(e))}function Ip(e,t){return e?()=>{let n=typeof e=="function"?e():e,r=[];for(let o of n){let i=t(o);i!==null&&r.push(i)}return r}:null}function BI(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function jm(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=ml(e.mergedAttrs,e.attrs);let l=e.tView=Fl(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),l.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),ur(e,!1);let c=Bm(n,t,e,r);ps()&&zl(n,t,c,e),mr(c,t);let u=hm(c,t,c,e);t[r+U]=u,Ll(t,u),OI(u,e,t)}function UI(e,t,n,r,o,i,s,a,c,u,l){let d=n+U,h;return t.firstCreatePass?(h=sa(t,d,4,s||null,a||null),Mu()&&wm(t,e,h,Yt(t.consts,u),rm),jp(t,h)):h=t.data[d],jm(h,e,t,n,r,o,i,c),fo(h)&&ql(t,e,h),u!=null&&Wl(e,h,l),h}function Vm(e,t,n,r,o,i,s,a,c,u,l){let d=n+U,h;if(t.firstCreatePass){if(h=sa(t,d,4,s||null,a||null),u!=null){let f=Yt(t.consts,u);h.localNames=[];for(let g=0;g{class e{cachedInjectors=new Map;getOrCreateInjector(n,r,o,i){if(!this.cachedInjectors.has(n)){let s=o.length>0?Dr(o,r,i):null;this.cachedInjectors.set(n,s)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=C({token:e,providedIn:"environment",factory:()=>new e})}return e})();var zm=new y("");function Zu(e,t,n){return e.get(ew).getOrCreateInjector(t,e,n,"")}function tw(e,t,n){if(e instanceof pr){let o=e.injector,i=e.parentInjector,s=Zu(i,t,n);return new pr(o,s)}let r=e.get(Y);if(r!==e){let o=Zu(r,t,n);return new pr(e,o)}return Zu(e,t,n)}function In(e,t,n,r=!1){let o=n[Q],i=o[I];if(Zt(o))return;let s=Cr(o,t),a=s[Ro],c=s[WI];if(!(c!==null&&eo.data[lg]===t[Ro])??-1;return{dehydratedView:n>-1?e[Ke][n]:null,dehydratedViewIx:n}}function rw(e,t,n,r,o){L(20);let i=KI(e,o,r);if(i!==null){t[Ro]=e;let s=o[I],a=i+U,c=_n(s,a),u=0;pm(n,u);let l;if(e===J.Complete){let g=xo(s,r),_=g.providers;_&&_.length>0&&(l=tw(o[Ue],g,_))}let{dehydratedView:d,dehydratedViewIx:h}=nw(n,t),f=Kl(o,c,null,{injector:l,dehydratedView:d});if(Jl(n,f,u,Ps(c,d)),oa(f,2),h>-1&&n[Ke]?.splice(h,1),(e===J.Complete||e===J.Error)&&Array.isArray(t[gr])){for(let g of t[gr])g();t[gr]=null}}L(21)}function Mp(e,t){return e{e.loadingState===Pe.COMPLETE?In(J.Complete,t,n):e.loadingState===Pe.FAILED&&In(J.Error,t,n)})}var ow=null;var ha=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var id=new y("");function At(e){return!!e&&typeof e.then=="function"}function pa(e){return!!e&&typeof e.subscribe=="function"}var Gm=new y("");var sd=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=p(Gm,{optional:!0})??[];injector=p(Se);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=ce(this.injector,o);if(At(i))n.push(i);else if(pa(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Xt=new y("");function qm(){Sc(()=>{let e="";throw new v(600,e)})}function Wm(e){return e.isBoundToModule}var iw=10;var Ee=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=p(ye);afterRenderManager=p(Ul);zonelessEnabled=p(lr);rootEffectScheduler=p(Bu);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new G;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=p(et);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(R(n=>!n))}constructor(){p(Nn,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=p(Y);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=Se.NULL){return this._injector.get(z).run(()=>{L(10);let s=n instanceof la;if(!this._injector.get(sd).done){let g="";throw new v(405,g)}let c;s?c=n:c=this._injector.get(Mo).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let u=Wm(c)?void 0:this._injector.get(Mn),l=r||c.selector,d=c.create(o,[],l,u),h=d.location.nativeElement,f=d.injector.get(id,null);return f?.registerApplication(h),d.onDestroy(()=>{this.detachView(d.hostView),vo(this.components,d),f?.unregisterApplication(h)}),this._loadComponent(d),L(11,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){L(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(ta.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new v(101,!1);let n=A(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,A(n),this.afterTick.next(),L(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Tn,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++ho(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;vo(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(n),this._injector.get(Xt,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>vo(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new v(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function vo(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function sw(){let e,t;return{promise:new Promise((r,o)=>{e=r,t=o}),resolve:e,reject:t}}function Zm(e,t,n){let r=t[Ue],o=t[I];if(e.loadingState!==Pe.NOT_STARTED)return e.loadingPromise??Promise.resolve();let i=Cr(t,n),s=XI(o,e);e.loadingState=Pe.IN_PROGRESS,_s(1,i);let a=e.dependencyResolverFn,c=r.get(dr).add();return a?(e.loadingPromise=Promise.allSettled(a()).then(u=>{let l=!1,d=[],h=[];for(let f of u)if(f.status==="fulfilled"){let g=f.value,_=_t(g)||is(g);if(_)d.push(_);else{let E=vu(g);E&&h.push(E)}}else{l=!0;break}if(l){if(e.loadingState=Pe.FAILED,e.errorTmplIndex===null){let g=new v(-750,!1);Zl(t,g)}}else{e.loadingState=Pe.COMPLETE;let f=s.tView;if(d.length>0){f.directiveRegistry=Tp(f.directiveRegistry,d);let g=d.map(E=>E.type),_=ss(!1,...g);e.providers=_}h.length>0&&(f.pipeRegistry=Tp(f.pipeRegistry,h))}}),e.loadingPromise.finally(()=>{e.loadingPromise=null,c()})):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=Pe.COMPLETE,c()}),e.loadingPromise)}function aw(e,t){return t[Ue].get(zm,null,{optional:!0})?.behavior!==od.Manual}function cw(e,t,n){let r=t[I],o=t[n.index];if(!aw(e,t))return;let i=Cr(t,n),s=xo(r,n);switch(YI(i),s.loadingState){case Pe.NOT_STARTED:In(J.Loading,n,o),Zm(s,t,n),s.loadingState===Pe.IN_PROGRESS&&Sp(s,n,o);break;case Pe.IN_PROGRESS:In(J.Loading,n,o),Sp(s,n,o);break;case Pe.COMPLETE:In(J.Complete,n,o);break;case Pe.FAILED:In(J.Error,n,o);break;default:}}async function Ym(e,t,n){let r=e.get(Ys);if(r.hydrating.has(t))return;let{parentBlockPromise:i,hydrationQueue:s}=vC(t,e);if(s.length===0)return;i!==null&&s.shift(),dw(r,s),i!==null&&await i;let a=s[0];r.has(a)?await Ap(e,s,n):r.awaitParentBlock(a,async()=>await Ap(e,s,n))}async function Ap(e,t,n){let r=e.get(Ys),o=r.hydrating,i=e.get(et),s=i.add();for(let c=0;c-1?n.get(t[r]):null;o&&ua(o.lContainer)}function Np(e,t){let n=t.hydrating;for(let r in e)n.get(r)?.reject();t.cleanup(e)}function dw(e,t){for(let n of t)e.hydrating.set(n,sw())}function fw(e){return new Promise(t=>na(t,{injector:e}))}async function hw(e){let{tNode:t,lView:n}=e,r=Cr(n,t);return new Promise(o=>{pw(r,o),cw(2,n,t)})}function pw(e,t){Array.isArray(e[gr])||(e[gr]=[]),e[gr].push(t)}var dk=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";function Rn(e,t,n,r,o,i,s,a){ze("NgControlFlow");let c=B(),u=$e(),l=Yt(u.consts,i);return Vm(c,u,e,t,n,r,o,l,256,s,a),Nt}function Nt(e,t,n,r,o,i,s,a){ze("NgControlFlow");let c=B(),u=$e(),l=Yt(u.consts,i);return Vm(c,u,e,t,n,r,o,l,512,s,a),Nt}function xn(e,t){ze("NgControlFlow");let n=B(),r=po(),o=n[r]!==St?n[r]:-1,i=o!==-1?Rp(n,U+o):void 0,s=0;if(So(n,r,e)){let a=A(null);try{if(i!==void 0&&pm(i,s),e!==-1){let c=U+e,u=Rp(n,c),l=gw(n[I],c),d=sI(u,l,n),h=Kl(n,l,t,{dehydratedView:d});Jl(u,h,s,Ps(l,d))}}finally{A(a)}}else if(i!==void 0){let a=V_(i,s);a!==void 0&&(a[ue]=t)}}function Rp(e,t){return e[t]}function gw(e,t){return _n(e,t)}function On(e,t,n){let r=B(),o=po();if(So(r,o,t)){let i=$e(),s=Wh();g_(s,r,e,t,r[H],n)}return On}function xp(e,t,n,r,o){Yl(t,e,n,o?"class":"style",r)}function le(e,t,n,r){let o=B(),i=o[I],s=e+U,a=i.firstCreatePass?Tm(s,o,2,t,rm,Mu(),n,r):i.data[s];if(__(a,o,e,t,Qm),fo(a)){let c=o[I];ql(c,o,a),Og(c,a,o)}return r!=null&&Wl(o,a),le}function re(){let e=$e(),t=Oe(),n=I_(t);return e.firstCreatePass&&Mm(e,n),Oh(n)&&Fh(),xh(),n.classesWithoutHost!=null&&VD(n)&&xp(e,n,B(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&BD(n)&&xp(e,n,B(),n.stylesWithoutHost,!1),re}function ee(e,t,n,r){return le(e,t,n,r),re(),ee}var Qm=(e,t,n,r,o)=>(Tt(!0),Ol(t[H],r,ku()));function mw(e,t,n,r,o){let i=!Js(t,n);if(Tt(i),i)return Ol(t[H],r,ku());let s=t[Ae],a=aa(s,e,t,n);return Ag(s,o)&&Ks(s,o,a.nextSibling),s&&(Qp(n)||Kp(a))&&It(n)&&(Ph(n),Ug(a)),a}function Km(){Qm=mw}var vw=(e,t,n,r,o)=>(Tt(!0),Vg(t[H],""));function yw(e,t,n,r,o){let i,s=!Js(t,n);if(Tt(s),s)return Vg(t[H],"");let a=t[Ae],c=aa(a,e,t,n),u=gC(a,o);return Ks(a,o,c),i=ca(u,c),i}function Jm(){vw=yw}function en(){return B()}var Oo="en-US";var Ew=Oo;function Xm(e){typeof e=="string"&&(Ew=e.toLowerCase().replace(/_/g,"-"))}function Rt(e,t,n){let r=B(),o=$e(),i=Oe();return Dw(o,r,r[H],i,e,t,n),Rt}function Dw(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=qu(r,t,i),yI(r,e,t,s,n,o,i,c)&&(a=!1)),a){let u=r.outputs?.[o],l=r.hostDirectiveOutputs?.[o];if(l&&l.length)for(let d=0;d(Tt(!0),jg(t[H],r));function Cw(e,t,n,r,o){let i=!Js(t,n);if(Tt(i),i)return jg(t[H],r);let s=t[Ae];return aa(s,e,t,n)}function tv(){ev=Cw}function _w(e,t,n,r=""){return So(e,po(),n)?t+no(n)+r:St}function ga(e){return Po("",e),ga}function Po(e,t,n){let r=B(),o=_w(r,e,t,n);return o!==St&&Iw(r,hs(),o),Po}function Iw(e,t,n){let r=Ih(t,e);FC(e[H],r,n)}function Fo(e){return So(B(),po(),e)?no(e):St}function ww(e,t,n){let r=$e();if(r.firstCreatePass){let o=Wt(e);hl(n,r.data,r.blueprint,o,!0),hl(t,r.data,r.blueprint,o,!1)}}function hl(e,t,n,r,o){if(e=ae(e),Array.isArray(e))for(let i=0;i>20;if(fn(e)||!e.multi){let f=new bn(u,o,be,null),g=Qu(c,t,o?l:l+h,d);g===-1?(Ju(Ms(a,s),i,c),Yu(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[g]=f,s[g]=f)}else{let f=Qu(c,t,l+h,d),g=Qu(c,t,l,l+h),_=f>=0&&n[f],E=g>=0&&n[g];if(o&&!E||!o&&!_){Ju(Ms(a,s),i,c);let D=Mw(o?Tw:bw,n.length,o,r,u,e);!o&&E&&(n[g].providerFactory=D),Yu(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(D),s.push(D)}else{let D=nv(n[o?g:f],u,!o&&r);Yu(i,e,f>-1?f:g,D)}!o&&r&&E&&n[g].componentProviders++}}}function Yu(e,t,n,r){let o=fn(t),i=yh(t);if(o||i){let c=(i?ae(t.useClass):t).prototype.ngOnDestroy;if(c){let u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=u.indexOf(n);l===-1?u.push(n,[r,c]):u[l+1].push(r,c)}else u.push(n,c)}}}function nv(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Qu(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>ww(r,o?o(e):e,t)}}function Sw(e,t){let n=e[t];return n===St?void 0:n}function Aw(e,t,n,r,o,i){let s=t+n;return So(e,s,o)?vI(e,s+1,i?r.call(i,o):r(o)):Sw(e,s+1)}function qe(e,t){let n=$e(),r,o=e+U;n.firstCreatePass?(r=Nw(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=Gt(r.type,!0)),s,a=me(be);try{let c=Ts(!1),u=i();return Ts(c),Iu(n,B(),o,u),u}finally{me(a)}}function Nw(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function We(e,t,n){let r=e+U,o=B(),i=wh(o,r);return Rw(o,r)?Aw(o,jh(),t,i.transform,n,i):i.transform(n)}function Rw(e,t){return e[I].data[t].pure}var Us=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},cd=(()=>{class e{compileModuleSync(n){return new Bs(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=mu(n),i=kg(o.declarations).reduce((s,a)=>{let c=_t(a);return c&&s.push(new yr(c)),s},[]);return new Us(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var xw=(()=>{class e{zone=p(z);changeDetectionScheduler=p(it);applicationRef=p(Ee);applicationErrorHandler=p(ye);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(n){this.applicationErrorHandler(n)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function rv({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new z(O(m({},ov()),{scheduleInRootZone:n})),[{provide:z,useFactory:e},{provide:Le,multi:!0,useFactory:()=>{let r=p(xw,{optional:!0});return()=>r.initialize()}},{provide:Le,multi:!0,useFactory:()=>{let r=p(Ow);return()=>{r.initialize()}}},t===!0?{provide:Vu,useValue:!0}:[],{provide:ms,useValue:n??qg},{provide:ye,useFactory:()=>{let r=p(z),o=p(Y),i;return s=>{r.runOutsideAngular(()=>{o.destroyed&&!i?setTimeout(()=>{throw s}):(i??=o.get(Qe),i.handleError(s))})}}}]}function ov(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var Ow=(()=>{class e{subscription=new W;initialized=!1;zone=p(z);pendingTasks=p(et);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{z.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{z.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var ud=(()=>{class e{applicationErrorHandler=p(ye);appRef=p(Ee);taskService=p(et);ngZone=p(z);zonelessEnabled=p(lr);tracing=p(Nn,{optional:!0});disableScheduling=p(Vu,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new W;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(xs):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(p(ms,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Eo||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?cp:Wg;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(xs+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.taskService.remove(n),this.applicationErrorHandler(r)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,cp(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ld(){return ze("NgZoneless"),je([{provide:it,useExisting:ud},{provide:z,useClass:Eo},{provide:lr,useValue:!0},{provide:ms,useValue:!1},[]])}function Pw(){return typeof $localize<"u"&&$localize.locale||Oo}var ma=new y("",{providedIn:"root",factory:()=>p(ma,{optional:!0,skipSelf:!0})||Pw()});function oe(e){return ah(e)}function Ir(e,t){return Ti(e,t?.equal)}var iv=class{[ge];constructor(t){this[ge]=t}destroy(){this[ge].destroy()}};var gd={JSACTION:"__jsaction",OWNER:"__owner"},uv={};function Fw(e){return e[gd.JSACTION]}function sv(e,t){e[gd.JSACTION]=t}function kw(e){return uv[e]}function Lw(e,t){uv[e]=t}var w={AUXCLICK:"auxclick",CHANGE:"change",CLICK:"click",CLICKMOD:"clickmod",CLICKONLY:"clickonly",DBLCLICK:"dblclick",FOCUS:"focus",FOCUSIN:"focusin",BLUR:"blur",FOCUSOUT:"focusout",SUBMIT:"submit",KEYDOWN:"keydown",KEYPRESS:"keypress",KEYUP:"keyup",MOUSEUP:"mouseup",MOUSEDOWN:"mousedown",MOUSEOVER:"mouseover",MOUSEOUT:"mouseout",MOUSEENTER:"mouseenter",MOUSELEAVE:"mouseleave",MOUSEMOVE:"mousemove",POINTERUP:"pointerup",POINTERDOWN:"pointerdown",POINTEROVER:"pointerover",POINTEROUT:"pointerout",POINTERENTER:"pointerenter",POINTERLEAVE:"pointerleave",POINTERMOVE:"pointermove",POINTERCANCEL:"pointercancel",GOTPOINTERCAPTURE:"gotpointercapture",LOSTPOINTERCAPTURE:"lostpointercapture",ERROR:"error",LOAD:"load",UNLOAD:"unload",TOUCHSTART:"touchstart",TOUCHEND:"touchend",TOUCHMOVE:"touchmove",INPUT:"input",SCROLL:"scroll",TOGGLE:"toggle",CUSTOM:"_custom"},jw=[w.MOUSEENTER,w.MOUSELEAVE,"pointerenter","pointerleave"],bk=[w.CLICK,w.DBLCLICK,w.FOCUSIN,w.FOCUSOUT,w.KEYDOWN,w.KEYUP,w.KEYPRESS,w.MOUSEOVER,w.MOUSEOUT,w.SUBMIT,w.TOUCHSTART,w.TOUCHEND,w.TOUCHMOVE,"touchcancel","auxclick","change","compositionstart","compositionupdate","compositionend","beforeinput","input","select","copy","cut","paste","mousedown","mouseup","wheel","contextmenu","dragover","dragenter","dragleave","drop","dragstart","dragend","pointerdown","pointermove","pointerup","pointercancel","pointerover","pointerout","gotpointercapture","lostpointercapture","ended","loadedmetadata","pagehide","pageshow","visibilitychange","beforematch"],Vw=[w.FOCUS,w.BLUR,w.ERROR,w.LOAD,w.TOGGLE],md=e=>Vw.indexOf(e)>=0;function Bw(e){return e===w.MOUSEENTER?w.MOUSEOVER:e===w.MOUSELEAVE?w.MOUSEOUT:e===w.POINTERENTER?w.POINTEROVER:e===w.POINTERLEAVE?w.POINTEROUT:e}function Uw(e,t,n,r){let o=!1;md(t)&&(o=!0);let i=typeof r=="boolean"?{capture:o,passive:r}:o;return e.addEventListener(t,n,i),{eventType:t,handler:n,capture:o,passive:r}}function Hw(e,t){if(e.removeEventListener){let n=typeof t.passive=="boolean"?{capture:t.capture}:t.capture;e.removeEventListener(t.eventType,t.handler,n)}else e.detachEvent&&e.detachEvent(`on${t.eventType}`,t.handler)}function $w(e){e.preventDefault?e.preventDefault():e.returnValue=!1}var av=typeof navigator<"u"&&/Macintosh/.test(navigator.userAgent);function zw(e){return e.which===2||e.which==null&&e.button===4}function Gw(e){return av&&e.metaKey||!av&&e.ctrlKey||zw(e)||e.shiftKey}function qw(e,t,n){let r=e.relatedTarget;return(e.type===w.MOUSEOVER&&t===w.MOUSEENTER||e.type===w.MOUSEOUT&&t===w.MOUSELEAVE||e.type===w.POINTEROVER&&t===w.POINTERENTER||e.type===w.POINTEROUT&&t===w.POINTERLEAVE)&&(!r||r!==n&&!n.contains(r))}function Ww(e,t){let n={};for(let r in e){if(r==="srcElement"||r==="target")continue;let o=r,i=e[o];typeof i!="function"&&(n[o]=i)}return e.type===w.MOUSEOVER?n.type=w.MOUSEENTER:e.type===w.MOUSEOUT?n.type=w.MOUSELEAVE:e.type===w.POINTEROVER?n.type=w.POINTERENTER:n.type=w.POINTERLEAVE,n.target=n.srcElement=t,n.bubbles=!1,n._originalEvent=e,n}var Zw=typeof navigator<"u"&&/iPhone|iPad|iPod/.test(navigator.userAgent),Da=class{element;handlerInfos=[];constructor(t){this.element=t}addEventListener(t,n,r){Zw&&(this.element.style.cursor="pointer"),this.handlerInfos.push(Uw(this.element,t,n(this.element),r))}cleanUp(){for(let t=0;t{this.eventReplayScheduled=!1,this.eventReplayer(this.replayEventInfoWrappers)}))}};function ob(e,t){return e.tagName==="A"&&(t.getEventType()===w.CLICK||t.getEventType()===w.CLICKMOD)}var Dv=Symbol.for("propagationStopped"),yd={REPLAY:101};var ib="`preventDefault` called during event replay.";var sb="`composedPath` called during event replay.",Ca=class{dispatchDelegate;clickModSupport;actionResolver;dispatcher;constructor(t,n=!0){this.dispatchDelegate=t,this.clickModSupport=n,this.actionResolver=new hd({clickModSupport:n}),this.dispatcher=new pd(r=>{this.dispatchToDelegate(r)},{actionResolver:this.actionResolver})}dispatch(t){this.dispatcher.dispatch(t)}dispatchToDelegate(t){for(t.getIsReplay()&&ub(t),ab(t);t.getAction();){if(lb(t),md(t.getEventType())&&t.getAction().element!==t.getTargetElement()||(this.dispatchDelegate(t.getEvent(),t.getAction().name),cb(t)))return;this.actionResolver.resolveParentAction(t.eventInfo)}}};function ab(e){let t=e.getEvent(),n=e.getEvent().stopPropagation.bind(t),r=()=>{t[Dv]=!0,n()};Pn(t,"stopPropagation",r),Pn(t,"stopImmediatePropagation",r)}function cb(e){return!!e.getEvent()[Dv]}function ub(e){let t=e.getEvent(),n=e.getTargetElement(),r=t.preventDefault.bind(t);Pn(t,"target",n),Pn(t,"eventPhase",yd.REPLAY),Pn(t,"preventDefault",()=>{throw r(),new Error(ib+"")}),Pn(t,"composedPath",()=>{throw new Error(sb+"")})}function lb(e){let t=e.getEvent(),n=e.getAction()?.element;n&&Pn(t,"currentTarget",n,{configurable:!0})}function Pn(e,t,n,{configurable:r=!1}={}){Object.defineProperty(e,t,{value:n,configurable:r})}function Cv(e,t){e.ecrd(n=>{t.dispatch(n)},Ev.I_AM_THE_JSACTION_FRAMEWORK)}function db(e){return e?.q??[]}function fb(e){e&&(cv(e.c,e.et,e.h),cv(e.c,e.etc,e.h,!0))}function cv(e,t,n,r){for(let o=0;o{class e{static MOUSE_SPECIAL_SUPPORT=hb;containerManager;eventHandlers={};browserEventTypeToExtraEventTypes={};dispatcher=null;queuedEventInfos=[];constructor(n){this.containerManager=n}handleEvent(n,r,o){let i=eb(n,r,r.target,o,Date.now());this.handleEventInfo(i)}handleEventInfo(n){if(!this.dispatcher){gv(n,!0),this.queuedEventInfos?.push(n);return}this.dispatcher(n)}addEvent(n,r,o){if(n in this.eventHandlers||!this.containerManager||!e.MOUSE_SPECIAL_SUPPORT&&jw.indexOf(n)>=0)return;let i=(a,c,u)=>{this.handleEvent(a,c,u)};this.eventHandlers[n]=i;let s=Bw(r||n);if(s!==n){let a=this.browserEventTypeToExtraEventTypes[s]||[];a.push(n),this.browserEventTypeToExtraEventTypes[s]=a}this.containerManager.addEventListener(s,a=>c=>{i(n,c,a)},o)}replayEarlyEvents(n=window._ejsa){n&&(this.replayEarlyEventInfos(n.q),fb(n),delete window._ejsa)}replayEarlyEventInfos(n){for(let r=0;r{let t=Oe();if(t===null)throw new v(204,!1);if(t.type&2)return t.value;if(e&8)return null;throw new v(204,!1)};function wv(e,t){return Ov(e,t)}function zb(e){return Ov(xv,e)}var Pv=(wv.required=zb,wv);var Dd=new y(""),Gb=new y("");function ko(e){return!e.moduleRef}function qb(e){let t=ko(e)?e.r3Injector:e.moduleRef.injector,n=t.get(z);return n.run(()=>{ko(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(ye),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),ko(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Dd);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Dd);s.add(i),e.moduleRef.onDestroy(()=>{vo(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return Zb(r,n,()=>{let i=t.get(et),s=i.add(),a=t.get(sd);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(ma,Oo);if(Xm(c||Oo),!t.get(Gb,!0))return ko(e)?t.get(Ee):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(ko(e)){let l=t.get(Ee);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return Wb?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>void i.remove(s))})})}var Wb;function Zb(e,t,n){try{let r=n();return At(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var Ia=null;function Yb(e=[],t){return Se.create({name:t,providers:[{provide:oo,useValue:"platform"},{provide:Dd,useValue:new Set([()=>Ia=null])},...e]})}function Qb(e=[]){if(Ia)return Ia;let t=Yb(e);return Ia=t,qm(),Kb(t),t}function Kb(e){let t=e.get(qs,null);ce(e,()=>{t?.forEach(n=>n())})}var Lo=(()=>{class e{static __NG_ELEMENT_ID__=Jb}return e})();function Jb(e){return Xb(Oe(),B(),(e&16)===16)}function Xb(e,t,n){if(It(e)&&!n){let r=Xe(e.index,t);return new Kt(r,r)}else if(e.type&175){let r=t[we];return new Kt(r,t)}return null}var Cd=class{constructor(){}supports(t){return td(t)}create(t){return new _d(t)}},eT=(e,t)=>t,_d=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||eT}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new Id(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new ba),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new ba),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},Id=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n}},wd=class{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},ba=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new wd,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function bv(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r{class e{factories;static \u0275prov=C({token:e,providedIn:"root",factory:Tv});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let r=p(e,{optional:!0,skipSelf:!0});return e.create(n,r||Tv())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new v(901,!1)}}return e})();function Fv(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;L(8);try{let i=o?.injector??Qb(r),s=[rv({}),{provide:it,useExisting:ud},Yh,...n||[]],a=new Co({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return qb({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{L(9)}}var _a=new WeakSet,Mv="",wa=[];function Sv(e){return e.get(wl,hg)}function kv(){let e=[{provide:wl,useFactory:()=>{let t=!0;{let n=p(dt);t=!!window._ejsas?.[n]}return t&&ze("NgEventReplay"),t}}];return e.push({provide:Le,useValue:()=>{let t=p(Ee),{injector:n}=t;if(!_a.has(t)){let r=p(bl);if(Sv(n)){Cg();let o=n.get(dt),i=Eg(o,(s,a,c)=>{s.nodeType===Node.ELEMENT_NODE&&(gg(s,a,c),mg(s,r))});t.onDestroy(i)}}},multi:!0},{provide:Xt,useFactory:()=>{let t=p(Ee),{injector:n}=t;return()=>{if(!Sv(n)||_a.has(t))return;_a.add(t);let r=n.get(dt);t.onDestroy(()=>{_a.delete(t),Ed(r)}),t.whenStable().then(()=>{if(t.destroyed)return;let o=n.get(yg);tT(o,n);let i=n.get(bl);i.get(Mv)?.forEach(vg),i.delete(Mv);let s=o.instance;Sg(n)?t.onDestroy(()=>s.cleanUp()):s.cleanUp()})}},multi:!0}),e}var tT=(e,t)=>{let n=t.get(dt),r=window._ejsas[n],o=e.instance=new _v(new Da(r.c));for(let a of r.et)o.addEvent(a);for(let a of r.etc)o.addEvent(a);let i=Iv(n);o.replayEarlyEventInfos(i),Ed(n);let s=new Ca(a=>{nT(t,a,a.currentTarget)});Cv(o,s)};function nT(e,t,n){let r=(n&&n.getAttribute(bo))??"";/d\d+/.test(r)?rT(r,e,t,n):t.eventPhase===yd.REPLAY&&Tl(t,n)}function rT(e,t,n,r){wa.push({event:n,currentTarget:r}),Ym(t,e,oT)}function oT(e){let t=[...wa],n=new Set(e);wa=[];for(let{event:r,currentTarget:o}of t){let i=o.getAttribute(bo);n.has(i)?Tl(r,o):wa.push({event:r,currentTarget:o})}}var Av=!1;function iT(){Av||(Av=!0,bg(),Km(),tv(),Jm(),Hm(),Fm(),Dm(),nm())}function sT(e){return e.whenStable()}function Lv(){let e=[{provide:wo,useFactory:()=>{let t=!0;return t=!!p(An,{optional:!0})?.get(Ml,null),t&&ze("NgHydration"),t}},{provide:Le,useValue:()=>{mm(!1),p(wo)&&(Rg(Io()),iT())},multi:!0}];return e.push({provide:Il,useFactory:()=>p(wo)},{provide:Xt,useFactory:()=>{if(p(wo)){let t=p(Ee);return()=>{sT(t).then(()=>{t.destroyed||ed(t)})}}return()=>{}},multi:!0}),je(e)}var Bv=null;function Ot(){return Bv}function Td(e){Bv??=e}var jo=class{},Md=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:()=>p(Uv),providedIn:"platform"})}return e})();var Uv=(()=>{class e extends Md{_location;_history;_doc=p(K);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ot().getBaseHref(this._doc)}onPopState(n){let r=Ot().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=Ot().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function Hv(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function jv(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function nn(e){return e&&e[0]!=="?"?`?${e}`:e}var Ma=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:()=>p(zv),providedIn:"root"})}return e})(),$v=new y(""),zv=(()=>{class e extends Ma{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??p(K).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Hv(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+nn(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+nn(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+nn(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(T(Md),T($v,8))};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),wr=(()=>{class e{_subject=new G;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=uT(jv(Vv(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+nn(r))}normalize(n){return e.stripTrailingSlash(cT(this._basePath,Vv(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+nn(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+nn(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=nn;static joinWithSlash=Hv;static stripTrailingSlash=jv;static \u0275fac=function(r){return new(r||e)(T(Ma))};static \u0275prov=C({token:e,factory:()=>aT(),providedIn:"root"})}return e})();function aT(){return new wr(T(Ma))}function cT(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Vv(e){return e.replace(/\/index.html$/,"")}function uT(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var Sa=class{$implicit;ngForOf;index;count;constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Aa=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(o.previousIndex==null)r.createEmbeddedView(this._template,new Sa(o.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)r.remove(i===null?void 0:i);else if(i!==null){let a=r.get(i);r.move(a,s),Gv(a,o)}});for(let o=0,i=r.length;o{let i=r.get(o.currentIndex);Gv(i,o)})}static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(be(Er),be(ia),be(bd))};static \u0275dir=No({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function Gv(e,t){e.context.$implicit=t.item}function lT(e,t){return new v(2100,!1)}var Sd=class{createSubscription(t,n,r){return oe(()=>t.subscribe({next:n,error:r}))}dispose(t){oe(()=>t.unsubscribe())}},Ad=class{createSubscription(t,n,r){return t.then(o=>n?.(o),o=>r?.(o)),{unsubscribe:()=>{n=null,r=null}}}dispose(t){t.unsubscribe()}},dT=new Ad,fT=new Sd,Nd=(()=>{class e{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=p(ye);constructor(n){this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,r=>this._updateLatestValue(n,r),r=>this.applicationErrorHandler(r))}_selectStrategy(n){if(At(n))return dT;if(pa(n))return fT;throw lT(e,n)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,r){n===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(r){return new(r||e)(be(Lo,16))};static \u0275pipe=rd({name:"async",type:e,pure:!1})}return e})();function Vo(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var Fn=class{};var Rd="browser";function xd(e){return e===Rd}var Bo=class{_doc;constructor(t){this._doc=t}manager},Na=(()=>{class e extends Bo{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o,i){return n.addEventListener(r,o,i),()=>this.removeEventListener(n,r,o,i)}removeEventListener(n,r,o,i){return n.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||e)(T(K))};static \u0275prov=C({token:e,factory:e.\u0275fac})}return e})(),xa=new y(""),Ld=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(s=>{s.manager=this});let o=n.filter(s=>!(s instanceof Na));this._plugins=o.slice().reverse();let i=n.find(s=>s instanceof Na);i&&this._plugins.push(i)}addEventListener(n,r,o,i){return this._findPluginFor(r).addEventListener(n,r,o,i)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new v(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(r){return new(r||e)(T(xa),T(z))};static \u0275prov=C({token:e,factory:e.\u0275fac})}return e})(),Od="ng-app-id";function qv(e){for(let t of e)t.remove()}function Wv(e,t){let n=t.createElement("style");return n.textContent=e,n}function pT(e,t,n,r){let o=e.head?.querySelectorAll(`style[${Od}="${t}"],link[${Od}="${t}"]`);if(o)for(let i of o)i.removeAttribute(Od),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf("/")+1),{usage:0,elements:[i]}):i.textContent&&n.set(i.textContent,{usage:0,elements:[i]})}function Fd(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var jd=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,pT(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let o of n)this.addUsage(o,this.inline,Wv);r?.forEach(o=>this.addUsage(o,this.external,Fd))}removeStyles(n,r){for(let o of n)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(n,r,o){let i=r.get(n);i?i.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(n,this.doc)))})}removeUsage(n,r){let o=r.get(n);o&&(o.usage--,o.usage<=0&&(qv(o.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])qv(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(n,Wv(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(n,Fd(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),n.appendChild(r)}static \u0275fac=function(r){return new(r||e)(T(K),T(dt),T(Ws,8),T(Sn))};static \u0275prov=C({token:e,factory:e.\u0275fac})}return e})(),Pd={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Vd=/%COMP%/g;var Yv="%COMP%",gT=`_nghost-${Yv}`,mT=`_ngcontent-${Yv}`,vT=!0,yT=new y("",{providedIn:"root",factory:()=>vT});function ET(e){return mT.replace(Vd,e)}function DT(e){return gT.replace(Vd,e)}function Qv(e,t){return t.map(n=>n.replace(Vd,e))}var Bd=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,r,o,i,s,a,c=null,u=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=u,this.platformIsServer=!1,this.defaultRenderer=new Uo(n,s,a,this.platformIsServer,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(n,r);return o instanceof Ra?o.applyToHost(n):o instanceof Ho&&o.applyStyles(),o}getOrCreateRenderer(n,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,d=this.platformIsServer,h=this.tracingService;switch(r.encapsulation){case Mt.Emulated:i=new Ra(c,u,r,this.appId,l,s,a,d,h);break;case Mt.ShadowDom:return new kd(c,u,n,r,s,a,this.nonce,d,h);default:i=new Ho(c,u,r,l,s,a,d,h);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}static \u0275fac=function(r){return new(r||e)(T(Ld),T(jd),T(dt),T(yT),T(K),T(z),T(Ws),T(Nn,8))};static \u0275prov=C({token:e,factory:e.\u0275fac})}return e})(),Uo=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,o,i){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.tracingService=i}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(Pd[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(Zv(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(Zv(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){n.remove()}selectRootElement(t,n){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new v(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;let i=Pd[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=Pd[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(Jt.DashCase|Jt.Important)?t.style.setProperty(n,r,o&Jt.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Jt.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t!=null&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r,o){if(typeof t=="string"&&(t=Ot().getGlobalEventTarget(this.doc,t),!t))throw new v(5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(t,n,i)),this.eventManager.addEventListener(t,n,i,o)}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;t(n)===!1&&n.preventDefault()}}};function Zv(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var kd=class extends Uo{sharedStylesHost;hostEl;shadowRoot;constructor(t,n,r,o,i,s,a,c,u){super(t,i,s,c,u),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=o.styles;l=Qv(o.id,l);for(let h of l){let f=document.createElement("style");a&&f.setAttribute("nonce",a),f.textContent=h,this.shadowRoot.appendChild(f)}let d=o.getExternalStyles?.();if(d)for(let h of d){let f=Fd(h,i);a&&f.setAttribute("nonce",a),this.shadowRoot.appendChild(f)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Ho=class extends Uo{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,o,i,s,a,c,u){super(t,i,s,a,c),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o;let l=r.styles;this.styles=u?Qv(u,l):l,this.styleUrls=r.getExternalStyles?.(u)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&vr.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Ra=class extends Ho{contentAttr;hostAttr;constructor(t,n,r,o,i,s,a,c,u){let l=o+"-"+r.id;super(t,n,r,i,s,a,c,u,l),this.contentAttr=ET(l),this.hostAttr=DT(l)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}};var Oa=class e extends jo{supportsDOMEvents=!0;static makeCurrent(){Td(new e)}onAndCancel(t,n,r,o){return t.addEventListener(n,r,o),()=>{t.removeEventListener(n,r,o)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=CT();return n==null?null:_T(n)}resetBaseElement(){$o=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Vo(document.cookie,t)}},$o=null;function CT(){return $o=$o||document.head.querySelector("base"),$o?$o.getAttribute("href"):null}function _T(e){return new URL(e,document.baseURI).pathname}var IT=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac})}return e})(),Kv=["alt","control","meta","shift"],wT={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},bT={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Jv=(()=>{class e extends Bo{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,o,i){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ot().onAndCancel(n,s.domEventName,a,i))}static parseEventName(n){let r=n.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let i=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),Kv.forEach(u=>{let l=r.indexOf(u);l>-1&&(r.splice(l,1),s+=u+".")}),s+=i,r.length!=0||i.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(n,r){let o=wT[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),Kv.forEach(s=>{if(s!==o){let a=bT[s];a(n)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return n==="esc"?"escape":n}static \u0275fac=function(r){return new(r||e)(T(K))};static \u0275prov=C({token:e,factory:e.\u0275fac})}return e})();function Ud(e,t,n){let r=m({rootComponent:e,platformRef:n?.platformRef},TT(t));return Fv(r)}function TT(e){return{appProviders:[...RT,...e?.providers??[]],platformProviders:NT}}function MT(){Oa.makeCurrent()}function ST(){return new Qe}function AT(){return Dl(document),document}var NT=[{provide:Sn,useValue:Rd},{provide:qs,useValue:MT,multi:!0},{provide:K,useFactory:AT}];var RT=[{provide:oo,useValue:"root"},{provide:Qe,useFactory:ST},{provide:xa,useClass:Na,multi:!0,deps:[K]},{provide:xa,useClass:Jv,multi:!0,deps:[K]},Bd,jd,Ld,{provide:Tn,useExisting:Bd},{provide:Fn,useClass:IT},[]];var Mr=class{},zo=class{},Ft=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(` +`).forEach(n=>{let r=n.indexOf(":");if(r>0){let o=n.slice(0,r),i=n.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.addHeaderEntry(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,n);let o=(t.op==="a"?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":let i=t.value;if(!i)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}addHeaderEntry(t,n){let r=t.toLowerCase();this.maybeSetNormalizedName(t,r),this.headers.has(r)?this.headers.get(r).push(n):this.headers.set(r,[n])}setHeaderEntries(t,n){let r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var Fa=class{encodeKey(t){return Xv(t)}encodeValue(t){return Xv(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function xT(e,t){let n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],c=n.get(s)||[];c.push(a),n.set(s,c)}),n}var OT=/%(\d[a-f0-9])/gi,PT={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Xv(e){return encodeURIComponent(e).replace(OT,(t,n)=>PT[n]??t)}function Pa(e){return`${e}`}var Pt=class e{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new Fa,t.fromString){if(t.fromObject)throw new v(2805,!1);this.map=xT(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let r=t.fromObject[n],o=Array.isArray(r)?r.map(Pa):[Pa(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){let n=[];return Object.keys(t).forEach(r=>{let o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let n=(t.op==="a"?this.map.get(t.param):void 0)||[];n.push(Pa(t.value)),this.map.set(t.param,n);break;case"d":if(t.value!==void 0){let r=this.map.get(t.param)||[],o=r.indexOf(Pa(t.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};var ka=class{map=new Map;set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};function FT(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function ey(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function ty(e){return typeof Blob<"u"&&e instanceof Blob}function ny(e){return typeof FormData<"u"&&e instanceof FormData}function kT(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var ry="Content-Type",oy="Accept",sy="X-Request-URL",ay="text/plain",cy="application/json",LT=`${cy}, ${ay}, */*`,br=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(t,n,r,o){this.url=n,this.method=t.toUpperCase();let i;if(FT(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i){if(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,this.keepalive=!!i.keepalive,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),i.priority&&(this.priority=i.priority),i.cache&&(this.cache=i.cache),i.credentials&&(this.credentials=i.credentials),typeof i.timeout=="number"){if(i.timeout<1||!Number.isInteger(i.timeout))throw new v(2822,"");this.timeout=i.timeout}i.mode&&(this.mode=i.mode),i.redirect&&(this.redirect=i.redirect),i.integrity&&(this.integrity=i.integrity),i.referrer&&(this.referrer=i.referrer),this.transferCache=i.transferCache}if(this.headers??=new Ft,this.context??=new ka,!this.params)this.params=new Pt,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n.indexOf("?"),c=a===-1?"?":amt.set(on,t.setHeaders[on]),de)),t.setParams&&(Te=Object.keys(t.setParams).reduce((mt,on)=>mt.set(on,t.setParams[on]),Te)),new e(n,r,_,{params:Te,headers:de,context:q,reportProgress:D,responseType:o,withCredentials:E,transferCache:f,keepalive:i,cache:a,priority:s,timeout:g,mode:c,redirect:u,credentials:l,referrer:d,integrity:h})}},kn=(function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e})(kn||{}),Sr=class{headers;status;statusText;url;ok;type;redirected;constructor(t,n=200,r="OK"){this.headers=t.headers||new Ft,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.redirected=t.redirected,this.ok=this.status>=200&&this.status<300}},La=class e extends Sr{constructor(t={}){super(t)}type=kn.ResponseHeader;clone(t={}){return new e({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},Ar=class e extends Sr{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=kn.Response;clone(t={}){return new e({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0,redirected:t.redirected??this.redirected})}},Tr=class extends Sr{name="HttpErrorResponse";message;error;ok=!1;constructor(t){super(t,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},jT=200,VT=204;function Hd(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,credentials:e.credentials,transferCache:e.transferCache,timeout:e.timeout,keepalive:e.keepalive,priority:e.priority,cache:e.cache,mode:e.mode,redirect:e.redirect,integrity:e.integrity,referrer:e.referrer}}var Va=(()=>{class e{handler;constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof br)i=n;else{let c;o.headers instanceof Ft?c=o.headers:c=new Ft(o.headers);let u;o.params&&(o.params instanceof Pt?u=o.params:u=new Pt({fromObject:o.params})),i=new br(n,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache,keepalive:o.keepalive,priority:o.priority,cache:o.cache,mode:o.mode,redirect:o.redirect,credentials:o.credentials,referrer:o.referrer,integrity:o.integrity,timeout:o.timeout})}let s=b(i).pipe(Ut(c=>this.handler.handle(c)));if(n instanceof br||o.observe==="events")return s;let a=s.pipe(Ie(c=>c instanceof Ar));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(R(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new v(2806,!1);return c.body}));case"blob":return a.pipe(R(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new v(2807,!1);return c.body}));case"text":return a.pipe(R(c=>{if(c.body!==null&&typeof c.body!="string")throw new v(2808,!1);return c.body}));case"json":default:return a.pipe(R(c=>c.body))}case"response":return a;default:throw new v(2809,!1)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new Pt().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,Hd(o,r))}post(n,r,o={}){return this.request("POST",n,Hd(o,r))}put(n,r,o={}){return this.request("PUT",n,Hd(o,r))}static \u0275fac=function(r){return new(r||e)(T(Mr))};static \u0275prov=C({token:e,factory:e.\u0275fac})}return e})();var BT=new y("");function uy(e,t){return t(e)}function UT(e,t){return(n,r)=>t.intercept(n,{handle:o=>e(o,r)})}function HT(e,t,n){return(r,o)=>ce(n,()=>t(r,i=>e(i,o)))}var ly=new y(""),zd=new y(""),Gd=new y(""),qd=new y("",{providedIn:"root",factory:()=>!0});function $T(){let e=null;return(t,n)=>{e===null&&(e=(p(ly,{optional:!0})??[]).reduceRight(UT,uy));let r=p(dr);if(p(qd)){let i=r.add();return e(t,n).pipe($t(i))}else return e(t,n)}}var ja=(()=>{class e extends Mr{backend;injector;chain=null;pendingTasks=p(dr);contributeToStability=p(qd);constructor(n,r){super(),this.backend=n,this.injector=r}handle(n){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(zd),...this.injector.get(Gd,[])]));this.chain=r.reduceRight((o,i)=>HT(o,i,this.injector),uy)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe($t(r))}else return this.chain(n,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(T(zo),T(Y))};static \u0275prov=C({token:e,factory:e.\u0275fac})}return e})();var zT=/^\)\]\}',?\n/,GT=RegExp(`^${sy}:`,"m");function qT(e){return"responseURL"in e&&e.responseURL?e.responseURL:GT.test(e.getAllResponseHeaders())?e.getResponseHeader(sy):null}var $d=(()=>{class e{xhrFactory;constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new v(-2800,!1);let r=this.xhrFactory;return b(null).pipe(he(()=>new x(i=>{let s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((E,D)=>s.setRequestHeader(E,D.join(","))),n.headers.has(oy)||s.setRequestHeader(oy,LT),!n.headers.has(ry)){let E=n.detectContentTypeHeader();E!==null&&s.setRequestHeader(ry,E)}if(n.timeout&&(s.timeout=n.timeout),n.responseType){let E=n.responseType.toLowerCase();s.responseType=E!=="json"?E:"text"}let a=n.serializeBody(),c=null,u=()=>{if(c!==null)return c;let E=s.statusText||"OK",D=new Ft(s.getAllResponseHeaders()),de=qT(s)||n.url;return c=new La({headers:D,status:s.status,statusText:E,url:de}),c},l=()=>{let{headers:E,status:D,statusText:de,url:Te}=u(),q=null;D!==VT&&(q=typeof s.response>"u"?s.responseText:s.response),D===0&&(D=q?jT:0);let mt=D>=200&&D<300;if(n.responseType==="json"&&typeof q=="string"){let on=q;q=q.replace(zT,"");try{q=q!==""?JSON.parse(q):null}catch(IE){q=on,mt&&(mt=!1,q={error:IE,text:q})}}mt?(i.next(new Ar({body:q,headers:E,status:D,statusText:de,url:Te||void 0})),i.complete()):i.error(new Tr({error:q,headers:E,status:D,statusText:de,url:Te||void 0}))},d=E=>{let{url:D}=u(),de=new Tr({error:E,status:s.status||0,statusText:s.statusText||"Unknown Error",url:D||void 0});i.error(de)},h=d;n.timeout&&(h=E=>{let{url:D}=u(),de=new Tr({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:D||void 0});i.error(de)});let f=!1,g=E=>{f||(i.next(u()),f=!0);let D={type:kn.DownloadProgress,loaded:E.loaded};E.lengthComputable&&(D.total=E.total),n.responseType==="text"&&s.responseText&&(D.partialText=s.responseText),i.next(D)},_=E=>{let D={type:kn.UploadProgress,loaded:E.loaded};E.lengthComputable&&(D.total=E.total),i.next(D)};return s.addEventListener("load",l),s.addEventListener("error",d),s.addEventListener("timeout",h),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",g),a!==null&&s.upload&&s.upload.addEventListener("progress",_)),s.send(a),i.next({type:kn.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",l),s.removeEventListener("timeout",h),n.reportProgress&&(s.removeEventListener("progress",g),a!==null&&s.upload&&s.upload.removeEventListener("progress",_)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(T(Fn))};static \u0275prov=C({token:e,factory:e.\u0275fac})}return e})(),dy=new y(""),WT="XSRF-TOKEN",ZT=new y("",{providedIn:"root",factory:()=>WT}),YT="X-XSRF-TOKEN",QT=new y("",{providedIn:"root",factory:()=>YT}),Go=class{},KT=(()=>{class e{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(n,r){this.doc=n,this.cookieName=r}getToken(){let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=Vo(n,this.cookieName),this.lastCookieString=n),this.lastToken}static \u0275fac=function(r){return new(r||e)(T(K),T(ZT))};static \u0275prov=C({token:e,factory:e.\u0275fac})}return e})();function JT(e,t){let n=e.url.toLowerCase();if(!p(dy)||e.method==="GET"||e.method==="HEAD"||n.startsWith("http://")||n.startsWith("https://"))return t(e);let r=p(Go).getToken(),o=p(QT);return r!=null&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),t(e)}var Wd=(function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e})(Wd||{});function XT(e,t){return{\u0275kind:e,\u0275providers:t}}function Zd(...e){let t=[Va,$d,ja,{provide:Mr,useExisting:ja},{provide:zo,useFactory:()=>p(BT,{optional:!0})??p($d)},{provide:zd,useValue:JT,multi:!0},{provide:dy,useValue:!0},{provide:Go,useClass:KT}];for(let n of e)t.push(...n.\u0275providers);return je(t)}var iy=new y("");function Yd(){return XT(Wd.LegacyInterceptors,[{provide:iy,useFactory:$T},{provide:zd,useExisting:iy,multi:!0}])}var eM=new y(""),tM="b",nM="h",rM="s",oM="st",iM="u",sM="rt",Qd=new y(""),aM=["GET","HEAD"];function cM(e,t){let f=p(Qd),{isCacheActive:n}=f,r=Mf(f,["isCacheActive"]),{transferCache:o,method:i}=e;if(!n||o===!1||i==="POST"&&!r.includePostRequests&&!o||i!=="POST"&&!aM.includes(i)||!r.includeRequestsWithAuthHeaders&&uM(e)||r.filter?.(e)===!1)return t(e);let s=p(An);if(p(eM,{optional:!0}))throw new v(2803,!1);let c=e.url,u=lM(e,c),l=s.get(u,null),d=r.includeHeaders;if(typeof o=="object"&&o.includeHeaders&&(d=o.includeHeaders),l){let{[tM]:g,[sM]:_,[nM]:E,[rM]:D,[oM]:de,[iM]:Te}=l,q=g;switch(_){case"arraybuffer":q=new TextEncoder().encode(g).buffer;break;case"blob":q=new Blob([g]);break}let mt=new Ft(E);return b(new Ar({body:q,headers:mt,status:D,statusText:de,url:Te}))}return t(e)}function uM(e){return e.headers.has("authorization")||e.headers.has("proxy-authorization")}function fy(e){return[...e.keys()].sort().map(t=>`${t}=${e.getAll(t)}`).join("&")}function lM(e,t){let{params:n,method:r,responseType:o}=e,i=fy(n),s=e.serializeBody();s instanceof URLSearchParams?s=fy(s):typeof s!="string"&&(s="");let a=[r,o,t,s,i].join("|"),c=dM(a);return c}function dM(e){let t=0;for(let n of e)t=Math.imul(31,t)+n.charCodeAt(0)<<0;return t+=2147483648,t.toString()}function hy(e){return[{provide:Qd,useFactory:()=>(ze("NgHttpTransferCache"),m({isCacheActive:!0},e))},{provide:Gd,useValue:cM,multi:!0},{provide:Xt,multi:!0,useFactory:()=>{let t=p(Ee),n=p(Qd);return()=>{t.whenStable().then(()=>{n.isCacheActive=!1})}}}]}var py=(()=>{class e{_doc;constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}static \u0275fac=function(r){return new(r||e)(T(K))};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Ba=(function(e){return e[e.NoHttpTransferCache=0]="NoHttpTransferCache",e[e.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",e[e.I18nSupport=2]="I18nSupport",e[e.EventReplay=3]="EventReplay",e[e.IncrementalHydration=4]="IncrementalHydration",e})(Ba||{});function hM(e,t=[],n={}){return{\u0275kind:e,\u0275providers:t}}function gy(){return hM(Ba.EventReplay,kv())}function my(...e){let t=[],n=new Set;for(let{\u0275providers:o,\u0275kind:i}of e)n.add(i),o.length&&t.push(o);let r=n.has(Ba.HttpTransferCacheOptions);return je([[],[],Lv(),n.has(Ba.NoHttpTransferCache)||r?[]:hy({}),t])}var S="primary",si=Symbol("RouteTitle"),tf=class{params;constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}};function Vn(e){return new tf(e)}function wy(e,t,n){let r=n.path.split("/");if(r.length>e.length||n.pathMatch==="full"&&(t.hasChildren()||r.lengthr[i]===o)}else return e===t}function Ty(e){return e.length>0?e[e.length-1]:null}function jt(e){return Uc(e)?e:At(e)?$(Promise.resolve(e)):b(e)}var mM={exact:Sy,subset:Ay},My={exact:vM,subset:yM,ignored:()=>!0};function vy(e,t,n){return mM[n.paths](e.root,t.root,n.matrixParams)&&My[n.queryParams](e.queryParams,t.queryParams)&&!(n.fragment==="exact"&&e.fragment!==t.fragment)}function vM(e,t){return ft(e,t)}function Sy(e,t,n){if(!Ln(e.segments,t.segments)||!$a(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let r in t.children)if(!e.children[r]||!Sy(e.children[r],t.children[r],n))return!1;return!0}function yM(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>by(e[n],t[n]))}function Ay(e,t,n){return Ny(e,t,t.segments,n)}function Ny(e,t,n,r){if(e.segments.length>n.length){let o=e.segments.slice(0,n.length);return!(!Ln(o,n)||t.hasChildren()||!$a(o,n,r))}else if(e.segments.length===n.length){if(!Ln(e.segments,n)||!$a(e.segments,n,r))return!1;for(let o in t.children)if(!e.children[o]||!Ay(e.children[o],t.children[o],r))return!1;return!0}else{let o=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!Ln(e.segments,o)||!$a(e.segments,o,r)||!e.children[S]?!1:Ny(e.children[S],t,i,r)}}function $a(e,t,n){return t.every((r,o)=>My[n](e[o].parameters,r.parameters))}var pt=class{root;queryParams;fragment;_queryParamMap;constructor(t=new j([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=Vn(this.queryParams),this._queryParamMap}toString(){return CM.serialize(this)}},j=class{segments;children;parent=null;constructor(t,n){this.segments=t,this.children=n,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return za(this)}},rn=class{path;parameters;_parameterMap;constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap??=Vn(this.parameters),this._parameterMap}toString(){return xy(this)}};function EM(e,t){return Ln(e,t)&&e.every((n,r)=>ft(n.parameters,t[r].parameters))}function Ln(e,t){return e.length!==t.length?!1:e.every((n,r)=>n.path===t[r].path)}function DM(e,t){let n=[];return Object.entries(e.children).forEach(([r,o])=>{r===S&&(n=n.concat(t(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==S&&(n=n.concat(t(o,r)))}),n}var ai=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:()=>new Bn,providedIn:"root"})}return e})(),Bn=class{parse(t){let n=new of(t);return new pt(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){let n=`/${qo(t.root,!0)}`,r=wM(t.queryParams),o=typeof t.fragment=="string"?`#${_M(t.fragment)}`:"";return`${n}${r}${o}`}},CM=new Bn;function za(e){return e.segments.map(t=>xy(t)).join("/")}function qo(e,t){if(!e.hasChildren())return za(e);if(t){let n=e.children[S]?qo(e.children[S],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==S&&r.push(`${o}:${qo(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}else{let n=DM(e,(r,o)=>o===S?[qo(e.children[S],!1)]:[`${o}:${qo(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[S]!=null?`${za(e)}/${n[0]}`:`${za(e)}/(${n.join("//")})`}}function Ry(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ua(e){return Ry(e).replace(/%3B/gi,";")}function _M(e){return encodeURI(e)}function rf(e){return Ry(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ga(e){return decodeURIComponent(e)}function yy(e){return Ga(e.replace(/\+/g,"%20"))}function xy(e){return`${rf(e.path)}${IM(e.parameters)}`}function IM(e){return Object.entries(e).map(([t,n])=>`;${rf(t)}=${rf(n)}`).join("")}function wM(e){let t=Object.entries(e).map(([n,r])=>Array.isArray(r)?r.map(o=>`${Ua(n)}=${Ua(o)}`).join("&"):`${Ua(n)}=${Ua(r)}`).filter(n=>n);return t.length?`?${t.join("&")}`:""}var bM=/^[^\/()?;#]+/;function Kd(e){let t=e.match(bM);return t?t[0]:""}var TM=/^[^\/()?;=#]+/;function MM(e){let t=e.match(TM);return t?t[0]:""}var SM=/^[^=?&#]+/;function AM(e){let t=e.match(SM);return t?t[0]:""}var NM=/^[^&#]+/;function RM(e){let t=e.match(NM);return t?t[0]:""}var of=class{url;remaining;constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new j([],{}):new j([],this.parseChildren())}parseQueryParams(){let t={};if(this.consumeOptional("?"))do this.parseQueryParam(t);while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[S]=new j(t,n)),r}parseSegment(){let t=Kd(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new v(4009,!1);return this.capture(t),new rn(Ga(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let n=MM(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let o=Kd(this.remaining);o&&(r=o,this.capture(r))}t[Ga(n)]=Ga(r)}parseQueryParam(t){let n=AM(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let s=RM(this.remaining);s&&(r=s,this.capture(r))}let o=yy(n),i=yy(r);if(t.hasOwnProperty(o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t){let n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=Kd(this.remaining),o=this.remaining[r.length];if(o!=="/"&&o!==")"&&o!==";")throw new v(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=S);let s=this.parseChildren();n[i??S]=Object.keys(s).length===1&&s[S]?s[S]:new j([],s),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new v(4011,!1)}};function Oy(e){return e.segments.length>0?new j([],{[S]:e}):e}function Py(e){let t={};for(let[r,o]of Object.entries(e.children)){let i=Py(o);if(r===S&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))t[s]=a;else(i.segments.length>0||i.hasChildren())&&(t[r]=i)}let n=new j(e.segments,t);return xM(n)}function xM(e){if(e.numberOfChildren===1&&e.children[S]){let t=e.children[S];return new j(e.segments.concat(t.segments),t.children)}return e}function Pr(e){return e instanceof pt}function Fy(e,t,n=null,r=null){let o=ky(e);return Ly(o,t,n,r)}function ky(e){let t;function n(i){let s={};for(let c of i.children){let u=n(c);s[c.outlet]=u}let a=new j(i.url,s);return i===e&&(t=a),a}let r=n(e.root),o=Oy(r);return t??o}function Ly(e,t,n,r){let o=e;for(;o.parent;)o=o.parent;if(t.length===0)return Jd(o,o,o,n,r);let i=OM(t);if(i.toRoot())return Jd(o,o,new j([],{}),n,r);let s=PM(i,o,e),a=s.processChildren?Zo(s.segmentGroup,s.index,i.commands):Vy(s.segmentGroup,s.index,i.commands);return Jd(o,s.segmentGroup,a,n,r)}function qa(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function Ko(e){return typeof e=="object"&&e!=null&&e.outlets}function Jd(e,t,n,r,o){let i={};r&&Object.entries(r).forEach(([c,u])=>{i[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let s;e===t?s=n:s=jy(e,t,n);let a=Oy(Py(s));return new pt(a,i,o)}function jy(e,t,n){let r={};return Object.entries(e.children).forEach(([o,i])=>{i===t?r[o]=n:r[o]=jy(i,t,n)}),new j(e.segments,r)}var Wa=class{isAbsolute;numberOfDoubleDots;commands;constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&qa(r[0]))throw new v(4003,!1);let o=r.find(Ko);if(o&&o!==Ty(r))throw new v(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function OM(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new Wa(!0,0,e);let t=0,n=!1,r=e.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([c,u])=>{a[c]=typeof u=="string"?u.split("/"):u}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?n=!0:a===".."?t++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new Wa(n,t,r)}var xr=class{segmentGroup;processChildren;index;constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}};function PM(e,t,n){if(e.isAbsolute)return new xr(t,!0,0);if(!n)return new xr(t,!1,NaN);if(n.parent===null)return new xr(n,!0,0);let r=qa(e.commands[0])?0:1,o=n.segments.length-1+r;return FM(n,o,e.numberOfDoubleDots)}function FM(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new v(4005,!1);o=r.segments.length}return new xr(r,!1,o-i)}function kM(e){return Ko(e[0])?e[0].outlets:{[S]:e}}function Vy(e,t,n){if(e??=new j([],{}),e.segments.length===0&&e.hasChildren())return Zo(e,t,n);let r=LM(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndexi!==S)&&e.children[S]&&e.numberOfChildren===1&&e.children[S].segments.length===0){let i=Zo(e.children[S],t,n);return new j(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=Vy(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{r[i]===void 0&&(o[i]=s)}),new j(e.segments,o)}}function LM(e,t,n){let r=0,o=t,i={match:!1,pathIndex:0,commandIndex:0};for(;o=n.length)return i;let s=e.segments[o],a=n[r];if(Ko(a))break;let c=`${a}`,u=r0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!Dy(c,u,s))return i;r+=2}else{if(!Dy(c,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function sf(e,t,n){let r=e.segments.slice(0,t),o=0;for(;o{typeof r=="string"&&(r=[r]),r!==null&&(t[n]=sf(new j([],{}),0,r))}),t}function Ey(e){let t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function Dy(e,t,n){return e==n.path&&ft(t,n.parameters)}var Yo="imperative",ie=(function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e})(ie||{}),ke=class{id;url;constructor(t,n){this.id=t,this.url=n}},Un=class extends ke{type=ie.NavigationStart;navigationTrigger;restoredState;constructor(t,n,r="imperative",o=null){super(t,n),this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},kt=class extends ke{urlAfterRedirects;type=ie.NavigationEnd;constructor(t,n,r){super(t,n),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},De=(function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e[e.Aborted=4]="Aborted",e})(De||{}),Jo=(function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e})(Jo||{}),ht=class extends ke{reason;code;type=ie.NavigationCancel;constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Lt=class extends ke{reason;code;type=ie.NavigationSkipped;constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o}},Fr=class extends ke{error;target;type=ie.NavigationError;constructor(t,n,r,o){super(t,n),this.error=r,this.target=o}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Xo=class extends ke{urlAfterRedirects;state;type=ie.RoutesRecognized;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Za=class extends ke{urlAfterRedirects;state;type=ie.GuardsCheckStart;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ya=class extends ke{urlAfterRedirects;state;shouldActivate;type=ie.GuardsCheckEnd;constructor(t,n,r,o,i){super(t,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Qa=class extends ke{urlAfterRedirects;state;type=ie.ResolveStart;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ka=class extends ke{urlAfterRedirects;state;type=ie.ResolveEnd;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ja=class{route;type=ie.RouteConfigLoadStart;constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Xa=class{route;type=ie.RouteConfigLoadEnd;constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},ec=class{snapshot;type=ie.ChildActivationStart;constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},tc=class{snapshot;type=ie.ChildActivationEnd;constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},nc=class{snapshot;type=ie.ActivationStart;constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},rc=class{snapshot;type=ie.ActivationEnd;constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var ei=class{},kr=class{url;navigationBehaviorOptions;constructor(t,n){this.url=t,this.navigationBehaviorOptions=n}};function VM(e){return!(e instanceof ei)&&!(e instanceof kr)}function BM(e,t){return e.providers&&!e._injector&&(e._injector=Dr(e.providers,t,`Route: ${e.path}`)),e._injector??t}function rt(e){return e.outlet||S}function UM(e,t){let n=e.filter(r=>rt(r)===t);return n.push(...e.filter(r=>rt(r)!==t)),n}function Vr(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){let n=t.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}var oc=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return Vr(this.route?.snapshot)??this.rootInjector}constructor(t){this.rootInjector=t,this.children=new Br(this.rootInjector)}},Br=(()=>{class e{rootInjector;contexts=new Map;constructor(n){this.rootInjector=n}onChildOutletCreated(n,r){let o=this.getOrCreateContext(n);o.outlet=r,this.contexts.set(n,o)}onChildOutletDestroyed(n){let r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new oc(this.rootInjector),this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}static \u0275fac=function(r){return new(r||e)(T(Y))};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ic=class{_root;constructor(t){this._root=t}get root(){return this._root.value}parent(t){let n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){let n=af(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){let n=af(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){let n=cf(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return cf(t,this._root).map(n=>n.value)}};function af(e,t){if(e===t.value)return t;for(let n of t.children){let r=af(e,n);if(r)return r}return null}function cf(e,t){if(e===t.value)return[t];for(let n of t.children){let r=cf(e,n);if(r.length)return r.unshift(t),r}return[]}var Fe=class{value;children;constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}};function Rr(e){let t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}var ti=class extends ic{snapshot;constructor(t,n){super(t),this.snapshot=n,mf(this,t)}toString(){return this.snapshot.toString()}};function By(e){let t=HM(e),n=new se([new rn("",{})]),r=new se({}),o=new se({}),i=new se({}),s=new se(""),a=new gt(n,r,i,s,o,S,e,t.root);return a.snapshot=t.root,new ti(new Fe(a,[]),t)}function HM(e){let t={},n={},r={},i=new jn([],t,r,"",n,S,e,null,{});return new ni("",new Fe(i,[]))}var gt=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(t,n,r,o,i,s,a,c){this.urlSubject=t,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(R(u=>u[si]))??b(void 0),this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(R(t=>Vn(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(R(t=>Vn(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function sc(e,t,n="emptyOnly"){let r,{routeConfig:o}=e;return t!==null&&(n==="always"||o?.path===""||!t.component&&!t.routeConfig?.loadComponent)?r={params:m(m({},t.params),e.params),data:m(m({},t.data),e.data),resolve:m(m(m(m({},e.data),t.data),o?.data),e._resolvedData)}:r={params:m({},e.params),data:m({},e.data),resolve:m(m({},e.data),e._resolvedData??{})},o&&Hy(o)&&(r.resolve[si]=o.title),r}var jn=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[si]}constructor(t,n,r,o,i,s,a,c,u){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Vn(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Vn(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(r=>r.toString()).join("/"),n=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${n}')`}},ni=class extends ic{url;constructor(t,n){super(n),this.url=t,mf(this,n)}toString(){return Uy(this._root)}};function mf(e,t){t.value._routerState=e,t.children.forEach(n=>mf(e,n))}function Uy(e){let t=e.children.length>0?` { ${e.children.map(Uy).join(", ")} } `:"";return`${e.value}${t}`}function Xd(e){if(e.snapshot){let t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,ft(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),ft(t.params,n.params)||e.paramsSubject.next(n.params),gM(t.url,n.url)||e.urlSubject.next(n.url),ft(t.data,n.data)||e.dataSubject.next(n.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function uf(e,t){let n=ft(e.params,t.params)&&EM(e.url,t.url),r=!e.parent!=!t.parent;return n&&!r&&(!e.parent||uf(e.parent,t.parent))}function Hy(e){return typeof e.title=="string"||e.title===null}var $y=new y(""),ci=(()=>{class e{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=S;activateEvents=new ne;deactivateEvents=new ne;attachEvents=new ne;detachEvents=new ne;routerOutletData=Pv();parentContexts=p(Br);location=p(Er);changeDetector=p(Lo);inputBinder=p(lc,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(n){if(n.name){let{firstChange:r,previousValue:o}=n.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new v(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new v(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new v(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new v(4013,!1);this._activatedRoute=n;let o=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new lf(n,a,o.injector,this.routerOutletData);this.activated=o.createComponent(s,{index:o.length,injector:c,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(r){return new(r||e)};static \u0275dir=No({type:e,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[$s]})}return e})(),lf=class{route;childContexts;parent;outletData;constructor(t,n,r,o){this.route=t,this.childContexts=n,this.parent=r,this.outletData=o}get(t,n){return t===gt?this.route:t===Br?this.childContexts:t===$y?this.outletData:this.parent.get(t,n)}},lc=new y("");var vf=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Ao({type:e,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,o){r&1&&ee(0,"router-outlet")},dependencies:[ci],encapsulation:2})}return e})();function yf(e){let t=e.children&&e.children.map(yf),n=t?O(m({},e),{children:t}):m({},e);return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==S&&(n.component=vf),n}function $M(e,t,n){let r=ri(e,t._root,n?n._root:void 0);return new ti(r,t)}function ri(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){let r=n.value;r._futureSnapshot=t.value;let o=zM(e,t,n);return new Fe(r,o)}else{if(e.shouldAttach(t.value)){let i=e.retrieve(t.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>ri(e,a)),s}}let r=GM(t.value),o=t.children.map(i=>ri(e,i));return new Fe(r,o)}}function zM(e,t,n){return t.children.map(r=>{for(let o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return ri(e,r,o);return ri(e,r)})}function GM(e){return new gt(new se(e.url),new se(e.params),new se(e.queryParams),new se(e.fragment),new se(e.data),e.outlet,e.component,e)}var Lr=class{redirectTo;navigationBehaviorOptions;constructor(t,n){this.redirectTo=t,this.navigationBehaviorOptions=n}},zy="ngNavigationCancelingError";function ac(e,t){let{redirectTo:n,navigationBehaviorOptions:r}=Pr(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=Gy(!1,De.Redirect);return o.url=n,o.navigationBehaviorOptions=r,o}function Gy(e,t){let n=new Error(`NavigationCancelingError: ${e||""}`);return n[zy]=!0,n.cancellationCode=t,n}function qM(e){return qy(e)&&Pr(e.url)}function qy(e){return!!e&&e[zy]}var WM=(e,t,n,r)=>R(o=>(new df(t,o.targetRouterState,o.currentRouterState,n,r).activate(e),o)),df=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(t,n,r,o,i){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(t){let n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),Xd(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){let o=Rr(n);t.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(o===i)if(o.component){let s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else i&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){let r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=Rr(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){let r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=Rr(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(t,n,r){let o=Rr(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new rc(i.value.snapshot))}),t.children.length&&this.forwardEvent(new tc(t.value.snapshot))}activateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(Xd(o),o===i)if(o.component){let s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(o.component){let s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Xd(a.route.value),this.activateChildRoutes(t,null,s.children)}else s.attachRef=null,s.route=o,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}else this.activateChildRoutes(t,null,r)}},cc=class{path;route;constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},Or=class{component;route;constructor(t,n){this.component=t,this.route=n}};function ZM(e,t,n){let r=e._root,o=t?t._root:null;return Wo(r,o,n,[r.value])}function YM(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function Ur(e,t){let n=Symbol(),r=t.get(e,n);return r===n?typeof e=="function"&&!iu(e)?e:t.get(e):r}function Wo(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=Rr(t);return e.children.forEach(s=>{QM(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>Qo(a,n.getContext(s),o)),o}function QM(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let c=KM(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new cc(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?Wo(e,t,a?a.children:null,r,o):Wo(e,t,n,r,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Or(a.outlet.component,s))}else s&&Qo(t,a,o),o.canActivateChecks.push(new cc(r)),i.component?Wo(e,null,a?a.children:null,r,o):Wo(e,null,n,r,o);return o}function KM(e,t,n){if(typeof n=="function")return n(e,t);switch(n){case"pathParamsChange":return!Ln(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Ln(e.url,t.url)||!ft(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!uf(e,t)||!ft(e.queryParams,t.queryParams);case"paramsChange":default:return!uf(e,t)}}function Qo(e,t,n){let r=Rr(e),o=e.value;Object.entries(r).forEach(([i,s])=>{o.component?t?Qo(s,t.children.getContext(i),n):Qo(s,null,n):Qo(s,t,n)}),o.component?t&&t.outlet&&t.outlet.isActivated?n.canDeactivateChecks.push(new Or(t.outlet.component,o)):n.canDeactivateChecks.push(new Or(null,o)):n.canDeactivateChecks.push(new Or(null,o))}function ui(e){return typeof e=="function"}function JM(e){return typeof e=="boolean"}function XM(e){return e&&ui(e.canLoad)}function eS(e){return e&&ui(e.canActivate)}function tS(e){return e&&ui(e.canActivateChild)}function nS(e){return e&&ui(e.canDeactivate)}function rS(e){return e&&ui(e.canMatch)}function Wy(e){return e instanceof vt||e?.name==="EmptyError"}var Ha=Symbol("INITIAL_VALUE");function jr(){return he(e=>Yi(e.map(t=>t.pipe(yt(1),Gc(Ha)))).pipe(R(t=>{for(let n of t)if(n!==!0){if(n===Ha)return Ha;if(n===!1||oS(n))return n}return!0}),Ie(t=>t!==Ha),yt(1)))}function oS(e){return Pr(e)||e instanceof Lr}function iS(e,t){return X(n=>{let{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return s.length===0&&i.length===0?b(O(m({},n),{guardsResult:!0})):sS(s,r,o,e).pipe(X(a=>a&&JM(a)?aS(r,i,e,t):b(a)),R(a=>O(m({},n),{guardsResult:a})))})}function sS(e,t,n,r){return $(e).pipe(X(o=>fS(o.component,o.route,n,t,r)),Et(o=>o!==!0,!0))}function aS(e,t,n,r){return $(t).pipe(Ut(o=>rr(uS(o.route.parent,r),cS(o.route,r),dS(e,o.path,n),lS(e,o.route,n))),Et(o=>o!==!0,!0))}function cS(e,t){return e!==null&&t&&t(new nc(e)),b(!0)}function uS(e,t){return e!==null&&t&&t(new ec(e)),b(!0)}function lS(e,t,n){let r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||r.length===0)return b(!0);let o=r.map(i=>Qr(()=>{let s=Vr(t)??n,a=Ur(i,s),c=eS(a)?a.canActivate(t,e):ce(s,()=>a(t,e));return jt(c).pipe(Et())}));return b(o).pipe(jr())}function dS(e,t,n){let r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>YM(s)).filter(s=>s!==null).map(s=>Qr(()=>{let a=s.guards.map(c=>{let u=Vr(s.node)??n,l=Ur(c,u),d=tS(l)?l.canActivateChild(r,e):ce(u,()=>l(r,e));return jt(d).pipe(Et())});return b(a).pipe(jr())}));return b(i).pipe(jr())}function fS(e,t,n,r,o){let i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!i||i.length===0)return b(!0);let s=i.map(a=>{let c=Vr(t)??o,u=Ur(a,c),l=nS(u)?u.canDeactivate(e,t,n,r):ce(c,()=>u(e,t,n,r));return jt(l).pipe(Et())});return b(s).pipe(jr())}function hS(e,t,n,r){let o=t.canLoad;if(o===void 0||o.length===0)return b(!0);let i=o.map(s=>{let a=Ur(s,e),c=XM(a)?a.canLoad(t,n):ce(e,()=>a(t,n));return jt(c)});return b(i).pipe(jr(),Zy(r))}function Zy(e){return kc(te(t=>{if(typeof t!="boolean")throw ac(e,t)}),R(t=>t===!0))}function pS(e,t,n,r){let o=t.canMatch;if(!o||o.length===0)return b(!0);let i=o.map(s=>{let a=Ur(s,e),c=rS(a)?a.canMatch(t,n):ce(e,()=>a(t,n));return jt(c)});return b(i).pipe(jr(),Zy(r))}var oi=class{segmentGroup;constructor(t){this.segmentGroup=t||null}},ii=class extends Error{urlTree;constructor(t){super(),this.urlTree=t}};function Nr(e){return nr(new oi(e))}function gS(e){return nr(new v(4e3,!1))}function mS(e){return nr(Gy(!1,De.GuardRejected))}var ff=class{urlSerializer;urlTree;constructor(t,n){this.urlSerializer=t,this.urlTree=n}lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),o.numberOfChildren===0)return b(r);if(o.numberOfChildren>1||!o.children[S])return gS(`${t.redirectTo}`);o=o.children[S]}}applyRedirectCommands(t,n,r,o,i){return vS(n,o,i).pipe(R(s=>{if(s instanceof pt)throw new ii(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),t,r);if(s[0]==="/")throw new ii(a);return a}))}applyRedirectCreateUrlTree(t,n,r,o){let i=this.createSegmentGroup(t,n.root,r,o);return new pt(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){let r={};return Object.entries(t).forEach(([o,i])=>{if(typeof i=="string"&&i[0]===":"){let a=i.substring(1);r[o]=n[a]}else r[o]=i}),r}createSegmentGroup(t,n,r,o){let i=this.createSegments(t,n.segments,r,o),s={};return Object.entries(n.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(t,c,r,o)}),new j(i,s)}createSegments(t,n,r,o){return n.map(i=>i.path[0]===":"?this.findPosParam(t,i,o):this.findOrReturn(i,r))}findPosParam(t,n,r){let o=r[n.path.substring(1)];if(!o)throw new v(4001,!1);return o}findOrReturn(t,n){let r=0;for(let o of n){if(o.path===t.path)return n.splice(r),o;r++}return t}};function vS(e,t,n){if(typeof e=="string")return b(e);let r=e,{queryParams:o,fragment:i,routeConfig:s,url:a,outlet:c,params:u,data:l,title:d}=t;return jt(ce(n,()=>r({params:u,data:l,queryParams:o,fragment:i,routeConfig:s,url:a,outlet:c,title:d})))}var hf={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function yS(e,t,n,r,o){let i=Yy(e,t,n);return i.matched?(r=BM(t,r),pS(r,t,n,o).pipe(R(s=>s===!0?i:m({},hf)))):b(i)}function Yy(e,t,n){if(t.path==="**")return ES(n);if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||n.length>0)?m({},hf):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let o=(t.matcher||wy)(n,e,t);if(!o)return m({},hf);let i={};Object.entries(o.posParams??{}).forEach(([a,c])=>{i[a]=c.path});let s=o.consumed.length>0?m(m({},i),o.consumed[o.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:n.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function ES(e){return{matched:!0,parameters:e.length>0?Ty(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function Cy(e,t,n,r){return n.length>0&&_S(e,n,r)?{segmentGroup:new j(t,CS(r,new j(n,e.children))),slicedSegments:[]}:n.length===0&&IS(e,n,r)?{segmentGroup:new j(e.segments,DS(e,n,r,e.children)),slicedSegments:n}:{segmentGroup:new j(e.segments,e.children),slicedSegments:n}}function DS(e,t,n,r){let o={};for(let i of n)if(dc(e,t,i)&&!r[rt(i)]){let s=new j([],{});o[rt(i)]=s}return m(m({},r),o)}function CS(e,t){let n={};n[S]=t;for(let r of e)if(r.path===""&&rt(r)!==S){let o=new j([],{});n[rt(r)]=o}return n}function _S(e,t,n){return n.some(r=>dc(e,t,r)&&rt(r)!==S)}function IS(e,t,n){return n.some(r=>dc(e,t,r))}function dc(e,t,n){return(e.hasChildren()||t.length>0)&&n.pathMatch==="full"?!1:n.path===""}function wS(e,t,n){return t.length===0&&!e.children[n]}var pf=class{};function bS(e,t,n,r,o,i,s="emptyOnly"){return new gf(e,t,n,r,o,s,i).recognize()}var TS=31,gf=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(t,n,r,o,i,s,a){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new ff(this.urlSerializer,this.urlTree)}noMatchError(t){return new v(4002,`'${t.segmentGroup}'`)}recognize(){let t=Cy(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(R(({children:n,rootSnapshot:r})=>{let o=new Fe(r,n),i=new ni("",o),s=Fy(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}}))}match(t){let n=new jn([],Object.freeze({}),Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),S,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,t,S,n).pipe(R(r=>({children:r,rootSnapshot:n})),Bt(r=>{if(r instanceof ii)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof oi?this.noMatchError(r):r}))}processSegmentGroup(t,n,r,o,i){return r.segments.length===0&&r.hasChildren()?this.processChildren(t,n,r,i):this.processSegment(t,n,r,r.segments,o,!0,i).pipe(R(s=>s instanceof Fe?[s]:[]))}processChildren(t,n,r,o){let i=[];for(let s of Object.keys(r.children))s==="primary"?i.unshift(s):i.push(s);return $(i).pipe(Ut(s=>{let a=r.children[s],c=UM(n,s);return this.processSegmentGroup(t,c,a,s,o)}),zc((s,a)=>(s.push(...a),s)),Ht(null),$c(),X(s=>{if(s===null)return Nr(r);let a=Qy(s);return MS(a),b(a)}))}processSegment(t,n,r,o,i,s,a){return $(n).pipe(Ut(c=>this.processSegmentAgainstRoute(c._injector??t,n,c,r,o,i,s,a).pipe(Bt(u=>{if(u instanceof oi)return b(null);throw u}))),Et(c=>!!c),Bt(c=>{if(Wy(c))return wS(r,o,i)?b(new pf):Nr(r);throw c}))}processSegmentAgainstRoute(t,n,r,o,i,s,a,c){return rt(r)!==s&&(s===S||!dc(o,i,r))?Nr(o):r.redirectTo===void 0?this.matchSegmentAgainstRoute(t,o,r,i,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,o,n,r,i,s,c):Nr(o)}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s,a){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:h}=Yy(n,o,i);if(!c)return Nr(n);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>TS&&(this.allowRedirects=!1));let f=new jn(i,u,Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,_y(o),rt(o),o.component??o._loadedComponent??null,o,Iy(o)),g=sc(f,a,this.paramsInheritanceStrategy);return f.params=Object.freeze(g.params),f.data=Object.freeze(g.data),this.applyRedirects.applyRedirectCommands(l,o.redirectTo,d,f,t).pipe(he(E=>this.applyRedirects.lineralizeSegments(o,E)),X(E=>this.processSegment(t,r,n,E.concat(h),s,!1,a)))}matchSegmentAgainstRoute(t,n,r,o,i,s){let a=yS(n,r,o,t,this.urlSerializer);return r.path==="**"&&(n.children={}),a.pipe(he(c=>c.matched?(t=r._injector??t,this.getChildConfig(t,r,o).pipe(he(({routes:u})=>{let l=r._loadedInjector??t,{parameters:d,consumedSegments:h,remainingSegments:f}=c,g=new jn(h,d,Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,_y(r),rt(r),r.component??r._loadedComponent??null,r,Iy(r)),_=sc(g,s,this.paramsInheritanceStrategy);g.params=Object.freeze(_.params),g.data=Object.freeze(_.data);let{segmentGroup:E,slicedSegments:D}=Cy(n,h,f,u);if(D.length===0&&E.hasChildren())return this.processChildren(l,u,E,g).pipe(R(Te=>new Fe(g,Te)));if(u.length===0&&D.length===0)return b(new Fe(g,[]));let de=rt(r)===i;return this.processSegment(l,u,E,D,de?S:i,!0,g).pipe(R(Te=>new Fe(g,Te instanceof Fe?[Te]:[])))}))):Nr(n)))}getChildConfig(t,n,r){return n.children?b({routes:n.children,injector:t}):n.loadChildren?n._loadedRoutes!==void 0?b({routes:n._loadedRoutes,injector:n._loadedInjector}):hS(t,n,r,this.urlSerializer).pipe(X(o=>o?this.configLoader.loadChildren(t,n).pipe(te(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):mS(n))):b({routes:[],injector:t})}};function MS(e){e.sort((t,n)=>t.value.outlet===S?-1:n.value.outlet===S?1:t.value.outlet.localeCompare(n.value.outlet))}function SS(e){let t=e.value.routeConfig;return t&&t.path===""}function Qy(e){let t=[],n=new Set;for(let r of e){if(!SS(r)){t.push(r);continue}let o=t.find(i=>r.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...r.children),n.add(o)):t.push(r)}for(let r of n){let o=Qy(r.children);t.push(new Fe(r.value,o))}return t.filter(r=>!n.has(r))}function _y(e){return e.data||{}}function Iy(e){return e.resolve||{}}function AS(e,t,n,r,o,i){return X(s=>bS(e,t,n,r,s.extractedUrl,o,i).pipe(R(({state:a,tree:c})=>O(m({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function NS(e,t){return X(n=>{let{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return b(n);let i=new Set(o.map(c=>c.route)),s=new Set;for(let c of i)if(!s.has(c))for(let u of Ky(c))s.add(u);let a=0;return $(s).pipe(Ut(c=>i.has(c)?RS(c,r,e,t):(c.data=sc(c,c.parent,e).resolve,b(void 0))),te(()=>a++),or(1),X(c=>a===s.size?b(n):Ce))})}function Ky(e){let t=e.children.map(n=>Ky(n)).flat();return[e,...t]}function RS(e,t,n,r){let o=e.routeConfig,i=e._resolve;return o?.title!==void 0&&!Hy(o)&&(i[si]=o.title),Qr(()=>(e.data=sc(e,e.parent,n).resolve,xS(i,e,t,r).pipe(R(s=>(e._resolvedData=s,e.data=m(m({},e.data),s),null)))))}function xS(e,t,n,r){let o=nf(e);if(o.length===0)return b({});let i={};return $(o).pipe(X(s=>OS(e[s],t,n,r).pipe(Et(),te(a=>{if(a instanceof Lr)throw ac(new Bn,a);i[s]=a}))),or(1),R(()=>i),Bt(s=>Wy(s)?Ce:nr(s)))}function OS(e,t,n,r){let o=Vr(t)??r,i=Ur(e,o),s=i.resolve?i.resolve(t,n):ce(o,()=>i(t,n));return jt(s)}function ef(e){return he(t=>{let n=e(t);return n?$(n).pipe(R(()=>t)):b(t)})}var Ef=(()=>{class e{buildTitle(n){let r,o=n.root;for(;o!==void 0;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===S);return r}getResolvedTitleForRoute(n){return n.data[si]}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:()=>p(Jy),providedIn:"root"})}return e})(),Jy=(()=>{class e extends Ef{title;constructor(n){super(),this.title=n}updateTitle(n){let r=this.buildTitle(n);r!==void 0&&this.title.setTitle(r)}static \u0275fac=function(r){return new(r||e)(T(py))};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),li=new y("",{providedIn:"root",factory:()=>({})}),di=new y(""),Xy=(()=>{class e{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=p(cd);loadComponent(n,r){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return b(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let o=jt(ce(n,()=>r.loadComponent())).pipe(R(tE),he(nE),te(s=>{this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s}),$t(()=>{this.componentLoaders.delete(r)})),i=new tr(o,()=>new G).pipe(er());return this.componentLoaders.set(r,i),i}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return b({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let i=eE(r,this.compiler,n,this.onLoadEndListener).pipe($t(()=>{this.childrenLoaders.delete(r)})),s=new tr(i,()=>new G).pipe(er());return this.childrenLoaders.set(r,s),s}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function eE(e,t,n,r){return jt(ce(n,()=>e.loadChildren())).pipe(R(tE),he(nE),X(o=>o instanceof da||Array.isArray(o)?b(o):$(t.compileModuleAsync(o))),R(o=>{r&&r(e);let i,s,a=!1;return Array.isArray(o)?(s=o,a=!0):(i=o.create(n).injector,s=i.get(di,[],{optional:!0,self:!0}).flat()),{routes:s.map(yf),injector:i}}))}function PS(e){return e&&typeof e=="object"&&"default"in e}function tE(e){return PS(e)?e.default:e}function nE(e){return b(e)}var fc=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:()=>p(FS),providedIn:"root"})}return e})(),FS=(()=>{class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),rE=new y("");var oE=new y(""),iE=(()=>{class e{currentNavigation=ut(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=null;events=new G;transitionAbortWithErrorSubject=new G;configLoader=p(Xy);environmentInjector=p(Y);destroyRef=p(ct);urlSerializer=p(ai);rootContexts=p(Br);location=p(wr);inputBindingEnabled=p(lc,{optional:!0})!==null;titleStrategy=p(Ef);options=p(li,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=p(fc);createViewTransition=p(rE,{optional:!0});navigationErrorHandler=p(oE,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>b(void 0);rootComponentType=null;destroyed=!1;constructor(){let n=o=>this.events.next(new Ja(o)),r=o=>this.events.next(new Xa(o));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=n,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(n){let r=++this.navigationId;oe(()=>{this.transitions?.next(O(m({},n),{extractedUrl:this.urlHandlingStrategy.extract(n.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,abortController:new AbortController,id:r}))})}setupNavigations(n){return this.transitions=new se(null),this.transitions.pipe(Ie(r=>r!==null),he(r=>{let o=!1;return b(r).pipe(he(i=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",De.SupersededByNewNavigation),Ce;this.currentTransition=r,this.currentNavigation.set({id:i.id,initialUrl:i.rawUrl,extractedUrl:i.extractedUrl,targetBrowserUrl:typeof i.extras.browserUrl=="string"?this.urlSerializer.parse(i.extras.browserUrl):i.extras.browserUrl,trigger:i.source,extras:i.extras,previousNavigation:this.lastSuccessfulNavigation?O(m({},this.lastSuccessfulNavigation),{previousNavigation:null}):null,abort:()=>i.abortController.abort()});let s=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),a=i.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!s&&a!=="reload")return this.events.next(new Lt(i.id,this.urlSerializer.serialize(i.rawUrl),"",Jo.IgnoredSameUrlNavigation)),i.resolve(!1),Ce;if(this.urlHandlingStrategy.shouldProcessUrl(i.rawUrl))return b(i).pipe(he(c=>(this.events.next(new Un(c.id,this.urlSerializer.serialize(c.extractedUrl),c.source,c.restoredState)),c.id!==this.navigationId?Ce:Promise.resolve(c))),AS(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),te(c=>{r.targetSnapshot=c.targetSnapshot,r.urlAfterRedirects=c.urlAfterRedirects,this.currentNavigation.update(l=>(l.finalUrl=c.urlAfterRedirects,l));let u=new Xo(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}));if(s&&this.urlHandlingStrategy.shouldProcessUrl(i.currentRawUrl)){let{id:c,extractedUrl:u,source:l,restoredState:d,extras:h}=i,f=new Un(c,this.urlSerializer.serialize(u),l,d);this.events.next(f);let g=By(this.rootComponentType).snapshot;return this.currentTransition=r=O(m({},i),{targetSnapshot:g,urlAfterRedirects:u,extras:O(m({},h),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(_=>(_.finalUrl=u,_)),b(r)}else return this.events.next(new Lt(i.id,this.urlSerializer.serialize(i.extractedUrl),"",Jo.IgnoredByUrlHandlingStrategy)),i.resolve(!1),Ce}),te(i=>{let s=new Za(i.id,this.urlSerializer.serialize(i.extractedUrl),this.urlSerializer.serialize(i.urlAfterRedirects),i.targetSnapshot);this.events.next(s)}),R(i=>(this.currentTransition=r=O(m({},i),{guards:ZM(i.targetSnapshot,i.currentSnapshot,this.rootContexts)}),r)),iS(this.environmentInjector,i=>this.events.next(i)),te(i=>{if(r.guardsResult=i.guardsResult,i.guardsResult&&typeof i.guardsResult!="boolean")throw ac(this.urlSerializer,i.guardsResult);let s=new Ya(i.id,this.urlSerializer.serialize(i.extractedUrl),this.urlSerializer.serialize(i.urlAfterRedirects),i.targetSnapshot,!!i.guardsResult);this.events.next(s)}),Ie(i=>i.guardsResult?!0:(this.cancelNavigationTransition(i,"",De.GuardRejected),!1)),ef(i=>{if(i.guards.canActivateChecks.length!==0)return b(i).pipe(te(s=>{let a=new Qa(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),he(s=>{let a=!1;return b(s).pipe(NS(this.paramsInheritanceStrategy,this.environmentInjector),te({next:()=>a=!0,complete:()=>{a||this.cancelNavigationTransition(s,"",De.NoDataFromResolver)}}))}),te(s=>{let a=new Ka(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}))}),ef(i=>{let s=a=>{let c=[];if(a.routeConfig?.loadComponent){let u=Vr(a)??this.environmentInjector;c.push(this.configLoader.loadComponent(u,a.routeConfig).pipe(te(l=>{a.component=l}),R(()=>{})))}for(let u of a.children)c.push(...s(u));return c};return Yi(s(i.targetSnapshot.root)).pipe(Ht(null),yt(1))}),ef(()=>this.afterPreactivation()),he(()=>{let{currentSnapshot:i,targetSnapshot:s}=r,a=this.createViewTransition?.(this.environmentInjector,i.root,s.root);return a?$(a).pipe(R(()=>r)):b(r)}),R(i=>{let s=$M(n.routeReuseStrategy,i.targetSnapshot,i.currentRouterState);return this.currentTransition=r=O(m({},i),{targetRouterState:s}),this.currentNavigation.update(a=>(a.targetRouterState=s,a)),r}),te(()=>{this.events.next(new ei)}),WM(this.rootContexts,n.routeReuseStrategy,i=>this.events.next(i),this.inputBindingEnabled),yt(1),Ki(new x(i=>{let s=r.abortController.signal,a=()=>i.next();return s.addEventListener("abort",a),()=>s.removeEventListener("abort",a)}).pipe(Ie(()=>!o&&!r.targetRouterState),te(()=>{this.cancelNavigationTransition(r,r.abortController.signal.reason+"",De.Aborted)}))),te({next:i=>{o=!0,this.lastSuccessfulNavigation=oe(this.currentNavigation),this.events.next(new kt(i.id,this.urlSerializer.serialize(i.extractedUrl),this.urlSerializer.serialize(i.urlAfterRedirects))),this.titleStrategy?.updateTitle(i.targetRouterState.snapshot),i.resolve(!0)},complete:()=>{o=!0}}),Ki(this.transitionAbortWithErrorSubject.pipe(te(i=>{throw i}))),$t(()=>{o||this.cancelNavigationTransition(r,"",De.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),Bt(i=>{if(this.destroyed)return r.resolve(!1),Ce;if(o=!0,qy(i))this.events.next(new ht(r.id,this.urlSerializer.serialize(r.extractedUrl),i.message,i.cancellationCode)),qM(i)?this.events.next(new kr(i.url,i.navigationBehaviorOptions)):r.resolve(!1);else{let s=new Fr(r.id,this.urlSerializer.serialize(r.extractedUrl),i,r.targetSnapshot??void 0);try{let a=ce(this.environmentInjector,()=>this.navigationErrorHandler?.(s));if(a instanceof Lr){let{message:c,cancellationCode:u}=ac(this.urlSerializer,a);this.events.next(new ht(r.id,this.urlSerializer.serialize(r.extractedUrl),c,u)),this.events.next(new kr(a.redirectTo,a.navigationBehaviorOptions))}else throw this.events.next(s),i}catch(a){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(a)}}return Ce}))}))}cancelNavigationTransition(n,r,o){let i=new ht(n.id,this.urlSerializer.serialize(n.extractedUrl),r,o);this.events.next(i),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let n=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=oe(this.currentNavigation),o=r?.targetBrowserUrl??r?.extractedUrl;return n.toString()!==o?.toString()&&!r?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function kS(e){return e!==Yo}var sE=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:()=>p(LS),providedIn:"root"})}return e})(),uc=class{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}},LS=(()=>{class e extends uc{static \u0275fac=(()=>{let n;return function(o){return(n||(n=zs(e)))(o||e)}})();static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),aE=(()=>{class e{urlSerializer=p(ai);options=p(li,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=p(wr);urlHandlingStrategy=p(fc);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new pt;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:n,initialUrl:r,targetBrowserUrl:o}){let i=n!==void 0?this.urlHandlingStrategy.merge(n,r):r,s=o??i;return s instanceof pt?this.urlSerializer.serialize(s):s}commitTransition({targetRouterState:n,finalUrl:r,initialUrl:o}){r&&n?(this.currentUrlTree=r,this.rawUrlTree=this.urlHandlingStrategy.merge(r,o),this.routerState=n):this.rawUrlTree=o}routerState=By(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:n}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n??this.rawUrlTree)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:()=>p(jS),providedIn:"root"})}return e})(),jS=(()=>{class e extends aE{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(r=>{r.type==="popstate"&&setTimeout(()=>{n(r.url,r.state,"popstate")})})}handleRouterEvent(n,r){n instanceof Un?this.updateStateMemento():n instanceof Lt?this.commitTransition(r):n instanceof Xo?this.urlUpdateStrategy==="eager"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):n instanceof ei?(this.commitTransition(r),this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):n instanceof ht&&n.code!==De.SupersededByNewNavigation&&n.code!==De.Redirect?this.restoreHistory(r):n instanceof Fr?this.restoreHistory(r,!0):n instanceof kt&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,{extras:r,id:o}){let{replaceUrl:i,state:s}=r;if(this.location.isCurrentPathEqualTo(n)||i){let a=this.browserPageId,c=m(m({},s),this.generateNgRouterState(o,a));this.location.replaceState(n,"",c)}else{let a=m(m({},s),this.generateNgRouterState(o,this.browserPageId+1));this.location.go(n,"",a)}}restoreHistory(n,r=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,i=this.currentPageId-o;i!==0?this.location.historyGo(i):this.getCurrentUrlTree()===n.finalUrl&&i===0&&(this.resetInternalState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetInternalState(n),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}static \u0275fac=(()=>{let n;return function(o){return(n||(n=zs(e)))(o||e)}})();static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Df(e,t){e.events.pipe(Ie(n=>n instanceof kt||n instanceof ht||n instanceof Fr||n instanceof Lt),R(n=>n instanceof kt||n instanceof Lt?0:(n instanceof ht?n.code===De.Redirect||n.code===De.SupersededByNewNavigation:!1)?2:1),Ie(n=>n!==2),yt(1)).subscribe(()=>{t()})}var VS={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},BS={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},hc=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=p(ha);stateManager=p(aE);options=p(li,{optional:!0})||{};pendingTasks=p(et);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=p(iE);urlSerializer=p(ai);location=p(wr);urlHandlingStrategy=p(fc);injector=p(Y);_events=new G;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=p(sE);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=p(di,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!p(lc,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}eventsSubscription=new W;subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(r=>{try{let o=this.navigationTransitions.currentTransition,i=oe(this.navigationTransitions.currentNavigation);if(o!==null&&i!==null){if(this.stateManager.handleRouterEvent(r,i),r instanceof ht&&r.code!==De.Redirect&&r.code!==De.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof kt)this.navigated=!0;else if(r instanceof kr){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),c=m({browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||kS(o.source)},s);this.scheduleNavigation(a,Yo,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}VM(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortWithErrorSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Yo,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r,o)=>{this.navigateToSyncWithBrowser(n,o,r)})}navigateToSyncWithBrowser(n,r,o){let i={replaceUrl:!0},s=o?.navigationId?o:null;if(o){let c=m({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(i.state=c)}let a=this.parseUrl(n);this.scheduleNavigation(a,r,s,i).catch(c=>{this.disposed||this.injector.get(ye)(c)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return oe(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(yf),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,r={}){let{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:c}=r,u=c?this.currentUrlTree.fragment:s,l=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":l=m(m({},this.currentUrlTree.queryParams),i);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=i||null}l!==null&&(l=this.removeEmptyProps(l));let d;try{let h=o?o.snapshot:this.routerState.snapshot.root;d=ky(h)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),d=this.currentUrlTree.root}return Ly(d,n,l,u??null)}navigateByUrl(n,r={skipLocationChange:!1}){let o=Pr(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,Yo,null,r)}navigate(n,r={skipLocationChange:!1}){return US(n),this.navigateByUrl(this.createUrlTree(n,r),r)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.console.warn(Ct(4018,!1)),this.urlSerializer.parse("/")}}isActive(n,r){let o;if(r===!0?o=m({},VS):r===!1?o=m({},BS):o=r,Pr(n))return vy(this.currentUrlTree,n,o);let i=this.parseUrl(n);return vy(this.currentUrlTree,i,o)}removeEmptyProps(n){return Object.entries(n).reduce((r,[o,i])=>(i!=null&&(r[o]=i),r),{})}scheduleNavigation(n,r,o,i,s){if(this.disposed)return Promise.resolve(!1);let a,c,u;s?(a=s.resolve,c=s.reject,u=s.promise):u=new Promise((d,h)=>{a=d,c=h});let l=this.pendingTasks.add();return Df(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(l))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:i,resolve:a,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(d=>Promise.reject(d))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function US(e){for(let t=0;tn.\u0275providers)])}function GS(e){return e.routerState.root}function qS(){let e=p(Se);return t=>{let n=e.get(Ee);if(t!==n.components[0])return;let r=e.get(hc),o=e.get(WS);e.get(ZS)===1&&r.initialNavigation(),e.get(YS,null,{optional:!0})?.setUpPreloading(),e.get(zS,null,{optional:!0})?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var WS=new y("",{factory:()=>new G}),ZS=new y("",{providedIn:"root",factory:()=>1});var YS=new y("");var cE=[];var uE={providers:[ju(),ld(),Cf(cE),my(gy()),Zd(Yd())]};function pE(e){return e!=null}function gE(e){return At(e)?$(e):e}function mE(e){let t={};return e.forEach(n=>{t=n!=null?m(m({},t),n):t}),Object.keys(t).length===0?null:t}function vE(e,t){return t.map(n=>n(e))}function JS(e){return!e.validate}function yE(e){return e.map(t=>JS(t)?t:n=>t.validate(n))}function XS(e){if(!e)return null;let t=e.filter(pE);return t.length==0?null:function(n){return mE(vE(n,t))}}function e0(e){return e!=null?XS(yE(e)):null}function t0(e){if(!e)return null;let t=e.filter(pE);return t.length==0?null:function(n){let r=vE(n,t).map(gE);return Hc(r).pipe(R(mE))}}function n0(e){return e!=null?t0(yE(e)):null}function _f(e){return e?Array.isArray(e)?e:[e]:[]}function gc(e,t){return Array.isArray(e)?e.includes(t):e===t}function lE(e,t){let n=_f(t);return _f(e).forEach(o=>{gc(n,o)||n.push(o)}),n}function dE(e,t){return _f(t).filter(n=>!gc(e,n))}var r0={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},cz=O(m({},r0),{"[class.ng-submitted]":"isSubmitted"});var fi="VALID",pc="INVALID",Hr="PENDING",hi="DISABLED",Hn=class{},mc=class extends Hn{value;source;constructor(t,n){super(),this.value=t,this.source=n}},pi=class extends Hn{pristine;source;constructor(t,n){super(),this.pristine=t,this.source=n}},gi=class extends Hn{touched;source;constructor(t,n){super(),this.touched=t,this.source=n}},$r=class extends Hn{status;source;constructor(t,n){super(),this.status=t,this.source=n}};var vc=class extends Hn{source;constructor(t){super(),this.source=t}};function EE(e){return(Dc(e)?e.validators:e)||null}function o0(e){return Array.isArray(e)?e0(e):e||null}function DE(e,t){return(Dc(t)?t.asyncValidators:e)||null}function i0(e){return Array.isArray(e)?n0(e):e||null}function Dc(e){return e!=null&&!Array.isArray(e)&&typeof e=="object"}function s0(e,t,n){let r=e.controls;if(!(t?Object.keys(r):r).length)throw new v(1e3,"");if(!r[n])throw new v(1001,"")}function a0(e,t,n){e._forEachChild((r,o)=>{if(n[o]===void 0)throw new v(1002,"")})}var yc=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(t,n){this._assignValidators(t),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get status(){return oe(this.statusReactive)}set status(t){oe(()=>this.statusReactive.set(t))}_status=Ir(()=>this.statusReactive());statusReactive=ut(void 0);get valid(){return this.status===fi}get invalid(){return this.status===pc}get pending(){return this.status==Hr}get disabled(){return this.status===hi}get enabled(){return this.status!==hi}errors;get pristine(){return oe(this.pristineReactive)}set pristine(t){oe(()=>this.pristineReactive.set(t))}_pristine=Ir(()=>this.pristineReactive());pristineReactive=ut(!0);get dirty(){return!this.pristine}get touched(){return oe(this.touchedReactive)}set touched(t){oe(()=>this.touchedReactive.set(t))}_touched=Ir(()=>this.touchedReactive());touchedReactive=ut(!1);get untouched(){return!this.touched}_events=new G;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(lE(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(lE(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(dE(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(dE(t,this._rawAsyncValidators))}hasValidator(t){return gc(this._rawValidators,t)}hasAsyncValidator(t){return gc(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){let n=this.touched===!1;this.touched=!0;let r=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsTouched(O(m({},t),{sourceControl:r})),n&&t.emitEvent!==!1&&this._events.next(new gi(!0,r))}markAllAsDirty(t={}){this.markAsDirty({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(n=>n.markAllAsDirty(t))}markAllAsTouched(t={}){this.markAsTouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(n=>n.markAllAsTouched(t))}markAsUntouched(t={}){let n=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let r=t.sourceControl??this;this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:r})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,r),n&&t.emitEvent!==!1&&this._events.next(new gi(!1,r))}markAsDirty(t={}){let n=this.pristine===!0;this.pristine=!1;let r=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsDirty(O(m({},t),{sourceControl:r})),n&&t.emitEvent!==!1&&this._events.next(new pi(!1,r))}markAsPristine(t={}){let n=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let r=t.sourceControl??this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:t.emitEvent})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t,r),n&&t.emitEvent!==!1&&this._events.next(new pi(!0,r))}markAsPending(t={}){this.status=Hr;let n=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new $r(this.status,n)),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.markAsPending(O(m({},t),{sourceControl:n}))}disable(t={}){let n=this._parentMarkedDirty(t.onlySelf);this.status=hi,this.errors=null,this._forEachChild(o=>{o.disable(O(m({},t),{onlySelf:!0}))}),this._updateValue();let r=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new mc(this.value,r)),this._events.next(new $r(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(O(m({},t),{skipPristineCheck:n}),this),this._onDisabledChange.forEach(o=>o(!0))}enable(t={}){let n=this._parentMarkedDirty(t.onlySelf);this.status=fi,this._forEachChild(r=>{r.enable(O(m({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(O(m({},t),{skipPristineCheck:n}),this),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t,n){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine({},n),this._parent._updateTouched({},n))}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===fi||this.status===Hr)&&this._runAsyncValidator(r,t.emitEvent)}let n=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new mc(this.value,n)),this._events.next(new $r(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(O(m({},t),{sourceControl:n}))}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?hi:fi}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t,n){if(this.asyncValidator){this.status=Hr,this._hasOwnPendingAsyncValidator={emitEvent:n!==!1,shouldHaveEmitted:t!==!1};let r=gE(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{emitEvent:n,shouldHaveEmitted:t})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let t=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,t}return!1}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(n.emitEvent!==!1,this,n.shouldHaveEmitted)}get(t){let n=t;return n==null||(Array.isArray(n)||(n=n.split(".")),n.length===0)?null:n.reduce((r,o)=>r&&r._find(o),this)}getError(t,n){let r=n?this.get(n):this;return r&&r.errors?r.errors[t]:null}hasError(t,n){return!!this.getError(t,n)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t,n,r){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),(t||r)&&this._events.next(new $r(this.status,n)),this._parent&&this._parent._updateControlsErrors(t,n,r)}_initObservables(){this.valueChanges=new ne,this.statusChanges=new ne}_calculateStatus(){return this._allControlsDisabled()?hi:this.errors?pc:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Hr)?Hr:this._anyControlsHaveStatus(pc)?pc:fi}_anyControlsHaveStatus(t){return this._anyControls(n=>n.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t,n){let r=!this._anyControlsDirty(),o=this.pristine!==r;this.pristine=r,this._parent&&!t.onlySelf&&this._parent._updatePristine(t,n),o&&this._events.next(new pi(this.pristine,n))}_updateTouched(t={},n){this.touched=this._anyControlsTouched(),this._events.next(new gi(this.touched,n)),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,n)}_onDisabledChange=[];_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){Dc(t)&&t.updateOn!=null&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){let n=this._parent&&this._parent.dirty;return!t&&!!n&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=o0(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=i0(this._rawAsyncValidators)}},Ec=class extends yc{constructor(t,n,r){super(EE(n),DE(r,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(t,n){return this.controls[t]?this.controls[t]:(this.controls[t]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(t,n,r={}){this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(t,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(t,n,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],n&&this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,n={}){a0(this,!0,t),Object.keys(t).forEach(r=>{s0(this,!0,r),this.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){t!=null&&(Object.keys(t).forEach(r=>{let o=this.controls[r];o&&o.patchValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t={},n={}){this._forEachChild((r,o)=>{r.reset(t?t[o]:null,{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n,this),this._updateTouched(n,this),this.updateValueAndValidity(n),n?.emitEvent!==!1&&this._events.next(new vc(this))}getRawValue(){return this._reduceChildren({},(t,n,r)=>(t[r]=n.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(n,r)=>r._syncPendingControls()?!0:n);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(n=>{let r=this.controls[n];r&&t(r,n)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(let[n,r]of Object.entries(this.controls))if(this.contains(n)&&t(r))return!0;return!1}_reduceValue(){let t={};return this._reduceChildren(t,(n,r,o)=>((r.enabled||this.disabled)&&(n[o]=r.value),n))}_reduceChildren(t,n){let r=t;return this._forEachChild((o,i)=>{r=n(r,o,i)}),r}_allControlsDisabled(){for(let t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}};function fE(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function hE(e){return typeof e=="object"&&e!==null&&Object.keys(e).length===2&&"value"in e&&"disabled"in e}var If=class extends yc{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(t=null,n,r){super(EE(n),DE(r,n)),this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Dc(n)&&(n.nonNullable||n.initialValueIsDefault)&&(hE(t)?this.defaultValue=t.value:this.defaultValue=t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&n.emitModelToViewChange!==!1&&this._onChange.forEach(r=>r(this.value,n.emitViewToModelChange!==!1)),this.updateValueAndValidity(n)}patchValue(t,n={}){this.setValue(t,n)}reset(t=this.defaultValue,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1,n?.emitEvent!==!1&&this._events.next(new vc(this))}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){fE(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){fE(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(t){hE(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}};var CE="https://wfzwn9fhbmfd.stupideyes.com/dist/voice-client.iife.js",c0="https://wfzwn9fhbmfd.stupideyes.com",_E="va_20260622_vjx5D1WN",u0="sk_ldqdikFBlutc-7xZGQ0aSjZlDuM-NSr9sQ_IiqE_A3-XAnh0",Cc=class e{constructor(t){this.platformId=t}client=null;sdkLoadPromise=null;sessionId=0;connectedNotified=!1;call=null;createClient(){xd(this.platformId)&&this.loadVoiceSDK().catch(t=>console.error("failed to load voice sdk",t))}onJoinNotify(t){this.getCallbacks().join=t}onOutNotify(t){this.getCallbacks().out=t}async enterRoom(t,n,r,o){if(xd(this.platformId))try{this.client&&await this.exitRoom(!0);let i=await this.loadVoiceSDK(),s=Date.now(),a=String(o),c=String(n),u=await i.VoiceClient.generateSign(_E,c,a,s,u0),l=++this.sessionId;this.connectedNotified=!1,this.client=await i.VoiceClient.join({appId:_E,userId:c,roomId:a,sign:u,timestamp:s,server:c0,audioElement:this.getRemoteAudioElement(),onStateChange:d=>{this.isCurrentSession(l)&&(d==="connected"&&this.notifyJoined({state:d}),d==="ended"&&(this.client=null,this.connectedNotified=!1,this.getCallbacks().out({state:d})))},onPeerJoined:(d,h)=>{this.isCurrentSession(l)&&this.notifyJoined({userId:d,username:h})},onPeerLeft:(d,h)=>{this.isCurrentSession(l)&&this.getCallbacks().out({userId:d,username:h})},onError:d=>{this.isCurrentSession(l)&&(console.error("voice sdk error",d),this.client=null,this.connectedNotified=!1,this.getCallbacks().out({message:d}))}})}catch(i){console.error("failed to enter room",i),this.client=null,this.connectedNotified=!1,this.getCallbacks().out({error:i})}}startLocalAudio(){this.client?.unmute()}stopLocalAudio(){this.client?.mute()}startMuteRemoteAudio(t){this.client?.unmuteSpeaker()}stopMuteRemoteAudio(t){this.client?.muteSpeaker()}async exitRoom(t=!1){if(!this.client)return;this.sessionId++;let n=this.client;this.client=null,this.connectedNotified=!1;try{n.hangup()}catch(r){t||console.error("failed to exit room",r)}}isCurrentSession(t){return t===this.sessionId}notifyJoined(t){this.connectedNotified||(this.connectedNotified=!0,this.getCallbacks().join(t))}getCallbacks(){return this.call||(this.call={join:()=>{},out:()=>{}}),this.call}async loadVoiceSDK(){let t=window;return t.VoiceCallSDK?.VoiceClient?t.VoiceCallSDK:this.sdkLoadPromise?this.sdkLoadPromise:(this.sdkLoadPromise=new Promise((n,r)=>{let o=document.querySelector(`script[src="${CE}"]`),i=o||document.createElement("script"),s,a=()=>{clearTimeout(s),i.removeEventListener("load",c),i.removeEventListener("error",u)},c=()=>{a(),t.VoiceCallSDK?.VoiceClient?n(t.VoiceCallSDK):(this.sdkLoadPromise=null,r(new Error("VoiceCallSDK.VoiceClient not found")))},u=()=>{a(),this.sdkLoadPromise=null,r(new Error("voice sdk script load failed"))};i.addEventListener("load",c),i.addEventListener("error",u),s=setTimeout(()=>{if(t.VoiceCallSDK?.VoiceClient){c();return}u()},1e4),o||(i.src=CE,i.async=!0,document.head.appendChild(i))}),this.sdkLoadPromise)}getRemoteAudioElement(){let t=document.getElementById("remoteAudio");return t||(t=document.createElement("audio"),t.id="remoteAudio",t.style.display="none",document.body.appendChild(t)),t.autoplay=!0,t.setAttribute("playsinline","true"),t}static \u0275fac=function(n){return new(n||e)(T(Sn))};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})};function d0(e,t){if(e&1&&(ee(0,"img",6),qe(1,"async")),e&2){let n=Ge();On("src",Fo(We(1,2,n.friendInfo).avatar),To)}}function f0(e,t){if(e&1&&(ee(0,"img",6),qe(1,"async")),e&2){let n=Ge();On("src",Fo(We(1,2,n.friendInfo).sex==1?"assets/image/boy-left-right.png":"assets/image/girl-left-right.png"),To)}}function h0(e,t){if(e&1&&(le(0,"span"),_r(1),re()),e&2){let n=t.$implicit;nt(),ga(n)}}function p0(e,t){if(e&1&&(le(0,"div",11),fa(1,h0,2,1,"span",16),qe(2,"async"),re()),e&2){let n=Ge();nt(),On("ngForOf",We(2,1,n.timing_format))}}function g0(e,t){if(e&1&&(le(0,"div",11),_r(1),qe(2,"async"),re()),e&2){let n=Ge();nt(),Po("\u7B49\u5F85\u63A5\u901A\u4E2D.... ",We(2,1,n.isConnect))}}function m0(e,t){if(e&1){let n=en();le(0,"div",17),Rt("click",function(){wt(n);let o=Ge();return bt(o.startLocalAudio())}),ee(1,"img",18),re()}}function v0(e,t){if(e&1){let n=en();le(0,"div",17),Rt("click",function(){wt(n);let o=Ge();return bt(o.stopLocalAudio())}),ee(1,"img",19),re()}}function y0(e,t){if(e&1){let n=en();le(0,"div",20),Rt("click",function(){wt(n);let o=Ge();return bt(o.toHome())}),_r(1,"\u8FD4\u56DE\u9996\u9875"),re()}}function E0(e,t){if(e&1){let n=en();le(0,"div",20),Rt("click",function(){wt(n);let o=Ge();return bt(o.quit())}),_r(1,"\u7ED3\u675F\u901A\u8BDD"),re()}}function D0(e,t){if(e&1){let n=en();le(0,"div",17),Rt("click",function(){wt(n);let o=Ge();return bt(o.startMuteRemoteAudio())}),ee(1,"img",21),re()}}function C0(e,t){if(e&1){let n=en();le(0,"div",17),Rt("click",function(){wt(n);let o=Ge();return bt(o.stopMuteRemoteAudio())}),ee(1,"img",22),re()}}var _c=class e{constructor(t,n,r){this.trtc=t;this.client=n;this.routed=r;this.timing_format.next([0,3,":",0,0])}timing_format=new Ye;timing_num=180;userInfo=new Ye;friendInfo=new Ye;isConnect=new Ye;muteMicrophone=new Ye;muteEarphone=new Ye;isEnd=new Ye;ids=new Ec({userId:new If,friendId:new If});timer=-1;ngOnDestroy(){this.trtc.exitRoom()}call_timeout_format=t=>{let n=parseInt(String(t/60)),r=t-n*60,o=r<10?"0"+r:r,i="";return t>60?i=(n<10?"0"+n:n)+":"+o:i="00:"+o,i.split("")};ngOnInit(){let t=this;t.trtc.createClient(),t.routed.queryParams.subscribe(n=>{n&&t.ids.patchValue(n)}),t.muteMicrophone.next(!1),t.muteEarphone.next(!1),t.isEnd.next(!1),t.friendInfo.next({id:1,nickname:"",sex:1,is_vip:1,avatar:"https://cdn.stupideyes.com/avatar/girl/761f7087-a5e19-17a1-090f78970-7743f5.png"}),t.userInfo.next({id:1,nickname:"",sex:2,is_vip:0,avatar:"https://cdn.stupideyes.com/avatar/girl/761f7087-a5e19-17a1-090f78970-7743f5.png"}),this.trtc.onJoinNotify(n=>{t.isConnect.next(!0),t.timer=setTimeout(()=>t.timerFormat(),1e3),setTimeout(()=>t.timerEnd(),180*1e3)}),this.trtc.onOutNotify(n=>{clearTimeout(t.timer),t.isEnd.next(!0),t.quit()}),this.ids.valueChanges.subscribe(n=>{n&&t.client.get("https://openapi.stupideyes.com/voice/test?userId="+n.userId+"&friendId="+n.friendId).subscribe(r=>{t.userInfo.next(r.params.my),t.friendInfo.next(r.params.you),t.trtc.enterRoom(r.params.appId,r.params.userId+"",r.params.userSig,r.params.roomId)})})}timerEnd(){this.quit()}timerFormat(){this.timing_num-=1,this.timing_format.next(this.call_timeout_format(this.timing_num));let t=!1;this.isEnd.forEach(n=>{t=n}),!t&&(this.timing_num<=0?this.trtc.exitRoom():this.timer=setTimeout(()=>this.timerFormat(),1e3))}toHome(){this.navigateBack()}quit(){try{this.isEnd.next(!0),this.trtc.exitRoom()}catch(t){console.log(t)}this.navigateBack()}navigateBack(){let t=navigator.userAgent;/QQ/i.test(t)&&/miniProgram/i.test(t)&&(qq.miniProgram.navigateBack(),qq.navigateBack(),alert("userAgent QQ \u5C0F\u7A0B\u5E8F")),/miniProgram/i.test(t)&&/micromessenger/i.test(t)&&wx.miniProgram.navigateBack()}startLocalAudio(){this.muteMicrophone.next(!1),this.trtc.startLocalAudio()}stopLocalAudio(){this.muteMicrophone.next(!0),this.trtc.stopLocalAudio()}startMuteRemoteAudio(){this.muteEarphone.next(!1);let t;this.friendInfo.next(n=>{t=n}),this.trtc.startMuteRemoteAudio(t.id)}stopMuteRemoteAudio(){this.muteEarphone.next(!0);let t;this.friendInfo.next(n=>{t=n}),this.trtc.stopMuteRemoteAudio(t.id)}static \u0275fac=function(n){return new(n||e)(be(Cc),be(Va),be(gt))};static \u0275cmp=Ao({type:e,selectors:[["app-root"]],features:[ad([])],decls:32,vars:19,consts:[[1,"page"],["src","assets/image/speed_image_bg@2x.png",2,"width","750px","height","1624px"],[1,"body",2,"overflow-y","auto","z-index","2"],[1,"ds-content"],[1,"item-1"],["src","assets/image/yuyin_image@2x.png",2,"width","634px","height","310px"],[1,"avatar",3,"src"],[1,"right-avatar",3,"src"],["src","assets/image/goutong_status_icon@2x.png",1,"shuohua",2,"width","86px","height","54px"],["src","assets/image/yuyin_nor_icon@2x.png",1,"yuyin_nor_icon",2,"width","114px","height","80px"],["src","assets/image/fenwei_cg_image@2x.png"],[1,"jishi"],[1,"btn-cont"],[1,"closeBtn"],[1,"ad-class"],[1,"footer",2,"height","calc(0px + env(safe-area-inset-bottom))","flex","0 0 calc(0px + env(safe-area-inset-bottom))"],[4,"ngFor","ngForOf"],[3,"click"],["src","assets/image/mic_disable.png",2,"width","40px","height","40px"],["src","assets/image/mic_enable.png",2,"width","40px","height","40px"],[1,"closeBtn",3,"click"],["src","assets/image/ear_disable.png",2,"width","40px","height","40px"],["src","assets/image/ear_enable.png",2,"width","40px","height","40px"]],template:function(n,r){n&1&&(le(0,"div",0),ee(1,"img",1),le(2,"div",2)(3,"div",3)(4,"div",4)(5,"div"),ee(6,"img",5),Rn(7,d0,2,4,"img",6),qe(8,"async"),Nt(9,f0,2,4,"img",6),ee(10,"img",7),qe(11,"async"),ee(12,"img",8)(13,"img",9),re(),ee(14,"img",10),re(),le(15,"div"),Rn(16,p0,3,3,"div",11),qe(17,"async"),Nt(18,g0,3,3,"div",11),le(19,"div",12),Rn(20,m0,2,0,"div"),qe(21,"async"),Nt(22,v0,2,0,"div"),Rn(23,y0,2,0,"div",13),qe(24,"async"),Nt(25,E0,2,0,"div",13),Rn(26,D0,2,0,"div"),qe(27,"async"),Nt(28,C0,2,0,"div"),re(),ee(29,"div",14),re()()(),ee(30,"div",15),re(),ee(31,"router-outlet")),n&2&&(nt(7),xn(We(8,7,r.userInfo).is_vip==1?7:9),nt(3),On("src",Fo(We(11,9,r.userInfo).avatar),To),nt(6),xn(We(17,11,r.isConnect)?16:18),nt(4),xn(We(21,13,r.muteMicrophone)?20:22),nt(3),xn(We(24,15,r.isEnd)?23:25),nt(3),xn(We(27,17,r.muteEarphone)?26:28))},dependencies:[ci,Aa,Nd],styles:['@charset "UTF-8";.page[_ngcontent-%COMP%]{width:100vw;height:100vh;display:flex;flex-direction:column;background:linear-gradient(180deg,#fff,#f6f6f6 57%,#f9f9f9);position:relative;flex-grow:1;flex:1}.page[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{position:fixed;left:0;top:0}.page[_ngcontent-%COMP%] .left-color-card[_ngcontent-%COMP%]{width:510px;height:462px;background:linear-gradient(133deg,#e2f3f4,#f6f1ff);filter:blur(50px);position:absolute;left:0;top:0}.page[_ngcontent-%COMP%] .right-color-card[_ngcontent-%COMP%]{width:330px;height:330px;background:linear-gradient(152deg,#f1f3f6,#f2e2e0);filter:blur(50px);position:absolute;right:0;top:0}.page[_ngcontent-%COMP%] .body[_ngcontent-%COMP%]{width:100%;box-sizing:border-box;flex-grow:1;flex:1}.page[_ngcontent-%COMP%] .custom-nav[_ngcontent-%COMP%]{width:100%;top:0;left:0;right:0;flex-grow:0;flex:0 0 94px}.page[_ngcontent-%COMP%] .custom-nav[_ngcontent-%COMP%] .nav-content[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;position:relative}.page[_ngcontent-%COMP%] .custom-nav[_ngcontent-%COMP%] .nav-content[_ngcontent-%COMP%] .left-btn[_ngcontent-%COMP%]{position:absolute;left:30px;display:flex;flex-direction:column;justify-content:flex-end;top:12px}.page[_ngcontent-%COMP%] .custom-nav[_ngcontent-%COMP%] .nav-content[_ngcontent-%COMP%] .left-btn[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:64px;height:64px;margin-bottom:10px}.page[_ngcontent-%COMP%] .custom-nav[_ngcontent-%COMP%] .nav-content[_ngcontent-%COMP%] .left-btn[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{font-size:56px;position:relative}.page[_ngcontent-%COMP%] .custom-nav[_ngcontent-%COMP%] .nav-content[_ngcontent-%COMP%] .left-btn[_ngcontent-%COMP%] div[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{right:-17px;top:-4px;position:absolute;width:76px;z-index:1;height:76px}.page[_ngcontent-%COMP%] .custom-nav[_ngcontent-%COMP%] .nav-content[_ngcontent-%COMP%] .left-btn[_ngcontent-%COMP%] div[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{z-index:2;font-weight:600;position:relative}.page[_ngcontent-%COMP%] .custom-nav[_ngcontent-%COMP%] .nav-content[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:72px;height:72px}.page[_ngcontent-%COMP%] .custom-nav[_ngcontent-%COMP%] .nav-content[_ngcontent-%COMP%] .nav-title[_ngcontent-%COMP%]{font-size:32px;font-weight:500;color:#333}.page[_ngcontent-%COMP%] .custom-nav[_ngcontent-%COMP%] .nav-content[_ngcontent-%COMP%] .nav-right[_ngcontent-%COMP%]{position:absolute;right:30px}.page[_ngcontent-%COMP%] .custom-nav[_ngcontent-%COMP%] .nav-content[_ngcontent-%COMP%] .nav-right[_ngcontent-%COMP%] .more[_ngcontent-%COMP%]{font-size:36px;color:#333}.ad-class[_ngcontent-%COMP%]{padding:40px;box-sizing:border-box;margin-top:50px;width:100%}.ds-content[_ngcontent-%COMP%]{display:flex;height:100%;flex-direction:column;justify-content:space-around}.item-1[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:center;align-items:center;height:569px;box-sizing:border-box;width:100%;position:relative;margin-top:50px}.item-1[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{width:670px;height:572px;position:absolute;left:15px;right:0;z-index:1}.item-1[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{margin-top:57px;border-radius:300px;position:relative;display:flex;flex-direction:row;justify-content:center}.item-1[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{position:relative;z-index:3}.item-1[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] .avatar[_ngcontent-%COMP%]{position:absolute;border-radius:100%;z-index:2;top:27px;left:41px;width:230px;height:230px}.item-1[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] .shuohua[_ngcontent-%COMP%]{z-index:4;top:28px;margin-right:140px;position:absolute;box-shadow:0 12rpx 24rpx #9362f01a}.item-1[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] .right-avatar[_ngcontent-%COMP%]{position:absolute;border-radius:100%;z-index:2;right:40px;top:27px;width:230px;height:230px}.item-1[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] .yuyin_nor_icon[_ngcontent-%COMP%]{position:absolute;z-index:4;top:114px}.btn-cont[_ngcontent-%COMP%]{display:flex;flex-direction:row;margin-top:30px;align-self:auto;justify-content:center;align-items:center}.btn-cont[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{margin-right:60px;display:flex;align-items:center;justify-content:center}.btn-cont[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{margin-right:0}.btn-cont[_ngcontent-%COMP%] .closeBtn[_ngcontent-%COMP%]{background-color:#f06262;width:272px;height:92px;text-align:center;line-height:93px;border-radius:150px;color:#fff;font-size:28px}.jishi[_ngcontent-%COMP%]{width:100%;margin-top:70px;text-align:center;font-size:28px}.jishi[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{background:#eadfff;color:#9362f0;margin-right:20px;border-radius:20px;display:inline-block;height:120px;width:80px;text-align:center;line-height:121px;font-size:80px;font-weight:600}.jishi[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(3){background:#0000}.jishi[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:last-child{margin-right:0}']})};Ud(_c,uE).catch(e=>console.error(e)); diff --git a/dist/trtc-h5/browser/styles-LBMCMTE5.css b/dist/trtc-h5/browser/styles-LBMCMTE5.css new file mode 100644 index 0000000..42cb6d5 --- /dev/null +++ b/dist/trtc-h5/browser/styles-LBMCMTE5.css @@ -0,0 +1 @@ +*{margin:0;padding:0}html{width:100vw;height:100vh;overflow:hidden}html body{width:100%;height:100%;cursor:none} diff --git a/dist/trtc-h5/prerendered-routes.json b/dist/trtc-h5/prerendered-routes.json new file mode 100644 index 0000000..3226541 --- /dev/null +++ b/dist/trtc-h5/prerendered-routes.json @@ -0,0 +1,3 @@ +{ + "routes": {} +} \ No newline at end of file