From ecd596293ad56067800f84257122c2d87c65298f Mon Sep 17 00:00:00 2001 From: fabbemannen Date: Wed, 31 Jan 2024 14:22:50 +0100 Subject: [PATCH] v1.0.0 --- docs/3rdpartylicenses.txt | 271 +++++++++++++++++++++++++++++ docs/browser/favicon.ico | Bin 0 -> 15086 bytes docs/browser/index.html | 14 ++ docs/browser/main-YH3FI5RI.js | 7 + docs/browser/polyfills-RX4V3J3S.js | 2 + docs/browser/styles-ENM2FSHZ.css | 1 + 6 files changed, 295 insertions(+) create mode 100644 docs/3rdpartylicenses.txt create mode 100644 docs/browser/favicon.ico create mode 100644 docs/browser/index.html create mode 100644 docs/browser/main-YH3FI5RI.js create mode 100644 docs/browser/polyfills-RX4V3J3S.js create mode 100644 docs/browser/styles-ENM2FSHZ.css diff --git a/docs/3rdpartylicenses.txt b/docs/3rdpartylicenses.txt new file mode 100644 index 0000000..d07f4a2 --- /dev/null +++ b/docs/3rdpartylicenses.txt @@ -0,0 +1,271 @@ + +-------------------------------------------------------------------------------- +Package: @angular/core +License: "MIT" + + +-------------------------------------------------------------------------------- +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" + + +-------------------------------------------------------------------------------- +Package: @angular/platform-browser +License: "MIT" + + +-------------------------------------------------------------------------------- +Package: @angular/router +License: "MIT" + + +-------------------------------------------------------------------------------- +Package: zone.js +License: "MIT" + +The MIT License + +Copyright (c) 2010-2023 Google LLC. https://angular.io/license + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +-------------------------------------------------------------------------------- diff --git a/docs/browser/favicon.ico b/docs/browser/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..57614f9c967596fad0a3989bec2b1deff33034f6 GIT binary patch literal 15086 zcmd^G33O9Omi+`8$@{|M-I6TH3wzF-p5CV8o}7f~KxR60LK+ApEFB<$bcciv%@SmA zV{n>g85YMFFeU*Uvl=i4v)C*qgnb;$GQ=3XTe9{Y%c`mO%su)noNCCQ*@t1WXn|B(hQ7i~ zrUK8|pUkD6#lNo!bt$6)jR!&C?`P5G(`e((P($RaLeq+o0Vd~f11;qB05kdbAOm?r zXv~GYr_sibQO9NGTCdT;+G(!{4Xs@4fPak8#L8PjgJwcs-Mm#nR_Z0s&u?nDX5^~@ z+A6?}g0|=4e_LoE69pPFO`yCD@BCjgKpzMH0O4Xs{Ahc?K3HC5;l=f zg>}alhBXX&);z$E-wai+9TTRtBX-bWYY@cl$@YN#gMd~tM_5lj6W%8ah4;uZ;jP@Q zVbuel1rPA?2@x9Y+u?e`l{Z4ngfG5q5BLH5QsEu4GVpt{KIp1?U)=3+KQ;%7ec8l* zdV=zZgN5>O3G(3L2fqj3;oBbZZw$Ij@`Juz@?+yy#OPw)>#wsTewVgTK9BGt5AbZ&?K&B3GVF&yu?@(Xj3fR3n+ZP0%+wo)D9_xp>Z$`A4 zfV>}NWjO#3lqumR0`gvnffd9Ka}JJMuHS&|55-*mCD#8e^anA<+sFZVaJe7{=p*oX zE_Uv?1>e~ga=seYzh{9P+n5<+7&9}&(kwqSaz;1aD|YM3HBiy<))4~QJSIryyqp| z8nGc(8>3(_nEI4n)n7j(&d4idW1tVLjZ7QbNLXg;LB ziHsS5pXHEjGJZb59KcvS~wv;uZR-+4qEqow`;JCfB*+b^UL^3!?;-^F%yt=VjU|v z39SSqKcRu_NVvz!zJzL0CceJaS6%!(eMshPv_0U5G`~!a#I$qI5Ic(>IONej@aH=f z)($TAT#1I{iCS4f{D2+ApS=$3E7}5=+y(rA9mM#;Cky%b*Gi0KfFA`ofKTzu`AV-9 znW|y@19rrZ*!N2AvDi<_ZeR3O2R{#dh1#3-d%$k${Rx42h+i&GZo5!C^dSL34*AKp z27mTd>k>?V&X;Nl%GZ(>0s`1UN~Hfyj>KPjtnc|)xM@{H_B9rNr~LuH`Gr5_am&Ep zTjZA8hljNj5H1Ipm-uD9rC}U{-vR!eay5&6x6FkfupdpT*84MVwGpdd(}ib)zZ3Ky z7C$pnjc82(W_y_F{PhYj?o!@3__UUvpX)v69aBSzYj3 zdi}YQkKs^SyXyFG2LTRz9{(w}y~!`{EuAaUr6G1M{*%c+kP1olW9z23dSH!G4_HSK zzae-DF$OGR{ofP*!$a(r^5Go>I3SObVI6FLY)N@o<*gl0&kLo-OT{Tl*7nCz>Iq=? zcigIDHtj|H;6sR?or8Wd_a4996GI*CXGU}o;D9`^FM!AT1pBY~?|4h^61BY#_yIfO zKO?E0 zJ{Pc`9rVEI&$xxXu`<5E)&+m(7zX^v0rqofLs&bnQT(1baQkAr^kEsk)15vlzAZ-l z@OO9RF<+IiJ*O@HE256gCt!bF=NM*vh|WVWmjVawcNoksRTMvR03H{p@cjwKh(CL4 z7_PB(dM=kO)!s4fW!1p0f93YN@?ZSG` z$B!JaAJCtW$B97}HNO9(x-t30&E}Mo1UPi@Av%uHj~?T|!4JLwV;KCx8xO#b9IlUW zI6+{a@Wj|<2Y=U;a@vXbxqZNngH8^}LleE_4*0&O7#3iGxfJ%Id>+sb;7{L=aIic8 z|EW|{{S)J-wr@;3PmlxRXU8!e2gm_%s|ReH!reFcY8%$Hl4M5>;6^UDUUae?kOy#h zk~6Ee_@ZAn48Bab__^bNmQ~+k=02jz)e0d9Z3>G?RGG!65?d1>9}7iG17?P*=GUV-#SbLRw)Hu{zx*azHxWkGNTWl@HeWjA?39Ia|sCi{e;!^`1Oec zb>Z|b65OM*;eC=ZLSy?_fg$&^2xI>qSLA2G*$nA3GEnp3$N-)46`|36m*sc#4%C|h zBN<2U;7k>&G_wL4=Ve5z`ubVD&*Hxi)r@{4RCDw7U_D`lbC(9&pG5C*z#W>8>HU)h z!h3g?2UL&sS!oY5$3?VlA0Me9W5e~V;2jds*fz^updz#AJ%G8w2V}AEE?E^=MK%Xt z__Bx1cr7+DQmuHmzn*|hh%~eEc9@m05@clWfpEFcr+06%0&dZJH&@8^&@*$qR@}o3 z@Tuuh2FsLz^zH+dN&T&?0G3I?MpmYJ;GP$J!EzjeM#YLJ!W$}MVNb0^HfOA>5Fe~UNn%Zk(PT@~9}1dt)1UQ zU*B5K?Dl#G74qmg|2>^>0WtLX#Jz{lO4NT`NYB*(L#D|5IpXr9v&7a@YsGp3vLR7L zHYGHZg7{ie6n~2p$6Yz>=^cEg7tEgk-1YRl%-s7^cbqFb(U7&Dp78+&ut5!Tn(hER z|Gp4Ed@CnOPeAe|N>U(dB;SZ?NU^AzoD^UAH_vamp6Ws}{|mSq`^+VP1g~2B{%N-!mWz<`)G)>V-<`9`L4?3dM%Qh6<@kba+m`JS{Ya@9Fq*m6$$ zA1%Ogc~VRH33|S9l%CNb4zM%k^EIpqY}@h{w(aBcJ9c05oiZx#SK9t->5lSI`=&l~ z+-Ic)a{FbBhXV$Xt!WRd`R#Jk-$+_Z52rS>?Vpt2IK<84|E-SBEoIw>cs=a{BlQ7O z-?{Fy_M&84&9|KM5wt~)*!~i~E=(6m8(uCO)I=)M?)&sRbzH$9Rovzd?ZEY}GqX+~ zFbEbLz`BZ49=2Yh-|<`waK-_4!7`ro@zlC|r&I4fc4oyb+m=|c8)8%tZ-z5FwhzDt zL5kB@u53`d@%nHl0Sp)Dw`(QU&>vujEn?GPEXUW!Wi<+4e%BORl&BIH+SwRcbS}X@ z01Pk|vA%OdJKAs17zSXtO55k!;%m9>1eW9LnyAX4uj7@${O6cfii`49qTNItzny5J zH&Gj`e}o}?xjQ}r?LrI%FjUd@xflT3|7LA|ka%Q3i}a8gVm<`HIWoJGH=$EGClX^C0lysQJ>UO(q&;`T#8txuoQ_{l^kEV9CAdXuU1Ghg8 zN_6hHFuy&1x24q5-(Z7;!poYdt*`UTdrQOIQ!2O7_+AHV2hgXaEz7)>$LEdG z<8vE^Tw$|YwZHZDPM!SNOAWG$?J)MdmEk{U!!$M#fp7*Wo}jJ$Q(=8>R`Ats?e|VU?Zt7Cdh%AdnfyN3MBWw{ z$OnREvPf7%z6`#2##_7id|H%Y{vV^vWXb?5d5?a_y&t3@p9t$ncHj-NBdo&X{wrfJ zamN)VMYROYh_SvjJ=Xd!Ga?PY_$;*L=SxFte!4O6%0HEh%iZ4=gvns7IWIyJHa|hT z2;1+e)`TvbNb3-0z&DD_)Jomsg-7p_Uh`wjGnU1urmv1_oVqRg#=C?e?!7DgtqojU zWoAB($&53;TsXu^@2;8M`#z{=rPy?JqgYM0CDf4v@z=ZD|ItJ&8%_7A#K?S{wjxgd z?xA6JdJojrWpB7fr2p_MSsU4(R7=XGS0+Eg#xR=j>`H@R9{XjwBmqAiOxOL` zt?XK-iTEOWV}f>Pz3H-s*>W z4~8C&Xq25UQ^xH6H9kY_RM1$ch+%YLF72AA7^b{~VNTG}Tj#qZltz5Q=qxR`&oIlW Nr__JTFzvMr^FKp4S3v*( literal 0 HcmV?d00001 diff --git a/docs/browser/index.html b/docs/browser/index.html new file mode 100644 index 0000000..1019aaa --- /dev/null +++ b/docs/browser/index.html @@ -0,0 +1,14 @@ + + + + + DragSizing + + + + + + + + diff --git a/docs/browser/main-YH3FI5RI.js b/docs/browser/main-YH3FI5RI.js new file mode 100644 index 0000000..b32ac3f --- /dev/null +++ b/docs/browser/main-YH3FI5RI.js @@ -0,0 +1,7 @@ +var Ld=Object.defineProperty,jd=Object.defineProperties;var Vd=Object.getOwnPropertyDescriptors;var ma=Object.getOwnPropertySymbols;var $d=Object.prototype.hasOwnProperty,Bd=Object.prototype.propertyIsEnumerable;var va=(e,t,r)=>t in e?Ld(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,g=(e,t)=>{for(var r in t||={})$d.call(t,r)&&va(e,r,t[r]);if(ma)for(var r of ma(t))Bd.call(t,r)&&va(e,r,t[r]);return e},k=(e,t)=>jd(e,Vd(t));var zn=(e,t,r)=>new Promise((n,o)=>{var i=u=>{try{a(r.next(u))}catch(c){o(c)}},s=u=>{try{a(r.throw(u))}catch(c){o(c)}},a=u=>u.done?n(u.value):Promise.resolve(u.value).then(i,s);a((r=r.apply(e,t)).next())});var ya=null;var Eo=1,Da=Symbol("SIGNAL");function K(e){let t=ya;return ya=e,t}var wa={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Ud(e){if(!(Mo(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Eo)){if(!e.producerMustRecompute(e)&&!Io(e)){e.dirty=!1,e.lastCleanEpoch=Eo;return}e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=Eo}}function Ca(e){return e&&(e.nextProducerIndex=0),K(e)}function Ea(e,t){if(K(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(Mo(e))for(let r=e.nextProducerIndex;re.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Io(e){Gn(e);for(let t=0;t0}function Gn(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Hd(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function zd(){throw new Error}var Gd=zd;function ba(e){Gd=e}function v(e){return typeof e=="function"}function dt(e){let r=e(n=>{Error.call(n),n.stack=new Error().stack});return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var Wn=dt(e=>function(r){e(this),this.message=r?`${r.length} errors occurred during unsubscription: +${r.map((n,o)=>`${o+1}) ${n.toString()}`).join(` + `)}`:"",this.name="UnsubscriptionError",this.errors=r});function Yt(e,t){if(e){let r=e.indexOf(t);0<=r&&e.splice(r,1)}}var j=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:r}=this;if(r)if(this._parentage=null,Array.isArray(r))for(let i of r)i.remove(this);else r.remove(this);let{initialTeardown:n}=this;if(v(n))try{n()}catch(i){t=i instanceof Wn?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Ma(i)}catch(s){t=t??[],s instanceof Wn?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Wn(t)}}add(t){var r;if(t&&t!==this)if(this.closed)Ma(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}}_hasParent(t){let{_parentage:r}=this;return r===t||Array.isArray(r)&&r.includes(t)}_addParent(t){let{_parentage:r}=this;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t}_removeParent(t){let{_parentage:r}=this;r===t?this._parentage=null:Array.isArray(r)&&Yt(r,t)}remove(t){let{_finalizers:r}=this;r&&Yt(r,t),t instanceof e&&t._removeParent(this)}};j.EMPTY=(()=>{let e=new j;return e.closed=!0,e})();var So=j.EMPTY;function qn(e){return e instanceof j||e&&"closed"in e&&v(e.remove)&&v(e.add)&&v(e.unsubscribe)}function Ma(e){v(e)?e():e.unsubscribe()}var de={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var ft={setTimeout(e,t,...r){let{delegate:n}=ft;return n?.setTimeout?n.setTimeout(e,t,...r):setTimeout(e,t,...r)},clearTimeout(e){let{delegate:t}=ft;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Zn(e){ft.setTimeout(()=>{let{onUnhandledError:t}=de;if(t)t(e);else throw e})}function Qt(){}var Sa=To("C",void 0,void 0);function Ta(e){return To("E",void 0,e)}function xa(e){return To("N",e,void 0)}function To(e,t,r){return{kind:e,value:t,error:r}}var Ye=null;function ht(e){if(de.useDeprecatedSynchronousErrorHandling){let t=!Ye;if(t&&(Ye={errorThrown:!1,error:null}),e(),t){let{errorThrown:r,error:n}=Ye;if(Ye=null,r)throw n}}else e()}function _a(e){de.useDeprecatedSynchronousErrorHandling&&Ye&&(Ye.errorThrown=!0,Ye.error=e)}var Qe=class extends j{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,qn(t)&&t.add(this)):this.destination=Zd}static create(t,r,n){return new pt(t,r,n)}next(t){this.isStopped?_o(xa(t),this):this._next(t)}error(t){this.isStopped?_o(Ta(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?_o(Sa,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()}}},Wd=Function.prototype.bind;function xo(e,t){return Wd.call(e,t)}var Ao=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:r}=this;if(r.next)try{r.next(t)}catch(n){Yn(n)}}error(t){let{partialObserver:r}=this;if(r.error)try{r.error(t)}catch(n){Yn(n)}else Yn(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(r){Yn(r)}}},pt=class extends Qe{constructor(t,r,n){super();let o;if(v(t)||!t)o={next:t??void 0,error:r??void 0,complete:n??void 0};else{let i;this&&de.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&xo(t.next,i),error:t.error&&xo(t.error,i),complete:t.complete&&xo(t.complete,i)}):o=t}this.destination=new Ao(o)}};function Yn(e){de.useDeprecatedSynchronousErrorHandling?_a(e):Zn(e)}function qd(e){throw e}function _o(e,t){let{onStoppedNotification:r}=de;r&&ft.setTimeout(()=>r(e,t))}var Zd={closed:!0,next:Qt,error:qd,complete:Qt};var gt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function J(e){return e}function No(...e){return Ro(e)}function Ro(e){return e.length===0?J:e.length===1?e[0]:function(r){return e.reduce((n,o)=>o(n),r)}}var O=(()=>{class e{constructor(r){r&&(this._subscribe=r)}lift(r){let n=new e;return n.source=this,n.operator=r,n}subscribe(r,n,o){let i=Qd(r)?r:new pt(r,n,o);return ht(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(r){try{return this._subscribe(r)}catch(n){r.error(n)}}forEach(r,n){return n=Aa(n),new n((o,i)=>{let s=new pt({next:a=>{try{r(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(r){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(r)}[gt](){return this}pipe(...r){return Ro(r)(this)}toPromise(r){return r=Aa(r),new r((n,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>n(i))})}}return e.create=t=>new e(t),e})();function Aa(e){var t;return(t=e??de.Promise)!==null&&t!==void 0?t:Promise}function Yd(e){return e&&v(e.next)&&v(e.error)&&v(e.complete)}function Qd(e){return e&&e instanceof Qe||Yd(e)&&qn(e)}function Oo(e){return v(e?.lift)}function M(e){return t=>{if(Oo(t))return t.lift(function(r){try{return e(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function S(e,t,r,n,o){return new Po(e,t,r,n,o)}var Po=class extends Qe{constructor(t,r,n,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=r?function(a){try{r(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){t.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:r}=this;super.unsubscribe(),!r&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function mt(){return M((e,t)=>{let r=null;e._refCount++;let n=S(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){r=null;return}let o=e._connection,i=r;r=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(n),n.closed||(r=e.connect())})}var vt=class extends O{constructor(t,r){super(),this.source=t,this.subjectFactory=r,this._subject=null,this._refCount=0,this._connection=null,Oo(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 j;let r=this.getSubject();t.add(this.source.subscribe(S(r,void 0,()=>{this._teardown(),r.complete()},n=>{this._teardown(),r.error(n)},()=>this._teardown()))),t.closed&&(this._connection=null,t=j.EMPTY)}return t}refCount(){return mt()(this)}};var Na=dt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var X=(()=>{class e extends O{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(r){let n=new Qn(this,this);return n.operator=r,n}_throwIfClosed(){if(this.closed)throw new Na}next(r){ht(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(r)}})}error(r){ht(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=r;let{observers:n}=this;for(;n.length;)n.shift().error(r)}})}complete(){ht(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:r}=this;for(;r.length;)r.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0}_trySubscribe(r){return this._throwIfClosed(),super._trySubscribe(r)}_subscribe(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)}_innerSubscribe(r){let{hasError:n,isStopped:o,observers:i}=this;return n||o?So:(this.currentObservers=null,i.push(r),new j(()=>{this.currentObservers=null,Yt(i,r)}))}_checkFinalizedStatuses(r){let{hasError:n,thrownError:o,isStopped:i}=this;n?r.error(o):i&&r.complete()}asObservable(){let r=new O;return r.source=this,r}}return e.create=(t,r)=>new Qn(t,r),e})(),Qn=class extends X{constructor(t,r){super(),this.destination=t,this.source=r}next(t){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.next)===null||n===void 0||n.call(r,t)}error(t){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.error)===null||n===void 0||n.call(r,t)}complete(){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||r===void 0||r.call(t)}_subscribe(t){var r,n;return(n=(r=this.source)===null||r===void 0?void 0:r.subscribe(t))!==null&&n!==void 0?n:So}};var z=class extends X{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let r=super._subscribe(t);return!r.closed&&t.next(this._value),r}getValue(){let{hasError:t,thrownError:r,_value:n}=this;if(t)throw r;return this._throwIfClosed(),n}next(t){super.next(this._value=t)}};var ne=new O(e=>e.complete());function Ra(e){return e&&v(e.schedule)}function Oa(e){return e[e.length-1]}function Pa(e){return v(Oa(e))?e.pop():void 0}function je(e){return Ra(Oa(e))?e.pop():void 0}function ka(e,t,r,n){function o(i){return i instanceof r?i:new r(function(s){s(i)})}return new(r||(r=Promise))(function(i,s){function a(l){try{c(n.next(l))}catch(d){s(d)}}function u(l){try{c(n.throw(l))}catch(d){s(d)}}function c(l){l.done?i(l.value):o(l.value).then(a,u)}c((n=n.apply(e,t||[])).next())})}function Fa(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ke(e){return this instanceof Ke?(this.v=e,this):new Ke(e)}function La(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(e,t||[]),o,i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){n[f]&&(o[f]=function(h){return new Promise(function(m,N){i.push([f,h,m,N])>1||a(f,h)})})}function a(f,h){try{u(n[f](h))}catch(m){d(i[0][3],m)}}function u(f){f.value instanceof Ke?Promise.resolve(f.value.v).then(c,l):d(i[0][2],f)}function c(f){a("next",f)}function l(f){a("throw",f)}function d(f,h){f(h),i.shift(),i.length&&a(i[0][0],i[0][1])}}function ja(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof Fa=="function"?Fa(e):e[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(i){r[i]=e[i]&&function(s){return new Promise(function(a,u){s=e[i](s),o(a,u,s.done,s.value)})}}function o(i,s,a,u){Promise.resolve(u).then(function(c){i({value:c,done:a})},s)}}var Kn=e=>e&&typeof e.length=="number"&&typeof e!="function";function Jn(e){return v(e?.then)}function Xn(e){return v(e[gt])}function er(e){return Symbol.asyncIterator&&v(e?.[Symbol.asyncIterator])}function tr(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 Kd(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var nr=Kd();function rr(e){return v(e?.[nr])}function or(e){return La(this,arguments,function*(){let r=e.getReader();try{for(;;){let{value:n,done:o}=yield Ke(r.read());if(o)return yield Ke(void 0);yield yield Ke(n)}}finally{r.releaseLock()}})}function ir(e){return v(e?.getReader)}function B(e){if(e instanceof O)return e;if(e!=null){if(Xn(e))return Jd(e);if(Kn(e))return Xd(e);if(Jn(e))return ef(e);if(er(e))return Va(e);if(rr(e))return tf(e);if(ir(e))return nf(e)}throw tr(e)}function Jd(e){return new O(t=>{let r=e[gt]();if(v(r.subscribe))return r.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Xd(e){return new O(t=>{for(let r=0;r{e.then(r=>{t.closed||(t.next(r),t.complete())},r=>t.error(r)).then(null,Zn)})}function tf(e){return new O(t=>{for(let r of e)if(t.next(r),t.closed)return;t.complete()})}function Va(e){return new O(t=>{rf(e,t).catch(r=>t.error(r))})}function nf(e){return Va(or(e))}function rf(e,t){var r,n,o,i;return ka(this,void 0,void 0,function*(){try{for(r=ja(e);n=yield r.next(),!n.done;){let s=n.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{n&&!n.done&&(i=r.return)&&(yield i.call(r))}finally{if(o)throw o.error}}t.complete()})}function q(e,t,r,n=0,o=!1){let i=t.schedule(function(){r(),o?e.add(this.schedule(null,n)):this.unsubscribe()},n);if(e.add(i),!o)return i}function sr(e,t=0){return M((r,n)=>{r.subscribe(S(n,o=>q(n,e,()=>n.next(o),t),()=>q(n,e,()=>n.complete(),t),o=>q(n,e,()=>n.error(o),t)))})}function ar(e,t=0){return M((r,n)=>{n.add(e.schedule(()=>r.subscribe(n),t))})}function $a(e,t){return B(e).pipe(ar(t),sr(t))}function Ba(e,t){return B(e).pipe(ar(t),sr(t))}function Ua(e,t){return new O(r=>{let n=0;return t.schedule(function(){n===e.length?r.complete():(r.next(e[n++]),r.closed||this.schedule())})})}function Ha(e,t){return new O(r=>{let n;return q(r,t,()=>{n=e[nr](),q(r,t,()=>{let o,i;try{({value:o,done:i}=n.next())}catch(s){r.error(s);return}i?r.complete():r.next(o)},0,!0)}),()=>v(n?.return)&&n.return()})}function ur(e,t){if(!e)throw new Error("Iterable cannot be null");return new O(r=>{q(r,t,()=>{let n=e[Symbol.asyncIterator]();q(r,t,()=>{n.next().then(o=>{o.done?r.complete():r.next(o.value)})},0,!0)})})}function za(e,t){return ur(or(e),t)}function Ga(e,t){if(e!=null){if(Xn(e))return $a(e,t);if(Kn(e))return Ua(e,t);if(Jn(e))return Ba(e,t);if(er(e))return ur(e,t);if(rr(e))return Ha(e,t);if(ir(e))return za(e,t)}throw tr(e)}function V(e,t){return t?Ga(e,t):B(e)}function D(...e){let t=je(e);return V(e,t)}function yt(e,t){let r=v(e)?e:()=>e,n=o=>o.error(r());return new O(t?o=>t.schedule(n,0,o):n)}function Fo(e){return!!e&&(e instanceof O||v(e.lift)&&v(e.subscribe))}var Ne=dt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function T(e,t){return M((r,n)=>{let o=0;r.subscribe(S(n,i=>{n.next(e.call(t,i,o++))}))})}var{isArray:of}=Array;function sf(e,t){return of(t)?e(...t):e(t)}function Wa(e){return T(t=>sf(e,t))}var{isArray:af}=Array,{getPrototypeOf:uf,prototype:cf,keys:lf}=Object;function qa(e){if(e.length===1){let t=e[0];if(af(t))return{args:t,keys:null};if(df(t)){let r=lf(t);return{args:r.map(n=>t[n]),keys:r}}}return{args:e,keys:null}}function df(e){return e&&typeof e=="object"&&uf(e)===cf}function Za(e,t){return e.reduce((r,n,o)=>(r[n]=t[o],r),{})}function cr(...e){let t=je(e),r=Pa(e),{args:n,keys:o}=qa(e);if(n.length===0)return V([],t);let i=new O(ff(n,t,o?s=>Za(o,s):J));return r?i.pipe(Wa(r)):i}function ff(e,t,r=J){return n=>{Ya(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let u=0;u{let c=V(e[u],t),l=!1;c.subscribe(S(n,d=>{i[u]=d,l||(l=!0,a--),a||n.next(r(i.slice()))},()=>{--s||n.complete()}))},n)},n)}}function Ya(e,t,r){e?q(r,e,t):t()}function Qa(e,t,r,n,o,i,s,a){let u=[],c=0,l=0,d=!1,f=()=>{d&&!u.length&&!c&&t.complete()},h=N=>c{i&&t.next(N),c++;let H=!1;B(r(N,l++)).subscribe(S(t,F=>{o?.(F),i?h(F):t.next(F)},()=>{H=!0},void 0,()=>{if(H)try{for(c--;u.length&&cm(F)):m(F)}f()}catch(F){t.error(F)}}))};return e.subscribe(S(t,h,()=>{d=!0,f()})),()=>{a?.()}}function $(e,t,r=1/0){return v(t)?$((n,o)=>T((i,s)=>t(n,i,o,s))(B(e(n,o))),r):(typeof t=="number"&&(r=t),M((n,o)=>Qa(n,o,e,r)))}function ko(e=1/0){return $(J,e)}function Ka(){return ko(1)}function Dt(...e){return Ka()(V(e,je(e)))}function lr(e){return new O(t=>{B(e()).subscribe(t)})}function fe(e,t){return M((r,n)=>{let o=0;r.subscribe(S(n,i=>e.call(t,i,o++)&&n.next(i)))})}function Ve(e){return M((t,r)=>{let n=null,o=!1,i;n=t.subscribe(S(r,void 0,void 0,s=>{i=B(e(s,Ve(e)(t))),n?(n.unsubscribe(),n=null,i.subscribe(r)):o=!0})),o&&(n.unsubscribe(),n=null,i.subscribe(r))})}function Ja(e,t,r,n,o){return(i,s)=>{let a=r,u=t,c=0;i.subscribe(S(s,l=>{let d=c++;u=a?e(u,l,d):(a=!0,l),n&&s.next(u)},o&&(()=>{a&&s.next(u),s.complete()})))}}function wt(e,t){return v(t)?$(e,t,1):$(e,1)}function $e(e){return M((t,r)=>{let n=!1;t.subscribe(S(r,o=>{n=!0,r.next(o)},()=>{n||r.next(e),r.complete()}))})}function Re(e){return e<=0?()=>ne:M((t,r)=>{let n=0;t.subscribe(S(r,o=>{++n<=e&&(r.next(o),e<=n&&r.complete())}))})}function Lo(e){return T(()=>e)}function dr(e=hf){return M((t,r)=>{let n=!1;t.subscribe(S(r,o=>{n=!0,r.next(o)},()=>n?r.complete():r.error(e())))})}function hf(){return new Ne}function Kt(e){return M((t,r)=>{try{t.subscribe(r)}finally{r.add(e)}})}function De(e,t){let r=arguments.length>=2;return n=>n.pipe(e?fe((o,i)=>e(o,i,n)):J,Re(1),r?$e(t):dr(()=>new Ne))}function Ct(e){return e<=0?()=>ne:M((t,r)=>{let n=[];t.subscribe(S(r,o=>{n.push(o),e{for(let o of n)r.next(o);r.complete()},void 0,()=>{n=null}))})}function jo(e,t){let r=arguments.length>=2;return n=>n.pipe(e?fe((o,i)=>e(o,i,n)):J,Ct(1),r?$e(t):dr(()=>new Ne))}function Vo(e,t){return M(Ja(e,t,arguments.length>=2,!0))}function $o(...e){let t=je(e);return M((r,n)=>{(t?Dt(e,r,t):Dt(e,r)).subscribe(n)})}function he(e,t){return M((r,n)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&n.complete();r.subscribe(S(n,u=>{o?.unsubscribe();let c=0,l=i++;B(e(u,l)).subscribe(o=S(n,d=>n.next(t?t(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Bo(e){return M((t,r)=>{B(e).subscribe(S(r,()=>r.complete(),Qt)),!r.closed&&t.subscribe(r)})}function U(e,t,r){let n=v(e)||t||r?{next:e,error:t,complete:r}:e;return n?M((o,i)=>{var s;(s=n.subscribe)===null||s===void 0||s.call(n);let a=!0;o.subscribe(S(i,u=>{var c;(c=n.next)===null||c===void 0||c.call(n,u),i.next(u)},()=>{var u;a=!1,(u=n.complete)===null||u===void 0||u.call(n),i.complete()},u=>{var c;a=!1,(c=n.error)===null||c===void 0||c.call(n,u),i.error(u)},()=>{var u,c;a&&((u=n.unsubscribe)===null||u===void 0||u.call(n)),(c=n.finalize)===null||c===void 0||c.call(n)}))}):J}var pf="https://g.co/ng/security#xss",y=class extends Error{constructor(t,r){super(Oi(t,r)),this.code=t}};function Oi(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}function P(e){for(let t in e)if(e[t]===P)return t;throw Error("Could not find renamed property on target object.")}function Z(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(Z).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let r=t.indexOf(` +`);return r===-1?t:t.substring(0,r)}function Xa(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var gf=P({__forward_ref__:P});function Fu(e){return e.__forward_ref__=Fu,e.toString=function(){return Z(this())},e}function oe(e){return ku(e)?e():e}function ku(e){return typeof e=="function"&&e.hasOwnProperty(gf)&&e.__forward_ref__===Fu}function Lu(e){return e&&!!e.\u0275providers}var mf=P({\u0275cmp:P}),vf=P({\u0275dir:P}),yf=P({\u0275pipe:P}),Df=P({\u0275mod:P}),yr=P({\u0275fac:P}),Jt=P({__NG_ELEMENT_ID__:P}),eu=P({__NG_ENV_ID__:P});function wf(e){return typeof e=="string"?e:e==null?"":String(e)}function Cf(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():wf(e)}function Ef(e,t){let r=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new y(-200,`Circular dependency in DI detected for ${e}${r}`)}function Pi(e,t){throw new y(-201,!1)}function If(e,t){e==null&&bf(t,e,null,"!=")}function bf(e,t,r,n){throw new Error(`ASSERTION ERROR: ${e}`+(n==null?"":` [Expected=> ${r} ${n} ${t} <=Actual]`))}function C(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Pr(e){return tu(e,Vu)||tu(e,$u)}function ju(e){return Pr(e)!==null}function tu(e,t){return e.hasOwnProperty(t)?e[t]:null}function Mf(e){let t=e&&(e[Vu]||e[$u]);return t||null}function nu(e){return e&&(e.hasOwnProperty(ru)||e.hasOwnProperty(Sf))?e[ru]:null}var Vu=P({\u0275prov:P}),ru=P({\u0275inj:P}),$u=P({ngInjectableDef:P}),Sf=P({ngInjectorDef:P}),I=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(I||{}),ti;function Tf(){return ti}function re(e){let t=ti;return ti=e,t}function Bu(e,t,r){let n=Pr(e);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(r&I.Optional)return null;if(t!==void 0)return t;Pi(e,"Injector")}var Xt=globalThis;var _=class{constructor(t,r){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof r=="number"?this.__NG_ELEMENT_ID__=r:r!==void 0&&(this.\u0275prov=C({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};var xf={},nn=xf,_f="__NG_DI_FLAG__",Dr="ngTempTokenPath",Af="ngTokenPath",Nf=/\n/gm,Rf="\u0275",ou="__source",en;function Be(e){let t=en;return en=e,t}function Of(e,t=I.Default){if(en===void 0)throw new y(-203,!1);return en===null?Bu(e,void 0,t):en.get(e,t&I.Optional?null:void 0,t)}function b(e,t=I.Default){return(Tf()||Of)(oe(e),t)}function p(e,t=I.Default){return b(e,Fr(t))}function Fr(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ni(e){let t=[];for(let r=0;r ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):Z(a)))}o=`{${i.join(", ")}}`}return`${r}${n?"("+n+")":""}[${o}]: ${e.replace(Nf,` + `)}`}function Fi(e){return{toString:e}.toString()}var Uu=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Uu||{}),Ee=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Ee||{}),rn={},Xe=[],Ue=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Ue||{});function Hu(e,t,r){let n=e.length;for(;;){let o=e.indexOf(t,r);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===n||e.charCodeAt(o+i)<=32)return o}r=o+1}}function ri(e,t,r){let n=0;for(;nt){s=i-1;break}}}for(;ii?f="":f=o[d+1].toLowerCase();let h=n&8?f:null;if(h&&Hu(h,c,0)!==-1||n&2&&c!==f){if(pe(n))return!1;s=!0}}}}return pe(n)||s}function pe(e){return(e&1)===0}function Uf(e,t,r,n){if(t===null)return-1;let o=0;if(n||!r){let i=!1;for(;o-1)for(r++;r0?'="'+a+'"':"")+"]"}else n&8?o+="."+s:n&4&&(o+=" "+s);else o!==""&&!pe(s)&&(t+=su(i,o),o=""),n=s,i=i||!pe(n);r++}return o!==""&&(t+=su(i,o)),t}function qf(e){return e.map(Wf).join(",")}function Zf(e){let t=[],r=[],n=1,o=2;for(;n{let t=Qu(e),r=k(g({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Uu.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ee.Emulated,styles:e.styles||Xe,_:null,schemas:e.schemas||null,tView:null,id:""});Ku(r);let n=e.dependencies;return r.directiveDefs=uu(n,!1),r.pipeDefs=uu(n,!0),r.id=Kf(r),r})}function Yf(e){return et(e)||Wu(e)}function Qf(e){return e!==null}function au(e,t){if(e==null)return rn;let r={};for(let n in e)if(e.hasOwnProperty(n)){let o=e[n],i,s,a=Ue.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(r[i]=a!==Ue.None?[n,a]:n,t[i]=s):r[i]=n}return r}function Li(e){return Fi(()=>{let t=Qu(e);return Ku(t),t})}function et(e){return e[mf]||null}function Wu(e){return e[vf]||null}function qu(e){return e[yf]||null}function Zu(e){let t=et(e)||Wu(e)||qu(e);return t!==null?t.standalone:!1}function Yu(e,t){let r=e[Df]||null;if(!r&&t===!0)throw new Error(`Type ${Z(e)} does not have '\u0275mod' property.`);return r}function Qu(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,inputTransforms:null,inputConfig:e.inputs||rn,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||Xe,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:au(e.inputs,t),outputs:au(e.outputs),debugInfo:null}}function Ku(e){e.features?.forEach(t=>t(e))}function uu(e,t){if(!e)return null;let r=t?qu:Yf;return()=>(typeof e=="function"?e():e).map(n=>r(n)).filter(Qf)}function Kf(e){let t=0,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,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].join("|");for(let o of r)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}var Fe=0,x=1,w=2,W=3,me=4,ve=5,wr=6,on=7,Ie=8,Tt=9,He=10,se=11,sn=12,cu=13,mn=14,be=15,ji=16,Et=17,Vi=18,Lr=19,Ju=20,tn=21,Uo=22,tt=23,ze=25,Xu=1;var nt=7,Cr=8,Er=9,ie=10,$i=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}($i||{});function Mt(e){return Array.isArray(e)&&typeof e[Xu]=="object"}function ke(e){return Array.isArray(e)&&e[Xu]===!0}function ec(e){return(e.flags&4)!==0}function Bi(e){return e.componentOffset>-1}function tc(e){return(e.flags&1)===1}function vn(e){return!!e.template}function Jf(e){return(e[w]&512)!==0}function xt(e,t){let r=e.hasOwnProperty(yr);return r?e[yr]:null}var oi=class{constructor(t,r,n){this.previousValue=t,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}};function nc(e,t,r,n){t!==null?t.applyValueToInputSignal(t,n):e[r]=n}function jr(){return rc}function rc(e){return e.type.prototype.ngOnChanges&&(e.setInput=eh),Xf}jr.ngInherit=!0;function Xf(){let e=ic(this),t=e?.current;if(t){let r=e.previous;if(r===rn)e.previous=t;else for(let n in t)r[n]=t[n];e.current=null,this.ngOnChanges(t)}}function eh(e,t,r,n,o){let i=this.declaredInputs[n],s=ic(e)||th(e,{previous:rn,current:null}),a=s.current||(s.current={}),u=s.previous,c=u[i];a[i]=new oi(c&&c.currentValue,r,u===rn),nc(e,t,o,r)}var oc="__ngSimpleChanges__";function ic(e){return e[oc]||null}function th(e,t){return e[oc]=t}var lu=null;var we=function(e,t,r){lu?.(e,t,r)},nh="svg",rh="math",oh=!1;function ih(){return oh}function Me(e){for(;Array.isArray(e);)e=e[Fe];return e}function sh(e,t){return Me(t[e])}function Se(e,t){return Me(t[e.index])}function ah(e,t){return e.data[t]}function uh(e,t){return e[t]}function Ot(e,t){let r=t[e];return Mt(r)?r:r[Fe]}function Ui(e){return(e[w]&128)===128}function ch(e){return ke(e[W])}function du(e,t){return t==null?null:e[t]}function sc(e){e[Et]=0}function lh(e){e[w]&1024||(e[w]|=1024,Ui(e)&&an(e))}function ac(e){return e[w]&9216||e[tt]?.dirty}function ii(e){ac(e)?an(e):e[w]&64&&(ih()?(e[w]|=1024,an(e)):e[He].changeDetectionScheduler?.notify())}function an(e){e[He].changeDetectionScheduler?.notify();let t=un(e);for(;t!==null&&!(t[w]&8192||(t[w]|=8192,!Ui(t)));)t=un(t)}function dh(e,t){if((e[w]&256)===256)throw new y(911,!1);e[tn]===null&&(e[tn]=[]),e[tn].push(t)}function un(e){let t=e[W];return ke(t)?t[W]:t}var A={lFrame:pc(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function fh(){return A.lFrame.elementDepthCount}function hh(){A.lFrame.elementDepthCount++}function ph(){A.lFrame.elementDepthCount--}function uc(){return A.bindingsEnabled}function gh(){return A.skipHydrationRootTNode!==null}function mh(e){return A.skipHydrationRootTNode===e}function vh(){A.skipHydrationRootTNode=null}function Y(){return A.lFrame.lView}function Pt(){return A.lFrame.tView}function Hi(e){return A.lFrame.contextLView=e,e[Ie]}function zi(e){return A.lFrame.contextLView=null,e}function Le(){let e=cc();for(;e!==null&&e.type===64;)e=e.parent;return e}function cc(){return A.lFrame.currentTNode}function yh(){let e=A.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Vr(e,t){let r=A.lFrame;r.currentTNode=e,r.isParent=t}function lc(){return A.lFrame.isParent}function Dh(){A.lFrame.isParent=!1}function wh(){return A.lFrame.contextLView}function Ch(e){return A.lFrame.bindingIndex=e}function Eh(e){let t=A.lFrame,r=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,r}function Ih(){return A.lFrame.inI18n}function bh(e,t){let r=A.lFrame;r.bindingIndex=r.bindingRootIndex=e,si(t)}function Mh(){return A.lFrame.currentDirectiveIndex}function si(e){A.lFrame.currentDirectiveIndex=e}function Sh(e){let t=A.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function dc(e){A.lFrame.currentQueryIndex=e}function Th(e){let t=e[x];return t.type===2?t.declTNode:t.type===1?e[ve]:null}function fc(e,t,r){if(r&I.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(r&I.Host);)if(o=Th(i),o===null||(i=i[mn],o.type&10))break;if(o===null)return!1;t=o,e=i}let n=A.lFrame=hc();return n.currentTNode=t,n.lView=e,!0}function Gi(e){let t=hc(),r=e[x];A.lFrame=t,t.currentTNode=r.firstChild,t.lView=e,t.tView=r,t.contextLView=e,t.bindingIndex=r.bindingStartIndex,t.inI18n=!1}function hc(){let e=A.lFrame,t=e===null?null:e.child;return t===null?pc(e):t}function pc(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 gc(){let e=A.lFrame;return A.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var mc=gc;function Wi(){let e=gc();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 yn(){return A.lFrame.selectedIndex}function rt(e){A.lFrame.selectedIndex=e}function xh(){return A.lFrame.currentNamespace}var vc=!0;function yc(){return vc}function Dc(e){vc=e}function _h(e,t,r){let{ngOnChanges:n,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(n){let s=rc(t);(r.preOrderHooks??=[]).push(e,s),(r.preOrderCheckHooks??=[]).push(e,s)}o&&(r.preOrderHooks??=[]).push(0-e,o),i&&((r.preOrderHooks??=[]).push(e,i),(r.preOrderCheckHooks??=[]).push(e,i))}function wc(e,t){for(let r=t.directiveStart,n=t.directiveEnd;r=n)break}else t[u]<0&&(e[Et]+=65536),(a>14>16&&(e[w]&3)===t&&(e[w]+=16384,fu(a,i)):fu(a,i)}var St=-1,cn=class{constructor(t,r,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}};function Nh(e){return e instanceof cn}function Rh(e){return(e.flags&8)!==0}function Oh(e){return(e.flags&16)!==0}function Ec(e){return e!==St}function Ir(e){return e&32767}function Ph(e){return e>>16}function br(e,t){let r=Ph(e),n=t;for(;r>0;)n=n[mn],r--;return n}var ai=!0;function hu(e){let t=ai;return ai=e,t}var Fh=256,Ic=Fh-1,bc=5,kh=0,Ce={};function Lh(e,t,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(Jt)&&(n=r[Jt]),n==null&&(n=r[Jt]=kh++);let o=n&Ic,i=1<>bc)]|=i}function Mc(e,t){let r=Sc(e,t);if(r!==-1)return r;let n=t[x];n.firstCreatePass&&(e.injectorIndex=t.length,zo(n.data,e),zo(t,null),zo(n.blueprint,null));let o=qi(e,t),i=e.injectorIndex;if(Ec(o)){let s=Ir(o),a=br(o,t),u=a[x].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|u[s+c]}return t[i+8]=o,i}function zo(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Sc(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function qi(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let r=0,n=null,o=t;for(;o!==null;){if(n=Nc(o),n===null)return St;if(r++,o=o[mn],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return St}function jh(e,t,r){Lh(e,t,r)}function Tc(e,t,r){if(r&I.Optional||e!==void 0)return e;Pi(t,"NodeInjector")}function xc(e,t,r,n){if(r&I.Optional&&n===void 0&&(n=null),!(r&(I.Self|I.Host))){let o=e[Tt],i=re(void 0);try{return o?o.get(t,n,r&I.Optional):Bu(t,n,r&I.Optional)}finally{re(i)}}return Tc(n,t,r)}function _c(e,t,r,n=I.Default,o){if(e!==null){if(t[w]&2048&&!(n&I.Self)){let s=Hh(e,t,r,n,Ce);if(s!==Ce)return s}let i=Ac(e,t,r,n,Ce);if(i!==Ce)return i}return xc(t,r,n,o)}function Ac(e,t,r,n,o){let i=Bh(r);if(typeof i=="function"){if(!fc(t,e,n))return n&I.Host?Tc(o,r,n):xc(t,r,n,o);try{let s;if(s=i(n),s==null&&!(n&I.Optional))Pi(r);else return s}finally{mc()}}else if(typeof i=="number"){let s=null,a=Sc(e,t),u=St,c=n&I.Host?t[be][ve]:null;for((a===-1||n&I.SkipSelf)&&(u=a===-1?qi(e,t):t[a+8],u===St||!gu(n,!1)?a=-1:(s=t[x],a=Ir(u),t=br(u,t)));a!==-1;){let l=t[x];if(pu(i,a,l.data)){let d=Vh(a,t,r,s,n,c);if(d!==Ce)return d}u=t[a+8],u!==St&&gu(n,t[x].data[a+8]===c)&&pu(i,a,t)?(s=l,a=Ir(u),t=br(u,t)):a=-1}}return o}function Vh(e,t,r,n,o,i){let s=t[x],a=s.data[e+8],u=n==null?Bi(a)&&ai:n!=s&&(a.type&3)!==0,c=o&I.Host&&i===a,l=$h(a,s,r,u,c);return l!==null?ln(t,s,l,a):Ce}function $h(e,t,r,n,o){let i=e.providerIndexes,s=t.data,a=i&1048575,u=e.directiveStart,c=e.directiveEnd,l=i>>20,d=n?a:a+l,f=o?a+l:c;for(let h=d;h=u&&m.type===r)return h}if(o){let h=s[u];if(h&&vn(h)&&h.type===r)return u}return null}function ln(e,t,r,n){let o=e[r],i=t.data;if(Nh(o)){let s=o;s.resolving&&Ef(Cf(i[r]));let a=hu(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?re(s.injectImpl):null,l=fc(e,n,I.Default);try{o=e[r]=s.factory(void 0,i,e,n),t.firstCreatePass&&r>=n.directiveStart&&_h(r,i[r],t)}finally{c!==null&&re(c),hu(a),s.resolving=!1,mc()}}return o}function Bh(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Jt)?e[Jt]:void 0;return typeof t=="number"?t>=0?t&Ic:Uh:t}function pu(e,t,r){let n=1<>bc)]&n)}function gu(e,t){return!(e&I.Self)&&!(e&I.Host&&t)}var Je=class{constructor(t,r){this._tNode=t,this._lView=r}get(t,r,n){return _c(this._tNode,this._lView,t,Fr(n),r)}};function Uh(){return new Je(Le(),Y())}function Zi(e){return Fi(()=>{let t=e.prototype.constructor,r=t[yr]||ui(t),n=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==n;){let i=o[yr]||ui(o);if(i&&i!==r)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function ui(e){return ku(e)?()=>{let t=ui(oe(e));return t&&t()}:xt(e)}function Hh(e,t,r,n,o){let i=e,s=t;for(;i!==null&&s!==null&&s[w]&2048&&!(s[w]&512);){let a=Ac(i,s,r,n|I.Self,Ce);if(a!==Ce)return a;let u=i.parent;if(!u){let c=s[Ju];if(c){let l=c.get(r,Ce,n);if(l!==Ce)return l}u=Nc(s),s=s[mn]}i=u}return o}function Nc(e){let t=e[x],r=t.type;return r===2?t.declTNode:r===1?e[ve]:null}function zh(e){return typeof e=="function"}function Yi(e,t){e.forEach(r=>Array.isArray(r)?Yi(r,t):t(r))}function Rc(e,t,r){t>=e.length?e.push(r):e.splice(t,0,r)}function Mr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Gh(e,t,r,n){let o=e.length;if(o==t)e.push(r,n);else if(o===1)e.push(n,e[0]),e[0]=r;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=r,e[t+1]=n}}function Wh(e,t,r){let n=Dn(e,t);return n>=0?e[n|1]=r:(n=~n,Gh(e,n,t,r)),n}function Go(e,t){let r=Dn(e,t);if(r>=0)return e[r|1]}function Dn(e,t){return qh(e,t,1)}function qh(e,t,r){let n=0,o=e.length>>r;for(;o!==n;){let i=n+(o-n>>1),s=e[i<t?o=i:n=i+1}return~(o<{r.push(s)};return Yi(t,s=>{let a=s;ci(a,i,[],n)&&(o||=[],o.push(a))}),o!==void 0&&kc(o,i),r}function kc(e,t){for(let r=0;r{t(i,n)})}}function ci(e,t,r,n){if(e=oe(e),!e)return!1;let o=null,i=nu(e),s=!i&&et(e);if(!i&&!s){let u=e.ngModule;if(i=nu(u),i)o=u;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=n.has(o);if(s){if(a)return!1;if(n.add(o),s.dependencies){let u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)ci(c,t,r,n)}}else if(i){if(i.imports!=null&&!a){n.add(o);let c;try{Yi(i.imports,l=>{ci(l,t,r,n)&&(c||=[],c.push(l))})}finally{}c!==void 0&&kc(c,t)}if(!a){let c=xt(o)||(()=>new o);t({provide:o,useFactory:c,deps:Xe},o),t({provide:Pc,useValue:o,multi:!0},o),t({provide:_t,useValue:()=>b(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=e;Qi(u,l=>{t(l,c)})}}else return!1;return o!==e&&e.providers!==void 0}function Qi(e,t){for(let r of e)Lu(r)&&(r=r.\u0275providers),Array.isArray(r)?Qi(r,t):t(r)}var Yh=P({provide:String,useValue:P});function Lc(e){return e!==null&&typeof e=="object"&&Yh in e}function Qh(e){return!!(e&&e.useExisting)}function Kh(e){return!!(e&&e.useFactory)}function li(e){return typeof e=="function"}var Br=new _("Set Injector scope."),gr={},Jh={},Wo;function Ki(){return Wo===void 0&&(Wo=new Sr),Wo}var ae=class{},dn=class extends ae{get destroyed(){return this._destroyed}constructor(t,r,n,o){super(),this.parent=r,this.source=n,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,fi(t,s=>this.processProvider(s)),this.records.set(Oc,It(void 0,this)),o.has("environment")&&this.records.set(ae,It(void 0,this));let i=this.records.get(Br);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Pc,Xe,I.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let t=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of t)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let r=Be(this),n=re(void 0),o;try{return t()}finally{Be(r),re(n)}}get(t,r=nn,n=I.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(eu))return t[eu](this);n=Fr(n);let o,i=Be(this),s=re(void 0);try{if(!(n&I.SkipSelf)){let u=this.records.get(t);if(u===void 0){let c=op(t)&&Pr(t);c&&this.injectableDefInScope(c)?u=It(di(t),gr):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u)}let a=n&I.Self?Ki():this.parent;return r=n&I.Optional&&r===nn?null:r,a.get(t,r)}catch(a){if(a.name==="NullInjectorError"){if((a[Dr]=a[Dr]||[]).unshift(Z(t)),i)throw a;return Ff(a,t,"R3InjectorError",this.source)}else throw a}finally{re(s),Be(i)}}resolveInjectorInitializers(){let t=Be(this),r=re(void 0),n;try{let o=this.get(_t,Xe,I.Self);for(let i of o)i()}finally{Be(t),re(r)}}toString(){let t=[],r=this.records;for(let n of r.keys())t.push(Z(n));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new y(205,!1)}processProvider(t){t=oe(t);let r=li(t)?t:oe(t&&t.provide),n=ep(t);if(!li(t)&&t.multi===!0){let o=this.records.get(r);o||(o=It(void 0,gr,!0),o.factory=()=>ni(o.multi),this.records.set(r,o)),r=t,o.multi.push(t)}this.records.set(r,n)}hydrate(t,r){return r.value===gr&&(r.value=Jh,r.value=r.factory()),typeof r.value=="object"&&r.value&&rp(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}injectableDefInScope(t){if(!t.providedIn)return!1;let r=oe(t.providedIn);return typeof r=="string"?r==="any"||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(t){let r=this._onDestroyHooks.indexOf(t);r!==-1&&this._onDestroyHooks.splice(r,1)}};function di(e){let t=Pr(e),r=t!==null?t.factory:xt(e);if(r!==null)return r;if(e instanceof _)throw new y(204,!1);if(e instanceof Function)return Xh(e);throw new y(204,!1)}function Xh(e){if(e.length>0)throw new y(204,!1);let r=Mf(e);return r!==null?()=>r.factory(e):()=>new e}function ep(e){if(Lc(e))return It(void 0,e.useValue);{let t=tp(e);return It(t,gr)}}function tp(e,t,r){let n;if(li(e)){let o=oe(e);return xt(o)||di(o)}else if(Lc(e))n=()=>oe(e.useValue);else if(Kh(e))n=()=>e.useFactory(...ni(e.deps||[]));else if(Qh(e))n=()=>b(oe(e.useExisting));else{let o=oe(e&&(e.useClass||e.provide));if(np(e))n=()=>new o(...ni(e.deps));else return xt(o)||di(o)}return n}function It(e,t,r=!1){return{factory:e,value:t,multi:r?[]:void 0}}function np(e){return!!e.deps}function rp(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function op(e){return typeof e=="function"||typeof e=="object"&&e instanceof _}function fi(e,t){for(let r of e)Array.isArray(r)?fi(r,t):r&&Lu(r)?fi(r.\u0275providers,t):t(r)}function it(e,t){e instanceof dn&&e.assertNotDestroyed();let r,n=Be(e),o=re(void 0);try{return t()}finally{Be(n),re(o)}}function mu(e,t=null,r=null,n){let o=jc(e,t,r,n);return o.resolveInjectorInitializers(),o}function jc(e,t=null,r=null,n,o=new Set){let i=[r||Xe,Zh(e)];return n=n||(typeof e=="object"?void 0:Z(e)),new dn(i,t||Ki(),n||null,o)}var Ft=(()=>{let t=class t{static create(n,o){if(Array.isArray(n))return mu({name:""},o,n,"");{let i=n.name??"";return mu({name:i},n.parent,n.providers,i)}}};t.THROW_IF_NOT_FOUND=nn,t.NULL=new Sr,t.\u0275prov=C({token:t,providedIn:"any",factory:()=>b(Oc)}),t.__NG_ELEMENT_ID__=-1;let e=t;return e})();var hi;function Vc(e){hi=e}function ip(){if(hi!==void 0)return hi;if(typeof document<"u")return document;throw new y(210,!1)}var Ji=new _("AppId",{providedIn:"root",factory:()=>sp}),sp="ng",Xi=new _("Platform Initializer"),kt=new _("Platform ID",{providedIn:"platform",factory:()=>"unknown"});var es=new _("CSP nonce",{providedIn:"root",factory:()=>ip().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function $c(e){return e instanceof Function?e():e}function Bc(e){return(e.flags&128)===128}var Oe=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Oe||{});var Uc=new Map,ap=0;function up(){return ap++}function cp(e){Uc.set(e[Lr],e)}function lp(e){Uc.delete(e[Lr])}var vu="__ngContext__";function At(e,t){Mt(t)?(e[vu]=t[Lr],cp(t)):e[vu]=t}var dp;function ts(e,t){return dp(e,t)}function bt(e,t,r,n,o){if(n!=null){let i,s=!1;ke(n)?i=n:Mt(n)&&(s=!0,n=n[Fe]);let a=Me(n);e===0&&r!==null?o==null?qc(t,r,a):Tr(t,r,a,o||null,!0):e===1&&r!==null?Tr(t,r,a,o||null,!0):e===2?Tp(t,a,s):e===3&&t.destroyNode(a),i!=null&&_p(t,e,i,r,o)}}function fp(e,t){return e.createText(t)}function Hc(e,t,r){return e.createElement(t,r)}function hp(e,t){zc(e,t),t[Fe]=null,t[ve]=null}function pp(e,t,r,n,o,i){n[Fe]=o,n[ve]=t,Ur(e,n,r,1,o,i)}function zc(e,t){Ur(e,t,t[se],2,null,null)}function gp(e){let t=e[sn];if(!t)return qo(e[x],e);for(;t;){let r=null;if(Mt(t))r=t[sn];else{let n=t[ie];n&&(r=n)}if(!r){for(;t&&!t[me]&&t!==e;)Mt(t)&&qo(t[x],t),t=t[W];t===null&&(t=e),Mt(t)&&qo(t[x],t),r=t&&t[me]}t=r}}function mp(e,t,r,n){let o=ie+n,i=r.length;n>0&&(r[o-1][me]=t),n0&&(e[r-1][me]=n[me]);let i=Mr(e,ie+t);hp(n[x],n);let s=i[Vi];s!==null&&s.detachView(i[x]),n[W]=null,n[me]=null,n[w]&=-129}return n}function Wc(e,t){if(!(t[w]&256)){let r=t[se];r.destroyNode&&Ur(e,t,r,3,null,null),gp(t)}}function qo(e,t){if(!(t[w]&256)){t[w]&=-129,t[w]|=256,t[tt]&&Ia(t[tt]),Dp(e,t),yp(e,t),t[x].type===1&&t[se].destroy();let r=t[ji];if(r!==null&&ke(t[W])){r!==t[W]&&Gc(r,t);let n=t[Vi];n!==null&&n.detachView(e)}lp(t)}}function yp(e,t){let r=e.cleanup,n=t[on];if(r!==null)for(let i=0;i=0?n[s]():n[-s].unsubscribe(),i+=2}else{let s=n[r[i+1]];r[i].call(s)}n!==null&&(t[on]=null);let o=t[tn];if(o!==null){t[tn]=null;for(let i=0;i-1){let{encapsulation:i}=e.data[n.directiveStart+o];if(i===Ee.None||i===Ee.Emulated)return null}return Se(n,r)}}function Tr(e,t,r,n,o){e.insertBefore(t,r,n,o)}function qc(e,t,r){e.appendChild(t,r)}function yu(e,t,r,n,o){n!==null?Tr(e,t,r,n,o):qc(e,t,r)}function Ep(e,t,r,n){e.removeChild(t,r,n)}function ns(e,t){return e.parentNode(t)}function Ip(e,t){return e.nextSibling(t)}function bp(e,t,r){return Sp(e,t,r)}function Mp(e,t,r){return e.type&40?Se(e,r):null}var Sp=Mp,Du;function Zc(e,t,r,n){let o=wp(e,n,t),i=t[se],s=n.parent||t[ve],a=bp(s,n,t);if(o!=null)if(Array.isArray(r))for(let u=0;unull;function is(e,t,r=!1){return Pp(e,t,r)}var yi=class{},xr=class{};function Fp(e){let t=Error(`No component factory found for ${Z(e)}.`);return t[kp]=e,t}var kp="ngComponent";var Di=class{resolveComponentFactory(t){throw Fp(t)}},Hr=(()=>{let t=class t{};t.NULL=new Di;let e=t;return e})();function Lp(){return ss(Le(),Y())}function ss(e,t){return new zr(Se(e,t))}var zr=(()=>{let t=class t{constructor(n){this.nativeElement=n}};t.__NG_ELEMENT_ID__=Lp;let e=t;return e})();var fn=class{};var jp=(()=>{let t=class t{};t.\u0275prov=C({token:t,providedIn:"root",factory:()=>null});let e=t;return e})(),Zo={};function _r(e,t,r,n,o=!1){for(;r!==null;){let i=t[r.index];i!==null&&n.push(Me(i)),ke(i)&&Vp(i,n);let s=r.type;if(s&8)_r(e,t,r.child,n);else if(s&32){let a=ts(r,t),u;for(;u=a();)n.push(u)}else if(s&16){let a=Yc(t,r);if(Array.isArray(a))n.push(...a);else{let u=un(t[be]);_r(u[x],u,a,n,!0)}}r=o?r.projectionNext:r.next}return n}function Vp(e,t){for(let r=ie;r{an(e.lView)},consumerOnSignalRead(){this.lView[tt]=this}});function Xc(e){return tl(e[sn])}function el(e){return tl(e[me])}function tl(e){for(;e!==null&&!ke(e);)e=e[me];return e}var zp="ngOriginalError";function Yo(e){return e[zp]}var Pe=class{constructor(){this._console=console}handleError(t){let r=this._findOriginalError(t);this._console.error("ERROR",t),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(t){let r=t&&Yo(t);for(;r&&Yo(r);)r=Yo(r);return r||null}},nl=new _("",{providedIn:"root",factory:()=>p(Pe).handleError.bind(void 0)});var rl=!1,Gp=new _("",{providedIn:"root",factory:()=>rl});var Gr={};function ol(e=1){il(Pt(),Y(),yn()+e,!1)}function il(e,t,r,n){if(!n)if((t[w]&3)===3){let i=e.preOrderCheckHooks;i!==null&&hr(t,i,r)}else{let i=e.preOrderHooks;i!==null&&pr(t,i,0,r)}rt(r)}function as(e,t=I.Default){let r=Y();if(r===null)return b(e,t);let n=Le();return _c(n,r,oe(e),t)}function sl(e,t,r,n,o,i){let s=K(null);try{let a=null;o&Ue.SignalBased&&(a=t[n][Da]),a!==null&&a.transformFn!==void 0&&(i=a.transformFn(i)),o&Ue.HasDecoratorInputTransform&&(i=e.inputTransforms[n].call(t,i)),e.setInput!==null?e.setInput(t,a,i,r,n):nc(t,a,n,i)}finally{K(s)}}function Wp(e,t){let r=e.hostBindingOpCodes;if(r!==null)try{for(let n=0;nze&&il(e,t,ze,!1),we(s?2:0,o),r(n,o)}finally{rt(i),we(s?3:1,o)}}function cl(e,t,r){if(ec(t)){let n=K(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;snull;function eg(e,t,r,n,o,i){let s=t?t.injectorIndex:-1,a=0;return gh()&&(a|=128),{type:r,index:n,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:void 0,inputs:null,outputs: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}}function wu(e,t,r,n,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;n??={};let a,u=Ue.None;Array.isArray(s)?(a=s[0],u=s[1]):a=s;let c=i;if(o!==null){if(!o.hasOwnProperty(i))continue;c=o[i]}e===0?Cu(n,r,c,a,u):Cu(n,r,c,a)}return n}function Cu(e,t,r,n,o){let i;e.hasOwnProperty(r)?(i=e[r]).push(t,n):i=e[r]=[t,n],o!==void 0&&i.push(o)}function tg(e,t,r){let n=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],u=null,c=null;for(let l=n;l0;){let r=e[--t];if(typeof r=="number"&&r<0)return r}return 0}function ig(e,t,r,n){let o=r.directiveStart,i=r.directiveEnd;Bi(r)&&fg(t,r,e.data[o+r.componentOffset]),e.firstCreatePass||Mc(r,t),At(n,t);let s=r.initialInputs;for(let a=o;a-1&&(pi(t,n),Mr(r,n))}this._attachedToViewContainer=!1}Wc(this._lView[x],this._lView)}onDestroy(t){dh(this._lView,t)}markForCheck(){ds(this._cdRefInjectingView||this._lView)}detach(){this._lView[w]&=-129}reattach(){ii(this._lView),this._lView[w]|=128}detectChanges(){this._lView[w]|=1024,Dg(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new y(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,zc(this._lView[x],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new y(902,!1);this._appRef=t,ii(this._lView)}},Wr=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Mg;let e=t;return e})();function Mg(e){return Sg(Le(),Y(),(e&16)===16)}function Sg(e,t,r){if(Bi(e)&&!r){let n=Ot(e.index,t);return new Nt(n,n)}else if(e.type&47){let n=t[be];return new Nt(n,t)}return null}var Eu=new Set;function wl(e){Eu.has(e)||(Eu.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Ii=class extends X{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,r,n){let o=t,i=r||(()=>null),s=n;if(t&&typeof t=="object"){let u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=Qo(i),o&&(o=Qo(o)),s&&(s=Qo(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof j&&t.add(a),a}};function Qo(e){return t=>{setTimeout(e,void 0,t)}}var ge=Ii;function Iu(...e){}function Tg(){let e=typeof Xt.requestAnimationFrame=="function",t=Xt[e?"requestAnimationFrame":"setTimeout"],r=Xt[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&r){let n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);let o=r[Zone.__symbol__("OriginalDelegate")];o&&(r=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:r}}var L=class e{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ge(!1),this.onMicrotaskEmpty=new ge(!1),this.onStable=new ge(!1),this.onError=new ge(!1),typeof Zone>"u")throw new y(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!n&&r,o.shouldCoalesceRunChangeDetection=n,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=Tg().nativeRequestAnimationFrame,Ag(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new y(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new y(909,!1)}run(t,r,n){return this._inner.run(t,r,n)}runTask(t,r,n,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,xg,Iu,Iu);try{return i.runTask(s,r,n)}finally{i.cancelTask(s)}}runGuarded(t,r,n){return this._inner.runGuarded(t,r,n)}runOutsideAngular(t){return this._outer.run(t)}},xg={};function fs(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 _g(e){e.isCheckStableRunning||e.lastRequestAnimationFrameId!==-1||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Xt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,bi(e),e.isCheckStableRunning=!0,fs(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),bi(e))}function Ag(e){let t=()=>{_g(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,n,o,i,s,a)=>{if(Ng(a))return r.invokeTask(o,i,s,a);try{return bu(e),r.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Mu(e)}},onInvoke:(r,n,o,i,s,a,u)=>{try{return bu(e),r.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),Mu(e)}},onHasTask:(r,n,o,i)=>{r.hasTask(o,i),n===o&&(i.change=="microTask"?(e._hasPendingMicrotasks=i.microTask,bi(e),fs(e)):i.change=="macroTask"&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(r,n,o,i)=>(r.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}function bi(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.lastRequestAnimationFrameId!==-1?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function bu(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Mu(e){e._nesting--,fs(e)}function Ng(e){return!Array.isArray(e)||e.length!==1?!1:e[0].data?.__ignore_ng_zone__===!0}var Cl=(()=>{let t=class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){let n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let i of n)i();return!!this.handler?.execute()||n.length>0}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};t.\u0275prov=C({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function Rg(e,t){let r=Ot(t,e),n=r[x];Og(n,r);let o=r[Fe];o!==null&&r[wr]===null&&(r[wr]=is(o,r[Tt])),El(n,r,r[Ie])}function Og(e,t){for(let r=t.length;r0&&Qc(e,r,i.join(" "))}}function Bg(e,t,r){let n=e.projection=[];for(let o=0;onull;function Tu(e,t){return Hg(e,t)}function xu(e,t){return!t||t.firstChild===null||Bc(e)}function zg(e,t,r,n=!0){let o=t[x];if(mp(o,t,e,r),n){let s=gi(r,e),a=t[se],u=ns(a,e[nt]);u!==null&&pp(o,e[ve],a,t,u,s)}let i=t[wr];i!==null&&i.firstChild!==null&&(i.firstChild=null)}var qr=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Gg;let e=t;return e})();function Gg(){let e=Le();return qg(e,Y())}var Wg=qr,Il=class extends Wg{constructor(t,r,n){super(),this._lContainer=t,this._hostTNode=r,this._hostLView=n}get element(){return ss(this._hostTNode,this._hostLView)}get injector(){return new Je(this._hostTNode,this._hostLView)}get parentInjector(){let t=qi(this._hostTNode,this._hostLView);if(Ec(t)){let r=br(t,this._hostLView),n=Ir(t),o=r[x].data[n+8];return new Je(o,r)}else return new Je(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let r=_u(this._lContainer);return r!==null&&r[t]||null}get length(){return this._lContainer.length-ie}createEmbeddedView(t,r,n){let o,i;typeof n=="number"?o=n:n!=null&&(o=n.index,i=n.injector);let s=Tu(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(r||{},i,s);return this.insertImpl(a,o,xu(this._hostTNode,s)),a}createComponent(t,r,n,o,i){let s=t&&!zh(t),a;if(s)a=r;else{let m=r||{};a=m.index,n=m.injector,o=m.projectableNodes,i=m.environmentInjector||m.ngModuleRef}let u=s?t:new hn(et(t)),c=n||this.parentInjector;if(!i&&u.ngModule==null){let N=(s?c:this.parentInjector).get(ae,null);N&&(i=N)}let l=et(u.componentType??{}),d=Tu(this._lContainer,l?.id??null),f=d?.firstChild??null,h=u.create(c,o,f,i);return this.insertImpl(h.hostView,a,xu(this._hostTNode,d)),h}insert(t,r){return this.insertImpl(t,r,!0)}insertImpl(t,r,n){let o=t._lView;if(ch(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let u=o[W],c=new Il(u,u[ve],u[W]);c.detach(c.indexOf(t))}}let i=this._adjustIndex(r),s=this._lContainer;return zg(s,o,i,n),t.attachToViewContainerRef(),Rc(Ko(s),i,t),t}move(t,r){return this.insert(t,r)}indexOf(t){let r=_u(this._lContainer);return r!==null?r.indexOf(t):-1}remove(t){let r=this._adjustIndex(t,-1),n=pi(this._lContainer,r);n&&(Mr(Ko(this._lContainer),r),Wc(n[x],n))}detach(t){let r=this._adjustIndex(t,-1),n=pi(this._lContainer,r);return n&&Mr(Ko(this._lContainer),r)!=null?new Nt(n):null}_adjustIndex(t,r=0){return t??this.length+r}};function _u(e){return e[Cr]}function Ko(e){return e[Cr]||(e[Cr]=[])}function qg(e,t){let r,n=t[e.index];return ke(n)?r=n:(r=gg(n,t,null,e),t[e.index]=r,ls(t,r)),Yg(r,t,e,n),new Il(r,e,t)}function Zg(e,t){let r=e[se],n=r.createComment(""),o=Se(t,e),i=ns(r,o);return Tr(r,i,n,Ip(r,o),!1),n}var Yg=Qg;function Qg(e,t,r,n){if(e[nt])return;let o;r.type&8?o=Me(n):o=Zg(t,r),e[nt]=o}function Kg(e,t,r){let n=e[t];return Object.is(n,r)?!1:(e[t]=r,!0)}function fr(e,t){return e<<17|t<<2}function ot(e){return e>>17&32767}function Jg(e){return(e&2)==2}function Xg(e,t){return e&131071|t<<17}function xi(e){return e|2}function Rt(e){return(e&131068)>>2}function Jo(e,t){return e&-131069|t<<2}function em(e){return(e&1)===1}function _i(e){return e|1}function tm(e,t,r,n,o,i){let s=i?t.classBindings:t.styleBindings,a=ot(s),u=Rt(s);e[n]=r;let c=!1,l;if(Array.isArray(r)){let d=r;l=d[1],(l===null||Dn(d,l)>0)&&(c=!0)}else l=r;if(o)if(u!==0){let f=ot(e[a+1]);e[n+1]=fr(f,a),f!==0&&(e[f+1]=Jo(e[f+1],n)),e[a+1]=Xg(e[a+1],n)}else e[n+1]=fr(a,0),a!==0&&(e[a+1]=Jo(e[a+1],n)),a=n;else e[n+1]=fr(u,0),a===0?a=n:e[u+1]=Jo(e[u+1],n),u=n;c&&(e[n+1]=xi(e[n+1])),Au(e,l,n,!0),Au(e,l,n,!1),nm(t,l,e,n,i),s=fr(a,u),i?t.classBindings=s:t.styleBindings=s}function nm(e,t,r,n,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Dn(i,t)>=0&&(r[n+1]=_i(r[n+1]))}function Au(e,t,r,n){let o=e[r+1],i=t===null,s=n?ot(o):Rt(o),a=!1;for(;s!==0&&(a===!1||i);){let u=e[s],c=e[s+1];rm(u,t)&&(a=!0,e[s+1]=n?_i(c):xi(c)),s=n?ot(c):Rt(c)}a&&(e[r+1]=n?xi(o):_i(o))}function rm(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Dn(e,t)>=0:!1}function Nu(e,t,r,n,o){let i=t.inputs,s=o?"class":"style";ml(e,r,i[s],s,n)}function wn(e,t,r){return om(e,t,r,!1),wn}function om(e,t,r,n){let o=Y(),i=Pt(),s=Eh(2);if(i.firstUpdatePass&&sm(i,e,s,n),t!==Gr&&Kg(o,s,t)){let a=i.data[yn()];dm(i,a,o,o[se],e,o[s+1]=fm(t,r),n,s)}}function im(e,t){return t>=e.expandoStartIndex}function sm(e,t,r,n){let o=e.data;if(o[r+1]===null){let i=o[yn()],s=im(e,r);hm(i,n)&&t===null&&!s&&(t=!1),t=am(o,i,t,n),tm(o,i,t,r,s,n)}}function am(e,t,r,n){let o=Sh(e),i=n?t.residualClasses:t.residualStyles;if(o===null)(n?t.classBindings:t.styleBindings)===0&&(r=Xo(null,e,t,r,n),r=pn(r,t.attrs,n),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(r=Xo(o,e,t,r,n),i===null){let u=um(e,t,n);u!==void 0&&Array.isArray(u)&&(u=Xo(null,e,t,u[1],n),u=pn(u,t.attrs,n),cm(e,t,n,u))}else i=lm(e,t,n)}return i!==void 0&&(n?t.residualClasses=i:t.residualStyles=i),r}function um(e,t,r){let n=r?t.classBindings:t.styleBindings;if(Rt(n)!==0)return e[ot(n)]}function cm(e,t,r,n){let o=r?t.classBindings:t.styleBindings;e[ot(o)]=n}function lm(e,t,r){let n,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0;){let u=e[o],c=Array.isArray(u),l=c?u[1]:u,d=l===null,f=r[o+1];f===Gr&&(f=d?Xe:void 0);let h=d?Go(f,n):l===n?f:void 0;if(c&&!Nr(h)&&(h=Go(u,n)),Nr(h)&&(a=h,s))return a;let m=e[o+1];o=s?ot(m):Rt(m)}if(t!==null){let u=i?t.residualClasses:t.residualStyles;u!=null&&(a=Go(u,n))}return a}function Nr(e){return e!==void 0}function fm(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Z(os(e)))),e}function hm(e,t){return(e.flags&(t?8:16))!==0}function pm(e,t,r,n,o,i){let s=t.consts,a=du(s,o),u=cs(t,e,2,n,a);return ng(t,r,u,du(s,i)),u.attrs!==null&&Mi(u,u.attrs,!1),u.mergedAttrs!==null&&Mi(u,u.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,u),u}function Lt(e,t,r,n){let o=Y(),i=Pt(),s=ze+e,a=o[se],u=i.firstCreatePass?pm(s,i,o,t,r,n):i.data[s],c=gm(i,o,u,a,t,e);o[s]=c;let l=tc(u);return Vr(u,!0),Kc(a,c,u),(u.flags&32)!==32&&yc()&&Zc(i,o,c,u),fh()===0&&At(c,o),hh(),l&&(Zp(i,o,u),cl(i,u,o)),n!==null&&Yp(o,u),Lt}function jt(){let e=Le();lc()?Dh():(e=e.parent,Vr(e,!1));let t=e;mh(t)&&vh(),ph();let r=Pt();return r.firstCreatePass&&(wc(r,e),ec(e)&&r.queries.elementEnd(e)),t.classesWithoutHost!=null&&Rh(t)&&Nu(r,t,Y(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&Oh(t)&&Nu(r,t,Y(),t.stylesWithoutHost,!1),jt}function hs(e,t,r,n){return Lt(e,t,r,n),jt(),hs}var gm=(e,t,r,n,o,i)=>(Dc(!0),Hc(n,o,xh()));function bl(){return Y()}var Rr="en-US";var mm=Rr;function vm(e){If(e,"Expected localeId to be defined"),typeof e=="string"&&(mm=e.toLowerCase().replace(/_/g,"-"))}function Cn(e){return!!e&&typeof e.then=="function"}function Ml(e){return!!e&&typeof e.subscribe=="function"}function Zr(e,t,r,n){let o=Y(),i=Pt(),s=Le();return Dm(i,o,o[se],s,e,t,n),Zr}function ym(e,t,r,n){let o=e.cleanup;if(o!=null)for(let i=0;iu?a[u]:null}typeof s=="string"&&(i+=2)}return null}function Dm(e,t,r,n,o,i,s){let a=tc(n),c=e.firstCreatePass&&vg(e),l=t[Ie],d=mg(t),f=!0;if(n.type&3||s){let N=Se(n,t),H=s?s(N):N,F=d.length,Q=s?le=>s(Me(le[n.index])):n.index,_e=null;if(!s&&a&&(_e=ym(e,t,o,n.index)),_e!==null){let le=_e.__ngLastListenerFn__||_e;le.__ngNextListenerFn__=i,_e.__ngLastListenerFn__=i,f=!1}else{i=Pu(n,t,l,i,!1);let le=r.listen(H,o,i);d.push(i,le),c&&c.push(o,Q,F,F+1)}}else i=Pu(n,t,l,i,!1);let h=n.outputs,m;if(f&&h!==null&&(m=h[o])){let N=m.length;if(N)for(let H=0;H-1?Ot(e.index,t):t;ds(a);let u=Ou(t,r,n,s),c=i.__ngNextListenerFn__;for(;c;)u=Ou(t,r,c,s)&&u,c=c.__ngNextListenerFn__;return o&&u===!1&&s.preventDefault(),u}}function ps(e){let t=wh();return uh(t,ze+e)}function gs(e,t=""){let r=Y(),n=Pt(),o=e+ze,i=n.firstCreatePass?cs(n,o,1,t,null):n.data[o],s=wm(n,r,i,t,e);r[o]=s,yc()&&Zc(n,r,s,i),Vr(i,!1)}var wm=(e,t,r,n,o)=>(Dc(!0),fp(t[se],n));var Ge=class{},gn=class{};var Ai=class extends Ge{constructor(t,r,n){super(),this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Ar(this);let o=Yu(t);this._bootstrapComponents=$c(o.bootstrap),this._r3Injector=jc(t,r,[{provide:Ge,useValue:this},{provide:Hr,useValue:this.componentFactoryResolver},...n],Z(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(r=>r()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},Ni=class extends gn{constructor(t){super(),this.moduleType=t}create(t){return new Ai(this.moduleType,t,[])}};var Or=class extends Ge{constructor(t){super(),this.componentFactoryResolver=new Ar(this),this.instance=null;let r=new dn([...t.providers,{provide:Ge,useValue:this},{provide:Hr,useValue:this.componentFactoryResolver}],t.parent||Ki(),t.debugName,new Set(["environment"]));this.injector=r,t.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function ms(e,t,r=null){return new Or({providers:e,parent:t,debugName:r,runEnvironmentInitializers:!0}).injector}var Cm=(()=>{let t=class t{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let o=Fc(!1,n.type),i=o.length>0?ms([o],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};t.\u0275prov=C({token:t,providedIn:"environment",factory:()=>new t(b(ae))});let e=t;return e})();function Yr(e){wl("NgStandalone"),e.getStandaloneInjector=t=>t.get(Cm).getOrCreateStandaloneInjector(e)}var Qr=(()=>{let t=class t{log(n){console.log(n)}warn(n){console.warn(n)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})(),Ri=class{constructor(t,r){this.ngModuleFactory=t,this.componentFactories=r}},vs=(()=>{let t=class t{compileModuleSync(n){return new Ni(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let o=this.compileModuleSync(n),i=Yu(n),s=$c(i.declarations).reduce((a,u)=>{let c=et(u);return c&&a.push(new hn(c)),a},[]);return new Ri(o,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Kr=(()=>{let t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new z(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Sl=new _("");var Tl=new _("Application Initializer"),xl=(()=>{let t=class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,o)=>{this.resolve=n,this.reject=o}),this.appInits=p(Tl,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let s=i();if(Cn(s))n.push(s);else if(Ml(s)){let a=new Promise((u,c)=>{s.subscribe({complete:u,error:c})});n.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{o()}).catch(i=>{this.reject(i)}),n.length===0&&o(),this.initialized=!0}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),ys=new _("appBootstrapListener");function Em(){ba(()=>{throw new y(600,!1)})}function Im(e){return e.isBoundToModule}function bm(e,t,r){try{let n=r();return Cn(n)?n.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):n}catch(n){throw t.runOutsideAngular(()=>e.handleError(n)),n}}var En=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=p(nl),this.afterRenderEffectManager=p(Cl),this.componentTypes=[],this.components=[],this.isStable=p(Kr).hasPendingTasks.pipe(T(n=>!n)),this._injector=p(ae)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,o){let i=n instanceof xr;if(!this._injector.get(xl).done){let h=!i&&Zu(n),m=!1;throw new y(405,m)}let a;i?a=n:a=this._injector.get(Hr).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let u=Im(a)?void 0:this._injector.get(Ge),c=o||a.selector,l=a.create(Ft.NULL,[],c,u),d=l.location.nativeElement,f=l.injector.get(Sl,null);return f?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),ei(this.components,l),f?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new y(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{try{let n=this.afterRenderEffectManager.execute()}catch(n){this.internalErrorHandler(n)}this._runningTick=!1}}attachView(n){let o=n;this._views.push(o),o.attachToAppRef(this)}detachView(n){let o=n;ei(this._views,o),o.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let o=this._injector.get(ys,[]);[...this._bootstrapListeners,...o].forEach(i=>i(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._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>ei(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new y(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function ei(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}var Mm=(()=>{let t=class t{constructor(){this.zone=p(L),this.applicationRef=p(En)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Sm(e){return[{provide:L,useFactory:e},{provide:_t,multi:!0,useFactory:()=>{let t=p(Mm,{optional:!0});return()=>t.initialize()}},{provide:_t,multi:!0,useFactory:()=>{let t=p(Am);return()=>{t.initialize()}}},{provide:nl,useFactory:Tm}]}function Tm(){let e=p(L),t=p(Pe);return r=>e.runOutsideAngular(()=>t.handleError(r))}function xm(e){let t=Sm(()=>new L(_m(e)));return $r([[],t])}function _m(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var Am=(()=>{let t=class t{constructor(){this.subscription=new j,this.initialized=!1,this.zone=p(L),this.pendingTasks=p(Kr)}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(()=>{L.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{L.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Nm(){return typeof $localize<"u"&&$localize.locale||Rr}var Ds=new _("LocaleId",{providedIn:"root",factory:()=>p(Ds,I.Optional|I.SkipSelf)||Nm()});var _l=new _("PlatformDestroyListeners");var vr=null;function Rm(e=[],t){return Ft.create({name:t,providers:[{provide:Br,useValue:"platform"},{provide:_l,useValue:new Set([()=>vr=null])},...e]})}function Om(e=[]){if(vr)return vr;let t=Rm(e);return vr=t,Em(),Pm(t),t}function Pm(e){e.get(Xi,null)?.forEach(r=>r())}function Al(e){try{let{rootComponent:t,appProviders:r,platformProviders:n}=e,o=Om(n),i=[xm(),...r||[]],a=new Or({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,u=a.get(L);return u.run(()=>{a.resolveInjectorInitializers();let c=a.get(Pe,null),l;u.runOutsideAngular(()=>{l=u.onError.subscribe({next:h=>{c.handleError(h)}})});let d=()=>a.destroy(),f=o.get(_l);return f.add(d),a.onDestroy(()=>{l.unsubscribe(),f.delete(d)}),bm(c,u,()=>{let h=a.get(xl);return h.runInitializers(),h.donePromise.then(()=>{let m=a.get(Ds,Rr);vm(m||Rr);let N=a.get(En);return t!==void 0&&N.bootstrap(t),N})})})}catch(t){return Promise.reject(t)}}var ws=null;function Vt(){return ws}function Ll(e){ws||(ws=e)}var Xr=class{},ee=new _("DocumentToken"),jl=(()=>{let t=class t{historyGo(n){throw new Error("Not implemented")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:()=>p(jm),providedIn:"platform"});let e=t;return e})();var jm=(()=>{let t=class t extends jl{constructor(){super(),this._doc=p(ee),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Vt().getBaseHref(this._doc)}onPopState(n){let o=Vt().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",n,!1),()=>o.removeEventListener("popstate",n)}onHashChange(n){let o=Vt().getGlobalEventTarget(this._doc,"window");return o.addEventListener("hashchange",n,!1),()=>o.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,o,i){this._history.pushState(n,o,i)}replaceState(n,o,i){this._history.replaceState(n,o,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:()=>new t,providedIn:"platform"});let e=t;return e})();function Vl(e,t){if(e.length==0)return t;if(t.length==0)return e;let r=0;return e.endsWith("/")&&r++,t.startsWith("/")&&r++,r==2?e+t.substring(1):r==1?e+t:e+"/"+t}function Nl(e){let t=e.match(/#|\?|$/),r=t&&t.index||e.length,n=r-(e[r-1]==="/"?1:0);return e.slice(0,n)+e.slice(r)}function st(e){return e&&e[0]!=="?"?"?"+e:e}var to=(()=>{let t=class t{historyGo(n){throw new Error("Not implemented")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:()=>p($l),providedIn:"root"});let e=t;return e})(),Vm=new _("appBaseHref"),$l=(()=>{let t=class t extends to{constructor(n,o){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??p(ee).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 Vl(this._baseHref,n)}path(n=!1){let o=this._platformLocation.pathname+st(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${o}${i}`:o}pushState(n,o,i,s){let a=this.prepareExternalUrl(i+st(s));this._platformLocation.pushState(n,o,a)}replaceState(n,o,i,s){let a=this.prepareExternalUrl(i+st(s));this._platformLocation.replaceState(n,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};t.\u0275fac=function(o){return new(o||t)(b(jl),b(Vm,8))},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var In=(()=>{let t=class t{constructor(n){this._subject=new ge,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let o=this._locationStrategy.getBaseHref();this._basePath=Um(Nl(Rl(o))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,o=""){return this.path()==this.normalize(n+st(o))}normalize(n){return t.stripTrailingSlash(Bm(this._basePath,Rl(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,o="",i=null){this._locationStrategy.pushState(i,"",n,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+st(o)),i)}replaceState(n,o="",i=null){this._locationStrategy.replaceState(i,"",n,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+st(o)),i)}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._urlChangeSubscription=this.subscribe(o=>{this._notifyUrlChangeListeners(o.url,o.state)})),()=>{let o=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(o,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",o){this._urlChangeListeners.forEach(i=>i(n,o))}subscribe(n,o,i){return this._subject.subscribe({next:n,error:o,complete:i})}};t.normalizeQueryParams=st,t.joinWithSlash=Vl,t.stripTrailingSlash=Nl,t.\u0275fac=function(o){return new(o||t)(b(to))},t.\u0275prov=C({token:t,factory:()=>$m(),providedIn:"root"});let e=t;return e})();function $m(){return new In(b(to))}function Bm(e,t){if(!e||!t.startsWith(e))return t;let r=t.substring(e.length);return r===""||["/",";","?","#"].includes(r[0])?r:t}function Rl(e){return e.replace(/\/index.html$/,"")}function Um(e){if(new RegExp("^(https?:)?//").test(e)){let[,r]=e.split(/\/\/[^\/]+/);return r}return e}function Bl(e,t){t=encodeURIComponent(t);for(let r of e.split(";")){let n=r.indexOf("="),[o,i]=n==-1?[r,""]:[r.slice(0,n),r.slice(n+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var Ul="browser",Hm="server";function Cs(e){return e===Hm}var eo=class{};var bs=class extends Xr{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Ms=class e extends bs{static makeCurrent(){Ll(new e)}onAndCancel(t,r,n){return t.addEventListener(r,n),()=>{t.removeEventListener(r,n)}}dispatchEvent(t,r){t.dispatchEvent(r)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,r){return r=r||this.getDefaultDocument(),r.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,r){return r==="window"?window:r==="document"?t:r==="body"?t.body:null}getBaseHref(t){let r=Gm();return r==null?null:Wm(r)}resetBaseElement(){bn=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Bl(document.cookie,t)}},bn=null;function Gm(){return bn=bn||document.querySelector("base"),bn?bn.getAttribute("href"):null}function Wm(e){return new URL(e,document.baseURI).pathname}var qm=(()=>{let t=class t{build(){return new XMLHttpRequest}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac});let e=t;return e})(),Ss=new _("EventManagerPlugins"),Wl=(()=>{let t=class t{constructor(n,o){this._zone=o,this._eventNameToPlugin=new Map,n.forEach(i=>{i.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,o,i){return this._findPluginFor(o).addEventListener(n,o,i)}getZone(){return this._zone}_findPluginFor(n){let o=this._eventNameToPlugin.get(n);if(o)return o;if(o=this._plugins.find(s=>s.supports(n)),!o)throw new y(5101,!1);return this._eventNameToPlugin.set(n,o),o}};t.\u0275fac=function(o){return new(o||t)(b(Ss),b(L))},t.\u0275prov=C({token:t,factory:t.\u0275fac});let e=t;return e})(),no=class{constructor(t){this._doc=t}},Es="ng-app-id",ql=(()=>{let t=class t{constructor(n,o,i,s={}){this.doc=n,this.appId=o,this.nonce=i,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Cs(s),this.resetHostNodes()}addStyles(n){for(let o of n)this.changeUsageCount(o,1)===1&&this.onStyleAdded(o)}removeStyles(n){for(let o of n)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(o=>o.remove()),n.clear());for(let o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let o of this.getAllStyles())this.addStyleToHost(n,o)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let o of this.hostNodes)this.addStyleToHost(o,n)}onStyleRemoved(n){let o=this.styleRef;o.get(n)?.elements?.forEach(i=>i.remove()),o.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${Es}="${this.appId}"]`);if(n?.length){let o=new Map;return n.forEach(i=>{i.textContent!=null&&o.set(i.textContent,i)}),o}return null}changeUsageCount(n,o){let i=this.styleRef;if(i.has(n)){let s=i.get(n);return s.usage+=o,s.usage}return i.set(n,{usage:o,elements:[]}),o}getStyleElement(n,o){let i=this.styleNodesInDOM,s=i?.get(o);if(s?.parentNode===n)return i.delete(o),s.removeAttribute(Es),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(Es,this.appId),n.appendChild(a),a}}addStyleToHost(n,o){let i=this.getStyleElement(n,o),s=this.styleRef,a=s.get(o)?.elements;a?a.push(i):s.set(o,{elements:[i],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};t.\u0275fac=function(o){return new(o||t)(b(ee),b(Ji),b(es,8),b(kt))},t.\u0275prov=C({token:t,factory:t.\u0275fac});let e=t;return e})(),Is={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/MathML/"},xs=/%COMP%/g,Zl="%COMP%",Zm=`_nghost-${Zl}`,Ym=`_ngcontent-${Zl}`,Qm=!0,Km=new _("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>Qm});function Jm(e){return Ym.replace(xs,e)}function Xm(e){return Zm.replace(xs,e)}function Yl(e,t){return t.map(r=>r.replace(xs,e))}var Hl=(()=>{let t=class t{constructor(n,o,i,s,a,u,c,l=null){this.eventManager=n,this.sharedStylesHost=o,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=u,this.ngZone=c,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=Cs(u),this.defaultRenderer=new Mn(n,a,c,this.platformIsServer)}createRenderer(n,o){if(!n||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===Ee.ShadowDom&&(o=k(g({},o),{encapsulation:Ee.Emulated}));let i=this.getOrCreateRenderer(n,o);return i instanceof ro?i.applyToHost(n):i instanceof Sn&&i.applyStyles(),i}getOrCreateRenderer(n,o){let i=this.rendererByCompId,s=i.get(o.id);if(!s){let a=this.doc,u=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(o.encapsulation){case Ee.Emulated:s=new ro(c,l,o,this.appId,d,a,u,f);break;case Ee.ShadowDom:return new Ts(c,l,n,o,a,u,this.nonce,f);default:s=new Sn(c,l,o,d,a,u,f);break}i.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};t.\u0275fac=function(o){return new(o||t)(b(Wl),b(ql),b(Ji),b(Km),b(ee),b(kt),b(L),b(es))},t.\u0275prov=C({token:t,factory:t.\u0275fac});let e=t;return e})(),Mn=class{constructor(t,r,n,o){this.eventManager=t,this.doc=r,this.ngZone=n,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,r){return r?this.doc.createElementNS(Is[r]||r,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,r){(zl(t)?t.content:t).appendChild(r)}insertBefore(t,r,n){t&&(zl(t)?t.content:t).insertBefore(r,n)}removeChild(t,r){t&&t.removeChild(r)}selectRootElement(t,r){let n=typeof t=="string"?this.doc.querySelector(t):t;if(!n)throw new y(-5104,!1);return r||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,r,n,o){if(o){r=o+":"+r;let i=Is[o];i?t.setAttributeNS(i,r,n):t.setAttribute(r,n)}else t.setAttribute(r,n)}removeAttribute(t,r,n){if(n){let o=Is[n];o?t.removeAttributeNS(o,r):t.removeAttribute(`${n}:${r}`)}else t.removeAttribute(r)}addClass(t,r){t.classList.add(r)}removeClass(t,r){t.classList.remove(r)}setStyle(t,r,n,o){o&(Oe.DashCase|Oe.Important)?t.style.setProperty(r,n,o&Oe.Important?"important":""):t.style[r]=n}removeStyle(t,r,n){n&Oe.DashCase?t.style.removeProperty(r):t.style[r]=""}setProperty(t,r,n){t!=null&&(t[r]=n)}setValue(t,r){t.nodeValue=r}listen(t,r,n){if(typeof t=="string"&&(t=Vt().getGlobalEventTarget(this.doc,t),!t))throw new Error(`Unsupported event target ${t} for event ${r}`);return this.eventManager.addEventListener(t,r,this.decoratePreventDefault(n))}decoratePreventDefault(t){return r=>{if(r==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(r)):t(r))===!1&&r.preventDefault()}}};function zl(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Ts=class extends Mn{constructor(t,r,n,o,i,s,a,u){super(t,i,s,u),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=Yl(o.id,o.styles);for(let l of c){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,r){return super.appendChild(this.nodeOrShadowRoot(t),r)}insertBefore(t,r,n){return super.insertBefore(this.nodeOrShadowRoot(t),r,n)}removeChild(t,r){return super.removeChild(this.nodeOrShadowRoot(t),r)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Sn=class extends Mn{constructor(t,r,n,o,i,s,a,u){super(t,i,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=o,this.styles=u?Yl(u,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},ro=class extends Sn{constructor(t,r,n,o,i,s,a,u){let c=o+"-"+n.id;super(t,r,n,i,s,a,u,c),this.contentAttr=Jm(c),this.hostAttr=Xm(c)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,r){let n=super.createElement(t,r);return super.setAttribute(n,this.contentAttr,""),n}},ev=(()=>{let t=class t extends no{constructor(n){super(n)}supports(n){return!0}addEventListener(n,o,i){return n.addEventListener(o,i,!1),()=>this.removeEventListener(n,o,i)}removeEventListener(n,o,i){return n.removeEventListener(o,i)}};t.\u0275fac=function(o){return new(o||t)(b(ee))},t.\u0275prov=C({token:t,factory:t.\u0275fac});let e=t;return e})(),Gl=["alt","control","meta","shift"],tv={"\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"},nv={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},rv=(()=>{let t=class t extends no{constructor(n){super(n)}supports(n){return t.parseEventName(n)!=null}addEventListener(n,o,i){let s=t.parseEventName(o),a=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Vt().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let o=n.toLowerCase().split("."),i=o.shift();if(o.length===0||!(i==="keydown"||i==="keyup"))return null;let s=t._normalizeKey(o.pop()),a="",u=o.indexOf("code");if(u>-1&&(o.splice(u,1),a="code."),Gl.forEach(l=>{let d=o.indexOf(l);d>-1&&(o.splice(d,1),a+=l+".")}),a+=s,o.length!=0||s.length===0)return null;let c={};return c.domEventName=i,c.fullKey=a,c}static matchEventFullKeyCode(n,o){let i=tv[n.key]||n.key,s="";return o.indexOf("code.")>-1&&(i=n.code,s="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Gl.forEach(a=>{if(a!==i){let u=nv[a];u(n)&&(s+=a+".")}}),s+=i,s===o)}static eventCallback(n,o,i){return s=>{t.matchEventFullKeyCode(s,n)&&i.runGuarded(()=>o(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};t.\u0275fac=function(o){return new(o||t)(b(ee))},t.\u0275prov=C({token:t,factory:t.\u0275fac});let e=t;return e})();function Ql(e,t){return Al(g({rootComponent:e},ov(t)))}function ov(e){return{appProviders:[...cv,...e?.providers??[]],platformProviders:uv}}function iv(){Ms.makeCurrent()}function sv(){return new Pe}function av(){return Vc(document),document}var uv=[{provide:kt,useValue:Ul},{provide:Xi,useValue:iv,multi:!0},{provide:ee,useFactory:av,deps:[]}];var cv=[{provide:Br,useValue:"root"},{provide:Pe,useFactory:sv,deps:[]},{provide:Ss,useClass:ev,multi:!0,deps:[ee,L,kt]},{provide:Ss,useClass:rv,multi:!0,deps:[ee]},Hl,ql,Wl,{provide:fn,useExisting:Hl},{provide:eo,useClass:qm,deps:[]},[]];function lv(){return new _s(b(ee))}var _s=(()=>{let t=class t{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}};t.\u0275fac=function(o){return new(o||t)(b(ee))},t.\u0275prov=C({token:t,factory:function(o){let i=null;return o?i=new o:i=lv(),i},providedIn:"root"});let e=t;return e})();var E="primary",Bn=Symbol("RouteTitle"),Ps=class{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let r=this.params[t];return Array.isArray(r)?r[0]:r}return null}getAll(t){if(this.has(t)){let r=this.params[t];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function zt(e){return new Ps(e)}function fv(e,t,r){let n=r.path.split("/");if(n.length>e.length||r.pathMatch==="full"&&(t.hasChildren()||n.lengthn[i]===o)}else return e===t}function rd(e){return e.length>0?e[e.length-1]:null}function Ze(e){return Fo(e)?e:Cn(e)?V(Promise.resolve(e)):D(e)}var pv={exact:id,subset:sd},od={exact:gv,subset:mv,ignored:()=>!0};function Kl(e,t,r){return pv[r.paths](e.root,t.root,r.matrixParams)&&od[r.queryParams](e.queryParams,t.queryParams)&&!(r.fragment==="exact"&&e.fragment!==t.fragment)}function gv(e,t){return Te(e,t)}function id(e,t,r){if(!ut(e.segments,t.segments)||!so(e.segments,t.segments,r)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let n in t.children)if(!e.children[n]||!id(e.children[n],t.children[n],r))return!1;return!0}function mv(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(r=>nd(e[r],t[r]))}function sd(e,t,r){return ad(e,t,t.segments,r)}function ad(e,t,r,n){if(e.segments.length>r.length){let o=e.segments.slice(0,r.length);return!(!ut(o,r)||t.hasChildren()||!so(o,r,n))}else if(e.segments.length===r.length){if(!ut(e.segments,r)||!so(e.segments,r,n))return!1;for(let o in t.children)if(!e.children[o]||!sd(e.children[o],t.children[o],n))return!1;return!0}else{let o=r.slice(0,e.segments.length),i=r.slice(e.segments.length);return!ut(e.segments,o)||!so(e.segments,o,n)||!e.children[E]?!1:ad(e.children[E],t,i,n)}}function so(e,t,r){return t.every((n,o)=>od[r](e[o].parameters,n.parameters))}var We=class{constructor(t=new R([],{}),r={},n=null){this.root=t,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap??=zt(this.queryParams),this._queryParamMap}toString(){return Dv.serialize(this)}},R=class{constructor(t,r){this.segments=t,this.children=r,this.parent=null,Object.values(r).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return ao(this)}},at=class{constructor(t,r){this.path=t,this.parameters=r}get parameterMap(){return this._parameterMap??=zt(this.parameters),this._parameterMap}toString(){return cd(this)}};function vv(e,t){return ut(e,t)&&e.every((r,n)=>Te(r.parameters,t[n].parameters))}function ut(e,t){return e.length!==t.length?!1:e.every((r,n)=>r.path===t[n].path)}function yv(e,t){let r=[];return Object.entries(e.children).forEach(([n,o])=>{n===E&&(r=r.concat(t(o,n)))}),Object.entries(e.children).forEach(([n,o])=>{n!==E&&(r=r.concat(t(o,n)))}),r}var aa=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:()=>new co,providedIn:"root"});let e=t;return e})(),co=class{parse(t){let r=new Ls(t);return new We(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(t){let r=`/${Tn(t.root,!0)}`,n=Ev(t.queryParams),o=typeof t.fragment=="string"?`#${wv(t.fragment)}`:"";return`${r}${n}${o}`}},Dv=new co;function ao(e){return e.segments.map(t=>cd(t)).join("/")}function Tn(e,t){if(!e.hasChildren())return ao(e);if(t){let r=e.children[E]?Tn(e.children[E],!1):"",n=[];return Object.entries(e.children).forEach(([o,i])=>{o!==E&&n.push(`${o}:${Tn(i,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=yv(e,(n,o)=>o===E?[Tn(e.children[E],!1)]:[`${o}:${Tn(n,!1)}`]);return Object.keys(e.children).length===1&&e.children[E]!=null?`${ao(e)}/${r[0]}`:`${ao(e)}/(${r.join("//")})`}}function ud(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function oo(e){return ud(e).replace(/%3B/gi,";")}function wv(e){return encodeURI(e)}function ks(e){return ud(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function uo(e){return decodeURIComponent(e)}function Jl(e){return uo(e.replace(/\+/g,"%20"))}function cd(e){return`${ks(e.path)}${Cv(e.parameters)}`}function Cv(e){return Object.entries(e).map(([t,r])=>`;${ks(t)}=${ks(r)}`).join("")}function Ev(e){let t=Object.entries(e).map(([r,n])=>Array.isArray(n)?n.map(o=>`${oo(r)}=${oo(o)}`).join("&"):`${oo(r)}=${oo(n)}`).filter(r=>r);return t.length?`?${t.join("&")}`:""}var Iv=/^[^\/()?;#]+/;function As(e){let t=e.match(Iv);return t?t[0]:""}var bv=/^[^\/()?;=#]+/;function Mv(e){let t=e.match(bv);return t?t[0]:""}var Sv=/^[^=?&#]+/;function Tv(e){let t=e.match(Sv);return t?t[0]:""}var xv=/^[^&#]+/;function _v(e){let t=e.match(xv);return t?t[0]:""}var Ls=class{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new R([],{}):new R([],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 r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(r).length>0)&&(n[E]=new R(t,r)),n}parseSegment(){let t=As(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new y(4009,!1);return this.capture(t),new at(uo(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let r=Mv(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let o=As(this.remaining);o&&(n=o,this.capture(n))}t[uo(r)]=uo(n)}parseQueryParam(t){let r=Tv(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let s=_v(this.remaining);s&&(n=s,this.capture(n))}let o=Jl(r),i=Jl(n);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 r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=As(this.remaining),o=this.remaining[n.length];if(o!=="/"&&o!==")"&&o!==";")throw new y(4010,!1);let i;n.indexOf(":")>-1?(i=n.slice(0,n.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=E);let s=this.parseChildren();r[i]=Object.keys(s).length===1?s[E]:new R([],s),this.consumeOptional("//")}return r}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 y(4011,!1)}};function ld(e){return e.segments.length>0?new R([],{[E]:e}):e}function dd(e){let t={};for(let[n,o]of Object.entries(e.children)){let i=dd(o);if(n===E&&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[n]=i)}let r=new R(e.segments,t);return Av(r)}function Av(e){if(e.numberOfChildren===1&&e.children[E]){let t=e.children[E];return new R(e.segments.concat(t.segments),t.children)}return e}function Gt(e){return e instanceof We}function Nv(e,t,r=null,n=null){let o=fd(e);return hd(o,t,r,n)}function fd(e){let t;function r(i){let s={};for(let u of i.children){let c=r(u);s[u.outlet]=c}let a=new R(i.url,s);return i===e&&(t=a),a}let n=r(e.root),o=ld(n);return t??o}function hd(e,t,r,n){let o=e;for(;o.parent;)o=o.parent;if(t.length===0)return Ns(o,o,o,r,n);let i=Rv(t);if(i.toRoot())return Ns(o,o,new R([],{}),r,n);let s=Ov(i,o,e),a=s.processChildren?An(s.segmentGroup,s.index,i.commands):gd(s.segmentGroup,s.index,i.commands);return Ns(o,s.segmentGroup,a,r,n)}function lo(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function On(e){return typeof e=="object"&&e!=null&&e.outlets}function Ns(e,t,r,n,o){let i={};n&&Object.entries(n).forEach(([u,c])=>{i[u]=Array.isArray(c)?c.map(l=>`${l}`):`${c}`});let s;e===t?s=r:s=pd(e,t,r);let a=ld(dd(s));return new We(a,i,o)}function pd(e,t,r){let n={};return Object.entries(e.children).forEach(([o,i])=>{i===t?n[o]=r:n[o]=pd(i,t,r)}),new R(e.segments,n)}var fo=class{constructor(t,r,n){if(this.isAbsolute=t,this.numberOfDoubleDots=r,this.commands=n,t&&n.length>0&&lo(n[0]))throw new y(4003,!1);let o=n.find(On);if(o&&o!==rd(n))throw new y(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Rv(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new fo(!0,0,e);let t=0,r=!1,n=e.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([u,c])=>{a[u]=typeof c=="string"?c.split("/"):c}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,u)=>{u==0&&a==="."||(u==0&&a===""?r=!0:a===".."?t++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new fo(r,t,n)}var Ut=class{constructor(t,r,n){this.segmentGroup=t,this.processChildren=r,this.index=n}};function Ov(e,t,r){if(e.isAbsolute)return new Ut(t,!0,0);if(!r)return new Ut(t,!1,NaN);if(r.parent===null)return new Ut(r,!0,0);let n=lo(e.commands[0])?0:1,o=r.segments.length-1+n;return Pv(r,o,e.numberOfDoubleDots)}function Pv(e,t,r){let n=e,o=t,i=r;for(;i>o;){if(i-=o,n=n.parent,!n)throw new y(4005,!1);o=n.segments.length}return new Ut(n,!1,o-i)}function Fv(e){return On(e[0])?e[0].outlets:{[E]:e}}function gd(e,t,r){if(e??=new R([],{}),e.segments.length===0&&e.hasChildren())return An(e,t,r);let n=kv(e,t,r),o=r.slice(n.commandIndex);if(n.match&&n.pathIndexi!==E)&&e.children[E]&&e.numberOfChildren===1&&e.children[E].segments.length===0){let i=An(e.children[E],t,r);return new R(e.segments,i.children)}return Object.entries(n).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=gd(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{n[i]===void 0&&(o[i]=s)}),new R(e.segments,o)}}function kv(e,t,r){let n=0,o=t,i={match:!1,pathIndex:0,commandIndex:0};for(;o=r.length)return i;let s=e.segments[o],a=r[n];if(On(a))break;let u=`${a}`,c=n0&&u===void 0)break;if(u&&c&&typeof c=="object"&&c.outlets===void 0){if(!ed(u,c,s))return i;n+=2}else{if(!ed(u,{},s))return i;n++}o++}return{match:!0,pathIndex:o,commandIndex:n}}function js(e,t,r){let n=e.segments.slice(0,t),o=0;for(;o{typeof n=="string"&&(n=[n]),n!==null&&(t[r]=js(new R([],{}),0,n))}),t}function Xl(e){let t={};return Object.entries(e).forEach(([r,n])=>t[r]=`${n}`),t}function ed(e,t,r){return e==r.path&&Te(t,r.parameters)}var Nn="imperative",G=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}(G||{}),ce=class{constructor(t,r){this.id=t,this.url=r}},Pn=class extends ce{constructor(t,r,n="imperative",o=null){super(t,r),this.type=G.NavigationStart,this.navigationTrigger=n,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},ct=class extends ce{constructor(t,r,n){super(t,r),this.urlAfterRedirects=n,this.type=G.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},ue=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(ue||{}),Vs=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(Vs||{}),qe=class extends ce{constructor(t,r,n,o){super(t,r),this.reason=n,this.code=o,this.type=G.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},lt=class extends ce{constructor(t,r,n,o){super(t,r),this.reason=n,this.code=o,this.type=G.NavigationSkipped}},Fn=class extends ce{constructor(t,r,n,o){super(t,r),this.error=n,this.target=o,this.type=G.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},ho=class extends ce{constructor(t,r,n,o){super(t,r),this.urlAfterRedirects=n,this.state=o,this.type=G.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},$s=class extends ce{constructor(t,r,n,o){super(t,r),this.urlAfterRedirects=n,this.state=o,this.type=G.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Bs=class extends ce{constructor(t,r,n,o,i){super(t,r),this.urlAfterRedirects=n,this.state=o,this.shouldActivate=i,this.type=G.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Us=class extends ce{constructor(t,r,n,o){super(t,r),this.urlAfterRedirects=n,this.state=o,this.type=G.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Hs=class extends ce{constructor(t,r,n,o){super(t,r),this.urlAfterRedirects=n,this.state=o,this.type=G.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},zs=class{constructor(t){this.route=t,this.type=G.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Gs=class{constructor(t){this.route=t,this.type=G.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Ws=class{constructor(t){this.snapshot=t,this.type=G.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},qs=class{constructor(t){this.snapshot=t,this.type=G.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Zs=class{constructor(t){this.snapshot=t,this.type=G.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ys=class{constructor(t){this.snapshot=t,this.type=G.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var kn=class{},Ln=class{constructor(t){this.url=t}};var Qs=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Do,this.attachRef=null}},Do=(()=>{let t=class t{constructor(){this.contexts=new Map}onChildOutletCreated(n,o){let i=this.getOrCreateContext(n);i.outlet=o,this.contexts.set(n,i)}onChildOutletDestroyed(n){let o=this.getContext(n);o&&(o.outlet=null,o.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let o=this.getContext(n);return o||(o=new Qs,this.contexts.set(n,o)),o}getContext(n){return this.contexts.get(n)||null}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),po=class{constructor(t){this._root=t}get root(){return this._root.value}parent(t){let r=this.pathFromRoot(t);return r.length>1?r[r.length-2]:null}children(t){let r=Ks(t,this._root);return r?r.children.map(n=>n.value):[]}firstChild(t){let r=Ks(t,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(t){let r=Js(t,this._root);return r.length<2?[]:r[r.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return Js(t,this._root).map(r=>r.value)}};function Ks(e,t){if(e===t.value)return t;for(let r of t.children){let n=Ks(e,r);if(n)return n}return null}function Js(e,t){if(e===t.value)return[t];for(let r of t.children){let n=Js(e,r);if(n.length)return n.unshift(t),n}return[]}var te=class{constructor(t,r){this.value=t,this.children=r}toString(){return`TreeNode(${this.value})`}};function Bt(e){let t={};return e&&e.children.forEach(r=>t[r.value.outlet]=r),t}var go=class extends po{constructor(t,r){super(t),this.snapshot=r,ca(this,t)}toString(){return this.snapshot.toString()}};function md(e){let t=jv(e),r=new z([new at("",{})]),n=new z({}),o=new z({}),i=new z({}),s=new z(""),a=new Wt(r,n,i,s,o,E,e,t.root);return a.snapshot=t.root,new go(new te(a,[]),t)}function jv(e){let t={},r={},n={},o="",i=new jn([],t,n,o,r,E,e,null,{});return new mo("",new te(i,[]))}var Wt=class{constructor(t,r,n,o,i,s,a,u){this.urlSubject=t,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(T(c=>c[Bn]))??D(void 0),this.url=t,this.params=r,this.queryParams=n,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(T(t=>zt(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(T(t=>zt(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function ua(e,t,r="emptyOnly"){let n,{routeConfig:o}=e;return t!==null&&(r==="always"||o?.path===""||!t.component&&!t.routeConfig?.loadComponent)?n={params:g(g({},t.params),e.params),data:g(g({},t.data),e.data),resolve:g(g(g(g({},e.data),t.data),o?.data),e._resolvedData)}:n={params:g({},e.params),data:g({},e.data),resolve:g(g({},e.data),e._resolvedData??{})},o&&yd(o)&&(n.resolve[Bn]=o.title),n}var jn=class{get title(){return this.data?.[Bn]}constructor(t,r,n,o,i,s,a,u,c){this.url=t,this.params=r,this.queryParams=n,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=u,this._resolve=c}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??=zt(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=zt(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(n=>n.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${r}')`}},mo=class extends po{constructor(t,r){super(r),this.url=t,ca(this,r)}toString(){return vd(this._root)}};function ca(e,t){t.value._routerState=e,t.children.forEach(r=>ca(e,r))}function vd(e){let t=e.children.length>0?` { ${e.children.map(vd).join(", ")} } `:"";return`${e.value}${t}`}function Rs(e){if(e.snapshot){let t=e.snapshot,r=e._futureSnapshot;e.snapshot=r,Te(t.queryParams,r.queryParams)||e.queryParamsSubject.next(r.queryParams),t.fragment!==r.fragment&&e.fragmentSubject.next(r.fragment),Te(t.params,r.params)||e.paramsSubject.next(r.params),hv(t.url,r.url)||e.urlSubject.next(r.url),Te(t.data,r.data)||e.dataSubject.next(r.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function Xs(e,t){let r=Te(e.params,t.params)&&vv(e.url,t.url),n=!e.parent!=!t.parent;return r&&!n&&(!e.parent||Xs(e.parent,t.parent))}function yd(e){return typeof e.title=="string"||e.title===null}var Vv=(()=>{let t=class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=E,this.activateEvents=new ge,this.deactivateEvents=new ge,this.attachEvents=new ge,this.detachEvents=new ge,this.parentContexts=p(Do),this.location=p(qr),this.changeDetector=p(Wr),this.environmentInjector=p(ae),this.inputBinder=p(la,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:o,previousValue:i}=n.name;if(o)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),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 y(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new y(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new y(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,o){this.activated=n,this._activatedRoute=o,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,o){if(this.isActivated)throw new y(4013,!1);this._activatedRoute=n;let i=this.location,a=n.snapshot.component,u=this.parentContexts.getOrCreateContext(this.name).children,c=new ea(n,u,i.injector);this.activated=i.createComponent(a,{index:i.length,injector:c,environmentInjector:o??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275dir=Li({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[jr]});let e=t;return e})(),ea=class{constructor(t,r,n){this.route=t,this.childContexts=r,this.parent=n}get(t,r){return t===Wt?this.route:t===Do?this.childContexts:this.parent.get(t,r)}},la=new _("");function $v(e,t,r){let n=Vn(e,t._root,r?r._root:void 0);return new go(n,t)}function Vn(e,t,r){if(r&&e.shouldReuseRoute(t.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=t.value;let o=Bv(e,t,r);return new te(n,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=>Vn(e,a)),s}}let n=Uv(t.value),o=t.children.map(i=>Vn(e,i));return new te(n,o)}}function Bv(e,t,r){return t.children.map(n=>{for(let o of r.children)if(e.shouldReuseRoute(n.value,o.value.snapshot))return Vn(e,n,o);return Vn(e,n)})}function Uv(e){return new Wt(new z(e.url),new z(e.params),new z(e.queryParams),new z(e.fragment),new z(e.data),e.outlet,e.component,e)}var Dd="ngNavigationCancelingError";function wd(e,t){let{redirectTo:r,navigationBehaviorOptions:n}=Gt(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=Cd(!1,ue.Redirect,t);return o.url=r,o.navigationBehaviorOptions=n,o}function Cd(e,t,r){let n=new Error("NavigationCancelingError: "+(e||""));return n[Dd]=!0,n.cancellationCode=t,r&&(n.url=r),n}function Hv(e){return Ed(e)&&Gt(e.url)}function Ed(e){return e&&e[Dd]}var zv=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=kr({type:t,selectors:[["ng-component"]],standalone:!0,features:[Yr],decls:1,vars:0,template:function(o,i){o&1&&hs(0,"router-outlet")},dependencies:[Vv],encapsulation:2});let e=t;return e})();function Gv(e,t){return e.providers&&!e._injector&&(e._injector=ms(e.providers,t,`Route: ${e.path}`)),e._injector??t}function da(e){let t=e.children&&e.children.map(da),r=t?k(g({},e),{children:t}):g({},e);return!r.component&&!r.loadComponent&&(t||r.loadChildren)&&r.outlet&&r.outlet!==E&&(r.component=zv),r}function xe(e){return e.outlet||E}function Wv(e,t){let r=e.filter(n=>xe(n)===t);return r.push(...e.filter(n=>xe(n)!==t)),r}function Un(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){let r=t.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var qv=(e,t,r,n)=>T(o=>(new ta(t,o.targetRouterState,o.currentRouterState,r,n).activate(e),o)),ta=class{constructor(t,r,n,o,i){this.routeReuseStrategy=t,this.futureState=r,this.currState=n,this.forwardEvent=o,this.inputBindingEnabled=i}activate(t){let r=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,n,t),Rs(this.futureState.root),this.activateChildRoutes(r,n,t)}deactivateChildRoutes(t,r,n){let o=Bt(r);t.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],n),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,n)})}deactivateRoutes(t,r,n){let o=t.value,i=r?r.value:null;if(o===i)if(o.component){let s=n.getContext(o.outlet);s&&this.deactivateChildRoutes(t,r,s.children)}else this.deactivateChildRoutes(t,r,n);else i&&this.deactivateRouteAndItsChildren(r,n)}deactivateRouteAndItsChildren(t,r){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,r):this.deactivateRouteAndOutlet(t,r)}detachAndStoreRouteSubtree(t,r){let n=r.getContext(t.value.outlet),o=n&&t.value.component?n.children:r,i=Bt(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,r){let n=r.getContext(t.value.outlet),o=n&&t.value.component?n.children:r,i=Bt(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(t,r,n){let o=Bt(r);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],n),this.forwardEvent(new Ys(i.value.snapshot))}),t.children.length&&this.forwardEvent(new qs(t.value.snapshot))}activateRoutes(t,r,n){let o=t.value,i=r?r.value:null;if(Rs(o),o===i)if(o.component){let s=n.getOrCreateContext(o.outlet);this.activateChildRoutes(t,r,s.children)}else this.activateChildRoutes(t,r,n);else if(o.component){let s=n.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),Rs(a.route.value),this.activateChildRoutes(t,null,s.children)}else{let a=Un(o.snapshot);s.attachRef=null,s.route=o,s.injector=a,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}}else this.activateChildRoutes(t,null,n)}},vo=class{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},Ht=class{constructor(t,r){this.component=t,this.route=r}};function Zv(e,t,r){let n=e._root,o=t?t._root:null;return xn(n,o,r,[n.value])}function Yv(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function Zt(e,t){let r=Symbol(),n=t.get(e,r);return n===r?typeof e=="function"&&!ju(e)?e:t.get(e):n}function xn(e,t,r,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=Bt(t);return e.children.forEach(s=>{Qv(s,i[s.value.outlet],r,n.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>Rn(a,r.getContext(s),o)),o}function Qv(e,t,r,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=e.value,s=t?t.value:null,a=r?r.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let u=Kv(s,i,i.routeConfig.runGuardsAndResolvers);u?o.canActivateChecks.push(new vo(n)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?xn(e,t,a?a.children:null,n,o):xn(e,t,r,n,o),u&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Ht(a.outlet.component,s))}else s&&Rn(t,a,o),o.canActivateChecks.push(new vo(n)),i.component?xn(e,null,a?a.children:null,n,o):xn(e,null,r,n,o);return o}function Kv(e,t,r){if(typeof r=="function")return r(e,t);switch(r){case"pathParamsChange":return!ut(e.url,t.url);case"pathParamsOrQueryParamsChange":return!ut(e.url,t.url)||!Te(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Xs(e,t)||!Te(e.queryParams,t.queryParams);case"paramsChange":default:return!Xs(e,t)}}function Rn(e,t,r){let n=Bt(e),o=e.value;Object.entries(n).forEach(([i,s])=>{o.component?t?Rn(s,t.children.getContext(i),r):Rn(s,null,r):Rn(s,t,r)}),o.component?t&&t.outlet&&t.outlet.isActivated?r.canDeactivateChecks.push(new Ht(t.outlet.component,o)):r.canDeactivateChecks.push(new Ht(null,o)):r.canDeactivateChecks.push(new Ht(null,o))}function Hn(e){return typeof e=="function"}function Jv(e){return typeof e=="boolean"}function Xv(e){return e&&Hn(e.canLoad)}function ey(e){return e&&Hn(e.canActivate)}function ty(e){return e&&Hn(e.canActivateChild)}function ny(e){return e&&Hn(e.canDeactivate)}function ry(e){return e&&Hn(e.canMatch)}function Id(e){return e instanceof Ne||e?.name==="EmptyError"}var io=Symbol("INITIAL_VALUE");function qt(){return he(e=>cr(e.map(t=>t.pipe(Re(1),$o(io)))).pipe(T(t=>{for(let r of t)if(r!==!0){if(r===io)return io;if(r===!1||r instanceof We)return r}return!0}),fe(t=>t!==io),Re(1)))}function oy(e,t){return $(r=>{let{targetSnapshot:n,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=r;return s.length===0&&i.length===0?D(k(g({},r),{guardsResult:!0})):iy(s,n,o,e).pipe($(a=>a&&Jv(a)?sy(n,i,e,t):D(a)),T(a=>k(g({},r),{guardsResult:a})))})}function iy(e,t,r,n){return V(e).pipe($(o=>dy(o.component,o.route,r,t,n)),De(o=>o!==!0,!0))}function sy(e,t,r,n){return V(t).pipe(wt(o=>Dt(uy(o.route.parent,n),ay(o.route,n),ly(e,o.path,r),cy(e,o.route,r))),De(o=>o!==!0,!0))}function ay(e,t){return e!==null&&t&&t(new Zs(e)),D(!0)}function uy(e,t){return e!==null&&t&&t(new Ws(e)),D(!0)}function cy(e,t,r){let n=t.routeConfig?t.routeConfig.canActivate:null;if(!n||n.length===0)return D(!0);let o=n.map(i=>lr(()=>{let s=Un(t)??r,a=Zt(i,s),u=ey(a)?a.canActivate(t,e):it(s,()=>a(t,e));return Ze(u).pipe(De())}));return D(o).pipe(qt())}function ly(e,t,r){let n=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>Yv(s)).filter(s=>s!==null).map(s=>lr(()=>{let a=s.guards.map(u=>{let c=Un(s.node)??r,l=Zt(u,c),d=ty(l)?l.canActivateChild(n,e):it(c,()=>l(n,e));return Ze(d).pipe(De())});return D(a).pipe(qt())}));return D(i).pipe(qt())}function dy(e,t,r,n,o){let i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!i||i.length===0)return D(!0);let s=i.map(a=>{let u=Un(t)??o,c=Zt(a,u),l=ny(c)?c.canDeactivate(e,t,r,n):it(u,()=>c(e,t,r,n));return Ze(l).pipe(De())});return D(s).pipe(qt())}function fy(e,t,r,n){let o=t.canLoad;if(o===void 0||o.length===0)return D(!0);let i=o.map(s=>{let a=Zt(s,e),u=Xv(a)?a.canLoad(t,r):it(e,()=>a(t,r));return Ze(u)});return D(i).pipe(qt(),bd(n))}function bd(e){return No(U(t=>{if(Gt(t))throw wd(e,t)}),T(t=>t===!0))}function hy(e,t,r,n){let o=t.canMatch;if(!o||o.length===0)return D(!0);let i=o.map(s=>{let a=Zt(s,e),u=ry(a)?a.canMatch(t,r):it(e,()=>a(t,r));return Ze(u)});return D(i).pipe(qt(),bd(n))}var $n=class{constructor(t){this.segmentGroup=t||null}},yo=class extends Error{constructor(t){super(),this.urlTree=t}};function $t(e){return yt(new $n(e))}function py(e){return yt(new y(4e3,!1))}function gy(e){return yt(Cd(!1,ue.GuardRejected))}var na=class{constructor(t,r){this.urlSerializer=t,this.urlTree=r}lineralizeSegments(t,r){let n=[],o=r.root;for(;;){if(n=n.concat(o.segments),o.numberOfChildren===0)return D(n);if(o.numberOfChildren>1||!o.children[E])return py(t.redirectTo);o=o.children[E]}}applyRedirectCommands(t,r,n){let o=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),t,n);if(r.startsWith("/"))throw new yo(o);return o}applyRedirectCreateUrlTree(t,r,n,o){let i=this.createSegmentGroup(t,r.root,n,o);return new We(i,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(t,r){let n={};return Object.entries(t).forEach(([o,i])=>{if(typeof i=="string"&&i.startsWith(":")){let a=i.substring(1);n[o]=r[a]}else n[o]=i}),n}createSegmentGroup(t,r,n,o){let i=this.createSegments(t,r.segments,n,o),s={};return Object.entries(r.children).forEach(([a,u])=>{s[a]=this.createSegmentGroup(t,u,n,o)}),new R(i,s)}createSegments(t,r,n,o){return r.map(i=>i.path.startsWith(":")?this.findPosParam(t,i,o):this.findOrReturn(i,n))}findPosParam(t,r,n){let o=n[r.path.substring(1)];if(!o)throw new y(4001,!1);return o}findOrReturn(t,r){let n=0;for(let o of r){if(o.path===t.path)return r.splice(n),o;n++}return t}},ra={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function my(e,t,r,n,o){let i=fa(e,t,r);return i.matched?(n=Gv(t,n),hy(n,t,r,o).pipe(T(s=>s===!0?i:g({},ra)))):D(i)}function fa(e,t,r){if(t.path==="**")return vy(r);if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||r.length>0)?g({},ra):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let o=(t.matcher||fv)(r,e,t);if(!o)return g({},ra);let i={};Object.entries(o.posParams??{}).forEach(([a,u])=>{i[a]=u.path});let s=o.consumed.length>0?g(g({},i),o.consumed[o.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:r.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function vy(e){return{matched:!0,parameters:e.length>0?rd(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function td(e,t,r,n){return r.length>0&&wy(e,r,n)?{segmentGroup:new R(t,Dy(n,new R(r,e.children))),slicedSegments:[]}:r.length===0&&Cy(e,r,n)?{segmentGroup:new R(e.segments,yy(e,r,n,e.children)),slicedSegments:r}:{segmentGroup:new R(e.segments,e.children),slicedSegments:r}}function yy(e,t,r,n){let o={};for(let i of r)if(wo(e,t,i)&&!n[xe(i)]){let s=new R([],{});o[xe(i)]=s}return g(g({},n),o)}function Dy(e,t){let r={};r[E]=t;for(let n of e)if(n.path===""&&xe(n)!==E){let o=new R([],{});r[xe(n)]=o}return r}function wy(e,t,r){return r.some(n=>wo(e,t,n)&&xe(n)!==E)}function Cy(e,t,r){return r.some(n=>wo(e,t,n))}function wo(e,t,r){return(e.hasChildren()||t.length>0)&&r.pathMatch==="full"?!1:r.path===""}function Ey(e,t,r,n){return xe(e)!==n&&(n===E||!wo(t,r,e))?!1:fa(t,e,r).matched}function Iy(e,t,r){return t.length===0&&!e.children[r]}var oa=class{};function by(e,t,r,n,o,i,s="emptyOnly"){return new ia(e,t,r,n,o,s,i).recognize()}var My=31,ia=class{constructor(t,r,n,o,i,s,a){this.injector=t,this.configLoader=r,this.rootComponentType=n,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new na(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new y(4002,`'${t.segmentGroup}'`)}recognize(){let t=td(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(T(r=>{let n=new jn([],Object.freeze({}),Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,{},E,this.rootComponentType,null,{}),o=new te(n,r),i=new mo("",o),s=Nv(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(i._root,null),{state:i,tree:s}}))}match(t){return this.processSegmentGroup(this.injector,this.config,t,E).pipe(Ve(n=>{if(n instanceof yo)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof $n?this.noMatchError(n):n}))}inheritParamsAndData(t,r){let n=t.value,o=ua(n,r,this.paramsInheritanceStrategy);n.params=Object.freeze(o.params),n.data=Object.freeze(o.data),t.children.forEach(i=>this.inheritParamsAndData(i,n))}processSegmentGroup(t,r,n,o){return n.segments.length===0&&n.hasChildren()?this.processChildren(t,r,n):this.processSegment(t,r,n,n.segments,o,!0).pipe(T(i=>i instanceof te?[i]:[]))}processChildren(t,r,n){let o=[];for(let i of Object.keys(n.children))i==="primary"?o.unshift(i):o.push(i);return V(o).pipe(wt(i=>{let s=n.children[i],a=Wv(r,i);return this.processSegmentGroup(t,a,s,i)}),Vo((i,s)=>(i.push(...s),i)),$e(null),jo(),$(i=>{if(i===null)return $t(n);let s=Md(i);return Sy(s),D(s)}))}processSegment(t,r,n,o,i,s){return V(r).pipe(wt(a=>this.processSegmentAgainstRoute(a._injector??t,r,a,n,o,i,s).pipe(Ve(u=>{if(u instanceof $n)return D(null);throw u}))),De(a=>!!a),Ve(a=>{if(Id(a))return Iy(n,o,i)?D(new oa):$t(n);throw a}))}processSegmentAgainstRoute(t,r,n,o,i,s,a){return Ey(n,o,i,s)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(t,o,n,i,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,o,r,n,i,s):$t(o):$t(o)}expandSegmentAgainstRouteUsingRedirect(t,r,n,o,i,s){let{matched:a,consumedSegments:u,positionalParamSegments:c,remainingSegments:l}=fa(r,o,i);if(!a)return $t(r);o.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>My&&(this.allowRedirects=!1));let d=this.applyRedirects.applyRedirectCommands(u,o.redirectTo,c);return this.applyRedirects.lineralizeSegments(o,d).pipe($(f=>this.processSegment(t,n,r,f.concat(l),s,!1)))}matchSegmentAgainstRoute(t,r,n,o,i){let s=my(r,n,o,t,this.urlSerializer);return n.path==="**"&&(r.children={}),s.pipe(he(a=>a.matched?(t=n._injector??t,this.getChildConfig(t,n,o).pipe(he(({routes:u})=>{let c=n._loadedInjector??t,{consumedSegments:l,remainingSegments:d,parameters:f}=a,h=new jn(l,f,Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,xy(n),xe(n),n.component??n._loadedComponent??null,n,_y(n)),{segmentGroup:m,slicedSegments:N}=td(r,l,d,u);if(N.length===0&&m.hasChildren())return this.processChildren(c,u,m).pipe(T(F=>F===null?null:new te(h,F)));if(u.length===0&&N.length===0)return D(new te(h,[]));let H=xe(n)===i;return this.processSegment(c,u,m,N,H?E:i,!0).pipe(T(F=>new te(h,F instanceof te?[F]:[])))}))):$t(r)))}getChildConfig(t,r,n){return r.children?D({routes:r.children,injector:t}):r.loadChildren?r._loadedRoutes!==void 0?D({routes:r._loadedRoutes,injector:r._loadedInjector}):fy(t,r,n,this.urlSerializer).pipe($(o=>o?this.configLoader.loadChildren(t,r).pipe(U(i=>{r._loadedRoutes=i.routes,r._loadedInjector=i.injector})):gy(r))):D({routes:[],injector:t})}};function Sy(e){e.sort((t,r)=>t.value.outlet===E?-1:r.value.outlet===E?1:t.value.outlet.localeCompare(r.value.outlet))}function Ty(e){let t=e.value.routeConfig;return t&&t.path===""}function Md(e){let t=[],r=new Set;for(let n of e){if(!Ty(n)){t.push(n);continue}let o=t.find(i=>n.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...n.children),r.add(o)):t.push(n)}for(let n of r){let o=Md(n.children);t.push(new te(n.value,o))}return t.filter(n=>!r.has(n))}function xy(e){return e.data||{}}function _y(e){return e.resolve||{}}function Ay(e,t,r,n,o,i){return $(s=>by(e,t,r,n,s.extractedUrl,o,i).pipe(T(({state:a,tree:u})=>k(g({},s),{targetSnapshot:a,urlAfterRedirects:u}))))}function Ny(e,t){return $(r=>{let{targetSnapshot:n,guards:{canActivateChecks:o}}=r;if(!o.length)return D(r);let i=new Set(o.map(u=>u.route)),s=new Set;for(let u of i)if(!s.has(u))for(let c of Sd(u))s.add(c);let a=0;return V(s).pipe(wt(u=>i.has(u)?Ry(u,n,e,t):(u.data=ua(u,u.parent,e).resolve,D(void 0))),U(()=>a++),Ct(1),$(u=>a===s.size?D(r):ne))})}function Sd(e){let t=e.children.map(r=>Sd(r)).flat();return[e,...t]}function Ry(e,t,r,n){let o=e.routeConfig,i=e._resolve;return o?.title!==void 0&&!yd(o)&&(i[Bn]=o.title),Oy(i,e,t,n).pipe(T(s=>(e._resolvedData=s,e.data=ua(e,e.parent,r).resolve,null)))}function Oy(e,t,r,n){let o=Fs(e);if(o.length===0)return D({});let i={};return V(o).pipe($(s=>Py(e[s],t,r,n).pipe(De(),U(a=>{i[s]=a}))),Ct(1),Lo(i),Ve(s=>Id(s)?ne:yt(s)))}function Py(e,t,r,n){let o=Un(t)??n,i=Zt(e,o),s=i.resolve?i.resolve(t,r):it(o,()=>i(t,r));return Ze(s)}function Os(e){return he(t=>{let r=e(t);return r?V(r).pipe(T(()=>t)):D(t)})}var Td=(()=>{let t=class t{buildTitle(n){let o,i=n.root;for(;i!==void 0;)o=this.getResolvedTitleForRoute(i)??o,i=i.children.find(s=>s.outlet===E);return o}getResolvedTitleForRoute(n){return n.data[Bn]}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:()=>p(Fy),providedIn:"root"});let e=t;return e})(),Fy=(()=>{let t=class t extends Td{constructor(n){super(),this.title=n}updateTitle(n){let o=this.buildTitle(n);o!==void 0&&this.title.setTitle(o)}};t.\u0275fac=function(o){return new(o||t)(b(_s))},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),ha=new _("",{providedIn:"root",factory:()=>({})}),pa=new _("ROUTES"),ky=(()=>{let t=class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=p(vs)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return D(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let o=Ze(n.loadComponent()).pipe(T(xd),U(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),Kt(()=>{this.componentLoaders.delete(n)})),i=new vt(o,()=>new X).pipe(mt());return this.componentLoaders.set(n,i),i}loadChildren(n,o){if(this.childrenLoaders.get(o))return this.childrenLoaders.get(o);if(o._loadedRoutes)return D({routes:o._loadedRoutes,injector:o._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(o);let s=Ly(o,this.compiler,n,this.onLoadEndListener).pipe(Kt(()=>{this.childrenLoaders.delete(o)})),a=new vt(s,()=>new X).pipe(mt());return this.childrenLoaders.set(o,a),a}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Ly(e,t,r,n){return Ze(e.loadChildren()).pipe(T(xd),$(o=>o instanceof gn||Array.isArray(o)?D(o):V(t.compileModuleAsync(o))),T(o=>{n&&n(e);let i,s,a=!1;return Array.isArray(o)?(s=o,a=!0):(i=o.create(r).injector,s=i.get(pa,[],{optional:!0,self:!0}).flat()),{routes:s.map(da),injector:i}}))}function jy(e){return e&&typeof e=="object"&&"default"in e}function xd(e){return jy(e)?e.default:e}var ga=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:()=>p(Vy),providedIn:"root"});let e=t;return e})(),Vy=(()=>{let t=class t{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,o){return n}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),$y=new _("");var By=(()=>{let t=class t{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new X,this.transitionAbortSubject=new X,this.configLoader=p(ky),this.environmentInjector=p(ae),this.urlSerializer=p(aa),this.rootContexts=p(Do),this.location=p(In),this.inputBindingEnabled=p(la,{optional:!0})!==null,this.titleStrategy=p(Td),this.options=p(ha,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=p(ga),this.createViewTransition=p($y,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>D(void 0),this.rootComponentType=null;let n=i=>this.events.next(new zs(i)),o=i=>this.events.next(new Gs(i));this.configLoader.onLoadEndListener=o,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let o=++this.navigationId;this.transitions?.next(k(g(g({},this.transitions.value),n),{id:o}))}setupNavigations(n,o,i){return this.transitions=new z({id:0,currentUrlTree:o,currentRawUrl:o,extractedUrl:this.urlHandlingStrategy.extract(o),urlAfterRedirects:this.urlHandlingStrategy.extract(o),rawUrl:o,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Nn,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(fe(s=>s.id!==0),T(s=>k(g({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),he(s=>{this.currentTransition=s;let a=!1,u=!1;return D(s).pipe(U(c=>{this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?k(g({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),he(c=>{let l=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=c.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!l&&d!=="reload"){let f="";return this.events.next(new lt(c.id,this.urlSerializer.serialize(c.rawUrl),f,Vs.IgnoredSameUrlNavigation)),c.resolve(null),ne}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return D(c).pipe(he(f=>{let h=this.transitions?.getValue();return this.events.next(new Pn(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),h!==this.transitions?.getValue()?ne:Promise.resolve(f)}),Ay(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),U(f=>{s.targetSnapshot=f.targetSnapshot,s.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation=k(g({},this.currentNavigation),{finalUrl:f.urlAfterRedirects});let h=new ho(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(h)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:f,extractedUrl:h,source:m,restoredState:N,extras:H}=c,F=new Pn(f,this.urlSerializer.serialize(h),m,N);this.events.next(F);let Q=md(this.rootComponentType).snapshot;return this.currentTransition=s=k(g({},c),{targetSnapshot:Q,urlAfterRedirects:h,extras:k(g({},H),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=h,D(s)}else{let f="";return this.events.next(new lt(c.id,this.urlSerializer.serialize(c.extractedUrl),f,Vs.IgnoredByUrlHandlingStrategy)),c.resolve(null),ne}}),U(c=>{let l=new $s(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}),T(c=>(this.currentTransition=s=k(g({},c),{guards:Zv(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),s)),oy(this.environmentInjector,c=>this.events.next(c)),U(c=>{if(s.guardsResult=c.guardsResult,Gt(c.guardsResult))throw wd(this.urlSerializer,c.guardsResult);let l=new Bs(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(l)}),fe(c=>c.guardsResult?!0:(this.cancelNavigationTransition(c,"",ue.GuardRejected),!1)),Os(c=>{if(c.guards.canActivateChecks.length)return D(c).pipe(U(l=>{let d=new Us(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),he(l=>{let d=!1;return D(l).pipe(Ny(this.paramsInheritanceStrategy,this.environmentInjector),U({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(l,"",ue.NoDataFromResolver)}}))}),U(l=>{let d=new Hs(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}))}),Os(c=>{let l=d=>{let f=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(d.routeConfig).pipe(U(h=>{d.component=h}),T(()=>{})));for(let h of d.children)f.push(...l(h));return f};return cr(l(c.targetSnapshot.root)).pipe($e(null),Re(1))}),Os(()=>this.afterPreactivation()),he(()=>{let{currentSnapshot:c,targetSnapshot:l}=s,d=this.createViewTransition?.(this.environmentInjector,c.root,l.root);return d?V(d).pipe(T(()=>s)):D(s)}),T(c=>{let l=$v(n.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=s=k(g({},c),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,s}),U(()=>{this.events.next(new kn)}),qv(this.rootContexts,n.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),Re(1),U({next:c=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new ct(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{a=!0}}),Bo(this.transitionAbortSubject.pipe(U(c=>{throw c}))),Kt(()=>{!a&&!u&&this.cancelNavigationTransition(s,"",ue.SupersededByNewNavigation),this.currentNavigation?.id===s.id&&(this.currentNavigation=null)}),Ve(c=>{if(u=!0,Ed(c))this.events.next(new qe(s.id,this.urlSerializer.serialize(s.extractedUrl),c.message,c.cancellationCode)),Hv(c)?this.events.next(new Ln(c.url)):s.resolve(!1);else{this.events.next(new Fn(s.id,this.urlSerializer.serialize(s.extractedUrl),c,s.targetSnapshot??void 0));try{s.resolve(n.errorHandler(c))}catch(l){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(l)}}return ne}))}))}cancelNavigationTransition(n,o,i){let s=new qe(n.id,this.urlSerializer.serialize(n.extractedUrl),o,i);this.events.next(s),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Uy(e){return e!==Nn}var Hy=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:()=>p(zy),providedIn:"root"});let e=t;return e})(),sa=class{shouldDetach(t){return!1}store(t,r){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,r){return t.routeConfig===r.routeConfig}},zy=(()=>{let t=class t extends sa{};t.\u0275fac=(()=>{let n;return function(i){return(n||(n=Zi(t)))(i||t)}})(),t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),_d=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:()=>p(Gy),providedIn:"root"});let e=t;return e})(),Gy=(()=>{let t=class t extends _d{constructor(){super(...arguments),this.location=p(In),this.urlSerializer=p(aa),this.options=p(ha,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=p(ga),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new We,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=md(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(o=>{o.type==="popstate"&&n(o.url,o.state)})}handleRouterEvent(n,o){if(n instanceof Pn)this.stateMemento=this.createStateMemento();else if(n instanceof lt)this.rawUrlTree=o.initialUrl;else if(n instanceof ho){if(this.urlUpdateStrategy==="eager"&&!o.extras.skipLocationChange){let i=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl);this.setBrowserUrl(i,o)}}else n instanceof kn?(this.currentUrlTree=o.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl),this.routerState=o.targetRouterState,this.urlUpdateStrategy==="deferred"&&(o.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,o))):n instanceof qe&&(n.code===ue.GuardRejected||n.code===ue.NoDataFromResolver)?this.restoreHistory(o):n instanceof Fn?this.restoreHistory(o,!0):n instanceof ct&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,o){let i=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(i)||o.extras.replaceUrl){let s=this.browserPageId,a=g(g({},o.extras.state),this.generateNgRouterState(o.id,s));this.location.replaceState(i,"",a)}else{let s=g(g({},o.extras.state),this.generateNgRouterState(o.id,this.browserPageId+1));this.location.go(i,"",s)}}restoreHistory(n,o=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,s=this.currentPageId-i;s!==0?this.location.historyGo(s):this.currentUrlTree===n.finalUrl&&s===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(o&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,o){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:o}:{navigationId:n}}};t.\u0275fac=(()=>{let n;return function(i){return(n||(n=Zi(t)))(i||t)}})(),t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),_n=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(_n||{});function Wy(e,t){e.events.pipe(fe(r=>r instanceof ct||r instanceof qe||r instanceof Fn||r instanceof lt),T(r=>r instanceof ct||r instanceof lt?_n.COMPLETE:(r instanceof qe?r.code===ue.Redirect||r.code===ue.SupersededByNewNavigation:!1)?_n.REDIRECTING:_n.FAILED),fe(r=>r!==_n.REDIRECTING),Re(1)).subscribe(()=>{t()})}function qy(e){throw e}var Zy={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Yy={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Ad=(()=>{let t=class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=p(Qr),this.stateManager=p(_d),this.options=p(ha,{optional:!0})||{},this.pendingTasks=p(Kr),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=p(By),this.urlSerializer=p(aa),this.location=p(In),this.urlHandlingStrategy=p(ga),this._events=new X,this.errorHandler=this.options.errorHandler||qy,this.navigated=!1,this.routeReuseStrategy=p(Hy),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=p(pa,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!p(la,{optional:!0}),this.eventsSubscription=new j,this.isNgZoneEnabled=p(L)instanceof L&&L.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(o=>{try{let i=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(i!==null&&s!==null){if(this.stateManager.handleRouterEvent(o,s),o instanceof qe&&o.code!==ue.Redirect&&o.code!==ue.SupersededByNewNavigation)this.navigated=!0;else if(o instanceof ct)this.navigated=!0;else if(o instanceof Ln){let a=this.urlHandlingStrategy.merge(o.url,i.currentRawUrl),u={info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||Uy(i.source)};this.scheduleNavigation(a,Nn,null,u,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}Ky(o)&&this._events.next(o)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});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),Nn,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,o)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",o)},0)})}navigateToSyncWithBrowser(n,o,i){let s={replaceUrl:!0},a=i?.navigationId?i:null;if(i){let c=g({},i);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(s.state=c)}let u=this.parseUrl(n);this.scheduleNavigation(u,o,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(da),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,o={}){let{relativeTo:i,queryParams:s,fragment:a,queryParamsHandling:u,preserveFragment:c}=o,l=c?this.currentUrlTree.fragment:a,d=null;switch(u){case"merge":d=g(g({},this.currentUrlTree.queryParams),s);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=s||null}d!==null&&(d=this.removeEmptyProps(d));let f;try{let h=i?i.snapshot:this.routerState.snapshot.root;f=fd(h)}catch{(typeof n[0]!="string"||!n[0].startsWith("/"))&&(n=[]),f=this.currentUrlTree.root}return hd(f,n,d,l??null)}navigateByUrl(n,o={skipLocationChange:!1}){let i=Gt(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(s,Nn,null,o)}navigate(n,o={skipLocationChange:!1}){return Qy(n),this.navigateByUrl(this.createUrlTree(n,o),o)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,o){let i;if(o===!0?i=g({},Zy):o===!1?i=g({},Yy):i=o,Gt(n))return Kl(this.currentUrlTree,n,i);let s=this.parseUrl(n);return Kl(this.currentUrlTree,s,i)}removeEmptyProps(n){return Object.entries(n).reduce((o,[i,s])=>(s!=null&&(o[i]=s),o),{})}scheduleNavigation(n,o,i,s,a){if(this.disposed)return Promise.resolve(!1);let u,c,l;a?(u=a.resolve,c=a.reject,l=a.promise):l=new Promise((f,h)=>{u=f,c=h});let d=this.pendingTasks.add();return Wy(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:o,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:u,reject:c,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(f=>Promise.reject(f))}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Qy(e){for(let t=0;tr.\u0275providers)])}function Xy(e){return e.routerState.root}function eD(){let e=p(Ft);return t=>{let r=e.get(En);if(t!==r.components[0])return;let n=e.get(Ad),o=e.get(tD);e.get(nD)===1&&n.initialNavigation(),e.get(rD,null,I.Optional)?.setUpPreloading(),e.get(Jy,null,I.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var tD=new _("",{factory:()=>new X}),nD=new _("",{providedIn:"root",factory:()=>1});var rD=new _("");var Rd=[];var Od={providers:[Nd(Rd)]};var Pd=(()=>{let t=class t{constructor(){this.title="DragSizing",this.fractionsStart=50,this.fractionsEnd=50,this.moveSpeed=.2,this.OnMoveBound=this.OnMove.bind(this)}InitDrag(n){return zn(this,null,function*(){yield n.requestPointerLock(),document.pointerLockElement===n&&document.addEventListener("mousemove",this.OnMoveBound,!1),this.getLockStatus(n)})}Release(n){return zn(this,null,function*(){document.exitPointerLock(),document.removeEventListener("mousemove",this.OnMoveBound,!1),this.getLockStatus(n)})}getLockStatus(n){return document.pointerLockElement===n?(console.log("The pointer lock status is now locked",n),!0):(console.log("The pointer lock status is now unlocked"),!1)}OnMove(n){return zn(this,null,function*(){let i=this.fractionsStart+this.fractionsEnd;this.fractionsStart+=n.movementX*this.moveSpeed,this.fractionsEnd-=n.movementX*this.moveSpeed,this.fractionsStart=this.clamp(this.fractionsStart,0,i),this.fractionsEnd=this.clamp(this.fractionsEnd,0,i),console.log(`${n.movementX} | ${this.fractionsStart}/${this.fractionsEnd}`)})}clamp(n,o,i){return Math.max(o,Math.min(n,i))}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=kr({type:t,selectors:[["app-root"]],standalone:!0,features:[Yr],decls:6,vars:4,consts:[["id","drag",3,"mousedown","mouseup"],["drag",""]],template:function(o,i){if(o&1){let s=bl();Lt(0,"div"),gs(1,"1"),jt(),Lt(2,"div",0,1),Zr("mousedown",function(){Hi(s);let u=ps(3);return zi(i.InitDrag(u))})("mouseup",function(){Hi(s);let u=ps(3);return zi(i.Release(u))}),jt(),Lt(4,"div"),gs(5,"2"),jt()}o&2&&(wn("flex-grow",i.fractionsStart),ol(4),wn("flex-grow",i.fractionsEnd))},styles:["[_nghost-%COMP%]{height:100%;display:flex}[_nghost-%COMP%] > #drag[_ngcontent-%COMP%]{width:10px;margin-left:-5px;background-color:#ffebcd;cursor:col-resize}[_nghost-%COMP%] > div[_ngcontent-%COMP%]:not(#drag){flex-grow:1;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;font-size:50vw;color:#f8f8ff;display:flex;align-items:center;justify-content:center}[_nghost-%COMP%] > div[_ngcontent-%COMP%]:first-of-type{background-color:#deb887}[_nghost-%COMP%] > div[_ngcontent-%COMP%]:last-of-type{background-color:#008b8b}"]});let e=t;return e})();Ql(Pd,Od).catch(e=>console.error(e)); diff --git a/docs/browser/polyfills-RX4V3J3S.js b/docs/browser/polyfills-RX4V3J3S.js new file mode 100644 index 0000000..eba136a --- /dev/null +++ b/docs/browser/polyfills-RX4V3J3S.js @@ -0,0 +1,2 @@ +(function(e){let n=e.performance;function c(L){n&&n.mark&&n.mark(L)}function r(L,t){n&&n.measure&&n.measure(L,t)}c("Zone");let a=e.__Zone_symbol_prefix||"__zone_symbol__";function l(L){return a+L}let y=e[l("forceDuplicateZoneCheck")]===!0;if(e.Zone){if(y||typeof e.Zone.__symbol__!="function")throw new Error("Zone already loaded.");return e.Zone}let se=class se{static assertZonePatched(){if(e.Promise!==oe.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=se.current;for(;t.parent;)t=t.parent;return t}static get current(){return U.zone}static get currentTask(){return ne}static __load_patch(t,s,o=!1){if(oe.hasOwnProperty(t)){if(!o&&y)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){let v="Zone:"+t;c(v),oe[t]=s(e,se,z),r(v,v)}}get parent(){return this._parent}get name(){return this._name}constructor(t,s){this._parent=t,this._name=s?s.name||"unnamed":"",this._properties=s&&s.properties||{},this._zoneDelegate=new k(this,this._parent&&this._parent._zoneDelegate,s)}get(t){let s=this.getZoneWith(t);if(s)return s._properties[t]}getZoneWith(t){let s=this;for(;s;){if(s._properties.hasOwnProperty(t))return s;s=s._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,s){if(typeof t!="function")throw new Error("Expecting function got: "+t);let o=this._zoneDelegate.intercept(this,t,s),v=this;return function(){return v.runGuarded(o,this,arguments,s)}}run(t,s,o,v){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,t,s,o,v)}finally{U=U.parent}}runGuarded(t,s=null,o,v){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,t,s,o,v)}catch(F){if(this._zoneDelegate.handleError(this,F))throw F}}finally{U=U.parent}}runTask(t,s,o){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||$).name+"; Execution: "+this.name+")");if(t.state===H&&(t.type===K||t.type===P))return;let v=t.state!=T;v&&t._transitionTo(T,M),t.runCount++;let F=ne;ne=t,U={parent:U,zone:this};try{t.type==P&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,s,o)}catch(f){if(this._zoneDelegate.handleError(this,f))throw f}}finally{t.state!==H&&t.state!==d&&(t.type==K||t.data&&t.data.isPeriodic?v&&t._transitionTo(M,T):(t.runCount=0,this._updateTaskCount(t,-1),v&&t._transitionTo(H,T,H))),U=U.parent,ne=F}}scheduleTask(t){if(t.zone&&t.zone!==this){let o=this;for(;o;){if(o===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);o=o.parent}}t._transitionTo(X,H);let s=[];t._zoneDelegates=s,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(o){throw t._transitionTo(d,X,H),this._zoneDelegate.handleError(this,o),o}return t._zoneDelegates===s&&this._updateTaskCount(t,1),t.state==X&&t._transitionTo(M,X),t}scheduleMicroTask(t,s,o,v){return this.scheduleTask(new p(N,t,s,o,v,void 0))}scheduleMacroTask(t,s,o,v,F){return this.scheduleTask(new p(P,t,s,o,v,F))}scheduleEventTask(t,s,o,v,F){return this.scheduleTask(new p(K,t,s,o,v,F))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||$).name+"; Execution: "+this.name+")");if(!(t.state!==M&&t.state!==T)){t._transitionTo(x,M,T);try{this._zoneDelegate.cancelTask(this,t)}catch(s){throw t._transitionTo(d,x),this._zoneDelegate.handleError(this,s),s}return this._updateTaskCount(t,-1),t._transitionTo(H,x),t.runCount=0,t}}_updateTaskCount(t,s){let o=t._zoneDelegates;s==-1&&(t._zoneDelegates=null);for(let v=0;vL.hasTask(s,o),onScheduleTask:(L,t,s,o)=>L.scheduleTask(s,o),onInvokeTask:(L,t,s,o,v,F)=>L.invokeTask(s,o,v,F),onCancelTask:(L,t,s,o)=>L.cancelTask(s,o)};class k{constructor(t,s,o){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=t,this._parentDelegate=s,this._forkZS=o&&(o&&o.onFork?o:s._forkZS),this._forkDlgt=o&&(o.onFork?s:s._forkDlgt),this._forkCurrZone=o&&(o.onFork?this.zone:s._forkCurrZone),this._interceptZS=o&&(o.onIntercept?o:s._interceptZS),this._interceptDlgt=o&&(o.onIntercept?s:s._interceptDlgt),this._interceptCurrZone=o&&(o.onIntercept?this.zone:s._interceptCurrZone),this._invokeZS=o&&(o.onInvoke?o:s._invokeZS),this._invokeDlgt=o&&(o.onInvoke?s:s._invokeDlgt),this._invokeCurrZone=o&&(o.onInvoke?this.zone:s._invokeCurrZone),this._handleErrorZS=o&&(o.onHandleError?o:s._handleErrorZS),this._handleErrorDlgt=o&&(o.onHandleError?s:s._handleErrorDlgt),this._handleErrorCurrZone=o&&(o.onHandleError?this.zone:s._handleErrorCurrZone),this._scheduleTaskZS=o&&(o.onScheduleTask?o:s._scheduleTaskZS),this._scheduleTaskDlgt=o&&(o.onScheduleTask?s:s._scheduleTaskDlgt),this._scheduleTaskCurrZone=o&&(o.onScheduleTask?this.zone:s._scheduleTaskCurrZone),this._invokeTaskZS=o&&(o.onInvokeTask?o:s._invokeTaskZS),this._invokeTaskDlgt=o&&(o.onInvokeTask?s:s._invokeTaskDlgt),this._invokeTaskCurrZone=o&&(o.onInvokeTask?this.zone:s._invokeTaskCurrZone),this._cancelTaskZS=o&&(o.onCancelTask?o:s._cancelTaskZS),this._cancelTaskDlgt=o&&(o.onCancelTask?s:s._cancelTaskDlgt),this._cancelTaskCurrZone=o&&(o.onCancelTask?this.zone:s._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;let v=o&&o.onHasTask,F=s&&s._hasTaskZS;(v||F)&&(this._hasTaskZS=v?o:b,this._hasTaskDlgt=s,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=t,o.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=s,this._scheduleTaskCurrZone=this.zone),o.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=s,this._invokeTaskCurrZone=this.zone),o.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=s,this._cancelTaskCurrZone=this.zone))}fork(t,s){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,t,s):new _(t,s)}intercept(t,s,o){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,t,s,o):s}invoke(t,s,o,v,F){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,t,s,o,v,F):s.apply(o,v)}handleError(t,s){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,t,s):!0}scheduleTask(t,s){let o=s;if(this._scheduleTaskZS)this._hasTaskZS&&o._zoneDelegates.push(this._hasTaskDlgtOwner),o=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,t,s),o||(o=s);else if(s.scheduleFn)s.scheduleFn(s);else if(s.type==N)R(s);else throw new Error("Task is missing scheduleFn.");return o}invokeTask(t,s,o,v){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,t,s,o,v):s.callback.apply(o,v)}cancelTask(t,s){let o;if(this._cancelTaskZS)o=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,t,s);else{if(!s.cancelFn)throw Error("Task is not cancelable");o=s.cancelFn(s)}return o}hasTask(t,s){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,t,s)}catch(o){this.handleError(t,o)}}_updateTaskCount(t,s){let o=this._taskCounts,v=o[t],F=o[t]=v+s;if(F<0)throw new Error("More tasks executed then were scheduled.");if(v==0||F==0){let f={microTask:o.microTask>0,macroTask:o.macroTask>0,eventTask:o.eventTask>0,change:t};this.hasTask(this.zone,f)}}}class p{constructor(t,s,o,v,F,f){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=t,this.source=s,this.data=v,this.scheduleFn=F,this.cancelFn=f,!o)throw new Error("callback is not defined");this.callback=o;let u=this;t===K&&v&&v.useG?this.invoke=p.invokeTask:this.invoke=function(){return p.invokeTask.call(e,u,this,arguments)}}static invokeTask(t,s,o){t||(t=this),ee++;try{return t.runCount++,t.zone.runTask(t,s,o)}finally{ee==1&&E(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(H,X)}_transitionTo(t,s,o){if(this._state===s||this._state===o)this._state=t,t==H&&(this._zoneDelegates=null);else throw new Error(`${this.type} '${this.source}': can not transition to '${t}', expecting state '${s}'${o?" or '"+o+"'":""}, was '${this._state}'.`)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}let I=l("setTimeout"),O=l("Promise"),Z=l("then"),B=[],j=!1,J;function q(L){if(J||e[O]&&(J=e[O].resolve(0)),J){let t=J[Z];t||(t=J.then),t.call(J,L)}else e[I](L,0)}function R(L){ee===0&&B.length===0&&q(E),L&&B.push(L)}function E(){if(!j){for(j=!0;B.length;){let L=B;B=[];for(let t=0;tU,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!_[l("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:q},U={parent:null,zone:new _(null,null)},ne=null,ee=0;function W(){}return r("Zone","Zone"),e.Zone=_})(globalThis);var ge=Object.getOwnPropertyDescriptor,Ie=Object.defineProperty,Me=Object.getPrototypeOf,ct=Object.create,at=Array.prototype.slice,Le="addEventListener",je="removeEventListener",De=Zone.__symbol__(Le),Oe=Zone.__symbol__(je),ce="true",ae="false",me=Zone.__symbol__("");function Ae(e,n){return Zone.current.wrap(e,n)}function He(e,n,c,r,a){return Zone.current.scheduleMacroTask(e,n,c,r,a)}var A=Zone.__symbol__,we=typeof window<"u",Te=we?window:void 0,Y=we&&Te||globalThis,lt="removeAttribute";function xe(e,n){for(let c=e.length-1;c>=0;c--)typeof e[c]=="function"&&(e[c]=Ae(e[c],n+"_"+c));return e}function ut(e,n){let c=e.constructor.name;for(let r=0;r{let b=function(){return _.apply(this,xe(arguments,c+"."+a))};return le(b,_),b})(l)}}}function $e(e){return e?e.writable===!1?!1:!(typeof e.get=="function"&&typeof e.set>"u"):!0}var Je=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Re=!("nw"in Y)&&typeof Y.process<"u"&&{}.toString.call(Y.process)==="[object process]",Ge=!Re&&!Je&&!!(we&&Te.HTMLElement),Ke=typeof Y.process<"u"&&{}.toString.call(Y.process)==="[object process]"&&!Je&&!!(we&&Te.HTMLElement),Pe={},qe=function(e){if(e=e||Y.event,!e)return;let n=Pe[e.type];n||(n=Pe[e.type]=A("ON_PROPERTY"+e.type));let c=this||e.target||Y,r=c[n],a;if(Ge&&c===Te&&e.type==="error"){let l=e;a=r&&r.call(this,l.message,l.filename,l.lineno,l.colno,l.error),a===!0&&e.preventDefault()}else a=r&&r.apply(this,arguments),a!=null&&!a&&e.preventDefault();return a};function Xe(e,n,c){let r=ge(e,n);if(!r&&c&&ge(c,n)&&(r={enumerable:!0,configurable:!0}),!r||!r.configurable)return;let a=A("on"+n+"patched");if(e.hasOwnProperty(a)&&e[a])return;delete r.writable,delete r.value;let l=r.get,y=r.set,_=n.slice(2),b=Pe[_];b||(b=Pe[_]=A("ON_PROPERTY"+_)),r.set=function(k){let p=this;if(!p&&e===Y&&(p=Y),!p)return;typeof p[b]=="function"&&p.removeEventListener(_,qe),y&&y.call(p,null),p[b]=k,typeof k=="function"&&p.addEventListener(_,qe,!1)},r.get=function(){let k=this;if(!k&&e===Y&&(k=Y),!k)return null;let p=k[b];if(p)return p;if(l){let I=l.call(this);if(I)return r.set.call(this,I),typeof k[lt]=="function"&&k.removeAttribute(n),I}return null},Ie(e,n,r),e[a]=!0}function Qe(e,n,c){if(n)for(let r=0;rfunction(y,_){let b=c(y,_);return b.cbIdx>=0&&typeof _[b.cbIdx]=="function"?He(b.name,_[b.cbIdx],b,a):l.apply(y,_)})}function le(e,n){e[A("OriginalDelegate")]=n}var ze=!1,Ze=!1;function ht(){try{let e=Te.navigator.userAgent;if(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1)return!0}catch{}return!1}function dt(){if(ze)return Ze;ze=!0;try{let e=Te.navigator.userAgent;(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1||e.indexOf("Edge/")!==-1)&&(Ze=!0)}catch{}return Ze}Zone.__load_patch("ZoneAwarePromise",(e,n,c)=>{let r=Object.getOwnPropertyDescriptor,a=Object.defineProperty;function l(f){if(f&&f.toString===Object.prototype.toString){let u=f.constructor&&f.constructor.name;return(u||"")+": "+JSON.stringify(f)}return f?f.toString():Object.prototype.toString.call(f)}let y=c.symbol,_=[],b=e[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]!==!1,k=y("Promise"),p=y("then"),I="__creationTrace__";c.onUnhandledError=f=>{if(c.showUncaughtError()){let u=f&&f.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",f.zone.name,"; Task:",f.task&&f.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(f)}},c.microtaskDrainDone=()=>{for(;_.length;){let f=_.shift();try{f.zone.runGuarded(()=>{throw f.throwOriginal?f.rejection:f})}catch(u){Z(u)}}};let O=y("unhandledPromiseRejectionHandler");function Z(f){c.onUnhandledError(f);try{let u=n[O];typeof u=="function"&&u.call(this,f)}catch{}}function B(f){return f&&f.then}function j(f){return f}function J(f){return t.reject(f)}let q=y("state"),R=y("value"),E=y("finally"),$=y("parentPromiseValue"),H=y("parentPromiseState"),X="Promise.then",M=null,T=!0,x=!1,d=0;function N(f,u){return i=>{try{z(f,u,i)}catch(h){z(f,!1,h)}}}let P=function(){let f=!1;return function(i){return function(){f||(f=!0,i.apply(null,arguments))}}},K="Promise resolved with itself",oe=y("currentTaskTrace");function z(f,u,i){let h=P();if(f===i)throw new TypeError(K);if(f[q]===M){let m=null;try{(typeof i=="object"||typeof i=="function")&&(m=i&&i.then)}catch(w){return h(()=>{z(f,!1,w)})(),f}if(u!==x&&i instanceof t&&i.hasOwnProperty(q)&&i.hasOwnProperty(R)&&i[q]!==M)ne(i),z(f,i[q],i[R]);else if(u!==x&&typeof m=="function")try{m.call(i,h(N(f,u)),h(N(f,!1)))}catch(w){h(()=>{z(f,!1,w)})()}else{f[q]=u;let w=f[R];if(f[R]=i,f[E]===E&&u===T&&(f[q]=f[H],f[R]=f[$]),u===x&&i instanceof Error){let g=n.currentTask&&n.currentTask.data&&n.currentTask.data[I];g&&a(i,oe,{configurable:!0,enumerable:!1,writable:!0,value:g})}for(let g=0;g{try{let C=f[R],S=!!i&&E===i[E];S&&(i[$]=C,i[H]=w);let D=u.run(g,void 0,S&&g!==J&&g!==j?[]:[C]);z(i,!0,D)}catch(C){z(i,!1,C)}},i)}let W="function ZoneAwarePromise() { [native code] }",se=function(){},L=e.AggregateError;class t{static toString(){return W}static resolve(u){return u instanceof t?u:z(new this(null),T,u)}static reject(u){return z(new this(null),x,u)}static withResolvers(){let u={};return u.promise=new t((i,h)=>{u.resolve=i,u.reject=h}),u}static any(u){if(!u||typeof u[Symbol.iterator]!="function")return Promise.reject(new L([],"All promises were rejected"));let i=[],h=0;try{for(let g of u)h++,i.push(t.resolve(g))}catch{return Promise.reject(new L([],"All promises were rejected"))}if(h===0)return Promise.reject(new L([],"All promises were rejected"));let m=!1,w=[];return new t((g,C)=>{for(let S=0;S{m||(m=!0,g(D))},D=>{w.push(D),h--,h===0&&(m=!0,C(new L(w,"All promises were rejected")))})})}static race(u){let i,h,m=new this((C,S)=>{i=C,h=S});function w(C){i(C)}function g(C){h(C)}for(let C of u)B(C)||(C=this.resolve(C)),C.then(w,g);return m}static all(u){return t.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof t?this:t).allWithCallback(u,{thenCallback:h=>({status:"fulfilled",value:h}),errorCallback:h=>({status:"rejected",reason:h})})}static allWithCallback(u,i){let h,m,w=new this((D,G)=>{h=D,m=G}),g=2,C=0,S=[];for(let D of u){B(D)||(D=this.resolve(D));let G=C;try{D.then(V=>{S[G]=i?i.thenCallback(V):V,g--,g===0&&h(S)},V=>{i?(S[G]=i.errorCallback(V),g--,g===0&&h(S)):m(V)})}catch(V){m(V)}g++,C++}return g-=2,g===0&&h(S),w}constructor(u){let i=this;if(!(i instanceof t))throw new Error("Must be an instanceof Promise.");i[q]=M,i[R]=[];try{let h=P();u&&u(h(N(i,T)),h(N(i,x)))}catch(h){z(i,!1,h)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(u,i){let h=this.constructor?.[Symbol.species];(!h||typeof h!="function")&&(h=this.constructor||t);let m=new h(se),w=n.current;return this[q]==M?this[R].push(w,m,u,i):ee(this,w,m,u,i),m}catch(u){return this.then(null,u)}finally(u){let i=this.constructor?.[Symbol.species];(!i||typeof i!="function")&&(i=t);let h=new i(se);h[E]=E;let m=n.current;return this[q]==M?this[R].push(m,h,u,u):ee(this,m,h,u,u),h}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;let s=e[k]=e.Promise;e.Promise=t;let o=y("thenPatched");function v(f){let u=f.prototype,i=r(u,"then");if(i&&(i.writable===!1||!i.configurable))return;let h=u.then;u[p]=h,f.prototype.then=function(m,w){return new t((C,S)=>{h.call(this,C,S)}).then(m,w)},f[o]=!0}c.patchThen=v;function F(f){return function(u,i){let h=f.apply(u,i);if(h instanceof t)return h;let m=h.constructor;return m[o]||v(m),h}}return s&&(v(s),ue(e,"fetch",f=>F(f))),Promise[n.__symbol__("uncaughtPromiseErrors")]=_,t});Zone.__load_patch("toString",e=>{let n=Function.prototype.toString,c=A("OriginalDelegate"),r=A("Promise"),a=A("Error"),l=function(){if(typeof this=="function"){let k=this[c];if(k)return typeof k=="function"?n.call(k):Object.prototype.toString.call(k);if(this===Promise){let p=e[r];if(p)return n.call(p)}if(this===Error){let p=e[a];if(p)return n.call(p)}}return n.call(this)};l[c]=n,Function.prototype.toString=l;let y=Object.prototype.toString,_="[object Promise]";Object.prototype.toString=function(){return typeof Promise=="function"&&this instanceof Promise?_:y.call(this)}});var _e=!1;if(typeof window<"u")try{let e=Object.defineProperty({},"passive",{get:function(){_e=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{_e=!1}var _t={useG:!0},te={},et={},tt=new RegExp("^"+me+"(\\w+)(true|false)$"),nt=A("propagationStopped");function rt(e,n){let c=(n?n(e):e)+ae,r=(n?n(e):e)+ce,a=me+c,l=me+r;te[e]={},te[e][ae]=a,te[e][ce]=l}function Et(e,n,c,r){let a=r&&r.add||Le,l=r&&r.rm||je,y=r&&r.listeners||"eventListeners",_=r&&r.rmAll||"removeAllListeners",b=A(a),k="."+a+":",p="prependListener",I="."+p+":",O=function(R,E,$){if(R.isRemoved)return;let H=R.callback;typeof H=="object"&&H.handleEvent&&(R.callback=T=>H.handleEvent(T),R.originalDelegate=H);let X;try{R.invoke(R,E,[$])}catch(T){X=T}let M=R.options;if(M&&typeof M=="object"&&M.once){let T=R.originalDelegate?R.originalDelegate:R.callback;E[l].call(E,$.type,T,M)}return X};function Z(R,E,$){if(E=E||e.event,!E)return;let H=R||E.target||e,X=H[te[E.type][$?ce:ae]];if(X){let M=[];if(X.length===1){let T=O(X[0],H,E);T&&M.push(T)}else{let T=X.slice();for(let x=0;x{throw x})}}}let B=function(R){return Z(this,R,!1)},j=function(R){return Z(this,R,!0)};function J(R,E){if(!R)return!1;let $=!0;E&&E.useG!==void 0&&($=E.useG);let H=E&&E.vh,X=!0;E&&E.chkDup!==void 0&&(X=E.chkDup);let M=!1;E&&E.rt!==void 0&&(M=E.rt);let T=R;for(;T&&!T.hasOwnProperty(a);)T=Me(T);if(!T&&R[a]&&(T=R),!T||T[b])return!1;let x=E&&E.eventNameToString,d={},N=T[b]=T[a],P=T[A(l)]=T[l],K=T[A(y)]=T[y],oe=T[A(_)]=T[_],z;E&&E.prepend&&(z=T[A(E.prepend)]=T[E.prepend]);function U(i,h){return!_e&&typeof i=="object"&&i?!!i.capture:!_e||!h?i:typeof i=="boolean"?{capture:i,passive:!0}:i?typeof i=="object"&&i.passive!==!1?{...i,passive:!0}:i:{passive:!0}}let ne=function(i){if(!d.isExisting)return N.call(d.target,d.eventName,d.capture?j:B,d.options)},ee=function(i){if(!i.isRemoved){let h=te[i.eventName],m;h&&(m=h[i.capture?ce:ae]);let w=m&&i.target[m];if(w){for(let g=0;g{ie.zone.cancelTask(ie)},{once:!0})),d.target=null,pe&&(pe.taskData=null),Ve&&(Q.once=!0),!_e&&typeof ie.options=="boolean"||(ie.options=Q),ie.target=S,ie.capture=Ce,ie.eventName=D,V&&(ie.originalDelegate=G),C?de.unshift(ie):de.push(ie),g)return S}};return T[a]=u(N,k,t,s,M),z&&(T[p]=u(z,I,se,s,M,!0)),T[l]=function(){let i=this||e,h=arguments[0];E&&E.transferEventName&&(h=E.transferEventName(h));let m=arguments[2],w=m?typeof m=="boolean"?!0:m.capture:!1,g=arguments[1];if(!g)return P.apply(this,arguments);if(H&&!H(P,g,i,arguments))return;let C=te[h],S;C&&(S=C[w?ce:ae]);let D=S&&i[S];if(D)for(let G=0;Gfunction(a,l){a[nt]=!0,r&&r.apply(a,l)})}function yt(e,n,c,r,a){let l=Zone.__symbol__(r);if(n[l])return;let y=n[l]=n[r];n[r]=function(_,b,k){return b&&b.prototype&&a.forEach(function(p){let I=`${c}.${r}::`+p,O=b.prototype;try{if(O.hasOwnProperty(p)){let Z=e.ObjectGetOwnPropertyDescriptor(O,p);Z&&Z.value?(Z.value=e.wrapWithCurrentZone(Z.value,I),e._redefineProperty(b.prototype,p,Z)):O[p]&&(O[p]=e.wrapWithCurrentZone(O[p],I))}else O[p]&&(O[p]=e.wrapWithCurrentZone(O[p],I))}catch{}}),y.call(n,_,b,k)},e.attachOriginToPatched(n[r],y)}function st(e,n,c){if(!c||c.length===0)return n;let r=c.filter(l=>l.target===e);if(!r||r.length===0)return n;let a=r[0].ignoreProperties;return n.filter(l=>a.indexOf(l)===-1)}function Ye(e,n,c,r){if(!e)return;let a=st(e,n,c);Qe(e,a,r)}function Ne(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}function pt(e,n){if(Re&&!Ke||Zone[e.symbol("patchEvents")])return;let c=n.__Zone_ignore_on_properties,r=[];if(Ge){let a=window;r=r.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);let l=ht()?[{target:a,ignoreProperties:["error"]}]:[];Ye(a,Ne(a),c&&c.concat(l),Me(a))}r=r.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let a=0;a{let r=Ne(e);c.patchOnProperties=Qe,c.patchMethod=ue,c.bindArguments=xe,c.patchMacroTask=ft;let a=n.__symbol__("BLACK_LISTED_EVENTS"),l=n.__symbol__("UNPATCHED_EVENTS");e[l]&&(e[a]=e[l]),e[a]&&(n[a]=n[l]=e[a]),c.patchEventPrototype=Tt,c.patchEventTarget=Et,c.isIEOrEdge=dt,c.ObjectDefineProperty=Ie,c.ObjectGetOwnPropertyDescriptor=ge,c.ObjectCreate=ct,c.ArraySlice=at,c.patchClass=ke,c.wrapWithCurrentZone=Ae,c.filterProperties=st,c.attachOriginToPatched=le,c._redefineProperty=Object.defineProperty,c.patchCallbacks=yt,c.getGlobalObjects=()=>({globalSources:et,zoneSymbolEventNames:te,eventNames:r,isBrowser:Ge,isMix:Ke,isNode:Re,TRUE_STR:ce,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:me,ADD_EVENT_LISTENER_STR:Le,REMOVE_EVENT_LISTENER_STR:je})});function gt(e,n){n.patchMethod(e,"queueMicrotask",c=>function(r,a){Zone.current.scheduleMicroTask("queueMicrotask",a[0])})}var be=A("zoneTask");function Ee(e,n,c,r){let a=null,l=null;n+=r,c+=r;let y={};function _(k){let p=k.data;return p.args[0]=function(){return k.invoke.apply(this,arguments)},p.handleId=a.apply(e,p.args),k}function b(k){return l.call(e,k.data.handleId)}a=ue(e,n,k=>function(p,I){if(typeof I[0]=="function"){let O={isPeriodic:r==="Interval",delay:r==="Timeout"||r==="Interval"?I[1]||0:void 0,args:I},Z=I[0];I[0]=function(){try{return Z.apply(this,arguments)}finally{O.isPeriodic||(typeof O.handleId=="number"?delete y[O.handleId]:O.handleId&&(O.handleId[be]=null))}};let B=He(n,I[0],O,_,b);if(!B)return B;let j=B.data.handleId;return typeof j=="number"?y[j]=B:j&&(j[be]=B),j&&j.ref&&j.unref&&typeof j.ref=="function"&&typeof j.unref=="function"&&(B.ref=j.ref.bind(j),B.unref=j.unref.bind(j)),typeof j=="number"||j?j:B}else return k.apply(e,I)}),l=ue(e,c,k=>function(p,I){let O=I[0],Z;typeof O=="number"?Z=y[O]:(Z=O&&O[be],Z||(Z=O)),Z&&typeof Z.type=="string"?Z.state!=="notScheduled"&&(Z.cancelFn&&Z.data.isPeriodic||Z.runCount===0)&&(typeof O=="number"?delete y[O]:O&&(O[be]=null),Z.zone.cancelTask(Z)):k.apply(e,I)})}function mt(e,n){let{isBrowser:c,isMix:r}=n.getGlobalObjects();if(!c&&!r||!e.customElements||!("customElements"in e))return;let a=["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"];n.patchCallbacks(n,e.customElements,"customElements","define",a)}function kt(e,n){if(Zone[n.symbol("patchEventTarget")])return;let{eventNames:c,zoneSymbolEventNames:r,TRUE_STR:a,FALSE_STR:l,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let b=0;b{let n=e[Zone.__symbol__("legacyPatch")];n&&n()});Zone.__load_patch("timers",e=>{let n="set",c="clear";Ee(e,n,c,"Timeout"),Ee(e,n,c,"Interval"),Ee(e,n,c,"Immediate")});Zone.__load_patch("requestAnimationFrame",e=>{Ee(e,"request","cancel","AnimationFrame"),Ee(e,"mozRequest","mozCancel","AnimationFrame"),Ee(e,"webkitRequest","webkitCancel","AnimationFrame")});Zone.__load_patch("blocking",(e,n)=>{let c=["alert","prompt","confirm"];for(let r=0;rfunction(b,k){return n.current.run(l,e,k,_)})}});Zone.__load_patch("EventTarget",(e,n,c)=>{vt(e,c),kt(e,c);let r=e.XMLHttpRequestEventTarget;r&&r.prototype&&c.patchEventTarget(e,c,[r.prototype])});Zone.__load_patch("MutationObserver",(e,n,c)=>{ke("MutationObserver"),ke("WebKitMutationObserver")});Zone.__load_patch("IntersectionObserver",(e,n,c)=>{ke("IntersectionObserver")});Zone.__load_patch("FileReader",(e,n,c)=>{ke("FileReader")});Zone.__load_patch("on_property",(e,n,c)=>{pt(c,e)});Zone.__load_patch("customElements",(e,n,c)=>{mt(e,c)});Zone.__load_patch("XHR",(e,n)=>{b(e);let c=A("xhrTask"),r=A("xhrSync"),a=A("xhrListener"),l=A("xhrScheduled"),y=A("xhrURL"),_=A("xhrErrorBeforeScheduled");function b(k){let p=k.XMLHttpRequest;if(!p)return;let I=p.prototype;function O(d){return d[c]}let Z=I[De],B=I[Oe];if(!Z){let d=k.XMLHttpRequestEventTarget;if(d){let N=d.prototype;Z=N[De],B=N[Oe]}}let j="readystatechange",J="scheduled";function q(d){let N=d.data,P=N.target;P[l]=!1,P[_]=!1;let K=P[a];Z||(Z=P[De],B=P[Oe]),K&&B.call(P,j,K);let oe=P[a]=()=>{if(P.readyState===P.DONE)if(!N.aborted&&P[l]&&d.state===J){let U=P[n.__symbol__("loadfalse")];if(P.status!==0&&U&&U.length>0){let ne=d.invoke;d.invoke=function(){let ee=P[n.__symbol__("loadfalse")];for(let W=0;Wfunction(d,N){return d[r]=N[2]==!1,d[y]=N[1],$.apply(d,N)}),H="XMLHttpRequest.send",X=A("fetchTaskAborting"),M=A("fetchTaskScheduling"),T=ue(I,"send",()=>function(d,N){if(n.current[M]===!0||d[r])return T.apply(d,N);{let P={target:d,url:d[y],isPeriodic:!1,args:N,aborted:!1},K=He(H,R,P,q,E);d&&d[_]===!0&&!P.aborted&&K.state===J&&K.invoke()}}),x=ue(I,"abort",()=>function(d,N){let P=O(d);if(P&&typeof P.type=="string"){if(P.cancelFn==null||P.data&&P.data.aborted)return;P.zone.cancelTask(P)}else if(n.current[X]===!0)return x.apply(d,N)})}});Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&ut(e.navigator.geolocation,["getCurrentPosition","watchPosition"])});Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function c(r){return function(a){ot(e,r).forEach(y=>{let _=e.PromiseRejectionEvent;if(_){let b=new _(r,{promise:a.promise,reason:a.rejection});y.invoke(b)}})}}e.PromiseRejectionEvent&&(n[A("unhandledPromiseRejectionHandler")]=c("unhandledrejection"),n[A("rejectionHandledHandler")]=c("rejectionhandled"))});Zone.__load_patch("queueMicrotask",(e,n,c)=>{gt(e,c)}); diff --git a/docs/browser/styles-ENM2FSHZ.css b/docs/browser/styles-ENM2FSHZ.css new file mode 100644 index 0000000..74f17b9 --- /dev/null +++ b/docs/browser/styles-ENM2FSHZ.css @@ -0,0 +1 @@ +html,body{margin:0;width:100vw;height:100vh}