@drayman/elements 1.80.0 → 1.81.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -3
- package/dist/superset/3rdpartylicenses.txt +301 -0
- package/dist/superset/favicon.ico +0 -0
- package/dist/superset/main.js +1 -0
- package/dist/superset/polyfills.js +1 -0
- package/dist/superset/styles.css +0 -0
- package/dist/types/superset/src/app/models/superset-options.d.ts +38 -0
- package/package.json +8 -3
- package/types/index.d.ts +40 -1
package/README.md
CHANGED
|
@@ -29,9 +29,10 @@ Default drayman elements library.
|
|
|
29
29
|
- [drayman-textarea-field](interfaces/__global.draymantextareafieldprops.html)
|
|
30
30
|
- [drayman-timepicker](interfaces/__global.draymantimepickerprops.html)
|
|
31
31
|
- [drayman-youtube-player](interfaces/__global.draymanyoutubeplayerprops.html)
|
|
32
|
-
- [drayman-grid](interfaces/__global.draymangridprops.html)
|
|
33
|
-
- [drayman-nebula](interfaces/__global.draymannebulaprops.html)
|
|
34
|
-
- [drayman-
|
|
32
|
+
- [drayman-grid](interfaces/__global.draymangridprops.html)
|
|
33
|
+
- [drayman-nebula](interfaces/__global.draymannebulaprops.html)
|
|
34
|
+
- [drayman-superset](interfaces/__global.draymansupersetprops.html)
|
|
35
|
+
- [drayman-code-editor](interfaces/__global.draymancodeeditorprops.html)
|
|
35
36
|
- [drayman-calendar](interfaces/__global.draymancalendarprops.html)
|
|
36
37
|
- [drayman-year-calendar](interfaces/__global.draymanyearcalendarprops.html)
|
|
37
38
|
|
|
@@ -0,0 +1,301 @@
|
|
|
1
|
+
@angular/animations
|
|
2
|
+
MIT
|
|
3
|
+
|
|
4
|
+
@angular/common
|
|
5
|
+
MIT
|
|
6
|
+
|
|
7
|
+
@angular/core
|
|
8
|
+
MIT
|
|
9
|
+
|
|
10
|
+
@angular/elements
|
|
11
|
+
MIT
|
|
12
|
+
|
|
13
|
+
@angular/platform-browser
|
|
14
|
+
MIT
|
|
15
|
+
|
|
16
|
+
@babel/runtime
|
|
17
|
+
MIT
|
|
18
|
+
MIT License
|
|
19
|
+
|
|
20
|
+
Copyright (c) 2014-present Sebastian McKenzie and other contributors
|
|
21
|
+
|
|
22
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
23
|
+
a copy of this software and associated documentation files (the
|
|
24
|
+
"Software"), to deal in the Software without restriction, including
|
|
25
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
26
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
27
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
28
|
+
the following conditions:
|
|
29
|
+
|
|
30
|
+
The above copyright notice and this permission notice shall be
|
|
31
|
+
included in all copies or substantial portions of the Software.
|
|
32
|
+
|
|
33
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
34
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
35
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
36
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
37
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
38
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
39
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
@superset-ui/embedded-sdk
|
|
43
|
+
Apache-2.0
|
|
44
|
+
|
|
45
|
+
@superset-ui/switchboard
|
|
46
|
+
Apache-2.0
|
|
47
|
+
|
|
48
|
+
jwt-decode
|
|
49
|
+
MIT
|
|
50
|
+
The MIT License (MIT)
|
|
51
|
+
|
|
52
|
+
Copyright (c) 2015 Auth0, Inc. <support@auth0.com> (http://auth0.com)
|
|
53
|
+
|
|
54
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
55
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
56
|
+
in the Software without restriction, including without limitation the rights
|
|
57
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
58
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
59
|
+
furnished to do so, subject to the following conditions:
|
|
60
|
+
|
|
61
|
+
The above copyright notice and this permission notice shall be included in all
|
|
62
|
+
copies or substantial portions of the Software.
|
|
63
|
+
|
|
64
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
65
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
66
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
67
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
68
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
69
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
70
|
+
SOFTWARE.
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
rxjs
|
|
74
|
+
Apache-2.0
|
|
75
|
+
Apache License
|
|
76
|
+
Version 2.0, January 2004
|
|
77
|
+
http://www.apache.org/licenses/
|
|
78
|
+
|
|
79
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
80
|
+
|
|
81
|
+
1. Definitions.
|
|
82
|
+
|
|
83
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
84
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
85
|
+
|
|
86
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
87
|
+
the copyright owner that is granting the License.
|
|
88
|
+
|
|
89
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
90
|
+
other entities that control, are controlled by, or are under common
|
|
91
|
+
control with that entity. For the purposes of this definition,
|
|
92
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
93
|
+
direction or management of such entity, whether by contract or
|
|
94
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
95
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
96
|
+
|
|
97
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
98
|
+
exercising permissions granted by this License.
|
|
99
|
+
|
|
100
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
101
|
+
including but not limited to software source code, documentation
|
|
102
|
+
source, and configuration files.
|
|
103
|
+
|
|
104
|
+
"Object" form shall mean any form resulting from mechanical
|
|
105
|
+
transformation or translation of a Source form, including but
|
|
106
|
+
not limited to compiled object code, generated documentation,
|
|
107
|
+
and conversions to other media types.
|
|
108
|
+
|
|
109
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
110
|
+
Object form, made available under the License, as indicated by a
|
|
111
|
+
copyright notice that is included in or attached to the work
|
|
112
|
+
(an example is provided in the Appendix below).
|
|
113
|
+
|
|
114
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
115
|
+
form, that is based on (or derived from) the Work and for which the
|
|
116
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
117
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
118
|
+
of this License, Derivative Works shall not include works that remain
|
|
119
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
120
|
+
the Work and Derivative Works thereof.
|
|
121
|
+
|
|
122
|
+
"Contribution" shall mean any work of authorship, including
|
|
123
|
+
the original version of the Work and any modifications or additions
|
|
124
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
125
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
126
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
127
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
128
|
+
means any form of electronic, verbal, or written communication sent
|
|
129
|
+
to the Licensor or its representatives, including but not limited to
|
|
130
|
+
communication on electronic mailing lists, source code control systems,
|
|
131
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
132
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
133
|
+
excluding communication that is conspicuously marked or otherwise
|
|
134
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
135
|
+
|
|
136
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
137
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
138
|
+
subsequently incorporated within the Work.
|
|
139
|
+
|
|
140
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
141
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
142
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
143
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
144
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
145
|
+
Work and such Derivative Works in Source or Object form.
|
|
146
|
+
|
|
147
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
148
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
149
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
150
|
+
(except as stated in this section) patent license to make, have made,
|
|
151
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
152
|
+
where such license applies only to those patent claims licensable
|
|
153
|
+
by such Contributor that are necessarily infringed by their
|
|
154
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
155
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
156
|
+
institute patent litigation against any entity (including a
|
|
157
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
158
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
159
|
+
or contributory patent infringement, then any patent licenses
|
|
160
|
+
granted to You under this License for that Work shall terminate
|
|
161
|
+
as of the date such litigation is filed.
|
|
162
|
+
|
|
163
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
164
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
165
|
+
modifications, and in Source or Object form, provided that You
|
|
166
|
+
meet the following conditions:
|
|
167
|
+
|
|
168
|
+
(a) You must give any other recipients of the Work or
|
|
169
|
+
Derivative Works a copy of this License; and
|
|
170
|
+
|
|
171
|
+
(b) You must cause any modified files to carry prominent notices
|
|
172
|
+
stating that You changed the files; and
|
|
173
|
+
|
|
174
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
175
|
+
that You distribute, all copyright, patent, trademark, and
|
|
176
|
+
attribution notices from the Source form of the Work,
|
|
177
|
+
excluding those notices that do not pertain to any part of
|
|
178
|
+
the Derivative Works; and
|
|
179
|
+
|
|
180
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
181
|
+
distribution, then any Derivative Works that You distribute must
|
|
182
|
+
include a readable copy of the attribution notices contained
|
|
183
|
+
within such NOTICE file, excluding those notices that do not
|
|
184
|
+
pertain to any part of the Derivative Works, in at least one
|
|
185
|
+
of the following places: within a NOTICE text file distributed
|
|
186
|
+
as part of the Derivative Works; within the Source form or
|
|
187
|
+
documentation, if provided along with the Derivative Works; or,
|
|
188
|
+
within a display generated by the Derivative Works, if and
|
|
189
|
+
wherever such third-party notices normally appear. The contents
|
|
190
|
+
of the NOTICE file are for informational purposes only and
|
|
191
|
+
do not modify the License. You may add Your own attribution
|
|
192
|
+
notices within Derivative Works that You distribute, alongside
|
|
193
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
194
|
+
that such additional attribution notices cannot be construed
|
|
195
|
+
as modifying the License.
|
|
196
|
+
|
|
197
|
+
You may add Your own copyright statement to Your modifications and
|
|
198
|
+
may provide additional or different license terms and conditions
|
|
199
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
200
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
201
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
202
|
+
the conditions stated in this License.
|
|
203
|
+
|
|
204
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
205
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
206
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
207
|
+
this License, without any additional terms or conditions.
|
|
208
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
209
|
+
the terms of any separate license agreement you may have executed
|
|
210
|
+
with Licensor regarding such Contributions.
|
|
211
|
+
|
|
212
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
213
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
214
|
+
except as required for reasonable and customary use in describing the
|
|
215
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
216
|
+
|
|
217
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
218
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
219
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
220
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
221
|
+
implied, including, without limitation, any warranties or conditions
|
|
222
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
223
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
224
|
+
appropriateness of using or redistributing the Work and assume any
|
|
225
|
+
risks associated with Your exercise of permissions under this License.
|
|
226
|
+
|
|
227
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
228
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
229
|
+
unless required by applicable law (such as deliberate and grossly
|
|
230
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
231
|
+
liable to You for damages, including any direct, indirect, special,
|
|
232
|
+
incidental, or consequential damages of any character arising as a
|
|
233
|
+
result of this License or out of the use or inability to use the
|
|
234
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
235
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
236
|
+
other commercial damages or losses), even if such Contributor
|
|
237
|
+
has been advised of the possibility of such damages.
|
|
238
|
+
|
|
239
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
240
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
241
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
242
|
+
or other liability obligations and/or rights consistent with this
|
|
243
|
+
License. However, in accepting such obligations, You may act only
|
|
244
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
245
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
246
|
+
defend, and hold each Contributor harmless for any liability
|
|
247
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
248
|
+
of your accepting any such warranty or additional liability.
|
|
249
|
+
|
|
250
|
+
END OF TERMS AND CONDITIONS
|
|
251
|
+
|
|
252
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
253
|
+
|
|
254
|
+
To apply the Apache License to your work, attach the following
|
|
255
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
256
|
+
replaced with your own identifying information. (Don't include
|
|
257
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
258
|
+
comment syntax for the file format. We also recommend that a
|
|
259
|
+
file or class name and description of purpose be included on the
|
|
260
|
+
same "printed page" as the copyright notice for easier
|
|
261
|
+
identification within third-party archives.
|
|
262
|
+
|
|
263
|
+
Copyright (c) 2015-2018 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors
|
|
264
|
+
|
|
265
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
266
|
+
you may not use this file except in compliance with the License.
|
|
267
|
+
You may obtain a copy of the License at
|
|
268
|
+
|
|
269
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
270
|
+
|
|
271
|
+
Unless required by applicable law or agreed to in writing, software
|
|
272
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
273
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
274
|
+
See the License for the specific language governing permissions and
|
|
275
|
+
limitations under the License.
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
zone.js
|
|
280
|
+
MIT
|
|
281
|
+
The MIT License
|
|
282
|
+
|
|
283
|
+
Copyright (c) 2010-2022 Google LLC. https://angular.io/license
|
|
284
|
+
|
|
285
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
286
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
287
|
+
in the Software without restriction, including without limitation the rights
|
|
288
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
289
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
290
|
+
furnished to do so, subject to the following conditions:
|
|
291
|
+
|
|
292
|
+
The above copyright notice and this permission notice shall be included in
|
|
293
|
+
all copies or substantial portions of the Software.
|
|
294
|
+
|
|
295
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
296
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
297
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
298
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
299
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
300
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
301
|
+
THE SOFTWARE.
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var GP=Object.defineProperty,l_=Object.getOwnPropertySymbols,qP=Object.prototype.hasOwnProperty,WP=Object.prototype.propertyIsEnumerable,c_=(ln,ut,Ve)=>ut in ln?GP(ln,ut,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):ln[ut]=Ve,Ko=(ln,ut)=>{for(var Ve in ut||(ut={}))qP.call(ut,Ve)&&c_(ln,Ve,ut[Ve]);if(l_)for(var Ve of l_(ut))WP.call(ut,Ve)&&c_(ln,Ve,ut[Ve]);return ln};(()=>{var ln={663:(oe,L)=>{"use strict";Object.defineProperty(L,"__esModule",{value:!0}),L.IFRAME_COMMS_MESSAGE_TYPE=L.DASHBOARD_UI_FILTER_CONFIG_URL_PARAM_KEY=void 0,L.IFRAME_COMMS_MESSAGE_TYPE="__embedded_comms__",L.DASHBOARD_UI_FILTER_CONFIG_URL_PARAM_KEY={visible:"show_filters",expanded:"expand_filters"}},21:(oe,L,B)=>{"use strict";Object.defineProperty(L,"__esModule",{value:!0}),L.REFRESH_TIMING_BUFFER_MS=L.MIN_REFRESH_WAIT_MS=L.DEFAULT_TOKEN_EXP_MS=void 0,L.getGuestTokenRefreshTiming=function fe(he){const N=(0,Ae.jwtDecode)(he),Te=new Date(/[^0-9\.]/g.test(N.exp)?N.exp:1e3*parseFloat(N.exp));return("Invalid Date"!==Te.toString()?Math.max(de,Te.getTime()-Date.now()):Se)-Ne};var Ae=B(664);const Ne=L.REFRESH_TIMING_BUFFER_MS=5e3,de=L.MIN_REFRESH_WAIT_MS=1e4,Se=L.DEFAULT_TOKEN_EXP_MS=3e5},840:(oe,L,B)=>{"use strict";var Ne=B(926).default;L.Z=function he(Te){return N.apply(this,arguments)};var de=B(663),Se=B(168),fe=B(21);function N(){return N=Ne(function*({id:Te,supersetDomain:pe,mountPoint:En,fetchGuestToken:G,dashboardUiConfig:H,debug:ge=!1,iframeTitle:ze="Embedded Dashboard",iframeSandboxExtras:ve=[],referrerPolicy:He}){function ae(...ue){ge&&console.debug(`[superset-embedded-sdk][dashboard ${Te}]`,...ue)}function Ke(){let ue=0;return H&&(H.hideTitle&&(ue+=1),H.hideTab&&(ue+=2),H.hideChartControls&&(ue+=8),H.emitDataMasks&&(ue+=16),H.showRowLimitWarning&&(ue+=32)),ue}function Qe(){return(Qe=Ne(function*(){return new Promise(ue=>{const Pe=document.createElement("iframe"),sr=H?{uiConfig:`${Ke()}`}:void 0,ri=(null==H?void 0:H.filters)||{},ns=Object.keys(ri),rs=Object.fromEntries(ns.map(Lt=>[de.DASHBOARD_UI_FILTER_CONFIG_URL_PARAM_KEY[Lt],ri[Lt]])),is=Ko(Ko(Ko({},sr),rs),null==H?void 0:H.urlParams),Xo=Object.keys(is).length?"?"+new URLSearchParams(is).toString():"";Pe.sandbox.add("allow-same-origin"),Pe.sandbox.add("allow-scripts"),Pe.sandbox.add("allow-presentation"),Pe.sandbox.add("allow-downloads"),Pe.sandbox.add("allow-forms"),Pe.sandbox.add("allow-popups"),ve.forEach(Lt=>{Pe.sandbox.add(Lt)}),He&&(Pe.referrerPolicy=He),Pe.addEventListener("load",()=>{const Lt=new MessageChannel,Jo=Lt.port1;Pe.contentWindow.postMessage({type:de.IFRAME_COMMS_MESSAGE_TYPE,handshake:"port transfer"},pe,[Lt.port2]),ae("sent message channel to the iframe"),ue(new Se.Switchboard({port:Jo,name:"superset-embedded-sdk",debug:ge}))}),Pe.src=`${pe}/embedded/${Te}${Xo}`,Pe.title=ze,En.replaceChildren(Pe),ae("placed the iframe")})})).apply(this,arguments)}ae("embedding"),pe.endsWith("/")&&(pe=pe.slice(0,-1));const[jn,Ee]=yield Promise.all([G(),function K(){return Qe.apply(this,arguments)}()]);function ti(){return rr.apply(this,arguments)}function rr(){return(rr=Ne(function*(){const ue=yield G();Ee.emit("guestToken",{guestToken:ue}),setTimeout(ti,(0,fe.getGuestTokenRefreshTiming)(ue))})).apply(this,arguments)}return Ee.emit("guestToken",{guestToken:jn}),ae("sent guest token"),setTimeout(ti,(0,fe.getGuestTokenRefreshTiming)(jn)),{getScrollSize:()=>Ee.get("getScrollSize"),unmount:function ir(){ae("unmounting"),En.replaceChildren()},getDashboardPermalink:ue=>Ee.get("getDashboardPermalink",{anchor:ue}),getActiveTabs:()=>Ee.get("getActiveTabs"),observeDataMask:ue=>{Ee.start(),Ee.defineMethod("observeDataMask",ue)},getDataMask:()=>Ee.get("getDataMask"),getChartStates:()=>Ee.get("getChartStates"),getChartDataPayloads:ue=>Ee.get("getChartDataPayloads",ue),setThemeConfig:function(){var ue=Ne(function*(Pe){try{Ee.emit("setThemeConfig",{themeConfig:Pe}),ae("Theme config sent successfully (or at least message dispatched)")}catch(sr){throw ae('Error sending theme config. Ensure the iframe side implements the "setThemeConfig" method.'),sr}});return function(sr){return ue.apply(this,arguments)}}(),setThemeMode:ue=>{try{Ee.emit("setThemeMode",{mode:ue}),ae(`Theme mode set to: ${ue}`)}catch(Pe){throw ae('Error sending theme mode. Ensure the iframe side implements the "setThemeMode" method.'),Pe}}}}),N.apply(this,arguments)}},168:(oe,L,B)=>{"use strict";function Ae(G,H,ge,ze,ve,He,ae){try{var Ke=G[He](ae),K=Ke.value}catch(Qe){return void ge(Qe)}Ke.done?H(K):Promise.resolve(K).then(ze,ve)}function Ne(G){return function(){var H=this,ge=arguments;return new Promise(function(ze,ve){var He=G.apply(H,ge);function ae(K){Ae(He,ze,ve,ae,Ke,"next",K)}function Ke(K){Ae(He,ze,ve,ae,Ke,"throw",K)}ae(void 0)})}}B.r(L),B.d(L,{Switchboard:()=>Te,default:()=>En});var de=function(G){return G.GET="get",G.REPLY="reply",G.EMIT="emit",G.ERROR="error",G}(de||{});class Te{constructor(H){this.port=void 0,this.name="",this.methods={},this.incrementor=1,this.debugMode=void 0,this.isInitialised=void 0,H&&this.init(H)}init(H){var ge=this;if(this.isInitialised)return void this.logError("already initialized");const{port:ze,name:ve="switchboard",debug:He=!1}=H;this.port=ze,this.name=ve,this.debugMode=He,ze.addEventListener("message",function(){var ae=Ne(function*(Ke){ge.log("message received",Ke);const K=Ke.data;if(function Se(G){return G.switchboardAction===de.GET}(K))ge.port.postMessage(yield ge.getMethodResult(K));else if(function he(G){return G.switchboardAction===de.EMIT}(K)){const{method:Qe,args:jn}=K,Ee=ge.methods[Qe];Ee&&Ee(jn)}});return function(Ke){return ae.apply(this,arguments)}}()),this.isInitialised=!0}getMethodResult({messageId:H,method:ge,args:ze}){var ve=this;return Ne(function*(){const He=ve.methods[ge];if(null==He)return{switchboardAction:de.ERROR,messageId:H,error:`[${ve.name}] Method "${ge}" is not defined`};try{const ae=yield He(ze);return{switchboardAction:de.REPLY,messageId:H,result:ae}}catch(ae){return ve.logError(ae),{switchboardAction:de.ERROR,messageId:H,error:`[${ve.name}] Method "${ge}" threw an error`}}})()}defineMethod(H,ge){this.methods[H]=ge}get(H,ge){return new Promise((ze,ve)=>{if(!this.isInitialised)return void ve(new Error("Switchboard not initialised"));const He=this.getNewMessageId(),ae=K=>{const Qe=K.data;if(Qe.messageId===He)if(this.port.removeEventListener("message",ae),function fe(G){return G.switchboardAction===de.REPLY}(Qe))ze(Qe.result);else{const jn=function N(G){return G.switchboardAction===de.ERROR}(Qe)?Qe.error:"Unexpected response message";ve(new Error(jn))}};this.port.addEventListener("message",ae),this.port.start(),this.port.postMessage({switchboardAction:de.GET,method:H,messageId:He,args:ge})})}emit(H,ge){this.isInitialised?this.port.postMessage({switchboardAction:de.EMIT,method:H,args:ge}):this.logError("Switchboard not initialised")}start(){this.isInitialised?this.port.start():this.logError("Switchboard not initialised")}log(...H){this.debugMode&&console.debug(`[${this.name}]`,...H)}logError(...H){console.error(`[${this.name}]`,...H)}getNewMessageId(){return`m_${this.name}_${this.incrementor++}`}}const En=new Te},926:oe=>{function L(Ae,Ne,de,Se,fe,he,N){try{var Te=Ae[he](N),pe=Te.value}catch(En){return void de(En)}Te.done?Ne(pe):Promise.resolve(pe).then(Se,fe)}oe.exports=function B(Ae){return function(){var Ne=this,de=arguments;return new Promise(function(Se,fe){var he=Ae.apply(Ne,de);function N(pe){L(he,Se,fe,N,Te,"next",pe)}function Te(pe){L(he,Se,fe,N,Te,"throw",pe)}N(void 0)})}},oe.exports.__esModule=!0,oe.exports.default=oe.exports},664:(oe,L)=>{"use strict";Object.defineProperty(L,"__esModule",{value:!0}),L.jwtDecode=L.InvalidTokenError=void 0;class B extends Error{}L.InvalidTokenError=B,B.prototype.name="InvalidTokenError",L.jwtDecode=function de(Se,fe){if("string"!=typeof Se)throw new B("Invalid token specified: must be a string");fe||(fe={});const he=!0===fe.header?0:1,N=Se.split(".")[he];if("string"!=typeof N)throw new B(`Invalid token specified: missing part #${he+1}`);let Te;try{Te=function Ne(Se){let fe=Se.replace(/-/g,"+").replace(/_/g,"/");switch(fe.length%4){case 0:break;case 2:fe+="==";break;case 3:fe+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return function Ae(Se){return decodeURIComponent(atob(Se).replace(/(.)/g,(fe,he)=>{let N=he.charCodeAt(0).toString(16).toUpperCase();return N.length<2&&(N="0"+N),"%"+N}))}(fe)}catch(he){return atob(fe)}}(N)}catch(pe){throw new B(`Invalid token specified: invalid base64 for part #${he+1} (${pe.message})`)}try{return JSON.parse(Te)}catch(pe){throw new B(`Invalid token specified: invalid json for part #${he+1} (${pe.message})`)}}}},ut={};function Ve(oe){var L=ut[oe];if(void 0!==L)return L.exports;var B=ut[oe]={exports:{}};return ln[oe](B,B.exports,Ve),B.exports}Ve.d=(oe,L)=>{for(var B in L)Ve.o(L,B)&&!Ve.o(oe,B)&&Object.defineProperty(oe,B,{enumerable:!0,get:L[B]})},Ve.o=(oe,L)=>Object.prototype.hasOwnProperty.call(oe,L),Ve.r=oe=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(oe,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(oe,"__esModule",{value:!0})},(()=>{"use strict";function oe(t){return"function"==typeof t}let L=!1;const B={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else L&&console.log("RxJS: Back to a better error behavior. Thank you. <3");L=t},get useDeprecatedSynchronousErrorHandling(){return L}};function Ae(t){setTimeout(()=>{throw t},0)}const Ne={closed:!0,next(t){},error(t){if(B.useDeprecatedSynchronousErrorHandling)throw t;Ae(t)},complete(){}},de=Array.isArray||(t=>t&&"number"==typeof t.length);function Se(t){return null!==t&&"object"==typeof t}const he=(()=>{function t(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((n,r)=>`${r+1}) ${n.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}return t.prototype=Object.create(Error.prototype),t})();class N{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:n,_ctorUnsubscribe:r,_unsubscribe:i,_subscriptions:s}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof N)n.remove(this);else if(null!==n)for(let o=0;o<n.length;++o)n[o].remove(this);if(oe(i)){r&&(this._unsubscribe=void 0);try{i.call(this)}catch(o){e=o instanceof he?Te(o.errors):[o]}}if(de(s)){let o=-1,a=s.length;for(;++o<a;){const u=s[o];if(Se(u))try{u.unsubscribe()}catch(l){e=e||[],l instanceof he?e=e.concat(Te(l.errors)):e.push(l)}}}if(e)throw new he(e)}add(e){let n=e;if(!e)return N.EMPTY;switch(typeof e){case"function":n=new N(e);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof N)){const s=n;n=new N,n._subscriptions=[s]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}let{_parentOrParents:r}=n;if(null===r)n._parentOrParents=this;else if(r instanceof N){if(r===this)return n;n._parentOrParents=[r,this]}else{if(-1!==r.indexOf(this))return n;r.push(this)}const i=this._subscriptions;return null===i?this._subscriptions=[n]:i.push(n),n}remove(e){const n=this._subscriptions;if(n){const r=n.indexOf(e);-1!==r&&n.splice(r,1)}}}var t;function Te(t){return t.reduce((e,n)=>e.concat(n instanceof he?n.errors:n),[])}N.EMPTY=((t=new N).closed=!0,t);const pe="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class G extends N{constructor(e,n,r){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=Ne;break;case 1:if(!e){this.destination=Ne;break}if("object"==typeof e){e instanceof G?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new H(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new H(this,e,n,r)}}[pe](){return this}static create(e,n,r){const i=new G(e,n,r);return i.syncErrorThrowable=!1,i}next(e){this.isStopped||this._next(e)}error(e){this.isStopped||(this.isStopped=!0,this._error(e))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(e){this.destination.next(e)}_error(e){this.destination.error(e),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:e}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}class H extends G{constructor(e,n,r,i){super(),this._parentSubscriber=e;let s,o=this;oe(n)?s=n:n&&(s=n.next,r=n.error,i=n.complete,n!==Ne&&(o=Object.create(n),oe(o.unsubscribe)&&this.add(o.unsubscribe.bind(o)),o.unsubscribe=this.unsubscribe.bind(this))),this._context=o,this._next=s,this._error=r,this._complete=i}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:n}=this;B.useDeprecatedSynchronousErrorHandling&&n.syncErrorThrowable?this.__tryOrSetError(n,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}error(e){if(!this.isStopped){const{_parentSubscriber:n}=this,{useDeprecatedSynchronousErrorHandling:r}=B;if(this._error)r&&n.syncErrorThrowable?(this.__tryOrSetError(n,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(n.syncErrorThrowable)r?(n.syncErrorValue=e,n.syncErrorThrown=!0):Ae(e),this.unsubscribe();else{if(this.unsubscribe(),r)throw e;Ae(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const n=()=>this._complete.call(this._context);B.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,n){try{e.call(this._context,n)}catch(r){if(this.unsubscribe(),B.useDeprecatedSynchronousErrorHandling)throw r;Ae(r)}}__tryOrSetError(e,n,r){if(!B.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{n.call(this._context,r)}catch(i){return B.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=i,e.syncErrorThrown=!0,!0):(Ae(i),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}const ve="function"==typeof Symbol&&Symbol.observable||"@@observable";function He(t){return t}let K=(()=>{class t{constructor(n){this._isScalar=!1,n&&(this._subscribe=n)}lift(n){const r=new t;return r.source=this,r.operator=n,r}subscribe(n,r,i){const{operator:s}=this,o=function ze(t,e,n){if(t){if(t instanceof G)return t;if(t[pe])return t[pe]()}return t||e||n?new G(t,e,n):new G(Ne)}(n,r,i);if(o.add(s?s.call(o,this.source):this.source||B.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),B.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o}_trySubscribe(n){try{return this._subscribe(n)}catch(r){B.useDeprecatedSynchronousErrorHandling&&(n.syncErrorThrown=!0,n.syncErrorValue=r),function ge(t){for(;t;){const{closed:e,destination:n,isStopped:r}=t;if(e||r)return!1;t=n&&n instanceof G?n:null}return!0}(n)?n.error(r):console.warn(r)}}forEach(n,r){return new(r=Qe(r))((i,s)=>{let o;o=this.subscribe(a=>{try{n(a)}catch(u){s(u),o&&o.unsubscribe()}},s,i)})}_subscribe(n){const{source:r}=this;return r&&r.subscribe(n)}[ve](){return this}pipe(...n){return 0===n.length?this:function Ke(t){return 0===t.length?He:1===t.length?t[0]:function(n){return t.reduce((r,i)=>i(r),n)}}(n)(this)}toPromise(n){return new(n=Qe(n))((r,i)=>{let s;this.subscribe(o=>s=o,o=>i(o),()=>r(s))})}}return t.create=e=>new t(e),t})();function Qe(t){if(t||(t=B.Promise||Promise),!t)throw new Error("no Promise impl found");return t}const Ee=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})();class ti extends N{constructor(e,n){super(),this.subject=e,this.subscriber=n,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const e=this.subject,n=e.observers;if(this.subject=null,!n||0===n.length||e.isStopped||e.closed)return;const r=n.indexOf(this.subscriber);-1!==r&&n.splice(r,1)}}class rr extends G{constructor(e){super(e),this.destination=e}}let ir=(()=>{class t extends K{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[pe](){return new rr(this)}lift(n){const r=new Qo(this,this);return r.operator=n,r}next(n){if(this.closed)throw new Ee;if(!this.isStopped){const{observers:r}=this,i=r.length,s=r.slice();for(let o=0;o<i;o++)s[o].next(n)}}error(n){if(this.closed)throw new Ee;this.hasError=!0,this.thrownError=n,this.isStopped=!0;const{observers:r}=this,i=r.length,s=r.slice();for(let o=0;o<i;o++)s[o].error(n);this.observers.length=0}complete(){if(this.closed)throw new Ee;this.isStopped=!0;const{observers:n}=this,r=n.length,i=n.slice();for(let s=0;s<r;s++)i[s].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(n){if(this.closed)throw new Ee;return super._trySubscribe(n)}_subscribe(n){if(this.closed)throw new Ee;return this.hasError?(n.error(this.thrownError),N.EMPTY):this.isStopped?(n.complete(),N.EMPTY):(this.observers.push(n),new ti(this,n))}asObservable(){const n=new K;return n.source=this,n}}return t.create=(e,n)=>new Qo(e,n),t})();class Qo extends ir{constructor(e,n){super(),this.destination=e,this.source=n}next(e){const{destination:n}=this;n&&n.next&&n.next(e)}error(e){const{destination:n}=this;n&&n.error&&this.destination.error(e)}complete(){const{destination:e}=this;e&&e.complete&&this.destination.complete()}_subscribe(e){const{source:n}=this;return n?this.source.subscribe(e):N.EMPTY}}function Zo(t){return t&&"function"==typeof t.schedule}function ts(t,e){return function(r){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return r.lift(new kc(t,e))}}class kc{constructor(e,n){this.project=e,this.thisArg=n}call(e,n){return n.subscribe(new jc(e,this.project,this.thisArg))}}class jc extends G{constructor(e,n,r){super(e),this.project=n,this.count=0,this.thisArg=r||this}_next(e){let n;try{n=this.project.call(this.thisArg,e,this.count++)}catch(r){return void this.destination.error(r)}this.destination.next(n)}}const Yo=t=>e=>{for(let n=0,r=t.length;n<r&&!e.closed;n++)e.next(t[n]);e.complete()},ni=function Vc(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}(),ri=t=>t&&"number"==typeof t.length&&"function"!=typeof t;function ns(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}const rs=t=>{if(t&&"function"==typeof t[ve])return(t=>e=>{const n=t[ve]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(e)})(t);if(ri(t))return Yo(t);if(ns(t))return(t=>e=>(t.then(n=>{e.closed||(e.next(n),e.complete())},n=>e.error(n)).then(null,Ae),e))(t);if(t&&"function"==typeof t[ni])return(t=>e=>{const n=t[ni]();for(;;){let r;try{r=n.next()}catch(i){return e.error(i),e}if(r.done){e.complete();break}if(e.next(r.value),e.closed)break}return"function"==typeof n.return&&e.add(()=>{n.return&&n.return()}),e})(t);{const n=`You provided ${Se(t)?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(n)}};function Lt(t,e){return new K(n=>{const r=new N;let i=0;return r.add(e.schedule(function(){i!==t.length?(n.next(t[i++]),n.closed||r.add(this.schedule())):n.complete()})),r})}function Hc(t,e){return e?function f_(t,e){if(null!=t){if(function ea(t){return t&&"function"==typeof t[ve]}(t))return function is(t,e){return new K(n=>{const r=new N;return r.add(e.schedule(()=>{const i=t[ve]();r.add(i.subscribe({next(s){r.add(e.schedule(()=>n.next(s)))},error(s){r.add(e.schedule(()=>n.error(s)))},complete(){r.add(e.schedule(()=>n.complete()))}}))})),r})}(t,e);if(ns(t))return function Xo(t,e){return new K(n=>{const r=new N;return r.add(e.schedule(()=>t.then(i=>{r.add(e.schedule(()=>{n.next(i),r.add(e.schedule(()=>n.complete()))}))},i=>{r.add(e.schedule(()=>n.error(i)))}))),r})}(t,e);if(ri(t))return Lt(t,e);if(function d_(t){return t&&"function"==typeof t[ni]}(t)||"string"==typeof t)return function Jo(t,e){if(!t)throw new Error("Iterable cannot be null");return new K(n=>{const r=new N;let i;return r.add(()=>{i&&"function"==typeof i.return&&i.return()}),r.add(e.schedule(()=>{i=t[ni](),r.add(e.schedule(function(){if(n.closed)return;let s,o;try{const a=i.next();s=a.value,o=a.done}catch(a){return void n.error(a)}o?n.complete():(n.next(s),this.schedule())}))})),r})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof K?t:new K(rs(t))}class $c extends G{constructor(e){super(),this.parent=e}_next(e){this.parent.notifyNext(e)}_error(e){this.parent.notifyError(e),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class Uc extends G{notifyNext(e){this.destination.next(e)}notifyError(e){this.destination.error(e)}notifyComplete(){this.destination.complete()}}function zc(t,e){if(!e.closed)return t instanceof K?t.subscribe(e):rs(t)(e)}function Gc(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?r=>r.pipe(Gc((i,s)=>Hc(t(i,s)).pipe(ts((o,a)=>e(i,o,s,a))),n)):("number"==typeof e&&(n=e),r=>r.lift(new h_(t,n)))}class h_{constructor(e,n=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=n}call(e,n){return n.subscribe(new p_(e,this.project,this.concurrent))}}class p_ extends Uc{constructor(e,n,r=Number.POSITIVE_INFINITY){super(e),this.project=n,this.concurrent=r,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}_tryNext(e){let n;const r=this.index++;try{n=this.project(e,r)}catch(i){return void this.destination.error(i)}this.active++,this._innerSub(n)}_innerSub(e){const n=new $c(this),r=this.destination;r.add(n);const i=zc(e,n);i!==n&&r.add(i)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(e){this.destination.next(e)}notifyComplete(){const e=this.buffer;this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function g_(t=Number.POSITIVE_INFINITY){return Gc(He,t)}function qc(t,e){return e?Lt(t,e):new K(Yo(t))}function Wc(...t){let e=Number.POSITIVE_INFINITY,n=null,r=t[t.length-1];return Zo(r)?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof r&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof K?t[0]:g_(e)(qc(t,n))}function Kc(){return function(e){return e.lift(new m_(e))}}class m_{constructor(e){this.connectable=e}call(e,n){const{connectable:r}=this;r._refCount++;const i=new y_(e,r),s=n.subscribe(i);return i.closed||(i.connection=r.connect()),s}}class y_ extends G{constructor(e,n){super(e),this.connectable=n}_unsubscribe(){const{connectable:e}=this;if(!e)return void(this.connection=null);this.connectable=null;const n=e._refCount;if(n<=0)return void(this.connection=null);if(e._refCount=n-1,n>1)return void(this.connection=null);const{connection:r}=this,i=e._connection;this.connection=null,i&&(!r||i===r)&&i.unsubscribe()}}class __ extends K{constructor(e,n){super(),this.source=e,this.subjectFactory=n,this._refCount=0,this._isComplete=!1}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let e=this._connection;return e||(this._isComplete=!1,e=this._connection=new N,e.add(this.source.subscribe(new v_(this.getSubject(),this))),e.closed&&(this._connection=null,e=N.EMPTY)),e}refCount(){return Kc()(this)}}const D_=(()=>{const t=__.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class v_ extends rr{constructor(e,n){super(e),this.connectable=n}_error(e){this._unsubscribe(),super._error(e)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const e=this.connectable;if(e){this.connectable=null;const n=e._connection;e._refCount=0,e._subject=null,e._connection=null,n&&n.unsubscribe()}}}class b_{constructor(e,n){this.subjectFactory=e,this.selector=n}call(e,n){const{selector:r}=this,i=this.subjectFactory(),s=r(i).subscribe(e);return s.add(n.subscribe(i)),s}}function C_(){return new ir}function te(t){for(let e in t)if(t[e]===te)return e;throw Error("Could not find renamed property on target object.")}function X(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(X).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function na(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const T_=te({__forward_ref__:te});function ra(t){return t.__forward_ref__=ra,t.toString=function(){return X(this())},t}function k(t){return function Qc(t){return"function"==typeof t&&t.hasOwnProperty(T_)&&t.__forward_ref__===ra}(t)?t():t}class b extends Error{constructor(e,n){super(function ia(t,e){return`NG0${Math.abs(t)}${e?": "+e:""}`}(e,n)),this.code=e}}function Ge(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():function P(t){return"string"==typeof t?t:null==t?"":String(t)}(t)}function ss(t,e){const n=e?` in ${e}`:"";throw new b(-201,`No provider for ${Ge(t)} found${n}`)}function ct(t,e){null==t&&function J(t,e,n,r){throw new Error(`ASSERTION ERROR: ${t}`+(null==r?"":` [Expected=> ${n} ${r} ${e} <=Actual]`))}(e,t,null,"!=")}function ne(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Bn(t){return{providers:t.providers||[],imports:t.imports||[]}}function sa(t){return Zc(t,os)||Zc(t,Xc)}function Zc(t,e){return t.hasOwnProperty(e)?t[e]:null}function Yc(t){return t&&(t.hasOwnProperty(oa)||t.hasOwnProperty(R_))?t[oa]:null}const os=te({\u0275prov:te}),oa=te({\u0275inj:te}),Xc=te({ngInjectableDef:te}),R_=te({ngInjectorDef:te});var O=(()=>((O=O||{})[O.Default=0]="Default",O[O.Host=1]="Host",O[O.Self=2]="Self",O[O.SkipSelf=4]="SkipSelf",O[O.Optional=8]="Optional",O))();let aa;function wn(t){const e=aa;return aa=t,e}function Jc(t,e,n){const r=sa(t);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&O.Optional?null:void 0!==e?e:void ss(X(t),"Injector")}function bn(t){return{toString:t}.toString()}var kt=(()=>((kt=kt||{})[kt.OnPush=0]="OnPush",kt[kt.Default=1]="Default",kt))(),jt=(()=>(function(t){t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom"}(jt||(jt={})),jt))();const x_="undefined"!=typeof globalThis&&globalThis,L_="undefined"!=typeof window&&window,k_="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,ee=x_||"undefined"!=typeof global&&global||L_||k_,or={},re=[],as=te({\u0275cmp:te}),ua=te({\u0275dir:te}),la=te({\u0275pipe:te}),ed=te({\u0275mod:te}),dn=te({\u0275fac:te}),ii=te({__NG_ELEMENT_ID__:te});let j_=0;function ca(t){return bn(()=>{const n={},r={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===kt.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||re,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||jt.Emulated,id:"c",styles:t.styles||re,_:null,setInput:null,schemas:t.schemas||null,tView:null},i=t.directives,s=t.features,o=t.pipes;return r.id+=j_++,r.inputs=id(t.inputs,n),r.outputs=id(t.outputs),s&&s.forEach(a=>a(r)),r.directiveDefs=i?()=>("function"==typeof i?i():i).map(td):null,r.pipeDefs=o?()=>("function"==typeof o?o():o).map(nd):null,r})}function td(t){return qe(t)||function Cn(t){return t[ua]||null}(t)}function nd(t){return function Vn(t){return t[la]||null}(t)}const rd={};function ar(t){return bn(()=>{const e={type:t.type,bootstrap:t.bootstrap||re,declarations:t.declarations||re,imports:t.imports||re,exports:t.exports||re,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&(rd[t.id]=t.type),e})}function id(t,e){if(null==t)return or;const n={};for(const r in t)if(t.hasOwnProperty(r)){let i=t[r],s=i;Array.isArray(i)&&(s=i[1],i=i[0]),n[i]=r,e&&(e[i]=s)}return n}function qe(t){return t[as]||null}function Ct(t,e){const n=t[ed]||null;if(!n&&!0===e)throw new Error(`Type ${X(t)} does not have '\u0275mod' property.`);return n}const x=11;function Zt(t){return Array.isArray(t)&&"object"==typeof t[1]}function Vt(t){return Array.isArray(t)&&!0===t[1]}function ha(t){return 0!=(8&t.flags)}function ds(t){return 2==(2&t.flags)}function Ht(t){return null!==t.template}function z_(t){return 0!=(512&t[2])}function zn(t,e){return t.hasOwnProperty(dn)?t[dn]:null}class od{constructor(e,n,r){this.previousValue=e,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function ui(){return ad}function ad(t){return t.type.prototype.ngOnChanges&&(t.setInput=K_),W_}function W_(){const t=ld(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===or)t.previous=e;else for(let r in e)n[r]=e[r];t.current=null,this.ngOnChanges(e)}}function K_(t,e,n,r){const i=ld(t)||function Q_(t,e){return t[ud]=e}(t,{previous:or,current:null}),s=i.current||(i.current={}),o=i.previous,a=this.declaredInputs[n],u=o[a];s[a]=new od(u&&u.currentValue,e,o===or),t[r]=e}ui.ngInherit=!0;const ud="__ngSimpleChanges__";function ld(t){return t[ud]||null}let _a;function be(t){return!!t.listen}const cd={createRenderer:(t,e)=>function Da(){return void 0!==_a?_a:"undefined"!=typeof document?document:void 0}()};function Fe(t){for(;Array.isArray(t);)t=t[0];return t}function ft(t,e){return Fe(e[t.index])}function ht(t,e){const n=e[t];return Zt(n)?n:n[0]}function dd(t){return 4==(4&t[2])}function Ea(t){return 128==(128&t[2])}function Sn(t,e){return null==e?null:t[e]}function fd(t){t[18]=0}function wa(t,e){t[5]+=e;let n=t,r=t[3];for(;null!==r&&(1===e&&1===n[5]||-1===e&&0===n[5]);)r[5]+=e,n=r,r=r[3]}const F={lFrame:Ed(null),bindingsEnabled:!0};function pd(){return F.bindingsEnabled}function _(){return F.lFrame.lView}function Q(){return F.lFrame.tView}function Le(){let t=gd();for(;null!==t&&64===t.type;)t=t.parent;return t}function gd(){return F.lFrame.currentTNode}function Yt(t,e){const n=F.lFrame;n.currentTNode=t,n.isParent=e}function ba(){return F.lFrame.isParent}function hD(t,e){const n=F.lFrame;n.bindingIndex=n.bindingRootIndex=t,Sa(e)}function Sa(t){F.lFrame.currentDirectiveIndex=t}function _d(){return F.lFrame.currentQueryIndex}function Ia(t){F.lFrame.currentQueryIndex=t}function gD(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function Dd(t,e,n){if(n&O.SkipSelf){let i=e,s=t;for(;!(i=i.parent,null!==i||n&O.Host||(i=gD(s),null===i||(s=s[15],10&i.type))););if(null===i)return!1;e=i,t=s}const r=F.lFrame=vd();return r.currentTNode=e,r.lView=t,!0}function gs(t){const e=vd(),n=t[1];F.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function vd(){const t=F.lFrame,e=null===t?null:t.child;return null===e?Ed(t):e}function Ed(t){const e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function wd(){const t=F.lFrame;return F.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const bd=wd;function ms(){const t=wd();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Tn(t){F.lFrame.selectedIndex=t}function ys(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n<r;n++){const s=t.data[n].type.prototype,{ngAfterContentInit:o,ngAfterContentChecked:a,ngAfterViewInit:u,ngAfterViewChecked:l,ngOnDestroy:c}=s;o&&(t.contentHooks||(t.contentHooks=[])).push(-n,o),a&&((t.contentHooks||(t.contentHooks=[])).push(n,a),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,a)),u&&(t.viewHooks||(t.viewHooks=[])).push(-n,u),l&&((t.viewHooks||(t.viewHooks=[])).push(n,l),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(n,l)),null!=c&&(t.destroyHooks||(t.destroyHooks=[])).push(n,c)}}function _s(t,e,n){Cd(t,e,3,n)}function Ds(t,e,n,r){(3&t[2])===n&&Cd(t,e,n,r)}function Ma(t,e){let n=t[2];(3&n)===e&&(n&=2047,n+=1,t[2]=n)}function Cd(t,e,n,r){const s=null!=r?r:-1,o=e.length-1;let a=0;for(let u=void 0!==r?65535&t[18]:0;u<o;u++)if("number"==typeof e[u+1]){if(a=e[u],null!=r&&a>=r)break}else e[u]<0&&(t[18]+=65536),(a<s||-1==s)&&(CD(t,n,e,u),t[18]=(4294901760&t[18])+u+2),u++}function CD(t,e,n,r){const i=n[r]<0,s=n[r+1],a=t[i?-n[r]:n[r]];if(i){if(t[2]>>11<t[18]>>16&&(3&t[2])===e){t[2]+=2048;try{s.call(a)}finally{}}}else try{s.call(a)}finally{}}class ci{constructor(e,n,r){this.factory=e,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function vs(t,e,n){const r=be(t);let i=0;for(;i<n.length;){const s=n[i];if("number"==typeof s){if(0!==s)break;i++;const o=n[i++],a=n[i++],u=n[i++];r?t.setAttribute(e,a,u,o):e.setAttributeNS(o,a,u)}else{const o=s,a=n[++i];Na(o)?r&&t.setProperty(e,o,a):r?t.setAttribute(e,o,a):e.setAttribute(o,a),i++}}return i}function Sd(t){return 3===t||4===t||6===t}function Na(t){return 64===t.charCodeAt(0)}function Es(t,e){if(null!==e&&0!==e.length)if(null===t||0===t.length)t=e.slice();else{let n=-1;for(let r=0;r<e.length;r++){const i=e[r];"number"==typeof i?n=i:0===n||Td(t,n,i,null,-1===n||2===n?e[++r]:null)}}return t}function Td(t,e,n,r,i){let s=0,o=t.length;if(-1===e)o=-1;else for(;s<t.length;){const a=t[s++];if("number"==typeof a){if(a===e){o=-1;break}if(a>e){o=s-1;break}}}for(;s<t.length;){const a=t[s];if("number"==typeof a)break;if(a===n){if(null===r)return void(null!==i&&(t[s+1]=i));if(r===t[s+1])return void(t[s+2]=i)}s++,null!==r&&s++,null!==i&&s++}-1!==o&&(t.splice(o,0,e),s=o+1),t.splice(s++,0,n),null!==r&&t.splice(s++,0,r),null!==i&&t.splice(s++,0,i)}function Id(t){return-1!==t}function pr(t){return 32767&t}function gr(t,e){let n=function AD(t){return t>>16}(t),r=e;for(;n>0;)r=r[15],n--;return r}let Pa=!0;function ws(t){const e=Pa;return Pa=t,e}let ND=0;function fi(t,e){const n=Ra(t,e);if(-1!==n)return n;const r=e[1];r.firstCreatePass&&(t.injectorIndex=e.length,Fa(r.data,t),Fa(e,null),Fa(r.blueprint,null));const i=bs(t,e),s=t.injectorIndex;if(Id(i)){const o=pr(i),a=gr(i,e),u=a[1].data;for(let l=0;l<8;l++)e[s+l]=a[o+l]|u[o+l]}return e[s+8]=i,s}function Fa(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Ra(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function bs(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,r=null,i=e;for(;null!==i;){const s=i[1],o=s.type;if(r=2===o?s.declTNode:1===o?i[6]:null,null===r)return-1;if(n++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function Cs(t,e,n){!function PD(t,e,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(ii)&&(r=n[ii]),null==r&&(r=n[ii]=ND++);const i=255&r;e.data[t+(i>>5)]|=1<<i}(t,e,n)}function Nd(t,e,n){if(n&O.Optional)return t;ss(e,"NodeInjector")}function Pd(t,e,n,r){if(n&O.Optional&&void 0===r&&(r=null),0==(n&(O.Self|O.Host))){const i=t[9],s=wn(void 0);try{return i?i.get(e,r,n&O.Optional):Jc(e,r,n&O.Optional)}finally{wn(s)}}return Nd(r,e,n)}const Rd={};function RD(){return new mr(Le(),_())}function OD(t,e,n,r,i,s){const o=e[1],a=o.data[t+8],c=Ss(a,o,n,null==r?ds(a)&&Pa:r!=o&&0!=(3&a.type),i&O.Host&&s===a);return null!==c?hi(e,o,c,a):Rd}function Ss(t,e,n,r,i){const s=t.providerIndexes,o=e.data,a=1048575&s,u=t.directiveStart,c=s>>20,f=i?a+c:t.directiveEnd;for(let h=r?a:a+c;h<f;h++){const p=o[h];if(h<u&&n===p||h>=u&&p.type===n)return h}if(i){const h=o[u];if(h&&Ht(h)&&h.type===n)return u}return null}function hi(t,e,n,r){let i=t[n];const s=e.data;if(function SD(t){return t instanceof ci}(i)){const o=i;o.resolving&&function I_(t,e){const n=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new b(-200,`Circular dependency in DI detected for ${t}${n}`)}(Ge(s[n]));const a=ws(o.canSeeViewProviders);o.resolving=!0;const u=o.injectImpl?wn(o.injectImpl):null;Dd(t,r,O.Default);try{i=t[n]=o.factory(void 0,s,t,r),e.firstCreatePass&&n>=r.directiveStart&&function bD(t,e,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:s}=e.type.prototype;if(r){const o=ad(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,o)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,i),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,s))}(n,s[n],e)}finally{null!==u&&wn(u),ws(a),o.resolving=!1,bd()}}return i}function Od(t,e,n){return!!(n[e+(t>>5)]&1<<t)}function xd(t,e){return!(t&O.Self||t&O.Host&&e)}class mr{constructor(e,n){this._tNode=e,this._lView=n}get(e,n,r){return function Fd(t,e,n,r=O.Default,i){if(null!==t){const s=function xD(t){if("string"==typeof t)return t.charCodeAt(0)||0;const e=t.hasOwnProperty(ii)?t[ii]:void 0;return"number"==typeof e?e>=0?255&e:RD:e}(n);if("function"==typeof s){if(!Dd(e,t,r))return r&O.Host?Nd(i,n,r):Pd(e,n,r,i);try{const o=s(r);if(null!=o||r&O.Optional)return o;ss(n)}finally{bd()}}else if("number"==typeof s){let o=null,a=Ra(t,e),u=-1,l=r&O.Host?e[16][6]:null;for((-1===a||r&O.SkipSelf)&&(u=-1===a?bs(t,e):e[a+8],-1!==u&&xd(r,!1)?(o=e[1],a=pr(u),e=gr(u,e)):a=-1);-1!==a;){const c=e[1];if(Od(s,a,c.data)){const d=OD(a,e,n,o,r,l);if(d!==Rd)return d}u=e[a+8],-1!==u&&xd(r,e[1].data[a+8]===l)&&Od(s,a,e)?(o=c,a=pr(u),e=gr(u,e)):a=-1}}}return Pd(e,n,r,i)}(this._tNode,this._lView,e,r,n)}}class Z{constructor(e,n){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=ne({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}function It(t,e){void 0===e&&(e=t);for(let n=0;n<t.length;n++){let r=t[n];Array.isArray(r)?(e===t&&(e=t.slice(0,n)),It(r,e)):e!==t&&e.push(r)}return e}function Xt(t,e){t.forEach(n=>Array.isArray(n)?Xt(n,e):e(n))}function kd(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Ts(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}const yi={},Ms="ngTempTokenPath",WD=/\n/gm,$d="__source",QD=te({provide:String,useValue:te});let _i;function Ud(t){const e=_i;return _i=t,e}function ZD(t,e=O.Default){if(void 0===_i)throw new b(203,"");return null===_i?Jc(t,void 0,e):_i.get(t,e&O.Optional?null:void 0,e)}function q(t,e=O.Default){return(function O_(){return aa}()||ZD)(k(t),e)}const YD=q;function Ha(t){const e=[];for(let n=0;n<t.length;n++){const r=k(t[n]);if(Array.isArray(r)){if(0===r.length)throw new b(900,"");let i,s=O.Default;for(let o=0;o<r.length;o++){const a=r[o],u=XD(a);"number"==typeof u?-1===u?i=a.token:s|=u:i=a}e.push(q(i,s))}else e.push(q(r))}return e}function XD(t){return t.__NG_DI_FLAG__}var gt=(()=>((gt=gt||{})[gt.Important=1]="Important",gt[gt.DashCase=2]="DashCase",gt))();const Yd="__ngContext__";function Ye(t,e){t[Yd]=e}function Ga(t){const e=function Ei(t){return t[Yd]||null}(t);return e?Array.isArray(e)?e:e.lView:null}function Wa(t,e){return undefined(t,e)}function wi(t){const e=t[3];return Vt(e)?e[3]:e}function Ka(t){return sf(t[13])}function Qa(t){return sf(t[4])}function sf(t){for(;null!==t&&!Vt(t);)t=t[4];return t}function br(t,e,n,r,i){if(null!=r){let s,o=!1;Vt(r)?s=r:Zt(r)&&(o=!0,r=r[0]);const a=Fe(r);0===t&&null!==n?null==i?df(e,n,a):Gn(e,n,a,i||null,!0):1===t&&null!==n?Gn(e,n,a,i||null,!0):2===t?function nu(t,e,n){const r=Fs(t,e);r&&function Av(t,e,n,r){be(t)?t.removeChild(e,n,r):e.removeChild(n)}(t,r,e,n)}(e,a,o):3===t&&e.destroyNode(a),null!=s&&function Fv(t,e,n,r,i){const s=n[7];s!==Fe(n)&&br(e,t,r,s,i);for(let a=10;a<n.length;a++){const u=n[a];bi(u[1],u,t,e,r,s)}}(e,t,s,n,i)}}function Ya(t,e,n){if(be(t))return t.createElement(e,n);{const r=null!==n?function J_(t){const e=t.toLowerCase();return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/MathML/":null}(n):null;return null===r?t.createElement(e):t.createElementNS(r,e)}}function af(t,e){const n=t[9],r=n.indexOf(e),i=e[3];1024&e[2]&&(e[2]&=-1025,wa(i,-1)),n.splice(r,1)}function Xa(t,e){if(t.length<=10)return;const n=10+e,r=t[n];if(r){const i=r[17];null!==i&&i!==t&&af(i,r),e>0&&(t[n-1][4]=r[4]);const s=Ts(t,10+e);!function Ev(t,e){bi(t,e,e[x],2,null,null),e[0]=null,e[6]=null}(r[1],r);const o=s[19];null!==o&&o.detachView(s[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function uf(t,e){if(!(256&e[2])){const n=e[x];be(n)&&n.destroyNode&&bi(t,e,n,3,null,null),function Cv(t){let e=t[13];if(!e)return Ja(t[1],t);for(;e;){let n=null;if(Zt(e))n=e[13];else{const r=e[10];r&&(n=r)}if(!n){for(;e&&!e[4]&&e!==t;)Zt(e)&&Ja(e[1],e),e=e[3];null===e&&(e=t),Zt(e)&&Ja(e[1],e),n=e&&e[4]}e=n}}(e)}}function Ja(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function Mv(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let r=0;r<n.length;r+=2){const i=e[n[r]];if(!(i instanceof ci)){const s=n[r+1];if(Array.isArray(s))for(let o=0;o<s.length;o+=2){const a=i[s[o]],u=s[o+1];try{u.call(a)}finally{}}else try{s.call(i)}finally{}}}}(t,e),function Iv(t,e){const n=t.cleanup,r=e[7];let i=-1;if(null!==n)for(let s=0;s<n.length-1;s+=2)if("string"==typeof n[s]){const o=n[s+1],a="function"==typeof o?o(e):Fe(e[o]),u=r[i=n[s+2]],l=n[s+3];"boolean"==typeof l?a.removeEventListener(n[s],u,l):l>=0?r[i=l]():r[i=-l].unsubscribe(),s+=2}else{const o=r[i=n[s+1]];n[s].call(o)}if(null!==r){for(let s=i+1;s<r.length;s++)r[s]();e[7]=null}}(t,e),1===e[1].type&&be(e[x])&&e[x].destroy();const n=e[17];if(null!==n&&Vt(e[3])){n!==e[3]&&af(n,e);const r=e[19];null!==r&&r.detachView(t)}}}function lf(t,e,n){return function cf(t,e,n){let r=e;for(;null!==r&&40&r.type;)r=(e=r).parent;if(null===r)return n[0];if(2&r.flags){const i=t.data[r.directiveStart].encapsulation;if(i===jt.None||i===jt.Emulated)return null}return ft(r,n)}(t,e.parent,n)}function Gn(t,e,n,r,i){be(t)?t.insertBefore(e,n,r,i):e.insertBefore(n,r,i)}function df(t,e,n){be(t)?t.appendChild(e,n):e.appendChild(n)}function ff(t,e,n,r,i){null!==r?Gn(t,e,n,r,i):df(t,e,n)}function Fs(t,e){return be(t)?t.parentNode(e):e.parentNode}let gf=function pf(t,e,n){return 40&t.type?ft(t,n):null};function Rs(t,e,n,r){const i=lf(t,r,e),s=e[x],a=function hf(t,e,n){return gf(t,e,n)}(r.parent||e[6],r,e);if(null!=i)if(Array.isArray(n))for(let u=0;u<n.length;u++)ff(s,i,n[u],a,!1);else ff(s,i,n,a,!1)}function Os(t,e){if(null!==e){const n=e.type;if(3&n)return ft(e,t);if(4&n)return tu(-1,t[e.index]);if(8&n){const r=e.child;if(null!==r)return Os(t,r);{const i=t[e.index];return Vt(i)?tu(-1,i):Fe(i)}}if(32&n)return Wa(e,t)()||Fe(t[e.index]);{const r=yf(t,e);return null!==r?Array.isArray(r)?r[0]:Os(wi(t[16]),r):Os(t,e.next)}}return null}function yf(t,e){return null!==e?t[16][6].projection[e.projection]:null}function tu(t,e){const n=10+t+1;if(n<e.length){const r=e[n],i=r[1].firstChild;if(null!==i)return Os(r,i)}return e[7]}function ru(t,e,n,r,i,s,o){for(;null!=n;){const a=r[n.index],u=n.type;if(o&&0===e&&(a&&Ye(Fe(a),r),n.flags|=4),64!=(64&n.flags))if(8&u)ru(t,e,n.child,r,i,s,!1),br(e,t,i,a,s);else if(32&u){const l=Wa(n,r);let c;for(;c=l();)br(e,t,i,c,s);br(e,t,i,a,s)}else 16&u?_f(t,e,r,n,i,s):br(e,t,i,a,s);n=o?n.projectionNext:n.next}}function bi(t,e,n,r,i,s){ru(n,r,t.firstChild,e,i,s,!1)}function _f(t,e,n,r,i,s){const o=n[16],u=o[6].projection[r.projection];if(Array.isArray(u))for(let l=0;l<u.length;l++)br(e,t,i,u[l],s);else ru(t,e,u,o[3],i,s,!0)}function Df(t,e,n){be(t)?t.setAttribute(e,"style",n):e.style.cssText=n}function iu(t,e,n){be(t)?""===n?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n):e.className=n}function fu(t){return t.ngOriginalError}function cE(t,...e){t.error(...e)}class Ii{constructor(){this._console=console}handleError(e){const n=this._findOriginalError(e),r=function lE(t){return t&&t.ngErrorLogger||cE}(e);r(this._console,"ERROR",e),n&&r(this._console,"ORIGINAL ERROR",n)}_findOriginalError(e){let n=e&&fu(e);for(;n&&fu(n);)n=fu(n);return n||null}}const yE=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(ee))();function en(t){return t instanceof Function?t():t}function Of(t,e,n){let r=t.length;for(;;){const i=t.indexOf(e,n);if(-1===i)return i;if(0===i||t.charCodeAt(i-1)<=32){const s=e.length;if(i+s===r||t.charCodeAt(i+s)<=32)return i}n=i+1}}const xf="ng-template";function EE(t,e,n){let r=0;for(;r<t.length;){let i=t[r++];if(n&&"class"===i){if(i=t[r],-1!==Of(i.toLowerCase(),e,0))return!0}else if(1===i){for(;r<t.length&&"string"==typeof(i=t[r++]);)if(i.toLowerCase()===e)return!0;return!1}}return!1}function Lf(t){return 4===t.type&&t.value!==xf}function wE(t,e,n){return e===(4!==t.type||n?t.value:xf)}function bE(t,e,n){let r=4;const i=t.attrs||[],s=function TE(t){for(let e=0;e<t.length;e++)if(Sd(t[e]))return e;return t.length}(i);let o=!1;for(let a=0;a<e.length;a++){const u=e[a];if("number"!=typeof u){if(!o)if(4&r){if(r=2|1&r,""!==u&&!wE(t,u,n)||""===u&&1===e.length){if($t(r))return!1;o=!0}}else{const l=8&r?u:e[++a];if(8&r&&null!==t.attrs){if(!EE(t.attrs,l,n)){if($t(r))return!1;o=!0}continue}const d=CE(8&r?"class":u,i,Lf(t),n);if(-1===d){if($t(r))return!1;o=!0;continue}if(""!==l){let f;f=d>s?"":i[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==Of(h,l,0)||2&r&&l!==f){if($t(r))return!1;o=!0}}}}else{if(!o&&!$t(r)&&!$t(u))return!1;if(o&&$t(u))continue;o=!1,r=u|1&r}}return $t(r)||o}function $t(t){return 0==(1&t)}function CE(t,e,n,r){if(null===e)return-1;let i=0;if(r||!n){let s=!1;for(;i<e.length;){const o=e[i];if(o===t)return i;if(3===o||6===o)s=!0;else{if(1===o||2===o){let a=e[++i];for(;"string"==typeof a;)a=e[++i];continue}if(4===o)break;if(0===o){i+=4;continue}}i+=s?1:2}return-1}return function IE(t,e){let n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){const r=t[n];if("number"==typeof r)return-1;if(r===e)return n;n++}return-1}(e,t)}function kf(t,e,n=!1){for(let r=0;r<e.length;r++)if(bE(t,e[r],n))return!0;return!1}function jf(t,e){return t?":not("+e.trim()+")":e}function AE(t){let e=t[0],n=1,r=2,i="",s=!1;for(;n<t.length;){let o=t[n];if("string"==typeof o)if(2&r){const a=t[++n];i+="["+o+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?i+="."+o:4&r&&(i+=" "+o);else""!==i&&!$t(o)&&(e+=jf(s,i),i=""),r=o,s=s||!$t(r);n++}return""!==i&&(e+=jf(s,i)),e}const R={};function Zf(t,e){const n=t.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const i=n[r],s=n[r+1];if(-1!==s){const o=t.data[s];Ia(i),o.contentQueries(2,e[s],s)}}}function Mi(t,e,n,r,i,s,o,a,u,l){const c=e.blueprint.slice();return c[0]=i,c[2]=140|r,fd(c),c[3]=c[15]=t,c[8]=n,c[10]=o||t&&t[10],c[x]=a||t&&t[x],c[12]=u||t&&t[12]||null,c[9]=l||t&&t[9]||null,c[6]=s,c[16]=2==e.type?t[16]:c,c}function Sr(t,e,n,r,i){let s=t.data[e];if(null===s)s=function Cu(t,e,n,r,i){const s=gd(),o=ba(),u=t.data[e]=function KE(t,e,n,r,i,s){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:e?e.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:i,attrs:s,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,o?s:s&&s.parent,n,e,r,i);return null===t.firstChild&&(t.firstChild=u),null!==s&&(o?null==s.child&&null!==u.parent&&(s.child=u):null===s.next&&(s.next=u)),u}(t,e,n,r,i),function fD(){return F.lFrame.inI18n}()&&(s.flags|=64);else if(64&s.type){s.type=n,s.value=r,s.attrs=i;const o=function li(){const t=F.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}();s.injectorIndex=null===o?-1:o.injectorIndex}return Yt(s,!0),s}function Tr(t,e,n,r){if(0===n)return-1;const i=e.length;for(let s=0;s<n;s++)e.push(r),t.blueprint.push(r),t.data.push(null);return i}function Ai(t,e,n){gs(e);try{const r=t.viewQuery;null!==r&&Ru(1,r,n);const i=t.template;null!==i&&Yf(t,e,i,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&Zf(t,e),t.staticViewQueries&&Ru(2,t.viewQuery,n);const s=t.components;null!==s&&function GE(t,e){for(let n=0;n<e.length;n++)fw(t,e[n])}(e,s)}catch(r){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),r}finally{e[2]&=-5,ms()}}function Ir(t,e,n,r){const i=e[2];if(256!=(256&i)){gs(e);try{fd(e),function md(t){return F.lFrame.bindingIndex=t}(t.bindingStartIndex),null!==n&&Yf(t,e,n,2,r);const o=3==(3&i);if(o){const l=t.preOrderCheckHooks;null!==l&&_s(e,l,null)}else{const l=t.preOrderHooks;null!==l&&Ds(e,l,0,null),Ma(e,0)}if(function cw(t){for(let e=Ka(t);null!==e;e=Qa(e)){if(!e[2])continue;const n=e[9];for(let r=0;r<n.length;r++){const i=n[r],s=i[3];0==(1024&i[2])&&wa(s,1),i[2]|=1024}}}(e),function lw(t){for(let e=Ka(t);null!==e;e=Qa(e))for(let n=10;n<e.length;n++){const r=e[n],i=r[1];Ea(r)&&Ir(i,r,i.template,r[8])}}(e),null!==t.contentQueries&&Zf(t,e),o){const l=t.contentCheckHooks;null!==l&&_s(e,l)}else{const l=t.contentHooks;null!==l&&Ds(e,l,1),Ma(e,1)}!function UE(t,e){const n=t.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const i=n[r];if(i<0)Tn(~i);else{const s=i,o=n[++r],a=n[++r];hD(o,s),a(2,e[s])}}}finally{Tn(-1)}}(t,e);const a=t.components;null!==a&&function zE(t,e){for(let n=0;n<e.length;n++)dw(t,e[n])}(e,a);const u=t.viewQuery;if(null!==u&&Ru(2,u,r),o){const l=t.viewCheckHooks;null!==l&&_s(e,l)}else{const l=t.viewHooks;null!==l&&Ds(e,l,2),Ma(e,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),e[2]&=-73,1024&e[2]&&(e[2]&=-1025,wa(e[3],-1))}finally{ms()}}}function qE(t,e,n,r){const i=e[10],o=dd(e);try{!o&&i.begin&&i.begin(),o&&Ai(t,e,r),Ir(t,e,n,r)}finally{!o&&i.end&&i.end()}}function Yf(t,e,n,r,i){const s=function tt(){return F.lFrame.selectedIndex}(),o=2&r;try{Tn(-1),o&&e.length>20&&function Bf(t,e,n,r){if(!r)if(3==(3&e[2])){const s=t.preOrderCheckHooks;null!==s&&_s(e,s,n)}else{const s=t.preOrderHooks;null!==s&&Ds(e,s,0,n)}Tn(n)}(t,e,20,!1),n(r,i)}finally{Tn(s)}}function Jf(t){const e=t.tView;return null===e||e.incompleteFirstPass?t.tView=$s(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts):e}function $s(t,e,n,r,i,s,o,a,u,l){const c=20+r,d=c+i,f=function WE(t,e){const n=[];for(let r=0;r<e;r++)n.push(r<t?null:R);return n}(c,d),h="function"==typeof l?l():l;return f[1]={type:t,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:e,data:f.slice().fill(null,c),bindingStartIndex:c,expandoStartIndex:d,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof s?s():s,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:u,consts:h,incompleteFirstPass:!1}}function nh(t,e,n,r){const i=function fh(t){return t[7]||(t[7]=[])}(e);null===n?i.push(r):(i.push(n),t.firstCreatePass&&function hh(t){return t.cleanup||(t.cleanup=[])}(t).push(r,i.length-1))}function rh(t,e,n){for(let r in t)if(t.hasOwnProperty(r)){const i=t[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(e,i):n[r]=[e,i]}return n}function sh(t,e,n,r,i,s){const o=s.hostBindings;if(o){let a=t.hostBindingOpCodes;null===a&&(a=t.hostBindingOpCodes=[]);const u=~e.index;(function ew(t){let e=t.length;for(;e>0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(a)!=u&&a.push(u),a.push(r,i,o)}}function oh(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function ah(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function sw(t,e,n){if(n){if(e.exportAs)for(let r=0;r<e.exportAs.length;r++)n[e.exportAs[r]]=t;Ht(e)&&(n[""]=t)}}function uh(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function lh(t,e,n,r,i){t.data[r]=i;const s=i.factory||(i.factory=zn(i.type)),o=new ci(s,Ht(i),null);t.blueprint[r]=o,n[r]=o,sh(t,e,0,r,Tr(t,n,i.hostVars,R),i)}function ow(t,e,n){const r=ft(e,t),i=Jf(n),s=t[10],o=Us(t,Mi(t,i,null,n.onPush?64:16,r,e,s,s.createRenderer(r,n),null,null));t[e.index]=o}function aw(t,e,n,r,i,s){const o=s[e];if(null!==o){const a=r.setInput;for(let u=0;u<o.length;){const l=o[u++],c=o[u++],d=o[u++];null!==a?r.setInput(n,d,l,c):n[c]=d}}}function uw(t,e){let n=null,r=0;for(;r<e.length;){const i=e[r];if(0!==i)if(5!==i){if("number"==typeof i)break;t.hasOwnProperty(i)&&(null===n&&(n=[]),n.push(i,t[i],e[r+1])),r+=2}else r+=2;else r+=4}return n}function dw(t,e){const n=ht(e,t);if(Ea(n)){const r=n[1];80&n[2]?Ir(r,n,r.template,n[8]):n[5]>0&&Au(n)}}function Au(t){for(let r=Ka(t);null!==r;r=Qa(r))for(let i=10;i<r.length;i++){const s=r[i];if(1024&s[2]){const o=s[1];Ir(o,s,o.template,s[8])}else s[5]>0&&Au(s)}const n=t[1].components;if(null!==n)for(let r=0;r<n.length;r++){const i=ht(n[r],t);Ea(i)&&i[5]>0&&Au(i)}}function fw(t,e){const n=ht(e,t),r=n[1];(function hw(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])})(r,n),Ai(r,n,n[8])}function Us(t,e){return t[13]?t[14][4]=e:t[13]=e,t[14]=e,e}function Fu(t,e,n){const r=e[10];r.begin&&r.begin();try{Ir(t,e,t.template,n)}catch(i){throw function gh(t,e){const n=t[9],r=n?n.get(Ii,null):null;r&&r.handleError(e)}(e,i),i}finally{r.end&&r.end()}}function dh(t){!function Pu(t){for(let e=0;e<t.components.length;e++){const n=t.components[e],r=Ga(n),i=r[1];qE(i,r,i.template,n)}}(t[8])}function Ru(t,e,n){Ia(0),e(t,n)}const gw=(()=>Promise.resolve(null))();function zs(t,e,n){let r=n?t.styles:null,i=n?t.classes:null,s=0;if(null!==e)for(let o=0;o<e.length;o++){const a=e[o];"number"==typeof a?s=a:1==s?i=na(i,a):2==s&&(r=na(r,a+": "+e[++o]+";"))}n?t.styles=r:t.stylesWithoutHost=r,n?t.classes=i:t.classesWithoutHost=i}const Ou=new Z("INJECTOR",-1);class yh{get(e,n=yi){if(n===yi){const r=new Error(`NullInjectorError: No provider for ${X(e)}!`);throw r.name="NullInjectorError",r}return n}}const xu=new Z("Set Injector scope."),Ni={},_w={};let Lu;function _h(){return void 0===Lu&&(Lu=new yh),Lu}function Dh(t,e=null,n=null,r){const i=vh(t,e,n,r);return i._resolveInjectorDefTypes(),i}function vh(t,e=null,n=null,r){return new Dw(t,n,e||_h(),r)}class Dw{constructor(e,n,r,i=null){this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const s=[];n&&Xt(n,a=>this.processProvider(a,e,n)),Xt([e],a=>this.processInjectorType(a,[],s)),this.records.set(Ou,Mr(void 0,this));const o=this.records.get(xu);this.scope=null!=o?o.value:null,this.source=i||("object"==typeof e?null:X(e))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(e=>e.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(e,n=yi,r=O.Default){this.assertNotDestroyed();const i=Ud(this),s=wn(void 0);try{if(!(r&O.SkipSelf)){let a=this.records.get(e);if(void 0===a){const u=function Iw(t){return"function"==typeof t||"object"==typeof t&&t instanceof Z}(e)&&sa(e);a=u&&this.injectableDefInScope(u)?Mr(ku(e),Ni):null,this.records.set(e,a)}if(null!=a)return this.hydrate(e,a)}return(r&O.Self?_h():this.parent).get(e,n=r&O.Optional&&n===yi?null:n)}catch(o){if("NullInjectorError"===o.name){if((o[Ms]=o[Ms]||[]).unshift(X(e)),i)throw o;return function JD(t,e,n,r){const i=t[Ms];throw e[$d]&&i.unshift(e[$d]),t.message=function ev(t,e,n,r=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let i=X(e);if(Array.isArray(e))i=e.map(X).join(" -> ");else if("object"==typeof e){let s=[];for(let o in e)if(e.hasOwnProperty(o)){let a=e[o];s.push(o+":"+("string"==typeof a?JSON.stringify(a):X(a)))}i=`{${s.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${t.replace(WD,"\n ")}`}("\n"+t.message,i,n,r),t.ngTokenPath=i,t[Ms]=null,t}(o,e,"R3InjectorError",this.source)}throw o}finally{wn(s),Ud(i)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(e=>this.get(e))}toString(){const e=[];return this.records.forEach((r,i)=>e.push(X(i))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new b(205,!1)}processInjectorType(e,n,r){if(!(e=k(e)))return!1;let i=Yc(e);const s=null==i&&e.ngModule||void 0,o=void 0===s?e:s,a=-1!==r.indexOf(o);if(void 0!==s&&(i=Yc(s)),null==i)return!1;if(null!=i.imports&&!a){let c;r.push(o);try{Xt(i.imports,d=>{this.processInjectorType(d,n,r)&&(void 0===c&&(c=[]),c.push(d))})}finally{}if(void 0!==c)for(let d=0;d<c.length;d++){const{ngModule:f,providers:h}=c[d];Xt(h,p=>this.processProvider(p,f,h||re))}}this.injectorDefTypes.add(o);const u=zn(o)||(()=>new o);this.records.set(o,Mr(u,Ni));const l=i.providers;if(null!=l&&!a){const c=e;Xt(l,d=>this.processProvider(d,c,l))}return void 0!==s&&void 0!==e.providers}processProvider(e,n,r){let i=Ar(e=k(e))?e:k(e&&e.provide);const s=function Ew(t,e,n){return wh(t)?Mr(void 0,t.useValue):Mr(function Eh(t,e,n){let r;if(Ar(t)){const i=k(t);return zn(i)||ku(i)}if(wh(t))r=()=>k(t.useValue);else if(function bw(t){return!(!t||!t.useFactory)}(t))r=()=>t.useFactory(...Ha(t.deps||[]));else if(function ww(t){return!(!t||!t.useExisting)}(t))r=()=>q(k(t.useExisting));else{const i=k(t&&(t.useClass||t.provide));if(!function Sw(t){return!!t.deps}(t))return zn(i)||ku(i);r=()=>new i(...Ha(t.deps))}return r}(t),Ni)}(e);if(Ar(e)||!0!==e.multi)this.records.get(i);else{let o=this.records.get(i);o||(o=Mr(void 0,Ni,!0),o.factory=()=>Ha(o.multi),this.records.set(i,o)),i=e,o.multi.push(e)}this.records.set(i,s)}hydrate(e,n){return n.value===Ni&&(n.value=_w,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Tw(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(n.value)&&this.onDestroy.add(n.value),n.value}injectableDefInScope(e){if(!e.providedIn)return!1;const n=k(e.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function ku(t){const e=sa(t),n=null!==e?e.factory:zn(t);if(null!==n)return n;if(t instanceof Z)throw new b(204,!1);if(t instanceof Function)return function vw(t){const e=t.length;if(e>0)throw function mi(t,e){const n=[];for(let r=0;r<t;r++)n.push(e);return n}(e,"?"),new b(204,!1);const n=function P_(t){const e=t&&(t[os]||t[Xc]);if(e){const n=function F_(t){if(t.hasOwnProperty("name"))return t.name;const e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),e}return null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new b(204,!1)}function Mr(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function wh(t){return null!==t&&"object"==typeof t&&QD in t}function Ar(t){return"function"==typeof t}let Mt=(()=>{class t{static create(n,r){var i;if(Array.isArray(n))return Dh({name:""},r,n,"");{const s=null!==(i=n.name)&&void 0!==i?i:"";return Dh({name:s},n.parent,n.providers,s)}}}return t.THROW_IF_NOT_FOUND=yi,t.NULL=new yh,t.\u0275prov=ne({token:t,providedIn:"any",factory:()=>q(Ou)}),t.__NG_ELEMENT_ID__=-1,t})();function xw(t,e){ys(Ga(t)[1],Le())}let Gs=null;function Nr(){if(!Gs){const t=ee.Symbol;if(t&&t.iterator)Gs=t.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<e.length;++n){const r=e[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(Gs=r)}}}return Gs}function qu(t,e,n,r,i){const o=i?"class":"style";!function mh(t,e,n,r,i){for(let s=0;s<n.length;){const o=n[s++],a=n[s++],u=e[o],l=t.data[o];null!==l.setInput?l.setInput(u,i,r,a):u[a]=i}}(t,n,e.inputs[o],o,r)}function Wu(t,e,n,r){const i=_(),s=Q(),o=20+t,a=i[x],u=i[o]=Ya(a,e,function wD(){return F.lFrame.currentNamespace}()),l=s.firstCreatePass?function mb(t,e,n,r,i,s,o){const a=e.consts,l=Sr(e,t,2,i,Sn(a,s));return function Iu(t,e,n,r){let i=!1;if(pd()){const s=function rw(t,e,n){const r=t.directiveRegistry;let i=null;if(r)for(let s=0;s<r.length;s++){const o=r[s];kf(n,o.selectors,!1)&&(i||(i=[]),Cs(fi(n,e),t,o.type),Ht(o)?(ah(t,n),i.unshift(o)):i.push(o))}return i}(t,e,n),o=null===r?null:{"":-1};if(null!==s){i=!0,uh(n,t.data.length,s.length);for(let c=0;c<s.length;c++){const d=s[c];d.providersResolver&&d.providersResolver(d)}let a=!1,u=!1,l=Tr(t,e,s.length,null);for(let c=0;c<s.length;c++){const d=s[c];n.mergedAttrs=Es(n.mergedAttrs,d.hostAttrs),lh(t,n,e,l,d),sw(l,d,o),null!==d.contentQueries&&(n.flags|=8),(null!==d.hostBindings||null!==d.hostAttrs||0!==d.hostVars)&&(n.flags|=128);const f=d.type.prototype;!a&&(f.ngOnChanges||f.ngOnInit||f.ngDoCheck)&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n.index),a=!0),!u&&(f.ngOnChanges||f.ngDoCheck)&&((t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n.index),u=!0),l++}!function QE(t,e){const r=e.directiveEnd,i=t.data,s=e.attrs,o=[];let a=null,u=null;for(let l=e.directiveStart;l<r;l++){const c=i[l],d=c.inputs,f=null===s||Lf(e)?null:uw(d,s);o.push(f),a=rh(d,l,a),u=rh(c.outputs,l,u)}null!==a&&(a.hasOwnProperty("class")&&(e.flags|=16),a.hasOwnProperty("style")&&(e.flags|=32)),e.initialInputs=o,e.inputs=a,e.outputs=u}(t,n)}o&&function iw(t,e,n){if(e){const r=t.localNames=[];for(let i=0;i<e.length;i+=2){const s=n[e[i+1]];if(null==s)throw new b(-301,!1);r.push(e[i],s)}}}(n,r,o)}return n.mergedAttrs=Es(n.mergedAttrs,n.attrs),i}(e,n,l,Sn(a,o)),null!==l.attrs&&zs(l,l.attrs,!1),null!==l.mergedAttrs&&zs(l,l.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,l),l}(o,s,i,0,e,n,r):s.data[o];Yt(l,!0);const c=l.mergedAttrs;null!==c&&vs(a,u,c);const d=l.classes;null!==d&&iu(a,u,d);const f=l.styles;return null!==f&&Df(a,u,f),64!=(64&l.flags)&&Rs(s,i,u,l),0===function sD(){return F.lFrame.elementDepthCount}()&&Ye(u,i),function oD(){F.lFrame.elementDepthCount++}(),function fs(t){return 1==(1&t.flags)}(l)&&(function Su(t,e,n){!pd()||(function tw(t,e,n,r){const i=n.directiveStart,s=n.directiveEnd;t.firstCreatePass||fi(n,e),Ye(r,e);const o=n.initialInputs;for(let a=i;a<s;a++){const u=t.data[a],l=Ht(u);l&&ow(e,n,u);const c=hi(e,t,a,n);Ye(c,e),null!==o&&aw(0,a-i,c,u,0,o),l&&(ht(n.index,e)[8]=c)}}(t,e,n,ft(n,e)),128==(128&n.flags)&&function nw(t,e,n){const r=n.directiveStart,i=n.directiveEnd,o=n.index,a=function pD(){return F.lFrame.currentDirectiveIndex}();try{Tn(o);for(let u=r;u<i;u++){const l=t.data[u],c=e[u];Sa(u),(null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs)&&oh(l,c)}}finally{Tn(-1),Sa(a)}}(t,e,n))}(s,i,l),function Xf(t,e,n){if(ha(e)){const i=e.directiveEnd;for(let s=e.directiveStart;s<i;s++){const o=t.data[s];o.contentQueries&&o.contentQueries(1,n[s],s)}}}(s,l,i)),null!==r&&function Tu(t,e,n=ft){const r=e.localNames;if(null!==r){let i=e.index+1;for(let s=0;s<r.length;s+=2){const o=r[s+1],a=-1===o?n(e,t):t[o];t[i++]=a}}}(i,l),Wu}function Ku(){let t=Le();ba()?function Ca(){F.lFrame.isParent=!1}():(t=t.parent,Yt(t,!1));const e=t;!function aD(){F.lFrame.elementDepthCount--}();const n=Q();return n.firstCreatePass&&(ys(n,t),ha(t)&&n.queries.elementEnd(t)),null!=e.classesWithoutHost&&function ID(t){return 0!=(16&t.flags)}(e)&&qu(n,e,_(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function MD(t){return 0!=(32&t.flags)}(e)&&qu(n,e,_(),e.stylesWithoutHost,!1),Ku}function Qu(t,e,n,r){return Wu(t,e,n,r),Ku(),Qu}function Xu(t){return!!t&&"function"==typeof t.then}const Db=function ip(t){return!!t&&"function"==typeof t.subscribe},Qs="en-US";let tg=Qs;class Tg{}class fS{resolveComponentFactory(e){throw function dS(t){const e=Error(`No component factory found for ${X(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(e)}}let zr=(()=>{class t{}return t.NULL=new fS,t})();function hS(){return Gr(Le(),_())}function Gr(t,e){return new qr(ft(t,e))}let qr=(()=>{class t{constructor(n){this.nativeElement=n}}return t.__NG_ELEMENT_ID__=hS,t})();function pS(t){return t instanceof qr?t.nativeElement:t}class ji{}let yS=(()=>{class t{}return t.\u0275prov=ne({token:t,providedIn:"root",factory:()=>null}),t})();class eo{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const _S=new eo("13.4.0"),ll={};function to(t,e,n,r,i=!1){for(;null!==n;){const s=e[n.index];if(null!==s&&r.push(Fe(s)),Vt(s))for(let a=10;a<s.length;a++){const u=s[a],l=u[1].firstChild;null!==l&&to(u[1],u,l,r)}const o=n.type;if(8&o)to(t,e,n.child,r);else if(32&o){const a=Wa(n,e);let u;for(;u=a();)r.push(u)}else if(16&o){const a=yf(e,n);if(Array.isArray(a))r.push(...a);else{const u=wi(e[16]);to(u[1],u,a,r,!0)}}n=i?n.projectionNext:n.next}return r}class Bi{constructor(e,n){this._lView=e,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const e=this._lView,n=e[1];return to(n,e,n.firstChild,[])}get context(){return this._lView[8]}set context(e){this._lView[8]=e}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const e=this._lView[3];if(Vt(e)){const n=e[8],r=n?n.indexOf(this):-1;r>-1&&(Xa(e,r),Ts(n,r))}this._attachedToViewContainer=!1}uf(this._lView[1],this._lView)}onDestroy(e){nh(this._lView[1],this._lView,null,e)}markForCheck(){!function Nu(t){for(;t;){t[2]|=64;const e=wi(t);if(z_(t)&&!e)return t;t=e}return null}(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Fu(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new b(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function bv(t,e){bi(t,e,e[x],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new b(902,"");this._appRef=e}}class DS extends Bi{constructor(e){super(e),this._view=e}detectChanges(){dh(this._view)}checkNoChanges(){}get context(){return null}}class Ag extends zr{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const n=qe(e);return new cl(n,this.ngModule)}}function Ng(t){const e=[];for(let n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}class cl extends Tg{constructor(e,n){super(),this.componentDef=e,this.ngModule=n,this.componentType=e.type,this.selector=function NE(t){return t.map(AE).join(",")}(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return Ng(this.componentDef.inputs)}get outputs(){return Ng(this.componentDef.outputs)}create(e,n,r,i){const s=(i=i||this.ngModule)?function ES(t,e){return{get:(n,r,i)=>{const s=t.get(n,ll,i);return s!==ll||r===ll?s:e.get(n,r,i)}}}(e,i.injector):e,o=s.get(ji,cd),a=s.get(yS,null),u=o.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=r?function th(t,e,n){if(be(t))return t.selectRootElement(e,n===jt.ShadowDom);let r="string"==typeof e?t.querySelector(e):e;return r.textContent="",r}(u,r,this.componentDef.encapsulation):Ya(o.createRenderer(null,this.componentDef),l,function vS(t){const e=t.toLowerCase();return"svg"===e?"svg":"math"===e?"math":null}(l)),d=this.componentDef.onPush?576:528,f=function Rh(t,e){return{components:[],scheduler:t||yE,clean:gw,playerHandler:e||null,flags:0}}(),h=$s(0,null,null,1,0,null,null,null,null,null),p=Mi(null,h,f,d,null,null,o,u,a,s);let g,y;gs(p);try{const D=function Ph(t,e,n,r,i,s){const o=n[1];n[20]=t;const u=Sr(o,20,2,"#host",null),l=u.mergedAttrs=e.hostAttrs;null!==l&&(zs(u,l,!0),null!==t&&(vs(i,t,l),null!==u.classes&&iu(i,t,u.classes),null!==u.styles&&Df(i,t,u.styles)));const c=r.createRenderer(t,e),d=Mi(n,Jf(e),null,e.onPush?64:16,n[20],u,r,c,s||null,null);return o.firstCreatePass&&(Cs(fi(u,n),o,e.type),ah(o,u),uh(u,n.length,1)),Us(n,d),n[20]=d}(c,this.componentDef,p,o,u);if(c)if(r)vs(u,c,["ng-version",_S.full]);else{const{attrs:m,classes:v}=function PE(t){const e=[],n=[];let r=1,i=2;for(;r<t.length;){let s=t[r];if("string"==typeof s)2===i?""!==s&&e.push(s,t[++r]):8===i&&n.push(s);else{if(!$t(i))break;i=s}r++}return{attrs:e,classes:n}}(this.componentDef.selectors[0]);m&&vs(u,c,m),v&&v.length>0&&iu(u,c,v.join(" "))}if(y=function va(t,e){return t.data[e]}(h,20),void 0!==n){const m=y.projection=[];for(let v=0;v<this.ngContentSelectors.length;v++){const S=n[v];m.push(null!=S?Array.from(S):null)}}g=function Fh(t,e,n,r,i){const s=n[1],o=function JE(t,e,n){const r=Le();t.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),lh(t,r,e,Tr(t,e,1,null),n));const i=hi(e,t,r.directiveStart,r);Ye(i,e);const s=ft(r,e);return s&&Ye(s,e),i}(s,n,e);if(r.components.push(o),t[8]=o,i&&i.forEach(u=>u(o,e)),e.contentQueries){const u=Le();e.contentQueries(1,o,u.directiveStart)}const a=Le();return!s.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(Tn(a.index),sh(n[1],a,0,a.directiveStart,a.directiveEnd,e),oh(e,o)),o}(D,this.componentDef,p,f,[xw]),Ai(h,p,null)}finally{ms()}return new bS(this.componentType,g,Gr(y,p),p,y)}}class bS extends class cS{}{constructor(e,n,r,i,s){super(),this.location=r,this._rootLView=i,this._tNode=s,this.instance=n,this.hostView=this.changeDetectorRef=new DS(i),this.componentType=e}get injector(){return new mr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}}class Wr{}const Kr=new Map;class Rg extends Wr{constructor(e,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Ag(this);const r=Ct(e);this._bootstrapComponents=en(r.bootstrap),this._r3Injector=vh(e,n,[{provide:Wr,useValue:this},{provide:zr,useValue:this.componentFactoryResolver}],X(e)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(e)}get(e,n=Mt.THROW_IF_NOT_FOUND,r=O.Default){return e===Mt||e===Wr||e===Ou?this:this._r3Injector.get(e,n,r)}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class dl extends class SS{}{constructor(e){super(),this.moduleType=e,null!==Ct(e)&&function TS(t){const e=new Set;!function n(r){const i=Ct(r,!0),s=i.id;null!==s&&(function Pg(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${X(e)} vs ${X(e.name)}`)}(s,Kr.get(s),r),Kr.set(s,r));const o=en(i.imports);for(const a of o)e.has(a)||(e.add(a),n(a))}(t)}(e)}create(e){return new Rg(this.moduleType,e)}}function fl(t){return e=>{setTimeout(t,void 0,e)}}const mn=class zS extends ir{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,n,r){var i,s,o;let a=e,u=n||(()=>null),l=r;if(e&&"object"==typeof e){const d=e;a=null===(i=d.next)||void 0===i?void 0:i.bind(d),u=null===(s=d.error)||void 0===s?void 0:s.bind(d),l=null===(o=d.complete)||void 0===o?void 0:o.bind(d)}this.__isAsync&&(u=fl(u),a&&(a=fl(a)),l&&(l=fl(l)));const c=super.subscribe({next:a,error:u,complete:l});return e instanceof N&&e.add(c),c}};function GS(){return this._results[Nr()]()}class hl{constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=Nr(),r=hl.prototype;r[n]||(r[n]=GS)}get changes(){return this._changes||(this._changes=new mn)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,n){return this._results.reduce(e,n)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,n){const r=this;r.dirty=!1;const i=It(e);(this._changesDetected=!function jD(t,e,n){if(t.length!==e.length)return!1;for(let r=0;r<t.length;r++){let i=t[r],s=e[r];if(n&&(i=n(i),s=n(s)),s!==i)return!1}return!0}(r._results,i,n))&&(r._results=i,r.length=i.length,r.last=i[this.length-1],r.first=i[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}Symbol;let yn=(()=>{class t{}return t.__NG_ELEMENT_ID__=KS,t})();const qS=yn,WS=class extends qS{constructor(e,n,r){super(),this._declarationLView=e,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(e){const n=this._declarationTContainer.tViews,r=Mi(this._declarationLView,n,e,16,null,n.declTNode,null,null,null,null);r[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(r[19]=s.createEmbeddedView(n)),Ai(n,r,e),new Bi(r)}};function KS(){return no(Le(),_())}function no(t,e){return 4&t.type?new WS(e,t,Gr(t,e)):null}let on=(()=>{class t{}return t.__NG_ELEMENT_ID__=QS,t})();function QS(){return Hg(Le(),_())}const ZS=on,Bg=class extends ZS{constructor(e,n,r){super(),this._lContainer=e,this._hostTNode=n,this._hostLView=r}get element(){return Gr(this._hostTNode,this._hostLView)}get injector(){return new mr(this._hostTNode,this._hostLView)}get parentInjector(){const e=bs(this._hostTNode,this._hostLView);if(Id(e)){const n=gr(e,this._hostLView),r=pr(e);return new mr(n[1].data[r+8],n)}return new mr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const n=Vg(this._lContainer);return null!==n&&n[e]||null}get length(){return this._lContainer.length-10}createEmbeddedView(e,n,r){const i=e.createEmbeddedView(n||{});return this.insert(i,r),i}createComponent(e,n,r,i,s){const o=e&&!function gi(t){return"function"==typeof t}(e);let a;if(o)a=n;else{const d=n||{};a=d.index,r=d.injector,i=d.projectableNodes,s=d.ngModuleRef}const u=o?e:new cl(qe(e)),l=r||this.parentInjector;if(!s&&null==u.ngModule){const f=(o?l:this.parentInjector).get(Wr,null);f&&(s=f)}const c=u.create(l,i,void 0,s);return this.insert(c.hostView,a),c}insert(e,n){const r=e._lView,i=r[1];if(function iD(t){return Vt(t[3])}(r)){const c=this.indexOf(e);if(-1!==c)this.detach(c);else{const d=r[3],f=new Bg(d,d[6],d[3]);f.detach(f.indexOf(e))}}const s=this._adjustIndex(n),o=this._lContainer;!function Sv(t,e,n,r){const i=10+r,s=n.length;r>0&&(n[i-1][4]=e),r<s-10?(e[4]=n[i],kd(n,10+r,e)):(n.push(e),e[4]=null),e[3]=n;const o=e[17];null!==o&&n!==o&&function Tv(t,e){const n=t[9];e[16]!==e[3][3][16]&&(t[2]=!0),null===n?t[9]=[e]:n.push(e)}(o,e);const a=e[19];null!==a&&a.insertView(t),e[2]|=128}(i,r,o,s);const a=tu(s,o),u=r[x],l=Fs(u,o[7]);return null!==l&&function wv(t,e,n,r,i,s){r[0]=i,r[6]=e,bi(t,r,n,1,i,s)}(i,o[6],u,r,l,a),e.attachToViewContainerRef(),kd(pl(o),s,e),e}move(e,n){return this.insert(e,n)}indexOf(e){const n=Vg(this._lContainer);return null!==n?n.indexOf(e):-1}remove(e){const n=this._adjustIndex(e,-1),r=Xa(this._lContainer,n);r&&(Ts(pl(this._lContainer),n),uf(r[1],r))}detach(e){const n=this._adjustIndex(e,-1),r=Xa(this._lContainer,n);return r&&null!=Ts(pl(this._lContainer),n)?new Bi(r):null}_adjustIndex(e,n=0){return null==e?this.length+n:e}};function Vg(t){return t[8]}function pl(t){return t[8]||(t[8]=[])}function Hg(t,e){let n;const r=e[t.index];if(Vt(r))n=r;else{let i;if(8&t.type)i=Fe(r);else{const s=e[x];i=s.createComment("");const o=ft(t,e);Gn(s,Fs(s,o),i,function Nv(t,e){return be(t)?t.nextSibling(e):e.nextSibling}(s,o),!1)}e[t.index]=n=function ch(t,e,n,r){return new Array(t,!0,!1,e,null,0,r,n,null,null)}(r,e,i,t),Us(e,n)}return new Bg(n,t,e)}class gl{constructor(e){this.queryList=e,this.matches=null}clone(){return new gl(this.queryList)}setDirty(){this.queryList.setDirty()}}class ml{constructor(e=[]){this.queries=e}createEmbeddedView(e){const n=e.queries;if(null!==n){const r=null!==e.contentQueries?e.contentQueries[0]:n.length,i=[];for(let s=0;s<r;s++){const o=n.getByIndex(s);i.push(this.queries[o.indexInDeclarationView].clone())}return new ml(i)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let n=0;n<this.queries.length;n++)null!==Qg(e,n).matches&&this.queries[n].setDirty()}}class $g{constructor(e,n,r=null){this.predicate=e,this.flags=n,this.read=r}}class yl{constructor(e=[]){this.queries=e}elementStart(e,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(e,n)}elementEnd(e){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(e)}embeddedTView(e){let n=null;for(let r=0;r<this.length;r++){const i=null!==n?n.length:0,s=this.getByIndex(r).embeddedTView(e,i);s&&(s.indexInDeclarationView=r,null!==n?n.push(s):n=[s])}return null!==n?new yl(n):null}template(e,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(e,n)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}}class _l{constructor(e,n=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(e,n){this.isApplyingToNode(n)&&this.matchTNode(e,n)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,n){this.elementStart(e,n)}embeddedTView(e,n){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,n),new _l(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let r=e.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(e,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){const s=r[i];this.matchTNodeWithReadOption(e,n,JS(n,s)),this.matchTNodeWithReadOption(e,n,Ss(n,e,s,!1,!1))}else r===yn?4&n.type&&this.matchTNodeWithReadOption(e,n,-1):this.matchTNodeWithReadOption(e,n,Ss(n,e,r,!1,!1))}matchTNodeWithReadOption(e,n,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===qr||i===on||i===yn&&4&n.type)this.addMatch(n.index,-2);else{const s=Ss(n,e,i,!1,!1);null!==s&&this.addMatch(n.index,s)}else this.addMatch(n.index,r)}}addMatch(e,n){null===this.matches?this.matches=[e,n]:this.matches.push(e,n)}}function JS(t,e){const n=t.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===e)return n[r+1];return null}function t0(t,e,n,r){return-1===n?function e0(t,e){return 11&t.type?Gr(t,e):4&t.type?no(t,e):null}(e,t):-2===n?function n0(t,e,n){return n===qr?Gr(e,t):n===yn?no(e,t):n===on?Hg(e,t):void 0}(t,e,r):hi(t,t[1],n,e)}function Ug(t,e,n,r){const i=e[19].queries[r];if(null===i.matches){const s=t.data,o=n.matches,a=[];for(let u=0;u<o.length;u+=2){const l=o[u];a.push(l<0?null:t0(e,s[l],o[u+1],n.metadata.read))}i.matches=a}return i.matches}function Dl(t,e,n,r){const i=t.queries.getByIndex(n),s=i.matches;if(null!==s){const o=Ug(t,e,i,n);for(let a=0;a<s.length;a+=2){const u=s[a];if(u>0)r.push(o[a/2]);else{const l=s[a+1],c=e[-u];for(let d=10;d<c.length;d++){const f=c[d];f[17]===f[3]&&Dl(f[1],f,l,r)}if(null!==c[9]){const d=c[9];for(let f=0;f<d.length;f++){const h=d[f];Dl(h[1],h,l,r)}}}}}return r}function zg(t){const e=_(),n=Q(),r=_d();Ia(r+1);const i=Qg(n,r);if(t.dirty&&dd(e)===(2==(2&i.metadata.flags))){if(null===i.matches)t.reset([]);else{const s=i.crossesNgTemplate?Dl(n,e,r,[]):Ug(n,e,i,r);t.reset(s,pS),t.notifyOnChanges()}return!0}return!1}function Gg(t,e,n){const r=Q();r.firstCreatePass&&(function Kg(t,e,n){null===t.queries&&(t.queries=new yl),t.queries.track(new _l(e,n))}(r,new $g(t,e,n),-1),2==(2&e)&&(r.staticViewQueries=!0)),function Wg(t,e,n){const r=new hl(4==(4&n));nh(t,e,r,r.destroy),null===e[19]&&(e[19]=new ml),e[19].queries.push(new gl(r))}(r,_(),e)}function Qg(t,e){return t.queries.getByIndex(e)}function so(...t){}const fm=new Z("Application Initializer");let Sl=(()=>{class t{constructor(n){this.appInits=n,this.resolve=so,this.reject=so,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i<this.appInits.length;i++){const s=this.appInits[i]();if(Xu(s))n.push(s);else if(Db(s)){const o=new Promise((a,u)=>{s.subscribe({complete:a,error:u})});n.push(o)}}Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}}return t.\u0275fac=function(n){return new(n||t)(q(fm,8))},t.\u0275prov=ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Ui=new Z("AppId",{providedIn:"root",factory:function hm(){return`${Tl()}${Tl()}${Tl()}`}});function Tl(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const pm=new Z("Platform Initializer"),gm=new Z("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),C0=new Z("appBootstrapListener"),Pn=new Z("LocaleId",{providedIn:"root",factory:()=>YD(Pn,O.Optional|O.SkipSelf)||function S0(){return"undefined"!=typeof $localize&&$localize.locale||Qs}()}),A0=(()=>Promise.resolve(0))();function Il(t){"undefined"==typeof Zone?A0.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class We{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new mn(!1),this.onMicrotaskEmpty=new mn(!1),this.onStable=new mn(!1),this.onError=new mn(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function N0(){let t=ee.requestAnimationFrame,e=ee.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function R0(t){const e=()=>{!function F0(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(ee,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Al(t),t.isCheckStableRunning=!0,Ml(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Al(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,s,o,a)=>{try{return mm(t),n.invokeTask(i,s,o,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||t.shouldCoalesceRunChangeDetection)&&e(),ym(t)}},onInvoke:(n,r,i,s,o,a,u)=>{try{return mm(t),n.invoke(i,s,o,a,u)}finally{t.shouldCoalesceRunChangeDetection&&e(),ym(t)}},onHasTask:(n,r,i,s)=>{n.hasTask(i,s),r===i&&("microTask"==s.change?(t._hasPendingMicrotasks=s.microTask,Al(t),Ml(t)):"macroTask"==s.change&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,r,i,s)=>(n.handleError(i,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}(i)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!We.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(We.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,n,r){return this._inner.run(e,n,r)}runTask(e,n,r,i){const s=this._inner,o=s.scheduleEventTask("NgZoneEvent: "+i,e,P0,so,so);try{return s.runTask(o,n,r)}finally{s.cancelTask(o)}}runGuarded(e,n,r){return this._inner.runGuarded(e,n,r)}runOutsideAngular(e){return this._outer.run(e)}}const P0={};function Ml(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Al(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function mm(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function ym(t){t._nesting--,Ml(t)}class O0{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new mn,this.onMicrotaskEmpty=new mn,this.onStable=new mn,this.onError=new mn}run(e,n,r){return e.apply(n,r)}runGuarded(e,n,r){return e.apply(n,r)}runOutsideAngular(e){return e()}runTask(e,n,r,i){return e.apply(n,r)}}let Nl=(()=>{class t{constructor(n){this._ngZone=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{We.assertNotInAngularZone(),Il(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Il(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,i){let s=-1;r&&r>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(o=>o.timeoutId!==s),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:i})}whenStable(n,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(n,r,i){return[]}}return t.\u0275fac=function(n){return new(n||t)(q(We))},t.\u0275prov=ne({token:t,factory:t.\u0275fac}),t})(),x0=(()=>{class t{constructor(){this._applications=new Map,Pl.addToWindow(this)}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Pl.findTestabilityInTree(this,n,r)}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=ne({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})();class L0{addToWindow(e){}findTestabilityInTree(e,n,r){return null}}let Pl=new L0,Qn=null;const _m=new Z("AllowMultipleToken"),Dm=new Z("PlatformOnDestroy");function vm(t,e,n=[]){const r=`Platform: ${e}`,i=new Z(r);return(s=[])=>{let o=Fl();if(!o||o.injector.get(_m,!1)){const a=[...n,...s,{provide:i,useValue:!0}];t?t(a):function V0(t){if(Qn&&!Qn.get(_m,!1))throw new b(400,"");Qn=t;const e=t.get(Em),n=t.get(pm,null);n&&n.forEach(r=>r())}(function $0(t=[],e){return Mt.create({name:e,providers:[{provide:xu,useValue:"platform"},{provide:Dm,useValue:()=>Qn=null},...t]})}(a,r))}return function H0(t){const e=Fl();if(!e)throw new b(401,"");return e}()}}function Fl(){var t;return null!==(t=null==Qn?void 0:Qn.get(Em))&&void 0!==t?t:null}let Em=(()=>{class t{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const a=function U0(t,e){let n;return n="noop"===t?new O0:("zone.js"===t?void 0:t)||new We({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==e?void 0:e.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==e?void 0:e.ngZoneRunCoalescing)}),n}(r?r.ngZone:void 0,{ngZoneEventCoalescing:r&&r.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:r&&r.ngZoneRunCoalescing||!1}),u=[{provide:We,useValue:a}];return a.run(()=>{const l=Mt.create({providers:u,parent:this.injector,name:n.moduleType.name}),c=n.create(l),d=c.injector.get(Ii,null);if(!d)throw new b(402,"");return a.runOutsideAngular(()=>{const f=a.onError.subscribe({next:h=>{d.handleError(h)}});c.onDestroy(()=>{Ol(this._modules,c),f.unsubscribe()})}),function z0(t,e,n){try{const r=n();return Xu(r)?r.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}(d,a,()=>{const f=c.injector.get(Sl);return f.runInitializers(),f.donePromise.then(()=>(function pC(t){ct(t,"Expected localeId to be defined"),"string"==typeof t&&(tg=t.toLowerCase().replace(/_/g,"-"))}(c.injector.get(Pn,Qs)||Qs),this._moduleDoBootstrap(c),c))})})}bootstrapModule(n,r=[]){const i=wm({},r);return function j0(t,e,n){const r=new dl(n);return Promise.resolve(r)}(0,0,n).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(n){const r=n.injector.get(Rl);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!n.instance.ngDoBootstrap)throw new b(403,"");n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new b(404,"");this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Dm,null);null==n||n(),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(n){return new(n||t)(q(Mt))},t.\u0275prov=ne({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})();function wm(t,e){return Array.isArray(e)?e.reduce(wm,t):Object.assign(Object.assign({},t),e)}let Rl=(()=>{class t{constructor(n,r,i,s){this._zone=n,this._injector=r,this._exceptionHandler=i,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new K(u=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{u.next(this._stable),u.complete()})}),a=new K(u=>{let l;this._zone.runOutsideAngular(()=>{l=this._zone.onStable.subscribe(()=>{We.assertNotInAngularZone(),Il(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,u.next(!0))})})});const c=this._zone.onUnstable.subscribe(()=>{We.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{u.next(!1)}))});return()=>{l.unsubscribe(),c.unsubscribe()}});this.isStable=Wc(o,a.pipe(function S_(){return t=>Kc()(function w_(t,e){return function(r){let i;if(i="function"==typeof t?t:function(){return t},"function"==typeof e)return r.lift(new b_(i,e));const s=Object.create(r,D_);return s.source=r,s.subjectFactory=i,s}}(C_)(t))}()))}bootstrap(n,r){if(!this._initStatus.done)throw new b(405,"");let i;i=n instanceof Tg?n:this._injector.get(zr).resolveComponentFactory(n),this.componentTypes.push(i.componentType);const s=function B0(t){return t.isBoundToModule}(i)?void 0:this._injector.get(Wr),a=i.create(Mt.NULL,[],r||i.selector,s),u=a.location.nativeElement,l=a.injector.get(Nl,null),c=l&&a.injector.get(x0);return l&&c&&c.registerApplication(u,l),a.onDestroy(()=>{this.detachView(a.hostView),Ol(this.components,a),c&&c.unregisterApplication(u)}),this._loadComponent(a),a}tick(){if(this._runningTick)throw new b(101,"");try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Ol(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(C0,[]).concat(this._bootstrapListeners).forEach(i=>i(n))}ngOnDestroy(){this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return t.\u0275fac=function(n){return new(n||t)(q(We),q(Mt),q(Ii),q(Sl))},t.\u0275prov=ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function Ol(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}let Cm=!0,Im=(()=>{class t{}return t.__NG_ELEMENT_ID__=W0,t})();function W0(t){return function K0(t,e,n){if(ds(t)&&!n){const r=ht(t.index,e);return new Bi(r,r)}return 47&t.type?new Bi(e[16],e):null}(Le(),_(),16==(16&t))}const aT=vm(null,"core",[]);let uT=(()=>{class t{constructor(n){}}return t.\u0275fac=function(n){return new(n||t)(q(Rl))},t.\u0275mod=ar({type:t}),t.\u0275inj=Bn({}),t})(),lo=null;function Gi(){return lo}const Nt=new Z("DocumentToken");let iM=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=ar({type:t}),t.\u0275inj=Bn({}),t})();class ec extends class uM extends class dT{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function cT(t){lo||(lo=t)}(new ec)}onAndCancel(e,n,r){return e.addEventListener(n,r,!1),()=>{e.removeEventListener(n,r,!1)}}dispatchEvent(e,n){e.dispatchEvent(n)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,n){return(n=n||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,n){return"window"===n?window:"document"===n?e:"body"===n?e.body:null}getBaseHref(e){const n=function lM(){return Qi=Qi||document.querySelector("base"),Qi?Qi.getAttribute("href"):null}();return null==n?null:function cM(t){wo=wo||document.createElement("a"),wo.setAttribute("href",t);const e=wo.pathname;return"/"===e.charAt(0)?e:`/${e}`}(n)}resetBaseElement(){Qi=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return function YT(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const r=n.indexOf("="),[i,s]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(i.trim()===e)return decodeURIComponent(s)}return null}(document.cookie,e)}}let wo,Qi=null;const ny=new Z("TRANSITION_ID"),fM=[{provide:fm,useFactory:function dM(t,e,n){return()=>{n.get(Sl).donePromise.then(()=>{const r=Gi(),i=e.querySelectorAll(`style[ng-transition="${t}"]`);for(let s=0;s<i.length;s++)r.remove(i[s])})}},deps:[ny,Nt,Mt],multi:!0}];class tc{static init(){!function k0(t){Pl=t}(new tc)}addToWindow(e){ee.getAngularTestability=(r,i=!0)=>{const s=e.findTestabilityInTree(r,i);if(null==s)throw new Error("Could not find testability for element.");return s},ee.getAllAngularTestabilities=()=>e.getAllTestabilities(),ee.getAllAngularRootElements=()=>e.getAllRootElements(),ee.frameworkStabilizers||(ee.frameworkStabilizers=[]),ee.frameworkStabilizers.push(r=>{const i=ee.getAllAngularTestabilities();let s=i.length,o=!1;const a=function(u){o=o||u,s--,0==s&&r(o)};i.forEach(function(u){u.whenStable(a)})})}findTestabilityInTree(e,n,r){if(null==n)return null;const i=e.getTestability(n);return null!=i?i:r?Gi().isShadowRoot(n)?this.findTestabilityInTree(e,n.host,!0):this.findTestabilityInTree(e,n.parentElement,!0):null}}let hM=(()=>{class t{build(){return new XMLHttpRequest}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=ne({token:t,factory:t.\u0275fac}),t})();const bo=new Z("EventManagerPlugins");let Co=(()=>{class t{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(i=>i.manager=this),this._plugins=n.slice().reverse()}addEventListener(n,r,i){return this._findPluginFor(r).addEventListener(n,r,i)}addGlobalEventListener(n,r,i){return this._findPluginFor(r).addGlobalEventListener(n,r,i)}getZone(){return this._zone}_findPluginFor(n){const r=this._eventNameToPlugin.get(n);if(r)return r;const i=this._plugins;for(let s=0;s<i.length;s++){const o=i[s];if(o.supports(n))return this._eventNameToPlugin.set(n,o),o}throw new Error(`No event manager plugin found for event ${n}`)}}return t.\u0275fac=function(n){return new(n||t)(q(bo),q(We))},t.\u0275prov=ne({token:t,factory:t.\u0275fac}),t})();class ry{constructor(e){this._doc=e}addGlobalEventListener(e,n,r){const i=Gi().getGlobalEventTarget(this._doc,e);if(!i)throw new Error(`Unsupported event target ${i} for event ${n}`);return this.addEventListener(i,n,r)}}let iy=(()=>{class t{constructor(){this._stylesSet=new Set}addStyles(n){const r=new Set;n.forEach(i=>{this._stylesSet.has(i)||(this._stylesSet.add(i),r.add(i))}),this.onStylesAdded(r)}onStylesAdded(n){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=ne({token:t,factory:t.\u0275fac}),t})(),Zi=(()=>{class t extends iy{constructor(n){super(),this._doc=n,this._hostNodes=new Map,this._hostNodes.set(n.head,[])}_addStylesToHost(n,r,i){n.forEach(s=>{const o=this._doc.createElement("style");o.textContent=s,i.push(r.appendChild(o))})}addHost(n){const r=[];this._addStylesToHost(this._stylesSet,n,r),this._hostNodes.set(n,r)}removeHost(n){const r=this._hostNodes.get(n);r&&r.forEach(sy),this._hostNodes.delete(n)}onStylesAdded(n){this._hostNodes.forEach((r,i)=>{this._addStylesToHost(n,i,r)})}ngOnDestroy(){this._hostNodes.forEach(n=>n.forEach(sy))}}return t.\u0275fac=function(n){return new(n||t)(q(Nt))},t.\u0275prov=ne({token:t,factory:t.\u0275fac}),t})();function sy(t){Gi().remove(t)}const nc={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/"},rc=/%COMP%/g;function So(t,e,n){for(let r=0;r<e.length;r++){let i=e[r];Array.isArray(i)?So(t,i,n):(i=i.replace(rc,t),n.push(i))}return n}function uy(t){return e=>{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let To=(()=>{class t{constructor(n,r,i){this.eventManager=n,this.sharedStylesHost=r,this.appId=i,this.rendererByCompId=new Map,this.defaultRenderer=new ic(n)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;switch(r.encapsulation){case jt.Emulated:{let i=this.rendererByCompId.get(r.id);return i||(i=new DM(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,i)),i.applyToHost(n),i}case 1:case jt.ShadowDom:return new vM(this.eventManager,this.sharedStylesHost,n,r);default:if(!this.rendererByCompId.has(r.id)){const i=So(r.id,r.styles,[]);this.sharedStylesHost.addStyles(i),this.rendererByCompId.set(r.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(n){return new(n||t)(q(Co),q(Zi),q(Ui))},t.\u0275prov=ne({token:t,factory:t.\u0275fac}),t})();class ic{constructor(e){this.eventManager=e,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(e,n){return n?document.createElementNS(nc[n]||n,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,n){e.appendChild(n)}insertBefore(e,n,r){e&&e.insertBefore(n,r)}removeChild(e,n){e&&e.removeChild(n)}selectRootElement(e,n){let r="string"==typeof e?document.querySelector(e):e;if(!r)throw new Error(`The selector "${e}" did not match any elements`);return n||(r.textContent=""),r}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,n,r,i){if(i){n=i+":"+n;const s=nc[i];s?e.setAttributeNS(s,n,r):e.setAttribute(n,r)}else e.setAttribute(n,r)}removeAttribute(e,n,r){if(r){const i=nc[r];i?e.removeAttributeNS(i,n):e.removeAttribute(`${r}:${n}`)}else e.removeAttribute(n)}addClass(e,n){e.classList.add(n)}removeClass(e,n){e.classList.remove(n)}setStyle(e,n,r,i){i&(gt.DashCase|gt.Important)?e.style.setProperty(n,r,i>.Important?"important":""):e.style[n]=r}removeStyle(e,n,r){r>.DashCase?e.style.removeProperty(n):e.style[n]=""}setProperty(e,n,r){e[n]=r}setValue(e,n){e.nodeValue=n}listen(e,n,r){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,n,uy(r)):this.eventManager.addEventListener(e,n,uy(r))}}class DM extends ic{constructor(e,n,r,i){super(e),this.component=r;const s=So(i+"-"+r.id,r.styles,[]);n.addStyles(s),this.contentAttr=function mM(t){return"_ngcontent-%COMP%".replace(rc,t)}(i+"-"+r.id),this.hostAttr=function yM(t){return"_nghost-%COMP%".replace(rc,t)}(i+"-"+r.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,n){const r=super.createElement(e,n);return super.setAttribute(r,this.contentAttr,""),r}}class vM extends ic{constructor(e,n,r,i){super(e),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const s=So(i.id,i.styles,[]);for(let o=0;o<s.length;o++){const a=document.createElement("style");a.textContent=s[o],this.shadowRoot.appendChild(a)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(e,n){return super.appendChild(this.nodeOrShadowRoot(e),n)}insertBefore(e,n,r){return super.insertBefore(this.nodeOrShadowRoot(e),n,r)}removeChild(e,n){return super.removeChild(this.nodeOrShadowRoot(e),n)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}}let EM=(()=>{class t extends ry{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,i){return n.addEventListener(r,i,!1),()=>this.removeEventListener(n,r,i)}removeEventListener(n,r,i){return n.removeEventListener(r,i)}}return t.\u0275fac=function(n){return new(n||t)(q(Nt))},t.\u0275prov=ne({token:t,factory:t.\u0275fac}),t})();const cy=["alt","control","meta","shift"],bM={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},dy={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},CM={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let SM=(()=>{class t extends ry{constructor(n){super(n)}supports(n){return null!=t.parseEventName(n)}addEventListener(n,r,i){const s=t.parseEventName(r),o=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Gi().onAndCancel(n,s.domEventName,o))}static parseEventName(n){const r=n.toLowerCase().split("."),i=r.shift();if(0===r.length||"keydown"!==i&&"keyup"!==i)return null;const s=t._normalizeKey(r.pop());let o="";if(cy.forEach(u=>{const l=r.indexOf(u);l>-1&&(r.splice(l,1),o+=u+".")}),o+=s,0!=r.length||0===s.length)return null;const a={};return a.domEventName=i,a.fullKey=o,a}static getEventFullKey(n){let r="",i=function TM(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&dy.hasOwnProperty(e)&&(e=dy[e]))}return bM[e]||e}(n);return i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),cy.forEach(s=>{s!=i&&CM[s](n)&&(r+=s+".")}),r+=i,r}static eventCallback(n,r,i){return s=>{t.getEventFullKey(s)===n&&i.runGuarded(()=>r(s))}}static _normalizeKey(n){return"esc"===n?"escape":n}}return t.\u0275fac=function(n){return new(n||t)(q(Nt))},t.\u0275prov=ne({token:t,factory:t.\u0275fac}),t})();const NM=vm(aT,"browser",[{provide:gm,useValue:"browser"},{provide:pm,useValue:function IM(){ec.makeCurrent(),tc.init()},multi:!0},{provide:Nt,useFactory:function AM(){return function eD(t){_a=t}(document),document},deps:[]}]),PM=[{provide:xu,useValue:"root"},{provide:Ii,useFactory:function MM(){return new Ii},deps:[]},{provide:bo,useClass:EM,multi:!0,deps:[Nt,We,gm]},{provide:bo,useClass:SM,multi:!0,deps:[Nt]},{provide:To,useClass:To,deps:[Co,Zi,Ui]},{provide:ji,useExisting:To},{provide:iy,useExisting:Zi},{provide:Zi,useClass:Zi,deps:[Nt]},{provide:Nl,useClass:Nl,deps:[We]},{provide:Co,useClass:Co,deps:[bo,We]},{provide:class oM{},useClass:hM,deps:[]}];let fy=(()=>{class t{constructor(n){if(n)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(n){return{ngModule:t,providers:[{provide:Ui,useValue:n.appId},{provide:ny,useExisting:Ui},fM]}}}return t.\u0275fac=function(n){return new(n||t)(q(t,12))},t.\u0275mod=ar({type:t}),t.\u0275inj=Bn({providers:PM,imports:[iM,uT]}),t})();"undefined"!=typeof window&&window;class $M extends N{constructor(e,n){super()}schedule(e,n=0){return this}}class UM extends $M{constructor(e,n){super(e,n),this.scheduler=e,this.work=n,this.pending=!1}schedule(e,n=0){if(this.closed)return this;this.state=e;const r=this.id,i=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(i,r,n)),this.pending=!0,this.delay=n,this.id=this.id||this.requestAsyncId(i,this.id,n),this}requestAsyncId(e,n,r=0){return setInterval(e.flush.bind(e,this),r)}recycleAsyncId(e,n,r=0){if(null!==r&&this.delay===r&&!1===this.pending)return n;clearInterval(n)}execute(e,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const r=this._execute(e,n);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,n){let i,r=!1;try{this.work(e)}catch(s){r=!0,i=!!s&&s||new Error(s)}if(r)return this.unsubscribe(),i}_unsubscribe(){const e=this.id,n=this.scheduler,r=n.actions,i=r.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&r.splice(i,1),null!=e&&(this.id=this.recycleAsyncId(n,e,null)),this.delay=null}}let gy=(()=>{class t{constructor(n,r=t.now){this.SchedulerAction=n,this.now=r}schedule(n,r=0,i){return new this.SchedulerAction(this,n).schedule(i,r)}}return t.now=()=>Date.now(),t})();class Rn extends gy{constructor(e,n=gy.now){super(e,()=>Rn.delegate&&Rn.delegate!==this?Rn.delegate.now():n()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,n=0,r){return Rn.delegate&&Rn.delegate!==this?Rn.delegate.schedule(e,n,r):super.schedule(e,n,r)}flush(e){const{actions:n}=this;if(this.active)return void n.push(e);let r;this.active=!0;do{if(r=e.execute(e.state,e.delay))break}while(e=n.shift());if(this.active=!1,r){for(;e=n.shift();)e.unsubscribe();throw r}}}const qM=new class GM extends Rn{}(class zM extends UM{constructor(e,n){super(e,n),this.scheduler=e,this.work=n}schedule(e,n=0){return n>0?super.schedule(e,n):(this.delay=n,this.state=e,this.scheduler.flush(this),this)}execute(e,n){return n>0||this.closed?super.execute(e,n):this._execute(e,n)}requestAsyncId(e,n,r=0){return null!==r&&r>0||null===r&&this.delay>0?super.requestAsyncId(e,n,r):e.flush(this)}}),WM=new K(t=>t.complete());function XM({error:t,subscriber:e}){e.error(t)}class Rt{constructor(e,n,r){this.kind=e,this.value=n,this.error=r,this.hasValue="N"===e}observe(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}do(e,n,r){switch(this.kind){case"N":return e&&e(this.value);case"E":return n&&n(this.error);case"C":return r&&r()}}accept(e,n,r){return e&&"function"==typeof e.next?this.observe(e):this.do(e,n,r)}toObservable(){switch(this.kind){case"N":return function ZM(...t){let e=t[t.length-1];return Zo(e)?(t.pop(),Lt(t,e)):qc(t)}(this.value);case"E":return function YM(t,e){return new K(e?n=>e.schedule(XM,0,{error:t,subscriber:n}):n=>n.error(t))}(this.error);case"C":return function KM(t){return t?function QM(t){return new K(e=>t.schedule(()=>e.complete()))}(t):WM}()}throw new Error("unexpected notification kind value")}static createNext(e){return void 0!==e?new Rt("N",e):Rt.undefinedValueNotification}static createError(e){return new Rt("E",void 0,e)}static createComplete(){return Rt.completeNotification}}Rt.completeNotification=new Rt("C"),Rt.undefinedValueNotification=new Rt("N",void 0);class Io extends G{constructor(e,n,r=0){super(e),this.scheduler=n,this.delay=r}static dispatch(e){const{notification:n,destination:r}=e;n.observe(r),this.unsubscribe()}scheduleMessage(e){this.destination.add(this.scheduler.schedule(Io.dispatch,this.delay,new eA(e,this.destination)))}_next(e){this.scheduleMessage(Rt.createNext(e))}_error(e){this.scheduleMessage(Rt.createError(e)),this.unsubscribe()}_complete(){this.scheduleMessage(Rt.createComplete()),this.unsubscribe()}}class eA{constructor(e,n){this.notification=e,this.destination=n}}class tA extends ir{constructor(e=Number.POSITIVE_INFINITY,n=Number.POSITIVE_INFINITY,r){super(),this.scheduler=r,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=e<1?1:e,this._windowTime=n<1?1:n,n===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(e){const n=this._events;n.push(e),n.length>this._bufferSize&&n.shift(),super.next(e)}nextTimeWindow(e){this._events.push(new nA(this._getNow(),e)),this._trimBufferThenGetEvents(),super.next(e)}_subscribe(e){const n=this._infiniteTimeWindow,r=n?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,s=r.length;let o;if(this.closed)throw new Ee;if(this.isStopped||this.hasError?o=N.EMPTY:(this.observers.push(e),o=new ti(this,e)),i&&e.add(e=new Io(e,i)),n)for(let a=0;a<s&&!e.closed;a++)e.next(r[a]);else for(let a=0;a<s&&!e.closed;a++)e.next(r[a].value);return this.hasError?e.error(this.thrownError):this.isStopped&&e.complete(),o}_getNow(){return(this.scheduler||qM).now()}_trimBufferThenGetEvents(){const e=this._getNow(),n=this._bufferSize,r=this._windowTime,i=this._events,s=i.length;let o=0;for(;o<s&&!(e-i[o].time<r);)o++;return s>n&&(o=Math.max(o,s-n)),o>0&&i.splice(0,o),i}}class nA{constructor(e,n){this.time=e,this.value=n}}function my(t,e){return"function"==typeof e?n=>n.pipe(my((r,i)=>Hc(t(r,i)).pipe(ts((s,o)=>e(r,s,i,o))))):n=>n.lift(new rA(t))}class rA{constructor(e){this.project=e}call(e,n){return n.subscribe(new iA(e,this.project))}}class iA extends Uc{constructor(e,n){super(e),this.project=n,this.index=0}_next(e){let n;const r=this.index++;try{n=this.project(e,r)}catch(i){return void this.destination.error(i)}this._innerSub(n)}_innerSub(e){const n=this.innerSubscription;n&&n.unsubscribe();const r=new $c(this),i=this.destination;i.add(r),this.innerSubscription=zc(e,r),this.innerSubscription!==r&&i.add(this.innerSubscription)}_complete(){const{innerSubscription:e}=this;(!e||e.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(e){this.destination.next(e)}}const Mo={schedule(t,e){const n=setTimeout(t,e);return()=>clearTimeout(n)},scheduleBeforeRender(t){if("undefined"==typeof window)return Mo.schedule(t,0);if(void 0===window.requestAnimationFrame)return Mo.schedule(t,16);const e=window.requestAnimationFrame(t);return()=>window.cancelAnimationFrame(e)}};let oc;function hA(t,e,n){let r=n;return function oA(t){return!!t&&t.nodeType===Node.ELEMENT_NODE}(t)&&e.some((i,s)=>!("*"===i||!function uA(t,e){if(!oc){const n=Element.prototype;oc=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return t.nodeType===Node.ELEMENT_NODE&&oc.call(t,e)}(t,i)||(r=s,0))),r}class gA{constructor(e,n){this.componentFactory=n.get(zr).resolveComponentFactory(e)}create(e){return new mA(this.componentFactory,e)}}class mA{constructor(e,n){this.componentFactory=e,this.injector=n,this.eventEmitters=new tA(1),this.events=this.eventEmitters.pipe(my(r=>Wc(...r))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:r})=>r)),this.ngZone=this.injector.get(We),this.elementZone="undefined"==typeof Zone?null:this.ngZone.run(()=>Zone.current)}connect(e){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(e)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=Mo.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},10))})}getInputValue(e){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(e):this.componentRef.instance[e])}setInputValue(e,n){this.runInZone(()=>{null!==this.componentRef?function lA(t,e){return t===e||t!=t&&e!=e}(n,this.getInputValue(e))&&(void 0!==n||!this.unchangedInputs.has(e))||(this.recordInputChange(e,n),this.unchangedInputs.delete(e),this.hasInputChanges=!0,this.componentRef.instance[e]=n,this.scheduleDetectChanges()):this.initialInputValues.set(e,n)})}initializeComponent(e){const n=Mt.create({providers:[],parent:this.injector}),r=function fA(t,e){const n=t.childNodes,r=e.map(()=>[]);let i=-1;e.some((s,o)=>"*"===s&&(i=o,!0));for(let s=0,o=n.length;s<o;++s){const a=n[s],u=hA(a,e,i);-1!==u&&r[u].push(a)}return r}(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(n,r,e),this.viewChangeDetectorRef=this.componentRef.injector.get(Im),this.implementsOnChanges=function aA(t){return"function"==typeof t}(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(Rl).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:e})=>{this.initialInputValues.has(e)&&this.setInputValue(e,this.initialInputValues.get(e))}),this.initialInputValues.clear()}initializeOutputs(e){const n=this.componentFactory.outputs.map(({propName:r,templateName:i})=>e.instance[r].pipe(ts(o=>({name:i,value:o}))));this.eventEmitters.next(n)}callNgOnChanges(e){if(!this.implementsOnChanges||null===this.inputChanges)return;const n=this.inputChanges;this.inputChanges=null,e.instance.ngOnChanges(n)}markViewForCheck(e){this.hasInputChanges&&(this.hasInputChanges=!1,e.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=Mo.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(e,n){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const r=this.inputChanges[e];if(r)return void(r.currentValue=n);const i=this.unchangedInputs.has(e),s=i?void 0:this.getInputValue(e);this.inputChanges[e]=new od(s,n,i)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}}class yA extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}class yy{}const Dn="*";function _y(t,e=null){return{type:2,steps:t,options:e}}function Dy(t){return{type:6,styles:t,offset:null}}function vy(t){Promise.resolve(null).then(t)}class Yi{constructor(e=0,n=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+n}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){vy(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){const n="start"==e?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}}class Ey{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let n=0,r=0,i=0;const s=this.players.length;0==s?vy(()=>this._onFinish()):this.players.forEach(o=>{o.onDone(()=>{++n==s&&this._onFinish()}),o.onDestroy(()=>{++r==s&&this._onDestroy()}),o.onStart(()=>{++i==s&&this._onStart()})}),this.totalTime=this.players.reduce((o,a)=>Math.max(o,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){const n=e*this.totalTime;this.players.forEach(r=>{const i=r.totalTime?Math.min(1,n/r.totalTime):1;r.setPosition(i)})}getPosition(){const e=this.players.reduce((n,r)=>null===n||r.totalTime>n.totalTime?r:n,null);return null!=e?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){const n="start"==e?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}}const W=!1;function wy(t){return new b(3e3,W)}function JA(){return"undefined"!=typeof window&&void 0!==window.document}function uc(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function On(t){switch(t.length){case 0:return new Yi;case 1:return t[0];default:return new Ey(t)}}function by(t,e,n,r,i={},s={}){const o=[],a=[];let u=-1,l=null;if(r.forEach(c=>{const d=c.offset,f=d==u,h=f&&l||{};Object.keys(c).forEach(p=>{let g=p,y=c[p];if("offset"!==p)switch(g=e.normalizePropertyName(g,o),y){case"!":y=i[p];break;case Dn:y=s[p];break;default:y=e.normalizeStyleValue(p,g,y,o)}h[g]=y}),f||a.push(h),l=h,u=d}),o.length)throw function $A(t){return new b(3502,W)}();return a}function lc(t,e,n,r){switch(e){case"start":t.onStart(()=>r(n&&cc(n,"start",t)));break;case"done":t.onDone(()=>r(n&&cc(n,"done",t)));break;case"destroy":t.onDestroy(()=>r(n&&cc(n,"destroy",t)))}}function cc(t,e,n){const r=n.totalTime,s=dc(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==r?t.totalTime:r,!!n.disabled),o=t._data;return null!=o&&(s._data=o),s}function dc(t,e,n,r,i="",s=0,o){return{element:t,triggerName:e,fromState:n,toState:r,phaseName:i,totalTime:s,disabled:!!o}}function yt(t,e,n){let r;return t instanceof Map?(r=t.get(e),r||t.set(e,r=n)):(r=t[e],r||(r=t[e]=n)),r}function Cy(t){const e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}let fc=(t,e)=>!1,Sy=(t,e,n)=>[],Ty=null;function hc(t){const e=t.parentNode||t.host;return e===Ty?null:e}(uc()||"undefined"!=typeof Element)&&(JA()?(Ty=(()=>document.documentElement)(),fc=(t,e)=>{for(;e;){if(e===t)return!0;e=hc(e)}return!1}):fc=(t,e)=>t.contains(e),Sy=(t,e,n)=>{if(n)return Array.from(t.querySelectorAll(e));const r=t.querySelector(e);return r?[r]:[]});let Yn=null,Iy=!1;function My(t){Yn||(Yn=function tN(){return"undefined"!=typeof document?document.body:null}()||{},Iy=!!Yn.style&&"WebkitAppearance"in Yn.style);let e=!0;return Yn.style&&!function eN(t){return"ebkit"==t.substring(1,6)}(t)&&(e=t in Yn.style,!e&&Iy&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in Yn.style)),e}const Ay=fc,Ny=Sy;let Py=(()=>{class t{validateStyleProperty(n){return My(n)}matchesElement(n,r){return!1}containsElement(n,r){return Ay(n,r)}getParentElement(n){return hc(n)}query(n,r,i){return Ny(n,r,i)}computeStyle(n,r,i){return i||""}animate(n,r,i,s,o,a=[],u){return new Yi(i,s)}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=ne({token:t,factory:t.\u0275fac}),t})(),pc=(()=>{class t{}return t.NOOP=new Py,t})();const gc="ng-enter",No="ng-leave",Po="ng-trigger",Fo=".ng-trigger",Ry="ng-animating",mc=".ng-animating";function Xn(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:yc(parseFloat(e[1]),e[2])}function yc(t,e){return"s"===e?1e3*t:t}function Ro(t,e,n){return t.hasOwnProperty("duration")?t:function iN(t,e,n){let i,s=0,o="";if("string"==typeof t){const a=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return e.push(wy()),{duration:0,delay:0,easing:""};i=yc(parseFloat(a[1]),a[2]);const u=a[3];null!=u&&(s=yc(parseFloat(u),a[4]));const l=a[5];l&&(o=l)}else i=t;if(!n){let a=!1,u=e.length;i<0&&(e.push(function vA(){return new b(3100,W)}()),a=!0),s<0&&(e.push(function EA(){return new b(3101,W)}()),a=!0),a&&e.splice(u,0,wy())}return{duration:i,delay:s,easing:o}}(t,e,n)}function Zr(t,e={}){return Object.keys(t).forEach(n=>{e[n]=t[n]}),e}function xn(t,e,n={}){if(e)for(let r in t)n[r]=t[r];else Zr(t,n);return n}function xy(t,e,n){return n?e+":"+n+";":""}function Ly(t){let e="";for(let n=0;n<t.style.length;n++){const r=t.style.item(n);e+=xy(0,r,t.style.getPropertyValue(r))}for(const n in t.style)t.style.hasOwnProperty(n)&&!n.startsWith("_")&&(e+=xy(0,aN(n),t.style[n]));t.setAttribute("style",e)}function an(t,e,n){t.style&&(Object.keys(e).forEach(r=>{const i=Dc(r);n&&!n.hasOwnProperty(r)&&(n[r]=t.style[i]),t.style[i]=e[r]}),uc()&&Ly(t))}function Jn(t,e){t.style&&(Object.keys(e).forEach(n=>{const r=Dc(n);t.style[r]=""}),uc()&&Ly(t))}function Xi(t){return Array.isArray(t)?1==t.length?t[0]:_y(t):t}const _c=new RegExp("{{\\s*(.+?)\\s*}}","g");function ky(t){let e=[];if("string"==typeof t){let n;for(;n=_c.exec(t);)e.push(n[1]);_c.lastIndex=0}return e}function Oo(t,e,n){const r=t.toString(),i=r.replace(_c,(s,o)=>{let a=e[o];return e.hasOwnProperty(o)||(n.push(function bA(t){return new b(3003,W)}()),a=""),a.toString()});return i==r?t:i}function xo(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const oN=/-+([a-z0-9])/g;function Dc(t){return t.replace(oN,(...e)=>e[1].toUpperCase())}function aN(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function _t(t,e,n){switch(e.type){case 7:return t.visitTrigger(e,n);case 0:return t.visitState(e,n);case 1:return t.visitTransition(e,n);case 2:return t.visitSequence(e,n);case 3:return t.visitGroup(e,n);case 4:return t.visitAnimate(e,n);case 5:return t.visitKeyframes(e,n);case 6:return t.visitStyle(e,n);case 8:return t.visitReference(e,n);case 9:return t.visitAnimateChild(e,n);case 10:return t.visitAnimateRef(e,n);case 11:return t.visitQuery(e,n);case 12:return t.visitStagger(e,n);default:throw function CA(t){return new b(3004,W)}()}}function jy(t,e){return window.getComputedStyle(t)[e]}function hN(t,e){const n=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(r=>function pN(t,e,n){if(":"==t[0]){const u=function gN(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(n,r)=>parseFloat(r)>parseFloat(n);case":decrement":return(n,r)=>parseFloat(r)<parseFloat(n);default:return e.push(function jA(t){return new b(3016,W)}()),"* => *"}}(t,n);if("function"==typeof u)return void e.push(u);t=u}const r=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push(function kA(t){return new b(3015,W)}()),e;const i=r[1],s=r[2],o=r[3];e.push(By(i,o));"<"==s[0]&&!("*"==i&&"*"==o)&&e.push(By(o,i))}(r,n,e)):n.push(t),n}const Bo=new Set(["true","1"]),Vo=new Set(["false","0"]);function By(t,e){const n=Bo.has(t)||Vo.has(t),r=Bo.has(e)||Vo.has(e);return(i,s)=>{let o="*"==t||t==i,a="*"==e||e==s;return!o&&n&&"boolean"==typeof i&&(o=i?Bo.has(t):Vo.has(t)),!a&&r&&"boolean"==typeof s&&(a=s?Bo.has(e):Vo.has(e)),o&&a}}const mN=new RegExp("s*:selfs*,?","g");function vc(t,e,n,r){return new yN(t).build(e,n,r)}class yN{constructor(e){this._driver=e}build(e,n,r){const i=new vN(n);this._resetContextStyleTimingState(i);const s=_t(this,Xi(e),i);return i.unsupportedCSSPropertiesFound.size&&i.unsupportedCSSPropertiesFound.keys(),s}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0}visitTrigger(e,n){let r=n.queryCount=0,i=n.depCount=0;const s=[],o=[];return"@"==e.name.charAt(0)&&n.errors.push(function TA(){return new b(3006,W)}()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(n),0==a.type){const u=a,l=u.name;l.toString().split(/\s*,\s*/).forEach(c=>{u.name=c,s.push(this.visitState(u,n))}),u.name=l}else if(1==a.type){const u=this.visitTransition(a,n);r+=u.queryCount,i+=u.depCount,o.push(u)}else n.errors.push(function IA(){return new b(3007,W)}())}),{type:7,name:e.name,states:s,transitions:o,queryCount:r,depCount:i,options:null}}visitState(e,n){const r=this.visitStyle(e.styles,n),i=e.options&&e.options.params||null;if(r.containsDynamicStyles){const s=new Set,o=i||{};r.styles.forEach(a=>{if(Ho(a)){const u=a;Object.keys(u).forEach(l=>{ky(u[l]).forEach(c=>{o.hasOwnProperty(c)||s.add(c)})})}}),s.size&&(xo(s.values()),n.errors.push(function MA(t,e){return new b(3008,W)}()))}return{type:0,name:e.name,style:r,options:i?{params:i}:null}}visitTransition(e,n){n.queryCount=0,n.depCount=0;const r=_t(this,Xi(e.animation),n);return{type:1,matchers:hN(e.expr,n.errors),animation:r,queryCount:n.queryCount,depCount:n.depCount,options:er(e.options)}}visitSequence(e,n){return{type:2,steps:e.steps.map(r=>_t(this,r,n)),options:er(e.options)}}visitGroup(e,n){const r=n.currentTime;let i=0;const s=e.steps.map(o=>{n.currentTime=r;const a=_t(this,o,n);return i=Math.max(i,n.currentTime),a});return n.currentTime=i,{type:3,steps:s,options:er(e.options)}}visitAnimate(e,n){const r=function wN(t,e){if(t.hasOwnProperty("duration"))return t;if("number"==typeof t)return Ec(Ro(t,e).duration,0,"");const n=t;if(n.split(/\s+/).some(s=>"{"==s.charAt(0)&&"{"==s.charAt(1))){const s=Ec(0,0,"");return s.dynamic=!0,s.strValue=n,s}const i=Ro(n,e);return Ec(i.duration,i.delay,i.easing)}(e.timings,n.errors);n.currentAnimateTimings=r;let i,s=e.styles?e.styles:Dy({});if(5==s.type)i=this.visitKeyframes(s,n);else{let o=e.styles,a=!1;if(!o){a=!0;const l={};r.easing&&(l.easing=r.easing),o=Dy(l)}n.currentTime+=r.duration+r.delay;const u=this.visitStyle(o,n);u.isEmptyStep=a,i=u}return n.currentAnimateTimings=null,{type:4,timings:r,style:i,options:null}}visitStyle(e,n){const r=this._makeStyleAst(e,n);return this._validateStyleAst(r,n),r}_makeStyleAst(e,n){const r=[];Array.isArray(e.styles)?e.styles.forEach(o=>{"string"==typeof o?o==Dn?r.push(o):n.errors.push(function AA(t){return new b(3002,W)}()):r.push(o)}):r.push(e.styles);let i=!1,s=null;return r.forEach(o=>{if(Ho(o)){const a=o,u=a.easing;if(u&&(s=u,delete a.easing),!i)for(let l in a)if(a[l].toString().indexOf("{{")>=0){i=!0;break}}}),{type:6,styles:r,easing:s,offset:e.offset,containsDynamicStyles:i,options:null}}_validateStyleAst(e,n){const r=n.currentAnimateTimings;let i=n.currentTime,s=n.currentTime;r&&s>0&&(s-=r.duration+r.delay),e.styles.forEach(o=>{"string"!=typeof o&&Object.keys(o).forEach(a=>{if(!this._driver.validateStyleProperty(a))return delete o[a],void n.unsupportedCSSPropertiesFound.add(a);const u=n.collectedStyles[n.currentQuerySelector],l=u[a];let c=!0;l&&(s!=i&&s>=l.startTime&&i<=l.endTime&&(n.errors.push(function NA(t,e,n,r,i){return new b(3010,W)}()),c=!1),s=l.startTime),c&&(u[a]={startTime:s,endTime:i}),n.options&&function sN(t,e,n){const r=e.params||{},i=ky(t);i.length&&i.forEach(s=>{r.hasOwnProperty(s)||n.push(function wA(t){return new b(3001,W)}())})}(o[a],n.options,n.errors)})})}visitKeyframes(e,n){const r={type:5,styles:[],options:null};if(!n.currentAnimateTimings)return n.errors.push(function PA(){return new b(3011,W)}()),r;let s=0;const o=[];let a=!1,u=!1,l=0;const c=e.steps.map(D=>{const m=this._makeStyleAst(D,n);let v=null!=m.offset?m.offset:function EN(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach(n=>{if(Ho(n)&&n.hasOwnProperty("offset")){const r=n;e=parseFloat(r.offset),delete r.offset}});else if(Ho(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}return e}(m.styles),S=0;return null!=v&&(s++,S=m.offset=v),u=u||S<0||S>1,a=a||S<l,l=S,o.push(S),m});u&&n.errors.push(function FA(){return new b(3012,W)}()),a&&n.errors.push(function RA(){return new b(3200,W)}());const d=e.steps.length;let f=0;s>0&&s<d?n.errors.push(function OA(){return new b(3202,W)}()):0==s&&(f=1/(d-1));const h=d-1,p=n.currentTime,g=n.currentAnimateTimings,y=g.duration;return c.forEach((D,m)=>{const v=f>0?m==h?1:f*m:o[m],S=v*y;n.currentTime=p+g.delay+S,g.duration=S,this._validateStyleAst(D,n),D.offset=v,r.styles.push(D)}),r}visitReference(e,n){return{type:8,animation:_t(this,Xi(e.animation),n),options:er(e.options)}}visitAnimateChild(e,n){return n.depCount++,{type:9,options:er(e.options)}}visitAnimateRef(e,n){return{type:10,animation:this.visitReference(e.animation,n),options:er(e.options)}}visitQuery(e,n){const r=n.currentQuerySelector,i=e.options||{};n.queryCount++,n.currentQuery=e;const[s,o]=function _N(t){const e=!!t.split(/\s*,\s*/).find(n=>":self"==n);return e&&(t=t.replace(mN,"")),t=t.replace(/@\*/g,Fo).replace(/@\w+/g,n=>Fo+"-"+n.substr(1)).replace(/:animating/g,mc),[t,e]}(e.selector);n.currentQuerySelector=r.length?r+" "+s:s,yt(n.collectedStyles,n.currentQuerySelector,{});const a=_t(this,Xi(e.animation),n);return n.currentQuery=null,n.currentQuerySelector=r,{type:11,selector:s,limit:i.limit||0,optional:!!i.optional,includeSelf:o,animation:a,originalSelector:e.selector,options:er(e.options)}}visitStagger(e,n){n.currentQuery||n.errors.push(function xA(){return new b(3013,W)}());const r="full"===e.timings?{duration:0,delay:0,easing:"full"}:Ro(e.timings,n.errors,!0);return{type:12,animation:_t(this,Xi(e.animation),n),timings:r,options:null}}}class vN{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Ho(t){return!Array.isArray(t)&&"object"==typeof t}function er(t){return t?(t=Zr(t)).params&&(t.params=function DN(t){return t?Zr(t):null}(t.params)):t={},t}function Ec(t,e,n){return{duration:t,delay:e,easing:n}}function wc(t,e,n,r,i,s,o=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:r,duration:i,delay:s,totalTime:i+s,easing:o,subTimeline:a}}class $o{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,n){let r=this._map.get(e);r||this._map.set(e,r=[]),r.push(...n)}has(e){return this._map.has(e)}clear(){this._map.clear()}}const SN=new RegExp(":enter","g"),IN=new RegExp(":leave","g");function bc(t,e,n,r,i,s={},o={},a,u,l=[]){return(new MN).buildKeyframes(t,e,n,r,i,s,o,a,u,l)}class MN{buildKeyframes(e,n,r,i,s,o,a,u,l,c=[]){l=l||new $o;const d=new Cc(e,n,l,i,s,c,[]);d.options=u,d.currentTimeline.setStyles([o],null,d.errors,u),_t(this,r,d);const f=d.timelines.filter(h=>h.containsAnimation());if(Object.keys(a).length){let h;for(let p=f.length-1;p>=0;p--){const g=f[p];if(g.element===n){h=g;break}}h&&!h.allowOnlyTimelineStyles()&&h.setStyles([a],null,d.errors,u)}return f.length?f.map(h=>h.buildKeyframes()):[wc(n,[],[],[],0,0,"",!1)]}visitTrigger(e,n){}visitState(e,n){}visitTransition(e,n){}visitAnimateChild(e,n){const r=n.subInstructions.get(n.element);if(r){const i=n.createSubContext(e.options),s=n.currentTimeline.currentTime,o=this._visitSubInstructions(r,i,i.options);s!=o&&n.transformIntoNewTimeline(o)}n.previousNode=e}visitAnimateRef(e,n){const r=n.createSubContext(e.options);r.transformIntoNewTimeline(),this.visitReference(e.animation,r),n.transformIntoNewTimeline(r.currentTimeline.currentTime),n.previousNode=e}_visitSubInstructions(e,n,r){let s=n.currentTimeline.currentTime;const o=null!=r.duration?Xn(r.duration):null,a=null!=r.delay?Xn(r.delay):null;return 0!==o&&e.forEach(u=>{const l=n.appendInstructionToTimeline(u,o,a);s=Math.max(s,l.duration+l.delay)}),s}visitReference(e,n){n.updateOptions(e.options,!0),_t(this,e.animation,n),n.previousNode=e}visitSequence(e,n){const r=n.subContextCount;let i=n;const s=e.options;if(s&&(s.params||s.delay)&&(i=n.createSubContext(s),i.transformIntoNewTimeline(),null!=s.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=Uo);const o=Xn(s.delay);i.delayNextStep(o)}e.steps.length&&(e.steps.forEach(o=>_t(this,o,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),n.previousNode=e}visitGroup(e,n){const r=[];let i=n.currentTimeline.currentTime;const s=e.options&&e.options.delay?Xn(e.options.delay):0;e.steps.forEach(o=>{const a=n.createSubContext(e.options);s&&a.delayNextStep(s),_t(this,o,a),i=Math.max(i,a.currentTimeline.currentTime),r.push(a.currentTimeline)}),r.forEach(o=>n.currentTimeline.mergeTimelineCollectedStyles(o)),n.transformIntoNewTimeline(i),n.previousNode=e}_visitTiming(e,n){if(e.dynamic){const r=e.strValue;return Ro(n.params?Oo(r,n.params,n.errors):r,n.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,n){const r=n.currentAnimateTimings=this._visitTiming(e.timings,n),i=n.currentTimeline;r.delay&&(n.incrementTime(r.delay),i.snapshotCurrentStyles());const s=e.style;5==s.type?this.visitKeyframes(s,n):(n.incrementTime(r.duration),this.visitStyle(s,n),i.applyStylesToKeyframe()),n.currentAnimateTimings=null,n.previousNode=e}visitStyle(e,n){const r=n.currentTimeline,i=n.currentAnimateTimings;!i&&r.getCurrentStyleProperties().length&&r.forwardFrame();const s=i&&i.easing||e.easing;e.isEmptyStep?r.applyEmptyStep(s):r.setStyles(e.styles,s,n.errors,n.options),n.previousNode=e}visitKeyframes(e,n){const r=n.currentAnimateTimings,i=n.currentTimeline.duration,s=r.duration,a=n.createSubContext().currentTimeline;a.easing=r.easing,e.styles.forEach(u=>{a.forwardTime((u.offset||0)*s),a.setStyles(u.styles,u.easing,n.errors,n.options),a.applyStylesToKeyframe()}),n.currentTimeline.mergeTimelineCollectedStyles(a),n.transformIntoNewTimeline(i+s),n.previousNode=e}visitQuery(e,n){const r=n.currentTimeline.currentTime,i=e.options||{},s=i.delay?Xn(i.delay):0;s&&(6===n.previousNode.type||0==r&&n.currentTimeline.getCurrentStyleProperties().length)&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=Uo);let o=r;const a=n.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,n.errors);n.currentQueryTotal=a.length;let u=null;a.forEach((l,c)=>{n.currentQueryIndex=c;const d=n.createSubContext(e.options,l);s&&d.delayNextStep(s),l===n.element&&(u=d.currentTimeline),_t(this,e.animation,d),d.currentTimeline.applyStylesToKeyframe(),o=Math.max(o,d.currentTimeline.currentTime)}),n.currentQueryIndex=0,n.currentQueryTotal=0,n.transformIntoNewTimeline(o),u&&(n.currentTimeline.mergeTimelineCollectedStyles(u),n.currentTimeline.snapshotCurrentStyles()),n.previousNode=e}visitStagger(e,n){const r=n.parentContext,i=n.currentTimeline,s=e.timings,o=Math.abs(s.duration),a=o*(n.currentQueryTotal-1);let u=o*n.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":u=a-u;break;case"full":u=r.currentStaggerTime}const c=n.currentTimeline;u&&c.delayNextStep(u);const d=c.currentTime;_t(this,e.animation,n),n.previousNode=e,r.currentStaggerTime=i.currentTime-d+(i.startTime-r.currentTimeline.startTime)}}const Uo={};class Cc{constructor(e,n,r,i,s,o,a,u){this._driver=e,this.element=n,this.subInstructions=r,this._enterClassName=i,this._leaveClassName=s,this.errors=o,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Uo,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=u||new zo(this._driver,n,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,n){if(!e)return;const r=e;let i=this.options;null!=r.duration&&(i.duration=Xn(r.duration)),null!=r.delay&&(i.delay=Xn(r.delay));const s=r.params;if(s){let o=i.params;o||(o=this.options.params={}),Object.keys(s).forEach(a=>{(!n||!o.hasOwnProperty(a))&&(o[a]=Oo(s[a],o,this.errors))})}}_copyOptions(){const e={};if(this.options){const n=this.options.params;if(n){const r=e.params={};Object.keys(n).forEach(i=>{r[i]=n[i]})}}return e}createSubContext(e=null,n,r){const i=n||this.element,s=new Cc(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(e),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(e){return this.previousNode=Uo,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,n,r){const i={duration:null!=n?n:e.duration,delay:this.currentTimeline.currentTime+(null!=r?r:0)+e.delay,easing:""},s=new AN(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(s),i}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,n,r,i,s,o){let a=[];if(i&&a.push(this.element),e.length>0){e=(e=e.replace(SN,"."+this._enterClassName)).replace(IN,"."+this._leaveClassName);let l=this._driver.query(this.element,e,1!=r);0!==r&&(l=r<0?l.slice(l.length+r,l.length):l.slice(0,r)),a.push(...l)}return!s&&0==a.length&&o.push(function LA(t){return new b(3014,W)}()),a}}class zo{constructor(e,n,r,i){this._driver=e,this.element=n,this.startTime=r,this._elementTimelineStylesLookup=i,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(e){const n=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||n?(this.forwardTime(this.currentTime+e),n&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,n){return this.applyStylesToKeyframe(),new zo(this._driver,e,n||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,n){this._localTimelineStyles[e]=n,this._globalTimelineStyles[e]=n,this._styleSummary[e]={time:this.currentTime,value:n}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach(n=>{this._backFill[n]=this._globalTimelineStyles[n]||Dn,this._currentKeyframe[n]=Dn}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,n,r,i){n&&(this._previousKeyframe.easing=n);const s=i&&i.params||{},o=function NN(t,e){const n={};let r;return t.forEach(i=>{"*"===i?(r=r||Object.keys(e),r.forEach(s=>{n[s]=Dn})):xn(i,!1,n)}),n}(e,this._globalTimelineStyles);Object.keys(o).forEach(a=>{const u=Oo(o[a],s,r);this._pendingStyles[a]=u,this._localTimelineStyles.hasOwnProperty(a)||(this._backFill[a]=this._globalTimelineStyles.hasOwnProperty(a)?this._globalTimelineStyles[a]:Dn),this._updateStyle(a,u)})}applyStylesToKeyframe(){const e=this._pendingStyles,n=Object.keys(e);0!=n.length&&(this._pendingStyles={},n.forEach(r=>{this._currentKeyframe[r]=e[r]}),Object.keys(this._localTimelineStyles).forEach(r=>{this._currentKeyframe.hasOwnProperty(r)||(this._currentKeyframe[r]=this._localTimelineStyles[r])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(e=>{const n=this._localTimelineStyles[e];this._pendingStyles[e]=n,this._updateStyle(e,n)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const e=[];for(let n in this._currentKeyframe)e.push(n);return e}mergeTimelineCollectedStyles(e){Object.keys(e._styleSummary).forEach(n=>{const r=this._styleSummary[n],i=e._styleSummary[n];(!r||i.time>r.time)&&this._updateStyle(n,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,n=new Set,r=1===this._keyframes.size&&0===this.duration;let i=[];this._keyframes.forEach((a,u)=>{const l=xn(a,!0);Object.keys(l).forEach(c=>{const d=l[c];"!"==d?e.add(c):d==Dn&&n.add(c)}),r||(l.offset=u/this.duration),i.push(l)});const s=e.size?xo(e.values()):[],o=n.size?xo(n.values()):[];if(r){const a=i[0],u=Zr(a);a.offset=0,u.offset=1,i=[a,u]}return wc(this.element,i,s,o,this.duration,this.startTime,this.easing,!1)}}class AN extends zo{constructor(e,n,r,i,s,o,a=!1){super(e,n,o.delay),this.keyframes=r,this.preStyleProps=i,this.postStyleProps=s,this._stretchStartingKeyframe=a,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:n,duration:r,easing:i}=this.timings;if(this._stretchStartingKeyframe&&n){const s=[],o=r+n,a=n/o,u=xn(e[0],!1);u.offset=0,s.push(u);const l=xn(e[0],!1);l.offset=$y(a),s.push(l);const c=e.length-1;for(let d=1;d<=c;d++){let f=xn(e[d],!1);f.offset=$y((n+f.offset*r)/o),s.push(f)}r=o,n=0,i="",e=s}return wc(this.element,e,this.preStyleProps,this.postStyleProps,r,n,i,!0)}}function $y(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}class Sc{}class PN extends Sc{normalizePropertyName(e,n){return Dc(e)}normalizeStyleValue(e,n,r,i){let s="";const o=r.toString().trim();if(FN[n]&&0!==r&&"0"!==r)if("number"==typeof r)s="px";else{const a=r.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&i.push(function SA(t,e){return new b(3005,W)}())}return o+s}}const FN=(()=>function RN(t){const e={};return t.forEach(n=>e[n]=!0),e}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function Uy(t,e,n,r,i,s,o,a,u,l,c,d,f){return{type:0,element:t,triggerName:e,isRemovalTransition:i,fromState:n,fromStyles:s,toState:r,toStyles:o,timelines:a,queriedElements:u,preStyleProps:l,postStyleProps:c,totalTime:d,errors:f}}const Tc={};class zy{constructor(e,n,r){this._triggerName=e,this.ast=n,this._stateStyles=r}match(e,n,r,i){return function ON(t,e,n,r,i){return t.some(s=>s(e,n,r,i))}(this.ast.matchers,e,n,r,i)}buildStyles(e,n,r){const i=this._stateStyles["*"],s=this._stateStyles[e],o=i?i.buildStyles(n,r):{};return s?s.buildStyles(n,r):o}build(e,n,r,i,s,o,a,u,l,c){const d=[],f=this.ast.options&&this.ast.options.params||Tc,p=this.buildStyles(r,a&&a.params||Tc,d),g=u&&u.params||Tc,y=this.buildStyles(i,g,d),D=new Set,m=new Map,v=new Map,S="void"===i,V={params:Object.assign(Object.assign({},f),g)},ce=c?[]:bc(e,n,this.ast.animation,s,o,p,y,V,l,d);let _e=0;if(ce.forEach(vt=>{_e=Math.max(vt.duration+vt.delay,_e)}),d.length)return Uy(n,this._triggerName,r,i,S,p,y,[],[],m,v,_e,d);ce.forEach(vt=>{const Et=vt.element,Xr=yt(m,Et,{});vt.preStyleProps.forEach(Qt=>Xr[Qt]=!0);const vn=yt(v,Et,{});vt.postStyleProps.forEach(Qt=>vn[Qt]=!0),Et!==n&&D.add(Et)});const Dt=xo(D.values());return Uy(n,this._triggerName,r,i,S,p,y,ce,Dt,m,v,_e)}}class xN{constructor(e,n,r){this.styles=e,this.defaultParams=n,this.normalizer=r}buildStyles(e,n){const r={},i=Zr(this.defaultParams);return Object.keys(e).forEach(s=>{const o=e[s];null!=o&&(i[s]=o)}),this.styles.styles.forEach(s=>{if("string"!=typeof s){const o=s;Object.keys(o).forEach(a=>{let u=o[a];u.length>1&&(u=Oo(u,i,n));const l=this.normalizer.normalizePropertyName(a,n);u=this.normalizer.normalizeStyleValue(a,l,u,n),r[l]=u})}}),r}}class kN{constructor(e,n,r){this.name=e,this.ast=n,this._normalizer=r,this.transitionFactories=[],this.states={},n.states.forEach(i=>{this.states[i.name]=new xN(i.style,i.options&&i.options.params||{},r)}),Gy(this.states,"true","1"),Gy(this.states,"false","0"),n.transitions.forEach(i=>{this.transitionFactories.push(new zy(e,i,this.states))}),this.fallbackTransition=function jN(t,e,n){return new zy(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(o,a)=>!0],options:null,queryCount:0,depCount:0},e)}(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,n,r,i){return this.transitionFactories.find(o=>o.match(e,n,r,i))||null}matchStyles(e,n,r){return this.fallbackTransition.buildStyles(e,n,r)}}function Gy(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}const BN=new $o;class VN{constructor(e,n,r){this.bodyNode=e,this._driver=n,this._normalizer=r,this._animations={},this._playersById={},this.players=[]}register(e,n){const r=[],s=vc(this._driver,n,r,[]);if(r.length)throw function UA(t){return new b(3503,W)}();this._animations[e]=s}_buildPlayer(e,n,r){const i=e.element,s=by(0,this._normalizer,0,e.keyframes,n,r);return this._driver.animate(i,s,e.duration,e.delay,e.easing,[],!0)}create(e,n,r={}){const i=[],s=this._animations[e];let o;const a=new Map;if(s?(o=bc(this._driver,n,s,gc,No,{},{},r,BN,i),o.forEach(c=>{const d=yt(a,c.element,{});c.postStyleProps.forEach(f=>d[f]=null)})):(i.push(function zA(){return new b(3300,W)}()),o=[]),i.length)throw function GA(t){return new b(3504,W)}();a.forEach((c,d)=>{Object.keys(c).forEach(f=>{c[f]=this._driver.computeStyle(d,f,Dn)})});const l=On(o.map(c=>{const d=a.get(c.element);return this._buildPlayer(c,{},d)}));return this._playersById[e]=l,l.onDestroy(()=>this.destroy(e)),this.players.push(l),l}destroy(e){const n=this._getPlayer(e);n.destroy(),delete this._playersById[e];const r=this.players.indexOf(n);r>=0&&this.players.splice(r,1)}_getPlayer(e){const n=this._playersById[e];if(!n)throw function qA(t){return new b(3301,W)}();return n}listen(e,n,r,i){const s=dc(n,"","","");return lc(this._getPlayer(e),r,s,i),()=>{}}command(e,n,r,i){if("register"==r)return void this.register(e,i[0]);if("create"==r)return void this.create(e,n,i[0]||{});const s=this._getPlayer(e);switch(r){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e)}}}const qy="ng-animate-queued",Ic="ng-animate-disabled",GN=[],Wy={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},qN={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Ot="__ng_removed";class Mc{constructor(e,n=""){this.namespaceId=n;const r=e&&e.hasOwnProperty("value");if(this.value=function ZN(t){return null!=t?t:null}(r?e.value:e),r){const s=Zr(e);delete s.value,this.options=s}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(e){const n=e.params;if(n){const r=this.options.params;Object.keys(n).forEach(i=>{null==r[i]&&(r[i]=n[i])})}}}const Ji="void",Ac=new Mc(Ji);class WN{constructor(e,n,r){this.id=e,this.hostElement=n,this._engine=r,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,xt(n,this._hostClassName)}listen(e,n,r,i){if(!this._triggers.hasOwnProperty(n))throw function WA(t,e){return new b(3302,W)}();if(null==r||0==r.length)throw function KA(t){return new b(3303,W)}();if(!function YN(t){return"start"==t||"done"==t}(r))throw function QA(t,e){return new b(3400,W)}();const s=yt(this._elementListeners,e,[]),o={name:n,phase:r,callback:i};s.push(o);const a=yt(this._engine.statesByElement,e,{});return a.hasOwnProperty(n)||(xt(e,Po),xt(e,Po+"-"+n),a[n]=Ac),()=>{this._engine.afterFlush(()=>{const u=s.indexOf(o);u>=0&&s.splice(u,1),this._triggers[n]||delete a[n]})}}register(e,n){return!this._triggers[e]&&(this._triggers[e]=n,!0)}_getTrigger(e){const n=this._triggers[e];if(!n)throw function ZA(t){return new b(3401,W)}();return n}trigger(e,n,r,i=!0){const s=this._getTrigger(n),o=new Nc(this.id,n,e);let a=this._engine.statesByElement.get(e);a||(xt(e,Po),xt(e,Po+"-"+n),this._engine.statesByElement.set(e,a={}));let u=a[n];const l=new Mc(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&u&&l.absorbOptions(u.options),a[n]=l,u||(u=Ac),l.value!==Ji&&u.value===l.value){if(!function eP(t,e){const n=Object.keys(t),r=Object.keys(e);if(n.length!=r.length)return!1;for(let i=0;i<n.length;i++){const s=n[i];if(!e.hasOwnProperty(s)||t[s]!==e[s])return!1}return!0}(u.params,l.params)){const g=[],y=s.matchStyles(u.value,u.params,g),D=s.matchStyles(l.value,l.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(()=>{Jn(e,y),an(e,D)})}return}const f=yt(this._engine.playersByElement,e,[]);f.forEach(g=>{g.namespaceId==this.id&&g.triggerName==n&&g.queued&&g.destroy()});let h=s.matchTransition(u.value,l.value,e,l.params),p=!1;if(!h){if(!i)return;h=s.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:n,transition:h,fromState:u,toState:l,player:o,isFallbackTransition:p}),p||(xt(e,qy),o.onStart(()=>{Yr(e,qy)})),o.onDone(()=>{let g=this.players.indexOf(o);g>=0&&this.players.splice(g,1);const y=this._engine.playersByElement.get(e);if(y){let D=y.indexOf(o);D>=0&&y.splice(D,1)}}),this.players.push(o),f.push(o),o}deregister(e){delete this._triggers[e],this._engine.statesByElement.forEach((n,r)=>{delete n[e]}),this._elementListeners.forEach((n,r)=>{this._elementListeners.set(r,n.filter(i=>i.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const n=this._engine.playersByElement.get(e);n&&(n.forEach(r=>r.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,n){const r=this._engine.driver.query(e,Fo,!0);r.forEach(i=>{if(i[Ot])return;const s=this._engine.fetchNamespacesByElement(i);s.size?s.forEach(o=>o.triggerLeaveAnimation(i,n,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(e,n,r,i){const s=this._engine.statesByElement.get(e),o=new Map;if(s){const a=[];if(Object.keys(s).forEach(u=>{if(o.set(u,s[u].value),this._triggers[u]){const l=this.trigger(e,u,Ji,i);l&&a.push(l)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,n,o),r&&On(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){const n=this._elementListeners.get(e),r=this._engine.statesByElement.get(e);if(n&&r){const i=new Set;n.forEach(s=>{const o=s.name;if(i.has(o))return;i.add(o);const u=this._triggers[o].fallbackTransition,l=r[o]||Ac,c=new Mc(Ji),d=new Nc(this.id,o,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:o,transition:u,fromState:l,toState:c,player:d,isFallbackTransition:!0})})}}removeNode(e,n){const r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,n),this.triggerLeaveAnimation(e,n,!0))return;let i=!1;if(r.totalAnimations){const s=r.players.length?r.playersByQueriedElement.get(e):[];if(s&&s.length)i=!0;else{let o=e;for(;o=o.parentNode;)if(r.statesByElement.get(o)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)r.markElementAsRemoved(this.id,e,!1,n);else{const s=e[Ot];(!s||s===Wy)&&(r.afterFlush(()=>this.clearElementCache(e)),r.destroyInnerAnimations(e),r._onRemovalComplete(e,n))}}insertNode(e,n){xt(e,this._hostClassName)}drainQueuedTransitions(e){const n=[];return this._queue.forEach(r=>{const i=r.player;if(i.destroyed)return;const s=r.element,o=this._elementListeners.get(s);o&&o.forEach(a=>{if(a.name==r.triggerName){const u=dc(s,r.triggerName,r.fromState.value,r.toState.value);u._data=e,lc(r.player,a.phase,u,a.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):n.push(r)}),this._queue=[],n.sort((r,i)=>{const s=r.transition.ast.depCount,o=i.transition.ast.depCount;return 0==s||0==o?s-o:this._engine.driver.containsElement(r.element,i.element)?1:-1})}destroy(e){this.players.forEach(n=>n.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}elementContainsData(e){let n=!1;return this._elementListeners.has(e)&&(n=!0),n=!!this._queue.find(r=>r.element===e)||n,n}}class KN{constructor(e,n,r){this.bodyNode=e,this.driver=n,this._normalizer=r,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(i,s)=>{}}_onRemovalComplete(e,n){this.onRemovalComplete(e,n)}get queuedPlayers(){const e=[];return this._namespaceList.forEach(n=>{n.players.forEach(r=>{r.queued&&e.push(r)})}),e}createNamespace(e,n){const r=new WN(e,n,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,n)?this._balanceNamespaceList(r,n):(this.newHostElements.set(n,r),this.collectEnterElement(n)),this._namespaceLookup[e]=r}_balanceNamespaceList(e,n){const r=this._namespaceList,i=this.namespacesByHostElement,s=r.length-1;if(s>=0){let o=!1;if(void 0!==this.driver.getParentElement){let a=this.driver.getParentElement(n);for(;a;){const u=i.get(a);if(u){const l=r.indexOf(u);r.splice(l+1,0,e),o=!0;break}a=this.driver.getParentElement(a)}}else for(let a=s;a>=0;a--)if(this.driver.containsElement(r[a].hostElement,n)){r.splice(a+1,0,e),o=!0;break}o||r.unshift(e)}else r.push(e);return i.set(n,e),e}register(e,n){let r=this._namespaceLookup[e];return r||(r=this.createNamespace(e,n)),r}registerTrigger(e,n,r){let i=this._namespaceLookup[e];i&&i.register(n,r)&&this.totalAnimations++}destroy(e,n){if(!e)return;const r=this._fetchNamespace(e);this.afterFlush(()=>{this.namespacesByHostElement.delete(r.hostElement),delete this._namespaceLookup[e];const i=this._namespaceList.indexOf(r);i>=0&&this._namespaceList.splice(i,1)}),this.afterFlushAnimationsDone(()=>r.destroy(n))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){const n=new Set,r=this.statesByElement.get(e);if(r){const i=Object.keys(r);for(let s=0;s<i.length;s++){const o=r[i[s]].namespaceId;if(o){const a=this._fetchNamespace(o);a&&n.add(a)}}}return n}trigger(e,n,r,i){if(Go(n)){const s=this._fetchNamespace(e);if(s)return s.trigger(n,r,i),!0}return!1}insertNode(e,n,r,i){if(!Go(n))return;const s=n[Ot];if(s&&s.setForRemoval){s.setForRemoval=!1,s.setForMove=!0;const o=this.collectedLeaveElements.indexOf(n);o>=0&&this.collectedLeaveElements.splice(o,1)}if(e){const o=this._fetchNamespace(e);o&&o.insertNode(n,r)}i&&this.collectEnterElement(n)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,n){n?this.disabledNodes.has(e)||(this.disabledNodes.add(e),xt(e,Ic)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Yr(e,Ic))}removeNode(e,n,r,i){if(Go(n)){const s=e?this._fetchNamespace(e):null;if(s?s.removeNode(n,i):this.markElementAsRemoved(e,n,!1,i),r){const o=this.namespacesByHostElement.get(n);o&&o.id!==e&&o.removeNode(n,i)}}else this._onRemovalComplete(n,i)}markElementAsRemoved(e,n,r,i,s){this.collectedLeaveElements.push(n),n[Ot]={namespaceId:e,setForRemoval:i,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:s}}listen(e,n,r,i,s){return Go(n)?this._fetchNamespace(e).listen(n,r,i,s):()=>{}}_buildInstruction(e,n,r,i,s){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,r,i,e.fromState.options,e.toState.options,n,s)}destroyInnerAnimations(e){let n=this.driver.query(e,Fo,!0);n.forEach(r=>this.destroyActiveAnimationsForElement(r)),0!=this.playersByQueriedElement.size&&(n=this.driver.query(e,mc,!0),n.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(e){const n=this.playersByElement.get(e);n&&n.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(e){const n=this.playersByQueriedElement.get(e);n&&n.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return On(this.players).onDone(()=>e());e()})}processLeaveNode(e){var n;const r=e[Ot];if(r&&r.setForRemoval){if(e[Ot]=Wy,r.namespaceId){this.destroyInnerAnimations(e);const i=this._fetchNamespace(r.namespaceId);i&&i.clearElementCache(e)}this._onRemovalComplete(e,r.setForRemoval)}(null===(n=e.classList)||void 0===n?void 0:n.contains(Ic))&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(e=-1){let n=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,i)=>this._balanceNamespaceList(r,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;r<this.collectedEnterElements.length;r++)xt(this.collectedEnterElements[r],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const r=[];try{n=this._flushAnimations(r,e)}finally{for(let i=0;i<r.length;i++)r[i]()}}else for(let r=0;r<this.collectedLeaveElements.length;r++)this.processLeaveNode(this.collectedLeaveElements[r]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(r=>r()),this._flushFns=[],this._whenQuietFns.length){const r=this._whenQuietFns;this._whenQuietFns=[],n.length?On(n).onDone(()=>{r.forEach(i=>i())}):r.forEach(i=>i())}}reportError(e){throw function YA(t){return new b(3402,W)}()}_flushAnimations(e,n){const r=new $o,i=[],s=new Map,o=[],a=new Map,u=new Map,l=new Map,c=new Set;this.disabledNodes.forEach(C=>{c.add(C);const T=this.driver.query(C,".ng-animate-queued",!0);for(let A=0;A<T.length;A++)c.add(T[A])});const d=this.bodyNode,f=Array.from(this.statesByElement.keys()),h=Zy(f,this.collectedEnterElements),p=new Map;let g=0;h.forEach((C,T)=>{const A=gc+g++;p.set(T,A),C.forEach(Y=>xt(Y,A))});const y=[],D=new Set,m=new Set;for(let C=0;C<this.collectedLeaveElements.length;C++){const T=this.collectedLeaveElements[C],A=T[Ot];A&&A.setForRemoval&&(y.push(T),D.add(T),A.hasAnimation?this.driver.query(T,".ng-star-inserted",!0).forEach(Y=>D.add(Y)):m.add(T))}const v=new Map,S=Zy(f,Array.from(D));S.forEach((C,T)=>{const A=No+g++;v.set(T,A),C.forEach(Y=>xt(Y,A))}),e.push(()=>{h.forEach((C,T)=>{const A=p.get(T);C.forEach(Y=>Yr(Y,A))}),S.forEach((C,T)=>{const A=v.get(T);C.forEach(Y=>Yr(Y,A))}),y.forEach(C=>{this.processLeaveNode(C)})});const V=[],ce=[];for(let C=this._namespaceList.length-1;C>=0;C--)this._namespaceList[C].drainQueuedTransitions(n).forEach(A=>{const Y=A.player,Ue=A.element;if(V.push(Y),this.collectedEnterElements.length){const st=Ue[Ot];if(st&&st.setForMove){if(st.previousTriggersValues&&st.previousTriggersValues.has(A.triggerName)){const tr=st.previousTriggersValues.get(A.triggerName),kn=this.statesByElement.get(A.element);kn&&kn[A.triggerName]&&(kn[A.triggerName].value=tr)}return void Y.destroy()}}const un=!d||!this.driver.containsElement(d,Ue),wt=v.get(Ue),Ln=p.get(Ue),De=this._buildInstruction(A,r,Ln,wt,un);if(De.errors&&De.errors.length)return void ce.push(De);if(un)return Y.onStart(()=>Jn(Ue,De.fromStyles)),Y.onDestroy(()=>an(Ue,De.toStyles)),void i.push(Y);if(A.isFallbackTransition)return Y.onStart(()=>Jn(Ue,De.fromStyles)),Y.onDestroy(()=>an(Ue,De.toStyles)),void i.push(Y);const u_=[];De.timelines.forEach(st=>{st.stretchStartingKeyframe=!0,this.disabledNodes.has(st.element)||u_.push(st)}),De.timelines=u_,r.append(Ue,De.timelines),o.push({instruction:De,player:Y,element:Ue}),De.queriedElements.forEach(st=>yt(a,st,[]).push(Y)),De.preStyleProps.forEach((st,tr)=>{const kn=Object.keys(st);if(kn.length){let nr=u.get(tr);nr||u.set(tr,nr=new Set),kn.forEach(Lc=>nr.add(Lc))}}),De.postStyleProps.forEach((st,tr)=>{const kn=Object.keys(st);let nr=l.get(tr);nr||l.set(tr,nr=new Set),kn.forEach(Lc=>nr.add(Lc))})});if(ce.length){const C=[];ce.forEach(T=>{C.push(function XA(t,e){return new b(3505,W)}())}),V.forEach(T=>T.destroy()),this.reportError(C)}const _e=new Map,Dt=new Map;o.forEach(C=>{const T=C.element;r.has(T)&&(Dt.set(T,T),this._beforeAnimationBuild(C.player.namespaceId,C.instruction,_e))}),i.forEach(C=>{const T=C.element;this._getPreviousPlayers(T,!1,C.namespaceId,C.triggerName,null).forEach(Y=>{yt(_e,T,[]).push(Y),Y.destroy()})});const vt=y.filter(C=>Xy(C,u,l)),Et=new Map;Qy(Et,this.driver,m,l,Dn).forEach(C=>{Xy(C,u,l)&&vt.push(C)});const vn=new Map;h.forEach((C,T)=>{Qy(vn,this.driver,new Set(C),u,"!")}),vt.forEach(C=>{const T=Et.get(C),A=vn.get(C);Et.set(C,Object.assign(Object.assign({},T),A))});const Qt=[],Jr=[],ei={};o.forEach(C=>{const{element:T,player:A,instruction:Y}=C;if(r.has(T)){if(c.has(T))return A.onDestroy(()=>an(T,Y.toStyles)),A.disabled=!0,A.overrideTotalTime(Y.totalTime),void i.push(A);let Ue=ei;if(Dt.size>1){let wt=T;const Ln=[];for(;wt=wt.parentNode;){const De=Dt.get(wt);if(De){Ue=De;break}Ln.push(wt)}Ln.forEach(De=>Dt.set(De,Ue))}const un=this._buildAnimation(A.namespaceId,Y,_e,s,vn,Et);if(A.setRealPlayer(un),Ue===ei)Qt.push(A);else{const wt=this.playersByElement.get(Ue);wt&&wt.length&&(A.parentPlayer=On(wt)),i.push(A)}}else Jn(T,Y.fromStyles),A.onDestroy(()=>an(T,Y.toStyles)),Jr.push(A),c.has(T)&&i.push(A)}),Jr.forEach(C=>{const T=s.get(C.element);if(T&&T.length){const A=On(T);C.setRealPlayer(A)}}),i.forEach(C=>{C.parentPlayer?C.syncPlayerEvents(C.parentPlayer):C.destroy()});for(let C=0;C<y.length;C++){const T=y[C],A=T[Ot];if(Yr(T,No),A&&A.hasAnimation)continue;let Y=[];if(a.size){let un=a.get(T);un&&un.length&&Y.push(...un);let wt=this.driver.query(T,mc,!0);for(let Ln=0;Ln<wt.length;Ln++){let De=a.get(wt[Ln]);De&&De.length&&Y.push(...De)}}const Ue=Y.filter(un=>!un.destroyed);Ue.length?XN(this,T,Ue):this.processLeaveNode(T)}return y.length=0,Qt.forEach(C=>{this.players.push(C),C.onDone(()=>{C.destroy();const T=this.players.indexOf(C);this.players.splice(T,1)}),C.play()}),Qt}elementContainsData(e,n){let r=!1;const i=n[Ot];return i&&i.setForRemoval&&(r=!0),this.playersByElement.has(n)&&(r=!0),this.playersByQueriedElement.has(n)&&(r=!0),this.statesByElement.has(n)&&(r=!0),this._fetchNamespace(e).elementContainsData(n)||r}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,n,r,i,s){let o=[];if(n){const a=this.playersByQueriedElement.get(e);a&&(o=a)}else{const a=this.playersByElement.get(e);if(a){const u=!s||s==Ji;a.forEach(l=>{l.queued||!u&&l.triggerName!=i||o.push(l)})}}return(r||i)&&(o=o.filter(a=>!(r&&r!=a.namespaceId||i&&i!=a.triggerName))),o}_beforeAnimationBuild(e,n,r){const s=n.element,o=n.isRemovalTransition?void 0:e,a=n.isRemovalTransition?void 0:n.triggerName;for(const u of n.timelines){const l=u.element,c=l!==s,d=yt(r,l,[]);this._getPreviousPlayers(l,c,o,a,n.toState).forEach(h=>{const p=h.getRealPlayer();p.beforeDestroy&&p.beforeDestroy(),h.destroy(),d.push(h)})}Jn(s,n.fromStyles)}_buildAnimation(e,n,r,i,s,o){const a=n.triggerName,u=n.element,l=[],c=new Set,d=new Set,f=n.timelines.map(p=>{const g=p.element;c.add(g);const y=g[Ot];if(y&&y.removedBeforeQueried)return new Yi(p.duration,p.delay);const D=g!==u,m=function JN(t){const e=[];return Yy(t,e),e}((r.get(g)||GN).map(_e=>_e.getRealPlayer())).filter(_e=>!!_e.element&&_e.element===g),v=s.get(g),S=o.get(g),V=by(0,this._normalizer,0,p.keyframes,v,S),ce=this._buildPlayer(p,V,m);if(p.subTimeline&&i&&d.add(g),D){const _e=new Nc(e,a,g);_e.setRealPlayer(ce),l.push(_e)}return ce});l.forEach(p=>{yt(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>function QN(t,e,n){let r;if(t instanceof Map){if(r=t.get(e),r){if(r.length){const i=r.indexOf(n);r.splice(i,1)}0==r.length&&t.delete(e)}}else if(r=t[e],r){if(r.length){const i=r.indexOf(n);r.splice(i,1)}0==r.length&&delete t[e]}return r}(this.playersByQueriedElement,p.element,p))}),c.forEach(p=>xt(p,Ry));const h=On(f);return h.onDestroy(()=>{c.forEach(p=>Yr(p,Ry)),an(u,n.toStyles)}),d.forEach(p=>{yt(i,p,[]).push(h)}),h}_buildPlayer(e,n,r){return n.length>0?this.driver.animate(e.element,n,e.duration,e.delay,e.easing,r):new Yi(e.duration,e.delay)}}class Nc{constructor(e,n,r){this.namespaceId=e,this.triggerName=n,this.element=r,this._player=new Yi,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach(n=>{this._queuedCallbacks[n].forEach(r=>lc(e,n,void 0,r))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){const n=this._player;n.triggerCallback&&e.onStart(()=>n.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,n){yt(this._queuedCallbacks,e,[]).push(n)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){const n=this._player;n.triggerCallback&&n.triggerCallback(e)}}function Go(t){return t&&1===t.nodeType}function Ky(t,e){const n=t.style.display;return t.style.display=null!=e?e:"none",n}function Qy(t,e,n,r,i){const s=[];n.forEach(u=>s.push(Ky(u)));const o=[];r.forEach((u,l)=>{const c={};u.forEach(d=>{const f=c[d]=e.computeStyle(l,d,i);(!f||0==f.length)&&(l[Ot]=qN,o.push(l))}),t.set(l,c)});let a=0;return n.forEach(u=>Ky(u,s[a++])),o}function Zy(t,e){const n=new Map;if(t.forEach(a=>n.set(a,[])),0==e.length)return n;const i=new Set(e),s=new Map;function o(a){if(!a)return 1;let u=s.get(a);if(u)return u;const l=a.parentNode;return u=n.has(l)?l:i.has(l)?1:o(l),s.set(a,u),u}return e.forEach(a=>{const u=o(a);1!==u&&n.get(u).push(a)}),n}function xt(t,e){var n;null===(n=t.classList)||void 0===n||n.add(e)}function Yr(t,e){var n;null===(n=t.classList)||void 0===n||n.remove(e)}function XN(t,e,n){On(n).onDone(()=>t.processLeaveNode(e))}function Yy(t,e){for(let n=0;n<t.length;n++){const r=t[n];r instanceof Ey?Yy(r.players,e):e.push(r)}}function Xy(t,e,n){const r=n.get(t);if(!r)return!1;let i=e.get(t);return i?r.forEach(s=>i.add(s)):e.set(t,r),n.delete(t),!0}class qo{constructor(e,n,r){this.bodyNode=e,this._driver=n,this._normalizer=r,this._triggerCache={},this.onRemovalComplete=(i,s)=>{},this._transitionEngine=new KN(e,n,r),this._timelineEngine=new VN(e,n,r),this._transitionEngine.onRemovalComplete=(i,s)=>this.onRemovalComplete(i,s)}registerTrigger(e,n,r,i,s){const o=e+"-"+i;let a=this._triggerCache[o];if(!a){const u=[],c=vc(this._driver,s,u,[]);if(u.length)throw function HA(t,e){return new b(3404,W)}();a=function LN(t,e,n){return new kN(t,e,n)}(i,c,this._normalizer),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(n,i,a)}register(e,n){this._transitionEngine.register(e,n)}destroy(e,n){this._transitionEngine.destroy(e,n)}onInsert(e,n,r,i){this._transitionEngine.insertNode(e,n,r,i)}onRemove(e,n,r,i){this._transitionEngine.removeNode(e,n,i||!1,r)}disableAnimations(e,n){this._transitionEngine.markElementAsDisabled(e,n)}process(e,n,r,i){if("@"==r.charAt(0)){const[s,o]=Cy(r);this._timelineEngine.command(s,n,o,i)}else this._transitionEngine.trigger(e,n,r,i)}listen(e,n,r,i,s){if("@"==r.charAt(0)){const[o,a]=Cy(r);return this._timelineEngine.listen(o,n,a,s)}return this._transitionEngine.listen(e,n,r,i,s)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let nP=(()=>{class t{constructor(n,r,i){this._element=n,this._startStyles=r,this._endStyles=i,this._state=0;let s=t.initialStylesByElement.get(n);s||t.initialStylesByElement.set(n,s={}),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&an(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(an(this._element,this._initialStyles),this._endStyles&&(an(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Jn(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Jn(this._element,this._endStyles),this._endStyles=null),an(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function Pc(t){let e=null;const n=Object.keys(t);for(let r=0;r<n.length;r++){const i=n[r];rP(i)&&(e=e||{},e[i]=t[i])}return e}function rP(t){return"display"===t||"position"===t}class Jy{constructor(e,n,r,i){this.element=e,this.keyframes=n,this.options=r,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(e,n,r){return e.animate(n,r)}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const e={};if(this.hasStarted()){const n=this._finalKeyframe;Object.keys(n).forEach(r=>{"offset"!=r&&(e[r]=this._finished?n[r]:jy(this.element,r))})}this.currentSnapshot=e}triggerCallback(e){const n="start"==e?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}}class iP{validateStyleProperty(e){return My(e)}matchesElement(e,n){return!1}containsElement(e,n){return Ay(e,n)}getParentElement(e){return hc(e)}query(e,n,r){return Ny(e,n,r)}computeStyle(e,n,r){return window.getComputedStyle(e)[n]}animate(e,n,r,i,s,o=[]){const u={duration:r,delay:i,fill:0==i?"both":"forwards"};s&&(u.easing=s);const l={},c=o.filter(f=>f instanceof Jy);(function uN(t,e){return 0===t||0===e})(r,i)&&c.forEach(f=>{let h=f.currentSnapshot;Object.keys(h).forEach(p=>l[p]=h[p])}),n=function lN(t,e,n){const r=Object.keys(n);if(r.length&&e.length){let s=e[0],o=[];if(r.forEach(a=>{s.hasOwnProperty(a)||o.push(a),s[a]=n[a]}),o.length)for(var i=1;i<e.length;i++){let a=e[i];o.forEach(function(u){a[u]=jy(t,u)})}}return e}(e,n=n.map(f=>xn(f,!1)),l);const d=function tP(t,e){let n=null,r=null;return Array.isArray(e)&&e.length?(n=Pc(e[0]),e.length>1&&(r=Pc(e[e.length-1]))):e&&(n=Pc(e)),n||r?new nP(t,n,r):null}(e,n);return new Jy(e,n,u,d)}}let sP=(()=>{class t extends yy{constructor(n,r){super(),this._nextAnimationId=0,this._renderer=n.createRenderer(r.body,{id:"0",encapsulation:jt.None,styles:[],data:{animation:[]}})}build(n){const r=this._nextAnimationId.toString();this._nextAnimationId++;const i=Array.isArray(n)?_y(n):n;return e_(this._renderer,null,r,"register",[i]),new oP(r,this._renderer)}}return t.\u0275fac=function(n){return new(n||t)(q(ji),q(Nt))},t.\u0275prov=ne({token:t,factory:t.\u0275fac}),t})();class oP extends class DA{}{constructor(e,n){super(),this._id=e,this._renderer=n}create(e,n){return new aP(this._id,e,n||{},this._renderer)}}class aP{constructor(e,n,r,i){this.id=e,this.element=n,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",r)}_listen(e,n){return this._renderer.listen(this.element,`@@${this.id}:${e}`,n)}_command(e,...n){return e_(this._renderer,this.element,this.id,e,n)}onDone(e){this._listen("done",e)}onStart(e){this._listen("start",e)}onDestroy(e){this._listen("destroy",e)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(e){this._command("setPosition",e)}getPosition(){var e,n;return null!==(n=null===(e=this._renderer.engine.players[+this.id])||void 0===e?void 0:e.getPosition())&&void 0!==n?n:0}}function e_(t,e,n,r,i){return t.setProperty(e,`@@${n}:${r}`,i)}const t_="@.disabled";let uP=(()=>{class t{constructor(n,r,i){this.delegate=n,this.engine=r,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),r.onRemovalComplete=(s,o)=>{const a=null==o?void 0:o.parentNode(s);a&&o.removeChild(a,s)}}createRenderer(n,r){const s=this.delegate.createRenderer(n,r);if(!(n&&r&&r.data&&r.data.animation)){let c=this._rendererCache.get(s);return c||(c=new n_("",s,this.engine),this._rendererCache.set(s,c)),c}const o=r.id,a=r.id+"-"+this._currentId;this._currentId++,this.engine.register(a,n);const u=c=>{Array.isArray(c)?c.forEach(u):this.engine.registerTrigger(o,a,n,c.name,c)};return r.data.animation.forEach(u),new lP(this,a,s,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(n,r,i){n>=0&&n<this._microtaskId?this._zone.run(()=>r(i)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(s=>{const[o,a]=s;o(a)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([r,i]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return t.\u0275fac=function(n){return new(n||t)(q(ji),q(qo),q(We))},t.\u0275prov=ne({token:t,factory:t.\u0275fac}),t})();class n_{constructor(e,n,r){this.namespaceId=e,this.delegate=n,this.engine=r,this.destroyNode=this.delegate.destroyNode?i=>n.destroyNode(i):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(e,n){return this.delegate.createElement(e,n)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,n){this.delegate.appendChild(e,n),this.engine.onInsert(this.namespaceId,n,e,!1)}insertBefore(e,n,r,i=!0){this.delegate.insertBefore(e,n,r),this.engine.onInsert(this.namespaceId,n,e,i)}removeChild(e,n,r){this.engine.onRemove(this.namespaceId,n,this.delegate,r)}selectRootElement(e,n){return this.delegate.selectRootElement(e,n)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,n,r,i){this.delegate.setAttribute(e,n,r,i)}removeAttribute(e,n,r){this.delegate.removeAttribute(e,n,r)}addClass(e,n){this.delegate.addClass(e,n)}removeClass(e,n){this.delegate.removeClass(e,n)}setStyle(e,n,r,i){this.delegate.setStyle(e,n,r,i)}removeStyle(e,n,r){this.delegate.removeStyle(e,n,r)}setProperty(e,n,r){"@"==n.charAt(0)&&n==t_?this.disableAnimations(e,!!r):this.delegate.setProperty(e,n,r)}setValue(e,n){this.delegate.setValue(e,n)}listen(e,n,r){return this.delegate.listen(e,n,r)}disableAnimations(e,n){this.engine.disableAnimations(e,n)}}class lP extends n_{constructor(e,n,r,i){super(n,r,i),this.factory=e,this.namespaceId=n}setProperty(e,n,r){"@"==n.charAt(0)?"."==n.charAt(1)&&n==t_?this.disableAnimations(e,r=void 0===r||!!r):this.engine.process(this.namespaceId,e,n.substr(1),r):this.delegate.setProperty(e,n,r)}listen(e,n,r){if("@"==n.charAt(0)){const i=function cP(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(e);let s=n.substr(1),o="";return"@"!=s.charAt(0)&&([s,o]=function dP(t){const e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(s)),this.engine.listen(this.namespaceId,i,s,o,a=>{this.factory.scheduleListenerCallback(a._data||-1,r,a)})}return this.delegate.listen(e,n,r)}}let fP=(()=>{class t extends qo{constructor(n,r,i){super(n.body,r,i)}ngOnDestroy(){this.flush()}}return t.\u0275fac=function(n){return new(n||t)(q(Nt),q(pc),q(Sc))},t.\u0275prov=ne({token:t,factory:t.\u0275fac}),t})();const r_=new Z("AnimationModuleType"),i_=[{provide:yy,useClass:sP},{provide:Sc,useFactory:function hP(){return new PN}},{provide:qo,useClass:fP},{provide:ji,useFactory:function pP(t,e,n){return new uP(t,e,n)},deps:[To,qo,We]}],s_=[{provide:pc,useFactory:()=>new iP},{provide:r_,useValue:"BrowserAnimations"},...i_],gP=[{provide:pc,useClass:Py},{provide:r_,useValue:"NoopAnimations"},...i_];let mP=(()=>{class t{static withConfig(n){return{ngModule:t,providers:n.disableAnimations?gP:s_}}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=ar({type:t}),t.\u0275inj=Bn({providers:s_,imports:[fy]}),t})();"function"==typeof SuppressedError&&SuppressedError;var VP=Ve(840);const HP=["mountPoint"];let $P=(()=>{class t{ngAfterViewInit(){return function o_(t,e,n,r){return new(n||(n=Promise))(function(s,o){function a(c){try{l(r.next(c))}catch(d){o(d)}}function u(c){try{l(r.throw(c))}catch(d){o(d)}}function l(c){c.done?s(c.value):function i(s){return s instanceof n?s:new n(function(o){o(s)})}(c.value).then(a,u)}l((r=r.apply(t,e||[])).next())})}(this,void 0,void 0,function*(){yield(0,VP.Z)({id:this.embedId,supersetDomain:this.supersetDomain,mountPoint:this.mountPointEl.nativeElement,fetchGuestToken:this.onFetchGuestToken,dashboardUiConfig:this.dashboardUiConfig,iframeSandboxExtras:this.iframeSandboxExtras,referrerPolicy:this.referrerPolicy})})}ngOnChanges(n){}ngOnDestroy(){}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=ca({type:t,selectors:[["drayman-superset-internal"]],viewQuery:function(n,r){if(1&n&&Gg(HP,5),2&n){let i;zg(i=function qg(){return function s0(t,e){return t[19].queries[e].queryList}(_(),_d())}())&&(r.mountPointEl=i.first)}},inputs:{supersetDomain:"supersetDomain",embedId:"embedId",guestToken:"guestToken",onFetchGuestToken:"onFetchGuestToken",dashboardUiConfig:"dashboardUiConfig",iframeSandboxExtras:"iframeSandboxExtras",referrerPolicy:"referrerPolicy"},features:[ui],decls:2,vars:0,consts:[[1,"superset-mount"],["mountPoint",""]],template:function(n,r){1&n&&Qu(0,"div",0,1)},styles:["[_nghost-%COMP%]{display:block;width:100%;height:100%;min-width:100%;min-height:100%} iframe{width:100%;height:100%;border:0;display:block}.superset-mount[_ngcontent-%COMP%]{width:100%;height:100%}"]}),t})(),UP=(()=>{class t{constructor(n){this.injector=n}ngDoBootstrap(){const n=function _A(t,e){const n=function dA(t,e){return e.get(zr).resolveComponentFactory(t).inputs}(t,e.injector),r=e.strategyFactory||new gA(t,e.injector),i=function cA(t){const e={};return t.forEach(({propName:n,templateName:r})=>{e[function sA(t){return t.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}(r)]=n}),e}(n);class s extends yA{constructor(a){super(),this.injector=a}get ngElementStrategy(){if(!this._ngElementStrategy){const a=this._ngElementStrategy=r.create(this.injector||e.injector);n.forEach(({propName:u})=>{if(!this.hasOwnProperty(u))return;const l=this[u];delete this[u],a.setInputValue(u,l)})}return this._ngElementStrategy}attributeChangedCallback(a,u,l,c){this.ngElementStrategy.setInputValue(i[a],l)}connectedCallback(){let a=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),a=!0),this.ngElementStrategy.connect(this),a||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(a=>{const u=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(u)})}}return s.observedAttributes=Object.keys(i),n.forEach(({propName:o})=>{Object.defineProperty(s.prototype,o,{get(){return this.ngElementStrategy.getInputValue(o)},set(a){this.ngElementStrategy.setInputValue(o,a)},configurable:!0,enumerable:!0})}),s}($P,{injector:this.injector});customElements.define("drayman-superset",n)}}return t.\u0275fac=function(n){return new(n||t)(q(Mt))},t.\u0275mod=ar({type:t}),t.\u0275inj=Bn({providers:[],imports:[[fy,mP]]}),t})();(function q0(){Cm=!1})(),NM().bootstrapModule(UP).catch(t=>console.error(t))})()})();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(()=>{"use strict";var ct={583:()=>{!function(e){const n=e.performance;function i(M){n&&n.mark&&n.mark(M)}function o(M,E){n&&n.measure&&n.measure(M,E)}i("Zone");const c=e.__Zone_symbol_prefix||"__zone_symbol__";function a(M){return c+M}const y=!0===e[a("forceDuplicateZoneCheck")];if(e.Zone){if(y||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let d=(()=>{class M{constructor(t,r){this._parent=t,this._name=r?r.name||"unnamed":"<root>",this._properties=r&&r.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,r)}static assertZonePatched(){if(e.Promise!==ce.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=M.current;for(;t.parent;)t=t.parent;return t}static get current(){return U.zone}static get currentTask(){return ie}static __load_patch(t,r,k=!1){if(ce.hasOwnProperty(t)){if(!k&&y)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const C="Zone:"+t;i(C),ce[t]=r(e,M,Y),o(C,C)}}get parent(){return this._parent}get name(){return this._name}get(t){const r=this.getZoneWith(t);if(r)return r._properties[t]}getZoneWith(t){let r=this;for(;r;){if(r._properties.hasOwnProperty(t))return r;r=r._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,r){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const k=this._zoneDelegate.intercept(this,t,r),C=this;return function(){return C.runGuarded(k,this,arguments,r)}}run(t,r,k,C){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,t,r,k,C)}finally{U=U.parent}}runGuarded(t,r=null,k,C){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,t,r,k,C)}catch(K){if(this._zoneDelegate.handleError(this,K))throw K}}finally{U=U.parent}}runTask(t,r,k){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||Q).name+"; Execution: "+this.name+")");if(t.state===x&&(t.type===te||t.type===w))return;const C=t.state!=p;C&&t._transitionTo(p,j),t.runCount++;const K=ie;ie=t,U={parent:U,zone:this};try{t.type==w&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,r,k)}catch(l){if(this._zoneDelegate.handleError(this,l))throw l}}finally{t.state!==x&&t.state!==h&&(t.type==te||t.data&&t.data.isPeriodic?C&&t._transitionTo(j,p):(t.runCount=0,this._updateTaskCount(t,-1),C&&t._transitionTo(x,p,x))),U=U.parent,ie=K}}scheduleTask(t){if(t.zone&&t.zone!==this){let k=this;for(;k;){if(k===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);k=k.parent}}t._transitionTo(z,x);const r=[];t._zoneDelegates=r,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(k){throw t._transitionTo(h,z,x),this._zoneDelegate.handleError(this,k),k}return t._zoneDelegates===r&&this._updateTaskCount(t,1),t.state==z&&t._transitionTo(j,z),t}scheduleMicroTask(t,r,k,C){return this.scheduleTask(new m(I,t,r,k,C,void 0))}scheduleMacroTask(t,r,k,C,K){return this.scheduleTask(new m(w,t,r,k,C,K))}scheduleEventTask(t,r,k,C,K){return this.scheduleTask(new m(te,t,r,k,C,K))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||Q).name+"; Execution: "+this.name+")");t._transitionTo(G,j,p);try{this._zoneDelegate.cancelTask(this,t)}catch(r){throw t._transitionTo(h,G),this._zoneDelegate.handleError(this,r),r}return this._updateTaskCount(t,-1),t._transitionTo(x,G),t.runCount=0,t}_updateTaskCount(t,r){const k=t._zoneDelegates;-1==r&&(t._zoneDelegates=null);for(let C=0;C<k.length;C++)k[C]._updateTaskCount(t.type,r)}}return M.__symbol__=a,M})();const P={name:"",onHasTask:(M,E,t,r)=>M.hasTask(t,r),onScheduleTask:(M,E,t,r)=>M.scheduleTask(t,r),onInvokeTask:(M,E,t,r,k,C)=>M.invokeTask(t,r,k,C),onCancelTask:(M,E,t,r)=>M.cancelTask(t,r)};class v{constructor(E,t,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=E,this._parentDelegate=t,this._forkZS=r&&(r&&r.onFork?r:t._forkZS),this._forkDlgt=r&&(r.onFork?t:t._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:t._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:t._interceptZS),this._interceptDlgt=r&&(r.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:t._invokeZS),this._invokeDlgt=r&&(r.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:t._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:t._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:t._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:t._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const k=r&&r.onHasTask;(k||t&&t._hasTaskZS)&&(this._hasTaskZS=k?r:P,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=E,r.onScheduleTask||(this._scheduleTaskZS=P,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=P,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=P,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(E,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,E,t):new d(E,t)}intercept(E,t,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,E,t,r):t}invoke(E,t,r,k,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,E,t,r,k,C):t.apply(r,k)}handleError(E,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,E,t)}scheduleTask(E,t){let r=t;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,E,t),r||(r=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=I)throw new Error("Task is missing scheduleFn.");R(t)}return r}invokeTask(E,t,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,E,t,r,k):t.callback.apply(r,k)}cancelTask(E,t){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,E,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");r=t.cancelFn(t)}return r}hasTask(E,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,E,t)}catch(r){this.handleError(E,r)}}_updateTaskCount(E,t){const r=this._taskCounts,k=r[E],C=r[E]=k+t;if(C<0)throw new Error("More tasks executed then were scheduled.");0!=k&&0!=C||this.hasTask(this.zone,{microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:E})}}class m{constructor(E,t,r,k,C,K){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=E,this.source=t,this.data=k,this.scheduleFn=C,this.cancelFn=K,!r)throw new Error("callback is not defined");this.callback=r;const l=this;this.invoke=E===te&&k&&k.useG?m.invokeTask:function(){return m.invokeTask.call(e,l,this,arguments)}}static invokeTask(E,t,r){E||(E=this),ne++;try{return E.runCount++,E.zone.runTask(E,t,r)}finally{1==ne&&_(),ne--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,z)}_transitionTo(E,t,r){if(this._state!==t&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${E}', expecting state '${t}'${r?" or '"+r+"'":""}, was '${this._state}'.`);this._state=E,E==x&&(this._zoneDelegates=null)}toString(){return this.data&&void 0!==this.data.handleId?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}}}const L=a("setTimeout"),Z=a("Promise"),N=a("then");let ee,B=[],H=!1;function X(M){if(ee||e[Z]&&(ee=e[Z].resolve(0)),ee){let E=ee[N];E||(E=ee.then),E.call(ee,M)}else e[L](M,0)}function R(M){0===ne&&0===B.length&&X(_),M&&B.push(M)}function _(){if(!H){for(H=!0;B.length;){const M=B;B=[];for(let E=0;E<M.length;E++){const t=M[E];try{t.zone.runTask(t,null,null)}catch(r){Y.onUnhandledError(r)}}}Y.microtaskDrainDone(),H=!1}}const Q={name:"NO ZONE"},x="notScheduled",z="scheduling",j="scheduled",p="running",G="canceling",h="unknown",I="microTask",w="macroTask",te="eventTask",ce={},Y={symbol:a,currentZoneFrame:()=>U,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!d[a("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:X};let U={parent:null,zone:new d(null,null)},ie=null,ne=0;function W(){}o("Zone","Zone"),e.Zone=d}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global);const q=Object.getOwnPropertyDescriptor,J=Object.defineProperty,re=Object.getPrototypeOf,at=Object.create,lt=Array.prototype.slice,De="addEventListener",Se="removeEventListener",Ze=Zone.__symbol__(De),Ne=Zone.__symbol__(Se),ue="true",fe="false",ke=Zone.__symbol__("");function Ie(e,n){return Zone.current.wrap(e,n)}function Me(e,n,i,o,c){return Zone.current.scheduleMacroTask(e,n,i,o,c)}const A=Zone.__symbol__,Pe="undefined"!=typeof window,ye=Pe?window:void 0,$=Pe&&ye||"object"==typeof self&&self||global;function Le(e,n){for(let i=e.length-1;i>=0;i--)"function"==typeof e[i]&&(e[i]=Ie(e[i],n+"_"+i));return e}function Fe(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}const Be="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,we=!("nw"in $)&&void 0!==$.process&&"[object process]"==={}.toString.call($.process),je=!we&&!Be&&!(!Pe||!ye.HTMLElement),Ue=void 0!==$.process&&"[object process]"==={}.toString.call($.process)&&!Be&&!(!Pe||!ye.HTMLElement),Re={},We=function(e){if(!(e=e||$.event))return;let n=Re[e.type];n||(n=Re[e.type]=A("ON_PROPERTY"+e.type));const i=this||e.target||$,o=i[n];let c;if(je&&i===ye&&"error"===e.type){const a=e;c=o&&o.call(this,a.message,a.filename,a.lineno,a.colno,a.error),!0===c&&e.preventDefault()}else c=o&&o.apply(this,arguments),null!=c&&!c&&e.preventDefault();return c};function qe(e,n,i){let o=q(e,n);if(!o&&i&&q(i,n)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const c=A("on"+n+"patched");if(e.hasOwnProperty(c)&&e[c])return;delete o.writable,delete o.value;const a=o.get,y=o.set,d=n.slice(2);let P=Re[d];P||(P=Re[d]=A("ON_PROPERTY"+d)),o.set=function(v){let m=this;!m&&e===$&&(m=$),m&&("function"==typeof m[P]&&m.removeEventListener(d,We),y&&y.call(m,null),m[P]=v,"function"==typeof v&&m.addEventListener(d,We,!1))},o.get=function(){let v=this;if(!v&&e===$&&(v=$),!v)return null;const m=v[P];if(m)return m;if(a){let L=a.call(this);if(L)return o.set.call(this,L),"function"==typeof v.removeAttribute&&v.removeAttribute(n),L}return null},J(e,n,o),e[c]=!0}function Xe(e,n,i){if(n)for(let o=0;o<n.length;o++)qe(e,"on"+n[o],i);else{const o=[];for(const c in e)"on"==c.slice(0,2)&&o.push(c);for(let c=0;c<o.length;c++)qe(e,o[c],i)}}const se=A("originalInstance");function ve(e){const n=$[e];if(!n)return;$[A(e)]=n,$[e]=function(){const c=Le(arguments,e);switch(c.length){case 0:this[se]=new n;break;case 1:this[se]=new n(c[0]);break;case 2:this[se]=new n(c[0],c[1]);break;case 3:this[se]=new n(c[0],c[1],c[2]);break;case 4:this[se]=new n(c[0],c[1],c[2],c[3]);break;default:throw new Error("Arg list too long.")}},de($[e],n);const i=new n(function(){});let o;for(o in i)"XMLHttpRequest"===e&&"responseBlob"===o||function(c){"function"==typeof i[c]?$[e].prototype[c]=function(){return this[se][c].apply(this[se],arguments)}:J($[e].prototype,c,{set:function(a){"function"==typeof a?(this[se][c]=Ie(a,e+"."+c),de(this[se][c],a)):this[se][c]=a},get:function(){return this[se][c]}})}(o);for(o in n)"prototype"!==o&&n.hasOwnProperty(o)&&($[e][o]=n[o])}function he(e,n,i){let o=e;for(;o&&!o.hasOwnProperty(n);)o=re(o);!o&&e[n]&&(o=e);const c=A(n);let a=null;if(o&&(!(a=o[c])||!o.hasOwnProperty(c))&&(a=o[c]=o[n],Fe(o&&q(o,n)))){const d=i(a,c,n);o[n]=function(){return d(this,arguments)},de(o[n],a)}return a}function ht(e,n,i){let o=null;function c(a){const y=a.data;return y.args[y.cbIdx]=function(){a.invoke.apply(this,arguments)},o.apply(y.target,y.args),a}o=he(e,n,a=>function(y,d){const P=i(y,d);return P.cbIdx>=0&&"function"==typeof d[P.cbIdx]?Me(P.name,d[P.cbIdx],P,c):a.apply(y,d)})}function de(e,n){e[A("OriginalDelegate")]=n}let ze=!1,Ae=!1;function _t(){if(ze)return Ae;ze=!0;try{const e=ye.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(Ae=!0)}catch(e){}return Ae}Zone.__load_patch("ZoneAwarePromise",(e,n,i)=>{const o=Object.getOwnPropertyDescriptor,c=Object.defineProperty,y=i.symbol,d=[],P=!0===e[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=y("Promise"),m=y("then");i.onUnhandledError=l=>{if(i.showUncaughtError()){const u=l&&l.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",l.zone.name,"; Task:",l.task&&l.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(l)}},i.microtaskDrainDone=()=>{for(;d.length;){const l=d.shift();try{l.zone.runGuarded(()=>{throw l.throwOriginal?l.rejection:l})}catch(u){N(u)}}};const Z=y("unhandledPromiseRejectionHandler");function N(l){i.onUnhandledError(l);try{const u=n[Z];"function"==typeof u&&u.call(this,l)}catch(u){}}function B(l){return l&&l.then}function H(l){return l}function ee(l){return t.reject(l)}const X=y("state"),R=y("value"),_=y("finally"),Q=y("parentPromiseValue"),x=y("parentPromiseState"),j=null,p=!0,G=!1;function I(l,u){return s=>{try{Y(l,u,s)}catch(f){Y(l,!1,f)}}}const w=function(){let l=!1;return function(s){return function(){l||(l=!0,s.apply(null,arguments))}}},ce=y("currentTaskTrace");function Y(l,u,s){const f=w();if(l===s)throw new TypeError("Promise resolved with itself");if(l[X]===j){let g=null;try{("object"==typeof s||"function"==typeof s)&&(g=s&&s.then)}catch(b){return f(()=>{Y(l,!1,b)})(),l}if(u!==G&&s instanceof t&&s.hasOwnProperty(X)&&s.hasOwnProperty(R)&&s[X]!==j)ie(s),Y(l,s[X],s[R]);else if(u!==G&&"function"==typeof g)try{g.call(s,f(I(l,u)),f(I(l,!1)))}catch(b){f(()=>{Y(l,!1,b)})()}else{l[X]=u;const b=l[R];if(l[R]=s,l[_]===_&&u===p&&(l[X]=l[x],l[R]=l[Q]),u===G&&s instanceof Error){const T=n.currentTask&&n.currentTask.data&&n.currentTask.data.__creationTrace__;T&&c(s,ce,{configurable:!0,enumerable:!1,writable:!0,value:T})}for(let T=0;T<b.length;)ne(l,b[T++],b[T++],b[T++],b[T++]);if(0==b.length&&u==G){l[X]=0;let T=s;try{throw new Error("Uncaught (in promise): "+function a(l){return l&&l.toString===Object.prototype.toString?(l.constructor&&l.constructor.name||"")+": "+JSON.stringify(l):l?l.toString():Object.prototype.toString.call(l)}(s)+(s&&s.stack?"\n"+s.stack:""))}catch(O){T=O}P&&(T.throwOriginal=!0),T.rejection=s,T.promise=l,T.zone=n.current,T.task=n.currentTask,d.push(T),i.scheduleMicroTask()}}}return l}const U=y("rejectionHandledHandler");function ie(l){if(0===l[X]){try{const u=n[U];u&&"function"==typeof u&&u.call(this,{rejection:l[R],promise:l})}catch(u){}l[X]=G;for(let u=0;u<d.length;u++)l===d[u].promise&&d.splice(u,1)}}function ne(l,u,s,f,g){ie(l);const b=l[X],T=b?"function"==typeof f?f:H:"function"==typeof g?g:ee;u.scheduleMicroTask("Promise.then",()=>{try{const O=l[R],D=!!s&&_===s[_];D&&(s[Q]=O,s[x]=b);const S=u.run(T,void 0,D&&T!==ee&&T!==H?[]:[O]);Y(s,!0,S)}catch(O){Y(s,!1,O)}},s)}const M=function(){},E=e.AggregateError;class t{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(u){return Y(new this(null),p,u)}static reject(u){return Y(new this(null),G,u)}static any(u){if(!u||"function"!=typeof u[Symbol.iterator])return Promise.reject(new E([],"All promises were rejected"));const s=[];let f=0;try{for(let T of u)f++,s.push(t.resolve(T))}catch(T){return Promise.reject(new E([],"All promises were rejected"))}if(0===f)return Promise.reject(new E([],"All promises were rejected"));let g=!1;const b=[];return new t((T,O)=>{for(let D=0;D<s.length;D++)s[D].then(S=>{g||(g=!0,T(S))},S=>{b.push(S),f--,0===f&&(g=!0,O(new E(b,"All promises were rejected")))})})}static race(u){let s,f,g=new this((O,D)=>{s=O,f=D});function b(O){s(O)}function T(O){f(O)}for(let O of u)B(O)||(O=this.resolve(O)),O.then(b,T);return g}static all(u){return t.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof t?this:t).allWithCallback(u,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(u,s){let f,g,b=new this((S,V)=>{f=S,g=V}),T=2,O=0;const D=[];for(let S of u){B(S)||(S=this.resolve(S));const V=O;try{S.then(F=>{D[V]=s?s.thenCallback(F):F,T--,0===T&&f(D)},F=>{s?(D[V]=s.errorCallback(F),T--,0===T&&f(D)):g(F)})}catch(F){g(F)}T++,O++}return T-=2,0===T&&f(D),b}constructor(u){const s=this;if(!(s instanceof t))throw new Error("Must be an instanceof Promise.");s[X]=j,s[R]=[];try{const f=w();u&&u(f(I(s,p)),f(I(s,G)))}catch(f){Y(s,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(u,s){var f;let g=null===(f=this.constructor)||void 0===f?void 0:f[Symbol.species];(!g||"function"!=typeof g)&&(g=this.constructor||t);const b=new g(M),T=n.current;return this[X]==j?this[R].push(T,b,u,s):ne(this,T,b,u,s),b}catch(u){return this.then(null,u)}finally(u){var s;let f=null===(s=this.constructor)||void 0===s?void 0:s[Symbol.species];(!f||"function"!=typeof f)&&(f=t);const g=new f(M);g[_]=_;const b=n.current;return this[X]==j?this[R].push(b,g,u,u):ne(this,b,g,u,u),g}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;const r=e[v]=e.Promise;e.Promise=t;const k=y("thenPatched");function C(l){const u=l.prototype,s=o(u,"then");if(s&&(!1===s.writable||!s.configurable))return;const f=u.then;u[m]=f,l.prototype.then=function(g,b){return new t((O,D)=>{f.call(this,O,D)}).then(g,b)},l[k]=!0}return i.patchThen=C,r&&(C(r),he(e,"fetch",l=>function K(l){return function(u,s){let f=l.apply(u,s);if(f instanceof t)return f;let g=f.constructor;return g[k]||C(g),f}}(l))),Promise[n.__symbol__("uncaughtPromiseErrors")]=d,t}),Zone.__load_patch("toString",e=>{const n=Function.prototype.toString,i=A("OriginalDelegate"),o=A("Promise"),c=A("Error"),a=function(){if("function"==typeof this){const v=this[i];if(v)return"function"==typeof v?n.call(v):Object.prototype.toString.call(v);if(this===Promise){const m=e[o];if(m)return n.call(m)}if(this===Error){const m=e[c];if(m)return n.call(m)}}return n.call(this)};a[i]=n,Function.prototype.toString=a;const y=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":y.call(this)}});let pe=!1;if("undefined"!=typeof window)try{const e=Object.defineProperty({},"passive",{get:function(){pe=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(e){pe=!1}const Et={useG:!0},oe={},Ye={},$e=new RegExp("^"+ke+"(\\w+)(true|false)$"),Ke=A("propagationStopped");function Je(e,n){const i=(n?n(e):e)+fe,o=(n?n(e):e)+ue,c=ke+i,a=ke+o;oe[e]={},oe[e][fe]=c,oe[e][ue]=a}function Tt(e,n,i,o){const c=o&&o.add||De,a=o&&o.rm||Se,y=o&&o.listeners||"eventListeners",d=o&&o.rmAll||"removeAllListeners",P=A(c),v="."+c+":",Z=function(R,_,Q){if(R.isRemoved)return;const x=R.callback;let z;"object"==typeof x&&x.handleEvent&&(R.callback=p=>x.handleEvent(p),R.originalDelegate=x);try{R.invoke(R,_,[Q])}catch(p){z=p}const j=R.options;return j&&"object"==typeof j&&j.once&&_[a].call(_,Q.type,R.originalDelegate?R.originalDelegate:R.callback,j),z};function N(R,_,Q){if(!(_=_||e.event))return;const x=R||_.target||e,z=x[oe[_.type][Q?ue:fe]];if(z){const j=[];if(1===z.length){const p=Z(z[0],x,_);p&&j.push(p)}else{const p=z.slice();for(let G=0;G<p.length&&(!_||!0!==_[Ke]);G++){const h=Z(p[G],x,_);h&&j.push(h)}}if(1===j.length)throw j[0];for(let p=0;p<j.length;p++){const G=j[p];n.nativeScheduleMicroTask(()=>{throw G})}}}const B=function(R){return N(this,R,!1)},H=function(R){return N(this,R,!0)};function ee(R,_){if(!R)return!1;let Q=!0;_&&void 0!==_.useG&&(Q=_.useG);const x=_&&_.vh;let z=!0;_&&void 0!==_.chkDup&&(z=_.chkDup);let j=!1;_&&void 0!==_.rt&&(j=_.rt);let p=R;for(;p&&!p.hasOwnProperty(c);)p=re(p);if(!p&&R[c]&&(p=R),!p||p[P])return!1;const G=_&&_.eventNameToString,h={},I=p[P]=p[c],w=p[A(a)]=p[a],te=p[A(y)]=p[y],ce=p[A(d)]=p[d];let Y;function U(s,f){return!pe&&"object"==typeof s&&s?!!s.capture:pe&&f?"boolean"==typeof s?{capture:s,passive:!0}:s?"object"==typeof s&&!1!==s.passive?Object.assign(Object.assign({},s),{passive:!0}):s:{passive:!0}:s}_&&_.prepend&&(Y=p[A(_.prepend)]=p[_.prepend]);const t=Q?function(s){if(!h.isExisting)return I.call(h.target,h.eventName,h.capture?H:B,h.options)}:function(s){return I.call(h.target,h.eventName,s.invoke,h.options)},r=Q?function(s){if(!s.isRemoved){const f=oe[s.eventName];let g;f&&(g=f[s.capture?ue:fe]);const b=g&&s.target[g];if(b)for(let T=0;T<b.length;T++)if(b[T]===s){b.splice(T,1),s.isRemoved=!0,0===b.length&&(s.allRemoved=!0,s.target[g]=null);break}}if(s.allRemoved)return w.call(s.target,s.eventName,s.capture?H:B,s.options)}:function(s){return w.call(s.target,s.eventName,s.invoke,s.options)},C=_&&_.diff?_.diff:function(s,f){const g=typeof f;return"function"===g&&s.callback===f||"object"===g&&s.originalDelegate===f},K=Zone[A("UNPATCHED_EVENTS")],l=e[A("PASSIVE_EVENTS")],u=function(s,f,g,b,T=!1,O=!1){return function(){const D=this||e;let S=arguments[0];_&&_.transferEventName&&(S=_.transferEventName(S));let V=arguments[1];if(!V)return s.apply(this,arguments);if(we&&"uncaughtException"===S)return s.apply(this,arguments);let F=!1;if("function"!=typeof V){if(!V.handleEvent)return s.apply(this,arguments);F=!0}if(x&&!x(s,V,D,arguments))return;const _e=pe&&!!l&&-1!==l.indexOf(S),ae=U(arguments[2],_e);if(K)for(let Te=0;Te<K.length;Te++)if(S===K[Te])return _e?s.call(D,S,V,ae):s.apply(this,arguments);const xe=!!ae&&("boolean"==typeof ae||ae.capture),nt=!(!ae||"object"!=typeof ae)&&ae.once,bt=Zone.current;let Ge=oe[S];Ge||(Je(S,G),Ge=oe[S]);const rt=Ge[xe?ue:fe];let Oe,ge=D[rt],ot=!1;if(ge){if(ot=!0,z)for(let Te=0;Te<ge.length;Te++)if(C(ge[Te],V))return}else ge=D[rt]=[];const st=D.constructor.name,it=Ye[st];it&&(Oe=it[S]),Oe||(Oe=st+f+(G?G(S):S)),h.options=ae,nt&&(h.options.once=!1),h.target=D,h.capture=xe,h.eventName=S,h.isExisting=ot;const be=Q?Et:void 0;be&&(be.taskData=h);const Ee=bt.scheduleEventTask(Oe,V,be,g,b);return h.target=null,be&&(be.taskData=null),nt&&(ae.once=!0),!pe&&"boolean"==typeof Ee.options||(Ee.options=ae),Ee.target=D,Ee.capture=xe,Ee.eventName=S,F&&(Ee.originalDelegate=V),O?ge.unshift(Ee):ge.push(Ee),T?D:void 0}};return p[c]=u(I,v,t,r,j),Y&&(p.prependListener=u(Y,".prependListener:",function(s){return Y.call(h.target,h.eventName,s.invoke,h.options)},r,j,!0)),p[a]=function(){const s=this||e;let f=arguments[0];_&&_.transferEventName&&(f=_.transferEventName(f));const g=arguments[2],b=!!g&&("boolean"==typeof g||g.capture),T=arguments[1];if(!T)return w.apply(this,arguments);if(x&&!x(w,T,s,arguments))return;const O=oe[f];let D;O&&(D=O[b?ue:fe]);const S=D&&s[D];if(S)for(let V=0;V<S.length;V++){const F=S[V];if(C(F,T))return S.splice(V,1),F.isRemoved=!0,0===S.length&&(F.allRemoved=!0,s[D]=null,"string"==typeof f)&&(s[ke+"ON_PROPERTY"+f]=null),F.zone.cancelTask(F),j?s:void 0}return w.apply(this,arguments)},p[y]=function(){const s=this||e;let f=arguments[0];_&&_.transferEventName&&(f=_.transferEventName(f));const g=[],b=Qe(s,G?G(f):f);for(let T=0;T<b.length;T++){const O=b[T];g.push(O.originalDelegate?O.originalDelegate:O.callback)}return g},p[d]=function(){const s=this||e;let f=arguments[0];if(f){_&&_.transferEventName&&(f=_.transferEventName(f));const g=oe[f];if(g){const O=s[g[fe]],D=s[g[ue]];if(O){const S=O.slice();for(let V=0;V<S.length;V++){const F=S[V];this[a].call(this,f,F.originalDelegate?F.originalDelegate:F.callback,F.options)}}if(D){const S=D.slice();for(let V=0;V<S.length;V++){const F=S[V];this[a].call(this,f,F.originalDelegate?F.originalDelegate:F.callback,F.options)}}}}else{const g=Object.keys(s);for(let b=0;b<g.length;b++){const O=$e.exec(g[b]);let D=O&&O[1];D&&"removeListener"!==D&&this[d].call(this,D)}this[d].call(this,"removeListener")}if(j)return this},de(p[c],I),de(p[a],w),ce&&de(p[d],ce),te&&de(p[y],te),!0}let X=[];for(let R=0;R<i.length;R++)X[R]=ee(i[R],o);return X}function Qe(e,n){if(!n){const a=[];for(let y in e){const d=$e.exec(y);let P=d&&d[1];if(P&&(!n||P===n)){const v=e[y];if(v)for(let m=0;m<v.length;m++)a.push(v[m])}}return a}let i=oe[n];i||(Je(n),i=oe[n]);const o=e[i[fe]],c=e[i[ue]];return o?c?o.concat(c):o.slice():c?c.slice():[]}function yt(e,n){const i=e.Event;i&&i.prototype&&n.patchMethod(i.prototype,"stopImmediatePropagation",o=>function(c,a){c[Ke]=!0,o&&o.apply(c,a)})}function pt(e,n,i,o,c){const a=Zone.__symbol__(o);if(n[a])return;const y=n[a]=n[o];n[o]=function(d,P,v){return P&&P.prototype&&c.forEach(function(m){const L=`${i}.${o}::`+m,Z=P.prototype;try{if(Z.hasOwnProperty(m)){const N=e.ObjectGetOwnPropertyDescriptor(Z,m);N&&N.value?(N.value=e.wrapWithCurrentZone(N.value,L),e._redefineProperty(P.prototype,m,N)):Z[m]&&(Z[m]=e.wrapWithCurrentZone(Z[m],L))}else Z[m]&&(Z[m]=e.wrapWithCurrentZone(Z[m],L))}catch(N){}}),y.call(n,d,P,v)},e.attachOriginToPatched(n[o],y)}function et(e,n,i){if(!i||0===i.length)return n;const o=i.filter(a=>a.target===e);if(!o||0===o.length)return n;const c=o[0].ignoreProperties;return n.filter(a=>-1===c.indexOf(a))}function tt(e,n,i,o){e&&Xe(e,et(e,n,i),o)}function He(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(e,n,i)=>{const o=He(e);i.patchOnProperties=Xe,i.patchMethod=he,i.bindArguments=Le,i.patchMacroTask=ht;const c=n.__symbol__("BLACK_LISTED_EVENTS"),a=n.__symbol__("UNPATCHED_EVENTS");e[a]&&(e[c]=e[a]),e[c]&&(n[c]=n[a]=e[c]),i.patchEventPrototype=yt,i.patchEventTarget=Tt,i.isIEOrEdge=_t,i.ObjectDefineProperty=J,i.ObjectGetOwnPropertyDescriptor=q,i.ObjectCreate=at,i.ArraySlice=lt,i.patchClass=ve,i.wrapWithCurrentZone=Ie,i.filterProperties=et,i.attachOriginToPatched=de,i._redefineProperty=Object.defineProperty,i.patchCallbacks=pt,i.getGlobalObjects=()=>({globalSources:Ye,zoneSymbolEventNames:oe,eventNames:o,isBrowser:je,isMix:Ue,isNode:we,TRUE_STR:ue,FALSE_STR:fe,ZONE_SYMBOL_PREFIX:ke,ADD_EVENT_LISTENER_STR:De,REMOVE_EVENT_LISTENER_STR:Se})});const Ce=A("zoneTask");function me(e,n,i,o){let c=null,a=null;i+=o;const y={};function d(v){const m=v.data;return m.args[0]=function(){return v.invoke.apply(this,arguments)},m.handleId=c.apply(e,m.args),v}function P(v){return a.call(e,v.data.handleId)}c=he(e,n+=o,v=>function(m,L){if("function"==typeof L[0]){const Z={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?L[1]||0:void 0,args:L},N=L[0];L[0]=function(){try{return N.apply(this,arguments)}finally{Z.isPeriodic||("number"==typeof Z.handleId?delete y[Z.handleId]:Z.handleId&&(Z.handleId[Ce]=null))}};const B=Me(n,L[0],Z,d,P);if(!B)return B;const H=B.data.handleId;return"number"==typeof H?y[H]=B:H&&(H[Ce]=B),H&&H.ref&&H.unref&&"function"==typeof H.ref&&"function"==typeof H.unref&&(B.ref=H.ref.bind(H),B.unref=H.unref.bind(H)),"number"==typeof H||H?H:B}return v.apply(e,L)}),a=he(e,i,v=>function(m,L){const Z=L[0];let N;"number"==typeof Z?N=y[Z]:(N=Z&&Z[Ce],N||(N=Z)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof Z?delete y[Z]:Z&&(Z[Ce]=null),N.zone.cancelTask(N)):v.apply(e,L)})}Zone.__load_patch("legacy",e=>{const n=e[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("queueMicrotask",(e,n,i)=>{i.patchMethod(e,"queueMicrotask",o=>function(c,a){n.current.scheduleMicroTask("queueMicrotask",a[0])})}),Zone.__load_patch("timers",e=>{const n="set",i="clear";me(e,n,i,"Timeout"),me(e,n,i,"Interval"),me(e,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{me(e,"request","cancel","AnimationFrame"),me(e,"mozRequest","mozCancel","AnimationFrame"),me(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,n)=>{const i=["alert","prompt","confirm"];for(let o=0;o<i.length;o++)he(e,i[o],(a,y,d)=>function(P,v){return n.current.run(a,e,v,d)})}),Zone.__load_patch("EventTarget",(e,n,i)=>{(function vt(e,n){n.patchEventPrototype(e,n)})(e,i),function kt(e,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:o,TRUE_STR:c,FALSE_STR:a,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let P=0;P<i.length;P++){const v=i[P],Z=y+(v+a),N=y+(v+c);o[v]={},o[v][a]=Z,o[v][c]=N}const d=e.EventTarget;d&&d.prototype&&n.patchEventTarget(e,n,[d&&d.prototype])}(e,i);const o=e.XMLHttpRequestEventTarget;o&&o.prototype&&i.patchEventTarget(e,i,[o.prototype])}),Zone.__load_patch("MutationObserver",(e,n,i)=>{ve("MutationObserver"),ve("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,n,i)=>{ve("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,n,i)=>{ve("FileReader")}),Zone.__load_patch("on_property",(e,n,i)=>{!function mt(e,n){if(we&&!Ue||Zone[e.symbol("patchEvents")])return;const i=n.__Zone_ignore_on_properties;let o=[];if(je){const c=window;o=o.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const a=function dt(){try{const e=ye.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch(e){}return!1}()?[{target:c,ignoreProperties:["error"]}]:[];tt(c,He(c),i&&i.concat(a),re(c))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c<o.length;c++){const a=n[o[c]];a&&a.prototype&&tt(a.prototype,He(a.prototype),i)}}(i,e)}),Zone.__load_patch("customElements",(e,n,i)=>{!function gt(e,n){const{isBrowser:i,isMix:o}=n.getGlobalObjects();(i||o)&&e.customElements&&"customElements"in e&&n.patchCallbacks(n,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,i)}),Zone.__load_patch("XHR",(e,n)=>{!function P(v){const m=v.XMLHttpRequest;if(!m)return;const L=m.prototype;let N=L[Ze],B=L[Ne];if(!N){const h=v.XMLHttpRequestEventTarget;if(h){const I=h.prototype;N=I[Ze],B=I[Ne]}}const H="readystatechange",ee="scheduled";function X(h){const I=h.data,w=I.target;w[a]=!1,w[d]=!1;const te=w[c];N||(N=w[Ze],B=w[Ne]),te&&B.call(w,H,te);const ce=w[c]=()=>{if(w.readyState===w.DONE)if(!I.aborted&&w[a]&&h.state===ee){const U=w[n.__symbol__("loadfalse")];if(0!==w.status&&U&&U.length>0){const ie=h.invoke;h.invoke=function(){const ne=w[n.__symbol__("loadfalse")];for(let W=0;W<ne.length;W++)ne[W]===h&&ne.splice(W,1);!I.aborted&&h.state===ee&&ie.call(h)},U.push(h)}else h.invoke()}else!I.aborted&&!1===w[a]&&(w[d]=!0)};return N.call(w,H,ce),w[i]||(w[i]=h),p.apply(w,I.args),w[a]=!0,h}function R(){}function _(h){const I=h.data;return I.aborted=!0,G.apply(I.target,I.args)}const Q=he(L,"open",()=>function(h,I){return h[o]=0==I[2],h[y]=I[1],Q.apply(h,I)}),z=A("fetchTaskAborting"),j=A("fetchTaskScheduling"),p=he(L,"send",()=>function(h,I){if(!0===n.current[j]||h[o])return p.apply(h,I);{const w={target:h,url:h[y],isPeriodic:!1,args:I,aborted:!1},te=Me("XMLHttpRequest.send",R,w,X,_);h&&!0===h[d]&&!w.aborted&&te.state===ee&&te.invoke()}}),G=he(L,"abort",()=>function(h,I){const w=function Z(h){return h[i]}(h);if(w&&"string"==typeof w.type){if(null==w.cancelFn||w.data&&w.data.aborted)return;w.zone.cancelTask(w)}else if(!0===n.current[z])return G.apply(h,I)})}(e);const i=A("xhrTask"),o=A("xhrSync"),c=A("xhrListener"),a=A("xhrScheduled"),y=A("xhrURL"),d=A("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function ft(e,n){const i=e.constructor.name;for(let o=0;o<n.length;o++){const c=n[o],a=e[c];if(a){if(!Fe(q(e,c)))continue;e[c]=(d=>{const P=function(){return d.apply(this,Le(arguments,i+"."+c))};return de(P,d),P})(a)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function i(o){return function(c){Qe(e,o).forEach(y=>{const d=e.PromiseRejectionEvent;if(d){const P=new d(o,{promise:c.promise,reason:c.rejection});y.invoke(P)}})}}e.PromiseRejectionEvent&&(n[A("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[A("rejectionHandledHandler")]=i("rejectionhandled"))})}},Ve={};function le(q){var J=Ve[q];if(void 0!==J)return J.exports;var re=Ve[q]={exports:{}};return ct[q](re,re.exports,le),re.exports}le.n=q=>{var J=q&&q.__esModule?()=>q.default:()=>q;return le.d(J,{a:J}),J},le.d=(q,J)=>{for(var re in J)le.o(J,re)&&!le.o(q,re)&&Object.defineProperty(q,re,{enumerable:!0,get:J[re]})},le.o=(q,J)=>Object.prototype.hasOwnProperty.call(q,J),le(583)})();
|
|
File without changes
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export interface DraymanSuperset {
|
|
2
|
+
/**
|
|
3
|
+
* Superset instance URL, including protocol.
|
|
4
|
+
*/
|
|
5
|
+
supersetDomain: string;
|
|
6
|
+
/**
|
|
7
|
+
* Embed identifier generated by the Superset embedding UI.
|
|
8
|
+
*/
|
|
9
|
+
embedId: string;
|
|
10
|
+
/**
|
|
11
|
+
* Called by the element when Superset needs a guest token.
|
|
12
|
+
*/
|
|
13
|
+
onFetchGuestToken: ElementEvent<{}>;
|
|
14
|
+
/**
|
|
15
|
+
* Dashboard UI configuration passed to the Superset Embedded SDK.
|
|
16
|
+
*/
|
|
17
|
+
dashboardUiConfig?: {
|
|
18
|
+
hideTitle?: boolean;
|
|
19
|
+
hideTab?: boolean;
|
|
20
|
+
hideChartControls?: boolean;
|
|
21
|
+
filters?: {
|
|
22
|
+
[key: string]: boolean | undefined;
|
|
23
|
+
visible?: boolean;
|
|
24
|
+
expanded?: boolean;
|
|
25
|
+
};
|
|
26
|
+
urlParams?: {
|
|
27
|
+
[key: string]: string | number | boolean;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Additional iframe sandbox permissions.
|
|
32
|
+
*/
|
|
33
|
+
iframeSandboxExtras?: string[];
|
|
34
|
+
/**
|
|
35
|
+
* Referrer policy applied to the embedded iframe request.
|
|
36
|
+
*/
|
|
37
|
+
referrerPolicy?: ReferrerPolicy;
|
|
38
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@drayman/elements",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.81.0",
|
|
4
4
|
"description": "A collection of web components for Drayman.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"build:types": "tsc -p ./tsconfig.types.json",
|
|
13
13
|
"typedoc": "npm run build:types && typedoc --tsconfig ./tsconfig.types.json",
|
|
14
14
|
"lint": "ng lint",
|
|
15
|
-
"build": "npm run build:calendar && npm run build:code-editor && npm run build:button && npm run build:text-field && npm run build:claviz-charts && npm run build:file-uploader && npm run build:number-field && npm run build:select && npm run build:table && npm run build:checkbox && npm run build:slider && npm run build:textarea-field && npm run build:radio-group && npm run build:datepicker && npm run build:timepicker && npm run build:pdf-viewer && npm run build:ngx-charts && npm run build:menu && npm run build:ngx-graph && npm run build:youtube-player && npm run build:nebula && npm run build:grid && npm run build:gauge && npm run build:year-calendar && npm run typedoc",
|
|
15
|
+
"build": "npm run build:calendar && npm run build:code-editor && npm run build:button && npm run build:text-field && npm run build:claviz-charts && npm run build:file-uploader && npm run build:number-field && npm run build:select && npm run build:table && npm run build:checkbox && npm run build:slider && npm run build:textarea-field && npm run build:radio-group && npm run build:datepicker && npm run build:timepicker && npm run build:pdf-viewer && npm run build:ngx-charts && npm run build:menu && npm run build:ngx-graph && npm run build:youtube-player && npm run build:nebula && npm run build:superset && npm run build:grid && npm run build:gauge && npm run build:year-calendar && npm run typedoc",
|
|
16
16
|
"build:code-editor": "ng build code-editor --extra-webpack-config webpack.partial.js --configuration production --single-bundle --output-hashing=none",
|
|
17
17
|
"build:calendar": "ng build calendar --configuration production --single-bundle --output-hashing=none",
|
|
18
18
|
"build:button": "ng build button --configuration production --single-bundle --output-hashing=none",
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
"build:grid": "ng build grid --configuration production --single-bundle --output-hashing=none",
|
|
25
25
|
"build:youtube-player": "ng build youtube-player --configuration production --single-bundle --output-hashing=none",
|
|
26
26
|
"build:nebula": "ng build nebula --configuration production --single-bundle --output-hashing=none",
|
|
27
|
+
"build:superset": "ng build superset --configuration production --single-bundle --output-hashing=none",
|
|
27
28
|
"build:table": "ng build table --configuration production --single-bundle --output-hashing=none",
|
|
28
29
|
"build:checkbox": "ng build checkbox --configuration production --single-bundle --output-hashing=none",
|
|
29
30
|
"build:slider": "ng build slider --configuration production --single-bundle --output-hashing=none",
|
|
@@ -78,6 +79,9 @@
|
|
|
78
79
|
"drayman-nebula": {
|
|
79
80
|
"script": "./dist/nebula/main.js"
|
|
80
81
|
},
|
|
82
|
+
"drayman-superset": {
|
|
83
|
+
"script": "./dist/superset/main.js"
|
|
84
|
+
},
|
|
81
85
|
"drayman-table": {
|
|
82
86
|
"script": "./dist/table/main.js"
|
|
83
87
|
},
|
|
@@ -143,6 +147,7 @@
|
|
|
143
147
|
"@nebula.js/stardust": "5.11.0",
|
|
144
148
|
"@ngneat/spectator": "5.13.2",
|
|
145
149
|
"@qlik/api": "^1.29.0",
|
|
150
|
+
"@superset-ui/embedded-sdk": "^0.3.0",
|
|
146
151
|
"@swimlane/ngx-charts": "16.0.0",
|
|
147
152
|
"@swimlane/ngx-graph": "8.0.0",
|
|
148
153
|
"@types/jest": "26.0.13",
|
|
@@ -197,4 +202,4 @@
|
|
|
197
202
|
"typescript-json-schema": "0.43.0",
|
|
198
203
|
"zone.js": "~0.11.4"
|
|
199
204
|
}
|
|
200
|
-
}
|
|
205
|
+
}
|
package/types/index.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ import { DraymanTextareaField } from '../dist/types/textarea-field/src/app/model
|
|
|
18
18
|
import { DraymanTimepicker } from '../dist/types/timepicker/src/app/models/timepicker-options';
|
|
19
19
|
import { DraymanYoutubePlayer } from '../dist/types/youtube-player/src/app/models/youtube-player-options';
|
|
20
20
|
import { DraymanNebula } from '../dist/types/nebula/src/app/models/nebula-options';
|
|
21
|
+
import { DraymanSuperset } from '../dist/types/superset/src/app/models/superset-options';
|
|
21
22
|
import { DraymanGrid } from '../dist/types/grid/src/app/models/grid-options';
|
|
22
23
|
import { DraymanCodeEditor } from '../dist/types/code-editor/src/app/models/code-editor-options';
|
|
23
24
|
import { DraymanCalendar } from '../dist/types/calendar/src/app/models/calendar-options';
|
|
@@ -1296,6 +1297,43 @@ declare global {
|
|
|
1296
1297
|
* ```
|
|
1297
1298
|
*/
|
|
1298
1299
|
interface DraymanNebulaProps extends DraymanNebula, DraymanElementsProps { }
|
|
1300
|
+
/**
|
|
1301
|
+
* # <drayman-superset \/>
|
|
1302
|
+
*
|
|
1303
|
+
* Apache Superset dashboard integration element powered by the
|
|
1304
|
+
* [Superset Embedded SDK](https://www.npmjs.com/package/@superset-ui/embedded-sdk).
|
|
1305
|
+
*
|
|
1306
|
+
* ## Example of usage
|
|
1307
|
+
*
|
|
1308
|
+
* ```typescript
|
|
1309
|
+
* export const component: DraymanComponent = async ({ forceUpdate }) => {
|
|
1310
|
+
*
|
|
1311
|
+
* return () => {
|
|
1312
|
+
* const dashboardUiConfig = {
|
|
1313
|
+
* hideTitle: true,
|
|
1314
|
+
* hideTab: true,
|
|
1315
|
+
* hideChartControls: false,
|
|
1316
|
+
* filters: {
|
|
1317
|
+
* visible: true,
|
|
1318
|
+
* expanded: false,
|
|
1319
|
+
* },
|
|
1320
|
+
* };
|
|
1321
|
+
*
|
|
1322
|
+
* return (
|
|
1323
|
+
* <drayman-superset
|
|
1324
|
+
* supersetDomain="http://superset"
|
|
1325
|
+
* embedId="01879ce0-6016-4332-b535-f5f1950f9364"
|
|
1326
|
+
* onFetchGuestToken={async () => {
|
|
1327
|
+
* return `token`;
|
|
1328
|
+
* }}
|
|
1329
|
+
* dashboardUiConfig={dashboardUiConfig}
|
|
1330
|
+
* />
|
|
1331
|
+
* );
|
|
1332
|
+
* }
|
|
1333
|
+
* }
|
|
1334
|
+
* ```
|
|
1335
|
+
*/
|
|
1336
|
+
interface DraymanSupersetProps extends DraymanSuperset, DraymanElementsProps { }
|
|
1299
1337
|
|
|
1300
1338
|
namespace JSX {
|
|
1301
1339
|
export interface IntrinsicElements {
|
|
@@ -1317,6 +1355,7 @@ declare global {
|
|
|
1317
1355
|
'drayman-timepicker': DraymanTimepickerProps;
|
|
1318
1356
|
'drayman-youtube-player': DraymanYoutubePlayerProps;
|
|
1319
1357
|
'drayman-nebula': DraymanNebulaProps;
|
|
1358
|
+
'drayman-superset': DraymanSupersetProps;
|
|
1320
1359
|
'drayman-grid': DraymanGridProps;
|
|
1321
1360
|
'drayman-code-editor': DraymanCodeEditorProps;
|
|
1322
1361
|
'drayman-calendar': DraymanCalendarProps;
|
|
@@ -1324,4 +1363,4 @@ declare global {
|
|
|
1324
1363
|
}
|
|
1325
1364
|
}
|
|
1326
1365
|
|
|
1327
|
-
export { };
|
|
1366
|
+
export { };
|